@applica-software-guru/react-admin 1.5.283 → 1.5.285

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.
@@ -1,26 +1,26 @@
1
- "use strict";var XR=Object.defineProperty;var Zy=e=>{throw TypeError(e)};var ZR=(e,t,n)=>t in e?XR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ba=(e,t,n)=>ZR(e,typeof t!="symbol"?t+"":t,n),gp=(e,t,n)=>t.has(e)||Zy("Cannot "+n);var bn=(e,t,n)=>(gp(e,t,"read from private field"),n?n.call(e):t.get(e)),eo=(e,t,n)=>t.has(e)?Zy("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Eo=(e,t,n,r)=>(gp(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),xa=(e,t,n)=>(gp(e,t,"access private method"),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),QR=require("@emotion/styled"),Zt=require("@emotion/react"),T=require("react"),A=require("@mui/material"),qe=require("@ant-design/icons"),dt=require("react-router-dom"),Un=require("@mui/icons-material"),te=require("ra-core"),ji=require("react-router"),L=require("react-admin"),En=require("react-hook-form"),Ss=require("react-query"),gs=require("react-dom"),AC=require("ra-i18n-polyglot");function SC(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const _=SC(T),TC=SC(gs),EC=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ed=T.createContext({}),Ig=T.createContext(null),td=typeof document<"u",JR=td?T.useLayoutEffect:T.useEffect,IC=T.createContext({strict:!1}),Og=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),eM="framerAppearId",OC="data-"+Og(eM);function tM(e,t,n,r){const{visualElement:o}=T.useContext(ed),s=T.useContext(IC),a=T.useContext(Ig),c=T.useContext(EC).reducedMotion,u=T.useRef();r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const d=u.current;T.useInsertionEffect(()=>{d&&d.update(n,a)});const h=T.useRef(!!(n[OC]&&!window.HandoffComplete));return JR(()=>{d&&(d.render(),h.current&&d.animationState&&d.animationState.animateChanges())}),T.useEffect(()=>{d&&(d.updateFeatures(),!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),d}function ms(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function nM(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ms(n)&&(n.current=r))},[t])}function qa(e){return typeof e=="string"||Array.isArray(e)}function nd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Pg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jg=["initial",...Pg];function rd(e){return nd(e.animate)||jg.some(t=>qa(e[t]))}function PC(e){return!!(rd(e)||e.variants)}function rM(e,t){if(rd(e)){const{initial:n,animate:r}=e;return{initial:n===!1||qa(n)?n:void 0,animate:qa(r)?r:void 0}}return e.inherit!==!1?t:{}}function oM(e){const{initial:t,animate:n}=rM(e,T.useContext(ed));return T.useMemo(()=>({initial:t,animate:n}),[Qy(t),Qy(n)])}function Qy(e){return Array.isArray(e)?e.join(" "):e}const Jy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ya={};for(const e in Jy)Ya[e]={isEnabled:t=>Jy[e].some(n=>!!t[n])};function iM(e){for(const t in e)Ya[t]={...Ya[t],...e[t]}}const jC=T.createContext({}),RC=T.createContext({}),sM=Symbol.for("motionComponentSymbol");function aM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&iM(e);function s(c,u){let d;const h={...T.useContext(EC),...c,layoutId:lM(c)},{isStatic:g}=h,m=oM(c),v=r(c,g);if(!g&&td){m.visualElement=tM(o,v,h,t);const x=T.useContext(RC),y=T.useContext(IC).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,y,e,x))}return _.createElement(ed.Provider,{value:m},d&&m.visualElement?_.createElement(d,{visualElement:m.visualElement,...h}):null,n(o,c,nM(v,m.visualElement,u),v,g,m.visualElement))}const a=T.forwardRef(s);return a[sM]=o,a}function lM({layoutId:e}){const t=T.useContext(jC).id;return t&&e!==void 0?t+"-"+e:e}function cM(e){function t(r,o={}){return aM(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const uM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Rg(e){return typeof e!="string"||e.includes("-")?!1:!!(uM.indexOf(e)>-1||/[A-Z]/.test(e))}const pu={};function dM(e){Object.assign(pu,e)}const ul=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Fi=new Set(ul);function MC(e,{layout:t,layoutId:n}){return Fi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!pu[e]||e==="opacity")}const In=e=>!!(e&&e.getVelocity),fM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pM=ul.length;function hM(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<pM;a++){const c=ul[a];if(e[c]!==void 0){const u=fM[c]||c;s+=`${u}(${e[c]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,r?"":s):n&&r&&(s="none"),s}const kC=e=>t=>typeof t=="string"&&t.startsWith(e),FC=kC("--"),rh=kC("var(--"),gM=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,mM=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Wo=(e,t,n)=>Math.min(Math.max(n,e),t),Di={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Da={...Di,transform:e=>Wo(0,1,e)},Rc={...Di,default:1},La=e=>Math.round(e*1e5)/1e5,od=/(-)?([\d]*\.?[\d])+/g,DC=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,vM=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dl(e){return typeof e=="string"}const fl=e=>({test:t=>dl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ro=fl("deg"),_r=fl("%"),Me=fl("px"),yM=fl("vh"),bM=fl("vw"),eb={..._r,parse:e=>_r.parse(e)/100,transform:e=>_r.transform(e*100)},tb={...Di,transform:Math.round},LC={borderWidth:Me,borderTopWidth:Me,borderRightWidth:Me,borderBottomWidth:Me,borderLeftWidth:Me,borderRadius:Me,radius:Me,borderTopLeftRadius:Me,borderTopRightRadius:Me,borderBottomRightRadius:Me,borderBottomLeftRadius:Me,width:Me,maxWidth:Me,height:Me,maxHeight:Me,size:Me,top:Me,right:Me,bottom:Me,left:Me,padding:Me,paddingTop:Me,paddingRight:Me,paddingBottom:Me,paddingLeft:Me,margin:Me,marginTop:Me,marginRight:Me,marginBottom:Me,marginLeft:Me,rotate:Ro,rotateX:Ro,rotateY:Ro,rotateZ:Ro,scale:Rc,scaleX:Rc,scaleY:Rc,scaleZ:Rc,skew:Ro,skewX:Ro,skewY:Ro,distance:Me,translateX:Me,translateY:Me,translateZ:Me,x:Me,y:Me,z:Me,perspective:Me,transformPerspective:Me,opacity:Da,originX:eb,originY:eb,originZ:Me,zIndex:tb,fillOpacity:Da,strokeOpacity:Da,numOctaves:tb};function Mg(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,d=!1,h=!0;for(const g in t){const m=t[g];if(FC(g)){s[g]=m;continue}const v=LC[g],x=mM(m,v);if(Fi.has(g)){if(u=!0,a[g]=x,!h)continue;m!==(v.default||0)&&(h=!1)}else g.startsWith("origin")?(d=!0,c[g]=x):o[g]=x}if(t.transform||(u||r?o.transform=hM(e.transform,n,h,r):o.transform&&(o.transform="none")),d){const{originX:g="50%",originY:m="50%",originZ:v=0}=c;o.transformOrigin=`${g} ${m} ${v}`}}const kg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _C(e,t,n){for(const r in t)!In(t[r])&&!MC(r,n)&&(e[r]=t[r])}function xM({transformTemplate:e},t,n){return T.useMemo(()=>{const r=kg();return Mg(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function CM(e,t,n){const r=e.style||{},o={};return _C(o,r,e),Object.assign(o,xM(e,t,n)),e.transformValues?e.transformValues(o):o}function wM(e,t,n){const r={},o=CM(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const AM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function hu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||AM.has(e)}let BC=e=>!hu(e);function SM(e){e&&(BC=t=>t.startsWith("on")?!hu(t):e(t))}try{SM(require("@emotion/is-prop-valid").default)}catch{}function TM(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(BC(o)||n===!0&&hu(o)||!t&&!hu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function nb(e,t,n){return typeof e=="string"?e:Me.transform(t+n*e)}function EM(e,t,n){const r=nb(t,e.x,e.width),o=nb(n,e.y,e.height);return`${r} ${o}`}const IM={offset:"stroke-dashoffset",array:"stroke-dasharray"},OM={offset:"strokeDashoffset",array:"strokeDasharray"};function PM(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?IM:OM;e[s.offset]=Me.transform(-r);const a=Me.transform(t),c=Me.transform(n);e[s.array]=`${a} ${c}`}function Fg(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(Mg(e,d,h,m),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x,dimensions:y}=e;v.transform&&(y&&(x.transform=v.transform),delete v.transform),y&&(o!==void 0||s!==void 0||x.transform)&&(x.transformOrigin=EM(y,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),a!==void 0&&PM(v,a,c,u,!1)}const NC=()=>({...kg(),attrs:{}}),Dg=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jM(e,t,n,r){const o=T.useMemo(()=>{const s=NC();return Fg(s,t,{enableHardwareAcceleration:!1},Dg(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};_C(s,e.style,e),o.style={...s,...o.style}}return o}function RM(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(Rg(n)?jM:wM)(r,s,a,n),h={...TM(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>In(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function VC(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const WC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function $C(e,t,n,r){VC(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(WC.has(o)?o:Og(o),t.attrs[o])}function Lg(e,t){const{style:n}=e,r={};for(const o in n)(In(n[o])||t.style&&In(t.style[o])||MC(o,e))&&(r[o]=n[o]);return r}function zC(e,t){const n=Lg(e,t);for(const r in e)if(In(e[r])||In(t[r])){const o=ul.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function _g(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function MM(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const gu=e=>Array.isArray(e),kM=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),FM=e=>gu(e)?e[e.length-1]||0:e;function Xc(e){const t=In(e)?e.get():e;return kM(t)?t.toValue():t}function DM({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:LM(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const UC=e=>(t,n)=>{const r=T.useContext(ed),o=T.useContext(Ig),s=()=>DM(e,t,r,o);return n?s():MM(s)};function LM(e,t,n,r){const o={},s=r(e,{});for(const m in s)o[m]=Xc(s[m]);let{initial:a,animate:c}=e;const u=rd(e),d=PC(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let h=n?n.initial===!1:!1;h=h||a===!1;const g=h?c:a;return g&&typeof g!="boolean"&&!nd(g)&&(Array.isArray(g)?g:[g]).forEach(v=>{const x=_g(e,v);if(!x)return;const{transitionEnd:y,transition:w,...I}=x;for(const M in I){let E=I[M];if(Array.isArray(E)){const j=h?E.length-1:0;E=E[j]}E!==null&&(o[M]=E)}for(const M in y)o[M]=y[M]}),o}const Mt=e=>e;class rb{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function _M(e){let t=new rb,n=new rb,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,d=!1,h=!1)=>{const g=h&&o,m=g?t:n;return d&&a.add(u),m.add(u)&&g&&o&&(r=t.order.length),u},cancel:u=>{n.remove(u),a.delete(u)},process:u=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let d=0;d<r;d++){const h=t.order[d];h(u),a.has(h)&&(c.schedule(h),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const Mc=["prepare","read","update","preRender","render","postRender"],BM=40;function NM(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Mc.reduce((g,m)=>(g[m]=_M(()=>n=!0),g),{}),a=g=>s[g].process(o),c=()=>{const g=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(g-o.timestamp,BM),1),o.timestamp=g,o.isProcessing=!0,Mc.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:Mc.reduce((g,m)=>{const v=s[m];return g[m]=(x,y=!1,w=!1)=>(n||u(),v.schedule(x,y,w)),g},{}),cancel:g=>Mc.forEach(m=>s[m].cancel(g)),state:o,steps:s}}const{schedule:xt,cancel:uo,state:on,steps:mp}=NM(typeof requestAnimationFrame<"u"?requestAnimationFrame:Mt,!0),VM={useVisualState:UC({scrapeMotionValuesFromProps:zC,createRenderState:NC,onMount:(e,t,{renderState:n,latestValues:r})=>{xt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),xt.render(()=>{Fg(n,r,{enableHardwareAcceleration:!1},Dg(t.tagName),e.transformTemplate),$C(t,n)})}})},WM={useVisualState:UC({scrapeMotionValuesFromProps:Lg,createRenderState:kg})};function $M(e,{forwardMotionProps:t=!1},n,r){return{...Rg(e)?VM:WM,preloadedFeatures:n,useRender:RM(t),createVisualElement:r,Component:e}}function io(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const HC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function id(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const zM=e=>t=>HC(t)&&e(t,id(t));function lo(e,t,n,r){return io(e,t,zM(n),r)}const UM=(e,t)=>n=>t(e(n)),Bo=(...e)=>e.reduce(UM);function GC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ob=GC("dragHorizontal"),ib=GC("dragVertical");function qC(e){let t=!1;if(e==="y")t=ib();else if(e==="x")t=ob();else{const n=ob(),r=ib();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function YC(){const e=qC(!0);return e?(e(),!1):!0}class Ho{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sb(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||YC())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&xt.update(()=>c[r](s,a))};return lo(e.current,n,o,{passive:!e.getProps()[r]})}class HM extends Ho{mount(){this.unmount=Bo(sb(this.node,!0),sb(this.node,!1))}unmount(){}}class GM extends Ho{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Bo(io(this.node.current,"focus",()=>this.onFocus()),io(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const KC=(e,t)=>t?e===t?!0:KC(e,t.parentElement):!1;function vp(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,id(n))}class qM extends Ho{constructor(){super(...arguments),this.removeStartListeners=Mt,this.removeEndListeners=Mt,this.removeAccessibleListeners=Mt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=lo(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h,globalTapTarget:g}=this.node.getProps();xt.update(()=>{!g&&!KC(this.node.current,c.target)?h&&h(c,u):d&&d(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=lo(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Bo(s,a),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const a=c=>{c.key!=="Enter"||!this.checkPressEnd()||vp("up",(u,d)=>{const{onTap:h}=this.node.getProps();h&&xt.update(()=>h(u,d))})};this.removeEndListeners(),this.removeEndListeners=io(this.node.current,"keyup",a),vp("down",(c,u)=>{this.startPress(c,u)})},n=io(this.node.current,"keydown",t),r=()=>{this.isPressing&&vp("cancel",(s,a)=>this.cancelPress(s,a))},o=io(this.node.current,"blur",r);this.removeAccessibleListeners=Bo(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&xt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!YC()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&xt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=lo(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=io(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Bo(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const oh=new WeakMap,yp=new WeakMap,YM=e=>{const t=oh.get(e.target);t&&t(e)},KM=e=>{e.forEach(YM)};function XM({root:e,...t}){const n=e||document;yp.has(n)||yp.set(n,{});const r=yp.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(KM,{root:e,...t})),r[o]}function ZM(e,t,n){const r=XM(t);return oh.set(e,n),r.observe(e),()=>{oh.delete(e),r.unobserve(e)}}const QM={some:0,all:1};class JM extends Ho{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:QM[o]},c=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),m=d?h:g;m&&m(u)};return ZM(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(e6(t,n))&&this.startObserver()}unmount(){}}function e6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const t6={inView:{Feature:JM},tap:{Feature:qM},focus:{Feature:GM},hover:{Feature:HM}};function XC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function n6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function r6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function sd(e,t,n){const r=e.getProps();return _g(r,t,n!==void 0?n:r.custom,n6(e),r6(e))}let pl=Mt,Ir=Mt;process.env.NODE_ENV!=="production"&&(pl=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ir=(e,t)=>{if(!e)throw new Error(t)});const No=e=>e*1e3,co=e=>e/1e3,o6={current:!1},ZC=e=>Array.isArray(e)&&typeof e[0]=="number";function QC(e){return!!(!e||typeof e=="string"&&JC[e]||ZC(e)||Array.isArray(e)&&e.every(QC))}const ja=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,JC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ja([0,.65,.55,1]),circOut:ja([.55,0,1,.45]),backIn:ja([.31,.01,.66,-.59]),backOut:ja([.33,1.53,.69,.99])};function ew(e){if(e)return ZC(e)?ja(e):Array.isArray(e)?e.map(ew):JC[e]}function i6(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const d={[t]:n};u&&(d.offset=u);const h=ew(c);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:r,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function s6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const tw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,a6=1e-7,l6=12;function c6(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=tw(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>a6&&++c<l6);return a}function hl(e,t,n,r){if(e===t&&n===r)return Mt;const o=s=>c6(s,0,1,e,n);return s=>s===0||s===1?s:tw(o(s),t,r)}const u6=hl(.42,0,1,1),d6=hl(0,0,.58,1),nw=hl(.42,0,.58,1),f6=e=>Array.isArray(e)&&typeof e[0]!="number",rw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ow=e=>t=>1-e(1-t),Bg=e=>1-Math.sin(Math.acos(e)),iw=ow(Bg),p6=rw(Bg),sw=hl(.33,1.53,.69,.99),Ng=ow(sw),h6=rw(Ng),g6=e=>(e*=2)<1?.5*Ng(e):.5*(2-Math.pow(2,-10*(e-1))),ab={linear:Mt,easeIn:u6,easeInOut:nw,easeOut:d6,circIn:Bg,circInOut:p6,circOut:iw,backIn:Ng,backInOut:h6,backOut:sw,anticipate:g6},lb=e=>{if(Array.isArray(e)){Ir(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return hl(t,n,r,o)}else if(typeof e=="string")return Ir(ab[e]!==void 0,`Invalid easing type '${e}'`),ab[e];return e},Vg=(e,t)=>n=>!!(dl(n)&&vM.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),aw=(e,t,n)=>r=>{if(!dl(r))return r;const[o,s,a,c]=r.match(od);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},m6=e=>Wo(0,255,e),bp={...Di,transform:e=>Math.round(m6(e))},wi={test:Vg("rgb","red"),parse:aw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+bp.transform(e)+", "+bp.transform(t)+", "+bp.transform(n)+", "+La(Da.transform(r))+")"};function v6(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const ih={test:Vg("#"),parse:v6,transform:wi.transform},vs={test:Vg("hsl","hue"),parse:aw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+_r.transform(La(t))+", "+_r.transform(La(n))+", "+La(Da.transform(r))+")"},pn={test:e=>wi.test(e)||ih.test(e)||vs.test(e),parse:e=>wi.test(e)?wi.parse(e):vs.test(e)?vs.parse(e):ih.parse(e),transform:e=>dl(e)?e:e.hasOwnProperty("red")?wi.transform(e):vs.transform(e)},Ot=(e,t,n)=>-n*e+n*t+e;function xp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function y6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,a=0;if(!t)o=s=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;o=xp(u,c,e+1/3),s=xp(u,c,e),a=xp(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const Cp=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},b6=[ih,wi,vs],x6=e=>b6.find(t=>t.test(e));function cb(e){const t=x6(e);Ir(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===vs&&(n=y6(n)),n}const lw=(e,t)=>{const n=cb(e),r=cb(t),o={...n};return s=>(o.red=Cp(n.red,r.red,s),o.green=Cp(n.green,r.green,s),o.blue=Cp(n.blue,r.blue,s),o.alpha=Ot(n.alpha,r.alpha,s),wi.transform(o))};function C6(e){var t,n;return isNaN(e)&&dl(e)&&(((t=e.match(od))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(DC))===null||n===void 0?void 0:n.length)||0)>0}const cw={regex:gM,countKey:"Vars",token:"${v}",parse:Mt},uw={regex:DC,countKey:"Colors",token:"${c}",parse:pn.parse},dw={regex:od,countKey:"Numbers",token:"${n}",parse:Di.parse};function wp(e,{regex:t,countKey:n,token:r,parse:o}){const s=e.tokenised.match(t);s&&(e["num"+n]=s.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...s.map(o)))}function mu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&wp(n,cw),wp(n,uw),wp(n,dw),n}function fw(e){return mu(e).values}function pw(e){const{values:t,numColors:n,numVars:r,tokenised:o}=mu(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(cw.token,a[u]):u<r+n?c=c.replace(uw.token,pn.transform(a[u])):c=c.replace(dw.token,La(a[u]));return c}}const w6=e=>typeof e=="number"?0:e;function A6(e){const t=fw(e);return pw(e)(t.map(w6))}const $o={test:C6,parse:fw,createTransformer:pw,getAnimatableNone:A6},hw=(e,t)=>n=>`${n>0?t:e}`;function gw(e,t){return typeof e=="number"?n=>Ot(e,t,n):pn.test(e)?lw(e,t):e.startsWith("var(")?hw(e,t):vw(e,t)}const mw=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>gw(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},S6=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=gw(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},vw=(e,t)=>{const n=$o.createTransformer(t),r=mu(e),o=mu(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Bo(mw(r.values,o.values),n):(pl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),hw(e,t))},Ka=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ub=(e,t)=>n=>Ot(e,t,n);function T6(e){return typeof e=="number"?ub:typeof e=="string"?pn.test(e)?lw:vw:Array.isArray(e)?mw:typeof e=="object"?S6:ub}function E6(e,t,n){const r=[],o=n||T6(e[0]),s=e.length-1;for(let a=0;a<s;a++){let c=o(e[a],e[a+1]);if(t){const u=Array.isArray(t)?t[a]||Mt:t;c=Bo(u,c)}r.push(c)}return r}function yw(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(Ir(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=E6(t,r,o),c=a.length,u=d=>{let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const g=Ka(e[h],e[h+1],d);return a[h](g)};return n?d=>u(Wo(e[0],e[s-1],d)):u}function I6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ka(0,t,r);e.push(Ot(n,1,o))}}function O6(e){const t=[0];return I6(t,e.length-1),t}function P6(e,t){return e.map(n=>n*t)}function j6(e,t){return e.map(()=>t||nw).splice(0,e.length-1)}function vu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=f6(r)?r.map(lb):lb(r),s={done:!1,value:t[0]},a=P6(n&&n.length===t.length?n:O6(t),e),c=yw(a,t,{ease:Array.isArray(o)?o:j6(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function bw(e,t){return t?e*(1e3/t):0}const R6=5;function xw(e,t,n){const r=Math.max(t-R6,0);return bw(n-e(r),t-r)}const Ap=.001,M6=.01,db=10,k6=.05,F6=1;function D6({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;pl(e<=No(db),"Spring duration must be 10 seconds or less");let a=1-t;a=Wo(k6,F6,a),e=Wo(M6,db,co(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=sh(d,a),x=Math.exp(-g);return Ap-m/v*x},s=d=>{const g=d*a*e,m=g*n+n,v=Math.pow(a,2)*Math.pow(d,2)*e,x=Math.exp(-g),y=sh(Math.pow(d,2),a);return(-o(d)+Ap>0?-1:1)*((m-v)*x)/y}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-Ap+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=_6(o,s,c);if(e=No(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const L6=12;function _6(e,t,n){let r=n;for(let o=1;o<L6;o++)r=r-e(r)/t(r);return r}function sh(e,t){return e*Math.sqrt(1-t*t)}const B6=["duration","bounce"],N6=["stiffness","damping","mass"];function fb(e,t){return t.some(n=>e[n]!==void 0)}function V6(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fb(e,N6)&&fb(e,B6)){const n=D6(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Cw({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:h,velocity:g,isResolvedFromDuration:m}=V6({...r,velocity:-co(r.velocity||0)}),v=g||0,x=u/(2*Math.sqrt(c*d)),y=s-o,w=co(Math.sqrt(c/d)),I=Math.abs(y)<5;n||(n=I?.01:2),t||(t=I?.005:.5);let M;if(x<1){const E=sh(w,x);M=j=>{const P=Math.exp(-x*w*j);return s-P*((v+x*w*y)/E*Math.sin(E*j)+y*Math.cos(E*j))}}else if(x===1)M=E=>s-Math.exp(-w*E)*(y+(v+w*y)*E);else{const E=w*Math.sqrt(x*x-1);M=j=>{const P=Math.exp(-x*w*j),F=Math.min(E*j,300);return s-P*((v+x*w*y)*Math.sinh(F)+E*y*Math.cosh(F))/E}}return{calculatedDuration:m&&h||null,next:E=>{const j=M(E);if(m)a.done=E>=h;else{let P=v;E!==0&&(x<1?P=xw(M,E,j):P=0);const F=Math.abs(P)<=n,k=Math.abs(s-j)<=t;a.done=F&&k}return a.value=a.done?s:j,a}}}function pb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:d=.5,restSpeed:h}){const g=e[0],m={done:!1,value:g},v=$=>c!==void 0&&$<c||u!==void 0&&$>u,x=$=>c===void 0?u:u===void 0||Math.abs(c-$)<Math.abs(u-$)?c:u;let y=n*t;const w=g+y,I=a===void 0?w:a(w);I!==w&&(y=I-g);const M=$=>-y*Math.exp(-$/r),E=$=>I+M($),j=$=>{const G=M($),J=E($);m.done=Math.abs(G)<=d,m.value=m.done?I:J};let P,F;const k=$=>{v(m.value)&&(P=$,F=Cw({keyframes:[m.value,x(m.value)],velocity:xw(E,$,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return k(0),{calculatedDuration:null,next:$=>{let G=!1;return!F&&P===void 0&&(G=!0,j($),k($)),P!==void 0&&$>P?F.next($-P):(!G&&j($),m)}}}const W6=e=>{const t=({timestamp:n})=>e(n);return{start:()=>xt.update(t,!0),stop:()=>uo(t),now:()=>on.isProcessing?on.timestamp:performance.now()}},hb=2e4;function gb(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<hb;)t+=n,r=e.next(t);return t>=hb?1/0:t}const $6={decay:pb,inertia:pb,tween:vu,keyframes:vu,spring:Cw};function yu({autoplay:e=!0,delay:t=0,driver:n=W6,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:d,onComplete:h,onUpdate:g,...m}){let v=1,x=!1,y,w;const I=()=>{w=new Promise(q=>{y=q})};I();let M;const E=$6[o]||vu;let j;E!==vu&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ir(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),j=yw([0,100],r,{clamp:!1}),r=[0,100]);const P=E({...m,keyframes:r});let F;c==="mirror"&&(F=E({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let k="idle",$=null,G=null,J=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=gb(P));const{calculatedDuration:U}=P;let ae=1/0,se=1/0;U!==null&&(ae=U+a,se=ae*(s+1)-a);let Z=0;const X=q=>{if(G===null)return;v>0&&(G=Math.min(G,q)),v<0&&(G=Math.min(q-se/v,G)),$!==null?Z=$:Z=Math.round(q-G)*v;const ue=Z-t*(v>=0?1:-1),pe=v>=0?ue<0:ue>se;Z=Math.max(ue,0),k==="finished"&&$===null&&(Z=se);let de=Z,he=P;if(s){const ye=Math.min(Z,se)/ae;let Ce=Math.floor(ye),Ee=ye%1;!Ee&&ye>=1&&(Ee=1),Ee===1&&Ce--,Ce=Math.min(Ce,s+1),!!(Ce%2)&&(c==="reverse"?(Ee=1-Ee,a&&(Ee-=a/ae)):c==="mirror"&&(he=F)),de=Wo(0,1,Ee)*ae}const me=pe?{done:!1,value:r[0]}:he.next(de);j&&(me.value=j(me.value));let{done:Ae}=me;!pe&&U!==null&&(Ae=v>=0?Z>=se:Z<=0);const xe=$===null&&(k==="finished"||k==="running"&&Ae);return g&&g(me.value),xe&&B(),me},W=()=>{M&&M.stop(),M=void 0},K=()=>{k="idle",W(),y(),I(),G=J=null},B=()=>{k="finished",h&&h(),W(),y()},ne=()=>{if(x)return;M||(M=n(X));const q=M.now();u&&u(),$!==null?G=q-$:(!G||k==="finished")&&(G=q),k==="finished"&&I(),J=G,$=null,k="running",M.start()};e&&ne();const V={then(q,ue){return w.then(q,ue)},get time(){return co(Z)},set time(q){q=No(q),Z=q,$!==null||!M||v===0?$=q:G=M.now()-q/v},get duration(){const q=P.calculatedDuration===null?gb(P):P.calculatedDuration;return co(q)},get speed(){return v},set speed(q){q===v||!M||(v=q,V.time=co(Z))},get state(){return k},play:ne,pause:()=>{k="paused",$=Z},stop:()=>{x=!0,k!=="idle"&&(k="idle",d&&d(),K())},cancel:()=>{J!==null&&X(J),K()},complete:()=>{k="finished"},sample:q=>(G=0,X(q))};return V}function z6(e){let t;return()=>(t===void 0&&(t=e()),t)}const U6=z6(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),H6=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),kc=10,G6=2e4,q6=(e,t)=>t.type==="spring"||e==="backgroundColor"||!QC(t.ease);function Y6(e,t,{onUpdate:n,onComplete:r,...o}){if(!(U6()&&H6.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,d=!1;const h=()=>{u=new Promise(E=>{c=E})};h();let{keyframes:g,duration:m=300,ease:v,times:x}=o;if(q6(t,o)){const E=yu({...o,repeat:0,delay:0});let j={done:!1,value:g[0]};const P=[];let F=0;for(;!j.done&&F<G6;)j=E.sample(F),P.push(j.value),F+=kc;x=void 0,g=P,m=F-kc,v="linear"}const y=i6(e.owner.current,t,g,{...o,duration:m,ease:v,times:x}),w=()=>{d=!1,y.cancel()},I=()=>{d=!0,xt.update(w),c(),h()};return y.onfinish=()=>{d||(e.set(s6(g,o)),r&&r(),I())},{then(E,j){return u.then(E,j)},attachTimeline(E){return y.timeline=E,y.onfinish=null,Mt},get time(){return co(y.currentTime||0)},set time(E){y.currentTime=No(E)},get speed(){return y.playbackRate},set speed(E){y.playbackRate=E},get duration(){return co(m)},play:()=>{a||(y.play(),uo(w))},pause:()=>y.pause(),stop:()=>{if(a=!0,y.playState==="idle")return;const{currentTime:E}=y;if(E){const j=yu({...o,autoplay:!1});e.setWithVelocity(j.sample(E-kc).value,j.sample(E).value,kc)}I()},complete:()=>{d||y.finish()},cancel:I}}function K6({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Mt,pause:Mt,stop:Mt,then:s=>(s(),Promise.resolve()),cancel:Mt,complete:Mt});return t?yu({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const X6={type:"spring",stiffness:500,damping:25,restSpeed:10},Z6=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Q6={type:"keyframes",duration:.8},J6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ek=(e,{keyframes:t})=>t.length>2?Q6:Fi.has(e)?e.startsWith("scale")?Z6(t[1]):X6:J6,ah=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&($o.test(t)||t==="0")&&!t.startsWith("url(")),tk=new Set(["brightness","contrast","saturate","opacity"]);function nk(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(od)||[];if(!r)return e;const o=n.replace(r,"");let s=tk.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const rk=/([a-z-]*)\(.*?\)/g,lh={...$o,getAnimatableNone:e=>{const t=e.match(rk);return t?t.map(nk).join(" "):e}},ok={...LC,color:pn,backgroundColor:pn,outlineColor:pn,fill:pn,stroke:pn,borderColor:pn,borderTopColor:pn,borderRightColor:pn,borderBottomColor:pn,borderLeftColor:pn,filter:lh,WebkitFilter:lh},Wg=e=>ok[e];function ww(e,t){let n=Wg(e);return n!==lh&&(n=$o),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Aw=e=>/^0[^.\s]+$/.test(e);function ik(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Aw(e)}function sk(e,t,n,r){const o=ah(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const a=r.from!==void 0?r.from:e.get();let c;const u=[];for(let d=0;d<s.length;d++)s[d]===null&&(s[d]=d===0?a:s[d-1]),ik(s[d])&&u.push(d),typeof s[d]=="string"&&s[d]!=="none"&&s[d]!=="0"&&(c=s[d]);if(o&&u.length&&c)for(let d=0;d<u.length;d++){const h=u[d];s[h]=ww(t,c)}return s}function ak({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:d,...h}){return!!Object.keys(h).length}function $g(e,t){return e[t]||e.default||e}const lk={skipAnimations:!1},zg=(e,t,n,r={})=>o=>{const s=$g(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-No(a);const u=sk(t,e,n,s),d=u[0],h=u[u.length-1],g=ah(e,d),m=ah(e,h);pl(g===m,`You are trying to animate ${e} from "${d}" to "${h}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:x=>{t.set(x),s.onUpdate&&s.onUpdate(x)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(ak(s)||(v={...v,...ek(e,v)}),v.duration&&(v.duration=No(v.duration)),v.repeatDelay&&(v.repeatDelay=No(v.repeatDelay)),!g||!m||o6.current||s.type===!1||lk.skipAnimations)return K6(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=Y6(t,e,v);if(x)return x}return yu(v)};function bu(e){return!!(In(e)&&e.add)}const Sw=e=>/^\-?\d*\.?\d+$/.test(e);function Ug(e,t){e.indexOf(t)===-1&&e.push(t)}function Hg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Gg{constructor(){this.subscriptions=[]}add(t){return Ug(this.subscriptions,t),()=>Hg(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const a=this.subscriptions[s];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const mb=new Set;function qg(e,t,n){e||mb.has(t)||(console.warn(t),mb.add(t))}const ck=e=>!isNaN(parseFloat(e));class uk{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:s,timestamp:a}=on;this.lastUpdated!==a&&(this.timeDelta=s,this.lastUpdated=a,xt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>xt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=ck(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&qg(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Gg);const r=this.events[t].add(n);return t==="change"?()=>{r(),xt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bw(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Rs(e,t){return new uk(e,t)}const Tw=e=>t=>t.test(e),dk={test:e=>e==="auto",parse:e=>e},Ew=[Di,Me,_r,Ro,bM,yM,dk],Ca=e=>Ew.find(Tw(e)),fk=[...Ew,pn,$o],pk=e=>fk.find(Tw(e));function hk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rs(n))}function gk(e,t){const n=sd(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=FM(s[a]);hk(e,a,c)}}function mk(e,t,n){var r,o;const s=Object.keys(t).filter(c=>!e.hasValue(c)),a=s.length;if(a)for(let c=0;c<a;c++){const u=s[c],d=t[u];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),h!=null&&(typeof h=="string"&&(Sw(h)||Aw(h))?h=parseFloat(h):!pk(h)&&$o.test(d)&&(h=ww(u,d)),e.addValue(u,Rs(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function vk(e,t){return t?(t[e]||t.default||t).from:void 0}function yk(e,t,n){const r={};for(const o in e){const s=vk(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function bk({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function xk(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Iw(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...c}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(s=r);const d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const g in c){const m=e.getValue(g),v=c[g];if(!m||v===void 0||h&&bk(h,g))continue;const x={delay:n,elapsed:0,...$g(s||{},g)};if(window.HandoffAppearAnimations){const I=e.getProps()[OC];if(I){const M=window.HandoffAppearAnimations(I,g,m,xt);M!==null&&(x.elapsed=M,x.isHandoff=!0)}}let y=!x.isHandoff&&!xk(m,v);if(x.type==="spring"&&(m.getVelocity()||x.velocity)&&(y=!1),m.animation&&(y=!1),y)continue;m.start(zg(g,m,v,e.shouldReduceMotion&&Fi.has(g)?{type:!1}:x));const w=m.animation;bu(u)&&(u.add(g),w.then(()=>u.remove(g))),d.push(w)}return a&&Promise.all(d).then(()=>{a&&gk(e,a)}),d}function ch(e,t,n={}){const r=sd(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Iw(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return Ck(e,t,d+u,h,g,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,d]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>d())}else return Promise.all([s(),a(n.delay)])}function Ck(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(wk).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(ch(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function wk(e,t){return e.sortNodePosition(t)}function Ak(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>ch(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=ch(e,t,n);else{const o=typeof t=="function"?sd(e,t,n.custom):t;r=Promise.all(Iw(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Sk=[...Pg].reverse(),Tk=Pg.length;function Ek(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Ak(e,n,r)))}function Ik(e){let t=Ek(e);const n=Pk();let r=!0;const o=(u,d)=>{const h=sd(e,d);if(h){const{transition:g,transitionEnd:m,...v}=h;u={...u,...v,...m}}return u};function s(u){t=u(e)}function a(u,d){const h=e.getProps(),g=e.getVariantContext(!0)||{},m=[],v=new Set;let x={},y=1/0;for(let I=0;I<Tk;I++){const M=Sk[I],E=n[M],j=h[M]!==void 0?h[M]:g[M],P=qa(j),F=M===d?E.isActive:null;F===!1&&(y=I);let k=j===g[M]&&j!==h[M]&&P;if(k&&r&&e.manuallyAnimateOnMount&&(k=!1),E.protectedKeys={...x},!E.isActive&&F===null||!j&&!E.prevProp||nd(j)||typeof j=="boolean")continue;let G=Ok(E.prevProp,j)||M===d&&E.isActive&&!k&&P||I>y&&P,J=!1;const U=Array.isArray(j)?j:[j];let ae=U.reduce(o,{});F===!1&&(ae={});const{prevResolvedValues:se={}}=E,Z={...se,...ae},X=W=>{G=!0,v.has(W)&&(J=!0,v.delete(W)),E.needsAnimating[W]=!0};for(const W in Z){const K=ae[W],B=se[W];if(x.hasOwnProperty(W))continue;let ne=!1;gu(K)&&gu(B)?ne=!XC(K,B):ne=K!==B,ne?K!==void 0?X(W):v.add(W):K!==void 0&&v.has(W)?X(W):E.protectedKeys[W]=!0}E.prevProp=j,E.prevResolvedValues=ae,E.isActive&&(x={...x,...ae}),r&&e.blockInitialAnimation&&(G=!1),G&&(!k||J)&&m.push(...U.map(W=>({animation:W,options:{type:M,...u}})))}if(v.size){const I={};v.forEach(M=>{const E=e.getBaseTarget(M);E!==void 0&&(I[M]=E)}),m.push({animation:I})}let w=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(m):Promise.resolve()}function c(u,d,h){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(v=>{var x;return(x=v.animationState)===null||x===void 0?void 0:x.setActive(u,d)}),n[u].isActive=d;const m=a(h,u);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function Ok(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!XC(t,e):!1}function di(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pk(){return{animate:di(!0),whileInView:di(),whileHover:di(),whileTap:di(),whileDrag:di(),whileFocus:di(),exit:di()}}class jk extends Ho{constructor(t){super(t),t.animationState||(t.animationState=Ik(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),nd(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Rk=0;class Mk extends Ho{constructor(){super(...arguments),this.id=Rk++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const kk={animation:{Feature:jk},exit:{Feature:Mk}},vb=(e,t)=>Math.abs(e-t);function Fk(e,t){const n=vb(e.x,t.x),r=vb(e.y,t.y);return Math.sqrt(n**2+r**2)}class Ow{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Tp(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Fk(g.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:x}=g,{timestamp:y}=on;this.history.push({...x,timestamp:y});const{onStart:w,onMove:I}=this.handlers;m||(w&&w(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,g)},this.handlePointerMove=(g,m)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Sp(m,this.transformPagePoint),xt.update(this.updatePoint,!0)},this.handlePointerUp=(g,m)=>{this.end();const{onEnd:v,onSessionEnd:x,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Tp(g.type==="pointercancel"?this.lastMoveEventInfo:Sp(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),x&&x(g,w)},!HC(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=id(t),c=Sp(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=on;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Tp(c,this.history)),this.removeListeners=Bo(lo(this.contextWindow,"pointermove",this.handlePointerMove),lo(this.contextWindow,"pointerup",this.handlePointerUp),lo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),uo(this.updatePoint)}}function Sp(e,t){return t?{point:t(e.point)}:e}function yb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Tp({point:e},t){return{point:e,delta:yb(e,Pw(t)),offset:yb(e,Dk(t)),velocity:Lk(t,.1)}}function Dk(e){return e[0]}function Pw(e){return e[e.length-1]}function Lk(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Pw(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>No(t)));)n--;if(!r)return{x:0,y:0};const s=co(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const a={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Hn(e){return e.max-e.min}function uh(e,t=0,n=.01){return Math.abs(e-t)<=n}function bb(e,t,n,r=.5){e.origin=r,e.originPoint=Ot(t.min,t.max,e.origin),e.scale=Hn(n)/Hn(t),(uh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ot(n.min,n.max,e.origin)-e.originPoint,(uh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function _a(e,t,n,r){bb(e.x,t.x,n.x,r?r.originX:void 0),bb(e.y,t.y,n.y,r?r.originY:void 0)}function xb(e,t,n){e.min=n.min+t.min,e.max=e.min+Hn(t)}function _k(e,t,n){xb(e.x,t.x,n.x),xb(e.y,t.y,n.y)}function Cb(e,t,n){e.min=t.min-n.min,e.max=e.min+Hn(t)}function Ba(e,t,n){Cb(e.x,t.x,n.x),Cb(e.y,t.y,n.y)}function Bk(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ot(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ot(n,e,r.max):Math.min(e,n)),e}function wb(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Nk(e,{top:t,left:n,bottom:r,right:o}){return{x:wb(e.x,n,o),y:wb(e.y,t,r)}}function Ab(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Vk(e,t){return{x:Ab(e.x,t.x),y:Ab(e.y,t.y)}}function Wk(e,t){let n=.5;const r=Hn(e),o=Hn(t);return o>r?n=Ka(t.min,t.max-r,e.min):r>o&&(n=Ka(e.min,e.max-o,t.min)),Wo(0,1,n)}function $k(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const dh=.35;function zk(e=dh){return e===!1?e=0:e===!0&&(e=dh),{x:Sb(e,"left","right"),y:Sb(e,"top","bottom")}}function Sb(e,t,n){return{min:Tb(e,t),max:Tb(e,n)}}function Tb(e,t){return typeof e=="number"?e:e[t]||0}const Eb=()=>({translate:0,scale:1,origin:0,originPoint:0}),ys=()=>({x:Eb(),y:Eb()}),Ib=()=>({min:0,max:0}),Vt=()=>({x:Ib(),y:Ib()});function sr(e){return[e("x"),e("y")]}function jw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Uk({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Hk(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ep(e){return e===void 0||e===1}function fh({scale:e,scaleX:t,scaleY:n}){return!Ep(e)||!Ep(t)||!Ep(n)}function gi(e){return fh(e)||Rw(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Rw(e){return Ob(e.x)||Ob(e.y)}function Ob(e){return e&&e!=="0%"}function xu(e,t,n){const r=e-n,o=t*r;return n+o}function Pb(e,t,n,r,o){return o!==void 0&&(e=xu(e,o,r)),xu(e,n,r)+t}function ph(e,t=0,n=1,r,o){e.min=Pb(e.min,t,n,r,o),e.max=Pb(e.max,t,n,r,o)}function Mw(e,{x:t,y:n}){ph(e.x,t.translate,t.scale,t.originPoint),ph(e.y,n.translate,n.scale,n.originPoint)}function Gk(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,a;for(let c=0;c<o;c++){s=n[c],a=s.projectionDelta;const u=s.instance;u&&u.style&&u.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&bs(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Mw(e,a)),r&&gi(s.latestValues)&&bs(e,s.latestValues))}t.x=jb(t.x),t.y=jb(t.y)}function jb(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ko(e,t){e.min=e.min+t,e.max=e.max+t}function Rb(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Ot(e.min,e.max,s);ph(e,t[n],t[r],a,t.scale)}const qk=["x","scaleX","originX"],Yk=["y","scaleY","originY"];function bs(e,t){Rb(e.x,t,qk),Rb(e.y,t,Yk)}function kw(e,t){return jw(Hk(e.getBoundingClientRect(),t))}function Kk(e,t,n){const r=kw(e,n),{scroll:o}=t;return o&&(ko(r.x,o.offset.x),ko(r.y,o.offset.y)),r}const Fw=({current:e})=>e?e.ownerDocument.defaultView:null,Xk=new WeakMap;class Zk{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Vt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(id(h,"page").point)},s=(h,g)=>{const{drag:m,dragPropagation:v,onDragStart:x}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qC(m),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sr(w=>{let I=this.getAxisMotionValue(w).get()||0;if(_r.test(I)){const{projection:M}=this.visualElement;if(M&&M.layout){const E=M.layout.layoutBox[w];E&&(I=Hn(E)*(parseFloat(I)/100))}}this.originPoint[w]=I}),x&&xt.update(()=>x(h,g),!1,!0);const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},a=(h,g)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:x,onDrag:y}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:w}=g;if(v&&this.currentDirection===null){this.currentDirection=Qk(w),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",g.point,w),this.updateAxis("y",g.point,w),this.visualElement.render(),y&&y(h,g)},c=(h,g)=>this.stop(h,g),u=()=>sr(h=>{var g;return this.getAnimationState(h)==="paused"&&((g=this.getAxisMotionValue(h).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Ow(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Fw(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&xt.update(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Fc(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Bk(a,this.constraints[t],this.elastic[t])),s.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&ms(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Nk(o.layoutBox,n):this.constraints=!1,this.elastic=zk(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&sr(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=$k(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ms(t))return!1;const r=t.current;Ir(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=Kk(r,o.root,this.visualElement.getTransformPagePoint());let a=Vk(o.layout.layoutBox,s);if(n){const c=n(Uk(a));this.hasMutatedConstraints=!!c,c&&(a=jw(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=sr(h=>{if(!Fc(h,n,this.currentDirection))return;let g=u&&u[h]||{};a&&(g={min:0,max:0});const m=o?200:1e6,v=o?40:1e7,x={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...s,...g};return this.startAxisValueAnimation(h,x)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(zg(t,r,0,n))}stopAnimation(){sr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){sr(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){sr(n=>{const{drag:r}=this.getProps();if(!Fc(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:c}=o.layout.layoutBox[n];s.set(t[n]-Ot(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ms(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};sr(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=Wk({min:u,max:u},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),sr(a=>{if(!Fc(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:d}=this.constraints[a];c.set(Ot(u,d,o[a]))})}addListeners(){if(!this.visualElement.current)return;Xk.set(this.visualElement,this);const t=this.visualElement.current,n=lo(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();ms(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const a=io(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(sr(h=>{const g=this.getAxisMotionValue(h);g&&(this.originPoint[h]+=u[h].translate,g.set(g.get()+u[h].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:a=dh,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function Fc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Qk(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jk extends Ho{constructor(t){super(t),this.removeGroupControls=Mt,this.removeListeners=Mt,this.controls=new Zk(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Mt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Mb=e=>(t,n)=>{e&&xt.update(()=>e(t,n))};class e8 extends Ho{constructor(){super(...arguments),this.removePointerDownListener=Mt}onPointerDown(t){this.session=new Ow(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Mb(t),onStart:Mb(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&xt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=lo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function t8(){const e=T.useContext(Ig);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=T.useId();return T.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const Zc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const wa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Me.test(e))e=parseFloat(e);else return e;const n=kb(e,t.target.x),r=kb(e,t.target.y);return`${n}% ${r}%`}},n8={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=$o.parse(e);if(o.length>5)return r;const s=$o.createTransformer(e),a=typeof o[0]!="number"?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;o[0+a]/=c,o[1+a]/=u;const d=Ot(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=d),typeof o[3+a]=="number"&&(o[3+a]/=d),s(o)}};class r8 extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;dM(o8),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Zc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,a=r.projection;return a&&(a.isPresent=s,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?a.promote():a.relegate()||xt.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Dw(e){const[t,n]=t8(),r=T.useContext(jC);return T.createElement(r8,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(RC),isPresent:t,safeToRemove:n})}const o8={borderRadius:{...wa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wa,borderTopRightRadius:wa,borderBottomLeftRadius:wa,borderBottomRightRadius:wa,boxShadow:n8},Lw=["TopLeft","TopRight","BottomLeft","BottomRight"],i8=Lw.length,Fb=e=>typeof e=="string"?parseFloat(e):e,Db=e=>typeof e=="number"||Me.test(e);function s8(e,t,n,r,o,s){o?(e.opacity=Ot(0,n.opacity!==void 0?n.opacity:1,a8(r)),e.opacityExit=Ot(t.opacity!==void 0?t.opacity:1,0,l8(r))):s&&(e.opacity=Ot(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<i8;a++){const c=`border${Lw[a]}Radius`;let u=Lb(t,c),d=Lb(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||Db(u)===Db(d)?(e[c]=Math.max(Ot(Fb(u),Fb(d),r),0),(_r.test(d)||_r.test(u))&&(e[c]+="%")):e[c]=d}(t.rotate||n.rotate)&&(e.rotate=Ot(t.rotate||0,n.rotate||0,r))}function Lb(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const a8=_w(0,.5,iw),l8=_w(.5,.95,Mt);function _w(e,t,n){return r=>r<e?0:r>t?1:n(Ka(e,t,r))}function _b(e,t){e.min=t.min,e.max=t.max}function ir(e,t){_b(e.x,t.x),_b(e.y,t.y)}function Bb(e,t,n,r,o){return e-=t,e=xu(e,1/n,r),o!==void 0&&(e=xu(e,1/o,r)),e}function c8(e,t=0,n=1,r=.5,o,s=e,a=e){if(_r.test(t)&&(t=parseFloat(t),t=Ot(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Ot(s.min,s.max,r);e===s&&(c-=t),e.min=Bb(e.min,t,n,c,o),e.max=Bb(e.max,t,n,c,o)}function Nb(e,t,[n,r,o],s,a){c8(e,t[n],t[r],t[o],t.scale,s,a)}const u8=["x","scaleX","originX"],d8=["y","scaleY","originY"];function Vb(e,t,n,r){Nb(e.x,t,u8,n?n.x:void 0,r?r.x:void 0),Nb(e.y,t,d8,n?n.y:void 0,r?r.y:void 0)}function Wb(e){return e.translate===0&&e.scale===1}function Bw(e){return Wb(e.x)&&Wb(e.y)}function f8(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Nw(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function $b(e){return Hn(e.x)/Hn(e.y)}class p8{constructor(){this.members=[]}add(t){Ug(this.members,t),t.scheduleRender()}remove(t){if(Hg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zb(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(r=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:d,rotateY:h}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const h8=(e,t)=>e.depth-t.depth;class g8{constructor(){this.children=[],this.isDirty=!1}add(t){Ug(this.children,t),this.isDirty=!0}remove(t){Hg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(h8),this.isDirty=!1,this.children.forEach(t)}}function m8(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(uo(r),e(s-t))};return xt.read(r,!0),()=>uo(r)}function v8(e){window.MotionDebug&&window.MotionDebug.record(e)}function y8(e){return e instanceof SVGElement&&e.tagName!=="svg"}function b8(e,t,n){const r=In(e)?e:Rs(e);return r.start(zg("",r,t,n)),r.animation}const Ub=["","X","Y","Z"],x8={visibility:"hidden"},Hb=1e3;let C8=0;const mi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Vw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=C8++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,mi.totalNodes=mi.resolvedTargetDeltas=mi.recalculatedProjection=0,this.nodes.forEach(S8),this.nodes.forEach(P8),this.nodes.forEach(j8),this.nodes.forEach(T8),v8(mi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new g8)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Gg),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const u=this.eventHandlers.get(a);u&&u.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=y8(a),this.instance=a;const{layoutId:u,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(d||u)&&(this.isLayoutDirty=!0),e){let g;const m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=m8(m,250),Zc.hasAnimatedSinceResize&&(Zc.hasAnimatedSinceResize=!1,this.nodes.forEach(qb))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||h.getDefaultTransition()||D8,{onLayoutAnimationStart:w,onLayoutAnimationComplete:I}=h.getProps(),M=!this.targetLayout||!Nw(this.targetLayout,x)||v,E=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||E||m&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,E);const j={...$g(y,"layout"),onPlay:w,onComplete:I};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else m||qb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,uo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(R8),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const g=this.path[h];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Gb);return}this.isUpdating||this.nodes.forEach(I8),this.isUpdating=!1,this.nodes.forEach(O8),this.nodes.forEach(w8),this.nodes.forEach(A8),this.clearAllSnapshots();const c=performance.now();on.delta=Wo(0,1e3/60,c-on.timestamp),on.timestamp=c,on.isProcessing=!0,mp.update.process(on),mp.preRender.process(on),mp.render.process(on),on.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(E8),this.sharedNodes.forEach(M8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Vt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform,c=this.projectionDelta&&!Bw(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||gi(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),L8(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Vt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(ko(c.x,u.offset.x),ko(c.y,u.offset.y)),c}removeElementScroll(a){const c=Vt();ir(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:g}=d;if(d!==this.root&&h&&g.layoutScroll){if(h.isRoot){ir(c,a);const{scroll:m}=this.root;m&&(ko(c.x,-m.offset.x),ko(c.y,-m.offset.y))}ko(c.x,h.offset.x),ko(c.y,h.offset.y)}}return c}applyTransform(a,c=!1){const u=Vt();ir(u,a);for(let d=0;d<this.path.length;d++){const h=this.path[d];!c&&h.options.layoutScroll&&h.scroll&&h!==h.root&&bs(u,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),gi(h.latestValues)&&bs(u,h.latestValues)}return gi(this.latestValues)&&bs(u,this.latestValues),u}removeTransform(a){const c=Vt();ir(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!gi(d.latestValues))continue;fh(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();ir(h,g),Vb(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return gi(this.latestValues)&&Vb(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==on.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var c;const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==u;if(!(a||d&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:g,layoutId:m}=this.options;if(!(!this.layout||!(g||m))){if(this.resolvedRelativeTargetAt=on.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ba(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),_k(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ir(this.target,this.layout.layoutBox),Mw(this.target,this.targetDelta)):ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ba(this.relativeTargetOrigin,this.target,v.target),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}mi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||fh(this.parent.latestValues)||Rw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const c=this.getLead(),u=!!this.resumingFrom||this!==c;let d=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(d=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===on.timestamp&&(d=!1),d)return;const{layout:h,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||g))return;ir(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;Gk(this.layoutCorrected,this.treeScale,this.path,u),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox);const{target:x}=c;if(!x){this.projectionTransform&&(this.projectionDelta=ys(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ys(),this.projectionDeltaWithTransform=ys());const y=this.projectionTransform;_a(this.projectionDelta,this.layoutCorrected,x,this.latestValues),this.projectionTransform=zb(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),mi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,c=!1){const u=this.snapshot,d=u?u.latestValues:{},h={...this.latestValues},g=ys();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const m=Vt(),v=u?u.source:void 0,x=this.layout?this.layout.source:void 0,y=v!==x,w=this.getStack(),I=!w||w.members.length<=1,M=!!(y&&!I&&this.options.crossfade===!0&&!this.path.some(F8));this.animationProgress=0;let E;this.mixTargetDelta=j=>{const P=j/1e3;Yb(g.x,a.x,P),Yb(g.y,a.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ba(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),k8(this.relativeTarget,this.relativeTargetOrigin,m,P),E&&f8(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Vt()),ir(E,this.relativeTarget)),y&&(this.animationValues=h,s8(h,d,this.latestValues,P,M,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(uo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xt.update(()=>{Zc.hasAnimatedSinceResize=!0,this.currentAnimation=b8(0,Hb,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Hb),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:h}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&Ww(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Hn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Hn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}ir(c,u),bs(c,h),_a(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new p8),this.sharedNodes.get(a).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const d={};for(let h=0;h<Ub.length;h++){const g="rotate"+Ub[h];u[g]&&(d[g]=u[g],a.setStaticValue(g,0))}a.render();for(const h in d)a.setStaticValue(h,d[h]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return x8;const d={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Xc(a==null?void 0:a.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Xc(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!gi(this.latestValues)&&(y.transform=h?h({},""):"none",this.hasProjected=!1),y}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=zb(this.projectionDeltaWithTransform,this.treeScale,m),h&&(d.transform=h(m,d.transform));const{x:v,y:x}=this.projectionDelta;d.transformOrigin=`${v.origin*100}% ${x.origin*100}% 0`,g.animationValues?d.opacity=g===this?(u=(c=m.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:d.opacity=g===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const y in pu){if(m[y]===void 0)continue;const{correct:w,applyTo:I}=pu[y],M=d.transform==="none"?m[y]:w(m[y],g);if(I){const E=I.length;for(let j=0;j<E;j++)d[I[j]]=M}else d[y]=M}return this.options.layoutId&&(d.pointerEvents=g===this?Xc(a==null?void 0:a.pointerEvents)||"":"none"),d}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(Gb),this.root.sharedNodes.clear()}}}function w8(e){e.updateLayout()}function A8(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,a=n.source!==e.layout.source;s==="size"?sr(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Hn(m);m.min=r[g].min,m.max=m.min+v}):Ww(s,n.layoutBox,r)&&sr(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Hn(r[g]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=ys();_a(c,r,n.layoutBox);const u=ys();a?_a(u,e.applyTransform(o,!0),n.measuredBox):_a(u,r,n.layoutBox);const d=!Bw(c);let h=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:m,layout:v}=g;if(m&&v){const x=Vt();Ba(x,n.layoutBox,m.layoutBox);const y=Vt();Ba(y,r,v.layoutBox),Nw(x,y)||(h=!0),g.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function S8(e){mi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function T8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function E8(e){e.clearSnapshot()}function Gb(e){e.clearMeasurements()}function I8(e){e.isLayoutDirty=!1}function O8(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function P8(e){e.resolveTargetDelta()}function j8(e){e.calcProjection()}function R8(e){e.resetRotation()}function M8(e){e.removeLeadSnapshot()}function Yb(e,t,n){e.translate=Ot(t.translate,0,n),e.scale=Ot(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Kb(e,t,n,r){e.min=Ot(t.min,n.min,r),e.max=Ot(t.max,n.max,r)}function k8(e,t,n,r){Kb(e.x,t.x,n.x,r),Kb(e.y,t.y,n.y,r)}function F8(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const D8={duration:.45,ease:[.4,0,.1,1]},Xb=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Zb=Xb("applewebkit/")&&!Xb("chrome/")?Math.round:Mt;function Qb(e){e.min=Zb(e.min),e.max=Zb(e.max)}function L8(e){Qb(e.x),Qb(e.y)}function Ww(e,t,n){return e==="position"||e==="preserve-aspect"&&!uh($b(t),$b(n),.2)}const _8=Vw({attachResizeListener:(e,t)=>io(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ip={current:void 0},$w=Vw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ip.current){const e=new _8({});e.mount(window),e.setOptions({layoutScroll:!0}),Ip.current=e}return Ip.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),B8={pan:{Feature:e8},drag:{Feature:Jk,ProjectionNode:$w,MeasureLayout:Dw}},N8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function V8(e){const t=N8.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const W8=4;function hh(e,t,n=1){Ir(n<=W8,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=V8(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return Sw(a)?parseFloat(a):a}else return rh(o)?hh(o,t,n+1):o}function $8(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const s=o.get();if(!rh(s))return;const a=hh(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!rh(s))continue;const a=hh(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const z8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zw=e=>z8.has(e),U8=e=>Object.keys(e).some(zw),Dc=e=>e===Di||e===Me,Jb=(e,t)=>parseFloat(e.split(", ")[t]),ex=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Jb(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?Jb(s[1],e):0}},H8=new Set(["x","y","z"]),G8=ul.filter(e=>!H8.has(e));function q8(e){const t=[];return G8.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Ms={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ex(4,13),y:ex(5,14)};Ms.translateX=Ms.x;Ms.translateY=Ms.y;const Y8=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:a}=s,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(d=>{c[d]=Ms[d](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const h=t.getValue(d);h&&h.jump(c[d]),e[d]=Ms[d](u,s)}),e},K8=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(zw);let s=[],a=!1;const c=[];if(o.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let h=n[u],g=Ca(h);const m=t[u];let v;if(gu(m)){const x=m.length,y=m[0]===null?1:0;h=m[y],g=Ca(h);for(let w=y;w<x&&m[w]!==null;w++)v?Ir(Ca(m[w])===v,"All keyframes must be of the same type"):(v=Ca(m[w]),Ir(v===g||Dc(g)&&Dc(v),"Keyframes must be of the same dimension as the current value"))}else v=Ca(m);if(g!==v)if(Dc(g)&&Dc(v)){const x=d.get();typeof x=="string"&&d.set(parseFloat(x)),typeof m=="string"?t[u]=parseFloat(m):Array.isArray(m)&&v===Me&&(t[u]=m.map(parseFloat))}else g!=null&&g.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?d.set(v.transform(h)):t[u]=g.transform(m):(a||(s=q8(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],d.jump(m))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,d=Y8(t,e,c);return s.length&&s.forEach(([h,g])=>{e.getValue(h).set(g)}),e.render(),td&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function X8(e,t,n,r){return U8(t)?K8(e,t,n,r):{target:t,transitionEnd:r}}const Z8=(e,t,n,r)=>{const o=$8(e,t,r);return t=o.target,r=o.transitionEnd,X8(e,t,n,r)},gh={current:null},Uw={current:!1};function Q8(){if(Uw.current=!0,!!td)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gh.current=e.matches;e.addListener(t),t()}else gh.current=!1}function J8(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(In(s))e.addValue(o,s),bu(r)&&r.add(o),process.env.NODE_ENV==="development"&&qg(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(In(a))e.addValue(o,Rs(s,{owner:e})),bu(r)&&r.remove(o);else if(a!==s)if(e.hasValue(o)){const c=e.getValue(o);!c.hasAnimated&&c.set(s)}else{const c=e.getStaticValue(o);e.addValue(o,Rs(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const tx=new WeakMap,Hw=Object.keys(Ya),e9=Hw.length,nx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],t9=jg.length;class n9{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xt.render(this.render,!1,!0);const{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.isControllingVariants=rd(n),this.isVariantNode=PC(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{});for(const g in h){const m=h[g];c[g]!==void 0&&In(m)&&(m.set(c[g],!1),bu(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,tx.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Uw.current||Q8(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gh.current,process.env.NODE_ENV!=="production"&&qg(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tx.delete(this.current),this.projection&&this.projection.unmount(),uo(this.notifyUpdate),uo(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Fi.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&xt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,s){let a,c;if(process.env.NODE_ENV!=="production"&&o&&r){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?pl(!1,u):Ir(!1,u)}for(let u=0;u<e9;u++){const d=Hw[u],{isEnabled:h,Feature:g,ProjectionNode:m,MeasureLayout:v}=Ya[d];m&&(a=m),h(n)&&(!this.features[d]&&g&&(this.features[d]=new g(this)),v&&(c=v))}if((this.type==="html"||this.type==="svg")&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:u,layout:d,drag:h,dragConstraints:g,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!h||g&&ms(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:v})}return c}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Vt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<nx.length;r++){const o=nx[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=J8(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<t9;r++){const o=jg[r],s=this.props[o];(qa(s)||s===!1)&&(n[o]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Rs(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=_g(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!In(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Gg),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Gw extends n9{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},s){let a=yk(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){mk(this,r,a);const c=Z8(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function r9(e){return window.getComputedStyle(e)}class o9 extends Gw{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Fi.has(n)){const r=Wg(n);return r&&r.default||0}else{const r=r9(t),o=(FC(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return kw(t,n)}build(t,n,r,o){Mg(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Lg(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;In(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){VC(t,n,r,o)}}class i9 extends Gw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Fi.has(n)){const r=Wg(n);return r&&r.default||0}return n=WC.has(n)?n:Og(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return zC(t,n)}build(t,n,r,o){Fg(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){$C(t,n,r,o)}mount(t){this.isSVGTag=Dg(t.tagName),super.mount(t)}}const s9=(e,t)=>Rg(e)?new i9(t,{enableHardwareAcceleration:!1}):new o9(t,{enableHardwareAcceleration:!0}),a9={layout:{ProjectionNode:$w,MeasureLayout:Dw}},l9={...kk,...t6,...B8,...a9},Lc=cM((e,t)=>$M(e,t,l9,s9)),c9=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function rx(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?c9(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function u9({children:e,type:t="scale",direction:n="right",offset:r=10,scale:o={hover:1.05,tap:.95}}){let s,a;switch(n){case"up":case"left":s=r,a=0;break;case"right":case"down":default:s=0,a=r;break}const[c,u]=rx(s,a),[d,h]=rx(s,a);switch(t){case"rotate":return f.jsx(Lc.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(Lc.div,{animate:{y:d!==void 0?d:""},onHoverEnd:()=>h(),onHoverStart:()=>h(),children:e}):f.jsx(Lc.div,{animate:{x:c!==void 0?c:""},onHoverEnd:()=>u(),onHoverStart:()=>u(),children:e});case"scale":default:return typeof o=="number"&&(o={hover:o,tap:o}),f.jsx(Lc.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}function Qt(e,t){switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}}function He(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}var An=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ho(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function go(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mh={exports:{}},_c={exports:{}},rt={};/** @license React v16.13.1
1
+ "use strict";var XR=Object.defineProperty;var Zy=e=>{throw TypeError(e)};var ZR=(e,t,n)=>t in e?XR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ba=(e,t,n)=>ZR(e,typeof t!="symbol"?t+"":t,n),gp=(e,t,n)=>t.has(e)||Zy("Cannot "+n);var bn=(e,t,n)=>(gp(e,t,"read from private field"),n?n.call(e):t.get(e)),eo=(e,t,n)=>t.has(e)?Zy("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Eo=(e,t,n,r)=>(gp(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),xa=(e,t,n)=>(gp(e,t,"access private method"),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),QR=require("@emotion/styled"),Zt=require("@emotion/react"),T=require("react"),A=require("@mui/material"),qe=require("@ant-design/icons"),dt=require("react-router-dom"),Un=require("@mui/icons-material"),te=require("ra-core"),ji=require("react-router"),D=require("react-admin"),En=require("react-hook-form"),Ss=require("react-query"),gs=require("react-dom"),AC=require("ra-i18n-polyglot");function SC(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const _=SC(T),TC=SC(gs),EC=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ed=T.createContext({}),Ig=T.createContext(null),td=typeof document<"u",JR=td?T.useLayoutEffect:T.useEffect,IC=T.createContext({strict:!1}),Og=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),eM="framerAppearId",OC="data-"+Og(eM);function tM(e,t,n,r){const{visualElement:o}=T.useContext(ed),s=T.useContext(IC),a=T.useContext(Ig),c=T.useContext(EC).reducedMotion,u=T.useRef();r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const d=u.current;T.useInsertionEffect(()=>{d&&d.update(n,a)});const h=T.useRef(!!(n[OC]&&!window.HandoffComplete));return JR(()=>{d&&(d.render(),h.current&&d.animationState&&d.animationState.animateChanges())}),T.useEffect(()=>{d&&(d.updateFeatures(),!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),d}function ms(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function nM(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ms(n)&&(n.current=r))},[t])}function qa(e){return typeof e=="string"||Array.isArray(e)}function nd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Pg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jg=["initial",...Pg];function rd(e){return nd(e.animate)||jg.some(t=>qa(e[t]))}function PC(e){return!!(rd(e)||e.variants)}function rM(e,t){if(rd(e)){const{initial:n,animate:r}=e;return{initial:n===!1||qa(n)?n:void 0,animate:qa(r)?r:void 0}}return e.inherit!==!1?t:{}}function oM(e){const{initial:t,animate:n}=rM(e,T.useContext(ed));return T.useMemo(()=>({initial:t,animate:n}),[Qy(t),Qy(n)])}function Qy(e){return Array.isArray(e)?e.join(" "):e}const Jy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ya={};for(const e in Jy)Ya[e]={isEnabled:t=>Jy[e].some(n=>!!t[n])};function iM(e){for(const t in e)Ya[t]={...Ya[t],...e[t]}}const jC=T.createContext({}),RC=T.createContext({}),sM=Symbol.for("motionComponentSymbol");function aM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&iM(e);function s(c,u){let d;const h={...T.useContext(EC),...c,layoutId:lM(c)},{isStatic:g}=h,m=oM(c),v=r(c,g);if(!g&&td){m.visualElement=tM(o,v,h,t);const b=T.useContext(RC),x=T.useContext(IC).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,x,e,b))}return _.createElement(ed.Provider,{value:m},d&&m.visualElement?_.createElement(d,{visualElement:m.visualElement,...h}):null,n(o,c,nM(v,m.visualElement,u),v,g,m.visualElement))}const a=T.forwardRef(s);return a[sM]=o,a}function lM({layoutId:e}){const t=T.useContext(jC).id;return t&&e!==void 0?t+"-"+e:e}function cM(e){function t(r,o={}){return aM(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const uM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Rg(e){return typeof e!="string"||e.includes("-")?!1:!!(uM.indexOf(e)>-1||/[A-Z]/.test(e))}const pu={};function dM(e){Object.assign(pu,e)}const ul=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Fi=new Set(ul);function MC(e,{layout:t,layoutId:n}){return Fi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!pu[e]||e==="opacity")}const In=e=>!!(e&&e.getVelocity),fM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pM=ul.length;function hM(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<pM;a++){const c=ul[a];if(e[c]!==void 0){const u=fM[c]||c;s+=`${u}(${e[c]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,r?"":s):n&&r&&(s="none"),s}const kC=e=>t=>typeof t=="string"&&t.startsWith(e),FC=kC("--"),rh=kC("var(--"),gM=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,mM=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Wo=(e,t,n)=>Math.min(Math.max(n,e),t),Di={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Da={...Di,transform:e=>Wo(0,1,e)},Rc={...Di,default:1},La=e=>Math.round(e*1e5)/1e5,od=/(-)?([\d]*\.?[\d])+/g,DC=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,vM=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dl(e){return typeof e=="string"}const fl=e=>({test:t=>dl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ro=fl("deg"),_r=fl("%"),Me=fl("px"),yM=fl("vh"),bM=fl("vw"),eb={..._r,parse:e=>_r.parse(e)/100,transform:e=>_r.transform(e*100)},tb={...Di,transform:Math.round},LC={borderWidth:Me,borderTopWidth:Me,borderRightWidth:Me,borderBottomWidth:Me,borderLeftWidth:Me,borderRadius:Me,radius:Me,borderTopLeftRadius:Me,borderTopRightRadius:Me,borderBottomRightRadius:Me,borderBottomLeftRadius:Me,width:Me,maxWidth:Me,height:Me,maxHeight:Me,size:Me,top:Me,right:Me,bottom:Me,left:Me,padding:Me,paddingTop:Me,paddingRight:Me,paddingBottom:Me,paddingLeft:Me,margin:Me,marginTop:Me,marginRight:Me,marginBottom:Me,marginLeft:Me,rotate:Ro,rotateX:Ro,rotateY:Ro,rotateZ:Ro,scale:Rc,scaleX:Rc,scaleY:Rc,scaleZ:Rc,skew:Ro,skewX:Ro,skewY:Ro,distance:Me,translateX:Me,translateY:Me,translateZ:Me,x:Me,y:Me,z:Me,perspective:Me,transformPerspective:Me,opacity:Da,originX:eb,originY:eb,originZ:Me,zIndex:tb,fillOpacity:Da,strokeOpacity:Da,numOctaves:tb};function Mg(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,d=!1,h=!0;for(const g in t){const m=t[g];if(FC(g)){s[g]=m;continue}const v=LC[g],b=mM(m,v);if(Fi.has(g)){if(u=!0,a[g]=b,!h)continue;m!==(v.default||0)&&(h=!1)}else g.startsWith("origin")?(d=!0,c[g]=b):o[g]=b}if(t.transform||(u||r?o.transform=hM(e.transform,n,h,r):o.transform&&(o.transform="none")),d){const{originX:g="50%",originY:m="50%",originZ:v=0}=c;o.transformOrigin=`${g} ${m} ${v}`}}const kg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _C(e,t,n){for(const r in t)!In(t[r])&&!MC(r,n)&&(e[r]=t[r])}function xM({transformTemplate:e},t,n){return T.useMemo(()=>{const r=kg();return Mg(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function CM(e,t,n){const r=e.style||{},o={};return _C(o,r,e),Object.assign(o,xM(e,t,n)),e.transformValues?e.transformValues(o):o}function wM(e,t,n){const r={},o=CM(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const AM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function hu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||AM.has(e)}let BC=e=>!hu(e);function SM(e){e&&(BC=t=>t.startsWith("on")?!hu(t):e(t))}try{SM(require("@emotion/is-prop-valid").default)}catch{}function TM(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(BC(o)||n===!0&&hu(o)||!t&&!hu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function nb(e,t,n){return typeof e=="string"?e:Me.transform(t+n*e)}function EM(e,t,n){const r=nb(t,e.x,e.width),o=nb(n,e.y,e.height);return`${r} ${o}`}const IM={offset:"stroke-dashoffset",array:"stroke-dasharray"},OM={offset:"strokeDashoffset",array:"strokeDasharray"};function PM(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?IM:OM;e[s.offset]=Me.transform(-r);const a=Me.transform(t),c=Me.transform(n);e[s.array]=`${a} ${c}`}function Fg(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(Mg(e,d,h,m),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b,dimensions:x}=e;v.transform&&(x&&(b.transform=v.transform),delete v.transform),x&&(o!==void 0||s!==void 0||b.transform)&&(b.transformOrigin=EM(x,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),a!==void 0&&PM(v,a,c,u,!1)}const NC=()=>({...kg(),attrs:{}}),Dg=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jM(e,t,n,r){const o=T.useMemo(()=>{const s=NC();return Fg(s,t,{enableHardwareAcceleration:!1},Dg(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};_C(s,e.style,e),o.style={...s,...o.style}}return o}function RM(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(Rg(n)?jM:wM)(r,s,a,n),h={...TM(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>In(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function VC(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const WC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function $C(e,t,n,r){VC(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(WC.has(o)?o:Og(o),t.attrs[o])}function Lg(e,t){const{style:n}=e,r={};for(const o in n)(In(n[o])||t.style&&In(t.style[o])||MC(o,e))&&(r[o]=n[o]);return r}function zC(e,t){const n=Lg(e,t);for(const r in e)if(In(e[r])||In(t[r])){const o=ul.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function _g(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function MM(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const gu=e=>Array.isArray(e),kM=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),FM=e=>gu(e)?e[e.length-1]||0:e;function Xc(e){const t=In(e)?e.get():e;return kM(t)?t.toValue():t}function DM({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:LM(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const UC=e=>(t,n)=>{const r=T.useContext(ed),o=T.useContext(Ig),s=()=>DM(e,t,r,o);return n?s():MM(s)};function LM(e,t,n,r){const o={},s=r(e,{});for(const m in s)o[m]=Xc(s[m]);let{initial:a,animate:c}=e;const u=rd(e),d=PC(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let h=n?n.initial===!1:!1;h=h||a===!1;const g=h?c:a;return g&&typeof g!="boolean"&&!nd(g)&&(Array.isArray(g)?g:[g]).forEach(v=>{const b=_g(e,v);if(!b)return;const{transitionEnd:x,transition:w,...I}=b;for(const M in I){let E=I[M];if(Array.isArray(E)){const j=h?E.length-1:0;E=E[j]}E!==null&&(o[M]=E)}for(const M in x)o[M]=x[M]}),o}const Mt=e=>e;class rb{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function _M(e){let t=new rb,n=new rb,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,d=!1,h=!1)=>{const g=h&&o,m=g?t:n;return d&&a.add(u),m.add(u)&&g&&o&&(r=t.order.length),u},cancel:u=>{n.remove(u),a.delete(u)},process:u=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let d=0;d<r;d++){const h=t.order[d];h(u),a.has(h)&&(c.schedule(h),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const Mc=["prepare","read","update","preRender","render","postRender"],BM=40;function NM(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Mc.reduce((g,m)=>(g[m]=_M(()=>n=!0),g),{}),a=g=>s[g].process(o),c=()=>{const g=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(g-o.timestamp,BM),1),o.timestamp=g,o.isProcessing=!0,Mc.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:Mc.reduce((g,m)=>{const v=s[m];return g[m]=(b,x=!1,w=!1)=>(n||u(),v.schedule(b,x,w)),g},{}),cancel:g=>Mc.forEach(m=>s[m].cancel(g)),state:o,steps:s}}const{schedule:xt,cancel:uo,state:on,steps:mp}=NM(typeof requestAnimationFrame<"u"?requestAnimationFrame:Mt,!0),VM={useVisualState:UC({scrapeMotionValuesFromProps:zC,createRenderState:NC,onMount:(e,t,{renderState:n,latestValues:r})=>{xt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),xt.render(()=>{Fg(n,r,{enableHardwareAcceleration:!1},Dg(t.tagName),e.transformTemplate),$C(t,n)})}})},WM={useVisualState:UC({scrapeMotionValuesFromProps:Lg,createRenderState:kg})};function $M(e,{forwardMotionProps:t=!1},n,r){return{...Rg(e)?VM:WM,preloadedFeatures:n,useRender:RM(t),createVisualElement:r,Component:e}}function io(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const HC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function id(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const zM=e=>t=>HC(t)&&e(t,id(t));function lo(e,t,n,r){return io(e,t,zM(n),r)}const UM=(e,t)=>n=>t(e(n)),Bo=(...e)=>e.reduce(UM);function GC(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ob=GC("dragHorizontal"),ib=GC("dragVertical");function qC(e){let t=!1;if(e==="y")t=ib();else if(e==="x")t=ob();else{const n=ob(),r=ib();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function YC(){const e=qC(!0);return e?(e(),!1):!0}class Ho{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sb(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||YC())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&xt.update(()=>c[r](s,a))};return lo(e.current,n,o,{passive:!e.getProps()[r]})}class HM extends Ho{mount(){this.unmount=Bo(sb(this.node,!0),sb(this.node,!1))}unmount(){}}class GM extends Ho{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Bo(io(this.node.current,"focus",()=>this.onFocus()),io(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const KC=(e,t)=>t?e===t?!0:KC(e,t.parentElement):!1;function vp(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,id(n))}class qM extends Ho{constructor(){super(...arguments),this.removeStartListeners=Mt,this.removeEndListeners=Mt,this.removeAccessibleListeners=Mt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=lo(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h,globalTapTarget:g}=this.node.getProps();xt.update(()=>{!g&&!KC(this.node.current,c.target)?h&&h(c,u):d&&d(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=lo(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Bo(s,a),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const a=c=>{c.key!=="Enter"||!this.checkPressEnd()||vp("up",(u,d)=>{const{onTap:h}=this.node.getProps();h&&xt.update(()=>h(u,d))})};this.removeEndListeners(),this.removeEndListeners=io(this.node.current,"keyup",a),vp("down",(c,u)=>{this.startPress(c,u)})},n=io(this.node.current,"keydown",t),r=()=>{this.isPressing&&vp("cancel",(s,a)=>this.cancelPress(s,a))},o=io(this.node.current,"blur",r);this.removeAccessibleListeners=Bo(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&xt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!YC()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&xt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=lo(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=io(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Bo(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const oh=new WeakMap,yp=new WeakMap,YM=e=>{const t=oh.get(e.target);t&&t(e)},KM=e=>{e.forEach(YM)};function XM({root:e,...t}){const n=e||document;yp.has(n)||yp.set(n,{});const r=yp.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(KM,{root:e,...t})),r[o]}function ZM(e,t,n){const r=XM(t);return oh.set(e,n),r.observe(e),()=>{oh.delete(e),r.unobserve(e)}}const QM={some:0,all:1};class JM extends Ho{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:QM[o]},c=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),m=d?h:g;m&&m(u)};return ZM(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(e6(t,n))&&this.startObserver()}unmount(){}}function e6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const t6={inView:{Feature:JM},tap:{Feature:qM},focus:{Feature:GM},hover:{Feature:HM}};function XC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function n6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function r6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function sd(e,t,n){const r=e.getProps();return _g(r,t,n!==void 0?n:r.custom,n6(e),r6(e))}let pl=Mt,Ir=Mt;process.env.NODE_ENV!=="production"&&(pl=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ir=(e,t)=>{if(!e)throw new Error(t)});const No=e=>e*1e3,co=e=>e/1e3,o6={current:!1},ZC=e=>Array.isArray(e)&&typeof e[0]=="number";function QC(e){return!!(!e||typeof e=="string"&&JC[e]||ZC(e)||Array.isArray(e)&&e.every(QC))}const ja=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,JC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ja([0,.65,.55,1]),circOut:ja([.55,0,1,.45]),backIn:ja([.31,.01,.66,-.59]),backOut:ja([.33,1.53,.69,.99])};function ew(e){if(e)return ZC(e)?ja(e):Array.isArray(e)?e.map(ew):JC[e]}function i6(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const d={[t]:n};u&&(d.offset=u);const h=ew(c);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:r,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function s6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const tw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,a6=1e-7,l6=12;function c6(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=tw(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>a6&&++c<l6);return a}function hl(e,t,n,r){if(e===t&&n===r)return Mt;const o=s=>c6(s,0,1,e,n);return s=>s===0||s===1?s:tw(o(s),t,r)}const u6=hl(.42,0,1,1),d6=hl(0,0,.58,1),nw=hl(.42,0,.58,1),f6=e=>Array.isArray(e)&&typeof e[0]!="number",rw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ow=e=>t=>1-e(1-t),Bg=e=>1-Math.sin(Math.acos(e)),iw=ow(Bg),p6=rw(Bg),sw=hl(.33,1.53,.69,.99),Ng=ow(sw),h6=rw(Ng),g6=e=>(e*=2)<1?.5*Ng(e):.5*(2-Math.pow(2,-10*(e-1))),ab={linear:Mt,easeIn:u6,easeInOut:nw,easeOut:d6,circIn:Bg,circInOut:p6,circOut:iw,backIn:Ng,backInOut:h6,backOut:sw,anticipate:g6},lb=e=>{if(Array.isArray(e)){Ir(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return hl(t,n,r,o)}else if(typeof e=="string")return Ir(ab[e]!==void 0,`Invalid easing type '${e}'`),ab[e];return e},Vg=(e,t)=>n=>!!(dl(n)&&vM.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),aw=(e,t,n)=>r=>{if(!dl(r))return r;const[o,s,a,c]=r.match(od);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},m6=e=>Wo(0,255,e),bp={...Di,transform:e=>Math.round(m6(e))},wi={test:Vg("rgb","red"),parse:aw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+bp.transform(e)+", "+bp.transform(t)+", "+bp.transform(n)+", "+La(Da.transform(r))+")"};function v6(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const ih={test:Vg("#"),parse:v6,transform:wi.transform},vs={test:Vg("hsl","hue"),parse:aw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+_r.transform(La(t))+", "+_r.transform(La(n))+", "+La(Da.transform(r))+")"},hn={test:e=>wi.test(e)||ih.test(e)||vs.test(e),parse:e=>wi.test(e)?wi.parse(e):vs.test(e)?vs.parse(e):ih.parse(e),transform:e=>dl(e)?e:e.hasOwnProperty("red")?wi.transform(e):vs.transform(e)},Ot=(e,t,n)=>-n*e+n*t+e;function xp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function y6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,a=0;if(!t)o=s=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;o=xp(u,c,e+1/3),s=xp(u,c,e),a=xp(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const Cp=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},b6=[ih,wi,vs],x6=e=>b6.find(t=>t.test(e));function cb(e){const t=x6(e);Ir(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===vs&&(n=y6(n)),n}const lw=(e,t)=>{const n=cb(e),r=cb(t),o={...n};return s=>(o.red=Cp(n.red,r.red,s),o.green=Cp(n.green,r.green,s),o.blue=Cp(n.blue,r.blue,s),o.alpha=Ot(n.alpha,r.alpha,s),wi.transform(o))};function C6(e){var t,n;return isNaN(e)&&dl(e)&&(((t=e.match(od))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(DC))===null||n===void 0?void 0:n.length)||0)>0}const cw={regex:gM,countKey:"Vars",token:"${v}",parse:Mt},uw={regex:DC,countKey:"Colors",token:"${c}",parse:hn.parse},dw={regex:od,countKey:"Numbers",token:"${n}",parse:Di.parse};function wp(e,{regex:t,countKey:n,token:r,parse:o}){const s=e.tokenised.match(t);s&&(e["num"+n]=s.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...s.map(o)))}function mu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&wp(n,cw),wp(n,uw),wp(n,dw),n}function fw(e){return mu(e).values}function pw(e){const{values:t,numColors:n,numVars:r,tokenised:o}=mu(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(cw.token,a[u]):u<r+n?c=c.replace(uw.token,hn.transform(a[u])):c=c.replace(dw.token,La(a[u]));return c}}const w6=e=>typeof e=="number"?0:e;function A6(e){const t=fw(e);return pw(e)(t.map(w6))}const $o={test:C6,parse:fw,createTransformer:pw,getAnimatableNone:A6},hw=(e,t)=>n=>`${n>0?t:e}`;function gw(e,t){return typeof e=="number"?n=>Ot(e,t,n):hn.test(e)?lw(e,t):e.startsWith("var(")?hw(e,t):vw(e,t)}const mw=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>gw(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},S6=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=gw(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},vw=(e,t)=>{const n=$o.createTransformer(t),r=mu(e),o=mu(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Bo(mw(r.values,o.values),n):(pl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),hw(e,t))},Ka=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ub=(e,t)=>n=>Ot(e,t,n);function T6(e){return typeof e=="number"?ub:typeof e=="string"?hn.test(e)?lw:vw:Array.isArray(e)?mw:typeof e=="object"?S6:ub}function E6(e,t,n){const r=[],o=n||T6(e[0]),s=e.length-1;for(let a=0;a<s;a++){let c=o(e[a],e[a+1]);if(t){const u=Array.isArray(t)?t[a]||Mt:t;c=Bo(u,c)}r.push(c)}return r}function yw(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(Ir(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=E6(t,r,o),c=a.length,u=d=>{let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const g=Ka(e[h],e[h+1],d);return a[h](g)};return n?d=>u(Wo(e[0],e[s-1],d)):u}function I6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ka(0,t,r);e.push(Ot(n,1,o))}}function O6(e){const t=[0];return I6(t,e.length-1),t}function P6(e,t){return e.map(n=>n*t)}function j6(e,t){return e.map(()=>t||nw).splice(0,e.length-1)}function vu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=f6(r)?r.map(lb):lb(r),s={done:!1,value:t[0]},a=P6(n&&n.length===t.length?n:O6(t),e),c=yw(a,t,{ease:Array.isArray(o)?o:j6(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function bw(e,t){return t?e*(1e3/t):0}const R6=5;function xw(e,t,n){const r=Math.max(t-R6,0);return bw(n-e(r),t-r)}const Ap=.001,M6=.01,db=10,k6=.05,F6=1;function D6({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;pl(e<=No(db),"Spring duration must be 10 seconds or less");let a=1-t;a=Wo(k6,F6,a),e=Wo(M6,db,co(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=sh(d,a),b=Math.exp(-g);return Ap-m/v*b},s=d=>{const g=d*a*e,m=g*n+n,v=Math.pow(a,2)*Math.pow(d,2)*e,b=Math.exp(-g),x=sh(Math.pow(d,2),a);return(-o(d)+Ap>0?-1:1)*((m-v)*b)/x}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-Ap+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=_6(o,s,c);if(e=No(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const L6=12;function _6(e,t,n){let r=n;for(let o=1;o<L6;o++)r=r-e(r)/t(r);return r}function sh(e,t){return e*Math.sqrt(1-t*t)}const B6=["duration","bounce"],N6=["stiffness","damping","mass"];function fb(e,t){return t.some(n=>e[n]!==void 0)}function V6(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fb(e,N6)&&fb(e,B6)){const n=D6(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Cw({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:h,velocity:g,isResolvedFromDuration:m}=V6({...r,velocity:-co(r.velocity||0)}),v=g||0,b=u/(2*Math.sqrt(c*d)),x=s-o,w=co(Math.sqrt(c/d)),I=Math.abs(x)<5;n||(n=I?.01:2),t||(t=I?.005:.5);let M;if(b<1){const E=sh(w,b);M=j=>{const P=Math.exp(-b*w*j);return s-P*((v+b*w*x)/E*Math.sin(E*j)+x*Math.cos(E*j))}}else if(b===1)M=E=>s-Math.exp(-w*E)*(x+(v+w*x)*E);else{const E=w*Math.sqrt(b*b-1);M=j=>{const P=Math.exp(-b*w*j),F=Math.min(E*j,300);return s-P*((v+b*w*x)*Math.sinh(F)+E*x*Math.cosh(F))/E}}return{calculatedDuration:m&&h||null,next:E=>{const j=M(E);if(m)a.done=E>=h;else{let P=v;E!==0&&(b<1?P=xw(M,E,j):P=0);const F=Math.abs(P)<=n,k=Math.abs(s-j)<=t;a.done=F&&k}return a.value=a.done?s:j,a}}}function pb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:d=.5,restSpeed:h}){const g=e[0],m={done:!1,value:g},v=$=>c!==void 0&&$<c||u!==void 0&&$>u,b=$=>c===void 0?u:u===void 0||Math.abs(c-$)<Math.abs(u-$)?c:u;let x=n*t;const w=g+x,I=a===void 0?w:a(w);I!==w&&(x=I-g);const M=$=>-x*Math.exp(-$/r),E=$=>I+M($),j=$=>{const G=M($),J=E($);m.done=Math.abs(G)<=d,m.value=m.done?I:J};let P,F;const k=$=>{v(m.value)&&(P=$,F=Cw({keyframes:[m.value,b(m.value)],velocity:xw(E,$,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return k(0),{calculatedDuration:null,next:$=>{let G=!1;return!F&&P===void 0&&(G=!0,j($),k($)),P!==void 0&&$>P?F.next($-P):(!G&&j($),m)}}}const W6=e=>{const t=({timestamp:n})=>e(n);return{start:()=>xt.update(t,!0),stop:()=>uo(t),now:()=>on.isProcessing?on.timestamp:performance.now()}},hb=2e4;function gb(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<hb;)t+=n,r=e.next(t);return t>=hb?1/0:t}const $6={decay:pb,inertia:pb,tween:vu,keyframes:vu,spring:Cw};function yu({autoplay:e=!0,delay:t=0,driver:n=W6,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:d,onComplete:h,onUpdate:g,...m}){let v=1,b=!1,x,w;const I=()=>{w=new Promise(q=>{x=q})};I();let M;const E=$6[o]||vu;let j;E!==vu&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ir(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),j=yw([0,100],r,{clamp:!1}),r=[0,100]);const P=E({...m,keyframes:r});let F;c==="mirror"&&(F=E({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let k="idle",$=null,G=null,J=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=gb(P));const{calculatedDuration:U}=P;let ae=1/0,se=1/0;U!==null&&(ae=U+a,se=ae*(s+1)-a);let Z=0;const X=q=>{if(G===null)return;v>0&&(G=Math.min(G,q)),v<0&&(G=Math.min(q-se/v,G)),$!==null?Z=$:Z=Math.round(q-G)*v;const ue=Z-t*(v>=0?1:-1),pe=v>=0?ue<0:ue>se;Z=Math.max(ue,0),k==="finished"&&$===null&&(Z=se);let de=Z,he=P;if(s){const ye=Math.min(Z,se)/ae;let Ce=Math.floor(ye),Ee=ye%1;!Ee&&ye>=1&&(Ee=1),Ee===1&&Ce--,Ce=Math.min(Ce,s+1),!!(Ce%2)&&(c==="reverse"?(Ee=1-Ee,a&&(Ee-=a/ae)):c==="mirror"&&(he=F)),de=Wo(0,1,Ee)*ae}const me=pe?{done:!1,value:r[0]}:he.next(de);j&&(me.value=j(me.value));let{done:Ae}=me;!pe&&U!==null&&(Ae=v>=0?Z>=se:Z<=0);const xe=$===null&&(k==="finished"||k==="running"&&Ae);return g&&g(me.value),xe&&B(),me},W=()=>{M&&M.stop(),M=void 0},K=()=>{k="idle",W(),x(),I(),G=J=null},B=()=>{k="finished",h&&h(),W(),x()},ne=()=>{if(b)return;M||(M=n(X));const q=M.now();u&&u(),$!==null?G=q-$:(!G||k==="finished")&&(G=q),k==="finished"&&I(),J=G,$=null,k="running",M.start()};e&&ne();const V={then(q,ue){return w.then(q,ue)},get time(){return co(Z)},set time(q){q=No(q),Z=q,$!==null||!M||v===0?$=q:G=M.now()-q/v},get duration(){const q=P.calculatedDuration===null?gb(P):P.calculatedDuration;return co(q)},get speed(){return v},set speed(q){q===v||!M||(v=q,V.time=co(Z))},get state(){return k},play:ne,pause:()=>{k="paused",$=Z},stop:()=>{b=!0,k!=="idle"&&(k="idle",d&&d(),K())},cancel:()=>{J!==null&&X(J),K()},complete:()=>{k="finished"},sample:q=>(G=0,X(q))};return V}function z6(e){let t;return()=>(t===void 0&&(t=e()),t)}const U6=z6(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),H6=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),kc=10,G6=2e4,q6=(e,t)=>t.type==="spring"||e==="backgroundColor"||!QC(t.ease);function Y6(e,t,{onUpdate:n,onComplete:r,...o}){if(!(U6()&&H6.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,d=!1;const h=()=>{u=new Promise(E=>{c=E})};h();let{keyframes:g,duration:m=300,ease:v,times:b}=o;if(q6(t,o)){const E=yu({...o,repeat:0,delay:0});let j={done:!1,value:g[0]};const P=[];let F=0;for(;!j.done&&F<G6;)j=E.sample(F),P.push(j.value),F+=kc;b=void 0,g=P,m=F-kc,v="linear"}const x=i6(e.owner.current,t,g,{...o,duration:m,ease:v,times:b}),w=()=>{d=!1,x.cancel()},I=()=>{d=!0,xt.update(w),c(),h()};return x.onfinish=()=>{d||(e.set(s6(g,o)),r&&r(),I())},{then(E,j){return u.then(E,j)},attachTimeline(E){return x.timeline=E,x.onfinish=null,Mt},get time(){return co(x.currentTime||0)},set time(E){x.currentTime=No(E)},get speed(){return x.playbackRate},set speed(E){x.playbackRate=E},get duration(){return co(m)},play:()=>{a||(x.play(),uo(w))},pause:()=>x.pause(),stop:()=>{if(a=!0,x.playState==="idle")return;const{currentTime:E}=x;if(E){const j=yu({...o,autoplay:!1});e.setWithVelocity(j.sample(E-kc).value,j.sample(E).value,kc)}I()},complete:()=>{d||x.finish()},cancel:I}}function K6({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Mt,pause:Mt,stop:Mt,then:s=>(s(),Promise.resolve()),cancel:Mt,complete:Mt});return t?yu({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const X6={type:"spring",stiffness:500,damping:25,restSpeed:10},Z6=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Q6={type:"keyframes",duration:.8},J6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ek=(e,{keyframes:t})=>t.length>2?Q6:Fi.has(e)?e.startsWith("scale")?Z6(t[1]):X6:J6,ah=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&($o.test(t)||t==="0")&&!t.startsWith("url(")),tk=new Set(["brightness","contrast","saturate","opacity"]);function nk(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(od)||[];if(!r)return e;const o=n.replace(r,"");let s=tk.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const rk=/([a-z-]*)\(.*?\)/g,lh={...$o,getAnimatableNone:e=>{const t=e.match(rk);return t?t.map(nk).join(" "):e}},ok={...LC,color:hn,backgroundColor:hn,outlineColor:hn,fill:hn,stroke:hn,borderColor:hn,borderTopColor:hn,borderRightColor:hn,borderBottomColor:hn,borderLeftColor:hn,filter:lh,WebkitFilter:lh},Wg=e=>ok[e];function ww(e,t){let n=Wg(e);return n!==lh&&(n=$o),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Aw=e=>/^0[^.\s]+$/.test(e);function ik(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Aw(e)}function sk(e,t,n,r){const o=ah(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const a=r.from!==void 0?r.from:e.get();let c;const u=[];for(let d=0;d<s.length;d++)s[d]===null&&(s[d]=d===0?a:s[d-1]),ik(s[d])&&u.push(d),typeof s[d]=="string"&&s[d]!=="none"&&s[d]!=="0"&&(c=s[d]);if(o&&u.length&&c)for(let d=0;d<u.length;d++){const h=u[d];s[h]=ww(t,c)}return s}function ak({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:d,...h}){return!!Object.keys(h).length}function $g(e,t){return e[t]||e.default||e}const lk={skipAnimations:!1},zg=(e,t,n,r={})=>o=>{const s=$g(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-No(a);const u=sk(t,e,n,s),d=u[0],h=u[u.length-1],g=ah(e,d),m=ah(e,h);pl(g===m,`You are trying to animate ${e} from "${d}" to "${h}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:b=>{t.set(b),s.onUpdate&&s.onUpdate(b)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(ak(s)||(v={...v,...ek(e,v)}),v.duration&&(v.duration=No(v.duration)),v.repeatDelay&&(v.repeatDelay=No(v.repeatDelay)),!g||!m||o6.current||s.type===!1||lk.skipAnimations)return K6(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=Y6(t,e,v);if(b)return b}return yu(v)};function bu(e){return!!(In(e)&&e.add)}const Sw=e=>/^\-?\d*\.?\d+$/.test(e);function Ug(e,t){e.indexOf(t)===-1&&e.push(t)}function Hg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Gg{constructor(){this.subscriptions=[]}add(t){return Ug(this.subscriptions,t),()=>Hg(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const a=this.subscriptions[s];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const mb=new Set;function qg(e,t,n){e||mb.has(t)||(console.warn(t),mb.add(t))}const ck=e=>!isNaN(parseFloat(e));class uk{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:s,timestamp:a}=on;this.lastUpdated!==a&&(this.timeDelta=s,this.lastUpdated=a,xt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>xt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=ck(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&qg(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Gg);const r=this.events[t].add(n);return t==="change"?()=>{r(),xt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bw(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Rs(e,t){return new uk(e,t)}const Tw=e=>t=>t.test(e),dk={test:e=>e==="auto",parse:e=>e},Ew=[Di,Me,_r,Ro,bM,yM,dk],Ca=e=>Ew.find(Tw(e)),fk=[...Ew,hn,$o],pk=e=>fk.find(Tw(e));function hk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rs(n))}function gk(e,t){const n=sd(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=FM(s[a]);hk(e,a,c)}}function mk(e,t,n){var r,o;const s=Object.keys(t).filter(c=>!e.hasValue(c)),a=s.length;if(a)for(let c=0;c<a;c++){const u=s[c],d=t[u];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),h!=null&&(typeof h=="string"&&(Sw(h)||Aw(h))?h=parseFloat(h):!pk(h)&&$o.test(d)&&(h=ww(u,d)),e.addValue(u,Rs(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function vk(e,t){return t?(t[e]||t.default||t).from:void 0}function yk(e,t,n){const r={};for(const o in e){const s=vk(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function bk({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function xk(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Iw(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...c}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(s=r);const d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const g in c){const m=e.getValue(g),v=c[g];if(!m||v===void 0||h&&bk(h,g))continue;const b={delay:n,elapsed:0,...$g(s||{},g)};if(window.HandoffAppearAnimations){const I=e.getProps()[OC];if(I){const M=window.HandoffAppearAnimations(I,g,m,xt);M!==null&&(b.elapsed=M,b.isHandoff=!0)}}let x=!b.isHandoff&&!xk(m,v);if(b.type==="spring"&&(m.getVelocity()||b.velocity)&&(x=!1),m.animation&&(x=!1),x)continue;m.start(zg(g,m,v,e.shouldReduceMotion&&Fi.has(g)?{type:!1}:b));const w=m.animation;bu(u)&&(u.add(g),w.then(()=>u.remove(g))),d.push(w)}return a&&Promise.all(d).then(()=>{a&&gk(e,a)}),d}function ch(e,t,n={}){const r=sd(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Iw(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return Ck(e,t,d+u,h,g,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,d]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>d())}else return Promise.all([s(),a(n.delay)])}function Ck(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(wk).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(ch(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function wk(e,t){return e.sortNodePosition(t)}function Ak(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>ch(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=ch(e,t,n);else{const o=typeof t=="function"?sd(e,t,n.custom):t;r=Promise.all(Iw(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Sk=[...Pg].reverse(),Tk=Pg.length;function Ek(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Ak(e,n,r)))}function Ik(e){let t=Ek(e);const n=Pk();let r=!0;const o=(u,d)=>{const h=sd(e,d);if(h){const{transition:g,transitionEnd:m,...v}=h;u={...u,...v,...m}}return u};function s(u){t=u(e)}function a(u,d){const h=e.getProps(),g=e.getVariantContext(!0)||{},m=[],v=new Set;let b={},x=1/0;for(let I=0;I<Tk;I++){const M=Sk[I],E=n[M],j=h[M]!==void 0?h[M]:g[M],P=qa(j),F=M===d?E.isActive:null;F===!1&&(x=I);let k=j===g[M]&&j!==h[M]&&P;if(k&&r&&e.manuallyAnimateOnMount&&(k=!1),E.protectedKeys={...b},!E.isActive&&F===null||!j&&!E.prevProp||nd(j)||typeof j=="boolean")continue;let G=Ok(E.prevProp,j)||M===d&&E.isActive&&!k&&P||I>x&&P,J=!1;const U=Array.isArray(j)?j:[j];let ae=U.reduce(o,{});F===!1&&(ae={});const{prevResolvedValues:se={}}=E,Z={...se,...ae},X=W=>{G=!0,v.has(W)&&(J=!0,v.delete(W)),E.needsAnimating[W]=!0};for(const W in Z){const K=ae[W],B=se[W];if(b.hasOwnProperty(W))continue;let ne=!1;gu(K)&&gu(B)?ne=!XC(K,B):ne=K!==B,ne?K!==void 0?X(W):v.add(W):K!==void 0&&v.has(W)?X(W):E.protectedKeys[W]=!0}E.prevProp=j,E.prevResolvedValues=ae,E.isActive&&(b={...b,...ae}),r&&e.blockInitialAnimation&&(G=!1),G&&(!k||J)&&m.push(...U.map(W=>({animation:W,options:{type:M,...u}})))}if(v.size){const I={};v.forEach(M=>{const E=e.getBaseTarget(M);E!==void 0&&(I[M]=E)}),m.push({animation:I})}let w=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(m):Promise.resolve()}function c(u,d,h){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(u,d)}),n[u].isActive=d;const m=a(h,u);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function Ok(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!XC(t,e):!1}function di(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pk(){return{animate:di(!0),whileInView:di(),whileHover:di(),whileTap:di(),whileDrag:di(),whileFocus:di(),exit:di()}}class jk extends Ho{constructor(t){super(t),t.animationState||(t.animationState=Ik(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),nd(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Rk=0;class Mk extends Ho{constructor(){super(...arguments),this.id=Rk++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const kk={animation:{Feature:jk},exit:{Feature:Mk}},vb=(e,t)=>Math.abs(e-t);function Fk(e,t){const n=vb(e.x,t.x),r=vb(e.y,t.y);return Math.sqrt(n**2+r**2)}class Ow{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Tp(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Fk(g.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:b}=g,{timestamp:x}=on;this.history.push({...b,timestamp:x});const{onStart:w,onMove:I}=this.handlers;m||(w&&w(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,g)},this.handlePointerMove=(g,m)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Sp(m,this.transformPagePoint),xt.update(this.updatePoint,!0)},this.handlePointerUp=(g,m)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Tp(g.type==="pointercancel"?this.lastMoveEventInfo:Sp(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),b&&b(g,w)},!HC(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=id(t),c=Sp(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=on;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Tp(c,this.history)),this.removeListeners=Bo(lo(this.contextWindow,"pointermove",this.handlePointerMove),lo(this.contextWindow,"pointerup",this.handlePointerUp),lo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),uo(this.updatePoint)}}function Sp(e,t){return t?{point:t(e.point)}:e}function yb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Tp({point:e},t){return{point:e,delta:yb(e,Pw(t)),offset:yb(e,Dk(t)),velocity:Lk(t,.1)}}function Dk(e){return e[0]}function Pw(e){return e[e.length-1]}function Lk(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Pw(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>No(t)));)n--;if(!r)return{x:0,y:0};const s=co(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const a={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Hn(e){return e.max-e.min}function uh(e,t=0,n=.01){return Math.abs(e-t)<=n}function bb(e,t,n,r=.5){e.origin=r,e.originPoint=Ot(t.min,t.max,e.origin),e.scale=Hn(n)/Hn(t),(uh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ot(n.min,n.max,e.origin)-e.originPoint,(uh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function _a(e,t,n,r){bb(e.x,t.x,n.x,r?r.originX:void 0),bb(e.y,t.y,n.y,r?r.originY:void 0)}function xb(e,t,n){e.min=n.min+t.min,e.max=e.min+Hn(t)}function _k(e,t,n){xb(e.x,t.x,n.x),xb(e.y,t.y,n.y)}function Cb(e,t,n){e.min=t.min-n.min,e.max=e.min+Hn(t)}function Ba(e,t,n){Cb(e.x,t.x,n.x),Cb(e.y,t.y,n.y)}function Bk(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ot(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ot(n,e,r.max):Math.min(e,n)),e}function wb(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Nk(e,{top:t,left:n,bottom:r,right:o}){return{x:wb(e.x,n,o),y:wb(e.y,t,r)}}function Ab(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Vk(e,t){return{x:Ab(e.x,t.x),y:Ab(e.y,t.y)}}function Wk(e,t){let n=.5;const r=Hn(e),o=Hn(t);return o>r?n=Ka(t.min,t.max-r,e.min):r>o&&(n=Ka(e.min,e.max-o,t.min)),Wo(0,1,n)}function $k(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const dh=.35;function zk(e=dh){return e===!1?e=0:e===!0&&(e=dh),{x:Sb(e,"left","right"),y:Sb(e,"top","bottom")}}function Sb(e,t,n){return{min:Tb(e,t),max:Tb(e,n)}}function Tb(e,t){return typeof e=="number"?e:e[t]||0}const Eb=()=>({translate:0,scale:1,origin:0,originPoint:0}),ys=()=>({x:Eb(),y:Eb()}),Ib=()=>({min:0,max:0}),Vt=()=>({x:Ib(),y:Ib()});function sr(e){return[e("x"),e("y")]}function jw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Uk({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Hk(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ep(e){return e===void 0||e===1}function fh({scale:e,scaleX:t,scaleY:n}){return!Ep(e)||!Ep(t)||!Ep(n)}function gi(e){return fh(e)||Rw(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Rw(e){return Ob(e.x)||Ob(e.y)}function Ob(e){return e&&e!=="0%"}function xu(e,t,n){const r=e-n,o=t*r;return n+o}function Pb(e,t,n,r,o){return o!==void 0&&(e=xu(e,o,r)),xu(e,n,r)+t}function ph(e,t=0,n=1,r,o){e.min=Pb(e.min,t,n,r,o),e.max=Pb(e.max,t,n,r,o)}function Mw(e,{x:t,y:n}){ph(e.x,t.translate,t.scale,t.originPoint),ph(e.y,n.translate,n.scale,n.originPoint)}function Gk(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,a;for(let c=0;c<o;c++){s=n[c],a=s.projectionDelta;const u=s.instance;u&&u.style&&u.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&bs(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Mw(e,a)),r&&gi(s.latestValues)&&bs(e,s.latestValues))}t.x=jb(t.x),t.y=jb(t.y)}function jb(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ko(e,t){e.min=e.min+t,e.max=e.max+t}function Rb(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Ot(e.min,e.max,s);ph(e,t[n],t[r],a,t.scale)}const qk=["x","scaleX","originX"],Yk=["y","scaleY","originY"];function bs(e,t){Rb(e.x,t,qk),Rb(e.y,t,Yk)}function kw(e,t){return jw(Hk(e.getBoundingClientRect(),t))}function Kk(e,t,n){const r=kw(e,n),{scroll:o}=t;return o&&(ko(r.x,o.offset.x),ko(r.y,o.offset.y)),r}const Fw=({current:e})=>e?e.ownerDocument.defaultView:null,Xk=new WeakMap;class Zk{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Vt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(id(h,"page").point)},s=(h,g)=>{const{drag:m,dragPropagation:v,onDragStart:b}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qC(m),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sr(w=>{let I=this.getAxisMotionValue(w).get()||0;if(_r.test(I)){const{projection:M}=this.visualElement;if(M&&M.layout){const E=M.layout.layoutBox[w];E&&(I=Hn(E)*(parseFloat(I)/100))}}this.originPoint[w]=I}),b&&xt.update(()=>b(h,g),!1,!0);const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(h,g)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:b,onDrag:x}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:w}=g;if(v&&this.currentDirection===null){this.currentDirection=Qk(w),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",g.point,w),this.updateAxis("y",g.point,w),this.visualElement.render(),x&&x(h,g)},c=(h,g)=>this.stop(h,g),u=()=>sr(h=>{var g;return this.getAnimationState(h)==="paused"&&((g=this.getAxisMotionValue(h).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Ow(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Fw(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&xt.update(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Fc(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Bk(a,this.constraints[t],this.elastic[t])),s.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&ms(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Nk(o.layoutBox,n):this.constraints=!1,this.elastic=zk(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&sr(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=$k(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ms(t))return!1;const r=t.current;Ir(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=Kk(r,o.root,this.visualElement.getTransformPagePoint());let a=Vk(o.layout.layoutBox,s);if(n){const c=n(Uk(a));this.hasMutatedConstraints=!!c,c&&(a=jw(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=sr(h=>{if(!Fc(h,n,this.currentDirection))return;let g=u&&u[h]||{};a&&(g={min:0,max:0});const m=o?200:1e6,v=o?40:1e7,b={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...s,...g};return this.startAxisValueAnimation(h,b)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(zg(t,r,0,n))}stopAnimation(){sr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){sr(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){sr(n=>{const{drag:r}=this.getProps();if(!Fc(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:c}=o.layout.layoutBox[n];s.set(t[n]-Ot(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ms(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};sr(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=Wk({min:u,max:u},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),sr(a=>{if(!Fc(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:d}=this.constraints[a];c.set(Ot(u,d,o[a]))})}addListeners(){if(!this.visualElement.current)return;Xk.set(this.visualElement,this);const t=this.visualElement.current,n=lo(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();ms(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const a=io(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(sr(h=>{const g=this.getAxisMotionValue(h);g&&(this.originPoint[h]+=u[h].translate,g.set(g.get()+u[h].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:a=dh,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function Fc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Qk(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jk extends Ho{constructor(t){super(t),this.removeGroupControls=Mt,this.removeListeners=Mt,this.controls=new Zk(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Mt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Mb=e=>(t,n)=>{e&&xt.update(()=>e(t,n))};class e8 extends Ho{constructor(){super(...arguments),this.removePointerDownListener=Mt}onPointerDown(t){this.session=new Ow(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Mb(t),onStart:Mb(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&xt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=lo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function t8(){const e=T.useContext(Ig);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=T.useId();return T.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const Zc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const wa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Me.test(e))e=parseFloat(e);else return e;const n=kb(e,t.target.x),r=kb(e,t.target.y);return`${n}% ${r}%`}},n8={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=$o.parse(e);if(o.length>5)return r;const s=$o.createTransformer(e),a=typeof o[0]!="number"?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;o[0+a]/=c,o[1+a]/=u;const d=Ot(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=d),typeof o[3+a]=="number"&&(o[3+a]/=d),s(o)}};class r8 extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;dM(o8),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Zc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,a=r.projection;return a&&(a.isPresent=s,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?a.promote():a.relegate()||xt.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Dw(e){const[t,n]=t8(),r=T.useContext(jC);return T.createElement(r8,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(RC),isPresent:t,safeToRemove:n})}const o8={borderRadius:{...wa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wa,borderTopRightRadius:wa,borderBottomLeftRadius:wa,borderBottomRightRadius:wa,boxShadow:n8},Lw=["TopLeft","TopRight","BottomLeft","BottomRight"],i8=Lw.length,Fb=e=>typeof e=="string"?parseFloat(e):e,Db=e=>typeof e=="number"||Me.test(e);function s8(e,t,n,r,o,s){o?(e.opacity=Ot(0,n.opacity!==void 0?n.opacity:1,a8(r)),e.opacityExit=Ot(t.opacity!==void 0?t.opacity:1,0,l8(r))):s&&(e.opacity=Ot(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<i8;a++){const c=`border${Lw[a]}Radius`;let u=Lb(t,c),d=Lb(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||Db(u)===Db(d)?(e[c]=Math.max(Ot(Fb(u),Fb(d),r),0),(_r.test(d)||_r.test(u))&&(e[c]+="%")):e[c]=d}(t.rotate||n.rotate)&&(e.rotate=Ot(t.rotate||0,n.rotate||0,r))}function Lb(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const a8=_w(0,.5,iw),l8=_w(.5,.95,Mt);function _w(e,t,n){return r=>r<e?0:r>t?1:n(Ka(e,t,r))}function _b(e,t){e.min=t.min,e.max=t.max}function ir(e,t){_b(e.x,t.x),_b(e.y,t.y)}function Bb(e,t,n,r,o){return e-=t,e=xu(e,1/n,r),o!==void 0&&(e=xu(e,1/o,r)),e}function c8(e,t=0,n=1,r=.5,o,s=e,a=e){if(_r.test(t)&&(t=parseFloat(t),t=Ot(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Ot(s.min,s.max,r);e===s&&(c-=t),e.min=Bb(e.min,t,n,c,o),e.max=Bb(e.max,t,n,c,o)}function Nb(e,t,[n,r,o],s,a){c8(e,t[n],t[r],t[o],t.scale,s,a)}const u8=["x","scaleX","originX"],d8=["y","scaleY","originY"];function Vb(e,t,n,r){Nb(e.x,t,u8,n?n.x:void 0,r?r.x:void 0),Nb(e.y,t,d8,n?n.y:void 0,r?r.y:void 0)}function Wb(e){return e.translate===0&&e.scale===1}function Bw(e){return Wb(e.x)&&Wb(e.y)}function f8(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Nw(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function $b(e){return Hn(e.x)/Hn(e.y)}class p8{constructor(){this.members=[]}add(t){Ug(this.members,t),t.scheduleRender()}remove(t){if(Hg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zb(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(r=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:d,rotateY:h}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const h8=(e,t)=>e.depth-t.depth;class g8{constructor(){this.children=[],this.isDirty=!1}add(t){Ug(this.children,t),this.isDirty=!0}remove(t){Hg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(h8),this.isDirty=!1,this.children.forEach(t)}}function m8(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(uo(r),e(s-t))};return xt.read(r,!0),()=>uo(r)}function v8(e){window.MotionDebug&&window.MotionDebug.record(e)}function y8(e){return e instanceof SVGElement&&e.tagName!=="svg"}function b8(e,t,n){const r=In(e)?e:Rs(e);return r.start(zg("",r,t,n)),r.animation}const Ub=["","X","Y","Z"],x8={visibility:"hidden"},Hb=1e3;let C8=0;const mi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Vw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=C8++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,mi.totalNodes=mi.resolvedTargetDeltas=mi.recalculatedProjection=0,this.nodes.forEach(S8),this.nodes.forEach(P8),this.nodes.forEach(j8),this.nodes.forEach(T8),v8(mi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new g8)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Gg),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const u=this.eventHandlers.get(a);u&&u.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=y8(a),this.instance=a;const{layoutId:u,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(d||u)&&(this.isLayoutDirty=!0),e){let g;const m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=m8(m,250),Zc.hasAnimatedSinceResize&&(Zc.hasAnimatedSinceResize=!1,this.nodes.forEach(qb))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||h.getDefaultTransition()||D8,{onLayoutAnimationStart:w,onLayoutAnimationComplete:I}=h.getProps(),M=!this.targetLayout||!Nw(this.targetLayout,b)||v,E=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||E||m&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,E);const j={...$g(x,"layout"),onPlay:w,onComplete:I};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else m||qb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,uo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(R8),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const g=this.path[h];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Gb);return}this.isUpdating||this.nodes.forEach(I8),this.isUpdating=!1,this.nodes.forEach(O8),this.nodes.forEach(w8),this.nodes.forEach(A8),this.clearAllSnapshots();const c=performance.now();on.delta=Wo(0,1e3/60,c-on.timestamp),on.timestamp=c,on.isProcessing=!0,mp.update.process(on),mp.preRender.process(on),mp.render.process(on),on.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(E8),this.sharedNodes.forEach(M8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Vt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform,c=this.projectionDelta&&!Bw(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||gi(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),L8(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Vt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(ko(c.x,u.offset.x),ko(c.y,u.offset.y)),c}removeElementScroll(a){const c=Vt();ir(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:g}=d;if(d!==this.root&&h&&g.layoutScroll){if(h.isRoot){ir(c,a);const{scroll:m}=this.root;m&&(ko(c.x,-m.offset.x),ko(c.y,-m.offset.y))}ko(c.x,h.offset.x),ko(c.y,h.offset.y)}}return c}applyTransform(a,c=!1){const u=Vt();ir(u,a);for(let d=0;d<this.path.length;d++){const h=this.path[d];!c&&h.options.layoutScroll&&h.scroll&&h!==h.root&&bs(u,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),gi(h.latestValues)&&bs(u,h.latestValues)}return gi(this.latestValues)&&bs(u,this.latestValues),u}removeTransform(a){const c=Vt();ir(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!gi(d.latestValues))continue;fh(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();ir(h,g),Vb(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return gi(this.latestValues)&&Vb(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==on.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var c;const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==u;if(!(a||d&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:g,layoutId:m}=this.options;if(!(!this.layout||!(g||m))){if(this.resolvedRelativeTargetAt=on.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ba(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),_k(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ir(this.target,this.layout.layoutBox),Mw(this.target,this.targetDelta)):ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),Ba(this.relativeTargetOrigin,this.target,v.target),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}mi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||fh(this.parent.latestValues)||Rw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const c=this.getLead(),u=!!this.resumingFrom||this!==c;let d=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(d=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===on.timestamp&&(d=!1),d)return;const{layout:h,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||g))return;ir(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;Gk(this.layoutCorrected,this.treeScale,this.path,u),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox);const{target:b}=c;if(!b){this.projectionTransform&&(this.projectionDelta=ys(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ys(),this.projectionDeltaWithTransform=ys());const x=this.projectionTransform;_a(this.projectionDelta,this.layoutCorrected,b,this.latestValues),this.projectionTransform=zb(this.projectionDelta,this.treeScale),(this.projectionTransform!==x||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),mi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,c=!1){const u=this.snapshot,d=u?u.latestValues:{},h={...this.latestValues},g=ys();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const m=Vt(),v=u?u.source:void 0,b=this.layout?this.layout.source:void 0,x=v!==b,w=this.getStack(),I=!w||w.members.length<=1,M=!!(x&&!I&&this.options.crossfade===!0&&!this.path.some(F8));this.animationProgress=0;let E;this.mixTargetDelta=j=>{const P=j/1e3;Yb(g.x,a.x,P),Yb(g.y,a.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ba(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),k8(this.relativeTarget,this.relativeTargetOrigin,m,P),E&&f8(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Vt()),ir(E,this.relativeTarget)),x&&(this.animationValues=h,s8(h,d,this.latestValues,P,M,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(uo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xt.update(()=>{Zc.hasAnimatedSinceResize=!0,this.currentAnimation=b8(0,Hb,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Hb),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:h}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&Ww(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Hn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Hn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}ir(c,u),bs(c,h),_a(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new p8),this.sharedNodes.get(a).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const d={};for(let h=0;h<Ub.length;h++){const g="rotate"+Ub[h];u[g]&&(d[g]=u[g],a.setStaticValue(g,0))}a.render();for(const h in d)a.setStaticValue(h,d[h]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return x8;const d={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Xc(a==null?void 0:a.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=Xc(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!gi(this.latestValues)&&(x.transform=h?h({},""):"none",this.hasProjected=!1),x}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=zb(this.projectionDeltaWithTransform,this.treeScale,m),h&&(d.transform=h(m,d.transform));const{x:v,y:b}=this.projectionDelta;d.transformOrigin=`${v.origin*100}% ${b.origin*100}% 0`,g.animationValues?d.opacity=g===this?(u=(c=m.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:d.opacity=g===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const x in pu){if(m[x]===void 0)continue;const{correct:w,applyTo:I}=pu[x],M=d.transform==="none"?m[x]:w(m[x],g);if(I){const E=I.length;for(let j=0;j<E;j++)d[I[j]]=M}else d[x]=M}return this.options.layoutId&&(d.pointerEvents=g===this?Xc(a==null?void 0:a.pointerEvents)||"":"none"),d}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(Gb),this.root.sharedNodes.clear()}}}function w8(e){e.updateLayout()}function A8(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,a=n.source!==e.layout.source;s==="size"?sr(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Hn(m);m.min=r[g].min,m.max=m.min+v}):Ww(s,n.layoutBox,r)&&sr(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Hn(r[g]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=ys();_a(c,r,n.layoutBox);const u=ys();a?_a(u,e.applyTransform(o,!0),n.measuredBox):_a(u,r,n.layoutBox);const d=!Bw(c);let h=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:m,layout:v}=g;if(m&&v){const b=Vt();Ba(b,n.layoutBox,m.layoutBox);const x=Vt();Ba(x,r,v.layoutBox),Nw(b,x)||(h=!0),g.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=b,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function S8(e){mi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function T8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function E8(e){e.clearSnapshot()}function Gb(e){e.clearMeasurements()}function I8(e){e.isLayoutDirty=!1}function O8(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function P8(e){e.resolveTargetDelta()}function j8(e){e.calcProjection()}function R8(e){e.resetRotation()}function M8(e){e.removeLeadSnapshot()}function Yb(e,t,n){e.translate=Ot(t.translate,0,n),e.scale=Ot(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Kb(e,t,n,r){e.min=Ot(t.min,n.min,r),e.max=Ot(t.max,n.max,r)}function k8(e,t,n,r){Kb(e.x,t.x,n.x,r),Kb(e.y,t.y,n.y,r)}function F8(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const D8={duration:.45,ease:[.4,0,.1,1]},Xb=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Zb=Xb("applewebkit/")&&!Xb("chrome/")?Math.round:Mt;function Qb(e){e.min=Zb(e.min),e.max=Zb(e.max)}function L8(e){Qb(e.x),Qb(e.y)}function Ww(e,t,n){return e==="position"||e==="preserve-aspect"&&!uh($b(t),$b(n),.2)}const _8=Vw({attachResizeListener:(e,t)=>io(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ip={current:void 0},$w=Vw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ip.current){const e=new _8({});e.mount(window),e.setOptions({layoutScroll:!0}),Ip.current=e}return Ip.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),B8={pan:{Feature:e8},drag:{Feature:Jk,ProjectionNode:$w,MeasureLayout:Dw}},N8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function V8(e){const t=N8.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const W8=4;function hh(e,t,n=1){Ir(n<=W8,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=V8(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return Sw(a)?parseFloat(a):a}else return rh(o)?hh(o,t,n+1):o}function $8(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const s=o.get();if(!rh(s))return;const a=hh(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!rh(s))continue;const a=hh(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const z8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zw=e=>z8.has(e),U8=e=>Object.keys(e).some(zw),Dc=e=>e===Di||e===Me,Jb=(e,t)=>parseFloat(e.split(", ")[t]),ex=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Jb(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?Jb(s[1],e):0}},H8=new Set(["x","y","z"]),G8=ul.filter(e=>!H8.has(e));function q8(e){const t=[];return G8.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Ms={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ex(4,13),y:ex(5,14)};Ms.translateX=Ms.x;Ms.translateY=Ms.y;const Y8=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:a}=s,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(d=>{c[d]=Ms[d](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const h=t.getValue(d);h&&h.jump(c[d]),e[d]=Ms[d](u,s)}),e},K8=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(zw);let s=[],a=!1;const c=[];if(o.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let h=n[u],g=Ca(h);const m=t[u];let v;if(gu(m)){const b=m.length,x=m[0]===null?1:0;h=m[x],g=Ca(h);for(let w=x;w<b&&m[w]!==null;w++)v?Ir(Ca(m[w])===v,"All keyframes must be of the same type"):(v=Ca(m[w]),Ir(v===g||Dc(g)&&Dc(v),"Keyframes must be of the same dimension as the current value"))}else v=Ca(m);if(g!==v)if(Dc(g)&&Dc(v)){const b=d.get();typeof b=="string"&&d.set(parseFloat(b)),typeof m=="string"?t[u]=parseFloat(m):Array.isArray(m)&&v===Me&&(t[u]=m.map(parseFloat))}else g!=null&&g.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?d.set(v.transform(h)):t[u]=g.transform(m):(a||(s=q8(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],d.jump(m))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,d=Y8(t,e,c);return s.length&&s.forEach(([h,g])=>{e.getValue(h).set(g)}),e.render(),td&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function X8(e,t,n,r){return U8(t)?K8(e,t,n,r):{target:t,transitionEnd:r}}const Z8=(e,t,n,r)=>{const o=$8(e,t,r);return t=o.target,r=o.transitionEnd,X8(e,t,n,r)},gh={current:null},Uw={current:!1};function Q8(){if(Uw.current=!0,!!td)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gh.current=e.matches;e.addListener(t),t()}else gh.current=!1}function J8(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(In(s))e.addValue(o,s),bu(r)&&r.add(o),process.env.NODE_ENV==="development"&&qg(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(In(a))e.addValue(o,Rs(s,{owner:e})),bu(r)&&r.remove(o);else if(a!==s)if(e.hasValue(o)){const c=e.getValue(o);!c.hasAnimated&&c.set(s)}else{const c=e.getStaticValue(o);e.addValue(o,Rs(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const tx=new WeakMap,Hw=Object.keys(Ya),e9=Hw.length,nx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],t9=jg.length;class n9{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xt.render(this.render,!1,!0);const{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.isControllingVariants=rd(n),this.isVariantNode=PC(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{});for(const g in h){const m=h[g];c[g]!==void 0&&In(m)&&(m.set(c[g],!1),bu(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,tx.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Uw.current||Q8(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gh.current,process.env.NODE_ENV!=="production"&&qg(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tx.delete(this.current),this.projection&&this.projection.unmount(),uo(this.notifyUpdate),uo(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Fi.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&xt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,s){let a,c;if(process.env.NODE_ENV!=="production"&&o&&r){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?pl(!1,u):Ir(!1,u)}for(let u=0;u<e9;u++){const d=Hw[u],{isEnabled:h,Feature:g,ProjectionNode:m,MeasureLayout:v}=Ya[d];m&&(a=m),h(n)&&(!this.features[d]&&g&&(this.features[d]=new g(this)),v&&(c=v))}if((this.type==="html"||this.type==="svg")&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:u,layout:d,drag:h,dragConstraints:g,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!h||g&&ms(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:v})}return c}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Vt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<nx.length;r++){const o=nx[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=J8(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<t9;r++){const o=jg[r],s=this.props[o];(qa(s)||s===!1)&&(n[o]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Rs(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=_g(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!In(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Gg),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Gw extends n9{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},s){let a=yk(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){mk(this,r,a);const c=Z8(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function r9(e){return window.getComputedStyle(e)}class o9 extends Gw{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Fi.has(n)){const r=Wg(n);return r&&r.default||0}else{const r=r9(t),o=(FC(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return kw(t,n)}build(t,n,r,o){Mg(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Lg(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;In(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){VC(t,n,r,o)}}class i9 extends Gw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Fi.has(n)){const r=Wg(n);return r&&r.default||0}return n=WC.has(n)?n:Og(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return zC(t,n)}build(t,n,r,o){Fg(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){$C(t,n,r,o)}mount(t){this.isSVGTag=Dg(t.tagName),super.mount(t)}}const s9=(e,t)=>Rg(e)?new i9(t,{enableHardwareAcceleration:!1}):new o9(t,{enableHardwareAcceleration:!0}),a9={layout:{ProjectionNode:$w,MeasureLayout:Dw}},l9={...kk,...t6,...B8,...a9},Lc=cM((e,t)=>$M(e,t,l9,s9)),c9=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function rx(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?c9(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function u9({children:e,type:t="scale",direction:n="right",offset:r=10,scale:o={hover:1.05,tap:.95}}){let s,a;switch(n){case"up":case"left":s=r,a=0;break;case"right":case"down":default:s=0,a=r;break}const[c,u]=rx(s,a),[d,h]=rx(s,a);switch(t){case"rotate":return f.jsx(Lc.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(Lc.div,{animate:{y:d!==void 0?d:""},onHoverEnd:()=>h(),onHoverStart:()=>h(),children:e}):f.jsx(Lc.div,{animate:{x:c!==void 0?c:""},onHoverEnd:()=>u(),onHoverStart:()=>u(),children:e});case"scale":default:return typeof o=="number"&&(o={hover:o,tap:o}),f.jsx(Lc.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}function Qt(e,t){switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}}function He(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}var An=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ho(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function go(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mh={exports:{}},_c={exports:{}},rt={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var ox;function d9(){if(ox)return rt;ox=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function E(P){if(typeof P=="object"&&P!==null){var F=P.$$typeof;switch(F){case t:switch(P=P.type,P){case u:case d:case r:case s:case o:case g:return P;default:switch(P=P&&P.$$typeof,P){case c:case h:case x:case v:case a:return P;default:return F}}case n:return F}}}function j(P){return E(P)===d}return rt.AsyncMode=u,rt.ConcurrentMode=d,rt.ContextConsumer=c,rt.ContextProvider=a,rt.Element=t,rt.ForwardRef=h,rt.Fragment=r,rt.Lazy=x,rt.Memo=v,rt.Portal=n,rt.Profiler=s,rt.StrictMode=o,rt.Suspense=g,rt.isAsyncMode=function(P){return j(P)||E(P)===u},rt.isConcurrentMode=j,rt.isContextConsumer=function(P){return E(P)===c},rt.isContextProvider=function(P){return E(P)===a},rt.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},rt.isForwardRef=function(P){return E(P)===h},rt.isFragment=function(P){return E(P)===r},rt.isLazy=function(P){return E(P)===x},rt.isMemo=function(P){return E(P)===v},rt.isPortal=function(P){return E(P)===n},rt.isProfiler=function(P){return E(P)===s},rt.isStrictMode=function(P){return E(P)===o},rt.isSuspense=function(P){return E(P)===g},rt.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===d||P===s||P===o||P===g||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===x||P.$$typeof===v||P.$$typeof===a||P.$$typeof===c||P.$$typeof===h||P.$$typeof===w||P.$$typeof===I||P.$$typeof===M||P.$$typeof===y)},rt.typeOf=E,rt}var ot={};/** @license React v16.13.1
8
+ */var ox;function d9(){if(ox)return rt;ox=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function E(P){if(typeof P=="object"&&P!==null){var F=P.$$typeof;switch(F){case t:switch(P=P.type,P){case u:case d:case r:case s:case o:case g:return P;default:switch(P=P&&P.$$typeof,P){case c:case h:case b:case v:case a:return P;default:return F}}case n:return F}}}function j(P){return E(P)===d}return rt.AsyncMode=u,rt.ConcurrentMode=d,rt.ContextConsumer=c,rt.ContextProvider=a,rt.Element=t,rt.ForwardRef=h,rt.Fragment=r,rt.Lazy=b,rt.Memo=v,rt.Portal=n,rt.Profiler=s,rt.StrictMode=o,rt.Suspense=g,rt.isAsyncMode=function(P){return j(P)||E(P)===u},rt.isConcurrentMode=j,rt.isContextConsumer=function(P){return E(P)===c},rt.isContextProvider=function(P){return E(P)===a},rt.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},rt.isForwardRef=function(P){return E(P)===h},rt.isFragment=function(P){return E(P)===r},rt.isLazy=function(P){return E(P)===b},rt.isMemo=function(P){return E(P)===v},rt.isPortal=function(P){return E(P)===n},rt.isProfiler=function(P){return E(P)===s},rt.isStrictMode=function(P){return E(P)===o},rt.isSuspense=function(P){return E(P)===g},rt.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===d||P===s||P===o||P===g||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===b||P.$$typeof===v||P.$$typeof===a||P.$$typeof===c||P.$$typeof===h||P.$$typeof===w||P.$$typeof===I||P.$$typeof===M||P.$$typeof===x)},rt.typeOf=E,rt}var ot={};/** @license React v16.13.1
9
9
  * react-is.development.js
10
10
  *
11
11
  * Copyright (c) Facebook, Inc. and its affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var ix;function f9(){return ix||(ix=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function E(ce){return typeof ce=="string"||typeof ce=="function"||ce===r||ce===d||ce===s||ce===o||ce===g||ce===m||typeof ce=="object"&&ce!==null&&(ce.$$typeof===x||ce.$$typeof===v||ce.$$typeof===a||ce.$$typeof===c||ce.$$typeof===h||ce.$$typeof===w||ce.$$typeof===I||ce.$$typeof===M||ce.$$typeof===y)}function j(ce){if(typeof ce=="object"&&ce!==null){var Xe=ce.$$typeof;switch(Xe){case t:var ge=ce.type;switch(ge){case u:case d:case r:case s:case o:case g:return ge;default:var Ke=ge&&ge.$$typeof;switch(Ke){case c:case h:case x:case v:case a:return Ke;default:return Xe}}case n:return Xe}}}var P=u,F=d,k=c,$=a,G=t,J=h,U=r,ae=x,se=v,Z=n,X=s,W=o,K=g,B=!1;function ne(ce){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),V(ce)||j(ce)===u}function V(ce){return j(ce)===d}function q(ce){return j(ce)===c}function ue(ce){return j(ce)===a}function pe(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===t}function de(ce){return j(ce)===h}function he(ce){return j(ce)===r}function me(ce){return j(ce)===x}function Ae(ce){return j(ce)===v}function xe(ce){return j(ce)===n}function ye(ce){return j(ce)===s}function Ce(ce){return j(ce)===o}function Ee(ce){return j(ce)===g}ot.AsyncMode=P,ot.ConcurrentMode=F,ot.ContextConsumer=k,ot.ContextProvider=$,ot.Element=G,ot.ForwardRef=J,ot.Fragment=U,ot.Lazy=ae,ot.Memo=se,ot.Portal=Z,ot.Profiler=X,ot.StrictMode=W,ot.Suspense=K,ot.isAsyncMode=ne,ot.isConcurrentMode=V,ot.isContextConsumer=q,ot.isContextProvider=ue,ot.isElement=pe,ot.isForwardRef=de,ot.isFragment=he,ot.isLazy=me,ot.isMemo=Ae,ot.isPortal=xe,ot.isProfiler=ye,ot.isStrictMode=Ce,ot.isSuspense=Ee,ot.isValidElementType=E,ot.typeOf=j}()),ot}var sx;function qw(){return sx||(sx=1,process.env.NODE_ENV==="production"?_c.exports=d9():_c.exports=f9()),_c.exports}/*
15
+ */var ix;function f9(){return ix||(ix=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function E(ce){return typeof ce=="string"||typeof ce=="function"||ce===r||ce===d||ce===s||ce===o||ce===g||ce===m||typeof ce=="object"&&ce!==null&&(ce.$$typeof===b||ce.$$typeof===v||ce.$$typeof===a||ce.$$typeof===c||ce.$$typeof===h||ce.$$typeof===w||ce.$$typeof===I||ce.$$typeof===M||ce.$$typeof===x)}function j(ce){if(typeof ce=="object"&&ce!==null){var Xe=ce.$$typeof;switch(Xe){case t:var ge=ce.type;switch(ge){case u:case d:case r:case s:case o:case g:return ge;default:var Ke=ge&&ge.$$typeof;switch(Ke){case c:case h:case b:case v:case a:return Ke;default:return Xe}}case n:return Xe}}}var P=u,F=d,k=c,$=a,G=t,J=h,U=r,ae=b,se=v,Z=n,X=s,W=o,K=g,B=!1;function ne(ce){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),V(ce)||j(ce)===u}function V(ce){return j(ce)===d}function q(ce){return j(ce)===c}function ue(ce){return j(ce)===a}function pe(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===t}function de(ce){return j(ce)===h}function he(ce){return j(ce)===r}function me(ce){return j(ce)===b}function Ae(ce){return j(ce)===v}function xe(ce){return j(ce)===n}function ye(ce){return j(ce)===s}function Ce(ce){return j(ce)===o}function Ee(ce){return j(ce)===g}ot.AsyncMode=P,ot.ConcurrentMode=F,ot.ContextConsumer=k,ot.ContextProvider=$,ot.Element=G,ot.ForwardRef=J,ot.Fragment=U,ot.Lazy=ae,ot.Memo=se,ot.Portal=Z,ot.Profiler=X,ot.StrictMode=W,ot.Suspense=K,ot.isAsyncMode=ne,ot.isConcurrentMode=V,ot.isContextConsumer=q,ot.isContextProvider=ue,ot.isElement=pe,ot.isForwardRef=de,ot.isFragment=he,ot.isLazy=me,ot.isMemo=Ae,ot.isPortal=xe,ot.isProfiler=ye,ot.isStrictMode=Ce,ot.isSuspense=Ee,ot.isValidElementType=E,ot.typeOf=j}()),ot}var sx;function qw(){return sx||(sx=1,process.env.NODE_ENV==="production"?_c.exports=d9():_c.exports=f9()),_c.exports}/*
16
16
  object-assign
17
17
  (c) Sindre Sorhus
18
18
  @license MIT
19
- */var Op,ax;function p9(){if(ax)return Op;ax=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(h){return a[h]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(h){d[h]=h}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Op=o()?Object.assign:function(s,a){for(var c,u=r(s),d,h=1;h<arguments.length;h++){c=Object(arguments[h]);for(var g in c)t.call(c,g)&&(u[g]=c[g]);if(e){d=e(c);for(var m=0;m<d.length;m++)n.call(c,d[m])&&(u[d[m]]=c[d[m]])}}return u},Op}var Pp,lx;function Yg(){if(lx)return Pp;lx=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Pp=e,Pp}var jp,cx;function Yw(){return cx||(cx=1,jp=Function.call.bind(Object.prototype.hasOwnProperty)),jp}var Rp,ux;function h9(){if(ux)return Rp;ux=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Yg(),n={},r=Yw();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(s,a,c,u,d){if(process.env.NODE_ENV!=="production"){for(var h in s)if(r(s,h)){var g;try{if(typeof s[h]!="function"){var m=Error((u||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}g=s[h](a,h,u,c,null,t)}catch(x){g=x}if(g&&!(g instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var v=d?d():"";e("Failed "+c+" type: "+g.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Rp=o,Rp}var Mp,dx;function g9(){if(dx)return Mp;dx=1;var e=qw(),t=p9(),n=Yg(),r=Yw(),o=h9(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Mp=function(c,u){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(V){var q=V&&(d&&V[d]||V[h]);if(typeof q=="function")return q}var m="<<anonymous>>",v={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:M(),arrayOf:E,element:j(),elementType:P(),instanceOf:F,node:J(),objectOf:$,oneOf:k,oneOfType:G,shape:ae,exact:se};function x(V,q){return V===q?V!==0||1/V===1/q:V!==V&&q!==q}function y(V,q){this.message=V,this.data=q&&typeof q=="object"?q:{},this.stack=""}y.prototype=Error.prototype;function w(V){if(process.env.NODE_ENV!=="production")var q={},ue=0;function pe(he,me,Ae,xe,ye,Ce,Ee){if(xe=xe||m,Ce=Ce||Ae,Ee!==n){if(u){var ce=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw ce.name="Invariant Violation",ce}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Xe=xe+":"+Ae;!q[Xe]&&ue<3&&(s("You are manually calling a React.PropTypes validation function for the `"+Ce+"` prop on `"+xe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),q[Xe]=!0,ue++)}}return me[Ae]==null?he?me[Ae]===null?new y("The "+ye+" `"+Ce+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new y("The "+ye+" `"+Ce+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:V(me,Ae,xe,ye,Ce)}var de=pe.bind(null,!1);return de.isRequired=pe.bind(null,!0),de}function I(V){function q(ue,pe,de,he,me,Ae){var xe=ue[pe],ye=W(xe);if(ye!==V){var Ce=K(xe);return new y("Invalid "+he+" `"+me+"` of type "+("`"+Ce+"` supplied to `"+de+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return w(q)}function M(){return w(a)}function E(V){function q(ue,pe,de,he,me){if(typeof V!="function")return new y("Property `"+me+"` of component `"+de+"` has invalid PropType notation inside arrayOf.");var Ae=ue[pe];if(!Array.isArray(Ae)){var xe=W(Ae);return new y("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected an array."))}for(var ye=0;ye<Ae.length;ye++){var Ce=V(Ae,ye,de,he,me+"["+ye+"]",n);if(Ce instanceof Error)return Ce}return null}return w(q)}function j(){function V(q,ue,pe,de,he){var me=q[ue];if(!c(me)){var Ae=W(me);return new y("Invalid "+de+" `"+he+"` of type "+("`"+Ae+"` supplied to `"+pe+"`, expected a single ReactElement."))}return null}return w(V)}function P(){function V(q,ue,pe,de,he){var me=q[ue];if(!e.isValidElementType(me)){var Ae=W(me);return new y("Invalid "+de+" `"+he+"` of type "+("`"+Ae+"` supplied to `"+pe+"`, expected a single ReactElement type."))}return null}return w(V)}function F(V){function q(ue,pe,de,he,me){if(!(ue[pe]instanceof V)){var Ae=V.name||m,xe=ne(ue[pe]);return new y("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected ")+("instance of `"+Ae+"`."))}return null}return w(q)}function k(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function q(ue,pe,de,he,me){for(var Ae=ue[pe],xe=0;xe<V.length;xe++)if(x(Ae,V[xe]))return null;var ye=JSON.stringify(V,function(Ee,ce){var Xe=K(ce);return Xe==="symbol"?String(ce):ce});return new y("Invalid "+he+" `"+me+"` of value `"+String(Ae)+"` "+("supplied to `"+de+"`, expected one of "+ye+"."))}return w(q)}function $(V){function q(ue,pe,de,he,me){if(typeof V!="function")return new y("Property `"+me+"` of component `"+de+"` has invalid PropType notation inside objectOf.");var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new y("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected an object."));for(var ye in Ae)if(r(Ae,ye)){var Ce=V(Ae,ye,de,he,me+"."+ye,n);if(Ce instanceof Error)return Ce}return null}return w(q)}function G(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var q=0;q<V.length;q++){var ue=V[q];if(typeof ue!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(ue)+" at index "+q+"."),a}function pe(de,he,me,Ae,xe){for(var ye=[],Ce=0;Ce<V.length;Ce++){var Ee=V[Ce],ce=Ee(de,he,me,Ae,xe,n);if(ce==null)return null;ce.data&&r(ce.data,"expectedType")&&ye.push(ce.data.expectedType)}var Xe=ye.length>0?", expected one of type ["+ye.join(", ")+"]":"";return new y("Invalid "+Ae+" `"+xe+"` supplied to "+("`"+me+"`"+Xe+"."))}return w(pe)}function J(){function V(q,ue,pe,de,he){return Z(q[ue])?null:new y("Invalid "+de+" `"+he+"` supplied to "+("`"+pe+"`, expected a ReactNode."))}return w(V)}function U(V,q,ue,pe,de){return new y((V||"React class")+": "+q+" type `"+ue+"."+pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+de+"`.")}function ae(V){function q(ue,pe,de,he,me){var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new y("Invalid "+he+" `"+me+"` of type `"+xe+"` "+("supplied to `"+de+"`, expected `object`."));for(var ye in V){var Ce=V[ye];if(typeof Ce!="function")return U(de,he,me,ye,K(Ce));var Ee=Ce(Ae,ye,de,he,me+"."+ye,n);if(Ee)return Ee}return null}return w(q)}function se(V){function q(ue,pe,de,he,me){var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new y("Invalid "+he+" `"+me+"` of type `"+xe+"` "+("supplied to `"+de+"`, expected `object`."));var ye=t({},ue[pe],V);for(var Ce in ye){var Ee=V[Ce];if(r(V,Ce)&&typeof Ee!="function")return U(de,he,me,Ce,K(Ee));if(!Ee)return new y("Invalid "+he+" `"+me+"` key `"+Ce+"` supplied to `"+de+"`.\nBad object: "+JSON.stringify(ue[pe],null," ")+`
20
- Valid keys: `+JSON.stringify(Object.keys(V),null," "));var ce=Ee(Ae,Ce,de,he,me+"."+Ce,n);if(ce)return ce}return null}return w(q)}function Z(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(Z);if(V===null||c(V))return!0;var q=g(V);if(q){var ue=q.call(V),pe;if(q!==V.entries){for(;!(pe=ue.next()).done;)if(!Z(pe.value))return!1}else for(;!(pe=ue.next()).done;){var de=pe.value;if(de&&!Z(de[1]))return!1}}else return!1;return!0;default:return!1}}function X(V,q){return V==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function W(V){var q=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":X(q,V)?"symbol":q}function K(V){if(typeof V>"u"||V===null)return""+V;var q=W(V);if(q==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return q}function B(V){var q=K(V);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function ne(V){return!V.constructor||!V.constructor.name?m:V.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Mp}var kp,fx;function m9(){if(fx)return kp;fx=1;var e=Yg();function t(){}function n(){}return n.resetWarningCache=t,kp=function(){function r(a,c,u,d,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},kp}if(process.env.NODE_ENV!=="production"){var v9=qw(),y9=!0;mh.exports=g9()(v9.isElement,y9)}else mh.exports=m9()();var b9=mh.exports;const C=ho(b9);function Kw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Kw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function lt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Kw(e))&&(r&&(r+=" "),r+=t);return r}function gr(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((s,a)=>{if(a){const c=t(a);c!==""&&s.push(c),n&&n[a]&&s.push(n[a])}return s},[]).join(" ")}),r}function Kg(e,t){const n=Y({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Y({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=o:!o||!Object.keys(o)?n[r]=s:(n[r]=Y({},s),Object.keys(o).forEach(a=>{n[r][a]=Kg(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function x9(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Kg(t.components[n].defaultProps,r)}function oo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xw(e){if(!oo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Xw(e[n])}),t}function Br(e,t,n={clone:!0}){const r=n.clone?Y({},e):e;return oo(e)&&oo(t)&&Object.keys(t).forEach(o=>{oo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&oo(e[o])?r[o]=Br(e[o],t[o],n):n.clone?r[o]=oo(t[o])?Xw(t[o]):t[o]:r[o]=t[o]}),r}const C9=Object.freeze(Object.defineProperty({__proto__:null,default:Br,isPlainObject:oo},Symbol.toStringTag,{value:"Module"})),w9=["values","unit","step"],A9=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Y({},n,{[r.key]:r.val}),{})};function Zw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=He(e,w9),s=A9(t),a=Object.keys(s);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function d(m,v){const x=a.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(x!==-1&&typeof t[a[x]]=="number"?t[a[x]]:v)-r/100}${n})`}function h(m){return a.indexOf(m)+1<a.length?d(m,a[a.indexOf(m)+1]):c(m)}function g(m){const v=a.indexOf(m);return v===0?c(a[1]):v===a.length-1?u(a[v]):d(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return Y({keys:a,values:s,up:c,down:u,between:d,only:h,not:g,unit:n},o)}const S9={borderRadius:4},Go=process.env.NODE_ENV!=="production"?C.oneOfType([C.number,C.string,C.object,C.array]):{};function Na(e,t){return t?Br(e,t,{clone:!1}):e}const Xg={xs:0,sm:600,md:900,lg:1200,xl:1536},px={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xg[e]}px)`};function fo(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||px;return t.reduce((a,c,u)=>(a[s.up(s.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const s=r.breakpoints||px;return Object.keys(t).reduce((a,c)=>{if(Object.keys(s.values||Xg).indexOf(c)!==-1){const u=s.up(c);a[u]=n(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return n(t)}function T9(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function E9(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ri(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const I9=Object.freeze(Object.defineProperty({__proto__:null,default:Ri},Symbol.toStringTag,{value:"Module"}));function ze(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ri(7));return e.charAt(0).toUpperCase()+e.slice(1)}const O9=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));function ad(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Cu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ad(e,n)||r,t&&(o=t(o,r,e)),o}function Lt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,d=ad(u,r)||{};return fo(a,c,g=>{let m=Cu(d,o,g);return g===m&&typeof g=="string"&&(m=Cu(d,o,`${t}${g==="default"?"":ze(g)}`,g)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Go}:{},s.filterProps=[t],s}function P9(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const j9={m:"margin",p:"padding"},R9={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},M9=P9(e=>{if(e.length>2)if(hx[e])e=hx[e];else return[e];const[t,n]=e.split(""),r=j9[t],o=R9[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),ld=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],k9=[...ld,...cd];function gl(e,t,n,r){var o;const s=(o=ad(e,t,!1))!=null?o:n;return typeof s=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`),s*a):Array.isArray(s)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>s.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${a} > ${s.length-1}, you need to add the missing values.`].join(`
19
+ */var Op,ax;function p9(){if(ax)return Op;ax=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(h){return a[h]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(h){d[h]=h}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Op=o()?Object.assign:function(s,a){for(var c,u=r(s),d,h=1;h<arguments.length;h++){c=Object(arguments[h]);for(var g in c)t.call(c,g)&&(u[g]=c[g]);if(e){d=e(c);for(var m=0;m<d.length;m++)n.call(c,d[m])&&(u[d[m]]=c[d[m]])}}return u},Op}var Pp,lx;function Yg(){if(lx)return Pp;lx=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Pp=e,Pp}var jp,cx;function Yw(){return cx||(cx=1,jp=Function.call.bind(Object.prototype.hasOwnProperty)),jp}var Rp,ux;function h9(){if(ux)return Rp;ux=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Yg(),n={},r=Yw();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(s,a,c,u,d){if(process.env.NODE_ENV!=="production"){for(var h in s)if(r(s,h)){var g;try{if(typeof s[h]!="function"){var m=Error((u||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}g=s[h](a,h,u,c,null,t)}catch(b){g=b}if(g&&!(g instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var v=d?d():"";e("Failed "+c+" type: "+g.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Rp=o,Rp}var Mp,dx;function g9(){if(dx)return Mp;dx=1;var e=qw(),t=p9(),n=Yg(),r=Yw(),o=h9(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Mp=function(c,u){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(V){var q=V&&(d&&V[d]||V[h]);if(typeof q=="function")return q}var m="<<anonymous>>",v={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:M(),arrayOf:E,element:j(),elementType:P(),instanceOf:F,node:J(),objectOf:$,oneOf:k,oneOfType:G,shape:ae,exact:se};function b(V,q){return V===q?V!==0||1/V===1/q:V!==V&&q!==q}function x(V,q){this.message=V,this.data=q&&typeof q=="object"?q:{},this.stack=""}x.prototype=Error.prototype;function w(V){if(process.env.NODE_ENV!=="production")var q={},ue=0;function pe(he,me,Ae,xe,ye,Ce,Ee){if(xe=xe||m,Ce=Ce||Ae,Ee!==n){if(u){var ce=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw ce.name="Invariant Violation",ce}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Xe=xe+":"+Ae;!q[Xe]&&ue<3&&(s("You are manually calling a React.PropTypes validation function for the `"+Ce+"` prop on `"+xe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),q[Xe]=!0,ue++)}}return me[Ae]==null?he?me[Ae]===null?new x("The "+ye+" `"+Ce+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new x("The "+ye+" `"+Ce+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:V(me,Ae,xe,ye,Ce)}var de=pe.bind(null,!1);return de.isRequired=pe.bind(null,!0),de}function I(V){function q(ue,pe,de,he,me,Ae){var xe=ue[pe],ye=W(xe);if(ye!==V){var Ce=K(xe);return new x("Invalid "+he+" `"+me+"` of type "+("`"+Ce+"` supplied to `"+de+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return w(q)}function M(){return w(a)}function E(V){function q(ue,pe,de,he,me){if(typeof V!="function")return new x("Property `"+me+"` of component `"+de+"` has invalid PropType notation inside arrayOf.");var Ae=ue[pe];if(!Array.isArray(Ae)){var xe=W(Ae);return new x("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected an array."))}for(var ye=0;ye<Ae.length;ye++){var Ce=V(Ae,ye,de,he,me+"["+ye+"]",n);if(Ce instanceof Error)return Ce}return null}return w(q)}function j(){function V(q,ue,pe,de,he){var me=q[ue];if(!c(me)){var Ae=W(me);return new x("Invalid "+de+" `"+he+"` of type "+("`"+Ae+"` supplied to `"+pe+"`, expected a single ReactElement."))}return null}return w(V)}function P(){function V(q,ue,pe,de,he){var me=q[ue];if(!e.isValidElementType(me)){var Ae=W(me);return new x("Invalid "+de+" `"+he+"` of type "+("`"+Ae+"` supplied to `"+pe+"`, expected a single ReactElement type."))}return null}return w(V)}function F(V){function q(ue,pe,de,he,me){if(!(ue[pe]instanceof V)){var Ae=V.name||m,xe=ne(ue[pe]);return new x("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected ")+("instance of `"+Ae+"`."))}return null}return w(q)}function k(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function q(ue,pe,de,he,me){for(var Ae=ue[pe],xe=0;xe<V.length;xe++)if(b(Ae,V[xe]))return null;var ye=JSON.stringify(V,function(Ee,ce){var Xe=K(ce);return Xe==="symbol"?String(ce):ce});return new x("Invalid "+he+" `"+me+"` of value `"+String(Ae)+"` "+("supplied to `"+de+"`, expected one of "+ye+"."))}return w(q)}function $(V){function q(ue,pe,de,he,me){if(typeof V!="function")return new x("Property `"+me+"` of component `"+de+"` has invalid PropType notation inside objectOf.");var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new x("Invalid "+he+" `"+me+"` of type "+("`"+xe+"` supplied to `"+de+"`, expected an object."));for(var ye in Ae)if(r(Ae,ye)){var Ce=V(Ae,ye,de,he,me+"."+ye,n);if(Ce instanceof Error)return Ce}return null}return w(q)}function G(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var q=0;q<V.length;q++){var ue=V[q];if(typeof ue!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(ue)+" at index "+q+"."),a}function pe(de,he,me,Ae,xe){for(var ye=[],Ce=0;Ce<V.length;Ce++){var Ee=V[Ce],ce=Ee(de,he,me,Ae,xe,n);if(ce==null)return null;ce.data&&r(ce.data,"expectedType")&&ye.push(ce.data.expectedType)}var Xe=ye.length>0?", expected one of type ["+ye.join(", ")+"]":"";return new x("Invalid "+Ae+" `"+xe+"` supplied to "+("`"+me+"`"+Xe+"."))}return w(pe)}function J(){function V(q,ue,pe,de,he){return Z(q[ue])?null:new x("Invalid "+de+" `"+he+"` supplied to "+("`"+pe+"`, expected a ReactNode."))}return w(V)}function U(V,q,ue,pe,de){return new x((V||"React class")+": "+q+" type `"+ue+"."+pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+de+"`.")}function ae(V){function q(ue,pe,de,he,me){var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new x("Invalid "+he+" `"+me+"` of type `"+xe+"` "+("supplied to `"+de+"`, expected `object`."));for(var ye in V){var Ce=V[ye];if(typeof Ce!="function")return U(de,he,me,ye,K(Ce));var Ee=Ce(Ae,ye,de,he,me+"."+ye,n);if(Ee)return Ee}return null}return w(q)}function se(V){function q(ue,pe,de,he,me){var Ae=ue[pe],xe=W(Ae);if(xe!=="object")return new x("Invalid "+he+" `"+me+"` of type `"+xe+"` "+("supplied to `"+de+"`, expected `object`."));var ye=t({},ue[pe],V);for(var Ce in ye){var Ee=V[Ce];if(r(V,Ce)&&typeof Ee!="function")return U(de,he,me,Ce,K(Ee));if(!Ee)return new x("Invalid "+he+" `"+me+"` key `"+Ce+"` supplied to `"+de+"`.\nBad object: "+JSON.stringify(ue[pe],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(V),null," "));var ce=Ee(Ae,Ce,de,he,me+"."+Ce,n);if(ce)return ce}return null}return w(q)}function Z(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(Z);if(V===null||c(V))return!0;var q=g(V);if(q){var ue=q.call(V),pe;if(q!==V.entries){for(;!(pe=ue.next()).done;)if(!Z(pe.value))return!1}else for(;!(pe=ue.next()).done;){var de=pe.value;if(de&&!Z(de[1]))return!1}}else return!1;return!0;default:return!1}}function X(V,q){return V==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function W(V){var q=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":X(q,V)?"symbol":q}function K(V){if(typeof V>"u"||V===null)return""+V;var q=W(V);if(q==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return q}function B(V){var q=K(V);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function ne(V){return!V.constructor||!V.constructor.name?m:V.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Mp}var kp,fx;function m9(){if(fx)return kp;fx=1;var e=Yg();function t(){}function n(){}return n.resetWarningCache=t,kp=function(){function r(a,c,u,d,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},kp}if(process.env.NODE_ENV!=="production"){var v9=qw(),y9=!0;mh.exports=g9()(v9.isElement,y9)}else mh.exports=m9()();var b9=mh.exports;const C=ho(b9);function Kw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Kw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function lt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Kw(e))&&(r&&(r+=" "),r+=t);return r}function gr(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((s,a)=>{if(a){const c=t(a);c!==""&&s.push(c),n&&n[a]&&s.push(n[a])}return s},[]).join(" ")}),r}function Kg(e,t){const n=Y({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Y({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=o:!o||!Object.keys(o)?n[r]=s:(n[r]=Y({},s),Object.keys(o).forEach(a=>{n[r][a]=Kg(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function x9(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Kg(t.components[n].defaultProps,r)}function oo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xw(e){if(!oo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Xw(e[n])}),t}function Br(e,t,n={clone:!0}){const r=n.clone?Y({},e):e;return oo(e)&&oo(t)&&Object.keys(t).forEach(o=>{oo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&oo(e[o])?r[o]=Br(e[o],t[o],n):n.clone?r[o]=oo(t[o])?Xw(t[o]):t[o]:r[o]=t[o]}),r}const C9=Object.freeze(Object.defineProperty({__proto__:null,default:Br,isPlainObject:oo},Symbol.toStringTag,{value:"Module"})),w9=["values","unit","step"],A9=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Y({},n,{[r.key]:r.val}),{})};function Zw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=He(e,w9),s=A9(t),a=Object.keys(s);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function d(m,v){const b=a.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(b!==-1&&typeof t[a[b]]=="number"?t[a[b]]:v)-r/100}${n})`}function h(m){return a.indexOf(m)+1<a.length?d(m,a[a.indexOf(m)+1]):c(m)}function g(m){const v=a.indexOf(m);return v===0?c(a[1]):v===a.length-1?u(a[v]):d(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return Y({keys:a,values:s,up:c,down:u,between:d,only:h,not:g,unit:n},o)}const S9={borderRadius:4},Go=process.env.NODE_ENV!=="production"?C.oneOfType([C.number,C.string,C.object,C.array]):{};function Na(e,t){return t?Br(e,t,{clone:!1}):e}const Xg={xs:0,sm:600,md:900,lg:1200,xl:1536},px={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xg[e]}px)`};function fo(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||px;return t.reduce((a,c,u)=>(a[s.up(s.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const s=r.breakpoints||px;return Object.keys(t).reduce((a,c)=>{if(Object.keys(s.values||Xg).indexOf(c)!==-1){const u=s.up(c);a[u]=n(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return n(t)}function T9(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function E9(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ri(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const I9=Object.freeze(Object.defineProperty({__proto__:null,default:Ri},Symbol.toStringTag,{value:"Module"}));function ze(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ri(7));return e.charAt(0).toUpperCase()+e.slice(1)}const O9=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));function ad(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Cu(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ad(e,n)||r,t&&(o=t(o,r,e)),o}function Lt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,d=ad(u,r)||{};return fo(a,c,g=>{let m=Cu(d,o,g);return g===m&&typeof g=="string"&&(m=Cu(d,o,`${t}${g==="default"?"":ze(g)}`,g)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Go}:{},s.filterProps=[t],s}function P9(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const j9={m:"margin",p:"padding"},R9={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},M9=P9(e=>{if(e.length>2)if(hx[e])e=hx[e];else return[e];const[t,n]=e.split(""),r=j9[t],o=R9[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),ld=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],k9=[...ld,...cd];function gl(e,t,n,r){var o;const s=(o=ad(e,t,!1))!=null?o:n;return typeof s=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`),s*a):Array.isArray(s)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>s.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${a} > ${s.length-1}, you need to add the missing values.`].join(`
21
21
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
22
22
  `))),s[a]):typeof s=="function"?s:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`,"It should be a number, an array or a function."].join(`
23
- `)),()=>{})}function Qw(e){return gl(e,"spacing",8,"spacing")}function ml(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function F9(e,t){return n=>e.reduce((r,o)=>(r[o]=ml(t,n),r),{})}function D9(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=M9(n),s=F9(o,r),a=e[n];return fo(e,a,s)}function Jw(e,t){const n=Qw(e.theme);return Object.keys(e).map(r=>D9(e,t,r,n)).reduce(Na,{})}function jt(e){return Jw(e,ld)}jt.propTypes=process.env.NODE_ENV!=="production"?ld.reduce((e,t)=>(e[t]=Go,e),{}):{};jt.filterProps=ld;function Rt(e){return Jw(e,cd)}Rt.propTypes=process.env.NODE_ENV!=="production"?cd.reduce((e,t)=>(e[t]=Go,e),{}):{};Rt.filterProps=cd;process.env.NODE_ENV!=="production"&&k9.reduce((e,t)=>(e[t]=Go,e),{});function L9(e=8){if(e.mui)return e;const t=Qw({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function ud(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?Na(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function cr(e){return typeof e!="number"?e:`${e}px solid`}function mr(e,t){return Lt({prop:e,themeKey:"borders",transform:t})}const _9=mr("border",cr),B9=mr("borderTop",cr),N9=mr("borderRight",cr),V9=mr("borderBottom",cr),W9=mr("borderLeft",cr),$9=mr("borderColor"),z9=mr("borderTopColor"),U9=mr("borderRightColor"),H9=mr("borderBottomColor"),G9=mr("borderLeftColor"),q9=mr("outline",cr),Y9=mr("outlineColor"),dd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gl(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:ml(t,r)});return fo(e,e.borderRadius,n)}return null};dd.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Go}:{};dd.filterProps=["borderRadius"];ud(_9,B9,N9,V9,W9,$9,z9,U9,H9,G9,dd,q9,Y9);const fd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gl(e.theme,"spacing",8,"gap"),n=r=>({gap:ml(t,r)});return fo(e,e.gap,n)}return null};fd.propTypes=process.env.NODE_ENV!=="production"?{gap:Go}:{};fd.filterProps=["gap"];const pd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gl(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:ml(t,r)});return fo(e,e.columnGap,n)}return null};pd.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Go}:{};pd.filterProps=["columnGap"];const hd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gl(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:ml(t,r)});return fo(e,e.rowGap,n)}return null};hd.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Go}:{};hd.filterProps=["rowGap"];const K9=Lt({prop:"gridColumn"}),X9=Lt({prop:"gridRow"}),Z9=Lt({prop:"gridAutoFlow"}),Q9=Lt({prop:"gridAutoColumns"}),J9=Lt({prop:"gridAutoRows"}),eF=Lt({prop:"gridTemplateColumns"}),tF=Lt({prop:"gridTemplateRows"}),nF=Lt({prop:"gridTemplateAreas"}),rF=Lt({prop:"gridArea"});ud(fd,pd,hd,K9,X9,Z9,Q9,J9,eF,tF,nF,rF);function Ts(e,t){return t==="grey"?t:e}const oF=Lt({prop:"color",themeKey:"palette",transform:Ts}),iF=Lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ts}),sF=Lt({prop:"backgroundColor",themeKey:"palette",transform:Ts});ud(oF,iF,sF);function Wn(e){return e<=1&&e!==0?`${e*100}%`:e}const aF=Lt({prop:"width",transform:Wn}),Zg=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Xg[n];return s?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Wn(n)}};return fo(e,e.maxWidth,t)}return null};Zg.filterProps=["maxWidth"];const lF=Lt({prop:"minWidth",transform:Wn}),cF=Lt({prop:"height",transform:Wn}),uF=Lt({prop:"maxHeight",transform:Wn}),dF=Lt({prop:"minHeight",transform:Wn});Lt({prop:"size",cssProperty:"width",transform:Wn});Lt({prop:"size",cssProperty:"height",transform:Wn});const fF=Lt({prop:"boxSizing"});ud(aF,Zg,lF,cF,uF,dF,fF);const vl={border:{themeKey:"borders",transform:cr},borderTop:{themeKey:"borders",transform:cr},borderRight:{themeKey:"borders",transform:cr},borderBottom:{themeKey:"borders",transform:cr},borderLeft:{themeKey:"borders",transform:cr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:cr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:dd},color:{themeKey:"palette",transform:Ts},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ts},backgroundColor:{themeKey:"palette",transform:Ts},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:jt},mt:{style:jt},mr:{style:jt},mb:{style:jt},ml:{style:jt},mx:{style:jt},my:{style:jt},margin:{style:jt},marginTop:{style:jt},marginRight:{style:jt},marginBottom:{style:jt},marginLeft:{style:jt},marginX:{style:jt},marginY:{style:jt},marginInline:{style:jt},marginInlineStart:{style:jt},marginInlineEnd:{style:jt},marginBlock:{style:jt},marginBlockStart:{style:jt},marginBlockEnd:{style:jt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fd},rowGap:{style:hd},columnGap:{style:pd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wn},maxWidth:{style:Zg},minWidth:{transform:Wn},height:{transform:Wn},maxHeight:{transform:Wn},minHeight:{transform:Wn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function pF(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function hF(e,t){return typeof e=="function"?e(t):e}function eA(){function e(n,r,o,s){const a={[n]:r,theme:o},c=s[n];if(!c)return{[n]:r};const{cssProperty:u=n,themeKey:d,transform:h,style:g}=c;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const m=ad(o,d)||{};return g?g(a):fo(a,r,x=>{let y=Cu(m,h,x);return x===y&&typeof x=="string"&&(y=Cu(m,h,`${n}${x==="default"?"":ze(x)}`,x)),u===!1?y:{[u]:y}})}function t(n){var r;const{sx:o,theme:s={}}=n||{};if(!o)return null;const a=(r=s.unstable_sxConfig)!=null?r:vl;function c(u){let d=u;if(typeof u=="function")d=u(s);else if(typeof u!="object")return u;if(!d)return null;const h=T9(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const x=hF(d[v],s);if(x!=null)if(typeof x=="object")if(a[v])m=Na(m,e(v,x,s,a));else{const y=fo({theme:s},x,w=>({[v]:w}));pF(y,x)?m[v]=t({sx:x,theme:s}):m=Na(m,y)}else m=Na(m,e(v,x,s,a))}),E9(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const yl=eA();yl.filterProps=["sx"];function tA(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const gF=["breakpoints","palette","spacing","shape"];function gd(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=He(e,gF),c=Zw(n),u=L9(o);let d=Br({breakpoints:c,direction:"ltr",components:{},palette:Y({mode:"light"},r),spacing:u,shape:Y({},S9,s)},a);return d.applyStyles=tA,d=t.reduce((h,g)=>Br(h,g),d),d.unstable_sxConfig=Y({},vl,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return yl({sx:g,theme:this})},d}const mF=Object.freeze(Object.defineProperty({__proto__:null,default:gd,private_createBreakpoints:Zw,unstable_applyStyles:tA},Symbol.toStringTag,{value:"Module"}));var vF=!1;function yF(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function bF(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var xF=function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!vF:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bF(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=yF(o);try{s.insertRule(r,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),rn="-ms-",wu="-moz-",Je="-webkit-",nA="comm",Qg="rule",Jg="decl",CF="@import",rA="@keyframes",wF="@layer",AF=Math.abs,md=String.fromCharCode,SF=Object.assign;function TF(e,t){return Xt(e,0)^45?(((t<<2^Xt(e,0))<<2^Xt(e,1))<<2^Xt(e,2))<<2^Xt(e,3):0}function oA(e){return e.trim()}function EF(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function vh(e,t){return e.indexOf(t)}function Xt(e,t){return e.charCodeAt(t)|0}function Xa(e,t,n){return e.slice(t,n)}function Dr(e){return e.length}function em(e){return e.length}function Bc(e,t){return t.push(e),e}function IF(e,t){return e.map(t).join("")}var vd=1,ks=1,iA=0,On=0,Wt=0,Vs="";function yd(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:vd,column:ks,length:a,return:""}}function Aa(e,t){return SF(yd("",null,null,"",null,null,0),e,{length:-e.length},t)}function OF(){return Wt}function PF(){return Wt=On>0?Xt(Vs,--On):0,ks--,Wt===10&&(ks=1,vd--),Wt}function $n(){return Wt=On<iA?Xt(Vs,On++):0,ks++,Wt===10&&(ks=1,vd++),Wt}function Nr(){return Xt(Vs,On)}function Qc(){return On}function bl(e,t){return Xa(Vs,e,t)}function Za(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sA(e){return vd=ks=1,iA=Dr(Vs=e),On=0,[]}function aA(e){return Vs="",e}function Jc(e){return oA(bl(On-1,yh(e===91?e+2:e===40?e+1:e)))}function jF(e){for(;(Wt=Nr())&&Wt<33;)$n();return Za(e)>2||Za(Wt)>3?"":" "}function RF(e,t){for(;--t&&$n()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return bl(e,Qc()+(t<6&&Nr()==32&&$n()==32))}function yh(e){for(;$n();)switch(Wt){case e:return On;case 34:case 39:e!==34&&e!==39&&yh(Wt);break;case 40:e===41&&yh(e);break;case 92:$n();break}return On}function MF(e,t){for(;$n()&&e+Wt!==57;)if(e+Wt===84&&Nr()===47)break;return"/*"+bl(t,On-1)+"*"+md(e===47?e:$n())}function kF(e){for(;!Za(Nr());)$n();return bl(e,On)}function FF(e){return aA(eu("",null,null,null,[""],e=sA(e),0,[0],e))}function eu(e,t,n,r,o,s,a,c,u){for(var d=0,h=0,g=a,m=0,v=0,x=0,y=1,w=1,I=1,M=0,E="",j=o,P=s,F=r,k=E;w;)switch(x=M,M=$n()){case 40:if(x!=108&&Xt(k,g-1)==58){vh(k+=et(Jc(M),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:k+=Jc(M);break;case 9:case 10:case 13:case 32:k+=jF(x);break;case 92:k+=RF(Qc()-1,7);continue;case 47:switch(Nr()){case 42:case 47:Bc(DF(MF($n(),Qc()),t,n),u);break;default:k+="/"}break;case 123*y:c[d++]=Dr(k)*I;case 125*y:case 59:case 0:switch(M){case 0:case 125:w=0;case 59+h:I==-1&&(k=et(k,/\f/g,"")),v>0&&Dr(k)-g&&Bc(v>32?mx(k+";",r,n,g-1):mx(et(k," ","")+";",r,n,g-2),u);break;case 59:k+=";";default:if(Bc(F=gx(k,t,n,d,h,o,c,E,j=[],P=[],g),s),M===123)if(h===0)eu(k,t,F,F,j,s,g,c,P);else switch(m===99&&Xt(k,3)===110?100:m){case 100:case 108:case 109:case 115:eu(e,F,F,r&&Bc(gx(e,F,F,0,0,o,c,E,o,j=[],g),P),o,P,g,c,r?j:P);break;default:eu(k,F,F,F,[""],P,0,c,P)}}d=h=v=0,y=I=1,E=k="",g=a;break;case 58:g=1+Dr(k),v=x;default:if(y<1){if(M==123)--y;else if(M==125&&y++==0&&PF()==125)continue}switch(k+=md(M),M*y){case 38:I=h>0?1:(k+="\f",-1);break;case 44:c[d++]=(Dr(k)-1)*I,I=1;break;case 64:Nr()===45&&(k+=Jc($n())),m=Nr(),h=g=Dr(E=k+=kF(Qc())),M++;break;case 45:x===45&&Dr(k)==2&&(y=0)}}return s}function gx(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=em(m),x=0,y=0,w=0;x<r;++x)for(var I=0,M=Xa(e,g+1,g=AF(y=a[x])),E=e;I<v;++I)(E=oA(y>0?m[I]+" "+M:et(M,/&\f/g,m[I])))&&(u[w++]=E);return yd(e,t,n,o===0?Qg:c,u,d,h)}function DF(e,t,n){return yd(e,t,n,nA,md(OF()),Xa(e,2,-2),0)}function mx(e,t,n,r){return yd(e,t,n,Jg,Xa(e,0,r),Xa(e,r+1,-1),r)}function Es(e,t){for(var n="",r=em(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function LF(e,t,n,r){switch(e.type){case wF:if(e.children.length)break;case CF:case Jg:return e.return=e.return||e.value;case nA:return"";case rA:return e.return=e.value+"{"+Es(e.children,r)+"}";case Qg:e.value=e.props.join(",")}return Dr(n=Es(e.children,r))?e.return=e.value+"{"+n+"}":""}function _F(e){var t=em(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function BF(e){return function(t){t.root||(t=t.return)&&e(t)}}var NF=function(t,n,r){for(var o=0,s=0;o=s,s=Nr(),o===38&&s===12&&(n[r]=1),!Za(s);)$n();return bl(t,On)},VF=function(t,n){var r=-1,o=44;do switch(Za(o)){case 0:o===38&&Nr()===12&&(n[r]=1),t[r]+=NF(On-1,n,r);break;case 2:t[r]+=Jc(o);break;case 4:if(o===44){t[++r]=Nr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=md(o)}while(o=$n());return t},WF=function(t,n){return aA(VF(sA(t),n))},vx=new WeakMap,$F=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!vx.get(r))&&!o){vx.set(t,!0);for(var s=[],a=WF(n,s),c=r.props,u=0,d=0;u<a.length;u++)for(var h=0;h<c.length;h++,d++)t.props[d]=s[u]?a[u].replace(/&\f/g,c[h]):c[h]+" "+a[u]}}},zF=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function lA(e,t){switch(TF(e,t)){case 5103:return Je+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+e+wu+e+rn+e+e;case 6828:case 4268:return Je+e+rn+e+e;case 6165:return Je+e+rn+"flex-"+e+e;case 5187:return Je+e+et(e,/(\w+).+(:[^]+)/,Je+"box-$1$2"+rn+"flex-$1$2")+e;case 5443:return Je+e+rn+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return Je+e+rn+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return Je+e+rn+et(e,"shrink","negative")+e;case 5292:return Je+e+rn+et(e,"basis","preferred-size")+e;case 6060:return Je+"box-"+et(e,"-grow","")+Je+e+rn+et(e,"grow","positive")+e;case 4554:return Je+et(e,/([^-])(transform)/g,"$1"+Je+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+rn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,Je+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Dr(e)-1-t>6)switch(Xt(e,t+1)){case 109:if(Xt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+wu+(Xt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vh(e,"stretch")?lA(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Xt(e,t+1)!==115)break;case 6444:switch(Xt(e,Dr(e)-3-(~vh(e,"!important")&&10))){case 107:return et(e,":",":"+Je)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Je+(Xt(e,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+rn+"$2box$3")+e}break;case 5936:switch(Xt(e,t+11)){case 114:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Je+e+rn+e+e}return e}var UF=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Jg:t.return=lA(t.value,t.length);break;case rA:return Es([Aa(t,{value:et(t.value,"@","@"+Je)})],o);case Qg:if(t.length)return IF(t.props,function(s){switch(EF(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Es([Aa(t,{props:[et(s,/:(read-\w+)/,":"+wu+"$1")]})],o);case"::placeholder":return Es([Aa(t,{props:[et(s,/:(plac\w+)/,":"+Je+"input-$1")]}),Aa(t,{props:[et(s,/:(plac\w+)/,":"+wu+"$1")]}),Aa(t,{props:[et(s,/:(plac\w+)/,rn+"input-$1")]})],o)}return""})}},HF=[UF],GF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||HF,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)s[w[I]]=!0;c.push(y)});var u,d=[$F,zF];{var h,g=[LF,BF(function(y){h.insert(y)})],m=_F(d.concat(o,g)),v=function(w){return Es(FF(w),m)};u=function(w,I,M,E){h=M,v(w?w+"{"+I.styles+"}":I.styles),E&&(x.inserted[I.name]=!0)}}var x={key:n,sheet:new xF({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return x.sheet.hydrate(c),x};let bh;typeof document=="object"&&(bh=GF({key:"css",prepend:!0}));function cA(e){const{injectFirst:t,children:n}=e;return t&&bh?f.jsx(Zt.CacheProvider,{value:bh,children:n}):n}process.env.NODE_ENV!=="production"&&(cA.propTypes={children:C.node,injectFirst:C.bool});function qF(e){return e==null||Object.keys(e).length===0}function uA(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(qF(o)?n:o):t;return f.jsx(Zt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(uA.propTypes={defaultTheme:C.object,styles:C.oneOfType([C.array,C.string,C.object,C.func])});/**
23
+ `)),()=>{})}function Qw(e){return gl(e,"spacing",8,"spacing")}function ml(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function F9(e,t){return n=>e.reduce((r,o)=>(r[o]=ml(t,n),r),{})}function D9(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=M9(n),s=F9(o,r),a=e[n];return fo(e,a,s)}function Jw(e,t){const n=Qw(e.theme);return Object.keys(e).map(r=>D9(e,t,r,n)).reduce(Na,{})}function jt(e){return Jw(e,ld)}jt.propTypes=process.env.NODE_ENV!=="production"?ld.reduce((e,t)=>(e[t]=Go,e),{}):{};jt.filterProps=ld;function Rt(e){return Jw(e,cd)}Rt.propTypes=process.env.NODE_ENV!=="production"?cd.reduce((e,t)=>(e[t]=Go,e),{}):{};Rt.filterProps=cd;process.env.NODE_ENV!=="production"&&k9.reduce((e,t)=>(e[t]=Go,e),{});function L9(e=8){if(e.mui)return e;const t=Qw({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function ud(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?Na(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function cr(e){return typeof e!="number"?e:`${e}px solid`}function mr(e,t){return Lt({prop:e,themeKey:"borders",transform:t})}const _9=mr("border",cr),B9=mr("borderTop",cr),N9=mr("borderRight",cr),V9=mr("borderBottom",cr),W9=mr("borderLeft",cr),$9=mr("borderColor"),z9=mr("borderTopColor"),U9=mr("borderRightColor"),H9=mr("borderBottomColor"),G9=mr("borderLeftColor"),q9=mr("outline",cr),Y9=mr("outlineColor"),dd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gl(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:ml(t,r)});return fo(e,e.borderRadius,n)}return null};dd.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Go}:{};dd.filterProps=["borderRadius"];ud(_9,B9,N9,V9,W9,$9,z9,U9,H9,G9,dd,q9,Y9);const fd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gl(e.theme,"spacing",8,"gap"),n=r=>({gap:ml(t,r)});return fo(e,e.gap,n)}return null};fd.propTypes=process.env.NODE_ENV!=="production"?{gap:Go}:{};fd.filterProps=["gap"];const pd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gl(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:ml(t,r)});return fo(e,e.columnGap,n)}return null};pd.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Go}:{};pd.filterProps=["columnGap"];const hd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gl(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:ml(t,r)});return fo(e,e.rowGap,n)}return null};hd.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Go}:{};hd.filterProps=["rowGap"];const K9=Lt({prop:"gridColumn"}),X9=Lt({prop:"gridRow"}),Z9=Lt({prop:"gridAutoFlow"}),Q9=Lt({prop:"gridAutoColumns"}),J9=Lt({prop:"gridAutoRows"}),eF=Lt({prop:"gridTemplateColumns"}),tF=Lt({prop:"gridTemplateRows"}),nF=Lt({prop:"gridTemplateAreas"}),rF=Lt({prop:"gridArea"});ud(fd,pd,hd,K9,X9,Z9,Q9,J9,eF,tF,nF,rF);function Ts(e,t){return t==="grey"?t:e}const oF=Lt({prop:"color",themeKey:"palette",transform:Ts}),iF=Lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ts}),sF=Lt({prop:"backgroundColor",themeKey:"palette",transform:Ts});ud(oF,iF,sF);function Wn(e){return e<=1&&e!==0?`${e*100}%`:e}const aF=Lt({prop:"width",transform:Wn}),Zg=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Xg[n];return s?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Wn(n)}};return fo(e,e.maxWidth,t)}return null};Zg.filterProps=["maxWidth"];const lF=Lt({prop:"minWidth",transform:Wn}),cF=Lt({prop:"height",transform:Wn}),uF=Lt({prop:"maxHeight",transform:Wn}),dF=Lt({prop:"minHeight",transform:Wn});Lt({prop:"size",cssProperty:"width",transform:Wn});Lt({prop:"size",cssProperty:"height",transform:Wn});const fF=Lt({prop:"boxSizing"});ud(aF,Zg,lF,cF,uF,dF,fF);const vl={border:{themeKey:"borders",transform:cr},borderTop:{themeKey:"borders",transform:cr},borderRight:{themeKey:"borders",transform:cr},borderBottom:{themeKey:"borders",transform:cr},borderLeft:{themeKey:"borders",transform:cr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:cr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:dd},color:{themeKey:"palette",transform:Ts},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ts},backgroundColor:{themeKey:"palette",transform:Ts},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:jt},mt:{style:jt},mr:{style:jt},mb:{style:jt},ml:{style:jt},mx:{style:jt},my:{style:jt},margin:{style:jt},marginTop:{style:jt},marginRight:{style:jt},marginBottom:{style:jt},marginLeft:{style:jt},marginX:{style:jt},marginY:{style:jt},marginInline:{style:jt},marginInlineStart:{style:jt},marginInlineEnd:{style:jt},marginBlock:{style:jt},marginBlockStart:{style:jt},marginBlockEnd:{style:jt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fd},rowGap:{style:hd},columnGap:{style:pd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wn},maxWidth:{style:Zg},minWidth:{transform:Wn},height:{transform:Wn},maxHeight:{transform:Wn},minHeight:{transform:Wn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function pF(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function hF(e,t){return typeof e=="function"?e(t):e}function eA(){function e(n,r,o,s){const a={[n]:r,theme:o},c=s[n];if(!c)return{[n]:r};const{cssProperty:u=n,themeKey:d,transform:h,style:g}=c;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const m=ad(o,d)||{};return g?g(a):fo(a,r,b=>{let x=Cu(m,h,b);return b===x&&typeof b=="string"&&(x=Cu(m,h,`${n}${b==="default"?"":ze(b)}`,b)),u===!1?x:{[u]:x}})}function t(n){var r;const{sx:o,theme:s={}}=n||{};if(!o)return null;const a=(r=s.unstable_sxConfig)!=null?r:vl;function c(u){let d=u;if(typeof u=="function")d=u(s);else if(typeof u!="object")return u;if(!d)return null;const h=T9(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const b=hF(d[v],s);if(b!=null)if(typeof b=="object")if(a[v])m=Na(m,e(v,b,s,a));else{const x=fo({theme:s},b,w=>({[v]:w}));pF(x,b)?m[v]=t({sx:b,theme:s}):m=Na(m,x)}else m=Na(m,e(v,b,s,a))}),E9(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const yl=eA();yl.filterProps=["sx"];function tA(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const gF=["breakpoints","palette","spacing","shape"];function gd(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=He(e,gF),c=Zw(n),u=L9(o);let d=Br({breakpoints:c,direction:"ltr",components:{},palette:Y({mode:"light"},r),spacing:u,shape:Y({},S9,s)},a);return d.applyStyles=tA,d=t.reduce((h,g)=>Br(h,g),d),d.unstable_sxConfig=Y({},vl,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return yl({sx:g,theme:this})},d}const mF=Object.freeze(Object.defineProperty({__proto__:null,default:gd,private_createBreakpoints:Zw,unstable_applyStyles:tA},Symbol.toStringTag,{value:"Module"}));var vF=!1;function yF(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function bF(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var xF=function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!vF:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bF(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=yF(o);try{s.insertRule(r,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),rn="-ms-",wu="-moz-",Je="-webkit-",nA="comm",Qg="rule",Jg="decl",CF="@import",rA="@keyframes",wF="@layer",AF=Math.abs,md=String.fromCharCode,SF=Object.assign;function TF(e,t){return Xt(e,0)^45?(((t<<2^Xt(e,0))<<2^Xt(e,1))<<2^Xt(e,2))<<2^Xt(e,3):0}function oA(e){return e.trim()}function EF(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function vh(e,t){return e.indexOf(t)}function Xt(e,t){return e.charCodeAt(t)|0}function Xa(e,t,n){return e.slice(t,n)}function Dr(e){return e.length}function em(e){return e.length}function Bc(e,t){return t.push(e),e}function IF(e,t){return e.map(t).join("")}var vd=1,ks=1,iA=0,On=0,Wt=0,Vs="";function yd(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:vd,column:ks,length:a,return:""}}function Aa(e,t){return SF(yd("",null,null,"",null,null,0),e,{length:-e.length},t)}function OF(){return Wt}function PF(){return Wt=On>0?Xt(Vs,--On):0,ks--,Wt===10&&(ks=1,vd--),Wt}function $n(){return Wt=On<iA?Xt(Vs,On++):0,ks++,Wt===10&&(ks=1,vd++),Wt}function Nr(){return Xt(Vs,On)}function Qc(){return On}function bl(e,t){return Xa(Vs,e,t)}function Za(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sA(e){return vd=ks=1,iA=Dr(Vs=e),On=0,[]}function aA(e){return Vs="",e}function Jc(e){return oA(bl(On-1,yh(e===91?e+2:e===40?e+1:e)))}function jF(e){for(;(Wt=Nr())&&Wt<33;)$n();return Za(e)>2||Za(Wt)>3?"":" "}function RF(e,t){for(;--t&&$n()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return bl(e,Qc()+(t<6&&Nr()==32&&$n()==32))}function yh(e){for(;$n();)switch(Wt){case e:return On;case 34:case 39:e!==34&&e!==39&&yh(Wt);break;case 40:e===41&&yh(e);break;case 92:$n();break}return On}function MF(e,t){for(;$n()&&e+Wt!==57;)if(e+Wt===84&&Nr()===47)break;return"/*"+bl(t,On-1)+"*"+md(e===47?e:$n())}function kF(e){for(;!Za(Nr());)$n();return bl(e,On)}function FF(e){return aA(eu("",null,null,null,[""],e=sA(e),0,[0],e))}function eu(e,t,n,r,o,s,a,c,u){for(var d=0,h=0,g=a,m=0,v=0,b=0,x=1,w=1,I=1,M=0,E="",j=o,P=s,F=r,k=E;w;)switch(b=M,M=$n()){case 40:if(b!=108&&Xt(k,g-1)==58){vh(k+=et(Jc(M),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:k+=Jc(M);break;case 9:case 10:case 13:case 32:k+=jF(b);break;case 92:k+=RF(Qc()-1,7);continue;case 47:switch(Nr()){case 42:case 47:Bc(DF(MF($n(),Qc()),t,n),u);break;default:k+="/"}break;case 123*x:c[d++]=Dr(k)*I;case 125*x:case 59:case 0:switch(M){case 0:case 125:w=0;case 59+h:I==-1&&(k=et(k,/\f/g,"")),v>0&&Dr(k)-g&&Bc(v>32?mx(k+";",r,n,g-1):mx(et(k," ","")+";",r,n,g-2),u);break;case 59:k+=";";default:if(Bc(F=gx(k,t,n,d,h,o,c,E,j=[],P=[],g),s),M===123)if(h===0)eu(k,t,F,F,j,s,g,c,P);else switch(m===99&&Xt(k,3)===110?100:m){case 100:case 108:case 109:case 115:eu(e,F,F,r&&Bc(gx(e,F,F,0,0,o,c,E,o,j=[],g),P),o,P,g,c,r?j:P);break;default:eu(k,F,F,F,[""],P,0,c,P)}}d=h=v=0,x=I=1,E=k="",g=a;break;case 58:g=1+Dr(k),v=b;default:if(x<1){if(M==123)--x;else if(M==125&&x++==0&&PF()==125)continue}switch(k+=md(M),M*x){case 38:I=h>0?1:(k+="\f",-1);break;case 44:c[d++]=(Dr(k)-1)*I,I=1;break;case 64:Nr()===45&&(k+=Jc($n())),m=Nr(),h=g=Dr(E=k+=kF(Qc())),M++;break;case 45:b===45&&Dr(k)==2&&(x=0)}}return s}function gx(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=em(m),b=0,x=0,w=0;b<r;++b)for(var I=0,M=Xa(e,g+1,g=AF(x=a[b])),E=e;I<v;++I)(E=oA(x>0?m[I]+" "+M:et(M,/&\f/g,m[I])))&&(u[w++]=E);return yd(e,t,n,o===0?Qg:c,u,d,h)}function DF(e,t,n){return yd(e,t,n,nA,md(OF()),Xa(e,2,-2),0)}function mx(e,t,n,r){return yd(e,t,n,Jg,Xa(e,0,r),Xa(e,r+1,-1),r)}function Es(e,t){for(var n="",r=em(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function LF(e,t,n,r){switch(e.type){case wF:if(e.children.length)break;case CF:case Jg:return e.return=e.return||e.value;case nA:return"";case rA:return e.return=e.value+"{"+Es(e.children,r)+"}";case Qg:e.value=e.props.join(",")}return Dr(n=Es(e.children,r))?e.return=e.value+"{"+n+"}":""}function _F(e){var t=em(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function BF(e){return function(t){t.root||(t=t.return)&&e(t)}}var NF=function(t,n,r){for(var o=0,s=0;o=s,s=Nr(),o===38&&s===12&&(n[r]=1),!Za(s);)$n();return bl(t,On)},VF=function(t,n){var r=-1,o=44;do switch(Za(o)){case 0:o===38&&Nr()===12&&(n[r]=1),t[r]+=NF(On-1,n,r);break;case 2:t[r]+=Jc(o);break;case 4:if(o===44){t[++r]=Nr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=md(o)}while(o=$n());return t},WF=function(t,n){return aA(VF(sA(t),n))},vx=new WeakMap,$F=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!vx.get(r))&&!o){vx.set(t,!0);for(var s=[],a=WF(n,s),c=r.props,u=0,d=0;u<a.length;u++)for(var h=0;h<c.length;h++,d++)t.props[d]=s[u]?a[u].replace(/&\f/g,c[h]):c[h]+" "+a[u]}}},zF=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function lA(e,t){switch(TF(e,t)){case 5103:return Je+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+e+wu+e+rn+e+e;case 6828:case 4268:return Je+e+rn+e+e;case 6165:return Je+e+rn+"flex-"+e+e;case 5187:return Je+e+et(e,/(\w+).+(:[^]+)/,Je+"box-$1$2"+rn+"flex-$1$2")+e;case 5443:return Je+e+rn+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return Je+e+rn+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return Je+e+rn+et(e,"shrink","negative")+e;case 5292:return Je+e+rn+et(e,"basis","preferred-size")+e;case 6060:return Je+"box-"+et(e,"-grow","")+Je+e+rn+et(e,"grow","positive")+e;case 4554:return Je+et(e,/([^-])(transform)/g,"$1"+Je+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+rn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,Je+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Dr(e)-1-t>6)switch(Xt(e,t+1)){case 109:if(Xt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+wu+(Xt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vh(e,"stretch")?lA(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Xt(e,t+1)!==115)break;case 6444:switch(Xt(e,Dr(e)-3-(~vh(e,"!important")&&10))){case 107:return et(e,":",":"+Je)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Je+(Xt(e,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+rn+"$2box$3")+e}break;case 5936:switch(Xt(e,t+11)){case 114:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Je+e+rn+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Je+e+rn+e+e}return e}var UF=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Jg:t.return=lA(t.value,t.length);break;case rA:return Es([Aa(t,{value:et(t.value,"@","@"+Je)})],o);case Qg:if(t.length)return IF(t.props,function(s){switch(EF(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Es([Aa(t,{props:[et(s,/:(read-\w+)/,":"+wu+"$1")]})],o);case"::placeholder":return Es([Aa(t,{props:[et(s,/:(plac\w+)/,":"+Je+"input-$1")]}),Aa(t,{props:[et(s,/:(plac\w+)/,":"+wu+"$1")]}),Aa(t,{props:[et(s,/:(plac\w+)/,rn+"input-$1")]})],o)}return""})}},HF=[UF],GF=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var w=x.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||HF,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var w=x.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)s[w[I]]=!0;c.push(x)});var u,d=[$F,zF];{var h,g=[LF,BF(function(x){h.insert(x)})],m=_F(d.concat(o,g)),v=function(w){return Es(FF(w),m)};u=function(w,I,M,E){h=M,v(w?w+"{"+I.styles+"}":I.styles),E&&(b.inserted[I.name]=!0)}}var b={key:n,sheet:new xF({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return b.sheet.hydrate(c),b};let bh;typeof document=="object"&&(bh=GF({key:"css",prepend:!0}));function cA(e){const{injectFirst:t,children:n}=e;return t&&bh?f.jsx(Zt.CacheProvider,{value:bh,children:n}):n}process.env.NODE_ENV!=="production"&&(cA.propTypes={children:C.node,injectFirst:C.bool});function qF(e){return e==null||Object.keys(e).length===0}function uA(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(qF(o)?n:o):t;return f.jsx(Zt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(uA.propTypes={defaultTheme:C.object,styles:C.oneOfType([C.array,C.string,C.object,C.func])});/**
24
24
  * @mui/styled-engine v5.16.6
25
25
  *
26
26
  * @license MIT
@@ -29,10 +29,10 @@ Valid keys: `+JSON.stringify(Object.keys(V),null," "));var ce=Ee(Ae,Ce,de,he,me
29
29
  */function dA(e,t){const n=QR(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
30
30
  `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}const fA=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},YF=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:uA,StyledEngineProvider:cA,ThemeContext:Zt.ThemeContext,css:Zt.css,default:dA,internal_processStyles:fA,keyframes:Zt.keyframes},Symbol.toStringTag,{value:"Module"}));function KF(e){return Object.keys(e).length===0}function pA(e=null){const t=_.useContext(Zt.ThemeContext);return!t||KF(t)?e:t}const XF=gd();function tm(e=XF){return pA(e)}function ZF({props:e,name:t,defaultTheme:n,themeId:r}){let o=tm(n);return r&&(o=o[r]||o),x9({theme:o,name:t,props:e})}const QF=["sx"],JF=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:vl;return Object.keys(e).forEach(s=>{o[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function hA(e){const{sx:t}=e,n=He(e,QF),{systemProps:r,otherProps:o}=JF(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...a)=>{const c=t(...a);return oo(c)?Y({},r,c):r}:s=Y({},r,t),Y({},o,{sx:s})}const eD=Object.freeze(Object.defineProperty({__proto__:null,default:yl,extendSxProp:hA,unstable_createStyleFunctionSx:eA,unstable_defaultSxConfig:vl},Symbol.toStringTag,{value:"Module"})),yx=e=>e,tD=()=>{let e=yx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=yx}}},gA=tD(),mA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function qn(e,t,n="Mui"){const r=mA[t];return r?`${n}-${r}`:`${gA.generate(e)}-${t}`}function nD(e,t){return Y({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _t={},vA={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vA);var qo=vA.exports;const rD=go(I9);function yA(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const oD=Object.freeze(Object.defineProperty({__proto__:null,default:yA},Symbol.toStringTag,{value:"Module"})),iD=go(oD);var bA=qo;Object.defineProperty(_t,"__esModule",{value:!0});var Do=_t.alpha=AA;_t.blend=vD;_t.colorChannel=void 0;var sD=_t.darken=rm;_t.decomposeColor=dr;var bx=_t.emphasize=SA,xx=_t.getContrastRatio=fD;_t.getLuminance=Au;_t.hexToRgb=xA;_t.hslToRgb=wA;var aD=_t.lighten=om;_t.private_safeAlpha=pD;_t.private_safeColorChannel=void 0;_t.private_safeDarken=hD;_t.private_safeEmphasize=mD;_t.private_safeLighten=gD;_t.recomposeColor=Ws;_t.rgbToHex=dD;var Cx=bA(rD),lD=bA(iD);function nm(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,lD.default)(e,t,n)}function xA(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function cD(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function dr(e){if(e.type)return e;if(e.charAt(0)==="#")return dr(xA(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
31
31
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Cx.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
32
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Cx.default)(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const CA=e=>{const t=dr(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_t.colorChannel=CA;const uD=(e,t)=>{try{return CA(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_t.private_safeColorChannel=uD;function Ws(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function dD(e){if(e.indexOf("#")===0)return e;const{values:t}=dr(e);return`#${t.map((n,r)=>cD(r===3?Math.round(255*n):n)).join("")}`}function wA(e){e=dr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),a=(d,h=(d+n/30)%12)=>o-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Ws({type:c,values:u})}function Au(e){e=dr(e);let t=e.type==="hsl"||e.type==="hsla"?dr(wA(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fD(e,t){const n=Au(e),r=Au(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function AA(e,t){return e=dr(e),t=nm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ws(e)}function pD(e,t,n){try{return AA(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function rm(e,t){if(e=dr(e),t=nm(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ws(e)}function hD(e,t,n){try{return rm(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function om(e,t){if(e=dr(e),t=nm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ws(e)}function gD(e,t,n){try{return om(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function SA(e,t=.15){return Au(e)>.5?rm(e,t):om(e,t)}function mD(e,t,n){try{return SA(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function vD(e,t,n,r=1){const o=(u,d)=>Math.round((u**(1/r)*(1-n)+d**(1/r)*n)**r),s=dr(e),a=dr(t),c=[o(s.values[0],a.values[0]),o(s.values[1],a.values[1]),o(s.values[2],a.values[2])];return Ws({type:"rgb",values:c})}const Qa={black:"#000",white:"#fff"},yD={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ts={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ns={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Sa={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rs={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},os={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},is={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},bD=["mode","contrastThreshold","tonalOffset"],wx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qa.white,default:Qa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Fp={text:{primary:Qa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ax(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=aD(e.main,o):t==="dark"&&(e.dark=sD(e.main,s)))}function xD(e="light"){return e==="dark"?{main:rs[200],light:rs[50],dark:rs[400]}:{main:rs[700],light:rs[400],dark:rs[800]}}function CD(e="light"){return e==="dark"?{main:ts[200],light:ts[50],dark:ts[400]}:{main:ts[500],light:ts[300],dark:ts[700]}}function wD(e="light"){return e==="dark"?{main:ns[500],light:ns[300],dark:ns[700]}:{main:ns[700],light:ns[400],dark:ns[800]}}function AD(e="light"){return e==="dark"?{main:os[400],light:os[300],dark:os[700]}:{main:os[700],light:os[500],dark:os[900]}}function SD(e="light"){return e==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[800],light:is[500],dark:is[900]}}function TD(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:"#ed6c02",light:Sa[500],dark:Sa[900]}}function ED(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=He(e,bD),s=e.primary||xD(t),a=e.secondary||CD(t),c=e.error||wD(t),u=e.info||AD(t),d=e.success||SD(t),h=e.warning||TD(t);function g(y){const w=xx(y,Fp.text.primary)>=n?Fp.text.primary:wx.text.primary;if(process.env.NODE_ENV!=="production"){const I=xx(y,w);I<3&&console.error([`MUI: The contrast ratio of ${I}:1 for ${w} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
33
- `))}return w}const m=({color:y,name:w,mainShade:I=500,lightShade:M=300,darkShade:E=700})=>{if(y=Y({},y),!y.main&&y[I]&&(y.main=y[I]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
34
- The color object needs to have a \`main\` property or a \`${I}\` property.`:Ri(11,w?` (${w})`:"",I));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
35
- \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
32
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Cx.default)(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const CA=e=>{const t=dr(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_t.colorChannel=CA;const uD=(e,t)=>{try{return CA(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_t.private_safeColorChannel=uD;function Ws(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function dD(e){if(e.indexOf("#")===0)return e;const{values:t}=dr(e);return`#${t.map((n,r)=>cD(r===3?Math.round(255*n):n)).join("")}`}function wA(e){e=dr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),a=(d,h=(d+n/30)%12)=>o-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Ws({type:c,values:u})}function Au(e){e=dr(e);let t=e.type==="hsl"||e.type==="hsla"?dr(wA(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fD(e,t){const n=Au(e),r=Au(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function AA(e,t){return e=dr(e),t=nm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ws(e)}function pD(e,t,n){try{return AA(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function rm(e,t){if(e=dr(e),t=nm(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ws(e)}function hD(e,t,n){try{return rm(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function om(e,t){if(e=dr(e),t=nm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ws(e)}function gD(e,t,n){try{return om(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function SA(e,t=.15){return Au(e)>.5?rm(e,t):om(e,t)}function mD(e,t,n){try{return SA(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function vD(e,t,n,r=1){const o=(u,d)=>Math.round((u**(1/r)*(1-n)+d**(1/r)*n)**r),s=dr(e),a=dr(t),c=[o(s.values[0],a.values[0]),o(s.values[1],a.values[1]),o(s.values[2],a.values[2])];return Ws({type:"rgb",values:c})}const Qa={black:"#000",white:"#fff"},yD={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ts={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ns={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Sa={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rs={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},os={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},is={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},bD=["mode","contrastThreshold","tonalOffset"],wx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qa.white,default:Qa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Fp={text:{primary:Qa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ax(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=aD(e.main,o):t==="dark"&&(e.dark=sD(e.main,s)))}function xD(e="light"){return e==="dark"?{main:rs[200],light:rs[50],dark:rs[400]}:{main:rs[700],light:rs[400],dark:rs[800]}}function CD(e="light"){return e==="dark"?{main:ts[200],light:ts[50],dark:ts[400]}:{main:ts[500],light:ts[300],dark:ts[700]}}function wD(e="light"){return e==="dark"?{main:ns[500],light:ns[300],dark:ns[700]}:{main:ns[700],light:ns[400],dark:ns[800]}}function AD(e="light"){return e==="dark"?{main:os[400],light:os[300],dark:os[700]}:{main:os[700],light:os[500],dark:os[900]}}function SD(e="light"){return e==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[800],light:is[500],dark:is[900]}}function TD(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:"#ed6c02",light:Sa[500],dark:Sa[900]}}function ED(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=He(e,bD),s=e.primary||xD(t),a=e.secondary||CD(t),c=e.error||wD(t),u=e.info||AD(t),d=e.success||SD(t),h=e.warning||TD(t);function g(x){const w=xx(x,Fp.text.primary)>=n?Fp.text.primary:wx.text.primary;if(process.env.NODE_ENV!=="production"){const I=xx(x,w);I<3&&console.error([`MUI: The contrast ratio of ${I}:1 for ${w} on ${x}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
33
+ `))}return w}const m=({color:x,name:w,mainShade:I=500,lightShade:M=300,darkShade:E=700})=>{if(x=Y({},x),!x.main&&x[I]&&(x.main=x[I]),!x.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
34
+ The color object needs to have a \`main\` property or a \`${I}\` property.`:Ri(11,w?` (${w})`:"",I));if(typeof x.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
35
+ \`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
36
36
 
37
37
  Did you intend to use one of the following approaches?
38
38
 
@@ -44,9 +44,9 @@ const theme1 = createTheme({ palette: {
44
44
 
45
45
  const theme2 = createTheme({ palette: {
46
46
  primary: { main: green[500] },
47
- } });`:Ri(12,w?` (${w})`:"",JSON.stringify(y.main)));return Ax(y,"light",M,r),Ax(y,"dark",E,r),y.contrastText||(y.contrastText=g(y.main)),y},v={dark:Fp,light:wx};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Br(Y({common:Y({},Qa),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:d,name:"success"}),grey:yD,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r},v[t]),o)}const ID=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function OD(e){return Math.round(e*1e5)/1e5}const Sx={textTransform:"uppercase"},Tx='"Roboto", "Helvetica", "Arial", sans-serif';function PD(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Tx,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:g}=n,m=He(n,ID);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const v=o/14,x=g||(I=>`${I/d*v}rem`),y=(I,M,E,j,P)=>Y({fontFamily:r,fontWeight:I,fontSize:x(M),lineHeight:E},r===Tx?{letterSpacing:`${OD(j/M)}em`}:{},P,h),w={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(c,14,1.75,.4,Sx),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,Sx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Br(Y({htmlFontSize:d,pxToRem:x,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},w),m,{clone:!1})}const jD=.2,RD=.14,MD=.12;function wt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${RD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${MD})`].join(",")}const kD=["none",wt(0,2,1,-1,0,1,1,0,0,1,3,0),wt(0,3,1,-2,0,2,2,0,0,1,5,0),wt(0,3,3,-2,0,3,4,0,0,1,8,0),wt(0,2,4,-1,0,4,5,0,0,1,10,0),wt(0,3,5,-1,0,5,8,0,0,1,14,0),wt(0,3,5,-1,0,6,10,0,0,1,18,0),wt(0,4,5,-2,0,7,10,1,0,2,16,1),wt(0,5,5,-3,0,8,10,1,0,3,14,2),wt(0,5,6,-3,0,9,12,1,0,3,16,2),wt(0,6,6,-3,0,10,14,1,0,4,18,3),wt(0,6,7,-4,0,11,15,1,0,4,20,3),wt(0,7,8,-4,0,12,17,2,0,5,22,4),wt(0,7,8,-4,0,13,19,2,0,5,24,4),wt(0,7,9,-4,0,14,21,2,0,5,26,4),wt(0,8,9,-5,0,15,22,2,0,6,28,5),wt(0,8,10,-5,0,16,24,2,0,6,30,5),wt(0,8,11,-5,0,17,26,2,0,6,32,5),wt(0,9,11,-5,0,18,28,2,0,7,34,6),wt(0,9,12,-6,0,19,29,2,0,7,36,6),wt(0,10,13,-6,0,20,31,3,0,8,38,7),wt(0,10,13,-6,0,21,33,3,0,8,40,7),wt(0,10,14,-6,0,22,35,3,0,8,42,7),wt(0,11,14,-7,0,23,36,3,0,9,44,8),wt(0,11,15,-7,0,24,38,3,0,9,46,8)],FD=["duration","easing","delay"],DD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},LD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ex(e){return`${Math.round(e)}ms`}function _D(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function BD(e){const t=Y({},DD,e.easing),n=Y({},LD,e.duration);return Y({getAutoHeightDuration:_D,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=t.easeInOut,delay:u=0}=s,d=He(s,FD);if(process.env.NODE_ENV!=="production"){const h=m=>typeof m=="string",g=m=>!isNaN(parseFloat(m));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!g(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!g(u)&&!h(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
48
- `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Ex(a)} ${c} ${typeof u=="string"?u:Ex(u)}`).join(",")}},e,{easing:t,duration:n})}const ND={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},VD=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function im(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:s={}}=e,a=He(e,VD);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ri(18));const c=ED(r),u=gd(e);let d=Br(u,{mixins:nD(u.breakpoints,n),palette:c,shadows:kD.slice(),typography:PD(c,s),transitions:BD(o),zIndex:Y({},ND)});if(d=Br(d,a),d=t.reduce((h,g)=>Br(h,g),d),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(m,v)=>{let x;for(x in m){const y=m[x];if(h.indexOf(x)!==-1&&Object.keys(y).length>0){if(process.env.NODE_ENV!=="production"){const w=qn("",x);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${x}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${w}' syntax:`,JSON.stringify({root:{[`&.${w}`]:y}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
49
- `))}m[x]={}}}};Object.keys(d.components).forEach(m=>{const v=d.components[m].styleOverrides;v&&m.indexOf("Mui")===0&&g(v,m)})}return d.unstable_sxConfig=Y({},vl,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return yl({sx:g,theme:this})},d}const sm=im(),Ja="$$material";function vr({props:e,name:t}){return ZF({props:e,name:t,defaultTheme:sm,themeId:Ja})}var xl={},Dp={exports:{}},Ix;function WD(){return Ix||(Ix=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)({}).hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Dp)),Dp.exports}var Lp={exports:{}},Ox;function $D(){return Ox||(Ox=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var s in n)if({}.hasOwnProperty.call(n,s)){if(r.includes(s))continue;o[s]=n[s]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Lp)),Lp.exports}const TA=go(YF),zD=go(C9),UD=go(O9);var xh={exports:{}},it={};/**
47
+ } });`:Ri(12,w?` (${w})`:"",JSON.stringify(x.main)));return Ax(x,"light",M,r),Ax(x,"dark",E,r),x.contrastText||(x.contrastText=g(x.main)),x},v={dark:Fp,light:wx};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Br(Y({common:Y({},Qa),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:d,name:"success"}),grey:yD,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r},v[t]),o)}const ID=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function OD(e){return Math.round(e*1e5)/1e5}const Sx={textTransform:"uppercase"},Tx='"Roboto", "Helvetica", "Arial", sans-serif';function PD(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Tx,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:g}=n,m=He(n,ID);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const v=o/14,b=g||(I=>`${I/d*v}rem`),x=(I,M,E,j,P)=>Y({fontFamily:r,fontWeight:I,fontSize:b(M),lineHeight:E},r===Tx?{letterSpacing:`${OD(j/M)}em`}:{},P,h),w={h1:x(s,96,1.167,-1.5),h2:x(s,60,1.2,-.5),h3:x(a,48,1.167,0),h4:x(a,34,1.235,.25),h5:x(a,24,1.334,0),h6:x(c,20,1.6,.15),subtitle1:x(a,16,1.75,.15),subtitle2:x(c,14,1.57,.1),body1:x(a,16,1.5,.15),body2:x(a,14,1.43,.15),button:x(c,14,1.75,.4,Sx),caption:x(a,12,1.66,.4),overline:x(a,12,2.66,1,Sx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Br(Y({htmlFontSize:d,pxToRem:b,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},w),m,{clone:!1})}const jD=.2,RD=.14,MD=.12;function wt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${RD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${MD})`].join(",")}const kD=["none",wt(0,2,1,-1,0,1,1,0,0,1,3,0),wt(0,3,1,-2,0,2,2,0,0,1,5,0),wt(0,3,3,-2,0,3,4,0,0,1,8,0),wt(0,2,4,-1,0,4,5,0,0,1,10,0),wt(0,3,5,-1,0,5,8,0,0,1,14,0),wt(0,3,5,-1,0,6,10,0,0,1,18,0),wt(0,4,5,-2,0,7,10,1,0,2,16,1),wt(0,5,5,-3,0,8,10,1,0,3,14,2),wt(0,5,6,-3,0,9,12,1,0,3,16,2),wt(0,6,6,-3,0,10,14,1,0,4,18,3),wt(0,6,7,-4,0,11,15,1,0,4,20,3),wt(0,7,8,-4,0,12,17,2,0,5,22,4),wt(0,7,8,-4,0,13,19,2,0,5,24,4),wt(0,7,9,-4,0,14,21,2,0,5,26,4),wt(0,8,9,-5,0,15,22,2,0,6,28,5),wt(0,8,10,-5,0,16,24,2,0,6,30,5),wt(0,8,11,-5,0,17,26,2,0,6,32,5),wt(0,9,11,-5,0,18,28,2,0,7,34,6),wt(0,9,12,-6,0,19,29,2,0,7,36,6),wt(0,10,13,-6,0,20,31,3,0,8,38,7),wt(0,10,13,-6,0,21,33,3,0,8,40,7),wt(0,10,14,-6,0,22,35,3,0,8,42,7),wt(0,11,14,-7,0,23,36,3,0,9,44,8),wt(0,11,15,-7,0,24,38,3,0,9,46,8)],FD=["duration","easing","delay"],DD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},LD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ex(e){return`${Math.round(e)}ms`}function _D(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function BD(e){const t=Y({},DD,e.easing),n=Y({},LD,e.duration);return Y({getAutoHeightDuration:_D,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=t.easeInOut,delay:u=0}=s,d=He(s,FD);if(process.env.NODE_ENV!=="production"){const h=m=>typeof m=="string",g=m=>!isNaN(parseFloat(m));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!g(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!g(u)&&!h(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
48
+ `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Ex(a)} ${c} ${typeof u=="string"?u:Ex(u)}`).join(",")}},e,{easing:t,duration:n})}const ND={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},VD=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function im(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:s={}}=e,a=He(e,VD);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ri(18));const c=ED(r),u=gd(e);let d=Br(u,{mixins:nD(u.breakpoints,n),palette:c,shadows:kD.slice(),typography:PD(c,s),transitions:BD(o),zIndex:Y({},ND)});if(d=Br(d,a),d=t.reduce((h,g)=>Br(h,g),d),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(m,v)=>{let b;for(b in m){const x=m[b];if(h.indexOf(b)!==-1&&Object.keys(x).length>0){if(process.env.NODE_ENV!=="production"){const w=qn("",b);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${b}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${w}' syntax:`,JSON.stringify({root:{[`&.${w}`]:x}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
49
+ `))}m[b]={}}}};Object.keys(d.components).forEach(m=>{const v=d.components[m].styleOverrides;v&&m.indexOf("Mui")===0&&g(v,m)})}return d.unstable_sxConfig=Y({},vl,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return yl({sx:g,theme:this})},d}const sm=im(),Ja="$$material";function vr({props:e,name:t}){return ZF({props:e,name:t,defaultTheme:sm,themeId:Ja})}var xl={},Dp={exports:{}},Ix;function WD(){return Ix||(Ix=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)({}).hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Dp)),Dp.exports}var Lp={exports:{}},Ox;function $D(){return Ox||(Ox=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var s in n)if({}.hasOwnProperty.call(n,s)){if(r.includes(s))continue;o[s]=n[s]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Lp)),Lp.exports}const TA=go(YF),zD=go(C9),UD=go(O9);var xh={exports:{}},it={};/**
50
50
  * @license React
51
51
  * react-is.production.min.js
52
52
  *
@@ -54,7 +54,7 @@ const theme2 = createTheme({ palette: {
54
54
  *
55
55
  * This source code is licensed under the MIT license found in the
56
56
  * LICENSE file in the root directory of this source tree.
57
- */var Px;function HD(){if(Px)return it;Px=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x;x=Symbol.for("react.module.reference");function y(w){if(typeof w=="object"&&w!==null){var I=w.$$typeof;switch(I){case e:switch(w=w.type,w){case n:case o:case r:case d:case h:return w;default:switch(w=w&&w.$$typeof,w){case c:case a:case u:case m:case g:case s:return w;default:return I}}case t:return I}}}return it.ContextConsumer=a,it.ContextProvider=s,it.Element=e,it.ForwardRef=u,it.Fragment=n,it.Lazy=m,it.Memo=g,it.Portal=t,it.Profiler=o,it.StrictMode=r,it.Suspense=d,it.SuspenseList=h,it.isAsyncMode=function(){return!1},it.isConcurrentMode=function(){return!1},it.isContextConsumer=function(w){return y(w)===a},it.isContextProvider=function(w){return y(w)===s},it.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},it.isForwardRef=function(w){return y(w)===u},it.isFragment=function(w){return y(w)===n},it.isLazy=function(w){return y(w)===m},it.isMemo=function(w){return y(w)===g},it.isPortal=function(w){return y(w)===t},it.isProfiler=function(w){return y(w)===o},it.isStrictMode=function(w){return y(w)===r},it.isSuspense=function(w){return y(w)===d},it.isSuspenseList=function(w){return y(w)===h},it.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===o||w===r||w===d||w===h||w===v||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===g||w.$$typeof===s||w.$$typeof===a||w.$$typeof===u||w.$$typeof===x||w.getModuleId!==void 0)},it.typeOf=y,it}var st={};/**
57
+ */var Px;function HD(){if(Px)return it;Px=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function x(w){if(typeof w=="object"&&w!==null){var I=w.$$typeof;switch(I){case e:switch(w=w.type,w){case n:case o:case r:case d:case h:return w;default:switch(w=w&&w.$$typeof,w){case c:case a:case u:case m:case g:case s:return w;default:return I}}case t:return I}}}return it.ContextConsumer=a,it.ContextProvider=s,it.Element=e,it.ForwardRef=u,it.Fragment=n,it.Lazy=m,it.Memo=g,it.Portal=t,it.Profiler=o,it.StrictMode=r,it.Suspense=d,it.SuspenseList=h,it.isAsyncMode=function(){return!1},it.isConcurrentMode=function(){return!1},it.isContextConsumer=function(w){return x(w)===a},it.isContextProvider=function(w){return x(w)===s},it.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},it.isForwardRef=function(w){return x(w)===u},it.isFragment=function(w){return x(w)===n},it.isLazy=function(w){return x(w)===m},it.isMemo=function(w){return x(w)===g},it.isPortal=function(w){return x(w)===t},it.isProfiler=function(w){return x(w)===o},it.isStrictMode=function(w){return x(w)===r},it.isSuspense=function(w){return x(w)===d},it.isSuspenseList=function(w){return x(w)===h},it.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===o||w===r||w===d||w===h||w===v||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===g||w.$$typeof===s||w.$$typeof===a||w.$$typeof===u||w.$$typeof===b||w.getModuleId!==void 0)},it.typeOf=x,it}var st={};/**
58
58
  * @license React
59
59
  * react-is.development.js
60
60
  *
@@ -62,14 +62,14 @@ const theme2 = createTheme({ palette: {
62
62
  *
63
63
  * This source code is licensed under the MIT license found in the
64
64
  * LICENSE file in the root directory of this source tree.
65
- */var jx;function GD(){return jx||(jx=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),x=!1,y=!1,w=!1,I=!1,M=!1,E;E=Symbol.for("react.module.reference");function j(ge){return!!(typeof ge=="string"||typeof ge=="function"||ge===n||ge===o||M||ge===r||ge===d||ge===h||I||ge===v||x||y||w||typeof ge=="object"&&ge!==null&&(ge.$$typeof===m||ge.$$typeof===g||ge.$$typeof===s||ge.$$typeof===a||ge.$$typeof===u||ge.$$typeof===E||ge.getModuleId!==void 0))}function P(ge){if(typeof ge=="object"&&ge!==null){var Ke=ge.$$typeof;switch(Ke){case e:var Jt=ge.type;switch(Jt){case n:case o:case r:case d:case h:return Jt;default:var St=Jt&&Jt.$$typeof;switch(St){case c:case a:case u:case m:case g:case s:return St;default:return Ke}}case t:return Ke}}}var F=a,k=s,$=e,G=u,J=n,U=m,ae=g,se=t,Z=o,X=r,W=d,K=h,B=!1,ne=!1;function V(ge){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(ge){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(ge){return P(ge)===a}function pe(ge){return P(ge)===s}function de(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===e}function he(ge){return P(ge)===u}function me(ge){return P(ge)===n}function Ae(ge){return P(ge)===m}function xe(ge){return P(ge)===g}function ye(ge){return P(ge)===t}function Ce(ge){return P(ge)===o}function Ee(ge){return P(ge)===r}function ce(ge){return P(ge)===d}function Xe(ge){return P(ge)===h}st.ContextConsumer=F,st.ContextProvider=k,st.Element=$,st.ForwardRef=G,st.Fragment=J,st.Lazy=U,st.Memo=ae,st.Portal=se,st.Profiler=Z,st.StrictMode=X,st.Suspense=W,st.SuspenseList=K,st.isAsyncMode=V,st.isConcurrentMode=q,st.isContextConsumer=ue,st.isContextProvider=pe,st.isElement=de,st.isForwardRef=he,st.isFragment=me,st.isLazy=Ae,st.isMemo=xe,st.isPortal=ye,st.isProfiler=Ce,st.isStrictMode=Ee,st.isSuspense=ce,st.isSuspenseList=Xe,st.isValidElementType=j,st.typeOf=P}()),st}process.env.NODE_ENV==="production"?xh.exports=HD():xh.exports=GD();var Ch=xh.exports;const qD=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function EA(e){const t=`${e}`.match(qD);return t&&t[1]||""}function IA(e,t=""){return e.displayName||e.name||EA(e)||t}function Rx(e,t,n){const r=IA(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function OA(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return IA(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ch.ForwardRef:return Rx(e,e.render,"ForwardRef");case Ch.Memo:return Rx(e,e.type,"memo");default:return}}}const YD=Object.freeze(Object.defineProperty({__proto__:null,default:OA,getFunctionName:EA},Symbol.toStringTag,{value:"Module"})),KD=go(YD),XD=go(mF),ZD=go(eD);var $s=qo;Object.defineProperty(xl,"__esModule",{value:!0});var QD=xl.default=fL;xl.shouldForwardProp=tu;xl.systemDefaultTheme=void 0;var ar=$s(WD()),wh=$s($D()),Mx=aL(TA),JD=zD,eL=$s(UD),tL=$s(KD),nL=$s(XD),rL=$s(ZD);const oL=["ownerState"],iL=["variants"],sL=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function PA(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(PA=function(r){return r?n:t})(e)}function aL(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=PA(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function lL(e){return Object.keys(e).length===0}function cL(e){return typeof e=="string"&&e.charCodeAt(0)>96}function tu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const uL=xl.systemDefaultTheme=(0,nL.default)(),kx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Nc({defaultTheme:e,theme:t,themeId:n}){return lL(t)?e:t[n]||t}function dL(e){return e?(t,n)=>n[e]:null}function nu(e,t){let{ownerState:n}=t,r=(0,wh.default)(t,oL);const o=typeof e=="function"?e((0,ar.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>nu(s,(0,ar.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,wh.default)(o,iL);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,ar.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,ar.default)({ownerState:n},r,n)):u.style))}),c}return o}function fL(e={}){const{themeId:t,defaultTheme:n=uL,rootShouldForwardProp:r=tu,slotShouldForwardProp:o=tu}=e,s=a=>(0,rL.default)((0,ar.default)({},a,{theme:Nc((0,ar.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,Mx.internal_processStyles)(a,P=>P.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=dL(kx(d))}=c,v=(0,wh.default)(c,sL),x=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,y=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${kx(d||"Root")}`);let I=tu;d==="Root"||d==="root"?I=r:d?I=o:cL(a)&&(I=void 0);const M=(0,Mx.default)(a,(0,ar.default)({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||(0,JD.isPlainObject)(P)?F=>nu(P,(0,ar.default)({},F,{theme:Nc({theme:F.theme,defaultTheme:n,themeId:t})})):P,j=(P,...F)=>{let k=E(P);const $=F?F.map(E):[];u&&m&&$.push(U=>{const ae=Nc((0,ar.default)({},U,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const se=ae.components[u].styleOverrides,Z={};return Object.entries(se).forEach(([X,W])=>{Z[X]=nu(W,(0,ar.default)({},U,{theme:ae}))}),m(U,Z)}),u&&!x&&$.push(U=>{var ae;const se=Nc((0,ar.default)({},U,{defaultTheme:n,themeId:t})),Z=se==null||(ae=se.components)==null||(ae=ae[u])==null?void 0:ae.variants;return nu({variants:Z},(0,ar.default)({},U,{theme:se}))}),y||$.push(s);const G=$.length-F.length;if(Array.isArray(P)&&G>0){const U=new Array(G).fill("");k=[...P,...U],k.raw=[...P.raw,...U]}const J=M(k,...$);if(process.env.NODE_ENV!=="production"){let U;u&&(U=`${u}${(0,eL.default)(d||"")}`),U===void 0&&(U=`Styled(${(0,tL.default)(a)})`),J.displayName=U}return a.muiName&&(J.muiName=a.muiName),J};return M.withConfig&&(j.withConfig=M.withConfig),j}}function pL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const jA=e=>pL(e)&&e!=="classes",fe=QD({themeId:Ja,defaultTheme:sm,rootShouldForwardProp:jA});function hL(e){return vr}function yr(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=qn(e,o,n)}),r}function gL(e){return qn("MuiSvgIcon",e)}yr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vL=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ze(t)}`,`fontSize${ze(n)}`]};return gr(o,gL,r)},yL=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ze(n.color)}`],t[`fontSize${ze(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,d,h,g,m,v,x;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(g=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?g:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.disabled,inherit:void 0}[t.color]}}),Su=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=r,v=He(r,mL),x=_.isValidElement(o)&&o.type==="svg",y=Y({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:x}),w={};h||(w.viewBox=m);const I=vL(y);return f.jsxs(yL,Y({as:c,className:lt(I.root,s),focusable:"false",color:d,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},w,v,x&&o.props,{ownerState:y,children:[x?o.props.children:o,g?f.jsx("title",{children:g}):null]}))});process.env.NODE_ENV!=="production"&&(Su.propTypes={children:C.node,classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),C.string]),component:C.elementType,fontSize:C.oneOfType([C.oneOf(["inherit","large","medium","small"]),C.string]),htmlColor:C.string,inheritViewBox:C.bool,shapeRendering:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),titleAccess:C.string,viewBox:C.string});Su.muiName="SvgIcon";function am(e,t){function n(r,o){return f.jsx(Su,Y({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Su.muiName,_.memo(_.forwardRef(n))}const bL=am(f.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function xL(e){return qn("MuiAvatar",e)}yr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function Fs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Pn(...e){return _.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Fs(n,t)})},e)}function CL(e){return typeof e=="string"}function xs(e,t,n){return e===void 0||CL(e)?t:Y({},t,{ownerState:Y({},t.ownerState,n)})}const wL={disableDefaultClasses:!1},RA=_.createContext(wL);process.env.NODE_ENV!=="production"&&(RA.displayName="ClassNameConfiguratorContext");function AL(e){const{disableDefaultClasses:t}=_.useContext(RA);return n=>t?"":e(n)}function SL(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function MA(e,t,n){return typeof e=="function"?e(t,n):e}function Yo(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function TL(e){const{prototype:t={}}=e;return!!t.isReactComponent}function kA(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;const u=s.type;return typeof u=="function"&&!TL(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const lm=Yo(C.element,kA);lm.isRequired=Yo(C.element.isRequired,kA);function EL(e){const{prototype:t={}}=e;return!!t.isReactComponent}function IL(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;return typeof s=="function"&&!EL(s)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const OL=Yo(C.elementType,IL),PL="exact-prop: ​";function bd(e){return process.env.NODE_ENV==="production"?e:Y({},e,{[PL]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function zo(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],a=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const xd=C.oneOfType([C.func,C.object]);function jL(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function RL(e,t=166){let n;function r(...o){const s=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function ML(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,o,s,a)=>{const c=o||"<<anonymous>>",u=a||r;return typeof n[r]<"u"?new Error(`The ${s} \`${u}\` of \`${c}\` is deprecated. ${t}`):null}}function kL(e,t){var n,r;return _.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ds(e){return e&&e.ownerDocument||document}function FL(e){return Ds(e).defaultView||window}function DL(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?Y({},t.propTypes):null;return o=>(s,a,c,u,d,...h)=>{const g=d||a,m=n==null?void 0:n[g];if(m){const v=m(s,a,c,u,d,...h);if(v)return v}return typeof s[a]<"u"&&!s[o]?new Error(`The prop \`${g}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const Wr=typeof window<"u"?_.useLayoutEffect:_.useEffect;let Fx=0;function LL(e){const[t,n]=_.useState(e),r=e||t;return _.useEffect(()=>{t==null&&(Fx+=1,n(`mui-${Fx}`))},[t]),r}const Dx=_.useId;function cm(e){if(Dx!==void 0){const t=Dx();return e??t}return LL(e)}function _L(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=o||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function FA({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=_.useRef(e!==void 0),[s,a]=_.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){_.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
65
+ */var jx;function GD(){return jx||(jx=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=!1,x=!1,w=!1,I=!1,M=!1,E;E=Symbol.for("react.module.reference");function j(ge){return!!(typeof ge=="string"||typeof ge=="function"||ge===n||ge===o||M||ge===r||ge===d||ge===h||I||ge===v||b||x||w||typeof ge=="object"&&ge!==null&&(ge.$$typeof===m||ge.$$typeof===g||ge.$$typeof===s||ge.$$typeof===a||ge.$$typeof===u||ge.$$typeof===E||ge.getModuleId!==void 0))}function P(ge){if(typeof ge=="object"&&ge!==null){var Ke=ge.$$typeof;switch(Ke){case e:var Jt=ge.type;switch(Jt){case n:case o:case r:case d:case h:return Jt;default:var St=Jt&&Jt.$$typeof;switch(St){case c:case a:case u:case m:case g:case s:return St;default:return Ke}}case t:return Ke}}}var F=a,k=s,$=e,G=u,J=n,U=m,ae=g,se=t,Z=o,X=r,W=d,K=h,B=!1,ne=!1;function V(ge){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(ge){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(ge){return P(ge)===a}function pe(ge){return P(ge)===s}function de(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===e}function he(ge){return P(ge)===u}function me(ge){return P(ge)===n}function Ae(ge){return P(ge)===m}function xe(ge){return P(ge)===g}function ye(ge){return P(ge)===t}function Ce(ge){return P(ge)===o}function Ee(ge){return P(ge)===r}function ce(ge){return P(ge)===d}function Xe(ge){return P(ge)===h}st.ContextConsumer=F,st.ContextProvider=k,st.Element=$,st.ForwardRef=G,st.Fragment=J,st.Lazy=U,st.Memo=ae,st.Portal=se,st.Profiler=Z,st.StrictMode=X,st.Suspense=W,st.SuspenseList=K,st.isAsyncMode=V,st.isConcurrentMode=q,st.isContextConsumer=ue,st.isContextProvider=pe,st.isElement=de,st.isForwardRef=he,st.isFragment=me,st.isLazy=Ae,st.isMemo=xe,st.isPortal=ye,st.isProfiler=Ce,st.isStrictMode=Ee,st.isSuspense=ce,st.isSuspenseList=Xe,st.isValidElementType=j,st.typeOf=P}()),st}process.env.NODE_ENV==="production"?xh.exports=HD():xh.exports=GD();var Ch=xh.exports;const qD=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function EA(e){const t=`${e}`.match(qD);return t&&t[1]||""}function IA(e,t=""){return e.displayName||e.name||EA(e)||t}function Rx(e,t,n){const r=IA(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function OA(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return IA(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ch.ForwardRef:return Rx(e,e.render,"ForwardRef");case Ch.Memo:return Rx(e,e.type,"memo");default:return}}}const YD=Object.freeze(Object.defineProperty({__proto__:null,default:OA,getFunctionName:EA},Symbol.toStringTag,{value:"Module"})),KD=go(YD),XD=go(mF),ZD=go(eD);var $s=qo;Object.defineProperty(xl,"__esModule",{value:!0});var QD=xl.default=fL;xl.shouldForwardProp=tu;xl.systemDefaultTheme=void 0;var ar=$s(WD()),wh=$s($D()),Mx=aL(TA),JD=zD,eL=$s(UD),tL=$s(KD),nL=$s(XD),rL=$s(ZD);const oL=["ownerState"],iL=["variants"],sL=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function PA(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(PA=function(r){return r?n:t})(e)}function aL(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=PA(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function lL(e){return Object.keys(e).length===0}function cL(e){return typeof e=="string"&&e.charCodeAt(0)>96}function tu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const uL=xl.systemDefaultTheme=(0,nL.default)(),kx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Nc({defaultTheme:e,theme:t,themeId:n}){return lL(t)?e:t[n]||t}function dL(e){return e?(t,n)=>n[e]:null}function nu(e,t){let{ownerState:n}=t,r=(0,wh.default)(t,oL);const o=typeof e=="function"?e((0,ar.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>nu(s,(0,ar.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,wh.default)(o,iL);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,ar.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,ar.default)({ownerState:n},r,n)):u.style))}),c}return o}function fL(e={}){const{themeId:t,defaultTheme:n=uL,rootShouldForwardProp:r=tu,slotShouldForwardProp:o=tu}=e,s=a=>(0,rL.default)((0,ar.default)({},a,{theme:Nc((0,ar.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,Mx.internal_processStyles)(a,P=>P.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=dL(kx(d))}=c,v=(0,wh.default)(c,sL),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,x=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${kx(d||"Root")}`);let I=tu;d==="Root"||d==="root"?I=r:d?I=o:cL(a)&&(I=void 0);const M=(0,Mx.default)(a,(0,ar.default)({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||(0,JD.isPlainObject)(P)?F=>nu(P,(0,ar.default)({},F,{theme:Nc({theme:F.theme,defaultTheme:n,themeId:t})})):P,j=(P,...F)=>{let k=E(P);const $=F?F.map(E):[];u&&m&&$.push(U=>{const ae=Nc((0,ar.default)({},U,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const se=ae.components[u].styleOverrides,Z={};return Object.entries(se).forEach(([X,W])=>{Z[X]=nu(W,(0,ar.default)({},U,{theme:ae}))}),m(U,Z)}),u&&!b&&$.push(U=>{var ae;const se=Nc((0,ar.default)({},U,{defaultTheme:n,themeId:t})),Z=se==null||(ae=se.components)==null||(ae=ae[u])==null?void 0:ae.variants;return nu({variants:Z},(0,ar.default)({},U,{theme:se}))}),x||$.push(s);const G=$.length-F.length;if(Array.isArray(P)&&G>0){const U=new Array(G).fill("");k=[...P,...U],k.raw=[...P.raw,...U]}const J=M(k,...$);if(process.env.NODE_ENV!=="production"){let U;u&&(U=`${u}${(0,eL.default)(d||"")}`),U===void 0&&(U=`Styled(${(0,tL.default)(a)})`),J.displayName=U}return a.muiName&&(J.muiName=a.muiName),J};return M.withConfig&&(j.withConfig=M.withConfig),j}}function pL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const jA=e=>pL(e)&&e!=="classes",fe=QD({themeId:Ja,defaultTheme:sm,rootShouldForwardProp:jA});function hL(e){return vr}function yr(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=qn(e,o,n)}),r}function gL(e){return qn("MuiSvgIcon",e)}yr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vL=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ze(t)}`,`fontSize${ze(n)}`]};return gr(o,gL,r)},yL=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ze(n.color)}`],t[`fontSize${ze(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,d,h,g,m,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(g=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?g:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.disabled,inherit:void 0}[t.color]}}),Su=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=r,v=He(r,mL),b=_.isValidElement(o)&&o.type==="svg",x=Y({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:b}),w={};h||(w.viewBox=m);const I=vL(x);return f.jsxs(yL,Y({as:c,className:lt(I.root,s),focusable:"false",color:d,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},w,v,b&&o.props,{ownerState:x,children:[b?o.props.children:o,g?f.jsx("title",{children:g}):null]}))});process.env.NODE_ENV!=="production"&&(Su.propTypes={children:C.node,classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),C.string]),component:C.elementType,fontSize:C.oneOfType([C.oneOf(["inherit","large","medium","small"]),C.string]),htmlColor:C.string,inheritViewBox:C.bool,shapeRendering:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),titleAccess:C.string,viewBox:C.string});Su.muiName="SvgIcon";function am(e,t){function n(r,o){return f.jsx(Su,Y({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Su.muiName,_.memo(_.forwardRef(n))}const bL=am(f.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function xL(e){return qn("MuiAvatar",e)}yr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function Fs(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Pn(...e){return _.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Fs(n,t)})},e)}function CL(e){return typeof e=="string"}function xs(e,t,n){return e===void 0||CL(e)?t:Y({},t,{ownerState:Y({},t.ownerState,n)})}const wL={disableDefaultClasses:!1},RA=_.createContext(wL);process.env.NODE_ENV!=="production"&&(RA.displayName="ClassNameConfiguratorContext");function AL(e){const{disableDefaultClasses:t}=_.useContext(RA);return n=>t?"":e(n)}function SL(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function MA(e,t,n){return typeof e=="function"?e(t,n):e}function Yo(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function TL(e){const{prototype:t={}}=e;return!!t.isReactComponent}function kA(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;const u=s.type;return typeof u=="function"&&!TL(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const lm=Yo(C.element,kA);lm.isRequired=Yo(C.element.isRequired,kA);function EL(e){const{prototype:t={}}=e;return!!t.isReactComponent}function IL(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;return typeof s=="function"&&!EL(s)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const OL=Yo(C.elementType,IL),PL="exact-prop: ​";function bd(e){return process.env.NODE_ENV==="production"?e:Y({},e,{[PL]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function zo(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],a=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const xd=C.oneOfType([C.func,C.object]);function jL(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function RL(e,t=166){let n;function r(...o){const s=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function ML(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,o,s,a)=>{const c=o||"<<anonymous>>",u=a||r;return typeof n[r]<"u"?new Error(`The ${s} \`${u}\` of \`${c}\` is deprecated. ${t}`):null}}function kL(e,t){var n,r;return _.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ds(e){return e&&e.ownerDocument||document}function FL(e){return Ds(e).defaultView||window}function DL(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?Y({},t.propTypes):null;return o=>(s,a,c,u,d,...h)=>{const g=d||a,m=n==null?void 0:n[g];if(m){const v=m(s,a,c,u,d,...h);if(v)return v}return typeof s[a]<"u"&&!s[o]?new Error(`The prop \`${g}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const Wr=typeof window<"u"?_.useLayoutEffect:_.useEffect;let Fx=0;function LL(e){const[t,n]=_.useState(e),r=e||t;return _.useEffect(()=>{t==null&&(Fx+=1,n(`mui-${Fx}`))},[t]),r}const Dx=_.useId;function cm(e){if(Dx!==void 0){const t=Dx();return e??t}return LL(e)}function _L(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=o||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function FA({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=_.useRef(e!==void 0),[s,a]=_.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){_.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
66
66
  `))},[r,n,e]);const{current:d}=_.useRef(t);_.useEffect(()=>{!o&&!Object.is(d,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
67
- `))},[JSON.stringify(t)])}const u=_.useCallback(d=>{o||a(d)},[]);return[c,u]}function Ai(e){const t=_.useRef(e);return Wr(()=>{t.current=e}),_.useRef((...n)=>(0,t.current)(...n)).current}const Lx={};function BL(e,t){const n=_.useRef(Lx);return n.current===Lx&&(n.current=e(t)),n}const NL=[];function VL(e){_.useEffect(e,NL)}class Cl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Cl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Cs(){const e=BL(Cl.create).current;return VL(e.disposeEffect),e}let Cd=!0,Ah=!1;const WL=new Cl,$L={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function zL(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&$L[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function UL(e){e.metaKey||e.altKey||e.ctrlKey||(Cd=!0)}function _p(){Cd=!1}function HL(){this.visibilityState==="hidden"&&Ah&&(Cd=!0)}function GL(e){e.addEventListener("keydown",UL,!0),e.addEventListener("mousedown",_p,!0),e.addEventListener("pointerdown",_p,!0),e.addEventListener("touchstart",_p,!0),e.addEventListener("visibilitychange",HL,!0)}function qL(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Cd||zL(t)}function um(){const e=_.useCallback(o=>{o!=null&&GL(o.ownerDocument)},[]),t=_.useRef(!1);function n(){return t.current?(Ah=!0,WL.start(100,()=>{Ah=!1}),t.current=!1,!0):!1}function r(o){return qL(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function YL(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function KL(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const XL=Number.isInteger||KL;function DA(e,t,n,r){const o=e[t];if(o==null||!XL(o)){const s=YL(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function LA(e,t,...n){return e[t]===void 0?null:DA(e,t,...n)}function Sh(){return null}LA.isRequired=DA;Sh.isRequired=Sh;const Bp=process.env.NODE_ENV==="production"?Sh:LA;function _x(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function _A(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),x=Y({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=Y({},n,o,r);return v.length>0&&(y.className=v),Object.keys(x).length>0&&(y.style=x),{props:y,internalRef:void 0}}const a=SL(Y({},o,r)),c=_x(r),u=_x(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Y({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Y({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const ZL=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function BA(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=He(e,ZL),c=s?{}:MA(r,o),{props:u,internalRef:d}=_A(Y({},a,{externalSlotProps:c})),h=Pn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return xs(n,Y({},u,{ref:h}),o)}const QL=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],JL=["component","slots","slotProps"],e_=["component"];function t_(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=He(t,QL),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;He(s,JL);const m=h[e]||r,v=MA(g[e],o),x=_A(Y({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:y},internalRef:w}=x,I=He(x.props,e_),M=Pn(w,v==null?void 0:v.ref,t.ref),E=a?a(I):{},j=Y({},o,E),P=y,F=xs(m,Y({},e==="root",!h[e]&&c,I,P&&{as:P},{ref:M}),j);return Object.keys(E).forEach(k=>{delete F[k]}),[m,F]}const n_=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],r_=hL(),o_=e=>{const{classes:t,variant:n,colorDefault:r}=e;return gr({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},xL,t)},i_=fe("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:Y({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:Y({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),s_=fe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),a_=fe(bL,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function l_({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=_.useState(!1);return _.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const c=new Image;return c.onload=()=>{a&&s("loaded")},c.onerror=()=>{a&&s("error")},c.crossOrigin=e,c.referrerPolicy=t,c.src=n,r&&(c.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const NA=_.forwardRef(function(t,n){const r=r_({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",slots:u={},slotProps:d={},imgProps:h,sizes:g,src:m,srcSet:v,variant:x="circular"}=r,y=He(r,n_);let w=null;const I=l_(Y({},h,{src:m,srcSet:v})),M=m||v,E=M&&I!=="error",j=Y({},r,{colorDefault:!E,component:c,variant:x}),P=o_(j),[F,k]=t_("img",{className:P.img,elementType:s_,externalForwardedProps:{slots:u,slotProps:{img:Y({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:j});return E?w=f.jsx(F,Y({},k)):s||s===0?w=s:M&&o?w=o[0]:w=f.jsx(a_,{ownerState:j,className:P.fallback}),f.jsx(i_,Y({as:c,ownerState:j,className:lt(P.root,a),ref:n},y,{children:w}))});process.env.NODE_ENV!=="production"&&(NA.propTypes={alt:C.string,children:C.node,classes:C.object,className:C.string,component:C.elementType,imgProps:C.object,sizes:C.string,slotProps:C.shape({img:C.oneOfType([C.func,C.object])}),slots:C.shape({img:C.elementType}),src:C.string,srcSet:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["circular","rounded","square"]),C.string])});const c_=["ownerState"],u_=["variants"],d_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f_(e){return Object.keys(e).length===0}function p_(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Np(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const h_=gd(),Bx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Vc({defaultTheme:e,theme:t,themeId:n}){return f_(t)?e:t[n]||t}function g_(e){return e?(t,n)=>n[e]:null}function ru(e,t){let{ownerState:n}=t,r=He(t,c_);const o=typeof e=="function"?e(Y({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>ru(s,Y({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=He(o,u_);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props(Y({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style(Y({ownerState:n},r,n)):u.style))}),c}return o}function m_(e={}){const{themeId:t,defaultTheme:n=h_,rootShouldForwardProp:r=Np,slotShouldForwardProp:o=Np}=e,s=a=>yl(Y({},a,{theme:Vc(Y({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{fA(a,P=>P.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=g_(Bx(d))}=c,v=He(c,d_),x=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,y=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Bx(d||"Root")}`);let I=Np;d==="Root"||d==="root"?I=r:d?I=o:p_(a)&&(I=void 0);const M=dA(a,Y({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||oo(P)?F=>ru(P,Y({},F,{theme:Vc({theme:F.theme,defaultTheme:n,themeId:t})})):P,j=(P,...F)=>{let k=E(P);const $=F?F.map(E):[];u&&m&&$.push(U=>{const ae=Vc(Y({},U,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const se=ae.components[u].styleOverrides,Z={};return Object.entries(se).forEach(([X,W])=>{Z[X]=ru(W,Y({},U,{theme:ae}))}),m(U,Z)}),u&&!x&&$.push(U=>{var ae;const se=Vc(Y({},U,{defaultTheme:n,themeId:t})),Z=se==null||(ae=se.components)==null||(ae=ae[u])==null?void 0:ae.variants;return ru({variants:Z},Y({},U,{theme:se}))}),y||$.push(s);const G=$.length-F.length;if(Array.isArray(P)&&G>0){const U=new Array(G).fill("");k=[...P,...U],k.raw=[...P.raw,...U]}const J=M(k,...$);if(process.env.NODE_ENV!=="production"){let U;u&&(U=`${u}${ze(d||"")}`),U===void 0&&(U=`Styled(${OA(a)})`),J.displayName=U}return a.muiName&&(J.muiName=a.muiName),J};return M.withConfig&&(j.withConfig=M.withConfig),j}}const wl=m_();function VA(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),yA(e,t,n)}function v_(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function dm(e){if(e.type)return e;if(e.charAt(0)==="#")return dm(v_(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
67
+ `))},[JSON.stringify(t)])}const u=_.useCallback(d=>{o||a(d)},[]);return[c,u]}function Ai(e){const t=_.useRef(e);return Wr(()=>{t.current=e}),_.useRef((...n)=>(0,t.current)(...n)).current}const Lx={};function BL(e,t){const n=_.useRef(Lx);return n.current===Lx&&(n.current=e(t)),n}const NL=[];function VL(e){_.useEffect(e,NL)}class Cl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Cl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Cs(){const e=BL(Cl.create).current;return VL(e.disposeEffect),e}let Cd=!0,Ah=!1;const WL=new Cl,$L={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function zL(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&$L[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function UL(e){e.metaKey||e.altKey||e.ctrlKey||(Cd=!0)}function _p(){Cd=!1}function HL(){this.visibilityState==="hidden"&&Ah&&(Cd=!0)}function GL(e){e.addEventListener("keydown",UL,!0),e.addEventListener("mousedown",_p,!0),e.addEventListener("pointerdown",_p,!0),e.addEventListener("touchstart",_p,!0),e.addEventListener("visibilitychange",HL,!0)}function qL(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Cd||zL(t)}function um(){const e=_.useCallback(o=>{o!=null&&GL(o.ownerDocument)},[]),t=_.useRef(!1);function n(){return t.current?(Ah=!0,WL.start(100,()=>{Ah=!1}),t.current=!1,!0):!1}function r(o){return qL(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function YL(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function KL(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const XL=Number.isInteger||KL;function DA(e,t,n,r){const o=e[t];if(o==null||!XL(o)){const s=YL(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function LA(e,t,...n){return e[t]===void 0?null:DA(e,t,...n)}function Sh(){return null}LA.isRequired=DA;Sh.isRequired=Sh;const Bp=process.env.NODE_ENV==="production"?Sh:LA;function _x(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function _A(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),b=Y({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=Y({},n,o,r);return v.length>0&&(x.className=v),Object.keys(b).length>0&&(x.style=b),{props:x,internalRef:void 0}}const a=SL(Y({},o,r)),c=_x(r),u=_x(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Y({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Y({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const ZL=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function BA(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=He(e,ZL),c=s?{}:MA(r,o),{props:u,internalRef:d}=_A(Y({},a,{externalSlotProps:c})),h=Pn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return xs(n,Y({},u,{ref:h}),o)}const QL=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],JL=["component","slots","slotProps"],e_=["component"];function t_(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=He(t,QL),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;He(s,JL);const m=h[e]||r,v=MA(g[e],o),b=_A(Y({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:x},internalRef:w}=b,I=He(b.props,e_),M=Pn(w,v==null?void 0:v.ref,t.ref),E=a?a(I):{},j=Y({},o,E),P=x,F=xs(m,Y({},e==="root",!h[e]&&c,I,P&&{as:P},{ref:M}),j);return Object.keys(E).forEach(k=>{delete F[k]}),[m,F]}const n_=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],r_=hL(),o_=e=>{const{classes:t,variant:n,colorDefault:r}=e;return gr({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},xL,t)},i_=fe("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:Y({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:Y({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),s_=fe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),a_=fe(bL,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function l_({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=_.useState(!1);return _.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const c=new Image;return c.onload=()=>{a&&s("loaded")},c.onerror=()=>{a&&s("error")},c.crossOrigin=e,c.referrerPolicy=t,c.src=n,r&&(c.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const NA=_.forwardRef(function(t,n){const r=r_({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",slots:u={},slotProps:d={},imgProps:h,sizes:g,src:m,srcSet:v,variant:b="circular"}=r,x=He(r,n_);let w=null;const I=l_(Y({},h,{src:m,srcSet:v})),M=m||v,E=M&&I!=="error",j=Y({},r,{colorDefault:!E,component:c,variant:b}),P=o_(j),[F,k]=t_("img",{className:P.img,elementType:s_,externalForwardedProps:{slots:u,slotProps:{img:Y({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:j});return E?w=f.jsx(F,Y({},k)):s||s===0?w=s:M&&o?w=o[0]:w=f.jsx(a_,{ownerState:j,className:P.fallback}),f.jsx(i_,Y({as:c,ownerState:j,className:lt(P.root,a),ref:n},x,{children:w}))});process.env.NODE_ENV!=="production"&&(NA.propTypes={alt:C.string,children:C.node,classes:C.object,className:C.string,component:C.elementType,imgProps:C.object,sizes:C.string,slotProps:C.shape({img:C.oneOfType([C.func,C.object])}),slots:C.shape({img:C.elementType}),src:C.string,srcSet:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["circular","rounded","square"]),C.string])});const c_=["ownerState"],u_=["variants"],d_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f_(e){return Object.keys(e).length===0}function p_(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Np(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const h_=gd(),Bx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Vc({defaultTheme:e,theme:t,themeId:n}){return f_(t)?e:t[n]||t}function g_(e){return e?(t,n)=>n[e]:null}function ru(e,t){let{ownerState:n}=t,r=He(t,c_);const o=typeof e=="function"?e(Y({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>ru(s,Y({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=He(o,u_);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props(Y({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style(Y({ownerState:n},r,n)):u.style))}),c}return o}function m_(e={}){const{themeId:t,defaultTheme:n=h_,rootShouldForwardProp:r=Np,slotShouldForwardProp:o=Np}=e,s=a=>yl(Y({},a,{theme:Vc(Y({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{fA(a,P=>P.filter(F=>!(F!=null&&F.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=g_(Bx(d))}=c,v=He(c,d_),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,x=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Bx(d||"Root")}`);let I=Np;d==="Root"||d==="root"?I=r:d?I=o:p_(a)&&(I=void 0);const M=dA(a,Y({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||oo(P)?F=>ru(P,Y({},F,{theme:Vc({theme:F.theme,defaultTheme:n,themeId:t})})):P,j=(P,...F)=>{let k=E(P);const $=F?F.map(E):[];u&&m&&$.push(U=>{const ae=Vc(Y({},U,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const se=ae.components[u].styleOverrides,Z={};return Object.entries(se).forEach(([X,W])=>{Z[X]=ru(W,Y({},U,{theme:ae}))}),m(U,Z)}),u&&!b&&$.push(U=>{var ae;const se=Vc(Y({},U,{defaultTheme:n,themeId:t})),Z=se==null||(ae=se.components)==null||(ae=ae[u])==null?void 0:ae.variants;return ru({variants:Z},Y({},U,{theme:se}))}),x||$.push(s);const G=$.length-F.length;if(Array.isArray(P)&&G>0){const U=new Array(G).fill("");k=[...P,...U],k.raw=[...P.raw,...U]}const J=M(k,...$);if(process.env.NODE_ENV!=="production"){let U;u&&(U=`${u}${ze(d||"")}`),U===void 0&&(U=`Styled(${OA(a)})`),J.displayName=U}return a.muiName&&(J.muiName=a.muiName),J};return M.withConfig&&(j.withConfig=M.withConfig),j}}const wl=m_();function VA(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),yA(e,t,n)}function v_(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function dm(e){if(e.type)return e;if(e.charAt(0)==="#")return dm(v_(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
68
68
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ri(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
69
69
  The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ri(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}function WA(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function tt(e,t){return e=dm(e),t=VA(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,WA(e)}function Th(e,t){if(e=dm(e),t=VA(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return WA(e)}const fm=_.createContext(null);process.env.NODE_ENV!=="production"&&(fm.displayName="ThemeContext");function $A(){const e=_.useContext(fm);return process.env.NODE_ENV!=="production"&&_.useDebugValue(e),e}const y_=typeof Symbol=="function"&&Symbol.for,b_=y_?Symbol.for("mui.nested"):"__THEME_NESTED__";function x_(e,t){if(typeof t=="function"){const n=t(e);return process.env.NODE_ENV!=="production"&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
70
70
  `))),n}return Y({},e,t)}function Tu(e){const{children:t,theme:n}=e,r=$A();process.env.NODE_ENV!=="production"&&r===null&&typeof n=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
71
71
  `));const o=_.useMemo(()=>{const s=r===null?n:x_(r,n);return s!=null&&(s[b_]=r!==null),s},[n,r]);return f.jsx(fm.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(Tu.propTypes={children:C.node,theme:C.oneOfType([C.object,C.func]).isRequired});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Tu.propTypes=bd(Tu.propTypes));const C_=["value"],zA=_.createContext();function UA(e){let{value:t}=e,n=He(e,C_);return f.jsx(zA.Provider,Y({value:t??!0},n))}process.env.NODE_ENV!=="production"&&(UA.propTypes={children:C.node,value:C.bool});const w_=()=>{const e=_.useContext(zA);return e??!1},A_=_.createContext(void 0);function HA({value:e,children:t}){return f.jsx(A_.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(HA.propTypes={children:C.node,value:C.object});const Nx={};function Vx(e,t,n,r=!1){return _.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const s=n(o),a=e?Y({},t,{[e]:s}):s;return r?()=>a:a}return e?Y({},t,{[e]:n}):Y({},t,n)},[e,t,n,r])}function Eu(e){const{children:t,theme:n,themeId:r}=e,o=pA(Nx),s=$A()||Nx;process.env.NODE_ENV!=="production"&&(o===null&&typeof n=="function"||r&&o&&!o[r]&&typeof n=="function")&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
72
- `));const a=Vx(r,o,n),c=Vx(r,s,n,!0),u=a.direction==="rtl";return f.jsx(Tu,{theme:c,children:f.jsx(Zt.ThemeContext.Provider,{value:a,children:f.jsx(UA,{value:u,children:f.jsx(HA,{value:a==null?void 0:a.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(Eu.propTypes={children:C.node,theme:C.oneOfType([C.func,C.object]).isRequired,themeId:C.string});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Eu.propTypes=bd(Eu.propTypes));function Gt(){const e=tm(sm);return process.env.NODE_ENV!=="production"&&_.useDebugValue(e),e[Ja]||e}const S_=["theme"];function GA(e){let{theme:t}=e,n=He(e,S_);const r=t[Ja];return f.jsx(Eu,Y({},n,{themeId:r?Ja:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(GA.propTypes={children:C.node,theme:C.oneOfType([C.object,C.func]).isRequired});function T_({theme:e,color:t,type:n}){const r=Qt(e,t),{lighter:o,light:s,main:a,contrastText:c}=r;switch(n){case"filled":return{color:c,backgroundColor:a};case"outlined":return{color:a,border:"1px solid",borderColor:a,backgroundColor:"transparent"};case"combined":return{color:a,border:"1px solid",borderColor:s,backgroundColor:o};default:return{color:a,backgroundColor:o}}}function E_(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const I_=fe(NA,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...E_(r),...T_({theme:e,color:t,type:n}),...r==="badge"&&{borderColor:e.palette.background.default}}));function Iu({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=Gt();return f.jsx(I_,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Wx={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},zn=T.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:d,shadow:h,sx:g={},title:m,modal:v=!1,color:x="default",...y},w)=>{const I=Gt();return t=I.palette.mode==="dark"?t||!0:t,f.jsxs(A.Card,{elevation:u||0,ref:w,...y,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:I.palette.mode==="dark"?I.palette.divider:I.palette.grey.A800,boxShadow:t&&(!e||I.palette.mode==="dark")?h||I.customShadows.z0:"inherit",":hover":{boxShadow:t?h||I.customShadows.z0:"inherit"},backgroundColor:x==="default"?I.palette.background.paper:Th(x==="primary"?I.palette.primary[100]:I.palette.secondary[100],.5),...v&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"calc( 100% - 50px)",sm:"auto"},"& .MuiCardContent-root":{overflowY:"auto",minHeight:"auto",maxHeight:"calc(100vh - 200px)"}},...g},children:[!a&&m?f.jsx(A.CardHeader,{sx:Wx,title:m,action:d,subheader:r}):null,a&&m?f.jsx(A.CardHeader,{sx:Wx,title:f.jsx(A.Typography,{variant:"h4",children:m}),action:d}):null,m&&c?f.jsx(A.Divider,{}):null,o?f.jsx(A.CardContent,{sx:s,children:n}):null,!o&&n]})});function O_(e){return qn("MuiTypography",e)}yr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const P_=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],j_=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${ze(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return gr(c,O_,a)},R_=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ze(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Y({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),$x={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},M_={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},k_=e=>M_[e]||e,qA=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiTypography"}),o=k_(r.color),s=hA(Y({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:d=!1,noWrap:h=!1,paragraph:g=!1,variant:m="body1",variantMapping:v=$x}=s,x=He(s,P_),y=Y({},s,{align:a,color:o,className:c,component:u,gutterBottom:d,noWrap:h,paragraph:g,variant:m,variantMapping:v}),w=u||(g?"p":v[m]||$x[m])||"span",I=j_(y);return f.jsx(R_,Y({as:w,ref:n,ownerState:y,className:lt(I.root,c)},x))});process.env.NODE_ENV!=="production"&&(qA.propTypes={align:C.oneOf(["center","inherit","justify","left","right"]),children:C.node,classes:C.object,className:C.string,component:C.elementType,gutterBottom:C.bool,noWrap:C.bool,paragraph:C.bool,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),C.string]),variantMapping:C.object});const F_=am(f.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");function Eh(e,t){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Eh(e,t)}function pm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Eh(e,t)}const zx={disabled:!1};var D_=process.env.NODE_ENV!=="production"?C.oneOfType([C.number,C.shape({enter:C.number,exit:C.number,appear:C.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&C.oneOfType([C.string,C.shape({enter:C.string,exit:C.string,active:C.string}),C.shape({enter:C.string,enterDone:C.string,enterActive:C.string,exit:C.string,exitDone:C.string,exitActive:C.string})]);const Ou=T.createContext(null);var L_=function(t){return t.scrollTop},Ra="unmounted",vi="exited",yi="entering",ps="entered",Ih="exiting",mo=function(e){pm(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,u;return s.appearStatus=null,r.in?c?(u=vi,s.appearStatus=yi):u=ps:r.unmountOnExit||r.mountOnEnter?u=Ra:u=vi,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===Ra?{status:vi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==yi&&a!==ps&&(s=yi):(a===yi||a===ps)&&(s=Ih)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,a,c;return s=a=c=o,o!=null&&typeof o!="number"&&(s=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:s,enter:a,appear:c}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:gs.findDOMNode(this);a&&L_(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vi&&this.setState({status:Ra})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[gs.findDOMNode(this),c],d=u[0],h=u[1],g=this.getTimeouts(),m=c?g.appear:g.enter;if(!o&&!a||zx.disabled){this.safeSetState({status:ps},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:yi},function(){s.props.onEntering(d,h),s.onTransitionEnd(m,function(){s.safeSetState({status:ps},function(){s.props.onEntered(d,h)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:gs.findDOMNode(this);if(!s||zx.disabled){this.safeSetState({status:vi},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Ih},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:vi},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,s.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:gs.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],d=u[0],h=u[1];this.props.addEndListener(d,h)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ra)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=He(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(Ou.Provider,{value:null},typeof a=="function"?a(o,c):T.cloneElement(T.Children.only(a),c))},t}(T.Component);mo.contextType=Ou;mo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:C.shape({current:typeof Element>"u"?C.any:function(e,t,n,r,o,s){var a=e[t];return C.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:C.oneOfType([C.func.isRequired,C.element.isRequired]).isRequired,in:C.bool,mountOnEnter:C.bool,unmountOnExit:C.bool,appear:C.bool,enter:C.bool,exit:C.bool,timeout:function(t){var n=D_;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:C.func,onEnter:C.func,onEntering:C.func,onEntered:C.func,onExit:C.func,onExiting:C.func,onExited:C.func}:{};function ss(){}mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ss,onEntering:ss,onEntered:ss,onExit:ss,onExiting:ss,onExited:ss};mo.UNMOUNTED=Ra;mo.EXITED=vi;mo.ENTERING=yi;mo.ENTERED=ps;mo.EXITING=Ih;function __(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(e,t){var n=function(s){return t&&T.isValidElement(s)?t(s):s},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function B_(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var a,c={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var d=r[u][a];c[r[u][a]]=n(d)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function Si(e,t,n){return n[t]!=null?n[t]:e.props[t]}function N_(e,t){return hm(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Si(n,"appear",e),enter:Si(n,"enter",e),exit:Si(n,"exit",e)})})}function V_(e,t,n){var r=hm(e.children),o=B_(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(T.isValidElement(a)){var c=s in t,u=s in r,d=t[s],h=T.isValidElement(d)&&!d.props.in;u&&(!c||h)?o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Si(a,"exit",e),enter:Si(a,"enter",e)}):!u&&c&&!h?o[s]=T.cloneElement(a,{in:!1}):u&&c&&T.isValidElement(d)&&(o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:d.props.in,exit:Si(a,"exit",e),enter:Si(a,"enter",e)}))}}),o}var W_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$_={component:"div",childFactory:function(t){return t}},gm=function(e){pm(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(__(s));return s.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var a=s.children,c=s.handleExited,u=s.firstRender;return{children:u?N_(o,c):V_(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=hm(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=Y({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=He(o,["component","childFactory"]),u=this.state.contextValue,d=W_(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?T.createElement(Ou.Provider,{value:u},d):T.createElement(Ou.Provider,{value:u},T.createElement(s,c,d))},t}(T.Component);gm.propTypes=process.env.NODE_ENV!=="production"?{component:C.any,children:C.node,appear:C.bool,enter:C.bool,exit:C.bool,childFactory:C.func}:{};gm.defaultProps=$_;function YA(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:d}=e,[h,g]=_.useState(!1),m=lt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},x=lt(n.child,h&&n.childLeaving,r&&n.childPulsate);return!c&&!h&&g(!0),_.useEffect(()=>{if(!c&&u!=null){const y=setTimeout(u,d);return()=>{clearTimeout(y)}}},[u,c,d]),f.jsx("span",{className:m,style:v,children:f.jsx("span",{className:x})})}process.env.NODE_ENV!=="production"&&(YA.propTypes={classes:C.object.isRequired,className:C.string,in:C.bool,onExited:C.func,pulsate:C.bool,rippleSize:C.number,rippleX:C.number,rippleY:C.number,timeout:C.number.isRequired});const lr=yr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),z_=["center","classes","className"];let wd=e=>e,Ux,Hx,Gx,qx;const Oh=550,U_=80,H_=Zt.keyframes(Ux||(Ux=wd`
72
+ `));const a=Vx(r,o,n),c=Vx(r,s,n,!0),u=a.direction==="rtl";return f.jsx(Tu,{theme:c,children:f.jsx(Zt.ThemeContext.Provider,{value:a,children:f.jsx(UA,{value:u,children:f.jsx(HA,{value:a==null?void 0:a.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(Eu.propTypes={children:C.node,theme:C.oneOfType([C.func,C.object]).isRequired,themeId:C.string});process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Eu.propTypes=bd(Eu.propTypes));function Gt(){const e=tm(sm);return process.env.NODE_ENV!=="production"&&_.useDebugValue(e),e[Ja]||e}const S_=["theme"];function GA(e){let{theme:t}=e,n=He(e,S_);const r=t[Ja];return f.jsx(Eu,Y({},n,{themeId:r?Ja:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(GA.propTypes={children:C.node,theme:C.oneOfType([C.object,C.func]).isRequired});function T_({theme:e,color:t,type:n}){const r=Qt(e,t),{lighter:o,light:s,main:a,contrastText:c}=r;switch(n){case"filled":return{color:c,backgroundColor:a};case"outlined":return{color:a,border:"1px solid",borderColor:a,backgroundColor:"transparent"};case"combined":return{color:a,border:"1px solid",borderColor:s,backgroundColor:o};default:return{color:a,backgroundColor:o}}}function E_(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const I_=fe(NA,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...E_(r),...T_({theme:e,color:t,type:n}),...r==="badge"&&{borderColor:e.palette.background.default}}));function Iu({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=Gt();return f.jsx(I_,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Wx={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},zn=T.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:d,shadow:h,sx:g={},title:m,modal:v=!1,color:b="default",...x},w)=>{const I=Gt();return t=I.palette.mode==="dark"?t||!0:t,f.jsxs(A.Card,{elevation:u||0,ref:w,...x,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:I.palette.mode==="dark"?I.palette.divider:I.palette.grey.A800,boxShadow:t&&(!e||I.palette.mode==="dark")?h||I.customShadows.z0:"inherit",":hover":{boxShadow:t?h||I.customShadows.z0:"inherit"},backgroundColor:b==="default"?I.palette.background.paper:Th(b==="primary"?I.palette.primary[100]:I.palette.secondary[100],.5),...v&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"calc( 100% - 50px)",sm:"auto"},"& .MuiCardContent-root":{overflowY:"auto",minHeight:"auto",maxHeight:"calc(100vh - 200px)"}},...g},children:[!a&&m?f.jsx(A.CardHeader,{sx:Wx,title:m,action:d,subheader:r}):null,a&&m?f.jsx(A.CardHeader,{sx:Wx,title:f.jsx(A.Typography,{variant:"h4",children:m}),action:d}):null,m&&c?f.jsx(A.Divider,{}):null,o?f.jsx(A.CardContent,{sx:s,children:n}):null,!o&&n]})});function O_(e){return qn("MuiTypography",e)}yr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const P_=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],j_=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${ze(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return gr(c,O_,a)},R_=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ze(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Y({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),$x={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},M_={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},k_=e=>M_[e]||e,qA=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiTypography"}),o=k_(r.color),s=hA(Y({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:d=!1,noWrap:h=!1,paragraph:g=!1,variant:m="body1",variantMapping:v=$x}=s,b=He(s,P_),x=Y({},s,{align:a,color:o,className:c,component:u,gutterBottom:d,noWrap:h,paragraph:g,variant:m,variantMapping:v}),w=u||(g?"p":v[m]||$x[m])||"span",I=j_(x);return f.jsx(R_,Y({as:w,ref:n,ownerState:x,className:lt(I.root,c)},b))});process.env.NODE_ENV!=="production"&&(qA.propTypes={align:C.oneOf(["center","inherit","justify","left","right"]),children:C.node,classes:C.object,className:C.string,component:C.elementType,gutterBottom:C.bool,noWrap:C.bool,paragraph:C.bool,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),C.string]),variantMapping:C.object});const F_=am(f.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");function Eh(e,t){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Eh(e,t)}function pm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Eh(e,t)}const zx={disabled:!1};var D_=process.env.NODE_ENV!=="production"?C.oneOfType([C.number,C.shape({enter:C.number,exit:C.number,appear:C.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&C.oneOfType([C.string,C.shape({enter:C.string,exit:C.string,active:C.string}),C.shape({enter:C.string,enterDone:C.string,enterActive:C.string,exit:C.string,exitDone:C.string,exitActive:C.string})]);const Ou=T.createContext(null);var L_=function(t){return t.scrollTop},Ra="unmounted",vi="exited",yi="entering",ps="entered",Ih="exiting",mo=function(e){pm(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,u;return s.appearStatus=null,r.in?c?(u=vi,s.appearStatus=yi):u=ps:r.unmountOnExit||r.mountOnEnter?u=Ra:u=vi,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===Ra?{status:vi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==yi&&a!==ps&&(s=yi):(a===yi||a===ps)&&(s=Ih)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,a,c;return s=a=c=o,o!=null&&typeof o!="number"&&(s=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:s,enter:a,appear:c}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:gs.findDOMNode(this);a&&L_(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vi&&this.setState({status:Ra})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[gs.findDOMNode(this),c],d=u[0],h=u[1],g=this.getTimeouts(),m=c?g.appear:g.enter;if(!o&&!a||zx.disabled){this.safeSetState({status:ps},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:yi},function(){s.props.onEntering(d,h),s.onTransitionEnd(m,function(){s.safeSetState({status:ps},function(){s.props.onEntered(d,h)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:gs.findDOMNode(this);if(!s||zx.disabled){this.safeSetState({status:vi},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Ih},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:vi},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,s.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:gs.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],d=u[0],h=u[1];this.props.addEndListener(d,h)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ra)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=He(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(Ou.Provider,{value:null},typeof a=="function"?a(o,c):T.cloneElement(T.Children.only(a),c))},t}(T.Component);mo.contextType=Ou;mo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:C.shape({current:typeof Element>"u"?C.any:function(e,t,n,r,o,s){var a=e[t];return C.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:C.oneOfType([C.func.isRequired,C.element.isRequired]).isRequired,in:C.bool,mountOnEnter:C.bool,unmountOnExit:C.bool,appear:C.bool,enter:C.bool,exit:C.bool,timeout:function(t){var n=D_;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:C.func,onEnter:C.func,onEntering:C.func,onEntered:C.func,onExit:C.func,onExiting:C.func,onExited:C.func}:{};function ss(){}mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ss,onEntering:ss,onEntered:ss,onExit:ss,onExiting:ss,onExited:ss};mo.UNMOUNTED=Ra;mo.EXITED=vi;mo.ENTERING=yi;mo.ENTERED=ps;mo.EXITING=Ih;function __(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(e,t){var n=function(s){return t&&T.isValidElement(s)?t(s):s},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function B_(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var a,c={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var d=r[u][a];c[r[u][a]]=n(d)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function Si(e,t,n){return n[t]!=null?n[t]:e.props[t]}function N_(e,t){return hm(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Si(n,"appear",e),enter:Si(n,"enter",e),exit:Si(n,"exit",e)})})}function V_(e,t,n){var r=hm(e.children),o=B_(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(T.isValidElement(a)){var c=s in t,u=s in r,d=t[s],h=T.isValidElement(d)&&!d.props.in;u&&(!c||h)?o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Si(a,"exit",e),enter:Si(a,"enter",e)}):!u&&c&&!h?o[s]=T.cloneElement(a,{in:!1}):u&&c&&T.isValidElement(d)&&(o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:d.props.in,exit:Si(a,"exit",e),enter:Si(a,"enter",e)}))}}),o}var W_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$_={component:"div",childFactory:function(t){return t}},gm=function(e){pm(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(__(s));return s.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var a=s.children,c=s.handleExited,u=s.firstRender;return{children:u?N_(o,c):V_(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=hm(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=Y({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=He(o,["component","childFactory"]),u=this.state.contextValue,d=W_(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?T.createElement(Ou.Provider,{value:u},d):T.createElement(Ou.Provider,{value:u},T.createElement(s,c,d))},t}(T.Component);gm.propTypes=process.env.NODE_ENV!=="production"?{component:C.any,children:C.node,appear:C.bool,enter:C.bool,exit:C.bool,childFactory:C.func}:{};gm.defaultProps=$_;function YA(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:d}=e,[h,g]=_.useState(!1),m=lt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},b=lt(n.child,h&&n.childLeaving,r&&n.childPulsate);return!c&&!h&&g(!0),_.useEffect(()=>{if(!c&&u!=null){const x=setTimeout(u,d);return()=>{clearTimeout(x)}}},[u,c,d]),f.jsx("span",{className:m,style:v,children:f.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(YA.propTypes={classes:C.object.isRequired,className:C.string,in:C.bool,onExited:C.func,pulsate:C.bool,rippleSize:C.number,rippleX:C.number,rippleY:C.number,timeout:C.number.isRequired});const lr=yr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),z_=["center","classes","className"];let wd=e=>e,Ux,Hx,Gx,qx;const Oh=550,U_=80,H_=Zt.keyframes(Ux||(Ux=wd`
73
73
  0% {
74
74
  transform: scale(0);
75
75
  opacity: 0.1;
@@ -142,15 +142,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
142
142
  animation-iteration-count: infinite;
143
143
  animation-delay: 200ms;
144
144
  }
145
- `),lr.rippleVisible,H_,Oh,({theme:e})=>e.transitions.easing.easeInOut,lr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,lr.child,lr.childLeaving,G_,Oh,({theme:e})=>e.transitions.easing.easeInOut,lr.childPulsate,q_,({theme:e})=>e.transitions.easing.easeInOut),KA=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a}=r,c=He(r,z_),[u,d]=_.useState([]),h=_.useRef(0),g=_.useRef(null);_.useEffect(()=>{g.current&&(g.current(),g.current=null)},[u]);const m=_.useRef(!1),v=Cs(),x=_.useRef(null),y=_.useRef(null),w=_.useCallback(j=>{const{pulsate:P,rippleX:F,rippleY:k,rippleSize:$,cb:G}=j;d(J=>[...J,f.jsx(K_,{classes:{ripple:lt(s.ripple,lr.ripple),rippleVisible:lt(s.rippleVisible,lr.rippleVisible),ripplePulsate:lt(s.ripplePulsate,lr.ripplePulsate),child:lt(s.child,lr.child),childLeaving:lt(s.childLeaving,lr.childLeaving),childPulsate:lt(s.childPulsate,lr.childPulsate)},timeout:Oh,pulsate:P,rippleX:F,rippleY:k,rippleSize:$},h.current)]),h.current+=1,g.current=G},[s]),I=_.useCallback((j={},P={},F=()=>{})=>{const{pulsate:k=!1,center:$=o||P.pulsate,fakeElement:G=!1}=P;if((j==null?void 0:j.type)==="mousedown"&&m.current){m.current=!1;return}(j==null?void 0:j.type)==="touchstart"&&(m.current=!0);const J=G?null:y.current,U=J?J.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ae,se,Z;if($||j===void 0||j.clientX===0&&j.clientY===0||!j.clientX&&!j.touches)ae=Math.round(U.width/2),se=Math.round(U.height/2);else{const{clientX:X,clientY:W}=j.touches&&j.touches.length>0?j.touches[0]:j;ae=Math.round(X-U.left),se=Math.round(W-U.top)}if($)Z=Math.sqrt((2*U.width**2+U.height**2)/3),Z%2===0&&(Z+=1);else{const X=Math.max(Math.abs((J?J.clientWidth:0)-ae),ae)*2+2,W=Math.max(Math.abs((J?J.clientHeight:0)-se),se)*2+2;Z=Math.sqrt(X**2+W**2)}j!=null&&j.touches?x.current===null&&(x.current=()=>{w({pulsate:k,rippleX:ae,rippleY:se,rippleSize:Z,cb:F})},v.start(U_,()=>{x.current&&(x.current(),x.current=null)})):w({pulsate:k,rippleX:ae,rippleY:se,rippleSize:Z,cb:F})},[o,w,v]),M=_.useCallback(()=>{I({},{pulsate:!0})},[I]),E=_.useCallback((j,P)=>{if(v.clear(),(j==null?void 0:j.type)==="touchend"&&x.current){x.current(),x.current=null,v.start(0,()=>{E(j,P)});return}x.current=null,d(F=>F.length>0?F.slice(1):F),g.current=P},[v]);return _.useImperativeHandle(n,()=>({pulsate:M,start:I,stop:E}),[M,I,E]),f.jsx(Y_,Y({className:lt(lr.root,s.root,a),ref:y},c,{children:f.jsx(gm,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(KA.propTypes={center:C.bool,classes:C.object,className:C.string});function X_(e){return qn("MuiButtonBase",e)}const Z_=yr("MuiButtonBase",["root","disabled","focusVisible"]),Q_=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J_=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=gr({root:["root",t&&"disabled",n&&"focusVisible"]},X_,o);return n&&r&&(a.root+=` ${r}`),a},eB=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Z_.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ad=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:a,className:c,component:u="button",disabled:d=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:m=!1,LinkComponent:v="a",onBlur:x,onClick:y,onContextMenu:w,onDragLeave:I,onFocus:M,onFocusVisible:E,onKeyDown:j,onKeyUp:P,onMouseDown:F,onMouseLeave:k,onMouseUp:$,onTouchEnd:G,onTouchMove:J,onTouchStart:U,tabIndex:ae=0,TouchRippleProps:se,touchRippleRef:Z,type:X}=r,W=He(r,Q_),K=_.useRef(null),B=_.useRef(null),ne=Pn(B,Z),{isFocusVisibleRef:V,onFocus:q,onBlur:ue,ref:pe}=um(),[de,he]=_.useState(!1);d&&de&&he(!1),_.useImperativeHandle(o,()=>({focusVisible:()=>{he(!0),K.current.focus()}}),[]);const[me,Ae]=_.useState(!1);_.useEffect(()=>{Ae(!0)},[]);const xe=me&&!h&&!d;_.useEffect(()=>{de&&m&&!h&&me&&B.current.pulsate()},[h,m,de,me]);function ye(be,ft,Nt=g){return Ai(_e=>(ft&&ft(_e),!Nt&&B.current&&B.current[be](_e),!0))}const Ce=ye("start",F),Ee=ye("stop",w),ce=ye("stop",I),Xe=ye("stop",$),ge=ye("stop",be=>{de&&be.preventDefault(),k&&k(be)}),Ke=ye("start",U),Jt=ye("stop",G),St=ye("stop",J),gt=ye("stop",be=>{ue(be),V.current===!1&&he(!1),x&&x(be)},!1),Mn=Ai(be=>{K.current||(K.current=be.currentTarget),q(be),V.current===!0&&(he(!0),E&&E(be)),M&&M(be)}),Tt=()=>{const be=K.current;return u&&u!=="button"&&!(be.tagName==="A"&&be.href)},mt=_.useRef(!1),Ut=Ai(be=>{m&&!mt.current&&de&&B.current&&be.key===" "&&(mt.current=!0,B.current.stop(be,()=>{B.current.start(be)})),be.target===be.currentTarget&&Tt()&&be.key===" "&&be.preventDefault(),j&&j(be),be.target===be.currentTarget&&Tt()&&be.key==="Enter"&&!d&&(be.preventDefault(),y&&y(be))}),vt=Ai(be=>{m&&be.key===" "&&B.current&&de&&!be.defaultPrevented&&(mt.current=!1,B.current.stop(be,()=>{B.current.pulsate(be)})),P&&P(be),y&&be.target===be.currentTarget&&Tt()&&be.key===" "&&!be.defaultPrevented&&y(be)});let Bt=u;Bt==="button"&&(W.href||W.to)&&(Bt=v);const Et={};Bt==="button"?(Et.type=X===void 0?"button":X,Et.disabled=d):(!W.href&&!W.to&&(Et.role="button"),d&&(Et["aria-disabled"]=d));const ke=Pn(n,pe,K);process.env.NODE_ENV!=="production"&&_.useEffect(()=>{xe&&!B.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
146
- `))},[xe]);const Fe=Y({},r,{centerRipple:s,component:u,disabled:d,disableRipple:h,disableTouchRipple:g,focusRipple:m,tabIndex:ae,focusVisible:de}),Ie=J_(Fe);return f.jsxs(eB,Y({as:Bt,className:lt(Ie.root,c),ownerState:Fe,onBlur:gt,onClick:y,onContextMenu:Ee,onFocus:Mn,onKeyDown:Ut,onKeyUp:vt,onMouseDown:Ce,onMouseLeave:ge,onMouseUp:Xe,onDragLeave:ce,onTouchEnd:Jt,onTouchMove:St,onTouchStart:Ke,ref:ke,tabIndex:d?-1:ae,type:X},Et,W,{children:[a,xe?f.jsx(KA,Y({ref:ne,center:s},se)):null]}))});process.env.NODE_ENV!=="production"&&(Ad.propTypes={action:xd,centerRipple:C.bool,children:C.node,classes:C.object,className:C.string,component:OL,disabled:C.bool,disableRipple:C.bool,disableTouchRipple:C.bool,focusRipple:C.bool,focusVisibleClassName:C.string,href:C.any,LinkComponent:C.elementType,onBlur:C.func,onClick:C.func,onContextMenu:C.func,onDragLeave:C.func,onFocus:C.func,onFocusVisible:C.func,onKeyDown:C.func,onKeyUp:C.func,onMouseDown:C.func,onMouseLeave:C.func,onMouseUp:C.func,onTouchEnd:C.func,onTouchMove:C.func,onTouchStart:C.func,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),tabIndex:C.number,TouchRippleProps:C.object,touchRippleRef:C.oneOfType([C.func,C.shape({current:C.shape({pulsate:C.func.isRequired,start:C.func.isRequired,stop:C.func.isRequired})})]),type:C.oneOfType([C.oneOf(["button","reset","submit"]),C.string])});const tB=["slots","slotProps"],nB=fe(Ad)(({theme:e})=>Y({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Y({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Y({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:bx(e.palette.grey[200],.12)}:{backgroundColor:bx(e.palette.grey[600],.12)})})),rB=fe(F_)({width:24,height:16});function XA(e){const{slots:t={},slotProps:n={}}=e,r=He(e,tB),o=e;return f.jsx("li",{children:f.jsx(nB,Y({focusRipple:!0},r,{ownerState:o,children:f.jsx(rB,Y({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(XA.propTypes={slotProps:C.shape({collapsedIcon:C.oneOfType([C.func,C.object])}),slots:C.shape({CollapsedIcon:C.elementType}),sx:C.object});function oB(e){return qn("MuiBreadcrumbs",e)}const iB=yr("MuiBreadcrumbs",["root","ol","li","separator"]),sB=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],aB=e=>{const{classes:t}=e;return gr({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},oB,t)},lB=fe(qA,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${iB.li}`]:t.li},t.root]})({}),cB=fe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),uB=fe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function dB(e,t,n,r){return e.reduce((o,s,a)=>(a<e.length-1?o=o.concat(s,f.jsx(uB,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(s),o),[])}const ou=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiBreadcrumbs"}),{children:o,className:s,component:a="nav",slots:c={},slotProps:u={},expandText:d="Show path",itemsAfterCollapse:h=1,itemsBeforeCollapse:g=1,maxItems:m=8,separator:v="/"}=r,x=He(r,sB),[y,w]=_.useState(!1),I=Y({},r,{component:a,expanded:y,expandText:d,itemsAfterCollapse:h,itemsBeforeCollapse:g,maxItems:m,separator:v}),M=aB(I),E=BA({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:I}),j=_.useRef(null),P=k=>{const $=()=>{w(!0);const G=j.current.querySelector("a[href],button,[tabindex]");G&&G.focus()};return g+h>=k.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${h}} + itemsBeforeCollapse={${g}} >= maxItems={${m}}`].join(`
145
+ `),lr.rippleVisible,H_,Oh,({theme:e})=>e.transitions.easing.easeInOut,lr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,lr.child,lr.childLeaving,G_,Oh,({theme:e})=>e.transitions.easing.easeInOut,lr.childPulsate,q_,({theme:e})=>e.transitions.easing.easeInOut),KA=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a}=r,c=He(r,z_),[u,d]=_.useState([]),h=_.useRef(0),g=_.useRef(null);_.useEffect(()=>{g.current&&(g.current(),g.current=null)},[u]);const m=_.useRef(!1),v=Cs(),b=_.useRef(null),x=_.useRef(null),w=_.useCallback(j=>{const{pulsate:P,rippleX:F,rippleY:k,rippleSize:$,cb:G}=j;d(J=>[...J,f.jsx(K_,{classes:{ripple:lt(s.ripple,lr.ripple),rippleVisible:lt(s.rippleVisible,lr.rippleVisible),ripplePulsate:lt(s.ripplePulsate,lr.ripplePulsate),child:lt(s.child,lr.child),childLeaving:lt(s.childLeaving,lr.childLeaving),childPulsate:lt(s.childPulsate,lr.childPulsate)},timeout:Oh,pulsate:P,rippleX:F,rippleY:k,rippleSize:$},h.current)]),h.current+=1,g.current=G},[s]),I=_.useCallback((j={},P={},F=()=>{})=>{const{pulsate:k=!1,center:$=o||P.pulsate,fakeElement:G=!1}=P;if((j==null?void 0:j.type)==="mousedown"&&m.current){m.current=!1;return}(j==null?void 0:j.type)==="touchstart"&&(m.current=!0);const J=G?null:x.current,U=J?J.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ae,se,Z;if($||j===void 0||j.clientX===0&&j.clientY===0||!j.clientX&&!j.touches)ae=Math.round(U.width/2),se=Math.round(U.height/2);else{const{clientX:X,clientY:W}=j.touches&&j.touches.length>0?j.touches[0]:j;ae=Math.round(X-U.left),se=Math.round(W-U.top)}if($)Z=Math.sqrt((2*U.width**2+U.height**2)/3),Z%2===0&&(Z+=1);else{const X=Math.max(Math.abs((J?J.clientWidth:0)-ae),ae)*2+2,W=Math.max(Math.abs((J?J.clientHeight:0)-se),se)*2+2;Z=Math.sqrt(X**2+W**2)}j!=null&&j.touches?b.current===null&&(b.current=()=>{w({pulsate:k,rippleX:ae,rippleY:se,rippleSize:Z,cb:F})},v.start(U_,()=>{b.current&&(b.current(),b.current=null)})):w({pulsate:k,rippleX:ae,rippleY:se,rippleSize:Z,cb:F})},[o,w,v]),M=_.useCallback(()=>{I({},{pulsate:!0})},[I]),E=_.useCallback((j,P)=>{if(v.clear(),(j==null?void 0:j.type)==="touchend"&&b.current){b.current(),b.current=null,v.start(0,()=>{E(j,P)});return}b.current=null,d(F=>F.length>0?F.slice(1):F),g.current=P},[v]);return _.useImperativeHandle(n,()=>({pulsate:M,start:I,stop:E}),[M,I,E]),f.jsx(Y_,Y({className:lt(lr.root,s.root,a),ref:x},c,{children:f.jsx(gm,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(KA.propTypes={center:C.bool,classes:C.object,className:C.string});function X_(e){return qn("MuiButtonBase",e)}const Z_=yr("MuiButtonBase",["root","disabled","focusVisible"]),Q_=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J_=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=gr({root:["root",t&&"disabled",n&&"focusVisible"]},X_,o);return n&&r&&(a.root+=` ${r}`),a},eB=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Z_.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ad=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:a,className:c,component:u="button",disabled:d=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:m=!1,LinkComponent:v="a",onBlur:b,onClick:x,onContextMenu:w,onDragLeave:I,onFocus:M,onFocusVisible:E,onKeyDown:j,onKeyUp:P,onMouseDown:F,onMouseLeave:k,onMouseUp:$,onTouchEnd:G,onTouchMove:J,onTouchStart:U,tabIndex:ae=0,TouchRippleProps:se,touchRippleRef:Z,type:X}=r,W=He(r,Q_),K=_.useRef(null),B=_.useRef(null),ne=Pn(B,Z),{isFocusVisibleRef:V,onFocus:q,onBlur:ue,ref:pe}=um(),[de,he]=_.useState(!1);d&&de&&he(!1),_.useImperativeHandle(o,()=>({focusVisible:()=>{he(!0),K.current.focus()}}),[]);const[me,Ae]=_.useState(!1);_.useEffect(()=>{Ae(!0)},[]);const xe=me&&!h&&!d;_.useEffect(()=>{de&&m&&!h&&me&&B.current.pulsate()},[h,m,de,me]);function ye(be,ft,Nt=g){return Ai(_e=>(ft&&ft(_e),!Nt&&B.current&&B.current[be](_e),!0))}const Ce=ye("start",F),Ee=ye("stop",w),ce=ye("stop",I),Xe=ye("stop",$),ge=ye("stop",be=>{de&&be.preventDefault(),k&&k(be)}),Ke=ye("start",U),Jt=ye("stop",G),St=ye("stop",J),gt=ye("stop",be=>{ue(be),V.current===!1&&he(!1),b&&b(be)},!1),Mn=Ai(be=>{K.current||(K.current=be.currentTarget),q(be),V.current===!0&&(he(!0),E&&E(be)),M&&M(be)}),Tt=()=>{const be=K.current;return u&&u!=="button"&&!(be.tagName==="A"&&be.href)},mt=_.useRef(!1),Ut=Ai(be=>{m&&!mt.current&&de&&B.current&&be.key===" "&&(mt.current=!0,B.current.stop(be,()=>{B.current.start(be)})),be.target===be.currentTarget&&Tt()&&be.key===" "&&be.preventDefault(),j&&j(be),be.target===be.currentTarget&&Tt()&&be.key==="Enter"&&!d&&(be.preventDefault(),x&&x(be))}),vt=Ai(be=>{m&&be.key===" "&&B.current&&de&&!be.defaultPrevented&&(mt.current=!1,B.current.stop(be,()=>{B.current.pulsate(be)})),P&&P(be),x&&be.target===be.currentTarget&&Tt()&&be.key===" "&&!be.defaultPrevented&&x(be)});let Bt=u;Bt==="button"&&(W.href||W.to)&&(Bt=v);const Et={};Bt==="button"?(Et.type=X===void 0?"button":X,Et.disabled=d):(!W.href&&!W.to&&(Et.role="button"),d&&(Et["aria-disabled"]=d));const ke=Pn(n,pe,K);process.env.NODE_ENV!=="production"&&_.useEffect(()=>{xe&&!B.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
146
+ `))},[xe]);const Fe=Y({},r,{centerRipple:s,component:u,disabled:d,disableRipple:h,disableTouchRipple:g,focusRipple:m,tabIndex:ae,focusVisible:de}),Ie=J_(Fe);return f.jsxs(eB,Y({as:Bt,className:lt(Ie.root,c),ownerState:Fe,onBlur:gt,onClick:x,onContextMenu:Ee,onFocus:Mn,onKeyDown:Ut,onKeyUp:vt,onMouseDown:Ce,onMouseLeave:ge,onMouseUp:Xe,onDragLeave:ce,onTouchEnd:Jt,onTouchMove:St,onTouchStart:Ke,ref:ke,tabIndex:d?-1:ae,type:X},Et,W,{children:[a,xe?f.jsx(KA,Y({ref:ne,center:s},se)):null]}))});process.env.NODE_ENV!=="production"&&(Ad.propTypes={action:xd,centerRipple:C.bool,children:C.node,classes:C.object,className:C.string,component:OL,disabled:C.bool,disableRipple:C.bool,disableTouchRipple:C.bool,focusRipple:C.bool,focusVisibleClassName:C.string,href:C.any,LinkComponent:C.elementType,onBlur:C.func,onClick:C.func,onContextMenu:C.func,onDragLeave:C.func,onFocus:C.func,onFocusVisible:C.func,onKeyDown:C.func,onKeyUp:C.func,onMouseDown:C.func,onMouseLeave:C.func,onMouseUp:C.func,onTouchEnd:C.func,onTouchMove:C.func,onTouchStart:C.func,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),tabIndex:C.number,TouchRippleProps:C.object,touchRippleRef:C.oneOfType([C.func,C.shape({current:C.shape({pulsate:C.func.isRequired,start:C.func.isRequired,stop:C.func.isRequired})})]),type:C.oneOfType([C.oneOf(["button","reset","submit"]),C.string])});const tB=["slots","slotProps"],nB=fe(Ad)(({theme:e})=>Y({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Y({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Y({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:bx(e.palette.grey[200],.12)}:{backgroundColor:bx(e.palette.grey[600],.12)})})),rB=fe(F_)({width:24,height:16});function XA(e){const{slots:t={},slotProps:n={}}=e,r=He(e,tB),o=e;return f.jsx("li",{children:f.jsx(nB,Y({focusRipple:!0},r,{ownerState:o,children:f.jsx(rB,Y({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(XA.propTypes={slotProps:C.shape({collapsedIcon:C.oneOfType([C.func,C.object])}),slots:C.shape({CollapsedIcon:C.elementType}),sx:C.object});function oB(e){return qn("MuiBreadcrumbs",e)}const iB=yr("MuiBreadcrumbs",["root","ol","li","separator"]),sB=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],aB=e=>{const{classes:t}=e;return gr({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},oB,t)},lB=fe(qA,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${iB.li}`]:t.li},t.root]})({}),cB=fe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),uB=fe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function dB(e,t,n,r){return e.reduce((o,s,a)=>(a<e.length-1?o=o.concat(s,f.jsx(uB,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(s),o),[])}const ou=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiBreadcrumbs"}),{children:o,className:s,component:a="nav",slots:c={},slotProps:u={},expandText:d="Show path",itemsAfterCollapse:h=1,itemsBeforeCollapse:g=1,maxItems:m=8,separator:v="/"}=r,b=He(r,sB),[x,w]=_.useState(!1),I=Y({},r,{component:a,expanded:x,expandText:d,itemsAfterCollapse:h,itemsBeforeCollapse:g,maxItems:m,separator:v}),M=aB(I),E=BA({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:I}),j=_.useRef(null),P=k=>{const $=()=>{w(!0);const G=j.current.querySelector("a[href],button,[tabindex]");G&&G.focus()};return g+h>=k.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${h}} + itemsBeforeCollapse={${g}} >= maxItems={${m}}`].join(`
147
147
  `)),k):[...k.slice(0,g),f.jsx(XA,{"aria-label":d,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:E},onClick:$},"ellipsis"),...k.slice(k.length-h,k.length)]},F=_.Children.toArray(o).filter(k=>(process.env.NODE_ENV!=="production"&&Ch.isFragment(k)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
148
- `)),_.isValidElement(k))).map((k,$)=>f.jsx("li",{className:M.li,children:k},`child-${$}`));return f.jsx(lB,Y({ref:n,component:a,color:"text.secondary",className:lt(M.root,s),ownerState:I},x,{children:f.jsx(cB,{className:M.ol,ref:j,ownerState:I,children:dB(y||m&&F.length<=m?F:P(F),M.separator,v,I)})}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={children:C.node,classes:C.object,className:C.string,component:C.elementType,expandText:C.string,itemsAfterCollapse:Bp,itemsBeforeCollapse:Bp,maxItems:Bp,separator:C.node,slotProps:C.shape({collapsedIcon:C.oneOfType([C.func,C.object])}),slots:C.shape({CollapsedIcon:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object])});function fB({id:e,title:t,icon:n,url:r,last:o}){const s=n||qe.ApartmentOutlined;return f.jsxs(A.Typography,{component:dt.Link,to:r,variant:o?"subtitle1":"h6",sx:{textDecoration:"none",display:"inline-flex",alignItems:"center"},color:"textSecondary",children:[n?f.jsx(s,{style:{marginRight:8,fontSize:"0.875rem"}}):null,t]},e)}function ZA({home:e="Home",card:t,divider:n=!0,icon:r,icons:o,maxItems:s,navigation:a,rightAlign:c,separator:u,title:d,titleBottom:h,sx:g,breadcrumbs:m,mode:v="navigation",...x}){const y=Gt(),w=dt.useLocation(),[I,M]=T.useState(),[E,j]=T.useState(),P=w.pathname,F={marginRight:y.spacing(.75),marginTop:`-${y.spacing(.25)}`,width:"1rem",height:"1rem",color:y.palette.secondary.main};function k(K){K.children&&K.children.filter(B=>(B.type&&B.type==="collapse"?(k(B),B.url===P&&(M(B),j(B))):B.type&&B.type==="item"&&P.includes(B.url)&&(M(K),j(B)),!1))}T.useEffect(()=>{var K;(K=a==null?void 0:a.items)==null||K.map(B=>(B.type&&B.type==="group"&&k(B),!1))});const $=u,G=u?f.jsx($,{style:{fontSize:"0.75rem",marginTop:2}}):"/",J={mb:2,bgcolor:t===!1?"transparent":"inherit",...g,[y.breakpoints.down("sm")]:{mb:1}};let U,ae,se=f.jsx(A.Typography,{}),Z="",X,W;return v==="breadcrumbs"?f.jsxs(zn,{border:t,sx:J,...x,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(A.Grid,{item:!0,children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null,f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,sx:{[y.breakpoints.down("sm")]:{mt:1}},children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),m.map(fB)]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]}):(I&&I.type==="collapse"&&I.breadcrumbs===!0&&(X=I.icon?I.icon:qe.ApartmentOutlined,U=f.jsxs(A.Typography,{component:dt.Link,to:(E==null?void 0:E.url)||document.location.pathname,variant:"h6",sx:{textDecoration:"none"},color:"textSecondary",children:[o?f.jsx(X,{style:F}):null,I.title]}),se=f.jsxs(zn,{border:t,sx:J,...x,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),U]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:I.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]})),E&&E.type==="item"&&(Z=E.title,W=E.icon?E.icon:qe.ApartmentOutlined,ae=f.jsxs(A.Typography,{variant:"subtitle1",color:"textPrimary",component:dt.Link,to:E.url,sx:{textDecoration:"none"},children:[o?f.jsx(W,{style:F}):null,Z]}),E.breadcrumbs!==!1&&(se=f.jsxs(zn,{border:t,sx:{mb:3,bgcolor:t===!1?"transparent":"inherit",...g,[y.breakpoints.down("sm")]:{mb:1}},...x,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(A.Grid,{item:!0,children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null,f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),U,ae]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]}))),se)}function mm({color:e,size:t,variant:n,sx:r}){const o=Gt(),s=Qt(o,e),{main:a}=s;return f.jsx(A.Box,{component:"span",sx:{width:t||8,height:t||8,borderRadius:"50%",bgcolor:n==="outlined"?"":a,...n==="outlined"&&{border:`1px solid ${a}`},...r}})}function zs(e,t){switch(t){case"secondary":return e.customShadows.secondary;case"error":return e.customShadows.error;case"warning":return e.customShadows.warning;case"info":return e.customShadows.info;case"success":return e.customShadows.success;case"primaryButton":return e.customShadows.primaryButton;case"secondaryButton":return e.customShadows.secondaryButton;case"errorButton":return e.customShadows.errorButton;case"warningButton":return e.customShadows.warningButton;case"infoButton":return e.customShadows.infoButton;case"successButton":return e.customShadows.successButton;default:return e.customShadows.primary}}function pB(e){return qn("MuiIconButton",e)}const hB=yr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),gB=["edge","children","className","color","disabled","disableFocusRipple","size"],mB=e=>{const{classes:t,disabled:n,color:r,edge:o,size:s}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ze(r)}`,o&&`edge${ze(o)}`,`size${ze(s)}`]};return gr(a,pB,t)},vB=fe(Ad,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ze(n.color)}`],n.edge&&t[`edge${ze(n.edge)}`],t[`size${ze(n.size)}`]]}})(({theme:e,ownerState:t})=>Y({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return Y({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Y({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":Y({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${hB.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),vm=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:s,className:a,color:c="default",disabled:u=!1,disableFocusRipple:d=!1,size:h="medium"}=r,g=He(r,gB),m=Y({},r,{edge:o,color:c,disabled:u,disableFocusRipple:d,size:h}),v=mB(m);return f.jsx(vB,Y({className:lt(v.root,a),centerRipple:!0,focusRipple:!d,disabled:u,ref:n},g,{ownerState:m,children:s}))});process.env.NODE_ENV!=="production"&&(vm.propTypes={children:Yo(C.node,e=>_.Children.toArray(e.children).some(n=>_.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
148
+ `)),_.isValidElement(k))).map((k,$)=>f.jsx("li",{className:M.li,children:k},`child-${$}`));return f.jsx(lB,Y({ref:n,component:a,color:"text.secondary",className:lt(M.root,s),ownerState:I},b,{children:f.jsx(cB,{className:M.ol,ref:j,ownerState:I,children:dB(x||m&&F.length<=m?F:P(F),M.separator,v,I)})}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={children:C.node,classes:C.object,className:C.string,component:C.elementType,expandText:C.string,itemsAfterCollapse:Bp,itemsBeforeCollapse:Bp,maxItems:Bp,separator:C.node,slotProps:C.shape({collapsedIcon:C.oneOfType([C.func,C.object])}),slots:C.shape({CollapsedIcon:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object])});function fB({id:e,title:t,icon:n,url:r,last:o}){const s=n||qe.ApartmentOutlined;return f.jsxs(A.Typography,{component:dt.Link,to:r,variant:o?"subtitle1":"h6",sx:{textDecoration:"none",display:"inline-flex",alignItems:"center"},color:"textSecondary",children:[n?f.jsx(s,{style:{marginRight:8,fontSize:"0.875rem"}}):null,t]},e)}function ZA({home:e="Home",card:t,divider:n=!0,icon:r,icons:o,maxItems:s,navigation:a,rightAlign:c,separator:u,title:d,titleBottom:h,sx:g,breadcrumbs:m,mode:v="navigation",...b}){const x=Gt(),w=dt.useLocation(),[I,M]=T.useState(),[E,j]=T.useState(),P=w.pathname,F={marginRight:x.spacing(.75),marginTop:`-${x.spacing(.25)}`,width:"1rem",height:"1rem",color:x.palette.secondary.main};function k(K){K.children&&K.children.filter(B=>(B.type&&B.type==="collapse"?(k(B),B.url===P&&(M(B),j(B))):B.type&&B.type==="item"&&P.includes(B.url)&&(M(K),j(B)),!1))}T.useEffect(()=>{var K;(K=a==null?void 0:a.items)==null||K.map(B=>(B.type&&B.type==="group"&&k(B),!1))});const $=u,G=u?f.jsx($,{style:{fontSize:"0.75rem",marginTop:2}}):"/",J={mb:2,bgcolor:t===!1?"transparent":"inherit",...g,[x.breakpoints.down("sm")]:{mb:1}};let U,ae,se=f.jsx(A.Typography,{}),Z="",X,W;return v==="breadcrumbs"?f.jsxs(zn,{border:t,sx:J,...b,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(A.Grid,{item:!0,children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null,f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,sx:{[x.breakpoints.down("sm")]:{mt:1}},children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),m.map(fB)]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]}):(I&&I.type==="collapse"&&I.breadcrumbs===!0&&(X=I.icon?I.icon:qe.ApartmentOutlined,U=f.jsxs(A.Typography,{component:dt.Link,to:(E==null?void 0:E.url)||document.location.pathname,variant:"h6",sx:{textDecoration:"none"},color:"textSecondary",children:[o?f.jsx(X,{style:F}):null,I.title]}),se=f.jsxs(zn,{border:t,sx:J,...b,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),U]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:I.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]})),E&&E.type==="item"&&(Z=E.title,W=E.icon?E.icon:qe.ApartmentOutlined,ae=f.jsxs(A.Typography,{variant:"subtitle1",color:"textPrimary",component:dt.Link,to:E.url,sx:{textDecoration:"none"},children:[o?f.jsx(W,{style:F}):null,Z]}),E.breadcrumbs!==!1&&(se=f.jsxs(zn,{border:t,sx:{mb:3,bgcolor:t===!1?"transparent":"inherit",...g,[x.breakpoints.down("sm")]:{mb:1}},...b,content:t,shadow:"none",children:[f.jsxs(A.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(A.Grid,{item:!0,children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null,f.jsx(A.Grid,{item:!0,children:f.jsxs(ou,{"aria-label":"breadcrumb",maxItems:s||8,separator:G,children:[e!==!1&&f.jsxs(A.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(qe.HomeOutlined,{style:F}):null,r&&!o?f.jsx(qe.HomeFilled,{style:{...F,marginRight:0}}):null,!r||o?e:null]}),U,ae]})}),d&&h?f.jsx(A.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(A.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(A.Divider,{sx:{mt:2}})]}))),se)}function mm({color:e,size:t,variant:n,sx:r}){const o=Gt(),s=Qt(o,e),{main:a}=s;return f.jsx(A.Box,{component:"span",sx:{width:t||8,height:t||8,borderRadius:"50%",bgcolor:n==="outlined"?"":a,...n==="outlined"&&{border:`1px solid ${a}`},...r}})}function zs(e,t){switch(t){case"secondary":return e.customShadows.secondary;case"error":return e.customShadows.error;case"warning":return e.customShadows.warning;case"info":return e.customShadows.info;case"success":return e.customShadows.success;case"primaryButton":return e.customShadows.primaryButton;case"secondaryButton":return e.customShadows.secondaryButton;case"errorButton":return e.customShadows.errorButton;case"warningButton":return e.customShadows.warningButton;case"infoButton":return e.customShadows.infoButton;case"successButton":return e.customShadows.successButton;default:return e.customShadows.primary}}function pB(e){return qn("MuiIconButton",e)}const hB=yr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),gB=["edge","children","className","color","disabled","disableFocusRipple","size"],mB=e=>{const{classes:t,disabled:n,color:r,edge:o,size:s}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ze(r)}`,o&&`edge${ze(o)}`,`size${ze(s)}`]};return gr(a,pB,t)},vB=fe(Ad,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ze(n.color)}`],n.edge&&t[`edge${ze(n.edge)}`],t[`size${ze(n.size)}`]]}})(({theme:e,ownerState:t})=>Y({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return Y({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Y({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":Y({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${hB.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),vm=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:s,className:a,color:c="default",disabled:u=!1,disableFocusRipple:d=!1,size:h="medium"}=r,g=He(r,gB),m=Y({},r,{edge:o,color:c,disabled:u,disableFocusRipple:d,size:h}),v=mB(m);return f.jsx(vB,Y({className:lt(v.root,a),centerRipple:!0,focusRipple:!d,disabled:u,ref:n},g,{ownerState:m,children:s}))});process.env.NODE_ENV!=="production"&&(vm.propTypes={children:Yo(C.node,e=>_.Children.toArray(e.children).some(n=>_.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
149
149
  `)):null),classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),C.string]),disabled:C.bool,disableFocusRipple:C.bool,disableRipple:C.bool,edge:C.oneOf(["end","start",!1]),size:C.oneOfType([C.oneOf(["small","medium","large"]),C.string]),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object])});function yB({variant:e,theme:t,color:n}){const r=Qt(t,n),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d=`${n}Button`,h=zs(t,d),g={"&::after":{boxShadow:`0 0 6px 6px ${tt(c,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(c,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:a},...g};case"light":return{color:c,backgroundColor:o,"&:hover":{backgroundColor:s},...g};case"shadow":return{boxShadow:h,color:u,backgroundColor:c,"&:hover":{boxShadow:"none",backgroundColor:a},...g};case"outlined":return{"&:hover":{backgroundColor:"transparent",color:a,borderColor:a},...g};case"dashed":return{backgroundColor:o,"&:hover":{color:a,borderColor:a},...g};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...g}}}const bB=fe(vm,{shouldForwardProp:e=>e!=="variant"&&e!=="shape"})(({theme:e,variant:t,shape:n,color:r})=>({position:"relative","::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...n==="rounded"&&{borderRadius:"50%"},...t==="outlined"&&{border:"1px solid",borderColor:"inherit"},...t==="dashed"&&{border:"1px dashed",borderColor:"inherit"},...t!=="text"&&{"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},...yB({variant:t,theme:e,color:r})})),Sd=T.forwardRef(({variant:e="text",shape:t="square",children:n,color:r="primary",...o},s)=>{const a=Gt();return f.jsx(bB,{ref:s,disableRipple:!0,variant:e,shape:t,theme:a,color:r,...o,children:n})}),xB={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
150
- `)),gA.configure(e)}},CB=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ze,createChainedFunction:jL,createSvgIcon:am,debounce:RL,deprecatedPropType:ML,isMuiElement:kL,ownerDocument:Ds,ownerWindow:FL,requirePropFactory:DL,setRef:Fs,unstable_ClassNameGenerator:xB,unstable_useEnhancedEffect:Wr,unstable_useId:cm,unsupportedProp:_L,useControlled:FA,useEventCallback:Ai,useForkRef:Pn,useIsFocusVisible:um},Symbol.toStringTag,{value:"Module"}));function wB(e){return typeof e=="string"}function AB(e,t,n){return e===void 0||wB(e)?t:Y({},t,{ownerState:Y({},t.ownerState,n)})}const SB={disableDefaultClasses:!1},TB=_.createContext(SB);function EB(e){const{disableDefaultClasses:t}=_.useContext(TB);return n=>t?"":e(n)}function IB(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function OB(e,t,n){return typeof e=="function"?e(t,n):e}function Yx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function PB(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(o==null?void 0:o.className,r==null?void 0:r.className,s,n==null?void 0:n.className),x=Y({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=Y({},n,o,r);return v.length>0&&(y.className=v),Object.keys(x).length>0&&(y.style=x),{props:y,internalRef:void 0}}const a=IB(Y({},o,r)),c=Yx(r),u=Yx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Y({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Y({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const jB=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function RB(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=He(e,jB),c=s?{}:OB(r,o),{props:u,internalRef:d}=PB(Y({},a,{externalSlotProps:c})),h=Pn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return AB(n,Y({},u,{ref:h}),o)}var Sn="top",fr="bottom",pr="right",Tn="left",ym="auto",Al=[Sn,fr,pr,Tn],Ls="start",el="end",MB="clippingParents",QA="viewport",Ta="popper",kB="reference",Kx=Al.reduce(function(e,t){return e.concat([t+"-"+Ls,t+"-"+el])},[]),JA=[].concat(Al,[ym]).reduce(function(e,t){return e.concat([t,t+"-"+Ls,t+"-"+el])},[]),FB="beforeRead",DB="read",LB="afterRead",_B="beforeMain",BB="main",NB="afterMain",VB="beforeWrite",WB="write",$B="afterWrite",zB=[FB,DB,LB,_B,BB,NB,VB,WB,$B];function $r(e){return e?(e.nodeName||"").toLowerCase():null}function Gn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mi(e){var t=Gn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Gn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function bm(e){if(typeof ShadowRoot>"u")return!1;var t=Gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function UB(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!ur(s)||!$r(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(a){var c=o[a];c===!1?s.removeAttribute(a):s.setAttribute(a,c===!0?"":c)}))})}function HB(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=a.reduce(function(u,d){return u[d]="",u},{});!ur(o)||!$r(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const GB={name:"applyStyles",enabled:!0,phase:"write",fn:UB,effect:HB,requires:["computeStyles"]};function Vr(e){return e.split("-")[0]}var Ii=Math.max,Pu=Math.min,_s=Math.round;function Ph(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function eS(){return!/^((?!chrome|android).)*safari/i.test(Ph())}function Bs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&ur(e)&&(o=e.offsetWidth>0&&_s(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&_s(r.height)/e.offsetHeight||1);var a=Mi(e)?Gn(e):window,c=a.visualViewport,u=!eS()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/o,h=(r.top+(u&&c?c.offsetTop:0))/s,g=r.width/o,m=r.height/s;return{width:g,height:m,top:h,right:d+g,bottom:h+m,left:d,x:d,y:h}}function xm(e){var t=Bs(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function tS(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bm(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function po(e){return Gn(e).getComputedStyle(e)}function qB(e){return["table","td","th"].indexOf($r(e))>=0}function Ko(e){return((Mi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Td(e){return $r(e)==="html"?e:e.assignedSlot||e.parentNode||(bm(e)?e.host:null)||Ko(e)}function Xx(e){return!ur(e)||po(e).position==="fixed"?null:e.offsetParent}function YB(e){var t=/firefox/i.test(Ph()),n=/Trident/i.test(Ph());if(n&&ur(e)){var r=po(e);if(r.position==="fixed")return null}var o=Td(e);for(bm(o)&&(o=o.host);ur(o)&&["html","body"].indexOf($r(o))<0;){var s=po(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Sl(e){for(var t=Gn(e),n=Xx(e);n&&qB(n)&&po(n).position==="static";)n=Xx(n);return n&&($r(n)==="html"||$r(n)==="body"&&po(n).position==="static")?t:n||YB(e)||t}function Cm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Va(e,t,n){return Ii(e,Pu(t,n))}function KB(e,t,n){var r=Va(e,t,n);return r>n?n:r}function nS(){return{top:0,right:0,bottom:0,left:0}}function rS(e){return Object.assign({},nS(),e)}function oS(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var XB=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,rS(typeof t!="number"?t:oS(t,Al))};function ZB(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Vr(n.placement),u=Cm(c),d=[Tn,pr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=XB(o.padding,n),m=xm(s),v=u==="y"?Sn:Tn,x=u==="y"?fr:pr,y=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],w=a[u]-n.rects.reference[u],I=Sl(s),M=I?u==="y"?I.clientHeight||0:I.clientWidth||0:0,E=y/2-w/2,j=g[v],P=M-m[h]-g[x],F=M/2-m[h]/2+E,k=Va(j,F,P),$=u;n.modifiersData[r]=(t={},t[$]=k,t.centerOffset=k-F,t)}}function QB(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||tS(t.elements.popper,o)&&(t.elements.arrow=o))}const JB={name:"arrow",enabled:!0,phase:"main",fn:ZB,effect:QB,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ns(e){return e.split("-")[1]}var e7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function t7(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:_s(n*o)/o||0,y:_s(r*o)/o||0}}function Zx(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,g=e.isFixed,m=a.x,v=m===void 0?0:m,x=a.y,y=x===void 0?0:x,w=typeof h=="function"?h({x:v,y}):{x:v,y};v=w.x,y=w.y;var I=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),E=Tn,j=Sn,P=window;if(d){var F=Sl(n),k="clientHeight",$="clientWidth";if(F===Gn(n)&&(F=Ko(n),po(F).position!=="static"&&c==="absolute"&&(k="scrollHeight",$="scrollWidth")),F=F,o===Sn||(o===Tn||o===pr)&&s===el){j=fr;var G=g&&F===P&&P.visualViewport?P.visualViewport.height:F[k];y-=G-r.height,y*=u?1:-1}if(o===Tn||(o===Sn||o===fr)&&s===el){E=pr;var J=g&&F===P&&P.visualViewport?P.visualViewport.width:F[$];v-=J-r.width,v*=u?1:-1}}var U=Object.assign({position:c},d&&e7),ae=h===!0?t7({x:v,y},Gn(n)):{x:v,y};if(v=ae.x,y=ae.y,u){var se;return Object.assign({},U,(se={},se[j]=M?"0":"",se[E]=I?"0":"",se.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",se))}return Object.assign({},U,(t={},t[j]=M?y+"px":"",t[E]=I?v+"px":"",t.transform="",t))}function n7(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,c=n.roundOffsets,u=c===void 0?!0:c,d={placement:Vr(t.placement),variation:Ns(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Zx(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Zx(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const r7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n7,data:{}};var Wc={passive:!0};function o7(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,a=r.resize,c=a===void 0?!0:a,u=Gn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",n.update,Wc)}),c&&u.addEventListener("resize",n.update,Wc),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",n.update,Wc)}),c&&u.removeEventListener("resize",n.update,Wc)}}const i7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:o7,data:{}};var s7={left:"right",right:"left",bottom:"top",top:"bottom"};function iu(e){return e.replace(/left|right|bottom|top/g,function(t){return s7[t]})}var a7={start:"end",end:"start"};function Qx(e){return e.replace(/start|end/g,function(t){return a7[t]})}function wm(e){var t=Gn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Am(e){return Bs(Ko(e)).left+wm(e).scrollLeft}function l7(e,t){var n=Gn(e),r=Ko(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){s=o.width,a=o.height;var d=eS();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Am(e),y:u}}function c7(e){var t,n=Ko(e),r=wm(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=Ii(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ii(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Am(e),u=-r.scrollTop;return po(o||n).direction==="rtl"&&(c+=Ii(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Sm(e){var t=po(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function iS(e){return["html","body","#document"].indexOf($r(e))>=0?e.ownerDocument.body:ur(e)&&Sm(e)?e:iS(Td(e))}function Wa(e,t){var n;t===void 0&&(t=[]);var r=iS(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Gn(r),a=o?[s].concat(s.visualViewport||[],Sm(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Wa(Td(a)))}function jh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function u7(e,t){var n=Bs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Jx(e,t,n){return t===QA?jh(l7(e,n)):Mi(t)?u7(t,n):jh(c7(Ko(e)))}function d7(e){var t=Wa(Td(e)),n=["absolute","fixed"].indexOf(po(e).position)>=0,r=n&&ur(e)?Sl(e):e;return Mi(r)?t.filter(function(o){return Mi(o)&&tS(o,r)&&$r(o)!=="body"}):[]}function f7(e,t,n,r){var o=t==="clippingParents"?d7(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=Jx(e,d,r);return u.top=Ii(h.top,u.top),u.right=Pu(h.right,u.right),u.bottom=Pu(h.bottom,u.bottom),u.left=Ii(h.left,u.left),u},Jx(e,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sS(e){var t=e.reference,n=e.element,r=e.placement,o=r?Vr(r):null,s=r?Ns(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Sn:u={x:a,y:t.y-n.height};break;case fr:u={x:a,y:t.y+t.height};break;case pr:u={x:t.x+t.width,y:c};break;case Tn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Cm(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(s){case Ls:u[d]=u[d]-(t[h]/2-n[h]/2);break;case el:u[d]=u[d]+(t[h]/2-n[h]/2);break}}return u}function tl(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,c=n.boundary,u=c===void 0?MB:c,d=n.rootBoundary,h=d===void 0?QA:d,g=n.elementContext,m=g===void 0?Ta:g,v=n.altBoundary,x=v===void 0?!1:v,y=n.padding,w=y===void 0?0:y,I=rS(typeof w!="number"?w:oS(w,Al)),M=m===Ta?kB:Ta,E=e.rects.popper,j=e.elements[x?M:m],P=f7(Mi(j)?j:j.contextElement||Ko(e.elements.popper),u,h,a),F=Bs(e.elements.reference),k=sS({reference:F,element:E,strategy:"absolute",placement:o}),$=jh(Object.assign({},E,k)),G=m===Ta?$:F,J={top:P.top-G.top+I.top,bottom:G.bottom-P.bottom+I.bottom,left:P.left-G.left+I.left,right:G.right-P.right+I.right},U=e.modifiersData.offset;if(m===Ta&&U){var ae=U[o];Object.keys(J).forEach(function(se){var Z=[pr,fr].indexOf(se)>=0?1:-1,X=[Sn,fr].indexOf(se)>=0?"y":"x";J[se]+=ae[X]*Z})}return J}function p7(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,a=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?JA:u,h=Ns(r),g=h?c?Kx:Kx.filter(function(x){return Ns(x)===h}):Al,m=g.filter(function(x){return d.indexOf(x)>=0});m.length===0&&(m=g);var v=m.reduce(function(x,y){return x[y]=tl(e,{placement:y,boundary:o,rootBoundary:s,padding:a})[Vr(y)],x},{});return Object.keys(v).sort(function(x,y){return v[x]-v[y]})}function h7(e){if(Vr(e)===ym)return[];var t=iu(e);return[Qx(e),t,Qx(t)]}function g7(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,h=n.boundary,g=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,x=v===void 0?!0:v,y=n.allowedAutoPlacements,w=t.options.placement,I=Vr(w),M=I===w,E=u||(M||!x?[iu(w)]:h7(w)),j=[w].concat(E).reduce(function(de,he){return de.concat(Vr(he)===ym?p7(t,{placement:he,boundary:h,rootBoundary:g,padding:d,flipVariations:x,allowedAutoPlacements:y}):he)},[]),P=t.rects.reference,F=t.rects.popper,k=new Map,$=!0,G=j[0],J=0;J<j.length;J++){var U=j[J],ae=Vr(U),se=Ns(U)===Ls,Z=[Sn,fr].indexOf(ae)>=0,X=Z?"width":"height",W=tl(t,{placement:U,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),K=Z?se?pr:Tn:se?fr:Sn;P[X]>F[X]&&(K=iu(K));var B=iu(K),ne=[];if(s&&ne.push(W[ae]<=0),c&&ne.push(W[K]<=0,W[B]<=0),ne.every(function(de){return de})){G=U,$=!1;break}k.set(U,ne)}if($)for(var V=x?3:1,q=function(he){var me=j.find(function(Ae){var xe=k.get(Ae);if(xe)return xe.slice(0,he).every(function(ye){return ye})});if(me)return G=me,"break"},ue=V;ue>0;ue--){var pe=q(ue);if(pe==="break")break}t.placement!==G&&(t.modifiersData[r]._skip=!0,t.placement=G,t.reset=!0)}}const m7={name:"flip",enabled:!0,phase:"main",fn:g7,requiresIfExists:["offset"],data:{_skip:!1}};function e1(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function t1(e){return[Sn,pr,fr,Tn].some(function(t){return e[t]>=0})}function v7(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=tl(t,{elementContext:"reference"}),c=tl(t,{altBoundary:!0}),u=e1(a,r),d=e1(c,o,s),h=t1(u),g=t1(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const y7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:v7};function b7(e,t,n){var r=Vr(e),o=[Tn,Sn].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],c=s[1];return a=a||0,c=(c||0)*o,[Tn,pr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function x7(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=JA.reduce(function(h,g){return h[g]=b7(g,t.rects,s),h},{}),c=a[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const C7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:x7};function w7(e){var t=e.state,n=e.name;t.modifiersData[n]=sS({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const A7={name:"popperOffsets",enabled:!0,phase:"read",fn:w7,data:{}};function S7(e){return e==="x"?"y":"x"}function T7(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,g=n.padding,m=n.tether,v=m===void 0?!0:m,x=n.tetherOffset,y=x===void 0?0:x,w=tl(t,{boundary:u,rootBoundary:d,padding:g,altBoundary:h}),I=Vr(t.placement),M=Ns(t.placement),E=!M,j=Cm(I),P=S7(j),F=t.modifiersData.popperOffsets,k=t.rects.reference,$=t.rects.popper,G=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,J=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ae={x:0,y:0};if(F){if(s){var se,Z=j==="y"?Sn:Tn,X=j==="y"?fr:pr,W=j==="y"?"height":"width",K=F[j],B=K+w[Z],ne=K-w[X],V=v?-$[W]/2:0,q=M===Ls?k[W]:$[W],ue=M===Ls?-$[W]:-k[W],pe=t.elements.arrow,de=v&&pe?xm(pe):{width:0,height:0},he=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nS(),me=he[Z],Ae=he[X],xe=Va(0,k[W],de[W]),ye=E?k[W]/2-V-xe-me-J.mainAxis:q-xe-me-J.mainAxis,Ce=E?-k[W]/2+V+xe+Ae+J.mainAxis:ue+xe+Ae+J.mainAxis,Ee=t.elements.arrow&&Sl(t.elements.arrow),ce=Ee?j==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,Xe=(se=U==null?void 0:U[j])!=null?se:0,ge=K+ye-Xe-ce,Ke=K+Ce-Xe,Jt=Va(v?Pu(B,ge):B,K,v?Ii(ne,Ke):ne);F[j]=Jt,ae[j]=Jt-K}if(c){var St,gt=j==="x"?Sn:Tn,Mn=j==="x"?fr:pr,Tt=F[P],mt=P==="y"?"height":"width",Ut=Tt+w[gt],vt=Tt-w[Mn],Bt=[Sn,Tn].indexOf(I)!==-1,Et=(St=U==null?void 0:U[P])!=null?St:0,ke=Bt?Ut:Tt-k[mt]-$[mt]-Et+J.altAxis,Fe=Bt?Tt+k[mt]+$[mt]-Et-J.altAxis:vt,Ie=v&&Bt?KB(ke,Tt,Fe):Va(v?ke:Ut,Tt,v?Fe:vt);F[P]=Ie,ae[P]=Ie-Tt}t.modifiersData[r]=ae}}const E7={name:"preventOverflow",enabled:!0,phase:"main",fn:T7,requiresIfExists:["offset"]};function I7(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function O7(e){return e===Gn(e)||!ur(e)?wm(e):I7(e)}function P7(e){var t=e.getBoundingClientRect(),n=_s(t.width)/e.offsetWidth||1,r=_s(t.height)/e.offsetHeight||1;return n!==1||r!==1}function j7(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&P7(t),s=Ko(t),a=Bs(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(($r(t)!=="body"||Sm(s))&&(c=O7(t)),ur(t)?(u=Bs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Am(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function R7(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&o(u)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function M7(e){var t=R7(e);return zB.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function k7(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function F7(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var n1={placement:"bottom",modifiers:[],strategy:"absolute"};function r1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function D7(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?n1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},n1,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],m=!1,v={state:h,setOptions:function(I){var M=typeof I=="function"?I(h.options):I;y(),h.options=Object.assign({},s,h.options,M),h.scrollParents={reference:Mi(c)?Wa(c):c.contextElement?Wa(c.contextElement):[],popper:Wa(u)};var E=M7(F7([].concat(r,h.options.modifiers)));return h.orderedModifiers=E.filter(function(j){return j.enabled}),x(),v.update()},forceUpdate:function(){if(!m){var I=h.elements,M=I.reference,E=I.popper;if(r1(M,E)){h.rects={reference:j7(M,Sl(E),h.options.strategy==="fixed"),popper:xm(E)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(J){return h.modifiersData[J.name]=Object.assign({},J.data)});for(var j=0;j<h.orderedModifiers.length;j++){if(h.reset===!0){h.reset=!1,j=-1;continue}var P=h.orderedModifiers[j],F=P.fn,k=P.options,$=k===void 0?{}:k,G=P.name;typeof F=="function"&&(h=F({state:h,options:$,name:G,instance:v})||h)}}}},update:k7(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){y(),m=!0}};if(!r1(c,u))return v;v.setOptions(d).then(function(w){!m&&d.onFirstUpdate&&d.onFirstUpdate(w)});function x(){h.orderedModifiers.forEach(function(w){var I=w.name,M=w.options,E=M===void 0?{}:M,j=w.effect;if(typeof j=="function"){var P=j({state:h,name:I,instance:v,options:E}),F=function(){};g.push(P||F)}})}function y(){g.forEach(function(w){return w()}),g=[]}return v}}var L7=[i7,A7,r7,GB,C7,m7,E7,JB,y7],aS=D7({defaultModifiers:L7});function _7(e){return typeof e=="function"?e():e}const ju=_.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=_.useState(null),u=Pn(_.isValidElement(r)?r.ref:null,n);if(Wr(()=>{s||c(_7(o)||document.body)},[o,s]),Wr(()=>{if(a&&!s)return Fs(n,a),()=>{Fs(n,null)}},[n,a,s]),s){if(_.isValidElement(r)){const d={ref:u};return _.cloneElement(r,d)}return f.jsx(_.Fragment,{children:r})}return f.jsx(_.Fragment,{children:a&&TC.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(ju.propTypes={children:C.node,container:C.oneOfType([zo,C.func]),disablePortal:C.bool});process.env.NODE_ENV!=="production"&&(ju.propTypes=bd(ju.propTypes));function B7(e){return qn("MuiPopper",e)}yr("MuiPopper",["root"]);const N7=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],V7=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function W7(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Ru(e){return typeof e=="function"?e():e}function Ed(e){return e.nodeType!==void 0}function $7(e){return!Ed(e)}const z7=()=>gr({root:["root"]},EB(B7)),U7={},H7=_.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:x={},TransitionProps:y}=t,w=He(t,N7),I=_.useRef(null),M=Pn(I,n),E=_.useRef(null),j=Pn(E,m),P=_.useRef(j);Wr(()=>{P.current=j},[j]),_.useImperativeHandle(m,()=>E.current,[]);const F=W7(h,a),[k,$]=_.useState(F),[G,J]=_.useState(Ru(o));_.useEffect(()=>{E.current&&E.current.forceUpdate()}),_.useEffect(()=>{o&&J(Ru(o))},[o]),Wr(()=>{if(!G||!d)return;const X=B=>{$(B.placement)};if(process.env.NODE_ENV!=="production"&&G&&Ed(G)&&G.nodeType===1){const B=G.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
151
- `))}let W=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{X(B)}}];u!=null&&(W=W.concat(u)),g&&g.modifiers!=null&&(W=W.concat(g.modifiers));const K=aS(G,I.current,Y({placement:F},g,{modifiers:W}));return P.current(K),()=>{K.destroy(),P.current(null)}},[G,c,u,d,g,F]);const U={placement:k};y!==null&&(U.TransitionProps=y);const ae=z7(),se=(r=x.root)!=null?r:"div",Z=RB({elementType:se,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:M},ownerState:t,className:ae.root});return f.jsx(se,Y({},Z,{children:typeof s=="function"?s(U):s}))}),lS=_.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=U7,popperRef:v,style:x,transition:y=!1,slotProps:w={},slots:I={}}=t,M=He(t,V7),[E,j]=_.useState(!0),P=()=>{j(!1)},F=()=>{j(!0)};if(!u&&!h&&(!y||E))return null;let k;if(s)k=s;else if(r){const J=Ru(r);k=J&&Ed(J)?Ds(J).body:Ds(null).body}const $=!h&&u&&(!y||E)?"none":void 0,G=y?{in:h,onEnter:P,onExited:F}:void 0;return f.jsx(ju,{disablePortal:c,container:k,children:f.jsx(H7,Y({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:y?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},M,{style:Y({position:"fixed",top:0,left:0,display:$},x),TransitionProps:G,children:o}))})});process.env.NODE_ENV!=="production"&&(lS.propTypes={anchorEl:Yo(C.oneOfType([zo,C.object,C.func]),e=>{if(e.open){const t=Ru(e.anchorEl);if(t&&Ed(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
150
+ `)),gA.configure(e)}},CB=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ze,createChainedFunction:jL,createSvgIcon:am,debounce:RL,deprecatedPropType:ML,isMuiElement:kL,ownerDocument:Ds,ownerWindow:FL,requirePropFactory:DL,setRef:Fs,unstable_ClassNameGenerator:xB,unstable_useEnhancedEffect:Wr,unstable_useId:cm,unsupportedProp:_L,useControlled:FA,useEventCallback:Ai,useForkRef:Pn,useIsFocusVisible:um},Symbol.toStringTag,{value:"Module"}));function wB(e){return typeof e=="string"}function AB(e,t,n){return e===void 0||wB(e)?t:Y({},t,{ownerState:Y({},t.ownerState,n)})}const SB={disableDefaultClasses:!1},TB=_.createContext(SB);function EB(e){const{disableDefaultClasses:t}=_.useContext(TB);return n=>t?"":e(n)}function IB(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function OB(e,t,n){return typeof e=="function"?e(t,n):e}function Yx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function PB(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(o==null?void 0:o.className,r==null?void 0:r.className,s,n==null?void 0:n.className),b=Y({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=Y({},n,o,r);return v.length>0&&(x.className=v),Object.keys(b).length>0&&(x.style=b),{props:x,internalRef:void 0}}const a=IB(Y({},o,r)),c=Yx(r),u=Yx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Y({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Y({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const jB=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function RB(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=He(e,jB),c=s?{}:OB(r,o),{props:u,internalRef:d}=PB(Y({},a,{externalSlotProps:c})),h=Pn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return AB(n,Y({},u,{ref:h}),o)}var Sn="top",fr="bottom",pr="right",Tn="left",ym="auto",Al=[Sn,fr,pr,Tn],Ls="start",el="end",MB="clippingParents",QA="viewport",Ta="popper",kB="reference",Kx=Al.reduce(function(e,t){return e.concat([t+"-"+Ls,t+"-"+el])},[]),JA=[].concat(Al,[ym]).reduce(function(e,t){return e.concat([t,t+"-"+Ls,t+"-"+el])},[]),FB="beforeRead",DB="read",LB="afterRead",_B="beforeMain",BB="main",NB="afterMain",VB="beforeWrite",WB="write",$B="afterWrite",zB=[FB,DB,LB,_B,BB,NB,VB,WB,$B];function $r(e){return e?(e.nodeName||"").toLowerCase():null}function Gn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mi(e){var t=Gn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Gn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function bm(e){if(typeof ShadowRoot>"u")return!1;var t=Gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function UB(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!ur(s)||!$r(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(a){var c=o[a];c===!1?s.removeAttribute(a):s.setAttribute(a,c===!0?"":c)}))})}function HB(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=a.reduce(function(u,d){return u[d]="",u},{});!ur(o)||!$r(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const GB={name:"applyStyles",enabled:!0,phase:"write",fn:UB,effect:HB,requires:["computeStyles"]};function Vr(e){return e.split("-")[0]}var Ii=Math.max,Pu=Math.min,_s=Math.round;function Ph(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function eS(){return!/^((?!chrome|android).)*safari/i.test(Ph())}function Bs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&ur(e)&&(o=e.offsetWidth>0&&_s(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&_s(r.height)/e.offsetHeight||1);var a=Mi(e)?Gn(e):window,c=a.visualViewport,u=!eS()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/o,h=(r.top+(u&&c?c.offsetTop:0))/s,g=r.width/o,m=r.height/s;return{width:g,height:m,top:h,right:d+g,bottom:h+m,left:d,x:d,y:h}}function xm(e){var t=Bs(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function tS(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bm(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function po(e){return Gn(e).getComputedStyle(e)}function qB(e){return["table","td","th"].indexOf($r(e))>=0}function Ko(e){return((Mi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Td(e){return $r(e)==="html"?e:e.assignedSlot||e.parentNode||(bm(e)?e.host:null)||Ko(e)}function Xx(e){return!ur(e)||po(e).position==="fixed"?null:e.offsetParent}function YB(e){var t=/firefox/i.test(Ph()),n=/Trident/i.test(Ph());if(n&&ur(e)){var r=po(e);if(r.position==="fixed")return null}var o=Td(e);for(bm(o)&&(o=o.host);ur(o)&&["html","body"].indexOf($r(o))<0;){var s=po(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Sl(e){for(var t=Gn(e),n=Xx(e);n&&qB(n)&&po(n).position==="static";)n=Xx(n);return n&&($r(n)==="html"||$r(n)==="body"&&po(n).position==="static")?t:n||YB(e)||t}function Cm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Va(e,t,n){return Ii(e,Pu(t,n))}function KB(e,t,n){var r=Va(e,t,n);return r>n?n:r}function nS(){return{top:0,right:0,bottom:0,left:0}}function rS(e){return Object.assign({},nS(),e)}function oS(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var XB=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,rS(typeof t!="number"?t:oS(t,Al))};function ZB(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Vr(n.placement),u=Cm(c),d=[Tn,pr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=XB(o.padding,n),m=xm(s),v=u==="y"?Sn:Tn,b=u==="y"?fr:pr,x=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],w=a[u]-n.rects.reference[u],I=Sl(s),M=I?u==="y"?I.clientHeight||0:I.clientWidth||0:0,E=x/2-w/2,j=g[v],P=M-m[h]-g[b],F=M/2-m[h]/2+E,k=Va(j,F,P),$=u;n.modifiersData[r]=(t={},t[$]=k,t.centerOffset=k-F,t)}}function QB(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||tS(t.elements.popper,o)&&(t.elements.arrow=o))}const JB={name:"arrow",enabled:!0,phase:"main",fn:ZB,effect:QB,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ns(e){return e.split("-")[1]}var e7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function t7(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:_s(n*o)/o||0,y:_s(r*o)/o||0}}function Zx(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,g=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,x=b===void 0?0:b,w=typeof h=="function"?h({x:v,y:x}):{x:v,y:x};v=w.x,x=w.y;var I=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),E=Tn,j=Sn,P=window;if(d){var F=Sl(n),k="clientHeight",$="clientWidth";if(F===Gn(n)&&(F=Ko(n),po(F).position!=="static"&&c==="absolute"&&(k="scrollHeight",$="scrollWidth")),F=F,o===Sn||(o===Tn||o===pr)&&s===el){j=fr;var G=g&&F===P&&P.visualViewport?P.visualViewport.height:F[k];x-=G-r.height,x*=u?1:-1}if(o===Tn||(o===Sn||o===fr)&&s===el){E=pr;var J=g&&F===P&&P.visualViewport?P.visualViewport.width:F[$];v-=J-r.width,v*=u?1:-1}}var U=Object.assign({position:c},d&&e7),ae=h===!0?t7({x:v,y:x},Gn(n)):{x:v,y:x};if(v=ae.x,x=ae.y,u){var se;return Object.assign({},U,(se={},se[j]=M?"0":"",se[E]=I?"0":"",se.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+x+"px)":"translate3d("+v+"px, "+x+"px, 0)",se))}return Object.assign({},U,(t={},t[j]=M?x+"px":"",t[E]=I?v+"px":"",t.transform="",t))}function n7(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,c=n.roundOffsets,u=c===void 0?!0:c,d={placement:Vr(t.placement),variation:Ns(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Zx(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Zx(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const r7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n7,data:{}};var Wc={passive:!0};function o7(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,a=r.resize,c=a===void 0?!0:a,u=Gn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",n.update,Wc)}),c&&u.addEventListener("resize",n.update,Wc),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",n.update,Wc)}),c&&u.removeEventListener("resize",n.update,Wc)}}const i7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:o7,data:{}};var s7={left:"right",right:"left",bottom:"top",top:"bottom"};function iu(e){return e.replace(/left|right|bottom|top/g,function(t){return s7[t]})}var a7={start:"end",end:"start"};function Qx(e){return e.replace(/start|end/g,function(t){return a7[t]})}function wm(e){var t=Gn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Am(e){return Bs(Ko(e)).left+wm(e).scrollLeft}function l7(e,t){var n=Gn(e),r=Ko(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){s=o.width,a=o.height;var d=eS();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Am(e),y:u}}function c7(e){var t,n=Ko(e),r=wm(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=Ii(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ii(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Am(e),u=-r.scrollTop;return po(o||n).direction==="rtl"&&(c+=Ii(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Sm(e){var t=po(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function iS(e){return["html","body","#document"].indexOf($r(e))>=0?e.ownerDocument.body:ur(e)&&Sm(e)?e:iS(Td(e))}function Wa(e,t){var n;t===void 0&&(t=[]);var r=iS(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Gn(r),a=o?[s].concat(s.visualViewport||[],Sm(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Wa(Td(a)))}function jh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function u7(e,t){var n=Bs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Jx(e,t,n){return t===QA?jh(l7(e,n)):Mi(t)?u7(t,n):jh(c7(Ko(e)))}function d7(e){var t=Wa(Td(e)),n=["absolute","fixed"].indexOf(po(e).position)>=0,r=n&&ur(e)?Sl(e):e;return Mi(r)?t.filter(function(o){return Mi(o)&&tS(o,r)&&$r(o)!=="body"}):[]}function f7(e,t,n,r){var o=t==="clippingParents"?d7(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=Jx(e,d,r);return u.top=Ii(h.top,u.top),u.right=Pu(h.right,u.right),u.bottom=Pu(h.bottom,u.bottom),u.left=Ii(h.left,u.left),u},Jx(e,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sS(e){var t=e.reference,n=e.element,r=e.placement,o=r?Vr(r):null,s=r?Ns(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Sn:u={x:a,y:t.y-n.height};break;case fr:u={x:a,y:t.y+t.height};break;case pr:u={x:t.x+t.width,y:c};break;case Tn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Cm(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(s){case Ls:u[d]=u[d]-(t[h]/2-n[h]/2);break;case el:u[d]=u[d]+(t[h]/2-n[h]/2);break}}return u}function tl(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,c=n.boundary,u=c===void 0?MB:c,d=n.rootBoundary,h=d===void 0?QA:d,g=n.elementContext,m=g===void 0?Ta:g,v=n.altBoundary,b=v===void 0?!1:v,x=n.padding,w=x===void 0?0:x,I=rS(typeof w!="number"?w:oS(w,Al)),M=m===Ta?kB:Ta,E=e.rects.popper,j=e.elements[b?M:m],P=f7(Mi(j)?j:j.contextElement||Ko(e.elements.popper),u,h,a),F=Bs(e.elements.reference),k=sS({reference:F,element:E,strategy:"absolute",placement:o}),$=jh(Object.assign({},E,k)),G=m===Ta?$:F,J={top:P.top-G.top+I.top,bottom:G.bottom-P.bottom+I.bottom,left:P.left-G.left+I.left,right:G.right-P.right+I.right},U=e.modifiersData.offset;if(m===Ta&&U){var ae=U[o];Object.keys(J).forEach(function(se){var Z=[pr,fr].indexOf(se)>=0?1:-1,X=[Sn,fr].indexOf(se)>=0?"y":"x";J[se]+=ae[X]*Z})}return J}function p7(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,a=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?JA:u,h=Ns(r),g=h?c?Kx:Kx.filter(function(b){return Ns(b)===h}):Al,m=g.filter(function(b){return d.indexOf(b)>=0});m.length===0&&(m=g);var v=m.reduce(function(b,x){return b[x]=tl(e,{placement:x,boundary:o,rootBoundary:s,padding:a})[Vr(x)],b},{});return Object.keys(v).sort(function(b,x){return v[b]-v[x]})}function h7(e){if(Vr(e)===ym)return[];var t=iu(e);return[Qx(e),t,Qx(t)]}function g7(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,h=n.boundary,g=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,x=n.allowedAutoPlacements,w=t.options.placement,I=Vr(w),M=I===w,E=u||(M||!b?[iu(w)]:h7(w)),j=[w].concat(E).reduce(function(de,he){return de.concat(Vr(he)===ym?p7(t,{placement:he,boundary:h,rootBoundary:g,padding:d,flipVariations:b,allowedAutoPlacements:x}):he)},[]),P=t.rects.reference,F=t.rects.popper,k=new Map,$=!0,G=j[0],J=0;J<j.length;J++){var U=j[J],ae=Vr(U),se=Ns(U)===Ls,Z=[Sn,fr].indexOf(ae)>=0,X=Z?"width":"height",W=tl(t,{placement:U,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),K=Z?se?pr:Tn:se?fr:Sn;P[X]>F[X]&&(K=iu(K));var B=iu(K),ne=[];if(s&&ne.push(W[ae]<=0),c&&ne.push(W[K]<=0,W[B]<=0),ne.every(function(de){return de})){G=U,$=!1;break}k.set(U,ne)}if($)for(var V=b?3:1,q=function(he){var me=j.find(function(Ae){var xe=k.get(Ae);if(xe)return xe.slice(0,he).every(function(ye){return ye})});if(me)return G=me,"break"},ue=V;ue>0;ue--){var pe=q(ue);if(pe==="break")break}t.placement!==G&&(t.modifiersData[r]._skip=!0,t.placement=G,t.reset=!0)}}const m7={name:"flip",enabled:!0,phase:"main",fn:g7,requiresIfExists:["offset"],data:{_skip:!1}};function e1(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function t1(e){return[Sn,pr,fr,Tn].some(function(t){return e[t]>=0})}function v7(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=tl(t,{elementContext:"reference"}),c=tl(t,{altBoundary:!0}),u=e1(a,r),d=e1(c,o,s),h=t1(u),g=t1(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const y7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:v7};function b7(e,t,n){var r=Vr(e),o=[Tn,Sn].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],c=s[1];return a=a||0,c=(c||0)*o,[Tn,pr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function x7(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=JA.reduce(function(h,g){return h[g]=b7(g,t.rects,s),h},{}),c=a[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const C7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:x7};function w7(e){var t=e.state,n=e.name;t.modifiersData[n]=sS({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const A7={name:"popperOffsets",enabled:!0,phase:"read",fn:w7,data:{}};function S7(e){return e==="x"?"y":"x"}function T7(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,g=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,x=b===void 0?0:b,w=tl(t,{boundary:u,rootBoundary:d,padding:g,altBoundary:h}),I=Vr(t.placement),M=Ns(t.placement),E=!M,j=Cm(I),P=S7(j),F=t.modifiersData.popperOffsets,k=t.rects.reference,$=t.rects.popper,G=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,J=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ae={x:0,y:0};if(F){if(s){var se,Z=j==="y"?Sn:Tn,X=j==="y"?fr:pr,W=j==="y"?"height":"width",K=F[j],B=K+w[Z],ne=K-w[X],V=v?-$[W]/2:0,q=M===Ls?k[W]:$[W],ue=M===Ls?-$[W]:-k[W],pe=t.elements.arrow,de=v&&pe?xm(pe):{width:0,height:0},he=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nS(),me=he[Z],Ae=he[X],xe=Va(0,k[W],de[W]),ye=E?k[W]/2-V-xe-me-J.mainAxis:q-xe-me-J.mainAxis,Ce=E?-k[W]/2+V+xe+Ae+J.mainAxis:ue+xe+Ae+J.mainAxis,Ee=t.elements.arrow&&Sl(t.elements.arrow),ce=Ee?j==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,Xe=(se=U==null?void 0:U[j])!=null?se:0,ge=K+ye-Xe-ce,Ke=K+Ce-Xe,Jt=Va(v?Pu(B,ge):B,K,v?Ii(ne,Ke):ne);F[j]=Jt,ae[j]=Jt-K}if(c){var St,gt=j==="x"?Sn:Tn,Mn=j==="x"?fr:pr,Tt=F[P],mt=P==="y"?"height":"width",Ut=Tt+w[gt],vt=Tt-w[Mn],Bt=[Sn,Tn].indexOf(I)!==-1,Et=(St=U==null?void 0:U[P])!=null?St:0,ke=Bt?Ut:Tt-k[mt]-$[mt]-Et+J.altAxis,Fe=Bt?Tt+k[mt]+$[mt]-Et-J.altAxis:vt,Ie=v&&Bt?KB(ke,Tt,Fe):Va(v?ke:Ut,Tt,v?Fe:vt);F[P]=Ie,ae[P]=Ie-Tt}t.modifiersData[r]=ae}}const E7={name:"preventOverflow",enabled:!0,phase:"main",fn:T7,requiresIfExists:["offset"]};function I7(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function O7(e){return e===Gn(e)||!ur(e)?wm(e):I7(e)}function P7(e){var t=e.getBoundingClientRect(),n=_s(t.width)/e.offsetWidth||1,r=_s(t.height)/e.offsetHeight||1;return n!==1||r!==1}function j7(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&P7(t),s=Ko(t),a=Bs(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(($r(t)!=="body"||Sm(s))&&(c=O7(t)),ur(t)?(u=Bs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Am(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function R7(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&o(u)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function M7(e){var t=R7(e);return zB.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function k7(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function F7(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var n1={placement:"bottom",modifiers:[],strategy:"absolute"};function r1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function D7(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?n1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},n1,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],m=!1,v={state:h,setOptions:function(I){var M=typeof I=="function"?I(h.options):I;x(),h.options=Object.assign({},s,h.options,M),h.scrollParents={reference:Mi(c)?Wa(c):c.contextElement?Wa(c.contextElement):[],popper:Wa(u)};var E=M7(F7([].concat(r,h.options.modifiers)));return h.orderedModifiers=E.filter(function(j){return j.enabled}),b(),v.update()},forceUpdate:function(){if(!m){var I=h.elements,M=I.reference,E=I.popper;if(r1(M,E)){h.rects={reference:j7(M,Sl(E),h.options.strategy==="fixed"),popper:xm(E)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(J){return h.modifiersData[J.name]=Object.assign({},J.data)});for(var j=0;j<h.orderedModifiers.length;j++){if(h.reset===!0){h.reset=!1,j=-1;continue}var P=h.orderedModifiers[j],F=P.fn,k=P.options,$=k===void 0?{}:k,G=P.name;typeof F=="function"&&(h=F({state:h,options:$,name:G,instance:v})||h)}}}},update:k7(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){x(),m=!0}};if(!r1(c,u))return v;v.setOptions(d).then(function(w){!m&&d.onFirstUpdate&&d.onFirstUpdate(w)});function b(){h.orderedModifiers.forEach(function(w){var I=w.name,M=w.options,E=M===void 0?{}:M,j=w.effect;if(typeof j=="function"){var P=j({state:h,name:I,instance:v,options:E}),F=function(){};g.push(P||F)}})}function x(){g.forEach(function(w){return w()}),g=[]}return v}}var L7=[i7,A7,r7,GB,C7,m7,E7,JB,y7],aS=D7({defaultModifiers:L7});function _7(e){return typeof e=="function"?e():e}const ju=_.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=_.useState(null),u=Pn(_.isValidElement(r)?r.ref:null,n);if(Wr(()=>{s||c(_7(o)||document.body)},[o,s]),Wr(()=>{if(a&&!s)return Fs(n,a),()=>{Fs(n,null)}},[n,a,s]),s){if(_.isValidElement(r)){const d={ref:u};return _.cloneElement(r,d)}return f.jsx(_.Fragment,{children:r})}return f.jsx(_.Fragment,{children:a&&TC.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(ju.propTypes={children:C.node,container:C.oneOfType([zo,C.func]),disablePortal:C.bool});process.env.NODE_ENV!=="production"&&(ju.propTypes=bd(ju.propTypes));function B7(e){return qn("MuiPopper",e)}yr("MuiPopper",["root"]);const N7=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],V7=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function W7(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Ru(e){return typeof e=="function"?e():e}function Ed(e){return e.nodeType!==void 0}function $7(e){return!Ed(e)}const z7=()=>gr({root:["root"]},EB(B7)),U7={},H7=_.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:x}=t,w=He(t,N7),I=_.useRef(null),M=Pn(I,n),E=_.useRef(null),j=Pn(E,m),P=_.useRef(j);Wr(()=>{P.current=j},[j]),_.useImperativeHandle(m,()=>E.current,[]);const F=W7(h,a),[k,$]=_.useState(F),[G,J]=_.useState(Ru(o));_.useEffect(()=>{E.current&&E.current.forceUpdate()}),_.useEffect(()=>{o&&J(Ru(o))},[o]),Wr(()=>{if(!G||!d)return;const X=B=>{$(B.placement)};if(process.env.NODE_ENV!=="production"&&G&&Ed(G)&&G.nodeType===1){const B=G.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
151
+ `))}let W=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{X(B)}}];u!=null&&(W=W.concat(u)),g&&g.modifiers!=null&&(W=W.concat(g.modifiers));const K=aS(G,I.current,Y({placement:F},g,{modifiers:W}));return P.current(K),()=>{K.destroy(),P.current(null)}},[G,c,u,d,g,F]);const U={placement:k};x!==null&&(U.TransitionProps=x);const ae=z7(),se=(r=b.root)!=null?r:"div",Z=RB({elementType:se,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:M},ownerState:t,className:ae.root});return f.jsx(se,Y({},Z,{children:typeof s=="function"?s(U):s}))}),lS=_.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=U7,popperRef:v,style:b,transition:x=!1,slotProps:w={},slots:I={}}=t,M=He(t,V7),[E,j]=_.useState(!0),P=()=>{j(!1)},F=()=>{j(!0)};if(!u&&!h&&(!x||E))return null;let k;if(s)k=s;else if(r){const J=Ru(r);k=J&&Ed(J)?Ds(J).body:Ds(null).body}const $=!h&&u&&(!x||E)?"none":void 0,G=x?{in:h,onEnter:P,onExited:F}:void 0;return f.jsx(ju,{disablePortal:c,container:k,children:f.jsx(H7,Y({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:x?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},M,{style:Y({position:"fixed",top:0,left:0,display:$},b),TransitionProps:G,children:o}))})});process.env.NODE_ENV!=="production"&&(lS.propTypes={anchorEl:Yo(C.oneOfType([zo,C.object,C.func]),e=>{if(e.open){const t=Ru(e.anchorEl);if(t&&Ed(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
152
152
  `))}else if(!t||typeof t.getBoundingClientRect!="function"||$7(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
153
- `))}return null}),children:C.oneOfType([C.node,C.func]),container:C.oneOfType([zo,C.func]),direction:C.oneOf(["ltr","rtl"]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),transition:C.bool});function G7(e){return qn("MuiButton",e)}const $c=yr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),cS=_.createContext({});process.env.NODE_ENV!=="production"&&(cS.displayName="ButtonGroupContext");const uS=_.createContext(void 0);process.env.NODE_ENV!=="production"&&(uS.displayName="ButtonGroupButtonContext");const q7=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Y7=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,classes:a}=e,c={root:["root",s,`${s}${ze(t)}`,`size${ze(o)}`,`${s}Size${ze(o)}`,`color${ze(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ze(o)}`],endIcon:["icon","endIcon",`iconSize${ze(o)}`]},u=gr(c,G7,a);return Y({},a,u)},dS=e=>Y({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),K7=fe(Ad,{shouldForwardProp:e=>jA(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ze(n.color)}`],t[`size${ze(n.size)}`],t[`${n.variant}Size${ze(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],s=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return Y({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Y({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Y({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$c.focusVisible}`]:Y({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$c.disabled}`]:Y({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Do(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$c.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$c.disabled}`]:{boxShadow:"none"}}),X7=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ze(n.size)}`]]}})(({ownerState:e})=>Y({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},dS(e))),Z7=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ze(n.size)}`]]}})(({ownerState:e})=>Y({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},dS(e))),fS=_.forwardRef(function(t,n){const r=_.useContext(cS),o=_.useContext(uS),s=Kg(r,t),a=vr({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:h,disabled:g=!1,disableElevation:m=!1,disableFocusRipple:v=!1,endIcon:x,focusVisibleClassName:y,fullWidth:w=!1,size:I="medium",startIcon:M,type:E,variant:j="text"}=a,P=He(a,q7),F=Y({},a,{color:u,component:d,disabled:g,disableElevation:m,disableFocusRipple:v,fullWidth:w,size:I,type:E,variant:j}),k=Y7(F),$=M&&f.jsx(X7,{className:k.startIcon,ownerState:F,children:M}),G=x&&f.jsx(Z7,{className:k.endIcon,ownerState:F,children:x}),J=o||"";return f.jsxs(K7,Y({ownerState:F,className:lt(r.className,k.root,h,J),component:d,disabled:g,focusRipple:!v,focusVisibleClassName:lt(k.focusVisible,y),ref:n,type:E},P,{classes:k,children:[$,c,G]}))});process.env.NODE_ENV!=="production"&&(fS.propTypes={children:C.node,classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","primary","secondary","success","error","info","warning"]),C.string]),component:C.elementType,disabled:C.bool,disableElevation:C.bool,disableFocusRipple:C.bool,disableRipple:C.bool,endIcon:C.node,focusVisibleClassName:C.string,fullWidth:C.bool,href:C.string,size:C.oneOfType([C.oneOf(["small","medium","large"]),C.string]),startIcon:C.node,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),type:C.oneOfType([C.oneOf(["button","reset","submit"]),C.string]),variant:C.oneOfType([C.oneOf(["contained","outlined","text"]),C.string])});function Q7(e){return qn("MuiCircularProgress",e)}yr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const J7=["className","color","disableShrink","size","style","thickness","value","variant"];let Id=e=>e,o1,i1,s1,a1;const Io=44,eN=Zt.keyframes(o1||(o1=Id`
153
+ `))}return null}),children:C.oneOfType([C.node,C.func]),container:C.oneOfType([zo,C.func]),direction:C.oneOf(["ltr","rtl"]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),transition:C.bool});function G7(e){return qn("MuiButton",e)}const $c=yr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),cS=_.createContext({});process.env.NODE_ENV!=="production"&&(cS.displayName="ButtonGroupContext");const uS=_.createContext(void 0);process.env.NODE_ENV!=="production"&&(uS.displayName="ButtonGroupButtonContext");const q7=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Y7=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,classes:a}=e,c={root:["root",s,`${s}${ze(t)}`,`size${ze(o)}`,`${s}Size${ze(o)}`,`color${ze(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ze(o)}`],endIcon:["icon","endIcon",`iconSize${ze(o)}`]},u=gr(c,G7,a);return Y({},a,u)},dS=e=>Y({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),K7=fe(Ad,{shouldForwardProp:e=>jA(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ze(n.color)}`],t[`size${ze(n.size)}`],t[`${n.variant}Size${ze(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],s=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return Y({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Y({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Do(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Y({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$c.focusVisible}`]:Y({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$c.disabled}`]:Y({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Do(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$c.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$c.disabled}`]:{boxShadow:"none"}}),X7=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ze(n.size)}`]]}})(({ownerState:e})=>Y({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},dS(e))),Z7=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ze(n.size)}`]]}})(({ownerState:e})=>Y({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},dS(e))),fS=_.forwardRef(function(t,n){const r=_.useContext(cS),o=_.useContext(uS),s=Kg(r,t),a=vr({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:h,disabled:g=!1,disableElevation:m=!1,disableFocusRipple:v=!1,endIcon:b,focusVisibleClassName:x,fullWidth:w=!1,size:I="medium",startIcon:M,type:E,variant:j="text"}=a,P=He(a,q7),F=Y({},a,{color:u,component:d,disabled:g,disableElevation:m,disableFocusRipple:v,fullWidth:w,size:I,type:E,variant:j}),k=Y7(F),$=M&&f.jsx(X7,{className:k.startIcon,ownerState:F,children:M}),G=b&&f.jsx(Z7,{className:k.endIcon,ownerState:F,children:b}),J=o||"";return f.jsxs(K7,Y({ownerState:F,className:lt(r.className,k.root,h,J),component:d,disabled:g,focusRipple:!v,focusVisibleClassName:lt(k.focusVisible,x),ref:n,type:E},P,{classes:k,children:[$,c,G]}))});process.env.NODE_ENV!=="production"&&(fS.propTypes={children:C.node,classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","primary","secondary","success","error","info","warning"]),C.string]),component:C.elementType,disabled:C.bool,disableElevation:C.bool,disableFocusRipple:C.bool,disableRipple:C.bool,endIcon:C.node,focusVisibleClassName:C.string,fullWidth:C.bool,href:C.string,size:C.oneOfType([C.oneOf(["small","medium","large"]),C.string]),startIcon:C.node,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),type:C.oneOfType([C.oneOf(["button","reset","submit"]),C.string]),variant:C.oneOfType([C.oneOf(["contained","outlined","text"]),C.string])});function Q7(e){return qn("MuiCircularProgress",e)}yr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const J7=["className","color","disableShrink","size","style","thickness","value","variant"];let Id=e=>e,o1,i1,s1,a1;const Io=44,eN=Zt.keyframes(o1||(o1=Id`
154
154
  0% {
155
155
  transform: rotate(0deg);
156
156
  }
@@ -177,26 +177,26 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
177
177
  animation: ${0} 1.4s linear infinite;
178
178
  `),eN)),oN=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),iN=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ze(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>Y({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Zt.css(a1||(a1=Id`
179
179
  animation: ${0} 1.4s ease-in-out infinite;
180
- `),tN)),Od=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:d=3.6,value:h=0,variant:g="indeterminate"}=r,m=He(r,J7),v=Y({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),x=nN(v),y={},w={},I={};if(g==="determinate"){const M=2*Math.PI*((Io-d)/2);y.strokeDasharray=M.toFixed(3),I["aria-valuenow"]=Math.round(h),y.strokeDashoffset=`${((100-h)/100*M).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(rN,Y({className:lt(x.root,o),style:Y({width:c,height:c},w,u),ownerState:v,ref:n,role:"progressbar"},I,m,{children:f.jsx(oN,{className:x.svg,ownerState:v,viewBox:`${Io/2} ${Io/2} ${Io} ${Io}`,children:f.jsx(iN,{className:x.circle,style:y,ownerState:v,cx:Io,cy:Io,r:(Io-d)/2,fill:"none",strokeWidth:d})})}))});process.env.NODE_ENV!=="production"&&(Od.propTypes={classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","primary","secondary","error","info","success","warning"]),C.string]),disableShrink:Yo(C.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:C.oneOfType([C.number,C.string]),style:C.object,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),thickness:C.number,value:C.number,variant:C.oneOf(["determinate","indeterminate"])});function sN(e){return qn("MuiLoadingButton",e)}const to=yr("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),aN=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],lN=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${ze(n)}`],endIcon:[t&&`endIconLoading${ze(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${ze(n)}`]},s=gr(o,sN,r);return Y({},r,s)},cN=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",uN=fe(fS,{shouldForwardProp:e=>cN(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${to.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${to.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>Y({[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${to.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),dN=fe("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${ze(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>Y({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),pS=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:d="center",variant:h="text"}=r,g=He(r,aN),m=cm(a),v=u??f.jsx(Od,{"aria-labelledby":m,color:"inherit",size:16}),x=Y({},r,{disabled:s,loading:c,loadingIndicator:v,loadingPosition:d,variant:h}),y=lN(x),w=c?f.jsx(dN,{className:y.loadingIndicator,ownerState:x,children:v}):null;return f.jsxs(uN,Y({disabled:s||c,id:m,ref:n},g,{variant:h,classes:y,ownerState:x,children:[x.loadingPosition==="end"?o:w,x.loadingPosition==="end"?w:o]}))});process.env.NODE_ENV!=="production"&&(pS.propTypes={children:C.node,classes:C.object,disabled:C.bool,id:C.string,loading:C.bool,loadingIndicator:C.node,loadingPosition:Yo(C.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["contained","outlined","text"]),C.string])});function Vp({variant:e,theme:t,color:n,loadingPosition:r}){const o=Qt(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,d=`${n}Button`,h=zs(t,d),g={"& .MuiLoadingButton-loadingIndicator":{color:a}},m={...r&&r!=="center"&&{color:a}},v={"&::after":{boxShadow:`0 0 6px 6px ${tt(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(a,.9)}`},"&:focus-visible":{outline:`2px solid ${c}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"shadow":return{boxShadow:h,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...v};case"outlined":return{backgroundColor:"transparent",borderColor:a,...m,...g};case"dashed":return{backgroundColor:s,borderColor:a,...m,...g,...v};case"text":default:return{color:a,...g,...v}}}const fN=fe(pS,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:o,loadingPosition:s})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!o&&{color:"#fff"},...t!=="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s})}}})),pN=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Gt();return f.jsx(fN,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function hN({color:e,theme:t,labelColor:n}){const r=Qt(t,e),{main:o,contrastText:s}=r,a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${A.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${A.tooltipClasses.arrow}`]:{color:o}}:{[`& .${A.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${A.tooltipClasses.arrow}`]:{color:a}}}const gN=fe(({className:e,...t})=>f.jsx(A.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&hN({color:t,theme:e,labelColor:n})}));function Pd({children:e,arrow:t,labelColor:n="",...r}){const o=Gt();return f.jsx(A.Box,{display:"flex",children:f.jsx(gN,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const ki=T.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...o},s)=>{let a={transformOrigin:"0 0 0"};switch(t){case"top-right":a={transformOrigin:"top right"};break;case"top":a={transformOrigin:"top"};break;case"bottom-left":a={transformOrigin:"bottom left"};break;case"bottom-right":a={transformOrigin:"bottom right"};break;case"bottom":a={transformOrigin:"bottom"};break;case"top-left":default:a={transformOrigin:"0 0 0"};break}return f.jsxs(A.Box,{ref:s,children:[n==="grow"&&f.jsx(A.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:f.jsx(A.Box,{sx:a,children:e})}),n==="collapse"&&f.jsx(A.Collapse,{...o,sx:a,children:e}),n==="fade"&&f.jsx(A.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:f.jsx(A.Box,{sx:a,children:e})}),n==="slide"&&f.jsx(A.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(A.Box,{sx:a,children:e})}),n==="zoom"&&f.jsx(A.Zoom,{...o,children:f.jsx(A.Box,{sx:a,children:e})})]})}),mN=T.forwardRef(function(t,n){return f.jsx(A.Zoom,{ref:n,timeout:200,...t})});function vN({value:e,...t}){return f.jsxs(A.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(A.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(A.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(A.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}function yN({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return f.jsxs(A.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(A.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o?f.jsx(A.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(A.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}):null,f.jsx(A.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${A.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}function bN({icon:e,value:t,...n}){return f.jsxs(A.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(A.Box,{sx:{width:"100%",mr:1},children:f.jsx(A.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(A.Box,{sx:{minWidth:35},children:e})]})}function xN({value:e,...t}){return f.jsxs(A.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(A.Box,{sx:{width:"100%",mr:1},children:f.jsx(A.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(A.Box,{sx:{minWidth:35},children:f.jsx(A.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}const hS=fe("span")(({arrow:e="top-right",theme:t})=>{const o=t.palette.mode==="dark"?"none":`solid 1px ${tt(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},c={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},u={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper,backgroundImage:"inherit",borderLeft:o,borderBottom:o},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...a,left:20},...e==="bottom-center"&&{...a,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...a,right:20},...e==="left-top"&&{...c,top:20},...e==="left-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...c,bottom:20},...e==="right-top"&&{...u,top:20},...e==="right-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...u,bottom:20}}});function gS(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}function mS({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=gS(n);return f.jsxs(A.Popover,{open:!!e,anchorEl:e,anchorOrigin:c,transformOrigin:u,keepMounted:!0,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...a,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(hS,{arrow:n}),t]})}const CN={width:"100%",justifyContent:"flex-start"},wN=A.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),AN=A.styled(mS,{slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,"& .MuiButton-startIcon":{marginRight:e.spacing(0)},[e.breakpoints.down("sm")]:{"&>.MuiSvgIcon-root, & svg":{marginRight:e.spacing(0)}}}}));function Uo({horizontal:e=!1,children:t}){const[n,r]=T.useState(null),o=T.useRef(null);function s(u){u.stopPropagation(),u.preventDefault(),r(u.currentTarget),o.current=u.currentTarget}const a=T.useCallback(u=>{u.stopPropagation(),u.preventDefault(),r(null)},[]),c=T.useCallback(u=>{var d;r(null),typeof((d=u.currentTarget)==null?void 0:d.onClick)=="function"&&u.currentTarget.onClick(u)},[]);return!t||T.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(u=>T.isValidElement(u)).length)===0?null:f.jsxs(wN,{children:[f.jsx(A.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:s,color:n?"inherit":"default",children:e?f.jsx(Un.MoreHoriz,{}):f.jsx(Un.MoreVert,{})}),f.jsx(AN,{open:n,onClose:a,arrow:"right-top",children:T.Children.map(t,(u,d)=>T.isValidElement(u)&&f.jsx(A.MenuItem,{onClick:c,children:T.cloneElement(u,{style:{...CN}})},d))})]})}function jd(){const e=Zt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(A.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})}const vS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHVycdXVwFQTBHxBXFydFFynxvqTQIsYHl/dx3juH++4DhEaFqWZXFFA1y0jFY2I2tyr2vKIPo1QTCEjM1BPpxQw819c9fHy/i/As73t/rn4lbzLAJxJHmW5YxBvEs5uWznmfOMRKkkJ8TjxpUIPEj1yXXX7jXHRY4J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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/e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myqlvA0Axgh6StE/SMGluZA3+S9uqb2+TmSoHAHAT9ClJA5koGkEja0DcAICgAVlDPvK2izvEiQA0jKBfzQiaFDeyhhoTd6+4nAZQr4zIbLPikhiyhjoSd4/MqWnbRB83QK0yZBN0lONA1lDf4g5liZuoG6A6sdLbg6L+jKyBqJuoG6Bq5HwqEz0PBgKBYY4EkDW4ydsSdw/yBvCdoUzkPCguhwGyhiLFHcpIG3kDeCfn4Uz0jJwBWYOv8u7NfGwQLWIAblhpbSJnQNZQcYH32gS+QVxYg8ZlxJKyqDkDsoYql3fEJu8eom+o86h52IqciZoBWUOtC7wnE3EjcKh1MVtRc5RjAWQNCBygMoxkhBxFzICsAZwFbl1gs0SOxMHPaHnEFi0PiwtggKwBkDhUPFK2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";var Wp={};const SN=go(CB);var l1;function Us(){return l1||(l1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=SN}(Wp)),Wp}var $a=function(){return $a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$a.apply(this,arguments)},yS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Tm=function(e){var t=e.alignIcon,n=t===void 0?"left":t,r=e.children,o=e.className,s=e.disabled,a=e.label,c=e.color,u=c===void 0?"primary":c,d=e.size,h=d===void 0?"small":d,g=e.to,m=yS(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=te.useTranslate(),x=a?v(a,{_:a}):void 0,y=IN(g),w=A.useMediaQuery(function(I){return I.breakpoints.down("sm")});return w?a&&!s?_.createElement(A.Tooltip,{title:x},_.createElement(A.IconButton,$a({"aria-label":x,className:o,color:u,size:"large"},y,m),r)):_.createElement(A.IconButton,$a({className:o,color:u,disabled:s,size:"large"},y,m),r):_.createElement(EN,$a({className:o,color:u,size:h,"aria-label":x,disabled:s,startIcon:n==="left"&&r?r:void 0,endIcon:n==="right"&&r?r:void 0},y,m),x)};Tm.propTypes={alignIcon:C.oneOf(["left","right"]),children:C.element,className:C.string,color:C.oneOfType([C.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),C.string]),disabled:C.bool,label:C.string,size:C.oneOf(["small","medium","large"])};var TN="RaButton",EN=fe(A.Button,{name:TN,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),IN=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=yS(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},Em={},ON=qo;Object.defineProperty(Em,"__esModule",{value:!0});var bS=Em.default=void 0,PN=ON(Us()),jN=f;bS=Em.default=(0,PN.default)((0,jN.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function xS(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=xS(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function nl(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=xS(e))&&(r&&(r+=" "),r+=t);return r}function RN(){this.__data__=[],this.size=0}var MN=RN;function kN(e,t){return e===t||e!==e&&t!==t}var Tl=kN,FN=Tl;function DN(e,t){for(var n=e.length;n--;)if(FN(e[n][0],t))return n;return-1}var Rd=DN,LN=Rd,_N=Array.prototype,BN=_N.splice;function NN(e){var t=this.__data__,n=LN(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():BN.call(t,n,1),--this.size,!0}var VN=NN,WN=Rd;function $N(e){var t=this.__data__,n=WN(t,e);return n<0?void 0:t[n][1]}var zN=$N,UN=Rd;function HN(e){return UN(this.__data__,e)>-1}var GN=HN,qN=Rd;function YN(e,t){var n=this.__data__,r=qN(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var KN=YN,XN=MN,ZN=VN,QN=zN,JN=GN,eV=KN;function Hs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hs.prototype.clear=XN;Hs.prototype.delete=ZN;Hs.prototype.get=QN;Hs.prototype.has=JN;Hs.prototype.set=eV;var Md=Hs,tV=Md;function nV(){this.__data__=new tV,this.size=0}var rV=nV;function oV(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var iV=oV;function sV(e){return this.__data__.get(e)}var aV=sV;function lV(e){return this.__data__.has(e)}var cV=lV,uV=typeof An=="object"&&An&&An.Object===Object&&An,CS=uV,dV=CS,fV=typeof self=="object"&&self&&self.Object===Object&&self,pV=dV||fV||Function("return this")(),zr=pV,hV=zr,gV=hV.Symbol,kd=gV,c1=kd,wS=Object.prototype,mV=wS.hasOwnProperty,vV=wS.toString,Ea=c1?c1.toStringTag:void 0;function yV(e){var t=mV.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var o=vV.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),o}var bV=yV,xV=Object.prototype,CV=xV.toString;function wV(e){return CV.call(e)}var AV=wV,u1=kd,SV=bV,TV=AV,EV="[object Null]",IV="[object Undefined]",d1=u1?u1.toStringTag:void 0;function OV(e){return e==null?e===void 0?IV:EV:d1&&d1 in Object(e)?SV(e):TV(e)}var El=OV;function PV(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Li=PV,jV=El,RV=Li,MV="[object AsyncFunction]",kV="[object Function]",FV="[object GeneratorFunction]",DV="[object Proxy]";function LV(e){if(!RV(e))return!1;var t=jV(e);return t==kV||t==FV||t==MV||t==DV}var Im=LV,_V=zr,BV=_V["__core-js_shared__"],NV=BV,$p=NV,f1=function(){var e=/[^.]+$/.exec($p&&$p.keys&&$p.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VV(e){return!!f1&&f1 in e}var WV=VV,$V=Function.prototype,zV=$V.toString;function UV(e){if(e!=null){try{return zV.call(e)}catch{}try{return e+""}catch{}}return""}var AS=UV,HV=Im,GV=WV,qV=Li,YV=AS,KV=/[\\^$.*+?()[\]{}|]/g,XV=/^\[object .+?Constructor\]$/,ZV=Function.prototype,QV=Object.prototype,JV=ZV.toString,eW=QV.hasOwnProperty,tW=RegExp("^"+JV.call(eW).replace(KV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nW(e){if(!qV(e)||GV(e))return!1;var t=HV(e)?tW:XV;return t.test(YV(e))}var rW=nW;function oW(e,t){return e==null?void 0:e[t]}var iW=oW,sW=rW,aW=iW;function lW(e,t){var n=aW(e,t);return sW(n)?n:void 0}var _i=lW,cW=_i,uW=zr,dW=cW(uW,"Map"),Om=dW,fW=_i,pW=fW(Object,"create"),Fd=pW,p1=Fd;function hW(){this.__data__=p1?p1(null):{},this.size=0}var gW=hW;function mW(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vW=mW,yW=Fd,bW="__lodash_hash_undefined__",xW=Object.prototype,CW=xW.hasOwnProperty;function wW(e){var t=this.__data__;if(yW){var n=t[e];return n===bW?void 0:n}return CW.call(t,e)?t[e]:void 0}var AW=wW,SW=Fd,TW=Object.prototype,EW=TW.hasOwnProperty;function IW(e){var t=this.__data__;return SW?t[e]!==void 0:EW.call(t,e)}var OW=IW,PW=Fd,jW="__lodash_hash_undefined__";function RW(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=PW&&t===void 0?jW:t,this}var MW=RW,kW=gW,FW=vW,DW=AW,LW=OW,_W=MW;function Gs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gs.prototype.clear=kW;Gs.prototype.delete=FW;Gs.prototype.get=DW;Gs.prototype.has=LW;Gs.prototype.set=_W;var BW=Gs,h1=BW,NW=Md,VW=Om;function WW(){this.size=0,this.__data__={hash:new h1,map:new(VW||NW),string:new h1}}var $W=WW;function zW(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var UW=zW,HW=UW;function GW(e,t){var n=e.__data__;return HW(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Dd=GW,qW=Dd;function YW(e){var t=qW(this,e).delete(e);return this.size-=t?1:0,t}var KW=YW,XW=Dd;function ZW(e){return XW(this,e).get(e)}var QW=ZW,JW=Dd;function e$(e){return JW(this,e).has(e)}var t$=e$,n$=Dd;function r$(e,t){var n=n$(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o$=r$,i$=$W,s$=KW,a$=QW,l$=t$,c$=o$;function qs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qs.prototype.clear=i$;qs.prototype.delete=s$;qs.prototype.get=a$;qs.prototype.has=l$;qs.prototype.set=c$;var SS=qs,u$=Md,d$=Om,f$=SS,p$=200;function h$(e,t){var n=this.__data__;if(n instanceof u$){var r=n.__data__;if(!d$||r.length<p$-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new f$(r)}return n.set(e,t),this.size=n.size,this}var g$=h$,m$=Md,v$=rV,y$=iV,b$=aV,x$=cV,C$=g$;function Ys(e){var t=this.__data__=new m$(e);this.size=t.size}Ys.prototype.clear=v$;Ys.prototype.delete=y$;Ys.prototype.get=b$;Ys.prototype.has=x$;Ys.prototype.set=C$;var TS=Ys,w$="__lodash_hash_undefined__";function A$(e){return this.__data__.set(e,w$),this}var S$=A$;function T$(e){return this.__data__.has(e)}var E$=T$,I$=SS,O$=S$,P$=E$;function Mu(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new I$;++t<n;)this.add(e[t])}Mu.prototype.add=Mu.prototype.push=O$;Mu.prototype.has=P$;var Pm=Mu;function j$(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var R$=j$;function M$(e,t){return e.has(t)}var jm=M$,k$=Pm,F$=R$,D$=jm,L$=1,_$=2;function B$(e,t,n,r,o,s){var a=n&L$,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var g=-1,m=!0,v=n&_$?new k$:void 0;for(s.set(e,t),s.set(t,e);++g<c;){var x=e[g],y=t[g];if(r)var w=a?r(y,x,g,t,e,s):r(x,y,g,e,t,s);if(w!==void 0){if(w)continue;m=!1;break}if(v){if(!F$(t,function(I,M){if(!D$(v,M)&&(x===I||o(x,I,n,r,s)))return v.push(M)})){m=!1;break}}else if(!(x===y||o(x,y,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var ES=B$,N$=zr,V$=N$.Uint8Array,IS=V$;function W$(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var $$=W$;function z$(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Rm=z$,g1=kd,m1=IS,U$=Tl,H$=ES,G$=$$,q$=Rm,Y$=1,K$=2,X$="[object Boolean]",Z$="[object Date]",Q$="[object Error]",J$="[object Map]",ez="[object Number]",tz="[object RegExp]",nz="[object Set]",rz="[object String]",oz="[object Symbol]",iz="[object ArrayBuffer]",sz="[object DataView]",v1=g1?g1.prototype:void 0,zp=v1?v1.valueOf:void 0;function az(e,t,n,r,o,s,a){switch(n){case sz:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case iz:return!(e.byteLength!=t.byteLength||!s(new m1(e),new m1(t)));case X$:case Z$:case ez:return U$(+e,+t);case Q$:return e.name==t.name&&e.message==t.message;case tz:case rz:return e==t+"";case J$:var c=G$;case nz:var u=r&Y$;if(c||(c=q$),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=K$,a.set(e,t);var h=H$(c(e),c(t),r,o,s,a);return a.delete(e),h;case oz:if(zp)return zp.call(e)==zp.call(t)}return!1}var lz=az;function cz(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var OS=cz,uz=Array.isArray,Il=uz,dz=OS,fz=Il;function pz(e,t,n){var r=t(e);return fz(e)?r:dz(r,n(e))}var hz=pz;function gz(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var a=e[n];t(a,n,e)&&(s[o++]=a)}return s}var mz=gz;function vz(){return[]}var yz=vz,bz=mz,xz=yz,Cz=Object.prototype,wz=Cz.propertyIsEnumerable,y1=Object.getOwnPropertySymbols,Az=y1?function(e){return e==null?[]:(e=Object(e),bz(y1(e),function(t){return wz.call(e,t)}))}:xz,Sz=Az;function Tz(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Ez=Tz;function Iz(e){return e!=null&&typeof e=="object"}var Ks=Iz,Oz=El,Pz=Ks,jz="[object Arguments]";function Rz(e){return Pz(e)&&Oz(e)==jz}var Mz=Rz,b1=Mz,kz=Ks,PS=Object.prototype,Fz=PS.hasOwnProperty,Dz=PS.propertyIsEnumerable,Lz=b1(function(){return arguments}())?b1:function(e){return kz(e)&&Fz.call(e,"callee")&&!Dz.call(e,"callee")},Mm=Lz,ku={exports:{}};function _z(){return!1}var Bz=_z;ku.exports;(function(e,t){var n=zr,r=Bz,o=t&&!t.nodeType&&t,s=o&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===o,c=a?n.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||r;e.exports=d})(ku,ku.exports);var km=ku.exports,Nz=9007199254740991,Vz=/^(?:0|[1-9]\d*)$/;function Wz(e,t){var n=typeof e;return t=t??Nz,!!t&&(n=="number"||n!="symbol"&&Vz.test(e))&&e>-1&&e%1==0&&e<t}var jS=Wz,$z=9007199254740991;function zz(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$z}var RS=zz,Uz=El,Hz=RS,Gz=Ks,qz="[object Arguments]",Yz="[object Array]",Kz="[object Boolean]",Xz="[object Date]",Zz="[object Error]",Qz="[object Function]",Jz="[object Map]",eU="[object Number]",tU="[object Object]",nU="[object RegExp]",rU="[object Set]",oU="[object String]",iU="[object WeakMap]",sU="[object ArrayBuffer]",aU="[object DataView]",lU="[object Float32Array]",cU="[object Float64Array]",uU="[object Int8Array]",dU="[object Int16Array]",fU="[object Int32Array]",pU="[object Uint8Array]",hU="[object Uint8ClampedArray]",gU="[object Uint16Array]",mU="[object Uint32Array]",bt={};bt[lU]=bt[cU]=bt[uU]=bt[dU]=bt[fU]=bt[pU]=bt[hU]=bt[gU]=bt[mU]=!0;bt[qz]=bt[Yz]=bt[sU]=bt[Kz]=bt[aU]=bt[Xz]=bt[Zz]=bt[Qz]=bt[Jz]=bt[eU]=bt[tU]=bt[nU]=bt[rU]=bt[oU]=bt[iU]=!1;function vU(e){return Gz(e)&&Hz(e.length)&&!!bt[Uz(e)]}var yU=vU;function bU(e){return function(t){return e(t)}}var MS=bU,Fu={exports:{}};Fu.exports;(function(e,t){var n=CS,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s&&n.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c})(Fu,Fu.exports);var xU=Fu.exports,CU=yU,wU=MS,x1=xU,C1=x1&&x1.isTypedArray,AU=C1?wU(C1):CU,Fm=AU,SU=Ez,TU=Mm,EU=Il,IU=km,OU=jS,PU=Fm,jU=Object.prototype,RU=jU.hasOwnProperty;function MU(e,t){var n=EU(e),r=!n&&TU(e),o=!n&&!r&&IU(e),s=!n&&!r&&!o&&PU(e),a=n||r||o||s,c=a?SU(e.length,String):[],u=c.length;for(var d in e)(t||RU.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||OU(d,u)))&&c.push(d);return c}var kS=MU,kU=Object.prototype;function FU(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||kU;return e===n}var Dm=FU;function DU(e,t){return function(n){return e(t(n))}}var FS=DU,LU=FS,_U=LU(Object.keys,Object),BU=_U,NU=Dm,VU=BU,WU=Object.prototype,$U=WU.hasOwnProperty;function zU(e){if(!NU(e))return VU(e);var t=[];for(var n in Object(e))$U.call(e,n)&&n!="constructor"&&t.push(n);return t}var UU=zU,HU=Im,GU=RS;function qU(e){return e!=null&&GU(e.length)&&!HU(e)}var Ld=qU,YU=kS,KU=UU,XU=Ld;function ZU(e){return XU(e)?YU(e):KU(e)}var QU=ZU,JU=hz,eH=Sz,tH=QU;function nH(e){return JU(e,tH,eH)}var rH=nH,w1=rH,oH=1,iH=Object.prototype,sH=iH.hasOwnProperty;function aH(e,t,n,r,o,s){var a=n&oH,c=w1(e),u=c.length,d=w1(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:sH.call(t,m)))return!1}var v=s.get(e),x=s.get(t);if(v&&x)return v==t&&x==e;var y=!0;s.set(e,t),s.set(t,e);for(var w=a;++g<u;){m=c[g];var I=e[m],M=t[m];if(r)var E=a?r(M,I,m,t,e,s):r(I,M,m,e,t,s);if(!(E===void 0?I===M||o(I,M,n,r,s):E)){y=!1;break}w||(w=m=="constructor")}if(y&&!w){var j=e.constructor,P=t.constructor;j!=P&&"constructor"in e&&"constructor"in t&&!(typeof j=="function"&&j instanceof j&&typeof P=="function"&&P instanceof P)&&(y=!1)}return s.delete(e),s.delete(t),y}var lH=aH,cH=_i,uH=zr,dH=cH(uH,"DataView"),fH=dH,pH=_i,hH=zr,gH=pH(hH,"Promise"),mH=gH,vH=_i,yH=zr,bH=vH(yH,"Set"),DS=bH,xH=_i,CH=zr,wH=xH(CH,"WeakMap"),AH=wH,Rh=fH,Mh=Om,kh=mH,Fh=DS,Dh=AH,LS=El,Xs=AS,A1="[object Map]",SH="[object Object]",S1="[object Promise]",T1="[object Set]",E1="[object WeakMap]",I1="[object DataView]",TH=Xs(Rh),EH=Xs(Mh),IH=Xs(kh),OH=Xs(Fh),PH=Xs(Dh),bi=LS;(Rh&&bi(new Rh(new ArrayBuffer(1)))!=I1||Mh&&bi(new Mh)!=A1||kh&&bi(kh.resolve())!=S1||Fh&&bi(new Fh)!=T1||Dh&&bi(new Dh)!=E1)&&(bi=function(e){var t=LS(e),n=t==SH?e.constructor:void 0,r=n?Xs(n):"";if(r)switch(r){case TH:return I1;case EH:return A1;case IH:return S1;case OH:return T1;case PH:return E1}return t});var jH=bi,Up=TS,RH=ES,MH=lz,kH=lH,O1=jH,P1=Il,j1=km,FH=Fm,DH=1,R1="[object Arguments]",M1="[object Array]",zc="[object Object]",LH=Object.prototype,k1=LH.hasOwnProperty;function _H(e,t,n,r,o,s){var a=P1(e),c=P1(t),u=a?M1:O1(e),d=c?M1:O1(t);u=u==R1?zc:u,d=d==R1?zc:d;var h=u==zc,g=d==zc,m=u==d;if(m&&j1(e)){if(!j1(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new Up),a||FH(e)?RH(e,t,n,r,o,s):MH(e,t,u,n,r,o,s);if(!(n&DH)){var v=h&&k1.call(e,"__wrapped__"),x=g&&k1.call(t,"__wrapped__");if(v||x){var y=v?e.value():e,w=x?t.value():t;return s||(s=new Up),o(y,w,n,r,s)}}return m?(s||(s=new Up),kH(e,t,n,r,o,s)):!1}var BH=_H,NH=BH,F1=Ks;function _S(e,t,n,r,o){return e===t?!0:e==null||t==null||!F1(e)&&!F1(t)?e!==e&&t!==t:NH(e,t,n,r,_S,o)}var VH=_S,WH=VH;function $H(e,t){return WH(e,t)}var zH=$H;const D1=ho(zH);var UH=_i,HH=function(){try{var e=UH(Object,"defineProperty");return e({},"",{}),e}catch{}}(),BS=HH,L1=BS;function GH(e,t,n){t=="__proto__"&&L1?L1(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Lm=GH,qH=Lm,YH=Tl;function KH(e,t,n){(n!==void 0&&!YH(e[t],n)||n===void 0&&!(t in e))&&qH(e,t,n)}var NS=KH;function XH(e){return function(t,n,r){for(var o=-1,s=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(n(s[u],u,s)===!1)break}return t}}var ZH=XH,QH=ZH,JH=QH(),eG=JH,Du={exports:{}};Du.exports;(function(e,t){var n=zr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;function u(d,h){if(h)return d.slice();var g=d.length,m=c?c(g):new d.constructor(g);return d.copy(m),m}e.exports=u})(Du,Du.exports);var tG=Du.exports,_1=IS;function nG(e){var t=new e.constructor(e.byteLength);return new _1(t).set(new _1(e)),t}var rG=nG,oG=rG;function iG(e,t){var n=t?oG(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var sG=iG;function aG(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var lG=aG,cG=Li,B1=Object.create,uG=function(){function e(){}return function(t){if(!cG(t))return{};if(B1)return B1(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),dG=uG,fG=FS,pG=fG(Object.getPrototypeOf,Object),VS=pG,hG=dG,gG=VS,mG=Dm;function vG(e){return typeof e.constructor=="function"&&!mG(e)?hG(gG(e)):{}}var yG=vG,bG=Ld,xG=Ks;function CG(e){return xG(e)&&bG(e)}var _m=CG,wG=El,AG=VS,SG=Ks,TG="[object Object]",EG=Function.prototype,IG=Object.prototype,WS=EG.toString,OG=IG.hasOwnProperty,PG=WS.call(Object);function jG(e){if(!SG(e)||wG(e)!=TG)return!1;var t=AG(e);if(t===null)return!0;var n=OG.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&WS.call(n)==PG}var RG=jG;function MG(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var $S=MG,kG=Lm,FG=Tl,DG=Object.prototype,LG=DG.hasOwnProperty;function _G(e,t,n){var r=e[t];(!(LG.call(e,t)&&FG(r,n))||n===void 0&&!(t in e))&&kG(e,t,n)}var BG=_G,NG=BG,VG=Lm;function WG(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),o?VG(n,c,u):NG(n,c,u)}return n}var $G=WG;function zG(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var UG=zG,HG=Li,GG=Dm,qG=UG,YG=Object.prototype,KG=YG.hasOwnProperty;function XG(e){if(!HG(e))return qG(e);var t=GG(e),n=[];for(var r in e)r=="constructor"&&(t||!KG.call(e,r))||n.push(r);return n}var ZG=XG,QG=kS,JG=ZG,eq=Ld;function tq(e){return eq(e)?QG(e,!0):JG(e)}var zS=tq,nq=$G,rq=zS;function oq(e){return nq(e,rq(e))}var iq=oq,N1=NS,sq=tG,aq=sG,lq=lG,cq=yG,V1=Mm,W1=Il,uq=_m,dq=km,fq=Im,pq=Li,hq=RG,gq=Fm,$1=$S,mq=iq;function vq(e,t,n,r,o,s,a){var c=$1(e,n),u=$1(t,n),d=a.get(u);if(d){N1(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=W1(u),v=!m&&dq(u),x=!m&&!v&&gq(u);h=u,m||v||x?W1(c)?h=c:uq(c)?h=lq(c):v?(g=!1,h=sq(u,!0)):x?(g=!1,h=aq(u,!0)):h=[]:hq(u)||V1(u)?(h=c,V1(c)?h=mq(c):(!pq(c)||fq(c))&&(h=cq(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),N1(e,n,h)}var yq=vq,bq=TS,xq=NS,Cq=eG,wq=yq,Aq=Li,Sq=zS,Tq=$S;function US(e,t,n,r,o){e!==t&&Cq(t,function(s,a){if(o||(o=new bq),Aq(s))wq(e,t,a,n,US,r,o);else{var c=r?r(Tq(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),xq(e,a,c)}},Sq)}var Eq=US;function Iq(e){return e}var HS=Iq;function Oq(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Pq=Oq,jq=Pq,z1=Math.max;function Rq(e,t,n){return t=z1(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=z1(r.length-t,0),a=Array(s);++o<s;)a[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(a),jq(e,this,c)}}var Mq=Rq;function kq(e){return function(){return e}}var Fq=kq,Dq=Fq,U1=BS,Lq=HS,_q=U1?function(e,t){return U1(e,"toString",{configurable:!0,enumerable:!1,value:Dq(t),writable:!0})}:Lq,Bq=_q,Nq=800,Vq=16,Wq=Date.now;function $q(e){var t=0,n=0;return function(){var r=Wq(),o=Vq-(r-n);if(n=r,o>0){if(++t>=Nq)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zq=$q,Uq=Bq,Hq=zq,Gq=Hq(Uq),qq=Gq,Yq=HS,Kq=Mq,Xq=qq;function Zq(e,t){return Xq(Kq(e,t,Yq),e+"")}var Bm=Zq,Qq=Tl,Jq=Ld,eY=jS,tY=Li;function nY(e,t,n){if(!tY(n))return!1;var r=typeof t;return(r=="number"?Jq(n)&&eY(t,n.length):r=="string"&&t in n)?Qq(n[t],e):!1}var rY=nY,oY=Bm,iY=rY;function sY(e){return oY(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,a&&iY(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,s)}return t})}var aY=sY,lY=Eq,cY=aY,uY=cY(function(e,t,n){lY(e,t,n)}),dY=uY;const fY=ho(dY);var Lu=function(){return Lu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Lu.apply(this,arguments)},GS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},qS=function(e){var t=e.className,n=e.icon,r=n===void 0?hY:n,o=e.label,s=o===void 0?"ra.action.create":o;e.resource;var a=e.scrollToTop,c=a===void 0?!0:a,u=e.variant,d=e.to,h=e.state,g=h===void 0?{}:h,m=GS(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=te.useResourceContext(e),x=te.useCreatePath(),y=te.useTranslate(),w=A.useMediaQuery(function(E){return E.breakpoints.down("md")}),I=fY({},pY.get(String(c)),g),M=yY(d);return w?_.createElement(gY,Lu({component:dt.Link,to:x({resource:v,type:"create"}),state:I,color:"primary",className:nl(Lh.floating,t),"aria-label":s&&y(s)},m,M),r):_.createElement(mY,Lu({component:dt.Link,to:x({resource:v,type:"create"}),state:I,className:nl(Lh.root,t),label:s,variant:u},m,M),r)},pY=new Map([["true",{_scrollToTop:!0}],["false",{}]]),hY=_.createElement(bS,null);qS.propTypes={resource:C.string,className:C.string,icon:C.element,label:C.string};var _u="RaCreateButton",Lh={root:"".concat(_u,"-root"),floating:"".concat(_u,"-floating")},gY=fe(A.Fab,{name:_u,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(Lh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),mY=fe(Tm,{name:_u,overridesResolver:function(e,t){return t.root}})({});const vY=_.memo(qS,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&D1(e.to,t.to)&&D1(e.state,t.state)});var yY=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=GS(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},_h=function(){return _h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},_h.apply(this,arguments)},bY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Uc,Hp,YS=function(e){var t=e.className,n=e.onClick,r=e.sx,o=bY(e,["className","onClick","sx"]),s=te.useLoading(),a=Gt();return _.createElement(xY,{className:t,sx:r},_.createElement(c2,{className:"".concat(Is.loadedIcon," ").concat(s&&Is.loadedLoading),onClick:n}),s&&_.createElement(Od,_h({className:nl("app-loader",Is.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};YS.propTypes={classes:C.object,className:C.string,width:C.string};var su="RaLoadingIndicator",Is={loader:"".concat(su,"-loader"),loadedLoading:"".concat(su,"-loadedLoading"),loadedIcon:"".concat(su,"-loadedIcon")},xY=fe("div",{name:su,overridesResolver:function(e,t){return t.root}})((Uc={position:"relative"},Uc["& .".concat(Is.loadedIcon)]=(Hp={},Hp["&.".concat(Is.loadedLoading)]={opacity:0},Hp),Uc["& .".concat(Is.loader)]={position:"absolute",top:"30%",left:"30%"},Uc));const CY=e=>e.scrollTop;function H1(e,t){var n,r;const{timeout:o,easing:s,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:a.transitionDelay}}function wY(e){return typeof e=="function"?e():e}const Bu=_.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=_.useState(null),u=Pn(_.isValidElement(r)?r.ref:null,n);if(Wr(()=>{s||c(wY(o)||document.body)},[o,s]),Wr(()=>{if(a&&!s)return Fs(n,a),()=>{Fs(n,null)}},[n,a,s]),s){if(_.isValidElement(r)){const d={ref:u};return _.cloneElement(r,d)}return f.jsx(_.Fragment,{children:r})}return f.jsx(_.Fragment,{children:a&&TC.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(Bu.propTypes={children:C.node,container:C.oneOfType([zo,C.func]),disablePortal:C.bool});process.env.NODE_ENV!=="production"&&(Bu.propTypes=bd(Bu.propTypes));var Nm={},AY=qo;Object.defineProperty(Nm,"__esModule",{value:!0});var KS=Nm.default=void 0,SY=AY(Us()),TY=f;KS=Nm.default=(0,SY.default)((0,TY.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var EY=function(e){var t=e.children,n=e.editor,r=e.preferenceKey,o=e.openButtonLabel,s=o===void 0?"ra.configurable.customize":o,a=e.sx,c="preferences.".concat(r),u=te.usePreferencesEditor(),d=!!u,h=te.useTranslate(),g=u||{},m=g.isEnabled,v=g.setEditor,x=g.preferenceKey,y=g.setPreferenceKey,w=c===x,I=T.useRef(w),M=T.useRef(null),E=T.useState(!1),j=E[0],P=E[1];if(T.useEffect(function(){I.current=w},[w]),T.useEffect(function(){return function(){I.current&&(y&&y(null),v&&v(null))}},[v,y]),!d)return t;var F=function(){v(T.cloneElement(n,{preferenceKey:c,key:c})),y(c)},k=function(){P(!0)},$=function(){P(!1)};return _.createElement(te.PreferenceKeyContextProvider,{value:c},_.createElement(IY,{className:nl(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:M,onMouseEnter:m?k:void 0,onMouseLeave:m?$:void 0},t),_.createElement(A.Popover,{open:m&&(j||w),sx:{pointerEvents:"none","& .MuiPaper-root":{pointerEvents:"auto",borderRadius:10,padding:"2px",lineHeight:0,backgroundColor:"warning.light",color:"warning.contrastText","&:hover":{cursor:"pointer"}}},anchorEl:M.current,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"center"},onClose:$,PaperProps:{elevation:1,onMouseEnter:k,onMouseLeave:$,title:h(s),onClick:F},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},_.createElement(KS,{fontSize:"12px"})))},au="RaConfigurable",ro={root:"".concat(au,"-root"),editMode:"".concat(au,"-editMode"),editorActive:"".concat(au,"-editorActive")},IY=fe("span",{name:au,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative",display:"inline-block"},t["&.".concat(ro.editMode)]={transition:n.transitions.create("outline"),outline:"".concat(A.alpha(n.palette.warning.main,.3)," solid 2px")},t["&.".concat(ro.editMode,":hover ")]={outline:"".concat(A.alpha(n.palette.warning.main,.5)," solid 2px")},t["&.".concat(ro.editMode,".").concat(ro.editorActive," , &.").concat(ro.editMode,".").concat(ro.editorActive,":hover ")]={outline:"".concat(n.palette.warning.main," solid 2px")},t}),Ci=function(){return Ci=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ci.apply(this,arguments)},OY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},PY=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=OY(e,["title","defaultTitle","className"]),s=te.usePreference()[0],a=te.useTranslate(),c=te.useRecordContext();return s?_.createElement("span",Ci({className:r},o),a(s,Ci(Ci({},c),{_:s}))):_.createElement("span",{className:r},t?typeof t=="string"?_.createElement("span",Ci({},o),a(t,{_:t})):t:_.createElement("span",Ci({},o),n))},Nu=function(){return Nu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Nu.apply(this,arguments)},jY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},RY=function(){var e=te.usePreferenceInput();return _.createElement("form",null,_.createElement(A.TextField,Nu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},MY=function(e){var t=e.preferenceKey,n=jY(e,["preferenceKey"]),r=dt.useLocation().pathname;return _.createElement(EY,{editor:_.createElement(RY,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},_.createElement(PY,Nu({},n)))},Bh=function(){return Bh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Bh.apply(this,arguments)},kY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},XS=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=kY(e,["defaultTitle","title","preferenceKey"]),s=T.useState(function(){return typeof document<"u"?document.getElementById("react-admin-title"):null}),a=s[0],c=s[1];return T.useEffect(function(){c(function(u){var d=typeof document<"u"&&document.body.contains(u);return u&&d?u:typeof document<"u"?document.getElementById("react-admin-title"):null})},[]),a?(te.warning(!t&&!n,"Missing title prop in <Title> element"),gs.createPortal(_.createElement(MY,Bh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},FY=C.oneOfType([C.string,C.element]);XS.propTypes={defaultTitle:C.string,className:C.string,record:C.any,title:FY};var DY=function(e){var t=ji.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},LY=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,o){return!Object.is(r,n[o])})},G1={error:null},_Y=function(e){pm(t,e);function t(){for(var r,o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s))||this,r.state=G1,r.resetErrorBoundary=function(){for(var c,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];r.props.onReset==null||(c=r.props).onReset.apply(c,d),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(G1)},n.componentDidCatch=function(o,s){var a,c;(a=(c=this.props).onError)==null||a.call(c,o,s)},n.componentDidUpdate=function(o,s){var a=this.state.error,c=this.props.resetKeys;if(a!==null&&s.error!==null&&LY(o.resetKeys,c)){var u,d;(u=(d=this.props).onResetKeysChange)==null||u.call(d,o.resetKeys,c),this.reset()}},n.render=function(){var o=this.state.error,s=this.props,a=s.fallbackRender,c=s.FallbackComponent,u=s.fallback;if(o!==null){var d={error:o,resetErrorBoundary:this.resetErrorBoundary};if(_.isValidElement(u))return u;if(typeof a=="function")return a(d);if(c)return _.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(_.Component);function BY(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var NY=BY,Nh=function(){return Nh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Nh.apply(this,arguments)},VY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ZS=function(e){var t=e.className,n=e.loadingPrimary,r=n===void 0?"ra.page.loading":n,o=e.loadingSecondary,s=o===void 0?"ra.message.loading":o,a=VY(e,["className","loadingPrimary","loadingSecondary"]),c=te.useTimeout(1e3),u=te.useTranslate();return c?_.createElement(WY,Nh({className:t},a),_.createElement("div",{className:Vu.message},_.createElement(Od,{className:Vu.icon}),_.createElement(A.Typography,{variant:"h5",mt:3,color:"text.secondary"},u(r,{_:r})),_.createElement(A.Typography,{variant:"body2"},u(s,{_:s})))):null};ZS.propTypes={className:C.string,loadingPrimary:C.string,loadingSecondary:C.string};var lu="RaLoading",Vu={root:"".concat(lu,"-root"),icon:"".concat(lu,"-icon"),message:"".concat(lu,"-message")},WY=fe("div",{name:lu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%"},t["& .".concat(Vu.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(Vu.icon)]={width:"9em",height:"9em"},t}),Vm={},$Y=qo;Object.defineProperty(Vm,"__esModule",{value:!0});var QS=Vm.default=void 0,zY=$Y(Us()),UY=f;QS=Vm.default=(0,zY.default)((0,UY.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create");var Vh=function(){return Vh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Vh.apply(this,arguments)},HY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},JS=function(e){var t=e.icon,n=t===void 0?qY:t,r=e.label,o=r===void 0?"ra.action.edit":r,s=e.scrollToTop,a=s===void 0?!0:s,c=e.className,u=HY(e,["icon","label","scrollToTop","className"]),d=te.useResourceContext(e),h=te.useRecordContext(e),g=te.useCreatePath();return h?_.createElement(XY,Vh({component:dt.Link,to:g({type:"edit",resource:d,id:h.id}),state:GY[String(a)],label:o,onClick:YY,className:nl(KY.root,c)},u),n):null},GY={true:{_scrollToTop:!0},false:{}},qY=_.createElement(QS,null),YY=function(e){return e.stopPropagation()};JS.propTypes={icon:C.element,label:C.string,record:C.any,scrollToTop:C.bool};var e2="RaEditButton",KY={root:"".concat(e2,"-root")},XY=fe(Tm,{name:e2,overridesResolver:function(e,t){return t.root}})({}),Wm={},ZY=qo;Object.defineProperty(Wm,"__esModule",{value:!0});var t2=Wm.default=void 0,QY=ZY(Us()),JY=f;t2=Wm.default=(0,QY.default)((0,JY.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");const eK=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wh(e){return`scale(${e}, ${e**2})`}const tK={entering:{opacity:1,transform:Wh(1)},entered:{opacity:1,transform:"none"}},Gp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Wu=_.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:a,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:g,onExited:m,onExiting:v,style:x,timeout:y="auto",TransitionComponent:w=mo}=t,I=He(t,eK),M=Cs(),E=_.useRef(),j=Gt(),P=_.useRef(null),F=Pn(P,s.ref,n),k=X=>W=>{if(X){const K=P.current;W===void 0?X(K):X(K,W)}},$=k(h),G=k((X,W)=>{CY(X);const{duration:K,delay:B,easing:ne}=H1({style:x,timeout:y,easing:a},{mode:"enter"});let V;y==="auto"?(V=j.transitions.getAutoHeightDuration(X.clientHeight),E.current=V):V=K,X.style.transition=[j.transitions.create("opacity",{duration:V,delay:B}),j.transitions.create("transform",{duration:Gp?V:V*.666,delay:B,easing:ne})].join(","),u&&u(X,W)}),J=k(d),U=k(v),ae=k(X=>{const{duration:W,delay:K,easing:B}=H1({style:x,timeout:y,easing:a},{mode:"exit"});let ne;y==="auto"?(ne=j.transitions.getAutoHeightDuration(X.clientHeight),E.current=ne):ne=W,X.style.transition=[j.transitions.create("opacity",{duration:ne,delay:K}),j.transitions.create("transform",{duration:Gp?ne:ne*.666,delay:Gp?K:K||ne*.333,easing:B})].join(","),X.style.opacity=0,X.style.transform=Wh(.75),g&&g(X)}),se=k(m),Z=X=>{y==="auto"&&M.start(E.current||0,X),r&&r(P.current,X)};return f.jsx(w,Y({appear:o,in:c,nodeRef:P,onEnter:G,onEntered:J,onEntering:$,onExit:ae,onExited:se,onExiting:U,addEndListener:Z,timeout:y==="auto"?null:y},I,{children:(X,W)=>_.cloneElement(s,Y({style:Y({opacity:0,transform:Wh(.75),visibility:X==="exited"&&!c?"hidden":void 0},tK[X],x,s.props.style),ref:F},W))}))});process.env.NODE_ENV!=="production"&&(Wu.propTypes={addEndListener:C.func,appear:C.bool,children:lm.isRequired,easing:C.oneOfType([C.shape({enter:C.string,exit:C.string}),C.string]),in:C.bool,onEnter:C.func,onEntered:C.func,onEntering:C.func,onExit:C.func,onExited:C.func,onExiting:C.func,style:C.object,timeout:C.oneOfType([C.oneOf(["auto"]),C.number,C.shape({appear:C.number,enter:C.number,exit:C.number})])});Wu.muiSupportAuto=!0;const n2="base";function nK(e){return`${n2}--${e}`}function rK(e,t){return`${n2}-${e}-${t}`}function r2(e,t){const n=mA[t];return n?nK(n):rK(e,t)}function oK(e,t){const n={};return t.forEach(r=>{n[r]=r2(e,r)}),n}const o2="Popper";function iK(e){return r2(o2,e)}oK(o2,["root"]);const sK=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],aK=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function lK(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $u(e){return typeof e=="function"?e():e}function _d(e){return e.nodeType!==void 0}function cK(e){return!_d(e)}const uK=()=>gr({root:["root"]},AL(iK)),dK={},fK=_.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:x={},TransitionProps:y}=t,w=He(t,sK),I=_.useRef(null),M=Pn(I,n),E=_.useRef(null),j=Pn(E,m),P=_.useRef(j);Wr(()=>{P.current=j},[j]),_.useImperativeHandle(m,()=>E.current,[]);const F=lK(h,a),[k,$]=_.useState(F),[G,J]=_.useState($u(o));_.useEffect(()=>{E.current&&E.current.forceUpdate()}),_.useEffect(()=>{o&&J($u(o))},[o]),Wr(()=>{if(!G||!d)return;const X=B=>{$(B.placement)};if(process.env.NODE_ENV!=="production"&&G&&_d(G)&&G.nodeType===1){const B=G.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
181
- `))}let W=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{X(B)}}];u!=null&&(W=W.concat(u)),g&&g.modifiers!=null&&(W=W.concat(g.modifiers));const K=aS(G,I.current,Y({placement:F},g,{modifiers:W}));return P.current(K),()=>{K.destroy(),P.current(null)}},[G,c,u,d,g,F]);const U={placement:k};y!==null&&(U.TransitionProps=y);const ae=uK(),se=(r=x.root)!=null?r:"div",Z=BA({elementType:se,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:M},ownerState:t,className:ae.root});return f.jsx(se,Y({},Z,{children:typeof s=="function"?s(U):s}))}),i2=_.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=dK,popperRef:v,style:x,transition:y=!1,slotProps:w={},slots:I={}}=t,M=He(t,aK),[E,j]=_.useState(!0),P=()=>{j(!1)},F=()=>{j(!0)};if(!u&&!h&&(!y||E))return null;let k;if(s)k=s;else if(r){const J=$u(r);k=J&&_d(J)?Ds(J).body:Ds(null).body}const $=!h&&u&&(!y||E)?"none":void 0,G=y?{in:h,onEnter:P,onExited:F}:void 0;return f.jsx(Bu,{disablePortal:c,container:k,children:f.jsx(fK,Y({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:y?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},M,{style:Y({position:"fixed",top:0,left:0,display:$},x),TransitionProps:G,children:o}))})});process.env.NODE_ENV!=="production"&&(i2.propTypes={anchorEl:Yo(C.oneOfType([zo,C.object,C.func]),e=>{if(e.open){const t=$u(e.anchorEl);if(t&&_d(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
180
+ `),tN)),Od=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:d=3.6,value:h=0,variant:g="indeterminate"}=r,m=He(r,J7),v=Y({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),b=nN(v),x={},w={},I={};if(g==="determinate"){const M=2*Math.PI*((Io-d)/2);x.strokeDasharray=M.toFixed(3),I["aria-valuenow"]=Math.round(h),x.strokeDashoffset=`${((100-h)/100*M).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(rN,Y({className:lt(b.root,o),style:Y({width:c,height:c},w,u),ownerState:v,ref:n,role:"progressbar"},I,m,{children:f.jsx(oN,{className:b.svg,ownerState:v,viewBox:`${Io/2} ${Io/2} ${Io} ${Io}`,children:f.jsx(iN,{className:b.circle,style:x,ownerState:v,cx:Io,cy:Io,r:(Io-d)/2,fill:"none",strokeWidth:d})})}))});process.env.NODE_ENV!=="production"&&(Od.propTypes={classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","primary","secondary","error","info","success","warning"]),C.string]),disableShrink:Yo(C.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:C.oneOfType([C.number,C.string]),style:C.object,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),thickness:C.number,value:C.number,variant:C.oneOf(["determinate","indeterminate"])});function sN(e){return qn("MuiLoadingButton",e)}const to=yr("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),aN=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],lN=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${ze(n)}`],endIcon:[t&&`endIconLoading${ze(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${ze(n)}`]},s=gr(o,sN,r);return Y({},r,s)},cN=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",uN=fe(fS,{shouldForwardProp:e=>cN(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${to.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${to.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>Y({[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${to.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${to.startIconLoadingStart}, & .${to.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),dN=fe("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${ze(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>Y({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),pS=_.forwardRef(function(t,n){const r=vr({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:d="center",variant:h="text"}=r,g=He(r,aN),m=cm(a),v=u??f.jsx(Od,{"aria-labelledby":m,color:"inherit",size:16}),b=Y({},r,{disabled:s,loading:c,loadingIndicator:v,loadingPosition:d,variant:h}),x=lN(b),w=c?f.jsx(dN,{className:x.loadingIndicator,ownerState:b,children:v}):null;return f.jsxs(uN,Y({disabled:s||c,id:m,ref:n},g,{variant:h,classes:x,ownerState:b,children:[b.loadingPosition==="end"?o:w,b.loadingPosition==="end"?w:o]}))});process.env.NODE_ENV!=="production"&&(pS.propTypes={children:C.node,classes:C.object,disabled:C.bool,id:C.string,loading:C.bool,loadingIndicator:C.node,loadingPosition:Yo(C.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["contained","outlined","text"]),C.string])});function Vp({variant:e,theme:t,color:n,loadingPosition:r}){const o=Qt(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,d=`${n}Button`,h=zs(t,d),g={"& .MuiLoadingButton-loadingIndicator":{color:a}},m={...r&&r!=="center"&&{color:a}},v={"&::after":{boxShadow:`0 0 6px 6px ${tt(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(a,.9)}`},"&:focus-visible":{outline:`2px solid ${c}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"shadow":return{boxShadow:h,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...v};case"outlined":return{backgroundColor:"transparent",borderColor:a,...m,...g};case"dashed":return{backgroundColor:s,borderColor:a,...m,...g,...v};case"text":default:return{color:a,...g,...v}}}const fN=fe(pS,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:o,loadingPosition:s})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!o&&{color:"#fff"},...t!=="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Vp({variant:t,theme:e,color:r,loadingPosition:s})}}})),pN=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Gt();return f.jsx(fN,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function hN({color:e,theme:t,labelColor:n}){const r=Qt(t,e),{main:o,contrastText:s}=r,a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${A.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${A.tooltipClasses.arrow}`]:{color:o}}:{[`& .${A.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${A.tooltipClasses.arrow}`]:{color:a}}}const gN=fe(({className:e,...t})=>f.jsx(A.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&hN({color:t,theme:e,labelColor:n})}));function Pd({children:e,arrow:t,labelColor:n="",...r}){const o=Gt();return f.jsx(A.Box,{display:"flex",children:f.jsx(gN,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const ki=T.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...o},s)=>{let a={transformOrigin:"0 0 0"};switch(t){case"top-right":a={transformOrigin:"top right"};break;case"top":a={transformOrigin:"top"};break;case"bottom-left":a={transformOrigin:"bottom left"};break;case"bottom-right":a={transformOrigin:"bottom right"};break;case"bottom":a={transformOrigin:"bottom"};break;case"top-left":default:a={transformOrigin:"0 0 0"};break}return f.jsxs(A.Box,{ref:s,children:[n==="grow"&&f.jsx(A.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:f.jsx(A.Box,{sx:a,children:e})}),n==="collapse"&&f.jsx(A.Collapse,{...o,sx:a,children:e}),n==="fade"&&f.jsx(A.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:f.jsx(A.Box,{sx:a,children:e})}),n==="slide"&&f.jsx(A.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(A.Box,{sx:a,children:e})}),n==="zoom"&&f.jsx(A.Zoom,{...o,children:f.jsx(A.Box,{sx:a,children:e})})]})}),mN=T.forwardRef(function(t,n){return f.jsx(A.Zoom,{ref:n,timeout:200,...t})});function vN({value:e,...t}){return f.jsxs(A.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(A.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(A.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(A.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}function yN({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return f.jsxs(A.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(A.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o?f.jsx(A.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(A.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}):null,f.jsx(A.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${A.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}function bN({icon:e,value:t,...n}){return f.jsxs(A.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(A.Box,{sx:{width:"100%",mr:1},children:f.jsx(A.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(A.Box,{sx:{minWidth:35},children:e})]})}function xN({value:e,...t}){return f.jsxs(A.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(A.Box,{sx:{width:"100%",mr:1},children:f.jsx(A.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(A.Box,{sx:{minWidth:35},children:f.jsx(A.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}const hS=fe("span")(({arrow:e="top-right",theme:t})=>{const o=t.palette.mode==="dark"?"none":`solid 1px ${tt(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},c={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},u={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper,backgroundImage:"inherit",borderLeft:o,borderBottom:o},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...a,left:20},...e==="bottom-center"&&{...a,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...a,right:20},...e==="left-top"&&{...c,top:20},...e==="left-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...c,bottom:20},...e==="right-top"&&{...u,top:20},...e==="right-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...u,bottom:20}}});function gS(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}function mS({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=gS(n);return f.jsxs(A.Popover,{open:!!e,anchorEl:e,anchorOrigin:c,transformOrigin:u,keepMounted:!0,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...a,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(hS,{arrow:n}),t]})}const CN={width:"100%",justifyContent:"flex-start"},wN=A.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),AN=A.styled(mS,{slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,"& .MuiButton-startIcon":{marginRight:e.spacing(0)},[e.breakpoints.down("sm")]:{"&>.MuiSvgIcon-root, & svg":{marginRight:e.spacing(0)}}}}));function Uo({horizontal:e=!1,children:t}){const[n,r]=T.useState(null),o=T.useRef(null);function s(u){u.stopPropagation(),u.preventDefault(),r(u.currentTarget),o.current=u.currentTarget}const a=T.useCallback(u=>{u.stopPropagation(),u.preventDefault(),r(null)},[]),c=T.useCallback(u=>{var d;r(null),typeof((d=u.currentTarget)==null?void 0:d.onClick)=="function"&&u.currentTarget.onClick(u)},[]);return!t||T.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(u=>T.isValidElement(u)).length)===0?null:f.jsxs(wN,{children:[f.jsx(A.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:s,color:n?"inherit":"default",children:e?f.jsx(Un.MoreHoriz,{}):f.jsx(Un.MoreVert,{})}),f.jsx(AN,{open:n,onClose:a,arrow:"right-top",children:T.Children.map(t,(u,d)=>T.isValidElement(u)&&f.jsx(A.MenuItem,{onClick:c,children:T.cloneElement(u,{style:{...CN}})},d))})]})}function jd(){const e=Zt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(A.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})}const vS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHVycdXVwFQTBHxBXFyd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y0xMS0zMFQxMjo0MTozMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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tAIBai6J/K+kVUt3IulGkHZHUK26RA0D1M6wb9WiiaGRNtM1pAABRNCDr6pZ2SOZ0tD7R/gUAlYFaNLKGAsQdkXkh7QsiTQ4A/kfR+zOCjnIcyBqKE3evLdpG3ADglaBJcyNr8Enc22SmyqlvA0Axgh6StE/SMGluZA3+S9uqb2+TmSoHAHAT9ClJA5koGkEja0DcAICgAVlDPvK2izvEiQA0jKBfzQiaFDeyhhoTd6+4nAZQr4zIbLPikhiyhjoSd4/MqWnbRB83QK0yZBN0lONA1lDf4g5liZuoG6A6sdLbg6L+jKyBqJuoG6Bq5HwqEz0PBgKBYY4EkDW4ydsSdw/yBvCdoUzkPCguhwGyhiLFHcpIG3kDeCfn4Uz0jJwBWYOv8u7NfGwQLWIAblhpbSJnQNZQcYH32gS+QVxYg8ZlxJKyqDkDsoYql3fEJu8eom+o86h52IqciZoBWUOtC7wnE3EjcKh1MVtRc5RjAWQNCBygMoxkhBxFzICsAZwFbl1gs0SOxMHPaHnEFi0PiwtggKwBkDhUPFK2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";var Wp={};const SN=go(CB);var l1;function Us(){return l1||(l1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=SN}(Wp)),Wp}var $a=function(){return $a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$a.apply(this,arguments)},yS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Tm=function(e){var t=e.alignIcon,n=t===void 0?"left":t,r=e.children,o=e.className,s=e.disabled,a=e.label,c=e.color,u=c===void 0?"primary":c,d=e.size,h=d===void 0?"small":d,g=e.to,m=yS(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=te.useTranslate(),b=a?v(a,{_:a}):void 0,x=IN(g),w=A.useMediaQuery(function(I){return I.breakpoints.down("sm")});return w?a&&!s?_.createElement(A.Tooltip,{title:b},_.createElement(A.IconButton,$a({"aria-label":b,className:o,color:u,size:"large"},x,m),r)):_.createElement(A.IconButton,$a({className:o,color:u,disabled:s,size:"large"},x,m),r):_.createElement(EN,$a({className:o,color:u,size:h,"aria-label":b,disabled:s,startIcon:n==="left"&&r?r:void 0,endIcon:n==="right"&&r?r:void 0},x,m),b)};Tm.propTypes={alignIcon:C.oneOf(["left","right"]),children:C.element,className:C.string,color:C.oneOfType([C.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),C.string]),disabled:C.bool,label:C.string,size:C.oneOf(["small","medium","large"])};var TN="RaButton",EN=fe(A.Button,{name:TN,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),IN=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=yS(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},Em={},ON=qo;Object.defineProperty(Em,"__esModule",{value:!0});var bS=Em.default=void 0,PN=ON(Us()),jN=f;bS=Em.default=(0,PN.default)((0,jN.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function xS(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=xS(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function nl(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=xS(e))&&(r&&(r+=" "),r+=t);return r}function RN(){this.__data__=[],this.size=0}var MN=RN;function kN(e,t){return e===t||e!==e&&t!==t}var Tl=kN,FN=Tl;function DN(e,t){for(var n=e.length;n--;)if(FN(e[n][0],t))return n;return-1}var Rd=DN,LN=Rd,_N=Array.prototype,BN=_N.splice;function NN(e){var t=this.__data__,n=LN(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():BN.call(t,n,1),--this.size,!0}var VN=NN,WN=Rd;function $N(e){var t=this.__data__,n=WN(t,e);return n<0?void 0:t[n][1]}var zN=$N,UN=Rd;function HN(e){return UN(this.__data__,e)>-1}var GN=HN,qN=Rd;function YN(e,t){var n=this.__data__,r=qN(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var KN=YN,XN=MN,ZN=VN,QN=zN,JN=GN,eV=KN;function Hs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hs.prototype.clear=XN;Hs.prototype.delete=ZN;Hs.prototype.get=QN;Hs.prototype.has=JN;Hs.prototype.set=eV;var Md=Hs,tV=Md;function nV(){this.__data__=new tV,this.size=0}var rV=nV;function oV(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var iV=oV;function sV(e){return this.__data__.get(e)}var aV=sV;function lV(e){return this.__data__.has(e)}var cV=lV,uV=typeof An=="object"&&An&&An.Object===Object&&An,CS=uV,dV=CS,fV=typeof self=="object"&&self&&self.Object===Object&&self,pV=dV||fV||Function("return this")(),zr=pV,hV=zr,gV=hV.Symbol,kd=gV,c1=kd,wS=Object.prototype,mV=wS.hasOwnProperty,vV=wS.toString,Ea=c1?c1.toStringTag:void 0;function yV(e){var t=mV.call(e,Ea),n=e[Ea];try{e[Ea]=void 0;var r=!0}catch{}var o=vV.call(e);return r&&(t?e[Ea]=n:delete e[Ea]),o}var bV=yV,xV=Object.prototype,CV=xV.toString;function wV(e){return CV.call(e)}var AV=wV,u1=kd,SV=bV,TV=AV,EV="[object Null]",IV="[object Undefined]",d1=u1?u1.toStringTag:void 0;function OV(e){return e==null?e===void 0?IV:EV:d1&&d1 in Object(e)?SV(e):TV(e)}var El=OV;function PV(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Li=PV,jV=El,RV=Li,MV="[object AsyncFunction]",kV="[object Function]",FV="[object GeneratorFunction]",DV="[object Proxy]";function LV(e){if(!RV(e))return!1;var t=jV(e);return t==kV||t==FV||t==MV||t==DV}var Im=LV,_V=zr,BV=_V["__core-js_shared__"],NV=BV,$p=NV,f1=function(){var e=/[^.]+$/.exec($p&&$p.keys&&$p.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VV(e){return!!f1&&f1 in e}var WV=VV,$V=Function.prototype,zV=$V.toString;function UV(e){if(e!=null){try{return zV.call(e)}catch{}try{return e+""}catch{}}return""}var AS=UV,HV=Im,GV=WV,qV=Li,YV=AS,KV=/[\\^$.*+?()[\]{}|]/g,XV=/^\[object .+?Constructor\]$/,ZV=Function.prototype,QV=Object.prototype,JV=ZV.toString,eW=QV.hasOwnProperty,tW=RegExp("^"+JV.call(eW).replace(KV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nW(e){if(!qV(e)||GV(e))return!1;var t=HV(e)?tW:XV;return t.test(YV(e))}var rW=nW;function oW(e,t){return e==null?void 0:e[t]}var iW=oW,sW=rW,aW=iW;function lW(e,t){var n=aW(e,t);return sW(n)?n:void 0}var _i=lW,cW=_i,uW=zr,dW=cW(uW,"Map"),Om=dW,fW=_i,pW=fW(Object,"create"),Fd=pW,p1=Fd;function hW(){this.__data__=p1?p1(null):{},this.size=0}var gW=hW;function mW(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vW=mW,yW=Fd,bW="__lodash_hash_undefined__",xW=Object.prototype,CW=xW.hasOwnProperty;function wW(e){var t=this.__data__;if(yW){var n=t[e];return n===bW?void 0:n}return CW.call(t,e)?t[e]:void 0}var AW=wW,SW=Fd,TW=Object.prototype,EW=TW.hasOwnProperty;function IW(e){var t=this.__data__;return SW?t[e]!==void 0:EW.call(t,e)}var OW=IW,PW=Fd,jW="__lodash_hash_undefined__";function RW(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=PW&&t===void 0?jW:t,this}var MW=RW,kW=gW,FW=vW,DW=AW,LW=OW,_W=MW;function Gs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gs.prototype.clear=kW;Gs.prototype.delete=FW;Gs.prototype.get=DW;Gs.prototype.has=LW;Gs.prototype.set=_W;var BW=Gs,h1=BW,NW=Md,VW=Om;function WW(){this.size=0,this.__data__={hash:new h1,map:new(VW||NW),string:new h1}}var $W=WW;function zW(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var UW=zW,HW=UW;function GW(e,t){var n=e.__data__;return HW(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Dd=GW,qW=Dd;function YW(e){var t=qW(this,e).delete(e);return this.size-=t?1:0,t}var KW=YW,XW=Dd;function ZW(e){return XW(this,e).get(e)}var QW=ZW,JW=Dd;function e$(e){return JW(this,e).has(e)}var t$=e$,n$=Dd;function r$(e,t){var n=n$(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o$=r$,i$=$W,s$=KW,a$=QW,l$=t$,c$=o$;function qs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qs.prototype.clear=i$;qs.prototype.delete=s$;qs.prototype.get=a$;qs.prototype.has=l$;qs.prototype.set=c$;var SS=qs,u$=Md,d$=Om,f$=SS,p$=200;function h$(e,t){var n=this.__data__;if(n instanceof u$){var r=n.__data__;if(!d$||r.length<p$-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new f$(r)}return n.set(e,t),this.size=n.size,this}var g$=h$,m$=Md,v$=rV,y$=iV,b$=aV,x$=cV,C$=g$;function Ys(e){var t=this.__data__=new m$(e);this.size=t.size}Ys.prototype.clear=v$;Ys.prototype.delete=y$;Ys.prototype.get=b$;Ys.prototype.has=x$;Ys.prototype.set=C$;var TS=Ys,w$="__lodash_hash_undefined__";function A$(e){return this.__data__.set(e,w$),this}var S$=A$;function T$(e){return this.__data__.has(e)}var E$=T$,I$=SS,O$=S$,P$=E$;function Mu(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new I$;++t<n;)this.add(e[t])}Mu.prototype.add=Mu.prototype.push=O$;Mu.prototype.has=P$;var Pm=Mu;function j$(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var R$=j$;function M$(e,t){return e.has(t)}var jm=M$,k$=Pm,F$=R$,D$=jm,L$=1,_$=2;function B$(e,t,n,r,o,s){var a=n&L$,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var g=-1,m=!0,v=n&_$?new k$:void 0;for(s.set(e,t),s.set(t,e);++g<c;){var b=e[g],x=t[g];if(r)var w=a?r(x,b,g,t,e,s):r(b,x,g,e,t,s);if(w!==void 0){if(w)continue;m=!1;break}if(v){if(!F$(t,function(I,M){if(!D$(v,M)&&(b===I||o(b,I,n,r,s)))return v.push(M)})){m=!1;break}}else if(!(b===x||o(b,x,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var ES=B$,N$=zr,V$=N$.Uint8Array,IS=V$;function W$(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var $$=W$;function z$(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Rm=z$,g1=kd,m1=IS,U$=Tl,H$=ES,G$=$$,q$=Rm,Y$=1,K$=2,X$="[object Boolean]",Z$="[object Date]",Q$="[object Error]",J$="[object Map]",ez="[object Number]",tz="[object RegExp]",nz="[object Set]",rz="[object String]",oz="[object Symbol]",iz="[object ArrayBuffer]",sz="[object DataView]",v1=g1?g1.prototype:void 0,zp=v1?v1.valueOf:void 0;function az(e,t,n,r,o,s,a){switch(n){case sz:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case iz:return!(e.byteLength!=t.byteLength||!s(new m1(e),new m1(t)));case X$:case Z$:case ez:return U$(+e,+t);case Q$:return e.name==t.name&&e.message==t.message;case tz:case rz:return e==t+"";case J$:var c=G$;case nz:var u=r&Y$;if(c||(c=q$),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=K$,a.set(e,t);var h=H$(c(e),c(t),r,o,s,a);return a.delete(e),h;case oz:if(zp)return zp.call(e)==zp.call(t)}return!1}var lz=az;function cz(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var OS=cz,uz=Array.isArray,Il=uz,dz=OS,fz=Il;function pz(e,t,n){var r=t(e);return fz(e)?r:dz(r,n(e))}var hz=pz;function gz(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var a=e[n];t(a,n,e)&&(s[o++]=a)}return s}var mz=gz;function vz(){return[]}var yz=vz,bz=mz,xz=yz,Cz=Object.prototype,wz=Cz.propertyIsEnumerable,y1=Object.getOwnPropertySymbols,Az=y1?function(e){return e==null?[]:(e=Object(e),bz(y1(e),function(t){return wz.call(e,t)}))}:xz,Sz=Az;function Tz(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Ez=Tz;function Iz(e){return e!=null&&typeof e=="object"}var Ks=Iz,Oz=El,Pz=Ks,jz="[object Arguments]";function Rz(e){return Pz(e)&&Oz(e)==jz}var Mz=Rz,b1=Mz,kz=Ks,PS=Object.prototype,Fz=PS.hasOwnProperty,Dz=PS.propertyIsEnumerable,Lz=b1(function(){return arguments}())?b1:function(e){return kz(e)&&Fz.call(e,"callee")&&!Dz.call(e,"callee")},Mm=Lz,ku={exports:{}};function _z(){return!1}var Bz=_z;ku.exports;(function(e,t){var n=zr,r=Bz,o=t&&!t.nodeType&&t,s=o&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===o,c=a?n.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||r;e.exports=d})(ku,ku.exports);var km=ku.exports,Nz=9007199254740991,Vz=/^(?:0|[1-9]\d*)$/;function Wz(e,t){var n=typeof e;return t=t??Nz,!!t&&(n=="number"||n!="symbol"&&Vz.test(e))&&e>-1&&e%1==0&&e<t}var jS=Wz,$z=9007199254740991;function zz(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$z}var RS=zz,Uz=El,Hz=RS,Gz=Ks,qz="[object Arguments]",Yz="[object Array]",Kz="[object Boolean]",Xz="[object Date]",Zz="[object Error]",Qz="[object Function]",Jz="[object Map]",eU="[object Number]",tU="[object Object]",nU="[object RegExp]",rU="[object Set]",oU="[object String]",iU="[object WeakMap]",sU="[object ArrayBuffer]",aU="[object DataView]",lU="[object Float32Array]",cU="[object Float64Array]",uU="[object Int8Array]",dU="[object Int16Array]",fU="[object Int32Array]",pU="[object Uint8Array]",hU="[object Uint8ClampedArray]",gU="[object Uint16Array]",mU="[object Uint32Array]",bt={};bt[lU]=bt[cU]=bt[uU]=bt[dU]=bt[fU]=bt[pU]=bt[hU]=bt[gU]=bt[mU]=!0;bt[qz]=bt[Yz]=bt[sU]=bt[Kz]=bt[aU]=bt[Xz]=bt[Zz]=bt[Qz]=bt[Jz]=bt[eU]=bt[tU]=bt[nU]=bt[rU]=bt[oU]=bt[iU]=!1;function vU(e){return Gz(e)&&Hz(e.length)&&!!bt[Uz(e)]}var yU=vU;function bU(e){return function(t){return e(t)}}var MS=bU,Fu={exports:{}};Fu.exports;(function(e,t){var n=CS,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s&&n.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c})(Fu,Fu.exports);var xU=Fu.exports,CU=yU,wU=MS,x1=xU,C1=x1&&x1.isTypedArray,AU=C1?wU(C1):CU,Fm=AU,SU=Ez,TU=Mm,EU=Il,IU=km,OU=jS,PU=Fm,jU=Object.prototype,RU=jU.hasOwnProperty;function MU(e,t){var n=EU(e),r=!n&&TU(e),o=!n&&!r&&IU(e),s=!n&&!r&&!o&&PU(e),a=n||r||o||s,c=a?SU(e.length,String):[],u=c.length;for(var d in e)(t||RU.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||OU(d,u)))&&c.push(d);return c}var kS=MU,kU=Object.prototype;function FU(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||kU;return e===n}var Dm=FU;function DU(e,t){return function(n){return e(t(n))}}var FS=DU,LU=FS,_U=LU(Object.keys,Object),BU=_U,NU=Dm,VU=BU,WU=Object.prototype,$U=WU.hasOwnProperty;function zU(e){if(!NU(e))return VU(e);var t=[];for(var n in Object(e))$U.call(e,n)&&n!="constructor"&&t.push(n);return t}var UU=zU,HU=Im,GU=RS;function qU(e){return e!=null&&GU(e.length)&&!HU(e)}var Ld=qU,YU=kS,KU=UU,XU=Ld;function ZU(e){return XU(e)?YU(e):KU(e)}var QU=ZU,JU=hz,eH=Sz,tH=QU;function nH(e){return JU(e,tH,eH)}var rH=nH,w1=rH,oH=1,iH=Object.prototype,sH=iH.hasOwnProperty;function aH(e,t,n,r,o,s){var a=n&oH,c=w1(e),u=c.length,d=w1(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:sH.call(t,m)))return!1}var v=s.get(e),b=s.get(t);if(v&&b)return v==t&&b==e;var x=!0;s.set(e,t),s.set(t,e);for(var w=a;++g<u;){m=c[g];var I=e[m],M=t[m];if(r)var E=a?r(M,I,m,t,e,s):r(I,M,m,e,t,s);if(!(E===void 0?I===M||o(I,M,n,r,s):E)){x=!1;break}w||(w=m=="constructor")}if(x&&!w){var j=e.constructor,P=t.constructor;j!=P&&"constructor"in e&&"constructor"in t&&!(typeof j=="function"&&j instanceof j&&typeof P=="function"&&P instanceof P)&&(x=!1)}return s.delete(e),s.delete(t),x}var lH=aH,cH=_i,uH=zr,dH=cH(uH,"DataView"),fH=dH,pH=_i,hH=zr,gH=pH(hH,"Promise"),mH=gH,vH=_i,yH=zr,bH=vH(yH,"Set"),DS=bH,xH=_i,CH=zr,wH=xH(CH,"WeakMap"),AH=wH,Rh=fH,Mh=Om,kh=mH,Fh=DS,Dh=AH,LS=El,Xs=AS,A1="[object Map]",SH="[object Object]",S1="[object Promise]",T1="[object Set]",E1="[object WeakMap]",I1="[object DataView]",TH=Xs(Rh),EH=Xs(Mh),IH=Xs(kh),OH=Xs(Fh),PH=Xs(Dh),bi=LS;(Rh&&bi(new Rh(new ArrayBuffer(1)))!=I1||Mh&&bi(new Mh)!=A1||kh&&bi(kh.resolve())!=S1||Fh&&bi(new Fh)!=T1||Dh&&bi(new Dh)!=E1)&&(bi=function(e){var t=LS(e),n=t==SH?e.constructor:void 0,r=n?Xs(n):"";if(r)switch(r){case TH:return I1;case EH:return A1;case IH:return S1;case OH:return T1;case PH:return E1}return t});var jH=bi,Up=TS,RH=ES,MH=lz,kH=lH,O1=jH,P1=Il,j1=km,FH=Fm,DH=1,R1="[object Arguments]",M1="[object Array]",zc="[object Object]",LH=Object.prototype,k1=LH.hasOwnProperty;function _H(e,t,n,r,o,s){var a=P1(e),c=P1(t),u=a?M1:O1(e),d=c?M1:O1(t);u=u==R1?zc:u,d=d==R1?zc:d;var h=u==zc,g=d==zc,m=u==d;if(m&&j1(e)){if(!j1(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new Up),a||FH(e)?RH(e,t,n,r,o,s):MH(e,t,u,n,r,o,s);if(!(n&DH)){var v=h&&k1.call(e,"__wrapped__"),b=g&&k1.call(t,"__wrapped__");if(v||b){var x=v?e.value():e,w=b?t.value():t;return s||(s=new Up),o(x,w,n,r,s)}}return m?(s||(s=new Up),kH(e,t,n,r,o,s)):!1}var BH=_H,NH=BH,F1=Ks;function _S(e,t,n,r,o){return e===t?!0:e==null||t==null||!F1(e)&&!F1(t)?e!==e&&t!==t:NH(e,t,n,r,_S,o)}var VH=_S,WH=VH;function $H(e,t){return WH(e,t)}var zH=$H;const D1=ho(zH);var UH=_i,HH=function(){try{var e=UH(Object,"defineProperty");return e({},"",{}),e}catch{}}(),BS=HH,L1=BS;function GH(e,t,n){t=="__proto__"&&L1?L1(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Lm=GH,qH=Lm,YH=Tl;function KH(e,t,n){(n!==void 0&&!YH(e[t],n)||n===void 0&&!(t in e))&&qH(e,t,n)}var NS=KH;function XH(e){return function(t,n,r){for(var o=-1,s=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(n(s[u],u,s)===!1)break}return t}}var ZH=XH,QH=ZH,JH=QH(),eG=JH,Du={exports:{}};Du.exports;(function(e,t){var n=zr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;function u(d,h){if(h)return d.slice();var g=d.length,m=c?c(g):new d.constructor(g);return d.copy(m),m}e.exports=u})(Du,Du.exports);var tG=Du.exports,_1=IS;function nG(e){var t=new e.constructor(e.byteLength);return new _1(t).set(new _1(e)),t}var rG=nG,oG=rG;function iG(e,t){var n=t?oG(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var sG=iG;function aG(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var lG=aG,cG=Li,B1=Object.create,uG=function(){function e(){}return function(t){if(!cG(t))return{};if(B1)return B1(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),dG=uG,fG=FS,pG=fG(Object.getPrototypeOf,Object),VS=pG,hG=dG,gG=VS,mG=Dm;function vG(e){return typeof e.constructor=="function"&&!mG(e)?hG(gG(e)):{}}var yG=vG,bG=Ld,xG=Ks;function CG(e){return xG(e)&&bG(e)}var _m=CG,wG=El,AG=VS,SG=Ks,TG="[object Object]",EG=Function.prototype,IG=Object.prototype,WS=EG.toString,OG=IG.hasOwnProperty,PG=WS.call(Object);function jG(e){if(!SG(e)||wG(e)!=TG)return!1;var t=AG(e);if(t===null)return!0;var n=OG.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&WS.call(n)==PG}var RG=jG;function MG(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var $S=MG,kG=Lm,FG=Tl,DG=Object.prototype,LG=DG.hasOwnProperty;function _G(e,t,n){var r=e[t];(!(LG.call(e,t)&&FG(r,n))||n===void 0&&!(t in e))&&kG(e,t,n)}var BG=_G,NG=BG,VG=Lm;function WG(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),o?VG(n,c,u):NG(n,c,u)}return n}var $G=WG;function zG(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var UG=zG,HG=Li,GG=Dm,qG=UG,YG=Object.prototype,KG=YG.hasOwnProperty;function XG(e){if(!HG(e))return qG(e);var t=GG(e),n=[];for(var r in e)r=="constructor"&&(t||!KG.call(e,r))||n.push(r);return n}var ZG=XG,QG=kS,JG=ZG,eq=Ld;function tq(e){return eq(e)?QG(e,!0):JG(e)}var zS=tq,nq=$G,rq=zS;function oq(e){return nq(e,rq(e))}var iq=oq,N1=NS,sq=tG,aq=sG,lq=lG,cq=yG,V1=Mm,W1=Il,uq=_m,dq=km,fq=Im,pq=Li,hq=RG,gq=Fm,$1=$S,mq=iq;function vq(e,t,n,r,o,s,a){var c=$1(e,n),u=$1(t,n),d=a.get(u);if(d){N1(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=W1(u),v=!m&&dq(u),b=!m&&!v&&gq(u);h=u,m||v||b?W1(c)?h=c:uq(c)?h=lq(c):v?(g=!1,h=sq(u,!0)):b?(g=!1,h=aq(u,!0)):h=[]:hq(u)||V1(u)?(h=c,V1(c)?h=mq(c):(!pq(c)||fq(c))&&(h=cq(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),N1(e,n,h)}var yq=vq,bq=TS,xq=NS,Cq=eG,wq=yq,Aq=Li,Sq=zS,Tq=$S;function US(e,t,n,r,o){e!==t&&Cq(t,function(s,a){if(o||(o=new bq),Aq(s))wq(e,t,a,n,US,r,o);else{var c=r?r(Tq(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),xq(e,a,c)}},Sq)}var Eq=US;function Iq(e){return e}var HS=Iq;function Oq(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Pq=Oq,jq=Pq,z1=Math.max;function Rq(e,t,n){return t=z1(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=z1(r.length-t,0),a=Array(s);++o<s;)a[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(a),jq(e,this,c)}}var Mq=Rq;function kq(e){return function(){return e}}var Fq=kq,Dq=Fq,U1=BS,Lq=HS,_q=U1?function(e,t){return U1(e,"toString",{configurable:!0,enumerable:!1,value:Dq(t),writable:!0})}:Lq,Bq=_q,Nq=800,Vq=16,Wq=Date.now;function $q(e){var t=0,n=0;return function(){var r=Wq(),o=Vq-(r-n);if(n=r,o>0){if(++t>=Nq)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zq=$q,Uq=Bq,Hq=zq,Gq=Hq(Uq),qq=Gq,Yq=HS,Kq=Mq,Xq=qq;function Zq(e,t){return Xq(Kq(e,t,Yq),e+"")}var Bm=Zq,Qq=Tl,Jq=Ld,eY=jS,tY=Li;function nY(e,t,n){if(!tY(n))return!1;var r=typeof t;return(r=="number"?Jq(n)&&eY(t,n.length):r=="string"&&t in n)?Qq(n[t],e):!1}var rY=nY,oY=Bm,iY=rY;function sY(e){return oY(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,a&&iY(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,s)}return t})}var aY=sY,lY=Eq,cY=aY,uY=cY(function(e,t,n){lY(e,t,n)}),dY=uY;const fY=ho(dY);var Lu=function(){return Lu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Lu.apply(this,arguments)},GS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},qS=function(e){var t=e.className,n=e.icon,r=n===void 0?hY:n,o=e.label,s=o===void 0?"ra.action.create":o;e.resource;var a=e.scrollToTop,c=a===void 0?!0:a,u=e.variant,d=e.to,h=e.state,g=h===void 0?{}:h,m=GS(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=te.useResourceContext(e),b=te.useCreatePath(),x=te.useTranslate(),w=A.useMediaQuery(function(E){return E.breakpoints.down("md")}),I=fY({},pY.get(String(c)),g),M=yY(d);return w?_.createElement(gY,Lu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,color:"primary",className:nl(Lh.floating,t),"aria-label":s&&x(s)},m,M),r):_.createElement(mY,Lu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,className:nl(Lh.root,t),label:s,variant:u},m,M),r)},pY=new Map([["true",{_scrollToTop:!0}],["false",{}]]),hY=_.createElement(bS,null);qS.propTypes={resource:C.string,className:C.string,icon:C.element,label:C.string};var _u="RaCreateButton",Lh={root:"".concat(_u,"-root"),floating:"".concat(_u,"-floating")},gY=fe(A.Fab,{name:_u,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(Lh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),mY=fe(Tm,{name:_u,overridesResolver:function(e,t){return t.root}})({});const vY=_.memo(qS,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&D1(e.to,t.to)&&D1(e.state,t.state)});var yY=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=GS(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},_h=function(){return _h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},_h.apply(this,arguments)},bY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Uc,Hp,YS=function(e){var t=e.className,n=e.onClick,r=e.sx,o=bY(e,["className","onClick","sx"]),s=te.useLoading(),a=Gt();return _.createElement(xY,{className:t,sx:r},_.createElement(c2,{className:"".concat(Is.loadedIcon," ").concat(s&&Is.loadedLoading),onClick:n}),s&&_.createElement(Od,_h({className:nl("app-loader",Is.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};YS.propTypes={classes:C.object,className:C.string,width:C.string};var su="RaLoadingIndicator",Is={loader:"".concat(su,"-loader"),loadedLoading:"".concat(su,"-loadedLoading"),loadedIcon:"".concat(su,"-loadedIcon")},xY=fe("div",{name:su,overridesResolver:function(e,t){return t.root}})((Uc={position:"relative"},Uc["& .".concat(Is.loadedIcon)]=(Hp={},Hp["&.".concat(Is.loadedLoading)]={opacity:0},Hp),Uc["& .".concat(Is.loader)]={position:"absolute",top:"30%",left:"30%"},Uc));const CY=e=>e.scrollTop;function H1(e,t){var n,r;const{timeout:o,easing:s,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:a.transitionDelay}}function wY(e){return typeof e=="function"?e():e}const Bu=_.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=_.useState(null),u=Pn(_.isValidElement(r)?r.ref:null,n);if(Wr(()=>{s||c(wY(o)||document.body)},[o,s]),Wr(()=>{if(a&&!s)return Fs(n,a),()=>{Fs(n,null)}},[n,a,s]),s){if(_.isValidElement(r)){const d={ref:u};return _.cloneElement(r,d)}return f.jsx(_.Fragment,{children:r})}return f.jsx(_.Fragment,{children:a&&TC.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(Bu.propTypes={children:C.node,container:C.oneOfType([zo,C.func]),disablePortal:C.bool});process.env.NODE_ENV!=="production"&&(Bu.propTypes=bd(Bu.propTypes));var Nm={},AY=qo;Object.defineProperty(Nm,"__esModule",{value:!0});var KS=Nm.default=void 0,SY=AY(Us()),TY=f;KS=Nm.default=(0,SY.default)((0,TY.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var EY=function(e){var t=e.children,n=e.editor,r=e.preferenceKey,o=e.openButtonLabel,s=o===void 0?"ra.configurable.customize":o,a=e.sx,c="preferences.".concat(r),u=te.usePreferencesEditor(),d=!!u,h=te.useTranslate(),g=u||{},m=g.isEnabled,v=g.setEditor,b=g.preferenceKey,x=g.setPreferenceKey,w=c===b,I=T.useRef(w),M=T.useRef(null),E=T.useState(!1),j=E[0],P=E[1];if(T.useEffect(function(){I.current=w},[w]),T.useEffect(function(){return function(){I.current&&(x&&x(null),v&&v(null))}},[v,x]),!d)return t;var F=function(){v(T.cloneElement(n,{preferenceKey:c,key:c})),x(c)},k=function(){P(!0)},$=function(){P(!1)};return _.createElement(te.PreferenceKeyContextProvider,{value:c},_.createElement(IY,{className:nl(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:M,onMouseEnter:m?k:void 0,onMouseLeave:m?$:void 0},t),_.createElement(A.Popover,{open:m&&(j||w),sx:{pointerEvents:"none","& .MuiPaper-root":{pointerEvents:"auto",borderRadius:10,padding:"2px",lineHeight:0,backgroundColor:"warning.light",color:"warning.contrastText","&:hover":{cursor:"pointer"}}},anchorEl:M.current,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"center"},onClose:$,PaperProps:{elevation:1,onMouseEnter:k,onMouseLeave:$,title:h(s),onClick:F},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},_.createElement(KS,{fontSize:"12px"})))},au="RaConfigurable",ro={root:"".concat(au,"-root"),editMode:"".concat(au,"-editMode"),editorActive:"".concat(au,"-editorActive")},IY=fe("span",{name:au,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative",display:"inline-block"},t["&.".concat(ro.editMode)]={transition:n.transitions.create("outline"),outline:"".concat(A.alpha(n.palette.warning.main,.3)," solid 2px")},t["&.".concat(ro.editMode,":hover ")]={outline:"".concat(A.alpha(n.palette.warning.main,.5)," solid 2px")},t["&.".concat(ro.editMode,".").concat(ro.editorActive," , &.").concat(ro.editMode,".").concat(ro.editorActive,":hover ")]={outline:"".concat(n.palette.warning.main," solid 2px")},t}),Ci=function(){return Ci=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ci.apply(this,arguments)},OY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},PY=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=OY(e,["title","defaultTitle","className"]),s=te.usePreference()[0],a=te.useTranslate(),c=te.useRecordContext();return s?_.createElement("span",Ci({className:r},o),a(s,Ci(Ci({},c),{_:s}))):_.createElement("span",{className:r},t?typeof t=="string"?_.createElement("span",Ci({},o),a(t,{_:t})):t:_.createElement("span",Ci({},o),n))},Nu=function(){return Nu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Nu.apply(this,arguments)},jY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},RY=function(){var e=te.usePreferenceInput();return _.createElement("form",null,_.createElement(A.TextField,Nu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},MY=function(e){var t=e.preferenceKey,n=jY(e,["preferenceKey"]),r=dt.useLocation().pathname;return _.createElement(EY,{editor:_.createElement(RY,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},_.createElement(PY,Nu({},n)))},Bh=function(){return Bh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Bh.apply(this,arguments)},kY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},XS=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=kY(e,["defaultTitle","title","preferenceKey"]),s=T.useState(function(){return typeof document<"u"?document.getElementById("react-admin-title"):null}),a=s[0],c=s[1];return T.useEffect(function(){c(function(u){var d=typeof document<"u"&&document.body.contains(u);return u&&d?u:typeof document<"u"?document.getElementById("react-admin-title"):null})},[]),a?(te.warning(!t&&!n,"Missing title prop in <Title> element"),gs.createPortal(_.createElement(MY,Bh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},FY=C.oneOfType([C.string,C.element]);XS.propTypes={defaultTitle:C.string,className:C.string,record:C.any,title:FY};var DY=function(e){var t=ji.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},LY=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,o){return!Object.is(r,n[o])})},G1={error:null},_Y=function(e){pm(t,e);function t(){for(var r,o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s))||this,r.state=G1,r.resetErrorBoundary=function(){for(var c,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];r.props.onReset==null||(c=r.props).onReset.apply(c,d),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(G1)},n.componentDidCatch=function(o,s){var a,c;(a=(c=this.props).onError)==null||a.call(c,o,s)},n.componentDidUpdate=function(o,s){var a=this.state.error,c=this.props.resetKeys;if(a!==null&&s.error!==null&&LY(o.resetKeys,c)){var u,d;(u=(d=this.props).onResetKeysChange)==null||u.call(d,o.resetKeys,c),this.reset()}},n.render=function(){var o=this.state.error,s=this.props,a=s.fallbackRender,c=s.FallbackComponent,u=s.fallback;if(o!==null){var d={error:o,resetErrorBoundary:this.resetErrorBoundary};if(_.isValidElement(u))return u;if(typeof a=="function")return a(d);if(c)return _.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(_.Component);function BY(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var NY=BY,Nh=function(){return Nh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Nh.apply(this,arguments)},VY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ZS=function(e){var t=e.className,n=e.loadingPrimary,r=n===void 0?"ra.page.loading":n,o=e.loadingSecondary,s=o===void 0?"ra.message.loading":o,a=VY(e,["className","loadingPrimary","loadingSecondary"]),c=te.useTimeout(1e3),u=te.useTranslate();return c?_.createElement(WY,Nh({className:t},a),_.createElement("div",{className:Vu.message},_.createElement(Od,{className:Vu.icon}),_.createElement(A.Typography,{variant:"h5",mt:3,color:"text.secondary"},u(r,{_:r})),_.createElement(A.Typography,{variant:"body2"},u(s,{_:s})))):null};ZS.propTypes={className:C.string,loadingPrimary:C.string,loadingSecondary:C.string};var lu="RaLoading",Vu={root:"".concat(lu,"-root"),icon:"".concat(lu,"-icon"),message:"".concat(lu,"-message")},WY=fe("div",{name:lu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%"},t["& .".concat(Vu.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(Vu.icon)]={width:"9em",height:"9em"},t}),Vm={},$Y=qo;Object.defineProperty(Vm,"__esModule",{value:!0});var QS=Vm.default=void 0,zY=$Y(Us()),UY=f;QS=Vm.default=(0,zY.default)((0,UY.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create");var Vh=function(){return Vh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Vh.apply(this,arguments)},HY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},JS=function(e){var t=e.icon,n=t===void 0?qY:t,r=e.label,o=r===void 0?"ra.action.edit":r,s=e.scrollToTop,a=s===void 0?!0:s,c=e.className,u=HY(e,["icon","label","scrollToTop","className"]),d=te.useResourceContext(e),h=te.useRecordContext(e),g=te.useCreatePath();return h?_.createElement(XY,Vh({component:dt.Link,to:g({type:"edit",resource:d,id:h.id}),state:GY[String(a)],label:o,onClick:YY,className:nl(KY.root,c)},u),n):null},GY={true:{_scrollToTop:!0},false:{}},qY=_.createElement(QS,null),YY=function(e){return e.stopPropagation()};JS.propTypes={icon:C.element,label:C.string,record:C.any,scrollToTop:C.bool};var e2="RaEditButton",KY={root:"".concat(e2,"-root")},XY=fe(Tm,{name:e2,overridesResolver:function(e,t){return t.root}})({}),Wm={},ZY=qo;Object.defineProperty(Wm,"__esModule",{value:!0});var t2=Wm.default=void 0,QY=ZY(Us()),JY=f;t2=Wm.default=(0,QY.default)((0,JY.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");const eK=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wh(e){return`scale(${e}, ${e**2})`}const tK={entering:{opacity:1,transform:Wh(1)},entered:{opacity:1,transform:"none"}},Gp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Wu=_.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:a,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:g,onExited:m,onExiting:v,style:b,timeout:x="auto",TransitionComponent:w=mo}=t,I=He(t,eK),M=Cs(),E=_.useRef(),j=Gt(),P=_.useRef(null),F=Pn(P,s.ref,n),k=X=>W=>{if(X){const K=P.current;W===void 0?X(K):X(K,W)}},$=k(h),G=k((X,W)=>{CY(X);const{duration:K,delay:B,easing:ne}=H1({style:b,timeout:x,easing:a},{mode:"enter"});let V;x==="auto"?(V=j.transitions.getAutoHeightDuration(X.clientHeight),E.current=V):V=K,X.style.transition=[j.transitions.create("opacity",{duration:V,delay:B}),j.transitions.create("transform",{duration:Gp?V:V*.666,delay:B,easing:ne})].join(","),u&&u(X,W)}),J=k(d),U=k(v),ae=k(X=>{const{duration:W,delay:K,easing:B}=H1({style:b,timeout:x,easing:a},{mode:"exit"});let ne;x==="auto"?(ne=j.transitions.getAutoHeightDuration(X.clientHeight),E.current=ne):ne=W,X.style.transition=[j.transitions.create("opacity",{duration:ne,delay:K}),j.transitions.create("transform",{duration:Gp?ne:ne*.666,delay:Gp?K:K||ne*.333,easing:B})].join(","),X.style.opacity=0,X.style.transform=Wh(.75),g&&g(X)}),se=k(m),Z=X=>{x==="auto"&&M.start(E.current||0,X),r&&r(P.current,X)};return f.jsx(w,Y({appear:o,in:c,nodeRef:P,onEnter:G,onEntered:J,onEntering:$,onExit:ae,onExited:se,onExiting:U,addEndListener:Z,timeout:x==="auto"?null:x},I,{children:(X,W)=>_.cloneElement(s,Y({style:Y({opacity:0,transform:Wh(.75),visibility:X==="exited"&&!c?"hidden":void 0},tK[X],b,s.props.style),ref:F},W))}))});process.env.NODE_ENV!=="production"&&(Wu.propTypes={addEndListener:C.func,appear:C.bool,children:lm.isRequired,easing:C.oneOfType([C.shape({enter:C.string,exit:C.string}),C.string]),in:C.bool,onEnter:C.func,onEntered:C.func,onEntering:C.func,onExit:C.func,onExited:C.func,onExiting:C.func,style:C.object,timeout:C.oneOfType([C.oneOf(["auto"]),C.number,C.shape({appear:C.number,enter:C.number,exit:C.number})])});Wu.muiSupportAuto=!0;const n2="base";function nK(e){return`${n2}--${e}`}function rK(e,t){return`${n2}-${e}-${t}`}function r2(e,t){const n=mA[t];return n?nK(n):rK(e,t)}function oK(e,t){const n={};return t.forEach(r=>{n[r]=r2(e,r)}),n}const o2="Popper";function iK(e){return r2(o2,e)}oK(o2,["root"]);const sK=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],aK=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function lK(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $u(e){return typeof e=="function"?e():e}function _d(e){return e.nodeType!==void 0}function cK(e){return!_d(e)}const uK=()=>gr({root:["root"]},AL(iK)),dK={},fK=_.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:x}=t,w=He(t,sK),I=_.useRef(null),M=Pn(I,n),E=_.useRef(null),j=Pn(E,m),P=_.useRef(j);Wr(()=>{P.current=j},[j]),_.useImperativeHandle(m,()=>E.current,[]);const F=lK(h,a),[k,$]=_.useState(F),[G,J]=_.useState($u(o));_.useEffect(()=>{E.current&&E.current.forceUpdate()}),_.useEffect(()=>{o&&J($u(o))},[o]),Wr(()=>{if(!G||!d)return;const X=B=>{$(B.placement)};if(process.env.NODE_ENV!=="production"&&G&&_d(G)&&G.nodeType===1){const B=G.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
181
+ `))}let W=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{X(B)}}];u!=null&&(W=W.concat(u)),g&&g.modifiers!=null&&(W=W.concat(g.modifiers));const K=aS(G,I.current,Y({placement:F},g,{modifiers:W}));return P.current(K),()=>{K.destroy(),P.current(null)}},[G,c,u,d,g,F]);const U={placement:k};x!==null&&(U.TransitionProps=x);const ae=uK(),se=(r=b.root)!=null?r:"div",Z=BA({elementType:se,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:M},ownerState:t,className:ae.root});return f.jsx(se,Y({},Z,{children:typeof s=="function"?s(U):s}))}),i2=_.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=dK,popperRef:v,style:b,transition:x=!1,slotProps:w={},slots:I={}}=t,M=He(t,aK),[E,j]=_.useState(!0),P=()=>{j(!1)},F=()=>{j(!0)};if(!u&&!h&&(!x||E))return null;let k;if(s)k=s;else if(r){const J=$u(r);k=J&&_d(J)?Ds(J).body:Ds(null).body}const $=!h&&u&&(!x||E)?"none":void 0,G=x?{in:h,onEnter:P,onExited:F}:void 0;return f.jsx(Bu,{disablePortal:c,container:k,children:f.jsx(fK,Y({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:x?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},M,{style:Y({position:"fixed",top:0,left:0,display:$},b),TransitionProps:G,children:o}))})});process.env.NODE_ENV!=="production"&&(i2.propTypes={anchorEl:Yo(C.oneOfType([zo,C.object,C.func]),e=>{if(e.open){const t=$u(e.anchorEl);if(t&&_d(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
182
182
  `))}else if(!t||typeof t.getBoundingClientRect!="function"||cK(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
183
- `))}return null}),children:C.oneOfType([C.node,C.func]),container:C.oneOfType([zo,C.func]),direction:C.oneOf(["ltr","rtl"]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),transition:C.bool});var $m={};Object.defineProperty($m,"__esModule",{value:!0});var s2=$m.default=void 0,pK=gK(T),hK=TA;function a2(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(a2=function(r){return r?n:t})(e)}function gK(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=a2(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function mK(e){return Object.keys(e).length===0}function vK(e=null){const t=pK.useContext(hK.ThemeContext);return!t||mK(t)?e:t}s2=$m.default=vK;const yK=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],bK=fe(i2,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zm=_.forwardRef(function(t,n){var r;const o=s2(),s=vr({props:t,name:"MuiPopper"}),{anchorEl:a,component:c,components:u,componentsProps:d,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:x,placement:y,popperOptions:w,popperRef:I,transition:M,slots:E,slotProps:j}=s,P=He(s,yK),F=(r=E==null?void 0:E.root)!=null?r:u==null?void 0:u.Root,k=Y({anchorEl:a,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:x,placement:y,popperOptions:w,popperRef:I,transition:M},P);return f.jsx(bK,Y({as:c,direction:o==null?void 0:o.direction,slots:{root:F},slotProps:j??d},k,{ref:n}))});process.env.NODE_ENV!=="production"&&(zm.propTypes={anchorEl:C.oneOfType([zo,C.object,C.func]),children:C.oneOfType([C.node,C.func]),component:C.elementType,components:C.shape({Root:C.elementType}),componentsProps:C.shape({root:C.oneOfType([C.func,C.object])}),container:C.oneOfType([zo,C.func]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),transition:C.bool});function xK(e){return qn("MuiTooltip",e)}const Lo=yr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),CK=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function wK(e){return Math.round(e*1e5)/1e5}const AK=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:s}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ze(s.split("-")[0])}`],arrow:["arrow"]};return gr(a,xK,t)},SK=fe(zm,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Y({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Lo.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Lo.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Lo.arrow}`]:Y({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Lo.arrow}`]:Y({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),TK=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ze(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Y({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Do(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${wK(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Lo.popper}[data-popper-placement*="left"] &`]:Y({transformOrigin:"right center"},t.isRtl?Y({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Y({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Lo.popper}[data-popper-placement*="right"] &`]:Y({transformOrigin:"left center"},t.isRtl?Y({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Y({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Lo.popper}[data-popper-placement*="top"] &`]:Y({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Lo.popper}[data-popper-placement*="bottom"] &`]:Y({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),EK=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Do(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Hc=!1;const q1=new Cl;let Ia={x:0,y:0};function Gc(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const l2=_.forwardRef(function(t,n){var r,o,s,a,c,u,d,h,g,m,v,x,y,w,I,M,E,j,P;const F=vr({props:t,name:"MuiTooltip"}),{arrow:k=!1,children:$,components:G={},componentsProps:J={},describeChild:U=!1,disableFocusListener:ae=!1,disableHoverListener:se=!1,disableInteractive:Z=!1,disableTouchListener:X=!1,enterDelay:W=100,enterNextDelay:K=0,enterTouchDelay:B=700,followCursor:ne=!1,id:V,leaveDelay:q=0,leaveTouchDelay:ue=1500,onClose:pe,onOpen:de,open:he,placement:me="bottom",PopperComponent:Ae,PopperProps:xe={},slotProps:ye={},slots:Ce={},title:Ee,TransitionComponent:ce=Wu,TransitionProps:Xe}=F,ge=He(F,CK),Ke=_.isValidElement($)?$:f.jsx("span",{children:$}),Jt=Gt(),St=w_(),[gt,Mn]=_.useState(),[Tt,mt]=_.useState(null),Ut=_.useRef(!1),vt=Z||ne,Bt=Cs(),Et=Cs(),ke=Cs(),Fe=Cs(),[Ie,be]=FA({controlled:he,default:!1,name:"Tooltip",state:"open"});let ft=Ie;if(process.env.NODE_ENV!=="production"){const{current:Ne}=_.useRef(he!==void 0);_.useEffect(()=>{gt&&gt.disabled&&!Ne&&Ee!==""&&gt.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
184
- `))},[Ee,gt,Ne])}const Nt=cm(V),_e=_.useRef(),Oe=Ai(()=>{_e.current!==void 0&&(document.body.style.WebkitUserSelect=_e.current,_e.current=void 0),Fe.clear()});_.useEffect(()=>Oe,[Oe]);const qt=Ne=>{q1.clear(),Hc=!0,be(!0),de&&!ft&&de(Ne)},Xn=Ai(Ne=>{q1.start(800+q,()=>{Hc=!1}),be(!1),pe&&ft&&pe(Ne),Bt.start(Jt.transitions.duration.shortest,()=>{Ut.current=!1})}),xr=Ne=>{Ut.current&&Ne.type!=="touchstart"||(gt&&gt.removeAttribute("title"),Et.clear(),ke.clear(),W||Hc&&K?Et.start(Hc?K:W,()=>{qt(Ne)}):qt(Ne))},Jo=Ne=>{Et.clear(),ke.start(q,()=>{Xn(Ne)})},{isFocusVisibleRef:Ml,onBlur:Kd,onFocus:Xd,ref:kl}=um(),[,ea]=_.useState(!1),Fl=Ne=>{Kd(Ne),Ml.current===!1&&(ea(!1),Jo(Ne))},Dl=Ne=>{gt||Mn(Ne.currentTarget),Xd(Ne),Ml.current===!0&&(ea(!0),xr(Ne))},Ll=Ne=>{Ut.current=!0;const cn=Ke.props;cn.onTouchStart&&cn.onTouchStart(Ne)},Zd=Ne=>{Ll(Ne),ke.clear(),Bt.clear(),Oe(),_e.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Fe.start(B,()=>{document.body.style.WebkitUserSelect=_e.current,xr(Ne)})},_l=Ne=>{Ke.props.onTouchEnd&&Ke.props.onTouchEnd(Ne),Oe(),ke.start(ue,()=>{Xn(Ne)})};_.useEffect(()=>{if(!ft)return;function Ne(cn){(cn.key==="Escape"||cn.key==="Esc")&&Xn(cn)}return document.addEventListener("keydown",Ne),()=>{document.removeEventListener("keydown",Ne)}},[Xn,ft]);const Qd=Pn(Ke.ref,kl,Mn,n);!Ee&&Ee!==0&&(ft=!1);const ta=_.useRef(),Jd=Ne=>{const cn=Ke.props;cn.onMouseMove&&cn.onMouseMove(Ne),Ia={x:Ne.clientX,y:Ne.clientY},ta.current&&ta.current.update()},Ur={},na=typeof Ee=="string";U?(Ur.title=!ft&&na&&!se?Ee:null,Ur["aria-describedby"]=ft?Nt:null):(Ur["aria-label"]=na?Ee:null,Ur["aria-labelledby"]=ft&&!na?Nt:null);const en=Y({},Ur,ge,Ke.props,{className:lt(ge.className,Ke.props.className),onTouchStart:Ll,ref:Qd},ne?{onMouseMove:Jd}:{});process.env.NODE_ENV!=="production"&&(en["data-mui-internal-clone-element"]=!0,_.useEffect(()=>{gt&&!gt.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
183
+ `))}return null}),children:C.oneOfType([C.node,C.func]),container:C.oneOfType([zo,C.func]),direction:C.oneOf(["ltr","rtl"]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),transition:C.bool});var $m={};Object.defineProperty($m,"__esModule",{value:!0});var s2=$m.default=void 0,pK=gK(T),hK=TA;function a2(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(a2=function(r){return r?n:t})(e)}function gK(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=a2(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function mK(e){return Object.keys(e).length===0}function vK(e=null){const t=pK.useContext(hK.ThemeContext);return!t||mK(t)?e:t}s2=$m.default=vK;const yK=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],bK=fe(i2,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zm=_.forwardRef(function(t,n){var r;const o=s2(),s=vr({props:t,name:"MuiPopper"}),{anchorEl:a,component:c,components:u,componentsProps:d,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:b,placement:x,popperOptions:w,popperRef:I,transition:M,slots:E,slotProps:j}=s,P=He(s,yK),F=(r=E==null?void 0:E.root)!=null?r:u==null?void 0:u.Root,k=Y({anchorEl:a,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:b,placement:x,popperOptions:w,popperRef:I,transition:M},P);return f.jsx(bK,Y({as:c,direction:o==null?void 0:o.direction,slots:{root:F},slotProps:j??d},k,{ref:n}))});process.env.NODE_ENV!=="production"&&(zm.propTypes={anchorEl:C.oneOfType([zo,C.object,C.func]),children:C.oneOfType([C.node,C.func]),component:C.elementType,components:C.shape({Root:C.elementType}),componentsProps:C.shape({root:C.oneOfType([C.func,C.object])}),container:C.oneOfType([zo,C.func]),disablePortal:C.bool,keepMounted:C.bool,modifiers:C.arrayOf(C.shape({data:C.object,effect:C.func,enabled:C.bool,fn:C.func,name:C.any,options:C.object,phase:C.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:C.arrayOf(C.string),requiresIfExists:C.arrayOf(C.string)})),open:C.bool.isRequired,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:C.shape({modifiers:C.array,onFirstUpdate:C.func,placement:C.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:C.oneOf(["absolute","fixed"])}),popperRef:xd,slotProps:C.shape({root:C.oneOfType([C.func,C.object])}),slots:C.shape({root:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),transition:C.bool});function xK(e){return qn("MuiTooltip",e)}const Lo=yr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),CK=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function wK(e){return Math.round(e*1e5)/1e5}const AK=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:s}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ze(s.split("-")[0])}`],arrow:["arrow"]};return gr(a,xK,t)},SK=fe(zm,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Y({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Lo.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Lo.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Lo.arrow}`]:Y({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Lo.arrow}`]:Y({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),TK=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ze(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Y({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Do(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${wK(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Lo.popper}[data-popper-placement*="left"] &`]:Y({transformOrigin:"right center"},t.isRtl?Y({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Y({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Lo.popper}[data-popper-placement*="right"] &`]:Y({transformOrigin:"left center"},t.isRtl?Y({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Y({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Lo.popper}[data-popper-placement*="top"] &`]:Y({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Lo.popper}[data-popper-placement*="bottom"] &`]:Y({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),EK=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Do(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Hc=!1;const q1=new Cl;let Ia={x:0,y:0};function Gc(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const l2=_.forwardRef(function(t,n){var r,o,s,a,c,u,d,h,g,m,v,b,x,w,I,M,E,j,P;const F=vr({props:t,name:"MuiTooltip"}),{arrow:k=!1,children:$,components:G={},componentsProps:J={},describeChild:U=!1,disableFocusListener:ae=!1,disableHoverListener:se=!1,disableInteractive:Z=!1,disableTouchListener:X=!1,enterDelay:W=100,enterNextDelay:K=0,enterTouchDelay:B=700,followCursor:ne=!1,id:V,leaveDelay:q=0,leaveTouchDelay:ue=1500,onClose:pe,onOpen:de,open:he,placement:me="bottom",PopperComponent:Ae,PopperProps:xe={},slotProps:ye={},slots:Ce={},title:Ee,TransitionComponent:ce=Wu,TransitionProps:Xe}=F,ge=He(F,CK),Ke=_.isValidElement($)?$:f.jsx("span",{children:$}),Jt=Gt(),St=w_(),[gt,Mn]=_.useState(),[Tt,mt]=_.useState(null),Ut=_.useRef(!1),vt=Z||ne,Bt=Cs(),Et=Cs(),ke=Cs(),Fe=Cs(),[Ie,be]=FA({controlled:he,default:!1,name:"Tooltip",state:"open"});let ft=Ie;if(process.env.NODE_ENV!=="production"){const{current:Ne}=_.useRef(he!==void 0);_.useEffect(()=>{gt&&gt.disabled&&!Ne&&Ee!==""&&gt.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
184
+ `))},[Ee,gt,Ne])}const Nt=cm(V),_e=_.useRef(),Oe=Ai(()=>{_e.current!==void 0&&(document.body.style.WebkitUserSelect=_e.current,_e.current=void 0),Fe.clear()});_.useEffect(()=>Oe,[Oe]);const qt=Ne=>{q1.clear(),Hc=!0,be(!0),de&&!ft&&de(Ne)},Xn=Ai(Ne=>{q1.start(800+q,()=>{Hc=!1}),be(!1),pe&&ft&&pe(Ne),Bt.start(Jt.transitions.duration.shortest,()=>{Ut.current=!1})}),xr=Ne=>{Ut.current&&Ne.type!=="touchstart"||(gt&&gt.removeAttribute("title"),Et.clear(),ke.clear(),W||Hc&&K?Et.start(Hc?K:W,()=>{qt(Ne)}):qt(Ne))},Jo=Ne=>{Et.clear(),ke.start(q,()=>{Xn(Ne)})},{isFocusVisibleRef:Ml,onBlur:Kd,onFocus:Xd,ref:kl}=um(),[,ea]=_.useState(!1),Fl=Ne=>{Kd(Ne),Ml.current===!1&&(ea(!1),Jo(Ne))},Dl=Ne=>{gt||Mn(Ne.currentTarget),Xd(Ne),Ml.current===!0&&(ea(!0),xr(Ne))},Ll=Ne=>{Ut.current=!0;const un=Ke.props;un.onTouchStart&&un.onTouchStart(Ne)},Zd=Ne=>{Ll(Ne),ke.clear(),Bt.clear(),Oe(),_e.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Fe.start(B,()=>{document.body.style.WebkitUserSelect=_e.current,xr(Ne)})},_l=Ne=>{Ke.props.onTouchEnd&&Ke.props.onTouchEnd(Ne),Oe(),ke.start(ue,()=>{Xn(Ne)})};_.useEffect(()=>{if(!ft)return;function Ne(un){(un.key==="Escape"||un.key==="Esc")&&Xn(un)}return document.addEventListener("keydown",Ne),()=>{document.removeEventListener("keydown",Ne)}},[Xn,ft]);const Qd=Pn(Ke.ref,kl,Mn,n);!Ee&&Ee!==0&&(ft=!1);const ta=_.useRef(),Jd=Ne=>{const un=Ke.props;un.onMouseMove&&un.onMouseMove(Ne),Ia={x:Ne.clientX,y:Ne.clientY},ta.current&&ta.current.update()},Ur={},na=typeof Ee=="string";U?(Ur.title=!ft&&na&&!se?Ee:null,Ur["aria-describedby"]=ft?Nt:null):(Ur["aria-label"]=na?Ee:null,Ur["aria-labelledby"]=ft&&!na?Nt:null);const en=Y({},Ur,ge,Ke.props,{className:lt(ge.className,Ke.props.className),onTouchStart:Ll,ref:Qd},ne?{onMouseMove:Jd}:{});process.env.NODE_ENV!=="production"&&(en["data-mui-internal-clone-element"]=!0,_.useEffect(()=>{gt&&!gt.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
185
185
  `))},[gt]));const ei={};X||(en.onTouchStart=Zd,en.onTouchEnd=_l),se||(en.onMouseOver=Gc(xr,en.onMouseOver),en.onMouseLeave=Gc(Jo,en.onMouseLeave),vt||(ei.onMouseOver=xr,ei.onMouseLeave=Jo)),ae||(en.onFocus=Gc(Dl,en.onFocus),en.onBlur=Gc(Fl,en.onBlur),vt||(ei.onFocus=Dl,ei.onBlur=Fl)),process.env.NODE_ENV!=="production"&&Ke.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${Ke.props.title}\` or the Tooltip component.`].join(`
186
- `));const ef=_.useMemo(()=>{var Ne;let cn=[{name:"arrow",enabled:!!Tt,options:{element:Tt,padding:4}}];return(Ne=xe.popperOptions)!=null&&Ne.modifiers&&(cn=cn.concat(xe.popperOptions.modifiers)),Y({},xe.popperOptions,{modifiers:cn})},[Tt,xe]),ti=Y({},F,{isRtl:St,arrow:k,disableInteractive:vt,placement:me,PopperComponentProp:Ae,touch:Ut.current}),ra=AK(ti),Bl=(r=(o=Ce.popper)!=null?o:G.Popper)!=null?r:SK,Nl=(s=(a=(c=Ce.transition)!=null?c:G.Transition)!=null?a:ce)!=null?s:Wu,Vl=(u=(d=Ce.tooltip)!=null?d:G.Tooltip)!=null?u:TK,Wl=(h=(g=Ce.arrow)!=null?g:G.Arrow)!=null?h:EK,$l=xs(Bl,Y({},xe,(m=ye.popper)!=null?m:J.popper,{className:lt(ra.popper,xe==null?void 0:xe.className,(v=(x=ye.popper)!=null?x:J.popper)==null?void 0:v.className)}),ti),tf=xs(Nl,Y({},Xe,(y=ye.transition)!=null?y:J.transition),ti),nf=xs(Vl,Y({},(w=ye.tooltip)!=null?w:J.tooltip,{className:lt(ra.tooltip,(I=(M=ye.tooltip)!=null?M:J.tooltip)==null?void 0:I.className)}),ti),rf=xs(Wl,Y({},(E=ye.arrow)!=null?E:J.arrow,{className:lt(ra.arrow,(j=(P=ye.arrow)!=null?P:J.arrow)==null?void 0:j.className)}),ti);return f.jsxs(_.Fragment,{children:[_.cloneElement(Ke,en),f.jsx(Bl,Y({as:Ae??zm,placement:me,anchorEl:ne?{getBoundingClientRect:()=>({top:Ia.y,left:Ia.x,right:Ia.x,bottom:Ia.y,width:0,height:0})}:gt,popperRef:ta,open:gt?ft:!1,id:Nt,transition:!0},ei,$l,{popperOptions:ef,children:({TransitionProps:Ne})=>f.jsx(Nl,Y({timeout:Jt.transitions.duration.shorter},Ne,tf,{children:f.jsxs(Vl,Y({},nf,{children:[Ee,k?f.jsx(Wl,Y({},rf,{ref:mt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(l2.propTypes={arrow:C.bool,children:lm.isRequired,classes:C.object,className:C.string,components:C.shape({Arrow:C.elementType,Popper:C.elementType,Tooltip:C.elementType,Transition:C.elementType}),componentsProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),describeChild:C.bool,disableFocusListener:C.bool,disableHoverListener:C.bool,disableInteractive:C.bool,disableTouchListener:C.bool,enterDelay:C.number,enterNextDelay:C.number,enterTouchDelay:C.number,followCursor:C.bool,id:C.string,leaveDelay:C.number,leaveTouchDelay:C.number,onClose:C.func,onOpen:C.func,open:C.bool,placement:C.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:C.elementType,PopperProps:C.object,slotProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),slots:C.shape({arrow:C.elementType,popper:C.elementType,tooltip:C.elementType,transition:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),title:C.node,TransitionComponent:C.elementType,TransitionProps:C.object});var $h=function(){return $h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$h.apply(this,arguments)},IK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},c2=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?OK:r,s=e.onClick,a=e.className,c=IK(e,["label","icon","onClick","className"]),u=te.useRefresh(),d=te.useTranslate(),h=T.useCallback(function(g){g.preventDefault(),u(),typeof s=="function"&&s(g)},[u,s]);return _.createElement(l2,{title:n&&d(n,{_:"Refresh"})},_.createElement(vm,$h({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},OK=_.createElement(t2,null);c2.propTypes={className:C.string,label:C.string,icon:C.element};var Um={},PK=qo;Object.defineProperty(Um,"__esModule",{value:!0});var u2=Um.default=void 0,jK=PK(Us()),RK=f;u2=Um.default=(0,jK.default)((0,RK.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save");var za=function(){return za=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},za.apply(this,arguments)},Y1=function(e,t,n,r){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(h){try{d(r.next(h))}catch(g){a(g)}}function u(h){try{d(r.throw(h))}catch(g){a(g)}}function d(h){h.done?s(h.value):o(h.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},K1=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(n=0)),n;)try{if(r=1,o&&(s=d[0]&2?o.return:d[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,d[1])).done)return s;switch(o=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,o=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){n.label=d[1];break}if(d[0]===6&&n.label<s[1]){n.label=s[1],s=d;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(d);break}s[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(h){d=[6,h],o=0}finally{r=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},MK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Hm=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?FK:r;e.invalid;var s=e.label,a=s===void 0?"ra.action.save":s,c=e.onClick,u=e.mutationOptions,d=e.disabled,h=e.type,g=h===void 0?"submit":h,m=e.transform,v=e.variant,x=v===void 0?"contained":v,y=e.alwaysEnable,w=y===void 0?!1:y,I=MK(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),M=te.useTranslate(),E=En.useFormContext(),j=te.useSaveContext(),P=En.useFormState(),F=P.dirtyFields,k=P.isValidating,$=P.isSubmitting,G=Object.keys(F).length>0,J=_K(w===!1||w===void 0?void 0:!w,d||!G||k||$);te.warning(g==="submit"&&(u&&(u.onSuccess||u.onError)||m),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var U=T.useCallback(function(Z){return Y1(void 0,void 0,void 0,function(){var X;return K1(this,function(W){switch(W.label){case 0:return j!=null&&j.save?[4,j.save(Z,za(za({},u),{transform:m}))]:[3,2];case 1:X=W.sent(),W.label=2;case 2:return X!=null&&te.setSubmissionErrors(X,E.setError),[2]}})})},[E.setError,j,u,m]),ae=T.useCallback(function(Z){return Y1(void 0,void 0,void 0,function(){return K1(this,function(X){switch(X.label){case 0:return c&&c(Z),Z.defaultPrevented?[2]:g!=="button"?[3,2]:(Z.stopPropagation(),[4,E.handleSubmit(U)(Z)]);case 1:X.sent(),X.label=2;case 2:return[2]}})})},[c,g,E,U]),se=a&&M(a,{_:a});return _.createElement(LK,za({variant:x,type:g,color:n,"aria-label":se,disabled:J,onClick:ae},I),$?_.createElement(A.CircularProgress,{sx:kK,size:14,thickness:3,color:"inherit"}):o,se)},kK={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},FK=_.createElement(u2,null);Hm.propTypes={className:C.string,invalid:C.bool,label:C.string,variant:C.oneOf(["text","outlined","contained"]),icon:C.element,alwaysEnable:C.bool};var DK="RaSaveButton",LK=fe(A.Button,{name:DK,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),_K=function(e,t){return typeof e>"u"?t:e},X1=kd,BK=Mm,NK=Il,Z1=X1?X1.isConcatSpreadable:void 0;function VK(e){return NK(e)||BK(e)||!!(Z1&&e&&e[Z1])}var WK=VK,$K=OS,zK=WK;function d2(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=zK),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?d2(c,t-1,n,r,o):$K(o,c):r||(o[o.length]=c)}return o}var f2=d2;function UK(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}var HK=UK;function GK(e){return e!==e}var qK=GK;function YK(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var KK=YK,XK=HK,ZK=qK,QK=KK;function JK(e,t,n){return t===t?QK(e,t,n):XK(e,ZK,n)}var eX=JK,tX=eX;function nX(e,t){var n=e==null?0:e.length;return!!n&&tX(e,t,0)>-1}var p2=nX;function rX(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var h2=rX;function oX(){}var iX=oX,qp=DS,sX=iX,aX=Rm,lX=1/0,cX=qp&&1/aX(new qp([,-0]))[1]==lX?function(e){return new qp(e)}:sX,uX=cX,dX=Pm,fX=p2,pX=h2,hX=jm,gX=uX,mX=Rm,vX=200;function yX(e,t,n){var r=-1,o=fX,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=pX;else if(s>=vX){var d=t?null:gX(e);if(d)return mX(d);a=!1,o=hX,u=new dX}else u=t?[]:c;e:for(;++r<s;){var h=e[r],g=t?t(h):h;if(h=n||h!==0?h:0,a&&g===g){for(var m=u.length;m--;)if(u[m]===g)continue e;t&&u.push(g),c.push(h)}else o(u,g,n)||(u!==c&&u.push(g),c.push(h))}return c}var bX=yX,xX=f2,CX=Bm,wX=bX,AX=_m,SX=CX(function(e){return wX(xX(e,1,AX,!0))}),TX=SX;const EX=ho(TX);var IX=Pm,OX=p2,PX=h2,jX=NY,RX=MS,MX=jm,kX=200;function FX(e,t,n,r){var o=-1,s=OX,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=jX(t,RX(n))),r?(s=PX,a=!1):t.length>=kX&&(s=MX,a=!1,t=new IX(t));e:for(;++o<c;){var h=e[o],g=n==null?h:n(h);if(h=r||h!==0?h:0,a&&g===g){for(var m=d;m--;)if(t[m]===g)continue e;u.push(h)}else s(t,g,r)||u.push(h)}return u}var DX=FX,LX=DX,_X=f2,BX=Bm,Q1=_m,NX=BX(function(e,t){return Q1(e)?LX(e,_X(t,1,Q1,!0)):[]}),VX=NX;const WX=ho(VX);var Gm={},$X=qo;Object.defineProperty(Gm,"__esModule",{value:!0});var zh=Gm.default=void 0,zX=$X(Us()),UX=f;zh=Gm.default=(0,zX.default)((0,UX.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function HX(){window.history.go(-1)}function qm(e){var h;const{error:t,errorComponent:n,errorInfo:r,resetErrorBoundary:o,title:s}=e,a=te.useTranslate(),c=A.useTheme(),u=process.env.NODE_ENV==="production";DY(o);const d=T.useCallback(()=>{HX()},[]);return n?f.jsx(n,{error:t,errorInfo:r,title:s}):f.jsx(A.Container,{children:f.jsxs(A.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[s?f.jsx(XS,{title:s}):null,f.jsx("img",{src:vS,style:{width:"100%",maxWidth:450,marginTop:c.spacing(4)},alt:"oops!"}),f.jsx(A.Typography,{variant:"h2",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:a(u?"ra.page.error":t.message,{_:t.message})}),!u&&f.jsx(A.Typography,{variant:"caption",children:a("ra.message.error_more_info")}),r?f.jsx(A.Typography,{variant:"body1",component:"pre",textAlign:u?"center":"start",fontFamily:u?"inherit":"monospace",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:u?a("ra.message.error"):((h=r==null?void 0:r.componentStack)==null?void 0:h.substring(0,250))+"..."}):null,f.jsx(A.Button,{variant:"contained",startIcon:f.jsx(Un.History,{}),onClick:d,children:a("ra.action.back")})]})})}var zu={exports:{}};/**
186
+ `));const ef=_.useMemo(()=>{var Ne;let un=[{name:"arrow",enabled:!!Tt,options:{element:Tt,padding:4}}];return(Ne=xe.popperOptions)!=null&&Ne.modifiers&&(un=un.concat(xe.popperOptions.modifiers)),Y({},xe.popperOptions,{modifiers:un})},[Tt,xe]),ti=Y({},F,{isRtl:St,arrow:k,disableInteractive:vt,placement:me,PopperComponentProp:Ae,touch:Ut.current}),ra=AK(ti),Bl=(r=(o=Ce.popper)!=null?o:G.Popper)!=null?r:SK,Nl=(s=(a=(c=Ce.transition)!=null?c:G.Transition)!=null?a:ce)!=null?s:Wu,Vl=(u=(d=Ce.tooltip)!=null?d:G.Tooltip)!=null?u:TK,Wl=(h=(g=Ce.arrow)!=null?g:G.Arrow)!=null?h:EK,$l=xs(Bl,Y({},xe,(m=ye.popper)!=null?m:J.popper,{className:lt(ra.popper,xe==null?void 0:xe.className,(v=(b=ye.popper)!=null?b:J.popper)==null?void 0:v.className)}),ti),tf=xs(Nl,Y({},Xe,(x=ye.transition)!=null?x:J.transition),ti),nf=xs(Vl,Y({},(w=ye.tooltip)!=null?w:J.tooltip,{className:lt(ra.tooltip,(I=(M=ye.tooltip)!=null?M:J.tooltip)==null?void 0:I.className)}),ti),rf=xs(Wl,Y({},(E=ye.arrow)!=null?E:J.arrow,{className:lt(ra.arrow,(j=(P=ye.arrow)!=null?P:J.arrow)==null?void 0:j.className)}),ti);return f.jsxs(_.Fragment,{children:[_.cloneElement(Ke,en),f.jsx(Bl,Y({as:Ae??zm,placement:me,anchorEl:ne?{getBoundingClientRect:()=>({top:Ia.y,left:Ia.x,right:Ia.x,bottom:Ia.y,width:0,height:0})}:gt,popperRef:ta,open:gt?ft:!1,id:Nt,transition:!0},ei,$l,{popperOptions:ef,children:({TransitionProps:Ne})=>f.jsx(Nl,Y({timeout:Jt.transitions.duration.shorter},Ne,tf,{children:f.jsxs(Vl,Y({},nf,{children:[Ee,k?f.jsx(Wl,Y({},rf,{ref:mt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(l2.propTypes={arrow:C.bool,children:lm.isRequired,classes:C.object,className:C.string,components:C.shape({Arrow:C.elementType,Popper:C.elementType,Tooltip:C.elementType,Transition:C.elementType}),componentsProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),describeChild:C.bool,disableFocusListener:C.bool,disableHoverListener:C.bool,disableInteractive:C.bool,disableTouchListener:C.bool,enterDelay:C.number,enterNextDelay:C.number,enterTouchDelay:C.number,followCursor:C.bool,id:C.string,leaveDelay:C.number,leaveTouchDelay:C.number,onClose:C.func,onOpen:C.func,open:C.bool,placement:C.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:C.elementType,PopperProps:C.object,slotProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),slots:C.shape({arrow:C.elementType,popper:C.elementType,tooltip:C.elementType,transition:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),title:C.node,TransitionComponent:C.elementType,TransitionProps:C.object});var $h=function(){return $h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$h.apply(this,arguments)},IK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},c2=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?OK:r,s=e.onClick,a=e.className,c=IK(e,["label","icon","onClick","className"]),u=te.useRefresh(),d=te.useTranslate(),h=T.useCallback(function(g){g.preventDefault(),u(),typeof s=="function"&&s(g)},[u,s]);return _.createElement(l2,{title:n&&d(n,{_:"Refresh"})},_.createElement(vm,$h({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},OK=_.createElement(t2,null);c2.propTypes={className:C.string,label:C.string,icon:C.element};var Um={},PK=qo;Object.defineProperty(Um,"__esModule",{value:!0});var u2=Um.default=void 0,jK=PK(Us()),RK=f;u2=Um.default=(0,jK.default)((0,RK.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save");var za=function(){return za=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},za.apply(this,arguments)},Y1=function(e,t,n,r){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(h){try{d(r.next(h))}catch(g){a(g)}}function u(h){try{d(r.throw(h))}catch(g){a(g)}}function d(h){h.done?s(h.value):o(h.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},K1=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(n=0)),n;)try{if(r=1,o&&(s=d[0]&2?o.return:d[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,d[1])).done)return s;switch(o=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,o=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){n.label=d[1];break}if(d[0]===6&&n.label<s[1]){n.label=s[1],s=d;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(d);break}s[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(h){d=[6,h],o=0}finally{r=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},MK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Hm=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?FK:r;e.invalid;var s=e.label,a=s===void 0?"ra.action.save":s,c=e.onClick,u=e.mutationOptions,d=e.disabled,h=e.type,g=h===void 0?"submit":h,m=e.transform,v=e.variant,b=v===void 0?"contained":v,x=e.alwaysEnable,w=x===void 0?!1:x,I=MK(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),M=te.useTranslate(),E=En.useFormContext(),j=te.useSaveContext(),P=En.useFormState(),F=P.dirtyFields,k=P.isValidating,$=P.isSubmitting,G=Object.keys(F).length>0,J=_K(w===!1||w===void 0?void 0:!w,d||!G||k||$);te.warning(g==="submit"&&(u&&(u.onSuccess||u.onError)||m),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var U=T.useCallback(function(Z){return Y1(void 0,void 0,void 0,function(){var X;return K1(this,function(W){switch(W.label){case 0:return j!=null&&j.save?[4,j.save(Z,za(za({},u),{transform:m}))]:[3,2];case 1:X=W.sent(),W.label=2;case 2:return X!=null&&te.setSubmissionErrors(X,E.setError),[2]}})})},[E.setError,j,u,m]),ae=T.useCallback(function(Z){return Y1(void 0,void 0,void 0,function(){return K1(this,function(X){switch(X.label){case 0:return c&&c(Z),Z.defaultPrevented?[2]:g!=="button"?[3,2]:(Z.stopPropagation(),[4,E.handleSubmit(U)(Z)]);case 1:X.sent(),X.label=2;case 2:return[2]}})})},[c,g,E,U]),se=a&&M(a,{_:a});return _.createElement(LK,za({variant:b,type:g,color:n,"aria-label":se,disabled:J,onClick:ae},I),$?_.createElement(A.CircularProgress,{sx:kK,size:14,thickness:3,color:"inherit"}):o,se)},kK={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},FK=_.createElement(u2,null);Hm.propTypes={className:C.string,invalid:C.bool,label:C.string,variant:C.oneOf(["text","outlined","contained"]),icon:C.element,alwaysEnable:C.bool};var DK="RaSaveButton",LK=fe(A.Button,{name:DK,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),_K=function(e,t){return typeof e>"u"?t:e},X1=kd,BK=Mm,NK=Il,Z1=X1?X1.isConcatSpreadable:void 0;function VK(e){return NK(e)||BK(e)||!!(Z1&&e&&e[Z1])}var WK=VK,$K=OS,zK=WK;function d2(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=zK),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?d2(c,t-1,n,r,o):$K(o,c):r||(o[o.length]=c)}return o}var f2=d2;function UK(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}var HK=UK;function GK(e){return e!==e}var qK=GK;function YK(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var KK=YK,XK=HK,ZK=qK,QK=KK;function JK(e,t,n){return t===t?QK(e,t,n):XK(e,ZK,n)}var eX=JK,tX=eX;function nX(e,t){var n=e==null?0:e.length;return!!n&&tX(e,t,0)>-1}var p2=nX;function rX(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var h2=rX;function oX(){}var iX=oX,qp=DS,sX=iX,aX=Rm,lX=1/0,cX=qp&&1/aX(new qp([,-0]))[1]==lX?function(e){return new qp(e)}:sX,uX=cX,dX=Pm,fX=p2,pX=h2,hX=jm,gX=uX,mX=Rm,vX=200;function yX(e,t,n){var r=-1,o=fX,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=pX;else if(s>=vX){var d=t?null:gX(e);if(d)return mX(d);a=!1,o=hX,u=new dX}else u=t?[]:c;e:for(;++r<s;){var h=e[r],g=t?t(h):h;if(h=n||h!==0?h:0,a&&g===g){for(var m=u.length;m--;)if(u[m]===g)continue e;t&&u.push(g),c.push(h)}else o(u,g,n)||(u!==c&&u.push(g),c.push(h))}return c}var bX=yX,xX=f2,CX=Bm,wX=bX,AX=_m,SX=CX(function(e){return wX(xX(e,1,AX,!0))}),TX=SX;const EX=ho(TX);var IX=Pm,OX=p2,PX=h2,jX=NY,RX=MS,MX=jm,kX=200;function FX(e,t,n,r){var o=-1,s=OX,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=jX(t,RX(n))),r?(s=PX,a=!1):t.length>=kX&&(s=MX,a=!1,t=new IX(t));e:for(;++o<c;){var h=e[o],g=n==null?h:n(h);if(h=r||h!==0?h:0,a&&g===g){for(var m=d;m--;)if(t[m]===g)continue e;u.push(h)}else s(t,g,r)||u.push(h)}return u}var DX=FX,LX=DX,_X=f2,BX=Bm,Q1=_m,NX=BX(function(e,t){return Q1(e)?LX(e,_X(t,1,Q1,!0)):[]}),VX=NX;const WX=ho(VX);var Gm={},$X=qo;Object.defineProperty(Gm,"__esModule",{value:!0});var zh=Gm.default=void 0,zX=$X(Us()),UX=f;zh=Gm.default=(0,zX.default)((0,UX.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function HX(){window.history.go(-1)}function qm(e){var h;const{error:t,errorComponent:n,errorInfo:r,resetErrorBoundary:o,title:s}=e,a=te.useTranslate(),c=A.useTheme(),u=process.env.NODE_ENV==="production";DY(o);const d=T.useCallback(()=>{HX()},[]);return n?f.jsx(n,{error:t,errorInfo:r,title:s}):f.jsx(A.Container,{children:f.jsxs(A.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[s?f.jsx(XS,{title:s}):null,f.jsx("img",{src:vS,style:{width:"100%",maxWidth:450,marginTop:c.spacing(4)},alt:"oops!"}),f.jsx(A.Typography,{variant:"h2",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:a(u?"ra.page.error":t.message,{_:t.message})}),!u&&f.jsx(A.Typography,{variant:"caption",children:a("ra.message.error_more_info")}),r?f.jsx(A.Typography,{variant:"body1",component:"pre",textAlign:u?"center":"start",fontFamily:u?"inherit":"monospace",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:u?a("ra.message.error"):((h=r==null?void 0:r.componentStack)==null?void 0:h.substring(0,250))+"..."}):null,f.jsx(A.Button,{variant:"contained",startIcon:f.jsx(Un.History,{}),onClick:d,children:a("ra.action.back")})]})})}var zu={exports:{}};/**
187
187
  * @license
188
188
  * Lodash <https://lodash.com/>
189
189
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
190
190
  * Released under MIT license <https://lodash.com/license>
191
191
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
192
192
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
193
- */zu.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",g=1,m=2,v=4,x=1,y=2,w=1,I=2,M=4,E=8,j=16,P=32,F=64,k=128,$=256,G=512,J=30,U="...",ae=800,se=16,Z=1,X=2,W=3,K=1/0,B=9007199254740991,ne=17976931348623157e292,V=NaN,q=4294967295,ue=q-1,pe=q>>>1,de=[["ary",k],["bind",w],["bindKey",I],["curry",E],["curryRight",j],["flip",G],["partial",P],["partialRight",F],["rearg",$]],he="[object Arguments]",me="[object Array]",Ae="[object AsyncFunction]",xe="[object Boolean]",ye="[object Date]",Ce="[object DOMException]",Ee="[object Error]",ce="[object Function]",Xe="[object GeneratorFunction]",ge="[object Map]",Ke="[object Number]",Jt="[object Null]",St="[object Object]",gt="[object Promise]",Mn="[object Proxy]",Tt="[object RegExp]",mt="[object Set]",Ut="[object String]",vt="[object Symbol]",Bt="[object Undefined]",Et="[object WeakMap]",ke="[object WeakSet]",Fe="[object ArrayBuffer]",Ie="[object DataView]",be="[object Float32Array]",ft="[object Float64Array]",Nt="[object Int8Array]",_e="[object Int16Array]",Oe="[object Int32Array]",qt="[object Uint8Array]",Xn="[object Uint8ClampedArray]",xr="[object Uint16Array]",Jo="[object Uint32Array]",Ml=/\b__p \+= '';/g,Kd=/\b(__p \+=) '' \+/g,Xd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kl=/&(?:amp|lt|gt|quot|#39);/g,ea=/[&<>"']/g,Fl=RegExp(kl.source),Dl=RegExp(ea.source),Ll=/<%-([\s\S]+?)%>/g,Zd=/<%([\s\S]+?)%>/g,_l=/<%=([\s\S]+?)%>/g,Qd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ta=/^\w*$/,Jd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ur=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Ur.source),en=/^\s+/,ei=/\s/,ef=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ti=/\{\n\/\* \[wrapped with (.+)\] \*/,ra=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nl=/[()=,{}\[\]\/\s]/,Vl=/\\(\\)?/g,Wl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$l=/\w*$/,tf=/^[-+]0x[0-9a-f]+$/i,nf=/^0b[01]+$/i,rf=/^\[object .+?Constructor\]$/,Ne=/^0o[0-7]+$/i,cn=/^(?:0|[1-9]\d*)$/,WI=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zl=/($^)/,$I=/['\n\r\u2028\u2029\\]/g,Ul="\\ud800-\\udfff",zI="\\u0300-\\u036f",UI="\\ufe20-\\ufe2f",HI="\\u20d0-\\u20ff",E0=zI+UI+HI,I0="\\u2700-\\u27bf",O0="a-z\\xdf-\\xf6\\xf8-\\xff",GI="\\xac\\xb1\\xd7\\xf7",qI="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",YI="\\u2000-\\u206f",KI=" \\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",P0="A-Z\\xc0-\\xd6\\xd8-\\xde",j0="\\ufe0e\\ufe0f",R0=GI+qI+YI+KI,of="['’]",XI="["+Ul+"]",M0="["+R0+"]",Hl="["+E0+"]",k0="\\d+",ZI="["+I0+"]",F0="["+O0+"]",D0="[^"+Ul+R0+k0+I0+O0+P0+"]",sf="\\ud83c[\\udffb-\\udfff]",QI="(?:"+Hl+"|"+sf+")",L0="[^"+Ul+"]",af="(?:\\ud83c[\\udde6-\\uddff]){2}",lf="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+P0+"]",_0="\\u200d",B0="(?:"+F0+"|"+D0+")",JI="(?:"+Wi+"|"+D0+")",N0="(?:"+of+"(?:d|ll|m|re|s|t|ve))?",V0="(?:"+of+"(?:D|LL|M|RE|S|T|VE))?",W0=QI+"?",$0="["+j0+"]?",eO="(?:"+_0+"(?:"+[L0,af,lf].join("|")+")"+$0+W0+")*",tO="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nO="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",z0=$0+W0+eO,rO="(?:"+[ZI,af,lf].join("|")+")"+z0,oO="(?:"+[L0+Hl+"?",Hl,af,lf,XI].join("|")+")",iO=RegExp(of,"g"),sO=RegExp(Hl,"g"),cf=RegExp(sf+"(?="+sf+")|"+oO+z0,"g"),aO=RegExp([Wi+"?"+F0+"+"+N0+"(?="+[M0,Wi,"$"].join("|")+")",JI+"+"+V0+"(?="+[M0,Wi+B0,"$"].join("|")+")",Wi+"?"+B0+"+"+N0,Wi+"+"+V0,nO,tO,k0,rO].join("|"),"g"),lO=RegExp("["+_0+Ul+E0+j0+"]"),cO=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uO=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],dO=-1,yt={};yt[be]=yt[ft]=yt[Nt]=yt[_e]=yt[Oe]=yt[qt]=yt[Xn]=yt[xr]=yt[Jo]=!0,yt[he]=yt[me]=yt[Fe]=yt[xe]=yt[Ie]=yt[ye]=yt[Ee]=yt[ce]=yt[ge]=yt[Ke]=yt[St]=yt[Tt]=yt[mt]=yt[Ut]=yt[Et]=!1;var pt={};pt[he]=pt[me]=pt[Fe]=pt[Ie]=pt[xe]=pt[ye]=pt[be]=pt[ft]=pt[Nt]=pt[_e]=pt[Oe]=pt[ge]=pt[Ke]=pt[St]=pt[Tt]=pt[mt]=pt[Ut]=pt[vt]=pt[qt]=pt[Xn]=pt[xr]=pt[Jo]=!0,pt[Ee]=pt[ce]=pt[Et]=!1;var fO={À:"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",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"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},pO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},hO={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},gO={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},mO=parseFloat,vO=parseInt,U0=typeof An=="object"&&An&&An.Object===Object&&An,yO=typeof self=="object"&&self&&self.Object===Object&&self,Yt=U0||yO||Function("return this")(),uf=t&&!t.nodeType&&t,ni=uf&&!0&&e&&!e.nodeType&&e,H0=ni&&ni.exports===uf,df=H0&&U0.process,Zn=function(){try{var z=ni&&ni.require&&ni.require("util").types;return z||df&&df.binding&&df.binding("util")}catch{}}(),G0=Zn&&Zn.isArrayBuffer,q0=Zn&&Zn.isDate,Y0=Zn&&Zn.isMap,K0=Zn&&Zn.isRegExp,X0=Zn&&Zn.isSet,Z0=Zn&&Zn.isTypedArray;function kn(z,re,ee){switch(ee.length){case 0:return z.call(re);case 1:return z.call(re,ee[0]);case 2:return z.call(re,ee[0],ee[1]);case 3:return z.call(re,ee[0],ee[1],ee[2])}return z.apply(re,ee)}function bO(z,re,ee,we){for(var Le=-1,Qe=z==null?0:z.length;++Le<Qe;){var $t=z[Le];re(we,$t,ee($t),z)}return we}function Qn(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we&&re(z[ee],ee,z)!==!1;);return z}function xO(z,re){for(var ee=z==null?0:z.length;ee--&&re(z[ee],ee,z)!==!1;);return z}function Q0(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we;)if(!re(z[ee],ee,z))return!1;return!0}function vo(z,re){for(var ee=-1,we=z==null?0:z.length,Le=0,Qe=[];++ee<we;){var $t=z[ee];re($t,ee,z)&&(Qe[Le++]=$t)}return Qe}function Gl(z,re){var ee=z==null?0:z.length;return!!ee&&$i(z,re,0)>-1}function ff(z,re,ee){for(var we=-1,Le=z==null?0:z.length;++we<Le;)if(ee(re,z[we]))return!0;return!1}function Ct(z,re){for(var ee=-1,we=z==null?0:z.length,Le=Array(we);++ee<we;)Le[ee]=re(z[ee],ee,z);return Le}function yo(z,re){for(var ee=-1,we=re.length,Le=z.length;++ee<we;)z[Le+ee]=re[ee];return z}function pf(z,re,ee,we){var Le=-1,Qe=z==null?0:z.length;for(we&&Qe&&(ee=z[++Le]);++Le<Qe;)ee=re(ee,z[Le],Le,z);return ee}function CO(z,re,ee,we){var Le=z==null?0:z.length;for(we&&Le&&(ee=z[--Le]);Le--;)ee=re(ee,z[Le],Le,z);return ee}function hf(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we;)if(re(z[ee],ee,z))return!0;return!1}var wO=gf("length");function AO(z){return z.split("")}function SO(z){return z.match(Bl)||[]}function J0(z,re,ee){var we;return ee(z,function(Le,Qe,$t){if(re(Le,Qe,$t))return we=Qe,!1}),we}function ql(z,re,ee,we){for(var Le=z.length,Qe=ee+(we?1:-1);we?Qe--:++Qe<Le;)if(re(z[Qe],Qe,z))return Qe;return-1}function $i(z,re,ee){return re===re?LO(z,re,ee):ql(z,ev,ee)}function TO(z,re,ee,we){for(var Le=ee-1,Qe=z.length;++Le<Qe;)if(we(z[Le],re))return Le;return-1}function ev(z){return z!==z}function tv(z,re){var ee=z==null?0:z.length;return ee?vf(z,re)/ee:V}function gf(z){return function(re){return re==null?n:re[z]}}function mf(z){return function(re){return z==null?n:z[re]}}function nv(z,re,ee,we,Le){return Le(z,function(Qe,$t,ut){ee=we?(we=!1,Qe):re(ee,Qe,$t,ut)}),ee}function EO(z,re){var ee=z.length;for(z.sort(re);ee--;)z[ee]=z[ee].value;return z}function vf(z,re){for(var ee,we=-1,Le=z.length;++we<Le;){var Qe=re(z[we]);Qe!==n&&(ee=ee===n?Qe:ee+Qe)}return ee}function yf(z,re){for(var ee=-1,we=Array(z);++ee<z;)we[ee]=re(ee);return we}function IO(z,re){return Ct(re,function(ee){return[ee,z[ee]]})}function rv(z){return z&&z.slice(0,av(z)+1).replace(en,"")}function Fn(z){return function(re){return z(re)}}function bf(z,re){return Ct(re,function(ee){return z[ee]})}function oa(z,re){return z.has(re)}function ov(z,re){for(var ee=-1,we=z.length;++ee<we&&$i(re,z[ee],0)>-1;);return ee}function iv(z,re){for(var ee=z.length;ee--&&$i(re,z[ee],0)>-1;);return ee}function OO(z,re){for(var ee=z.length,we=0;ee--;)z[ee]===re&&++we;return we}var PO=mf(fO),jO=mf(pO);function RO(z){return"\\"+gO[z]}function MO(z,re){return z==null?n:z[re]}function zi(z){return lO.test(z)}function kO(z){return cO.test(z)}function FO(z){for(var re,ee=[];!(re=z.next()).done;)ee.push(re.value);return ee}function xf(z){var re=-1,ee=Array(z.size);return z.forEach(function(we,Le){ee[++re]=[Le,we]}),ee}function sv(z,re){return function(ee){return z(re(ee))}}function bo(z,re){for(var ee=-1,we=z.length,Le=0,Qe=[];++ee<we;){var $t=z[ee];($t===re||$t===h)&&(z[ee]=h,Qe[Le++]=ee)}return Qe}function Yl(z){var re=-1,ee=Array(z.size);return z.forEach(function(we){ee[++re]=we}),ee}function DO(z){var re=-1,ee=Array(z.size);return z.forEach(function(we){ee[++re]=[we,we]}),ee}function LO(z,re,ee){for(var we=ee-1,Le=z.length;++we<Le;)if(z[we]===re)return we;return-1}function _O(z,re,ee){for(var we=ee+1;we--;)if(z[we]===re)return we;return we}function Ui(z){return zi(z)?NO(z):wO(z)}function Cr(z){return zi(z)?VO(z):AO(z)}function av(z){for(var re=z.length;re--&&ei.test(z.charAt(re)););return re}var BO=mf(hO);function NO(z){for(var re=cf.lastIndex=0;cf.test(z);)++re;return re}function VO(z){return z.match(cf)||[]}function WO(z){return z.match(aO)||[]}var $O=function z(re){re=re==null?Yt:Hi.defaults(Yt.Object(),re,Hi.pick(Yt,uO));var ee=re.Array,we=re.Date,Le=re.Error,Qe=re.Function,$t=re.Math,ut=re.Object,Cf=re.RegExp,zO=re.String,Jn=re.TypeError,Kl=ee.prototype,UO=Qe.prototype,Gi=ut.prototype,Xl=re["__core-js_shared__"],Zl=UO.toString,at=Gi.hasOwnProperty,HO=0,lv=function(){var i=/[^.]+$/.exec(Xl&&Xl.keys&&Xl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Ql=Gi.toString,GO=Zl.call(ut),qO=Yt._,YO=Cf("^"+Zl.call(at).replace(Ur,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jl=H0?re.Buffer:n,xo=re.Symbol,ec=re.Uint8Array,cv=Jl?Jl.allocUnsafe:n,tc=sv(ut.getPrototypeOf,ut),uv=ut.create,dv=Gi.propertyIsEnumerable,nc=Kl.splice,fv=xo?xo.isConcatSpreadable:n,ia=xo?xo.iterator:n,ri=xo?xo.toStringTag:n,rc=function(){try{var i=li(ut,"defineProperty");return i({},"",{}),i}catch{}}(),KO=re.clearTimeout!==Yt.clearTimeout&&re.clearTimeout,XO=we&&we.now!==Yt.Date.now&&we.now,ZO=re.setTimeout!==Yt.setTimeout&&re.setTimeout,oc=$t.ceil,ic=$t.floor,wf=ut.getOwnPropertySymbols,QO=Jl?Jl.isBuffer:n,pv=re.isFinite,JO=Kl.join,eP=sv(ut.keys,ut),zt=$t.max,tn=$t.min,tP=we.now,nP=re.parseInt,hv=$t.random,rP=Kl.reverse,Af=li(re,"DataView"),sa=li(re,"Map"),Sf=li(re,"Promise"),qi=li(re,"Set"),aa=li(re,"WeakMap"),la=li(ut,"create"),sc=aa&&new aa,Yi={},oP=ci(Af),iP=ci(sa),sP=ci(Sf),aP=ci(qi),lP=ci(aa),ac=xo?xo.prototype:n,ca=ac?ac.valueOf:n,gv=ac?ac.toString:n;function O(i){if(Pt(i)&&!Be(i)&&!(i instanceof Ge)){if(i instanceof er)return i;if(at.call(i,"__wrapped__"))return my(i)}return new er(i)}var Ki=function(){function i(){}return function(l){if(!It(l))return{};if(uv)return uv(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function lc(){}function er(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:Ll,evaluate:Zd,interpolate:_l,variable:"",imports:{_:O}},O.prototype=lc.prototype,O.prototype.constructor=O,er.prototype=Ki(lc.prototype),er.prototype.constructor=er;function Ge(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=q,this.__views__=[]}function cP(){var i=new Ge(this.__wrapped__);return i.__actions__=gn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=gn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=gn(this.__views__),i}function uP(){if(this.__filtered__){var i=new Ge(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function dP(){var i=this.__wrapped__.value(),l=this.__dir__,p=Be(i),b=l<0,S=p?i.length:0,R=A3(0,S,this.__views__),D=R.start,N=R.end,H=N-D,oe=b?N:D-1,ie=this.__iteratees__,le=ie.length,ve=0,Te=tn(H,this.__takeCount__);if(!p||!b&&S==H&&Te==H)return Nv(i,this.__actions__);var je=[];e:for(;H--&&ve<Te;){oe+=l;for(var We=-1,Re=i[oe];++We<le;){var Ue=ie[We],Ye=Ue.iteratee,_n=Ue.type,fn=Ye(Re);if(_n==X)Re=fn;else if(!fn){if(_n==Z)continue e;break e}}je[ve++]=Re}return je}Ge.prototype=Ki(lc.prototype),Ge.prototype.constructor=Ge;function oi(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var b=i[l];this.set(b[0],b[1])}}function fP(){this.__data__=la?la(null):{},this.size=0}function pP(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function hP(i){var l=this.__data__;if(la){var p=l[i];return p===u?n:p}return at.call(l,i)?l[i]:n}function gP(i){var l=this.__data__;return la?l[i]!==n:at.call(l,i)}function mP(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=la&&l===n?u:l,this}oi.prototype.clear=fP,oi.prototype.delete=pP,oi.prototype.get=hP,oi.prototype.has=gP,oi.prototype.set=mP;function Hr(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var b=i[l];this.set(b[0],b[1])}}function vP(){this.__data__=[],this.size=0}function yP(i){var l=this.__data__,p=cc(l,i);if(p<0)return!1;var b=l.length-1;return p==b?l.pop():nc.call(l,p,1),--this.size,!0}function bP(i){var l=this.__data__,p=cc(l,i);return p<0?n:l[p][1]}function xP(i){return cc(this.__data__,i)>-1}function CP(i,l){var p=this.__data__,b=cc(p,i);return b<0?(++this.size,p.push([i,l])):p[b][1]=l,this}Hr.prototype.clear=vP,Hr.prototype.delete=yP,Hr.prototype.get=bP,Hr.prototype.has=xP,Hr.prototype.set=CP;function Gr(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var b=i[l];this.set(b[0],b[1])}}function wP(){this.size=0,this.__data__={hash:new oi,map:new(sa||Hr),string:new oi}}function AP(i){var l=Cc(this,i).delete(i);return this.size-=l?1:0,l}function SP(i){return Cc(this,i).get(i)}function TP(i){return Cc(this,i).has(i)}function EP(i,l){var p=Cc(this,i),b=p.size;return p.set(i,l),this.size+=p.size==b?0:1,this}Gr.prototype.clear=wP,Gr.prototype.delete=AP,Gr.prototype.get=SP,Gr.prototype.has=TP,Gr.prototype.set=EP;function ii(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new Gr;++l<p;)this.add(i[l])}function IP(i){return this.__data__.set(i,u),this}function OP(i){return this.__data__.has(i)}ii.prototype.add=ii.prototype.push=IP,ii.prototype.has=OP;function wr(i){var l=this.__data__=new Hr(i);this.size=l.size}function PP(){this.__data__=new Hr,this.size=0}function jP(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function RP(i){return this.__data__.get(i)}function MP(i){return this.__data__.has(i)}function kP(i,l){var p=this.__data__;if(p instanceof Hr){var b=p.__data__;if(!sa||b.length<o-1)return b.push([i,l]),this.size=++p.size,this;p=this.__data__=new Gr(b)}return p.set(i,l),this.size=p.size,this}wr.prototype.clear=PP,wr.prototype.delete=jP,wr.prototype.get=RP,wr.prototype.has=MP,wr.prototype.set=kP;function mv(i,l){var p=Be(i),b=!p&&ui(i),S=!p&&!b&&To(i),R=!p&&!b&&!S&&Ji(i),D=p||b||S||R,N=D?yf(i.length,zO):[],H=N.length;for(var oe in i)(l||at.call(i,oe))&&!(D&&(oe=="length"||S&&(oe=="offset"||oe=="parent")||R&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||Xr(oe,H)))&&N.push(oe);return N}function vv(i){var l=i.length;return l?i[Df(0,l-1)]:n}function FP(i,l){return wc(gn(i),si(l,0,i.length))}function DP(i){return wc(gn(i))}function Tf(i,l,p){(p!==n&&!Ar(i[l],p)||p===n&&!(l in i))&&qr(i,l,p)}function ua(i,l,p){var b=i[l];(!(at.call(i,l)&&Ar(b,p))||p===n&&!(l in i))&&qr(i,l,p)}function cc(i,l){for(var p=i.length;p--;)if(Ar(i[p][0],l))return p;return-1}function LP(i,l,p,b){return Co(i,function(S,R,D){l(b,S,p(S),D)}),b}function yv(i,l){return i&&Rr(l,Ht(l),i)}function _P(i,l){return i&&Rr(l,vn(l),i)}function qr(i,l,p){l=="__proto__"&&rc?rc(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function Ef(i,l){for(var p=-1,b=l.length,S=ee(b),R=i==null;++p<b;)S[p]=R?n:sp(i,l[p]);return S}function si(i,l,p){return i===i&&(p!==n&&(i=i<=p?i:p),l!==n&&(i=i>=l?i:l)),i}function tr(i,l,p,b,S,R){var D,N=l&g,H=l&m,oe=l&v;if(p&&(D=S?p(i,b,S,R):p(i)),D!==n)return D;if(!It(i))return i;var ie=Be(i);if(ie){if(D=T3(i),!N)return gn(i,D)}else{var le=nn(i),ve=le==ce||le==Xe;if(To(i))return $v(i,N);if(le==St||le==he||ve&&!S){if(D=H||ve?{}:ay(i),!N)return H?h3(i,_P(D,i)):p3(i,yv(D,i))}else{if(!pt[le])return S?i:{};D=E3(i,le,N)}}R||(R=new wr);var Te=R.get(i);if(Te)return Te;R.set(i,D),Ly(i)?i.forEach(function(Re){D.add(tr(Re,l,p,Re,i,R))}):Fy(i)&&i.forEach(function(Re,Ue){D.set(Ue,tr(Re,l,p,Ue,i,R))});var je=oe?H?Gf:Hf:H?vn:Ht,We=ie?n:je(i);return Qn(We||i,function(Re,Ue){We&&(Ue=Re,Re=i[Ue]),ua(D,Ue,tr(Re,l,p,Ue,i,R))}),D}function BP(i){var l=Ht(i);return function(p){return bv(p,i,l)}}function bv(i,l,p){var b=p.length;if(i==null)return!b;for(i=ut(i);b--;){var S=p[b],R=l[S],D=i[S];if(D===n&&!(S in i)||!R(D))return!1}return!0}function xv(i,l,p){if(typeof i!="function")throw new Jn(a);return va(function(){i.apply(n,p)},l)}function da(i,l,p,b){var S=-1,R=Gl,D=!0,N=i.length,H=[],oe=l.length;if(!N)return H;p&&(l=Ct(l,Fn(p))),b?(R=ff,D=!1):l.length>=o&&(R=oa,D=!1,l=new ii(l));e:for(;++S<N;){var ie=i[S],le=p==null?ie:p(ie);if(ie=b||ie!==0?ie:0,D&&le===le){for(var ve=oe;ve--;)if(l[ve]===le)continue e;H.push(ie)}else R(l,le,b)||H.push(ie)}return H}var Co=qv(jr),Cv=qv(Of,!0);function NP(i,l){var p=!0;return Co(i,function(b,S,R){return p=!!l(b,S,R),p}),p}function uc(i,l,p){for(var b=-1,S=i.length;++b<S;){var R=i[b],D=l(R);if(D!=null&&(N===n?D===D&&!Ln(D):p(D,N)))var N=D,H=R}return H}function VP(i,l,p,b){var S=i.length;for(p=Ve(p),p<0&&(p=-p>S?0:S+p),b=b===n||b>S?S:Ve(b),b<0&&(b+=S),b=p>b?0:By(b);p<b;)i[p++]=l;return i}function wv(i,l){var p=[];return Co(i,function(b,S,R){l(b,S,R)&&p.push(b)}),p}function Kt(i,l,p,b,S){var R=-1,D=i.length;for(p||(p=O3),S||(S=[]);++R<D;){var N=i[R];l>0&&p(N)?l>1?Kt(N,l-1,p,b,S):yo(S,N):b||(S[S.length]=N)}return S}var If=Yv(),Av=Yv(!0);function jr(i,l){return i&&If(i,l,Ht)}function Of(i,l){return i&&Av(i,l,Ht)}function dc(i,l){return vo(l,function(p){return Zr(i[p])})}function ai(i,l){l=Ao(l,i);for(var p=0,b=l.length;i!=null&&p<b;)i=i[Mr(l[p++])];return p&&p==b?i:n}function Sv(i,l,p){var b=l(i);return Be(i)?b:yo(b,p(i))}function un(i){return i==null?i===n?Bt:Jt:ri&&ri in ut(i)?w3(i):D3(i)}function Pf(i,l){return i>l}function WP(i,l){return i!=null&&at.call(i,l)}function $P(i,l){return i!=null&&l in ut(i)}function zP(i,l,p){return i>=tn(l,p)&&i<zt(l,p)}function jf(i,l,p){for(var b=p?ff:Gl,S=i[0].length,R=i.length,D=R,N=ee(R),H=1/0,oe=[];D--;){var ie=i[D];D&&l&&(ie=Ct(ie,Fn(l))),H=tn(ie.length,H),N[D]=!p&&(l||S>=120&&ie.length>=120)?new ii(D&&ie):n}ie=i[0];var le=-1,ve=N[0];e:for(;++le<S&&oe.length<H;){var Te=ie[le],je=l?l(Te):Te;if(Te=p||Te!==0?Te:0,!(ve?oa(ve,je):b(oe,je,p))){for(D=R;--D;){var We=N[D];if(!(We?oa(We,je):b(i[D],je,p)))continue e}ve&&ve.push(je),oe.push(Te)}}return oe}function UP(i,l,p,b){return jr(i,function(S,R,D){l(b,p(S),R,D)}),b}function fa(i,l,p){l=Ao(l,i),i=dy(i,l);var b=i==null?i:i[Mr(rr(l))];return b==null?n:kn(b,i,p)}function Tv(i){return Pt(i)&&un(i)==he}function HP(i){return Pt(i)&&un(i)==Fe}function GP(i){return Pt(i)&&un(i)==ye}function pa(i,l,p,b,S){return i===l?!0:i==null||l==null||!Pt(i)&&!Pt(l)?i!==i&&l!==l:qP(i,l,p,b,pa,S)}function qP(i,l,p,b,S,R){var D=Be(i),N=Be(l),H=D?me:nn(i),oe=N?me:nn(l);H=H==he?St:H,oe=oe==he?St:oe;var ie=H==St,le=oe==St,ve=H==oe;if(ve&&To(i)){if(!To(l))return!1;D=!0,ie=!1}if(ve&&!ie)return R||(R=new wr),D||Ji(i)?oy(i,l,p,b,S,R):x3(i,l,H,p,b,S,R);if(!(p&x)){var Te=ie&&at.call(i,"__wrapped__"),je=le&&at.call(l,"__wrapped__");if(Te||je){var We=Te?i.value():i,Re=je?l.value():l;return R||(R=new wr),S(We,Re,p,b,R)}}return ve?(R||(R=new wr),C3(i,l,p,b,S,R)):!1}function YP(i){return Pt(i)&&nn(i)==ge}function Rf(i,l,p,b){var S=p.length,R=S,D=!b;if(i==null)return!R;for(i=ut(i);S--;){var N=p[S];if(D&&N[2]?N[1]!==i[N[0]]:!(N[0]in i))return!1}for(;++S<R;){N=p[S];var H=N[0],oe=i[H],ie=N[1];if(D&&N[2]){if(oe===n&&!(H in i))return!1}else{var le=new wr;if(b)var ve=b(oe,ie,H,i,l,le);if(!(ve===n?pa(ie,oe,x|y,b,le):ve))return!1}}return!0}function Ev(i){if(!It(i)||j3(i))return!1;var l=Zr(i)?YO:rf;return l.test(ci(i))}function KP(i){return Pt(i)&&un(i)==Tt}function XP(i){return Pt(i)&&nn(i)==mt}function ZP(i){return Pt(i)&&Oc(i.length)&&!!yt[un(i)]}function Iv(i){return typeof i=="function"?i:i==null?yn:typeof i=="object"?Be(i)?jv(i[0],i[1]):Pv(i):Ky(i)}function Mf(i){if(!ma(i))return eP(i);var l=[];for(var p in ut(i))at.call(i,p)&&p!="constructor"&&l.push(p);return l}function QP(i){if(!It(i))return F3(i);var l=ma(i),p=[];for(var b in i)b=="constructor"&&(l||!at.call(i,b))||p.push(b);return p}function kf(i,l){return i<l}function Ov(i,l){var p=-1,b=mn(i)?ee(i.length):[];return Co(i,function(S,R,D){b[++p]=l(S,R,D)}),b}function Pv(i){var l=Yf(i);return l.length==1&&l[0][2]?cy(l[0][0],l[0][1]):function(p){return p===i||Rf(p,i,l)}}function jv(i,l){return Xf(i)&&ly(l)?cy(Mr(i),l):function(p){var b=sp(p,i);return b===n&&b===l?ap(p,i):pa(l,b,x|y)}}function fc(i,l,p,b,S){i!==l&&If(l,function(R,D){if(S||(S=new wr),It(R))JP(i,l,D,p,fc,b,S);else{var N=b?b(Qf(i,D),R,D+"",i,l,S):n;N===n&&(N=R),Tf(i,D,N)}},vn)}function JP(i,l,p,b,S,R,D){var N=Qf(i,p),H=Qf(l,p),oe=D.get(H);if(oe){Tf(i,p,oe);return}var ie=R?R(N,H,p+"",i,l,D):n,le=ie===n;if(le){var ve=Be(H),Te=!ve&&To(H),je=!ve&&!Te&&Ji(H);ie=H,ve||Te||je?Be(N)?ie=N:Ft(N)?ie=gn(N):Te?(le=!1,ie=$v(H,!0)):je?(le=!1,ie=zv(H,!0)):ie=[]:ya(H)||ui(H)?(ie=N,ui(N)?ie=Ny(N):(!It(N)||Zr(N))&&(ie=ay(H))):le=!1}le&&(D.set(H,ie),S(ie,H,b,R,D),D.delete(H)),Tf(i,p,ie)}function Rv(i,l){var p=i.length;if(p)return l+=l<0?p:0,Xr(l,p)?i[l]:n}function Mv(i,l,p){l.length?l=Ct(l,function(R){return Be(R)?function(D){return ai(D,R.length===1?R[0]:R)}:R}):l=[yn];var b=-1;l=Ct(l,Fn(Pe()));var S=Ov(i,function(R,D,N){var H=Ct(l,function(oe){return oe(R)});return{criteria:H,index:++b,value:R}});return EO(S,function(R,D){return f3(R,D,p)})}function e3(i,l){return kv(i,l,function(p,b){return ap(i,b)})}function kv(i,l,p){for(var b=-1,S=l.length,R={};++b<S;){var D=l[b],N=ai(i,D);p(N,D)&&ha(R,Ao(D,i),N)}return R}function t3(i){return function(l){return ai(l,i)}}function Ff(i,l,p,b){var S=b?TO:$i,R=-1,D=l.length,N=i;for(i===l&&(l=gn(l)),p&&(N=Ct(i,Fn(p)));++R<D;)for(var H=0,oe=l[R],ie=p?p(oe):oe;(H=S(N,ie,H,b))>-1;)N!==i&&nc.call(N,H,1),nc.call(i,H,1);return i}function Fv(i,l){for(var p=i?l.length:0,b=p-1;p--;){var S=l[p];if(p==b||S!==R){var R=S;Xr(S)?nc.call(i,S,1):Bf(i,S)}}return i}function Df(i,l){return i+ic(hv()*(l-i+1))}function n3(i,l,p,b){for(var S=-1,R=zt(oc((l-i)/(p||1)),0),D=ee(R);R--;)D[b?R:++S]=i,i+=p;return D}function Lf(i,l){var p="";if(!i||l<1||l>B)return p;do l%2&&(p+=i),l=ic(l/2),l&&(i+=i);while(l);return p}function $e(i,l){return Jf(uy(i,l,yn),i+"")}function r3(i){return vv(es(i))}function o3(i,l){var p=es(i);return wc(p,si(l,0,p.length))}function ha(i,l,p,b){if(!It(i))return i;l=Ao(l,i);for(var S=-1,R=l.length,D=R-1,N=i;N!=null&&++S<R;){var H=Mr(l[S]),oe=p;if(H==="__proto__"||H==="constructor"||H==="prototype")return i;if(S!=D){var ie=N[H];oe=b?b(ie,H,N):n,oe===n&&(oe=It(ie)?ie:Xr(l[S+1])?[]:{})}ua(N,H,oe),N=N[H]}return i}var Dv=sc?function(i,l){return sc.set(i,l),i}:yn,i3=rc?function(i,l){return rc(i,"toString",{configurable:!0,enumerable:!1,value:cp(l),writable:!0})}:yn;function s3(i){return wc(es(i))}function nr(i,l,p){var b=-1,S=i.length;l<0&&(l=-l>S?0:S+l),p=p>S?S:p,p<0&&(p+=S),S=l>p?0:p-l>>>0,l>>>=0;for(var R=ee(S);++b<S;)R[b]=i[b+l];return R}function a3(i,l){var p;return Co(i,function(b,S,R){return p=l(b,S,R),!p}),!!p}function pc(i,l,p){var b=0,S=i==null?b:i.length;if(typeof l=="number"&&l===l&&S<=pe){for(;b<S;){var R=b+S>>>1,D=i[R];D!==null&&!Ln(D)&&(p?D<=l:D<l)?b=R+1:S=R}return S}return _f(i,l,yn,p)}function _f(i,l,p,b){var S=0,R=i==null?0:i.length;if(R===0)return 0;l=p(l);for(var D=l!==l,N=l===null,H=Ln(l),oe=l===n;S<R;){var ie=ic((S+R)/2),le=p(i[ie]),ve=le!==n,Te=le===null,je=le===le,We=Ln(le);if(D)var Re=b||je;else oe?Re=je&&(b||ve):N?Re=je&&ve&&(b||!Te):H?Re=je&&ve&&!Te&&(b||!We):Te||We?Re=!1:Re=b?le<=l:le<l;Re?S=ie+1:R=ie}return tn(R,ue)}function Lv(i,l){for(var p=-1,b=i.length,S=0,R=[];++p<b;){var D=i[p],N=l?l(D):D;if(!p||!Ar(N,H)){var H=N;R[S++]=D===0?0:D}}return R}function _v(i){return typeof i=="number"?i:Ln(i)?V:+i}function Dn(i){if(typeof i=="string")return i;if(Be(i))return Ct(i,Dn)+"";if(Ln(i))return gv?gv.call(i):"";var l=i+"";return l=="0"&&1/i==-K?"-0":l}function wo(i,l,p){var b=-1,S=Gl,R=i.length,D=!0,N=[],H=N;if(p)D=!1,S=ff;else if(R>=o){var oe=l?null:y3(i);if(oe)return Yl(oe);D=!1,S=oa,H=new ii}else H=l?[]:N;e:for(;++b<R;){var ie=i[b],le=l?l(ie):ie;if(ie=p||ie!==0?ie:0,D&&le===le){for(var ve=H.length;ve--;)if(H[ve]===le)continue e;l&&H.push(le),N.push(ie)}else S(H,le,p)||(H!==N&&H.push(le),N.push(ie))}return N}function Bf(i,l){return l=Ao(l,i),i=dy(i,l),i==null||delete i[Mr(rr(l))]}function Bv(i,l,p,b){return ha(i,l,p(ai(i,l)),b)}function hc(i,l,p,b){for(var S=i.length,R=b?S:-1;(b?R--:++R<S)&&l(i[R],R,i););return p?nr(i,b?0:R,b?R+1:S):nr(i,b?R+1:0,b?S:R)}function Nv(i,l){var p=i;return p instanceof Ge&&(p=p.value()),pf(l,function(b,S){return S.func.apply(S.thisArg,yo([b],S.args))},p)}function Nf(i,l,p){var b=i.length;if(b<2)return b?wo(i[0]):[];for(var S=-1,R=ee(b);++S<b;)for(var D=i[S],N=-1;++N<b;)N!=S&&(R[S]=da(R[S]||D,i[N],l,p));return wo(Kt(R,1),l,p)}function Vv(i,l,p){for(var b=-1,S=i.length,R=l.length,D={};++b<S;){var N=b<R?l[b]:n;p(D,i[b],N)}return D}function Vf(i){return Ft(i)?i:[]}function Wf(i){return typeof i=="function"?i:yn}function Ao(i,l){return Be(i)?i:Xf(i,l)?[i]:gy(nt(i))}var l3=$e;function So(i,l,p){var b=i.length;return p=p===n?b:p,!l&&p>=b?i:nr(i,l,p)}var Wv=KO||function(i){return Yt.clearTimeout(i)};function $v(i,l){if(l)return i.slice();var p=i.length,b=cv?cv(p):new i.constructor(p);return i.copy(b),b}function $f(i){var l=new i.constructor(i.byteLength);return new ec(l).set(new ec(i)),l}function c3(i,l){var p=l?$f(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function u3(i){var l=new i.constructor(i.source,$l.exec(i));return l.lastIndex=i.lastIndex,l}function d3(i){return ca?ut(ca.call(i)):{}}function zv(i,l){var p=l?$f(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function Uv(i,l){if(i!==l){var p=i!==n,b=i===null,S=i===i,R=Ln(i),D=l!==n,N=l===null,H=l===l,oe=Ln(l);if(!N&&!oe&&!R&&i>l||R&&D&&H&&!N&&!oe||b&&D&&H||!p&&H||!S)return 1;if(!b&&!R&&!oe&&i<l||oe&&p&&S&&!b&&!R||N&&p&&S||!D&&S||!H)return-1}return 0}function f3(i,l,p){for(var b=-1,S=i.criteria,R=l.criteria,D=S.length,N=p.length;++b<D;){var H=Uv(S[b],R[b]);if(H){if(b>=N)return H;var oe=p[b];return H*(oe=="desc"?-1:1)}}return i.index-l.index}function Hv(i,l,p,b){for(var S=-1,R=i.length,D=p.length,N=-1,H=l.length,oe=zt(R-D,0),ie=ee(H+oe),le=!b;++N<H;)ie[N]=l[N];for(;++S<D;)(le||S<R)&&(ie[p[S]]=i[S]);for(;oe--;)ie[N++]=i[S++];return ie}function Gv(i,l,p,b){for(var S=-1,R=i.length,D=-1,N=p.length,H=-1,oe=l.length,ie=zt(R-N,0),le=ee(ie+oe),ve=!b;++S<ie;)le[S]=i[S];for(var Te=S;++H<oe;)le[Te+H]=l[H];for(;++D<N;)(ve||S<R)&&(le[Te+p[D]]=i[S++]);return le}function gn(i,l){var p=-1,b=i.length;for(l||(l=ee(b));++p<b;)l[p]=i[p];return l}function Rr(i,l,p,b){var S=!p;p||(p={});for(var R=-1,D=l.length;++R<D;){var N=l[R],H=b?b(p[N],i[N],N,p,i):n;H===n&&(H=i[N]),S?qr(p,N,H):ua(p,N,H)}return p}function p3(i,l){return Rr(i,Kf(i),l)}function h3(i,l){return Rr(i,iy(i),l)}function gc(i,l){return function(p,b){var S=Be(p)?bO:LP,R=l?l():{};return S(p,i,Pe(b,2),R)}}function Xi(i){return $e(function(l,p){var b=-1,S=p.length,R=S>1?p[S-1]:n,D=S>2?p[2]:n;for(R=i.length>3&&typeof R=="function"?(S--,R):n,D&&dn(p[0],p[1],D)&&(R=S<3?n:R,S=1),l=ut(l);++b<S;){var N=p[b];N&&i(l,N,b,R)}return l})}function qv(i,l){return function(p,b){if(p==null)return p;if(!mn(p))return i(p,b);for(var S=p.length,R=l?S:-1,D=ut(p);(l?R--:++R<S)&&b(D[R],R,D)!==!1;);return p}}function Yv(i){return function(l,p,b){for(var S=-1,R=ut(l),D=b(l),N=D.length;N--;){var H=D[i?N:++S];if(p(R[H],H,R)===!1)break}return l}}function g3(i,l,p){var b=l&w,S=ga(i);function R(){var D=this&&this!==Yt&&this instanceof R?S:i;return D.apply(b?p:this,arguments)}return R}function Kv(i){return function(l){l=nt(l);var p=zi(l)?Cr(l):n,b=p?p[0]:l.charAt(0),S=p?So(p,1).join(""):l.slice(1);return b[i]()+S}}function Zi(i){return function(l){return pf(qy(Gy(l).replace(iO,"")),i,"")}}function ga(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=Ki(i.prototype),b=i.apply(p,l);return It(b)?b:p}}function m3(i,l,p){var b=ga(i);function S(){for(var R=arguments.length,D=ee(R),N=R,H=Qi(S);N--;)D[N]=arguments[N];var oe=R<3&&D[0]!==H&&D[R-1]!==H?[]:bo(D,H);if(R-=oe.length,R<p)return ey(i,l,mc,S.placeholder,n,D,oe,n,n,p-R);var ie=this&&this!==Yt&&this instanceof S?b:i;return kn(ie,this,D)}return S}function Xv(i){return function(l,p,b){var S=ut(l);if(!mn(l)){var R=Pe(p,3);l=Ht(l),p=function(N){return R(S[N],N,S)}}var D=i(l,p,b);return D>-1?S[R?l[D]:D]:n}}function Zv(i){return Kr(function(l){var p=l.length,b=p,S=er.prototype.thru;for(i&&l.reverse();b--;){var R=l[b];if(typeof R!="function")throw new Jn(a);if(S&&!D&&xc(R)=="wrapper")var D=new er([],!0)}for(b=D?b:p;++b<p;){R=l[b];var N=xc(R),H=N=="wrapper"?qf(R):n;H&&Zf(H[0])&&H[1]==(k|E|P|$)&&!H[4].length&&H[9]==1?D=D[xc(H[0])].apply(D,H[3]):D=R.length==1&&Zf(R)?D[N]():D.thru(R)}return function(){var oe=arguments,ie=oe[0];if(D&&oe.length==1&&Be(ie))return D.plant(ie).value();for(var le=0,ve=p?l[le].apply(this,oe):ie;++le<p;)ve=l[le].call(this,ve);return ve}})}function mc(i,l,p,b,S,R,D,N,H,oe){var ie=l&k,le=l&w,ve=l&I,Te=l&(E|j),je=l&G,We=ve?n:ga(i);function Re(){for(var Ue=arguments.length,Ye=ee(Ue),_n=Ue;_n--;)Ye[_n]=arguments[_n];if(Te)var fn=Qi(Re),Bn=OO(Ye,fn);if(b&&(Ye=Hv(Ye,b,S,Te)),R&&(Ye=Gv(Ye,R,D,Te)),Ue-=Bn,Te&&Ue<oe){var Dt=bo(Ye,fn);return ey(i,l,mc,Re.placeholder,p,Ye,Dt,N,H,oe-Ue)}var Sr=le?p:this,Jr=ve?Sr[i]:i;return Ue=Ye.length,N?Ye=L3(Ye,N):je&&Ue>1&&Ye.reverse(),ie&&H<Ue&&(Ye.length=H),this&&this!==Yt&&this instanceof Re&&(Jr=We||ga(Jr)),Jr.apply(Sr,Ye)}return Re}function Qv(i,l){return function(p,b){return UP(p,i,l(b),{})}}function vc(i,l){return function(p,b){var S;if(p===n&&b===n)return l;if(p!==n&&(S=p),b!==n){if(S===n)return b;typeof p=="string"||typeof b=="string"?(p=Dn(p),b=Dn(b)):(p=_v(p),b=_v(b)),S=i(p,b)}return S}}function zf(i){return Kr(function(l){return l=Ct(l,Fn(Pe())),$e(function(p){var b=this;return i(l,function(S){return kn(S,b,p)})})})}function yc(i,l){l=l===n?" ":Dn(l);var p=l.length;if(p<2)return p?Lf(l,i):l;var b=Lf(l,oc(i/Ui(l)));return zi(l)?So(Cr(b),0,i).join(""):b.slice(0,i)}function v3(i,l,p,b){var S=l&w,R=ga(i);function D(){for(var N=-1,H=arguments.length,oe=-1,ie=b.length,le=ee(ie+H),ve=this&&this!==Yt&&this instanceof D?R:i;++oe<ie;)le[oe]=b[oe];for(;H--;)le[oe++]=arguments[++N];return kn(ve,S?p:this,le)}return D}function Jv(i){return function(l,p,b){return b&&typeof b!="number"&&dn(l,p,b)&&(p=b=n),l=Qr(l),p===n?(p=l,l=0):p=Qr(p),b=b===n?l<p?1:-1:Qr(b),n3(l,p,b,i)}}function bc(i){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=or(l),p=or(p)),i(l,p)}}function ey(i,l,p,b,S,R,D,N,H,oe){var ie=l&E,le=ie?D:n,ve=ie?n:D,Te=ie?R:n,je=ie?n:R;l|=ie?P:F,l&=~(ie?F:P),l&M||(l&=~(w|I));var We=[i,l,S,Te,le,je,ve,N,H,oe],Re=p.apply(n,We);return Zf(i)&&fy(Re,We),Re.placeholder=b,py(Re,i,l)}function Uf(i){var l=$t[i];return function(p,b){if(p=or(p),b=b==null?0:tn(Ve(b),292),b&&pv(p)){var S=(nt(p)+"e").split("e"),R=l(S[0]+"e"+(+S[1]+b));return S=(nt(R)+"e").split("e"),+(S[0]+"e"+(+S[1]-b))}return l(p)}}var y3=qi&&1/Yl(new qi([,-0]))[1]==K?function(i){return new qi(i)}:fp;function ty(i){return function(l){var p=nn(l);return p==ge?xf(l):p==mt?DO(l):IO(l,i(l))}}function Yr(i,l,p,b,S,R,D,N){var H=l&I;if(!H&&typeof i!="function")throw new Jn(a);var oe=b?b.length:0;if(oe||(l&=~(P|F),b=S=n),D=D===n?D:zt(Ve(D),0),N=N===n?N:Ve(N),oe-=S?S.length:0,l&F){var ie=b,le=S;b=S=n}var ve=H?n:qf(i),Te=[i,l,p,b,S,ie,le,R,D,N];if(ve&&k3(Te,ve),i=Te[0],l=Te[1],p=Te[2],b=Te[3],S=Te[4],N=Te[9]=Te[9]===n?H?0:i.length:zt(Te[9]-oe,0),!N&&l&(E|j)&&(l&=~(E|j)),!l||l==w)var je=g3(i,l,p);else l==E||l==j?je=m3(i,l,N):(l==P||l==(w|P))&&!S.length?je=v3(i,l,p,b):je=mc.apply(n,Te);var We=ve?Dv:fy;return py(We(je,Te),i,l)}function ny(i,l,p,b){return i===n||Ar(i,Gi[p])&&!at.call(b,p)?l:i}function ry(i,l,p,b,S,R){return It(i)&&It(l)&&(R.set(l,i),fc(i,l,n,ry,R),R.delete(l)),i}function b3(i){return ya(i)?n:i}function oy(i,l,p,b,S,R){var D=p&x,N=i.length,H=l.length;if(N!=H&&!(D&&H>N))return!1;var oe=R.get(i),ie=R.get(l);if(oe&&ie)return oe==l&&ie==i;var le=-1,ve=!0,Te=p&y?new ii:n;for(R.set(i,l),R.set(l,i);++le<N;){var je=i[le],We=l[le];if(b)var Re=D?b(We,je,le,l,i,R):b(je,We,le,i,l,R);if(Re!==n){if(Re)continue;ve=!1;break}if(Te){if(!hf(l,function(Ue,Ye){if(!oa(Te,Ye)&&(je===Ue||S(je,Ue,p,b,R)))return Te.push(Ye)})){ve=!1;break}}else if(!(je===We||S(je,We,p,b,R))){ve=!1;break}}return R.delete(i),R.delete(l),ve}function x3(i,l,p,b,S,R,D){switch(p){case Ie:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case Fe:return!(i.byteLength!=l.byteLength||!R(new ec(i),new ec(l)));case xe:case ye:case Ke:return Ar(+i,+l);case Ee:return i.name==l.name&&i.message==l.message;case Tt:case Ut:return i==l+"";case ge:var N=xf;case mt:var H=b&x;if(N||(N=Yl),i.size!=l.size&&!H)return!1;var oe=D.get(i);if(oe)return oe==l;b|=y,D.set(i,l);var ie=oy(N(i),N(l),b,S,R,D);return D.delete(i),ie;case vt:if(ca)return ca.call(i)==ca.call(l)}return!1}function C3(i,l,p,b,S,R){var D=p&x,N=Hf(i),H=N.length,oe=Hf(l),ie=oe.length;if(H!=ie&&!D)return!1;for(var le=H;le--;){var ve=N[le];if(!(D?ve in l:at.call(l,ve)))return!1}var Te=R.get(i),je=R.get(l);if(Te&&je)return Te==l&&je==i;var We=!0;R.set(i,l),R.set(l,i);for(var Re=D;++le<H;){ve=N[le];var Ue=i[ve],Ye=l[ve];if(b)var _n=D?b(Ye,Ue,ve,l,i,R):b(Ue,Ye,ve,i,l,R);if(!(_n===n?Ue===Ye||S(Ue,Ye,p,b,R):_n)){We=!1;break}Re||(Re=ve=="constructor")}if(We&&!Re){var fn=i.constructor,Bn=l.constructor;fn!=Bn&&"constructor"in i&&"constructor"in l&&!(typeof fn=="function"&&fn instanceof fn&&typeof Bn=="function"&&Bn instanceof Bn)&&(We=!1)}return R.delete(i),R.delete(l),We}function Kr(i){return Jf(uy(i,n,by),i+"")}function Hf(i){return Sv(i,Ht,Kf)}function Gf(i){return Sv(i,vn,iy)}var qf=sc?function(i){return sc.get(i)}:fp;function xc(i){for(var l=i.name+"",p=Yi[l],b=at.call(Yi,l)?p.length:0;b--;){var S=p[b],R=S.func;if(R==null||R==i)return S.name}return l}function Qi(i){var l=at.call(O,"placeholder")?O:i;return l.placeholder}function Pe(){var i=O.iteratee||up;return i=i===up?Iv:i,arguments.length?i(arguments[0],arguments[1]):i}function Cc(i,l){var p=i.__data__;return P3(l)?p[typeof l=="string"?"string":"hash"]:p.map}function Yf(i){for(var l=Ht(i),p=l.length;p--;){var b=l[p],S=i[b];l[p]=[b,S,ly(S)]}return l}function li(i,l){var p=MO(i,l);return Ev(p)?p:n}function w3(i){var l=at.call(i,ri),p=i[ri];try{i[ri]=n;var b=!0}catch{}var S=Ql.call(i);return b&&(l?i[ri]=p:delete i[ri]),S}var Kf=wf?function(i){return i==null?[]:(i=ut(i),vo(wf(i),function(l){return dv.call(i,l)}))}:pp,iy=wf?function(i){for(var l=[];i;)yo(l,Kf(i)),i=tc(i);return l}:pp,nn=un;(Af&&nn(new Af(new ArrayBuffer(1)))!=Ie||sa&&nn(new sa)!=ge||Sf&&nn(Sf.resolve())!=gt||qi&&nn(new qi)!=mt||aa&&nn(new aa)!=Et)&&(nn=function(i){var l=un(i),p=l==St?i.constructor:n,b=p?ci(p):"";if(b)switch(b){case oP:return Ie;case iP:return ge;case sP:return gt;case aP:return mt;case lP:return Et}return l});function A3(i,l,p){for(var b=-1,S=p.length;++b<S;){var R=p[b],D=R.size;switch(R.type){case"drop":i+=D;break;case"dropRight":l-=D;break;case"take":l=tn(l,i+D);break;case"takeRight":i=zt(i,l-D);break}}return{start:i,end:l}}function S3(i){var l=i.match(ti);return l?l[1].split(ra):[]}function sy(i,l,p){l=Ao(l,i);for(var b=-1,S=l.length,R=!1;++b<S;){var D=Mr(l[b]);if(!(R=i!=null&&p(i,D)))break;i=i[D]}return R||++b!=S?R:(S=i==null?0:i.length,!!S&&Oc(S)&&Xr(D,S)&&(Be(i)||ui(i)))}function T3(i){var l=i.length,p=new i.constructor(l);return l&&typeof i[0]=="string"&&at.call(i,"index")&&(p.index=i.index,p.input=i.input),p}function ay(i){return typeof i.constructor=="function"&&!ma(i)?Ki(tc(i)):{}}function E3(i,l,p){var b=i.constructor;switch(l){case Fe:return $f(i);case xe:case ye:return new b(+i);case Ie:return c3(i,p);case be:case ft:case Nt:case _e:case Oe:case qt:case Xn:case xr:case Jo:return zv(i,p);case ge:return new b;case Ke:case Ut:return new b(i);case Tt:return u3(i);case mt:return new b;case vt:return d3(i)}}function I3(i,l){var p=l.length;if(!p)return i;var b=p-1;return l[b]=(p>1?"& ":"")+l[b],l=l.join(p>2?", ":" "),i.replace(ef,`{
193
+ */zu.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",g=1,m=2,v=4,b=1,x=2,w=1,I=2,M=4,E=8,j=16,P=32,F=64,k=128,$=256,G=512,J=30,U="...",ae=800,se=16,Z=1,X=2,W=3,K=1/0,B=9007199254740991,ne=17976931348623157e292,V=NaN,q=4294967295,ue=q-1,pe=q>>>1,de=[["ary",k],["bind",w],["bindKey",I],["curry",E],["curryRight",j],["flip",G],["partial",P],["partialRight",F],["rearg",$]],he="[object Arguments]",me="[object Array]",Ae="[object AsyncFunction]",xe="[object Boolean]",ye="[object Date]",Ce="[object DOMException]",Ee="[object Error]",ce="[object Function]",Xe="[object GeneratorFunction]",ge="[object Map]",Ke="[object Number]",Jt="[object Null]",St="[object Object]",gt="[object Promise]",Mn="[object Proxy]",Tt="[object RegExp]",mt="[object Set]",Ut="[object String]",vt="[object Symbol]",Bt="[object Undefined]",Et="[object WeakMap]",ke="[object WeakSet]",Fe="[object ArrayBuffer]",Ie="[object DataView]",be="[object Float32Array]",ft="[object Float64Array]",Nt="[object Int8Array]",_e="[object Int16Array]",Oe="[object Int32Array]",qt="[object Uint8Array]",Xn="[object Uint8ClampedArray]",xr="[object Uint16Array]",Jo="[object Uint32Array]",Ml=/\b__p \+= '';/g,Kd=/\b(__p \+=) '' \+/g,Xd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kl=/&(?:amp|lt|gt|quot|#39);/g,ea=/[&<>"']/g,Fl=RegExp(kl.source),Dl=RegExp(ea.source),Ll=/<%-([\s\S]+?)%>/g,Zd=/<%([\s\S]+?)%>/g,_l=/<%=([\s\S]+?)%>/g,Qd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ta=/^\w*$/,Jd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ur=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Ur.source),en=/^\s+/,ei=/\s/,ef=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ti=/\{\n\/\* \[wrapped with (.+)\] \*/,ra=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nl=/[()=,{}\[\]\/\s]/,Vl=/\\(\\)?/g,Wl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$l=/\w*$/,tf=/^[-+]0x[0-9a-f]+$/i,nf=/^0b[01]+$/i,rf=/^\[object .+?Constructor\]$/,Ne=/^0o[0-7]+$/i,un=/^(?:0|[1-9]\d*)$/,WI=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zl=/($^)/,$I=/['\n\r\u2028\u2029\\]/g,Ul="\\ud800-\\udfff",zI="\\u0300-\\u036f",UI="\\ufe20-\\ufe2f",HI="\\u20d0-\\u20ff",E0=zI+UI+HI,I0="\\u2700-\\u27bf",O0="a-z\\xdf-\\xf6\\xf8-\\xff",GI="\\xac\\xb1\\xd7\\xf7",qI="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",YI="\\u2000-\\u206f",KI=" \\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",P0="A-Z\\xc0-\\xd6\\xd8-\\xde",j0="\\ufe0e\\ufe0f",R0=GI+qI+YI+KI,of="['’]",XI="["+Ul+"]",M0="["+R0+"]",Hl="["+E0+"]",k0="\\d+",ZI="["+I0+"]",F0="["+O0+"]",D0="[^"+Ul+R0+k0+I0+O0+P0+"]",sf="\\ud83c[\\udffb-\\udfff]",QI="(?:"+Hl+"|"+sf+")",L0="[^"+Ul+"]",af="(?:\\ud83c[\\udde6-\\uddff]){2}",lf="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+P0+"]",_0="\\u200d",B0="(?:"+F0+"|"+D0+")",JI="(?:"+Wi+"|"+D0+")",N0="(?:"+of+"(?:d|ll|m|re|s|t|ve))?",V0="(?:"+of+"(?:D|LL|M|RE|S|T|VE))?",W0=QI+"?",$0="["+j0+"]?",eO="(?:"+_0+"(?:"+[L0,af,lf].join("|")+")"+$0+W0+")*",tO="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nO="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",z0=$0+W0+eO,rO="(?:"+[ZI,af,lf].join("|")+")"+z0,oO="(?:"+[L0+Hl+"?",Hl,af,lf,XI].join("|")+")",iO=RegExp(of,"g"),sO=RegExp(Hl,"g"),cf=RegExp(sf+"(?="+sf+")|"+oO+z0,"g"),aO=RegExp([Wi+"?"+F0+"+"+N0+"(?="+[M0,Wi,"$"].join("|")+")",JI+"+"+V0+"(?="+[M0,Wi+B0,"$"].join("|")+")",Wi+"?"+B0+"+"+N0,Wi+"+"+V0,nO,tO,k0,rO].join("|"),"g"),lO=RegExp("["+_0+Ul+E0+j0+"]"),cO=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uO=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],dO=-1,yt={};yt[be]=yt[ft]=yt[Nt]=yt[_e]=yt[Oe]=yt[qt]=yt[Xn]=yt[xr]=yt[Jo]=!0,yt[he]=yt[me]=yt[Fe]=yt[xe]=yt[Ie]=yt[ye]=yt[Ee]=yt[ce]=yt[ge]=yt[Ke]=yt[St]=yt[Tt]=yt[mt]=yt[Ut]=yt[Et]=!1;var pt={};pt[he]=pt[me]=pt[Fe]=pt[Ie]=pt[xe]=pt[ye]=pt[be]=pt[ft]=pt[Nt]=pt[_e]=pt[Oe]=pt[ge]=pt[Ke]=pt[St]=pt[Tt]=pt[mt]=pt[Ut]=pt[vt]=pt[qt]=pt[Xn]=pt[xr]=pt[Jo]=!0,pt[Ee]=pt[ce]=pt[Et]=!1;var fO={À:"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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Int,U0=typeof An=="object"&&An&&An.Object===Object&&An,yO=typeof self=="object"&&self&&self.Object===Object&&self,Yt=U0||yO||Function("return this")(),uf=t&&!t.nodeType&&t,ni=uf&&!0&&e&&!e.nodeType&&e,H0=ni&&ni.exports===uf,df=H0&&U0.process,Zn=function(){try{var z=ni&&ni.require&&ni.require("util").types;return z||df&&df.binding&&df.binding("util")}catch{}}(),G0=Zn&&Zn.isArrayBuffer,q0=Zn&&Zn.isDate,Y0=Zn&&Zn.isMap,K0=Zn&&Zn.isRegExp,X0=Zn&&Zn.isSet,Z0=Zn&&Zn.isTypedArray;function kn(z,re,ee){switch(ee.length){case 0:return z.call(re);case 1:return z.call(re,ee[0]);case 2:return z.call(re,ee[0],ee[1]);case 3:return z.call(re,ee[0],ee[1],ee[2])}return z.apply(re,ee)}function bO(z,re,ee,we){for(var Le=-1,Qe=z==null?0:z.length;++Le<Qe;){var $t=z[Le];re(we,$t,ee($t),z)}return we}function Qn(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we&&re(z[ee],ee,z)!==!1;);return z}function xO(z,re){for(var ee=z==null?0:z.length;ee--&&re(z[ee],ee,z)!==!1;);return z}function Q0(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we;)if(!re(z[ee],ee,z))return!1;return!0}function vo(z,re){for(var ee=-1,we=z==null?0:z.length,Le=0,Qe=[];++ee<we;){var $t=z[ee];re($t,ee,z)&&(Qe[Le++]=$t)}return Qe}function Gl(z,re){var ee=z==null?0:z.length;return!!ee&&$i(z,re,0)>-1}function ff(z,re,ee){for(var we=-1,Le=z==null?0:z.length;++we<Le;)if(ee(re,z[we]))return!0;return!1}function Ct(z,re){for(var ee=-1,we=z==null?0:z.length,Le=Array(we);++ee<we;)Le[ee]=re(z[ee],ee,z);return Le}function yo(z,re){for(var ee=-1,we=re.length,Le=z.length;++ee<we;)z[Le+ee]=re[ee];return z}function pf(z,re,ee,we){var Le=-1,Qe=z==null?0:z.length;for(we&&Qe&&(ee=z[++Le]);++Le<Qe;)ee=re(ee,z[Le],Le,z);return ee}function CO(z,re,ee,we){var Le=z==null?0:z.length;for(we&&Le&&(ee=z[--Le]);Le--;)ee=re(ee,z[Le],Le,z);return ee}function hf(z,re){for(var ee=-1,we=z==null?0:z.length;++ee<we;)if(re(z[ee],ee,z))return!0;return!1}var wO=gf("length");function AO(z){return z.split("")}function SO(z){return z.match(Bl)||[]}function J0(z,re,ee){var we;return ee(z,function(Le,Qe,$t){if(re(Le,Qe,$t))return we=Qe,!1}),we}function ql(z,re,ee,we){for(var Le=z.length,Qe=ee+(we?1:-1);we?Qe--:++Qe<Le;)if(re(z[Qe],Qe,z))return Qe;return-1}function $i(z,re,ee){return re===re?LO(z,re,ee):ql(z,ev,ee)}function TO(z,re,ee,we){for(var Le=ee-1,Qe=z.length;++Le<Qe;)if(we(z[Le],re))return Le;return-1}function ev(z){return z!==z}function tv(z,re){var ee=z==null?0:z.length;return ee?vf(z,re)/ee:V}function gf(z){return function(re){return re==null?n:re[z]}}function mf(z){return function(re){return z==null?n:z[re]}}function nv(z,re,ee,we,Le){return Le(z,function(Qe,$t,ut){ee=we?(we=!1,Qe):re(ee,Qe,$t,ut)}),ee}function EO(z,re){var ee=z.length;for(z.sort(re);ee--;)z[ee]=z[ee].value;return z}function vf(z,re){for(var ee,we=-1,Le=z.length;++we<Le;){var Qe=re(z[we]);Qe!==n&&(ee=ee===n?Qe:ee+Qe)}return ee}function yf(z,re){for(var ee=-1,we=Array(z);++ee<z;)we[ee]=re(ee);return we}function IO(z,re){return Ct(re,function(ee){return[ee,z[ee]]})}function rv(z){return z&&z.slice(0,av(z)+1).replace(en,"")}function Fn(z){return function(re){return z(re)}}function bf(z,re){return Ct(re,function(ee){return z[ee]})}function oa(z,re){return z.has(re)}function ov(z,re){for(var ee=-1,we=z.length;++ee<we&&$i(re,z[ee],0)>-1;);return ee}function iv(z,re){for(var ee=z.length;ee--&&$i(re,z[ee],0)>-1;);return ee}function OO(z,re){for(var ee=z.length,we=0;ee--;)z[ee]===re&&++we;return we}var PO=mf(fO),jO=mf(pO);function RO(z){return"\\"+gO[z]}function MO(z,re){return z==null?n:z[re]}function zi(z){return lO.test(z)}function kO(z){return cO.test(z)}function FO(z){for(var re,ee=[];!(re=z.next()).done;)ee.push(re.value);return ee}function xf(z){var re=-1,ee=Array(z.size);return z.forEach(function(we,Le){ee[++re]=[Le,we]}),ee}function sv(z,re){return function(ee){return z(re(ee))}}function bo(z,re){for(var ee=-1,we=z.length,Le=0,Qe=[];++ee<we;){var $t=z[ee];($t===re||$t===h)&&(z[ee]=h,Qe[Le++]=ee)}return Qe}function Yl(z){var re=-1,ee=Array(z.size);return z.forEach(function(we){ee[++re]=we}),ee}function DO(z){var re=-1,ee=Array(z.size);return z.forEach(function(we){ee[++re]=[we,we]}),ee}function LO(z,re,ee){for(var we=ee-1,Le=z.length;++we<Le;)if(z[we]===re)return we;return-1}function _O(z,re,ee){for(var we=ee+1;we--;)if(z[we]===re)return we;return we}function Ui(z){return zi(z)?NO(z):wO(z)}function Cr(z){return zi(z)?VO(z):AO(z)}function av(z){for(var re=z.length;re--&&ei.test(z.charAt(re)););return re}var BO=mf(hO);function NO(z){for(var re=cf.lastIndex=0;cf.test(z);)++re;return re}function VO(z){return z.match(cf)||[]}function WO(z){return z.match(aO)||[]}var $O=function z(re){re=re==null?Yt:Hi.defaults(Yt.Object(),re,Hi.pick(Yt,uO));var ee=re.Array,we=re.Date,Le=re.Error,Qe=re.Function,$t=re.Math,ut=re.Object,Cf=re.RegExp,zO=re.String,Jn=re.TypeError,Kl=ee.prototype,UO=Qe.prototype,Gi=ut.prototype,Xl=re["__core-js_shared__"],Zl=UO.toString,at=Gi.hasOwnProperty,HO=0,lv=function(){var i=/[^.]+$/.exec(Xl&&Xl.keys&&Xl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Ql=Gi.toString,GO=Zl.call(ut),qO=Yt._,YO=Cf("^"+Zl.call(at).replace(Ur,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jl=H0?re.Buffer:n,xo=re.Symbol,ec=re.Uint8Array,cv=Jl?Jl.allocUnsafe:n,tc=sv(ut.getPrototypeOf,ut),uv=ut.create,dv=Gi.propertyIsEnumerable,nc=Kl.splice,fv=xo?xo.isConcatSpreadable:n,ia=xo?xo.iterator:n,ri=xo?xo.toStringTag:n,rc=function(){try{var i=li(ut,"defineProperty");return i({},"",{}),i}catch{}}(),KO=re.clearTimeout!==Yt.clearTimeout&&re.clearTimeout,XO=we&&we.now!==Yt.Date.now&&we.now,ZO=re.setTimeout!==Yt.setTimeout&&re.setTimeout,oc=$t.ceil,ic=$t.floor,wf=ut.getOwnPropertySymbols,QO=Jl?Jl.isBuffer:n,pv=re.isFinite,JO=Kl.join,eP=sv(ut.keys,ut),zt=$t.max,tn=$t.min,tP=we.now,nP=re.parseInt,hv=$t.random,rP=Kl.reverse,Af=li(re,"DataView"),sa=li(re,"Map"),Sf=li(re,"Promise"),qi=li(re,"Set"),aa=li(re,"WeakMap"),la=li(ut,"create"),sc=aa&&new aa,Yi={},oP=ci(Af),iP=ci(sa),sP=ci(Sf),aP=ci(qi),lP=ci(aa),ac=xo?xo.prototype:n,ca=ac?ac.valueOf:n,gv=ac?ac.toString:n;function O(i){if(Pt(i)&&!Be(i)&&!(i instanceof Ge)){if(i instanceof er)return i;if(at.call(i,"__wrapped__"))return my(i)}return new er(i)}var Ki=function(){function i(){}return function(l){if(!It(l))return{};if(uv)return uv(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function lc(){}function er(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:Ll,evaluate:Zd,interpolate:_l,variable:"",imports:{_:O}},O.prototype=lc.prototype,O.prototype.constructor=O,er.prototype=Ki(lc.prototype),er.prototype.constructor=er;function Ge(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=q,this.__views__=[]}function cP(){var i=new Ge(this.__wrapped__);return i.__actions__=gn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=gn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=gn(this.__views__),i}function uP(){if(this.__filtered__){var i=new Ge(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function dP(){var i=this.__wrapped__.value(),l=this.__dir__,p=Be(i),y=l<0,S=p?i.length:0,R=A3(0,S,this.__views__),L=R.start,N=R.end,H=N-L,oe=y?N:L-1,ie=this.__iteratees__,le=ie.length,ve=0,Te=tn(H,this.__takeCount__);if(!p||!y&&S==H&&Te==H)return Nv(i,this.__actions__);var je=[];e:for(;H--&&ve<Te;){oe+=l;for(var We=-1,Re=i[oe];++We<le;){var Ue=ie[We],Ye=Ue.iteratee,_n=Ue.type,pn=Ye(Re);if(_n==X)Re=pn;else if(!pn){if(_n==Z)continue e;break e}}je[ve++]=Re}return je}Ge.prototype=Ki(lc.prototype),Ge.prototype.constructor=Ge;function oi(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function fP(){this.__data__=la?la(null):{},this.size=0}function pP(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function hP(i){var l=this.__data__;if(la){var p=l[i];return p===u?n:p}return at.call(l,i)?l[i]:n}function gP(i){var l=this.__data__;return la?l[i]!==n:at.call(l,i)}function mP(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=la&&l===n?u:l,this}oi.prototype.clear=fP,oi.prototype.delete=pP,oi.prototype.get=hP,oi.prototype.has=gP,oi.prototype.set=mP;function Hr(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function vP(){this.__data__=[],this.size=0}function yP(i){var l=this.__data__,p=cc(l,i);if(p<0)return!1;var y=l.length-1;return p==y?l.pop():nc.call(l,p,1),--this.size,!0}function bP(i){var l=this.__data__,p=cc(l,i);return p<0?n:l[p][1]}function xP(i){return cc(this.__data__,i)>-1}function CP(i,l){var p=this.__data__,y=cc(p,i);return y<0?(++this.size,p.push([i,l])):p[y][1]=l,this}Hr.prototype.clear=vP,Hr.prototype.delete=yP,Hr.prototype.get=bP,Hr.prototype.has=xP,Hr.prototype.set=CP;function Gr(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function wP(){this.size=0,this.__data__={hash:new oi,map:new(sa||Hr),string:new oi}}function AP(i){var l=Cc(this,i).delete(i);return this.size-=l?1:0,l}function SP(i){return Cc(this,i).get(i)}function TP(i){return Cc(this,i).has(i)}function EP(i,l){var p=Cc(this,i),y=p.size;return p.set(i,l),this.size+=p.size==y?0:1,this}Gr.prototype.clear=wP,Gr.prototype.delete=AP,Gr.prototype.get=SP,Gr.prototype.has=TP,Gr.prototype.set=EP;function ii(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new Gr;++l<p;)this.add(i[l])}function IP(i){return this.__data__.set(i,u),this}function OP(i){return this.__data__.has(i)}ii.prototype.add=ii.prototype.push=IP,ii.prototype.has=OP;function wr(i){var l=this.__data__=new Hr(i);this.size=l.size}function PP(){this.__data__=new Hr,this.size=0}function jP(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function RP(i){return this.__data__.get(i)}function MP(i){return this.__data__.has(i)}function kP(i,l){var p=this.__data__;if(p instanceof Hr){var y=p.__data__;if(!sa||y.length<o-1)return y.push([i,l]),this.size=++p.size,this;p=this.__data__=new Gr(y)}return p.set(i,l),this.size=p.size,this}wr.prototype.clear=PP,wr.prototype.delete=jP,wr.prototype.get=RP,wr.prototype.has=MP,wr.prototype.set=kP;function mv(i,l){var p=Be(i),y=!p&&ui(i),S=!p&&!y&&To(i),R=!p&&!y&&!S&&Ji(i),L=p||y||S||R,N=L?yf(i.length,zO):[],H=N.length;for(var oe in i)(l||at.call(i,oe))&&!(L&&(oe=="length"||S&&(oe=="offset"||oe=="parent")||R&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||Xr(oe,H)))&&N.push(oe);return N}function vv(i){var l=i.length;return l?i[Df(0,l-1)]:n}function FP(i,l){return wc(gn(i),si(l,0,i.length))}function DP(i){return wc(gn(i))}function Tf(i,l,p){(p!==n&&!Ar(i[l],p)||p===n&&!(l in i))&&qr(i,l,p)}function ua(i,l,p){var y=i[l];(!(at.call(i,l)&&Ar(y,p))||p===n&&!(l in i))&&qr(i,l,p)}function cc(i,l){for(var p=i.length;p--;)if(Ar(i[p][0],l))return p;return-1}function LP(i,l,p,y){return Co(i,function(S,R,L){l(y,S,p(S),L)}),y}function yv(i,l){return i&&Rr(l,Ht(l),i)}function _P(i,l){return i&&Rr(l,vn(l),i)}function qr(i,l,p){l=="__proto__"&&rc?rc(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function Ef(i,l){for(var p=-1,y=l.length,S=ee(y),R=i==null;++p<y;)S[p]=R?n:sp(i,l[p]);return S}function si(i,l,p){return i===i&&(p!==n&&(i=i<=p?i:p),l!==n&&(i=i>=l?i:l)),i}function tr(i,l,p,y,S,R){var L,N=l&g,H=l&m,oe=l&v;if(p&&(L=S?p(i,y,S,R):p(i)),L!==n)return L;if(!It(i))return i;var ie=Be(i);if(ie){if(L=T3(i),!N)return gn(i,L)}else{var le=nn(i),ve=le==ce||le==Xe;if(To(i))return $v(i,N);if(le==St||le==he||ve&&!S){if(L=H||ve?{}:ay(i),!N)return H?h3(i,_P(L,i)):p3(i,yv(L,i))}else{if(!pt[le])return S?i:{};L=E3(i,le,N)}}R||(R=new wr);var Te=R.get(i);if(Te)return Te;R.set(i,L),Ly(i)?i.forEach(function(Re){L.add(tr(Re,l,p,Re,i,R))}):Fy(i)&&i.forEach(function(Re,Ue){L.set(Ue,tr(Re,l,p,Ue,i,R))});var je=oe?H?Gf:Hf:H?vn:Ht,We=ie?n:je(i);return Qn(We||i,function(Re,Ue){We&&(Ue=Re,Re=i[Ue]),ua(L,Ue,tr(Re,l,p,Ue,i,R))}),L}function BP(i){var l=Ht(i);return function(p){return bv(p,i,l)}}function bv(i,l,p){var y=p.length;if(i==null)return!y;for(i=ut(i);y--;){var S=p[y],R=l[S],L=i[S];if(L===n&&!(S in i)||!R(L))return!1}return!0}function xv(i,l,p){if(typeof i!="function")throw new Jn(a);return va(function(){i.apply(n,p)},l)}function da(i,l,p,y){var S=-1,R=Gl,L=!0,N=i.length,H=[],oe=l.length;if(!N)return H;p&&(l=Ct(l,Fn(p))),y?(R=ff,L=!1):l.length>=o&&(R=oa,L=!1,l=new ii(l));e:for(;++S<N;){var ie=i[S],le=p==null?ie:p(ie);if(ie=y||ie!==0?ie:0,L&&le===le){for(var ve=oe;ve--;)if(l[ve]===le)continue e;H.push(ie)}else R(l,le,y)||H.push(ie)}return H}var Co=qv(jr),Cv=qv(Of,!0);function NP(i,l){var p=!0;return Co(i,function(y,S,R){return p=!!l(y,S,R),p}),p}function uc(i,l,p){for(var y=-1,S=i.length;++y<S;){var R=i[y],L=l(R);if(L!=null&&(N===n?L===L&&!Ln(L):p(L,N)))var N=L,H=R}return H}function VP(i,l,p,y){var S=i.length;for(p=Ve(p),p<0&&(p=-p>S?0:S+p),y=y===n||y>S?S:Ve(y),y<0&&(y+=S),y=p>y?0:By(y);p<y;)i[p++]=l;return i}function wv(i,l){var p=[];return Co(i,function(y,S,R){l(y,S,R)&&p.push(y)}),p}function Kt(i,l,p,y,S){var R=-1,L=i.length;for(p||(p=O3),S||(S=[]);++R<L;){var N=i[R];l>0&&p(N)?l>1?Kt(N,l-1,p,y,S):yo(S,N):y||(S[S.length]=N)}return S}var If=Yv(),Av=Yv(!0);function jr(i,l){return i&&If(i,l,Ht)}function Of(i,l){return i&&Av(i,l,Ht)}function dc(i,l){return vo(l,function(p){return Zr(i[p])})}function ai(i,l){l=Ao(l,i);for(var p=0,y=l.length;i!=null&&p<y;)i=i[Mr(l[p++])];return p&&p==y?i:n}function Sv(i,l,p){var y=l(i);return Be(i)?y:yo(y,p(i))}function dn(i){return i==null?i===n?Bt:Jt:ri&&ri in ut(i)?w3(i):D3(i)}function Pf(i,l){return i>l}function WP(i,l){return i!=null&&at.call(i,l)}function $P(i,l){return i!=null&&l in ut(i)}function zP(i,l,p){return i>=tn(l,p)&&i<zt(l,p)}function jf(i,l,p){for(var y=p?ff:Gl,S=i[0].length,R=i.length,L=R,N=ee(R),H=1/0,oe=[];L--;){var ie=i[L];L&&l&&(ie=Ct(ie,Fn(l))),H=tn(ie.length,H),N[L]=!p&&(l||S>=120&&ie.length>=120)?new ii(L&&ie):n}ie=i[0];var le=-1,ve=N[0];e:for(;++le<S&&oe.length<H;){var Te=ie[le],je=l?l(Te):Te;if(Te=p||Te!==0?Te:0,!(ve?oa(ve,je):y(oe,je,p))){for(L=R;--L;){var We=N[L];if(!(We?oa(We,je):y(i[L],je,p)))continue e}ve&&ve.push(je),oe.push(Te)}}return oe}function UP(i,l,p,y){return jr(i,function(S,R,L){l(y,p(S),R,L)}),y}function fa(i,l,p){l=Ao(l,i),i=dy(i,l);var y=i==null?i:i[Mr(rr(l))];return y==null?n:kn(y,i,p)}function Tv(i){return Pt(i)&&dn(i)==he}function HP(i){return Pt(i)&&dn(i)==Fe}function GP(i){return Pt(i)&&dn(i)==ye}function pa(i,l,p,y,S){return i===l?!0:i==null||l==null||!Pt(i)&&!Pt(l)?i!==i&&l!==l:qP(i,l,p,y,pa,S)}function qP(i,l,p,y,S,R){var L=Be(i),N=Be(l),H=L?me:nn(i),oe=N?me:nn(l);H=H==he?St:H,oe=oe==he?St:oe;var ie=H==St,le=oe==St,ve=H==oe;if(ve&&To(i)){if(!To(l))return!1;L=!0,ie=!1}if(ve&&!ie)return R||(R=new wr),L||Ji(i)?oy(i,l,p,y,S,R):x3(i,l,H,p,y,S,R);if(!(p&b)){var Te=ie&&at.call(i,"__wrapped__"),je=le&&at.call(l,"__wrapped__");if(Te||je){var We=Te?i.value():i,Re=je?l.value():l;return R||(R=new wr),S(We,Re,p,y,R)}}return ve?(R||(R=new wr),C3(i,l,p,y,S,R)):!1}function YP(i){return Pt(i)&&nn(i)==ge}function Rf(i,l,p,y){var S=p.length,R=S,L=!y;if(i==null)return!R;for(i=ut(i);S--;){var N=p[S];if(L&&N[2]?N[1]!==i[N[0]]:!(N[0]in i))return!1}for(;++S<R;){N=p[S];var H=N[0],oe=i[H],ie=N[1];if(L&&N[2]){if(oe===n&&!(H in i))return!1}else{var le=new wr;if(y)var ve=y(oe,ie,H,i,l,le);if(!(ve===n?pa(ie,oe,b|x,y,le):ve))return!1}}return!0}function Ev(i){if(!It(i)||j3(i))return!1;var l=Zr(i)?YO:rf;return l.test(ci(i))}function KP(i){return Pt(i)&&dn(i)==Tt}function XP(i){return Pt(i)&&nn(i)==mt}function ZP(i){return Pt(i)&&Oc(i.length)&&!!yt[dn(i)]}function Iv(i){return typeof i=="function"?i:i==null?yn:typeof i=="object"?Be(i)?jv(i[0],i[1]):Pv(i):Ky(i)}function Mf(i){if(!ma(i))return eP(i);var l=[];for(var p in ut(i))at.call(i,p)&&p!="constructor"&&l.push(p);return l}function QP(i){if(!It(i))return F3(i);var l=ma(i),p=[];for(var y in i)y=="constructor"&&(l||!at.call(i,y))||p.push(y);return p}function kf(i,l){return i<l}function Ov(i,l){var p=-1,y=mn(i)?ee(i.length):[];return Co(i,function(S,R,L){y[++p]=l(S,R,L)}),y}function Pv(i){var l=Yf(i);return l.length==1&&l[0][2]?cy(l[0][0],l[0][1]):function(p){return p===i||Rf(p,i,l)}}function jv(i,l){return Xf(i)&&ly(l)?cy(Mr(i),l):function(p){var y=sp(p,i);return y===n&&y===l?ap(p,i):pa(l,y,b|x)}}function fc(i,l,p,y,S){i!==l&&If(l,function(R,L){if(S||(S=new wr),It(R))JP(i,l,L,p,fc,y,S);else{var N=y?y(Qf(i,L),R,L+"",i,l,S):n;N===n&&(N=R),Tf(i,L,N)}},vn)}function JP(i,l,p,y,S,R,L){var N=Qf(i,p),H=Qf(l,p),oe=L.get(H);if(oe){Tf(i,p,oe);return}var ie=R?R(N,H,p+"",i,l,L):n,le=ie===n;if(le){var ve=Be(H),Te=!ve&&To(H),je=!ve&&!Te&&Ji(H);ie=H,ve||Te||je?Be(N)?ie=N:Ft(N)?ie=gn(N):Te?(le=!1,ie=$v(H,!0)):je?(le=!1,ie=zv(H,!0)):ie=[]:ya(H)||ui(H)?(ie=N,ui(N)?ie=Ny(N):(!It(N)||Zr(N))&&(ie=ay(H))):le=!1}le&&(L.set(H,ie),S(ie,H,y,R,L),L.delete(H)),Tf(i,p,ie)}function Rv(i,l){var p=i.length;if(p)return l+=l<0?p:0,Xr(l,p)?i[l]:n}function Mv(i,l,p){l.length?l=Ct(l,function(R){return Be(R)?function(L){return ai(L,R.length===1?R[0]:R)}:R}):l=[yn];var y=-1;l=Ct(l,Fn(Pe()));var S=Ov(i,function(R,L,N){var H=Ct(l,function(oe){return oe(R)});return{criteria:H,index:++y,value:R}});return EO(S,function(R,L){return f3(R,L,p)})}function e3(i,l){return kv(i,l,function(p,y){return ap(i,y)})}function kv(i,l,p){for(var y=-1,S=l.length,R={};++y<S;){var L=l[y],N=ai(i,L);p(N,L)&&ha(R,Ao(L,i),N)}return R}function t3(i){return function(l){return ai(l,i)}}function Ff(i,l,p,y){var S=y?TO:$i,R=-1,L=l.length,N=i;for(i===l&&(l=gn(l)),p&&(N=Ct(i,Fn(p)));++R<L;)for(var H=0,oe=l[R],ie=p?p(oe):oe;(H=S(N,ie,H,y))>-1;)N!==i&&nc.call(N,H,1),nc.call(i,H,1);return i}function Fv(i,l){for(var p=i?l.length:0,y=p-1;p--;){var S=l[p];if(p==y||S!==R){var R=S;Xr(S)?nc.call(i,S,1):Bf(i,S)}}return i}function Df(i,l){return i+ic(hv()*(l-i+1))}function n3(i,l,p,y){for(var S=-1,R=zt(oc((l-i)/(p||1)),0),L=ee(R);R--;)L[y?R:++S]=i,i+=p;return L}function Lf(i,l){var p="";if(!i||l<1||l>B)return p;do l%2&&(p+=i),l=ic(l/2),l&&(i+=i);while(l);return p}function $e(i,l){return Jf(uy(i,l,yn),i+"")}function r3(i){return vv(es(i))}function o3(i,l){var p=es(i);return wc(p,si(l,0,p.length))}function ha(i,l,p,y){if(!It(i))return i;l=Ao(l,i);for(var S=-1,R=l.length,L=R-1,N=i;N!=null&&++S<R;){var H=Mr(l[S]),oe=p;if(H==="__proto__"||H==="constructor"||H==="prototype")return i;if(S!=L){var ie=N[H];oe=y?y(ie,H,N):n,oe===n&&(oe=It(ie)?ie:Xr(l[S+1])?[]:{})}ua(N,H,oe),N=N[H]}return i}var Dv=sc?function(i,l){return sc.set(i,l),i}:yn,i3=rc?function(i,l){return rc(i,"toString",{configurable:!0,enumerable:!1,value:cp(l),writable:!0})}:yn;function s3(i){return wc(es(i))}function nr(i,l,p){var y=-1,S=i.length;l<0&&(l=-l>S?0:S+l),p=p>S?S:p,p<0&&(p+=S),S=l>p?0:p-l>>>0,l>>>=0;for(var R=ee(S);++y<S;)R[y]=i[y+l];return R}function a3(i,l){var p;return Co(i,function(y,S,R){return p=l(y,S,R),!p}),!!p}function pc(i,l,p){var y=0,S=i==null?y:i.length;if(typeof l=="number"&&l===l&&S<=pe){for(;y<S;){var R=y+S>>>1,L=i[R];L!==null&&!Ln(L)&&(p?L<=l:L<l)?y=R+1:S=R}return S}return _f(i,l,yn,p)}function _f(i,l,p,y){var S=0,R=i==null?0:i.length;if(R===0)return 0;l=p(l);for(var L=l!==l,N=l===null,H=Ln(l),oe=l===n;S<R;){var ie=ic((S+R)/2),le=p(i[ie]),ve=le!==n,Te=le===null,je=le===le,We=Ln(le);if(L)var Re=y||je;else oe?Re=je&&(y||ve):N?Re=je&&ve&&(y||!Te):H?Re=je&&ve&&!Te&&(y||!We):Te||We?Re=!1:Re=y?le<=l:le<l;Re?S=ie+1:R=ie}return tn(R,ue)}function Lv(i,l){for(var p=-1,y=i.length,S=0,R=[];++p<y;){var L=i[p],N=l?l(L):L;if(!p||!Ar(N,H)){var H=N;R[S++]=L===0?0:L}}return R}function _v(i){return typeof i=="number"?i:Ln(i)?V:+i}function Dn(i){if(typeof i=="string")return i;if(Be(i))return Ct(i,Dn)+"";if(Ln(i))return gv?gv.call(i):"";var l=i+"";return l=="0"&&1/i==-K?"-0":l}function wo(i,l,p){var y=-1,S=Gl,R=i.length,L=!0,N=[],H=N;if(p)L=!1,S=ff;else if(R>=o){var oe=l?null:y3(i);if(oe)return Yl(oe);L=!1,S=oa,H=new ii}else H=l?[]:N;e:for(;++y<R;){var ie=i[y],le=l?l(ie):ie;if(ie=p||ie!==0?ie:0,L&&le===le){for(var ve=H.length;ve--;)if(H[ve]===le)continue e;l&&H.push(le),N.push(ie)}else S(H,le,p)||(H!==N&&H.push(le),N.push(ie))}return N}function Bf(i,l){return l=Ao(l,i),i=dy(i,l),i==null||delete i[Mr(rr(l))]}function Bv(i,l,p,y){return ha(i,l,p(ai(i,l)),y)}function hc(i,l,p,y){for(var S=i.length,R=y?S:-1;(y?R--:++R<S)&&l(i[R],R,i););return p?nr(i,y?0:R,y?R+1:S):nr(i,y?R+1:0,y?S:R)}function Nv(i,l){var p=i;return p instanceof Ge&&(p=p.value()),pf(l,function(y,S){return S.func.apply(S.thisArg,yo([y],S.args))},p)}function Nf(i,l,p){var y=i.length;if(y<2)return y?wo(i[0]):[];for(var S=-1,R=ee(y);++S<y;)for(var L=i[S],N=-1;++N<y;)N!=S&&(R[S]=da(R[S]||L,i[N],l,p));return wo(Kt(R,1),l,p)}function Vv(i,l,p){for(var y=-1,S=i.length,R=l.length,L={};++y<S;){var N=y<R?l[y]:n;p(L,i[y],N)}return L}function Vf(i){return Ft(i)?i:[]}function Wf(i){return typeof i=="function"?i:yn}function Ao(i,l){return Be(i)?i:Xf(i,l)?[i]:gy(nt(i))}var l3=$e;function So(i,l,p){var y=i.length;return p=p===n?y:p,!l&&p>=y?i:nr(i,l,p)}var Wv=KO||function(i){return Yt.clearTimeout(i)};function $v(i,l){if(l)return i.slice();var p=i.length,y=cv?cv(p):new i.constructor(p);return i.copy(y),y}function $f(i){var l=new i.constructor(i.byteLength);return new ec(l).set(new ec(i)),l}function c3(i,l){var p=l?$f(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function u3(i){var l=new i.constructor(i.source,$l.exec(i));return l.lastIndex=i.lastIndex,l}function d3(i){return ca?ut(ca.call(i)):{}}function zv(i,l){var p=l?$f(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function Uv(i,l){if(i!==l){var p=i!==n,y=i===null,S=i===i,R=Ln(i),L=l!==n,N=l===null,H=l===l,oe=Ln(l);if(!N&&!oe&&!R&&i>l||R&&L&&H&&!N&&!oe||y&&L&&H||!p&&H||!S)return 1;if(!y&&!R&&!oe&&i<l||oe&&p&&S&&!y&&!R||N&&p&&S||!L&&S||!H)return-1}return 0}function f3(i,l,p){for(var y=-1,S=i.criteria,R=l.criteria,L=S.length,N=p.length;++y<L;){var H=Uv(S[y],R[y]);if(H){if(y>=N)return H;var oe=p[y];return H*(oe=="desc"?-1:1)}}return i.index-l.index}function Hv(i,l,p,y){for(var S=-1,R=i.length,L=p.length,N=-1,H=l.length,oe=zt(R-L,0),ie=ee(H+oe),le=!y;++N<H;)ie[N]=l[N];for(;++S<L;)(le||S<R)&&(ie[p[S]]=i[S]);for(;oe--;)ie[N++]=i[S++];return ie}function Gv(i,l,p,y){for(var S=-1,R=i.length,L=-1,N=p.length,H=-1,oe=l.length,ie=zt(R-N,0),le=ee(ie+oe),ve=!y;++S<ie;)le[S]=i[S];for(var Te=S;++H<oe;)le[Te+H]=l[H];for(;++L<N;)(ve||S<R)&&(le[Te+p[L]]=i[S++]);return le}function gn(i,l){var p=-1,y=i.length;for(l||(l=ee(y));++p<y;)l[p]=i[p];return l}function Rr(i,l,p,y){var S=!p;p||(p={});for(var R=-1,L=l.length;++R<L;){var N=l[R],H=y?y(p[N],i[N],N,p,i):n;H===n&&(H=i[N]),S?qr(p,N,H):ua(p,N,H)}return p}function p3(i,l){return Rr(i,Kf(i),l)}function h3(i,l){return Rr(i,iy(i),l)}function gc(i,l){return function(p,y){var S=Be(p)?bO:LP,R=l?l():{};return S(p,i,Pe(y,2),R)}}function Xi(i){return $e(function(l,p){var y=-1,S=p.length,R=S>1?p[S-1]:n,L=S>2?p[2]:n;for(R=i.length>3&&typeof R=="function"?(S--,R):n,L&&fn(p[0],p[1],L)&&(R=S<3?n:R,S=1),l=ut(l);++y<S;){var N=p[y];N&&i(l,N,y,R)}return l})}function qv(i,l){return function(p,y){if(p==null)return p;if(!mn(p))return i(p,y);for(var S=p.length,R=l?S:-1,L=ut(p);(l?R--:++R<S)&&y(L[R],R,L)!==!1;);return p}}function Yv(i){return function(l,p,y){for(var S=-1,R=ut(l),L=y(l),N=L.length;N--;){var H=L[i?N:++S];if(p(R[H],H,R)===!1)break}return l}}function g3(i,l,p){var y=l&w,S=ga(i);function R(){var L=this&&this!==Yt&&this instanceof R?S:i;return L.apply(y?p:this,arguments)}return R}function Kv(i){return function(l){l=nt(l);var p=zi(l)?Cr(l):n,y=p?p[0]:l.charAt(0),S=p?So(p,1).join(""):l.slice(1);return y[i]()+S}}function Zi(i){return function(l){return pf(qy(Gy(l).replace(iO,"")),i,"")}}function ga(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=Ki(i.prototype),y=i.apply(p,l);return It(y)?y:p}}function m3(i,l,p){var y=ga(i);function S(){for(var R=arguments.length,L=ee(R),N=R,H=Qi(S);N--;)L[N]=arguments[N];var oe=R<3&&L[0]!==H&&L[R-1]!==H?[]:bo(L,H);if(R-=oe.length,R<p)return ey(i,l,mc,S.placeholder,n,L,oe,n,n,p-R);var ie=this&&this!==Yt&&this instanceof S?y:i;return kn(ie,this,L)}return S}function Xv(i){return function(l,p,y){var S=ut(l);if(!mn(l)){var R=Pe(p,3);l=Ht(l),p=function(N){return R(S[N],N,S)}}var L=i(l,p,y);return L>-1?S[R?l[L]:L]:n}}function Zv(i){return Kr(function(l){var p=l.length,y=p,S=er.prototype.thru;for(i&&l.reverse();y--;){var R=l[y];if(typeof R!="function")throw new Jn(a);if(S&&!L&&xc(R)=="wrapper")var L=new er([],!0)}for(y=L?y:p;++y<p;){R=l[y];var N=xc(R),H=N=="wrapper"?qf(R):n;H&&Zf(H[0])&&H[1]==(k|E|P|$)&&!H[4].length&&H[9]==1?L=L[xc(H[0])].apply(L,H[3]):L=R.length==1&&Zf(R)?L[N]():L.thru(R)}return function(){var oe=arguments,ie=oe[0];if(L&&oe.length==1&&Be(ie))return L.plant(ie).value();for(var le=0,ve=p?l[le].apply(this,oe):ie;++le<p;)ve=l[le].call(this,ve);return ve}})}function mc(i,l,p,y,S,R,L,N,H,oe){var ie=l&k,le=l&w,ve=l&I,Te=l&(E|j),je=l&G,We=ve?n:ga(i);function Re(){for(var Ue=arguments.length,Ye=ee(Ue),_n=Ue;_n--;)Ye[_n]=arguments[_n];if(Te)var pn=Qi(Re),Bn=OO(Ye,pn);if(y&&(Ye=Hv(Ye,y,S,Te)),R&&(Ye=Gv(Ye,R,L,Te)),Ue-=Bn,Te&&Ue<oe){var Dt=bo(Ye,pn);return ey(i,l,mc,Re.placeholder,p,Ye,Dt,N,H,oe-Ue)}var Sr=le?p:this,Jr=ve?Sr[i]:i;return Ue=Ye.length,N?Ye=L3(Ye,N):je&&Ue>1&&Ye.reverse(),ie&&H<Ue&&(Ye.length=H),this&&this!==Yt&&this instanceof Re&&(Jr=We||ga(Jr)),Jr.apply(Sr,Ye)}return Re}function Qv(i,l){return function(p,y){return UP(p,i,l(y),{})}}function vc(i,l){return function(p,y){var S;if(p===n&&y===n)return l;if(p!==n&&(S=p),y!==n){if(S===n)return y;typeof p=="string"||typeof y=="string"?(p=Dn(p),y=Dn(y)):(p=_v(p),y=_v(y)),S=i(p,y)}return S}}function zf(i){return Kr(function(l){return l=Ct(l,Fn(Pe())),$e(function(p){var y=this;return i(l,function(S){return kn(S,y,p)})})})}function yc(i,l){l=l===n?" ":Dn(l);var p=l.length;if(p<2)return p?Lf(l,i):l;var y=Lf(l,oc(i/Ui(l)));return zi(l)?So(Cr(y),0,i).join(""):y.slice(0,i)}function v3(i,l,p,y){var S=l&w,R=ga(i);function L(){for(var N=-1,H=arguments.length,oe=-1,ie=y.length,le=ee(ie+H),ve=this&&this!==Yt&&this instanceof L?R:i;++oe<ie;)le[oe]=y[oe];for(;H--;)le[oe++]=arguments[++N];return kn(ve,S?p:this,le)}return L}function Jv(i){return function(l,p,y){return y&&typeof y!="number"&&fn(l,p,y)&&(p=y=n),l=Qr(l),p===n?(p=l,l=0):p=Qr(p),y=y===n?l<p?1:-1:Qr(y),n3(l,p,y,i)}}function bc(i){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=or(l),p=or(p)),i(l,p)}}function ey(i,l,p,y,S,R,L,N,H,oe){var ie=l&E,le=ie?L:n,ve=ie?n:L,Te=ie?R:n,je=ie?n:R;l|=ie?P:F,l&=~(ie?F:P),l&M||(l&=~(w|I));var We=[i,l,S,Te,le,je,ve,N,H,oe],Re=p.apply(n,We);return Zf(i)&&fy(Re,We),Re.placeholder=y,py(Re,i,l)}function Uf(i){var l=$t[i];return function(p,y){if(p=or(p),y=y==null?0:tn(Ve(y),292),y&&pv(p)){var S=(nt(p)+"e").split("e"),R=l(S[0]+"e"+(+S[1]+y));return S=(nt(R)+"e").split("e"),+(S[0]+"e"+(+S[1]-y))}return l(p)}}var y3=qi&&1/Yl(new qi([,-0]))[1]==K?function(i){return new qi(i)}:fp;function ty(i){return function(l){var p=nn(l);return p==ge?xf(l):p==mt?DO(l):IO(l,i(l))}}function Yr(i,l,p,y,S,R,L,N){var H=l&I;if(!H&&typeof i!="function")throw new Jn(a);var oe=y?y.length:0;if(oe||(l&=~(P|F),y=S=n),L=L===n?L:zt(Ve(L),0),N=N===n?N:Ve(N),oe-=S?S.length:0,l&F){var ie=y,le=S;y=S=n}var ve=H?n:qf(i),Te=[i,l,p,y,S,ie,le,R,L,N];if(ve&&k3(Te,ve),i=Te[0],l=Te[1],p=Te[2],y=Te[3],S=Te[4],N=Te[9]=Te[9]===n?H?0:i.length:zt(Te[9]-oe,0),!N&&l&(E|j)&&(l&=~(E|j)),!l||l==w)var je=g3(i,l,p);else l==E||l==j?je=m3(i,l,N):(l==P||l==(w|P))&&!S.length?je=v3(i,l,p,y):je=mc.apply(n,Te);var We=ve?Dv:fy;return py(We(je,Te),i,l)}function ny(i,l,p,y){return i===n||Ar(i,Gi[p])&&!at.call(y,p)?l:i}function ry(i,l,p,y,S,R){return It(i)&&It(l)&&(R.set(l,i),fc(i,l,n,ry,R),R.delete(l)),i}function b3(i){return ya(i)?n:i}function oy(i,l,p,y,S,R){var L=p&b,N=i.length,H=l.length;if(N!=H&&!(L&&H>N))return!1;var oe=R.get(i),ie=R.get(l);if(oe&&ie)return oe==l&&ie==i;var le=-1,ve=!0,Te=p&x?new ii:n;for(R.set(i,l),R.set(l,i);++le<N;){var je=i[le],We=l[le];if(y)var Re=L?y(We,je,le,l,i,R):y(je,We,le,i,l,R);if(Re!==n){if(Re)continue;ve=!1;break}if(Te){if(!hf(l,function(Ue,Ye){if(!oa(Te,Ye)&&(je===Ue||S(je,Ue,p,y,R)))return Te.push(Ye)})){ve=!1;break}}else if(!(je===We||S(je,We,p,y,R))){ve=!1;break}}return R.delete(i),R.delete(l),ve}function x3(i,l,p,y,S,R,L){switch(p){case Ie:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case Fe:return!(i.byteLength!=l.byteLength||!R(new ec(i),new ec(l)));case xe:case ye:case Ke:return Ar(+i,+l);case Ee:return i.name==l.name&&i.message==l.message;case Tt:case Ut:return i==l+"";case ge:var N=xf;case mt:var H=y&b;if(N||(N=Yl),i.size!=l.size&&!H)return!1;var oe=L.get(i);if(oe)return oe==l;y|=x,L.set(i,l);var ie=oy(N(i),N(l),y,S,R,L);return L.delete(i),ie;case vt:if(ca)return ca.call(i)==ca.call(l)}return!1}function C3(i,l,p,y,S,R){var L=p&b,N=Hf(i),H=N.length,oe=Hf(l),ie=oe.length;if(H!=ie&&!L)return!1;for(var le=H;le--;){var ve=N[le];if(!(L?ve in l:at.call(l,ve)))return!1}var Te=R.get(i),je=R.get(l);if(Te&&je)return Te==l&&je==i;var We=!0;R.set(i,l),R.set(l,i);for(var Re=L;++le<H;){ve=N[le];var Ue=i[ve],Ye=l[ve];if(y)var _n=L?y(Ye,Ue,ve,l,i,R):y(Ue,Ye,ve,i,l,R);if(!(_n===n?Ue===Ye||S(Ue,Ye,p,y,R):_n)){We=!1;break}Re||(Re=ve=="constructor")}if(We&&!Re){var pn=i.constructor,Bn=l.constructor;pn!=Bn&&"constructor"in i&&"constructor"in l&&!(typeof pn=="function"&&pn instanceof pn&&typeof Bn=="function"&&Bn instanceof Bn)&&(We=!1)}return R.delete(i),R.delete(l),We}function Kr(i){return Jf(uy(i,n,by),i+"")}function Hf(i){return Sv(i,Ht,Kf)}function Gf(i){return Sv(i,vn,iy)}var qf=sc?function(i){return sc.get(i)}:fp;function xc(i){for(var l=i.name+"",p=Yi[l],y=at.call(Yi,l)?p.length:0;y--;){var S=p[y],R=S.func;if(R==null||R==i)return S.name}return l}function Qi(i){var l=at.call(O,"placeholder")?O:i;return l.placeholder}function Pe(){var i=O.iteratee||up;return i=i===up?Iv:i,arguments.length?i(arguments[0],arguments[1]):i}function Cc(i,l){var p=i.__data__;return P3(l)?p[typeof l=="string"?"string":"hash"]:p.map}function Yf(i){for(var l=Ht(i),p=l.length;p--;){var y=l[p],S=i[y];l[p]=[y,S,ly(S)]}return l}function li(i,l){var p=MO(i,l);return Ev(p)?p:n}function w3(i){var l=at.call(i,ri),p=i[ri];try{i[ri]=n;var y=!0}catch{}var S=Ql.call(i);return y&&(l?i[ri]=p:delete i[ri]),S}var Kf=wf?function(i){return i==null?[]:(i=ut(i),vo(wf(i),function(l){return dv.call(i,l)}))}:pp,iy=wf?function(i){for(var l=[];i;)yo(l,Kf(i)),i=tc(i);return l}:pp,nn=dn;(Af&&nn(new Af(new ArrayBuffer(1)))!=Ie||sa&&nn(new sa)!=ge||Sf&&nn(Sf.resolve())!=gt||qi&&nn(new qi)!=mt||aa&&nn(new aa)!=Et)&&(nn=function(i){var l=dn(i),p=l==St?i.constructor:n,y=p?ci(p):"";if(y)switch(y){case oP:return Ie;case iP:return ge;case sP:return gt;case aP:return mt;case lP:return Et}return l});function A3(i,l,p){for(var y=-1,S=p.length;++y<S;){var R=p[y],L=R.size;switch(R.type){case"drop":i+=L;break;case"dropRight":l-=L;break;case"take":l=tn(l,i+L);break;case"takeRight":i=zt(i,l-L);break}}return{start:i,end:l}}function S3(i){var l=i.match(ti);return l?l[1].split(ra):[]}function sy(i,l,p){l=Ao(l,i);for(var y=-1,S=l.length,R=!1;++y<S;){var L=Mr(l[y]);if(!(R=i!=null&&p(i,L)))break;i=i[L]}return R||++y!=S?R:(S=i==null?0:i.length,!!S&&Oc(S)&&Xr(L,S)&&(Be(i)||ui(i)))}function T3(i){var l=i.length,p=new i.constructor(l);return l&&typeof i[0]=="string"&&at.call(i,"index")&&(p.index=i.index,p.input=i.input),p}function ay(i){return typeof i.constructor=="function"&&!ma(i)?Ki(tc(i)):{}}function E3(i,l,p){var y=i.constructor;switch(l){case Fe:return $f(i);case xe:case ye:return new y(+i);case Ie:return c3(i,p);case be:case ft:case Nt:case _e:case Oe:case qt:case Xn:case xr:case Jo:return zv(i,p);case ge:return new y;case Ke:case Ut:return new y(i);case Tt:return u3(i);case mt:return new y;case vt:return d3(i)}}function I3(i,l){var p=l.length;if(!p)return i;var y=p-1;return l[y]=(p>1?"& ":"")+l[y],l=l.join(p>2?", ":" "),i.replace(ef,`{
194
194
  /* [wrapped with `+l+`] */
195
- `)}function O3(i){return Be(i)||ui(i)||!!(fv&&i&&i[fv])}function Xr(i,l){var p=typeof i;return l=l??B,!!l&&(p=="number"||p!="symbol"&&cn.test(i))&&i>-1&&i%1==0&&i<l}function dn(i,l,p){if(!It(p))return!1;var b=typeof l;return(b=="number"?mn(p)&&Xr(l,p.length):b=="string"&&l in p)?Ar(p[l],i):!1}function Xf(i,l){if(Be(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Ln(i)?!0:ta.test(i)||!Qd.test(i)||l!=null&&i in ut(l)}function P3(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Zf(i){var l=xc(i),p=O[l];if(typeof p!="function"||!(l in Ge.prototype))return!1;if(i===p)return!0;var b=qf(p);return!!b&&i===b[0]}function j3(i){return!!lv&&lv in i}var R3=Xl?Zr:hp;function ma(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Gi;return i===p}function ly(i){return i===i&&!It(i)}function cy(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ut(p))}}function M3(i){var l=Ec(i,function(b){return p.size===d&&p.clear(),b}),p=l.cache;return l}function k3(i,l){var p=i[1],b=l[1],S=p|b,R=S<(w|I|k),D=b==k&&p==E||b==k&&p==$&&i[7].length<=l[8]||b==(k|$)&&l[7].length<=l[8]&&p==E;if(!(R||D))return i;b&w&&(i[2]=l[2],S|=p&w?0:M);var N=l[3];if(N){var H=i[3];i[3]=H?Hv(H,N,l[4]):N,i[4]=H?bo(i[3],h):l[4]}return N=l[5],N&&(H=i[5],i[5]=H?Gv(H,N,l[6]):N,i[6]=H?bo(i[5],h):l[6]),N=l[7],N&&(i[7]=N),b&k&&(i[8]=i[8]==null?l[8]:tn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=S,i}function F3(i){var l=[];if(i!=null)for(var p in ut(i))l.push(p);return l}function D3(i){return Ql.call(i)}function uy(i,l,p){return l=zt(l===n?i.length-1:l,0),function(){for(var b=arguments,S=-1,R=zt(b.length-l,0),D=ee(R);++S<R;)D[S]=b[l+S];S=-1;for(var N=ee(l+1);++S<l;)N[S]=b[S];return N[l]=p(D),kn(i,this,N)}}function dy(i,l){return l.length<2?i:ai(i,nr(l,0,-1))}function L3(i,l){for(var p=i.length,b=tn(l.length,p),S=gn(i);b--;){var R=l[b];i[b]=Xr(R,p)?S[R]:n}return i}function Qf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var fy=hy(Dv),va=ZO||function(i,l){return Yt.setTimeout(i,l)},Jf=hy(i3);function py(i,l,p){var b=l+"";return Jf(i,I3(b,_3(S3(b),p)))}function hy(i){var l=0,p=0;return function(){var b=tP(),S=se-(b-p);if(p=b,S>0){if(++l>=ae)return arguments[0]}else l=0;return i.apply(n,arguments)}}function wc(i,l){var p=-1,b=i.length,S=b-1;for(l=l===n?b:l;++p<l;){var R=Df(p,S),D=i[R];i[R]=i[p],i[p]=D}return i.length=l,i}var gy=M3(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(Jd,function(p,b,S,R){l.push(S?R.replace(Vl,"$1"):b||p)}),l});function Mr(i){if(typeof i=="string"||Ln(i))return i;var l=i+"";return l=="0"&&1/i==-K?"-0":l}function ci(i){if(i!=null){try{return Zl.call(i)}catch{}try{return i+""}catch{}}return""}function _3(i,l){return Qn(de,function(p){var b="_."+p[0];l&p[1]&&!Gl(i,b)&&i.push(b)}),i.sort()}function my(i){if(i instanceof Ge)return i.clone();var l=new er(i.__wrapped__,i.__chain__);return l.__actions__=gn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function B3(i,l,p){(p?dn(i,l,p):l===n)?l=1:l=zt(Ve(l),0);var b=i==null?0:i.length;if(!b||l<1)return[];for(var S=0,R=0,D=ee(oc(b/l));S<b;)D[R++]=nr(i,S,S+=l);return D}function N3(i){for(var l=-1,p=i==null?0:i.length,b=0,S=[];++l<p;){var R=i[l];R&&(S[b++]=R)}return S}function V3(){var i=arguments.length;if(!i)return[];for(var l=ee(i-1),p=arguments[0],b=i;b--;)l[b-1]=arguments[b];return yo(Be(p)?gn(p):[p],Kt(l,1))}var W3=$e(function(i,l){return Ft(i)?da(i,Kt(l,1,Ft,!0)):[]}),$3=$e(function(i,l){var p=rr(l);return Ft(p)&&(p=n),Ft(i)?da(i,Kt(l,1,Ft,!0),Pe(p,2)):[]}),z3=$e(function(i,l){var p=rr(l);return Ft(p)&&(p=n),Ft(i)?da(i,Kt(l,1,Ft,!0),n,p):[]});function U3(i,l,p){var b=i==null?0:i.length;return b?(l=p||l===n?1:Ve(l),nr(i,l<0?0:l,b)):[]}function H3(i,l,p){var b=i==null?0:i.length;return b?(l=p||l===n?1:Ve(l),l=b-l,nr(i,0,l<0?0:l)):[]}function G3(i,l){return i&&i.length?hc(i,Pe(l,3),!0,!0):[]}function q3(i,l){return i&&i.length?hc(i,Pe(l,3),!0):[]}function Y3(i,l,p,b){var S=i==null?0:i.length;return S?(p&&typeof p!="number"&&dn(i,l,p)&&(p=0,b=S),VP(i,l,p,b)):[]}function vy(i,l,p){var b=i==null?0:i.length;if(!b)return-1;var S=p==null?0:Ve(p);return S<0&&(S=zt(b+S,0)),ql(i,Pe(l,3),S)}function yy(i,l,p){var b=i==null?0:i.length;if(!b)return-1;var S=b-1;return p!==n&&(S=Ve(p),S=p<0?zt(b+S,0):tn(S,b-1)),ql(i,Pe(l,3),S,!0)}function by(i){var l=i==null?0:i.length;return l?Kt(i,1):[]}function K3(i){var l=i==null?0:i.length;return l?Kt(i,K):[]}function X3(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:Ve(l),Kt(i,l)):[]}function Z3(i){for(var l=-1,p=i==null?0:i.length,b={};++l<p;){var S=i[l];b[S[0]]=S[1]}return b}function xy(i){return i&&i.length?i[0]:n}function Q3(i,l,p){var b=i==null?0:i.length;if(!b)return-1;var S=p==null?0:Ve(p);return S<0&&(S=zt(b+S,0)),$i(i,l,S)}function J3(i){var l=i==null?0:i.length;return l?nr(i,0,-1):[]}var ej=$e(function(i){var l=Ct(i,Vf);return l.length&&l[0]===i[0]?jf(l):[]}),tj=$e(function(i){var l=rr(i),p=Ct(i,Vf);return l===rr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?jf(p,Pe(l,2)):[]}),nj=$e(function(i){var l=rr(i),p=Ct(i,Vf);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?jf(p,n,l):[]});function rj(i,l){return i==null?"":JO.call(i,l)}function rr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function oj(i,l,p){var b=i==null?0:i.length;if(!b)return-1;var S=b;return p!==n&&(S=Ve(p),S=S<0?zt(b+S,0):tn(S,b-1)),l===l?_O(i,l,S):ql(i,ev,S,!0)}function ij(i,l){return i&&i.length?Rv(i,Ve(l)):n}var sj=$e(Cy);function Cy(i,l){return i&&i.length&&l&&l.length?Ff(i,l):i}function aj(i,l,p){return i&&i.length&&l&&l.length?Ff(i,l,Pe(p,2)):i}function lj(i,l,p){return i&&i.length&&l&&l.length?Ff(i,l,n,p):i}var cj=Kr(function(i,l){var p=i==null?0:i.length,b=Ef(i,l);return Fv(i,Ct(l,function(S){return Xr(S,p)?+S:S}).sort(Uv)),b});function uj(i,l){var p=[];if(!(i&&i.length))return p;var b=-1,S=[],R=i.length;for(l=Pe(l,3);++b<R;){var D=i[b];l(D,b,i)&&(p.push(D),S.push(b))}return Fv(i,S),p}function ep(i){return i==null?i:rP.call(i)}function dj(i,l,p){var b=i==null?0:i.length;return b?(p&&typeof p!="number"&&dn(i,l,p)?(l=0,p=b):(l=l==null?0:Ve(l),p=p===n?b:Ve(p)),nr(i,l,p)):[]}function fj(i,l){return pc(i,l)}function pj(i,l,p){return _f(i,l,Pe(p,2))}function hj(i,l){var p=i==null?0:i.length;if(p){var b=pc(i,l);if(b<p&&Ar(i[b],l))return b}return-1}function gj(i,l){return pc(i,l,!0)}function mj(i,l,p){return _f(i,l,Pe(p,2),!0)}function vj(i,l){var p=i==null?0:i.length;if(p){var b=pc(i,l,!0)-1;if(Ar(i[b],l))return b}return-1}function yj(i){return i&&i.length?Lv(i):[]}function bj(i,l){return i&&i.length?Lv(i,Pe(l,2)):[]}function xj(i){var l=i==null?0:i.length;return l?nr(i,1,l):[]}function Cj(i,l,p){return i&&i.length?(l=p||l===n?1:Ve(l),nr(i,0,l<0?0:l)):[]}function wj(i,l,p){var b=i==null?0:i.length;return b?(l=p||l===n?1:Ve(l),l=b-l,nr(i,l<0?0:l,b)):[]}function Aj(i,l){return i&&i.length?hc(i,Pe(l,3),!1,!0):[]}function Sj(i,l){return i&&i.length?hc(i,Pe(l,3)):[]}var Tj=$e(function(i){return wo(Kt(i,1,Ft,!0))}),Ej=$e(function(i){var l=rr(i);return Ft(l)&&(l=n),wo(Kt(i,1,Ft,!0),Pe(l,2))}),Ij=$e(function(i){var l=rr(i);return l=typeof l=="function"?l:n,wo(Kt(i,1,Ft,!0),n,l)});function Oj(i){return i&&i.length?wo(i):[]}function Pj(i,l){return i&&i.length?wo(i,Pe(l,2)):[]}function jj(i,l){return l=typeof l=="function"?l:n,i&&i.length?wo(i,n,l):[]}function tp(i){if(!(i&&i.length))return[];var l=0;return i=vo(i,function(p){if(Ft(p))return l=zt(p.length,l),!0}),yf(l,function(p){return Ct(i,gf(p))})}function wy(i,l){if(!(i&&i.length))return[];var p=tp(i);return l==null?p:Ct(p,function(b){return kn(l,n,b)})}var Rj=$e(function(i,l){return Ft(i)?da(i,l):[]}),Mj=$e(function(i){return Nf(vo(i,Ft))}),kj=$e(function(i){var l=rr(i);return Ft(l)&&(l=n),Nf(vo(i,Ft),Pe(l,2))}),Fj=$e(function(i){var l=rr(i);return l=typeof l=="function"?l:n,Nf(vo(i,Ft),n,l)}),Dj=$e(tp);function Lj(i,l){return Vv(i||[],l||[],ua)}function _j(i,l){return Vv(i||[],l||[],ha)}var Bj=$e(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,wy(i,p)});function Ay(i){var l=O(i);return l.__chain__=!0,l}function Nj(i,l){return l(i),i}function Ac(i,l){return l(i)}var Vj=Kr(function(i){var l=i.length,p=l?i[0]:0,b=this.__wrapped__,S=function(R){return Ef(R,i)};return l>1||this.__actions__.length||!(b instanceof Ge)||!Xr(p)?this.thru(S):(b=b.slice(p,+p+(l?1:0)),b.__actions__.push({func:Ac,args:[S],thisArg:n}),new er(b,this.__chain__).thru(function(R){return l&&!R.length&&R.push(n),R}))});function Wj(){return Ay(this)}function $j(){return new er(this.value(),this.__chain__)}function zj(){this.__values__===n&&(this.__values__=_y(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function Uj(){return this}function Hj(i){for(var l,p=this;p instanceof lc;){var b=my(p);b.__index__=0,b.__values__=n,l?S.__wrapped__=b:l=b;var S=b;p=p.__wrapped__}return S.__wrapped__=i,l}function Gj(){var i=this.__wrapped__;if(i instanceof Ge){var l=i;return this.__actions__.length&&(l=new Ge(this)),l=l.reverse(),l.__actions__.push({func:Ac,args:[ep],thisArg:n}),new er(l,this.__chain__)}return this.thru(ep)}function qj(){return Nv(this.__wrapped__,this.__actions__)}var Yj=gc(function(i,l,p){at.call(i,p)?++i[p]:qr(i,p,1)});function Kj(i,l,p){var b=Be(i)?Q0:NP;return p&&dn(i,l,p)&&(l=n),b(i,Pe(l,3))}function Xj(i,l){var p=Be(i)?vo:wv;return p(i,Pe(l,3))}var Zj=Xv(vy),Qj=Xv(yy);function Jj(i,l){return Kt(Sc(i,l),1)}function e4(i,l){return Kt(Sc(i,l),K)}function t4(i,l,p){return p=p===n?1:Ve(p),Kt(Sc(i,l),p)}function Sy(i,l){var p=Be(i)?Qn:Co;return p(i,Pe(l,3))}function Ty(i,l){var p=Be(i)?xO:Cv;return p(i,Pe(l,3))}var n4=gc(function(i,l,p){at.call(i,p)?i[p].push(l):qr(i,p,[l])});function r4(i,l,p,b){i=mn(i)?i:es(i),p=p&&!b?Ve(p):0;var S=i.length;return p<0&&(p=zt(S+p,0)),Pc(i)?p<=S&&i.indexOf(l,p)>-1:!!S&&$i(i,l,p)>-1}var o4=$e(function(i,l,p){var b=-1,S=typeof l=="function",R=mn(i)?ee(i.length):[];return Co(i,function(D){R[++b]=S?kn(l,D,p):fa(D,l,p)}),R}),i4=gc(function(i,l,p){qr(i,p,l)});function Sc(i,l){var p=Be(i)?Ct:Ov;return p(i,Pe(l,3))}function s4(i,l,p,b){return i==null?[]:(Be(l)||(l=l==null?[]:[l]),p=b?n:p,Be(p)||(p=p==null?[]:[p]),Mv(i,l,p))}var a4=gc(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function l4(i,l,p){var b=Be(i)?pf:nv,S=arguments.length<3;return b(i,Pe(l,4),p,S,Co)}function c4(i,l,p){var b=Be(i)?CO:nv,S=arguments.length<3;return b(i,Pe(l,4),p,S,Cv)}function u4(i,l){var p=Be(i)?vo:wv;return p(i,Ic(Pe(l,3)))}function d4(i){var l=Be(i)?vv:r3;return l(i)}function f4(i,l,p){(p?dn(i,l,p):l===n)?l=1:l=Ve(l);var b=Be(i)?FP:o3;return b(i,l)}function p4(i){var l=Be(i)?DP:s3;return l(i)}function h4(i){if(i==null)return 0;if(mn(i))return Pc(i)?Ui(i):i.length;var l=nn(i);return l==ge||l==mt?i.size:Mf(i).length}function g4(i,l,p){var b=Be(i)?hf:a3;return p&&dn(i,l,p)&&(l=n),b(i,Pe(l,3))}var m4=$e(function(i,l){if(i==null)return[];var p=l.length;return p>1&&dn(i,l[0],l[1])?l=[]:p>2&&dn(l[0],l[1],l[2])&&(l=[l[0]]),Mv(i,Kt(l,1),[])}),Tc=XO||function(){return Yt.Date.now()};function v4(i,l){if(typeof l!="function")throw new Jn(a);return i=Ve(i),function(){if(--i<1)return l.apply(this,arguments)}}function Ey(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,Yr(i,k,n,n,n,n,l)}function Iy(i,l){var p;if(typeof l!="function")throw new Jn(a);return i=Ve(i),function(){return--i>0&&(p=l.apply(this,arguments)),i<=1&&(l=n),p}}var np=$e(function(i,l,p){var b=w;if(p.length){var S=bo(p,Qi(np));b|=P}return Yr(i,b,l,p,S)}),Oy=$e(function(i,l,p){var b=w|I;if(p.length){var S=bo(p,Qi(Oy));b|=P}return Yr(l,b,i,p,S)});function Py(i,l,p){l=p?n:l;var b=Yr(i,E,n,n,n,n,n,l);return b.placeholder=Py.placeholder,b}function jy(i,l,p){l=p?n:l;var b=Yr(i,j,n,n,n,n,n,l);return b.placeholder=jy.placeholder,b}function Ry(i,l,p){var b,S,R,D,N,H,oe=0,ie=!1,le=!1,ve=!0;if(typeof i!="function")throw new Jn(a);l=or(l)||0,It(p)&&(ie=!!p.leading,le="maxWait"in p,R=le?zt(or(p.maxWait)||0,l):R,ve="trailing"in p?!!p.trailing:ve);function Te(Dt){var Sr=b,Jr=S;return b=S=n,oe=Dt,D=i.apply(Jr,Sr),D}function je(Dt){return oe=Dt,N=va(Ue,l),ie?Te(Dt):D}function We(Dt){var Sr=Dt-H,Jr=Dt-oe,Xy=l-Sr;return le?tn(Xy,R-Jr):Xy}function Re(Dt){var Sr=Dt-H,Jr=Dt-oe;return H===n||Sr>=l||Sr<0||le&&Jr>=R}function Ue(){var Dt=Tc();if(Re(Dt))return Ye(Dt);N=va(Ue,We(Dt))}function Ye(Dt){return N=n,ve&&b?Te(Dt):(b=S=n,D)}function _n(){N!==n&&Wv(N),oe=0,b=H=S=N=n}function fn(){return N===n?D:Ye(Tc())}function Bn(){var Dt=Tc(),Sr=Re(Dt);if(b=arguments,S=this,H=Dt,Sr){if(N===n)return je(H);if(le)return Wv(N),N=va(Ue,l),Te(H)}return N===n&&(N=va(Ue,l)),D}return Bn.cancel=_n,Bn.flush=fn,Bn}var y4=$e(function(i,l){return xv(i,1,l)}),b4=$e(function(i,l,p){return xv(i,or(l)||0,p)});function x4(i){return Yr(i,G)}function Ec(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new Jn(a);var p=function(){var b=arguments,S=l?l.apply(this,b):b[0],R=p.cache;if(R.has(S))return R.get(S);var D=i.apply(this,b);return p.cache=R.set(S,D)||R,D};return p.cache=new(Ec.Cache||Gr),p}Ec.Cache=Gr;function Ic(i){if(typeof i!="function")throw new Jn(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function C4(i){return Iy(2,i)}var w4=l3(function(i,l){l=l.length==1&&Be(l[0])?Ct(l[0],Fn(Pe())):Ct(Kt(l,1),Fn(Pe()));var p=l.length;return $e(function(b){for(var S=-1,R=tn(b.length,p);++S<R;)b[S]=l[S].call(this,b[S]);return kn(i,this,b)})}),rp=$e(function(i,l){var p=bo(l,Qi(rp));return Yr(i,P,n,l,p)}),My=$e(function(i,l){var p=bo(l,Qi(My));return Yr(i,F,n,l,p)}),A4=Kr(function(i,l){return Yr(i,$,n,n,n,l)});function S4(i,l){if(typeof i!="function")throw new Jn(a);return l=l===n?l:Ve(l),$e(i,l)}function T4(i,l){if(typeof i!="function")throw new Jn(a);return l=l==null?0:zt(Ve(l),0),$e(function(p){var b=p[l],S=So(p,0,l);return b&&yo(S,b),kn(i,this,S)})}function E4(i,l,p){var b=!0,S=!0;if(typeof i!="function")throw new Jn(a);return It(p)&&(b="leading"in p?!!p.leading:b,S="trailing"in p?!!p.trailing:S),Ry(i,l,{leading:b,maxWait:l,trailing:S})}function I4(i){return Ey(i,1)}function O4(i,l){return rp(Wf(l),i)}function P4(){if(!arguments.length)return[];var i=arguments[0];return Be(i)?i:[i]}function j4(i){return tr(i,v)}function R4(i,l){return l=typeof l=="function"?l:n,tr(i,v,l)}function M4(i){return tr(i,g|v)}function k4(i,l){return l=typeof l=="function"?l:n,tr(i,g|v,l)}function F4(i,l){return l==null||bv(i,l,Ht(l))}function Ar(i,l){return i===l||i!==i&&l!==l}var D4=bc(Pf),L4=bc(function(i,l){return i>=l}),ui=Tv(function(){return arguments}())?Tv:function(i){return Pt(i)&&at.call(i,"callee")&&!dv.call(i,"callee")},Be=ee.isArray,_4=G0?Fn(G0):HP;function mn(i){return i!=null&&Oc(i.length)&&!Zr(i)}function Ft(i){return Pt(i)&&mn(i)}function B4(i){return i===!0||i===!1||Pt(i)&&un(i)==xe}var To=QO||hp,N4=q0?Fn(q0):GP;function V4(i){return Pt(i)&&i.nodeType===1&&!ya(i)}function W4(i){if(i==null)return!0;if(mn(i)&&(Be(i)||typeof i=="string"||typeof i.splice=="function"||To(i)||Ji(i)||ui(i)))return!i.length;var l=nn(i);if(l==ge||l==mt)return!i.size;if(ma(i))return!Mf(i).length;for(var p in i)if(at.call(i,p))return!1;return!0}function $4(i,l){return pa(i,l)}function z4(i,l,p){p=typeof p=="function"?p:n;var b=p?p(i,l):n;return b===n?pa(i,l,n,p):!!b}function op(i){if(!Pt(i))return!1;var l=un(i);return l==Ee||l==Ce||typeof i.message=="string"&&typeof i.name=="string"&&!ya(i)}function U4(i){return typeof i=="number"&&pv(i)}function Zr(i){if(!It(i))return!1;var l=un(i);return l==ce||l==Xe||l==Ae||l==Mn}function ky(i){return typeof i=="number"&&i==Ve(i)}function Oc(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=B}function It(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Pt(i){return i!=null&&typeof i=="object"}var Fy=Y0?Fn(Y0):YP;function H4(i,l){return i===l||Rf(i,l,Yf(l))}function G4(i,l,p){return p=typeof p=="function"?p:n,Rf(i,l,Yf(l),p)}function q4(i){return Dy(i)&&i!=+i}function Y4(i){if(R3(i))throw new Le(s);return Ev(i)}function K4(i){return i===null}function X4(i){return i==null}function Dy(i){return typeof i=="number"||Pt(i)&&un(i)==Ke}function ya(i){if(!Pt(i)||un(i)!=St)return!1;var l=tc(i);if(l===null)return!0;var p=at.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&Zl.call(p)==GO}var ip=K0?Fn(K0):KP;function Z4(i){return ky(i)&&i>=-B&&i<=B}var Ly=X0?Fn(X0):XP;function Pc(i){return typeof i=="string"||!Be(i)&&Pt(i)&&un(i)==Ut}function Ln(i){return typeof i=="symbol"||Pt(i)&&un(i)==vt}var Ji=Z0?Fn(Z0):ZP;function Q4(i){return i===n}function J4(i){return Pt(i)&&nn(i)==Et}function e5(i){return Pt(i)&&un(i)==ke}var t5=bc(kf),n5=bc(function(i,l){return i<=l});function _y(i){if(!i)return[];if(mn(i))return Pc(i)?Cr(i):gn(i);if(ia&&i[ia])return FO(i[ia]());var l=nn(i),p=l==ge?xf:l==mt?Yl:es;return p(i)}function Qr(i){if(!i)return i===0?i:0;if(i=or(i),i===K||i===-K){var l=i<0?-1:1;return l*ne}return i===i?i:0}function Ve(i){var l=Qr(i),p=l%1;return l===l?p?l-p:l:0}function By(i){return i?si(Ve(i),0,q):0}function or(i){if(typeof i=="number")return i;if(Ln(i))return V;if(It(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=It(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=rv(i);var p=nf.test(i);return p||Ne.test(i)?vO(i.slice(2),p?2:8):tf.test(i)?V:+i}function Ny(i){return Rr(i,vn(i))}function r5(i){return i?si(Ve(i),-B,B):i===0?i:0}function nt(i){return i==null?"":Dn(i)}var o5=Xi(function(i,l){if(ma(l)||mn(l)){Rr(l,Ht(l),i);return}for(var p in l)at.call(l,p)&&ua(i,p,l[p])}),Vy=Xi(function(i,l){Rr(l,vn(l),i)}),jc=Xi(function(i,l,p,b){Rr(l,vn(l),i,b)}),i5=Xi(function(i,l,p,b){Rr(l,Ht(l),i,b)}),s5=Kr(Ef);function a5(i,l){var p=Ki(i);return l==null?p:yv(p,l)}var l5=$e(function(i,l){i=ut(i);var p=-1,b=l.length,S=b>2?l[2]:n;for(S&&dn(l[0],l[1],S)&&(b=1);++p<b;)for(var R=l[p],D=vn(R),N=-1,H=D.length;++N<H;){var oe=D[N],ie=i[oe];(ie===n||Ar(ie,Gi[oe])&&!at.call(i,oe))&&(i[oe]=R[oe])}return i}),c5=$e(function(i){return i.push(n,ry),kn(Wy,n,i)});function u5(i,l){return J0(i,Pe(l,3),jr)}function d5(i,l){return J0(i,Pe(l,3),Of)}function f5(i,l){return i==null?i:If(i,Pe(l,3),vn)}function p5(i,l){return i==null?i:Av(i,Pe(l,3),vn)}function h5(i,l){return i&&jr(i,Pe(l,3))}function g5(i,l){return i&&Of(i,Pe(l,3))}function m5(i){return i==null?[]:dc(i,Ht(i))}function v5(i){return i==null?[]:dc(i,vn(i))}function sp(i,l,p){var b=i==null?n:ai(i,l);return b===n?p:b}function y5(i,l){return i!=null&&sy(i,l,WP)}function ap(i,l){return i!=null&&sy(i,l,$P)}var b5=Qv(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Ql.call(l)),i[l]=p},cp(yn)),x5=Qv(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Ql.call(l)),at.call(i,l)?i[l].push(p):i[l]=[p]},Pe),C5=$e(fa);function Ht(i){return mn(i)?mv(i):Mf(i)}function vn(i){return mn(i)?mv(i,!0):QP(i)}function w5(i,l){var p={};return l=Pe(l,3),jr(i,function(b,S,R){qr(p,l(b,S,R),b)}),p}function A5(i,l){var p={};return l=Pe(l,3),jr(i,function(b,S,R){qr(p,S,l(b,S,R))}),p}var S5=Xi(function(i,l,p){fc(i,l,p)}),Wy=Xi(function(i,l,p,b){fc(i,l,p,b)}),T5=Kr(function(i,l){var p={};if(i==null)return p;var b=!1;l=Ct(l,function(R){return R=Ao(R,i),b||(b=R.length>1),R}),Rr(i,Gf(i),p),b&&(p=tr(p,g|m|v,b3));for(var S=l.length;S--;)Bf(p,l[S]);return p});function E5(i,l){return $y(i,Ic(Pe(l)))}var I5=Kr(function(i,l){return i==null?{}:e3(i,l)});function $y(i,l){if(i==null)return{};var p=Ct(Gf(i),function(b){return[b]});return l=Pe(l),kv(i,p,function(b,S){return l(b,S[0])})}function O5(i,l,p){l=Ao(l,i);var b=-1,S=l.length;for(S||(S=1,i=n);++b<S;){var R=i==null?n:i[Mr(l[b])];R===n&&(b=S,R=p),i=Zr(R)?R.call(i):R}return i}function P5(i,l,p){return i==null?i:ha(i,l,p)}function j5(i,l,p,b){return b=typeof b=="function"?b:n,i==null?i:ha(i,l,p,b)}var zy=ty(Ht),Uy=ty(vn);function R5(i,l,p){var b=Be(i),S=b||To(i)||Ji(i);if(l=Pe(l,4),p==null){var R=i&&i.constructor;S?p=b?new R:[]:It(i)?p=Zr(R)?Ki(tc(i)):{}:p={}}return(S?Qn:jr)(i,function(D,N,H){return l(p,D,N,H)}),p}function M5(i,l){return i==null?!0:Bf(i,l)}function k5(i,l,p){return i==null?i:Bv(i,l,Wf(p))}function F5(i,l,p,b){return b=typeof b=="function"?b:n,i==null?i:Bv(i,l,Wf(p),b)}function es(i){return i==null?[]:bf(i,Ht(i))}function D5(i){return i==null?[]:bf(i,vn(i))}function L5(i,l,p){return p===n&&(p=l,l=n),p!==n&&(p=or(p),p=p===p?p:0),l!==n&&(l=or(l),l=l===l?l:0),si(or(i),l,p)}function _5(i,l,p){return l=Qr(l),p===n?(p=l,l=0):p=Qr(p),i=or(i),zP(i,l,p)}function B5(i,l,p){if(p&&typeof p!="boolean"&&dn(i,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof i=="boolean"&&(p=i,i=n)),i===n&&l===n?(i=0,l=1):(i=Qr(i),l===n?(l=i,i=0):l=Qr(l)),i>l){var b=i;i=l,l=b}if(p||i%1||l%1){var S=hv();return tn(i+S*(l-i+mO("1e-"+((S+"").length-1))),l)}return Df(i,l)}var N5=Zi(function(i,l,p){return l=l.toLowerCase(),i+(p?Hy(l):l)});function Hy(i){return lp(nt(i).toLowerCase())}function Gy(i){return i=nt(i),i&&i.replace(WI,PO).replace(sO,"")}function V5(i,l,p){i=nt(i),l=Dn(l);var b=i.length;p=p===n?b:si(Ve(p),0,b);var S=p;return p-=l.length,p>=0&&i.slice(p,S)==l}function W5(i){return i=nt(i),i&&Dl.test(i)?i.replace(ea,jO):i}function $5(i){return i=nt(i),i&&na.test(i)?i.replace(Ur,"\\$&"):i}var z5=Zi(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),U5=Zi(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),H5=Kv("toLowerCase");function G5(i,l,p){i=nt(i),l=Ve(l);var b=l?Ui(i):0;if(!l||b>=l)return i;var S=(l-b)/2;return yc(ic(S),p)+i+yc(oc(S),p)}function q5(i,l,p){i=nt(i),l=Ve(l);var b=l?Ui(i):0;return l&&b<l?i+yc(l-b,p):i}function Y5(i,l,p){i=nt(i),l=Ve(l);var b=l?Ui(i):0;return l&&b<l?yc(l-b,p)+i:i}function K5(i,l,p){return p||l==null?l=0:l&&(l=+l),nP(nt(i).replace(en,""),l||0)}function X5(i,l,p){return(p?dn(i,l,p):l===n)?l=1:l=Ve(l),Lf(nt(i),l)}function Z5(){var i=arguments,l=nt(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var Q5=Zi(function(i,l,p){return i+(p?"_":"")+l.toLowerCase()});function J5(i,l,p){return p&&typeof p!="number"&&dn(i,l,p)&&(l=p=n),p=p===n?q:p>>>0,p?(i=nt(i),i&&(typeof l=="string"||l!=null&&!ip(l))&&(l=Dn(l),!l&&zi(i))?So(Cr(i),0,p):i.split(l,p)):[]}var eR=Zi(function(i,l,p){return i+(p?" ":"")+lp(l)});function tR(i,l,p){return i=nt(i),p=p==null?0:si(Ve(p),0,i.length),l=Dn(l),i.slice(p,p+l.length)==l}function nR(i,l,p){var b=O.templateSettings;p&&dn(i,l,p)&&(l=n),i=nt(i),l=jc({},l,b,ny);var S=jc({},l.imports,b.imports,ny),R=Ht(S),D=bf(S,R),N,H,oe=0,ie=l.interpolate||zl,le="__p += '",ve=Cf((l.escape||zl).source+"|"+ie.source+"|"+(ie===_l?Wl:zl).source+"|"+(l.evaluate||zl).source+"|$","g"),Te="//# sourceURL="+(at.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++dO+"]")+`
196
- `;i.replace(ve,function(Re,Ue,Ye,_n,fn,Bn){return Ye||(Ye=_n),le+=i.slice(oe,Bn).replace($I,RO),Ue&&(N=!0,le+=`' +
195
+ `)}function O3(i){return Be(i)||ui(i)||!!(fv&&i&&i[fv])}function Xr(i,l){var p=typeof i;return l=l??B,!!l&&(p=="number"||p!="symbol"&&un.test(i))&&i>-1&&i%1==0&&i<l}function fn(i,l,p){if(!It(p))return!1;var y=typeof l;return(y=="number"?mn(p)&&Xr(l,p.length):y=="string"&&l in p)?Ar(p[l],i):!1}function Xf(i,l){if(Be(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Ln(i)?!0:ta.test(i)||!Qd.test(i)||l!=null&&i in ut(l)}function P3(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Zf(i){var l=xc(i),p=O[l];if(typeof p!="function"||!(l in Ge.prototype))return!1;if(i===p)return!0;var y=qf(p);return!!y&&i===y[0]}function j3(i){return!!lv&&lv in i}var R3=Xl?Zr:hp;function ma(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Gi;return i===p}function ly(i){return i===i&&!It(i)}function cy(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ut(p))}}function M3(i){var l=Ec(i,function(y){return p.size===d&&p.clear(),y}),p=l.cache;return l}function k3(i,l){var p=i[1],y=l[1],S=p|y,R=S<(w|I|k),L=y==k&&p==E||y==k&&p==$&&i[7].length<=l[8]||y==(k|$)&&l[7].length<=l[8]&&p==E;if(!(R||L))return i;y&w&&(i[2]=l[2],S|=p&w?0:M);var N=l[3];if(N){var H=i[3];i[3]=H?Hv(H,N,l[4]):N,i[4]=H?bo(i[3],h):l[4]}return N=l[5],N&&(H=i[5],i[5]=H?Gv(H,N,l[6]):N,i[6]=H?bo(i[5],h):l[6]),N=l[7],N&&(i[7]=N),y&k&&(i[8]=i[8]==null?l[8]:tn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=S,i}function F3(i){var l=[];if(i!=null)for(var p in ut(i))l.push(p);return l}function D3(i){return Ql.call(i)}function uy(i,l,p){return l=zt(l===n?i.length-1:l,0),function(){for(var y=arguments,S=-1,R=zt(y.length-l,0),L=ee(R);++S<R;)L[S]=y[l+S];S=-1;for(var N=ee(l+1);++S<l;)N[S]=y[S];return N[l]=p(L),kn(i,this,N)}}function dy(i,l){return l.length<2?i:ai(i,nr(l,0,-1))}function L3(i,l){for(var p=i.length,y=tn(l.length,p),S=gn(i);y--;){var R=l[y];i[y]=Xr(R,p)?S[R]:n}return i}function Qf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var fy=hy(Dv),va=ZO||function(i,l){return Yt.setTimeout(i,l)},Jf=hy(i3);function py(i,l,p){var y=l+"";return Jf(i,I3(y,_3(S3(y),p)))}function hy(i){var l=0,p=0;return function(){var y=tP(),S=se-(y-p);if(p=y,S>0){if(++l>=ae)return arguments[0]}else l=0;return i.apply(n,arguments)}}function wc(i,l){var p=-1,y=i.length,S=y-1;for(l=l===n?y:l;++p<l;){var R=Df(p,S),L=i[R];i[R]=i[p],i[p]=L}return i.length=l,i}var gy=M3(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(Jd,function(p,y,S,R){l.push(S?R.replace(Vl,"$1"):y||p)}),l});function Mr(i){if(typeof i=="string"||Ln(i))return i;var l=i+"";return l=="0"&&1/i==-K?"-0":l}function ci(i){if(i!=null){try{return Zl.call(i)}catch{}try{return i+""}catch{}}return""}function _3(i,l){return Qn(de,function(p){var y="_."+p[0];l&p[1]&&!Gl(i,y)&&i.push(y)}),i.sort()}function my(i){if(i instanceof Ge)return i.clone();var l=new er(i.__wrapped__,i.__chain__);return l.__actions__=gn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function B3(i,l,p){(p?fn(i,l,p):l===n)?l=1:l=zt(Ve(l),0);var y=i==null?0:i.length;if(!y||l<1)return[];for(var S=0,R=0,L=ee(oc(y/l));S<y;)L[R++]=nr(i,S,S+=l);return L}function N3(i){for(var l=-1,p=i==null?0:i.length,y=0,S=[];++l<p;){var R=i[l];R&&(S[y++]=R)}return S}function V3(){var i=arguments.length;if(!i)return[];for(var l=ee(i-1),p=arguments[0],y=i;y--;)l[y-1]=arguments[y];return yo(Be(p)?gn(p):[p],Kt(l,1))}var W3=$e(function(i,l){return Ft(i)?da(i,Kt(l,1,Ft,!0)):[]}),$3=$e(function(i,l){var p=rr(l);return Ft(p)&&(p=n),Ft(i)?da(i,Kt(l,1,Ft,!0),Pe(p,2)):[]}),z3=$e(function(i,l){var p=rr(l);return Ft(p)&&(p=n),Ft(i)?da(i,Kt(l,1,Ft,!0),n,p):[]});function U3(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:Ve(l),nr(i,l<0?0:l,y)):[]}function H3(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:Ve(l),l=y-l,nr(i,0,l<0?0:l)):[]}function G3(i,l){return i&&i.length?hc(i,Pe(l,3),!0,!0):[]}function q3(i,l){return i&&i.length?hc(i,Pe(l,3),!0):[]}function Y3(i,l,p,y){var S=i==null?0:i.length;return S?(p&&typeof p!="number"&&fn(i,l,p)&&(p=0,y=S),VP(i,l,p,y)):[]}function vy(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var S=p==null?0:Ve(p);return S<0&&(S=zt(y+S,0)),ql(i,Pe(l,3),S)}function yy(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var S=y-1;return p!==n&&(S=Ve(p),S=p<0?zt(y+S,0):tn(S,y-1)),ql(i,Pe(l,3),S,!0)}function by(i){var l=i==null?0:i.length;return l?Kt(i,1):[]}function K3(i){var l=i==null?0:i.length;return l?Kt(i,K):[]}function X3(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:Ve(l),Kt(i,l)):[]}function Z3(i){for(var l=-1,p=i==null?0:i.length,y={};++l<p;){var S=i[l];y[S[0]]=S[1]}return y}function xy(i){return i&&i.length?i[0]:n}function Q3(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var S=p==null?0:Ve(p);return S<0&&(S=zt(y+S,0)),$i(i,l,S)}function J3(i){var l=i==null?0:i.length;return l?nr(i,0,-1):[]}var ej=$e(function(i){var l=Ct(i,Vf);return l.length&&l[0]===i[0]?jf(l):[]}),tj=$e(function(i){var l=rr(i),p=Ct(i,Vf);return l===rr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?jf(p,Pe(l,2)):[]}),nj=$e(function(i){var l=rr(i),p=Ct(i,Vf);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?jf(p,n,l):[]});function rj(i,l){return i==null?"":JO.call(i,l)}function rr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function oj(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var S=y;return p!==n&&(S=Ve(p),S=S<0?zt(y+S,0):tn(S,y-1)),l===l?_O(i,l,S):ql(i,ev,S,!0)}function ij(i,l){return i&&i.length?Rv(i,Ve(l)):n}var sj=$e(Cy);function Cy(i,l){return i&&i.length&&l&&l.length?Ff(i,l):i}function aj(i,l,p){return i&&i.length&&l&&l.length?Ff(i,l,Pe(p,2)):i}function lj(i,l,p){return i&&i.length&&l&&l.length?Ff(i,l,n,p):i}var cj=Kr(function(i,l){var p=i==null?0:i.length,y=Ef(i,l);return Fv(i,Ct(l,function(S){return Xr(S,p)?+S:S}).sort(Uv)),y});function uj(i,l){var p=[];if(!(i&&i.length))return p;var y=-1,S=[],R=i.length;for(l=Pe(l,3);++y<R;){var L=i[y];l(L,y,i)&&(p.push(L),S.push(y))}return Fv(i,S),p}function ep(i){return i==null?i:rP.call(i)}function dj(i,l,p){var y=i==null?0:i.length;return y?(p&&typeof p!="number"&&fn(i,l,p)?(l=0,p=y):(l=l==null?0:Ve(l),p=p===n?y:Ve(p)),nr(i,l,p)):[]}function fj(i,l){return pc(i,l)}function pj(i,l,p){return _f(i,l,Pe(p,2))}function hj(i,l){var p=i==null?0:i.length;if(p){var y=pc(i,l);if(y<p&&Ar(i[y],l))return y}return-1}function gj(i,l){return pc(i,l,!0)}function mj(i,l,p){return _f(i,l,Pe(p,2),!0)}function vj(i,l){var p=i==null?0:i.length;if(p){var y=pc(i,l,!0)-1;if(Ar(i[y],l))return y}return-1}function yj(i){return i&&i.length?Lv(i):[]}function bj(i,l){return i&&i.length?Lv(i,Pe(l,2)):[]}function xj(i){var l=i==null?0:i.length;return l?nr(i,1,l):[]}function Cj(i,l,p){return i&&i.length?(l=p||l===n?1:Ve(l),nr(i,0,l<0?0:l)):[]}function wj(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:Ve(l),l=y-l,nr(i,l<0?0:l,y)):[]}function Aj(i,l){return i&&i.length?hc(i,Pe(l,3),!1,!0):[]}function Sj(i,l){return i&&i.length?hc(i,Pe(l,3)):[]}var Tj=$e(function(i){return wo(Kt(i,1,Ft,!0))}),Ej=$e(function(i){var l=rr(i);return Ft(l)&&(l=n),wo(Kt(i,1,Ft,!0),Pe(l,2))}),Ij=$e(function(i){var l=rr(i);return l=typeof l=="function"?l:n,wo(Kt(i,1,Ft,!0),n,l)});function Oj(i){return i&&i.length?wo(i):[]}function Pj(i,l){return i&&i.length?wo(i,Pe(l,2)):[]}function jj(i,l){return l=typeof l=="function"?l:n,i&&i.length?wo(i,n,l):[]}function tp(i){if(!(i&&i.length))return[];var l=0;return i=vo(i,function(p){if(Ft(p))return l=zt(p.length,l),!0}),yf(l,function(p){return Ct(i,gf(p))})}function wy(i,l){if(!(i&&i.length))return[];var p=tp(i);return l==null?p:Ct(p,function(y){return kn(l,n,y)})}var Rj=$e(function(i,l){return Ft(i)?da(i,l):[]}),Mj=$e(function(i){return Nf(vo(i,Ft))}),kj=$e(function(i){var l=rr(i);return Ft(l)&&(l=n),Nf(vo(i,Ft),Pe(l,2))}),Fj=$e(function(i){var l=rr(i);return l=typeof l=="function"?l:n,Nf(vo(i,Ft),n,l)}),Dj=$e(tp);function Lj(i,l){return Vv(i||[],l||[],ua)}function _j(i,l){return Vv(i||[],l||[],ha)}var Bj=$e(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,wy(i,p)});function Ay(i){var l=O(i);return l.__chain__=!0,l}function Nj(i,l){return l(i),i}function Ac(i,l){return l(i)}var Vj=Kr(function(i){var l=i.length,p=l?i[0]:0,y=this.__wrapped__,S=function(R){return Ef(R,i)};return l>1||this.__actions__.length||!(y instanceof Ge)||!Xr(p)?this.thru(S):(y=y.slice(p,+p+(l?1:0)),y.__actions__.push({func:Ac,args:[S],thisArg:n}),new er(y,this.__chain__).thru(function(R){return l&&!R.length&&R.push(n),R}))});function Wj(){return Ay(this)}function $j(){return new er(this.value(),this.__chain__)}function zj(){this.__values__===n&&(this.__values__=_y(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function Uj(){return this}function Hj(i){for(var l,p=this;p instanceof lc;){var y=my(p);y.__index__=0,y.__values__=n,l?S.__wrapped__=y:l=y;var S=y;p=p.__wrapped__}return S.__wrapped__=i,l}function Gj(){var i=this.__wrapped__;if(i instanceof Ge){var l=i;return this.__actions__.length&&(l=new Ge(this)),l=l.reverse(),l.__actions__.push({func:Ac,args:[ep],thisArg:n}),new er(l,this.__chain__)}return this.thru(ep)}function qj(){return Nv(this.__wrapped__,this.__actions__)}var Yj=gc(function(i,l,p){at.call(i,p)?++i[p]:qr(i,p,1)});function Kj(i,l,p){var y=Be(i)?Q0:NP;return p&&fn(i,l,p)&&(l=n),y(i,Pe(l,3))}function Xj(i,l){var p=Be(i)?vo:wv;return p(i,Pe(l,3))}var Zj=Xv(vy),Qj=Xv(yy);function Jj(i,l){return Kt(Sc(i,l),1)}function e4(i,l){return Kt(Sc(i,l),K)}function t4(i,l,p){return p=p===n?1:Ve(p),Kt(Sc(i,l),p)}function Sy(i,l){var p=Be(i)?Qn:Co;return p(i,Pe(l,3))}function Ty(i,l){var p=Be(i)?xO:Cv;return p(i,Pe(l,3))}var n4=gc(function(i,l,p){at.call(i,p)?i[p].push(l):qr(i,p,[l])});function r4(i,l,p,y){i=mn(i)?i:es(i),p=p&&!y?Ve(p):0;var S=i.length;return p<0&&(p=zt(S+p,0)),Pc(i)?p<=S&&i.indexOf(l,p)>-1:!!S&&$i(i,l,p)>-1}var o4=$e(function(i,l,p){var y=-1,S=typeof l=="function",R=mn(i)?ee(i.length):[];return Co(i,function(L){R[++y]=S?kn(l,L,p):fa(L,l,p)}),R}),i4=gc(function(i,l,p){qr(i,p,l)});function Sc(i,l){var p=Be(i)?Ct:Ov;return p(i,Pe(l,3))}function s4(i,l,p,y){return i==null?[]:(Be(l)||(l=l==null?[]:[l]),p=y?n:p,Be(p)||(p=p==null?[]:[p]),Mv(i,l,p))}var a4=gc(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function l4(i,l,p){var y=Be(i)?pf:nv,S=arguments.length<3;return y(i,Pe(l,4),p,S,Co)}function c4(i,l,p){var y=Be(i)?CO:nv,S=arguments.length<3;return y(i,Pe(l,4),p,S,Cv)}function u4(i,l){var p=Be(i)?vo:wv;return p(i,Ic(Pe(l,3)))}function d4(i){var l=Be(i)?vv:r3;return l(i)}function f4(i,l,p){(p?fn(i,l,p):l===n)?l=1:l=Ve(l);var y=Be(i)?FP:o3;return y(i,l)}function p4(i){var l=Be(i)?DP:s3;return l(i)}function h4(i){if(i==null)return 0;if(mn(i))return Pc(i)?Ui(i):i.length;var l=nn(i);return l==ge||l==mt?i.size:Mf(i).length}function g4(i,l,p){var y=Be(i)?hf:a3;return p&&fn(i,l,p)&&(l=n),y(i,Pe(l,3))}var m4=$e(function(i,l){if(i==null)return[];var p=l.length;return p>1&&fn(i,l[0],l[1])?l=[]:p>2&&fn(l[0],l[1],l[2])&&(l=[l[0]]),Mv(i,Kt(l,1),[])}),Tc=XO||function(){return Yt.Date.now()};function v4(i,l){if(typeof l!="function")throw new Jn(a);return i=Ve(i),function(){if(--i<1)return l.apply(this,arguments)}}function Ey(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,Yr(i,k,n,n,n,n,l)}function Iy(i,l){var p;if(typeof l!="function")throw new Jn(a);return i=Ve(i),function(){return--i>0&&(p=l.apply(this,arguments)),i<=1&&(l=n),p}}var np=$e(function(i,l,p){var y=w;if(p.length){var S=bo(p,Qi(np));y|=P}return Yr(i,y,l,p,S)}),Oy=$e(function(i,l,p){var y=w|I;if(p.length){var S=bo(p,Qi(Oy));y|=P}return Yr(l,y,i,p,S)});function Py(i,l,p){l=p?n:l;var y=Yr(i,E,n,n,n,n,n,l);return y.placeholder=Py.placeholder,y}function jy(i,l,p){l=p?n:l;var y=Yr(i,j,n,n,n,n,n,l);return y.placeholder=jy.placeholder,y}function Ry(i,l,p){var y,S,R,L,N,H,oe=0,ie=!1,le=!1,ve=!0;if(typeof i!="function")throw new Jn(a);l=or(l)||0,It(p)&&(ie=!!p.leading,le="maxWait"in p,R=le?zt(or(p.maxWait)||0,l):R,ve="trailing"in p?!!p.trailing:ve);function Te(Dt){var Sr=y,Jr=S;return y=S=n,oe=Dt,L=i.apply(Jr,Sr),L}function je(Dt){return oe=Dt,N=va(Ue,l),ie?Te(Dt):L}function We(Dt){var Sr=Dt-H,Jr=Dt-oe,Xy=l-Sr;return le?tn(Xy,R-Jr):Xy}function Re(Dt){var Sr=Dt-H,Jr=Dt-oe;return H===n||Sr>=l||Sr<0||le&&Jr>=R}function Ue(){var Dt=Tc();if(Re(Dt))return Ye(Dt);N=va(Ue,We(Dt))}function Ye(Dt){return N=n,ve&&y?Te(Dt):(y=S=n,L)}function _n(){N!==n&&Wv(N),oe=0,y=H=S=N=n}function pn(){return N===n?L:Ye(Tc())}function Bn(){var Dt=Tc(),Sr=Re(Dt);if(y=arguments,S=this,H=Dt,Sr){if(N===n)return je(H);if(le)return Wv(N),N=va(Ue,l),Te(H)}return N===n&&(N=va(Ue,l)),L}return Bn.cancel=_n,Bn.flush=pn,Bn}var y4=$e(function(i,l){return xv(i,1,l)}),b4=$e(function(i,l,p){return xv(i,or(l)||0,p)});function x4(i){return Yr(i,G)}function Ec(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new Jn(a);var p=function(){var y=arguments,S=l?l.apply(this,y):y[0],R=p.cache;if(R.has(S))return R.get(S);var L=i.apply(this,y);return p.cache=R.set(S,L)||R,L};return p.cache=new(Ec.Cache||Gr),p}Ec.Cache=Gr;function Ic(i){if(typeof i!="function")throw new Jn(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function C4(i){return Iy(2,i)}var w4=l3(function(i,l){l=l.length==1&&Be(l[0])?Ct(l[0],Fn(Pe())):Ct(Kt(l,1),Fn(Pe()));var p=l.length;return $e(function(y){for(var S=-1,R=tn(y.length,p);++S<R;)y[S]=l[S].call(this,y[S]);return kn(i,this,y)})}),rp=$e(function(i,l){var p=bo(l,Qi(rp));return Yr(i,P,n,l,p)}),My=$e(function(i,l){var p=bo(l,Qi(My));return Yr(i,F,n,l,p)}),A4=Kr(function(i,l){return Yr(i,$,n,n,n,l)});function S4(i,l){if(typeof i!="function")throw new Jn(a);return l=l===n?l:Ve(l),$e(i,l)}function T4(i,l){if(typeof i!="function")throw new Jn(a);return l=l==null?0:zt(Ve(l),0),$e(function(p){var y=p[l],S=So(p,0,l);return y&&yo(S,y),kn(i,this,S)})}function E4(i,l,p){var y=!0,S=!0;if(typeof i!="function")throw new Jn(a);return It(p)&&(y="leading"in p?!!p.leading:y,S="trailing"in p?!!p.trailing:S),Ry(i,l,{leading:y,maxWait:l,trailing:S})}function I4(i){return Ey(i,1)}function O4(i,l){return rp(Wf(l),i)}function P4(){if(!arguments.length)return[];var i=arguments[0];return Be(i)?i:[i]}function j4(i){return tr(i,v)}function R4(i,l){return l=typeof l=="function"?l:n,tr(i,v,l)}function M4(i){return tr(i,g|v)}function k4(i,l){return l=typeof l=="function"?l:n,tr(i,g|v,l)}function F4(i,l){return l==null||bv(i,l,Ht(l))}function Ar(i,l){return i===l||i!==i&&l!==l}var D4=bc(Pf),L4=bc(function(i,l){return i>=l}),ui=Tv(function(){return arguments}())?Tv:function(i){return Pt(i)&&at.call(i,"callee")&&!dv.call(i,"callee")},Be=ee.isArray,_4=G0?Fn(G0):HP;function mn(i){return i!=null&&Oc(i.length)&&!Zr(i)}function Ft(i){return Pt(i)&&mn(i)}function B4(i){return i===!0||i===!1||Pt(i)&&dn(i)==xe}var To=QO||hp,N4=q0?Fn(q0):GP;function V4(i){return Pt(i)&&i.nodeType===1&&!ya(i)}function W4(i){if(i==null)return!0;if(mn(i)&&(Be(i)||typeof i=="string"||typeof i.splice=="function"||To(i)||Ji(i)||ui(i)))return!i.length;var l=nn(i);if(l==ge||l==mt)return!i.size;if(ma(i))return!Mf(i).length;for(var p in i)if(at.call(i,p))return!1;return!0}function $4(i,l){return pa(i,l)}function z4(i,l,p){p=typeof p=="function"?p:n;var y=p?p(i,l):n;return y===n?pa(i,l,n,p):!!y}function op(i){if(!Pt(i))return!1;var l=dn(i);return l==Ee||l==Ce||typeof i.message=="string"&&typeof i.name=="string"&&!ya(i)}function U4(i){return typeof i=="number"&&pv(i)}function Zr(i){if(!It(i))return!1;var l=dn(i);return l==ce||l==Xe||l==Ae||l==Mn}function ky(i){return typeof i=="number"&&i==Ve(i)}function Oc(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=B}function It(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Pt(i){return i!=null&&typeof i=="object"}var Fy=Y0?Fn(Y0):YP;function H4(i,l){return i===l||Rf(i,l,Yf(l))}function G4(i,l,p){return p=typeof p=="function"?p:n,Rf(i,l,Yf(l),p)}function q4(i){return Dy(i)&&i!=+i}function Y4(i){if(R3(i))throw new Le(s);return Ev(i)}function K4(i){return i===null}function X4(i){return i==null}function Dy(i){return typeof i=="number"||Pt(i)&&dn(i)==Ke}function ya(i){if(!Pt(i)||dn(i)!=St)return!1;var l=tc(i);if(l===null)return!0;var p=at.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&Zl.call(p)==GO}var ip=K0?Fn(K0):KP;function Z4(i){return ky(i)&&i>=-B&&i<=B}var Ly=X0?Fn(X0):XP;function Pc(i){return typeof i=="string"||!Be(i)&&Pt(i)&&dn(i)==Ut}function Ln(i){return typeof i=="symbol"||Pt(i)&&dn(i)==vt}var Ji=Z0?Fn(Z0):ZP;function Q4(i){return i===n}function J4(i){return Pt(i)&&nn(i)==Et}function e5(i){return Pt(i)&&dn(i)==ke}var t5=bc(kf),n5=bc(function(i,l){return i<=l});function _y(i){if(!i)return[];if(mn(i))return Pc(i)?Cr(i):gn(i);if(ia&&i[ia])return FO(i[ia]());var l=nn(i),p=l==ge?xf:l==mt?Yl:es;return p(i)}function Qr(i){if(!i)return i===0?i:0;if(i=or(i),i===K||i===-K){var l=i<0?-1:1;return l*ne}return i===i?i:0}function Ve(i){var l=Qr(i),p=l%1;return l===l?p?l-p:l:0}function By(i){return i?si(Ve(i),0,q):0}function or(i){if(typeof i=="number")return i;if(Ln(i))return V;if(It(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=It(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=rv(i);var p=nf.test(i);return p||Ne.test(i)?vO(i.slice(2),p?2:8):tf.test(i)?V:+i}function Ny(i){return Rr(i,vn(i))}function r5(i){return i?si(Ve(i),-B,B):i===0?i:0}function nt(i){return i==null?"":Dn(i)}var o5=Xi(function(i,l){if(ma(l)||mn(l)){Rr(l,Ht(l),i);return}for(var p in l)at.call(l,p)&&ua(i,p,l[p])}),Vy=Xi(function(i,l){Rr(l,vn(l),i)}),jc=Xi(function(i,l,p,y){Rr(l,vn(l),i,y)}),i5=Xi(function(i,l,p,y){Rr(l,Ht(l),i,y)}),s5=Kr(Ef);function a5(i,l){var p=Ki(i);return l==null?p:yv(p,l)}var l5=$e(function(i,l){i=ut(i);var p=-1,y=l.length,S=y>2?l[2]:n;for(S&&fn(l[0],l[1],S)&&(y=1);++p<y;)for(var R=l[p],L=vn(R),N=-1,H=L.length;++N<H;){var oe=L[N],ie=i[oe];(ie===n||Ar(ie,Gi[oe])&&!at.call(i,oe))&&(i[oe]=R[oe])}return i}),c5=$e(function(i){return i.push(n,ry),kn(Wy,n,i)});function u5(i,l){return J0(i,Pe(l,3),jr)}function d5(i,l){return J0(i,Pe(l,3),Of)}function f5(i,l){return i==null?i:If(i,Pe(l,3),vn)}function p5(i,l){return i==null?i:Av(i,Pe(l,3),vn)}function h5(i,l){return i&&jr(i,Pe(l,3))}function g5(i,l){return i&&Of(i,Pe(l,3))}function m5(i){return i==null?[]:dc(i,Ht(i))}function v5(i){return i==null?[]:dc(i,vn(i))}function sp(i,l,p){var y=i==null?n:ai(i,l);return y===n?p:y}function y5(i,l){return i!=null&&sy(i,l,WP)}function ap(i,l){return i!=null&&sy(i,l,$P)}var b5=Qv(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Ql.call(l)),i[l]=p},cp(yn)),x5=Qv(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Ql.call(l)),at.call(i,l)?i[l].push(p):i[l]=[p]},Pe),C5=$e(fa);function Ht(i){return mn(i)?mv(i):Mf(i)}function vn(i){return mn(i)?mv(i,!0):QP(i)}function w5(i,l){var p={};return l=Pe(l,3),jr(i,function(y,S,R){qr(p,l(y,S,R),y)}),p}function A5(i,l){var p={};return l=Pe(l,3),jr(i,function(y,S,R){qr(p,S,l(y,S,R))}),p}var S5=Xi(function(i,l,p){fc(i,l,p)}),Wy=Xi(function(i,l,p,y){fc(i,l,p,y)}),T5=Kr(function(i,l){var p={};if(i==null)return p;var y=!1;l=Ct(l,function(R){return R=Ao(R,i),y||(y=R.length>1),R}),Rr(i,Gf(i),p),y&&(p=tr(p,g|m|v,b3));for(var S=l.length;S--;)Bf(p,l[S]);return p});function E5(i,l){return $y(i,Ic(Pe(l)))}var I5=Kr(function(i,l){return i==null?{}:e3(i,l)});function $y(i,l){if(i==null)return{};var p=Ct(Gf(i),function(y){return[y]});return l=Pe(l),kv(i,p,function(y,S){return l(y,S[0])})}function O5(i,l,p){l=Ao(l,i);var y=-1,S=l.length;for(S||(S=1,i=n);++y<S;){var R=i==null?n:i[Mr(l[y])];R===n&&(y=S,R=p),i=Zr(R)?R.call(i):R}return i}function P5(i,l,p){return i==null?i:ha(i,l,p)}function j5(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:ha(i,l,p,y)}var zy=ty(Ht),Uy=ty(vn);function R5(i,l,p){var y=Be(i),S=y||To(i)||Ji(i);if(l=Pe(l,4),p==null){var R=i&&i.constructor;S?p=y?new R:[]:It(i)?p=Zr(R)?Ki(tc(i)):{}:p={}}return(S?Qn:jr)(i,function(L,N,H){return l(p,L,N,H)}),p}function M5(i,l){return i==null?!0:Bf(i,l)}function k5(i,l,p){return i==null?i:Bv(i,l,Wf(p))}function F5(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:Bv(i,l,Wf(p),y)}function es(i){return i==null?[]:bf(i,Ht(i))}function D5(i){return i==null?[]:bf(i,vn(i))}function L5(i,l,p){return p===n&&(p=l,l=n),p!==n&&(p=or(p),p=p===p?p:0),l!==n&&(l=or(l),l=l===l?l:0),si(or(i),l,p)}function _5(i,l,p){return l=Qr(l),p===n?(p=l,l=0):p=Qr(p),i=or(i),zP(i,l,p)}function B5(i,l,p){if(p&&typeof p!="boolean"&&fn(i,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof i=="boolean"&&(p=i,i=n)),i===n&&l===n?(i=0,l=1):(i=Qr(i),l===n?(l=i,i=0):l=Qr(l)),i>l){var y=i;i=l,l=y}if(p||i%1||l%1){var S=hv();return tn(i+S*(l-i+mO("1e-"+((S+"").length-1))),l)}return Df(i,l)}var N5=Zi(function(i,l,p){return l=l.toLowerCase(),i+(p?Hy(l):l)});function Hy(i){return lp(nt(i).toLowerCase())}function Gy(i){return i=nt(i),i&&i.replace(WI,PO).replace(sO,"")}function V5(i,l,p){i=nt(i),l=Dn(l);var y=i.length;p=p===n?y:si(Ve(p),0,y);var S=p;return p-=l.length,p>=0&&i.slice(p,S)==l}function W5(i){return i=nt(i),i&&Dl.test(i)?i.replace(ea,jO):i}function $5(i){return i=nt(i),i&&na.test(i)?i.replace(Ur,"\\$&"):i}var z5=Zi(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),U5=Zi(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),H5=Kv("toLowerCase");function G5(i,l,p){i=nt(i),l=Ve(l);var y=l?Ui(i):0;if(!l||y>=l)return i;var S=(l-y)/2;return yc(ic(S),p)+i+yc(oc(S),p)}function q5(i,l,p){i=nt(i),l=Ve(l);var y=l?Ui(i):0;return l&&y<l?i+yc(l-y,p):i}function Y5(i,l,p){i=nt(i),l=Ve(l);var y=l?Ui(i):0;return l&&y<l?yc(l-y,p)+i:i}function K5(i,l,p){return p||l==null?l=0:l&&(l=+l),nP(nt(i).replace(en,""),l||0)}function X5(i,l,p){return(p?fn(i,l,p):l===n)?l=1:l=Ve(l),Lf(nt(i),l)}function Z5(){var i=arguments,l=nt(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var Q5=Zi(function(i,l,p){return i+(p?"_":"")+l.toLowerCase()});function J5(i,l,p){return p&&typeof p!="number"&&fn(i,l,p)&&(l=p=n),p=p===n?q:p>>>0,p?(i=nt(i),i&&(typeof l=="string"||l!=null&&!ip(l))&&(l=Dn(l),!l&&zi(i))?So(Cr(i),0,p):i.split(l,p)):[]}var eR=Zi(function(i,l,p){return i+(p?" ":"")+lp(l)});function tR(i,l,p){return i=nt(i),p=p==null?0:si(Ve(p),0,i.length),l=Dn(l),i.slice(p,p+l.length)==l}function nR(i,l,p){var y=O.templateSettings;p&&fn(i,l,p)&&(l=n),i=nt(i),l=jc({},l,y,ny);var S=jc({},l.imports,y.imports,ny),R=Ht(S),L=bf(S,R),N,H,oe=0,ie=l.interpolate||zl,le="__p += '",ve=Cf((l.escape||zl).source+"|"+ie.source+"|"+(ie===_l?Wl:zl).source+"|"+(l.evaluate||zl).source+"|$","g"),Te="//# sourceURL="+(at.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++dO+"]")+`
196
+ `;i.replace(ve,function(Re,Ue,Ye,_n,pn,Bn){return Ye||(Ye=_n),le+=i.slice(oe,Bn).replace($I,RO),Ue&&(N=!0,le+=`' +
197
197
  __e(`+Ue+`) +
198
- '`),fn&&(H=!0,le+=`';
199
- `+fn+`;
198
+ '`),pn&&(H=!0,le+=`';
199
+ `+pn+`;
200
200
  __p += '`),Ye&&(le+=`' +
201
201
  ((__t = (`+Ye+`)) == null ? '' : __t) +
202
202
  '`),oe=Bn+Re.length,Re}),le+=`';
@@ -209,9 +209,9 @@ __p += '`),Ye&&(le+=`' +
209
209
  function print() { __p += __j.call(arguments, '') }
210
210
  `:`;
211
211
  `)+le+`return __p
212
- }`;var We=Yy(function(){return Qe(R,Te+"return "+le).apply(n,D)});if(We.source=le,op(We))throw We;return We}function rR(i){return nt(i).toLowerCase()}function oR(i){return nt(i).toUpperCase()}function iR(i,l,p){if(i=nt(i),i&&(p||l===n))return rv(i);if(!i||!(l=Dn(l)))return i;var b=Cr(i),S=Cr(l),R=ov(b,S),D=iv(b,S)+1;return So(b,R,D).join("")}function sR(i,l,p){if(i=nt(i),i&&(p||l===n))return i.slice(0,av(i)+1);if(!i||!(l=Dn(l)))return i;var b=Cr(i),S=iv(b,Cr(l))+1;return So(b,0,S).join("")}function aR(i,l,p){if(i=nt(i),i&&(p||l===n))return i.replace(en,"");if(!i||!(l=Dn(l)))return i;var b=Cr(i),S=ov(b,Cr(l));return So(b,S).join("")}function lR(i,l){var p=J,b=U;if(It(l)){var S="separator"in l?l.separator:S;p="length"in l?Ve(l.length):p,b="omission"in l?Dn(l.omission):b}i=nt(i);var R=i.length;if(zi(i)){var D=Cr(i);R=D.length}if(p>=R)return i;var N=p-Ui(b);if(N<1)return b;var H=D?So(D,0,N).join(""):i.slice(0,N);if(S===n)return H+b;if(D&&(N+=H.length-N),ip(S)){if(i.slice(N).search(S)){var oe,ie=H;for(S.global||(S=Cf(S.source,nt($l.exec(S))+"g")),S.lastIndex=0;oe=S.exec(ie);)var le=oe.index;H=H.slice(0,le===n?N:le)}}else if(i.indexOf(Dn(S),N)!=N){var ve=H.lastIndexOf(S);ve>-1&&(H=H.slice(0,ve))}return H+b}function cR(i){return i=nt(i),i&&Fl.test(i)?i.replace(kl,BO):i}var uR=Zi(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),lp=Kv("toUpperCase");function qy(i,l,p){return i=nt(i),l=p?n:l,l===n?kO(i)?WO(i):SO(i):i.match(l)||[]}var Yy=$e(function(i,l){try{return kn(i,n,l)}catch(p){return op(p)?p:new Le(p)}}),dR=Kr(function(i,l){return Qn(l,function(p){p=Mr(p),qr(i,p,np(i[p],i))}),i});function fR(i){var l=i==null?0:i.length,p=Pe();return i=l?Ct(i,function(b){if(typeof b[1]!="function")throw new Jn(a);return[p(b[0]),b[1]]}):[],$e(function(b){for(var S=-1;++S<l;){var R=i[S];if(kn(R[0],this,b))return kn(R[1],this,b)}})}function pR(i){return BP(tr(i,g))}function cp(i){return function(){return i}}function hR(i,l){return i==null||i!==i?l:i}var gR=Zv(),mR=Zv(!0);function yn(i){return i}function up(i){return Iv(typeof i=="function"?i:tr(i,g))}function vR(i){return Pv(tr(i,g))}function yR(i,l){return jv(i,tr(l,g))}var bR=$e(function(i,l){return function(p){return fa(p,i,l)}}),xR=$e(function(i,l){return function(p){return fa(i,p,l)}});function dp(i,l,p){var b=Ht(l),S=dc(l,b);p==null&&!(It(l)&&(S.length||!b.length))&&(p=l,l=i,i=this,S=dc(l,Ht(l)));var R=!(It(p)&&"chain"in p)||!!p.chain,D=Zr(i);return Qn(S,function(N){var H=l[N];i[N]=H,D&&(i.prototype[N]=function(){var oe=this.__chain__;if(R||oe){var ie=i(this.__wrapped__),le=ie.__actions__=gn(this.__actions__);return le.push({func:H,args:arguments,thisArg:i}),ie.__chain__=oe,ie}return H.apply(i,yo([this.value()],arguments))})}),i}function CR(){return Yt._===this&&(Yt._=qO),this}function fp(){}function wR(i){return i=Ve(i),$e(function(l){return Rv(l,i)})}var AR=zf(Ct),SR=zf(Q0),TR=zf(hf);function Ky(i){return Xf(i)?gf(Mr(i)):t3(i)}function ER(i){return function(l){return i==null?n:ai(i,l)}}var IR=Jv(),OR=Jv(!0);function pp(){return[]}function hp(){return!1}function PR(){return{}}function jR(){return""}function RR(){return!0}function MR(i,l){if(i=Ve(i),i<1||i>B)return[];var p=q,b=tn(i,q);l=Pe(l),i-=q;for(var S=yf(b,l);++p<i;)l(p);return S}function kR(i){return Be(i)?Ct(i,Mr):Ln(i)?[i]:gn(gy(nt(i)))}function FR(i){var l=++HO;return nt(i)+l}var DR=vc(function(i,l){return i+l},0),LR=Uf("ceil"),_R=vc(function(i,l){return i/l},1),BR=Uf("floor");function NR(i){return i&&i.length?uc(i,yn,Pf):n}function VR(i,l){return i&&i.length?uc(i,Pe(l,2),Pf):n}function WR(i){return tv(i,yn)}function $R(i,l){return tv(i,Pe(l,2))}function zR(i){return i&&i.length?uc(i,yn,kf):n}function UR(i,l){return i&&i.length?uc(i,Pe(l,2),kf):n}var HR=vc(function(i,l){return i*l},1),GR=Uf("round"),qR=vc(function(i,l){return i-l},0);function YR(i){return i&&i.length?vf(i,yn):0}function KR(i,l){return i&&i.length?vf(i,Pe(l,2)):0}return O.after=v4,O.ary=Ey,O.assign=o5,O.assignIn=Vy,O.assignInWith=jc,O.assignWith=i5,O.at=s5,O.before=Iy,O.bind=np,O.bindAll=dR,O.bindKey=Oy,O.castArray=P4,O.chain=Ay,O.chunk=B3,O.compact=N3,O.concat=V3,O.cond=fR,O.conforms=pR,O.constant=cp,O.countBy=Yj,O.create=a5,O.curry=Py,O.curryRight=jy,O.debounce=Ry,O.defaults=l5,O.defaultsDeep=c5,O.defer=y4,O.delay=b4,O.difference=W3,O.differenceBy=$3,O.differenceWith=z3,O.drop=U3,O.dropRight=H3,O.dropRightWhile=G3,O.dropWhile=q3,O.fill=Y3,O.filter=Xj,O.flatMap=Jj,O.flatMapDeep=e4,O.flatMapDepth=t4,O.flatten=by,O.flattenDeep=K3,O.flattenDepth=X3,O.flip=x4,O.flow=gR,O.flowRight=mR,O.fromPairs=Z3,O.functions=m5,O.functionsIn=v5,O.groupBy=n4,O.initial=J3,O.intersection=ej,O.intersectionBy=tj,O.intersectionWith=nj,O.invert=b5,O.invertBy=x5,O.invokeMap=o4,O.iteratee=up,O.keyBy=i4,O.keys=Ht,O.keysIn=vn,O.map=Sc,O.mapKeys=w5,O.mapValues=A5,O.matches=vR,O.matchesProperty=yR,O.memoize=Ec,O.merge=S5,O.mergeWith=Wy,O.method=bR,O.methodOf=xR,O.mixin=dp,O.negate=Ic,O.nthArg=wR,O.omit=T5,O.omitBy=E5,O.once=C4,O.orderBy=s4,O.over=AR,O.overArgs=w4,O.overEvery=SR,O.overSome=TR,O.partial=rp,O.partialRight=My,O.partition=a4,O.pick=I5,O.pickBy=$y,O.property=Ky,O.propertyOf=ER,O.pull=sj,O.pullAll=Cy,O.pullAllBy=aj,O.pullAllWith=lj,O.pullAt=cj,O.range=IR,O.rangeRight=OR,O.rearg=A4,O.reject=u4,O.remove=uj,O.rest=S4,O.reverse=ep,O.sampleSize=f4,O.set=P5,O.setWith=j5,O.shuffle=p4,O.slice=dj,O.sortBy=m4,O.sortedUniq=yj,O.sortedUniqBy=bj,O.split=J5,O.spread=T4,O.tail=xj,O.take=Cj,O.takeRight=wj,O.takeRightWhile=Aj,O.takeWhile=Sj,O.tap=Nj,O.throttle=E4,O.thru=Ac,O.toArray=_y,O.toPairs=zy,O.toPairsIn=Uy,O.toPath=kR,O.toPlainObject=Ny,O.transform=R5,O.unary=I4,O.union=Tj,O.unionBy=Ej,O.unionWith=Ij,O.uniq=Oj,O.uniqBy=Pj,O.uniqWith=jj,O.unset=M5,O.unzip=tp,O.unzipWith=wy,O.update=k5,O.updateWith=F5,O.values=es,O.valuesIn=D5,O.without=Rj,O.words=qy,O.wrap=O4,O.xor=Mj,O.xorBy=kj,O.xorWith=Fj,O.zip=Dj,O.zipObject=Lj,O.zipObjectDeep=_j,O.zipWith=Bj,O.entries=zy,O.entriesIn=Uy,O.extend=Vy,O.extendWith=jc,dp(O,O),O.add=DR,O.attempt=Yy,O.camelCase=N5,O.capitalize=Hy,O.ceil=LR,O.clamp=L5,O.clone=j4,O.cloneDeep=M4,O.cloneDeepWith=k4,O.cloneWith=R4,O.conformsTo=F4,O.deburr=Gy,O.defaultTo=hR,O.divide=_R,O.endsWith=V5,O.eq=Ar,O.escape=W5,O.escapeRegExp=$5,O.every=Kj,O.find=Zj,O.findIndex=vy,O.findKey=u5,O.findLast=Qj,O.findLastIndex=yy,O.findLastKey=d5,O.floor=BR,O.forEach=Sy,O.forEachRight=Ty,O.forIn=f5,O.forInRight=p5,O.forOwn=h5,O.forOwnRight=g5,O.get=sp,O.gt=D4,O.gte=L4,O.has=y5,O.hasIn=ap,O.head=xy,O.identity=yn,O.includes=r4,O.indexOf=Q3,O.inRange=_5,O.invoke=C5,O.isArguments=ui,O.isArray=Be,O.isArrayBuffer=_4,O.isArrayLike=mn,O.isArrayLikeObject=Ft,O.isBoolean=B4,O.isBuffer=To,O.isDate=N4,O.isElement=V4,O.isEmpty=W4,O.isEqual=$4,O.isEqualWith=z4,O.isError=op,O.isFinite=U4,O.isFunction=Zr,O.isInteger=ky,O.isLength=Oc,O.isMap=Fy,O.isMatch=H4,O.isMatchWith=G4,O.isNaN=q4,O.isNative=Y4,O.isNil=X4,O.isNull=K4,O.isNumber=Dy,O.isObject=It,O.isObjectLike=Pt,O.isPlainObject=ya,O.isRegExp=ip,O.isSafeInteger=Z4,O.isSet=Ly,O.isString=Pc,O.isSymbol=Ln,O.isTypedArray=Ji,O.isUndefined=Q4,O.isWeakMap=J4,O.isWeakSet=e5,O.join=rj,O.kebabCase=z5,O.last=rr,O.lastIndexOf=oj,O.lowerCase=U5,O.lowerFirst=H5,O.lt=t5,O.lte=n5,O.max=NR,O.maxBy=VR,O.mean=WR,O.meanBy=$R,O.min=zR,O.minBy=UR,O.stubArray=pp,O.stubFalse=hp,O.stubObject=PR,O.stubString=jR,O.stubTrue=RR,O.multiply=HR,O.nth=ij,O.noConflict=CR,O.noop=fp,O.now=Tc,O.pad=G5,O.padEnd=q5,O.padStart=Y5,O.parseInt=K5,O.random=B5,O.reduce=l4,O.reduceRight=c4,O.repeat=X5,O.replace=Z5,O.result=O5,O.round=GR,O.runInContext=z,O.sample=d4,O.size=h4,O.snakeCase=Q5,O.some=g4,O.sortedIndex=fj,O.sortedIndexBy=pj,O.sortedIndexOf=hj,O.sortedLastIndex=gj,O.sortedLastIndexBy=mj,O.sortedLastIndexOf=vj,O.startCase=eR,O.startsWith=tR,O.subtract=qR,O.sum=YR,O.sumBy=KR,O.template=nR,O.times=MR,O.toFinite=Qr,O.toInteger=Ve,O.toLength=By,O.toLower=rR,O.toNumber=or,O.toSafeInteger=r5,O.toString=nt,O.toUpper=oR,O.trim=iR,O.trimEnd=sR,O.trimStart=aR,O.truncate=lR,O.unescape=cR,O.uniqueId=FR,O.upperCase=uR,O.upperFirst=lp,O.each=Sy,O.eachRight=Ty,O.first=xy,dp(O,function(){var i={};return jr(O,function(l,p){at.call(O.prototype,p)||(i[p]=l)}),i}(),{chain:!1}),O.VERSION=r,Qn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){O[i].placeholder=O}),Qn(["drop","take"],function(i,l){Ge.prototype[i]=function(p){p=p===n?1:zt(Ve(p),0);var b=this.__filtered__&&!l?new Ge(this):this.clone();return b.__filtered__?b.__takeCount__=tn(p,b.__takeCount__):b.__views__.push({size:tn(p,q),type:i+(b.__dir__<0?"Right":"")}),b},Ge.prototype[i+"Right"]=function(p){return this.reverse()[i](p).reverse()}}),Qn(["filter","map","takeWhile"],function(i,l){var p=l+1,b=p==Z||p==W;Ge.prototype[i]=function(S){var R=this.clone();return R.__iteratees__.push({iteratee:Pe(S,3),type:p}),R.__filtered__=R.__filtered__||b,R}}),Qn(["head","last"],function(i,l){var p="take"+(l?"Right":"");Ge.prototype[i]=function(){return this[p](1).value()[0]}}),Qn(["initial","tail"],function(i,l){var p="drop"+(l?"":"Right");Ge.prototype[i]=function(){return this.__filtered__?new Ge(this):this[p](1)}}),Ge.prototype.compact=function(){return this.filter(yn)},Ge.prototype.find=function(i){return this.filter(i).head()},Ge.prototype.findLast=function(i){return this.reverse().find(i)},Ge.prototype.invokeMap=$e(function(i,l){return typeof i=="function"?new Ge(this):this.map(function(p){return fa(p,i,l)})}),Ge.prototype.reject=function(i){return this.filter(Ic(Pe(i)))},Ge.prototype.slice=function(i,l){i=Ve(i);var p=this;return p.__filtered__&&(i>0||l<0)?new Ge(p):(i<0?p=p.takeRight(-i):i&&(p=p.drop(i)),l!==n&&(l=Ve(l),p=l<0?p.dropRight(-l):p.take(l-i)),p)},Ge.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ge.prototype.toArray=function(){return this.take(q)},jr(Ge.prototype,function(i,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),b=/^(?:head|last)$/.test(l),S=O[b?"take"+(l=="last"?"Right":""):l],R=b||/^find/.test(l);S&&(O.prototype[l]=function(){var D=this.__wrapped__,N=b?[1]:arguments,H=D instanceof Ge,oe=N[0],ie=H||Be(D),le=function(Ue){var Ye=S.apply(O,yo([Ue],N));return b&&ve?Ye[0]:Ye};ie&&p&&typeof oe=="function"&&oe.length!=1&&(H=ie=!1);var ve=this.__chain__,Te=!!this.__actions__.length,je=R&&!ve,We=H&&!Te;if(!R&&ie){D=We?D:new Ge(this);var Re=i.apply(D,N);return Re.__actions__.push({func:Ac,args:[le],thisArg:n}),new er(Re,ve)}return je&&We?i.apply(this,N):(Re=this.thru(le),je?b?Re.value()[0]:Re.value():Re)})}),Qn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Kl[i],p=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",b=/^(?:pop|shift)$/.test(i);O.prototype[i]=function(){var S=arguments;if(b&&!this.__chain__){var R=this.value();return l.apply(Be(R)?R:[],S)}return this[p](function(D){return l.apply(Be(D)?D:[],S)})}}),jr(Ge.prototype,function(i,l){var p=O[l];if(p){var b=p.name+"";at.call(Yi,b)||(Yi[b]=[]),Yi[b].push({name:l,func:p})}}),Yi[mc(n,I).name]=[{name:"wrapper",func:n}],Ge.prototype.clone=cP,Ge.prototype.reverse=uP,Ge.prototype.value=dP,O.prototype.at=Vj,O.prototype.chain=Wj,O.prototype.commit=$j,O.prototype.next=zj,O.prototype.plant=Hj,O.prototype.reverse=Gj,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=qj,O.prototype.first=O.prototype.head,ia&&(O.prototype[ia]=Uj),O},Hi=$O();ni?((ni.exports=Hi)._=Hi,uf._=Hi):Yt._=Hi}).call(An)})(zu,zu.exports);var ct=zu.exports;const Q=ho(ct),GX=["e-","entities/"];function qX(e){let t=e;return GX.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function YX(e,t){var n,r;return((n=t.options)==null?void 0:n.group)===e.id||!((r=t.options)!=null&&r.group)&&e.id==="admin"}function KX(e,t){const n=qX(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function Uh(e,t){let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=Uh(o.children,t),n))return n}return n}function g2(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&YX(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=g2(s.children,t),r))return r}return r}function m2(e,t){let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=m2(o.children,t),n))return n}return n}function v2(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(v2)),e.children&&e.children.length>0):!1}function y2(e){return e.children&&e.children.forEach(t=>{t.parent=e,y2(t)}),e}function XX(e,t,n,r,o){function s(g){return g.title=r(g.title,{_:g.title}),g.children&&g.children.forEach(m=>s(m)),g}const a=Object.keys(t);function c(g,m){return g.children&&(g.children=g.children.filter(v=>{if(v.resource===!1){const x=v.roles||[];return!!(x.length===0||x.some(y=>o.includes(y)))}return v.type==="item"?m.includes(v.id):(c(v,m),v.children&&v.children.length>0)})),g}const u=Q.cloneDeep(e).map(g=>({children:[],...g,type:g.type||"group"})).map(s).map(g=>c(g,a)),d=Object.values(t).map(g=>{var m;return((m=g.options)==null?void 0:m.group)||"admin"}).filter((g,m,v)=>v.indexOf(g)===m).filter(g=>g!==void 0&&m2(e,g)===null).map(g=>({id:g,title:r(`ra.menu.group.${g}`),type:"group",icon:qe.AntDesignOutlined,children:[]})),h=[...u,...d];return Object.values(t).forEach(g=>{var M,E,j,P;const m=g2(h,g),v=(M=m==null?void 0:m.children)==null?void 0:M.find(F=>F.id===g.name),x=(E=m==null?void 0:m.children)==null?void 0:E.some(F=>F.id===g.name),y=(v==null?void 0:v.roles)||((j=g.options)==null?void 0:j.roles)||[],w=!y||y.length===0||y.some(F=>o.includes(F));if(!KX(g,n)||g.list||!w){x&&m&&m.children&&((P=m==null?void 0:m.children)==null?void 0:P.length)>0&&(m.children=m.children.filter(F=>F.id!==g.name));return}m&&(m.children||(m.children=[]))}),h.filter(v2).map(y2)}function Oa(){throw new Error("Not implemented")}const b2={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Oa,openDrawer:Oa,activeID:Oa,hasError:Oa,setMenu:Oa},x2=T.createContext(b2);function C2({menu:e,children:t}){const[n,r]=T.useState({...b2,menu:e});function o(d){r(h=>({...h,menu:d}))}function s(d){r(h=>({...h,openItem:d}))}function a(d){r(h=>({...h,selectedID:d}))}function c(d){r(h=>({...h,drawerOpen:d}))}function u(d){r(h=>({...h,error:d}))}return T.useEffect(()=>{o(e)},[e]),f.jsx(x2.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Bd(){return T.useContext(x2)}function Ym(){const e=te.useResourceDefinitions(),{isLoading:t,data:n}=te.useGetIdentity(),r=!!n&&!!n.id,{permissions:o}=te.usePermissions(r),{menu:s}=Bd(),a=te.useTranslate(),c=T.useMemo(()=>{if(t||!n)return null;const h=((n==null?void 0:n.roles)||[]).map(m=>m.id);return XX(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return Uh(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:Uh}}function w2(){const e=te.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=Ym(),{pathname:o}=ji.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=Q.cloneDeep(n);let c=o,u=r(a,o);if((!u||u.type==="collapse"||u.type==="group")&&(u=r(a,s[s.length-1]),c=u?u.id:c),!u||u.type==="collapse"||u.type==="group")for(let v=s.length;v>=0;v--){const x=s.slice(0,v).join("/");if(u=r(a,x),u){c=u.id;break}}const d=(m=u==null?void 0:u.url)==null?void 0:m.split("/"),h=(d==null?void 0:d.length)||0;if(s.length>=h){const v=s[s.length-1];if(u){const x=v==="create"||o===u.url?"create":"edit",y=`resources.${c}.breadcrumbs.${x}`,w={id:`${c}-${x}`,type:"item",title:e(y,{_:e(y,{_:y})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(w),u=w}}let g=[];if(u){let v={...u,last:!0};for(;v;)g.push(v),v=v.parent;g=g.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:g}},[t,o,n,r,e])}function rl(){return Bd()}function Pr(e,t,n){const r=Q.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>Q.isFunction(a)?a:void 0).value();n!=null&&n.defaults?Q.defaultsDeep(r,t):Q.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{Q.isEqual(o,r)||s(r)},[o,r]),o}function ZX(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}function Bi(e){this._maxSize=e,this.clear()}Bi.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Bi.prototype.get=function(e){return this._values[e]};Bi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var QX=/[^.^\]^[]+|(?=\[\]|\.\.)/g,A2=/^\d+$/,JX=/^\d/,eZ=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,tZ=/^\s*(['"]?)(.*?)(\1)\s*$/,Km=512,J1=new Bi(Km),eC=new Bi(Km),tC=new Bi(Km),Oi={Cache:Bi,split:Hh,normalizePath:Yp,setter:function(e){var t=Yp(e);return eC.get(e)||eC.set(e,function(r,o){for(var s=0,a=t.length,c=r;s<a-1;){var u=t[s];if(u==="__proto__"||u==="constructor"||u==="prototype")return r;c=c[t[s++]]}c[t[s]]=o})},getter:function(e,t){var n=Yp(e);return tC.get(e)||tC.set(e,function(o){for(var s=0,a=n.length;s<a;)if(o!=null||!t)o=o[n[s++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Xm(n)||A2.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){nZ(Array.isArray(e)?e:Hh(e),t,n)}};function Yp(e){return J1.get(e)||J1.set(e,Hh(e).map(function(t){return t.replace(tZ,"$2")}))}function Hh(e){return e.match(QX)||[""]}function nZ(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(iZ(o)&&(o='"'+o+'"'),c=Xm(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Xm(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function rZ(e){return e.match(JX)&&!e.match(A2)}function oZ(e){return eZ.test(e)}function iZ(e){return!Xm(e)&&(rZ(e)||oZ(e))}const sZ=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,Nd=e=>e.match(sZ)||[],Vd=e=>e[0].toUpperCase()+e.slice(1),Zm=(e,t)=>Nd(e).join(t).toLowerCase(),S2=e=>Nd(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),aZ=e=>Vd(S2(e)),lZ=e=>Zm(e,"_"),cZ=e=>Zm(e,"-"),uZ=e=>Vd(Zm(e," ")),dZ=e=>Nd(e).map(Vd).join(" ");var Kp={words:Nd,upperFirst:Vd,camelCase:S2,pascalCase:aZ,snakeCase:lZ,kebabCase:cZ,sentenceCase:uZ,titleCase:dZ},Qm={exports:{}};Qm.exports=function(e){return T2(fZ(e),e)};Qm.exports.array=T2;function T2(e,t){var n=e.length,r=new Array(n),o={},s=n,a=pZ(t),c=hZ(e);for(t.forEach(function(d){if(!c.has(d[0])||!c.has(d[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)o[s]||u(e[s],s,new Set);return r;function u(d,h,g){if(g.has(d)){var m;try{m=", node was:"+JSON.stringify(d)}catch{m=""}throw new Error("Cyclic dependency"+m)}if(!c.has(d))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(d));if(!o[h]){o[h]=!0;var v=a.get(d)||new Set;if(v=Array.from(v),h=v.length){g.add(d);do{var x=v[--h];u(x,c.get(x),g)}while(h);g.delete(d)}r[--n]=d}}}function fZ(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function pZ(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function hZ(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var gZ=Qm.exports;const mZ=ho(gZ),vZ=Object.prototype.toString,yZ=Error.prototype.toString,bZ=RegExp.prototype.toString,xZ=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",CZ=/^Symbol\((.*)\)(.*)$/;function wZ(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function nC(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return wZ(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return xZ.call(e).replace(CZ,"Symbol($1)");const r=vZ.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+yZ.call(e)+"]":r==="RegExp"?bZ.call(e):null}function Vo(e,t){let n=nC(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=nC(this[r],t);return s!==null?s:o},2)}function E2(e){return e==null?[]:[].concat(e)}let I2,O2,P2,AZ=/\$\{\s*(\w+)\s*\}/g;I2=Symbol.toStringTag;class rC{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[I2]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],E2(t).forEach(s=>{if(wn.isError(s)){this.errors.push(...s.errors);const a=s.inner.length?s.inner:[s];this.inner.push(...a)}else this.errors.push(s)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}O2=Symbol.hasInstance;P2=Symbol.toStringTag;class wn extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(AZ,(o,s)=>Vo(n[s])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,s){const a=new rC(t,n,r,o);if(s)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[P2]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,wn)}static[O2](t){return rC[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Fr={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${Vo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Vo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Vo(n,!0)}\``+o}},Cn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Mo={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Gh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},SZ={isValue:"${path} field must be ${value}"},qh={noUnknown:"${path} field has unspecified keys: ${unknown}"},TZ={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},EZ={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${Vo(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${Vo(n,!0)}\``}return wn.formatError(Fr.notType,e)}};Object.assign(Object.create(null),{mixed:Fr,string:Cn,number:Mo,date:Gh,object:qh,array:TZ,boolean:SZ,tuple:EZ});const Jm=e=>e&&e.__isYupSchema__;class Uu{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:s}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new Uu(t,(c,u)=>{var d;let h=a(...c)?o:s;return(d=h==null?void 0:h(u))!=null?d:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(s=>s.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Jm(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const qc={context:"$",value:"."};class Ni{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===qc.context,this.isValue=this.key[0]===qc.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?qc.context:this.isValue?qc.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Oi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Ni.prototype.__isYupRef=!0;const so=e=>e==null;function as(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:d,test:h,params:g,message:m,skipAbsent:v}=e;let{parent:x,context:y,abortEarly:w=a.spec.abortEarly,disableStackTrace:I=a.spec.disableStackTrace}=o;function M(U){return Ni.isRef(U)?U.getValue(n,x,y):U}function E(U={}){const ae=Object.assign({value:n,originalValue:s,label:a.spec.label,path:U.path||r,spec:a.spec,disableStackTrace:U.disableStackTrace||I},g,U.params);for(const Z of Object.keys(ae))ae[Z]=M(ae[Z]);const se=new wn(wn.formatError(U.message||m,ae),n,ae.path,U.type||d,ae.disableStackTrace);return se.params=ae,se}const j=w?c:u;let P={path:r,parent:x,type:d,from:o.from,createError:E,resolve:M,options:o,originalValue:s,schema:a};const F=U=>{wn.isError(U)?j(U):U?u(null):j(E())},k=U=>{wn.isError(U)?j(U):c(U)};if(v&&so(n))return F(!0);let G;try{var J;if(G=h.call(P,n,P),typeof((J=G)==null?void 0:J.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(G).then(F,k)}}catch(U){k(U);return}F(G)}return t.OPTIONS=e,t}function IZ(e,t,n,r=n){let o,s,a;return t?(Oi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let g=e.type==="tuple",m=d?parseInt(h,10):0;if(e.innerType||g){if(g&&!d)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&m>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[m],e=g?e.spec.types[m]:e.innerType}if(!d){if(!e.fields||!e.fields[h])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[h],e=e.fields[h]}s=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Hu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ni.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Hu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function ws(e,t=new Map){if(Jm(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=ws(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,ws(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(ws(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=ws(o,t)}else throw Error(`Unable to clone ${e}`);return n}class hr{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Hu,this._blacklist=new Hu,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Fr.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=ws(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(s=>{t.tests.forEach(a=>{s.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,s)=>s.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,s;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(s=t.disableStackTrace)!=null?s:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",s=r._cast(t,n);if(n.assert!==!1&&!r.isType(s)){if(o&&so(s))return s;let a=Vo(t),c=Vo(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
212
+ }`;var We=Yy(function(){return Qe(R,Te+"return "+le).apply(n,L)});if(We.source=le,op(We))throw We;return We}function rR(i){return nt(i).toLowerCase()}function oR(i){return nt(i).toUpperCase()}function iR(i,l,p){if(i=nt(i),i&&(p||l===n))return rv(i);if(!i||!(l=Dn(l)))return i;var y=Cr(i),S=Cr(l),R=ov(y,S),L=iv(y,S)+1;return So(y,R,L).join("")}function sR(i,l,p){if(i=nt(i),i&&(p||l===n))return i.slice(0,av(i)+1);if(!i||!(l=Dn(l)))return i;var y=Cr(i),S=iv(y,Cr(l))+1;return So(y,0,S).join("")}function aR(i,l,p){if(i=nt(i),i&&(p||l===n))return i.replace(en,"");if(!i||!(l=Dn(l)))return i;var y=Cr(i),S=ov(y,Cr(l));return So(y,S).join("")}function lR(i,l){var p=J,y=U;if(It(l)){var S="separator"in l?l.separator:S;p="length"in l?Ve(l.length):p,y="omission"in l?Dn(l.omission):y}i=nt(i);var R=i.length;if(zi(i)){var L=Cr(i);R=L.length}if(p>=R)return i;var N=p-Ui(y);if(N<1)return y;var H=L?So(L,0,N).join(""):i.slice(0,N);if(S===n)return H+y;if(L&&(N+=H.length-N),ip(S)){if(i.slice(N).search(S)){var oe,ie=H;for(S.global||(S=Cf(S.source,nt($l.exec(S))+"g")),S.lastIndex=0;oe=S.exec(ie);)var le=oe.index;H=H.slice(0,le===n?N:le)}}else if(i.indexOf(Dn(S),N)!=N){var ve=H.lastIndexOf(S);ve>-1&&(H=H.slice(0,ve))}return H+y}function cR(i){return i=nt(i),i&&Fl.test(i)?i.replace(kl,BO):i}var uR=Zi(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),lp=Kv("toUpperCase");function qy(i,l,p){return i=nt(i),l=p?n:l,l===n?kO(i)?WO(i):SO(i):i.match(l)||[]}var Yy=$e(function(i,l){try{return kn(i,n,l)}catch(p){return op(p)?p:new Le(p)}}),dR=Kr(function(i,l){return Qn(l,function(p){p=Mr(p),qr(i,p,np(i[p],i))}),i});function fR(i){var l=i==null?0:i.length,p=Pe();return i=l?Ct(i,function(y){if(typeof y[1]!="function")throw new Jn(a);return[p(y[0]),y[1]]}):[],$e(function(y){for(var S=-1;++S<l;){var R=i[S];if(kn(R[0],this,y))return kn(R[1],this,y)}})}function pR(i){return BP(tr(i,g))}function cp(i){return function(){return i}}function hR(i,l){return i==null||i!==i?l:i}var gR=Zv(),mR=Zv(!0);function yn(i){return i}function up(i){return Iv(typeof i=="function"?i:tr(i,g))}function vR(i){return Pv(tr(i,g))}function yR(i,l){return jv(i,tr(l,g))}var bR=$e(function(i,l){return function(p){return fa(p,i,l)}}),xR=$e(function(i,l){return function(p){return fa(i,p,l)}});function dp(i,l,p){var y=Ht(l),S=dc(l,y);p==null&&!(It(l)&&(S.length||!y.length))&&(p=l,l=i,i=this,S=dc(l,Ht(l)));var R=!(It(p)&&"chain"in p)||!!p.chain,L=Zr(i);return Qn(S,function(N){var H=l[N];i[N]=H,L&&(i.prototype[N]=function(){var oe=this.__chain__;if(R||oe){var ie=i(this.__wrapped__),le=ie.__actions__=gn(this.__actions__);return le.push({func:H,args:arguments,thisArg:i}),ie.__chain__=oe,ie}return H.apply(i,yo([this.value()],arguments))})}),i}function CR(){return Yt._===this&&(Yt._=qO),this}function fp(){}function wR(i){return i=Ve(i),$e(function(l){return Rv(l,i)})}var AR=zf(Ct),SR=zf(Q0),TR=zf(hf);function Ky(i){return Xf(i)?gf(Mr(i)):t3(i)}function ER(i){return function(l){return i==null?n:ai(i,l)}}var IR=Jv(),OR=Jv(!0);function pp(){return[]}function hp(){return!1}function PR(){return{}}function jR(){return""}function RR(){return!0}function MR(i,l){if(i=Ve(i),i<1||i>B)return[];var p=q,y=tn(i,q);l=Pe(l),i-=q;for(var S=yf(y,l);++p<i;)l(p);return S}function kR(i){return Be(i)?Ct(i,Mr):Ln(i)?[i]:gn(gy(nt(i)))}function FR(i){var l=++HO;return nt(i)+l}var DR=vc(function(i,l){return i+l},0),LR=Uf("ceil"),_R=vc(function(i,l){return i/l},1),BR=Uf("floor");function NR(i){return i&&i.length?uc(i,yn,Pf):n}function VR(i,l){return i&&i.length?uc(i,Pe(l,2),Pf):n}function WR(i){return tv(i,yn)}function $R(i,l){return tv(i,Pe(l,2))}function zR(i){return i&&i.length?uc(i,yn,kf):n}function UR(i,l){return i&&i.length?uc(i,Pe(l,2),kf):n}var HR=vc(function(i,l){return i*l},1),GR=Uf("round"),qR=vc(function(i,l){return i-l},0);function YR(i){return i&&i.length?vf(i,yn):0}function KR(i,l){return i&&i.length?vf(i,Pe(l,2)):0}return O.after=v4,O.ary=Ey,O.assign=o5,O.assignIn=Vy,O.assignInWith=jc,O.assignWith=i5,O.at=s5,O.before=Iy,O.bind=np,O.bindAll=dR,O.bindKey=Oy,O.castArray=P4,O.chain=Ay,O.chunk=B3,O.compact=N3,O.concat=V3,O.cond=fR,O.conforms=pR,O.constant=cp,O.countBy=Yj,O.create=a5,O.curry=Py,O.curryRight=jy,O.debounce=Ry,O.defaults=l5,O.defaultsDeep=c5,O.defer=y4,O.delay=b4,O.difference=W3,O.differenceBy=$3,O.differenceWith=z3,O.drop=U3,O.dropRight=H3,O.dropRightWhile=G3,O.dropWhile=q3,O.fill=Y3,O.filter=Xj,O.flatMap=Jj,O.flatMapDeep=e4,O.flatMapDepth=t4,O.flatten=by,O.flattenDeep=K3,O.flattenDepth=X3,O.flip=x4,O.flow=gR,O.flowRight=mR,O.fromPairs=Z3,O.functions=m5,O.functionsIn=v5,O.groupBy=n4,O.initial=J3,O.intersection=ej,O.intersectionBy=tj,O.intersectionWith=nj,O.invert=b5,O.invertBy=x5,O.invokeMap=o4,O.iteratee=up,O.keyBy=i4,O.keys=Ht,O.keysIn=vn,O.map=Sc,O.mapKeys=w5,O.mapValues=A5,O.matches=vR,O.matchesProperty=yR,O.memoize=Ec,O.merge=S5,O.mergeWith=Wy,O.method=bR,O.methodOf=xR,O.mixin=dp,O.negate=Ic,O.nthArg=wR,O.omit=T5,O.omitBy=E5,O.once=C4,O.orderBy=s4,O.over=AR,O.overArgs=w4,O.overEvery=SR,O.overSome=TR,O.partial=rp,O.partialRight=My,O.partition=a4,O.pick=I5,O.pickBy=$y,O.property=Ky,O.propertyOf=ER,O.pull=sj,O.pullAll=Cy,O.pullAllBy=aj,O.pullAllWith=lj,O.pullAt=cj,O.range=IR,O.rangeRight=OR,O.rearg=A4,O.reject=u4,O.remove=uj,O.rest=S4,O.reverse=ep,O.sampleSize=f4,O.set=P5,O.setWith=j5,O.shuffle=p4,O.slice=dj,O.sortBy=m4,O.sortedUniq=yj,O.sortedUniqBy=bj,O.split=J5,O.spread=T4,O.tail=xj,O.take=Cj,O.takeRight=wj,O.takeRightWhile=Aj,O.takeWhile=Sj,O.tap=Nj,O.throttle=E4,O.thru=Ac,O.toArray=_y,O.toPairs=zy,O.toPairsIn=Uy,O.toPath=kR,O.toPlainObject=Ny,O.transform=R5,O.unary=I4,O.union=Tj,O.unionBy=Ej,O.unionWith=Ij,O.uniq=Oj,O.uniqBy=Pj,O.uniqWith=jj,O.unset=M5,O.unzip=tp,O.unzipWith=wy,O.update=k5,O.updateWith=F5,O.values=es,O.valuesIn=D5,O.without=Rj,O.words=qy,O.wrap=O4,O.xor=Mj,O.xorBy=kj,O.xorWith=Fj,O.zip=Dj,O.zipObject=Lj,O.zipObjectDeep=_j,O.zipWith=Bj,O.entries=zy,O.entriesIn=Uy,O.extend=Vy,O.extendWith=jc,dp(O,O),O.add=DR,O.attempt=Yy,O.camelCase=N5,O.capitalize=Hy,O.ceil=LR,O.clamp=L5,O.clone=j4,O.cloneDeep=M4,O.cloneDeepWith=k4,O.cloneWith=R4,O.conformsTo=F4,O.deburr=Gy,O.defaultTo=hR,O.divide=_R,O.endsWith=V5,O.eq=Ar,O.escape=W5,O.escapeRegExp=$5,O.every=Kj,O.find=Zj,O.findIndex=vy,O.findKey=u5,O.findLast=Qj,O.findLastIndex=yy,O.findLastKey=d5,O.floor=BR,O.forEach=Sy,O.forEachRight=Ty,O.forIn=f5,O.forInRight=p5,O.forOwn=h5,O.forOwnRight=g5,O.get=sp,O.gt=D4,O.gte=L4,O.has=y5,O.hasIn=ap,O.head=xy,O.identity=yn,O.includes=r4,O.indexOf=Q3,O.inRange=_5,O.invoke=C5,O.isArguments=ui,O.isArray=Be,O.isArrayBuffer=_4,O.isArrayLike=mn,O.isArrayLikeObject=Ft,O.isBoolean=B4,O.isBuffer=To,O.isDate=N4,O.isElement=V4,O.isEmpty=W4,O.isEqual=$4,O.isEqualWith=z4,O.isError=op,O.isFinite=U4,O.isFunction=Zr,O.isInteger=ky,O.isLength=Oc,O.isMap=Fy,O.isMatch=H4,O.isMatchWith=G4,O.isNaN=q4,O.isNative=Y4,O.isNil=X4,O.isNull=K4,O.isNumber=Dy,O.isObject=It,O.isObjectLike=Pt,O.isPlainObject=ya,O.isRegExp=ip,O.isSafeInteger=Z4,O.isSet=Ly,O.isString=Pc,O.isSymbol=Ln,O.isTypedArray=Ji,O.isUndefined=Q4,O.isWeakMap=J4,O.isWeakSet=e5,O.join=rj,O.kebabCase=z5,O.last=rr,O.lastIndexOf=oj,O.lowerCase=U5,O.lowerFirst=H5,O.lt=t5,O.lte=n5,O.max=NR,O.maxBy=VR,O.mean=WR,O.meanBy=$R,O.min=zR,O.minBy=UR,O.stubArray=pp,O.stubFalse=hp,O.stubObject=PR,O.stubString=jR,O.stubTrue=RR,O.multiply=HR,O.nth=ij,O.noConflict=CR,O.noop=fp,O.now=Tc,O.pad=G5,O.padEnd=q5,O.padStart=Y5,O.parseInt=K5,O.random=B5,O.reduce=l4,O.reduceRight=c4,O.repeat=X5,O.replace=Z5,O.result=O5,O.round=GR,O.runInContext=z,O.sample=d4,O.size=h4,O.snakeCase=Q5,O.some=g4,O.sortedIndex=fj,O.sortedIndexBy=pj,O.sortedIndexOf=hj,O.sortedLastIndex=gj,O.sortedLastIndexBy=mj,O.sortedLastIndexOf=vj,O.startCase=eR,O.startsWith=tR,O.subtract=qR,O.sum=YR,O.sumBy=KR,O.template=nR,O.times=MR,O.toFinite=Qr,O.toInteger=Ve,O.toLength=By,O.toLower=rR,O.toNumber=or,O.toSafeInteger=r5,O.toString=nt,O.toUpper=oR,O.trim=iR,O.trimEnd=sR,O.trimStart=aR,O.truncate=lR,O.unescape=cR,O.uniqueId=FR,O.upperCase=uR,O.upperFirst=lp,O.each=Sy,O.eachRight=Ty,O.first=xy,dp(O,function(){var i={};return jr(O,function(l,p){at.call(O.prototype,p)||(i[p]=l)}),i}(),{chain:!1}),O.VERSION=r,Qn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){O[i].placeholder=O}),Qn(["drop","take"],function(i,l){Ge.prototype[i]=function(p){p=p===n?1:zt(Ve(p),0);var y=this.__filtered__&&!l?new Ge(this):this.clone();return y.__filtered__?y.__takeCount__=tn(p,y.__takeCount__):y.__views__.push({size:tn(p,q),type:i+(y.__dir__<0?"Right":"")}),y},Ge.prototype[i+"Right"]=function(p){return this.reverse()[i](p).reverse()}}),Qn(["filter","map","takeWhile"],function(i,l){var p=l+1,y=p==Z||p==W;Ge.prototype[i]=function(S){var R=this.clone();return R.__iteratees__.push({iteratee:Pe(S,3),type:p}),R.__filtered__=R.__filtered__||y,R}}),Qn(["head","last"],function(i,l){var p="take"+(l?"Right":"");Ge.prototype[i]=function(){return this[p](1).value()[0]}}),Qn(["initial","tail"],function(i,l){var p="drop"+(l?"":"Right");Ge.prototype[i]=function(){return this.__filtered__?new Ge(this):this[p](1)}}),Ge.prototype.compact=function(){return this.filter(yn)},Ge.prototype.find=function(i){return this.filter(i).head()},Ge.prototype.findLast=function(i){return this.reverse().find(i)},Ge.prototype.invokeMap=$e(function(i,l){return typeof i=="function"?new Ge(this):this.map(function(p){return fa(p,i,l)})}),Ge.prototype.reject=function(i){return this.filter(Ic(Pe(i)))},Ge.prototype.slice=function(i,l){i=Ve(i);var p=this;return p.__filtered__&&(i>0||l<0)?new Ge(p):(i<0?p=p.takeRight(-i):i&&(p=p.drop(i)),l!==n&&(l=Ve(l),p=l<0?p.dropRight(-l):p.take(l-i)),p)},Ge.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ge.prototype.toArray=function(){return this.take(q)},jr(Ge.prototype,function(i,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),y=/^(?:head|last)$/.test(l),S=O[y?"take"+(l=="last"?"Right":""):l],R=y||/^find/.test(l);S&&(O.prototype[l]=function(){var L=this.__wrapped__,N=y?[1]:arguments,H=L instanceof Ge,oe=N[0],ie=H||Be(L),le=function(Ue){var Ye=S.apply(O,yo([Ue],N));return y&&ve?Ye[0]:Ye};ie&&p&&typeof oe=="function"&&oe.length!=1&&(H=ie=!1);var ve=this.__chain__,Te=!!this.__actions__.length,je=R&&!ve,We=H&&!Te;if(!R&&ie){L=We?L:new Ge(this);var Re=i.apply(L,N);return Re.__actions__.push({func:Ac,args:[le],thisArg:n}),new er(Re,ve)}return je&&We?i.apply(this,N):(Re=this.thru(le),je?y?Re.value()[0]:Re.value():Re)})}),Qn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Kl[i],p=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",y=/^(?:pop|shift)$/.test(i);O.prototype[i]=function(){var S=arguments;if(y&&!this.__chain__){var R=this.value();return l.apply(Be(R)?R:[],S)}return this[p](function(L){return l.apply(Be(L)?L:[],S)})}}),jr(Ge.prototype,function(i,l){var p=O[l];if(p){var y=p.name+"";at.call(Yi,y)||(Yi[y]=[]),Yi[y].push({name:l,func:p})}}),Yi[mc(n,I).name]=[{name:"wrapper",func:n}],Ge.prototype.clone=cP,Ge.prototype.reverse=uP,Ge.prototype.value=dP,O.prototype.at=Vj,O.prototype.chain=Wj,O.prototype.commit=$j,O.prototype.next=zj,O.prototype.plant=Hj,O.prototype.reverse=Gj,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=qj,O.prototype.first=O.prototype.head,ia&&(O.prototype[ia]=Uj),O},Hi=$O();ni?((ni.exports=Hi)._=Hi,uf._=Hi):Yt._=Hi}).call(An)})(zu,zu.exports);var ct=zu.exports;const Q=ho(ct),GX=["e-","entities/"];function qX(e){let t=e;return GX.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function YX(e,t){var n,r;return((n=t.options)==null?void 0:n.group)===e.id||!((r=t.options)!=null&&r.group)&&e.id==="admin"}function KX(e,t){const n=qX(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function Uh(e,t){let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=Uh(o.children,t),n))return n}return n}function g2(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&YX(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=g2(s.children,t),r))return r}return r}function m2(e,t){let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=m2(o.children,t),n))return n}return n}function v2(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(v2)),e.children&&e.children.length>0):!1}function y2(e){return e.children&&e.children.forEach(t=>{t.parent=e,y2(t)}),e}function XX(e,t,n,r,o){function s(g){return g.title=r(g.title,{_:g.title}),g.children&&g.children.forEach(m=>s(m)),g}const a=Object.keys(t);function c(g,m){return g.children&&(g.children=g.children.filter(v=>{if(v.resource===!1){const b=v.roles||[];return!!(b.length===0||b.some(x=>o.includes(x)))}return v.type==="item"?m.includes(v.id):(c(v,m),v.children&&v.children.length>0)})),g}const u=Q.cloneDeep(e).map(g=>({children:[],...g,type:g.type||"group"})).map(s).map(g=>c(g,a)),d=Object.values(t).map(g=>{var m;return((m=g.options)==null?void 0:m.group)||"admin"}).filter((g,m,v)=>v.indexOf(g)===m).filter(g=>g!==void 0&&m2(e,g)===null).map(g=>({id:g,title:r(`ra.menu.group.${g}`),type:"group",icon:qe.AntDesignOutlined,children:[]})),h=[...u,...d];return Object.values(t).forEach(g=>{var M,E,j,P;const m=g2(h,g),v=(M=m==null?void 0:m.children)==null?void 0:M.find(F=>F.id===g.name),b=(E=m==null?void 0:m.children)==null?void 0:E.some(F=>F.id===g.name),x=(v==null?void 0:v.roles)||((j=g.options)==null?void 0:j.roles)||[],w=!x||x.length===0||x.some(F=>o.includes(F));if(!KX(g,n)||g.list||!w){b&&m&&m.children&&((P=m==null?void 0:m.children)==null?void 0:P.length)>0&&(m.children=m.children.filter(F=>F.id!==g.name));return}m&&(m.children||(m.children=[]))}),h.filter(v2).map(y2)}function Oa(){throw new Error("Not implemented")}const b2={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Oa,openDrawer:Oa,activeID:Oa,hasError:Oa,setMenu:Oa},x2=T.createContext(b2);function C2({menu:e,children:t}){const[n,r]=T.useState({...b2,menu:e});function o(d){r(h=>({...h,menu:d}))}function s(d){r(h=>({...h,openItem:d}))}function a(d){r(h=>({...h,selectedID:d}))}function c(d){r(h=>({...h,drawerOpen:d}))}function u(d){r(h=>({...h,error:d}))}return T.useEffect(()=>{o(e)},[e]),f.jsx(x2.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Bd(){return T.useContext(x2)}function Ym(){const e=te.useResourceDefinitions(),{isLoading:t,data:n}=te.useGetIdentity(),r=!!n&&!!n.id,{permissions:o}=te.usePermissions(r),{menu:s}=Bd(),a=te.useTranslate(),c=T.useMemo(()=>{if(t||!n)return null;const h=((n==null?void 0:n.roles)||[]).map(m=>m.id);return XX(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return Uh(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:Uh}}function w2(){const e=te.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=Ym(),{pathname:o}=ji.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=Q.cloneDeep(n);let c=o,u=r(a,o);if((!u||u.type==="collapse"||u.type==="group")&&(u=r(a,s[s.length-1]),c=u?u.id:c),!u||u.type==="collapse"||u.type==="group")for(let v=s.length;v>=0;v--){const b=s.slice(0,v).join("/");if(u=r(a,b),u){c=u.id;break}}const d=(m=u==null?void 0:u.url)==null?void 0:m.split("/"),h=(d==null?void 0:d.length)||0;if(s.length>=h){const v=s[s.length-1];if(u){const b=v==="create"||o===u.url?"create":"edit",x=`resources.${c}.breadcrumbs.${b}`,w={id:`${c}-${b}`,type:"item",title:e(x,{_:e(x,{_:x})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(w),u=w}}let g=[];if(u){let v={...u,last:!0};for(;v;)g.push(v),v=v.parent;g=g.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:g}},[t,o,n,r,e])}function rl(){return Bd()}function Pr(e,t,n){const r=Q.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>Q.isFunction(a)?a:void 0).value();n!=null&&n.defaults?Q.defaultsDeep(r,t):Q.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{Q.isEqual(o,r)||s(r)},[o,r]),o}function ZX(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}function Bi(e){this._maxSize=e,this.clear()}Bi.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Bi.prototype.get=function(e){return this._values[e]};Bi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var QX=/[^.^\]^[]+|(?=\[\]|\.\.)/g,A2=/^\d+$/,JX=/^\d/,eZ=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,tZ=/^\s*(['"]?)(.*?)(\1)\s*$/,Km=512,J1=new Bi(Km),eC=new Bi(Km),tC=new Bi(Km),Oi={Cache:Bi,split:Hh,normalizePath:Yp,setter:function(e){var t=Yp(e);return eC.get(e)||eC.set(e,function(r,o){for(var s=0,a=t.length,c=r;s<a-1;){var u=t[s];if(u==="__proto__"||u==="constructor"||u==="prototype")return r;c=c[t[s++]]}c[t[s]]=o})},getter:function(e,t){var n=Yp(e);return tC.get(e)||tC.set(e,function(o){for(var s=0,a=n.length;s<a;)if(o!=null||!t)o=o[n[s++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Xm(n)||A2.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){nZ(Array.isArray(e)?e:Hh(e),t,n)}};function Yp(e){return J1.get(e)||J1.set(e,Hh(e).map(function(t){return t.replace(tZ,"$2")}))}function Hh(e){return e.match(QX)||[""]}function nZ(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(iZ(o)&&(o='"'+o+'"'),c=Xm(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Xm(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function rZ(e){return e.match(JX)&&!e.match(A2)}function oZ(e){return eZ.test(e)}function iZ(e){return!Xm(e)&&(rZ(e)||oZ(e))}const sZ=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,Nd=e=>e.match(sZ)||[],Vd=e=>e[0].toUpperCase()+e.slice(1),Zm=(e,t)=>Nd(e).join(t).toLowerCase(),S2=e=>Nd(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),aZ=e=>Vd(S2(e)),lZ=e=>Zm(e,"_"),cZ=e=>Zm(e,"-"),uZ=e=>Vd(Zm(e," ")),dZ=e=>Nd(e).map(Vd).join(" ");var Kp={words:Nd,upperFirst:Vd,camelCase:S2,pascalCase:aZ,snakeCase:lZ,kebabCase:cZ,sentenceCase:uZ,titleCase:dZ},Qm={exports:{}};Qm.exports=function(e){return T2(fZ(e),e)};Qm.exports.array=T2;function T2(e,t){var n=e.length,r=new Array(n),o={},s=n,a=pZ(t),c=hZ(e);for(t.forEach(function(d){if(!c.has(d[0])||!c.has(d[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)o[s]||u(e[s],s,new Set);return r;function u(d,h,g){if(g.has(d)){var m;try{m=", node was:"+JSON.stringify(d)}catch{m=""}throw new Error("Cyclic dependency"+m)}if(!c.has(d))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(d));if(!o[h]){o[h]=!0;var v=a.get(d)||new Set;if(v=Array.from(v),h=v.length){g.add(d);do{var b=v[--h];u(b,c.get(b),g)}while(h);g.delete(d)}r[--n]=d}}}function fZ(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function pZ(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function hZ(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var gZ=Qm.exports;const mZ=ho(gZ),vZ=Object.prototype.toString,yZ=Error.prototype.toString,bZ=RegExp.prototype.toString,xZ=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",CZ=/^Symbol\((.*)\)(.*)$/;function wZ(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function nC(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return wZ(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return xZ.call(e).replace(CZ,"Symbol($1)");const r=vZ.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+yZ.call(e)+"]":r==="RegExp"?bZ.call(e):null}function Vo(e,t){let n=nC(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=nC(this[r],t);return s!==null?s:o},2)}function E2(e){return e==null?[]:[].concat(e)}let I2,O2,P2,AZ=/\$\{\s*(\w+)\s*\}/g;I2=Symbol.toStringTag;class rC{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[I2]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],E2(t).forEach(s=>{if(wn.isError(s)){this.errors.push(...s.errors);const a=s.inner.length?s.inner:[s];this.inner.push(...a)}else this.errors.push(s)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}O2=Symbol.hasInstance;P2=Symbol.toStringTag;class wn extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(AZ,(o,s)=>Vo(n[s])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,s){const a=new rC(t,n,r,o);if(s)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[P2]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,wn)}static[O2](t){return rC[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Fr={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${Vo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Vo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Vo(n,!0)}\``+o}},Cn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Mo={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Gh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},SZ={isValue:"${path} field must be ${value}"},qh={noUnknown:"${path} field has unspecified keys: ${unknown}"},TZ={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},EZ={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${Vo(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${Vo(n,!0)}\``}return wn.formatError(Fr.notType,e)}};Object.assign(Object.create(null),{mixed:Fr,string:Cn,number:Mo,date:Gh,object:qh,array:TZ,boolean:SZ,tuple:EZ});const Jm=e=>e&&e.__isYupSchema__;class Uu{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:s}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new Uu(t,(c,u)=>{var d;let h=a(...c)?o:s;return(d=h==null?void 0:h(u))!=null?d:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(s=>s.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Jm(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const qc={context:"$",value:"."};class Ni{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===qc.context,this.isValue=this.key[0]===qc.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?qc.context:this.isValue?qc.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Oi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Ni.prototype.__isYupRef=!0;const so=e=>e==null;function as(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:d,test:h,params:g,message:m,skipAbsent:v}=e;let{parent:b,context:x,abortEarly:w=a.spec.abortEarly,disableStackTrace:I=a.spec.disableStackTrace}=o;function M(U){return Ni.isRef(U)?U.getValue(n,b,x):U}function E(U={}){const ae=Object.assign({value:n,originalValue:s,label:a.spec.label,path:U.path||r,spec:a.spec,disableStackTrace:U.disableStackTrace||I},g,U.params);for(const Z of Object.keys(ae))ae[Z]=M(ae[Z]);const se=new wn(wn.formatError(U.message||m,ae),n,ae.path,U.type||d,ae.disableStackTrace);return se.params=ae,se}const j=w?c:u;let P={path:r,parent:b,type:d,from:o.from,createError:E,resolve:M,options:o,originalValue:s,schema:a};const F=U=>{wn.isError(U)?j(U):U?u(null):j(E())},k=U=>{wn.isError(U)?j(U):c(U)};if(v&&so(n))return F(!0);let G;try{var J;if(G=h.call(P,n,P),typeof((J=G)==null?void 0:J.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(G).then(F,k)}}catch(U){k(U);return}F(G)}return t.OPTIONS=e,t}function IZ(e,t,n,r=n){let o,s,a;return t?(Oi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let g=e.type==="tuple",m=d?parseInt(h,10):0;if(e.innerType||g){if(g&&!d)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&m>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[m],e=g?e.spec.types[m]:e.innerType}if(!d){if(!e.fields||!e.fields[h])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[h],e=e.fields[h]}s=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Hu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ni.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Hu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function ws(e,t=new Map){if(Jm(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=ws(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,ws(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(ws(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=ws(o,t)}else throw Error(`Unable to clone ${e}`);return n}class hr{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Hu,this._blacklist=new Hu,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Fr.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=ws(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(s=>{t.tests.forEach(a=>{s.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,s)=>s.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,s;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(s=t.disableStackTrace)!=null?s:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",s=r._cast(t,n);if(n.assert!==!1&&!r.isType(s)){if(o&&so(s))return s;let a=Vo(t),c=Vo(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
213
213
 
214
214
  attempted value: ${a}
215
- `+(c!==a?`result of cast: ${c}`:""))}return s}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,s)=>s.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:s,originalValue:a=t,strict:c=this.spec.strict}=n,u=t;c||(u=this._cast(u,Object.assign({assert:!1},n)));let d=[];for(let h of Object.values(this.internalTests))h&&d.push(h);this.runTests({path:s,value:u,originalValue:a,options:n,tests:d},r,h=>{if(h.length)return o(h,u);this.runTests({path:s,value:u,originalValue:a,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:s,value:a,originalValue:c,path:u,options:d}=t,h=y=>{o||(o=!0,n(y,a))},g=y=>{o||(o=!0,r(y,a))},m=s.length,v=[];if(!m)return g([]);let x={value:a,originalValue:c,path:u,options:d,schema:this};for(let y=0;y<s.length;y++){const w=s[y];w(x,h,function(M){M&&(Array.isArray(M)?v.push(...M):v.push(M)),--m<=0&&g(v)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:s,options:a}){const c=t??n;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let d=r[c];const h=Object.assign({},a,{strict:!0,parent:r,value:d,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(g,m,v)=>this.resolve(h)._validate(d,h,m,v)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((a,c)=>o._validate(t,n,(u,d)=>{wn.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new wn(u,d,void 0,void 0,s)):a(d)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s,a=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(c,u)=>{throw wn.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new wn(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(wn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(wn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):ws(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=as({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=as({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Fr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Fr.notNull){return this.nullability(!1,t)}required(t=Fr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Fr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=as(n),s=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(s||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=E2(t).map(s=>new Ni(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Uu(o,n):Uu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=as({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Fr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=as({message:n,name:"oneOf",skipAbsent:!0,test(o){let s=this.schema._whitelist,a=s.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(s).join(", "),resolved:a}})}}),r}notOneOf(t,n=Fr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=as({message:n,name:"notOneOf",test(o){let s=this.schema._blacklist,a=s.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(s).join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:s,nullable:a}=n.spec;return{meta:o,label:r,optional:s,nullable:a,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,d,h)=>h.findIndex(g=>g.name===u.name)===d)}}}hr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])hr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=IZ(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])hr.prototype[e]=hr.prototype.oneOf;for(const e of["not","nope"])hr.prototype[e]=hr.prototype.notOneOf;const OZ=()=>!0;function j2(e){return new R2(e)}class R2 extends hr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:OZ},t))}}j2.prototype=R2.prototype;const PZ=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function jZ(e){const t=Yh(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function Yh(e){var t,n;const r=PZ.exec(e);return r?{year:no(r[1]),month:no(r[2],1)-1,day:no(r[3],1),hour:no(r[4]),minute:no(r[5]),second:no(r[6]),millisecond:r[7]?no(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:no(r[10]),minuteOffset:no(r[11])}:null}function no(e,t=0){return Number(e)||t}let RZ=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,MZ=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,kZ=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,FZ="^\\d{4}-\\d{2}-\\d{2}",DZ="\\d{2}:\\d{2}:\\d{2}",LZ="(([+-]\\d{2}(:?\\d{2})?)|Z)",_Z=new RegExp(`${FZ}T${DZ}(\\.\\d+)?${LZ}$`),BZ=e=>so(e)||e===e.trim(),NZ={}.toString();function ao(){return new M2}class M2 extends hr{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===NZ?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Fr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=Cn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=Cn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=Cn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,s;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:s}=n:o=n),this.test({name:s||"matches",message:o||Cn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=Cn.email){return this.matches(RZ,{name:"email",message:t,excludeEmptyString:!0})}url(t=Cn.url){return this.matches(MZ,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Cn.uuid){return this.matches(kZ,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(_Z,{name:"datetime",message:n||Cn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Cn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=Yh(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||Cn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=Yh(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Cn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:BZ})}lowercase(t=Cn.lowercase){return this.transform(n=>so(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>so(n)||n===n.toLowerCase()})}uppercase(t=Cn.uppercase){return this.transform(n=>so(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>so(n)||n===n.toUpperCase()})}}ao.prototype=M2.prototype;let VZ=e=>e!=+e;function k2(){return new F2}class F2 extends hr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!VZ(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)||o===null?o:parseFloat(o)})})}min(t,n=Mo.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Mo.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Mo.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Mo.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Mo.positive){return this.moreThan(0,t)}negative(t=Mo.negative){return this.lessThan(0,t)}integer(t=Mo.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>so(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>so(o)?o:Math[t](o))}}k2.prototype=F2.prototype;let WZ=new Date(""),$Z=e=>Object.prototype.toString.call(e)==="[object Date]";class Wd extends hr{constructor(){super({type:"date",check(t){return $Z(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=jZ(t),isNaN(t)?Wd.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ni.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=Gh.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=Gh.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Wd.INVALID_DATE=WZ;Wd.prototype;function zZ(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=Oi.split(a)[0];r.add(u),o.has(`${c}-${u}`)||n.push([c,u])}for(const a of Object.keys(e)){let c=e[a];r.add(a),Ni.isRef(c)&&c.isSibling?s(c.path,a):Jm(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return mZ.array(Array.from(r),n).reverse()}function oC(e,t){let n=1/0;return e.some((r,o)=>{var s;if((s=t.path)!=null&&s.includes(r))return n=o,!0}),n}function D2(e){return(t,n)=>oC(e,t)-oC(e,n)}const UZ=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function cu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=cu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=cu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(cu)}):"optional"in e?e.optional():e}const HZ=(e,t)=>{const n=[...Oi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Oi.getter(Oi.join(n),!0)(e);return!!(o&&r in o)};let iC=e=>Object.prototype.toString.call(e)==="[object Object]";function GZ(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const qZ=D2([]);function e0(e){return new L2(e)}class L2 extends hr{constructor(t){super({type:"object",check(n){return iC(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=qZ,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let s=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(o).filter(g=>!this._nodes.includes(g))),u={},d=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),h=!1;for(const g of c){let m=s[g],v=g in o;if(m){let x,y=o[g];d.path=(n.path?`${n.path}.`:"")+g,m=m.resolve({value:y,context:n.context,parent:u});let w=m instanceof hr?m.spec:void 0,I=w==null?void 0:w.strict;if(w!=null&&w.strip){h=h||g in o;continue}x=!n.__validating||!I?m.cast(o[g],d):o[g],x!==void 0&&(u[g]=x)}else v&&!a&&(u[g]=o[g]);(v!==g in u||u[g]!==o[g])&&(h=!0)}return h?u:o}_validate(t,n={},r,o){let{from:s=[],originalValue:a=t,recursive:c=this.spec.recursive}=n;n.from=[{schema:this,value:a},...s],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(u,d)=>{if(!c||!iC(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||Ni.isRef(m)||h.push(m.asNestedTest({options:n,key:g,parent:d,parentPath:n.path,originalParent:a}))}this.runTests({tests:h,value:d,originalValue:a,options:n},r,g=>{o(g.sort(this._sortErrors).concat(u),d)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,s]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?s:a}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const s=this.fields[r];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[r]})),n[r]=s&&"getDefault"in s?s.getDefault(a):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=zZ(t,n),r._sortErrors=D2(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return cu(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=Oi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return HZ(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(UZ)}noUnknown(t=!0,n=qh.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const s=GZ(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=qh.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(Kp.camelCase)}snakeCase(){return this.transformKeys(Kp.snakeCase)}constantCase(){return this.transformKeys(t=>Kp.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,a]of Object.entries(n.fields)){var o;let c=t;(o=c)!=null&&o.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[s]})),r.fields[s]=a.describe(c)}return r}}e0.prototype=L2.prototype;const sC=j2().test("function","Invalid function",e=>Q.isFunction(e));var Fo,Ti,Ma;class _2{constructor(){eo(this,Ti);eo(this,Fo,[])}get(t){if(ao().required().validateSync(t),xa(this,Ti,Ma).call(this)){const n=localStorage.getItem(t);return Q.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return ao().required().validateSync(t),xa(this,Ti,Ma).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){ao().required().validateSync(t),sC.validateSync(n),xa(this,Ti,Ma).call(this)&&(bn(this,Fo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){ao().required().validateSync(t),sC.optional().default(Q.identity).validateSync(n),xa(this,Ti,Ma).call(this)&&(n!==void 0?Eo(this,Fo,Q.reject(bn(this,Fo),r=>r.key===t&&r.callback===n)):Eo(this,Fo,Q.reject(bn(this,Fo),r=>r.key===t)))}}Fo=new WeakMap,Ti=new WeakSet,Ma=function(){return typeof window<"u"};function Gu(e={},t=[],n={}){const{isEmpty:r=Q.isEmpty}=n;return!Q.some(t,o=>r((e??{})[o.locale]))}function B2(e={},t=[],n={}){const{isEmpty:r=Q.isEmpty}=n;return Q.some(t,o=>!r((e??{})[o.locale]))}function t0(e,t,n){if(!Q.isPlainObject(e)||t===void 0)return;const r=Q.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=Q.isArray(r.fallbackLocales)&&!Q.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=Q.chain(a).map(c=>e[String(c)]).reject(Q.isUndefined).first().value(),s===void 0&&(s=Q.chain(e).values().first().value())}return s}function $d(e=[],t){const n=Q.isArray(e)?e:[e],r=Q.filter(n,o=>T.isValidElement(o));Q.each(r,o=>{var s;t(o),$d(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}var N2={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",d="day",h="week",g="month",m="quarter",v="year",x="date",y="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var X=["th","st","nd","rd"],W=Z%100;return"["+Z+(X[(W-20)%10]||X[W]||X[0])+"]"}},E=function(Z,X,W){var K=String(Z);return!K||K.length>=X?Z:""+Array(X+1-K.length).join(W)+Z},j={s:E,z:function(Z){var X=-Z.utcOffset(),W=Math.abs(X),K=Math.floor(W/60),B=W%60;return(X<=0?"+":"-")+E(K,2,"0")+":"+E(B,2,"0")},m:function Z(X,W){if(X.date()<W.date())return-Z(W,X);var K=12*(W.year()-X.year())+(W.month()-X.month()),B=X.clone().add(K,g),ne=W-B<0,V=X.clone().add(K+(ne?-1:1),g);return+(-(K+(W-B)/(ne?B-V:V-B))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:g,y:v,w:h,d,D:x,h:u,m:c,s:a,ms:s,Q:m}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},P="en",F={};F[P]=M;var k="$isDayjsObject",$=function(Z){return Z instanceof ae||!(!Z||!Z[k])},G=function Z(X,W,K){var B;if(!X)return P;if(typeof X=="string"){var ne=X.toLowerCase();F[ne]&&(B=ne),W&&(F[ne]=W,B=ne);var V=X.split("-");if(!B&&V.length>1)return Z(V[0])}else{var q=X.name;F[q]=X,B=q}return!K&&B&&(P=B),B||!K&&P},J=function(Z,X){if($(Z))return Z.clone();var W=typeof X=="object"?X:{};return W.date=Z,W.args=arguments,new ae(W)},U=j;U.l=G,U.i=$,U.w=function(Z,X){return J(Z,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var ae=function(){function Z(W){this.$L=G(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[k]=!0}var X=Z.prototype;return X.parse=function(W){this.$d=function(K){var B=K.date,ne=K.utc;if(B===null)return new Date(NaN);if(U.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var V=B.match(w);if(V){var q=V[2]-1||0,ue=(V[7]||"0").substring(0,3);return ne?new Date(Date.UTC(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)):new Date(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)}}return new Date(B)}(W),this.init()},X.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},X.$utils=function(){return U},X.isValid=function(){return this.$d.toString()!==y},X.isSame=function(W,K){var B=J(W);return this.startOf(K)<=B&&B<=this.endOf(K)},X.isAfter=function(W,K){return J(W)<this.startOf(K)},X.isBefore=function(W,K){return this.endOf(K)<J(W)},X.$g=function(W,K,B){return U.u(W)?this[K]:this.set(B,W)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(W,K){var B=this,ne=!!U.u(K)||K,V=U.p(W),q=function(ye,Ce){var Ee=U.w(B.$u?Date.UTC(B.$y,Ce,ye):new Date(B.$y,Ce,ye),B);return ne?Ee:Ee.endOf(d)},ue=function(ye,Ce){return U.w(B.toDate()[ye].apply(B.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(Ce)),B)},pe=this.$W,de=this.$M,he=this.$D,me="set"+(this.$u?"UTC":"");switch(V){case v:return ne?q(1,0):q(31,11);case g:return ne?q(1,de):q(0,de+1);case h:var Ae=this.$locale().weekStart||0,xe=(pe<Ae?pe+7:pe)-Ae;return q(ne?he-xe:he+(6-xe),de);case d:case x:return ue(me+"Hours",0);case u:return ue(me+"Minutes",1);case c:return ue(me+"Seconds",2);case a:return ue(me+"Milliseconds",3);default:return this.clone()}},X.endOf=function(W){return this.startOf(W,!1)},X.$set=function(W,K){var B,ne=U.p(W),V="set"+(this.$u?"UTC":""),q=(B={},B[d]=V+"Date",B[x]=V+"Date",B[g]=V+"Month",B[v]=V+"FullYear",B[u]=V+"Hours",B[c]=V+"Minutes",B[a]=V+"Seconds",B[s]=V+"Milliseconds",B)[ne],ue=ne===d?this.$D+(K-this.$W):K;if(ne===g||ne===v){var pe=this.clone().set(x,1);pe.$d[q](ue),pe.init(),this.$d=pe.set(x,Math.min(this.$D,pe.daysInMonth())).$d}else q&&this.$d[q](ue);return this.init(),this},X.set=function(W,K){return this.clone().$set(W,K)},X.get=function(W){return this[U.p(W)]()},X.add=function(W,K){var B,ne=this;W=Number(W);var V=U.p(K),q=function(de){var he=J(ne);return U.w(he.date(he.date()+Math.round(de*W)),ne)};if(V===g)return this.set(g,this.$M+W);if(V===v)return this.set(v,this.$y+W);if(V===d)return q(1);if(V===h)return q(7);var ue=(B={},B[c]=r,B[u]=o,B[a]=n,B)[V]||1,pe=this.$d.getTime()+W*ue;return U.w(pe,this)},X.subtract=function(W,K){return this.add(-1*W,K)},X.format=function(W){var K=this,B=this.$locale();if(!this.isValid())return B.invalidDate||y;var ne=W||"YYYY-MM-DDTHH:mm:ssZ",V=U.z(this),q=this.$H,ue=this.$m,pe=this.$M,de=B.weekdays,he=B.months,me=B.meridiem,Ae=function(Ce,Ee,ce,Xe){return Ce&&(Ce[Ee]||Ce(K,ne))||ce[Ee].slice(0,Xe)},xe=function(Ce){return U.s(q%12||12,Ce,"0")},ye=me||function(Ce,Ee,ce){var Xe=Ce<12?"AM":"PM";return ce?Xe.toLowerCase():Xe};return ne.replace(I,function(Ce,Ee){return Ee||function(ce){switch(ce){case"YY":return String(K.$y).slice(-2);case"YYYY":return U.s(K.$y,4,"0");case"M":return pe+1;case"MM":return U.s(pe+1,2,"0");case"MMM":return Ae(B.monthsShort,pe,he,3);case"MMMM":return Ae(he,pe);case"D":return K.$D;case"DD":return U.s(K.$D,2,"0");case"d":return String(K.$W);case"dd":return Ae(B.weekdaysMin,K.$W,de,2);case"ddd":return Ae(B.weekdaysShort,K.$W,de,3);case"dddd":return de[K.$W];case"H":return String(q);case"HH":return U.s(q,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return ye(q,ue,!0);case"A":return ye(q,ue,!1);case"m":return String(ue);case"mm":return U.s(ue,2,"0");case"s":return String(K.$s);case"ss":return U.s(K.$s,2,"0");case"SSS":return U.s(K.$ms,3,"0");case"Z":return V}return null}(Ce)||V.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(W,K,B){var ne,V=this,q=U.p(K),ue=J(W),pe=(ue.utcOffset()-this.utcOffset())*r,de=this-ue,he=function(){return U.m(V,ue)};switch(q){case v:ne=he()/12;break;case g:ne=he();break;case m:ne=he()/3;break;case h:ne=(de-pe)/6048e5;break;case d:ne=(de-pe)/864e5;break;case u:ne=de/o;break;case c:ne=de/r;break;case a:ne=de/n;break;default:ne=de}return B?ne:U.a(ne)},X.daysInMonth=function(){return this.endOf(g).$D},X.$locale=function(){return F[this.$L]},X.locale=function(W,K){if(!W)return this.$L;var B=this.clone(),ne=G(W,K,!0);return ne&&(B.$L=ne),B},X.clone=function(){return U.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},Z}(),se=ae.prototype;return J.prototype=se,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",x]].forEach(function(Z){se[Z[1]]=function(X){return this.$g(X,Z[0],Z[1])}}),J.extend=function(Z,X){return Z.$i||(Z(X,ae,J),Z.$i=!0),J},J.locale=G,J.isDayjs=$,J.unix=function(Z){return J(1e3*Z)},J.en=F[P],J.Ls=F,J.p={},J})})(N2);var V2=N2.exports;const Or=ho(V2);function W2(e){const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Or().hour(n).minute(r)}const ka=new _2;function YZ(e,t,n){return function(r){const o=Q.isFunction(r)?r(t):r;return ka.set(e,o),n(o),o}}function n0(e,t){var u;ao().required().validateSync(e);const[n,r]=T.useState(ka.get(e)??t),o=T.useRef(t),s=Q.isEqual(o.current,t)?o.current:t,a=T.useRef(),c=a.current;return T.useEffect(()=>{r(ka.get(e)??s)},[e,s,r]),T.useEffect(()=>{function d(h){r(h)}return ka.watch(e,d),()=>{ka.unwatch(e,d)}},[e,r]),(e!==(c==null?void 0:c.key)||!Q.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:YZ(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??Q.noop]}function $2(e){const[t]=te.useLocaleState();return e!==void 0?String(e):t}function KZ(e,t){const n=$2(t==null?void 0:t.locale);return t0(e,n,t)}function XZ(e){const t=$2(e==null?void 0:e.locale);return T.useCallback(r=>t0(r,t,e),[t,e])}function z2(e){if(!Q.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{Q.isEqual(e,t)||n(e)},[e,t]),t}function Ol(){const[e,t]=T.useState(null),n=!!e,r=T.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=T.useCallback(()=>t(null),[t]),s=T.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function ZZ(e,t){const[n,r]=T.useState({width:1,height:1}),o=e.current;return T.useEffect(()=>{function s(){var d;let c=0,u=0;switch(t){case"client":c=(o==null?void 0:o.clientWidth)??0,u=(o==null?void 0:o.clientHeight)??0;break;case"offset":c=(o==null?void 0:o.offsetWidth)??0,u=(o==null?void 0:o.offsetHeight)??0;break;case"scroll":c=(o==null?void 0:o.scrollWidth)??0,u=(o==null?void 0:o.scrollHeight)??0;break;case"bounding":default:{const h=((d=e.current)==null?void 0:d.getBoundingClientRect())??{width:0,height:0};c=h.width,u=h.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return Q.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function r0(e){const t=L.useRecordContext(),n=L.useTranslate(),r=L.useResourceContext(),o=t!=null&&t.id?"edit":"create";return T.useMemo(()=>{if(e===!1)return;const a=`resources.${r}.title`;return e||n(`resources.${r}.title.${o}`,{_:n(a,{_:a}),...t})},[o,t,r,n,e])}function kr(){throw new Error("Method must be implemented")}const U2={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:kr,setMenuOrientation:kr,setMiniDrawer:kr,setContainer:kr,setMode:kr,setPresetColor:kr,setThemeDirection:kr,setAppDefaultPath:kr,setDrawerWidth:kr,setHorizontalMaxItems:kr,isVerticalLayout:e=>!1,isHorizontalLayout:e=>!1};function QZ(e){return e==="vertical"}function JZ(e){return e==="horizontal"}const o0=T.createContext(U2);function Kh({initialConfig:e,children:t}){const[n,r]=n0("theme-config",{...U2,...e});function o(x){r(y=>({...y,fontFamily:x}))}function s(x){r(y=>({...y,menuOrientation:x}))}function a(x){r(y=>({...y,miniDrawer:x}))}function c(x){r(y=>({...y,container:x}))}function u(x){r(y=>({...y,mode:x}))}function d(x){r(y=>({...y,presetColor:x}))}function h(x){r(y=>({...y,themeDirection:x}))}function g(x){r(y=>({...y,appDefaultPath:x}))}function m(x){r(y=>({...y,drawerWidth:x}))}function v(x){r(y=>({...y,horizontalMaxItems:x}))}return f.jsx(o0.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:QZ,isHorizontalLayout:JZ},children:t})}function i0(){return T.useContext(o0)}function Rn(){return i0()}const eQ=wl(L.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end",position:"initial !important","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function Xo(e){return f.jsx(eQ,{...e})}function H2({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Rn();return f.jsx(nQ,{defaultValues:n,spacing:t||o,children:f.jsx(A.Grid,{container:!0,...r,spacing:t||o,children:e})})}function tQ({children:e,content:t=!0,title:n,subheader:r=null,secondary:o=null,toolbar:s=!1,lg:a=12,md:c=12,sm:u=12,xs:d=12,...h}){const g=L.useTranslate(),m=L.useResourceContext(),{cardTitle:v,cardSubheader:x}=T.useMemo(()=>{const y=n||`resources.${m}.title`;return{cardTitle:g(y,{_:y}),cardSubheader:r!==null?g(r,{_:r}):null}},[m,r,n,g]);return f.jsx(A.Grid,{item:!0,...h,lg:a,md:c,sm:u,xs:d,children:f.jsx(zn,{content:t,title:v,subheader:x,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(Xo,{children:f.jsx(L.SaveButton,{})}):s]})})})}const nQ=fe(L.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:"0 !important"}}));H2.Section=tQ;const rQ=wl(L.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function G2({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(Xo,{children:f.jsx(L.SaveButton,{type:"button"})}),secondary:s=f.jsx(Uo,{children:f.jsx(L.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=r0(e),d=L.useRecordContext(),h=tm();return f.jsx(zn,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:h.spacing(2.5),paddingRight:h.spacing(2.5),paddingBottom:h.spacing(2.5),paddingTop:t?h.spacing(2.5):0,borderTop:t?`1px solid ${h.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(rQ,{toolbar:o,...c})})}const q2={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},Y2=T.createContext(q2);function oQ(e){const[t,n]=T.useState(q2);function r(a,c){n(u=>({...u,openDialogs:[...u.openDialogs,a]})),c&&c()}function o(a,c){n(u=>({...u,openDialogs:u.openDialogs.filter(d=>d!==a)})),c&&c()}function s(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(Y2.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function K2(){const e=T.useContext(Y2);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function s0(){return K2()}function X2({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const d=Zt.useTheme(),{getCurrentDialog:h}=s0(),{source:g,resource:m,isRequired:v}=u,{getFieldState:x,formState:y}=En.useFormContext(),{error:w}=x(g,y),I=h();return f.jsxs(A.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:w?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(A.InputLabel,{error:!!w,sx:{borderBottom:a?`1px solid ${d.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:f.jsx(L.FieldTitle,{label:e,source:g,resource:I||m,isRequired:v})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(A.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!w,children:r}):null]})}const iQ=fe(L.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function sQ({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(X2,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(iQ,{source:n,label:!1,...s})})}function aQ({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(Uo,{children:[e?f.jsx(L.EditButton,{}):null,t?f.jsx(L.DeleteWithConfirmButton,{}):null,n?f.jsx(L.CloneButton,{}):null]})}const aC=fe("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),lQ=fe("ul")({display:"inline-block"});function cQ(e){var h;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=te.useRecordContext(e),c=ct.get(a,r),u=te.useTranslate();if(!c)return n?f.jsx(A.Typography,{component:"span",variant:"body2",className:t,...s,children:n?u(n,{_:n}):null}):f.jsx(aC,{className:t,...s});if(Array.isArray(c))return f.jsx(lQ,{className:t,...s,children:c.map((g,m)=>{var x;const v=o instanceof String?(x=ct.get(g,o))==null?void 0:x.toString():o;return f.jsx("li",{children:v},m)})});const d=o instanceof String?(h=ct.get(a,o))==null?void 0:h.toString():o;return f.jsx(aC,{className:t,...s,children:d})}function Z2({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:s,...a}){const[c,u]=T.useState(null),d=L.useRecordContext(a),h=L.useDataProvider(),g=L.useResourceContext(),m=L.useNotify(),v=T.useCallback(async w=>{w.preventDefault(),w.stopPropagation(),m("ra.notification.download",{type:"info"});const I=ct.get(d,a==null?void 0:a.source),M=(s||g).replace("entities/",""),E=e||(d==null?void 0:d.id),j=await h.getFile(`/attachments/${M}/${E}/${t||(a==null?void 0:a.source)}/${(I==null?void 0:I.id)||(d==null?void 0:d.id)}`),P=document.createElement("a");P.href=j,P.download=ct.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source)),P.click()},[h,d,e,g,s,t,a==null?void 0:a.source,a==null?void 0:a.title,m]),x=T.useMemo(()=>({...d,[a==null?void 0:a.source]:(d==null?void 0:d.src)||ct.get(d,a==null?void 0:a.source),[a==null?void 0:a.title]:(d==null?void 0:d.title)||ct.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),[d,a==null?void 0:a.source,a==null?void 0:a.title]),y=L.useTranslate();return T.useEffect(()=>{!d||!(d!=null&&d.userId)||r===!1||h.getOne(o,{id:d==null?void 0:d.userId}).then(({data:w})=>u(w)).catch(()=>u(null))},[d,h,o,r]),f.jsx(cQ,{...a,disabled:n,record:x,onClick:v,title:f.jsxs(A.Box,{sx:{cursor:"pointer"},children:[f.jsx(A.Typography,{variant:"subtitle1",children:ct.get(x,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),f.jsxs(A.Typography,{variant:"caption",color:"secondary",children:[ct.get(x,"sizeDescription"),r&&c?" | ":null,r&&c?y("ra.attachment.info",{user:c==null?void 0:c.name,created:Or(x==null?void 0:x.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const uQ=fe(L.ImageField,{slot:"root"})(()=>({}));function Q2(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(uQ,{...e,source:t})}function J2({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:s,...a}){const c=T.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...s}),[e,t,n,s]),u=L.useRecordContext(),d=o||u;return f.jsx(Q2,{sx:h=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${h.palette.divider}`,objectFit:"cover !important",...c,minWidth:c.width,minHeight:c.height}}),...a,record:d})}var dQ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(dQ);var fQ={exports:{}};(function(e,t){(function(n,r){e.exports=r(V2)})(An,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var o=r(n),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return o.default.locale(s,null,!0),s})})(fQ);var eT={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){return function(n,r,o){n=n||{};var s=r.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(d,h,g,m){return s.fromToBase(d,h,g,m)}o.en.relativeTime=a,s.fromToBase=function(d,h,g,m,v){for(var x,y,w,I=g.$locale().relativeTime||a,M=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],E=M.length,j=0;j<E;j+=1){var P=M[j];P.d&&(x=m?o(d).diff(g,P.d,!0):g.diff(d,P.d,!0));var F=(n.rounding||Math.round)(Math.abs(x));if(w=x>0,F<=P.r||!P.r){F<=1&&j>0&&(P=M[j-1]);var k=I[P.l];v&&(F=v(""+F)),y=typeof k=="string"?k.replace("%d",F):k(F,h,P.l,w);break}}if(h)return y;var $=w?I.future:I.past;return typeof $=="function"?$(y):$.replace("%s",y)},s.to=function(d,h){return c(d,h,this,!0)},s.from=function(d,h){return c(d,h,this)};var u=function(d){return d.$u?o.utc():o()};s.toNow=function(d){return this.to(u(this),d)},s.fromNow=function(d){return this.from(u(this),d)}}})})(eT);var pQ=eT.exports;const hQ=ho(pQ);Or.extend(hQ);function tT(e){const t=L.useRecordContext(e),[n]=L.useLocaleState(),r=T.useMemo(()=>Or(ct.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(L.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(A.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const gQ=fe(L.DateField,{slot:"Root"})(()=>({}));function mQ({variant:e="body1",...t}){return f.jsx(gQ,{...t,variant:e})}const vQ=fe(L.EmailField,{slot:"Root"})(()=>({}));function yQ({variant:e="body1",...t}){return f.jsx(vQ,{...t,variant:e})}const bQ=fe(L.FileField,{slot:"root"})(()=>({}));function nT({...e}){const t=L.useRecordContext(e),n=T.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=ct.get(t,`_${e==null?void 0:e.source}`,ct.get(t,e==null?void 0:e.source)),s=ct.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),a=document.createElement("a");a.href=o,a.download=s,a.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(bQ,{...e,record:t,onClick:n})}function xQ({variant:e="body1",...t}){return f.jsx(L.FunctionField,{...t,variant:e})}const CQ=fe(L.TextField,{slot:"Root"})(()=>({}));function rT({variant:e="body1",...t}){return f.jsx(CQ,{...t,variant:e})}function wQ(e){const t=A.useTheme(),n=te.useLocales(),{source:r=""}=e,s=te.useRecordContext(e)[r],a=!Gu(s,n),c=Pr(e,{flex:1}),[u]=te.useLocaleState(),d=T.useMemo(()=>a?f.jsx(qe.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(qe.FlagOutlined,{}),[a,t.palette.warning.main]),h=T.useMemo(()=>f.jsx(A.Stack,{children:Q.map(n,(g,m)=>f.jsx(A.Typography,{children:`${g.locale.toUpperCase()}: ${(s??{})[g.locale]??""}`},m))}),[s,n]);return f.jsx(Pd,{title:h,arrow:!1,children:f.jsxs(A.Stack,{alignItems:"center",direction:"row",gap:1,children:[d,f.jsx(rT,{...e,source:`${r}.${u}`,sx:c})]})})}const AQ=fe("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}}));function SQ({source:e,defaultValue:t="&nbsp;",...n}){const r=L.useRecordContext(n),o=ct.get(r,e,t);return f.jsx(A.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function TQ({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(A.Tooltip,{title:e,placement:"top",children:t}):t}function EQ({label:e,source:t,defaultValue:n="&nbsp;",children:r=f.jsx(SQ,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=K2(),u=L.useRecordContext(s),d=L.useResourceContext(s),h=c(),g=T.useMemo(()=>o===!1?!1:typeof o=="function"?o(u):typeof o=="string"?ct.get(u,o,o):o,[u,o]),m=Pr(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return f.jsx(TQ,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(A.InputLabel,{sx:{pt:1},children:f.jsx(L.FieldTitle,{label:e,source:t,resource:h||d})}),f.jsx(AQ,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function IQ({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const OQ=wl(IQ,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"contents"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function oT(e){return f.jsx(OQ,{...e,children:f.jsx(L.ReferenceManyField,{pagination:f.jsx(L.Pagination,{}),...e})})}function PQ({source:e,...t}){const n=L.useRecordContext(t),r=ct.get(n,e,0),o=r/1024,s=o/1024,a=s/1024,c=a>1?`${a.toFixed(2)} GB`:s>1?`${s.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(A.Typography,{component:"span",variant:"body1",...t,children:c})}function hn({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Gt(),{getCurrentDialog:d}=s0(),{source:h,resource:g,isRequired:m}=c,{fieldState:{invalid:v}}=L.useInput(c),x=d();return f.jsxs(A.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:v?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(A.InputLabel,{error:v===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:f.jsx(L.FieldTitle,{label:e,source:h,resource:x||g,isRequired:m})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,r?f.jsx(A.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:v===!0,children:r}):null]})}function jQ(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const RQ=fe(L.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...jQ(e)}));function MQ({children:e=f.jsx(Z2,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const s=L.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return L.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(hn,{...o,disabled:n,children:f.jsx(RQ,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const kQ=fe(L.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function FQ({size:e="small",...t}){return f.jsx(hn,{...t,children:f.jsx(kQ,{size:e})})}const DQ=fe(L.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function LQ({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(hn,{...r,children:f.jsx(DQ,{size:e})})}const _Q=fe(L.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function BQ({...e}){const t=Zt.useTheme();return f.jsx(hn,{...e,children:f.jsx(_Q,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const NQ=4,VQ=fe(L.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function WQ(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Or(s).year().toString().length>NQ?o.target.value=t:n(s)},[t]);return f.jsx(hn,{...e,children:f.jsx(VQ,{...e,onInput:r})})}const $Q=fe(L.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function zQ(e){return f.jsx(hn,{...e,children:f.jsx($Q,{})})}const UQ=fe(L.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function HQ({children:e=f.jsx(nT,{source:"",title:""}),title:t,...n}){const r=En.useWatch({name:n.source}),o=L.useRecordContext(n),{source:s}=n,a=T.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=ct.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return f.jsx(hn,{...n,children:f.jsx(UQ,{children:T.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||ct.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||ct.get(o,`_${s}`),[t||s]:a}})})})}function GQ({children:e=f.jsx(J2,{}),title:t,multiple:n=!1,...r}){const o=En.useWatch({name:r.source}),s=L.useRecordContext(r),{source:a}=r;return L.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(hn,{...r,multiple:n,children:f.jsx(L.ImageInput,{accept:"image/*",children:T.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||ct.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||ct.get(s,`_${a}`)}})})})}function Er(e){return f.jsx(hn,{...e,children:f.jsx(L.TextInput,{})})}const qQ={vertical:"bottom",horizontal:"right"},YQ={vertical:"top",horizontal:"right"};function KQ({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=te.useLocales(),c=T.useCallback((F="ra.validation.required",k="ra.validation.required_locale")=>$=>{if(e&&!t&&!B2($,a))return F;if(t&&(!Q.has($,t)||Q.isEmpty(Q.get($,t))))return{message:k,args:{locale:t}};if(!e&&r&&!Gu($,a))return F},[e,t,a,r]),u=T.useMemo(()=>te.composeValidators(n,c()),[n,c]),{fieldState:d}=te.useInput({...o,validate:u}),{error:h}=d,g=En.useWatch({name:s}),m=!Gu(g,a),[v]=te.useLocaleState(),[x,y]=T.useState(v),[w,I]=T.useState(null),M=!!w,E=T.useCallback(F=>I(M?null:F.currentTarget),[M,I]),j=T.useCallback(()=>I(null),[I]),P=T.useMemo(()=>Q.map(a,(F,k)=>f.jsx(A.MenuItem,{onClick:()=>{y(F.locale),j()},children:f.jsx(A.ListItemText,{primary:`${F.locale.toUpperCase()}: ${(g??{})[F.locale]??""}`})},k)),[a,y,j,g]);return f.jsx(hn,{...o,validate:u,helperText:h!=null&&h.message?f.jsx(te.ValidationError,{error:h==null?void 0:h.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(A.Box,{flex:1,children:[Q.map(a,(F,k)=>f.jsx(Er,{...o,source:`${s}.${F.locale}`,sx:{width:"100%",display:F.locale===x?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(A.Chip,{label:f.jsx(A.Typography,{variant:"button",children:x}),size:"small",onClick:E,color:m?"warning":void 0})}},k)),f.jsx(A.Menu,{anchorEl:w,open:M,anchorOrigin:qQ,transformOrigin:YQ,onClose:j,children:P})]})})})}const XQ=fe(L.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function ZQ(e){return f.jsx(hn,{...e,children:f.jsx(XQ,{})})}function QQ({source:e,minWidth:t=300,children:n}){const r=L.useResourceContext(),o=L.useRecordContext(),[s,a]=T.useState(ct.get(o,e,"")),[c,u]=T.useState(!1),d=T.useCallback(x=>a(x.target.value),[]),h=L.useDataProvider(),g=T.useCallback(x=>{x.key==="Enter"&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,o,e]),m=T.useCallback(()=>{ct.get(o,e)!==s&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,e,o]),v=T.useCallback(x=>{u(!0),h.update(r,{id:o.id,data:{...o,[e]:x,_changed:e},previousData:o}).then(()=>u(!1))},[h,r,e,o]);return T.useEffect(()=>a(ct.get(o,e)),[o,e]),n?T.cloneElement(n,{...n.props,source:e,value:s,onChange:v}):f.jsx(A.TextField,{value:s,disabled:c,onChange:d,onKeyPress:g,onBlur:m,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function JQ({children:e,...t}){const n=T.Children.only(e);return f.jsx(L.ReferenceArrayInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function eJ({children:e,...t}){const n=T.Children.only(e);return f.jsx(L.ReferenceInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function tJ({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(L.ResourceContextProvider,{value:e,children:f.jsx(oT,{perPage:5,pagination:f.jsx(L.Pagination,{}),...s,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(L.ListToolbar,{filters:r,actions:o}),n]})})})}const nJ=fe(L.SearchInput,{slot:"root"})(()=>({}));function rJ(e){return f.jsx(nJ,{...e})}const oJ=fe(L.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function iJ({optionText:e="name",optionValue:t="id",...n}){return f.jsx(hn,{...n,children:f.jsx(oJ,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const sJ=fe(L.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function aJ(e){return f.jsx(hn,{...e,children:f.jsx(sJ,{})})}function lJ({multiline:e=!1,...t}){var u,d;const n=L.useTranslate(),r=L.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(d=(u=En.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:d.value;let s=t.helperText,a=t.validate;a?Array.isArray(a)&&a.indexOf(r)===-1&&a.push(r):a=[r];const c=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(s=s&&s.length>0?`${c} - ${n(s)}`:c),f.jsx(Er,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function cJ(e){if(!e)return"";const t=W2(e);return t?t.format("HH:mm"):""}function uJ(e){return e}const dJ=fe(L.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function fJ({parse:e=uJ,format:t=cJ,...n}){return f.jsx(hn,{...n,children:f.jsx(dJ,{parse:e,format:t,...n})})}function a0({onSuccess:e,firstAccess:t}){const{spacing:n}=Rn(),[r,o]=T.useState(!1),s=te.useAuthProvider(),a=te.useTranslate(),c=te.useNotify(),u=T.useCallback(d=>{const{oldPassword:h,newPassword:g}=d;o(!0),s==null||s.changePassword(h,g).then(()=>{c("ra.auth.password_changed"),e()}).catch(m=>{c((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e,c]);return f.jsx(te.ResourceContextProvider,{value:"user/change-password",children:f.jsx(te.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(G2,{onSubmit:u,toolbar:f.jsx(Xo,{children:f.jsx(L.SaveButton,{disabled:r})}),children:f.jsxs(A.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Alert,{severity:"warning",children:[f.jsx(A.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsx(Er,{source:"oldPassword",type:"password",validate:te.required()})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsx(Er,{source:"newPassword",type:"password",validate:te.required()})})]})})})})}const iT=T.createContext({});function pJ(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=L.useResourceContext(),o=L.useDataProvider(),{search:s}=ji.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!Q.isFunction(o.get))return Promise.resolve({});const m={};return new URLSearchParams(s??"").forEach((v,x)=>{m[x]=v}),o.get(a,m).then(v=>v.data).then(v=>{const{responseCode:x,value:y}=v;return x==="ok"?y:Promise.reject(v)})},[t,s,o,a]),u=T.useMemo(()=>Q.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ss.useQuery(u),g=Q.omit(e,["useDefaults"]);return h?f.jsx(A.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(A.CircularProgress,{})}):f.jsx(iT.Provider,{value:d??{},children:f.jsx(L.Create,{...g,children:e.children})})}const hJ=fe(pJ,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function gJ(){return T.useContext(iT)}const mJ=fe(L.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function vJ(e){return f.jsx(mJ,{...e})}const yJ=fe(A.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),bJ=fe(A.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function xJ({title:e,divider:t=!0,variant:n="h5"}){const r=L.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(yJ,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(bJ,{}):null]})}function Xh(e){return e.id??e.label}function sT(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function CJ(e){return Q.map(e,"id")}function qu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function aT(e,t){const n=e!==void 0?qu(e):0;return Q.chain(t).filter(o=>e!==void 0?sT(e,o.id):!0).filter(o=>qu(o.id)===n+1).value()}function wJ(e,t){var s;const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return Q.extend(n,{formRootPath:o});case"setSyncWithLocation":return Q.extend(n,{syncWithLocation:o});case"setErrorCount":return Q.extend(n,{errorCount:o});case"setActiveItem":return Q.includes(CJ(e.items),o)?Q.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return Q.extend(n,{items:Q.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=Q.isString(o)?o:o.id,c=Q.chain(n.items).clone().reject(u=>u.id===a).value();return Q.extend(n,{items:c}),n.activeItem===a&&Q.extend(n,{activeItem:((s=Q.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const AJ={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},lT=T.createContext(void 0);function cT(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ji.useLocation(),[s,a]=T.useReducer(wJ,Q.cloneDeep(AJ)),{formRootPath:c,items:u}=s,d=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{const h=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&h.push(r);const g=Q.chain(h).map(v=>ji.matchPath(v,o)).reject(v=>v===null).first().value(),m=g==null?void 0:g.pathnameBase;m!==void 0&&m!==c&&a({type:"setFormRootPath",payload:m})},[o,c,r]),T.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),T.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),T.useEffect(()=>{var h;if(t&&c!==void 0){let g=o.replace(c,"").replace(new RegExp(/^\/?/),"");Q.isEmpty(g)&&(g=((h=Q.chain(u).filter(m=>aT(m.id,u).length===0).orderBy([m=>qu(m.id),m=>m.index]).first().value())==null?void 0:h.id)??void 0),a({type:"setActiveItem",payload:g})}},[a,c,o,u,t]),f.jsx(lT.Provider,{value:d,children:e.children})}function uT(){const e=T.useContext(lT);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function Pl(){return uT().state}function l0(){return uT().dispatch}function dT(){return Pl().formRootPath}function fT(){return Pl().activeItem}function pT(){return Pl().items}function hT(){return Pl().syncWithLocation}function gT(){return Pl().errorCount}function mT(){const e=l0();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function vT(){const e=l0();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function yT(){const e=l0();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const SJ=fe(A.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function bT(e){const{spacing:t}=Rn(),{spacing:n=t}=e,r=Q.omit(e,["spacing"]);return f.jsx(L.Form,{...r,className:"LongFormView",children:f.jsx(SJ,{container:!0,spacing:n*2,children:e.children})})}function xT(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=Q.omit(e,["disposition"]);return f.jsx(A.Grid,{...n,item:!0,...t,children:e.children})}function CT(e){const t=fT();return t===void 0?!1:e===t||sT(e,t)}function wT(e){const t=pT();return T.useMemo(()=>aT(e,t),[t,e])}function TJ(){const e=dT(),{search:t}=ji.useLocation(),n=ji.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function AT(){const e=wT();return f.jsx(A.Card,{variant:"outlined",children:f.jsx(A.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:Q.map(e,(t,n)=>f.jsx(c0,{...t},n))})})}function c0(e){const t=te.useTranslate()??Q.identity,n=ST(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=Rn(),[v,x]=T.useState(r),y=T.useCallback(M=>{x(!v),a(M)},[a,v]),w=s!==void 0,I=Q.omit(e,["label","icon","selected","badge"]);return T.useEffect(()=>{r&&!v&&x(r)},[r,v,x]),f.jsxs(f.Fragment,{children:[f.jsx(A.ListItem,{...I,disablePadding:!0,children:f.jsxs(A.ListItemButton,{selected:r?!d:null,onClick:y,sx:{pl:m*h},children:[w?f.jsx(A.ListItemIcon,{children:s}):null,f.jsx(A.ListItemText,{inset:!w,primary:g===0?t(o):f.jsx(A.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c?f.jsx(A.ListItemAvatar,{children:f.jsx(Iu,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}):null,d?v?f.jsx(Un.ExpandLess,{}):f.jsx(Un.ExpandMore,{}):null]})}),d?f.jsx(A.Collapse,{in:v,timeout:"auto",children:f.jsx(A.List,{children:Q.map(u,(M,E)=>f.jsx(c0,{...M},E))})}):null]})}function ST(e){const{id:t}=e,n=CT(t),r=qu(t),o=TJ(),s=hT(),a=mT(),c=wT(t),u=!Q.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),Q.isFunction(e.onClick)&&e.onClick(g)},[a,o,e,s,u]);return T.useMemo(()=>({...e,selected:n,onClick:d,items:c,isGroup:u,level:r}),[e,n,d,c,u,r])}var EJ=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},TT=e=>e.firstChild?e.firstChild.offsetParent===e:!0,IJ=(e,t)=>{let n=e,r=0;TT(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},OJ=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},ol=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?ol="sticky":CSS.supports("position","-webkit-sticky")&&(ol="-webkit-sticky"));var Yu=!1;try{const e=Object.defineProperty({},"passive",{get(){Yu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Xp=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const s=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),a=o(s()),c=()=>{Object.assign(a,o(s())),n()};return window.addEventListener("resize",c,Yu),r.push(()=>window.removeEventListener("resize",c)),a}else{const s=o(t.getBoundingClientRect()),a=()=>{Object.assign(s,o(t.getBoundingClientRect())),n()},c=new ResizeObserver(a);return c.observe(t),r.push(()=>c.disconnect()),s}},PJ=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},jJ=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=EJ(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const k=g();k!==E&&j(k),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=k=>{const{offsetTop:$,height:G}=v,{naturalTop:J}=w,{height:U}=I;return k+$+G>=J+U+M+o},g=()=>{const{height:k}=v,{height:$}=I;return $+s+o<=k?3:h(d)?1:2},m=a!==window&&TT(a),v=Xp({el:a,onChange:u,unsubs:t,measure:({height:k,top:$})=>({height:k,offsetTop:m?$:0})}),x=OJ(e),y=x===window?{top:0,bottom:0}:PJ(x),w=Xp({el:x,onChange:u,unsubs:t,measure:({height:k})=>({height:k-y.top-y.bottom,naturalTop:x===window?0:IJ(x,a)+y.top+v.offsetTop})}),I=Xp({el:e,onChange:u,unsubs:t,measure:({height:k})=>({height:k})});let M=0,E=g();const j=k=>{const $=E;if(E=k,$===2&&(M=-1),k===3){e.style.position=ol,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:G,offsetTop:J}=v,{height:U,naturalTop:ae}=w,{height:se}=I;if(k===2)if(e.style.position="relative",M=$===0?Math.max(0,J+d-ae+s):Math.max(0,J+d+G-(ae+se+o)),r){const Z=Math.max(0,U-se-M);e.style.bottom=`${Z}px`}else e.style.top=`${M}px`;else e.style.position=ol,k===1?r?e.style.bottom=`${o}px`:e.style.top=`${G-se-o}px`:r?e.style.bottom=`${G-se-o}px`:e.style.top=`${s}px`};j(E);const P=k=>{if(k===d)return;const $=k-d;if(d=k,E===3)return;const{offsetTop:G,height:J}=v,{naturalTop:U,height:ae}=w,{height:se}=I;if($>0)if(E===0){if(k+G+s>U){const Z=Math.max(0,G+d-U+s);k+G+J<=U+se+Z+o?j(2):j(1)}}else E===2&&h(k)&&j(1);else if(E===1){if(G+k+J<U+ae+o){const Z=Math.max(0,G+d+J-(U+se+o));G+k+s>=U+Z?j(2):j(0)}}else E===2&&G+k+s<U+M&&j(0)},F=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",F,Yu),a.addEventListener("mousewheel",F,Yu),t.push(()=>a.removeEventListener("scroll",F),()=>a.removeEventListener("mousewheel",F))},RJ=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=T.useState(null);return T.useEffect(()=>{if(!r||!ol)return;const s=[];return jJ(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},MJ=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=RJ({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},kJ=MJ,ET=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(ET||{});function IT(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=Q.omit(e,["sticky","disposition","spacing"]),s=t?kJ:A.Box,a=T.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(A.Grid,{...o,item:!0,...n,children:f.jsx(s,{...a,children:f.jsx(A.Stack,{spacing:r,children:e.children})})})}function OT(e){return f.jsx(f.Fragment,{children:e.children})}function PT(e){const{children:t}=e;return T.useMemo(()=>{const r={top:[],bottom:[]};return T.Children.forEach(t,o=>{if(T.isValidElement(o)&&(o==null?void 0:o.type)===OT){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function jT(e){const{errors:t}=En.useFormState(),n=gT(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=Xh(e),d=vT(),h=yT(),g=CT(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):$d(c,x=>{var y;((y=x==null?void 0:x.props)==null?void 0:y.source)!==void 0&&m.push(x.props.source)}));const v=Q.chain(m).uniq().map(x=>Q.get(t,x)).reject(x=>x===void 0).value().length;return T.useEffect(()=>{d({id:u,index:a,label:r,icon:o,badge:s,errors:v})},[d,h,r,o,u,s,a,v]),T.useEffect(()=>()=>{h(u)},[u,h]),f.jsx(A.Box,{display:g?"unset":"none",children:e.children})}function RT(e){const t=u0(e),n=Xh(e);return f.jsx(jT,{...e,id:n,children:T.Children.map(t,r=>{const o=Xh(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function MT(e){return f.jsx(jT,{...e})}function u0(e){const{children:t}=e;return T.useMemo(()=>Q.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===MT||(r==null?void 0:r.type)===RT)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function FJ(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=Q.pick(e,["syncWithLocation","errorCount"]),s=Q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=PT(e),u=u0(e);return f.jsx(cT,{...o,children:f.jsxs(bT,{...s,spacing:r,children:[f.jsxs(IT,{disposition:t,spacing:r,children:[a,f.jsx(AT,{}),c]}),f.jsx(xT,{disposition:n,children:u})]})})}const kt=FJ;kt.BaseForm=bT;kt.Content=xT;kt.Provider=cT;kt.useItems=pT;kt.useSyncWithLocation=hT;kt.useErrorCount=gT;kt.useFormRootPath=dT;kt.useActiveItem=fT;kt.useSetActiveItem=mT;kt.useAddItem=vT;kt.useRemoveItem=yT;kt.Sidebar=IT;kt.SidebarSection=OT;kt.SidebarSectionPosition=ET;kt.useSidebarChildren=PT;kt.NavMenu=AT;kt.NavMenuItem=c0;kt.useNavMenuItem=ST;kt.Tab=MT;kt.Group=RT;kt.useBaseItemChildren=u0;const DJ=fe(L.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function LJ(e){return f.jsx(DJ,{...e})}const _J=fe(L.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function BJ(e){return f.jsx(_J,{...e})}const NJ=wl(L.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function VJ({children:e}){return f.jsx(f.Fragment,{children:e})}function d0(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=f.jsx(Uo,{children:f.jsx(L.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=f.jsx(Xo,{children:f.jsx(L.SaveButton,{type:"button"})}),...d}=e,h=r0(t),g=A.useTheme();return f.jsx(zn,{title:h,modal:n,content:r,subheader:o,secondary:s,sx:{...a,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form > .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(NJ,{toolbar:u,component:c?VJ:void 0,...d})})}function WJ({children:e,...t}){return f.jsx(L.TabbedForm.Tab,{...t,children:f.jsx(A.Box,{sx:{width:"100%",p:2.5},children:e})})}d0.Tab=L.TabbedForm.Tab;d0.TabStack=WJ;function f0(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=A.useTheme(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(A.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(A.Typography,{children:t}),!n&&(T.isValidElement(e==null?void 0:e.customButton)?T.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(A.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:f.jsx(qe.PlusCircleOutlined,{style:{color:c}})}))]})}function kT(e){const{label:t,disableAdd:n,inset:r,source:o,template:s}=e,[a,c]=T.useState(!1),{append:u}=L.useArrayInput(),d=T.useCallback(()=>{c(g=>!g)},[c]),h=T.useCallback(g=>(c(!1),u(g),Promise.resolve()),[c,u]);return f.jsxs(f.Fragment,{children:[T.cloneElement(f.jsx(f0,{}),{label:t,source:o,disableAdd:n,template:s,onClick:d,inset:r}),f.jsx(A.Dialog,{open:a,onClose:d,maxWidth:"xs",children:f.jsx(te.CreateContextProvider,{value:{save:h},children:e.children})})]})}const p0=T.createContext(void 0);function FT(){return T.useContext(p0)}function Ku(e){const{children:t}=e,{item:n,index:r}=FT(),[o,s]=T.useState(!1),{update:a}=L.useArrayInput(),c=L.useTranslate(),u=T.useCallback(d=>(s(!1),a(r,d),Promise.resolve()),[r,a]);return f.jsxs(f.Fragment,{children:[f.jsx(A.Button,{color:"primary",onClick:()=>s(!0),sx:{justifyContent:"flex-start"},children:c("ra.action.edit")}),f.jsx(A.Dialog,{open:o,onClose:()=>s(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(L.EditContextProvider,{value:{record:n,save:u},children:t})})]})}function DT({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=En.useFormContext(),o=L.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}const h0=T.createContext(void 0);function LT(){return T.useContext(h0)}const _T=_.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:s,member:a,resource:c,record:u}=e,d=L.useTranslate(),[h,g]=_.useState(!1),{total:m,remove:v}=LT(),x=_.useCallback(()=>{g(!1),v(s)},[s,v]),y=T.useMemo(()=>({index:s,total:m,item:u,remove:()=>v(s)}),[s,m,v,u]),w=T.useMemo(()=>T.Children.map(n,I=>T.isValidElement(I)&&(I==null?void 0:I.type)===Ku&&_.isValidElement(I)?I:null),[n]);return f.jsxs(p0.Provider,{value:y,children:[T.Children.map(n,(I,M)=>{if(I.type===Ku||!T.isValidElement(I))return null;const{source:E,...j}=I.props;return f.jsx(A.TableCell,{children:T.cloneElement(I,{source:E?`${a}.${E}`:a,index:E?void 0:M,resource:c,disabled:r,...j,label:""})})}),!o&&f.jsx(A.TableCell,{children:f.jsx(A.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(Uo,{horizontal:!0,children:[f.jsx(A.Button,{onClick:()=>g(!0),color:"error",sx:{justifyContent:"flex-start"},children:d("ra.action.delete")}),w]})})}),o&&w?f.jsx(A.TableCell,{children:f.jsx(A.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(Uo,{horizontal:!0,children:w})})}):null,n.length>0&&f.jsx(L.Confirm,{isOpen:h,title:d("ra.action.remove_item"),content:d("ra.message.remove_item"),onConfirm:x,onClose:()=>g(!1)})]})});function $J(e){var X,W;const{children:t,resource:n,source:r,label:o,disableAdd:s=!1,disableRemove:a=!1,enableClearAll:c=!1,className:u,empty:d,template:h={},addButton:g=f.jsx(f0,{}),inset:m}=e,[v,x]=T.useState(!1),{fields:y,remove:w,replace:I,append:M}=L.useArrayInput(e),{resetField:E}=En.useFormContext(),j=Gt(),P=te.useTranslate(),F=T.useRef(h||{}),k=te.useTranslateLabel(),$=T.useCallback(K=>{w(K)},[w]);if(y.length>0){const{...K}=y[0];F.current=K;for(const B in F.current)F.current[B]=null}const G=T.useCallback((K=void 0)=>{let B=K;K==null&&(B=F.current,T.Children.count(t)===1&&_.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,V=>_.isValidElement(V)&&V.type!==te.FormDataConsumer).some(Boolean)?B="":(B=B||{},T.Children.forEach(t,V=>{_.isValidElement(V)&&V.type!==te.FormDataConsumer&&V.props.source&&(B[V.props.source]=V.props.defaultValue??null)})));const ne={...B,...h};M(ne),E(`${r}.${y.length}`,{defaultValue:B})},[M,t,E,r,y.length,h]);function J(K){return B=>{G(),K&&K(B)}}const U=T.useCallback(()=>{I([]),x(!1)},[I]),ae=T.useMemo(()=>({total:y.length,remove:$,source:r}),[y.length,$,r]),se=j.palette.mode==="dark"?j.palette.grey.A400:j.palette.grey.A800,Z=y.length>0&&c;return y?f.jsx(h0.Provider,{value:ae,children:f.jsxs("div",{className:u,children:[_.cloneElement(g,{label:o,source:r,disableAdd:s,template:h,onClick:(g==null?void 0:g.type)!==kT?J((W=(X=e==null?void 0:e.addButton)==null?void 0:X.props)==null?void 0:W.onClick):void 0,inset:m}),f.jsx(A.TableContainer,{component:A.Paper,sx:m===!0?{borderRadius:0}:{mt:2,border:`1px solid ${se}`},children:f.jsxs(A.Table,{size:"small",children:[f.jsx(A.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${se}`},children:f.jsxs(A.TableRow,{children:[T.Children.map(t,(K,B)=>{if(K.type===Ku||!_.isValidElement(K))return null;const ne=f.jsx(A.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:k({...K.props,resource:n})});return f.jsx(A.TableCell,{children:K.props.title?f.jsx(Pd,{title:K.props.title,arrow:!0,children:ne}):ne},B)}),!a&&Z?f.jsx(A.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(Uo,{horizontal:!0,children:f.jsx(A.Typography,{color:"error",onClick:()=>x(!0),children:P("ra.action.delete")})})},"actions"):f.jsx(A.TableCell,{},"empty_actions")]})}),f.jsxs(A.TableBody,{children:[y.length===0&&f.jsx(A.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(A.TableCell,{colSpan:4+(a?0:1),align:"center",children:d||f.jsx(A.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),y.length>0&&y.map((K,B)=>f.jsx(A.TableRow,{sx:{borderBottom:`1px solid ${se}}`},children:f.jsx(_T,{disableRemove:a,index:B,member:`${r}.${B}`,onRemoveField:$,record:y&&y[B]||{},resource:n,source:r,children:t})},K.id))]})]})}),y.length>0&&f.jsx(L.Confirm,{isOpen:v,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:U,onClose:()=>x(!1)})]})}):null}const zJ=fe($J,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}})),zd=zJ;zd.CreateButton=kT;zd.EditButton=Ku;zd.Field=DT;const BT=T.createContext(void 0);function Ud(){const e=T.useContext(BT);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function UJ({value:e,children:t}){return f.jsx(BT.Provider,{value:e,children:t})}function HJ({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:s}=Ud(),a=te.useTranslate(),{handleSubmit:c}=En.useFormContext(),u=T.useCallback(()=>{o()},[o]);return f.jsxs(Xo,{...t,children:[f.jsx(A.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?T.cloneElement(e):null}),f.jsx(A.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(A.Button,{variant:"text",color:"primary",onClick:s,children:a("ra.action.back")}),n()?f.jsx(A.Button,{variant:"contained",color:"primary",onClick:c(u),children:a("ra.action.next")}):f.jsx(L.SaveButton,{})]})}const GJ=A.styled(A.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),qJ=A.styled(A.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function YJ({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(qJ,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function KJ({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=Ud(),{errors:s}=En.useFormState();function a(c){c<=r&&t(c)}return f.jsx(GJ,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((c,u)=>{const d=n[u].some(m=>Q.get(s,m)),{label:h,icon:g}=c.props;return f.jsx(A.Step,{children:f.jsx(A.StepLabel,{StepIconComponent:YJ,error:d,icon:g,onClick:()=>a(u),style:{cursor:u<=r?"pointer":"default"},children:e?null:h})},u)})})}function XJ({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:s,modal:a,sx:c,setCurrentStep:u}){const{currentStep:d,steps:h}=Ud(),g=L.useTranslate(),m=s||a,v=T.useMemo(()=>r?T.Children.toArray(r.props.children).find(y=>{var w;return T.isValidElement(y)&&y.type===A.Button&&((w=y.props)==null?void 0:w.children)===g("ra.action.cancel")}):null,[r,g]),x=h.map(y=>{const w=[],{sources:I}=y.props;return I!==void 0?w.push(...I):$d(y,M=>{var E;((E=M==null?void 0:M.props)==null?void 0:E.source)!==void 0&&w.push(M.props.source)}),w});return f.jsxs(A.Grid,{container:!0,spacing:2,sx:c,children:[f.jsx(A.Grid,{item:!0,xl:a?12:2,lg:a?12:3,md:a?12:3,sm:a?12:4,xs:12,children:o||f.jsx(KJ,{isHorizontal:m,setCurrentStep:u,stepFields:x})}),a?f.jsx(A.Divider,{sx:{width:"100%"}}):null,f.jsx(A.Grid,{item:!0,xl:a?12:10,lg:a?12:9,md:a?12:9,sm:a?12:8,xs:12,sx:{paddingTop:a?"0 !important":null},children:f.jsxs(zn,{title:e||h[d].props.label,subheader:t,secondary:n,border:!a,divider:!0,children:[f.jsx(A.Box,{children:h[d]}),r&&!v?r:f.jsx(HJ,{cancelButton:v})]})})]})}const ZJ=A.styled(L.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`},"& .MuiToolbar-root":{paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important",paddingTop:`${e.spacing(2)} !important`}}));function NT({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:s=null,sx:a,modal:c=!1,...u}){const[d,h]=T.useState(0),g=T.Children.toArray(e),m=A.useMediaQuery(M=>M.breakpoints.down("sm"));function v(){return d<g.length-1}function x(){return d>0}function y(){h(M=>Math.min(M+1,g.length-1))}function w(){h(M=>Math.max(M-1,0))}const I={currentStep:d,steps:g,hasNextStep:v,hasPreviousStep:x,goToNextStep:y,goToPreviousStep:w};return f.jsx(UJ,{value:I,children:f.jsx(ZJ,{...u,modal:c,children:f.jsx(XJ,{title:r,subheader:o,secondary:s,modal:c,sx:a,toolbar:t,progress:n,isSmall:m,setCurrentStep:h})})})}function QJ({children:e}){return f.jsx(f.Fragment,{children:e})}NT.Step=QJ;function JJ(e,t){const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=Q.chain(n.media).clone().extend(o).value();return Q.extend(n,{media:s})}case"updateDrawer":{const s=Q.chain(n.drawer).clone().extend(o).value();return Q.extend(n,{drawer:s})}case"updateLogo":{const s=Q.chain(n.logo).clone().extend(o).value();return Q.extend(n,{logo:s})}case"updateNotifications":{const s=Q.chain(n.notifications).clone().extend(o).value();return Q.extend(n,{notifications:s})}case"updateTheme":{const s=Q.chain(n.theme).clone().extend(o).value();return Q.extend(n,{theme:s})}default:return n}}const eee={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},VT=T.createContext(void 0);function WT(e){var G;const t=te.useAuthProvider(),n=te.useGetIdentity(),r=A.useTheme(),o=A.useMediaQuery(r.breakpoints.down("md")),s=A.useMediaQuery(r.breakpoints.down("lg")),a=A.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,themeDirection:d,drawerWidth:h}=i0(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Bd(),x=T.useCallback(()=>{v(!m)},[m,v]),[y,w]=T.useState(!1),[I,M]=T.useReducer(JJ,Q.chain(eee).clone().merge({drawer:{open:!c||m}}).value()),E=T.useCallback(()=>w(!1),[]),j=T.useMemo(()=>({state:I,dispatch:M}),[I,M]),{logoIcon:P,logoMain:F,enableNotification:k,notification:$}=e;return T.useEffect(()=>{M({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:g}})},[o,s,a,g]),T.useEffect(()=>{M({type:"updateDrawer",payload:{open:m,width:h,handleDrawerToggle:x}})},[m,h,x]),T.useEffect(()=>{c||v(!a)},[a,c]),T.useEffect(()=>{M({type:"updateLogo",payload:{main:F,icon:P}})},[P,F]),T.useEffect(()=>{M({type:"updateNotifications",payload:{enable:k,resource:$??"entities/notification"}})},[k,$]),T.useEffect(()=>{M({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),T.useEffect(()=>{if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(J=>{var U;w(!J&&((U=n==null?void 0:n.data)==null?void 0:U.needToChangePassword)===!0)})},[(G=n==null?void 0:n.data)==null?void 0:G.needToChangePassword,t]),f.jsxs(VT.Provider,{value:j,children:[f.jsx(A.Dialog,{open:y,maxWidth:"xs",fullWidth:!0,children:f.jsx(a0,{onSuccess:E,firstAccess:!0})}),e.children]})}function $T(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx(WT,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function g0(){const e=T.useContext(VT);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function tee(){return g0().dispatch}function Zs(){return g0().state}function Yn(){return Zs().media}function Vi(){return Zs().drawer}function zT(){return Zs().logo}function Hd(){return Zs().notifications}function nee(){return Zs().theme}function UT(e){const{width:t}=Vi(),{horizontal:n}=Yn(),{container:r}=Rn(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Gt();return f.jsx(_Y,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(qm,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx(ZS,{}),children:f.jsxs(A.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(A.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(A.Container,{maxWidth:r?"xl":!1,sx:{...r&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column",[c.breakpoints.down("sm")]:{px:"12px"}},children:e.children})]})})})}const HT=fe(A.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)}));function GT({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=Rn();return f.jsx(A.ButtonBase,{disableRipple:!0,component:dt.Link,to:n||s,sx:t,children:e?r:o})}function qT(e){const t=A.useTheme(),{horizontal:n}=Yn(),{open:r}=Vi(),{icon:o,main:s}=zT(),a=Pr(e,{minHeight:n?"unset":"60px",width:n?{xs:"100%",lg:"424px"}:"inherit",paddingTop:n?{xs:"10px",lg:"0"}:"8px",paddingBottom:n?{xs:"18px",lg:"0"}:"8px",paddingLeft:n?{xs:"24px",lg:"0"}:r?"24px":0});return f.jsx(HT,{theme:t,open:r,sx:a,children:f.jsx(GT,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function lC(e,t){return{width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}}function cC(e){return{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}}const ree=fe(A.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Rn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...lC(e,n),"& .MuiDrawer-paper":lC(e,n)},...!t&&{...cC(e),"& .MuiDrawer-paper":cC(e)}}});var Se={},Zh={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",s="",a="?",c="function",u="undefined",d="object",h="string",g="major",m="model",v="name",x="type",y="vendor",w="version",I="architecture",M="console",E="mobile",j="tablet",P="smarttv",F="wearable",k="embedded",$=500,G="Amazon",J="Apple",U="ASUS",ae="BlackBerry",se="Browser",Z="Chrome",X="Edge",W="Firefox",K="Google",B="Huawei",ne="LG",V="Microsoft",q="Motorola",ue="Opera",pe="Samsung",de="Sharp",he="Sony",me="Xiaomi",Ae="Zebra",xe="Facebook",ye="Chromium OS",Ce="Mac OS",Ee=" Browser",ce=function(ke,Fe){var Ie={};for(var be in ke)Fe[be]&&Fe[be].length%2===0?Ie[be]=Fe[be].concat(ke[be]):Ie[be]=ke[be];return Ie},Xe=function(ke){for(var Fe={},Ie=0;Ie<ke.length;Ie++)Fe[ke[Ie].toUpperCase()]=ke[Ie];return Fe},ge=function(ke,Fe){return typeof ke===h?Ke(Fe).indexOf(Ke(ke))!==-1:!1},Ke=function(ke){return ke.toLowerCase()},Jt=function(ke){return typeof ke===h?ke.replace(/[^\d\.]/g,s).split(".")[0]:r},St=function(ke,Fe){if(typeof ke===h)return ke=ke.replace(/^\s\s*/,s),typeof Fe===u?ke:ke.substring(0,$)},gt=function(ke,Fe){for(var Ie=0,be,ft,Nt,_e,Oe,qt;Ie<Fe.length&&!Oe;){var Xn=Fe[Ie],xr=Fe[Ie+1];for(be=ft=0;be<Xn.length&&!Oe&&Xn[be];)if(Oe=Xn[be++].exec(ke),Oe)for(Nt=0;Nt<xr.length;Nt++)qt=Oe[++ft],_e=xr[Nt],typeof _e===d&&_e.length>0?_e.length===2?typeof _e[1]==c?this[_e[0]]=_e[1].call(this,qt):this[_e[0]]=_e[1]:_e.length===3?typeof _e[1]===c&&!(_e[1].exec&&_e[1].test)?this[_e[0]]=qt?_e[1].call(this,qt,_e[2]):r:this[_e[0]]=qt?qt.replace(_e[1],_e[2]):r:_e.length===4&&(this[_e[0]]=qt?_e[3].call(this,qt.replace(_e[1],_e[2])):r):this[_e]=qt||r;Ie+=2}},Mn=function(ke,Fe){for(var Ie in Fe)if(typeof Fe[Ie]===d&&Fe[Ie].length>0){for(var be=0;be<Fe[Ie].length;be++)if(ge(Fe[Ie][be],ke))return Ie===a?r:Ie}else if(ge(Fe[Ie],ke))return Ie===a?r:Ie;return Fe.hasOwnProperty("*")?Fe["*"]:ke},Tt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},mt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ut={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,w],[/opios[\/ ]+([\w\.]+)/i],[w,[v,ue+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,ue+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,ue]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[v,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[v,"UC"+se]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[v,"Smart Lenovo "+se]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+se],w],[/\bfocus\/([\w\.]+)/i],[w,[v,W+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,ue+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,ue+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+se]],[/fxios\/([-\w\.]+)/i],[w,[v,W]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360"+Ee]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Ee],w],[/samsungbrowser\/([\w\.]+)/i],[w,[v,pe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[v,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,xe],w],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[v,Z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,Z+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+se]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[w,Mn,Tt]],[/(webkit|khtml)\/([\w\.]+)/i],[v,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],w],[/(wolvic)\/([\w\.]+)/i],[v,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[v,W+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[v,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[I,"amd64"]],[/(ia32(?=;))/i],[[I,Ke]],[/((?:i[346]|x)86)[;\)]/i],[[I,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/windows (ce|mobile); ppc;/i],[[I,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[I,/ower/,s,Ke]],[/(sun4\w)[;\)]/i],[[I,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[I,Ke]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[y,pe],[x,j]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[y,pe],[x,E]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[y,J],[x,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[y,J],[x,j]],[/(macintosh);/i],[m,[y,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[y,de],[x,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[y,B],[x,j]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[y,B],[x,E]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[m,/_/g," "],[y,me],[x,E]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[y,me],[x,j]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[y,"OPPO"],[x,E]],[/\b(opd2\d{3}a?) bui/i],[m,[y,"OPPO"],[x,j]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[y,"Vivo"],[x,E]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[y,"Realme"],[x,E]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[y,q],[x,E]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[y,q],[x,j]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[y,ne],[x,j]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[y,ne],[x,E]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[y,"Lenovo"],[x,j]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[y,"Nokia"],[x,E]],[/(pixel c)\b/i],[m,[y,K],[x,j]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[y,K],[x,E]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[y,he],[x,E]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[y,he],[x,j]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[y,"OnePlus"],[x,E]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[y,G],[x,j]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[y,G],[x,E]],[/(playbook);[-\w\),; ]+(rim)/i],[m,y,[x,j]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[y,ae],[x,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[y,U],[x,j]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[y,U],[x,E]],[/(nexus 9)/i],[m,[y,"HTC"],[x,j]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[y,[m,/_/g," "],[x,E]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[y,"TCL"],[x,j]],[/(itel) ((\w+))/i],[[y,Ke],m,[x,Mn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[y,"Acer"],[x,j]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[y,"Meizu"],[x,E]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[y,"Ulefone"],[x,E]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[y,"Nothing"],[x,E]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[y,m,[x,E]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[y,m,[x,j]],[/(surface duo)/i],[m,[y,V],[x,j]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[y,"Fairphone"],[x,E]],[/(u304aa)/i],[m,[y,"AT&T"],[x,E]],[/\bsie-(\w*)/i],[m,[y,"Siemens"],[x,E]],[/\b(rct\w+) b/i],[m,[y,"RCA"],[x,j]],[/\b(venue[\d ]{2,7}) b/i],[m,[y,"Dell"],[x,j]],[/\b(q(?:mv|ta)\w+) b/i],[m,[y,"Verizon"],[x,j]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[y,"Barnes & Noble"],[x,j]],[/\b(tm\d{3}\w+) b/i],[m,[y,"NuVision"],[x,j]],[/\b(k88) b/i],[m,[y,"ZTE"],[x,j]],[/\b(nx\d{3}j) b/i],[m,[y,"ZTE"],[x,E]],[/\b(gen\d{3}) b.+49h/i],[m,[y,"Swiss"],[x,E]],[/\b(zur\d{3}) b/i],[m,[y,"Swiss"],[x,j]],[/\b((zeki)?tb.*\b) b/i],[m,[y,"Zeki"],[x,j]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[y,"Dragon Touch"],m,[x,j]],[/\b(ns-?\w{0,9}) b/i],[m,[y,"Insignia"],[x,j]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[y,"NextBook"],[x,j]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],m,[x,E]],[/\b(lvtel\-)?(v1[12]) b/i],[[y,"LvTel"],m,[x,E]],[/\b(ph-1) /i],[m,[y,"Essential"],[x,E]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[y,"Envizen"],[x,j]],[/\b(trio[-\w\. ]+) b/i],[m,[y,"MachSpeed"],[x,j]],[/\btu_(1491) b/i],[m,[y,"Rotor"],[x,j]],[/(shield[\w ]+) b/i],[m,[y,"Nvidia"],[x,j]],[/(sprint) (\w+)/i],[y,m,[x,E]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[y,V],[x,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[y,Ae],[x,j]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[y,Ae],[x,E]],[/smart-tv.+(samsung)/i],[y,[x,P]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[y,pe],[x,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[y,ne],[x,P]],[/(apple) ?tv/i],[y,[m,J+" TV"],[x,P]],[/crkey/i],[[m,Z+"cast"],[y,K],[x,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[y,G],[x,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[y,de],[x,P]],[/(bravia[\w ]+)( bui|\))/i],[m,[y,he],[x,P]],[/(mitv-\w{5}) bui/i],[m,[y,me],[x,P]],[/Hbbtv.*(technisat) (.*);/i],[y,m,[x,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[y,St],[m,St],[x,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[x,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,m,[x,M]],[/droid.+; (shield) bui/i],[m,[y,"Nvidia"],[x,M]],[/(playstation [345portablevi]+)/i],[m,[y,he],[x,M]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[y,V],[x,M]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[y,pe],[x,F]],[/((pebble))app/i],[y,m,[x,F]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[y,J],[x,F]],[/droid.+; (glass) \d/i],[m,[y,K],[x,F]],[/droid.+; (wt63?0{2,3})\)/i],[m,[y,Ae],[x,F]],[/(quest( \d| pro)?)/i],[m,[y,xe],[x,F]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[y,[x,k]],[/(aeobc)\b/i],[m,[y,G],[x,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[x,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[x,j]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[x,j]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[x,E]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[y,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,X+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[w,Mn,mt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Mn,mt],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,Ce],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,w],[/\(bb(10);/i],[w,[v,ae]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[v,W+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[v,Z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,ye],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,w],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,w]]},vt=function(ke,Fe){if(typeof ke===d&&(Fe=ke,ke=r),!(this instanceof vt))return new vt(ke,Fe).getResult();var Ie=typeof n!==u&&n.navigator?n.navigator:r,be=ke||(Ie&&Ie.userAgent?Ie.userAgent:s),ft=Ie&&Ie.userAgentData?Ie.userAgentData:r,Nt=Fe?ce(Ut,Fe):Ut,_e=Ie&&Ie.userAgent==be;return this.getBrowser=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.browser),Oe[g]=Jt(Oe[w]),_e&&Ie&&Ie.brave&&typeof Ie.brave.isBrave==c&&(Oe[v]="Brave"),Oe},this.getCPU=function(){var Oe={};return Oe[I]=r,gt.call(Oe,be,Nt.cpu),Oe},this.getDevice=function(){var Oe={};return Oe[y]=r,Oe[m]=r,Oe[x]=r,gt.call(Oe,be,Nt.device),_e&&!Oe[x]&&ft&&ft.mobile&&(Oe[x]=E),_e&&Oe[m]=="Macintosh"&&Ie&&typeof Ie.standalone!==u&&Ie.maxTouchPoints&&Ie.maxTouchPoints>2&&(Oe[m]="iPad",Oe[x]=j),Oe},this.getEngine=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.engine),Oe},this.getOS=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.os),_e&&!Oe[v]&&ft&&ft.platform&&ft.platform!="Unknown"&&(Oe[v]=ft.platform.replace(/chrome os/i,ye).replace(/macos/i,Ce)),Oe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(Oe){return be=typeof Oe===h&&Oe.length>$?St(Oe,$):Oe,this},this.setUA(be),this};vt.VERSION=o,vt.BROWSER=Xe([v,w,g]),vt.CPU=Xe([I]),vt.DEVICE=Xe([m,y,x,M,E,P,j,F,k]),vt.ENGINE=vt.OS=Xe([v,w]),e.exports&&(t=e.exports=vt),t.UAParser=vt;var Bt=typeof n!==u&&(n.jQuery||n.Zepto);if(Bt&&!Bt.ua){var Et=new vt;Bt.ua=Et.getResult(),Bt.ua.get=function(){return Et.getUA()},Bt.ua.set=function(ke){Et.setUA(ke);var Fe=Et.getResult();for(var Ie in Fe)Bt.ua[Ie]=Fe[Ie]}}})(typeof window=="object"?window:An)})(Zh,Zh.exports);var oee=Zh.exports;Object.defineProperty(Se,"__esModule",{value:!0});function iee(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var an=T,ht=iee(an),YT=oee,Zo=new YT,ln=Zo.getBrowser(),see=Zo.getCPU(),Kn=Zo.getDevice(),m0=Zo.getEngine(),Qo=Zo.getOS(),jl=Zo.getUA(),KT=function(t){return Zo.setUA(t)},Rl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new YT(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},XT=Object.freeze({ClientUAInstance:Zo,browser:ln,cpu:see,device:Kn,engine:m0,os:Qo,ua:jl,setUa:KT,parseUserAgent:Rl});function uC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function aee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uC(Object(n),!0).forEach(function(r){dee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ua(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ua=function(t){return typeof t}:Ua=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uee(e,t,n){return t&&cee(e.prototype,t),e}function dee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qh(){return Qh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qh.apply(this,arguments)}function fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function Jh(e){return Jh=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jh(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eg(e,t)}function pee(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function br(e,t){if(e==null)return{};var n=pee(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hee(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uu(e)}function gee(e,t){return mee(e)||vee(e,t)||yee(e,t)||bee()}function mee(e){if(Array.isArray(e))return e}function vee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,s=!1,a,c;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){s=!0,c=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(s)throw c}}return r}}function yee(e,t){if(e){if(typeof e=="string")return dC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dC(e,t)}}function dC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
216
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sn={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},jn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Qs={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},xee={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},Cee=function(t){switch(t){case sn.Mobile:return{isMobile:!0};case sn.Tablet:return{isTablet:!0};case sn.SmartTv:return{isSmartTV:!0};case sn.Console:return{isConsole:!0};case sn.Wearable:return{isWearable:!0};case sn.Browser:return{isBrowser:!0};case sn.Embedded:return{isEmbedded:!0};default:return xee}},wee=function(t){return KT(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},v0=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},y0=function(t){var n=v0();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},Aee=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:De(n.major),browserFullVersion:De(n.version),browserName:De(n.name),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}},fC=function(t,n,r,o){return aee({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},See=function(t,n,r,o){return{isSmartTV:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Tee=function(t,n,r,o){return{isConsole:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Eee=function(t,n,r,o){return{isWearable:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Iee=function(t,n,r,o,s){return{isEmbedded:t,vendor:De(n.vendor),model:De(n.model),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}};function Oee(e){var t=e?Rl(e):XT,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=Cee(n.type),u=c.isBrowser,d=c.isMobile,h=c.isTablet,g=c.isSmartTV,m=c.isConsole,v=c.isWearable,x=c.isEmbedded;if(u)return Aee(u,r,o,s,a);if(g)return See(g,o,s,a);if(m)return Tee(m,o,s,a);if(d||h)return fC(c,n,s,a);if(v)return Eee(v,o,s,a);if(x)return Iee(x,n,o,s,a)}var ZT=function(t){var n=t.type;return n===sn.Mobile},QT=function(t){var n=t.type;return n===sn.Tablet},JT=function(t){var n=t.type;return n===sn.Mobile||n===sn.Tablet},eE=function(t){var n=t.type;return n===sn.SmartTv},Xu=function(t){var n=t.type;return n===sn.Browser},tE=function(t){var n=t.type;return n===sn.Wearable},nE=function(t){var n=t.type;return n===sn.Console},rE=function(t){var n=t.type;return n===sn.Embedded},oE=function(t){var n=t.vendor;return De(n)},iE=function(t){var n=t.model;return De(n)},sE=function(t){var n=t.type;return De(n,"browser")},aE=function(t){var n=t.name;return n===Qs.Android},lE=function(t){var n=t.name;return n===Qs.Windows},cE=function(t){var n=t.name;return n===Qs.MAC_OS},uE=function(t){var n=t.name;return n===Qs.WindowsPhone},dE=function(t){var n=t.name;return n===Qs.IOS},fE=function(t){var n=t.version;return De(n)},pE=function(t){var n=t.name;return De(n)},hE=function(t){var n=t.name;return n===jn.Chrome},gE=function(t){var n=t.name;return n===jn.Firefox},mE=function(t){var n=t.name;return n===jn.Chromium},Zu=function(t){var n=t.name;return n===jn.Edge},vE=function(t){var n=t.name;return n===jn.Yandex},yE=function(t){var n=t.name;return n===jn.Safari||n===jn.MobileSafari},bE=function(t){var n=t.name;return n===jn.MobileSafari},xE=function(t){var n=t.name;return n===jn.Opera},CE=function(t){var n=t.name;return n===jn.InternetExplorer||n===jn.Ie},wE=function(t){var n=t.name;return n===jn.MIUI},AE=function(t){var n=t.name;return n===jn.SamsungBrowser},SE=function(t){var n=t.version;return De(n)},TE=function(t){var n=t.major;return De(n)},EE=function(t){var n=t.name;return De(n)},IE=function(t){var n=t.name;return De(n)},OE=function(t){var n=t.version;return De(n)},PE=function(){var t=v0(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Os=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},jE=function(){var t=v0();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},Lr=function(){return y0("iPad")},RE=function(){return y0("iPhone")},ME=function(){return y0("iPod")},kE=function(t){return De(t)};function FE(e){var t=e||XT,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:eE(n),isConsole:nE(n),isWearable:tE(n),isEmbedded:rE(n),isMobileSafari:bE(r)||Lr(),isChromium:mE(r),isMobile:JT(n)||Lr(),isMobileOnly:ZT(n),isTablet:QT(n)||Lr(),isBrowser:Xu(n),isDesktop:Xu(n),isAndroid:aE(o),isWinPhone:uE(o),isIOS:dE(o)||Lr(),isChrome:hE(r),isFirefox:gE(r),isSafari:yE(r),isOpera:xE(r),isIE:CE(r),osVersion:fE(o),osName:pE(o),fullBrowserVersion:SE(r),browserVersion:TE(r),browserName:EE(r),mobileVendor:oE(n),mobileModel:iE(n),engineName:IE(s),engineVersion:OE(s),getUA:kE(a),isEdge:Zu(r)||Os(a),isYandex:vE(r),deviceType:sE(n),isIOS13:jE(),isIPad13:Lr(),isIPhone13:RE(),isIPod13:ME(),isElectron:PE(),isEdgeChromium:Os(a),isLegacyEdge:Zu(r)&&!Os(a),isWindows:lE(o),isMacOs:cE(o),isMIUI:wE(r),isSamsungBrowser:AE(r)}}var DE=eE(Kn),LE=nE(Kn),_E=tE(Kn),Pee=rE(Kn),jee=bE(ln)||Lr(),Ree=mE(ln),Gd=JT(Kn)||Lr(),BE=ZT(Kn),NE=QT(Kn)||Lr(),VE=Xu(Kn),Mee=Xu(Kn),WE=aE(Qo),$E=uE(Qo),zE=dE(Qo)||Lr(),kee=hE(ln),Fee=gE(ln),Dee=yE(ln),Lee=xE(ln),UE=CE(ln),_ee=fE(Qo),Bee=pE(Qo),Nee=SE(ln),Vee=TE(ln),Wee=EE(ln),$ee=oE(Kn),zee=iE(Kn),Uee=IE(m0),Hee=OE(m0),Gee=kE(jl),qee=Zu(ln)||Os(jl),Yee=vE(ln),Kee=sE(Kn),Xee=jE(),Zee=Lr(),Qee=RE(),Jee=ME(),ete=PE(),tte=Os(jl),nte=Zu(ln)&&!Os(jl),rte=lE(Qo),ote=cE(Qo),ite=wE(ln),ste=AE(ln),ate=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=Rl(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return FE({device:r,browser:o,os:s,engine:a,ua:c})},lte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return WE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},cte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return VE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},ute=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return UE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},dte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return zE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},fte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return Gd?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},pte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return NE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},hte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return $E?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},gte=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=br(t,["renderWithFragment","children","viewClassName","style"]);return BE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},mte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return DE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},vte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return LE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},yte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return _E?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},bte=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=br(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",s,r):null};function xte(e){return function(t){fee(n,t);function n(r){var o;return lee(this,n),o=hee(this,Jh(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(uu(o)),o.onOrientationChange=o.onOrientationChange.bind(uu(o)),o.onPageLoad=o.onPageLoad.bind(uu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return uee(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Ua(window))!==void 0&&Gd&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return ht.createElement(e,Qh({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(ht.Component)}function Cte(){var e=an.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=gee(e,2),n=t[0],r=t[1],o=an.useCallback(function(){var s=window.innerWidth>window.innerHeight?90:0,a={isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"};n.orientation!==a.orientation&&r(a)},[n.orientation]);return an.useEffect(function(){return(typeof window>"u"?"undefined":Ua(window))!==void 0&&Gd&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function HE(e){var t=e||window.navigator.userAgent;return Rl(t)}function wte(e){var t=e||window.navigator.userAgent,n=HE(t),r=FE(n);return[r,n]}Se.AndroidView=lte;Se.BrowserTypes=jn;var Ate=Se.BrowserView=cte;Se.ConsoleView=vte;Se.CustomView=bte;Se.IEView=ute;Se.IOSView=dte;Se.MobileOnlyView=gte;var Ste=Se.MobileView=fte;Se.OsTypes=Qs;Se.SmartTVView=mte;Se.TabletView=pte;Se.WearableView=yte;Se.WinPhoneView=hte;Se.browserName=Wee;Se.browserVersion=Vee;Se.deviceDetect=Oee;Se.deviceType=Kee;Se.engineName=Uee;Se.engineVersion=Hee;Se.fullBrowserVersion=Nee;Se.getSelectorsByUserAgent=ate;Se.getUA=Gee;Se.isAndroid=WE;Se.isBrowser=VE;Se.isChrome=kee;Se.isChromium=Ree;Se.isConsole=LE;Se.isDesktop=Mee;Se.isEdge=qee;Se.isEdgeChromium=tte;Se.isElectron=ete;Se.isEmbedded=Pee;Se.isFirefox=Fee;Se.isIE=UE;Se.isIOS=zE;Se.isIOS13=Xee;Se.isIPad13=Zee;Se.isIPhone13=Qee;Se.isIPod13=Jee;Se.isLegacyEdge=nte;Se.isMIUI=ite;Se.isMacOs=ote;Se.isMobile=Gd;Se.isMobileOnly=BE;Se.isMobileSafari=jee;Se.isOpera=Lee;Se.isSafari=Dee;Se.isSamsungBrowser=ste;Se.isSmartTV=DE;Se.isTablet=NE;Se.isWearable=_E;Se.isWinPhone=$E;Se.isWindows=rte;Se.isYandex=Yee;Se.mobileModel=zee;Se.mobileVendor=$ee;Se.osName=Bee;Se.osVersion=_ee;Se.parseUserAgent=Rl;Se.setUserAgent=wee;Se.useDeviceData=HE;Se.useDeviceSelectors=wte;Se.useMobileOrientation=Cte;Se.withOrientationChange=xte;var Tte=typeof global=="object"&&global&&global.Object===Object&&global,Ete=typeof self=="object"&&self&&self.Object===Object&&self,GE=Tte||Ete||Function("return this")(),Qu=GE.Symbol,qE=Object.prototype,Ite=qE.hasOwnProperty,Ote=qE.toString,Pa=Qu?Qu.toStringTag:void 0;function Pte(e){var t=Ite.call(e,Pa),n=e[Pa];try{e[Pa]=void 0;var r=!0}catch{}var o=Ote.call(e);return r&&(t?e[Pa]=n:delete e[Pa]),o}var jte=Object.prototype,Rte=jte.toString;function Mte(e){return Rte.call(e)}var kte="[object Null]",Fte="[object Undefined]",pC=Qu?Qu.toStringTag:void 0;function Dte(e){return e==null?e===void 0?Fte:kte:pC&&pC in Object(e)?Pte(e):Mte(e)}function Lte(e){return e!=null&&typeof e=="object"}var _te="[object Symbol]";function Bte(e){return typeof e=="symbol"||Lte(e)&&Dte(e)==_te}var Nte=/\s/;function Vte(e){for(var t=e.length;t--&&Nte.test(e.charAt(t)););return t}var Wte=/^\s+/;function $te(e){return e&&e.slice(0,Vte(e)+1).replace(Wte,"")}function Ju(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var hC=NaN,zte=/^[-+]0x[0-9a-f]+$/i,Ute=/^0b[01]+$/i,Hte=/^0o[0-7]+$/i,Gte=parseInt;function gC(e){if(typeof e=="number")return e;if(Bte(e))return hC;if(Ju(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ju(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=$te(e);var n=Ute.test(e);return n||Hte.test(e)?Gte(e.slice(2),n?2:8):zte.test(e)?hC:+e}var Zp=function(){return GE.Date.now()},qte="Expected a function",Yte=Math.max,Kte=Math.min;function du(e,t,n){var r,o,s,a,c,u,d=0,h=!1,g=!1,m=!0;if(typeof e!="function")throw new TypeError(qte);t=gC(t)||0,Ju(n)&&(h=!!n.leading,g="maxWait"in n,s=g?Yte(gC(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(F){var k=r,$=o;return r=o=void 0,d=F,a=e.apply($,k),a}function x(F){return d=F,c=setTimeout(I,t),h?v(F):a}function y(F){var k=F-u,$=F-d,G=t-k;return g?Kte(G,s-$):G}function w(F){var k=F-u,$=F-d;return u===void 0||k>=t||k<0||g&&$>=s}function I(){var F=Zp();if(w(F))return M(F);c=setTimeout(I,y(F))}function M(F){return c=void 0,m&&r?v(F):(r=o=void 0,a)}function E(){c!==void 0&&clearTimeout(c),d=0,r=u=o=c=void 0}function j(){return c===void 0?a:M(Zp())}function P(){var F=Zp(),k=w(F);if(r=arguments,o=this,u=F,k){if(c===void 0)return x(u);if(g)return clearTimeout(c),c=setTimeout(I,t),v(u)}return c===void 0&&(c=setTimeout(I,t)),a}return P.cancel=E,P.flush=j,P}var Xte="Expected a function";function Zte(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Xte);return Ju(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),du(e,t,{leading:r,maxWait:t,trailing:o})}var As=function(){return As=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},As.apply(this,arguments)};function YE(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function KE(e){return!e||!e.ownerDocument?document:e.ownerDocument}var XE=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,o){var s=o.name.match(/data-simplebar-(.+)/);if(s){var a=s[1].replace(/\W+(.)/g,function(c,u){return u.toUpperCase()});switch(o.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=o.value}}return r},t);return n};function ZE(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function QE(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function JE(e){return".".concat(e.split(" ").join("."))}var b0=!!(typeof window<"u"&&window.document&&window.document.createElement),Qte=Object.freeze({__proto__:null,addClasses:ZE,canUseDOM:b0,classNamesToQuery:JE,getElementDocument:KE,getElementWindow:YE,getOptions:XE,removeClasses:QE}),hs=null,mC=null;b0&&window.addEventListener("resize",function(){mC!==window.devicePixelRatio&&(mC=window.devicePixelRatio,hs=null)});function vC(){if(hs===null){if(typeof document>"u")return hs=0,hs;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),hs=n}return hs}var Oo=YE,Qp=KE,Jte=XE,Po=ZE,jo=QE,xn=JE,Yc=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Oo(r.el);r.scrollXTicking||(o.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(o.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,Po(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){jo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Po(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){jo(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(o){r.mouseX=o.clientX,r.mouseY=o.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var s,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(s=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(s||a)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(s&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(o,"x"):r.onTrackClick(o,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(o,"y"):r.onTrackClick(o,"y"))))}},this.drag=function(o){var s,a,c,u,d,h,g,m,v,x,y;if(!(!r.draggedAxis||!r.contentWrapperEl)){var w,I=r.axis[r.draggedAxis].track,M=(a=(s=I.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,E=r.axis[r.draggedAxis].scrollbar,j=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((h=(d=r.elStyles)===null||d===void 0?void 0:d[r.axis[r.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?w=o.pageY:w=o.pageX;var F=w-((m=(g=I.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-r.axis[r.draggedAxis].dragOffset;F=r.draggedAxis==="x"&&r.isRtl?((x=(v=I.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&x!==void 0?x:0)-E.size-F:F;var k=F/(M-E.size),$=k*(j-P);r.draggedAxis==="x"&&r.isRtl&&($=!((y=e.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?-$:$),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=$}},this.onEndDrag=function(o){r.isDragging=!1;var s=Qp(r.el),a=Oo(r.el);o.preventDefault(),o.stopPropagation(),jo(r.el,r.classNames.dragging),r.onStopScrolling(),s.removeEventListener("mousemove",r.drag,!0),s.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){s.removeEventListener("click",r.preventClick,!0),s.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=As(As({},e.defaultOptions),n),this.classNames=As(As({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Zte(this._onMouseMove,64),this.onWindowResize=du(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=du(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=du(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),s=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==s.left,isScrollingToNegative:s.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:vC()}catch{return vC()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Qp(t),o=Oo(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){b0&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(xn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(xn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(xn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(xn(this.classNames.offset)),this.maskEl=this.el.querySelector(xn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,xn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(xn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(xn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(xn(this.classNames.track)).concat(xn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(xn(this.classNames.track)).concat(xn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(xn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(xn(this.classNames.scrollbar)))||null,this.options.autoHide||(Po(this.axis.x.scrollbar.el,this.classNames.visible),Po(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Oo(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){o&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Oo(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var u=this.contentEl.scrollHeight,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||d,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&d>n,this.axis.y.isOverflowing=u>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],s=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,a=s/o,c;return c=Math.max(~~(a*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,r,o;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,u=parseInt(this.elStyles[this.axis[t].sizeAttr],10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];d=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-d:d,t==="x"&&this.isRtl&&(d=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?d:-d);var h=d/(a-u),g=~~((c-s.size)*h);g=t==="x"&&this.isRtl?-g+(c-s.size):g,s.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Po(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(jo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Po(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Po(n.scrollbar.el,this.classNames.hover):jo(n.scrollbar.el,this.classNames.hover)):(jo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),jo(this.axis[t].track.el,this.classNames.hover),jo(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var o=Qp(this.el),s=Oo(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Po(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,o,s,a,c;n===void 0&&(n="y");var u=this.axis[n];if(!(!this.options.clickOnTrack||!u.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var d=Oo(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(s=(o=h.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,m=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],x=n==="y"?this.mouseY-g:this.mouseX-g,y=x<0?-1:1,w=y===-1?v-m:v+m,I=40,M=function(){r.contentWrapperEl&&(y===-1?v>w&&(v-=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(M)):v<w&&(v+=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(M)))};M()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Oo(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return r.call(o,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Jte,e.helpers=Qte,e}(),Vn=function(){return Vn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Vn.apply(this,arguments)};function ene(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var eI=_.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=ene(e,["children","scrollableNodeProps"]),a=_.useRef(),c=_.useRef(),u=_.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Yc.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Vn(Vn({},Yc.defaultOptions.classNames),d.classNames),m=Vn(Vn({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Yc.defaultOptions.ariaLabel});return _.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Yc(a.current,Vn(Vn(Vn({},d),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),_.createElement("div",Vn({"data-simplebar":"init",ref:a},h),_.createElement("div",{className:g.wrapper},_.createElement("div",{className:g.heightAutoObserverWrapperEl},_.createElement("div",{className:g.heightAutoObserverEl})),_.createElement("div",{className:g.mask},_.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Vn(Vn({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):_.createElement("div",Vn({},m),_.createElement("div",{className:g.contentEl},n)))),_.createElement("div",{className:g.placeholder})),_.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},_.createElement("div",{className:g.scrollbar})),_.createElement("div",{className:"".concat(g.track," simplebar-vertical")},_.createElement("div",{className:g.scrollbar})))});eI.displayName="SimpleBar";const tne=fe(Ate)({flexGrow:1,height:"100%",overflow:"hidden"}),nne=fe(eI)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:tt(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function tI({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(tne,{children:f.jsx(nne,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(Ste,{children:f.jsx(A.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function nI(e){const t=A.useTheme(),n=Pr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Yn(),{open:o,handleDrawerToggle:s,width:a}=Vi(),c=r?A.Drawer:ree,u=document.body,d=T.useMemo(()=>r?{container:u,variant:"temporary",onClose:s,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:a,borderRight:`1px solid ${t.palette.divider}`,backgroundImage:"none",boxShadow:"inherit",overflow:"auto"}}}:{variant:"permanent"},[r,u,s,a,t.palette.divider]);return f.jsx(A.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:f.jsxs(c,{...d,open:o,children:[f.jsx(qT,{}),f.jsx(tI,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function x0(e){const{name:t,version:n,copy:r="&copy; Applica Software Guru for"}=e;return f.jsx(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-end",flexGrow:1,height:"auto",sx:{pt:1},children:f.jsxs(A.Typography,{variant:"caption",children:[f.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}const rI=fe(A.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Rn();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}}),oI=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary"},{defaults:!0});return f.jsx(A.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),rne=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary"},{defaults:!0});return f.jsx(Sd,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Js=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return f.jsx(A.ToggleButton,{ref:n,...t,color:"secondary",sx:r})});function iI({onClick:e=void 0}){const{open:t,anchorEl:n,handleClose:r,handleToggle:o}=Ol(),[s,a]=te.useLocaleState(),c=te.useLocales();if(c.length===0)return null;function u(d){if(e){e(d,r);return}a(d),r()}return f.jsxs(f.Fragment,{children:[f.jsx(oI,{value:"locale",onClick:o,sx:{minWidth:"auto"},children:f.jsxs(A.Stack,{direction:"row",spacing:.5,children:[f.jsx(A.Typography,{variant:"body1",children:s.toUpperCase()}),t?f.jsx(qe.CaretUpOutlined,{}):f.jsx(qe.CaretDownOutlined,{})]})}),f.jsx(A.Menu,{id:"menu-appbar",anchorEl:n,keepMounted:!0,open:t,onClose:r,children:c.map((d,h)=>f.jsx(A.MenuItem,{onClick:()=>u(d.locale),children:d.name},h))})]})}const one={ml:{xs:0,lg:-2}};function sI(){const{open:e,handleDrawerToggle:t}=Vi();return f.jsx(Js,{value:"drawer","aria-label":"open drawer",sx:one,onChange:t,selected:e,children:e?f.jsx(qe.MenuFoldOutlined,{}):f.jsx(qe.MenuUnfoldOutlined,{})})}function aI(e){const t=T.useRef(),n=A.useTheme(),{downLg:r,horizontal:o}=Yn(),{open:s,width:a}=Vi(),c=r?A.AppBar:rI,d={position:"fixed",color:"inherit",elevation:0,sx:Pr(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}})};return r||Q.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(A.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(sI,{}),e.children]})})}function ine(e){const t=A.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Hd(),c=te.useNotify(),u=te.useRedirect(),[d]=te.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Or().toISOString()}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(u(n==null?void 0:n.resource),r()):(r(),document.location.href=n==null?void 0:n.resource):r()},onFailure:()=>{c("resources.notifications.messages.readed.error","warning")}}),h=T.useCallback(()=>d(),[d]),[g]=te.useLocaleState(),m=T.useMemo(()=>Or(n.created).locale(g).fromNow(),[n,g]);return f.jsx(A.ListItem,{disablePadding:!0,divider:s,children:f.jsxs(A.ListItemButton,{selected:o,onClick:h,children:[f.jsx(A.ListItemAvatar,{children:f.jsx(A.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(qe.MessageOutlined,{})})}),f.jsx(A.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),f.jsx(A.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),f.jsx(A.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:m,primaryTypographyProps:{variant:"caption"}})]})})}const sne={width:36,height:36,fontSize:"1rem"},ane={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function lI(){const{enable:e}=Hd();return e?f.jsx(lne,{}):null}function lne(){const e=te.useTranslate(),t=A.useTheme(),n=te.useRefresh(),r=te.useNotify(),{downMd:o}=Yn(),{resource:s}=Hd(),[a,c]=T.useState([]),{data:u,isLoading:d}=te.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),h=a.filter(M=>M.readed===null).length,{open:g,anchorEl:m,handleClose:v,handleToggle:x}=Ol();T.useEffect(()=>{!d&&u&&c(u??[])},[u,d]);const y=a.filter(M=>!M.readed).map(M=>M.id),[w]=te.useUpdateMany(s,{ids:y,data:{readed:Or().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),I=T.useCallback(()=>{w()},[w]);return f.jsxs(f.Fragment,{children:[f.jsx(Js,{value:"notifications",selected:g,onChange:x,children:f.jsx(A.Badge,{badgeContent:h,color:"primary",children:f.jsx(qe.BellOutlined,{})})}),f.jsx(A.Popper,{placement:o?"bottom":"bottom-end",open:g,anchorEl:m,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:M})=>f.jsx(ki,{type:"grow",position:o?"top":"top-right",in:g,...M,children:f.jsx(A.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(A.ClickAwayListener,{onClickAway:v,children:f.jsxs(zn,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:f.jsx(f.Fragment,{children:h>0&&f.jsx(A.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:I,children:f.jsx(Sd,{color:"success",size:"small",children:f.jsx(qe.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[f.jsx(A.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":sne,"& .MuiListItemSecondaryAction-root":{...ane,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((E,j)=>f.jsx(ine,{selected:h>0,notification:E,onClick:v,divider:j<a.length-1},E.id))}),f.jsx(A.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:dt.Link,onClick:v,children:f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),f.jsx(A.Divider,{})]})})})})})]})}function cne(){const[e,t]=T.useState(!1),n=T.useCallback(()=>t(!1),[t]),r=T.useCallback(()=>t(!0),[t]),o=te.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsxs(A.ListItemButton,{onClick:r,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.Key,{})}),f.jsx(A.ListItemText,{primary:o("ra.auth.change_password")})]}),f.jsx(A.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(a0,{onSuccess:n})})]})}function une(){const e=te.useLogout(),t=te.useTranslate();return f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{onClick:e,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.LogoutOutlined,{})}),f.jsx(A.ListItemText,{primary:t("ra.auth.logout")})]})})}function dne(){const e=te.useTranslate(),t=te.useAuthProvider(),n=T.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t]),[r,o]=T.useState(!1);return T.useEffect(()=>{if(!t.isImpersonating){console.warn("The authProvider does not support the isImpersonating feature",t);return}t.isImpersonating().then(s=>o(s))},[t,o]),r?f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{onClick:n,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.LogoutOutlined,{})}),f.jsx(A.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function cI(){var m;const e=A.useTheme(),t=te.useDataProvider(),{identity:n}=te.useGetIdentity(),r=n!==void 0&&n.image&&n.image!==null&&n.image!=="",[o,s]=T.useState(null),{open:a,anchorEl:c,handleToggle:u,handleClose:d}=Ol(),h=te.useLogout(),g=T.useCallback(()=>{h()},[h]);return T.useEffect(()=>{r&&t.getFile("/profile/me/image").then(v=>s(v))},[t,r]),f.jsxs(f.Fragment,{children:[f.jsx(Js,{sx:{p:.25,width:"auto"},onClick:u,value:"profile",selected:a,children:f.jsxs(A.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(Iu,{alt:(m=n==null?void 0:n.name)==null?void 0:m.toUpperCase(),src:o,size:"xs"}),f.jsx(A.Typography,{variant:"subtitle1",children:n==null?void 0:n.name})]})}),f.jsx(lS,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var x;return f.jsx(ki,{type:"grow",position:"top-right",in:a,...v,children:f.jsx(A.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(A.ClickAwayListener,{onClickAway:d,children:f.jsxs(zn,{elevation:0,border:!1,content:!1,children:[f.jsx(A.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(A.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(A.Grid,{item:!0,children:f.jsxs(A.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(Iu,{alt:"profile user",src:o,sx:{width:32,height:32}}),f.jsxs(A.Stack,{children:[f.jsx(A.Typography,{variant:"h6",children:n==null?void 0:n.name}),f.jsx(A.Typography,{variant:"body2",color:"textSecondary",children:(x=n==null?void 0:n.roles)==null?void 0:x.map(y=>y.name.replace("ROLE_","")).join(",")})]})]})}),f.jsx(A.Grid,{item:!0,children:f.jsx(A.Tooltip,{title:"Logout",children:f.jsx(Sd,{size:"large",sx:{color:"text.primary"},onClick:g,children:f.jsx(qe.LogoutOutlined,{})})})})]})}),f.jsx(A.Grid,{container:!0,children:f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(cne,{}),f.jsx(une,{}),f.jsx(dne,{})]})})})]})})})})}})]})}function uI(e){const t=Gt(),{downMd:n}=Yn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ol();return n?f.jsxs(f.Fragment,{children:[f.jsx(Js,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:f.jsx(qe.MoreOutlined,{})}),f.jsx(A.Popper,{placement:"bottom-end",open:r,anchorEl:o,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:c})=>f.jsx(ki,{type:"fade",in:r,...c,children:f.jsx(A.Paper,{sx:{boxShadow:t.customShadows.z1},children:f.jsx(A.ClickAwayListener,{onClickAway:a,children:f.jsx(A.AppBar,{color:"inherit",children:f.jsx(A.Toolbar,{children:e.children})})})})})})]}):f.jsx(f.Fragment,{children:e.children})}function dI(e){return f.jsx(A.Box,{...e,flex:1})}function fI(e){const t=A.useTheme(),n=A.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Rn();return t.shadows[4]=t.customShadows.z1,f.jsx(A.AppBar,{elevation:n?4:0,sx:{top:60,bgcolor:t.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${t.palette.divider}`,borderBottom:`1px solid ${t.palette.divider}`,zIndex:1098,color:t.palette.grey[500]},children:f.jsx(A.Container,{maxWidth:r?"xl":!1,children:f.jsx(A.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function pI(e){const{horizontal:t}=Yn();return t?f.jsx(fI,{children:e.children}):f.jsx(nI,{children:e.children})}function Ha({item:e,level:t}){const n=Gt(),{horizontal:r,downLg:o}=Yn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=rl();let d="_self";e.target&&(d="_blank");const h=(e==null?void 0:e.external)!==!1?{component:T.forwardRef((I,M)=>f.jsx(dt.Link,{...I,to:e.url,target:d,ref:M}))}:{component:"a",href:e.url,target:d},g=e.icon,m=e.icon?f.jsx(g,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,v=a.findIndex(I=>I===e.id)>-1,{pathname:x}=dt.useLocation();T.useEffect(()=>{x.endsWith(e.url)&&c([e.id])},[x]);const y=n.palette.mode==="dark"?"grey.400":"text.primary",w=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:r?f.jsxs(A.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:w,"&:hover":{color:w,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m?f.jsx(A.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}):null,!m&&f.jsx(A.ListItemIcon,{sx:{color:v?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(mm,{size:4,color:v?"primary":"secondary"})}),f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip?f.jsx(A.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(A.Avatar,{children:e.chip.avatar}):null}):null]}):f.jsxs(A.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,pl:s?`${t*28}px`:1.5,py:!s&&t===1?1.25:1,...s&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:w,"&:hover":{color:w,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[m?f.jsx(A.ListItemIcon,{sx:{minWidth:28,color:v?w:y,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&v&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}):null,s||!s&&t!==1?f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",sx:{color:v?w:y},children:e.title})}):null,(s||!s&&t!==1)&&e.chip?f.jsx(A.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(A.Avatar,{children:e.chip.avatar}):null}):null]})})}const yC=fe(A.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}}));function Ga({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a}){var B;const c=Gt(),{activeItem:u}=rl(),{horizontal:d}=Yn(),{drawerOpen:h}=rl(),g=dt.useNavigate(),[m,v]=T.useState(!1),[x,y]=T.useState(null),[w,I]=T.useState(null);function M(ne){I(null),s(t),h?(v(!m),y(x?null:e.id),r(x?"":e.id),e.url&&g(`${e.url}`)):I(ne==null?void 0:ne.currentTarget)}function E(){h||e.url&&g(`${e.url}`)}function j(ne){I(ne==null?void 0:ne.currentTarget)}function P(){v(!1),y(null),I(null)}T.useMemo(()=>{x===o?t===1&&v(!0):t===a&&(v(!1),y(null))},[o,t,x,a]);const{pathname:F}=dt.useLocation(),k=!!w;function $(ne,V){ne.forEach(q=>{q.url===F&&(v(!0),y(V))})}T.useEffect(()=>{v(!1),y(null),k&&I(null),e.children&&e.children.forEach(ne=>{var V;(V=ne.children)!=null&&V.length&&$(ne.children,e.id),ne.url===F&&(y(e.id),v(!0)),F.includes(ne.url)&&(y(e.id),v(!0))})},[F,e.children]),T.useEffect(()=>{e.url===F&&x!==e.id&&(u([e.id]),y(e.id),I(null),v(!0))},[F,e,x,u]);const G=(B=e.children)==null?void 0:B.map(ne=>{switch(ne.type){case"collapse":return f.jsx(Ga,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:ne,level:t+1,parentId:n},ne.id);case"item":return f.jsx(Ha,{item:ne,level:t+1},ne.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},ne.id)}}),J=x===e.id,U=t===1?f.jsx(qe.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ae=e.icon,se=e.icon?f.jsx(ae,{style:{fontSize:h?"1rem":"1.25rem"}}):U,Z=c.palette.mode==="dark"?"grey.400":"text.primary",X=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,W=k?`collapse-pop-${e.id}`:void 0,K={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:d?f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{id:`boundary-${W}`,disableRipple:!0,selected:J,onMouseEnter:j,onMouseLeave:P,onClick:j,"aria-describedby":W,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(A.Box,{onClick:E,sx:K,children:[se?f.jsx(A.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:se}):null,!se&&t!==1&&f.jsx(A.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(mm,{size:4,color:J?"primary":"secondary"})}),f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),k?f.jsx(qe.RightOutlined,{}):f.jsx(qe.DownOutlined,{})]}),w?f.jsx(yC,{id:W,open:k,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:ne})=>f.jsx(ki,{in:k,...ne,children:f.jsx(A.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:f.jsx(A.ClickAwayListener,{onClickAway:P,children:f.jsx(A.Box,{children:G})})})})}):null]})}):f.jsxs(f.Fragment,{children:[f.jsxs(A.ListItemButton,{disableRipple:!0,selected:x===e.id,...!h&&{onMouseEnter:M,onMouseLeave:P},onClick:M,sx:{pl:h?`${t*28}px`:1.5,py:!h&&t===1?1.25:1,...h&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:X,"&:hover":{color:X,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[se?f.jsx(A.ListItemIcon,{onClick:E,sx:{minWidth:28,color:x===e.id?"primary.main":Z,...!h&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!h&&x===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:se}):null,h||!h&&t!==1?f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:x===e.id?"primary":Z,children:e.title}),secondary:e.caption?f.jsx(A.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?k||m?f.jsx(qe.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):f.jsx(qe.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}}):null,!h&&f.jsx(yC,{open:k,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:ne})=>f.jsx(ki,{in:k,...ne,children:f.jsx(A.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:f.jsx(A.ClickAwayListener,{onClickAway:P,children:f.jsx(A.Box,{children:G})})})})})]}),h?f.jsx(A.Collapse,{in:m,timeout:"auto",unmountOnExit:!0,children:f.jsx(A.List,{sx:{p:0},children:G})}):null]})})}const fne=fe(A.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}}));function hI({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var W,K;const u=Gt(),d=L.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Yn(),v=rl(),{drawerOpen:x,selectedID:y,activeID:w}=v,[I,M]=T.useState(null),[E,j]=T.useState(e),P=!!I;T.useEffect(()=>{if(t)if(e.id===r){const B={...e},ne=n.map(V=>V.elements);B.children=ne.flat(1),j(B)}else j(e)},[e,t,m]);function F(B,ne){B.forEach(V=>{var q;(q=V.children)!=null&&q.length&&F(V.children,E.id),V.url===h&&w(ne)})}function k(B){(B.children?B.children:[]).forEach(V=>{var q;(q=V.children)!=null&&q.length&&F(V.children,E.id),V.url===h&&w(E.id)})}T.useEffect(()=>{k(E),P&&M(null)},[h,E]);function $(B){P||M(B==null?void 0:B.currentTarget)}function G(){M(null)}const J=E==null?void 0:E.icon,U=E!=null&&E.icon?f.jsx(J,{style:{fontSize:20,stroke:"1.5",color:y===E.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ae=(W=e.children)==null?void 0:W.map(B=>{switch(B.type){case"collapse":return f.jsx(Ga,{menu:B,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:E.id},B.id);case"item":return f.jsx(Ha,{item:B,level:1},B.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},B.id)}}),se=n.map((B,ne)=>{var V;return f.jsxs(T.Fragment,{children:[B.title?f.jsx(A.Typography,{variant:"caption",sx:{pl:2},children:B.title}):null,(V=B==null?void 0:B.elements)==null?void 0:V.map(q=>{switch(q.type){case"collapse":return f.jsx(Ga,{menu:q,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},q.id);case"item":return f.jsx(Ha,{item:q,level:1},q.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},q.id)}})]},ne)}),Z=(K=E.children)==null?void 0:K.map(B=>{switch(B.type){case"collapse":return f.jsx(Ga,{menu:B,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},B.id);case"item":return f.jsx(Ha,{item:B,level:1},B.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},B.id)}}),X=P?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:g?f.jsx(A.List,{children:f.jsxs(A.ListItemButton,{selected:y===E.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:$,onClick:$,onMouseLeave:G,"aria-describedby":X,children:[U?f.jsx(A.ListItemIcon,{sx:{minWidth:28},children:E.id===r?f.jsx(qe.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):U}):null,f.jsx(A.ListItemText,{sx:{mr:1},primary:f.jsx(A.Typography,{variant:"body1",color:y===E.id?u.palette.primary.main:u.palette.secondary.dark,children:E.id===r?d("ra.actions.more"):E.title})}),P?f.jsx(qe.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(qe.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),I?f.jsx(fne,{id:X,open:P,anchorEl:I,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:B})=>f.jsx(ki,{in:P,...B,children:f.jsx(A.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(A.ClickAwayListener,{onClickAway:G,children:f.jsx(A.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:u.palette.divider,borderRadius:4}},children:E.id!==r?Z:se})})})})}):null]})}):f.jsx(A.List,{subheader:e.title&&x?f.jsxs(A.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(A.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption?f.jsx(A.Typography,{variant:"caption",color:"secondary",children:e.caption}):null]}):null,sx:{mt:x&&e.title?1.5:0,py:0,zIndex:0},children:ae})})}function gI(e){const{horizontal:t}=Yn(),{open:n}=Vi(),r=Pr(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return f.jsx(A.Box,{sx:r,children:e.children})}function mI(e){const{horizontal:t}=Yn(),{menu:n,isLoading:r}=Ym(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=Rn(),d=t?u:void 0;let h=r?0:(n??[]).length-1,g=[],m;return!r&&d&&d<(n??[]).length&&(m=(n??[])[d-1].id,h=d-1,g=(n??[]).slice(d-1,(n??[]).length).map(v=>({title:v.title,elements:v.children,icon:v.icon}))),f.jsx(gI,{...e,children:!r&&Q.map((n??[]).slice(0,h+1),v=>{const{type:x}=v;switch(x){case"group":return f.jsx(hI,{item:v,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:d,remItems:g,lastItemId:m},v.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},v.id)}})})}function vI(){const{mode:e,setMode:t}=Rn();return f.jsx(Js,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?f.jsx(qe.SunOutlined,{}):f.jsx(qe.MoonOutlined,{})})}const yI=T.forwardRef((e,t)=>{const n=Pr(e,{display:"flex",width:"100%"});return f.jsx(A.Box,{ref:t,...e,sx:n,children:e.children})});function C0({source:e="paper"}){const{mode:t}=Rn(),n=A.useTheme();return T.useEffect(()=>{var o;const r=Q.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const bI=$T(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=w2();return f.jsxs(yI,{children:[f.jsxs(aI,{children:[f.jsx(dI,{}),a?f.jsx(iI,{}):null,o?f.jsx(vI,{}):null,f.jsx(C0,{}),f.jsx(YS,{}),s?f.jsx(lI,{}):null,f.jsx(uI,{children:f.jsx(cI,{})})]}),f.jsx(pI,{children:f.jsx(mI,{})}),f.jsxs(UT,{error:t.error,children:[!c&&f.jsx(ZA,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(dt.Outlet,{}),f.jsx(x0,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),pne=fe("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function xI(){return f.jsx(pne,{children:f.jsx(A.LinearProgress,{color:"primary"})})}function hne(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(xI,{}),children:f.jsx(e,{...t})})}function w0({title:e}){return f.jsxs(A.Stack,{direction:"row",children:[f.jsx(A.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(A.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]})}const gne=fe(L.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function CI(e){return f.jsx(gne,{...e})}var il=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(il||{});const wI=ao().required(),AI=ao().oneOf(Object.values(il));function mne(e){var I;const t=Ss.useQueryClient(),[n,r]=T.useState(!1),[o,s]=T.useState(()=>()=>Promise.resolve()),a=te.useGetIdentity(),c=(I=a==null?void 0:a.data)==null?void 0:I.email,u=te.useDataProvider(),d=T.useCallback(()=>c?u.get("onboarding").then(M=>{var E;return(E=M==null?void 0:M.data)==null?void 0:E.value}):Promise.reject(),[u,c]),{data:h,isLoading:g,isError:m}=Ss.useQuery({queryKey:["GET","onboarding",c],queryFn:d,staleTime:24*60*60*1e3,retry:c!==void 0}),[v,x]=T.useState(()=>()=>Promise.resolve()),w=Ss.useMutation({mutationFn:v}).mutateAsync;return T.useEffect(()=>{function M(){const E=Q.chain(h??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",E).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}x(()=>M)},[u,h,e,t,c]),T.useEffect(()=>{r(Q.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function vne(e){const[t,n]=n0("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o(Q.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>Q.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function yne(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function SI(e,t){e0({mode:AI,topic:wI}).validateSync({mode:e,topic:t});const n=mne(t),r=vne(t),o=yne();switch(e){case il.USER:return n.loading?o:n.error?r:Q.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case il.BROWSER:return r;default:return o}}var Ps=(e=>(e.RESTART="RESTART",e.SET_SHOW="SET_SHOW",e.REGISTER_TIP="REGISTER_TIP",e.UNREGISTER_TIP="UNREGISTER_TIP",e.DISMISS_TIP="DISMISS_TIP",e.SET_ON_COMPLETE="SET_ON_COMPLETE",e))(Ps||{});function bne(e,t){var o;const n=Q.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return Q.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=Q.chain(n.tips).clone().reject(h=>h.id===a).value(),u=Q.find(n.tips,{id:a}),d=Q.chain(u??{}).clone().extend(s).value();return c.push(d),Q.extend(n,{tips:Q.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=Q.isString(s)?s:s.id,c=Q.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return Q.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=Q.isString(s)?s:s.id,c=Q.chain(n.tips).reject(m=>m.id===a).value(),u=Q.find(n.tips,{id:a});if(Q.isNil(u))return n;const d=Q.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=Q.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&Q.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),Q.extend(n,{tips:Q.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return Q.extend(n,{onComplete:s})}case"RESTART":{const s=Q.chain(n.tips).clone().map(a=>Q.omit(a,"dismissed")).value();return Q.extend(n,{tips:s,currentStep:0})}default:return n}}const A0=T.createContext(void 0);function xne(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=SI(t,n),[s,a]=T.useReducer(bne,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),T.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),f.jsx(A0.Provider,{value:c,children:e.children})}function TI(){const e=T.useContext(A0);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function Cne(){return TI().state}function EI(){return TI().dispatch}function II(e){e0({id:ao().required(),step:k2().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=Cne(),c=Q.find(s,{id:t}),{dismissed:u}=c??{},d=EI(),h=T.useCallback(()=>{d({type:Ps.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{(Q.isNil(c)||n!==(c==null?void 0:c.step))&&d({type:Ps.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c,d]),T.useEffect(()=>()=>{d({type:Ps.UNREGISTER_TIP,payload:t})},[t,d]),{tip:Q.chain(c??e).clone().extend({open:o&&!Q.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function wne(){const e=EI();return T.useCallback(()=>{e({type:Ps.RESTART})},[e])}function Ane(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=II({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=Q.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(Pd,{...u,arrow:!0,open:c,title:f.jsxs(A.Stack,{gap:1,children:[f.jsx(A.Typography,{children:r}),f.jsx(A.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const Sne=A.styled(Ane)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${A.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${A.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${A.tooltipClasses.arrow}`]:{color:r.main}}});function OI({children:e}){const t=dt.useLocation(),{pathname:n}=t;return T.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const Tne=fe("div")({width:"100%",overflowX:"auto",display:"block"});function Ene({shadow:e,children:t,...n}){return f.jsx(zn,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function PI({title:e}){return f.jsx(A.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const Ine="RaButton";function One(e){if(e==null)return;if(typeof e=="string")return{to:e};const{redirect:t,replace:n,state:r,...o}=e;return{to:o,redirect:t,replace:n,state:r}}const Pne=fe(A.Button,{name:Ine,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function qd(e){const{disableIconOnly:t=!1,label:n,children:r,className:o,color:s,size:a,disabled:c,alignIcon:u,to:d,...h}=e,g=L.useTranslate(),m=One(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(Pne,{className:o,color:s,size:a,"aria-label":v,disabled:c,startIcon:u==="left"&&r?r:void 0,endIcon:u==="right"&&r?r:void 0,...m,...h,children:v})}return f.jsx(L.Button,{...e})}function S0(e,t){const n=t.id;if(!e)return[t];const r=e.findIndex(o=>o.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]}function jne(e,t){return e&&e.data?{data:S0(e.data,t),total:e.total+1}:e}function Rne(e,t){return e&&e.length>0?S0(e,t):e}function Mne(e,t){return e&&e.data?{...e,data:S0(e.data,t),total:e.total+1}:e}function kne(e){const{disableFloatingButton:t,label:n="ra.action.create",startIcon:r=f.jsx(qe.PlusCircleOutlined,{}),...o}=e,s=T.useCallback(a=>{var c;a.preventDefault(),(c=e==null?void 0:e.onClick)==null||c.call(e)},[e]);return t?f.jsx(qd,{...o,onClick:s,label:n,children:r}):f.jsx(vY,{...e,onClick:s,label:n,children:r})}function Fne(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=En.useFormContext(),o=te.useTranslate(),s=T.useCallback(a=>{a.preventDefault(),a.stopPropagation(),r(c=>t(c,n))()},[r,t,n]);return f.jsx(A.Button,{onClick:s,color:"primary",variant:"contained",size:"medium",children:o("ra.action.save")})}function Dne(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,onSubmit:s,mutationOptions:a,scroll:c="body",...u}=e,d=Ss.useQueryClient(),h=te.useResourceContext(),g=te.useTranslate(),m=T.Children.only(t),[v,x]=T.useState(!1),y=te.useNotify(),w=T.useCallback(()=>x(!0),[]),I=T.useCallback(()=>x(!1),[]),M=T.useCallback((E,j,P)=>{var $,G;const k=Date.now();d.setQueryData([h,"getOne",{id:E.id}],E),d.setQueriesData([h,"getList"],J=>Mne(J,E),{updatedAt:k}),d.setQueriesData([h,"getMany"],J=>Rne(J,E),{updatedAt:k}),d.setQueriesData([h,"getManyReference"],J=>jne(J,E),{updatedAt:k}),I(),y("ra.notification.created",{messageArgs:{smart_count:1}}),(G=($=e==null?void 0:e.mutationOptions)==null?void 0:$.onSuccess)==null||G.call($,E,j,P)},[I,y,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(kne,{...u,onClick:w}),f.jsx(A.Dialog,{open:v,scroll:c,onClose:I,maxWidth:n,fullWidth:r,fullScreen:o,children:f.jsx(A.DialogContent,{sx:{m:0,p:0},children:f.jsx(te.CreateBase,{...e,mutationOptions:{...a,onSuccess:M},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Xo,{children:[f.jsx(A.Button,{variant:"text",size:"medium",onClick:I,children:g("ra.action.cancel")}),s?f.jsx(Fne,{onSubmit:s,closeDialog:I}):f.jsx(Hm,{type:"button"})]})}):null})})})]})}function Lne(e){const t=T.useCallback(n=>{var r;n.preventDefault(),n.stopPropagation(),(r=e==null?void 0:e.onClick)==null||r.call(e)},[e]);return f.jsx(JS,{...e,onClick:t})}function _ne(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=En.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(qd,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function Bne(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,mutationOptions:s,onSubmit:a,scroll:c="body",...u}=e,d=te.useNotify(),[h,g]=T.useState(!1),m=T.Children.only(t),v=T.useCallback(()=>g(!0),[]),x=T.useCallback(()=>g(!1),[]),y=T.useCallback((I,M,E)=>{var j,P;x(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(j=e==null?void 0:e.mutationOptions)==null?void 0:j.onSuccess)==null||P.call(j,I,M,E)},[x,d,e.mutationOptions,e.mutationMode]),w=te.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(Lne,{...u,onClick:v}),f.jsx(A.Dialog,{open:h,scroll:c,onClose:x,fullWidth:r,maxWidth:n,fullScreen:o,keepMounted:!1,children:f.jsx(A.DialogContent,{sx:{m:0,p:0},children:f.jsx(te.EditBase,{...e,id:w.id,mutationMode:"pessimistic",mutationOptions:{...s,onSuccess:y},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Xo,{children:[f.jsx(qd,{disableIconOnly:!0,variant:"text",size:"medium",onClick:x,label:"ra.action.cancel"}),a?f.jsx(_ne,{onSubmit:a,closeDialog:x}):f.jsx(Hm,{type:"button"})]})}):null})})})]})}function Nne({label:e="ra.auth.sign_in",...t}){const n=L.useRecordContext(),[r,o]=T.useState(!1),s=L.useAuthProvider(),a=T.useCallback(c=>{c.stopPropagation(),c.preventDefault(),o(!0),s.impersonate(n==null?void 0:n.id).then(()=>{o(!1),document.location.href="/"})},[s,n==null?void 0:n.id]);return f.jsx(L.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:f.jsx(Un.VpnKey,{})})}function Vne({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:d,buttonProps:h,...g}){const{getCurrentDialog:m}=s0(),v=te.useResourceContext(g),x=m(),y=te.useRecordContext(),w=r||y,I=ct.get(w,e||"");return f.jsxs(A.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:M=>({pt:1,pb:1,borderBottom:`1px solid ${M.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[f.jsxs(A.Stack,{direction:"row",alignItems:"start",children:[c?T.isValidElement(c)?T.cloneElement(c,{style:Kc}):T.createElement(c,{style:Kc}):null,f.jsx(te.FieldTitle,{label:t,source:e,resource:x||v})]}),f.jsxs(A.Stack,{direction:"row",alignItems:"center",children:[a?T.isValidElement(a)?T.cloneElement(a,{record:w,resource:v,value:I}):T.createElement(a,{source:e,record:w,resource:v,value:I}):f.jsx(A.Typography,{variant:n,children:I}),u?T.isValidElement(u)?T.cloneElement(u,{style:Kc}):T.createElement(u,{style:Kc}):null,d?f.jsx(A.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const Kc={width:"1.5rem",alignSelf:"center"};function jI(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=te.useListContext(e),d=te.useTranslate(),h=T.useCallback(()=>{u()},[u]);return f.jsx(Wne,{className:r,children:f.jsxs(A.Toolbar,{"data-test":"bulk-actions-toolbar",className:lt(Tr.toolbar,{[Tr.collapsed]:c.length===0}),...te.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Tr.title,children:[f.jsx(A.IconButton,{className:Tr.icon,"aria-label":d("ra.action.unselect"),title:d("ra.action.unselect"),onClick:h,size:"small",children:f.jsx(Un.Close,{fontSize:"small"})}),f.jsx(A.Typography,{color:"inherit",variant:"subtitle1",children:d(t,{_:t,smart_count:c.length})})]}),f.jsx(L.TopToolbar,{className:Tr.topToolbar,children:T.Children.map(n,g=>T.isValidElement(g)?T.cloneElement(g,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const xi="RaBulkActionsToolbar",Tr={toolbar:`${xi}-toolbar`,topToolbar:`${xi}-topToolbar`,buttons:`${xi}-buttons`,collapsed:`${xi}-collapsed`,title:`${xi}-title`,icon:`${xi}-icon`},Wne=fe("div",{name:xi,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Tr.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?Th(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${Tr.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Tr.buttons}`]:{},[`& .${Tr.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Tr.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Tr.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Jp={p:0,m:0},bC={p:2,m:0,borderRadius:0,width:"100%"};function $ne(e){const{children:t}=e,[n,r]=_.useState(null);function o(x){r(x.currentTarget)}function s(){r(null)}const a=A.useMediaQuery(x=>x.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:d=[],onUnselectItems:h}=L.useListContext(e),g=!!n&&d!==void 0&&d.length>0,m=g?"simple-popover":void 0,v=_.useCallback(()=>{h(),r(null)},[h,r]);return f.jsx(A.Fade,{in:d!==void 0&&d.length>0,children:f.jsxs(A.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(A.Fab,{color:"primary","aria-label":"manage",onClick:o,children:d==null?void 0:d.length}),f.jsx(A.Popover,{id:m,open:g,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(A.List,{sx:Jp,children:[f.jsx(A.ListItem,{sx:Jp,children:f.jsx(L.Button,{onClick:v,sx:bC,label:"ra.action.unselect",startIcon:f.jsx(zh,{}),children:f.jsx(zh,{})})}),_.Children.map(t,x=>{var y;return f.jsx(A.ListItem,{sx:Jp,children:_.isValidElement(x)?_.cloneElement(x,{filterValues:c,resource:u,selectedIds:d,sx:bC,...(y=x.props)!=null&&y.popover?{closePopover:s}:{}}):null})})]})})]})})}const RI=T.createContext({});RI.displayName="DatagridContext";function zne({children:e,value:t}){return f.jsx(RI.Provider,{value:t,children:e})}const xC=f.jsx(L.BulkDeleteButton,{}),MI=_.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?L.PureDatagridBody:L.DatagridBody,header:o=L.DatagridHeader,children:s,className:a,empty:c=Gne,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=xC,hover:g,isRowSelectable:m,isRowExpandable:v,resource:x,rowClick:y,rowSx:w,rowStyle:I,size:M="small",sx:E,expandSingle:j=!1,...P}=e,{sort:F,data:k,isLoading:$,onSelect:G,onToggleItem:J,selectedIds:U,setSort:ae,total:se}=te.useListContext(e),Z=!!h,X=T.useMemo(()=>({isRowExpandable:v,expandSingle:j}),[v,j]),W=T.useRef(null);T.useEffect(()=>{(!U||U.length===0)&&(W.current=null)},[JSON.stringify(U)]);const K=T.useCallback((B,ne)=>{const V=k.map(ue=>ue.id),q=V.indexOf(W.current);if(W.current=ne.target.checked?B:null,ne.shiftKey&&q!==-1){const ue=V.indexOf(B),pe=V.slice(Math.min(q,ue),Math.max(q,ue)+1),de=ne.target.checked?EX(U,pe):WX(U,pe);G(m?de.filter(he=>m(k.find(me=>me.id===he))):de)}else J(B)},[k,m,G,J,U]);return $===!0?f.jsx(L.DatagridLoading,{className:a,expand:u,hasBulkActions:Z,nbChildren:_.Children.count(s),size:M}):k==null||k.length===0||se===0?c||null:f.jsx(zne,{value:X,children:f.jsxs(L.DatagridRoot,{sx:E,className:lt(L.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:U,total:se}):h!==!1?f.jsx(jI,{children:T.isValidElement(h)?h:xC}):null,f.jsx("div",{className:L.DatagridClasses.tableWrapper,children:f.jsxs(A.Table,{ref:t,className:L.DatagridClasses.table,size:M,...Hne(P),children:[CC(o,{children:s,sort:F,data:k,hasExpand:!!u,hasBulkActions:Z,isRowSelectable:m,onSelect:G,resource:x,selectedIds:U,setSort:ae},s),CC(r,{expand:u,rowClick:y,data:k,hasBulkActions:Z,hover:g,onToggleItem:K,resource:x,rowSx:w,rowStyle:I,selectedIds:U,isRowSelectable:m},s)]})})]})})});function CC(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const Une=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function Hne(e){return Object.keys(te.sanitizeListRestProps(e)).filter(t=>!Une.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}MI.displayName="Datagrid";const Gne=f.jsx(L.ListNoResults,{}),qne=fe(MI,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function Yne(e){return f.jsx(qne,{...e})}const Kne=fe("div")(({theme:e})=>({padding:e.spacing(2)}));function Xne({actions:e,className:t,...n}){const{hasCreate:r}=te.useResourceDefinition(n),o=te.useResourceContext(n),s=te.useTranslate(),a=te.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),d=s("ra.page.invite");return f.jsxs(Zne,{className:t,children:[f.jsxs("div",{className:Pi.message,children:[f.jsx(Un.Inbox,{className:Pi.icon}),f.jsx(A.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r?f.jsx(A.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:d})}):null]}),f.jsx(Kne,{className:Pi.toolbar,children:e})]})}const fu="ApplicaEmpty",Pi={message:`${fu}-message`,icon:`${fu}-icon`,toolbar:`${fu}-toolbar`},Zne=fe("span",{name:fu,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${Pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${Pi.icon}`]:{width:"9em",height:"9em"},[`& .${Pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),Qne=f.jsx(L.ListActions,{}),Jne=f.jsx(L.Pagination,{}),ere=f.jsx(L.Empty,{}),tre=A.Card;function nre(e){const{actions:t=Qne,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=Jne,children:u,className:d,component:h=tre,title:g,empty:m=ere,...v}=e,{defaultTitle:x,data:y,error:w,isLoading:I,filterValues:M,resource:E}=te.useListContext(e);if(!u||!y&&I&&s)return null;function j(){return f.jsxs("div",{className:_o.main,children:[r||t?f.jsx(L.ListToolbar,{className:_o.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:_o.content,children:o&&u&&_.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(qm,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:_o.noResults,hasCreate:a})}const F=!I&&(y==null?void 0:y.length)===0&&!Object.keys(M).length&&m!==!1;return f.jsxs(rre,{className:lt("list-page",d),...v,children:[f.jsx(L.Title,{title:g,defaultTitle:x,preferenceKey:`${E}.list.title`}),F?P():j(),n]})}const Fa="RaList",_o={main:`${Fa}-main`,content:`${Fa}-content`,actions:`${Fa}-actions`,noResults:`${Fa}-noResults`},rre=fe("div",{name:Fa,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${_o.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${_o.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${_o.actions}`]:{},[`& .${_o.noResults}`]:{}})),kI=T.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:s="small",className:a,...c}=e,u=te.useTranslate(),d=Math.ceil(r/n)||1;if(d===1)return f.jsx(wC,{className:a});function h(g,m,v){return g==="page"?v?u("ra.navigation.current_page",{page:m,_:`page ${m}`}):u("ra.navigation.page",{page:m,_:`Go to page ${m}`}):u(`ra.navigation.${g}`,{_:`Go to ${g} page`})}return f.jsx(wC,{className:a,children:f.jsx(A.Pagination,{size:s,count:d,page:t+1,onChange:(g,m)=>o(g,m-1),...ire(c),getItemAriaLabel:h})})});kI.propTypes={count:C.number.isRequired,onPageChange:C.func.isRequired,page:C.number.isRequired,rowsPerPage:C.number.isRequired,color:C.oneOf(["primary","secondary","standard"]),size:C.oneOf(["small","medium","large"])};const ore="RaPaginationActions",wC=fe("div",{name:ore,overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function ire({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const FI=T.memo(e=>{const{rowsPerPageOptions:t=sre,actions:n,limit:r=null,...o}=e,{isLoading:s,hasNextPage:a,page:c,perPage:u,total:d,setPage:h,setPerPage:g}=te.useListPaginationContext(e),m=te.useTranslate(),v=A.useMediaQuery(k=>k.breakpoints.down("md")),[x,y]=T.useState(0),w=T.useMemo(()=>d!=null?Math.ceil(d/u):void 0,[u,d]),I=T.useCallback(ct.debounce(k=>{h(k+1)},500),[h]),M=T.useCallback((k,$)=>{var U,ae;if(!k)return;if(k.preventDefault(),$<0||w!==void 0&&$>w-1)throw new Error(m("ra.navigation.page_out_of_boundaries",{page:$+1}));const G=(((U=k.target.dataset)==null?void 0:U.testid)||((ae=k.target.classList)==null?void 0:ae.value))??"",J=G.includes("MuiPaginationItem-previousNext")||G.includes("NavigateBeforeIcon")||G.includes("NavigateNextIcon")||G.includes("KeyboardArrowLeftIcon")||G.includes("KeyboardArrowRightIcon");y($),J?I($):h($+1)},[I,h,m,w]),E=T.useCallback(k=>{g(Number(k.target.value))},[g]),j=T.useCallback(({from:k,to:$,count:G})=>G===-1&&a?m("ra.navigation.partial_page_range_info",{offsetBegin:k,offsetEnd:$,_:"%{from}-%{to} of more than %{to}"}):m("ra.navigation.page_range_info",{offsetBegin:k,offsetEnd:$,total:G===-1?$:G,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[m,a]),P=T.useCallback(k=>m(`ra.navigation.${k}`,{_:`Go to ${k} page`}),[m]);if(s)return f.jsx(A.Toolbar,{variant:"dense"});if(d===0||c<1||w!==void 0&&c>w)return r!=null&&process.env.NODE_ENV==="development"&&console.warn("The Pagination limit prop is deprecated. Empty state should be handled by the component displaying data (Datagrid, SimpleList)."),null;if(v)return f.jsx(A.TablePagination,{count:d??-1,rowsPerPage:u,page:x,onPageChange:M,rowsPerPageOptions:are,component:"span",labelDisplayedRows:j,...te.sanitizeListRestProps(o)});const F=n||(!s&&d!=null?kI:void 0);return f.jsx(A.TablePagination,{count:d??-1,rowsPerPage:u,page:x,onPageChange:M,onRowsPerPageChange:E,ActionsComponent:F,nextIconButtonProps:{disabled:!a},component:"span",labelRowsPerPage:m("ra.navigation.page_rows_per_page"),labelDisplayedRows:j,getItemAriaLabel:P,rowsPerPageOptions:t,...te.sanitizeListRestProps(o)})});FI.propTypes={actions:te.ComponentPropType,limit:C.element,rowsPerPageOptions:C.arrayOf(C.oneOfType([C.number,C.shape({label:C.string.isRequired,value:C.number.isRequired})]))};const sre=[5,10,25,50],are=[];function lre({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=cre,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:d,storeKey:h,...g}){return f.jsx(te.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:d,storeKey:h,children:f.jsx(nre,{...g})})}const cre={},ure=wl(lre,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",padding:e.spacing(2.5),"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiInputLabel-root":{paddingTop:0},"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function dre(e){return f.jsx(zn,{content:!1,children:f.jsx(ure,{...e,pagination:f.jsx(FI,{})})})}function fre(){const e=L.useRefresh(),t=L.useNotify(),n=L.useResourceContext(),r=L.useUnselectAll(n),{selectedIds:o,data:s}=L.useListContext(),a=L.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)),[u,{isLoading:d}]=L.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Or().toISOString()},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(L.Button,{label:"ra.notification.mark_as_readed",disabled:d||(a==null?void 0:a.readed)!==null,onClick:h,children:f.jsx(Un.Email,{})})}function pre(){const e=L.useRefresh(),t=L.useNotify(),n=L.useResourceContext(),r=L.useUnselectAll(n),{selectedIds:o,data:s}=L.useListContext(),a=L.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)).concat([a]),[u,{isLoading:d}]=L.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:null},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(L.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:d||a&&!(a!=null&&a.readed),onClick:h,children:f.jsx(Un.Drafts,{})})}function hre(e){const t=L.useRecordContext(e),n=L.useResourceContext(e),r=L.useRedirect(),o=L.useNotify(),s=L.useTranslate(),[a]=L.useLocaleState(),c=T.useMemo(()=>t!=null&&t.readed?Or(t==null?void 0:t.readed).locale(a).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,a]),[u]=L.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Or().toISOString()}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),d=T.useCallback(()=>u(),[u]);return f.jsxs("div",{onClick:d,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(A.Typography,{variant:"subtitle1",children:f.jsxs(A.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(A.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),c?f.jsx(A.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})}):null]})}function gre({...e}){const t=A.useTheme(),{mode:n,colorize:r,density:o}=T.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?A.darken:A.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function s(a){return{backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(L.Datagrid,{...e,rowSx:s,children:[f.jsx(hre,{source:"notification",sortable:!1}),f.jsx(tT,{source:"created"}),f.jsxs(Uo,{children:[f.jsx(fre,{}),f.jsx(pre,{})]})]})}const mre=fe(L.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function vre({children:e}){const t=Gt();return f.jsx(zn,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,border:!1,boxShadow:!0,shadow:t.customShadows.z1,children:f.jsx(A.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})}function Yd({version:e,name:t,copy:n,children:r,logo:o,background:s=jd,footer:a=!0}){return f.jsxs(A.Box,{children:[f.jsx(C0,{source:"default"}),T.isValidElement(s)?s:T.createElement(s),f.jsxs(A.Grid,{container:!0,direction:"column",justifyContent:"flex-end",children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{ml:3},children:o||f.jsx(w0,{title:t})}),f.jsxs(A.Grid,{item:!0,xs:12,children:[f.jsx(A.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:f.jsx(A.Grid,{item:!0,children:f.jsx(vre,{children:r})})}),a?f.jsx(A.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(x0,{name:t,copy:n,version:e})}):null]})]})]})}function yre({name:e,copy:t,logo:n,version:r,background:o}){const s=te.useTranslate(),a=te.useAuthProvider(),c=te.useNotify(),u=dt.useNavigate(),{token:d}=dt.useParams();return T.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(d).then(()=>{c("ra.auth.activate_success",{type:"info"}),Q.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),Q.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(Yd,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:s("ra.auth.activate")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})}function DI(){const e=T.useCallback(()=>location.reload(),[]);return f.jsx(A.Container,{children:f.jsxs(A.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[f.jsx("img",{alt:"Error",src:vS,style:{width:"100%",maxWidth:450}}),f.jsx(A.Typography,{variant:"h2",children:"Ops! An error occurred..."}),f.jsx(A.Typography,{children:"We're fixing the problem. Please try again later."}),f.jsx(A.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}function LI({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=f.jsx(jd,{})}){const[u,d]=te.useSafeSetState(!1),h=te.useLogin(),g=te.useTranslate(),m=te.useNotify(),v=te.useCheckAuth(),x=dt.useNavigate();T.useEffect(()=>{v({},!1).then(()=>{x("/")}).catch(()=>{})},[v,x]);function y(w){d(!0),h(w,a).then(()=>{d(!1)}).catch(I=>{d(!1),m(typeof I=="string"?I:typeof I>"u"||!I.message?"ra.auth.sign_in_error":I.message,{type:"error",messageArgs:{_:typeof I=="string"?I:I&&I.message?I.message:void 0}})})}return f.jsx(Yd,{name:t,version:e,copy:n,logo:r,background:c,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:"Login"}),s?f.jsx(A.Typography,{component:dt.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")}):null]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(te.Form,{onSubmit:y,children:[f.jsxs(A.Grid,{container:!0,children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Er,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:te.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Er,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:te.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),o?f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(A.Link,{variant:"h6",component:dt.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}):null,f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?f.jsx(A.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})}function bre({name:e,copy:t,logo:n,version:r,background:o}){const[s,a]=T.useState(!1),c=te.useTranslate(),u=te.useRedirect(),d=te.useNotify(),h=te.useAuthProvider();function g({email:m}){a(!0),h.recover(m).then(v=>{const x=`ra.auth.recover_${v.responseCode}`,y=v.responseCode==="ok"?"info":"error";d(x,{type:y}),u("/login")}).catch(v=>{d((v==null?void 0:v.message)||(v==null?void 0:v.toString()),{type:"error"})}).finally(()=>a(!1))}return f.jsx(Yd,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(L.Form,{onSubmit:g,children:[f.jsx(A.Grid,{container:!0,children:f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"email",validate:[te.required(),te.email()]})})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(A.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(A.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})}function xre({name:e,copy:t,version:n,logo:r,background:o}){const[s,a]=T.useState(!1),c=te.useTranslate(),u=te.useRedirect(),d=te.useNotify(),h=te.useAuthProvider();function g(m){a(!0),h.register(m).then(v=>{const x=`ra.auth.register_${v.responseCode}`,y=v.responseCode==="ok"?"info":"error";d(x,{type:y}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(Yd,{name:e,copy:t,logo:r,background:o,version:n,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:c("ra.auth.register.title")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(L.Form,{onSubmit:g,children:[f.jsxs(A.Grid,{container:!0,children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"name",label:c("ra.register.name"),validate:te.required()})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"email",type:"email",validate:[te.required(),te.email()]})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"password",type:"password",validate:te.required()})})]}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(A.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})}function Cre(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function wre(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function Are(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(qe.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function fi({color:e,theme:t}){const n=Qt(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:tt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function Sre(e){const t=fi({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":fi({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":fi({color:"secondary",theme:e}),"&.MuiAlert-borderError":fi({color:"error",theme:e}),"&.MuiAlert-borderSuccess":fi({color:"success",theme:e}),"&.MuiAlert-borderInfo":fi({color:"info",theme:e}),"&.MuiAlert-borderWarning":fi({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function Tre(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function Ere(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function pi({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function Ire(e){const t=pi({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":pi({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":pi({color:"secondary",theme:e}),"&.MuiBadge-colorError":pi({color:"error",theme:e}),"&.MuiBadge-colorInfo":pi({color:"info",theme:e}),"&.MuiBadge-colorSuccess":pi({color:"success",theme:e}),"&.MuiBadge-colorWarning":pi({color:"warning",theme:e})}}}}}function Ze({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,d=zs(n,u),h={"&::after":{boxShadow:`0 0 5px 5px ${tt(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...h};case"shadow":return{color:c,backgroundColor:s,boxShadow:d,"&:hover":{boxShadow:"none",backgroundColor:a},...h};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...h};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...h};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...h}}}function Ore(e){const t=Ze({variant:"dashed",color:"primary",theme:e}),n=Ze({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},o={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...o},startIcon:{...o},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":Ze({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Ze({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Ze({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Ze({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Ze({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Ze({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":Ze({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Ze({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Ze({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Ze({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Ze({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Ze({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:Ze({variant:"contained",color:"primary",theme:e}),containedSecondary:Ze({variant:"contained",color:"secondary",theme:e}),containedError:Ze({variant:"contained",color:"error",theme:e}),containedSuccess:Ze({variant:"contained",color:"success",theme:e}),containedInfo:Ze({variant:"contained",color:"info",theme:e}),containedWarning:Ze({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Ze({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Ze({variant:"outlined",color:"secondary",theme:e}),outlinedError:Ze({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Ze({variant:"outlined",color:"success",theme:e}),outlinedInfo:Ze({variant:"outlined",color:"info",theme:e}),outlinedWarning:Ze({variant:"outlined",color:"warning",theme:e}),textPrimary:Ze({variant:"text",color:"primary",theme:e}),textSecondary:Ze({variant:"text",color:"secondary",theme:e}),textError:Ze({variant:"text",color:"error",theme:e}),textSuccess:Ze({variant:"text",color:"success",theme:e}),textInfo:Ze({variant:"text",color:"info",theme:e}),textWarning:Ze({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function Pre(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function jre(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function Rre(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function Mre(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function ls({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o,dark:s}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:o}},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function kre(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function eh(e){const t=kre(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function Fre(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(qe.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(qe.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...eh("small")},"&.size-medium":{...eh("medium")},"&.size-large":{...eh("large")}},colorPrimary:ls({color:"primary",theme:e}),colorSecondary:ls({color:"secondary",theme:e}),colorSuccess:ls({color:"success",theme:e}),colorWarning:ls({color:"warning",theme:e}),colorInfo:ls({color:"info",theme:e}),colorError:ls({color:"error",theme:e})}}}}function cs({color:e,theme:t}){const n=Qt(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function Nn({color:e,theme:t}){const n=Qt(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function Dre(e){const t=Nn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":cs({color:"primary",theme:e}),"&.MuiChip-colorSecondary":cs({color:"secondary",theme:e}),"&.MuiChip-colorError":cs({color:"error",theme:e}),"&.MuiChip-colorInfo":cs({color:"info",theme:e}),"&.MuiChip-colorSuccess":cs({color:"success",theme:e}),"&.MuiChip-colorWarning":cs({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":Nn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Nn({color:"secondary",theme:e}),"&.MuiChip-lightError":Nn({color:"error",theme:e}),"&.MuiChip-lightInfo":Nn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Nn({color:"success",theme:e}),"&.MuiChip-lightWarning":Nn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Nn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Nn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Nn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Nn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Nn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Nn({color:"warning",theme:e})}}}}}function Lre(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:tt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function _re(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function Bre(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function us({color:e,theme:t}){const n=Qt(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=zs(t,a);return{color:s,backgroundColor:r,boxShadow:c,"&:hover":{boxShadow:"none",backgroundColor:o},"&:focus-visible":{outline:`2px solid ${o}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${tt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${tt(r,.9)}`}}}function Nre(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":us({color:"primary",theme:e}),"&.MuiFab-secondary":us({color:"secondary",theme:e}),"&.Mui-error":us({color:"error",theme:e}),"&.MuiFab-success":us({color:"success",theme:e}),"&.MuiFab-info":us({color:"info",theme:e}),"&.MuiFab-warning":us({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function Vre(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function Wre(e){return{MuiInputBase:{styleOverrides:{}}}}function $re(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1.3em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function zre(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function Ure(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function Hre(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function Gre(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function qre(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function Yre(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function hi({variant:e,theme:t}){const n=Qt(t,e),{light:r}=n,o=zs(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function Kre(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...hi({variant:"primary",theme:e}),"&.Mui-error":{...hi({variant:"error",theme:e})}},inputSizeSmall:{padding:"9px 8px 9px 12px"},inputMultiline:{padding:0},colorSecondary:hi({variant:"secondary",theme:e}),colorError:hi({variant:"error",theme:e}),colorWarning:hi({variant:"warning",theme:e}),colorInfo:hi({variant:"info",theme:e}),colorSuccess:hi({variant:"success",theme:e})}}}}function Xre(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function At({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d={"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:s},...d};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...d};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...d}}}function Zre(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":At({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":At({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":At({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":At({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":At({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":At({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":At({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":At({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":At({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":At({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":At({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":At({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":At({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":At({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":At({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":At({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":At({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":At({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":At({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":At({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":At({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":At({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":At({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":At({variant:"outlined",color:"warning",theme:e})}}}}}}function Qre(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function ds({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o,dark:s}=n;return{"& .dot":{backgroundColor:o},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function Jre(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function th(e){const t=Jre(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function eoe(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(A.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...th("small")},"&.size-medium":{...th("medium")},"&.size-large":{...th("large")}},colorPrimary:ds({color:"primary",theme:e}),colorSecondary:ds({color:"secondary",theme:e}),colorSuccess:ds({color:"success",theme:e}),colorWarning:ds({color:"warning",theme:e}),colorInfo:ds({color:"info",theme:e}),colorError:ds({color:"error",theme:e})}}}}function fs({color:e,theme:t}){const n=Qt(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function toe(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":fs({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":fs({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":fs({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":fs({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":fs({color:"info",theme:e}),"&.MuiSlider-thumbColorError":fs({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function noe(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function nh(e,t){const n=noe(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function roe(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...nh(e,"medium")},sizeLarge:{...nh(e,"large")},sizeSmall:{...nh(e,"small")}}}}}function ooe(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function ioe(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function soe(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function aoe(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function loe(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function coe(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function uoe(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function doe(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function foe(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function poe(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function hoe(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function goe(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function moe(e){return ct.merge(Cre(e),wre(e),Are(e),Sre(e),Tre(),Ere(e),Ire(e),Ore(e),Pre(),jre(),Rre(),Mre(),Fre(e),Dre(e),Lre(e),_re(e),Bre(),Nre(e),Vre(e),Wre(),$re(e),zre(),Ure(),Hre(e),Gre(e),qre(),Yre(),Kre(e),Xre(),Zre(e),Qre(e),eoe(e),toe(e),roe(e),ooe(e),ioe(e),soe(e),aoe(e),loe(e),coe(),uoe(),doe(),foe(e),poe(e),hoe(),goe())}function voe(e){const{blue:t,red:n,gold:r,cyan:o,green:s,grey:a}=e,c={0:a[0],50:a[1],100:a[2],200:a[3],300:a[4],400:a[5],500:a[6],600:a[7],700:a[8],800:a[9],900:a[10],A50:a[15],A100:a[11],A200:a[12],A400:a[13],A700:a[14],A800:a[16]},u="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:u},secondary:{lighter:c[100],100:c[100],200:c[200],light:c[300],400:c[400],main:c[500],600:c[600],dark:c[700],800:c[800],darker:c[900],A100:c[0],A200:c.A400,A300:c.A700,contrastText:c[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:u},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:c[100]},info:{lighter:o[0],light:o[3],main:o[5],dark:o[7],darker:o[9],contrastText:u},success:{lighter:s[0],light:s[3],main:s[5],dark:s[7],darker:s[9],contrastText:u},grey:c}}function yoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],a=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],c=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],u=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],d=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(s=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],a=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],c=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],u=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],d=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function boe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function xoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Coe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function woe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Aoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Soe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Toe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Eoe(e,t,n){switch(t){case"theme1":return yoe(e,n);case"theme2":return boe(e,n);case"theme3":return xoe(e,n);case"theme4":return Coe(e,n);case"theme5":return woe(e,n);case"theme6":return Aoe(e,n);case"theme7":return Soe(e,n);case"theme8":return Toe(e,n);default:return voe(e)}}var tg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];tg.primary=tg[5];var ng=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];ng.primary=ng[5];var rg=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];rg.primary=rg[5];var og=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];og.primary=og[5];var ig=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];ig.primary=ig[5];var sg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];sg.primary=sg[5];var ag=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ag.primary=ag[5];var lg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];lg.primary=lg[5];var cg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];cg.primary=cg[5];var ug=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];ug.primary=ug[5];var dg=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];dg.primary=dg[5];var fg=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];fg.primary=fg[5];var pg=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];pg.primary=pg[5];var Ioe={red:tg,volcano:ng,orange:rg,gold:og,yellow:ig,lime:sg,green:ag,cyan:lg,blue:cg,geekblue:ug,purple:dg,magenta:fg,grey:pg},hg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];hg.primary=hg[5];var gg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];gg.primary=gg[5];var mg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];mg.primary=mg[5];var vg=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];vg.primary=vg[5];var yg=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];yg.primary=yg[5];var bg=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];bg.primary=bg[5];var xg=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];xg.primary=xg[5];var Cg=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Cg.primary=Cg[5];var wg=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];wg.primary=wg[5];var Ag=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ag.primary=Ag[5];var Sg=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];Sg.primary=Sg[5];var Tg=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Tg.primary=Tg[5];var Eg=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Eg.primary=Eg[5];var Ooe={red:hg,volcano:gg,orange:mg,gold:vg,yellow:yg,lime:bg,green:xg,cyan:Cg,blue:wg,geekblue:Ag,purple:Sg,magenta:Tg,grey:Eg};function Poe(e,t){const n=e==="dark"?Ooe:Ioe;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#121212","#d3d8db"]),n.grey=[...r,...o,...s];const a=Eoe(n,t,e);return im({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?tt(a.grey[900],.87):a.grey[700],secondary:e==="dark"?tt(a.grey[900],.45):a.grey[500],disabled:e==="dark"?tt(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?tt(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})}function joe(e){return{button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z0:"none",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${tt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${tt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${tt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${tt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${tt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${tt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${tt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${tt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${tt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${tt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${tt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${tt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${tt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${tt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${tt(e.palette.grey[500],.2)}`}}function Roe(e){return{htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}}}function T0({themeOverrides:e,children:t}){const n=Rn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>Poe(o,s),[o,s]),u=T.useMemo(()=>Roe(a),[a]),d=T.useMemo(()=>joe(c),[c]),h=T.useMemo(()=>Q.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:r,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:c.palette,customShadows:d,typography:u,components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:c.spacing(2.6875),height:c.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(c):e),[r,c,u,d,e]),g=im(h),m=Q.cloneDeep(g.components??{});return g.components=Q.merge(moe(g),m),f.jsx(A.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(GA,{theme:g,children:[f.jsx(A.CssBaseline,{enableColorScheme:!0}),t]})})}function Moe({children:e,theme:t,...n}){return f.jsx(L.CoreAdminContext,{...n,children:f.jsx(T0,{themeOverrides:t,children:f.jsx(OI,{children:e})})})}function _I(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:d,loading:h,loginPage:g,authCallbackPage:m,menu:v,notification:x,queryClient:y,requireAuth:w,store:I=L.localStorageStore(),ready:M,theme:E,title:j="React Admin"}=e;return f.jsx(Moe,{authProvider:t,dataProvider:s,i18nProvider:u,store:I,history:c,queryClient:y,theme:E,children:f.jsx(L.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:j,loading:h,loginPage:g,authCallbackPage:m,notification:x,requireAuth:w,ready:M,children:r})})}class BI{constructor({catch:t,display:n,log:r,error:o}){ba(this,"catch");ba(this,"display");ba(this,"log");ba(this,"error");this.catch=t,this.display=n,this.log=r,this.error=o}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}var sl,al,js;class koe{constructor(t){eo(this,sl);eo(this,al);eo(this,js,new Set);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");Eo(this,al,n),Eo(this,sl,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handle(t){var c;const{message:n,filename:r,lineno:o,colno:s}=t,a=`${n}${r}${o}${s}`;bn(this,js).has(a)||(bn(this,js).add(a),fetch(`${bn(this,al)}/ui/error-log`,{method:"PUT",headers:bn(this,sl),body:JSON.stringify({filename:t.filename,message:t.message,line:t.lineno,column:t.colno,stack:(c=t.error)==null?void 0:c.stack})}).catch(u=>{console.warn("Unable to send error to server",u),bn(this,js).delete(a)}))}}sl=new WeakMap,al=new WeakMap,js=new WeakMap;function Foe({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new BI({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=_.useMemo(()=>o.errorHandler?o.errorHandler:new koe({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=_.useCallback(function(u,...d){var g;if(!u)return!1;const h=r(u instanceof ErrorEvent?u:(g=u==null?void 0:u.toString())==null?void 0:g.replace(/%s/g,()=>d.shift()));return h.isCatched()||(h.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),h.displayError()&&a.apply(console,arguments)),!1},[r,s,a]);return _.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c,a]),!0}var ll,cl,Ei;class Doe{constructor(t){eo(this,ll);eo(this,cl);eo(this,Ei,[]);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");Eo(this,cl,n),Eo(this,ll,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!Q.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!Q.isString(r)||Q.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!Q.some(bn(this,Ei),o=>Q.isEqual(o,{code:n,lang:r}))){bn(this,Ei).push({code:n,lang:r}),fetch(`${bn(this,cl)}/i18n/message`,{method:"put",headers:bn(this,ll),body:JSON.stringify({code:n,lang:r,text:n})}).then(o=>o.json()).then(()=>{console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`)}).catch(o=>{console.error(o),Eo(this,Ei,Q.reject(bn(this,Ei),s=>Q.isEqual(s,{code:n,lang:r})))});return}}}ll=new WeakMap,cl=new WeakMap,Ei=new WeakMap;function NI(e){const{apiUrl:t,defaultLocale:n,allowMissing:r=!1,createMissing:o=!1}=e,s=[{locale:n,name:n}],a=new Headers({Accept:"application/json","Content-Type":"application/json"}),c=new Doe({apiUrl:t});function u(){return fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(g=>g.json()).catch(()=>Promise.resolve(s))}function d(){return fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(g=>g.json()).then(g=>g.reduce((m,v)=>({...m,[v.lang]:{...m[v.lang]||{},[v.code]:v.text}}),{}))}function h(g,m,v){return r||console.error(`Warning: Missing translation for key: "${g}"`),o&&(Q.isString(g)?g.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${g}`):c.handleMessage({code:g,lang:v}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),g}return Promise.all([u(),d()]).then(g=>{const[m,v]=g;function x(y){return Q.get(v,y,{})}return AC(x,n,m,{allowMissing:r||o,onMissingKey:h})})}function Loe(e){const{defaultLocale:t,path:n}=e,r=[{locale:t,name:t}],o=new Headers({Accept:"application/json","Content-Type":"application/json"});function s(){return fetch(`${n}/languages.json`,{headers:o,method:"get"}).then(c=>c.json()).catch(()=>Promise.resolve(r))}function a(){return fetch(`${n}/messages.json`,{headers:o,method:"get"}).then(c=>c.json()).then(c=>c.reduce((u,d)=>({...u,[d.lang]:{...u[d.lang]||{},[d.code]:d.text}}),{}))}return Promise.all([s(),a()]).then(c=>{const[u,d]=c;function h(g){return Q.get(d,g,{})}return AC(h,t,u,{allowMissing:!0})})}function _oe({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})}){const[r,o]=T.useState({loading:!0,languages:null});return T.useEffect(()=>{const s=new Headers;s.append("Accept","application/json"),s.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:s}).then(a=>a.json()).then(a=>o({loading:!1,...n(a)}))},[e,t,n]),r}function VI(e){const[t,n]=T.useState(),r=z2(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}NI(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const Boe=new Ss.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function Noe({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(LI,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(jd,{})}),menu:u,name:d,copy:h,version:g="0.0.0",dataProvider:m,authProvider:v,i18nProvider:x,errorHandler:y,error:w,enableNotification:I=!1,enableRegistration:M=!1,enablePasswordRecover:E=!1,enableThemeToggler:j=!1,enableLocaleSwitcher:P=!1,queryClient:F=Boe,background:k,notificationAPI:$="entities/notification",...G}){Foe({apiUrl:n,errorHandler:y,catcherFn:se=>{const Z=se==null?void 0:se.toString(),W=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","Support for defaultProps will be removed from function components in a future major release.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>.","Missing translation for key:","HttpError: "].some(B=>Z==null?void 0:Z.includes(B));return new BI({catch:W,display:!W,log:!W&&o===!0,error:Z})}});const J=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:k,enableRegistration:M,enablePasswordRecover:E}):c,[c,d,g,h,k,s,M,E]),U=T.useMemo(()=>se=>{const Z=d?f.jsx(w0,{title:d}):s,X=d?f.jsx(PI,{title:d}):a;return f.jsx(bI,{...se,name:d,copy:h,version:g,logoMain:Z,logoIcon:X,notification:$,enableThemeToggler:j,enableNotification:I,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,$,I,j,P]),ae=VI({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:x});return ae===void 0?f.jsx(f.Fragment,{}):ae.error?f.jsx(Kh,{initialConfig:t,children:f.jsx(T0,{themeOverrides:e,children:f.jsx(DI,{})})}):f.jsx(oQ,{children:f.jsx(C2,{menu:u,children:f.jsx(Kh,{initialConfig:t,children:f.jsx(_I,{theme:e,layout:U,notification:CI,queryClient:F,dataProvider:m,authProvider:v,i18nProvider:ae,loginPage:J,...G})})})})}Object.defineProperty(exports,"ArrayField",{enumerable:!0,get:()=>L.ArrayField});Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>L.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>L.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>L.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>L.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>L.Confirm});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>L.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>L.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>L.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>L.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>L.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>L.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>L.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>L.FieldTitle});Object.defineProperty(exports,"FilterButton",{enumerable:!0,get:()=>L.FilterButton});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>L.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>L.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>L.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>L.I18nContextProvider});Object.defineProperty(exports,"ListBase",{enumerable:!0,get:()=>L.ListBase});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>L.ListToolbar});Object.defineProperty(exports,"LoadingIndicator",{enumerable:!0,get:()=>L.LoadingIndicator});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>L.Pagination});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>L.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>L.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>L.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>L.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>L.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>L.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>L.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>L.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleShowLayout",{enumerable:!0,get:()=>L.SimpleShowLayout});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>L.SingleFieldList});Object.defineProperty(exports,"TabbedFormTabs",{enumerable:!0,get:()=>L.TabbedFormTabs});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>L.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>L.UrlField});Object.defineProperty(exports,"ValidationError",{enumerable:!0,get:()=>L.ValidationError});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>L.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>L.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>L.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>L.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>L.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>L.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>L.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>L.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>L.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>L.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>L.useAuthProvider});Object.defineProperty(exports,"useChoices",{enumerable:!0,get:()=>L.useChoices});Object.defineProperty(exports,"useChoicesContext",{enumerable:!0,get:()=>L.useChoicesContext});Object.defineProperty(exports,"useCreate",{enumerable:!0,get:()=>L.useCreate});Object.defineProperty(exports,"useCreateContext",{enumerable:!0,get:()=>L.useCreateContext});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>L.useCreateController});Object.defineProperty(exports,"useCreateSuggestionContext",{enumerable:!0,get:()=>L.useCreateSuggestionContext});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>L.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>L.useEditContext});Object.defineProperty(exports,"useEditController",{enumerable:!0,get:()=>L.useEditController});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>L.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>L.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>L.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>L.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>L.useGetOne});Object.defineProperty(exports,"useInput",{enumerable:!0,get:()=>L.useInput});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>L.useListContext});Object.defineProperty(exports,"useListController",{enumerable:!0,get:()=>L.useListController});Object.defineProperty(exports,"useLocaleState",{enumerable:!0,get:()=>L.useLocaleState});Object.defineProperty(exports,"useLocales",{enumerable:!0,get:()=>L.useLocales});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>L.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>L.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>L.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>L.useRefresh});Object.defineProperty(exports,"useRemoveFromStore",{enumerable:!0,get:()=>L.useRemoveFromStore});Object.defineProperty(exports,"useResetStore",{enumerable:!0,get:()=>L.useResetStore});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>L.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>L.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>L.useResourceDefinitions});Object.defineProperty(exports,"useShowContext",{enumerable:!0,get:()=>L.useShowContext});Object.defineProperty(exports,"useShowController",{enumerable:!0,get:()=>L.useShowController});Object.defineProperty(exports,"useSimpleFormIterator",{enumerable:!0,get:()=>L.useSimpleFormIterator});Object.defineProperty(exports,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>L.useSimpleFormIteratorItem});Object.defineProperty(exports,"useStore",{enumerable:!0,get:()=>L.useStore});Object.defineProperty(exports,"useStoreContext",{enumerable:!0,get:()=>L.useStoreContext});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>L.useTranslate});Object.defineProperty(exports,"useTranslateLabel",{enumerable:!0,get:()=>L.useTranslateLabel});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>L.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>L.useUnselectAll});Object.defineProperty(exports,"useUpdate",{enumerable:!0,get:()=>L.useUpdate});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>L.useUpdateMany});Object.defineProperty(exports,"withLifecycleCallbacks",{enumerable:!0,get:()=>L.withLifecycleCallbacks});exports.ActionsField=aQ;exports.ActionsMenu=Uo;exports.ActivatePage=yre;exports.AddTableRow=f0;exports.Admin=_I;exports.AnimateButton=u9;exports.AppBarStyled=rI;exports.ApplicaAdmin=Noe;exports.ArrayInput=sQ;exports.AttachmentField=Z2;exports.AttachmentInput=MQ;exports.AuthBackground=jd;exports.AutocompleteArrayInput=FQ;exports.AutocompleteInput=LQ;exports.Avatar=Iu;exports.BooleanInput=BQ;exports.Breadcrumbs=ZA;exports.BulkActionsToolbar=jI;exports.BulkFloatingActionsToolbar=$ne;exports.Button=qd;exports.CardForm=H2;exports.ChangePasswordForm=a0;exports.CircularWithLabel=vN;exports.CircularWithPath=yN;exports.CoverField=J2;exports.Create=hJ;exports.CreateInDialogButton=Dne;exports.Datagrid=Yne;exports.DateAgoField=tT;exports.DateField=mQ;exports.DateInput=WQ;exports.DateTimeInput=zQ;exports.Dot=mm;exports.Drawer=nI;exports.DrawerHeader=qT;exports.DrawerHeaderStyled=HT;exports.DrawerToggle=sI;exports.Edit=vJ;exports.EditInDialogButton=Bne;exports.EmailField=yQ;exports.Empty=Xne;exports.EmptyClasses=Pi;exports.Error=qm;exports.Field=DT;exports.FileField=nT;exports.FileInput=HQ;exports.Footer=x0;exports.FormHeader=xJ;exports.FunctionField=xQ;exports.GenericErrorPage=DI;exports.Header=aI;exports.HeaderButton=oI;exports.HeaderIconButton=rne;exports.HeaderNotification=lI;exports.HeaderProfile=cI;exports.HeaderSpacer=dI;exports.HeaderToggleButton=Js;exports.HorizontalBar=fI;exports.IconButton=Sd;exports.ImageField=Q2;exports.ImageInput=GQ;exports.ImpersonateUserButton=Nne;exports.LabeledArrayInput=X2;exports.LabeledInput=hn;exports.Layout=bI;exports.LayoutContent=UT;exports.LayoutProvider=WT;exports.LayoutWrapper=yI;exports.LinearWithIcon=bN;exports.LinearWithLabel=xN;exports.List=dre;exports.ListItem=Vne;exports.Loadable=hne;exports.Loader=xI;exports.LoadingButton=pN;exports.LocalStorage=_2;exports.LocaleButton=iI;exports.LocalizedTextField=wQ;exports.LocalizedTextInput=KQ;exports.LoginPage=LI;exports.Logo=GT;exports.LongForm=kt;exports.MainCard=zn;exports.MainIcon=w0;exports.MenuConfigProvider=C2;exports.MenuPopover=mS;exports.NavCollapse=Ga;exports.NavGroup=hI;exports.NavItem=Ha;exports.NavList=gI;exports.NavMenu=pI;exports.Navigation=mI;exports.Notification=CI;exports.NotificationList=gre;exports.NumberInput=ZQ;exports.OnboardingActionType=Ps;exports.OnboardingContext=A0;exports.OnboardingModes=il;exports.OnboardingProvider=xne;exports.OnboardingTip=Sne;exports.PopupTransition=mN;exports.ReadonlyField=EQ;exports.RecordInput=QQ;exports.RecoverPage=bre;exports.ReferenceArrayInput=JQ;exports.ReferenceInput=eJ;exports.ReferenceManyField=oT;exports.ReferenceManyInput=tJ;exports.RegisterPage=xre;exports.ResponsiveSection=uI;exports.ScrollTop=OI;exports.ScrollX=Tne;exports.SearchInput=rJ;exports.SelectArrayInput=iJ;exports.SelectInput=aJ;exports.ShadowBox=Ene;exports.Show=LJ;exports.SimpleBar=tI;exports.SimpleForm=G2;exports.SimpleFormIterator=BJ;exports.SimpleList=mre;exports.SizeField=PQ;exports.SmallIcon=PI;exports.SmartTextInput=lJ;exports.StyledArrow=hS;exports.TabbedForm=d0;exports.TableFormIterator=zd;exports.TableFormIteratorContext=h0;exports.TableFormIteratorItem=_T;exports.TableFormIteratorItemContext=p0;exports.TextField=rT;exports.TextInput=Er;exports.ThemeColor=C0;exports.ThemeContext=o0;exports.ThemeCustomizationProvider=T0;exports.ThemeProvider=Kh;exports.ThemeToggler=vI;exports.TimeInput=fJ;exports.Toolbar=Xo;exports.Tooltip=Pd;exports.Transitions=ki;exports.WizardForm=NT;exports.createI18nProvider=NI;exports.createJsonI18nProvider=Loe;exports.getLocalizedValue=t0;exports.getPosition=gS;exports.getThemeColor=Qt;exports.getThemeShadow=zs;exports.localizedValueHasAllLocales=Gu;exports.localizedValueHasAtLeastOneLocale=B2;exports.onboardingModesSchema=AI;exports.onboardingTopicSchema=wI;exports.parseTime=W2;exports.useBreadcrumbs=w2;exports.useGetLocalizedValue=XZ;exports.useI18nLanguages=_oe;exports.useI18nProvider=VI;exports.useLayoutContext=g0;exports.useLayoutDispatch=tee;exports.useLayoutDrawerState=Vi;exports.useLayoutLogoState=zT;exports.useLayoutMediaState=Yn;exports.useLayoutNotificationsState=Hd;exports.useLayoutState=Zs;exports.useLayoutThemeState=nee;exports.useLocalStorage=n0;exports.useLocalizedValue=KZ;exports.useMemoizedObject=z2;exports.useMenu=Ym;exports.useMenuConfig=rl;exports.useMenuContext=Bd;exports.useOnboardingDataProvider=SI;exports.useOnboardingTip=II;exports.usePopoverState=Ol;exports.useRefDimensions=ZZ;exports.useResourceDefaultValues=gJ;exports.useResourceTitle=r0;exports.useRestartOnboarding=wne;exports.useSx=Pr;exports.useTableFormIterator=LT;exports.useTableFormIteratorItem=FT;exports.useThemeConfig=Rn;exports.useThemeContext=i0;exports.useWizardFormContext=Ud;exports.uuid=ZX;exports.walkChildren=$d;exports.withLayoutProvider=$T;
215
+ `+(c!==a?`result of cast: ${c}`:""))}return s}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,s)=>s.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:s,originalValue:a=t,strict:c=this.spec.strict}=n,u=t;c||(u=this._cast(u,Object.assign({assert:!1},n)));let d=[];for(let h of Object.values(this.internalTests))h&&d.push(h);this.runTests({path:s,value:u,originalValue:a,options:n,tests:d},r,h=>{if(h.length)return o(h,u);this.runTests({path:s,value:u,originalValue:a,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:s,value:a,originalValue:c,path:u,options:d}=t,h=x=>{o||(o=!0,n(x,a))},g=x=>{o||(o=!0,r(x,a))},m=s.length,v=[];if(!m)return g([]);let b={value:a,originalValue:c,path:u,options:d,schema:this};for(let x=0;x<s.length;x++){const w=s[x];w(b,h,function(M){M&&(Array.isArray(M)?v.push(...M):v.push(M)),--m<=0&&g(v)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:s,options:a}){const c=t??n;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let d=r[c];const h=Object.assign({},a,{strict:!0,parent:r,value:d,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(g,m,v)=>this.resolve(h)._validate(d,h,m,v)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((a,c)=>o._validate(t,n,(u,d)=>{wn.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new wn(u,d,void 0,void 0,s)):a(d)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s,a=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(c,u)=>{throw wn.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new wn(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(wn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(wn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):ws(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=as({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=as({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Fr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Fr.notNull){return this.nullability(!1,t)}required(t=Fr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Fr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=as(n),s=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(s||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=E2(t).map(s=>new Ni(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Uu(o,n):Uu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=as({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Fr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=as({message:n,name:"oneOf",skipAbsent:!0,test(o){let s=this.schema._whitelist,a=s.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(s).join(", "),resolved:a}})}}),r}notOneOf(t,n=Fr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=as({message:n,name:"notOneOf",test(o){let s=this.schema._blacklist,a=s.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(s).join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:s,nullable:a}=n.spec;return{meta:o,label:r,optional:s,nullable:a,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,d,h)=>h.findIndex(g=>g.name===u.name)===d)}}}hr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])hr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=IZ(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])hr.prototype[e]=hr.prototype.oneOf;for(const e of["not","nope"])hr.prototype[e]=hr.prototype.notOneOf;const OZ=()=>!0;function j2(e){return new R2(e)}class R2 extends hr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:OZ},t))}}j2.prototype=R2.prototype;const PZ=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function jZ(e){const t=Yh(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function Yh(e){var t,n;const r=PZ.exec(e);return r?{year:no(r[1]),month:no(r[2],1)-1,day:no(r[3],1),hour:no(r[4]),minute:no(r[5]),second:no(r[6]),millisecond:r[7]?no(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:no(r[10]),minuteOffset:no(r[11])}:null}function no(e,t=0){return Number(e)||t}let RZ=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,MZ=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-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d{2}",DZ="\\d{2}:\\d{2}:\\d{2}",LZ="(([+-]\\d{2}(:?\\d{2})?)|Z)",_Z=new RegExp(`${FZ}T${DZ}(\\.\\d+)?${LZ}$`),BZ=e=>so(e)||e===e.trim(),NZ={}.toString();function ao(){return new M2}class M2 extends hr{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===NZ?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Fr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=Cn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=Cn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=Cn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,s;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:s}=n:o=n),this.test({name:s||"matches",message:o||Cn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=Cn.email){return this.matches(RZ,{name:"email",message:t,excludeEmptyString:!0})}url(t=Cn.url){return this.matches(MZ,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Cn.uuid){return this.matches(kZ,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(_Z,{name:"datetime",message:n||Cn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Cn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=Yh(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||Cn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=Yh(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Cn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:BZ})}lowercase(t=Cn.lowercase){return this.transform(n=>so(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>so(n)||n===n.toLowerCase()})}uppercase(t=Cn.uppercase){return this.transform(n=>so(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>so(n)||n===n.toUpperCase()})}}ao.prototype=M2.prototype;let VZ=e=>e!=+e;function k2(){return new F2}class F2 extends hr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!VZ(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)||o===null?o:parseFloat(o)})})}min(t,n=Mo.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Mo.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Mo.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Mo.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Mo.positive){return this.moreThan(0,t)}negative(t=Mo.negative){return this.lessThan(0,t)}integer(t=Mo.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>so(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>so(o)?o:Math[t](o))}}k2.prototype=F2.prototype;let WZ=new Date(""),$Z=e=>Object.prototype.toString.call(e)==="[object Date]";class Wd extends hr{constructor(){super({type:"date",check(t){return $Z(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=jZ(t),isNaN(t)?Wd.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ni.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=Gh.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=Gh.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Wd.INVALID_DATE=WZ;Wd.prototype;function zZ(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=Oi.split(a)[0];r.add(u),o.has(`${c}-${u}`)||n.push([c,u])}for(const a of Object.keys(e)){let c=e[a];r.add(a),Ni.isRef(c)&&c.isSibling?s(c.path,a):Jm(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return mZ.array(Array.from(r),n).reverse()}function oC(e,t){let n=1/0;return e.some((r,o)=>{var s;if((s=t.path)!=null&&s.includes(r))return n=o,!0}),n}function D2(e){return(t,n)=>oC(e,t)-oC(e,n)}const UZ=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function cu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=cu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=cu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(cu)}):"optional"in e?e.optional():e}const HZ=(e,t)=>{const n=[...Oi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Oi.getter(Oi.join(n),!0)(e);return!!(o&&r in o)};let iC=e=>Object.prototype.toString.call(e)==="[object Object]";function GZ(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const qZ=D2([]);function e0(e){return new L2(e)}class L2 extends hr{constructor(t){super({type:"object",check(n){return iC(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=qZ,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let s=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(o).filter(g=>!this._nodes.includes(g))),u={},d=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),h=!1;for(const g of c){let m=s[g],v=g in o;if(m){let b,x=o[g];d.path=(n.path?`${n.path}.`:"")+g,m=m.resolve({value:x,context:n.context,parent:u});let w=m instanceof hr?m.spec:void 0,I=w==null?void 0:w.strict;if(w!=null&&w.strip){h=h||g in o;continue}b=!n.__validating||!I?m.cast(o[g],d):o[g],b!==void 0&&(u[g]=b)}else v&&!a&&(u[g]=o[g]);(v!==g in u||u[g]!==o[g])&&(h=!0)}return h?u:o}_validate(t,n={},r,o){let{from:s=[],originalValue:a=t,recursive:c=this.spec.recursive}=n;n.from=[{schema:this,value:a},...s],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(u,d)=>{if(!c||!iC(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||Ni.isRef(m)||h.push(m.asNestedTest({options:n,key:g,parent:d,parentPath:n.path,originalParent:a}))}this.runTests({tests:h,value:d,originalValue:a,options:n},r,g=>{o(g.sort(this._sortErrors).concat(u),d)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,s]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?s:a}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const s=this.fields[r];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[r]})),n[r]=s&&"getDefault"in s?s.getDefault(a):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=zZ(t,n),r._sortErrors=D2(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return cu(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=Oi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return HZ(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(UZ)}noUnknown(t=!0,n=qh.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const s=GZ(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=qh.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(Kp.camelCase)}snakeCase(){return this.transformKeys(Kp.snakeCase)}constantCase(){return this.transformKeys(t=>Kp.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,a]of Object.entries(n.fields)){var o;let c=t;(o=c)!=null&&o.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[s]})),r.fields[s]=a.describe(c)}return r}}e0.prototype=L2.prototype;const sC=j2().test("function","Invalid function",e=>Q.isFunction(e));var Fo,Ti,Ma;class _2{constructor(){eo(this,Ti);eo(this,Fo,[])}get(t){if(ao().required().validateSync(t),xa(this,Ti,Ma).call(this)){const n=localStorage.getItem(t);return Q.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return ao().required().validateSync(t),xa(this,Ti,Ma).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){ao().required().validateSync(t),sC.validateSync(n),xa(this,Ti,Ma).call(this)&&(bn(this,Fo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){ao().required().validateSync(t),sC.optional().default(Q.identity).validateSync(n),xa(this,Ti,Ma).call(this)&&(n!==void 0?Eo(this,Fo,Q.reject(bn(this,Fo),r=>r.key===t&&r.callback===n)):Eo(this,Fo,Q.reject(bn(this,Fo),r=>r.key===t)))}}Fo=new WeakMap,Ti=new WeakSet,Ma=function(){return typeof window<"u"};function Gu(e={},t=[],n={}){const{isEmpty:r=Q.isEmpty}=n;return!Q.some(t,o=>r((e??{})[o.locale]))}function B2(e={},t=[],n={}){const{isEmpty:r=Q.isEmpty}=n;return Q.some(t,o=>!r((e??{})[o.locale]))}function t0(e,t,n){if(!Q.isPlainObject(e)||t===void 0)return;const r=Q.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=Q.isArray(r.fallbackLocales)&&!Q.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=Q.chain(a).map(c=>e[String(c)]).reject(Q.isUndefined).first().value(),s===void 0&&(s=Q.chain(e).values().first().value())}return s}function $d(e=[],t){const n=Q.isArray(e)?e:[e],r=Q.filter(n,o=>T.isValidElement(o));Q.each(r,o=>{var s;t(o),$d(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}var N2={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",d="day",h="week",g="month",m="quarter",v="year",b="date",x="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Z){var X=["th","st","nd","rd"],W=Z%100;return"["+Z+(X[(W-20)%10]||X[W]||X[0])+"]"}},E=function(Z,X,W){var K=String(Z);return!K||K.length>=X?Z:""+Array(X+1-K.length).join(W)+Z},j={s:E,z:function(Z){var X=-Z.utcOffset(),W=Math.abs(X),K=Math.floor(W/60),B=W%60;return(X<=0?"+":"-")+E(K,2,"0")+":"+E(B,2,"0")},m:function Z(X,W){if(X.date()<W.date())return-Z(W,X);var K=12*(W.year()-X.year())+(W.month()-X.month()),B=X.clone().add(K,g),ne=W-B<0,V=X.clone().add(K+(ne?-1:1),g);return+(-(K+(W-B)/(ne?B-V:V-B))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:g,y:v,w:h,d,D:b,h:u,m:c,s:a,ms:s,Q:m}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},P="en",F={};F[P]=M;var k="$isDayjsObject",$=function(Z){return Z instanceof ae||!(!Z||!Z[k])},G=function Z(X,W,K){var B;if(!X)return P;if(typeof X=="string"){var ne=X.toLowerCase();F[ne]&&(B=ne),W&&(F[ne]=W,B=ne);var V=X.split("-");if(!B&&V.length>1)return Z(V[0])}else{var q=X.name;F[q]=X,B=q}return!K&&B&&(P=B),B||!K&&P},J=function(Z,X){if($(Z))return Z.clone();var W=typeof X=="object"?X:{};return W.date=Z,W.args=arguments,new ae(W)},U=j;U.l=G,U.i=$,U.w=function(Z,X){return J(Z,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var ae=function(){function Z(W){this.$L=G(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[k]=!0}var X=Z.prototype;return X.parse=function(W){this.$d=function(K){var B=K.date,ne=K.utc;if(B===null)return new Date(NaN);if(U.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var V=B.match(w);if(V){var q=V[2]-1||0,ue=(V[7]||"0").substring(0,3);return ne?new Date(Date.UTC(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)):new Date(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)}}return new Date(B)}(W),this.init()},X.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},X.$utils=function(){return U},X.isValid=function(){return this.$d.toString()!==x},X.isSame=function(W,K){var B=J(W);return this.startOf(K)<=B&&B<=this.endOf(K)},X.isAfter=function(W,K){return J(W)<this.startOf(K)},X.isBefore=function(W,K){return this.endOf(K)<J(W)},X.$g=function(W,K,B){return U.u(W)?this[K]:this.set(B,W)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(W,K){var B=this,ne=!!U.u(K)||K,V=U.p(W),q=function(ye,Ce){var Ee=U.w(B.$u?Date.UTC(B.$y,Ce,ye):new Date(B.$y,Ce,ye),B);return ne?Ee:Ee.endOf(d)},ue=function(ye,Ce){return U.w(B.toDate()[ye].apply(B.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(Ce)),B)},pe=this.$W,de=this.$M,he=this.$D,me="set"+(this.$u?"UTC":"");switch(V){case v:return ne?q(1,0):q(31,11);case g:return ne?q(1,de):q(0,de+1);case h:var Ae=this.$locale().weekStart||0,xe=(pe<Ae?pe+7:pe)-Ae;return q(ne?he-xe:he+(6-xe),de);case d:case b:return ue(me+"Hours",0);case u:return ue(me+"Minutes",1);case c:return ue(me+"Seconds",2);case a:return ue(me+"Milliseconds",3);default:return this.clone()}},X.endOf=function(W){return this.startOf(W,!1)},X.$set=function(W,K){var B,ne=U.p(W),V="set"+(this.$u?"UTC":""),q=(B={},B[d]=V+"Date",B[b]=V+"Date",B[g]=V+"Month",B[v]=V+"FullYear",B[u]=V+"Hours",B[c]=V+"Minutes",B[a]=V+"Seconds",B[s]=V+"Milliseconds",B)[ne],ue=ne===d?this.$D+(K-this.$W):K;if(ne===g||ne===v){var pe=this.clone().set(b,1);pe.$d[q](ue),pe.init(),this.$d=pe.set(b,Math.min(this.$D,pe.daysInMonth())).$d}else q&&this.$d[q](ue);return this.init(),this},X.set=function(W,K){return this.clone().$set(W,K)},X.get=function(W){return this[U.p(W)]()},X.add=function(W,K){var B,ne=this;W=Number(W);var V=U.p(K),q=function(de){var he=J(ne);return U.w(he.date(he.date()+Math.round(de*W)),ne)};if(V===g)return this.set(g,this.$M+W);if(V===v)return this.set(v,this.$y+W);if(V===d)return q(1);if(V===h)return q(7);var ue=(B={},B[c]=r,B[u]=o,B[a]=n,B)[V]||1,pe=this.$d.getTime()+W*ue;return U.w(pe,this)},X.subtract=function(W,K){return this.add(-1*W,K)},X.format=function(W){var K=this,B=this.$locale();if(!this.isValid())return B.invalidDate||x;var ne=W||"YYYY-MM-DDTHH:mm:ssZ",V=U.z(this),q=this.$H,ue=this.$m,pe=this.$M,de=B.weekdays,he=B.months,me=B.meridiem,Ae=function(Ce,Ee,ce,Xe){return Ce&&(Ce[Ee]||Ce(K,ne))||ce[Ee].slice(0,Xe)},xe=function(Ce){return U.s(q%12||12,Ce,"0")},ye=me||function(Ce,Ee,ce){var Xe=Ce<12?"AM":"PM";return ce?Xe.toLowerCase():Xe};return ne.replace(I,function(Ce,Ee){return Ee||function(ce){switch(ce){case"YY":return String(K.$y).slice(-2);case"YYYY":return U.s(K.$y,4,"0");case"M":return pe+1;case"MM":return U.s(pe+1,2,"0");case"MMM":return Ae(B.monthsShort,pe,he,3);case"MMMM":return Ae(he,pe);case"D":return K.$D;case"DD":return U.s(K.$D,2,"0");case"d":return String(K.$W);case"dd":return Ae(B.weekdaysMin,K.$W,de,2);case"ddd":return Ae(B.weekdaysShort,K.$W,de,3);case"dddd":return de[K.$W];case"H":return String(q);case"HH":return U.s(q,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return ye(q,ue,!0);case"A":return ye(q,ue,!1);case"m":return String(ue);case"mm":return U.s(ue,2,"0");case"s":return String(K.$s);case"ss":return U.s(K.$s,2,"0");case"SSS":return U.s(K.$ms,3,"0");case"Z":return V}return null}(Ce)||V.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(W,K,B){var ne,V=this,q=U.p(K),ue=J(W),pe=(ue.utcOffset()-this.utcOffset())*r,de=this-ue,he=function(){return U.m(V,ue)};switch(q){case v:ne=he()/12;break;case g:ne=he();break;case m:ne=he()/3;break;case h:ne=(de-pe)/6048e5;break;case d:ne=(de-pe)/864e5;break;case u:ne=de/o;break;case c:ne=de/r;break;case a:ne=de/n;break;default:ne=de}return B?ne:U.a(ne)},X.daysInMonth=function(){return this.endOf(g).$D},X.$locale=function(){return F[this.$L]},X.locale=function(W,K){if(!W)return this.$L;var B=this.clone(),ne=G(W,K,!0);return ne&&(B.$L=ne),B},X.clone=function(){return U.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},Z}(),se=ae.prototype;return J.prototype=se,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",b]].forEach(function(Z){se[Z[1]]=function(X){return this.$g(X,Z[0],Z[1])}}),J.extend=function(Z,X){return Z.$i||(Z(X,ae,J),Z.$i=!0),J},J.locale=G,J.isDayjs=$,J.unix=function(Z){return J(1e3*Z)},J.en=F[P],J.Ls=F,J.p={},J})})(N2);var V2=N2.exports;const Or=ho(V2);function W2(e){const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Or().hour(n).minute(r)}const ka=new _2;function YZ(e,t,n){return function(r){const o=Q.isFunction(r)?r(t):r;return ka.set(e,o),n(o),o}}function n0(e,t){var u;ao().required().validateSync(e);const[n,r]=T.useState(ka.get(e)??t),o=T.useRef(t),s=Q.isEqual(o.current,t)?o.current:t,a=T.useRef(),c=a.current;return T.useEffect(()=>{r(ka.get(e)??s)},[e,s,r]),T.useEffect(()=>{function d(h){r(h)}return ka.watch(e,d),()=>{ka.unwatch(e,d)}},[e,r]),(e!==(c==null?void 0:c.key)||!Q.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:YZ(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??Q.noop]}function $2(e){const[t]=te.useLocaleState();return e!==void 0?String(e):t}function KZ(e,t){const n=$2(t==null?void 0:t.locale);return t0(e,n,t)}function XZ(e){const t=$2(e==null?void 0:e.locale);return T.useCallback(r=>t0(r,t,e),[t,e])}function z2(e){if(!Q.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{Q.isEqual(e,t)||n(e)},[e,t]),t}function Ol(){const[e,t]=T.useState(null),n=!!e,r=T.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=T.useCallback(()=>t(null),[t]),s=T.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function ZZ(e,t){const[n,r]=T.useState({width:1,height:1}),o=e.current;return T.useEffect(()=>{function s(){var d;let c=0,u=0;switch(t){case"client":c=(o==null?void 0:o.clientWidth)??0,u=(o==null?void 0:o.clientHeight)??0;break;case"offset":c=(o==null?void 0:o.offsetWidth)??0,u=(o==null?void 0:o.offsetHeight)??0;break;case"scroll":c=(o==null?void 0:o.scrollWidth)??0,u=(o==null?void 0:o.scrollHeight)??0;break;case"bounding":default:{const h=((d=e.current)==null?void 0:d.getBoundingClientRect())??{width:0,height:0};c=h.width,u=h.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return Q.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function r0(e){const t=D.useRecordContext(),n=D.useTranslate(),r=D.useResourceContext(),o=t!=null&&t.id?"edit":"create";return T.useMemo(()=>{if(e===!1)return;const a=`resources.${r}.title`;return e||n(`resources.${r}.title.${o}`,{_:n(a,{_:a}),...t})},[o,t,r,n,e])}function kr(){throw new Error("Method must be implemented")}const U2={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:kr,setMenuOrientation:kr,setMiniDrawer:kr,setContainer:kr,setMode:kr,setPresetColor:kr,setThemeDirection:kr,setAppDefaultPath:kr,setDrawerWidth:kr,setHorizontalMaxItems:kr,isVerticalLayout:e=>!1,isHorizontalLayout:e=>!1};function QZ(e){return e==="vertical"}function JZ(e){return e==="horizontal"}const o0=T.createContext(U2);function Kh({initialConfig:e,children:t}){const[n,r]=n0("theme-config",{...U2,...e});function o(b){r(x=>({...x,fontFamily:b}))}function s(b){r(x=>({...x,menuOrientation:b}))}function a(b){r(x=>({...x,miniDrawer:b}))}function c(b){r(x=>({...x,container:b}))}function u(b){r(x=>({...x,mode:b}))}function d(b){r(x=>({...x,presetColor:b}))}function h(b){r(x=>({...x,themeDirection:b}))}function g(b){r(x=>({...x,appDefaultPath:b}))}function m(b){r(x=>({...x,drawerWidth:b}))}function v(b){r(x=>({...x,horizontalMaxItems:b}))}return f.jsx(o0.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:QZ,isHorizontalLayout:JZ},children:t})}function i0(){return T.useContext(o0)}function Rn(){return i0()}const eQ=wl(D.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end",position:"initial !important","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function Xo(e){return f.jsx(eQ,{...e})}function H2({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Rn();return f.jsx(nQ,{defaultValues:n,spacing:t||o,children:f.jsx(A.Grid,{container:!0,...r,spacing:t||o,children:e})})}function tQ({children:e,content:t=!0,title:n,subheader:r=null,secondary:o=null,toolbar:s=!1,lg:a=12,md:c=12,sm:u=12,xs:d=12,...h}){const g=D.useTranslate(),m=D.useResourceContext(),{cardTitle:v,cardSubheader:b}=T.useMemo(()=>{const x=n||`resources.${m}.title`;return{cardTitle:g(x,{_:x}),cardSubheader:r!==null?g(r,{_:r}):null}},[m,r,n,g]);return f.jsx(A.Grid,{item:!0,...h,lg:a,md:c,sm:u,xs:d,children:f.jsx(zn,{content:t,title:v,subheader:b,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(Xo,{children:f.jsx(D.SaveButton,{})}):s]})})})}const nQ=fe(D.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:"0 !important"}}));H2.Section=tQ;const rQ=wl(D.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function G2({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(Xo,{children:f.jsx(D.SaveButton,{type:"button"})}),secondary:s=f.jsx(Uo,{children:f.jsx(D.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=r0(e),d=D.useRecordContext(),h=tm();return f.jsx(zn,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:h.spacing(2.5),paddingRight:h.spacing(2.5),paddingBottom:h.spacing(2.5),paddingTop:t?h.spacing(2.5):0,borderTop:t?`1px solid ${h.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(rQ,{toolbar:o,...c})})}const q2={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},Y2=T.createContext(q2);function oQ(e){const[t,n]=T.useState(q2);function r(a,c){n(u=>({...u,openDialogs:[...u.openDialogs,a]})),c&&c()}function o(a,c){n(u=>({...u,openDialogs:u.openDialogs.filter(d=>d!==a)})),c&&c()}function s(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(Y2.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function K2(){const e=T.useContext(Y2);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function s0(){return K2()}function X2({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const d=Zt.useTheme(),{getCurrentDialog:h}=s0(),{source:g,resource:m,isRequired:v}=u,{getFieldState:b,formState:x}=En.useFormContext(),{error:w}=b(g,x),I=h();return f.jsxs(A.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:w?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(A.InputLabel,{error:!!w,sx:{borderBottom:a?`1px solid ${d.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:f.jsx(D.FieldTitle,{label:e,source:g,resource:I||m,isRequired:v})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(A.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!w,children:r}):null]})}const iQ=fe(D.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function sQ({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(X2,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(iQ,{source:n,label:!1,...s})})}function aQ({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(Uo,{children:[e?f.jsx(D.EditButton,{}):null,t?f.jsx(D.DeleteWithConfirmButton,{}):null,n?f.jsx(D.CloneButton,{}):null]})}const aC=fe("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),lQ=fe("ul")({display:"inline-block"});function cQ(e){var h;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=te.useRecordContext(e),c=ct.get(a,r),u=te.useTranslate();if(!c)return n?f.jsx(A.Typography,{component:"span",variant:"body2",className:t,...s,children:n?u(n,{_:n}):null}):f.jsx(aC,{className:t,...s});if(Array.isArray(c))return f.jsx(lQ,{className:t,...s,children:c.map((g,m)=>{var b;const v=o instanceof String?(b=ct.get(g,o))==null?void 0:b.toString():o;return f.jsx("li",{children:v},m)})});const d=o instanceof String?(h=ct.get(a,o))==null?void 0:h.toString():o;return f.jsx(aC,{className:t,...s,children:d})}function Z2({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:s,...a}){const[c,u]=T.useState(null),d=D.useRecordContext(a),h=D.useDataProvider(),g=D.useResourceContext(),m=D.useNotify(),v=T.useCallback(async w=>{w.preventDefault(),w.stopPropagation(),m("ra.notification.download",{type:"info"});const I=ct.get(d,a==null?void 0:a.source),M=(s||g).replace("entities/",""),E=e||(d==null?void 0:d.id),j=await h.getFile(`/attachments/${M}/${E}/${t||(a==null?void 0:a.source)}/${(I==null?void 0:I.id)||(d==null?void 0:d.id)}`),P=document.createElement("a");P.href=j,P.download=ct.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source)),P.click()},[h,d,e,g,s,t,a==null?void 0:a.source,a==null?void 0:a.title,m]),b=T.useMemo(()=>({...d,[a==null?void 0:a.source]:(d==null?void 0:d.src)||ct.get(d,a==null?void 0:a.source),[a==null?void 0:a.title]:(d==null?void 0:d.title)||ct.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),[d,a==null?void 0:a.source,a==null?void 0:a.title]),x=D.useTranslate();return T.useEffect(()=>{!d||!(d!=null&&d.userId)||r===!1||h.getOne(o,{id:d==null?void 0:d.userId}).then(({data:w})=>u(w)).catch(()=>u(null))},[d,h,o,r]),f.jsx(cQ,{...a,disabled:n,record:b,onClick:v,title:f.jsxs(A.Box,{sx:{cursor:"pointer"},children:[f.jsx(A.Typography,{variant:"subtitle1",children:ct.get(b,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),f.jsxs(A.Typography,{variant:"caption",color:"secondary",children:[ct.get(b,"sizeDescription"),r&&c?" | ":null,r&&c?x("ra.attachment.info",{user:c==null?void 0:c.name,created:Or(b==null?void 0:b.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const uQ=fe(D.ImageField,{slot:"root"})(()=>({}));function Q2(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(uQ,{...e,source:t})}function J2({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:s,...a}){const c=T.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...s}),[e,t,n,s]),u=D.useRecordContext(),d=o||u;return f.jsx(Q2,{sx:h=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${h.palette.divider}`,objectFit:"cover !important",...c,minWidth:c.width,minHeight:c.height}}),...a,record:d})}var dQ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(dQ);var fQ={exports:{}};(function(e,t){(function(n,r){e.exports=r(V2)})(An,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var o=r(n),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return o.default.locale(s,null,!0),s})})(fQ);var eT={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(An,function(){return function(n,r,o){n=n||{};var s=r.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(d,h,g,m){return s.fromToBase(d,h,g,m)}o.en.relativeTime=a,s.fromToBase=function(d,h,g,m,v){for(var b,x,w,I=g.$locale().relativeTime||a,M=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],E=M.length,j=0;j<E;j+=1){var P=M[j];P.d&&(b=m?o(d).diff(g,P.d,!0):g.diff(d,P.d,!0));var F=(n.rounding||Math.round)(Math.abs(b));if(w=b>0,F<=P.r||!P.r){F<=1&&j>0&&(P=M[j-1]);var k=I[P.l];v&&(F=v(""+F)),x=typeof k=="string"?k.replace("%d",F):k(F,h,P.l,w);break}}if(h)return x;var $=w?I.future:I.past;return typeof $=="function"?$(x):$.replace("%s",x)},s.to=function(d,h){return c(d,h,this,!0)},s.from=function(d,h){return c(d,h,this)};var u=function(d){return d.$u?o.utc():o()};s.toNow=function(d){return this.to(u(this),d)},s.fromNow=function(d){return this.from(u(this),d)}}})})(eT);var pQ=eT.exports;const hQ=ho(pQ);Or.extend(hQ);function tT(e){const t=D.useRecordContext(e),[n]=D.useLocaleState(),r=T.useMemo(()=>Or(ct.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(D.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(A.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const gQ=fe(D.DateField,{slot:"Root"})(()=>({}));function mQ({variant:e="body1",...t}){return f.jsx(gQ,{...t,variant:e})}const vQ=fe(D.EmailField,{slot:"Root"})(()=>({}));function yQ({variant:e="body1",...t}){return f.jsx(vQ,{...t,variant:e})}const bQ=fe(D.FileField,{slot:"root"})(()=>({}));function nT({...e}){const t=D.useRecordContext(e),n=T.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=ct.get(t,`_${e==null?void 0:e.source}`,ct.get(t,e==null?void 0:e.source)),s=ct.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),a=document.createElement("a");a.href=o,a.download=s,a.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(bQ,{...e,record:t,onClick:n})}function xQ({variant:e="body1",...t}){return f.jsx(D.FunctionField,{...t,variant:e})}const CQ=fe(D.TextField,{slot:"Root"})(()=>({}));function rT({variant:e="body1",...t}){return f.jsx(CQ,{...t,variant:e})}function wQ(e){const t=A.useTheme(),n=te.useLocales(),{source:r=""}=e,s=te.useRecordContext(e)[r],a=!Gu(s,n),c=Pr(e,{flex:1}),[u]=te.useLocaleState(),d=T.useMemo(()=>a?f.jsx(qe.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(qe.FlagOutlined,{}),[a,t.palette.warning.main]),h=T.useMemo(()=>f.jsx(A.Stack,{children:Q.map(n,(g,m)=>f.jsx(A.Typography,{children:`${g.locale.toUpperCase()}: ${(s??{})[g.locale]??""}`},m))}),[s,n]);return f.jsx(Pd,{title:h,arrow:!1,children:f.jsxs(A.Stack,{alignItems:"center",direction:"row",gap:1,children:[d,f.jsx(rT,{...e,source:`${r}.${u}`,sx:c})]})})}const AQ=fe("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}}));function SQ({source:e,defaultValue:t="&nbsp;",...n}){const r=D.useRecordContext(n),o=ct.get(r,e,t);return f.jsx(A.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function TQ({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(A.Tooltip,{title:e,placement:"top",children:t}):t}function EQ({label:e,source:t,defaultValue:n="&nbsp;",children:r=f.jsx(SQ,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=K2(),u=D.useRecordContext(s),d=D.useResourceContext(s),h=c(),g=T.useMemo(()=>o===!1?!1:typeof o=="function"?o(u):typeof o=="string"?ct.get(u,o,o):o,[u,o]),m=Pr(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return f.jsx(TQ,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(A.InputLabel,{sx:{pt:1},children:f.jsx(D.FieldTitle,{label:e,source:t,resource:h||d})}),f.jsx(AQ,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function IQ({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const OQ=wl(IQ,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"contents"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function oT(e){return f.jsx(OQ,{...e,children:f.jsx(D.ReferenceManyField,{pagination:f.jsx(D.Pagination,{}),...e})})}function PQ({source:e,...t}){const n=D.useRecordContext(t),r=ct.get(n,e,0),o=r/1024,s=o/1024,a=s/1024,c=a>1?`${a.toFixed(2)} GB`:s>1?`${s.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(A.Typography,{component:"span",variant:"body1",...t,children:c})}function ln({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Gt(),{getCurrentDialog:d}=s0(),{source:h,resource:g,isRequired:m}=c,{fieldState:{invalid:v}}=D.useInput(c),b=d();return f.jsxs(A.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:v?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(A.InputLabel,{error:v===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:f.jsx(D.FieldTitle,{label:e,source:h,resource:b||g,isRequired:m})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,r?f.jsx(A.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:v===!0,children:r}):null]})}function jQ(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const RQ=fe(D.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...jQ(e)}));function MQ({children:e=f.jsx(Z2,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const s=D.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return D.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(ln,{...o,disabled:n,children:f.jsx(RQ,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const kQ=fe(D.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function FQ({size:e="small",...t}){return f.jsx(ln,{...t,children:f.jsx(kQ,{size:e})})}const DQ=fe(D.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function LQ({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(ln,{...r,children:f.jsx(DQ,{size:e})})}const _Q=fe(D.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function BQ({...e}){const t=Zt.useTheme();return f.jsx(ln,{...e,children:f.jsx(_Q,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const NQ=4,VQ=fe(D.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function WQ(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Or(s).year().toString().length>NQ?o.target.value=t:n(s)},[t]);return f.jsx(ln,{...e,children:f.jsx(VQ,{...e,onInput:r})})}const $Q=fe(D.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function zQ(e){return f.jsx(ln,{...e,children:f.jsx($Q,{})})}const UQ=fe(D.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function HQ({children:e=f.jsx(nT,{source:"",title:""}),title:t,...n}){const r=En.useWatch({name:n.source}),o=D.useRecordContext(n),{source:s}=n,a=T.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=ct.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return f.jsx(ln,{...n,children:f.jsx(UQ,{children:T.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||ct.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||ct.get(o,`_${s}`),[t||s]:a}})})})}function GQ({children:e=f.jsx(J2,{}),title:t,multiple:n=!1,...r}){const o=En.useWatch({name:r.source}),s=D.useRecordContext(r),{source:a}=r;return D.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(ln,{...r,multiple:n,children:f.jsx(D.ImageInput,{accept:"image/*",children:T.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||ct.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||ct.get(s,`_${a}`)}})})})}function Er(e){return f.jsx(ln,{...e,children:f.jsx(D.TextInput,{})})}const qQ={vertical:"bottom",horizontal:"right"},YQ={vertical:"top",horizontal:"right"};function KQ({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=te.useLocales(),c=T.useCallback((F="ra.validation.required",k="ra.validation.required_locale")=>$=>{if(e&&!t&&!B2($,a))return F;if(t&&(!Q.has($,t)||Q.isEmpty(Q.get($,t))))return{message:k,args:{locale:t}};if(!e&&r&&!Gu($,a))return F},[e,t,a,r]),u=T.useMemo(()=>te.composeValidators(n,c()),[n,c]),{fieldState:d}=te.useInput({...o,validate:u}),{error:h}=d,g=En.useWatch({name:s}),m=!Gu(g,a),[v]=te.useLocaleState(),[b,x]=T.useState(v),[w,I]=T.useState(null),M=!!w,E=T.useCallback(F=>I(M?null:F.currentTarget),[M,I]),j=T.useCallback(()=>I(null),[I]),P=T.useMemo(()=>Q.map(a,(F,k)=>f.jsx(A.MenuItem,{onClick:()=>{x(F.locale),j()},children:f.jsx(A.ListItemText,{primary:`${F.locale.toUpperCase()}: ${(g??{})[F.locale]??""}`})},k)),[a,x,j,g]);return f.jsx(ln,{...o,validate:u,helperText:h!=null&&h.message?f.jsx(te.ValidationError,{error:h==null?void 0:h.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(A.Box,{flex:1,children:[Q.map(a,(F,k)=>f.jsx(Er,{...o,source:`${s}.${F.locale}`,sx:{width:"100%",display:F.locale===b?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(A.Chip,{label:f.jsx(A.Typography,{variant:"button",children:b}),size:"small",onClick:E,color:m?"warning":void 0})}},k)),f.jsx(A.Menu,{anchorEl:w,open:M,anchorOrigin:qQ,transformOrigin:YQ,onClose:j,children:P})]})})})}const XQ=fe(D.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function ZQ(e){return f.jsx(ln,{...e,children:f.jsx(XQ,{})})}const QQ=fe(D.RadioButtonGroupInput,{slot:"root"})(()=>({marginTop:"0 !important","& .MuiFormControlLabel-root":{marginLeft:-8}}));function JQ(e){return f.jsx(ln,{...e,children:f.jsx(QQ,{})})}function eJ({source:e,minWidth:t=300,children:n}){const r=D.useResourceContext(),o=D.useRecordContext(),[s,a]=T.useState(ct.get(o,e,"")),[c,u]=T.useState(!1),d=T.useCallback(b=>a(b.target.value),[]),h=D.useDataProvider(),g=T.useCallback(b=>{b.key==="Enter"&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,o,e]),m=T.useCallback(()=>{ct.get(o,e)!==s&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,e,o]),v=T.useCallback(b=>{u(!0),h.update(r,{id:o.id,data:{...o,[e]:b,_changed:e},previousData:o}).then(()=>u(!1))},[h,r,e,o]);return T.useEffect(()=>a(ct.get(o,e)),[o,e]),n?T.cloneElement(n,{...n.props,source:e,value:s,onChange:v}):f.jsx(A.TextField,{value:s,disabled:c,onChange:d,onKeyPress:g,onBlur:m,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function tJ({children:e,...t}){const n=T.Children.only(e);return f.jsx(D.ReferenceArrayInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function nJ({children:e,...t}){const n=T.Children.only(e);return f.jsx(D.ReferenceInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function rJ({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(D.ResourceContextProvider,{value:e,children:f.jsx(oT,{perPage:5,pagination:f.jsx(D.Pagination,{}),...s,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(D.ListToolbar,{filters:r,actions:o}),n]})})})}const oJ=fe(D.SearchInput,{slot:"root"})(()=>({}));function iJ(e){return f.jsx(oJ,{...e})}const sJ=fe(D.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function aJ({optionText:e="name",optionValue:t="id",...n}){return f.jsx(ln,{...n,children:f.jsx(sJ,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const lJ=fe(D.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function cJ(e){return f.jsx(ln,{...e,children:f.jsx(lJ,{})})}function uJ({multiline:e=!1,...t}){var u,d;const n=D.useTranslate(),r=D.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(d=(u=En.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:d.value;let s=t.helperText,a=t.validate;a?Array.isArray(a)&&a.indexOf(r)===-1&&a.push(r):a=[r];const c=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(s=s&&s.length>0?`${c} - ${n(s)}`:c),f.jsx(Er,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function dJ(e){if(!e)return"";const t=W2(e);return t?t.format("HH:mm"):""}function fJ(e){return e}const pJ=fe(D.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function hJ({parse:e=fJ,format:t=dJ,...n}){return f.jsx(ln,{...n,children:f.jsx(pJ,{parse:e,format:t,...n})})}function a0({onSuccess:e,firstAccess:t}){const{spacing:n}=Rn(),[r,o]=T.useState(!1),s=te.useAuthProvider(),a=te.useTranslate(),c=te.useNotify(),u=T.useCallback(d=>{const{oldPassword:h,newPassword:g}=d;o(!0),s==null||s.changePassword(h,g).then(()=>{c("ra.auth.password_changed"),e()}).catch(m=>{c((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e,c]);return f.jsx(te.ResourceContextProvider,{value:"user/change-password",children:f.jsx(te.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(G2,{onSubmit:u,toolbar:f.jsx(Xo,{children:f.jsx(D.SaveButton,{disabled:r})}),children:f.jsxs(A.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Alert,{severity:"warning",children:[f.jsx(A.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsx(Er,{source:"oldPassword",type:"password",validate:te.required()})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsx(Er,{source:"newPassword",type:"password",validate:te.required()})})]})})})})}const iT=T.createContext({});function gJ(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=D.useResourceContext(),o=D.useDataProvider(),{search:s}=ji.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!Q.isFunction(o.get))return Promise.resolve({});const m={};return new URLSearchParams(s??"").forEach((v,b)=>{m[b]=v}),o.get(a,m).then(v=>v.data).then(v=>{const{responseCode:b,value:x}=v;return b==="ok"?x:Promise.reject(v)})},[t,s,o,a]),u=T.useMemo(()=>Q.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ss.useQuery(u),g=Q.omit(e,["useDefaults"]);return h?f.jsx(A.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(A.CircularProgress,{})}):f.jsx(iT.Provider,{value:d??{},children:f.jsx(D.Create,{...g,children:e.children})})}const mJ=fe(gJ,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function vJ(){return T.useContext(iT)}const yJ=fe(D.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function bJ(e){return f.jsx(yJ,{...e})}const xJ=fe(A.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),CJ=fe(A.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function wJ({title:e,divider:t=!0,variant:n="h5"}){const r=D.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(xJ,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(CJ,{}):null]})}function Xh(e){return e.id??e.label}function sT(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function AJ(e){return Q.map(e,"id")}function qu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function aT(e,t){const n=e!==void 0?qu(e):0;return Q.chain(t).filter(o=>e!==void 0?sT(e,o.id):!0).filter(o=>qu(o.id)===n+1).value()}function SJ(e,t){var s;const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return Q.extend(n,{formRootPath:o});case"setSyncWithLocation":return Q.extend(n,{syncWithLocation:o});case"setErrorCount":return Q.extend(n,{errorCount:o});case"setActiveItem":return Q.includes(AJ(e.items),o)?Q.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return Q.extend(n,{items:Q.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=Q.isString(o)?o:o.id,c=Q.chain(n.items).clone().reject(u=>u.id===a).value();return Q.extend(n,{items:c}),n.activeItem===a&&Q.extend(n,{activeItem:((s=Q.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const TJ={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},lT=T.createContext(void 0);function cT(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ji.useLocation(),[s,a]=T.useReducer(SJ,Q.cloneDeep(TJ)),{formRootPath:c,items:u}=s,d=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{const h=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&h.push(r);const g=Q.chain(h).map(v=>ji.matchPath(v,o)).reject(v=>v===null).first().value(),m=g==null?void 0:g.pathnameBase;m!==void 0&&m!==c&&a({type:"setFormRootPath",payload:m})},[o,c,r]),T.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),T.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),T.useEffect(()=>{var h;if(t&&c!==void 0){let g=o.replace(c,"").replace(new RegExp(/^\/?/),"");Q.isEmpty(g)&&(g=((h=Q.chain(u).filter(m=>aT(m.id,u).length===0).orderBy([m=>qu(m.id),m=>m.index]).first().value())==null?void 0:h.id)??void 0),a({type:"setActiveItem",payload:g})}},[a,c,o,u,t]),f.jsx(lT.Provider,{value:d,children:e.children})}function uT(){const e=T.useContext(lT);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function Pl(){return uT().state}function l0(){return uT().dispatch}function dT(){return Pl().formRootPath}function fT(){return Pl().activeItem}function pT(){return Pl().items}function hT(){return Pl().syncWithLocation}function gT(){return Pl().errorCount}function mT(){const e=l0();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function vT(){const e=l0();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function yT(){const e=l0();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const EJ=fe(A.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function bT(e){const{spacing:t}=Rn(),{spacing:n=t}=e,r=Q.omit(e,["spacing"]);return f.jsx(D.Form,{...r,className:"LongFormView",children:f.jsx(EJ,{container:!0,spacing:n*2,children:e.children})})}function xT(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=Q.omit(e,["disposition"]);return f.jsx(A.Grid,{...n,item:!0,...t,children:e.children})}function CT(e){const t=fT();return t===void 0?!1:e===t||sT(e,t)}function wT(e){const t=pT();return T.useMemo(()=>aT(e,t),[t,e])}function IJ(){const e=dT(),{search:t}=ji.useLocation(),n=ji.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function AT(){const e=wT();return f.jsx(A.Card,{variant:"outlined",children:f.jsx(A.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:Q.map(e,(t,n)=>f.jsx(c0,{...t},n))})})}function c0(e){const t=te.useTranslate()??Q.identity,n=ST(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=Rn(),[v,b]=T.useState(r),x=T.useCallback(M=>{b(!v),a(M)},[a,v]),w=s!==void 0,I=Q.omit(e,["label","icon","selected","badge"]);return T.useEffect(()=>{r&&!v&&b(r)},[r,v,b]),f.jsxs(f.Fragment,{children:[f.jsx(A.ListItem,{...I,disablePadding:!0,children:f.jsxs(A.ListItemButton,{selected:r?!d:null,onClick:x,sx:{pl:m*h},children:[w?f.jsx(A.ListItemIcon,{children:s}):null,f.jsx(A.ListItemText,{inset:!w,primary:g===0?t(o):f.jsx(A.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c?f.jsx(A.ListItemAvatar,{children:f.jsx(Iu,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}):null,d?v?f.jsx(Un.ExpandLess,{}):f.jsx(Un.ExpandMore,{}):null]})}),d?f.jsx(A.Collapse,{in:v,timeout:"auto",children:f.jsx(A.List,{children:Q.map(u,(M,E)=>f.jsx(c0,{...M},E))})}):null]})}function ST(e){const{id:t}=e,n=CT(t),r=qu(t),o=IJ(),s=hT(),a=mT(),c=wT(t),u=!Q.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),Q.isFunction(e.onClick)&&e.onClick(g)},[a,o,e,s,u]);return T.useMemo(()=>({...e,selected:n,onClick:d,items:c,isGroup:u,level:r}),[e,n,d,c,u,r])}var OJ=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},TT=e=>e.firstChild?e.firstChild.offsetParent===e:!0,PJ=(e,t)=>{let n=e,r=0;TT(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},jJ=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},ol=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?ol="sticky":CSS.supports("position","-webkit-sticky")&&(ol="-webkit-sticky"));var Yu=!1;try{const e=Object.defineProperty({},"passive",{get(){Yu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Xp=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const s=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),a=o(s()),c=()=>{Object.assign(a,o(s())),n()};return window.addEventListener("resize",c,Yu),r.push(()=>window.removeEventListener("resize",c)),a}else{const s=o(t.getBoundingClientRect()),a=()=>{Object.assign(s,o(t.getBoundingClientRect())),n()},c=new ResizeObserver(a);return c.observe(t),r.push(()=>c.disconnect()),s}},RJ=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},MJ=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=OJ(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const k=g();k!==E&&j(k),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=k=>{const{offsetTop:$,height:G}=v,{naturalTop:J}=w,{height:U}=I;return k+$+G>=J+U+M+o},g=()=>{const{height:k}=v,{height:$}=I;return $+s+o<=k?3:h(d)?1:2},m=a!==window&&TT(a),v=Xp({el:a,onChange:u,unsubs:t,measure:({height:k,top:$})=>({height:k,offsetTop:m?$:0})}),b=jJ(e),x=b===window?{top:0,bottom:0}:RJ(b),w=Xp({el:b,onChange:u,unsubs:t,measure:({height:k})=>({height:k-x.top-x.bottom,naturalTop:b===window?0:PJ(b,a)+x.top+v.offsetTop})}),I=Xp({el:e,onChange:u,unsubs:t,measure:({height:k})=>({height:k})});let M=0,E=g();const j=k=>{const $=E;if(E=k,$===2&&(M=-1),k===3){e.style.position=ol,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:G,offsetTop:J}=v,{height:U,naturalTop:ae}=w,{height:se}=I;if(k===2)if(e.style.position="relative",M=$===0?Math.max(0,J+d-ae+s):Math.max(0,J+d+G-(ae+se+o)),r){const Z=Math.max(0,U-se-M);e.style.bottom=`${Z}px`}else e.style.top=`${M}px`;else e.style.position=ol,k===1?r?e.style.bottom=`${o}px`:e.style.top=`${G-se-o}px`:r?e.style.bottom=`${G-se-o}px`:e.style.top=`${s}px`};j(E);const P=k=>{if(k===d)return;const $=k-d;if(d=k,E===3)return;const{offsetTop:G,height:J}=v,{naturalTop:U,height:ae}=w,{height:se}=I;if($>0)if(E===0){if(k+G+s>U){const Z=Math.max(0,G+d-U+s);k+G+J<=U+se+Z+o?j(2):j(1)}}else E===2&&h(k)&&j(1);else if(E===1){if(G+k+J<U+ae+o){const Z=Math.max(0,G+d+J-(U+se+o));G+k+s>=U+Z?j(2):j(0)}}else E===2&&G+k+s<U+M&&j(0)},F=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",F,Yu),a.addEventListener("mousewheel",F,Yu),t.push(()=>a.removeEventListener("scroll",F),()=>a.removeEventListener("mousewheel",F))},kJ=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=T.useState(null);return T.useEffect(()=>{if(!r||!ol)return;const s=[];return MJ(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},FJ=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=kJ({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},DJ=FJ,ET=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(ET||{});function IT(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=Q.omit(e,["sticky","disposition","spacing"]),s=t?DJ:A.Box,a=T.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(A.Grid,{...o,item:!0,...n,children:f.jsx(s,{...a,children:f.jsx(A.Stack,{spacing:r,children:e.children})})})}function OT(e){return f.jsx(f.Fragment,{children:e.children})}function PT(e){const{children:t}=e;return T.useMemo(()=>{const r={top:[],bottom:[]};return T.Children.forEach(t,o=>{if(T.isValidElement(o)&&(o==null?void 0:o.type)===OT){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function jT(e){const{errors:t}=En.useFormState(),n=gT(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=Xh(e),d=vT(),h=yT(),g=CT(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):$d(c,b=>{var x;((x=b==null?void 0:b.props)==null?void 0:x.source)!==void 0&&m.push(b.props.source)}));const v=Q.chain(m).uniq().map(b=>Q.get(t,b)).reject(b=>b===void 0).value().length;return T.useEffect(()=>{d({id:u,index:a,label:r,icon:o,badge:s,errors:v})},[d,h,r,o,u,s,a,v]),T.useEffect(()=>()=>{h(u)},[u,h]),f.jsx(A.Box,{display:g?"unset":"none",children:e.children})}function RT(e){const t=u0(e),n=Xh(e);return f.jsx(jT,{...e,id:n,children:T.Children.map(t,r=>{const o=Xh(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function MT(e){return f.jsx(jT,{...e})}function u0(e){const{children:t}=e;return T.useMemo(()=>Q.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===MT||(r==null?void 0:r.type)===RT)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function LJ(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=Q.pick(e,["syncWithLocation","errorCount"]),s=Q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=PT(e),u=u0(e);return f.jsx(cT,{...o,children:f.jsxs(bT,{...s,spacing:r,children:[f.jsxs(IT,{disposition:t,spacing:r,children:[a,f.jsx(AT,{}),c]}),f.jsx(xT,{disposition:n,children:u})]})})}const kt=LJ;kt.BaseForm=bT;kt.Content=xT;kt.Provider=cT;kt.useItems=pT;kt.useSyncWithLocation=hT;kt.useErrorCount=gT;kt.useFormRootPath=dT;kt.useActiveItem=fT;kt.useSetActiveItem=mT;kt.useAddItem=vT;kt.useRemoveItem=yT;kt.Sidebar=IT;kt.SidebarSection=OT;kt.SidebarSectionPosition=ET;kt.useSidebarChildren=PT;kt.NavMenu=AT;kt.NavMenuItem=c0;kt.useNavMenuItem=ST;kt.Tab=MT;kt.Group=RT;kt.useBaseItemChildren=u0;const _J=fe(D.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function BJ(e){return f.jsx(_J,{...e})}const NJ=fe(D.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function VJ(e){return f.jsx(NJ,{...e})}const WJ=wl(D.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function $J({children:e}){return f.jsx(f.Fragment,{children:e})}function d0(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=f.jsx(Uo,{children:f.jsx(D.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=f.jsx(Xo,{children:f.jsx(D.SaveButton,{type:"button"})}),...d}=e,h=r0(t),g=A.useTheme();return f.jsx(zn,{title:h,modal:n,content:r,subheader:o,secondary:s,sx:{...a,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form > .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(WJ,{toolbar:u,component:c?$J:void 0,...d})})}function zJ({children:e,...t}){return f.jsx(D.TabbedForm.Tab,{...t,children:f.jsx(A.Box,{sx:{width:"100%",p:2.5},children:e})})}d0.Tab=D.TabbedForm.Tab;d0.TabStack=zJ;function f0(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=A.useTheme(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(A.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(A.Typography,{children:t}),!n&&(T.isValidElement(e==null?void 0:e.customButton)?T.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(A.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:f.jsx(qe.PlusCircleOutlined,{style:{color:c}})}))]})}function kT(e){const{label:t,disableAdd:n,inset:r,source:o,template:s}=e,[a,c]=T.useState(!1),{append:u}=D.useArrayInput(),d=T.useCallback(()=>{c(g=>!g)},[c]),h=T.useCallback(g=>(c(!1),u(g),Promise.resolve()),[c,u]);return f.jsxs(f.Fragment,{children:[T.cloneElement(f.jsx(f0,{}),{label:t,source:o,disableAdd:n,template:s,onClick:d,inset:r}),f.jsx(A.Dialog,{open:a,onClose:d,maxWidth:"xs",children:f.jsx(te.CreateContextProvider,{value:{save:h},children:e.children})})]})}const p0=T.createContext(void 0);function FT(){return T.useContext(p0)}function Ku(e){const{children:t}=e,{item:n,index:r}=FT(),[o,s]=T.useState(!1),{update:a}=D.useArrayInput(),c=D.useTranslate(),u=T.useCallback(d=>(s(!1),a(r,d),Promise.resolve()),[r,a]);return f.jsxs(f.Fragment,{children:[f.jsx(A.Button,{color:"primary",onClick:()=>s(!0),sx:{justifyContent:"flex-start"},children:c("ra.action.edit")}),f.jsx(A.Dialog,{open:o,onClose:()=>s(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(D.EditContextProvider,{value:{record:n,save:u},children:t})})]})}function DT({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=En.useFormContext(),o=D.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}const h0=T.createContext(void 0);function LT(){return T.useContext(h0)}const _T=_.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:s,member:a,resource:c,record:u}=e,d=D.useTranslate(),[h,g]=_.useState(!1),{total:m,remove:v}=LT(),b=_.useCallback(()=>{g(!1),v(s)},[s,v]),x=T.useMemo(()=>({index:s,total:m,item:u,remove:()=>v(s)}),[s,m,v,u]),w=T.useMemo(()=>T.Children.map(n,I=>T.isValidElement(I)&&(I==null?void 0:I.type)===Ku&&_.isValidElement(I)?I:null),[n]);return f.jsxs(p0.Provider,{value:x,children:[T.Children.map(n,(I,M)=>{if(I.type===Ku||!T.isValidElement(I))return null;const{source:E,...j}=I.props;return f.jsx(A.TableCell,{children:T.cloneElement(I,{source:E?`${a}.${E}`:a,index:E?void 0:M,resource:c,disabled:r,...j,label:""})})}),!o&&f.jsx(A.TableCell,{children:f.jsx(A.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(Uo,{horizontal:!0,children:[f.jsx(A.Button,{onClick:()=>g(!0),color:"error",sx:{justifyContent:"flex-start"},children:d("ra.action.delete")}),w]})})}),o&&w?f.jsx(A.TableCell,{children:f.jsx(A.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(Uo,{horizontal:!0,children:w})})}):null,n.length>0&&f.jsx(D.Confirm,{isOpen:h,title:d("ra.action.remove_item"),content:d("ra.message.remove_item"),onConfirm:b,onClose:()=>g(!1)})]})});function UJ(e){var X,W;const{children:t,resource:n,source:r,label:o,disableAdd:s=!1,disableRemove:a=!1,enableClearAll:c=!1,className:u,empty:d,template:h={},addButton:g=f.jsx(f0,{}),inset:m}=e,[v,b]=T.useState(!1),{fields:x,remove:w,replace:I,append:M}=D.useArrayInput(e),{resetField:E}=En.useFormContext(),j=Gt(),P=te.useTranslate(),F=T.useRef(h||{}),k=te.useTranslateLabel(),$=T.useCallback(K=>{w(K)},[w]);if(x.length>0){const{...K}=x[0];F.current=K;for(const B in F.current)F.current[B]=null}const G=T.useCallback((K=void 0)=>{let B=K;K==null&&(B=F.current,T.Children.count(t)===1&&_.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,V=>_.isValidElement(V)&&V.type!==te.FormDataConsumer).some(Boolean)?B="":(B=B||{},T.Children.forEach(t,V=>{_.isValidElement(V)&&V.type!==te.FormDataConsumer&&V.props.source&&(B[V.props.source]=V.props.defaultValue??null)})));const ne={...B,...h};M(ne),E(`${r}.${x.length}`,{defaultValue:B})},[M,t,E,r,x.length,h]);function J(K){return B=>{G(),K&&K(B)}}const U=T.useCallback(()=>{I([]),b(!1)},[I]),ae=T.useMemo(()=>({total:x.length,remove:$,source:r}),[x.length,$,r]),se=j.palette.mode==="dark"?j.palette.grey.A400:j.palette.grey.A800,Z=x.length>0&&c;return x?f.jsx(h0.Provider,{value:ae,children:f.jsxs("div",{className:u,children:[_.cloneElement(g,{label:o,source:r,disableAdd:s,template:h,onClick:(g==null?void 0:g.type)!==kT?J((W=(X=e==null?void 0:e.addButton)==null?void 0:X.props)==null?void 0:W.onClick):void 0,inset:m}),f.jsx(A.TableContainer,{component:A.Paper,sx:m===!0?{borderRadius:0}:{mt:2,border:`1px solid ${se}`},children:f.jsxs(A.Table,{size:"small",children:[f.jsx(A.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${se}`},children:f.jsxs(A.TableRow,{children:[T.Children.map(t,(K,B)=>{if(K.type===Ku||!_.isValidElement(K))return null;const ne=f.jsx(A.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:k({...K.props,resource:n})});return f.jsx(A.TableCell,{children:K.props.title?f.jsx(Pd,{title:K.props.title,arrow:!0,children:ne}):ne},B)}),!a&&Z?f.jsx(A.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(Uo,{horizontal:!0,children:f.jsx(A.Typography,{color:"error",onClick:()=>b(!0),children:P("ra.action.delete")})})},"actions"):f.jsx(A.TableCell,{},"empty_actions")]})}),f.jsxs(A.TableBody,{children:[x.length===0&&f.jsx(A.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(A.TableCell,{colSpan:4+(a?0:1),align:"center",children:d||f.jsx(A.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),x.length>0&&x.map((K,B)=>f.jsx(A.TableRow,{sx:{borderBottom:`1px solid ${se}}`},children:f.jsx(_T,{disableRemove:a,index:B,member:`${r}.${B}`,onRemoveField:$,record:x&&x[B]||{},resource:n,source:r,children:t})},K.id))]})]})}),x.length>0&&f.jsx(D.Confirm,{isOpen:v,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:U,onClose:()=>b(!1)})]})}):null}const HJ=fe(UJ,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}})),zd=HJ;zd.CreateButton=kT;zd.EditButton=Ku;zd.Field=DT;const BT=T.createContext(void 0);function Ud(){const e=T.useContext(BT);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function GJ({value:e,children:t}){return f.jsx(BT.Provider,{value:e,children:t})}function qJ({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:s}=Ud(),a=te.useTranslate(),{handleSubmit:c}=En.useFormContext(),u=T.useCallback(()=>{o()},[o]);return f.jsxs(Xo,{...t,children:[f.jsx(A.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?T.cloneElement(e):null}),f.jsx(A.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(A.Button,{variant:"text",color:"primary",onClick:s,children:a("ra.action.back")}),n()?f.jsx(A.Button,{variant:"contained",color:"primary",onClick:c(u),children:a("ra.action.next")}):f.jsx(D.SaveButton,{})]})}const YJ=A.styled(A.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),KJ=A.styled(A.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function XJ({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(KJ,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function ZJ({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=Ud(),{errors:s}=En.useFormState();function a(c){c<=r&&t(c)}return f.jsx(YJ,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((c,u)=>{const d=n[u].some(m=>Q.get(s,m)),{label:h,icon:g}=c.props;return f.jsx(A.Step,{children:f.jsx(A.StepLabel,{StepIconComponent:XJ,error:d,icon:g,onClick:()=>a(u),style:{cursor:u<=r?"pointer":"default"},children:e?null:h})},u)})})}function QJ({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:s,modal:a,sx:c,setCurrentStep:u}){const{currentStep:d,steps:h}=Ud(),g=D.useTranslate(),m=A.useTheme(),v=s||a,b=T.useMemo(()=>r?T.Children.toArray(r.props.children).find(w=>{var I;return T.isValidElement(w)&&w.type===A.Button&&((I=w.props)==null?void 0:I.children)===g("ra.action.cancel")}):null,[r,g]),x=h.map(w=>{const I=[],{sources:M}=w.props;return M!==void 0?I.push(...M):$d(w,E=>{var j;((j=E==null?void 0:E.props)==null?void 0:j.source)!==void 0&&I.push(E.props.source)}),I});return f.jsxs(A.Grid,{container:!0,spacing:2,sx:c,children:[f.jsx(A.Grid,{item:!0,xl:a?12:2,lg:a?12:3,md:a?12:3,sm:a?12:4,xs:12,children:o||f.jsx(ZJ,{isHorizontal:v,setCurrentStep:u,stepFields:x})}),a?f.jsx(A.Divider,{sx:{width:"100%"}}):null,f.jsx(A.Grid,{item:!0,xl:a?12:10,lg:a?12:9,md:a?12:9,sm:a?12:8,xs:12,sx:{paddingTop:a?"0 !important":null},children:f.jsxs(zn,{title:e||h[d].props.label,subheader:t,secondary:n,border:!a,divider:!0,children:[f.jsx(A.Box,{children:h[d]}),f.jsx(A.Box,{sx:{"& .MuiToolbar-root":{paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:m.spacing(2)}},children:r&&!b?r:f.jsx(qJ,{cancelButton:b})})]})})]})}const JJ=A.styled(D.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`}}));function NT({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:s=null,sx:a,modal:c=!1,...u}){const[d,h]=T.useState(0),g=T.Children.toArray(e),m=A.useMediaQuery(M=>M.breakpoints.down("sm"));function v(){return d<g.length-1}function b(){return d>0}function x(){h(M=>Math.min(M+1,g.length-1))}function w(){h(M=>Math.max(M-1,0))}const I={currentStep:d,steps:g,hasNextStep:v,hasPreviousStep:b,goToNextStep:x,goToPreviousStep:w};return f.jsx(GJ,{value:I,children:f.jsx(JJ,{...u,modal:c,children:f.jsx(QJ,{title:r,subheader:o,secondary:s,modal:c,sx:a,toolbar:t,progress:n,isSmall:m,setCurrentStep:h})})})}function eee({children:e}){return f.jsx(f.Fragment,{children:e})}NT.Step=eee;function tee(e,t){const n=Q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=Q.chain(n.media).clone().extend(o).value();return Q.extend(n,{media:s})}case"updateDrawer":{const s=Q.chain(n.drawer).clone().extend(o).value();return Q.extend(n,{drawer:s})}case"updateLogo":{const s=Q.chain(n.logo).clone().extend(o).value();return Q.extend(n,{logo:s})}case"updateNotifications":{const s=Q.chain(n.notifications).clone().extend(o).value();return Q.extend(n,{notifications:s})}case"updateTheme":{const s=Q.chain(n.theme).clone().extend(o).value();return Q.extend(n,{theme:s})}default:return n}}const nee={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},VT=T.createContext(void 0);function WT(e){var G;const t=te.useAuthProvider(),n=te.useGetIdentity(),r=A.useTheme(),o=A.useMediaQuery(r.breakpoints.down("md")),s=A.useMediaQuery(r.breakpoints.down("lg")),a=A.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,themeDirection:d,drawerWidth:h}=i0(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Bd(),b=T.useCallback(()=>{v(!m)},[m,v]),[x,w]=T.useState(!1),[I,M]=T.useReducer(tee,Q.chain(nee).clone().merge({drawer:{open:!c||m}}).value()),E=T.useCallback(()=>w(!1),[]),j=T.useMemo(()=>({state:I,dispatch:M}),[I,M]),{logoIcon:P,logoMain:F,enableNotification:k,notification:$}=e;return T.useEffect(()=>{M({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:g}})},[o,s,a,g]),T.useEffect(()=>{M({type:"updateDrawer",payload:{open:m,width:h,handleDrawerToggle:b}})},[m,h,b]),T.useEffect(()=>{c||v(!a)},[a,c]),T.useEffect(()=>{M({type:"updateLogo",payload:{main:F,icon:P}})},[P,F]),T.useEffect(()=>{M({type:"updateNotifications",payload:{enable:k,resource:$??"entities/notification"}})},[k,$]),T.useEffect(()=>{M({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),T.useEffect(()=>{if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(J=>{var U;w(!J&&((U=n==null?void 0:n.data)==null?void 0:U.needToChangePassword)===!0)})},[(G=n==null?void 0:n.data)==null?void 0:G.needToChangePassword,t]),f.jsxs(VT.Provider,{value:j,children:[f.jsx(A.Dialog,{open:x,maxWidth:"xs",fullWidth:!0,children:f.jsx(a0,{onSuccess:E,firstAccess:!0})}),e.children]})}function $T(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx(WT,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function g0(){const e=T.useContext(VT);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function ree(){return g0().dispatch}function Zs(){return g0().state}function Yn(){return Zs().media}function Vi(){return Zs().drawer}function zT(){return Zs().logo}function Hd(){return Zs().notifications}function oee(){return Zs().theme}function UT(e){const{width:t}=Vi(),{horizontal:n}=Yn(),{container:r}=Rn(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Gt();return f.jsx(_Y,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(qm,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx(ZS,{}),children:f.jsxs(A.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(A.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(A.Container,{maxWidth:r?"xl":!1,sx:{...r&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column",[c.breakpoints.down("sm")]:{px:"12px"}},children:e.children})]})})})}const HT=fe(A.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)}));function GT({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=Rn();return f.jsx(A.ButtonBase,{disableRipple:!0,component:dt.Link,to:n||s,sx:t,children:e?r:o})}function qT(e){const t=A.useTheme(),{horizontal:n}=Yn(),{open:r}=Vi(),{icon:o,main:s}=zT(),a=Pr(e,{minHeight:n?"unset":"60px",width:n?{xs:"100%",lg:"424px"}:"inherit",paddingTop:n?{xs:"10px",lg:"0"}:"8px",paddingBottom:n?{xs:"18px",lg:"0"}:"8px",paddingLeft:n?{xs:"24px",lg:"0"}:r?"24px":0});return f.jsx(HT,{theme:t,open:r,sx:a,children:f.jsx(GT,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function lC(e,t){return{width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}}function cC(e){return{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}}const iee=fe(A.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Rn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...lC(e,n),"& .MuiDrawer-paper":lC(e,n)},...!t&&{...cC(e),"& .MuiDrawer-paper":cC(e)}}});var Se={},Zh={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",s="",a="?",c="function",u="undefined",d="object",h="string",g="major",m="model",v="name",b="type",x="vendor",w="version",I="architecture",M="console",E="mobile",j="tablet",P="smarttv",F="wearable",k="embedded",$=500,G="Amazon",J="Apple",U="ASUS",ae="BlackBerry",se="Browser",Z="Chrome",X="Edge",W="Firefox",K="Google",B="Huawei",ne="LG",V="Microsoft",q="Motorola",ue="Opera",pe="Samsung",de="Sharp",he="Sony",me="Xiaomi",Ae="Zebra",xe="Facebook",ye="Chromium OS",Ce="Mac OS",Ee=" Browser",ce=function(ke,Fe){var Ie={};for(var be in ke)Fe[be]&&Fe[be].length%2===0?Ie[be]=Fe[be].concat(ke[be]):Ie[be]=ke[be];return Ie},Xe=function(ke){for(var Fe={},Ie=0;Ie<ke.length;Ie++)Fe[ke[Ie].toUpperCase()]=ke[Ie];return Fe},ge=function(ke,Fe){return typeof ke===h?Ke(Fe).indexOf(Ke(ke))!==-1:!1},Ke=function(ke){return ke.toLowerCase()},Jt=function(ke){return typeof ke===h?ke.replace(/[^\d\.]/g,s).split(".")[0]:r},St=function(ke,Fe){if(typeof ke===h)return ke=ke.replace(/^\s\s*/,s),typeof Fe===u?ke:ke.substring(0,$)},gt=function(ke,Fe){for(var Ie=0,be,ft,Nt,_e,Oe,qt;Ie<Fe.length&&!Oe;){var Xn=Fe[Ie],xr=Fe[Ie+1];for(be=ft=0;be<Xn.length&&!Oe&&Xn[be];)if(Oe=Xn[be++].exec(ke),Oe)for(Nt=0;Nt<xr.length;Nt++)qt=Oe[++ft],_e=xr[Nt],typeof _e===d&&_e.length>0?_e.length===2?typeof _e[1]==c?this[_e[0]]=_e[1].call(this,qt):this[_e[0]]=_e[1]:_e.length===3?typeof _e[1]===c&&!(_e[1].exec&&_e[1].test)?this[_e[0]]=qt?_e[1].call(this,qt,_e[2]):r:this[_e[0]]=qt?qt.replace(_e[1],_e[2]):r:_e.length===4&&(this[_e[0]]=qt?_e[3].call(this,qt.replace(_e[1],_e[2])):r):this[_e]=qt||r;Ie+=2}},Mn=function(ke,Fe){for(var Ie in Fe)if(typeof Fe[Ie]===d&&Fe[Ie].length>0){for(var be=0;be<Fe[Ie].length;be++)if(ge(Fe[Ie][be],ke))return Ie===a?r:Ie}else if(ge(Fe[Ie],ke))return Ie===a?r:Ie;return Fe.hasOwnProperty("*")?Fe["*"]:ke},Tt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},mt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ut={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,w],[/opios[\/ ]+([\w\.]+)/i],[w,[v,ue+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,ue+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,ue]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[v,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[v,"UC"+se]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[v,"Smart Lenovo "+se]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+se],w],[/\bfocus\/([\w\.]+)/i],[w,[v,W+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,ue+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,ue+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+se]],[/fxios\/([-\w\.]+)/i],[w,[v,W]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360"+Ee]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Ee],w],[/samsungbrowser\/([\w\.]+)/i],[w,[v,pe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[v,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,xe],w],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[v,Z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,Z+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+se]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[w,Mn,Tt]],[/(webkit|khtml)\/([\w\.]+)/i],[v,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],w],[/(wolvic)\/([\w\.]+)/i],[v,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[v,W+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[v,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[I,"amd64"]],[/(ia32(?=;))/i],[[I,Ke]],[/((?:i[346]|x)86)[;\)]/i],[[I,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/windows (ce|mobile); ppc;/i],[[I,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[I,/ower/,s,Ke]],[/(sun4\w)[;\)]/i],[[I,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[I,Ke]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[x,pe],[b,j]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[x,pe],[b,E]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[x,J],[b,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[x,J],[b,j]],[/(macintosh);/i],[m,[x,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[x,de],[b,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[x,B],[b,j]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[x,B],[b,E]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[m,/_/g," "],[x,me],[b,E]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[x,me],[b,j]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[x,"OPPO"],[b,E]],[/\b(opd2\d{3}a?) bui/i],[m,[x,"OPPO"],[b,j]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[x,"Vivo"],[b,E]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[x,"Realme"],[b,E]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[x,q],[b,E]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[x,q],[b,j]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[x,ne],[b,j]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[x,ne],[b,E]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[x,"Lenovo"],[b,j]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[x,"Nokia"],[b,E]],[/(pixel c)\b/i],[m,[x,K],[b,j]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[x,K],[b,E]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[x,he],[b,E]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[x,he],[b,j]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[x,"OnePlus"],[b,E]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[x,G],[b,j]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[x,G],[b,E]],[/(playbook);[-\w\),; ]+(rim)/i],[m,x,[b,j]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[x,ae],[b,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[x,U],[b,j]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[x,U],[b,E]],[/(nexus 9)/i],[m,[x,"HTC"],[b,j]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[x,[m,/_/g," "],[b,E]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[x,"TCL"],[b,j]],[/(itel) ((\w+))/i],[[x,Ke],m,[b,Mn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[x,"Acer"],[b,j]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[x,"Meizu"],[b,E]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[x,"Ulefone"],[b,E]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[x,"Nothing"],[b,E]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[x,m,[b,E]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[x,m,[b,j]],[/(surface duo)/i],[m,[x,V],[b,j]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[x,"Fairphone"],[b,E]],[/(u304aa)/i],[m,[x,"AT&T"],[b,E]],[/\bsie-(\w*)/i],[m,[x,"Siemens"],[b,E]],[/\b(rct\w+) b/i],[m,[x,"RCA"],[b,j]],[/\b(venue[\d ]{2,7}) b/i],[m,[x,"Dell"],[b,j]],[/\b(q(?:mv|ta)\w+) b/i],[m,[x,"Verizon"],[b,j]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[x,"Barnes & Noble"],[b,j]],[/\b(tm\d{3}\w+) b/i],[m,[x,"NuVision"],[b,j]],[/\b(k88) b/i],[m,[x,"ZTE"],[b,j]],[/\b(nx\d{3}j) b/i],[m,[x,"ZTE"],[b,E]],[/\b(gen\d{3}) b.+49h/i],[m,[x,"Swiss"],[b,E]],[/\b(zur\d{3}) b/i],[m,[x,"Swiss"],[b,j]],[/\b((zeki)?tb.*\b) b/i],[m,[x,"Zeki"],[b,j]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[x,"Dragon Touch"],m,[b,j]],[/\b(ns-?\w{0,9}) b/i],[m,[x,"Insignia"],[b,j]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[x,"NextBook"],[b,j]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[x,"Voice"],m,[b,E]],[/\b(lvtel\-)?(v1[12]) b/i],[[x,"LvTel"],m,[b,E]],[/\b(ph-1) /i],[m,[x,"Essential"],[b,E]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[x,"Envizen"],[b,j]],[/\b(trio[-\w\. ]+) b/i],[m,[x,"MachSpeed"],[b,j]],[/\btu_(1491) b/i],[m,[x,"Rotor"],[b,j]],[/(shield[\w ]+) b/i],[m,[x,"Nvidia"],[b,j]],[/(sprint) (\w+)/i],[x,m,[b,E]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[x,V],[b,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[x,Ae],[b,j]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[x,Ae],[b,E]],[/smart-tv.+(samsung)/i],[x,[b,P]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[x,pe],[b,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[x,ne],[b,P]],[/(apple) ?tv/i],[x,[m,J+" TV"],[b,P]],[/crkey/i],[[m,Z+"cast"],[x,K],[b,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[x,G],[b,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[x,de],[b,P]],[/(bravia[\w ]+)( bui|\))/i],[m,[x,he],[b,P]],[/(mitv-\w{5}) bui/i],[m,[x,me],[b,P]],[/Hbbtv.*(technisat) (.*);/i],[x,m,[b,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[x,St],[m,St],[b,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[x,m,[b,M]],[/droid.+; (shield) bui/i],[m,[x,"Nvidia"],[b,M]],[/(playstation [345portablevi]+)/i],[m,[x,he],[b,M]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[x,V],[b,M]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[x,pe],[b,F]],[/((pebble))app/i],[x,m,[b,F]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[x,J],[b,F]],[/droid.+; (glass) \d/i],[m,[x,K],[b,F]],[/droid.+; (wt63?0{2,3})\)/i],[m,[x,Ae],[b,F]],[/(quest( \d| pro)?)/i],[m,[x,xe],[b,F]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[x,[b,k]],[/(aeobc)\b/i],[m,[x,G],[b,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[b,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[b,j]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,j]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,E]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[x,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,X+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[w,Mn,mt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Mn,mt],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,Ce],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,w],[/\(bb(10);/i],[w,[v,ae]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[v,W+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[v,Z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,ye],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,w],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,w]]},vt=function(ke,Fe){if(typeof ke===d&&(Fe=ke,ke=r),!(this instanceof vt))return new vt(ke,Fe).getResult();var Ie=typeof n!==u&&n.navigator?n.navigator:r,be=ke||(Ie&&Ie.userAgent?Ie.userAgent:s),ft=Ie&&Ie.userAgentData?Ie.userAgentData:r,Nt=Fe?ce(Ut,Fe):Ut,_e=Ie&&Ie.userAgent==be;return this.getBrowser=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.browser),Oe[g]=Jt(Oe[w]),_e&&Ie&&Ie.brave&&typeof Ie.brave.isBrave==c&&(Oe[v]="Brave"),Oe},this.getCPU=function(){var Oe={};return Oe[I]=r,gt.call(Oe,be,Nt.cpu),Oe},this.getDevice=function(){var Oe={};return Oe[x]=r,Oe[m]=r,Oe[b]=r,gt.call(Oe,be,Nt.device),_e&&!Oe[b]&&ft&&ft.mobile&&(Oe[b]=E),_e&&Oe[m]=="Macintosh"&&Ie&&typeof Ie.standalone!==u&&Ie.maxTouchPoints&&Ie.maxTouchPoints>2&&(Oe[m]="iPad",Oe[b]=j),Oe},this.getEngine=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.engine),Oe},this.getOS=function(){var Oe={};return Oe[v]=r,Oe[w]=r,gt.call(Oe,be,Nt.os),_e&&!Oe[v]&&ft&&ft.platform&&ft.platform!="Unknown"&&(Oe[v]=ft.platform.replace(/chrome os/i,ye).replace(/macos/i,Ce)),Oe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(Oe){return be=typeof Oe===h&&Oe.length>$?St(Oe,$):Oe,this},this.setUA(be),this};vt.VERSION=o,vt.BROWSER=Xe([v,w,g]),vt.CPU=Xe([I]),vt.DEVICE=Xe([m,x,b,M,E,P,j,F,k]),vt.ENGINE=vt.OS=Xe([v,w]),e.exports&&(t=e.exports=vt),t.UAParser=vt;var Bt=typeof n!==u&&(n.jQuery||n.Zepto);if(Bt&&!Bt.ua){var Et=new vt;Bt.ua=Et.getResult(),Bt.ua.get=function(){return Et.getUA()},Bt.ua.set=function(ke){Et.setUA(ke);var Fe=Et.getResult();for(var Ie in Fe)Bt.ua[Ie]=Fe[Ie]}}})(typeof window=="object"?window:An)})(Zh,Zh.exports);var see=Zh.exports;Object.defineProperty(Se,"__esModule",{value:!0});function aee(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var an=T,ht=aee(an),YT=see,Zo=new YT,cn=Zo.getBrowser(),lee=Zo.getCPU(),Kn=Zo.getDevice(),m0=Zo.getEngine(),Qo=Zo.getOS(),jl=Zo.getUA(),KT=function(t){return Zo.setUA(t)},Rl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new YT(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},XT=Object.freeze({ClientUAInstance:Zo,browser:cn,cpu:lee,device:Kn,engine:m0,os:Qo,ua:jl,setUa:KT,parseUserAgent:Rl});function uC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function cee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uC(Object(n),!0).forEach(function(r){pee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ua(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ua=function(t){return typeof t}:Ua=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function uee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fee(e,t,n){return t&&dee(e.prototype,t),e}function pee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qh(){return Qh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qh.apply(this,arguments)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function Jh(e){return Jh=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jh(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eg(e,t)}function gee(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function br(e,t){if(e==null)return{};var n=gee(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mee(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return uu(e)}function vee(e,t){return yee(e)||bee(e,t)||xee(e,t)||Cee()}function yee(e){if(Array.isArray(e))return e}function bee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,s=!1,a,c;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){s=!0,c=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(s)throw c}}return r}}function xee(e,t){if(e){if(typeof e=="string")return dC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dC(e,t)}}function dC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
216
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sn={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},jn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Qs={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},wee={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},Aee=function(t){switch(t){case sn.Mobile:return{isMobile:!0};case sn.Tablet:return{isTablet:!0};case sn.SmartTv:return{isSmartTV:!0};case sn.Console:return{isConsole:!0};case sn.Wearable:return{isWearable:!0};case sn.Browser:return{isBrowser:!0};case sn.Embedded:return{isEmbedded:!0};default:return wee}},See=function(t){return KT(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},v0=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},y0=function(t){var n=v0();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},Tee=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:De(n.major),browserFullVersion:De(n.version),browserName:De(n.name),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}},fC=function(t,n,r,o){return cee({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},Eee=function(t,n,r,o){return{isSmartTV:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Iee=function(t,n,r,o){return{isConsole:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Oee=function(t,n,r,o){return{isWearable:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},Pee=function(t,n,r,o,s){return{isEmbedded:t,vendor:De(n.vendor),model:De(n.model),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}};function jee(e){var t=e?Rl(e):XT,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=Aee(n.type),u=c.isBrowser,d=c.isMobile,h=c.isTablet,g=c.isSmartTV,m=c.isConsole,v=c.isWearable,b=c.isEmbedded;if(u)return Tee(u,r,o,s,a);if(g)return Eee(g,o,s,a);if(m)return Iee(m,o,s,a);if(d||h)return fC(c,n,s,a);if(v)return Oee(v,o,s,a);if(b)return Pee(b,n,o,s,a)}var ZT=function(t){var n=t.type;return n===sn.Mobile},QT=function(t){var n=t.type;return n===sn.Tablet},JT=function(t){var n=t.type;return n===sn.Mobile||n===sn.Tablet},eE=function(t){var n=t.type;return n===sn.SmartTv},Xu=function(t){var n=t.type;return n===sn.Browser},tE=function(t){var n=t.type;return n===sn.Wearable},nE=function(t){var n=t.type;return n===sn.Console},rE=function(t){var n=t.type;return n===sn.Embedded},oE=function(t){var n=t.vendor;return De(n)},iE=function(t){var n=t.model;return De(n)},sE=function(t){var n=t.type;return De(n,"browser")},aE=function(t){var n=t.name;return n===Qs.Android},lE=function(t){var n=t.name;return n===Qs.Windows},cE=function(t){var n=t.name;return n===Qs.MAC_OS},uE=function(t){var n=t.name;return n===Qs.WindowsPhone},dE=function(t){var n=t.name;return n===Qs.IOS},fE=function(t){var n=t.version;return De(n)},pE=function(t){var n=t.name;return De(n)},hE=function(t){var n=t.name;return n===jn.Chrome},gE=function(t){var n=t.name;return n===jn.Firefox},mE=function(t){var n=t.name;return n===jn.Chromium},Zu=function(t){var n=t.name;return n===jn.Edge},vE=function(t){var n=t.name;return n===jn.Yandex},yE=function(t){var n=t.name;return n===jn.Safari||n===jn.MobileSafari},bE=function(t){var n=t.name;return n===jn.MobileSafari},xE=function(t){var n=t.name;return n===jn.Opera},CE=function(t){var n=t.name;return n===jn.InternetExplorer||n===jn.Ie},wE=function(t){var n=t.name;return n===jn.MIUI},AE=function(t){var n=t.name;return n===jn.SamsungBrowser},SE=function(t){var n=t.version;return De(n)},TE=function(t){var n=t.major;return De(n)},EE=function(t){var n=t.name;return De(n)},IE=function(t){var n=t.name;return De(n)},OE=function(t){var n=t.version;return De(n)},PE=function(){var t=v0(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Os=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},jE=function(){var t=v0();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},Lr=function(){return y0("iPad")},RE=function(){return y0("iPhone")},ME=function(){return y0("iPod")},kE=function(t){return De(t)};function FE(e){var t=e||XT,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:eE(n),isConsole:nE(n),isWearable:tE(n),isEmbedded:rE(n),isMobileSafari:bE(r)||Lr(),isChromium:mE(r),isMobile:JT(n)||Lr(),isMobileOnly:ZT(n),isTablet:QT(n)||Lr(),isBrowser:Xu(n),isDesktop:Xu(n),isAndroid:aE(o),isWinPhone:uE(o),isIOS:dE(o)||Lr(),isChrome:hE(r),isFirefox:gE(r),isSafari:yE(r),isOpera:xE(r),isIE:CE(r),osVersion:fE(o),osName:pE(o),fullBrowserVersion:SE(r),browserVersion:TE(r),browserName:EE(r),mobileVendor:oE(n),mobileModel:iE(n),engineName:IE(s),engineVersion:OE(s),getUA:kE(a),isEdge:Zu(r)||Os(a),isYandex:vE(r),deviceType:sE(n),isIOS13:jE(),isIPad13:Lr(),isIPhone13:RE(),isIPod13:ME(),isElectron:PE(),isEdgeChromium:Os(a),isLegacyEdge:Zu(r)&&!Os(a),isWindows:lE(o),isMacOs:cE(o),isMIUI:wE(r),isSamsungBrowser:AE(r)}}var DE=eE(Kn),LE=nE(Kn),_E=tE(Kn),Ree=rE(Kn),Mee=bE(cn)||Lr(),kee=mE(cn),Gd=JT(Kn)||Lr(),BE=ZT(Kn),NE=QT(Kn)||Lr(),VE=Xu(Kn),Fee=Xu(Kn),WE=aE(Qo),$E=uE(Qo),zE=dE(Qo)||Lr(),Dee=hE(cn),Lee=gE(cn),_ee=yE(cn),Bee=xE(cn),UE=CE(cn),Nee=fE(Qo),Vee=pE(Qo),Wee=SE(cn),$ee=TE(cn),zee=EE(cn),Uee=oE(Kn),Hee=iE(Kn),Gee=IE(m0),qee=OE(m0),Yee=kE(jl),Kee=Zu(cn)||Os(jl),Xee=vE(cn),Zee=sE(Kn),Qee=jE(),Jee=Lr(),ete=RE(),tte=ME(),nte=PE(),rte=Os(jl),ote=Zu(cn)&&!Os(jl),ite=lE(Qo),ste=cE(Qo),ate=wE(cn),lte=AE(cn),cte=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=Rl(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return FE({device:r,browser:o,os:s,engine:a,ua:c})},ute=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return WE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},dte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return VE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},fte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return UE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},pte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return zE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},hte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return Gd?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},gte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return NE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},mte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return $E?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},vte=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=br(t,["renderWithFragment","children","viewClassName","style"]);return BE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},yte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return DE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},bte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return LE?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},xte=function(t){var n=t.renderWithFragment,r=t.children,o=br(t,["renderWithFragment","children"]);return _E?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",o,r):null},Cte=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=br(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?ht.createElement(an.Fragment,null,r):ht.createElement("div",s,r):null};function wte(e){return function(t){hee(n,t);function n(r){var o;return uee(this,n),o=mee(this,Jh(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(uu(o)),o.onOrientationChange=o.onOrientationChange.bind(uu(o)),o.onPageLoad=o.onPageLoad.bind(uu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return fee(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Ua(window))!==void 0&&Gd&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return ht.createElement(e,Qh({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(ht.Component)}function Ate(){var e=an.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=vee(e,2),n=t[0],r=t[1],o=an.useCallback(function(){var s=window.innerWidth>window.innerHeight?90:0,a={isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"};n.orientation!==a.orientation&&r(a)},[n.orientation]);return an.useEffect(function(){return(typeof window>"u"?"undefined":Ua(window))!==void 0&&Gd&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function HE(e){var t=e||window.navigator.userAgent;return Rl(t)}function Ste(e){var t=e||window.navigator.userAgent,n=HE(t),r=FE(n);return[r,n]}Se.AndroidView=ute;Se.BrowserTypes=jn;var Tte=Se.BrowserView=dte;Se.ConsoleView=bte;Se.CustomView=Cte;Se.IEView=fte;Se.IOSView=pte;Se.MobileOnlyView=vte;var Ete=Se.MobileView=hte;Se.OsTypes=Qs;Se.SmartTVView=yte;Se.TabletView=gte;Se.WearableView=xte;Se.WinPhoneView=mte;Se.browserName=zee;Se.browserVersion=$ee;Se.deviceDetect=jee;Se.deviceType=Zee;Se.engineName=Gee;Se.engineVersion=qee;Se.fullBrowserVersion=Wee;Se.getSelectorsByUserAgent=cte;Se.getUA=Yee;Se.isAndroid=WE;Se.isBrowser=VE;Se.isChrome=Dee;Se.isChromium=kee;Se.isConsole=LE;Se.isDesktop=Fee;Se.isEdge=Kee;Se.isEdgeChromium=rte;Se.isElectron=nte;Se.isEmbedded=Ree;Se.isFirefox=Lee;Se.isIE=UE;Se.isIOS=zE;Se.isIOS13=Qee;Se.isIPad13=Jee;Se.isIPhone13=ete;Se.isIPod13=tte;Se.isLegacyEdge=ote;Se.isMIUI=ate;Se.isMacOs=ste;Se.isMobile=Gd;Se.isMobileOnly=BE;Se.isMobileSafari=Mee;Se.isOpera=Bee;Se.isSafari=_ee;Se.isSamsungBrowser=lte;Se.isSmartTV=DE;Se.isTablet=NE;Se.isWearable=_E;Se.isWinPhone=$E;Se.isWindows=ite;Se.isYandex=Xee;Se.mobileModel=Hee;Se.mobileVendor=Uee;Se.osName=Vee;Se.osVersion=Nee;Se.parseUserAgent=Rl;Se.setUserAgent=See;Se.useDeviceData=HE;Se.useDeviceSelectors=Ste;Se.useMobileOrientation=Ate;Se.withOrientationChange=wte;var Ite=typeof global=="object"&&global&&global.Object===Object&&global,Ote=typeof self=="object"&&self&&self.Object===Object&&self,GE=Ite||Ote||Function("return this")(),Qu=GE.Symbol,qE=Object.prototype,Pte=qE.hasOwnProperty,jte=qE.toString,Pa=Qu?Qu.toStringTag:void 0;function Rte(e){var t=Pte.call(e,Pa),n=e[Pa];try{e[Pa]=void 0;var r=!0}catch{}var o=jte.call(e);return r&&(t?e[Pa]=n:delete e[Pa]),o}var Mte=Object.prototype,kte=Mte.toString;function Fte(e){return kte.call(e)}var Dte="[object Null]",Lte="[object Undefined]",pC=Qu?Qu.toStringTag:void 0;function _te(e){return e==null?e===void 0?Lte:Dte:pC&&pC in Object(e)?Rte(e):Fte(e)}function Bte(e){return e!=null&&typeof e=="object"}var Nte="[object Symbol]";function Vte(e){return typeof e=="symbol"||Bte(e)&&_te(e)==Nte}var Wte=/\s/;function $te(e){for(var t=e.length;t--&&Wte.test(e.charAt(t)););return t}var zte=/^\s+/;function Ute(e){return e&&e.slice(0,$te(e)+1).replace(zte,"")}function Ju(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var hC=NaN,Hte=/^[-+]0x[0-9a-f]+$/i,Gte=/^0b[01]+$/i,qte=/^0o[0-7]+$/i,Yte=parseInt;function gC(e){if(typeof e=="number")return e;if(Vte(e))return hC;if(Ju(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ju(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ute(e);var n=Gte.test(e);return n||qte.test(e)?Yte(e.slice(2),n?2:8):Hte.test(e)?hC:+e}var Zp=function(){return GE.Date.now()},Kte="Expected a function",Xte=Math.max,Zte=Math.min;function du(e,t,n){var r,o,s,a,c,u,d=0,h=!1,g=!1,m=!0;if(typeof e!="function")throw new TypeError(Kte);t=gC(t)||0,Ju(n)&&(h=!!n.leading,g="maxWait"in n,s=g?Xte(gC(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(F){var k=r,$=o;return r=o=void 0,d=F,a=e.apply($,k),a}function b(F){return d=F,c=setTimeout(I,t),h?v(F):a}function x(F){var k=F-u,$=F-d,G=t-k;return g?Zte(G,s-$):G}function w(F){var k=F-u,$=F-d;return u===void 0||k>=t||k<0||g&&$>=s}function I(){var F=Zp();if(w(F))return M(F);c=setTimeout(I,x(F))}function M(F){return c=void 0,m&&r?v(F):(r=o=void 0,a)}function E(){c!==void 0&&clearTimeout(c),d=0,r=u=o=c=void 0}function j(){return c===void 0?a:M(Zp())}function P(){var F=Zp(),k=w(F);if(r=arguments,o=this,u=F,k){if(c===void 0)return b(u);if(g)return clearTimeout(c),c=setTimeout(I,t),v(u)}return c===void 0&&(c=setTimeout(I,t)),a}return P.cancel=E,P.flush=j,P}var Qte="Expected a function";function Jte(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(Qte);return Ju(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),du(e,t,{leading:r,maxWait:t,trailing:o})}var As=function(){return As=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},As.apply(this,arguments)};function YE(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function KE(e){return!e||!e.ownerDocument?document:e.ownerDocument}var XE=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,o){var s=o.name.match(/data-simplebar-(.+)/);if(s){var a=s[1].replace(/\W+(.)/g,function(c,u){return u.toUpperCase()});switch(o.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=o.value}}return r},t);return n};function ZE(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function QE(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function JE(e){return".".concat(e.split(" ").join("."))}var b0=!!(typeof window<"u"&&window.document&&window.document.createElement),ene=Object.freeze({__proto__:null,addClasses:ZE,canUseDOM:b0,classNamesToQuery:JE,getElementDocument:KE,getElementWindow:YE,getOptions:XE,removeClasses:QE}),hs=null,mC=null;b0&&window.addEventListener("resize",function(){mC!==window.devicePixelRatio&&(mC=window.devicePixelRatio,hs=null)});function vC(){if(hs===null){if(typeof document>"u")return hs=0,hs;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),hs=n}return hs}var Oo=YE,Qp=KE,tne=XE,Po=ZE,jo=QE,xn=JE,Yc=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Oo(r.el);r.scrollXTicking||(o.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(o.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,Po(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){jo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Po(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){jo(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(o){r.mouseX=o.clientX,r.mouseY=o.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var s,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(s=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(s||a)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(s&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(o,"x"):r.onTrackClick(o,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(o,"y"):r.onTrackClick(o,"y"))))}},this.drag=function(o){var s,a,c,u,d,h,g,m,v,b,x;if(!(!r.draggedAxis||!r.contentWrapperEl)){var w,I=r.axis[r.draggedAxis].track,M=(a=(s=I.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,E=r.axis[r.draggedAxis].scrollbar,j=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((h=(d=r.elStyles)===null||d===void 0?void 0:d[r.axis[r.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?w=o.pageY:w=o.pageX;var F=w-((m=(g=I.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-r.axis[r.draggedAxis].dragOffset;F=r.draggedAxis==="x"&&r.isRtl?((b=(v=I.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&b!==void 0?b:0)-E.size-F:F;var k=F/(M-E.size),$=k*(j-P);r.draggedAxis==="x"&&r.isRtl&&($=!((x=e.getRtlHelpers())===null||x===void 0)&&x.isScrollingToNegative?-$:$),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=$}},this.onEndDrag=function(o){r.isDragging=!1;var s=Qp(r.el),a=Oo(r.el);o.preventDefault(),o.stopPropagation(),jo(r.el,r.classNames.dragging),r.onStopScrolling(),s.removeEventListener("mousemove",r.drag,!0),s.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){s.removeEventListener("click",r.preventClick,!0),s.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=As(As({},e.defaultOptions),n),this.classNames=As(As({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Jte(this._onMouseMove,64),this.onWindowResize=du(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=du(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=du(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),s=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==s.left,isScrollingToNegative:s.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:vC()}catch{return vC()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Qp(t),o=Oo(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){b0&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(xn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(xn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(xn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(xn(this.classNames.offset)),this.maskEl=this.el.querySelector(xn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,xn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(xn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(xn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(xn(this.classNames.track)).concat(xn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(xn(this.classNames.track)).concat(xn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(xn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(xn(this.classNames.scrollbar)))||null,this.options.autoHide||(Po(this.axis.x.scrollbar.el,this.classNames.visible),Po(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Oo(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){o&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Oo(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var u=this.contentEl.scrollHeight,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||d,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&d>n,this.axis.y.isOverflowing=u>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],s=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,a=s/o,c;return c=Math.max(~~(a*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,r,o;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,u=parseInt(this.elStyles[this.axis[t].sizeAttr],10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];d=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-d:d,t==="x"&&this.isRtl&&(d=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?d:-d);var h=d/(a-u),g=~~((c-s.size)*h);g=t==="x"&&this.isRtl?-g+(c-s.size):g,s.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Po(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(jo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Po(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Po(n.scrollbar.el,this.classNames.hover):jo(n.scrollbar.el,this.classNames.hover)):(jo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),jo(this.axis[t].track.el,this.classNames.hover),jo(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var o=Qp(this.el),s=Oo(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Po(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,o,s,a,c;n===void 0&&(n="y");var u=this.axis[n];if(!(!this.options.clickOnTrack||!u.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var d=Oo(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(s=(o=h.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,m=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],b=n==="y"?this.mouseY-g:this.mouseX-g,x=b<0?-1:1,w=x===-1?v-m:v+m,I=40,M=function(){r.contentWrapperEl&&(x===-1?v>w&&(v-=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(M)):v<w&&(v+=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(M)))};M()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Oo(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return r.call(o,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=tne,e.helpers=ene,e}(),Vn=function(){return Vn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Vn.apply(this,arguments)};function nne(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var eI=_.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=nne(e,["children","scrollableNodeProps"]),a=_.useRef(),c=_.useRef(),u=_.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Yc.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Vn(Vn({},Yc.defaultOptions.classNames),d.classNames),m=Vn(Vn({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Yc.defaultOptions.ariaLabel});return _.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Yc(a.current,Vn(Vn(Vn({},d),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),_.createElement("div",Vn({"data-simplebar":"init",ref:a},h),_.createElement("div",{className:g.wrapper},_.createElement("div",{className:g.heightAutoObserverWrapperEl},_.createElement("div",{className:g.heightAutoObserverEl})),_.createElement("div",{className:g.mask},_.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Vn(Vn({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):_.createElement("div",Vn({},m),_.createElement("div",{className:g.contentEl},n)))),_.createElement("div",{className:g.placeholder})),_.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},_.createElement("div",{className:g.scrollbar})),_.createElement("div",{className:"".concat(g.track," simplebar-vertical")},_.createElement("div",{className:g.scrollbar})))});eI.displayName="SimpleBar";const rne=fe(Tte)({flexGrow:1,height:"100%",overflow:"hidden"}),one=fe(eI)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:tt(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function tI({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(rne,{children:f.jsx(one,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(Ete,{children:f.jsx(A.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function nI(e){const t=A.useTheme(),n=Pr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Yn(),{open:o,handleDrawerToggle:s,width:a}=Vi(),c=r?A.Drawer:iee,u=document.body,d=T.useMemo(()=>r?{container:u,variant:"temporary",onClose:s,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:a,borderRight:`1px solid ${t.palette.divider}`,backgroundImage:"none",boxShadow:"inherit",overflow:"auto"}}}:{variant:"permanent"},[r,u,s,a,t.palette.divider]);return f.jsx(A.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:f.jsxs(c,{...d,open:o,children:[f.jsx(qT,{}),f.jsx(tI,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function x0(e){const{name:t,version:n,copy:r="&copy; Applica Software Guru for"}=e;return f.jsx(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-end",flexGrow:1,height:"auto",sx:{pt:1},children:f.jsxs(A.Typography,{variant:"caption",children:[f.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}const rI=fe(A.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Rn();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}}),oI=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary"},{defaults:!0});return f.jsx(A.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),ine=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary"},{defaults:!0});return f.jsx(Sd,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Js=T.forwardRef(function(t,n){const r=Pr(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return f.jsx(A.ToggleButton,{ref:n,...t,color:"secondary",sx:r})});function iI({onClick:e=void 0}){const{open:t,anchorEl:n,handleClose:r,handleToggle:o}=Ol(),[s,a]=te.useLocaleState(),c=te.useLocales();if(c.length===0)return null;function u(d){if(e){e(d,r);return}a(d),r()}return f.jsxs(f.Fragment,{children:[f.jsx(oI,{value:"locale",onClick:o,sx:{minWidth:"auto"},children:f.jsxs(A.Stack,{direction:"row",spacing:.5,children:[f.jsx(A.Typography,{variant:"body1",children:s.toUpperCase()}),t?f.jsx(qe.CaretUpOutlined,{}):f.jsx(qe.CaretDownOutlined,{})]})}),f.jsx(A.Menu,{id:"menu-appbar",anchorEl:n,keepMounted:!0,open:t,onClose:r,children:c.map((d,h)=>f.jsx(A.MenuItem,{onClick:()=>u(d.locale),children:d.name},h))})]})}const sne={ml:{xs:0,lg:-2}};function sI(){const{open:e,handleDrawerToggle:t}=Vi();return f.jsx(Js,{value:"drawer","aria-label":"open drawer",sx:sne,onChange:t,selected:e,children:e?f.jsx(qe.MenuFoldOutlined,{}):f.jsx(qe.MenuUnfoldOutlined,{})})}function aI(e){const t=T.useRef(),n=A.useTheme(),{downLg:r,horizontal:o}=Yn(),{open:s,width:a}=Vi(),c=r?A.AppBar:rI,d={position:"fixed",color:"inherit",elevation:0,sx:Pr(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}})};return r||Q.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(A.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(sI,{}),e.children]})})}function ane(e){const t=A.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Hd(),c=te.useNotify(),u=te.useRedirect(),[d]=te.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Or().toISOString()}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(u(n==null?void 0:n.resource),r()):(r(),document.location.href=n==null?void 0:n.resource):r()},onFailure:()=>{c("resources.notifications.messages.readed.error","warning")}}),h=T.useCallback(()=>d(),[d]),[g]=te.useLocaleState(),m=T.useMemo(()=>Or(n.created).locale(g).fromNow(),[n,g]);return f.jsx(A.ListItem,{disablePadding:!0,divider:s,children:f.jsxs(A.ListItemButton,{selected:o,onClick:h,children:[f.jsx(A.ListItemAvatar,{children:f.jsx(A.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(qe.MessageOutlined,{})})}),f.jsx(A.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),f.jsx(A.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),f.jsx(A.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:m,primaryTypographyProps:{variant:"caption"}})]})})}const lne={width:36,height:36,fontSize:"1rem"},cne={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function lI(){const{enable:e}=Hd();return e?f.jsx(une,{}):null}function une(){const e=te.useTranslate(),t=A.useTheme(),n=te.useRefresh(),r=te.useNotify(),{downMd:o}=Yn(),{resource:s}=Hd(),[a,c]=T.useState([]),{data:u,isLoading:d}=te.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),h=a.filter(M=>M.readed===null).length,{open:g,anchorEl:m,handleClose:v,handleToggle:b}=Ol();T.useEffect(()=>{!d&&u&&c(u??[])},[u,d]);const x=a.filter(M=>!M.readed).map(M=>M.id),[w]=te.useUpdateMany(s,{ids:x,data:{readed:Or().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),I=T.useCallback(()=>{w()},[w]);return f.jsxs(f.Fragment,{children:[f.jsx(Js,{value:"notifications",selected:g,onChange:b,children:f.jsx(A.Badge,{badgeContent:h,color:"primary",children:f.jsx(qe.BellOutlined,{})})}),f.jsx(A.Popper,{placement:o?"bottom":"bottom-end",open:g,anchorEl:m,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:M})=>f.jsx(ki,{type:"grow",position:o?"top":"top-right",in:g,...M,children:f.jsx(A.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(A.ClickAwayListener,{onClickAway:v,children:f.jsxs(zn,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:f.jsx(f.Fragment,{children:h>0&&f.jsx(A.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:I,children:f.jsx(Sd,{color:"success",size:"small",children:f.jsx(qe.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[f.jsx(A.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":lne,"& .MuiListItemSecondaryAction-root":{...cne,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((E,j)=>f.jsx(ane,{selected:h>0,notification:E,onClick:v,divider:j<a.length-1},E.id))}),f.jsx(A.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:dt.Link,onClick:v,children:f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),f.jsx(A.Divider,{})]})})})})})]})}function dne(){const[e,t]=T.useState(!1),n=T.useCallback(()=>t(!1),[t]),r=T.useCallback(()=>t(!0),[t]),o=te.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsxs(A.ListItemButton,{onClick:r,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.Key,{})}),f.jsx(A.ListItemText,{primary:o("ra.auth.change_password")})]}),f.jsx(A.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(a0,{onSuccess:n})})]})}function fne(){const e=te.useLogout(),t=te.useTranslate();return f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{onClick:e,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.LogoutOutlined,{})}),f.jsx(A.ListItemText,{primary:t("ra.auth.logout")})]})})}function pne(){const e=te.useTranslate(),t=te.useAuthProvider(),n=T.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t]),[r,o]=T.useState(!1);return T.useEffect(()=>{if(!t.isImpersonating){console.warn("The authProvider does not support the isImpersonating feature",t);return}t.isImpersonating().then(s=>o(s))},[t,o]),r?f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{onClick:n,children:[f.jsx(A.ListItemIcon,{children:f.jsx(Un.LogoutOutlined,{})}),f.jsx(A.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function cI(){var m;const e=A.useTheme(),t=te.useDataProvider(),{identity:n}=te.useGetIdentity(),r=n!==void 0&&n.image&&n.image!==null&&n.image!=="",[o,s]=T.useState(null),{open:a,anchorEl:c,handleToggle:u,handleClose:d}=Ol(),h=te.useLogout(),g=T.useCallback(()=>{h()},[h]);return T.useEffect(()=>{r&&t.getFile("/profile/me/image").then(v=>s(v))},[t,r]),f.jsxs(f.Fragment,{children:[f.jsx(Js,{sx:{p:.25,width:"auto"},onClick:u,value:"profile",selected:a,children:f.jsxs(A.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(Iu,{alt:(m=n==null?void 0:n.name)==null?void 0:m.toUpperCase(),src:o,size:"xs"}),f.jsx(A.Typography,{variant:"subtitle1",children:n==null?void 0:n.name})]})}),f.jsx(lS,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var b;return f.jsx(ki,{type:"grow",position:"top-right",in:a,...v,children:f.jsx(A.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(A.ClickAwayListener,{onClickAway:d,children:f.jsxs(zn,{elevation:0,border:!1,content:!1,children:[f.jsx(A.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(A.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(A.Grid,{item:!0,children:f.jsxs(A.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(Iu,{alt:"profile user",src:o,sx:{width:32,height:32}}),f.jsxs(A.Stack,{children:[f.jsx(A.Typography,{variant:"h6",children:n==null?void 0:n.name}),f.jsx(A.Typography,{variant:"body2",color:"textSecondary",children:(b=n==null?void 0:n.roles)==null?void 0:b.map(x=>x.name.replace("ROLE_","")).join(",")})]})]})}),f.jsx(A.Grid,{item:!0,children:f.jsx(A.Tooltip,{title:"Logout",children:f.jsx(Sd,{size:"large",sx:{color:"text.primary"},onClick:g,children:f.jsx(qe.LogoutOutlined,{})})})})]})}),f.jsx(A.Grid,{container:!0,children:f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(dne,{}),f.jsx(fne,{}),f.jsx(pne,{})]})})})]})})})})}})]})}function uI(e){const t=Gt(),{downMd:n}=Yn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ol();return n?f.jsxs(f.Fragment,{children:[f.jsx(Js,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:f.jsx(qe.MoreOutlined,{})}),f.jsx(A.Popper,{placement:"bottom-end",open:r,anchorEl:o,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:c})=>f.jsx(ki,{type:"fade",in:r,...c,children:f.jsx(A.Paper,{sx:{boxShadow:t.customShadows.z1},children:f.jsx(A.ClickAwayListener,{onClickAway:a,children:f.jsx(A.AppBar,{color:"inherit",children:f.jsx(A.Toolbar,{children:e.children})})})})})})]}):f.jsx(f.Fragment,{children:e.children})}function dI(e){return f.jsx(A.Box,{...e,flex:1})}function fI(e){const t=A.useTheme(),n=A.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Rn();return t.shadows[4]=t.customShadows.z1,f.jsx(A.AppBar,{elevation:n?4:0,sx:{top:60,bgcolor:t.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${t.palette.divider}`,borderBottom:`1px solid ${t.palette.divider}`,zIndex:1098,color:t.palette.grey[500]},children:f.jsx(A.Container,{maxWidth:r?"xl":!1,children:f.jsx(A.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function pI(e){const{horizontal:t}=Yn();return t?f.jsx(fI,{children:e.children}):f.jsx(nI,{children:e.children})}function Ha({item:e,level:t}){const n=Gt(),{horizontal:r,downLg:o}=Yn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=rl();let d="_self";e.target&&(d="_blank");const h=(e==null?void 0:e.external)!==!1?{component:T.forwardRef((I,M)=>f.jsx(dt.Link,{...I,to:e.url,target:d,ref:M}))}:{component:"a",href:e.url,target:d},g=e.icon,m=e.icon?f.jsx(g,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,v=a.findIndex(I=>I===e.id)>-1,{pathname:b}=dt.useLocation();T.useEffect(()=>{b.endsWith(e.url)&&c([e.id])},[b]);const x=n.palette.mode==="dark"?"grey.400":"text.primary",w=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:r?f.jsxs(A.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:w,"&:hover":{color:w,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m?f.jsx(A.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}):null,!m&&f.jsx(A.ListItemIcon,{sx:{color:v?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(mm,{size:4,color:v?"primary":"secondary"})}),f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip?f.jsx(A.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(A.Avatar,{children:e.chip.avatar}):null}):null]}):f.jsxs(A.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,pl:s?`${t*28}px`:1.5,py:!s&&t===1?1.25:1,...s&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:w,"&:hover":{color:w,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[m?f.jsx(A.ListItemIcon,{sx:{minWidth:28,color:v?w:x,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&v&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}):null,s||!s&&t!==1?f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",sx:{color:v?w:x},children:e.title})}):null,(s||!s&&t!==1)&&e.chip?f.jsx(A.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(A.Avatar,{children:e.chip.avatar}):null}):null]})})}const yC=fe(A.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}}));function Ga({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a}){var B;const c=Gt(),{activeItem:u}=rl(),{horizontal:d}=Yn(),{drawerOpen:h}=rl(),g=dt.useNavigate(),[m,v]=T.useState(!1),[b,x]=T.useState(null),[w,I]=T.useState(null);function M(ne){I(null),s(t),h?(v(!m),x(b?null:e.id),r(b?"":e.id),e.url&&g(`${e.url}`)):I(ne==null?void 0:ne.currentTarget)}function E(){h||e.url&&g(`${e.url}`)}function j(ne){I(ne==null?void 0:ne.currentTarget)}function P(){v(!1),x(null),I(null)}T.useMemo(()=>{b===o?t===1&&v(!0):t===a&&(v(!1),x(null))},[o,t,b,a]);const{pathname:F}=dt.useLocation(),k=!!w;function $(ne,V){ne.forEach(q=>{q.url===F&&(v(!0),x(V))})}T.useEffect(()=>{v(!1),x(null),k&&I(null),e.children&&e.children.forEach(ne=>{var V;(V=ne.children)!=null&&V.length&&$(ne.children,e.id),ne.url===F&&(x(e.id),v(!0)),F.includes(ne.url)&&(x(e.id),v(!0))})},[F,e.children]),T.useEffect(()=>{e.url===F&&b!==e.id&&(u([e.id]),x(e.id),I(null),v(!0))},[F,e,b,u]);const G=(B=e.children)==null?void 0:B.map(ne=>{switch(ne.type){case"collapse":return f.jsx(Ga,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:ne,level:t+1,parentId:n},ne.id);case"item":return f.jsx(Ha,{item:ne,level:t+1},ne.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},ne.id)}}),J=b===e.id,U=t===1?f.jsx(qe.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ae=e.icon,se=e.icon?f.jsx(ae,{style:{fontSize:h?"1rem":"1.25rem"}}):U,Z=c.palette.mode==="dark"?"grey.400":"text.primary",X=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,W=k?`collapse-pop-${e.id}`:void 0,K={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:d?f.jsx(f.Fragment,{children:f.jsxs(A.ListItemButton,{id:`boundary-${W}`,disableRipple:!0,selected:J,onMouseEnter:j,onMouseLeave:P,onClick:j,"aria-describedby":W,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(A.Box,{onClick:E,sx:K,children:[se?f.jsx(A.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:se}):null,!se&&t!==1&&f.jsx(A.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(mm,{size:4,color:J?"primary":"secondary"})}),f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),k?f.jsx(qe.RightOutlined,{}):f.jsx(qe.DownOutlined,{})]}),w?f.jsx(yC,{id:W,open:k,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:ne})=>f.jsx(ki,{in:k,...ne,children:f.jsx(A.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:f.jsx(A.ClickAwayListener,{onClickAway:P,children:f.jsx(A.Box,{children:G})})})})}):null]})}):f.jsxs(f.Fragment,{children:[f.jsxs(A.ListItemButton,{disableRipple:!0,selected:b===e.id,...!h&&{onMouseEnter:M,onMouseLeave:P},onClick:M,sx:{pl:h?`${t*28}px`:1.5,py:!h&&t===1?1.25:1,...h&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:X,"&:hover":{color:X,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[se?f.jsx(A.ListItemIcon,{onClick:E,sx:{minWidth:28,color:b===e.id?"primary.main":Z,...!h&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!h&&b===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:se}):null,h||!h&&t!==1?f.jsx(A.ListItemText,{primary:f.jsx(A.Typography,{variant:"h6",color:b===e.id?"primary":Z,children:e.title}),secondary:e.caption?f.jsx(A.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?k||m?f.jsx(qe.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):f.jsx(qe.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}}):null,!h&&f.jsx(yC,{open:k,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:ne})=>f.jsx(ki,{in:k,...ne,children:f.jsx(A.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:f.jsx(A.ClickAwayListener,{onClickAway:P,children:f.jsx(A.Box,{children:G})})})})})]}),h?f.jsx(A.Collapse,{in:m,timeout:"auto",unmountOnExit:!0,children:f.jsx(A.List,{sx:{p:0},children:G})}):null]})})}const hne=fe(A.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}}));function hI({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var W,K;const u=Gt(),d=D.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Yn(),v=rl(),{drawerOpen:b,selectedID:x,activeID:w}=v,[I,M]=T.useState(null),[E,j]=T.useState(e),P=!!I;T.useEffect(()=>{if(t)if(e.id===r){const B={...e},ne=n.map(V=>V.elements);B.children=ne.flat(1),j(B)}else j(e)},[e,t,m]);function F(B,ne){B.forEach(V=>{var q;(q=V.children)!=null&&q.length&&F(V.children,E.id),V.url===h&&w(ne)})}function k(B){(B.children?B.children:[]).forEach(V=>{var q;(q=V.children)!=null&&q.length&&F(V.children,E.id),V.url===h&&w(E.id)})}T.useEffect(()=>{k(E),P&&M(null)},[h,E]);function $(B){P||M(B==null?void 0:B.currentTarget)}function G(){M(null)}const J=E==null?void 0:E.icon,U=E!=null&&E.icon?f.jsx(J,{style:{fontSize:20,stroke:"1.5",color:x===E.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ae=(W=e.children)==null?void 0:W.map(B=>{switch(B.type){case"collapse":return f.jsx(Ga,{menu:B,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:E.id},B.id);case"item":return f.jsx(Ha,{item:B,level:1},B.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},B.id)}}),se=n.map((B,ne)=>{var V;return f.jsxs(T.Fragment,{children:[B.title?f.jsx(A.Typography,{variant:"caption",sx:{pl:2},children:B.title}):null,(V=B==null?void 0:B.elements)==null?void 0:V.map(q=>{switch(q.type){case"collapse":return f.jsx(Ga,{menu:q,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},q.id);case"item":return f.jsx(Ha,{item:q,level:1},q.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},q.id)}})]},ne)}),Z=(K=E.children)==null?void 0:K.map(B=>{switch(B.type){case"collapse":return f.jsx(Ga,{menu:B,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},B.id);case"item":return f.jsx(Ha,{item:B,level:1},B.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},B.id)}}),X=P?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:g?f.jsx(A.List,{children:f.jsxs(A.ListItemButton,{selected:x===E.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:$,onClick:$,onMouseLeave:G,"aria-describedby":X,children:[U?f.jsx(A.ListItemIcon,{sx:{minWidth:28},children:E.id===r?f.jsx(qe.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):U}):null,f.jsx(A.ListItemText,{sx:{mr:1},primary:f.jsx(A.Typography,{variant:"body1",color:x===E.id?u.palette.primary.main:u.palette.secondary.dark,children:E.id===r?d("ra.actions.more"):E.title})}),P?f.jsx(qe.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(qe.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),I?f.jsx(hne,{id:X,open:P,anchorEl:I,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:B})=>f.jsx(ki,{in:P,...B,children:f.jsx(A.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(A.ClickAwayListener,{onClickAway:G,children:f.jsx(A.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:u.palette.divider,borderRadius:4}},children:E.id!==r?Z:se})})})})}):null]})}):f.jsx(A.List,{subheader:e.title&&b?f.jsxs(A.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(A.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption?f.jsx(A.Typography,{variant:"caption",color:"secondary",children:e.caption}):null]}):null,sx:{mt:b&&e.title?1.5:0,py:0,zIndex:0},children:ae})})}function gI(e){const{horizontal:t}=Yn(),{open:n}=Vi(),r=Pr(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return f.jsx(A.Box,{sx:r,children:e.children})}function mI(e){const{horizontal:t}=Yn(),{menu:n,isLoading:r}=Ym(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=Rn(),d=t?u:void 0;let h=r?0:(n??[]).length-1,g=[],m;return!r&&d&&d<(n??[]).length&&(m=(n??[])[d-1].id,h=d-1,g=(n??[]).slice(d-1,(n??[]).length).map(v=>({title:v.title,elements:v.children,icon:v.icon}))),f.jsx(gI,{...e,children:!r&&Q.map((n??[]).slice(0,h+1),v=>{const{type:b}=v;switch(b){case"group":return f.jsx(hI,{item:v,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:d,remItems:g,lastItemId:m},v.id);default:return f.jsx(A.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},v.id)}})})}function vI(){const{mode:e,setMode:t}=Rn();return f.jsx(Js,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?f.jsx(qe.SunOutlined,{}):f.jsx(qe.MoonOutlined,{})})}const yI=T.forwardRef((e,t)=>{const n=Pr(e,{display:"flex",width:"100%"});return f.jsx(A.Box,{ref:t,...e,sx:n,children:e.children})});function C0({source:e="paper"}){const{mode:t}=Rn(),n=A.useTheme();return T.useEffect(()=>{var o;const r=Q.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const bI=$T(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=w2();return f.jsxs(yI,{children:[f.jsxs(aI,{children:[f.jsx(dI,{}),a?f.jsx(iI,{}):null,o?f.jsx(vI,{}):null,f.jsx(C0,{}),f.jsx(YS,{}),s?f.jsx(lI,{}):null,f.jsx(uI,{children:f.jsx(cI,{})})]}),f.jsx(pI,{children:f.jsx(mI,{})}),f.jsxs(UT,{error:t.error,children:[!c&&f.jsx(ZA,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(dt.Outlet,{}),f.jsx(x0,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),gne=fe("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function xI(){return f.jsx(gne,{children:f.jsx(A.LinearProgress,{color:"primary"})})}function mne(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(xI,{}),children:f.jsx(e,{...t})})}function w0({title:e}){return f.jsxs(A.Stack,{direction:"row",children:[f.jsx(A.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(A.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]})}const vne=fe(D.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function CI(e){return f.jsx(vne,{...e})}var il=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(il||{});const wI=ao().required(),AI=ao().oneOf(Object.values(il));function yne(e){var I;const t=Ss.useQueryClient(),[n,r]=T.useState(!1),[o,s]=T.useState(()=>()=>Promise.resolve()),a=te.useGetIdentity(),c=(I=a==null?void 0:a.data)==null?void 0:I.email,u=te.useDataProvider(),d=T.useCallback(()=>c?u.get("onboarding").then(M=>{var E;return(E=M==null?void 0:M.data)==null?void 0:E.value}):Promise.reject(),[u,c]),{data:h,isLoading:g,isError:m}=Ss.useQuery({queryKey:["GET","onboarding",c],queryFn:d,staleTime:24*60*60*1e3,retry:c!==void 0}),[v,b]=T.useState(()=>()=>Promise.resolve()),w=Ss.useMutation({mutationFn:v}).mutateAsync;return T.useEffect(()=>{function M(){const E=Q.chain(h??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",E).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}b(()=>M)},[u,h,e,t,c]),T.useEffect(()=>{r(Q.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function bne(e){const[t,n]=n0("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o(Q.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>Q.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function xne(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function SI(e,t){e0({mode:AI,topic:wI}).validateSync({mode:e,topic:t});const n=yne(t),r=bne(t),o=xne();switch(e){case il.USER:return n.loading?o:n.error?r:Q.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case il.BROWSER:return r;default:return o}}var Ps=(e=>(e.RESTART="RESTART",e.SET_SHOW="SET_SHOW",e.REGISTER_TIP="REGISTER_TIP",e.UNREGISTER_TIP="UNREGISTER_TIP",e.DISMISS_TIP="DISMISS_TIP",e.SET_ON_COMPLETE="SET_ON_COMPLETE",e))(Ps||{});function Cne(e,t){var o;const n=Q.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return Q.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=Q.chain(n.tips).clone().reject(h=>h.id===a).value(),u=Q.find(n.tips,{id:a}),d=Q.chain(u??{}).clone().extend(s).value();return c.push(d),Q.extend(n,{tips:Q.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=Q.isString(s)?s:s.id,c=Q.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return Q.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=Q.isString(s)?s:s.id,c=Q.chain(n.tips).reject(m=>m.id===a).value(),u=Q.find(n.tips,{id:a});if(Q.isNil(u))return n;const d=Q.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=Q.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&Q.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),Q.extend(n,{tips:Q.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return Q.extend(n,{onComplete:s})}case"RESTART":{const s=Q.chain(n.tips).clone().map(a=>Q.omit(a,"dismissed")).value();return Q.extend(n,{tips:s,currentStep:0})}default:return n}}const A0=T.createContext(void 0);function wne(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=SI(t,n),[s,a]=T.useReducer(Cne,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),T.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),f.jsx(A0.Provider,{value:c,children:e.children})}function TI(){const e=T.useContext(A0);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function Ane(){return TI().state}function EI(){return TI().dispatch}function II(e){e0({id:ao().required(),step:k2().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=Ane(),c=Q.find(s,{id:t}),{dismissed:u}=c??{},d=EI(),h=T.useCallback(()=>{d({type:Ps.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{(Q.isNil(c)||n!==(c==null?void 0:c.step))&&d({type:Ps.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c,d]),T.useEffect(()=>()=>{d({type:Ps.UNREGISTER_TIP,payload:t})},[t,d]),{tip:Q.chain(c??e).clone().extend({open:o&&!Q.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function Sne(){const e=EI();return T.useCallback(()=>{e({type:Ps.RESTART})},[e])}function Tne(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=II({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=Q.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(Pd,{...u,arrow:!0,open:c,title:f.jsxs(A.Stack,{gap:1,children:[f.jsx(A.Typography,{children:r}),f.jsx(A.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const Ene=A.styled(Tne)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${A.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${A.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${A.tooltipClasses.arrow}`]:{color:r.main}}});function OI({children:e}){const t=dt.useLocation(),{pathname:n}=t;return T.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const Ine=fe("div")({width:"100%",overflowX:"auto",display:"block"});function One({shadow:e,children:t,...n}){return f.jsx(zn,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function PI({title:e}){return f.jsx(A.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const Pne="RaButton";function jne(e){if(e==null)return;if(typeof e=="string")return{to:e};const{redirect:t,replace:n,state:r,...o}=e;return{to:o,redirect:t,replace:n,state:r}}const Rne=fe(A.Button,{name:Pne,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function qd(e){const{disableIconOnly:t=!1,label:n,children:r,className:o,color:s,size:a,disabled:c,alignIcon:u,to:d,...h}=e,g=D.useTranslate(),m=jne(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(Rne,{className:o,color:s,size:a,"aria-label":v,disabled:c,startIcon:u==="left"&&r?r:void 0,endIcon:u==="right"&&r?r:void 0,...m,...h,children:v})}return f.jsx(D.Button,{...e})}function S0(e,t){const n=t.id;if(!e)return[t];const r=e.findIndex(o=>o.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]}function Mne(e,t){return e&&e.data?{data:S0(e.data,t),total:e.total+1}:e}function kne(e,t){return e&&e.length>0?S0(e,t):e}function Fne(e,t){return e&&e.data?{...e,data:S0(e.data,t),total:e.total+1}:e}function Dne(e){const{disableFloatingButton:t,label:n="ra.action.create",startIcon:r=f.jsx(qe.PlusCircleOutlined,{}),...o}=e,s=T.useCallback(a=>{var c;a.preventDefault(),(c=e==null?void 0:e.onClick)==null||c.call(e)},[e]);return t?f.jsx(qd,{...o,onClick:s,label:n,children:r}):f.jsx(vY,{...e,onClick:s,label:n,children:r})}function Lne(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=En.useFormContext(),o=te.useTranslate(),s=T.useCallback(a=>{a.preventDefault(),a.stopPropagation(),r(c=>t(c,n))()},[r,t,n]);return f.jsx(A.Button,{onClick:s,color:"primary",variant:"contained",size:"medium",children:o("ra.action.save")})}function _ne(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,onSubmit:s,mutationOptions:a,scroll:c="body",...u}=e,d=Ss.useQueryClient(),h=te.useResourceContext(),g=te.useTranslate(),m=T.Children.only(t),[v,b]=T.useState(!1),x=te.useNotify(),w=T.useCallback(()=>b(!0),[]),I=T.useCallback(()=>b(!1),[]),M=T.useCallback((E,j,P)=>{var $,G;const k=Date.now();d.setQueryData([h,"getOne",{id:E.id}],E),d.setQueriesData([h,"getList"],J=>Fne(J,E),{updatedAt:k}),d.setQueriesData([h,"getMany"],J=>kne(J,E),{updatedAt:k}),d.setQueriesData([h,"getManyReference"],J=>Mne(J,E),{updatedAt:k}),I(),x("ra.notification.created",{messageArgs:{smart_count:1}}),(G=($=e==null?void 0:e.mutationOptions)==null?void 0:$.onSuccess)==null||G.call($,E,j,P)},[I,x,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(Dne,{...u,onClick:w}),f.jsx(A.Dialog,{open:v,scroll:c,onClose:I,maxWidth:n,fullWidth:r,fullScreen:o,children:f.jsx(A.DialogContent,{sx:{m:0,p:0},children:f.jsx(te.CreateBase,{...e,mutationOptions:{...a,onSuccess:M},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Xo,{children:[f.jsx(A.Button,{variant:"text",size:"medium",onClick:I,children:g("ra.action.cancel")}),s?f.jsx(Lne,{onSubmit:s,closeDialog:I}):f.jsx(Hm,{type:"button"})]})}):null})})})]})}function Bne(e){const t=T.useCallback(n=>{var r;n.preventDefault(),n.stopPropagation(),(r=e==null?void 0:e.onClick)==null||r.call(e)},[e]);return f.jsx(JS,{...e,onClick:t})}function Nne(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=En.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(qd,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function Vne(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,mutationOptions:s,onSubmit:a,scroll:c="body",...u}=e,d=te.useNotify(),[h,g]=T.useState(!1),m=T.Children.only(t),v=T.useCallback(()=>g(!0),[]),b=T.useCallback(()=>g(!1),[]),x=T.useCallback((I,M,E)=>{var j,P;b(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(j=e==null?void 0:e.mutationOptions)==null?void 0:j.onSuccess)==null||P.call(j,I,M,E)},[b,d,e.mutationOptions,e.mutationMode]),w=te.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(Bne,{...u,onClick:v}),f.jsx(A.Dialog,{open:h,scroll:c,onClose:b,fullWidth:r,maxWidth:n,fullScreen:o,keepMounted:!1,children:f.jsx(A.DialogContent,{sx:{m:0,p:0},children:f.jsx(te.EditBase,{...e,id:w.id,mutationMode:"pessimistic",mutationOptions:{...s,onSuccess:x},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Xo,{children:[f.jsx(qd,{disableIconOnly:!0,variant:"text",size:"medium",onClick:b,label:"ra.action.cancel"}),a?f.jsx(Nne,{onSubmit:a,closeDialog:b}):f.jsx(Hm,{type:"button"})]})}):null})})})]})}function Wne({label:e="ra.auth.sign_in",...t}){const n=D.useRecordContext(),[r,o]=T.useState(!1),s=D.useAuthProvider(),a=T.useCallback(c=>{c.stopPropagation(),c.preventDefault(),o(!0),s.impersonate(n==null?void 0:n.id).then(()=>{o(!1),document.location.href="/"})},[s,n==null?void 0:n.id]);return f.jsx(D.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:f.jsx(Un.VpnKey,{})})}function $ne({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:d,buttonProps:h,...g}){const{getCurrentDialog:m}=s0(),v=te.useResourceContext(g),b=m(),x=te.useRecordContext(),w=r||x,I=ct.get(w,e||"");return f.jsxs(A.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:M=>({pt:1,pb:1,borderBottom:`1px solid ${M.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[f.jsxs(A.Stack,{direction:"row",alignItems:"start",children:[c?T.isValidElement(c)?T.cloneElement(c,{style:Kc}):T.createElement(c,{style:Kc}):null,f.jsx(te.FieldTitle,{label:t,source:e,resource:b||v})]}),f.jsxs(A.Stack,{direction:"row",alignItems:"center",children:[a?T.isValidElement(a)?T.cloneElement(a,{record:w,resource:v,value:I}):T.createElement(a,{source:e,record:w,resource:v,value:I}):f.jsx(A.Typography,{variant:n,children:I}),u?T.isValidElement(u)?T.cloneElement(u,{style:Kc}):T.createElement(u,{style:Kc}):null,d?f.jsx(A.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const Kc={width:"1.5rem",alignSelf:"center"};function jI(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=te.useListContext(e),d=te.useTranslate(),h=T.useCallback(()=>{u()},[u]);return f.jsx(zne,{className:r,children:f.jsxs(A.Toolbar,{"data-test":"bulk-actions-toolbar",className:lt(Tr.toolbar,{[Tr.collapsed]:c.length===0}),...te.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Tr.title,children:[f.jsx(A.IconButton,{className:Tr.icon,"aria-label":d("ra.action.unselect"),title:d("ra.action.unselect"),onClick:h,size:"small",children:f.jsx(Un.Close,{fontSize:"small"})}),f.jsx(A.Typography,{color:"inherit",variant:"subtitle1",children:d(t,{_:t,smart_count:c.length})})]}),f.jsx(D.TopToolbar,{className:Tr.topToolbar,children:T.Children.map(n,g=>T.isValidElement(g)?T.cloneElement(g,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const xi="RaBulkActionsToolbar",Tr={toolbar:`${xi}-toolbar`,topToolbar:`${xi}-topToolbar`,buttons:`${xi}-buttons`,collapsed:`${xi}-collapsed`,title:`${xi}-title`,icon:`${xi}-icon`},zne=fe("div",{name:xi,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Tr.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?Th(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${Tr.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Tr.buttons}`]:{},[`& .${Tr.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Tr.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Tr.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Jp={p:0,m:0},bC={p:2,m:0,borderRadius:0,width:"100%"};function Une(e){const{children:t}=e,[n,r]=_.useState(null);function o(b){r(b.currentTarget)}function s(){r(null)}const a=A.useMediaQuery(b=>b.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:d=[],onUnselectItems:h}=D.useListContext(e),g=!!n&&d!==void 0&&d.length>0,m=g?"simple-popover":void 0,v=_.useCallback(()=>{h(),r(null)},[h,r]);return f.jsx(A.Fade,{in:d!==void 0&&d.length>0,children:f.jsxs(A.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(A.Fab,{color:"primary","aria-label":"manage",onClick:o,children:d==null?void 0:d.length}),f.jsx(A.Popover,{id:m,open:g,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(A.List,{sx:Jp,children:[f.jsx(A.ListItem,{sx:Jp,children:f.jsx(D.Button,{onClick:v,sx:bC,label:"ra.action.unselect",startIcon:f.jsx(zh,{}),children:f.jsx(zh,{})})}),_.Children.map(t,b=>{var x;return f.jsx(A.ListItem,{sx:Jp,children:_.isValidElement(b)?_.cloneElement(b,{filterValues:c,resource:u,selectedIds:d,sx:bC,...(x=b.props)!=null&&x.popover?{closePopover:s}:{}}):null})})]})})]})})}const RI=T.createContext({});RI.displayName="DatagridContext";function Hne({children:e,value:t}){return f.jsx(RI.Provider,{value:t,children:e})}const xC=f.jsx(D.BulkDeleteButton,{}),MI=_.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?D.PureDatagridBody:D.DatagridBody,header:o=D.DatagridHeader,children:s,className:a,empty:c=Yne,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=xC,hover:g,isRowSelectable:m,isRowExpandable:v,resource:b,rowClick:x,rowSx:w,rowStyle:I,size:M="small",sx:E,expandSingle:j=!1,...P}=e,{sort:F,data:k,isLoading:$,onSelect:G,onToggleItem:J,selectedIds:U,setSort:ae,total:se}=te.useListContext(e),Z=!!h,X=T.useMemo(()=>({isRowExpandable:v,expandSingle:j}),[v,j]),W=T.useRef(null);T.useEffect(()=>{(!U||U.length===0)&&(W.current=null)},[JSON.stringify(U)]);const K=T.useCallback((B,ne)=>{const V=k.map(ue=>ue.id),q=V.indexOf(W.current);if(W.current=ne.target.checked?B:null,ne.shiftKey&&q!==-1){const ue=V.indexOf(B),pe=V.slice(Math.min(q,ue),Math.max(q,ue)+1),de=ne.target.checked?EX(U,pe):WX(U,pe);G(m?de.filter(he=>m(k.find(me=>me.id===he))):de)}else J(B)},[k,m,G,J,U]);return $===!0?f.jsx(D.DatagridLoading,{className:a,expand:u,hasBulkActions:Z,nbChildren:_.Children.count(s),size:M}):k==null||k.length===0||se===0?c||null:f.jsx(Hne,{value:X,children:f.jsxs(D.DatagridRoot,{sx:E,className:lt(D.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:U,total:se}):h!==!1?f.jsx(jI,{children:T.isValidElement(h)?h:xC}):null,f.jsx("div",{className:D.DatagridClasses.tableWrapper,children:f.jsxs(A.Table,{ref:t,className:D.DatagridClasses.table,size:M,...qne(P),children:[CC(o,{children:s,sort:F,data:k,hasExpand:!!u,hasBulkActions:Z,isRowSelectable:m,onSelect:G,resource:b,selectedIds:U,setSort:ae},s),CC(r,{expand:u,rowClick:x,data:k,hasBulkActions:Z,hover:g,onToggleItem:K,resource:b,rowSx:w,rowStyle:I,selectedIds:U,isRowSelectable:m},s)]})})]})})});function CC(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const Gne=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function qne(e){return Object.keys(te.sanitizeListRestProps(e)).filter(t=>!Gne.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}MI.displayName="Datagrid";const Yne=f.jsx(D.ListNoResults,{}),Kne=fe(MI,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function Xne(e){return f.jsx(Kne,{...e})}const Zne=fe("div")(({theme:e})=>({padding:e.spacing(2)}));function Qne({actions:e,className:t,...n}){const{hasCreate:r}=te.useResourceDefinition(n),o=te.useResourceContext(n),s=te.useTranslate(),a=te.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),d=s("ra.page.invite");return f.jsxs(Jne,{className:t,children:[f.jsxs("div",{className:Pi.message,children:[f.jsx(Un.Inbox,{className:Pi.icon}),f.jsx(A.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r?f.jsx(A.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:d})}):null]}),f.jsx(Zne,{className:Pi.toolbar,children:e})]})}const fu="ApplicaEmpty",Pi={message:`${fu}-message`,icon:`${fu}-icon`,toolbar:`${fu}-toolbar`},Jne=fe("span",{name:fu,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${Pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${Pi.icon}`]:{width:"9em",height:"9em"},[`& .${Pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),ere=f.jsx(D.ListActions,{}),tre=f.jsx(D.Pagination,{}),nre=f.jsx(D.Empty,{}),rre=A.Card;function ore(e){const{actions:t=ere,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=tre,children:u,className:d,component:h=rre,title:g,empty:m=nre,...v}=e,{defaultTitle:b,data:x,error:w,isLoading:I,filterValues:M,resource:E}=te.useListContext(e);if(!u||!x&&I&&s)return null;function j(){return f.jsxs("div",{className:_o.main,children:[r||t?f.jsx(D.ListToolbar,{className:_o.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:_o.content,children:o&&u&&_.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(qm,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:_o.noResults,hasCreate:a})}const F=!I&&(x==null?void 0:x.length)===0&&!Object.keys(M).length&&m!==!1;return f.jsxs(ire,{className:lt("list-page",d),...v,children:[f.jsx(D.Title,{title:g,defaultTitle:b,preferenceKey:`${E}.list.title`}),F?P():j(),n]})}const Fa="RaList",_o={main:`${Fa}-main`,content:`${Fa}-content`,actions:`${Fa}-actions`,noResults:`${Fa}-noResults`},ire=fe("div",{name:Fa,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${_o.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${_o.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${_o.actions}`]:{},[`& .${_o.noResults}`]:{}})),kI=T.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:s="small",className:a,...c}=e,u=te.useTranslate(),d=Math.ceil(r/n)||1;if(d===1)return f.jsx(wC,{className:a});function h(g,m,v){return g==="page"?v?u("ra.navigation.current_page",{page:m,_:`page ${m}`}):u("ra.navigation.page",{page:m,_:`Go to page ${m}`}):u(`ra.navigation.${g}`,{_:`Go to ${g} page`})}return f.jsx(wC,{className:a,children:f.jsx(A.Pagination,{size:s,count:d,page:t+1,onChange:(g,m)=>o(g,m-1),...are(c),getItemAriaLabel:h})})});kI.propTypes={count:C.number.isRequired,onPageChange:C.func.isRequired,page:C.number.isRequired,rowsPerPage:C.number.isRequired,color:C.oneOf(["primary","secondary","standard"]),size:C.oneOf(["small","medium","large"])};const sre="RaPaginationActions",wC=fe("div",{name:sre,overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function are({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const FI=T.memo(e=>{const{rowsPerPageOptions:t=lre,actions:n,limit:r=null,...o}=e,{isLoading:s,hasNextPage:a,page:c,perPage:u,total:d,setPage:h,setPerPage:g}=te.useListPaginationContext(e),m=te.useTranslate(),v=A.useMediaQuery(k=>k.breakpoints.down("md")),[b,x]=T.useState(0),w=T.useMemo(()=>d!=null?Math.ceil(d/u):void 0,[u,d]),I=T.useCallback(ct.debounce(k=>{h(k+1)},500),[h]),M=T.useCallback((k,$)=>{var U,ae;if(!k)return;if(k.preventDefault(),$<0||w!==void 0&&$>w-1)throw new Error(m("ra.navigation.page_out_of_boundaries",{page:$+1}));const G=(((U=k.target.dataset)==null?void 0:U.testid)||((ae=k.target.classList)==null?void 0:ae.value))??"",J=G.includes("MuiPaginationItem-previousNext")||G.includes("NavigateBeforeIcon")||G.includes("NavigateNextIcon")||G.includes("KeyboardArrowLeftIcon")||G.includes("KeyboardArrowRightIcon");x($),J?I($):h($+1)},[I,h,m,w]),E=T.useCallback(k=>{g(Number(k.target.value))},[g]),j=T.useCallback(({from:k,to:$,count:G})=>G===-1&&a?m("ra.navigation.partial_page_range_info",{offsetBegin:k,offsetEnd:$,_:"%{from}-%{to} of more than %{to}"}):m("ra.navigation.page_range_info",{offsetBegin:k,offsetEnd:$,total:G===-1?$:G,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[m,a]),P=T.useCallback(k=>m(`ra.navigation.${k}`,{_:`Go to ${k} page`}),[m]);if(s)return f.jsx(A.Toolbar,{variant:"dense"});if(d===0||c<1||w!==void 0&&c>w)return r!=null&&process.env.NODE_ENV==="development"&&console.warn("The Pagination limit prop is deprecated. Empty state should be handled by the component displaying data (Datagrid, SimpleList)."),null;if(v)return f.jsx(A.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:M,rowsPerPageOptions:cre,component:"span",labelDisplayedRows:j,...te.sanitizeListRestProps(o)});const F=n||(!s&&d!=null?kI:void 0);return f.jsx(A.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:M,onRowsPerPageChange:E,ActionsComponent:F,nextIconButtonProps:{disabled:!a},component:"span",labelRowsPerPage:m("ra.navigation.page_rows_per_page"),labelDisplayedRows:j,getItemAriaLabel:P,rowsPerPageOptions:t,...te.sanitizeListRestProps(o)})});FI.propTypes={actions:te.ComponentPropType,limit:C.element,rowsPerPageOptions:C.arrayOf(C.oneOfType([C.number,C.shape({label:C.string.isRequired,value:C.number.isRequired})]))};const lre=[5,10,25,50],cre=[];function ure({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=dre,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:d,storeKey:h,...g}){return f.jsx(te.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:d,storeKey:h,children:f.jsx(ore,{...g})})}const dre={},fre=wl(ure,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",padding:e.spacing(2.5),"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiInputLabel-root":{paddingTop:0},"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function pre(e){return f.jsx(zn,{content:!1,children:f.jsx(fre,{...e,pagination:f.jsx(FI,{})})})}function hre(){const e=D.useRefresh(),t=D.useNotify(),n=D.useResourceContext(),r=D.useUnselectAll(n),{selectedIds:o,data:s}=D.useListContext(),a=D.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)),[u,{isLoading:d}]=D.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Or().toISOString()},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(D.Button,{label:"ra.notification.mark_as_readed",disabled:d||(a==null?void 0:a.readed)!==null,onClick:h,children:f.jsx(Un.Email,{})})}function gre(){const e=D.useRefresh(),t=D.useNotify(),n=D.useResourceContext(),r=D.useUnselectAll(n),{selectedIds:o,data:s}=D.useListContext(),a=D.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)).concat([a]),[u,{isLoading:d}]=D.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:null},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(D.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:d||a&&!(a!=null&&a.readed),onClick:h,children:f.jsx(Un.Drafts,{})})}function mre(e){const t=D.useRecordContext(e),n=D.useResourceContext(e),r=D.useRedirect(),o=D.useNotify(),s=D.useTranslate(),[a]=D.useLocaleState(),c=T.useMemo(()=>t!=null&&t.readed?Or(t==null?void 0:t.readed).locale(a).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,a]),[u]=D.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Or().toISOString()}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),d=T.useCallback(()=>u(),[u]);return f.jsxs("div",{onClick:d,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(A.Typography,{variant:"subtitle1",children:f.jsxs(A.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(A.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),c?f.jsx(A.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})}):null]})}function vre({...e}){const t=A.useTheme(),{mode:n,colorize:r,density:o}=T.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?A.darken:A.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function s(a){return{backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(D.Datagrid,{...e,rowSx:s,children:[f.jsx(mre,{source:"notification",sortable:!1}),f.jsx(tT,{source:"created"}),f.jsxs(Uo,{children:[f.jsx(hre,{}),f.jsx(gre,{})]})]})}const yre=fe(D.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function bre({children:e}){const t=Gt();return f.jsx(zn,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,border:!1,boxShadow:!0,shadow:t.customShadows.z1,children:f.jsx(A.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})}function Yd({version:e,name:t,copy:n,children:r,logo:o,background:s=jd,footer:a=!0}){return f.jsxs(A.Box,{children:[f.jsx(C0,{source:"default"}),T.isValidElement(s)?s:T.createElement(s),f.jsxs(A.Grid,{container:!0,direction:"column",justifyContent:"flex-end",children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{ml:3},children:o||f.jsx(w0,{title:t})}),f.jsxs(A.Grid,{item:!0,xs:12,children:[f.jsx(A.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:f.jsx(A.Grid,{item:!0,children:f.jsx(bre,{children:r})})}),a?f.jsx(A.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(x0,{name:t,copy:n,version:e})}):null]})]})]})}function xre({name:e,copy:t,logo:n,version:r,background:o}){const s=te.useTranslate(),a=te.useAuthProvider(),c=te.useNotify(),u=dt.useNavigate(),{token:d}=dt.useParams();return T.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(d).then(()=>{c("ra.auth.activate_success",{type:"info"}),Q.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),Q.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(Yd,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:s("ra.auth.activate")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})}function DI(){const e=T.useCallback(()=>location.reload(),[]);return f.jsx(A.Container,{children:f.jsxs(A.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[f.jsx("img",{alt:"Error",src:vS,style:{width:"100%",maxWidth:450}}),f.jsx(A.Typography,{variant:"h2",children:"Ops! An error occurred..."}),f.jsx(A.Typography,{children:"We're fixing the problem. Please try again later."}),f.jsx(A.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}function LI({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=f.jsx(jd,{})}){const[u,d]=te.useSafeSetState(!1),h=te.useLogin(),g=te.useTranslate(),m=te.useNotify(),v=te.useCheckAuth(),b=dt.useNavigate();T.useEffect(()=>{v({},!1).then(()=>{b("/")}).catch(()=>{})},[v,b]);function x(w){d(!0),h(w,a).then(()=>{d(!1)}).catch(I=>{d(!1),m(typeof I=="string"?I:typeof I>"u"||!I.message?"ra.auth.sign_in_error":I.message,{type:"error",messageArgs:{_:typeof I=="string"?I:I&&I.message?I.message:void 0}})})}return f.jsx(Yd,{name:t,version:e,copy:n,logo:r,background:c,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:"Login"}),s?f.jsx(A.Typography,{component:dt.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")}):null]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(te.Form,{onSubmit:x,children:[f.jsxs(A.Grid,{container:!0,children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Er,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:te.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Er,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:te.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),o?f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(A.Link,{variant:"h6",component:dt.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}):null,f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?f.jsx(A.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})}function Cre({name:e,copy:t,logo:n,version:r,background:o}){const[s,a]=T.useState(!1),c=te.useTranslate(),u=te.useRedirect(),d=te.useNotify(),h=te.useAuthProvider();function g({email:m}){a(!0),h.recover(m).then(v=>{const b=`ra.auth.recover_${v.responseCode}`,x=v.responseCode==="ok"?"info":"error";d(b,{type:x}),u("/login")}).catch(v=>{d((v==null?void 0:v.message)||(v==null?void 0:v.toString()),{type:"error"})}).finally(()=>a(!1))}return f.jsx(Yd,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(D.Form,{onSubmit:g,children:[f.jsx(A.Grid,{container:!0,children:f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"email",validate:[te.required(),te.email()]})})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(A.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(A.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})}function wre({name:e,copy:t,version:n,logo:r,background:o}){const[s,a]=T.useState(!1),c=te.useTranslate(),u=te.useRedirect(),d=te.useNotify(),h=te.useAuthProvider();function g(m){a(!0),h.register(m).then(v=>{const b=`ra.auth.register_${v.responseCode}`,x=v.responseCode==="ok"?"info":"error";d(b,{type:x}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(Yd,{name:e,copy:t,logo:r,background:o,version:n,children:f.jsxs(A.Grid,{container:!0,spacing:3,children:[f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(A.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(A.Typography,{variant:"h3",children:c("ra.auth.register.title")}),f.jsx(A.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),f.jsx(A.Grid,{item:!0,xs:12,children:f.jsxs(D.Form,{onSubmit:g,children:[f.jsxs(A.Grid,{container:!0,children:[f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"name",label:c("ra.register.name"),validate:te.required()})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"email",type:"email",validate:[te.required(),te.email()]})}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Er,{source:"password",type:"password",validate:te.required()})})]}),f.jsx(A.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(A.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(A.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})}function Are(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function Sre(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function Tre(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(qe.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function fi({color:e,theme:t}){const n=Qt(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:tt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function Ere(e){const t=fi({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":fi({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":fi({color:"secondary",theme:e}),"&.MuiAlert-borderError":fi({color:"error",theme:e}),"&.MuiAlert-borderSuccess":fi({color:"success",theme:e}),"&.MuiAlert-borderInfo":fi({color:"info",theme:e}),"&.MuiAlert-borderWarning":fi({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function Ire(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function Ore(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function pi({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function Pre(e){const t=pi({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":pi({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":pi({color:"secondary",theme:e}),"&.MuiBadge-colorError":pi({color:"error",theme:e}),"&.MuiBadge-colorInfo":pi({color:"info",theme:e}),"&.MuiBadge-colorSuccess":pi({color:"success",theme:e}),"&.MuiBadge-colorWarning":pi({color:"warning",theme:e})}}}}}function Ze({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,d=zs(n,u),h={"&::after":{boxShadow:`0 0 5px 5px ${tt(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...h};case"shadow":return{color:c,backgroundColor:s,boxShadow:d,"&:hover":{boxShadow:"none",backgroundColor:a},...h};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...h};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...h};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...h}}}function jre(e){const t=Ze({variant:"dashed",color:"primary",theme:e}),n=Ze({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},o={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...o},startIcon:{...o},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":Ze({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Ze({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Ze({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Ze({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Ze({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Ze({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":Ze({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Ze({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Ze({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Ze({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Ze({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Ze({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:Ze({variant:"contained",color:"primary",theme:e}),containedSecondary:Ze({variant:"contained",color:"secondary",theme:e}),containedError:Ze({variant:"contained",color:"error",theme:e}),containedSuccess:Ze({variant:"contained",color:"success",theme:e}),containedInfo:Ze({variant:"contained",color:"info",theme:e}),containedWarning:Ze({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Ze({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Ze({variant:"outlined",color:"secondary",theme:e}),outlinedError:Ze({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Ze({variant:"outlined",color:"success",theme:e}),outlinedInfo:Ze({variant:"outlined",color:"info",theme:e}),outlinedWarning:Ze({variant:"outlined",color:"warning",theme:e}),textPrimary:Ze({variant:"text",color:"primary",theme:e}),textSecondary:Ze({variant:"text",color:"secondary",theme:e}),textError:Ze({variant:"text",color:"error",theme:e}),textSuccess:Ze({variant:"text",color:"success",theme:e}),textInfo:Ze({variant:"text",color:"info",theme:e}),textWarning:Ze({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function Rre(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function Mre(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function kre(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function Fre(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function ls({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o,dark:s}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:o}},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function Dre(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function eh(e){const t=Dre(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function Lre(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(qe.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(qe.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...eh("small")},"&.size-medium":{...eh("medium")},"&.size-large":{...eh("large")}},colorPrimary:ls({color:"primary",theme:e}),colorSecondary:ls({color:"secondary",theme:e}),colorSuccess:ls({color:"success",theme:e}),colorWarning:ls({color:"warning",theme:e}),colorInfo:ls({color:"info",theme:e}),colorError:ls({color:"error",theme:e})}}}}function cs({color:e,theme:t}){const n=Qt(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function Nn({color:e,theme:t}){const n=Qt(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function _re(e){const t=Nn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":cs({color:"primary",theme:e}),"&.MuiChip-colorSecondary":cs({color:"secondary",theme:e}),"&.MuiChip-colorError":cs({color:"error",theme:e}),"&.MuiChip-colorInfo":cs({color:"info",theme:e}),"&.MuiChip-colorSuccess":cs({color:"success",theme:e}),"&.MuiChip-colorWarning":cs({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":Nn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Nn({color:"secondary",theme:e}),"&.MuiChip-lightError":Nn({color:"error",theme:e}),"&.MuiChip-lightInfo":Nn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Nn({color:"success",theme:e}),"&.MuiChip-lightWarning":Nn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Nn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Nn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Nn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Nn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Nn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Nn({color:"warning",theme:e})}}}}}function Bre(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:tt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function Nre(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function Vre(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function us({color:e,theme:t}){const n=Qt(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=zs(t,a);return{color:s,backgroundColor:r,boxShadow:c,"&:hover":{boxShadow:"none",backgroundColor:o},"&:focus-visible":{outline:`2px solid ${o}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${tt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${tt(r,.9)}`}}}function Wre(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":us({color:"primary",theme:e}),"&.MuiFab-secondary":us({color:"secondary",theme:e}),"&.Mui-error":us({color:"error",theme:e}),"&.MuiFab-success":us({color:"success",theme:e}),"&.MuiFab-info":us({color:"info",theme:e}),"&.MuiFab-warning":us({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function $re(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function zre(e){return{MuiInputBase:{styleOverrides:{}}}}function Ure(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1.3em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function Hre(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function Gre(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function qre(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function Yre(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function Kre(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function Xre(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function hi({variant:e,theme:t}){const n=Qt(t,e),{light:r}=n,o=zs(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function Zre(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...hi({variant:"primary",theme:e}),"&.Mui-error":{...hi({variant:"error",theme:e})}},inputSizeSmall:{padding:"9px 8px 9px 12px"},inputMultiline:{padding:0},colorSecondary:hi({variant:"secondary",theme:e}),colorError:hi({variant:"error",theme:e}),colorWarning:hi({variant:"warning",theme:e}),colorInfo:hi({variant:"info",theme:e}),colorSuccess:hi({variant:"success",theme:e})}}}}function Qre(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function At({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d={"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:s},...d};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...d};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...d}}}function Jre(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":At({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":At({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":At({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":At({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":At({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":At({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":At({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":At({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":At({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":At({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":At({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":At({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":At({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":At({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":At({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":At({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":At({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":At({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":At({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":At({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":At({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":At({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":At({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":At({variant:"outlined",color:"warning",theme:e})}}}}}}function eoe(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function ds({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o,dark:s}=n;return{"& .dot":{backgroundColor:o},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function toe(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function th(e){const t=toe(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function noe(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(A.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(A.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...th("small")},"&.size-medium":{...th("medium")},"&.size-large":{...th("large")}},colorPrimary:ds({color:"primary",theme:e}),colorSecondary:ds({color:"secondary",theme:e}),colorSuccess:ds({color:"success",theme:e}),colorWarning:ds({color:"warning",theme:e}),colorInfo:ds({color:"info",theme:e}),colorError:ds({color:"error",theme:e})}}}}function fs({color:e,theme:t}){const n=Qt(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function roe(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":fs({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":fs({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":fs({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":fs({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":fs({color:"info",theme:e}),"&.MuiSlider-thumbColorError":fs({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function ooe(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function nh(e,t){const n=ooe(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function ioe(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...nh(e,"medium")},sizeLarge:{...nh(e,"large")},sizeSmall:{...nh(e,"small")}}}}}function soe(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function aoe(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function loe(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function coe(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function uoe(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function doe(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function foe(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function poe(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function hoe(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function goe(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function moe(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function voe(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function yoe(e){return ct.merge(Are(e),Sre(e),Tre(e),Ere(e),Ire(),Ore(e),Pre(e),jre(e),Rre(),Mre(),kre(),Fre(),Lre(e),_re(e),Bre(e),Nre(e),Vre(),Wre(e),$re(e),zre(),Ure(e),Hre(),Gre(),qre(e),Yre(e),Kre(),Xre(),Zre(e),Qre(),Jre(e),eoe(e),noe(e),roe(e),ioe(e),soe(e),aoe(e),loe(e),coe(e),uoe(e),doe(),foe(),poe(),hoe(e),goe(e),moe(),voe())}function boe(e){const{blue:t,red:n,gold:r,cyan:o,green:s,grey:a}=e,c={0:a[0],50:a[1],100:a[2],200:a[3],300:a[4],400:a[5],500:a[6],600:a[7],700:a[8],800:a[9],900:a[10],A50:a[15],A100:a[11],A200:a[12],A400:a[13],A700:a[14],A800:a[16]},u="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:u},secondary:{lighter:c[100],100:c[100],200:c[200],light:c[300],400:c[400],main:c[500],600:c[600],dark:c[700],800:c[800],darker:c[900],A100:c[0],A200:c.A400,A300:c.A700,contrastText:c[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:u},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:c[100]},info:{lighter:o[0],light:o[3],main:o[5],dark:o[7],darker:o[9],contrastText:u},success:{lighter:s[0],light:s[3],main:s[5],dark:s[7],darker:s[9],contrastText:u},grey:c}}function xoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],a=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],c=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],u=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],d=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(s=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],a=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],c=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],u=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],d=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Coe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function woe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Aoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Soe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Toe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Eoe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Ioe(e,t){const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],d=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],d=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function Ooe(e,t,n){switch(t){case"theme1":return xoe(e,n);case"theme2":return Coe(e,n);case"theme3":return woe(e,n);case"theme4":return Aoe(e,n);case"theme5":return Soe(e,n);case"theme6":return Toe(e,n);case"theme7":return Eoe(e,n);case"theme8":return Ioe(e,n);default:return boe(e)}}var tg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];tg.primary=tg[5];var ng=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];ng.primary=ng[5];var rg=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];rg.primary=rg[5];var og=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];og.primary=og[5];var ig=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];ig.primary=ig[5];var sg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];sg.primary=sg[5];var ag=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ag.primary=ag[5];var lg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];lg.primary=lg[5];var cg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];cg.primary=cg[5];var ug=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];ug.primary=ug[5];var dg=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];dg.primary=dg[5];var fg=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];fg.primary=fg[5];var pg=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];pg.primary=pg[5];var Poe={red:tg,volcano:ng,orange:rg,gold:og,yellow:ig,lime:sg,green:ag,cyan:lg,blue:cg,geekblue:ug,purple:dg,magenta:fg,grey:pg},hg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];hg.primary=hg[5];var gg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];gg.primary=gg[5];var mg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];mg.primary=mg[5];var vg=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];vg.primary=vg[5];var yg=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];yg.primary=yg[5];var bg=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];bg.primary=bg[5];var xg=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];xg.primary=xg[5];var Cg=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Cg.primary=Cg[5];var wg=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];wg.primary=wg[5];var Ag=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ag.primary=Ag[5];var Sg=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];Sg.primary=Sg[5];var Tg=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Tg.primary=Tg[5];var Eg=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Eg.primary=Eg[5];var joe={red:hg,volcano:gg,orange:mg,gold:vg,yellow:yg,lime:bg,green:xg,cyan:Cg,blue:wg,geekblue:Ag,purple:Sg,magenta:Tg,grey:Eg};function Roe(e,t){const n=e==="dark"?joe:Poe;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#121212","#d3d8db"]),n.grey=[...r,...o,...s];const a=Ooe(n,t,e);return im({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?tt(a.grey[900],.87):a.grey[700],secondary:e==="dark"?tt(a.grey[900],.45):a.grey[500],disabled:e==="dark"?tt(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?tt(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})}function Moe(e){return{button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z0:"none",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${tt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${tt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${tt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${tt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${tt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${tt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${tt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${tt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${tt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${tt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${tt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${tt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${tt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${tt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${tt(e.palette.grey[500],.2)}`}}function koe(e){return{htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}}}function T0({themeOverrides:e,children:t}){const n=Rn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>Roe(o,s),[o,s]),u=T.useMemo(()=>koe(a),[a]),d=T.useMemo(()=>Moe(c),[c]),h=T.useMemo(()=>Q.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:r,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:c.palette,customShadows:d,typography:u,components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:c.spacing(2.6875),height:c.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(c):e),[r,c,u,d,e]),g=im(h),m=Q.cloneDeep(g.components??{});return g.components=Q.merge(yoe(g),m),f.jsx(A.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(GA,{theme:g,children:[f.jsx(A.CssBaseline,{enableColorScheme:!0}),t]})})}function Foe({children:e,theme:t,...n}){return f.jsx(D.CoreAdminContext,{...n,children:f.jsx(T0,{themeOverrides:t,children:f.jsx(OI,{children:e})})})}function _I(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:d,loading:h,loginPage:g,authCallbackPage:m,menu:v,notification:b,queryClient:x,requireAuth:w,store:I=D.localStorageStore(),ready:M,theme:E,title:j="React Admin"}=e;return f.jsx(Foe,{authProvider:t,dataProvider:s,i18nProvider:u,store:I,history:c,queryClient:x,theme:E,children:f.jsx(D.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:j,loading:h,loginPage:g,authCallbackPage:m,notification:b,requireAuth:w,ready:M,children:r})})}class BI{constructor({catch:t,display:n,log:r,error:o}){ba(this,"catch");ba(this,"display");ba(this,"log");ba(this,"error");this.catch=t,this.display=n,this.log=r,this.error=o}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}var sl,al,js;class Doe{constructor(t){eo(this,sl);eo(this,al);eo(this,js,new Set);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");Eo(this,al,n),Eo(this,sl,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handle(t){var c;const{message:n,filename:r,lineno:o,colno:s}=t,a=`${n}${r}${o}${s}`;bn(this,js).has(a)||(bn(this,js).add(a),fetch(`${bn(this,al)}/ui/error-log`,{method:"PUT",headers:bn(this,sl),body:JSON.stringify({filename:t.filename,message:t.message,line:t.lineno,column:t.colno,stack:(c=t.error)==null?void 0:c.stack})}).catch(u=>{console.warn("Unable to send error to server",u),bn(this,js).delete(a)}))}}sl=new WeakMap,al=new WeakMap,js=new WeakMap;function Loe({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new BI({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=_.useMemo(()=>o.errorHandler?o.errorHandler:new Doe({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=_.useCallback(function(u,...d){var g;if(!u)return!1;const h=r(u instanceof ErrorEvent?u:(g=u==null?void 0:u.toString())==null?void 0:g.replace(/%s/g,()=>d.shift()));return h.isCatched()||(h.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),h.displayError()&&a.apply(console,arguments)),!1},[r,s,a]);return _.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c,a]),!0}var ll,cl,Ei;class _oe{constructor(t){eo(this,ll);eo(this,cl);eo(this,Ei,[]);const{apiUrl:n}=t??{};if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");Eo(this,cl,n),Eo(this,ll,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!Q.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!Q.isString(n)||Q.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!Q.isString(r)||Q.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!Q.some(bn(this,Ei),o=>Q.isEqual(o,{code:n,lang:r}))){bn(this,Ei).push({code:n,lang:r}),fetch(`${bn(this,cl)}/i18n/message`,{method:"put",headers:bn(this,ll),body:JSON.stringify({code:n,lang:r,text:n})}).then(o=>o.json()).then(()=>{console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`)}).catch(o=>{console.error(o),Eo(this,Ei,Q.reject(bn(this,Ei),s=>Q.isEqual(s,{code:n,lang:r})))});return}}}ll=new WeakMap,cl=new WeakMap,Ei=new WeakMap;function NI(e){const{apiUrl:t,defaultLocale:n,allowMissing:r=!1,createMissing:o=!1}=e,s=[{locale:n,name:n}],a=new Headers({Accept:"application/json","Content-Type":"application/json"}),c=new _oe({apiUrl:t});function u(){return fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(g=>g.json()).catch(()=>Promise.resolve(s))}function d(){return fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(g=>g.json()).then(g=>g.reduce((m,v)=>({...m,[v.lang]:{...m[v.lang]||{},[v.code]:v.text}}),{}))}function h(g,m,v){return r||console.error(`Warning: Missing translation for key: "${g}"`),o&&(Q.isString(g)?g.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${g}`):c.handleMessage({code:g,lang:v}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),g}return Promise.all([u(),d()]).then(g=>{const[m,v]=g;function b(x){return Q.get(v,x,{})}return AC(b,n,m,{allowMissing:r||o,onMissingKey:h})})}function Boe(e){const{defaultLocale:t,path:n}=e,r=[{locale:t,name:t}],o=new Headers({Accept:"application/json","Content-Type":"application/json"});function s(){return fetch(`${n}/languages.json`,{headers:o,method:"get"}).then(c=>c.json()).catch(()=>Promise.resolve(r))}function a(){return fetch(`${n}/messages.json`,{headers:o,method:"get"}).then(c=>c.json()).then(c=>c.reduce((u,d)=>({...u,[d.lang]:{...u[d.lang]||{},[d.code]:d.text}}),{}))}return Promise.all([s(),a()]).then(c=>{const[u,d]=c;function h(g){return Q.get(d,g,{})}return AC(h,t,u,{allowMissing:!0})})}function Noe({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})}){const[r,o]=T.useState({loading:!0,languages:null});return T.useEffect(()=>{const s=new Headers;s.append("Accept","application/json"),s.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:s}).then(a=>a.json()).then(a=>o({loading:!1,...n(a)}))},[e,t,n]),r}function VI(e){const[t,n]=T.useState(),r=z2(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}NI(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const Voe=new Ss.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function Woe({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(LI,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(jd,{})}),menu:u,name:d,copy:h,version:g="0.0.0",dataProvider:m,authProvider:v,i18nProvider:b,errorHandler:x,error:w,enableNotification:I=!1,enableRegistration:M=!1,enablePasswordRecover:E=!1,enableThemeToggler:j=!1,enableLocaleSwitcher:P=!1,queryClient:F=Voe,background:k,notificationAPI:$="entities/notification",...G}){Loe({apiUrl:n,errorHandler:x,catcherFn:se=>{const Z=se==null?void 0:se.toString(),W=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","Support for defaultProps will be removed from function components in a future major release.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>.","Missing translation for key:","HttpError: "].some(B=>Z==null?void 0:Z.includes(B));return new BI({catch:W,display:!W,log:!W&&o===!0,error:Z})}});const J=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:k,enableRegistration:M,enablePasswordRecover:E}):c,[c,d,g,h,k,s,M,E]),U=T.useMemo(()=>se=>{const Z=d?f.jsx(w0,{title:d}):s,X=d?f.jsx(PI,{title:d}):a;return f.jsx(bI,{...se,name:d,copy:h,version:g,logoMain:Z,logoIcon:X,notification:$,enableThemeToggler:j,enableNotification:I,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,$,I,j,P]),ae=VI({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:b});return ae===void 0?f.jsx(f.Fragment,{}):ae.error?f.jsx(Kh,{initialConfig:t,children:f.jsx(T0,{themeOverrides:e,children:f.jsx(DI,{})})}):f.jsx(oQ,{children:f.jsx(C2,{menu:u,children:f.jsx(Kh,{initialConfig:t,children:f.jsx(_I,{theme:e,layout:U,notification:CI,queryClient:F,dataProvider:m,authProvider:v,i18nProvider:ae,loginPage:J,...G})})})})}Object.defineProperty(exports,"ArrayField",{enumerable:!0,get:()=>D.ArrayField});Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>D.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>D.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>D.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>D.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>D.Confirm});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>D.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>D.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>D.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>D.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>D.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>D.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>D.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>D.FieldTitle});Object.defineProperty(exports,"FilterButton",{enumerable:!0,get:()=>D.FilterButton});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>D.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>D.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>D.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>D.I18nContextProvider});Object.defineProperty(exports,"ListBase",{enumerable:!0,get:()=>D.ListBase});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>D.ListToolbar});Object.defineProperty(exports,"LoadingIndicator",{enumerable:!0,get:()=>D.LoadingIndicator});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>D.Pagination});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>D.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>D.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>D.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>D.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>D.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>D.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>D.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>D.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleShowLayout",{enumerable:!0,get:()=>D.SimpleShowLayout});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>D.SingleFieldList});Object.defineProperty(exports,"TabbedFormTabs",{enumerable:!0,get:()=>D.TabbedFormTabs});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>D.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>D.UrlField});Object.defineProperty(exports,"ValidationError",{enumerable:!0,get:()=>D.ValidationError});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>D.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>D.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>D.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>D.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>D.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>D.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>D.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>D.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>D.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>D.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>D.useAuthProvider});Object.defineProperty(exports,"useChoices",{enumerable:!0,get:()=>D.useChoices});Object.defineProperty(exports,"useChoicesContext",{enumerable:!0,get:()=>D.useChoicesContext});Object.defineProperty(exports,"useCreate",{enumerable:!0,get:()=>D.useCreate});Object.defineProperty(exports,"useCreateContext",{enumerable:!0,get:()=>D.useCreateContext});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>D.useCreateController});Object.defineProperty(exports,"useCreateSuggestionContext",{enumerable:!0,get:()=>D.useCreateSuggestionContext});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>D.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>D.useEditContext});Object.defineProperty(exports,"useEditController",{enumerable:!0,get:()=>D.useEditController});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>D.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>D.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>D.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>D.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>D.useGetOne});Object.defineProperty(exports,"useInput",{enumerable:!0,get:()=>D.useInput});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>D.useListContext});Object.defineProperty(exports,"useListController",{enumerable:!0,get:()=>D.useListController});Object.defineProperty(exports,"useLocaleState",{enumerable:!0,get:()=>D.useLocaleState});Object.defineProperty(exports,"useLocales",{enumerable:!0,get:()=>D.useLocales});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>D.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>D.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>D.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>D.useRefresh});Object.defineProperty(exports,"useRemoveFromStore",{enumerable:!0,get:()=>D.useRemoveFromStore});Object.defineProperty(exports,"useResetStore",{enumerable:!0,get:()=>D.useResetStore});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>D.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>D.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>D.useResourceDefinitions});Object.defineProperty(exports,"useShowContext",{enumerable:!0,get:()=>D.useShowContext});Object.defineProperty(exports,"useShowController",{enumerable:!0,get:()=>D.useShowController});Object.defineProperty(exports,"useSimpleFormIterator",{enumerable:!0,get:()=>D.useSimpleFormIterator});Object.defineProperty(exports,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>D.useSimpleFormIteratorItem});Object.defineProperty(exports,"useStore",{enumerable:!0,get:()=>D.useStore});Object.defineProperty(exports,"useStoreContext",{enumerable:!0,get:()=>D.useStoreContext});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>D.useTranslate});Object.defineProperty(exports,"useTranslateLabel",{enumerable:!0,get:()=>D.useTranslateLabel});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>D.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>D.useUnselectAll});Object.defineProperty(exports,"useUpdate",{enumerable:!0,get:()=>D.useUpdate});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>D.useUpdateMany});Object.defineProperty(exports,"withLifecycleCallbacks",{enumerable:!0,get:()=>D.withLifecycleCallbacks});exports.ActionsField=aQ;exports.ActionsMenu=Uo;exports.ActivatePage=xre;exports.AddTableRow=f0;exports.Admin=_I;exports.AnimateButton=u9;exports.AppBarStyled=rI;exports.ApplicaAdmin=Woe;exports.ArrayInput=sQ;exports.AttachmentField=Z2;exports.AttachmentInput=MQ;exports.AuthBackground=jd;exports.AutocompleteArrayInput=FQ;exports.AutocompleteInput=LQ;exports.Avatar=Iu;exports.BooleanInput=BQ;exports.Breadcrumbs=ZA;exports.BulkActionsToolbar=jI;exports.BulkFloatingActionsToolbar=Une;exports.Button=qd;exports.CardForm=H2;exports.ChangePasswordForm=a0;exports.CircularWithLabel=vN;exports.CircularWithPath=yN;exports.CoverField=J2;exports.Create=mJ;exports.CreateInDialogButton=_ne;exports.Datagrid=Xne;exports.DateAgoField=tT;exports.DateField=mQ;exports.DateInput=WQ;exports.DateTimeInput=zQ;exports.Dot=mm;exports.Drawer=nI;exports.DrawerHeader=qT;exports.DrawerHeaderStyled=HT;exports.DrawerToggle=sI;exports.Edit=bJ;exports.EditInDialogButton=Vne;exports.EmailField=yQ;exports.Empty=Qne;exports.EmptyClasses=Pi;exports.Error=qm;exports.Field=DT;exports.FileField=nT;exports.FileInput=HQ;exports.Footer=x0;exports.FormHeader=wJ;exports.FunctionField=xQ;exports.GenericErrorPage=DI;exports.Header=aI;exports.HeaderButton=oI;exports.HeaderIconButton=ine;exports.HeaderNotification=lI;exports.HeaderProfile=cI;exports.HeaderSpacer=dI;exports.HeaderToggleButton=Js;exports.HorizontalBar=fI;exports.IconButton=Sd;exports.ImageField=Q2;exports.ImageInput=GQ;exports.ImpersonateUserButton=Wne;exports.LabeledArrayInput=X2;exports.LabeledInput=ln;exports.Layout=bI;exports.LayoutContent=UT;exports.LayoutProvider=WT;exports.LayoutWrapper=yI;exports.LinearWithIcon=bN;exports.LinearWithLabel=xN;exports.List=pre;exports.ListItem=$ne;exports.Loadable=mne;exports.Loader=xI;exports.LoadingButton=pN;exports.LocalStorage=_2;exports.LocaleButton=iI;exports.LocalizedTextField=wQ;exports.LocalizedTextInput=KQ;exports.LoginPage=LI;exports.Logo=GT;exports.LongForm=kt;exports.MainCard=zn;exports.MainIcon=w0;exports.MenuConfigProvider=C2;exports.MenuPopover=mS;exports.NavCollapse=Ga;exports.NavGroup=hI;exports.NavItem=Ha;exports.NavList=gI;exports.NavMenu=pI;exports.Navigation=mI;exports.Notification=CI;exports.NotificationList=vre;exports.NumberInput=ZQ;exports.OnboardingActionType=Ps;exports.OnboardingContext=A0;exports.OnboardingModes=il;exports.OnboardingProvider=wne;exports.OnboardingTip=Ene;exports.PopupTransition=mN;exports.RadioButtonGroupInput=JQ;exports.ReadonlyField=EQ;exports.RecordInput=eJ;exports.RecoverPage=Cre;exports.ReferenceArrayInput=tJ;exports.ReferenceInput=nJ;exports.ReferenceManyField=oT;exports.ReferenceManyInput=rJ;exports.RegisterPage=wre;exports.ResponsiveSection=uI;exports.ScrollTop=OI;exports.ScrollX=Ine;exports.SearchInput=iJ;exports.SelectArrayInput=aJ;exports.SelectInput=cJ;exports.ShadowBox=One;exports.Show=BJ;exports.SimpleBar=tI;exports.SimpleForm=G2;exports.SimpleFormIterator=VJ;exports.SimpleList=yre;exports.SizeField=PQ;exports.SmallIcon=PI;exports.SmartTextInput=uJ;exports.StyledArrow=hS;exports.TabbedForm=d0;exports.TableFormIterator=zd;exports.TableFormIteratorContext=h0;exports.TableFormIteratorItem=_T;exports.TableFormIteratorItemContext=p0;exports.TextField=rT;exports.TextInput=Er;exports.ThemeColor=C0;exports.ThemeContext=o0;exports.ThemeCustomizationProvider=T0;exports.ThemeProvider=Kh;exports.ThemeToggler=vI;exports.TimeInput=hJ;exports.Toolbar=Xo;exports.Tooltip=Pd;exports.Transitions=ki;exports.WizardForm=NT;exports.createI18nProvider=NI;exports.createJsonI18nProvider=Boe;exports.getLocalizedValue=t0;exports.getPosition=gS;exports.getThemeColor=Qt;exports.getThemeShadow=zs;exports.localizedValueHasAllLocales=Gu;exports.localizedValueHasAtLeastOneLocale=B2;exports.onboardingModesSchema=AI;exports.onboardingTopicSchema=wI;exports.parseTime=W2;exports.useBreadcrumbs=w2;exports.useGetLocalizedValue=XZ;exports.useI18nLanguages=Noe;exports.useI18nProvider=VI;exports.useLayoutContext=g0;exports.useLayoutDispatch=ree;exports.useLayoutDrawerState=Vi;exports.useLayoutLogoState=zT;exports.useLayoutMediaState=Yn;exports.useLayoutNotificationsState=Hd;exports.useLayoutState=Zs;exports.useLayoutThemeState=oee;exports.useLocalStorage=n0;exports.useLocalizedValue=KZ;exports.useMemoizedObject=z2;exports.useMenu=Ym;exports.useMenuConfig=rl;exports.useMenuContext=Bd;exports.useOnboardingDataProvider=SI;exports.useOnboardingTip=II;exports.usePopoverState=Ol;exports.useRefDimensions=ZZ;exports.useResourceDefaultValues=vJ;exports.useResourceTitle=r0;exports.useRestartOnboarding=Sne;exports.useSx=Pr;exports.useTableFormIterator=LT;exports.useTableFormIteratorItem=FT;exports.useThemeConfig=Rn;exports.useThemeContext=i0;exports.useWizardFormContext=Ud;exports.uuid=ZX;exports.walkChildren=$d;exports.withLayoutProvider=$T;
217
217
  //# sourceMappingURL=react-admin.cjs.js.map