Version Description
Release date: September 20, 2022
Changelog: - Fix: Add a way to delete Google Analytics tracking code (if it was still from an earlier version).
Download this release
Release Info
Developer | buttonizer |
Plugin | Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- app/Admin/Admin.php +1 -0
- app/Api/Settings/MigrateToStandalone.php +2 -1
- app/Api/Settings/UpdateSettings.php +2 -2
- assets/app/index.2bfd3344.js +0 -3
- assets/app/index.98ed7c71.js +3 -0
- assets/app/index.html +2 -2
- assets/app/manifest.json +4 -4
- assets/app/{vendor.69872157.js → vendor.3e5e4aba.js} +30 -31
app/Admin/Admin.php
CHANGED
@@ -126,6 +126,7 @@ class Admin
|
|
126 |
'adminTopBarButtonEnabled' => Settings::getSetting("admin_top_bar_show_button", true),
|
127 |
'canSendErrors' => Settings::getSetting("can_send_errors", false),
|
128 |
'accessRoles' => Settings::getSetting("additional_permissions", []),
|
|
|
129 |
],
|
130 |
'available_roles' => $this->getRoles(),
|
131 |
'site' => [
|
126 |
'adminTopBarButtonEnabled' => Settings::getSetting("admin_top_bar_show_button", true),
|
127 |
'canSendErrors' => Settings::getSetting("can_send_errors", false),
|
128 |
'accessRoles' => Settings::getSetting("additional_permissions", []),
|
129 |
+
'googleAnalytics' => Settings::getSetting("google_analytics", null),
|
130 |
],
|
131 |
'available_roles' => $this->getRoles(),
|
132 |
'site' => [
|
app/Api/Settings/MigrateToStandalone.php
CHANGED
@@ -138,6 +138,7 @@ class MigrateToStandalone
|
|
138 |
$originalCanSendErrors = Settings::getSetting("can_send_errors", false);
|
139 |
$originalUserPermissions = Settings::getSetting("permissions", false);
|
140 |
$originalAdminBarSetting = Settings::getSetting("admin_top_bar_show_button", true);
|
|
|
141 |
$originalGoogleAnalytics = Settings::getSetting("google_analytics", null);
|
142 |
|
143 |
// Save new settings
|
@@ -153,7 +154,7 @@ class MigrateToStandalone
|
|
153 |
Settings::setSetting("include_page_data", isset($result->account->site->licensed) && $result->account->site->licensed);
|
154 |
|
155 |
// Migrate Google Analytics setting
|
156 |
-
if ($originalGoogleAnalytics) {
|
157 |
Settings::setSetting("google_analytics", $originalGoogleAnalytics);
|
158 |
}
|
159 |
|
138 |
$originalCanSendErrors = Settings::getSetting("can_send_errors", false);
|
139 |
$originalUserPermissions = Settings::getSetting("permissions", false);
|
140 |
$originalAdminBarSetting = Settings::getSetting("admin_top_bar_show_button", true);
|
141 |
+
$originalGoogleAnalyticsEnabled = Settings::getSetting("google_analytics_enabled", false);
|
142 |
$originalGoogleAnalytics = Settings::getSetting("google_analytics", null);
|
143 |
|
144 |
// Save new settings
|
154 |
Settings::setSetting("include_page_data", isset($result->account->site->licensed) && $result->account->site->licensed);
|
155 |
|
156 |
// Migrate Google Analytics setting
|
157 |
+
if ($originalGoogleAnalyticsEnabled && $originalGoogleAnalytics) {
|
158 |
Settings::setSetting("google_analytics", $originalGoogleAnalytics);
|
159 |
}
|
160 |
|
app/Api/Settings/UpdateSettings.php
CHANGED
@@ -76,8 +76,8 @@ class UpdateSettings
|
|
76 |
}
|
77 |
|
78 |
// Delete Google Analytics from settings
|
79 |
-
if (isset($data['
|
80 |
-
Settings::deleteSetting("
|
81 |
}
|
82 |
|
83 |
// Remind for a review
|
76 |
}
|
77 |
|
78 |
// Delete Google Analytics from settings
|
79 |
+
if (isset($data['google_analytics']) && $data['google_analytics'] === "unset") {
|
80 |
+
Settings::deleteSetting("google_analytics");
|
81 |
}
|
82 |
|
83 |
// Remind for a review
|
assets/app/index.2bfd3344.js
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
var Ct=Object.defineProperty,wt=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var qe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var He=(t,i,n)=>i in t?Ct(t,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[i]=n,C=(t,i)=>{for(var n in i||(i={}))qe.call(i,n)&&He(t,n,i[n]);if(se)for(var n of se(i))Ue.call(i,n)&&He(t,n,i[n]);return t},H=(t,i)=>wt(t,kt(i));var je=(t,i)=>{var n={};for(var a in t)qe.call(t,a)&&i.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&se)for(var a of se(t))i.indexOf(a)<0&&Ue.call(t,a)&&(n[a]=t[a]);return n};import{c as rt,a as Ge,b as xe,R as ze,u as re,r as s,j as e,d as r,J as xt,e as Se,F as _,L as zt,C as G,B as g,E as St,T as it,S as Tt,H as Bt,A as te,I as Te,f as at,g as V,h as u,i as Lt,k as $t,l as B,m as Nt,n as It,P as Be,G as b,o as Pt,p as At,q as Rt,M as Mt,s as le,t as j,v as Dt,w as I,x as Et,y as Ft,D as Wt,z as Ot,K as ee,N as Ht,O as qt,Q as Ut,U as jt,V as Gt,W as he,X as pe,Y as me,Z as ge,_ as J,$ as fe,a0 as ot,a1 as Le,a2 as $e,a3 as ne,a4 as st,a5 as lt,a6 as Ne,a7 as de,a8 as Ie,a9 as Pe,aa as Ae,ab as Re,ac as Me,ad as De,ae as Ee,af as Fe,ag as Yt,ah as Vt,ai as Jt,aj as Kt,ak as Qt,al as Xt,am as Zt,an as en,ao as tn,ap as be,aq as nn,ar as rn,as as an,at as on,au as sn,av as ln,aw as cn,ax as Ye,ay as dn,az as ue,aA as un,aB as hn,aC as pn,aD as mn,aE as gn,aF as fn,aG as yn,aH as Ve,aI as bn,aJ as vn,aK as _n,aL as Cn,aM as wn,aN as kn,aO as xn,aP as q,aQ as zn,aR as Sn,aS as Tn,aT as Bn,aU as Ln}from"./vendor.69872157.js";const $n=function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerpolicy&&(l.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?l.credentials="include":o.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}};$n();let x=rt({palette:{primary:{main:"#2D7789",contrastText:"#FFFFFF"},secondary:{main:"#f08419",contrastText:"#FFFFFF"},white:{main:"#FFFFFF",contrastText:"#2D7789"},black:{main:"#111111",contrastText:"#2D7789"}},typography:{fontFamily:["BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue","sans-serif"].join(",")},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,navigation:1090}}});x=rt(x,{components:{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:x.palette.secondary.main,backgroundColor:Ge(x.palette.secondary.main,.08),"&:hover":{backgroundColor:Ge(x.palette.secondary.main,.12)},"& .MuiListItemIcon-root":{color:x.palette.secondary.main}}}}},MuiLink:{styleOverrides:{root:{textDecoration:"none","&:hover":{textDecoration:"underline"}}}},MuiButton:{styleOverrides:{root:{borderRadius:50,padding:"8px 18px"}},variants:[{props:{type:"link"},style:({ownerState:t})=>C({},t.variant==="contained"?{color:x.palette[t.color].contrastText,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette[t.color].contrastText},"&:hover":{color:x.palette[t.color].contrastText}}:{color:x.palette[t.color].main,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette[t.color].main},"&:hover":{color:x.palette[t.color].main}})},{props:{type:"link-small"},style:{padding:"5px 5px",textTransform:"none",minWidth:35,color:x.palette.primary.main,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette.primary.main},"&:hover":{color:x.palette.primary.main}}}]},MuiPaper:{styleOverrides:{root:{borderRadius:10,position:"relative"}},variants:[{props:{type:"wrapper"},style:{padding:"15px 30px"}}]},MuiTypography:{variants:[{props:{type:"header"},style:{fontSize:"1rem",fontWeight:600}},{props:{type:"content"},style:{fontSize:"1em"}}]},MuiTab:{variants:[{props:{size:"small"},style:{textTransform:"unset",minHeight:42}}]},MuiList:{variants:[{props:{size:"large"},style:{"& .MuiListItem-root":{padding:"5px 16px"},"& .MuiAvatar-root":{width:30,height:30},"& .MuiTypography-root":{fontSize:"1.2rem"}}}]}}});var ct=x;function L(t,i={},n="POST"){return xe({url:`${buttonizer_admin.api}buttonizer${t}?nonce=${buttonizer_admin.nonce}`,method:n,data:i,headers:{"X-WP-Nonce":buttonizer_admin.nonce}})}const dt=ze.createContext(),Nn=t=>{const i=re(),[n,a]=s.exports.useState("no-lock"),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(!1),[m,d]=s.exports.useState(!1),[p,y]=s.exports.useState(!1),[w,z]=s.exports.useState({}),[A,N]=s.exports.useState({}),[S,R]=s.exports.useState({}),[K,M]=s.exports.useState(!1);s.exports.useState(null);const[Y,ie]=s.exports.useState(null),[D,$]=s.exports.useState(!1),[T,ae]=s.exports.useState(null),[oe,gt]=s.exports.useState("weekly"),We=f=>{z({name:f==null?void 0:f.name,id:f==null?void 0:f.uid}),N({id:f==null?void 0:f.site_id,timezone:f==null?void 0:f.site_timezone,isPremium:f==null?void 0:f.site_licensed}),R({name:f==null?void 0:f.plan_name,id:f==null?void 0:f.plan_id,hasPlan:(f==null?void 0:f.plan_id)!==null,cancelled:f==null?void 0:f.plan_cancelled})},ft=()=>{K||(Y!==null&&i("/editor"),M(!0),L("/editor_start_session").then(({data:f})=>{ie(f),i("/editor")}).catch(()=>{}).then(()=>M(!1)))},yt=()=>{T===null&&Oe()},Oe=(f=null)=>{f||(f=oe),$(!0),L("/analytics/overview",{type:f}).then(({data:_t})=>{ae(_t.data),gt(f)}).catch(()=>{}).then(()=>$(!1))};s.exports.useEffect(()=>{a(window.buttonizer_admin.actionLock),l(!!window.buttonizer_admin.hasMigrated),d(!!window.buttonizer_admin.requestReview),We(window.buttonizer_admin.account)},[]);const bt={actionLock:n,hasMigrated:o,legacyBackupDeleted:c,connectionSuccesfull:p,isPremium:A.isPremium,accountData:w,siteInfo:A,planInfo:S,sessionStarting:K,cachedEditorSession:Y,requestReview:m,isLoadingAnalytics:D,analyticsData:T,analyticsChosenRange:oe},vt={setActionLock:a,setHasMigrated:l,setLegacyBackupDeleted:h,parseAccountData:We,setConnectionSuccessfull:y,setCachedEditorSession:ie,setRequestReview:d,startSession:ft,getAnalytics:yt,updateAnalyticsByTimeRange:Oe};return e(dt.Provider,C({value:C(C({},bt),vt)},t))},v=()=>{const t=ze.useContext(dt);if(t===void 0)throw new Error("useApp must be used within a AppProvider");return t},In="https://app.buttonizer.io",Pn="https://editor.buttonizer.io/site/";function P(t="/"){return In+t}function An(t){return`${Pn}${t.redirect_id}#auth-token=${t.token}`}function ye({text:t="Loading..."}){return r("div",{className:"buzzy-animation",children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/icon-animated.svg`})," ",e("span",{children:t})]})}const ut=new xt;let ve=null,E=null;function ht({buttonProps:t,buttonText:i="Connect",onConnect:n,onLoading:a=()=>{},reconnect:o=!1}){const{enqueueSnackbar:l,closeSnackbar:c}=Se(),[h,m]=s.exports.useState(!1),[d,p]=s.exports.useState(!1),[y,w]=s.exports.useState(!1),z=buttonizer_admin.site,A=()=>{if(h&&E){E.focus();return}m(!0),p(!1);const N=P(`/apps/onboard?app_origin=wordpress&site_name=${encodeURIComponent(z.name)}&domain=${encodeURIComponent(z.domain)}&email=${encodeURIComponent(z.user.email)}&first_name=${encodeURIComponent(z.user.firstName)}&last_name=${encodeURIComponent(z.user.lastName)}`);E=window.open(N,"connectPopup",`width=500,height=580,top=${window.innerHeight/2-580/2},left=${window.innerWidth/2-500/2},status=no,scrollbars=yes,resizable=no`);try{E.focus()}catch{l("Could not open authorization popup. Your browser might have blocked it. Please add this site to your exception list.",{anchorOrigin:{vertical:"bottom",horizontal:"center",autoHideDuration:1e4},action:R=>[e(g,{href:"https://community.buttonizer.pro/knowledgebase/1208",target:"_blank",color:"secondary",children:"More information"}),e(g,{onClick:()=>c(R),children:"Close"})]})}ve=setInterval(()=>{if(!E){clearInterval(ve);return}E.closed&&(clearInterval(ve),E=null,m(!1))})};return s.exports.useEffect(()=>{const N=S=>{!S.isTrusted||S.origin!==P("")||S.data.messageType==="connect-info"&&(E.close(),w(!0),a(!0),L("/connect",{siteId:S.data.id,authorization:S.data.authorization,reconnect:o}).then(({data:R})=>{ut.addConfetti(),n(R)}).catch(()=>{w(!1),a(!1),p(!0)}))};return window.addEventListener("message",N),function(){window.removeEventListener("message",N)}},[]),e(_,{children:e(zt,H(C({onClick:A,loading:y,loadingIndicator:e(G,{size:20,style:{color:"white"}})},t),{children:i}))})}function Rn({children:t}){const{parseAccountData:i,setConnectionSuccessfull:n}=v(),{enqueueSnackbar:a,closeSnackbar:o}=Se();return s.exports.useEffect(()=>{xe.interceptors.response.use(l=>l,l=>{let c=`Oops, something went wrong. Error status ${l.response.status} (${l.response.statusText}). Your webserver might be unable to handle this request, there's an issue with your WordPress instance or you have insufficient permissions to execute this request.`,h=!0,m=!1,d=1207,p=null;return l.response.data&&(l.response.data.code==="buttonizer_api_server_error"?d=1213:h=!1,l.response.data.code==="buttonizer_token_expired"&&(m=!0),l.response.data.data&&l.response.data.data.message&&l.response.data.data.message!==""&&(p=l.response.data.data.message),c=`${l.response.data.message} (Error code: ${l.response.data.code})`),a(c,{anchorOrigin:{vertical:"bottom",horizontal:"center"},autoHideDuration:null,action:y=>[h&&e(g,{href:`https://community.buttonizer.pro/knowledgebase/${d}`,target:"_blank",color:"secondary",children:"More information"}),m&&e(ht,{onConnect:w=>{o(y),i(w.data),n(!0)},reconnect:!0,buttonProps:{color:"secondary"},buttonText:"Reconnect"}),p!==null&&e(g,{color:"secondary",onClick:()=>alert(`The response message we received was:
|
2 |
-
|
3 |
-
${p}`),children:"Debug"}),e(g,{onClick:()=>o(y),children:"Close"})]}),Promise.reject(l)})},[]),t}function Mn({children:t}){return e(ze.StrictMode,{children:e(St,{fallback:r("p",{children:["We're sorry! Our dashboard has crashed, we have been notified about the error. Please refresh the page"," ",e("a",{href:"./admin.php?page=Buttonizer",children:"or start from the beginning"}),"."]}),showDialog:!0,children:e(it,{theme:ct,children:e(Tt,{maxSnack:3,children:e(Bt,{children:e(Nn,{children:e(Rn,{children:t})})})})})})})}const Dn="_title_c66ps_1",En="_logo_c66ps_9",Fn="_navLinks_c66ps_15",Wn="_pluginMenuListIcon_c66ps_19",On="_divider_c66ps_23";var F={title:Dn,logo:En,navLinks:Fn,pluginMenuListIcon:Wn,divider:On};function Hn(){const{connectionSuccesfull:t,setConnectionSuccessfull:i,hasMigrated:n}=v(),a=()=>{i(!1)};return t?r(te,{severity:"success",variant:"outlined",action:e(Te,{"aria-label":"close",color:"inherit",size:"small",onClick:a,children:e(at,{fontSize:"inherit"})}),style:{marginTop:15,background:"#edf7ed"},children:[!n&&r(_,{children:[e(V,{children:"Buttonizer has been set up. Happy conversion \u{1F680}"}),r(u,{variant:"body1",children:["Start building by clicking the '",e("b",{children:"Edit buttons"}),"' button in the section below."]})]}),n&&r(_,{children:[e(V,{children:"Your Buttonizer account has been connected. Happy conversion \u{1F680}"}),r(u,{variant:"body1",children:["Buttonizer should now be visible on your WordPress website. Manage your buttons by clicking the '",e("b",{children:"Edit buttons"}),"' button in the section below."]}),r(u,{variant:"body1",style:{marginTop:15},children:[e("b",{children:"Tip:"})," If you have a caching plugin active, we recommend to clear your site's cache."]})]})]}):null}function Je(t){return L("/settings",{data:t})}function qn(){const{requestReview:t,setRequestReview:i}=v(),[n,a]=s.exports.useState(!1),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(!1),m=()=>{i(!1)},d=()=>{c||(h(!0),Je({remindForReview:!0}).then(()=>m()).catch(()=>{}).then(()=>h(!1)))},p=()=>{c||(h(!0),Je({markAsReviewed:!0}).then(()=>m()).catch(()=>{}).then(()=>h(!1)))};return t?r(te,{severity:"info",variant:"outlined",style:{marginTop:15,background:"#e5f6fd"},children:[!n&&!o&&r(_,{children:[e(V,{children:"Are you enjoying Buttonizer? We really hope you do!"}),e(u,{variant:"body1",children:"Would you like to review us on WordPress and share your experience? This way you support us developing new features for Buttonizer and spread the love!"}),r("div",{style:{marginTop:15},children:[e(g,{variant:"outlined",href:"https://r.buttonizer.io/review/wordpress",target:"_blank",startIcon:e(Lt,{}),style:{marginRight:15},onClick:()=>a(!0),disabled:c,children:"Yes, I like Buttonizer"}),e(g,{startIcon:e($t,{}),style:{marginRight:15},href:"https://r.buttonizer.io/feedback",target:"_blank",disabled:c,onClick:()=>l(!0),children:"No, send feedback"}),e("div",{style:{float:"right"},children:e(g,{disabled:c,onClick:d,children:"Remind me later"})})]})]}),(n||o)&&r(_,{children:[e(V,{children:n?"We're really happy to hear that \u{1F389}":"We'll do better! We promise"}),n&&r(_,{children:[r(u,{variant:"body1",children:["If we can help you with anything, or you have cool idea's or great feedback,"," ",e(B,{href:"https://r.buttonizer.io/feedback",target:"_blank",color:"secondary",children:"just reach out to us"}),"! We always reply :)"]}),r(u,{variant:"body1",style:{marginTop:15},children:["If you have closed the window that just opened and you still like to review us,"," ",e(B,{href:"https://r.buttonizer.io/review/wordpress",target:"_blank",color:"secondary",children:"click this link"}),"!"]})]}),!n&&r(u,{variant:"body1",children:["If there's anything else what we can help you with,"," ",e(B,{href:"https://r.buttonizer.io/feedback",target:"_blank",color:"secondary",children:"just reach out to us"}),"! We always reply :)"]}),e("div",{style:{marginTop:15},children:e(g,{startIcon:e(Nt,{}),onClick:()=>{ut.addConfetti(),i(!1),p()},disabled:c,children:n?"Celebrate in silence":"Close with confetti"})})]})]}):null}function Un(){const{startSession:t,sessionStarting:i}=v();let n=re(),a=It();const[o,l]=s.exports.useState(!1),c=s.exports.useRef();return r("div",{style:{marginBottom:40},children:[e(Be,{type:"wrapper",children:r(b,{container:!0,children:[r(b,{item:!0,container:!0,style:{alignItems:"center"},navigation:!0,children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",className:F.logo,draggable:!1}),e(u,{className:F.title,color:"primary",children:"Buttonizer for WordPress"})]}),r(b,{item:!0,container:!0,justifyContent:"space-between",navigation:"auto",className:F.navLinks,children:[e(g,{onClick:()=>{n("/overview")},color:a.pathname==="/overview"?"secondary":"primary",children:"Home"}),e(g,{onClick:()=>{n("/settings")},color:a.pathname==="/settings"?"secondary":"primary",children:"Settings"}),e(g,{onClick:()=>{l(!0)},ref:c,endIcon:o?e(Pt,{}):e(At,{}),color:a.pathname==="/support"?"secondary":"primary",children:"More actions"}),e(g,{variant:"contained",onClick:t,endIcon:i&&e(G,{size:20,style:{marginLeft:8}}),disabled:i,children:"Edit buttons"})]})]})}),e(Hn,{}),e(qn,{}),e(Rt,{open:o&&c.current,anchorEl:c.current,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:()=>{l(!1)},onClick:()=>l(!1),children:r(Mt,{children:[r(le,{onClick:()=>{n("/support")},selected:a.pathname==="/support",children:[e(j,{className:F.pluginMenuListIcon,children:e(Dt,{fontSize:"small"})}),e(I,{primary:"Support"})]}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/")},children:[e(j,{className:F.pluginMenuListIcon,children:e(Et,{fontSize:"small"})}),e(I,{primary:"Sites overview"})]}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/affiliate")},children:[e(j,{className:F.pluginMenuListIcon,children:e(Ft,{fontSize:"small"})}),e(I,{primary:"Afilliate program",secondary:"Promote Buttonizer and earn $"})]}),e(Wt,{className:F.divider}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/account")},children:[e(j,{className:F.pluginMenuListIcon,children:e(Ot,{fontSize:"small"})}),e(I,{primary:"Account Settings"})]})]})})]})}const jn="_footer_zmvmt_1",Gn="_subfooter_zmvmt_7",Yn="_dutchFlag_zmvmt_13",Vn="_loveIcon_zmvmt_23",Jn="_coffeeIcon_zmvmt_24";var Q={footer:jn,subfooter:Gn,dutchFlag:Yn,loveIcon:Vn,coffeeIcon:Jn};function pt(){return r("div",{className:Q.footer,children:["Need some assistance? Get free support via our"," ",e(B,{href:"https://r.buttonizer.io/support/community?utm_source=wp-plugin-footer",target:"_blank",color:"secondary",children:"Buttonizer Community"}),". Do you have feedback?"," ",e(B,{href:"https://r.buttonizer.io/feedback?utm_source=wp-plugin-footer",target:"_blank",color:"secondary",children:"Give feedback"}),".",r("div",{className:Q.subfooter,children:["Built with"," ",e(ee,{title:"much love",children:e(Ht,{className:Q.loveIcon})})," ","and"," ",e(ee,{title:"lots and lots of coffee",children:e(qt,{className:Q.coffeeIcon})})," ","in The Netherlands"," ",e(ee,{title:"Buttonizer HQ in Zoetermeer",children:e("img",{src:`${buttonizer_admin.assetsPath}/images/dutch-flag.svg`,className:Q.dutchFlag})})]})]})}function Kn(){return r(Ut,{style:{maxWidth:1100},children:[r("div",{style:{padding:"50px 0 0",height:"100%"},children:[e(Un,{}),e(jt,{})]}),e(pt,{})]})}const Qn="_avatar_1ciu2_5",Xn="_listItem_1ciu2_9",Zn="_secondaryInfo_1ciu2_13",er="_knowledgebase_1ciu2_17",tr="_knowledgebaseText_1ciu2_24";var X={"migratePage-container":"_migratePage-container_1ciu2_1",avatar:Qn,listItem:Xn,secondaryInfo:Zn,knowledgebase:er,knowledgebaseText:tr};const nr="_buttonizerPaper_131bh_1";var rr={buttonizerPaper:nr};function mt({children:t,containerProps:i}){return e(_,{children:r(Gt,H(C({className:"migratePage-container",style:{marginTop:50,maxWidth:1130}},i),{children:[e("div",{style:{alignItems:"center",justifyContent:"center",display:"flex",marginBottom:30},children:e("img",{src:`${buttonizer_admin.assetsPath}/images/logo.png`,alt:"buttonizerlogo",style:{height:70}})}),e(Be,{className:rr.buttonizerPaper,sx:{"&::before":{background:`url(${buttonizer_admin.assetsPath}/images/waves.svg)`}},children:t})]}))})}const ir="_code_1iwn6_1";var ar={code:ir};const or=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function sr({open:t,onClose:i=()=>{},onConfirm:n=()=>{}}){const a=s.exports.useRef(),o=()=>{a.current.focus(),a.current.select(),navigator.clipboard&&navigator.clipboard.writeText(a.current.value)};return r(pe,{open:t,onClose:close,TransitionComponent:or,"aria-labelledby":"migrate-title","aria-describedby":"migrate-description",children:[e(me,{id:"migrate-title",children:"Before you migrate"}),r(ge,{children:[r(J,{id:"migrate-description",children:["It seems that you're currently using a deprecated custom JavaScript feature of Buttonizer which is not supported on Buttonizer 3.0 in favour of the advanced"," ",e(B,{href:"https://community.buttonizer.pro/knowledgebase/435",target:"_blank",color:"secondary",children:"Buttonizer JavaScript API"}),"."]}),r(J,{style:{margin:"15px 0"},children:["Please copy all the code from the block below and add it to a"," ",e(B,{href:"https://community.buttonizer.pro/knowledgebase/1011",target:"_blank",color:"secondary",children:"Headers Footers"})," ","plugin of your choice. Your click actions will stay working as they are now."]}),e("textarea",{className:ar.code,onClick:o,ref:a,readOnly:!0,children:buttonizer_admin.beforeMigrate})]}),r(fe,{children:[e(g,{onClick:i,children:"Cancel"}),e(g,{color:"secondary",onClick:()=>n(!0),autoFocus:!0,children:"I am ready"})]})]})}let _e=null,W=null;function lr(){const t=re(),{enqueueSnackbar:i,closeSnackbar:n}=Se(),{setActionLock:a,parseAccountData:o,setConnectionSuccessfull:l,setHasMigrated:c}=v(),[h,m]=s.exports.useState(!1),[d,p]=s.exports.useState(!1),[y,w]=s.exports.useState(!1),[z,A]=s.exports.useState(!1),[N,S]=s.exports.useState(null),[R,K]=s.exports.useState(!0),M=buttonizer_admin.site,Y=($=!1)=>{if((buttonizer_admin==null?void 0:buttonizer_admin.beforeMigrate)!==null&&$!==!0){p(!0);return}if(h&&W){W.focus();return}m(!0),A(!1);const T=P(`/apps/onboard?app_origin=wordpress&site_name=${encodeURIComponent(M.name)}&domain=${encodeURIComponent(M.domain)}&email=${encodeURIComponent(M.user.email)}&first_name=${encodeURIComponent(M.user.firstName)}&last_name=${encodeURIComponent(M.user.lastName)}`);W=window.open(T,"connectPopup",`width=500,height=580,top=${window.innerHeight/2-580/2},left=${window.innerWidth/2-500/2},status=no,scrollbars=yes,resizable=no`),_e=setInterval(()=>{if(!W){clearInterval(_e);return}W.closed&&(clearInterval(_e),W=null,m(!1))});try{W.focus()}catch{i("Could not open authorization popup. Your browser might have blocked it. Please add this site to your exception list.",{anchorOrigin:{vertical:"bottom",horizontal:"center",autoHideDuration:1e4},action:oe=>[e(g,{href:"https://community.buttonizer.pro/knowledgebase/1208",target:"_blank",color:"secondary",children:"More information"}),e(g,{onClick:()=>n(oe),children:"Close"})]})}},ie=()=>{y||(w(!0),S("skipping"),L("/migrate",{skip:!0}).then(({data:$})=>{document.location.href=`${buttonizer_admin.admin}?page=Buttonizer`}).catch(()=>{A(!0),w(!1)}))};if(s.exports.useEffect(()=>{const $=T=>{!T.isTrusted||T.origin!==P("")||T.data.messageType==="connect-info"&&(W.close(),S("connecting"),L("/migrate",{siteId:T.data.id,authorization:T.data.authorization,shouldMigrate:R}).then(({data:ae})=>{a("no-lock"),o(ae.data),l(!0),c(!0),t("/")}).catch(()=>{S(null),A(!0)}))};return window.addEventListener("message",$),function(){window.removeEventListener("message",$)}},[R]),N!==null)return e(ye,{text:cr(N)});const D=($,T)=>r(ne,{className:X.listItem,children:[e(st,{children:e(lt,{className:X.avatar,children:e(Ne,{})})}),e(I,{secondary:T,secondaryTypographyProps:{className:X.secondaryInfo},primary:$})]});return r(mt,{children:[r(g,{href:"https://community.buttonizer.pro/knowledgebase/1122-standalone-vs-wordpress",target:"_blank",type:"link-small",className:X.knowledgebase,children:[e(ot,{}),e("span",{className:X.knowledgebaseText,children:"Learn more about Buttonizer Standalone"})]}),r(b,{container:!0,style:{height:"100%"},direction:"row",children:[e(b,{item:!0,container:!0,justifyContent:"center",direction:"column",alignContent:"center",md:6,sm:12,sx:{margin:"20px 0"},children:r("div",{children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",style:{height:50}}),e(u,{style:{fontSize:27,fontWeight:600,marginTop:30},children:"Buttonizer just got an upgrade!"}),e(u,{style:{fontSize:"1.2rem",maxWidth:"fit-content",marginTop:10},component:"div",children:"Easier to manage, faster and more features."}),e("div",{style:{marginTop:30,maxWidth:300},children:r(g,{variant:"contained",onClick:()=>{K(!0),Y()},color:"secondary",size:"small",sx:{padding:"15px 30px"},children:["Start migrating",e(Le,{style:{marginLeft:15}})]})}),e(u,{style:{marginTop:20,fontSize:"0.875rem",maxWidth:"fit-content"},component:"div",children:"Already using Buttonizer Standalone? Connect without migrating your buttons."}),r("div",{style:{marginTop:20,marginBottom:100,alignItems:"center",display:"flex"},children:[e(g,{variant:"outlined",size:"small",onClick:()=>{K(!1),Y()},color:"secondary",sx:{padding:"10px 20px",marginRight:"10px"},children:"Connect now"}),e(g,{size:"small",onClick:ie,disabled:h,children:"Stay in old version"})]})]})}),r(b,{item:!0,md:6,sm:12,container:!0,justifyContent:"center",alignContent:"center",direction:"column",sx:{margin:"20px 0"},children:[e(u,{style:{fontSize:27,fontWeight:600,paddingLeft:15},children:"New in 3.0"}),r($e,{size:"large",children:[D("More free styling options","Imagine what you can do now"),D("Conversion analytics (coming soon)","Privacy focused conversion analytics"),D("Now available on any platform","Try out on WordPress, Shopify, Wix and more"),D("Manage multiple sites with one account","Great for agencies & businesses with multiple sites"),D("Content Delivery Network (CDN)","Lightning fast around the world \u{1F680}"),D("And much more!")]})]})]}),e(sr,{open:d,onClose:()=>p(!1),onConfirm:Y})]})}function cr(t){switch(t){case"initializing":return"Initializing...";case"skipping":return"Skipping...";case"migrating":return"Migrating data..."}}function O(a){var o=a,{children:t,paperStyle:i}=o,n=je(o,["children","paperStyle"]);return e("div",{style:{margin:"20px 0"},children:e(Be,H(C({sx:C({"& > *":{marginTop:"20px !important",marginBottom:"20px !important"},"& > *:first-child":{marginTop:"10px !important",marginBottom:"20px !important"}},i),type:"wrapper"},n),{children:t}))})}const dr="_analyticsContainer_1q32b_1",ur="_analyticsLoading_1q32b_5",hr="_tabsContainer_1q32b_10",pr="_tabs_1q32b_10",mr="_pieTitle_1q32b_17";var Z={analyticsContainer:dr,analyticsLoading:ur,tabsContainer:hr,tabs:pr,pieTitle:mr};function Ke(t){for(var i=0,n=0;n<t.length;n++)i=t.charCodeAt(n)+((i<<5)-i);for(var a="#",n=0;n<3;n++){var o=i>>n*8&255;const c="00"+o.toString(16);a+=c.substring(c.length-2,c.length)}return a}const gr="_legend_17qwt_1",fr="_marginTop_17qwt_5",yr="_legendItem_17qwt_10",br="_legendColor_17qwt_15",vr="_legendHidden_17qwt_19",_r="_legendLabel_17qwt_37",Cr="_loading_17qwt_41";var U={legend:gr,marginTop:fr,legendItem:yr,legendColor:br,legendHidden:vr,legendLabel:_r,loading:Cr};function wr({chart:t=null,isLoading:i=!1,onForceUpdate:n,showClicks:a=!1,isPieChart:o=!1}){if(s.exports.useEffect(()=>{},[]),!t)return null;const l=t.options.plugins.legend.labels.generateLabels(t),c=h=>{var m=h.datasetIndex,d=t;if(o){const p=t.getDatasetMeta(0).data[h.index].hidden;t.getDatasetMeta(0).data[h.index].hidden=!p,t.update()}else d.setDatasetVisibility(m,!d.isDatasetVisible(m)),d.update();n()};return e("div",{className:de(U.legend,U.marginTop,i&&U.loading),children:l.map((h,m)=>{const d=h.strokeStyle,p=h.hidden;return e(ee,{title:a?`Total clicks this period: ${t.data.datasets[m].totalClicks}`:"",children:r("span",{className:de(U.legendItem,p&&U.legendHidden),onClick:()=>c(h),children:[e("span",{className:U.legendColor,style:{color:d}}),e("span",{className:U.legendLabel,children:h.text})]})},m)})})}const kr="_lineChart_hik2f_1",xr="_loading_hik2f_6";var Qe={lineChart:kr,loading:xr};Ie.register(Pe,Ae,Re,Me,De,Ee,Fe,Yt);const Xe=["#F08419","#2D95EC"];function zr(t,i){return t<2?{borderColor:Xe[t],backgroundColor:Xe[t]}:{borderColor:Ke(i),backgroundColor:Ke(i)}}function Sr({data:t}){const{isLoadingAnalytics:i,analyticsChosenRange:n}=v(),[a,o]=s.exports.useState(!0),[l,c]=s.exports.useState(!1),h=s.exports.useRef(null),[,m]=s.exports.useState();return s.exports.useEffect(()=>{h.current&&(l||c(!0))},[a]),r(_,{children:[e("div",{className:de(Qe.lineChart,i&&Qe.loading),children:e(Vt,{height:400,options:{maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{y:{beginAtZero:!0,min:0,grid:{drawBorder:!1,drawOnChartArea:!0,borderColor:"#ECECEC"},title:{display:!0,text:"Clicks"},ticks:{padding:15,backdropPadding:0}},x:{grid:{drawBorder:!1,drawOnChartArea:!1,borderColor:"#ECECEC"},ticks:{padding:5}}},interaction:{intersect:!1}},ref:h,data:{labels:t.line.labels.map(d=>Jt.unix(d).format(["weekly","monthly"].indexOf(n)>=0?"MMMM Do":"H:mm")),datasets:t.line.datasets.filter(d=>!d.unknown||d.unknown&&!a).map((d,p)=>C({label:d.name,data:d.values,totalClicks:d.totalClicks,tension:.5,pointRadius:5,pointHoverRadius:8},zr(p,d.id)))}})}),e(wr,{chart:h.current,onForceUpdate:()=>m({}),isLoading:i,showClicks:!0}),e("div",{style:{paddingTop:15},children:e(Kt,{control:e(Qt,{checked:a,size:"small"}),label:"Hide unknown (or deleted) buttons",onChange:()=>{o(!a),setTimeout(()=>{m({})},1)}})})]})}const Tr="_controls_a553e_1";var Br={controls:Tr};function Lr(){const{analyticsChosenRange:t,updateAnalyticsByTimeRange:i,isLoadingAnalytics:n}=v(),[a,o]=s.exports.useState(t);return r("div",{className:Br.controls,children:["Time controls:",r(Xt,{size:"small",style:{verticalAlign:"middle",marginLeft:15},children:[e(Zt,{id:"demo-multiple-name-label",children:"Time range"}),r(en,{labelId:"demo-multiple-name-label",id:"demo-multiple-name",value:a,onChange:l=>{const{target:{value:c}}=l;o(c),i(c)},input:e(tn,{label:"Time range"}),disabled:n,children:[e(be,{value:"today",children:"Today"},"today"),e(be,{value:"yesterday",children:"Yesterday"},"yesterday"),e(be,{value:"weekly",children:"This week (last 7 days)"},"weekly")]})]}),n&&e(G,{size:25,style:{verticalAlign:"middle",marginLeft:15}})]})}const $r="_title_zfqz7_1",Nr="_cardContainer_zfqz7_5",Ir="_chartContainer_zfqz7_9",Pr="_percentageContainer_zfqz7_14",Ar="_percentageColor_zfqz7_17",Rr="_percentage_zfqz7_14",Mr="_percentageLabel_zfqz7_28";var k={title:$r,cardContainer:Nr,chartContainer:Ir,percentageContainer:Pr,percentageColor:Ar,percentage:Rr,percentageLabel:Mr};Ie.register(Pe,Ae,Re,Me,De,Ee,Fe);function Dr({data:t}){const{isLoadingAnalytics:i}=v(),[n,a]=s.exports.useState(!0),[o,l]=s.exports.useState(!1),c=s.exports.useRef(null);return s.exports.useState(),s.exports.useEffect(()=>{c.current&&(o||l(!0))},[n]),e(_,{children:r("div",{className:de(k.cardContainer,i&&k.loading),children:[e(u,{variant:"body1",className:k.title,children:"Devices"}),e("div",{className:k.chartContainer,children:e(nn,{options:{cutout:"70%",plugins:{legend:{display:!1}}},data:{labels:["Desktop","Phone","Tablet"],datasets:[{label:"# of clicks",data:[t.devices.desktop,t.devices.phone,t.devices.tablet],backgroundColor:["#F08419","#F4A557","#F7BF87"],borderColor:["#F08419","#F4A557","#F7BF87"],borderWidth:1}]}})}),r(b,{container:!0,style:{padding:"0 13px"},children:[r(b,{item:!0,xs:4,className:k.percentageContainer,children:[e("div",{className:k.percentageColor,style:{backgroundColor:"#f4a557"}}),r(u,{className:k.percentage,children:[Math.round(t.devices.phone/t.total*100),"%"]}),e(u,{className:k.percentageLabel,children:"Mobile"})]}),r(b,{item:!0,xs:4,className:k.percentageContainer,children:[e("div",{className:k.percentageColor,style:{backgroundColor:"#F08419"}}),r(u,{className:k.percentage,children:[Math.round(t.devices.desktop/t.total*100),"%"]}),e(u,{className:k.percentageLabel,children:"Desktop"})]}),r(b,{item:!0,xs:4,className:k.percentageContainer,children:[e("div",{className:k.percentageColor,style:{backgroundColor:"#F7BF87"}}),r(u,{className:k.percentage,children:[Math.round(t.devices.tablet/t.total*100),"%"]}),e(u,{className:k.percentageLabel,children:"Tablet"})]})]})]})})}const Er="_title_va1ni_1",Fr="_gridHeight_va1ni_5",Wr="_barHeight_va1ni_12";var Ce={title:Er,gridHeight:Fr,barHeight:Wr};Ie.register(Pe,Ae,Re,Me,rn,De,Ee,Fe);function Or({data:t,siteInfo:i}){v();const[n,a]=s.exports.useState(!0),[o,l]=s.exports.useState(!1),c=s.exports.useRef(null);s.exports.useState(),s.exports.useEffect(()=>{c.current&&(o||l(!0))},[n]);const h=t&&t.countries.list.sort((d,p)=>{const y=t.countries.data[t.countries.list.indexOf(d)];return t.countries.data[t.countries.list.indexOf(p)]-y}).slice(0,5),m=t.countries.data.sort((d,p)=>p-d).slice(0,5);return r(_,{children:[r(b,{container:!0,children:[e(b,{item:!0,md:6,children:e(u,{variant:"body1",className:Ce.title,children:"Countries"})}),e(b,{item:!0,md:6,style:{textAlign:"right"},children:e(g,{startIcon:e(an,{}),href:P(`/analytics/${i.id}`),target:"_blank",children:"View worldmap"})})]}),e("div",{className:Ce.gridHeight,children:e("div",{className:Ce.barHeight,children:e(on,{width:400,options:{maintainAspectRatio:!1,barThickness:22,indexAxis:"y",plugins:{legend:{display:!1}},scales:{y:{grid:{display:!1}},x:{ticks:{callback:function(d){return d+"%"}}}}},data:{labels:h.map(d=>sn[d.toUpperCase()].name),datasets:[{axis:"y",label:"% of total clicks",data:m.map(d=>Math.round(d/t.total*100)),backgroundColor:["#F08419"],borderColor:["#F08419"]}]}})})})]})}const Hr="_styledContainer_u39ug_1",qr="_paragraph_u39ug_8",Ur="_button_u39ug_14";var we={styledContainer:Hr,paragraph:qr,button:Ur};function jr({siteInfo:t}){return r("div",{className:we.styledContainer,children:[e(u,{variant:"body1",color:"primary",className:we.paragraph,children:"Dive deeper into your Buttonizer Analytics"}),e(g,{variant:"contained",color:"primary",startIcon:e(ln,{}),href:P(`/analytics/${t.id}`),target:"_blank",className:we.button,children:"Open analytics dashboard"})]})}function Gr(){const{siteInfo:t,getAnalytics:i,analyticsData:n,isLoadingAnalytics:a}=v();return s.exports.useEffect(()=>{i()},[]),r(O,{className:Z.analytics,children:[r("div",{className:Z.tabsContainer,children:[r(cn,{value:0,className:Z.tabs,children:[e(Ye,{value:0,icon:e(dn,{}),iconPosition:"start",label:e(_,{children:"Button clicks"}),size:"small"}),e(Ye,{value:1,icon:e(ue,{size:"small",label:"Coming soon"}),iconPosition:"end",label:"Conversions",size:"small",disabled:!0})]}),e(Lr,{}),e("div",{children:e(ee,{title:"How do analytics work",placement:"left",children:e(Te,{href:"https://community.buttonizer.pro/knowledgebase/1280",target:"_blank",size:"small",children:e(ot,{})})})})]}),r("div",{className:n&&n.line.datasets.length>=1&&Z.analyticsContainer,children:[a&&n===null&&e("div",{className:Z.analyticsLoading,children:e(G,{size:50})}),!a&&!n&&e(te,{severity:"warning",children:"Woops, something went wrong loading analytics of your site."}),n&&n.line.datasets.length>=1&&r(_,{children:[e(Sr,{data:n,loading:a}),r(b,{container:!0,spacing:3,style:{marginTop:0},children:[e(b,{item:!0,style:{maxWidth:365},children:e(Dr,{data:n,loading:a})}),e(b,{item:!0,md:!0,children:e(Or,{data:n,siteInfo:t,loading:a})})]})]}),n&&n.line.datasets.length===0&&r(te,{severity:"info",icon:e(un,{}),style:{marginTop:15},children:[e(V,{children:"Waiting for data..."}),r("div",{children:[e(u,{variant:"body1",fontSize:15,children:"Currently we don't have any click data to show you. As soon someone clicked one of your buttons, analytics will become visible here."}),e(u,{variant:"body1",fontSize:15,style:{marginTop:15},children:"Check back later \u{1F680}"})]})]})]}),e(jr,{siteInfo:t})]})}function Yr(){const{siteInfo:t,startSession:i,sessionStarting:n}=v();return r(_,{children:[r(O,{children:[e(u,{type:"header",color:"primary",children:"Manage your Buttonizer instance"}),e(u,{type:"body1",color:"primary",children:"Welcome to your Buttonizer for WordPress dashboard. Here are a few quick-tools to manage your Buttonizer."}),e(g,{variant:"outlined",onClick:i,endIcon:n&&e(G,{size:20,style:{marginLeft:8}}),disabled:n,children:"Edit buttons"}),e(g,{style:{marginLeft:10},color:"secondary",href:P(`/sites/${t.id}/settings`),target:"_blank",type:"link",children:"Open site settings"})]}),e(Gr,{})]})}const Vr=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function Jr({open:t,onClose:i=()=>{}}){var h;const{setActionLock:n}=v(),[a,o]=s.exports.useState(!1),l=()=>{a||i()},c=()=>{a||(o(!0),L("/disconnect").then(({data:m})=>{n("setup"),i()}).catch(()=>o(!1)))};return r(pe,{open:t,onClose:l,TransitionComponent:Vr,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Are you sure you want to disconnect?"}),r(ge,{children:[r(J,{id:"alert-dialog-description",children:["You will disconnect your Buttonizer instance from your site"," ",e("b",{children:(h=buttonizer_admin==null?void 0:buttonizer_admin.site)==null?void 0:h.domain}),". You will be able to sign in with another account."]}),e(J,{id:"alert-dialog-description-p2",style:{marginTop:15},children:"Are you sure you want to disconnect?"})]}),r(fe,{children:[e(g,{disabled:a,onClick:l,children:"Cancel"}),e(g,{disabled:a,color:"secondary",onClick:c,autoFocus:!0,children:"Disconnect"})]})]})}function Kr(){const[t,i]=s.exports.useState(!1);return r(_,{children:[r(O,{children:[e(u,{type:"header",color:"primary",children:"Disconnect Buttonizer"}),e(u,{variant:"body1",color:"primary",children:"Did you create a new instance or do you want to sign in with a different account? Disconnect Buttonizer from your WordPress site."}),e(g,{variant:"outlined",onClick:()=>i(!0),children:"Disconnect"})]}),e(Jr,{open:t,onClose:()=>i(!1)})]})}const Qr="_table_13k7q_1";var Ze={table:Qr};function Xr(){const{parseAccountData:t,isPremium:i,accountData:n,siteInfo:a,planInfo:o}=v(),[l,c]=s.exports.useState(!1),[h,m]=s.exports.useState(!1),d=()=>{l||(c(!0),L("/sync").then(({data:y})=>{t(y.data),m(!0),setTimeout(()=>{m(!1)},5e3)}).catch(()=>{}).then(()=>c(!1)))},p=()=>i?e(ue,{label:"PRO",color:"secondary"}):e(ue,{label:"FREE"});return r(O,{children:[r(b,{container:!0,children:[e(b,{item:!0,md:6,children:r("table",{className:Ze.table,children:[e("tr",{colspan:"2",children:e("th",{children:e(u,{variant:"body1",color:"primary",style:{fontWeight:600},children:"Site information:"})})}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Account name:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:n.name})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Site ID:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:a.id})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Timezone:"})}),e("td",{children:r(u,{variant:"body2",color:"primary",children:[a.timezone," (",e(B,{href:P(`/sites/${a.id}/settings`),target:"_blank",color:"secondary",children:"Change"}),")"]})})]})]})}),e(b,{item:!0,md:6,children:r("table",{className:Ze.table,children:[e("tr",{colspan:"2",children:e("th",{children:e(u,{variant:"body1",color:"primary",style:{fontWeight:600},children:"License information:"})})}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Plan:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:o.name})})]}),o.hasPlan&&r(_,{children:[r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Subscription status:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:o.cancelled?"Cancelled":"Active"})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"License status:"})}),e("td",{children:p()})]})]})]})})]}),e(u,{variant:"body2",color:"primary",children:"Did you change a button or account information in the Buttonizer dashboard and do not see the changes in the Buttonizer for WordPress plugin?"}),e(u,{variant:"body2",color:"primary",children:"Click the sync button below to retrieve the data from the Buttonizer dashboard."}),r(b,{container:!0,justifyContent:"space-between",children:[e(g,{variant:"outlined",onClick:d,disabled:l||h,endIcon:l&&e(G,{size:20,style:{marginLeft:8}})||h&&e(Ne,{}),children:"Sync with dashboard"}),e(g,{color:"secondary",endIcon:e(Le,{}),href:P(`/sites/${a.id}`),target:"_blank",type:"link",children:"View more site info"})]})]})}const Zr=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function ei({open:t,onClose:i=()=>{}}){const{setHasMigrated:n,setLegacyBackupDeleted:a}=v(),[o,l]=s.exports.useState(!1),c=()=>{o||i()};return r(pe,{open:t,onClose:c,TransitionComponent:Zr,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Happy with the upgrade?"}),e(ge,{children:e(J,{id:"alert-dialog-description",children:"Are you satiesfied with the 3.0 update? If so then you can remove the old Buttonizer data to clean up unused data in your database."})}),r(fe,{children:[e(g,{disabled:o,onClick:c,children:"Cancel"}),e(g,{disabled:o,color:"secondary",onClick:()=>{o||(l(!0),L("/delete_legacy_backup").then(()=>{a(!0),n(!1),i()}).catch(()=>l(!1)))},autoFocus:!0,children:"Confirm"})]})]})}const ti=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function ni({open:t,onClose:i=()=>{}}){const[n,a]=s.exports.useState(!1),o=()=>{n||i()},l=()=>{n||(a(!0),L("/revert_legacy").then(()=>{document.location.href=`${buttonizer_admin.admin}?page=Buttonizer`}).catch(()=>a(!1)))};return n&&t?r(hn,{open:t,sx:{background:"#f0f0f1"},children:[e(pn,{styles:{body:{overflow:"hidden"}}}),e(ye,{text:"Reverting..."})]}):r(pe,{open:t,onClose:o,TransitionComponent:ti,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Go back Buttonizer version 2.x"}),e(ge,{children:r(J,{id:"alert-dialog-description",children:["Don't like the changes in the 3.0 update? Did you perhaps encounter any issues or have any feedback? Please let us know so that we may improve it in the future."," ",e(B,{color:"secondary",href:"mailto:contact@buttonizer.pro",children:"contact@buttonizer.pro"})]})}),r(fe,{children:[e(g,{disabled:n,onClick:o,children:"Cancel"}),e(g,{disabled:n,color:"secondary",onClick:l,autoFocus:!0,children:"I am sure"})]})]})}function ri(){const[t,i]=s.exports.useState(!1),[n,a]=s.exports.useState(!1);return r(_,{children:[r(O,{children:[e(u,{type:"header",color:"primary",children:"Remove unused 2.x data"}),e(u,{variant:"body1",color:"primary",children:"Remove the old Buttonizer data in your database."}),e(g,{variant:"outlined",onClick:()=>i(!0),children:"Remove 2.x data"}),e(u,{type:"header",color:"primary",children:"Go back to Buttonizer version 2.x"}),e(u,{variant:"body1",color:"primary",children:"Don't like the changes in the new version?"}),e(g,{variant:"outlined",onClick:()=>a(!0),children:"Return to 2.x"})]}),e(ei,{open:t,onClose:()=>i(!1)}),e(ni,{open:n,onClose:()=>a(!1)})]})}const ii="_listItem_8c466_1",ai="_selectContainer_8c466_5";var et={listItem:ii,selectContainer:ai};function oi(t,i){const n=[];return t||(t=[]),i.forEach(a=>{(t.indexOf(a.id)!==-1||a.id==="administrator")&&n.push(a)}),n}function si({additionalPermissions:t,setAdditionalPermissions:i,saving:n=!1}){const a=window.buttonizer_admin.available_roles,[o,l]=s.exports.useState(oi(t,a)),[c,h]=s.exports.useState(!1),m=d=>{const p=[];d.forEach(y=>{y.id!=="administrator"&&p.push(y.id)}),i(p)};return r(ne,{disableGutters:!0,className:et.listItem,children:[e(j,{children:e(mn,{})}),e(I,{primary:"Permissions",secondary:"You can grant more roles to access the Buttonizer settings who are not an administrator."}),e("div",{className:et.selectContainer,children:e(gn,{multiple:!0,size:"small",disableCloseOnSelect:!0,disableClearable:!0,options:a.filter(d=>d.id!=="guest"),filterSelectedOptions:!0,getOptionLabel:d=>d.name,value:o,style:{marginTop:10},fullWidth:!0,onOpen:()=>h(!0),onClose:()=>{h(!1),m(o)},loading:n,onChange:(d,p)=>{p.length!=0&&(l(p),c||m(p))},renderTags:(d,p)=>d.map((y,w)=>e(ue,H(C({label:y.name},p({index:w})),{disabled:y.id==="administrator"}))),noOptionsText:"Role not found",renderInput:d=>e(fn,H(C({},d),{variant:"outlined",label:"Select roles",placeholder:"Select one or more items",disabled:n,InputProps:H(C({},d.InputProps),{"data-testid":"pagerule:autocomplete-input"}),helperText:e(B,{href:"https://community.buttonizer.pro/knowledgebase/507",target:"_blank",children:"Need help? Learn how to use Permissions."})}))})})]})}function li(){const[t,i]=s.exports.useState(window.buttonizer_admin.settings),[n,a]=s.exports.useState(!1),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(window.buttonizer_admin.settings.adminTopBarButtonEnabled),[m,d]=s.exports.useState(window.buttonizer_admin.settings.canSendErrors),[p,y]=s.exports.useState(window.buttonizer_admin.settings.accessRoles),w=()=>{o||(l(!0),L("/settings",{data:{admin_top_bar_show_button:c,can_send_errors:m,additional_permissions:p}}).then(()=>{}).catch(()=>{}).then(()=>{i({adminTopBarButtonEnabled:c,canSendErrors:m,accessRoles:p}),a(!1),l(!1)}))};return s.exports.useEffect(()=>{a(t.adminTopBarButtonEnabled!==c||t.canSendErrors!==m||t.accessRoles!==p)},[c,m,p]),r(O,{children:[e(u,{type:"header",color:"primary",children:"Preferences"}),r($e,{disablePadding:!0,dense:!0,children:[r(ne,{disableGutters:!0,children:[e(j,{children:e(yn,{})}),e(I,{primary:"Show admin top bar",secondary:"Hide Buttonizer in the admin top bar by disabling this setting.",onClick:()=>{o||h(!c)}}),e(Ve,{edge:"end",color:"primary",checked:c,onChange:z=>h(z.target.checked),disabled:o})]}),r(ne,{disableGutters:!0,children:[e(j,{children:e(bn,{})}),e(I,{primary:"Automatic error logging and crash reporting",secondary:"Enable automatic error logging and crash reporting in order to help us solve issues within Buttonizer! All data is anonymized automatically.",onClick:()=>{o||d(!m)}}),e(Ve,{edge:"end",color:"primary",checked:m,onChange:z=>d(z.target.checked),disabled:o})]}),e(si,{saving:o,additionalPermissions:p,setAdditionalPermissions:y}),e(g,{variant:"contained",onClick:w,disabled:!n||o,endIcon:o&&e(G,{size:20,style:{marginLeft:8}}),style:{marginTop:15},children:"Save changes"})]})]})}function ci(){const{setLegacyBackupDeleted:t}=v();return r(te,{severity:"success",variant:"outlined",action:e(Te,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{t(!1)},children:e(at,{fontSize:"inherit"})}),style:{marginTop:15,background:"#edf7ed"},children:[e(V,{children:"You have deleted your old data."}),"Have fun with the new version of Buttonizer! :)"]})}function di(){const{hasMigrated:t,legacyBackupDeleted:i}=v();return r(_,{children:[e(li,{}),e(Xr,{}),e(Kr,{}),t&&window.buttonizer_admin.isAdmin==="1"&&e(ri,{}),i&&e(ci,{})]})}const ui="_avatar_yq9q0_1",hi="_listItem_yq9q0_5",pi="_secondaryInfo_yq9q0_9";var ke={avatar:ui,listItem:hi,secondaryInfo:pi};function mi(){const t=re(),{parseAccountData:i,setConnectionSuccessfull:n,setActionLock:a}=v(),[o,l]=s.exports.useState(!1);if(o)return e(ye,{text:"Connecting..."});const c=(h,m)=>r(ne,{className:ke.listItem,children:[e(st,{children:e(lt,{className:ke.avatar,children:e(Ne,{})})}),e(I,{secondary:m,secondaryTypographyProps:{className:ke.secondaryInfo},primary:h})]});return r(_,{children:[e(mt,{children:r(b,{container:!0,style:{height:"100%"},direction:"row",children:[e(b,{item:!0,container:!0,justifyContent:"center",direction:"column",alignContent:"center",md:6,sm:12,sx:{margin:"20px 0"},children:r("div",{children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",style:{height:50}}),e(u,{style:{fontSize:27,fontWeight:600,marginTop:30},children:"Buttonizer has been installed,"}),e(u,{style:{fontSize:25},children:"you are ready to make some buttons!"}),r("div",{style:{marginTop:30,maxWidth:300},children:[e(ht,{buttonProps:{variant:"contained",size:"large",color:"secondary",endIcon:e(Le,{}),sx:{padding:"15px 30px"}},buttonText:"Start using Buttonizer",onConnect:h=>{l(!1),a("no-lock"),i(h.data),n(!0),t("/")},onLoading:h=>l(h)}),e(u,{style:{fontSize:15,marginTop:20,marginBottom:60},children:"Go to your dashboard to create, manage and edit your buttons."})]})]})}),r(b,{container:!0,justifyContent:"center",alignContent:"center",direction:"column",item:!0,md:6,sm:12,sx:{margin:"20px 0"},children:[e(u,{style:{fontSize:27,fontWeight:600},children:"This is Buttonizer"}),r($e,{size:"large",children:[c("WhatsApp Button"),c("Facebook messenger"),c("Social media sharing"),c("Navigate with URL"),c("Open pop up"),c("And many more options!")]})]})]})}),e(pt,{})]})}const gi="_helpContainer_jsvok_1",fi="_cardButton_jsvok_5",yi="_helpContainerText_jsvok_33";var ce={helpContainer:gi,cardButton:fi,helpContainerText:yi};function bi(){const t=({imgSrc:i,href:n,title:a,description:o,button:l="Learn more"})=>e(vn,{children:e(_n,{href:`${n}?utm_source=wp-plugin-support`,type:"link",target:"_blank",className:ce.cardButton,children:r(Cn,{className:ce.cardContent,children:[e("img",{src:i,alt:"Knowledge base",draggable:!1}),e(u,{variant:"h5",children:a}),e(u,{className:ce.helpContainerText,color:"textSecondary",component:"div",children:o}),e(g,{endIcon:e(wn,{}),color:"secondary",children:l})]})})});return r("div",{children:[r(O,{children:[e(u,{color:"primary",type:"header",children:"Need some help?"}),e(u,{type:"content",color:"primary",children:"Do you need some help? We can help you with everything! Check out our Buttonizer Community, knowledge base or we can help you with our support."})]}),r("div",{className:ce.helpContainer,children:[e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/knowledge-base.svg`,title:"Knowledge base",description:"Learn how to use our application like a pro",href:"https://r.buttonizer.io/support/knowledgebase"}),e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/community.svg`,title:"Forums",description:"Give and Get help from your peers and our team",href:"https://r.buttonizer.io/support/community"}),e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/tickets.svg`,title:"Tickets",description:"Need support that requires privacy? Submit a private ticket",href:"https://r.buttonizer.io/support/tickets"})]})]})}function vi(){return r(O,{children:[e(u,{type:"header",color:"primary",children:"Oh no! Page not found :("}),r(u,{type:"body1",color:"primary",children:["Sorry about that. If we linked to something wrong in our plugin, please let us know by giving us feedback"," ",e(B,{href:"https://community.buttonizer.pro/",target:"_blank",color:"secondary",children:"on our Buttonizer Community!"})]}),e(g,{component:kn,to:"/",variant:"outlined",type:"link",children:"Back to overview"})]})}const _i={blogs:"wp/v2/posts?_fields[]=title&_fields[]=id",pages:"wp/v2/pages?_fields[]=title&_fields[]=id",categories:"wp/v2/categories?_fields[]=name&_fields[]=id"};function Ci(t,i){if(t==="roles"){i(window.buttonizer_admin.available_roles);return}return xe({url:`${buttonizer_admin.api}${_i[t]}&per_page=100`,method:"GET",headers:{"X-WP-Nonce":buttonizer_admin.nonce}}).then(({data:n})=>{i(n.map(({id:a,title:o,name:l=null})=>{var c;return{id:a,name:(c=o==null?void 0:o.rendered)!=null?c:l}}))}).catch(()=>{})}const wi="_iframe_13azj_1";var ki={iframe:wi};const tt=(t,i,n,a={})=>{t.contentWindow.postMessage({eventType:"buttonizer",messageType:n,message:a},i)};function nt(){const t=re(),i=s.exports.useRef(),{cachedEditorSession:n,setCachedEditorSession:a,sessionStarting:o,startSession:l}=v();return s.exports.useEffect(()=>{n===null&&!o&&l()},[n]),s.exports.useEffect(()=>{const c=({data:h,origin:m})=>{const{eventType:d,messageType:p,message:y}=h;d==="buttonizer"&&(p==="connection"&&y==="ready"&&tt(i.current,m,"platform","wordpress"),p==="close_editor"&&t("/"),p==="request_data"&&Ci(y,w=>{tt(i.current,m,`reply_${y}`,w)}))};return window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c),a(null)}},[]),!n||o?e(ye,{text:"Starting editor session..."}):e("iframe",{src:An(n),className:ki.iframe,ref:i,referrerPolicy:"origin"})}function xi(){const{actionLock:t}=v();return t==="editor"?e(nt,{}):t==="migration"?e(lr,{}):t==="setup"?e(mi,{}):e(xn,{children:r(q,{path:"/",element:e(Kn,{}),children:[e(q,{path:"/",element:e(zn,{to:"/overview",replace:!0})}),e(q,{path:"/overview",element:e(Yr,{})}),e(q,{path:"/settings",element:e(di,{})}),e(q,{path:"/support",element:e(bi,{})}),e(q,{path:"/editor",element:e(nt,{})}),e(q,{path:"*",element:e(vi,{})})]})})}const zi="https://84c09e1dec414d9aa9a7663511fb3027@tracker.buttonizer.pro/7",Si={}.VITE_APP_VERSION;Sn({dsn:zi,integrations:[new Tn],release:Si,environment:"development",tracesSampleRate:1,beforeSend:t=>{var i;return(i=buttonizer_admin==null?void 0:buttonizer_admin.settings)!=null&&i.canSendErrors?t:null}});Bn.createRoot(document.getElementById("root")).render(e(Ln,{injectFirst:!0,children:e(it,{theme:ct,children:e(Mn,{children:e(xi,{})})})}));
|
|
|
|
|
|
assets/app/index.98ed7c71.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
var wt=Object.defineProperty,Ct=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var qe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var He=(t,i,n)=>i in t?wt(t,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[i]=n,C=(t,i)=>{for(var n in i||(i={}))qe.call(i,n)&&He(t,n,i[n]);if(se)for(var n of se(i))Ue.call(i,n)&&He(t,n,i[n]);return t},q=(t,i)=>Ct(t,kt(i));var je=(t,i)=>{var n={};for(var a in t)qe.call(t,a)&&i.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&se)for(var a of se(t))i.indexOf(a)<0&&Ue.call(t,a)&&(n[a]=t[a]);return n};import{c as rt,a as Ge,b as ze,R as xe,u as re,r as s,j as e,d as r,J as zt,e as Se,F as w,L as xt,C as G,B as g,E as St,T as it,S as Tt,H as Bt,A as ne,I as Te,f as at,g as J,h as u,i as Lt,k as $t,l as L,m as At,n as Nt,P as Be,G as b,o as It,p as Pt,q as Rt,M as Mt,s as le,t as O,v as Dt,w as I,x as Et,y as Ft,D as Wt,z as Ot,K as te,N as Ht,O as qt,Q as Ut,U as jt,V as Gt,W as he,X as pe,Y as me,Z as ge,_ as K,$ as ye,a0 as ot,a1 as Le,a2 as $e,a3 as V,a4 as st,a5 as lt,a6 as Ae,a7 as de,a8 as Ne,a9 as Ie,aa as Pe,ab as Re,ac as Me,ad as De,ae as Ee,af as Fe,ag as Yt,ah as Vt,ai as Jt,aj as Kt,ak as Qt,al as Xt,am as Zt,an as en,ao as tn,ap as be,aq as nn,ar as rn,as as an,at as on,au as sn,av as ln,aw as cn,ax as Ye,ay as dn,az as ue,aA as un,aB as hn,aC as pn,aD as mn,aE as gn,aF as yn,aG as fn,aH as Ve,aI as bn,aJ as vn,aK as _n,aL as wn,aM as Cn,aN as kn,aO as zn,aP as xn,aQ as U,aR as Sn,aS as Tn,aT as Bn,aU as Ln,aV as $n}from"./vendor.3e5e4aba.js";const An=function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerpolicy&&(l.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?l.credentials="include":o.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}};An();let x=rt({palette:{primary:{main:"#2D7789",contrastText:"#FFFFFF"},secondary:{main:"#f08419",contrastText:"#FFFFFF"},white:{main:"#FFFFFF",contrastText:"#2D7789"},black:{main:"#111111",contrastText:"#2D7789"}},typography:{fontFamily:["BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue","sans-serif"].join(",")},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,navigation:1090}}});x=rt(x,{components:{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:x.palette.secondary.main,backgroundColor:Ge(x.palette.secondary.main,.08),"&:hover":{backgroundColor:Ge(x.palette.secondary.main,.12)},"& .MuiListItemIcon-root":{color:x.palette.secondary.main}}}}},MuiLink:{styleOverrides:{root:{textDecoration:"none","&:hover":{textDecoration:"underline"}}}},MuiButton:{styleOverrides:{root:{borderRadius:50,padding:"8px 18px"}},variants:[{props:{type:"link"},style:({ownerState:t})=>C({},t.variant==="contained"?{color:x.palette[t.color].contrastText,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette[t.color].contrastText},"&:hover":{color:x.palette[t.color].contrastText}}:{color:x.palette[t.color].main,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette[t.color].main},"&:hover":{color:x.palette[t.color].main}})},{props:{type:"link-small"},style:{padding:"5px 5px",textTransform:"none",minWidth:35,color:x.palette.primary.main,"&:focus":{outline:"unset",boxShadow:"unset",color:x.palette.primary.main},"&:hover":{color:x.palette.primary.main}}}]},MuiPaper:{styleOverrides:{root:{borderRadius:10,position:"relative"}},variants:[{props:{type:"wrapper"},style:{padding:"15px 30px"}}]},MuiTypography:{variants:[{props:{type:"header"},style:{fontSize:"1rem",fontWeight:600}},{props:{type:"content"},style:{fontSize:"1em"}}]},MuiTab:{variants:[{props:{size:"small"},style:{textTransform:"unset",minHeight:42}}]},MuiList:{variants:[{props:{size:"large"},style:{"& .MuiListItem-root":{padding:"5px 16px"},"& .MuiAvatar-root":{width:30,height:30},"& .MuiTypography-root":{fontSize:"1.2rem"}}}]}}});var ct=x;function $(t,i={},n="POST"){return ze({url:`${buttonizer_admin.api}buttonizer${t}?nonce=${buttonizer_admin.nonce}`,method:n,data:i,headers:{"X-WP-Nonce":buttonizer_admin.nonce}})}const dt=xe.createContext(),Nn=t=>{const i=re(),[n,a]=s.exports.useState("no-lock"),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(!1),[m,d]=s.exports.useState(!1),[p,f]=s.exports.useState(!1),[v,B]=s.exports.useState({}),[A,k]=s.exports.useState({}),[S,R]=s.exports.useState({}),[Q,M]=s.exports.useState(!1);s.exports.useState(null);const[Y,ie]=s.exports.useState(null),[D,N]=s.exports.useState(!1),[T,ae]=s.exports.useState(null),[oe,gt]=s.exports.useState("weekly"),We=y=>{B({name:y==null?void 0:y.name,id:y==null?void 0:y.uid}),k({id:y==null?void 0:y.site_id,timezone:y==null?void 0:y.site_timezone,isPremium:y==null?void 0:y.site_licensed}),R({name:y==null?void 0:y.plan_name,id:y==null?void 0:y.plan_id,hasPlan:(y==null?void 0:y.plan_id)!==null,cancelled:y==null?void 0:y.plan_cancelled})},yt=()=>{Q||(Y!==null&&i("/editor"),M(!0),$("/editor_start_session").then(({data:y})=>{ie(y),i("/editor")}).catch(()=>{}).then(()=>M(!1)))},ft=()=>{T===null&&Oe()},Oe=(y=null)=>{y||(y=oe),N(!0),$("/analytics/overview",{type:y}).then(({data:_t})=>{ae(_t.data),gt(y)}).catch(()=>{}).then(()=>N(!1))};s.exports.useEffect(()=>{a(window.buttonizer_admin.actionLock),l(!!window.buttonizer_admin.hasMigrated),d(!!window.buttonizer_admin.requestReview),We(window.buttonizer_admin.account)},[]);const bt={actionLock:n,hasMigrated:o,legacyBackupDeleted:c,connectionSuccesfull:p,isPremium:A.isPremium,accountData:v,siteInfo:A,planInfo:S,sessionStarting:Q,cachedEditorSession:Y,requestReview:m,isLoadingAnalytics:D,analyticsData:T,analyticsChosenRange:oe},vt={setActionLock:a,setHasMigrated:l,setLegacyBackupDeleted:h,parseAccountData:We,setConnectionSuccessfull:f,setCachedEditorSession:ie,setRequestReview:d,startSession:yt,getAnalytics:ft,updateAnalyticsByTimeRange:Oe};return e(dt.Provider,C({value:C(C({},bt),vt)},t))},_=()=>{const t=xe.useContext(dt);if(t===void 0)throw new Error("useApp must be used within a AppProvider");return t},In="https://app.buttonizer.io",Pn="https://editor.buttonizer.io/site/";function P(t="/"){return In+t}function Rn(t){return`${Pn}${t.redirect_id}#auth-token=${t.token}`}function fe({text:t="Loading..."}){return r("div",{className:"buzzy-animation",children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/icon-animated.svg`})," ",e("span",{children:t})]})}const ut=new zt;let ve=null,E=null;function ht({buttonProps:t,buttonText:i="Connect",onConnect:n,onLoading:a=()=>{},reconnect:o=!1}){const{enqueueSnackbar:l,closeSnackbar:c}=Se(),[h,m]=s.exports.useState(!1),[d,p]=s.exports.useState(!1),[f,v]=s.exports.useState(!1),B=buttonizer_admin.site,A=()=>{if(h&&E){E.focus();return}m(!0),p(!1);const k=P(`/apps/onboard?app_origin=wordpress&site_name=${encodeURIComponent(B.name)}&domain=${encodeURIComponent(B.domain)}&email=${encodeURIComponent(B.user.email)}&first_name=${encodeURIComponent(B.user.firstName)}&last_name=${encodeURIComponent(B.user.lastName)}`);E=window.open(k,"connectPopup",`width=500,height=580,top=${window.innerHeight/2-580/2},left=${window.innerWidth/2-500/2},status=no,scrollbars=yes,resizable=no`);try{E.focus()}catch{l("Could not open authorization popup. Your browser might have blocked it. Please add this site to your exception list.",{anchorOrigin:{vertical:"bottom",horizontal:"center",autoHideDuration:1e4},action:R=>[e(g,{href:"https://community.buttonizer.pro/knowledgebase/1208",target:"_blank",color:"secondary",children:"More information"}),e(g,{onClick:()=>c(R),children:"Close"})]})}ve=setInterval(()=>{if(!E){clearInterval(ve);return}E.closed&&(clearInterval(ve),E=null,m(!1))})};return s.exports.useEffect(()=>{const k=S=>{!S.isTrusted||S.origin!==P("")||S.data.messageType==="connect-info"&&(E.close(),v(!0),a(!0),$("/connect",{siteId:S.data.id,authorization:S.data.authorization,reconnect:o}).then(({data:R})=>{ut.addConfetti(),n(R)}).catch(()=>{v(!1),a(!1),p(!0)}))};return window.addEventListener("message",k),function(){window.removeEventListener("message",k)}},[]),e(w,{children:e(xt,q(C({onClick:A,loading:f,loadingIndicator:e(G,{size:20,style:{color:"white"}})},t),{children:i}))})}function Mn({children:t}){const{parseAccountData:i,setConnectionSuccessfull:n}=_(),{enqueueSnackbar:a,closeSnackbar:o}=Se();return s.exports.useEffect(()=>{ze.interceptors.response.use(l=>l,l=>{let c=`Oops, something went wrong. Error status ${l.response.status} (${l.response.statusText}). Your webserver might be unable to handle this request, there's an issue with your WordPress instance or you have insufficient permissions to execute this request.`,h=!0,m=!1,d=1207,p=null;return l.response.data&&(l.response.data.code==="buttonizer_api_server_error"?d=1213:h=!1,l.response.data.code==="buttonizer_token_expired"&&(m=!0),l.response.data.data&&l.response.data.data.message&&l.response.data.data.message!==""&&(p=l.response.data.data.message),c=`${l.response.data.message} (Error code: ${l.response.data.code})`),a(c,{anchorOrigin:{vertical:"bottom",horizontal:"center"},autoHideDuration:null,action:f=>[h&&e(g,{href:`https://community.buttonizer.pro/knowledgebase/${d}`,target:"_blank",color:"secondary",children:"More information"}),m&&e(ht,{onConnect:v=>{o(f),i(v.data),n(!0)},reconnect:!0,buttonProps:{color:"secondary"},buttonText:"Reconnect"}),p!==null&&e(g,{color:"secondary",onClick:()=>alert(`The response message we received was:
|
2 |
+
|
3 |
+
${p}`),children:"Debug"}),e(g,{onClick:()=>o(f),children:"Close"})]}),Promise.reject(l)})},[]),t}function Dn({children:t}){return e(xe.StrictMode,{children:e(St,{fallback:r("p",{children:["We're sorry! Our dashboard has crashed, we have been notified about the error. Please refresh the page"," ",e("a",{href:"./admin.php?page=Buttonizer",children:"or start from the beginning"}),"."]}),showDialog:!0,children:e(it,{theme:ct,children:e(Tt,{maxSnack:3,children:e(Bt,{children:e(Nn,{children:e(Mn,{children:t})})})})})})})}const En="_title_c66ps_1",Fn="_logo_c66ps_9",Wn="_navLinks_c66ps_15",On="_pluginMenuListIcon_c66ps_19",Hn="_divider_c66ps_23";var F={title:En,logo:Fn,navLinks:Wn,pluginMenuListIcon:On,divider:Hn};function qn(){const{connectionSuccesfull:t,setConnectionSuccessfull:i,hasMigrated:n}=_(),a=()=>{i(!1)};return t?r(ne,{severity:"success",variant:"outlined",action:e(Te,{"aria-label":"close",color:"inherit",size:"small",onClick:a,children:e(at,{fontSize:"inherit"})}),style:{marginTop:15,background:"#edf7ed"},children:[!n&&r(w,{children:[e(J,{children:"Buttonizer has been set up. Happy conversion \u{1F680}"}),r(u,{variant:"body1",children:["Start building by clicking the '",e("b",{children:"Edit buttons"}),"' button in the section below."]})]}),n&&r(w,{children:[e(J,{children:"Your Buttonizer account has been connected. Happy conversion \u{1F680}"}),r(u,{variant:"body1",children:["Buttonizer should now be visible on your WordPress website. Manage your buttons by clicking the '",e("b",{children:"Edit buttons"}),"' button in the section below."]}),r(u,{variant:"body1",style:{marginTop:15},children:[e("b",{children:"Tip:"})," If you have a caching plugin active, we recommend to clear your site's cache."]})]})]}):null}function Je(t){return $("/settings",{data:t})}function Un(){const{requestReview:t,setRequestReview:i}=_(),[n,a]=s.exports.useState(!1),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(!1),m=()=>{i(!1)},d=()=>{c||(h(!0),Je({remindForReview:!0}).then(()=>m()).catch(()=>{}).then(()=>h(!1)))},p=()=>{c||(h(!0),Je({markAsReviewed:!0}).then(()=>m()).catch(()=>{}).then(()=>h(!1)))};return t?r(ne,{severity:"info",variant:"outlined",style:{marginTop:15,background:"#e5f6fd"},children:[!n&&!o&&r(w,{children:[e(J,{children:"Are you enjoying Buttonizer? We really hope you do!"}),e(u,{variant:"body1",children:"Would you like to review us on WordPress and share your experience? This way you support us developing new features for Buttonizer and spread the love!"}),r("div",{style:{marginTop:15},children:[e(g,{variant:"outlined",href:"https://r.buttonizer.io/review/wordpress",target:"_blank",startIcon:e(Lt,{}),style:{marginRight:15},onClick:()=>a(!0),disabled:c,children:"Yes, I like Buttonizer"}),e(g,{startIcon:e($t,{}),style:{marginRight:15},href:"https://r.buttonizer.io/feedback",target:"_blank",disabled:c,onClick:()=>l(!0),children:"No, send feedback"}),e("div",{style:{float:"right"},children:e(g,{disabled:c,onClick:d,children:"Remind me later"})})]})]}),(n||o)&&r(w,{children:[e(J,{children:n?"We're really happy to hear that \u{1F389}":"We'll do better! We promise"}),n&&r(w,{children:[r(u,{variant:"body1",children:["If we can help you with anything, or you have cool idea's or great feedback,"," ",e(L,{href:"https://r.buttonizer.io/feedback",target:"_blank",color:"secondary",children:"just reach out to us"}),"! We always reply :)"]}),r(u,{variant:"body1",style:{marginTop:15},children:["If you have closed the window that just opened and you still like to review us,"," ",e(L,{href:"https://r.buttonizer.io/review/wordpress",target:"_blank",color:"secondary",children:"click this link"}),"!"]})]}),!n&&r(u,{variant:"body1",children:["If there's anything else what we can help you with,"," ",e(L,{href:"https://r.buttonizer.io/feedback",target:"_blank",color:"secondary",children:"just reach out to us"}),"! We always reply :)"]}),e("div",{style:{marginTop:15},children:e(g,{startIcon:e(At,{}),onClick:()=>{ut.addConfetti(),i(!1),p()},disabled:c,children:n?"Celebrate in silence":"Close with confetti"})})]})]}):null}function jn(){const{startSession:t,sessionStarting:i}=_();let n=re(),a=Nt();const[o,l]=s.exports.useState(!1),c=s.exports.useRef();return r("div",{style:{marginBottom:40},children:[e(Be,{type:"wrapper",children:r(b,{container:!0,children:[r(b,{item:!0,container:!0,style:{alignItems:"center"},navigation:!0,children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",className:F.logo,draggable:!1}),e(u,{className:F.title,color:"primary",children:"Buttonizer for WordPress"})]}),r(b,{item:!0,container:!0,justifyContent:"space-between",navigation:"auto",className:F.navLinks,children:[e(g,{onClick:()=>{n("/overview")},color:a.pathname==="/overview"?"secondary":"primary",children:"Home"}),e(g,{onClick:()=>{n("/settings")},color:a.pathname==="/settings"?"secondary":"primary",children:"Settings"}),e(g,{onClick:()=>{l(!0)},ref:c,endIcon:o?e(It,{}):e(Pt,{}),color:a.pathname==="/support"?"secondary":"primary",children:"More actions"}),e(g,{variant:"contained",onClick:t,endIcon:i&&e(G,{size:20,style:{marginLeft:8}}),disabled:i,children:"Edit buttons"})]})]})}),e(qn,{}),e(Un,{}),e(Rt,{open:o&&c.current,anchorEl:c.current,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:()=>{l(!1)},onClick:()=>l(!1),children:r(Mt,{children:[r(le,{onClick:()=>{n("/support")},selected:a.pathname==="/support",children:[e(O,{className:F.pluginMenuListIcon,children:e(Dt,{fontSize:"small"})}),e(I,{primary:"Support"})]}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/")},children:[e(O,{className:F.pluginMenuListIcon,children:e(Et,{fontSize:"small"})}),e(I,{primary:"Sites overview"})]}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/affiliate")},children:[e(O,{className:F.pluginMenuListIcon,children:e(Ft,{fontSize:"small"})}),e(I,{primary:"Afilliate program",secondary:"Promote Buttonizer and earn $"})]}),e(Wt,{className:F.divider}),r(le,{onClick:()=>{window.open("https://app.buttonizer.io/account")},children:[e(O,{className:F.pluginMenuListIcon,children:e(Ot,{fontSize:"small"})}),e(I,{primary:"Account Settings"})]})]})})]})}const Gn="_footer_zmvmt_1",Yn="_subfooter_zmvmt_7",Vn="_dutchFlag_zmvmt_13",Jn="_loveIcon_zmvmt_23",Kn="_coffeeIcon_zmvmt_24";var X={footer:Gn,subfooter:Yn,dutchFlag:Vn,loveIcon:Jn,coffeeIcon:Kn};function pt(){return r("div",{className:X.footer,children:["Need some assistance? Get free support via our"," ",e(L,{href:"https://r.buttonizer.io/support/community?utm_source=wp-plugin-footer",target:"_blank",color:"secondary",children:"Buttonizer Community"}),". Do you have feedback?"," ",e(L,{href:"https://r.buttonizer.io/feedback?utm_source=wp-plugin-footer",target:"_blank",color:"secondary",children:"Give feedback"}),".",r("div",{className:X.subfooter,children:["Built with"," ",e(te,{title:"much love",children:e(Ht,{className:X.loveIcon})})," ","and"," ",e(te,{title:"lots and lots of coffee",children:e(qt,{className:X.coffeeIcon})})," ","in The Netherlands"," ",e(te,{title:"Buttonizer HQ in Zoetermeer",children:e("img",{src:`${buttonizer_admin.assetsPath}/images/dutch-flag.svg`,className:X.dutchFlag})})]})]})}function Qn(){return r(Ut,{style:{maxWidth:1100},children:[r("div",{style:{padding:"50px 0 0",height:"100%"},children:[e(jn,{}),e(jt,{})]}),e(pt,{})]})}const Xn="_avatar_1ciu2_5",Zn="_listItem_1ciu2_9",er="_secondaryInfo_1ciu2_13",tr="_knowledgebase_1ciu2_17",nr="_knowledgebaseText_1ciu2_24";var Z={"migratePage-container":"_migratePage-container_1ciu2_1",avatar:Xn,listItem:Zn,secondaryInfo:er,knowledgebase:tr,knowledgebaseText:nr};const rr="_buttonizerPaper_131bh_1";var ir={buttonizerPaper:rr};function mt({children:t,containerProps:i}){return e(w,{children:r(Gt,q(C({className:"migratePage-container",style:{marginTop:50,maxWidth:1130}},i),{children:[e("div",{style:{alignItems:"center",justifyContent:"center",display:"flex",marginBottom:30},children:e("img",{src:`${buttonizer_admin.assetsPath}/images/logo.png`,alt:"buttonizerlogo",style:{height:70}})}),e(Be,{className:ir.buttonizerPaper,sx:{"&::before":{background:`url(${buttonizer_admin.assetsPath}/images/waves.svg)`}},children:t})]}))})}const ar="_code_1iwn6_1";var or={code:ar};const sr=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function lr({open:t,onClose:i=()=>{},onConfirm:n=()=>{}}){const a=s.exports.useRef(),o=()=>{a.current.focus(),a.current.select(),navigator.clipboard&&navigator.clipboard.writeText(a.current.value)};return r(pe,{open:t,onClose:close,TransitionComponent:sr,"aria-labelledby":"migrate-title","aria-describedby":"migrate-description",children:[e(me,{id:"migrate-title",children:"Before you migrate"}),r(ge,{children:[r(K,{id:"migrate-description",children:["It seems that you're currently using a deprecated custom JavaScript feature of Buttonizer which is not supported on Buttonizer 3.0 in favour of the advanced"," ",e(L,{href:"https://community.buttonizer.pro/knowledgebase/435",target:"_blank",color:"secondary",children:"Buttonizer JavaScript API"}),"."]}),r(K,{style:{margin:"15px 0"},children:["Please copy all the code from the block below and add it to a"," ",e(L,{href:"https://community.buttonizer.pro/knowledgebase/1011",target:"_blank",color:"secondary",children:"Headers Footers"})," ","plugin of your choice. Your click actions will stay working as they are now."]}),e("textarea",{className:or.code,onClick:o,ref:a,readOnly:!0,children:buttonizer_admin.beforeMigrate})]}),r(ye,{children:[e(g,{onClick:i,children:"Cancel"}),e(g,{color:"secondary",onClick:()=>n(!0),autoFocus:!0,children:"I am ready"})]})]})}let _e=null,W=null;function cr(){const t=re(),{enqueueSnackbar:i,closeSnackbar:n}=Se(),{setActionLock:a,parseAccountData:o,setConnectionSuccessfull:l,setHasMigrated:c}=_(),[h,m]=s.exports.useState(!1),[d,p]=s.exports.useState(!1),[f,v]=s.exports.useState(!1),[B,A]=s.exports.useState(!1),[k,S]=s.exports.useState(null),[R,Q]=s.exports.useState(!0),M=buttonizer_admin.site,Y=(N=!1)=>{if((buttonizer_admin==null?void 0:buttonizer_admin.beforeMigrate)!==null&&N!==!0){p(!0);return}if(h&&W){W.focus();return}m(!0),A(!1);const T=P(`/apps/onboard?app_origin=wordpress&site_name=${encodeURIComponent(M.name)}&domain=${encodeURIComponent(M.domain)}&email=${encodeURIComponent(M.user.email)}&first_name=${encodeURIComponent(M.user.firstName)}&last_name=${encodeURIComponent(M.user.lastName)}`);W=window.open(T,"connectPopup",`width=500,height=580,top=${window.innerHeight/2-580/2},left=${window.innerWidth/2-500/2},status=no,scrollbars=yes,resizable=no`),_e=setInterval(()=>{if(!W){clearInterval(_e);return}W.closed&&(clearInterval(_e),W=null,m(!1))});try{W.focus()}catch{i("Could not open authorization popup. Your browser might have blocked it. Please add this site to your exception list.",{anchorOrigin:{vertical:"bottom",horizontal:"center",autoHideDuration:1e4},action:oe=>[e(g,{href:"https://community.buttonizer.pro/knowledgebase/1208",target:"_blank",color:"secondary",children:"More information"}),e(g,{onClick:()=>n(oe),children:"Close"})]})}},ie=()=>{f||(v(!0),S("skipping"),$("/migrate",{skip:!0}).then(({data:N})=>{document.location.href=`${buttonizer_admin.admin}?page=Buttonizer`}).catch(()=>{A(!0),v(!1)}))};if(s.exports.useEffect(()=>{const N=T=>{!T.isTrusted||T.origin!==P("")||T.data.messageType==="connect-info"&&(W.close(),S("connecting"),$("/migrate",{siteId:T.data.id,authorization:T.data.authorization,shouldMigrate:R}).then(({data:ae})=>{a("no-lock"),o(ae.data),l(!0),c(!0),t("/")}).catch(()=>{S(null),A(!0)}))};return window.addEventListener("message",N),function(){window.removeEventListener("message",N)}},[R]),k!==null)return e(fe,{text:dr(k)});const D=(N,T)=>r(V,{className:Z.listItem,children:[e(st,{children:e(lt,{className:Z.avatar,children:e(Ae,{})})}),e(I,{secondary:T,secondaryTypographyProps:{className:Z.secondaryInfo},primary:N})]});return r(mt,{children:[r(g,{href:"https://community.buttonizer.pro/knowledgebase/1122-standalone-vs-wordpress",target:"_blank",type:"link-small",className:Z.knowledgebase,children:[e(ot,{}),e("span",{className:Z.knowledgebaseText,children:"Learn more about Buttonizer Standalone"})]}),r(b,{container:!0,style:{height:"100%"},direction:"row",children:[e(b,{item:!0,container:!0,justifyContent:"center",direction:"column",alignContent:"center",md:6,sm:12,sx:{margin:"20px 0"},children:r("div",{children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",style:{height:50}}),e(u,{style:{fontSize:27,fontWeight:600,marginTop:30},children:"Buttonizer just got an upgrade!"}),e(u,{style:{fontSize:"1.2rem",maxWidth:"fit-content",marginTop:10},component:"div",children:"Easier to manage, faster and more features."}),e("div",{style:{marginTop:30,maxWidth:300},children:r(g,{variant:"contained",onClick:()=>{Q(!0),Y()},color:"secondary",size:"small",sx:{padding:"15px 30px"},children:["Start migrating",e(Le,{style:{marginLeft:15}})]})}),e(u,{style:{marginTop:20,fontSize:"0.875rem",maxWidth:"fit-content"},component:"div",children:"Already using Buttonizer Standalone? Connect without migrating your buttons."}),r("div",{style:{marginTop:20,marginBottom:100,alignItems:"center",display:"flex"},children:[e(g,{variant:"outlined",size:"small",onClick:()=>{Q(!1),Y()},color:"secondary",sx:{padding:"10px 20px",marginRight:"10px"},children:"Connect now"}),e(g,{size:"small",onClick:ie,disabled:h,children:"Stay in old version"})]})]})}),r(b,{item:!0,md:6,sm:12,container:!0,justifyContent:"center",alignContent:"center",direction:"column",sx:{margin:"20px 0"},children:[e(u,{style:{fontSize:27,fontWeight:600,paddingLeft:15},children:"New in 3.0"}),r($e,{size:"large",children:[D("More free styling options","Imagine what you can do now"),D("Conversion analytics (coming soon)","Privacy focused conversion analytics"),D("Now available on any platform","Try out on WordPress, Shopify, Wix and more"),D("Manage multiple sites with one account","Great for agencies & businesses with multiple sites"),D("Content Delivery Network (CDN)","Lightning fast around the world \u{1F680}"),D("And much more!")]})]})]}),e(lr,{open:d,onClose:()=>p(!1),onConfirm:Y})]})}function dr(t){switch(t){case"initializing":return"Initializing...";case"skipping":return"Skipping...";case"migrating":return"Migrating data..."}}function H(a){var o=a,{children:t,paperStyle:i}=o,n=je(o,["children","paperStyle"]);return e("div",{style:{margin:"20px 0"},children:e(Be,q(C({sx:C({"& > *":{marginTop:"20px !important",marginBottom:"20px !important"},"& > *:first-child":{marginTop:"10px !important",marginBottom:"20px !important"}},i),type:"wrapper"},n),{children:t}))})}const ur="_analyticsContainer_1q32b_1",hr="_analyticsLoading_1q32b_5",pr="_tabsContainer_1q32b_10",mr="_tabs_1q32b_10",gr="_pieTitle_1q32b_17";var ee={analyticsContainer:ur,analyticsLoading:hr,tabsContainer:pr,tabs:mr,pieTitle:gr};function Ke(t){for(var i=0,n=0;n<t.length;n++)i=t.charCodeAt(n)+((i<<5)-i);for(var a="#",n=0;n<3;n++){var o=i>>n*8&255;const c="00"+o.toString(16);a+=c.substring(c.length-2,c.length)}return a}const yr="_legend_17qwt_1",fr="_marginTop_17qwt_5",br="_legendItem_17qwt_10",vr="_legendColor_17qwt_15",_r="_legendHidden_17qwt_19",wr="_legendLabel_17qwt_37",Cr="_loading_17qwt_41";var j={legend:yr,marginTop:fr,legendItem:br,legendColor:vr,legendHidden:_r,legendLabel:wr,loading:Cr};function kr({chart:t=null,isLoading:i=!1,onForceUpdate:n,showClicks:a=!1,isPieChart:o=!1}){if(s.exports.useEffect(()=>{},[]),!t)return null;const l=t.options.plugins.legend.labels.generateLabels(t),c=h=>{var m=h.datasetIndex,d=t;if(o){const p=t.getDatasetMeta(0).data[h.index].hidden;t.getDatasetMeta(0).data[h.index].hidden=!p,t.update()}else d.setDatasetVisibility(m,!d.isDatasetVisible(m)),d.update();n()};return e("div",{className:de(j.legend,j.marginTop,i&&j.loading),children:l.map((h,m)=>{const d=h.strokeStyle,p=h.hidden;return e(te,{title:a?`Total clicks this period: ${t.data.datasets[m].totalClicks}`:"",children:r("span",{className:de(j.legendItem,p&&j.legendHidden),onClick:()=>c(h),children:[e("span",{className:j.legendColor,style:{color:d}}),e("span",{className:j.legendLabel,children:h.text})]})},m)})})}const zr="_lineChart_hik2f_1",xr="_loading_hik2f_6";var Qe={lineChart:zr,loading:xr};Ne.register(Ie,Pe,Re,Me,De,Ee,Fe,Yt);const Xe=["#F08419","#2D95EC"];function Sr(t,i){return t<2?{borderColor:Xe[t],backgroundColor:Xe[t]}:{borderColor:Ke(i),backgroundColor:Ke(i)}}function Tr({data:t}){const{isLoadingAnalytics:i,analyticsChosenRange:n}=_(),[a,o]=s.exports.useState(!0),[l,c]=s.exports.useState(!1),h=s.exports.useRef(null),[,m]=s.exports.useState();return s.exports.useEffect(()=>{h.current&&(l||c(!0))},[a]),r(w,{children:[e("div",{className:de(Qe.lineChart,i&&Qe.loading),children:e(Vt,{height:400,options:{maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{y:{beginAtZero:!0,min:0,grid:{drawBorder:!1,drawOnChartArea:!0,borderColor:"#ECECEC"},title:{display:!0,text:"Clicks"},ticks:{padding:15,backdropPadding:0}},x:{grid:{drawBorder:!1,drawOnChartArea:!1,borderColor:"#ECECEC"},ticks:{padding:5}}},interaction:{intersect:!1}},ref:h,data:{labels:t.line.labels.map(d=>Jt.unix(d).format(["weekly","monthly"].indexOf(n)>=0?"MMMM Do":"H:mm")),datasets:t.line.datasets.filter(d=>!d.unknown||d.unknown&&!a).map((d,p)=>C({label:d.name,data:d.values,totalClicks:d.totalClicks,tension:.5,pointRadius:5,pointHoverRadius:8},Sr(p,d.id)))}})}),e(kr,{chart:h.current,onForceUpdate:()=>m({}),isLoading:i,showClicks:!0}),e("div",{style:{paddingTop:15},children:e(Kt,{control:e(Qt,{checked:a,size:"small"}),label:"Hide unknown (or deleted) buttons",onChange:()=>{o(!a),setTimeout(()=>{m({})},1)}})})]})}const Br="_controls_a553e_1";var Lr={controls:Br};function $r(){const{analyticsChosenRange:t,updateAnalyticsByTimeRange:i,isLoadingAnalytics:n}=_(),[a,o]=s.exports.useState(t);return r("div",{className:Lr.controls,children:["Time controls:",r(Xt,{size:"small",style:{verticalAlign:"middle",marginLeft:15},children:[e(Zt,{id:"demo-multiple-name-label",children:"Time range"}),r(en,{labelId:"demo-multiple-name-label",id:"demo-multiple-name",value:a,onChange:l=>{const{target:{value:c}}=l;o(c),i(c)},input:e(tn,{label:"Time range"}),disabled:n,children:[e(be,{value:"today",children:"Today"},"today"),e(be,{value:"yesterday",children:"Yesterday"},"yesterday"),e(be,{value:"weekly",children:"This week (last 7 days)"},"weekly")]})]}),n&&e(G,{size:25,style:{verticalAlign:"middle",marginLeft:15}})]})}const Ar="_title_zfqz7_1",Nr="_cardContainer_zfqz7_5",Ir="_chartContainer_zfqz7_9",Pr="_percentageContainer_zfqz7_14",Rr="_percentageColor_zfqz7_17",Mr="_percentage_zfqz7_14",Dr="_percentageLabel_zfqz7_28";var z={title:Ar,cardContainer:Nr,chartContainer:Ir,percentageContainer:Pr,percentageColor:Rr,percentage:Mr,percentageLabel:Dr};Ne.register(Ie,Pe,Re,Me,De,Ee,Fe);function Er({data:t}){const{isLoadingAnalytics:i}=_(),[n,a]=s.exports.useState(!0),[o,l]=s.exports.useState(!1),c=s.exports.useRef(null);return s.exports.useState(),s.exports.useEffect(()=>{c.current&&(o||l(!0))},[n]),e(w,{children:r("div",{className:de(z.cardContainer,i&&z.loading),children:[e(u,{variant:"body1",className:z.title,children:"Devices"}),e("div",{className:z.chartContainer,children:e(nn,{options:{cutout:"70%",plugins:{legend:{display:!1}}},data:{labels:["Desktop","Phone","Tablet"],datasets:[{label:"# of clicks",data:[t.devices.desktop,t.devices.phone,t.devices.tablet],backgroundColor:["#F08419","#F4A557","#F7BF87"],borderColor:["#F08419","#F4A557","#F7BF87"],borderWidth:1}]}})}),r(b,{container:!0,style:{padding:"0 13px"},children:[r(b,{item:!0,xs:4,className:z.percentageContainer,children:[e("div",{className:z.percentageColor,style:{backgroundColor:"#f4a557"}}),r(u,{className:z.percentage,children:[Math.round(t.devices.phone/t.total*100),"%"]}),e(u,{className:z.percentageLabel,children:"Mobile"})]}),r(b,{item:!0,xs:4,className:z.percentageContainer,children:[e("div",{className:z.percentageColor,style:{backgroundColor:"#F08419"}}),r(u,{className:z.percentage,children:[Math.round(t.devices.desktop/t.total*100),"%"]}),e(u,{className:z.percentageLabel,children:"Desktop"})]}),r(b,{item:!0,xs:4,className:z.percentageContainer,children:[e("div",{className:z.percentageColor,style:{backgroundColor:"#F7BF87"}}),r(u,{className:z.percentage,children:[Math.round(t.devices.tablet/t.total*100),"%"]}),e(u,{className:z.percentageLabel,children:"Tablet"})]})]})]})})}const Fr="_title_va1ni_1",Wr="_gridHeight_va1ni_5",Or="_barHeight_va1ni_12";var we={title:Fr,gridHeight:Wr,barHeight:Or};Ne.register(Ie,Pe,Re,Me,rn,De,Ee,Fe);function Hr({data:t,siteInfo:i}){_();const[n,a]=s.exports.useState(!0),[o,l]=s.exports.useState(!1),c=s.exports.useRef(null);s.exports.useState(),s.exports.useEffect(()=>{c.current&&(o||l(!0))},[n]);const h=t&&t.countries.list.sort((d,p)=>{const f=t.countries.data[t.countries.list.indexOf(d)];return t.countries.data[t.countries.list.indexOf(p)]-f}).slice(0,5),m=t.countries.data.sort((d,p)=>p-d).slice(0,5);return r(w,{children:[r(b,{container:!0,children:[e(b,{item:!0,md:6,children:e(u,{variant:"body1",className:we.title,children:"Countries"})}),e(b,{item:!0,md:6,style:{textAlign:"right"},children:e(g,{startIcon:e(an,{}),href:P(`/analytics/${i.id}`),target:"_blank",children:"View worldmap"})})]}),e("div",{className:we.gridHeight,children:e("div",{className:we.barHeight,children:e(on,{width:400,options:{maintainAspectRatio:!1,barThickness:22,indexAxis:"y",plugins:{legend:{display:!1}},scales:{y:{grid:{display:!1}},x:{ticks:{callback:function(d){return d+"%"}}}}},data:{labels:h.map(d=>sn[d.toUpperCase()].name),datasets:[{axis:"y",label:"% of total clicks",data:m.map(d=>Math.round(d/t.total*100)),backgroundColor:["#F08419"],borderColor:["#F08419"]}]}})})})]})}const qr="_styledContainer_u39ug_1",Ur="_paragraph_u39ug_8",jr="_button_u39ug_14";var Ce={styledContainer:qr,paragraph:Ur,button:jr};function Gr({siteInfo:t}){return r("div",{className:Ce.styledContainer,children:[e(u,{variant:"body1",color:"primary",className:Ce.paragraph,children:"Dive deeper into your Buttonizer Analytics"}),e(g,{variant:"contained",color:"primary",startIcon:e(ln,{}),href:P(`/analytics/${t.id}`),target:"_blank",className:Ce.button,children:"Open analytics dashboard"})]})}function Yr(){const{siteInfo:t,getAnalytics:i,analyticsData:n,isLoadingAnalytics:a}=_();return s.exports.useEffect(()=>{i()},[]),r(H,{className:ee.analytics,children:[r("div",{className:ee.tabsContainer,children:[r(cn,{value:0,className:ee.tabs,children:[e(Ye,{value:0,icon:e(dn,{}),iconPosition:"start",label:e(w,{children:"Button clicks"}),size:"small"}),e(Ye,{value:1,icon:e(ue,{size:"small",label:"Coming soon"}),iconPosition:"end",label:"Conversions",size:"small",disabled:!0})]}),e($r,{}),e("div",{children:e(te,{title:"How do analytics work",placement:"left",children:e(Te,{href:"https://community.buttonizer.pro/knowledgebase/1280",target:"_blank",size:"small",children:e(ot,{})})})})]}),r("div",{className:n&&n.line.datasets.length>=1&&ee.analyticsContainer,children:[a&&n===null&&e("div",{className:ee.analyticsLoading,children:e(G,{size:50})}),!a&&!n&&e(ne,{severity:"warning",children:"Woops, something went wrong loading analytics of your site."}),n&&n.line.datasets.length>=1&&r(w,{children:[e(Tr,{data:n,loading:a}),r(b,{container:!0,spacing:3,style:{marginTop:0},children:[e(b,{item:!0,style:{maxWidth:365},children:e(Er,{data:n,loading:a})}),e(b,{item:!0,md:!0,children:e(Hr,{data:n,siteInfo:t,loading:a})})]})]}),n&&n.line.datasets.length===0&&r(ne,{severity:"info",icon:e(un,{}),style:{marginTop:15},children:[e(J,{children:"Waiting for data..."}),r("div",{children:[e(u,{variant:"body1",fontSize:15,children:"Currently we don't have any click data to show you. As soon someone clicked one of your buttons, analytics will become visible here."}),e(u,{variant:"body1",fontSize:15,style:{marginTop:15},children:"Check back later \u{1F680}"})]})]})]}),e(Gr,{siteInfo:t})]})}function Vr(){const{siteInfo:t,startSession:i,sessionStarting:n}=_();return r(w,{children:[r(H,{children:[e(u,{type:"header",color:"primary",children:"Manage your Buttonizer instance"}),e(u,{type:"body1",color:"primary",children:"Welcome to your Buttonizer for WordPress dashboard. Here are a few quick-tools to manage your Buttonizer."}),e(g,{variant:"outlined",onClick:i,endIcon:n&&e(G,{size:20,style:{marginLeft:8}}),disabled:n,children:"Edit buttons"}),e(g,{style:{marginLeft:10},color:"secondary",href:P(`/sites/${t.id}/settings`),target:"_blank",type:"link",children:"Open site settings"})]}),e(Yr,{})]})}const Jr=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function Kr({open:t,onClose:i=()=>{}}){var h;const{setActionLock:n}=_(),[a,o]=s.exports.useState(!1),l=()=>{a||i()},c=()=>{a||(o(!0),$("/disconnect").then(({data:m})=>{n("setup"),i()}).catch(()=>o(!1)))};return r(pe,{open:t,onClose:l,TransitionComponent:Jr,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Are you sure you want to disconnect?"}),r(ge,{children:[r(K,{id:"alert-dialog-description",children:["You will disconnect your Buttonizer instance from your site"," ",e("b",{children:(h=buttonizer_admin==null?void 0:buttonizer_admin.site)==null?void 0:h.domain}),". You will be able to sign in with another account."]}),e(K,{id:"alert-dialog-description-p2",style:{marginTop:15},children:"Are you sure you want to disconnect?"})]}),r(ye,{children:[e(g,{disabled:a,onClick:l,children:"Cancel"}),e(g,{disabled:a,color:"secondary",onClick:c,autoFocus:!0,children:"Disconnect"})]})]})}function Qr(){const[t,i]=s.exports.useState(!1);return r(w,{children:[r(H,{children:[e(u,{type:"header",color:"primary",children:"Disconnect Buttonizer"}),e(u,{variant:"body1",color:"primary",children:"Did you create a new instance or do you want to sign in with a different account? Disconnect Buttonizer from your WordPress site."}),e(g,{variant:"outlined",onClick:()=>i(!0),children:"Disconnect"})]}),e(Kr,{open:t,onClose:()=>i(!1)})]})}const Xr="_table_13k7q_1";var Ze={table:Xr};function Zr(){const{parseAccountData:t,isPremium:i,accountData:n,siteInfo:a,planInfo:o}=_(),[l,c]=s.exports.useState(!1),[h,m]=s.exports.useState(!1),d=()=>{l||(c(!0),$("/sync").then(({data:f})=>{t(f.data),m(!0),setTimeout(()=>{m(!1)},5e3)}).catch(()=>{}).then(()=>c(!1)))},p=()=>i?e(ue,{label:"PRO",color:"secondary"}):e(ue,{label:"FREE"});return r(H,{children:[r(b,{container:!0,children:[e(b,{item:!0,md:6,children:r("table",{className:Ze.table,children:[e("tr",{colspan:"2",children:e("th",{children:e(u,{variant:"body1",color:"primary",style:{fontWeight:600},children:"Site information:"})})}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Account name:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:n.name})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Site ID:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:a.id})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Timezone:"})}),e("td",{children:r(u,{variant:"body2",color:"primary",children:[a.timezone," (",e(L,{href:P(`/sites/${a.id}/settings`),target:"_blank",color:"secondary",children:"Change"}),")"]})})]})]})}),e(b,{item:!0,md:6,children:r("table",{className:Ze.table,children:[e("tr",{colspan:"2",children:e("th",{children:e(u,{variant:"body1",color:"primary",style:{fontWeight:600},children:"License information:"})})}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Plan:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:o.name})})]}),o.hasPlan&&r(w,{children:[r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"Subscription status:"})}),e("td",{children:e(u,{variant:"body2",color:"primary",children:o.cancelled?"Cancelled":"Active"})})]}),r("tr",{children:[e("td",{children:e(u,{variant:"body2",color:"primary",children:"License status:"})}),e("td",{children:p()})]})]})]})})]}),e(u,{variant:"body2",color:"primary",children:"Did you change a button or account information in the Buttonizer dashboard and do not see the changes in the Buttonizer for WordPress plugin?"}),e(u,{variant:"body2",color:"primary",children:"Click the sync button below to retrieve the data from the Buttonizer dashboard."}),r(b,{container:!0,justifyContent:"space-between",children:[e(g,{variant:"outlined",onClick:d,disabled:l||h,endIcon:l&&e(G,{size:20,style:{marginLeft:8}})||h&&e(Ae,{}),children:"Sync with dashboard"}),e(g,{color:"secondary",endIcon:e(Le,{}),href:P(`/sites/${a.id}`),target:"_blank",type:"link",children:"View more site info"})]})]})}const ei=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function ti({open:t,onClose:i=()=>{}}){const{setHasMigrated:n,setLegacyBackupDeleted:a}=_(),[o,l]=s.exports.useState(!1),c=()=>{o||i()};return r(pe,{open:t,onClose:c,TransitionComponent:ei,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Happy with the upgrade?"}),e(ge,{children:e(K,{id:"alert-dialog-description",children:"Are you satiesfied with the 3.0 update? If so then you can remove the old Buttonizer data to clean up unused data in your database."})}),r(ye,{children:[e(g,{disabled:o,onClick:c,children:"Cancel"}),e(g,{disabled:o,color:"secondary",onClick:()=>{o||(l(!0),$("/delete_legacy_backup").then(()=>{a(!0),n(!1),i()}).catch(()=>l(!1)))},autoFocus:!0,children:"Confirm"})]})]})}const ni=s.exports.forwardRef(function(i,n){return e(he,C({direction:"up",ref:n},i))});function ri({open:t,onClose:i=()=>{}}){const[n,a]=s.exports.useState(!1),o=()=>{n||i()},l=()=>{n||(a(!0),$("/revert_legacy").then(()=>{document.location.href=`${buttonizer_admin.admin}?page=Buttonizer`}).catch(()=>a(!1)))};return n&&t?r(hn,{open:t,sx:{background:"#f0f0f1"},children:[e(pn,{styles:{body:{overflow:"hidden"}}}),e(fe,{text:"Reverting..."})]}):r(pe,{open:t,onClose:o,TransitionComponent:ni,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[e(me,{id:"alert-dialog-title",children:"Go back Buttonizer version 2.x"}),e(ge,{children:r(K,{id:"alert-dialog-description",children:["Don't like the changes in the 3.0 update? Did you perhaps encounter any issues or have any feedback? Please let us know so that we may improve it in the future."," ",e(L,{color:"secondary",href:"mailto:contact@buttonizer.pro",children:"contact@buttonizer.pro"})]})}),r(ye,{children:[e(g,{disabled:n,onClick:o,children:"Cancel"}),e(g,{disabled:n,color:"secondary",onClick:l,autoFocus:!0,children:"I am sure"})]})]})}function ii(){const[t,i]=s.exports.useState(!1),[n,a]=s.exports.useState(!1);return r(w,{children:[r(H,{children:[e(u,{type:"header",color:"primary",children:"Remove unused 2.x data"}),e(u,{variant:"body1",color:"primary",children:"Remove the old Buttonizer data in your database."}),e(g,{variant:"outlined",onClick:()=>i(!0),children:"Remove 2.x data"}),e(u,{type:"header",color:"primary",children:"Go back to Buttonizer version 2.x"}),e(u,{variant:"body1",color:"primary",children:"Don't like the changes in the new version?"}),e(g,{variant:"outlined",onClick:()=>a(!0),children:"Return to 2.x"})]}),e(ti,{open:t,onClose:()=>i(!1)}),e(ri,{open:n,onClose:()=>a(!1)})]})}const ai="_listItem_8c466_1",oi="_selectContainer_8c466_5";var et={listItem:ai,selectContainer:oi};function si(t,i){const n=[];return t||(t=[]),i.forEach(a=>{(t.indexOf(a.id)!==-1||a.id==="administrator")&&n.push(a)}),n}function li({additionalPermissions:t,setAdditionalPermissions:i,saving:n=!1}){const a=window.buttonizer_admin.available_roles,[o,l]=s.exports.useState(si(t,a)),[c,h]=s.exports.useState(!1),m=d=>{const p=[];d.forEach(f=>{f.id!=="administrator"&&p.push(f.id)}),i(p)};return r(V,{disableGutters:!0,className:et.listItem,children:[e(O,{children:e(mn,{})}),e(I,{primary:"Permissions",secondary:"You can grant more roles to access the Buttonizer settings who are not an administrator."}),e("div",{className:et.selectContainer,children:e(gn,{multiple:!0,size:"small",disableCloseOnSelect:!0,disableClearable:!0,options:a.filter(d=>d.id!=="guest"),filterSelectedOptions:!0,getOptionLabel:d=>d.name,value:o,style:{marginTop:10},fullWidth:!0,onOpen:()=>h(!0),onClose:()=>{h(!1),m(o)},loading:n,onChange:(d,p)=>{p.length!=0&&(l(p),c||m(p))},renderTags:(d,p)=>d.map((f,v)=>e(ue,q(C({label:f.name},p({index:v})),{disabled:f.id==="administrator"}))),noOptionsText:"Role not found",renderInput:d=>e(yn,q(C({},d),{variant:"outlined",label:"Select roles",placeholder:"Select one or more items",disabled:n,InputProps:q(C({},d.InputProps),{"data-testid":"pagerule:autocomplete-input"}),helperText:e(L,{href:"https://community.buttonizer.pro/knowledgebase/507",target:"_blank",children:"Need help? Learn how to use Permissions."})}))})})]})}function ci(){const[t,i]=s.exports.useState(window.buttonizer_admin.settings),[n,a]=s.exports.useState(!1),[o,l]=s.exports.useState(!1),[c,h]=s.exports.useState(window.buttonizer_admin.settings.adminTopBarButtonEnabled),[m,d]=s.exports.useState(window.buttonizer_admin.settings.canSendErrors),[p,f]=s.exports.useState(window.buttonizer_admin.settings.accessRoles),[v,B]=s.exports.useState(window.buttonizer_admin.settings.googleAnalytics),A=()=>{o||(l(!0),$("/settings",{data:{admin_top_bar_show_button:c,can_send_errors:m,additional_permissions:p,google_analytics:v}}).then(()=>{}).catch(()=>{}).then(()=>{const k={adminTopBarButtonEnabled:c,canSendErrors:m,accessRoles:p,googleAnalytics:v==="unset"?null:v};i(k),window.buttonizer_admin.settings=k,a(!1),l(!1)}))};return s.exports.useEffect(()=>{a(t.adminTopBarButtonEnabled!==c||t.canSendErrors!==m||t.accessRoles!==p||t.googleAnalytics!==v)},[c,m,p,v]),r(H,{children:[e(u,{type:"header",color:"primary",children:"Preferences"}),r($e,{disablePadding:!0,dense:!0,children:[r(V,{disableGutters:!0,children:[e(O,{children:e(fn,{})}),e(I,{primary:"Show admin top bar",secondary:"Hide Buttonizer in the admin top bar by disabling this setting.",onClick:()=>{o||h(!c)}}),e(Ve,{edge:"end",color:"primary",checked:c,onChange:k=>h(k.target.checked),disabled:o})]}),r(V,{disableGutters:!0,children:[e(O,{children:e(bn,{})}),e(I,{primary:"Automatic error logging and crash reporting",secondary:"Enable automatic error logging and crash reporting in order to help us solve issues within Buttonizer! All data is anonymized automatically.",onClick:()=>{o||d(!m)}}),e(Ve,{edge:"end",color:"primary",checked:m,onChange:k=>d(k.target.checked),disabled:o})]}),e(li,{saving:o,additionalPermissions:p,setAdditionalPermissions:f}),t.googleAnalytics&&r(V,{disableGutters:!0,children:[e(O,{children:e(vn,{})}),e(I,{primary:"Deprecated: Add Google Analytics tracking code",secondary:`Previously you were able to add Google Analytics tracking code via Buttonizer, ${t.googleAnalytics} is the current value. We will still add the shortcode until you found an alternative way.`,onClick:()=>{(!o||v!=="unset")&&B("unset")}}),e(g,{onClick:()=>B("unset"),disabled:o||v==="unset",style:{marginTop:15,minWidth:"fit-content"},children:"Remove Google Analytics"})]}),e(g,{variant:"contained",onClick:A,disabled:!n||o,endIcon:o&&e(G,{size:20,style:{marginLeft:8}}),style:{marginTop:15},children:"Save changes"})]})]})}function di(){const{setLegacyBackupDeleted:t}=_();return r(ne,{severity:"success",variant:"outlined",action:e(Te,{"aria-label":"close",color:"inherit",size:"small",onClick:()=>{t(!1)},children:e(at,{fontSize:"inherit"})}),style:{marginTop:15,background:"#edf7ed"},children:[e(J,{children:"You have deleted your old data."}),"Have fun with the new version of Buttonizer! :)"]})}function ui(){const{hasMigrated:t,legacyBackupDeleted:i}=_();return r(w,{children:[e(ci,{}),e(Zr,{}),e(Qr,{}),t&&window.buttonizer_admin.isAdmin==="1"&&e(ii,{}),i&&e(di,{})]})}const hi="_avatar_yq9q0_1",pi="_listItem_yq9q0_5",mi="_secondaryInfo_yq9q0_9";var ke={avatar:hi,listItem:pi,secondaryInfo:mi};function gi(){const t=re(),{parseAccountData:i,setConnectionSuccessfull:n,setActionLock:a}=_(),[o,l]=s.exports.useState(!1);if(o)return e(fe,{text:"Connecting..."});const c=(h,m)=>r(V,{className:ke.listItem,children:[e(st,{children:e(lt,{className:ke.avatar,children:e(Ae,{})})}),e(I,{secondary:m,secondaryTypographyProps:{className:ke.secondaryInfo},primary:h})]});return r(w,{children:[e(mt,{children:r(b,{container:!0,style:{height:"100%"},direction:"row",children:[e(b,{item:!0,container:!0,justifyContent:"center",direction:"column",alignContent:"center",md:6,sm:12,sx:{margin:"20px 0"},children:r("div",{children:[e("img",{src:`${buttonizer_admin.assetsPath}/images/buttonizer-logo.png`,alt:"buttonizerlogo",style:{height:50}}),e(u,{style:{fontSize:27,fontWeight:600,marginTop:30},children:"Buttonizer has been installed,"}),e(u,{style:{fontSize:25},children:"you are ready to make some buttons!"}),r("div",{style:{marginTop:30,maxWidth:300},children:[e(ht,{buttonProps:{variant:"contained",size:"large",color:"secondary",endIcon:e(Le,{}),sx:{padding:"15px 30px"}},buttonText:"Start using Buttonizer",onConnect:h=>{l(!1),a("no-lock"),i(h.data),n(!0),t("/")},onLoading:h=>l(h)}),e(u,{style:{fontSize:15,marginTop:20,marginBottom:60},children:"Go to your dashboard to create, manage and edit your buttons."})]})]})}),r(b,{container:!0,justifyContent:"center",alignContent:"center",direction:"column",item:!0,md:6,sm:12,sx:{margin:"20px 0"},children:[e(u,{style:{fontSize:27,fontWeight:600},children:"This is Buttonizer"}),r($e,{size:"large",children:[c("WhatsApp Button"),c("Facebook messenger"),c("Social media sharing"),c("Navigate with URL"),c("Open pop up"),c("And many more options!")]})]})]})}),e(pt,{})]})}const yi="_helpContainer_jsvok_1",fi="_cardButton_jsvok_5",bi="_helpContainerText_jsvok_33";var ce={helpContainer:yi,cardButton:fi,helpContainerText:bi};function vi(){const t=({imgSrc:i,href:n,title:a,description:o,button:l="Learn more"})=>e(_n,{children:e(wn,{href:`${n}?utm_source=wp-plugin-support`,type:"link",target:"_blank",className:ce.cardButton,children:r(Cn,{className:ce.cardContent,children:[e("img",{src:i,alt:"Knowledge base",draggable:!1}),e(u,{variant:"h5",children:a}),e(u,{className:ce.helpContainerText,color:"textSecondary",component:"div",children:o}),e(g,{endIcon:e(kn,{}),color:"secondary",children:l})]})})});return r("div",{children:[r(H,{children:[e(u,{color:"primary",type:"header",children:"Need some help?"}),e(u,{type:"content",color:"primary",children:"Do you need some help? We can help you with everything! Check out our Buttonizer Community, knowledge base or we can help you with our support."})]}),r("div",{className:ce.helpContainer,children:[e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/knowledge-base.svg`,title:"Knowledge base",description:"Learn how to use our application like a pro",href:"https://r.buttonizer.io/support/knowledgebase"}),e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/community.svg`,title:"Forums",description:"Give and Get help from your peers and our team",href:"https://r.buttonizer.io/support/community"}),e(t,{imgSrc:`${buttonizer_admin.assetsPath}/images/support/tickets.svg`,title:"Tickets",description:"Need support that requires privacy? Submit a private ticket",href:"https://r.buttonizer.io/support/tickets"})]})]})}function _i(){return r(H,{children:[e(u,{type:"header",color:"primary",children:"Oh no! Page not found :("}),r(u,{type:"body1",color:"primary",children:["Sorry about that. If we linked to something wrong in our plugin, please let us know by giving us feedback"," ",e(L,{href:"https://community.buttonizer.pro/",target:"_blank",color:"secondary",children:"on our Buttonizer Community!"})]}),e(g,{component:zn,to:"/",variant:"outlined",type:"link",children:"Back to overview"})]})}const wi={blogs:"wp/v2/posts?_fields[]=title&_fields[]=id",pages:"wp/v2/pages?_fields[]=title&_fields[]=id",categories:"wp/v2/categories?_fields[]=name&_fields[]=id"};function Ci(t,i){if(t==="roles"){i(window.buttonizer_admin.available_roles);return}return ze({url:`${buttonizer_admin.api}${wi[t]}&per_page=100`,method:"GET",headers:{"X-WP-Nonce":buttonizer_admin.nonce}}).then(({data:n})=>{i(n.map(({id:a,title:o,name:l=null})=>{var c;return{id:a,name:(c=o==null?void 0:o.rendered)!=null?c:l}}))}).catch(()=>{})}const ki="_iframe_13azj_1";var zi={iframe:ki};const tt=(t,i,n,a={})=>{t.contentWindow.postMessage({eventType:"buttonizer",messageType:n,message:a},i)};function nt(){const t=re(),i=s.exports.useRef(),{cachedEditorSession:n,setCachedEditorSession:a,sessionStarting:o,startSession:l}=_();return s.exports.useEffect(()=>{n===null&&!o&&l()},[n]),s.exports.useEffect(()=>{const c=({data:h,origin:m})=>{const{eventType:d,messageType:p,message:f}=h;d==="buttonizer"&&(p==="connection"&&f==="ready"&&tt(i.current,m,"platform","wordpress"),p==="close_editor"&&t("/"),p==="request_data"&&Ci(f,v=>{tt(i.current,m,`reply_${f}`,v)}))};return window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c),a(null)}},[]),!n||o?e(fe,{text:"Starting editor session..."}):e("iframe",{src:Rn(n),className:zi.iframe,ref:i,referrerPolicy:"origin"})}function xi(){const{actionLock:t}=_();return t==="editor"?e(nt,{}):t==="migration"?e(cr,{}):t==="setup"?e(gi,{}):e(xn,{children:r(U,{path:"/",element:e(Qn,{}),children:[e(U,{path:"/",element:e(Sn,{to:"/overview",replace:!0})}),e(U,{path:"/overview",element:e(Vr,{})}),e(U,{path:"/settings",element:e(ui,{})}),e(U,{path:"/support",element:e(vi,{})}),e(U,{path:"/editor",element:e(nt,{})}),e(U,{path:"*",element:e(_i,{})})]})})}const Si="https://84c09e1dec414d9aa9a7663511fb3027@tracker.buttonizer.pro/7",Ti={}.VITE_APP_VERSION;Tn({dsn:Si,integrations:[new Bn],release:Ti,environment:"development",tracesSampleRate:1,beforeSend:t=>{var i;return(i=buttonizer_admin==null?void 0:buttonizer_admin.settings)!=null&&i.canSendErrors?t:null}});Ln.createRoot(document.getElementById("root")).render(e($n,{injectFirst:!0,children:e(it,{theme:ct,children:e(Dn,{children:e(xi,{})})})}));
|
assets/app/index.html
CHANGED
@@ -5,8 +5,8 @@
|
|
5 |
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>Vite App</title>
|
8 |
-
<script type="module" crossorigin src="/index.
|
9 |
-
<link rel="modulepreload" href="/vendor.
|
10 |
<link rel="stylesheet" href="/index.52b0458d.css">
|
11 |
</head>
|
12 |
<body>
|
5 |
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>Vite App</title>
|
8 |
+
<script type="module" crossorigin src="/index.98ed7c71.js"></script>
|
9 |
+
<link rel="modulepreload" href="/vendor.3e5e4aba.js">
|
10 |
<link rel="stylesheet" href="/index.52b0458d.css">
|
11 |
</head>
|
12 |
<body>
|
assets/app/manifest.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
"index.html": {
|
3 |
-
"file": "index.
|
4 |
"src": "index.html",
|
5 |
"isEntry": true,
|
6 |
"imports": [
|
7 |
-
"_vendor.
|
8 |
],
|
9 |
"css": [
|
10 |
"index.52b0458d.css"
|
11 |
]
|
12 |
},
|
13 |
-
"_vendor.
|
14 |
-
"file": "vendor.
|
15 |
}
|
16 |
}
|
1 |
{
|
2 |
"index.html": {
|
3 |
+
"file": "index.98ed7c71.js",
|
4 |
"src": "index.html",
|
5 |
"isEntry": true,
|
6 |
"imports": [
|
7 |
+
"_vendor.3e5e4aba.js"
|
8 |
],
|
9 |
"css": [
|
10 |
"index.52b0458d.css"
|
11 |
]
|
12 |
},
|
13 |
+
"_vendor.3e5e4aba.js": {
|
14 |
+
"file": "vendor.3e5e4aba.js"
|
15 |
}
|
16 |
}
|
assets/app/{vendor.69872157.js → vendor.3e5e4aba.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
var
|
2 |
* @license React
|
3 |
* react.production.min.js
|
4 |
*
|
@@ -6,7 +6,7 @@ var vP=Object.defineProperty,yP=Object.defineProperties;var _P=Object.getOwnProp
|
|
6 |
*
|
7 |
* This source code is licensed under the MIT license found in the
|
8 |
* LICENSE file in the root directory of this source tree.
|
9 |
-
*/var Du=Symbol.for("react.element"),
|
10 |
* @license React
|
11 |
* scheduler.production.min.js
|
12 |
*
|
@@ -14,7 +14,7 @@ var vP=Object.defineProperty,yP=Object.defineProperties;var _P=Object.getOwnProp
|
|
14 |
*
|
15 |
* This source code is licensed under the MIT license found in the
|
16 |
* LICENSE file in the root directory of this source tree.
|
17 |
-
*/(function(e){function t(O,D){var U=O.length;O.push(D);e:for(;0<U;){var Z=U-1>>>1,J=O[Z];if(0<i(J,D))O[Z]=D,O[U]=J,U=Z;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var D=O[0],U=O.pop();if(U!==D){O[0]=U;e:for(var Z=0,J=O.length,be=J>>>1;Z<be;){var re=2*(Z+1)-1,se=O[re],G=re+1,pe=O[G];if(0>i(se,U))G<J&&0>i(pe,se)?(O[Z]=pe,O[G]=U,Z=G):(O[Z]=se,O[re]=U,Z=re);else if(G<J&&0>i(pe,U))O[Z]=pe,O[G]=U,Z=G;else break e}}return D}function i(O,D){var U=O.sortIndex-D.sortIndex;return U!==0?U:O.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,h=!1,g=!1,_=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(O){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=O)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function x(O){if(g=!1,y(O),!h)if(n(l)!==null)h=!0,I(w);else{var D=n(c);D!==null&&B(x,D.startTime-O)}}function w(O,D){h=!1,g&&(g=!1,m(R),R=-1),p=!0;var U=f;try{for(y(D),d=n(l);d!==null&&(!(d.expirationTime>D)||O&&!P());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,f=d.priorityLevel;var J=Z(d.expirationTime<=D);D=e.unstable_now(),typeof J=="function"?d.callback=J:d===n(l)&&r(l),y(D)}else r(l);d=n(l)}if(d!==null)var be=!0;else{var re=n(c);re!==null&&B(x,re.startTime-D),be=!1}return be}finally{d=null,f=U,p=!1}}var k=!1,E=null,R=-1,C=5,T=-1;function P(){return!(e.unstable_now()-T<C)}function $(){if(E!==null){var O=e.unstable_now();T=O;var D=!0;try{D=E(!0,O)}finally{D?N():(k=!1,E=null)}}else k=!1}var N;if(typeof v=="function")N=function(){v($)};else if(typeof MessageChannel!="undefined"){var Y=new MessageChannel,A=Y.port2;Y.port1.onmessage=$,N=function(){A.postMessage(null)}}else N=function(){_($,0)};function I(O){E=O,k||(k=!0,N())}function B(O,D){R=_(function(){O(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,I(w))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var D=3;break;default:D=f}var U=f;f=D;try{return O()}finally{f=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,D){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var U=f;f=O;try{return D()}finally{f=U}},e.unstable_scheduleCallback=function(O,D,U){var Z=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?Z+U:Z):U=Z,O){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=U+J,O={id:u++,callback:D,priorityLevel:O,startTime:U,expirationTime:J,sortIndex:-1},U>Z?(O.sortIndex=U,t(c,O),n(l)===null&&O===n(c)&&(g?(m(R),R=-1):g=!0,B(x,U-Z))):(O.sortIndex=J,t(l,O),h||p||(h=!0,I(w))),O},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(O){var D=f;return function(){var U=f;f=D;try{return O.apply(this,arguments)}finally{f=U}}}})(
|
18 |
* @license React
|
19 |
* react-dom.production.min.js
|
20 |
*
|
@@ -22,34 +22,34 @@ var vP=Object.defineProperty,yP=Object.defineProperties;var _P=Object.getOwnProp
|
|
22 |
*
|
23 |
* This source code is licensed under the MIT license found in the
|
24 |
* LICENSE file in the root directory of this source tree.
|
25 |
-
*/var
|
26 |
`+pm+e}var hm=!1;function mm(e,t){if(!e||hm)return"";hm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
|
27 |
`),o=r.stack.split(`
|
28 |
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
|
29 |
-
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{hm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ac(e):""}function zP(e){switch(e.tag){case 5:return ac(e.type);case 16:return ac("Lazy");case 13:return ac("Suspense");case 19:return ac("SuspenseList");case 0:case 2:case 15:return e=mm(e.type,!1),e;case 11:return e=mm(e.type.render,!1),e;case 1:return e=mm(e.type,!0),e;default:return""}}function Og(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Sa:return"Fragment";case xa:return"Portal";case Tg:return"Profiler";case gy:return"StrictMode";case Mg:return"Suspense";case Pg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case UE:return(e.displayName||"Context")+".Consumer";case zE:return(e._context.displayName||"Context")+".Provider";case vy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yy:return t=e.displayName||null,t!==null?t:Og(e.type)||"Memo";case ho:t=e._payload,e=e._init;try{return Og(e(t))}catch{}}return null}function UP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Og(t);case 8:return t===gy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Yo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function WP(e){var t=jE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vd(e){e._valueTracker||(e._valueTracker=WP(e))}function HE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ff(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ig(e,t){var n=t.checked;return It({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function $1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Yo(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function YE(e,t){t=t.checked,t!=null&&my(e,"checked",t,!1)}function Dg(e,t){YE(e,t);var n=Yo(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ag(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ag(e,t.type,Yo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function N1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ag(e,t,n){(t!=="number"||Ff(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var lc=Array.isArray;function La(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Yo(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $g(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(q(91));return It({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function L1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(q(92));if(lc(n)){if(1<n.length)throw Error(q(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Yo(n)}}function VE(e,t){var n=Yo(t.value),r=Yo(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function F1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function GE(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ng(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?GE(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yd,KE=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yd=yd||document.createElement("div"),yd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jP=["Webkit","ms","Moz","O"];Object.keys(gc).forEach(function(e){jP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gc[t]=gc[e]})});function qE(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gc.hasOwnProperty(e)&&gc[e]?(""+t).trim():t+"px"}function XE(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=qE(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var HP=It({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lg(e,t){if(t){if(HP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(q(62))}}function Fg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bg=null;function _y(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zg=null,Fa=null,Ba=null;function B1(e){if(e=Lu(e)){if(typeof zg!="function")throw Error(q(280));var t=e.stateNode;t&&(t=Lp(t),zg(e.stateNode,e.type,t))}}function ZE(e){Fa?Ba?Ba.push(e):Ba=[e]:Fa=e}function JE(){if(Fa){var e=Fa,t=Ba;if(Ba=Fa=null,B1(e),t)for(e=0;e<t.length;e++)B1(t[e])}}function QE(e,t){return e(t)}function ek(){}var gm=!1;function tk(e,t,n){if(gm)return e(t,n);gm=!0;try{return QE(e,t,n)}finally{gm=!1,(Fa!==null||Ba!==null)&&(ek(),JE())}}function Gc(e,t){var n=e.stateNode;if(n===null)return null;var r=Lp(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(q(231,t,typeof n));return n}var Ug=!1;if(Zi)try{var Nl={};Object.defineProperty(Nl,"passive",{get:function(){Ug=!0}}),window.addEventListener("test",Nl,Nl),window.removeEventListener("test",Nl,Nl)}catch{Ug=!1}function YP(e,t,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var vc=!1,Bf=null,zf=!1,Wg=null,VP={onError:function(e){vc=!0,Bf=e}};function GP(e,t,n,r,i,o,s,a,l){vc=!1,Bf=null,YP.apply(VP,arguments)}function KP(e,t,n,r,i,o,s,a,l){if(GP.apply(this,arguments),vc){if(vc){var c=Bf;vc=!1,Bf=null}else throw Error(q(198));zf||(zf=!0,Wg=c)}}function Js(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function nk(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function z1(e){if(Js(e)!==e)throw Error(q(188))}function qP(e){var t=e.alternate;if(!t){if(t=Js(e),t===null)throw Error(q(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return z1(i),e;if(o===r)return z1(i),t;o=o.sibling}throw Error(q(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(q(189))}}if(n.alternate!==r)throw Error(q(190))}if(n.tag!==3)throw Error(q(188));return n.stateNode.current===n?e:t}function rk(e){return e=qP(e),e!==null?ik(e):null}function ik(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ik(e);if(t!==null)return t;e=e.sibling}return null}var ok=ir.unstable_scheduleCallback,U1=ir.unstable_cancelCallback,XP=ir.unstable_shouldYield,ZP=ir.unstable_requestPaint,zt=ir.unstable_now,JP=ir.unstable_getCurrentPriorityLevel,by=ir.unstable_ImmediatePriority,sk=ir.unstable_UserBlockingPriority,Uf=ir.unstable_NormalPriority,QP=ir.unstable_LowPriority,ak=ir.unstable_IdlePriority,Dp=null,bi=null;function eO(e){if(bi&&typeof bi.onCommitFiberRoot=="function")try{bi.onCommitFiberRoot(Dp,e,void 0,(e.current.flags&128)===128)}catch{}}var qr=Math.clz32?Math.clz32:rO,tO=Math.log,nO=Math.LN2;function rO(e){return e>>>=0,e===0?32:31-(tO(e)/nO|0)|0}var _d=64,bd=4194304;function cc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=cc(a):(o&=s,o!==0&&(r=cc(o)))}else s=n&~i,s!==0?r=cc(s):o!==0&&(r=cc(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-qr(t),i=1<<n,r|=e[n],t&=~i;return r}function iO(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function oO(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-qr(o),a=1<<s,l=i[s];l===-1?((a&n)===0||(a&r)!==0)&&(i[s]=iO(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function jg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function lk(){var e=_d;return _d<<=1,(_d&4194240)===0&&(_d=64),e}function vm(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $u(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qr(t),e[t]=n}function sO(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-qr(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function xy(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qr(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var nt=0;function ck(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var uk,Sy,dk,fk,pk,Hg=!1,xd=[],Io=null,Do=null,Ao=null,Kc=new Map,qc=new Map,yo=[],aO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function W1(e,t){switch(e){case"focusin":case"focusout":Io=null;break;case"dragenter":case"dragleave":Do=null;break;case"mouseover":case"mouseout":Ao=null;break;case"pointerover":case"pointerout":Kc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qc.delete(t.pointerId)}}function Ll(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Lu(t),t!==null&&Sy(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function lO(e,t,n,r,i){switch(t){case"focusin":return Io=Ll(Io,e,t,n,r,i),!0;case"dragenter":return Do=Ll(Do,e,t,n,r,i),!0;case"mouseover":return Ao=Ll(Ao,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Kc.set(o,Ll(Kc.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,qc.set(o,Ll(qc.get(o)||null,e,t,n,r,i)),!0}return!1}function hk(e){var t=xs(e.target);if(t!==null){var n=Js(t);if(n!==null){if(t=n.tag,t===13){if(t=nk(n),t!==null){e.blockedOn=t,pk(e.priority,function(){dk(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Bg=r,n.target.dispatchEvent(r),Bg=null}else return t=Lu(n),t!==null&&Sy(t),e.blockedOn=n,!1;t.shift()}return!0}function j1(e,t,n){vf(e)&&n.delete(t)}function cO(){Hg=!1,Io!==null&&vf(Io)&&(Io=null),Do!==null&&vf(Do)&&(Do=null),Ao!==null&&vf(Ao)&&(Ao=null),Kc.forEach(j1),qc.forEach(j1)}function Fl(e,t){e.blockedOn===t&&(e.blockedOn=null,Hg||(Hg=!0,ir.unstable_scheduleCallback(ir.unstable_NormalPriority,cO)))}function Xc(e){function t(i){return Fl(i,e)}if(0<xd.length){Fl(xd[0],e);for(var n=1;n<xd.length;n++){var r=xd[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Io!==null&&Fl(Io,e),Do!==null&&Fl(Do,e),Ao!==null&&Fl(Ao,e),Kc.forEach(t),qc.forEach(t),n=0;n<yo.length;n++)r=yo[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<yo.length&&(n=yo[0],n.blockedOn===null);)hk(n),n.blockedOn===null&&yo.shift()}var za=no.ReactCurrentBatchConfig,jf=!0;function uO(e,t,n,r){var i=nt,o=za.transition;za.transition=null;try{nt=1,wy(e,t,n,r)}finally{nt=i,za.transition=o}}function dO(e,t,n,r){var i=nt,o=za.transition;za.transition=null;try{nt=4,wy(e,t,n,r)}finally{nt=i,za.transition=o}}function wy(e,t,n,r){if(jf){var i=Yg(e,t,n,r);if(i===null)Rm(e,t,r,Hf,n),W1(e,r);else if(lO(i,e,t,n,r))r.stopPropagation();else if(W1(e,r),t&4&&-1<aO.indexOf(e)){for(;i!==null;){var o=Lu(i);if(o!==null&&uk(o),o=Yg(e,t,n,r),o===null&&Rm(e,t,r,Hf,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Rm(e,t,r,null,n)}}var Hf=null;function Yg(e,t,n,r){if(Hf=null,e=_y(r),e=xs(e),e!==null)if(t=Js(e),t===null)e=null;else if(n=t.tag,n===13){if(e=nk(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hf=e,null}function mk(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(JP()){case by:return 1;case sk:return 4;case Uf:case QP:return 16;case ak:return 536870912;default:return 16}default:return 16}}var wo=null,Ey=null,yf=null;function gk(){if(yf)return yf;var e,t=Ey,n=t.length,r,i="value"in wo?wo.value:wo.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return yf=i.slice(e,1<r?1-r:void 0)}function _f(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Sd(){return!0}function H1(){return!1}function sr(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Sd:H1,this.isPropagationStopped=H1,this}return It(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Sd)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Sd)},persist:function(){},isPersistent:Sd}),t}var El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ky=sr(El),Nu=It({},El,{view:0,detail:0}),fO=sr(Nu),ym,_m,Bl,Ap=It({},Nu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Bl&&(Bl&&e.type==="mousemove"?(ym=e.screenX-Bl.screenX,_m=e.screenY-Bl.screenY):_m=ym=0,Bl=e),ym)},movementY:function(e){return"movementY"in e?e.movementY:_m}}),Y1=sr(Ap),pO=It({},Ap,{dataTransfer:0}),hO=sr(pO),mO=It({},Nu,{relatedTarget:0}),bm=sr(mO),gO=It({},El,{animationName:0,elapsedTime:0,pseudoElement:0}),vO=sr(gO),yO=It({},El,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_O=sr(yO),bO=It({},El,{data:0}),V1=sr(bO),xO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},SO={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function EO(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wO[e])?!!t[e]:!1}function Cy(){return EO}var kO=It({},Nu,{key:function(e){if(e.key){var t=xO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_f(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?SO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cy,charCode:function(e){return e.type==="keypress"?_f(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_f(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),CO=sr(kO),RO=It({},Ap,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),G1=sr(RO),TO=It({},Nu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cy}),MO=sr(TO),PO=It({},El,{propertyName:0,elapsedTime:0,pseudoElement:0}),OO=sr(PO),IO=It({},Ap,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),DO=sr(IO),AO=[9,13,27,32],Ry=Zi&&"CompositionEvent"in window,yc=null;Zi&&"documentMode"in document&&(yc=document.documentMode);var $O=Zi&&"TextEvent"in window&&!yc,vk=Zi&&(!Ry||yc&&8<yc&&11>=yc),K1=String.fromCharCode(32),q1=!1;function yk(e,t){switch(e){case"keyup":return AO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _k(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wa=!1;function NO(e,t){switch(e){case"compositionend":return _k(t);case"keypress":return t.which!==32?null:(q1=!0,K1);case"textInput":return e=t.data,e===K1&&q1?null:e;default:return null}}function LO(e,t){if(wa)return e==="compositionend"||!Ry&&yk(e,t)?(e=gk(),yf=Ey=wo=null,wa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return vk&&t.locale!=="ko"?null:t.data;default:return null}}var FO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function X1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!FO[e.type]:t==="textarea"}function bk(e,t,n,r){ZE(r),t=Yf(t,"onChange"),0<t.length&&(n=new ky("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _c=null,Zc=null;function BO(e){Ok(e,0)}function $p(e){var t=Ca(e);if(HE(t))return e}function zO(e,t){if(e==="change")return t}var xk=!1;if(Zi){var xm;if(Zi){var Sm="oninput"in document;if(!Sm){var Z1=document.createElement("div");Z1.setAttribute("oninput","return;"),Sm=typeof Z1.oninput=="function"}xm=Sm}else xm=!1;xk=xm&&(!document.documentMode||9<document.documentMode)}function J1(){_c&&(_c.detachEvent("onpropertychange",Sk),Zc=_c=null)}function Sk(e){if(e.propertyName==="value"&&$p(Zc)){var t=[];bk(t,Zc,e,_y(e)),tk(BO,t)}}function UO(e,t,n){e==="focusin"?(J1(),_c=t,Zc=n,_c.attachEvent("onpropertychange",Sk)):e==="focusout"&&J1()}function WO(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $p(Zc)}function jO(e,t){if(e==="click")return $p(t)}function HO(e,t){if(e==="input"||e==="change")return $p(t)}function YO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zr=typeof Object.is=="function"?Object.is:YO;function Jc(e,t){if(Zr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Rg.call(t,i)||!Zr(e[i],t[i]))return!1}return!0}function Q1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eb(e,t){var n=Q1(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Q1(n)}}function wk(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ek(){for(var e=window,t=Ff();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ff(e.document)}return t}function Ty(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function VO(e){var t=Ek(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wk(n.ownerDocument.documentElement,n)){if(r!==null&&Ty(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=eb(n,o);var s=eb(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var GO=Zi&&"documentMode"in document&&11>=document.documentMode,Ea=null,Vg=null,bc=null,Gg=!1;function tb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Gg||Ea==null||Ea!==Ff(r)||(r=Ea,"selectionStart"in r&&Ty(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),bc&&Jc(bc,r)||(bc=r,r=Yf(Vg,"onSelect"),0<r.length&&(t=new ky("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ea)))}function wd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ka={animationend:wd("Animation","AnimationEnd"),animationiteration:wd("Animation","AnimationIteration"),animationstart:wd("Animation","AnimationStart"),transitionend:wd("Transition","TransitionEnd")},wm={},kk={};Zi&&(kk=document.createElement("div").style,"AnimationEvent"in window||(delete ka.animationend.animation,delete ka.animationiteration.animation,delete ka.animationstart.animation),"TransitionEvent"in window||delete ka.transitionend.transition);function Np(e){if(wm[e])return wm[e];if(!ka[e])return e;var t=ka[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in kk)return wm[e]=t[n];return e}var Ck=Np("animationend"),Rk=Np("animationiteration"),Tk=Np("animationstart"),Mk=Np("transitionend"),Pk=new Map,nb="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Qo(e,t){Pk.set(e,t),Zs(t,[e])}for(var Em=0;Em<nb.length;Em++){var km=nb[Em],KO=km.toLowerCase(),qO=km[0].toUpperCase()+km.slice(1);Qo(KO,"on"+qO)}Qo(Ck,"onAnimationEnd");Qo(Rk,"onAnimationIteration");Qo(Tk,"onAnimationStart");Qo("dblclick","onDoubleClick");Qo("focusin","onFocus");Qo("focusout","onBlur");Qo(Mk,"onTransitionEnd");Qa("onMouseEnter",["mouseout","mouseover"]);Qa("onMouseLeave",["mouseout","mouseover"]);Qa("onPointerEnter",["pointerout","pointerover"]);Qa("onPointerLeave",["pointerout","pointerover"]);Zs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zs("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),XO=new Set("cancel close invalid load scroll toggle".split(" ").concat(uc));function rb(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,KP(r,t,void 0,e),e.currentTarget=null}function Ok(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;rb(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;rb(i,a,c),o=l}}}if(zf)throw e=Wg,zf=!1,Wg=null,e}function pt(e,t){var n=t[Jg];n===void 0&&(n=t[Jg]=new Set);var r=e+"__bubble";n.has(r)||(Ik(t,e,2,!1),n.add(r))}function Cm(e,t,n){var r=0;t&&(r|=4),Ik(n,e,r,t)}var Ed="_reactListening"+Math.random().toString(36).slice(2);function Qc(e){if(!e[Ed]){e[Ed]=!0,BE.forEach(function(n){n!=="selectionchange"&&(XO.has(n)||Cm(n,!1,e),Cm(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ed]||(t[Ed]=!0,Cm("selectionchange",!1,t))}}function Ik(e,t,n,r){switch(mk(t)){case 1:var i=uO;break;case 4:i=dO;break;default:i=wy}n=i.bind(null,t,n,e),i=void 0,!Ug||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Rm(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=xs(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}tk(function(){var c=o,u=_y(n),d=[];e:{var f=Pk.get(e);if(f!==void 0){var p=ky,h=e;switch(e){case"keypress":if(_f(n)===0)break e;case"keydown":case"keyup":p=CO;break;case"focusin":h="focus",p=bm;break;case"focusout":h="blur",p=bm;break;case"beforeblur":case"afterblur":p=bm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Y1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=hO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=MO;break;case Ck:case Rk:case Tk:p=vO;break;case Mk:p=OO;break;case"scroll":p=fO;break;case"wheel":p=DO;break;case"copy":case"cut":case"paste":p=_O;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=G1}var g=(t&4)!==0,_=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var v=c,y;v!==null;){y=v;var x=y.stateNode;if(y.tag===5&&x!==null&&(y=x,m!==null&&(x=Gc(v,m),x!=null&&g.push(eu(v,x,y)))),_)break;v=v.return}0<g.length&&(f=new p(f,h,null,n,u),d.push({event:f,listeners:g}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==Bg&&(h=n.relatedTarget||n.fromElement)&&(xs(h)||h[Ji]))break e;if((p||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,p?(h=n.relatedTarget||n.toElement,p=c,h=h?xs(h):null,h!==null&&(_=Js(h),h!==_||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=c),p!==h)){if(g=Y1,x="onMouseLeave",m="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(g=G1,x="onPointerLeave",m="onPointerEnter",v="pointer"),_=p==null?f:Ca(p),y=h==null?f:Ca(h),f=new g(x,v+"leave",p,n,u),f.target=_,f.relatedTarget=y,x=null,xs(u)===c&&(g=new g(m,v+"enter",h,n,u),g.target=y,g.relatedTarget=_,x=g),_=x,p&&h)t:{for(g=p,m=h,v=0,y=g;y;y=ia(y))v++;for(y=0,x=m;x;x=ia(x))y++;for(;0<v-y;)g=ia(g),v--;for(;0<y-v;)m=ia(m),y--;for(;v--;){if(g===m||m!==null&&g===m.alternate)break t;g=ia(g),m=ia(m)}g=null}else g=null;p!==null&&ib(d,f,p,g,!1),h!==null&&_!==null&&ib(d,_,h,g,!0)}}e:{if(f=c?Ca(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var w=zO;else if(X1(f))if(xk)w=HO;else{w=WO;var k=UO}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=jO);if(w&&(w=w(e,c))){bk(d,w,n,u);break e}k&&k(e,f,c),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&Ag(f,"number",f.value)}switch(k=c?Ca(c):window,e){case"focusin":(X1(k)||k.contentEditable==="true")&&(Ea=k,Vg=c,bc=null);break;case"focusout":bc=Vg=Ea=null;break;case"mousedown":Gg=!0;break;case"contextmenu":case"mouseup":case"dragend":Gg=!1,tb(d,n,u);break;case"selectionchange":if(GO)break;case"keydown":case"keyup":tb(d,n,u)}var E;if(Ry)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else wa?yk(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(vk&&n.locale!=="ko"&&(wa||R!=="onCompositionStart"?R==="onCompositionEnd"&&wa&&(E=gk()):(wo=u,Ey="value"in wo?wo.value:wo.textContent,wa=!0)),k=Yf(c,R),0<k.length&&(R=new V1(R,e,null,n,u),d.push({event:R,listeners:k}),E?R.data=E:(E=_k(n),E!==null&&(R.data=E)))),(E=$O?NO(e,n):LO(e,n))&&(c=Yf(c,"onBeforeInput"),0<c.length&&(u=new V1("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=E))}Ok(d,t)})}function eu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yf(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Gc(e,n),o!=null&&r.unshift(eu(e,o,i)),o=Gc(e,t),o!=null&&r.push(eu(e,o,i))),e=e.return}return r}function ia(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ib(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Gc(n,o),l!=null&&s.unshift(eu(n,l,a))):i||(l=Gc(n,o),l!=null&&s.push(eu(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var ZO=/\r\n?/g,JO=/\u0000|\uFFFD/g;function ob(e){return(typeof e=="string"?e:""+e).replace(ZO,`
|
30 |
-
`).replace(JO,"")}function kd(e,t,n){if(t=ob(t),ob(e)!==t&&n)throw Error(q(425))}function Vf(){}var Kg=null,qg=null;function Xg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Zg=typeof setTimeout=="function"?setTimeout:void 0,QO=typeof clearTimeout=="function"?clearTimeout:void 0,sb=typeof Promise=="function"?Promise:void 0,eI=typeof queueMicrotask=="function"?queueMicrotask:typeof sb!="undefined"?function(e){return sb.resolve(null).then(e).catch(tI)}:Zg;function tI(e){setTimeout(function(){throw e})}function Tm(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xc(t)}function ji(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ab(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kl=Math.random().toString(36).slice(2),gi="__reactFiber$"+kl,tu="__reactProps$"+kl,Ji="__reactContainer$"+kl,Jg="__reactEvents$"+kl,nI="__reactListeners$"+kl,rI="__reactHandles$"+kl;function xs(e){var t=e[gi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ji]||n[gi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ab(e);e!==null;){if(n=e[gi])return n;e=ab(e)}return t}e=n,n=e.parentNode}return null}function Lu(e){return e=e[gi]||e[Ji],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ca(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(q(33))}function Lp(e){return e[tu]||null}var Qg=[],Ra=-1;function es(e){return{current:e}}function gt(e){0>Ra||(e.current=Qg[Ra],Qg[Ra]=null,Ra--)}function ut(e,t){Ra++,Qg[Ra]=e.current,e.current=t}var Vo={},Cn=es(Vo),Hn=es(!1),Bs=Vo;function el(e,t){var n=e.type.contextTypes;if(!n)return Vo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Yn(e){return e=e.childContextTypes,e!=null}function Gf(){gt(Hn),gt(Cn)}function lb(e,t,n){if(Cn.current!==Vo)throw Error(q(168));ut(Cn,t),ut(Hn,n)}function Dk(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(q(108,UP(e)||"Unknown",i));return It({},n,r)}function Kf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vo,Bs=Cn.current,ut(Cn,e),ut(Hn,Hn.current),!0}function cb(e,t,n){var r=e.stateNode;if(!r)throw Error(q(169));n?(e=Dk(e,t,Bs),r.__reactInternalMemoizedMergedChildContext=e,gt(Hn),gt(Cn),ut(Cn,e)):gt(Hn),ut(Hn,n)}var Ui=null,Fp=!1,Mm=!1;function Ak(e){Ui===null?Ui=[e]:Ui.push(e)}function iI(e){Fp=!0,Ak(e)}function ts(){if(!Mm&&Ui!==null){Mm=!0;var e=0,t=nt;try{var n=Ui;for(nt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ui=null,Fp=!1}catch(i){throw Ui!==null&&(Ui=Ui.slice(e+1)),ok(by,ts),i}finally{nt=t,Mm=!1}}return null}var oI=no.ReactCurrentBatchConfig;function zr(e,t){if(e&&e.defaultProps){t=It({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var qf=es(null),Xf=null,Ta=null,My=null;function Py(){My=Ta=Xf=null}function Oy(e){var t=qf.current;gt(qf),e._currentValue=t}function ev(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ua(e,t){Xf=e,My=Ta=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(jn=!0),e.firstContext=null)}function kr(e){var t=e._currentValue;if(My!==e)if(e={context:e,memoizedValue:t,next:null},Ta===null){if(Xf===null)throw Error(q(308));Ta=e,Xf.dependencies={lanes:0,firstContext:e}}else Ta=Ta.next=e;return t}var Vr=null,mo=!1;function Iy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $k(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $o(e,t){var n=e.updateQueue;n!==null&&(n=n.shared,EC(e)?(e=n.interleaved,e===null?(t.next=t,Vr===null?Vr=[n]:Vr.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(e=n.pending,e===null?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function bf(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xy(e,n)}}function ub(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Zf(e,t,n,r){var i=e.updateQueue;mo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(f=t,p=n,g.tag){case 1:if(h=g.payload,typeof h=="function"){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h=="function"?h.call(p,d,f):h,f==null)break e;d=It({},d,f);break e;case 2:mo=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ws|=s,e.lanes=s,e.memoizedState=d}}function db(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(q(191,i));i.call(r)}}}var Nk=new FE.Component().refs;function tv(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:It({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Bp={isMounted:function(e){return(e=e._reactInternals)?Js(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$n(),i=Lo(e),o=qi(r,i);o.payload=t,n!=null&&(o.callback=n),$o(e,o),t=xr(e,i,r),t!==null&&bf(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$n(),i=Lo(e),o=qi(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),$o(e,o),t=xr(e,i,r),t!==null&&bf(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$n(),r=Lo(e),i=qi(n,r);i.tag=2,t!=null&&(i.callback=t),$o(e,i),t=xr(e,r,n),t!==null&&bf(t,e,r)}};function fb(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Jc(n,r)||!Jc(i,o):!0}function Lk(e,t,n){var r=!1,i=Vo,o=t.contextType;return typeof o=="object"&&o!==null?o=kr(o):(i=Yn(t)?Bs:Cn.current,r=t.contextTypes,o=(r=r!=null)?el(e,i):Vo),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Bp,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function pb(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bp.enqueueReplaceState(t,t.state,null)}function nv(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Nk,Iy(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=kr(o):(o=Yn(t)?Bs:Cn.current,i.context=el(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(tv(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Bp.enqueueReplaceState(i,i.state,null),Zf(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}var Ma=[],Pa=0,Jf=null,Qf=0,pr=[],hr=0,zs=null,Hi=1,Yi="";function ms(e,t){Ma[Pa++]=Qf,Ma[Pa++]=Jf,Jf=e,Qf=t}function Fk(e,t,n){pr[hr++]=Hi,pr[hr++]=Yi,pr[hr++]=zs,zs=e;var r=Hi;e=Yi;var i=32-qr(r)-1;r&=~(1<<i),n+=1;var o=32-qr(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Hi=1<<32-qr(t)+i|n<<i|r,Yi=o+e}else Hi=1<<o|n<<i|r,Yi=e}function Dy(e){e.return!==null&&(ms(e,1),Fk(e,1,0))}function Ay(e){for(;e===Jf;)Jf=Ma[--Pa],Ma[Pa]=null,Qf=Ma[--Pa],Ma[Pa]=null;for(;e===zs;)zs=pr[--hr],pr[hr]=null,Yi=pr[--hr],pr[hr]=null,Hi=pr[--hr],pr[hr]=null}var nr=null,Un=null,Et=!1,Hr=null;function Bk(e,t){var n=yr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hb(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,nr=e,Un=ji(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,nr=e,Un=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zs!==null?{id:Hi,overflow:Yi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,nr=e,Un=null,!0):!1;default:return!1}}function rv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function iv(e){if(Et){var t=Un;if(t){var n=t;if(!hb(e,t)){if(rv(e))throw Error(q(418));t=ji(n.nextSibling);var r=nr;t&&hb(e,t)?Bk(r,n):(e.flags=e.flags&-4097|2,Et=!1,nr=e)}}else{if(rv(e))throw Error(q(418));e.flags=e.flags&-4097|2,Et=!1,nr=e}}}function mb(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;nr=e}function zl(e){if(e!==nr)return!1;if(!Et)return mb(e),Et=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Xg(e.type,e.memoizedProps)),t&&(t=Un)){if(rv(e)){for(e=Un;e;)e=ji(e.nextSibling);throw Error(q(418))}for(;t;)Bk(e,t),t=ji(t.nextSibling)}if(mb(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(q(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Un=ji(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Un=null}}else Un=nr?ji(e.stateNode.nextSibling):null;return!0}function tl(){Un=nr=null,Et=!1}function $y(e){Hr===null?Hr=[e]:Hr.push(e)}function Ul(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(q(309));var r=n.stateNode}if(!r)throw Error(q(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;a===Nk&&(a=i.refs={}),s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(q(284));if(!n._owner)throw Error(q(290,e))}return e}function Cd(e,t){throw e=Object.prototype.toString.call(t),Error(q(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gb(e){var t=e._init;return t(e._payload)}function zk(e){function t(m,v){if(e){var y=m.deletions;y===null?(m.deletions=[v],m.flags|=16):y.push(v)}}function n(m,v){if(!e)return null;for(;v!==null;)t(m,v),v=v.sibling;return null}function r(m,v){for(m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function i(m,v){return m=Go(m,v),m.index=0,m.sibling=null,m}function o(m,v,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<v?(m.flags|=2,v):y):(m.flags|=2,v)):(m.flags|=1048576,v)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,v,y,x){return v===null||v.tag!==6?(v=$m(y,m.mode,x),v.return=m,v):(v=i(v,y),v.return=m,v)}function l(m,v,y,x){var w=y.type;return w===Sa?u(m,v,y.props.children,x,y.key):v!==null&&(v.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ho&&gb(w)===v.type)?(x=i(v,y.props),x.ref=Ul(m,v,y),x.return=m,x):(x=kf(y.type,y.key,y.props,null,m.mode,x),x.ref=Ul(m,v,y),x.return=m,x)}function c(m,v,y,x){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=Nm(y,m.mode,x),v.return=m,v):(v=i(v,y.children||[]),v.return=m,v)}function u(m,v,y,x,w){return v===null||v.tag!==7?(v=Os(y,m.mode,x,w),v.return=m,v):(v=i(v,y),v.return=m,v)}function d(m,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=$m(""+v,m.mode,y),v.return=m,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case gd:return y=kf(v.type,v.key,v.props,null,m.mode,y),y.ref=Ul(m,null,v),y.return=m,y;case xa:return v=Nm(v,m.mode,y),v.return=m,v;case ho:var x=v._init;return d(m,x(v._payload),y)}if(lc(v)||$l(v))return v=Os(v,m.mode,y,null),v.return=m,v;Cd(m,v)}return null}function f(m,v,y,x){var w=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return w!==null?null:a(m,v,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case gd:return y.key===w?l(m,v,y,x):null;case xa:return y.key===w?c(m,v,y,x):null;case ho:return w=y._init,f(m,v,w(y._payload),x)}if(lc(y)||$l(y))return w!==null?null:u(m,v,y,x,null);Cd(m,y)}return null}function p(m,v,y,x,w){if(typeof x=="string"&&x!==""||typeof x=="number")return m=m.get(y)||null,a(v,m,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case gd:return m=m.get(x.key===null?y:x.key)||null,l(v,m,x,w);case xa:return m=m.get(x.key===null?y:x.key)||null,c(v,m,x,w);case ho:var k=x._init;return p(m,v,y,k(x._payload),w)}if(lc(x)||$l(x))return m=m.get(y)||null,u(v,m,x,w,null);Cd(v,x)}return null}function h(m,v,y,x){for(var w=null,k=null,E=v,R=v=0,C=null;E!==null&&R<y.length;R++){E.index>R?(C=E,E=null):C=E.sibling;var T=f(m,E,y[R],x);if(T===null){E===null&&(E=C);break}e&&E&&T.alternate===null&&t(m,E),v=o(T,v,R),k===null?w=T:k.sibling=T,k=T,E=C}if(R===y.length)return n(m,E),Et&&ms(m,R),w;if(E===null){for(;R<y.length;R++)E=d(m,y[R],x),E!==null&&(v=o(E,v,R),k===null?w=E:k.sibling=E,k=E);return Et&&ms(m,R),w}for(E=r(m,E);R<y.length;R++)C=p(E,m,R,y[R],x),C!==null&&(e&&C.alternate!==null&&E.delete(C.key===null?R:C.key),v=o(C,v,R),k===null?w=C:k.sibling=C,k=C);return e&&E.forEach(function(P){return t(m,P)}),Et&&ms(m,R),w}function g(m,v,y,x){var w=$l(y);if(typeof w!="function")throw Error(q(150));if(y=w.call(y),y==null)throw Error(q(151));for(var k=w=null,E=v,R=v=0,C=null,T=y.next();E!==null&&!T.done;R++,T=y.next()){E.index>R?(C=E,E=null):C=E.sibling;var P=f(m,E,T.value,x);if(P===null){E===null&&(E=C);break}e&&E&&P.alternate===null&&t(m,E),v=o(P,v,R),k===null?w=P:k.sibling=P,k=P,E=C}if(T.done)return n(m,E),Et&&ms(m,R),w;if(E===null){for(;!T.done;R++,T=y.next())T=d(m,T.value,x),T!==null&&(v=o(T,v,R),k===null?w=T:k.sibling=T,k=T);return Et&&ms(m,R),w}for(E=r(m,E);!T.done;R++,T=y.next())T=p(E,m,R,T.value,x),T!==null&&(e&&T.alternate!==null&&E.delete(T.key===null?R:T.key),v=o(T,v,R),k===null?w=T:k.sibling=T,k=T);return e&&E.forEach(function($){return t(m,$)}),Et&&ms(m,R),w}function _(m,v,y,x){if(typeof y=="object"&&y!==null&&y.type===Sa&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case gd:e:{for(var w=y.key,k=v;k!==null;){if(k.key===w){if(w=y.type,w===Sa){if(k.tag===7){n(m,k.sibling),v=i(k,y.props.children),v.return=m,m=v;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ho&&gb(w)===k.type){n(m,k.sibling),v=i(k,y.props),v.ref=Ul(m,k,y),v.return=m,m=v;break e}n(m,k);break}else t(m,k);k=k.sibling}y.type===Sa?(v=Os(y.props.children,m.mode,x,y.key),v.return=m,m=v):(x=kf(y.type,y.key,y.props,null,m.mode,x),x.ref=Ul(m,v,y),x.return=m,m=x)}return s(m);case xa:e:{for(k=y.key;v!==null;){if(v.key===k)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(m,v.sibling),v=i(v,y.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=Nm(y,m.mode,x),v.return=m,m=v}return s(m);case ho:return k=y._init,_(m,v,k(y._payload),x)}if(lc(y))return h(m,v,y,x);if($l(y))return g(m,v,y,x);Cd(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,y),v.return=m,m=v):(n(m,v),v=$m(y,m.mode,x),v.return=m,m=v),s(m)):n(m,v)}return _}var nl=zk(!0),Uk=zk(!1),Fu={},xi=es(Fu),nu=es(Fu),ru=es(Fu);function Ss(e){if(e===Fu)throw Error(q(174));return e}function Ny(e,t){switch(ut(ru,t),ut(nu,e),ut(xi,Fu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ng(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ng(t,e)}gt(xi),ut(xi,t)}function rl(){gt(xi),gt(nu),gt(ru)}function Wk(e){Ss(ru.current);var t=Ss(xi.current),n=Ng(t,e.type);t!==n&&(ut(nu,e),ut(xi,n))}function Ly(e){nu.current===e&&(gt(xi),gt(nu))}var Pt=es(0);function ep(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pm=[];function Fy(){for(var e=0;e<Pm.length;e++)Pm[e]._workInProgressVersionPrimary=null;Pm.length=0}var xf=no.ReactCurrentDispatcher,Om=no.ReactCurrentBatchConfig,Us=0,Ot=null,Gt=null,en=null,tp=!1,xc=!1,iu=0,sI=0;function gn(){throw Error(q(321))}function By(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zr(e[n],t[n]))return!1;return!0}function zy(e,t,n,r,i,o){if(Us=o,Ot=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xf.current=e===null||e.memoizedState===null?uI:dI,e=n(r,i),xc){o=0;do{if(xc=!1,iu=0,25<=o)throw Error(q(301));o+=1,en=Gt=null,t.updateQueue=null,xf.current=fI,e=n(r,i)}while(xc)}if(xf.current=np,t=Gt!==null&&Gt.next!==null,Us=0,en=Gt=Ot=null,tp=!1,t)throw Error(q(300));return e}function Uy(){var e=iu!==0;return iu=0,e}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return en===null?Ot.memoizedState=en=e:en=en.next=e,en}function Cr(){if(Gt===null){var e=Ot.alternate;e=e!==null?e.memoizedState:null}else e=Gt.next;var t=en===null?Ot.memoizedState:en.next;if(t!==null)en=t,Gt=e;else{if(e===null)throw Error(q(310));Gt=e,e={memoizedState:Gt.memoizedState,baseState:Gt.baseState,baseQueue:Gt.baseQueue,queue:Gt.queue,next:null},en===null?Ot.memoizedState=en=e:en=en.next=e}return en}function ou(e,t){return typeof t=="function"?t(e):t}function Im(e){var t=Cr(),n=t.queue;if(n===null)throw Error(q(311));n.lastRenderedReducer=e;var r=Gt,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((Us&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,Ot.lanes|=u,Ws|=u}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,Zr(r,t.memoizedState)||(jn=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Ot.lanes|=o,Ws|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Dm(e){var t=Cr(),n=t.queue;if(n===null)throw Error(q(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Zr(o,t.memoizedState)||(jn=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function jk(){}function Hk(e,t){var n=Ot,r=Cr(),i=t(),o=!Zr(r.memoizedState,i);if(o&&(r.memoizedState=i,jn=!0),r=r.queue,Wy(Gk.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||en!==null&&en.memoizedState.tag&1){if(n.flags|=2048,su(9,Vk.bind(null,n,r,i,t),void 0,null),Zt===null)throw Error(q(349));(Us&30)!==0||Yk(n,t,i)}return i}function Yk(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ot.updateQueue,t===null?(t={lastEffect:null,stores:null},Ot.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vk(e,t,n,r){t.value=n,t.getSnapshot=r,Kk(t)&&xr(e,1,-1)}function Gk(e,t,n){return n(function(){Kk(t)&&xr(e,1,-1)})}function Kk(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zr(e,n)}catch{return!0}}function vb(e){var t=ui();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:e},t.queue=e,e=e.dispatch=cI.bind(null,Ot,e),[t.memoizedState,e]}function su(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ot.updateQueue,t===null?(t={lastEffect:null,stores:null},Ot.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function qk(){return Cr().memoizedState}function Sf(e,t,n,r){var i=ui();Ot.flags|=e,i.memoizedState=su(1|t,n,void 0,r===void 0?null:r)}function zp(e,t,n,r){var i=Cr();r=r===void 0?null:r;var o=void 0;if(Gt!==null){var s=Gt.memoizedState;if(o=s.destroy,r!==null&&By(r,s.deps)){i.memoizedState=su(t,n,o,r);return}}Ot.flags|=e,i.memoizedState=su(1|t,n,o,r)}function yb(e,t){return Sf(8390656,8,e,t)}function Wy(e,t){return zp(2048,8,e,t)}function Xk(e,t){return zp(4,2,e,t)}function Zk(e,t){return zp(4,4,e,t)}function Jk(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qk(e,t,n){return n=n!=null?n.concat([e]):null,zp(4,4,Jk.bind(null,t,e),n)}function jy(){}function eC(e,t){var n=Cr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&By(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tC(e,t){var n=Cr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&By(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nC(e,t,n){return(Us&21)===0?(e.baseState&&(e.baseState=!1,jn=!0),e.memoizedState=n):(Zr(n,t)||(n=lk(),Ot.lanes|=n,Ws|=n,e.baseState=!0),t)}function aI(e,t){var n=nt;nt=n!==0&&4>n?n:4,e(!0);var r=Om.transition;Om.transition={};try{e(!1),t()}finally{nt=n,Om.transition=r}}function rC(){return Cr().memoizedState}function lI(e,t,n){var r=Lo(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},iC(e)?oC(t,n):(sC(e,t,n),n=$n(),e=xr(e,r,n),e!==null&&aC(e,t,r))}function cI(e,t,n){var r=Lo(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(iC(e))oC(t,i);else{sC(e,t,i);var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Zr(a,s))return}catch{}finally{}n=$n(),e=xr(e,r,n),e!==null&&aC(e,t,r)}}function iC(e){var t=e.alternate;return e===Ot||t!==null&&t===Ot}function oC(e,t){xc=tp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sC(e,t,n){EC(e)?(e=t.interleaved,e===null?(n.next=n,Vr===null?Vr=[t]:Vr.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function aC(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xy(e,n)}}var np={readContext:kr,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useInsertionEffect:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useMutableSource:gn,useSyncExternalStore:gn,useId:gn,unstable_isNewReconciler:!1},uI={readContext:kr,useCallback:function(e,t){return ui().memoizedState=[e,t===void 0?null:t],e},useContext:kr,useEffect:yb,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sf(4194308,4,Jk.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sf(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sf(4,2,e,t)},useMemo:function(e,t){var n=ui();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ui();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lI.bind(null,Ot,e),[r.memoizedState,e]},useRef:function(e){var t=ui();return e={current:e},t.memoizedState=e},useState:vb,useDebugValue:jy,useDeferredValue:function(e){return ui().memoizedState=e},useTransition:function(){var e=vb(!1),t=e[0];return e=aI.bind(null,e[1]),ui().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ot,i=ui();if(Et){if(n===void 0)throw Error(q(407));n=n()}else{if(n=t(),Zt===null)throw Error(q(349));(Us&30)!==0||Yk(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,yb(Gk.bind(null,r,o,e),[e]),r.flags|=2048,su(9,Vk.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ui(),t=Zt.identifierPrefix;if(Et){var n=Yi,r=Hi;n=(r&~(1<<32-qr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=iu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=sI++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},dI={readContext:kr,useCallback:eC,useContext:kr,useEffect:Wy,useImperativeHandle:Qk,useInsertionEffect:Xk,useLayoutEffect:Zk,useMemo:tC,useReducer:Im,useRef:qk,useState:function(){return Im(ou)},useDebugValue:jy,useDeferredValue:function(e){var t=Cr();return nC(t,Gt.memoizedState,e)},useTransition:function(){var e=Im(ou)[0],t=Cr().memoizedState;return[e,t]},useMutableSource:jk,useSyncExternalStore:Hk,useId:rC,unstable_isNewReconciler:!1},fI={readContext:kr,useCallback:eC,useContext:kr,useEffect:Wy,useImperativeHandle:Qk,useInsertionEffect:Xk,useLayoutEffect:Zk,useMemo:tC,useReducer:Dm,useRef:qk,useState:function(){return Dm(ou)},useDebugValue:jy,useDeferredValue:function(e){var t=Cr();return Gt===null?t.memoizedState=e:nC(t,Gt.memoizedState,e)},useTransition:function(){var e=Dm(ou)[0],t=Cr().memoizedState;return[e,t]},useMutableSource:jk,useSyncExternalStore:Hk,useId:rC,unstable_isNewReconciler:!1};function Hy(e,t){try{var n="",r=t;do n+=zP(r),r=r.return;while(r);var i=n}catch(o){i=`
|
31 |
Error generating stack: `+o.message+`
|
32 |
-
`+o.stack}return{value:e,source:t,stack:i}}function ov(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pI=typeof WeakMap=="function"?WeakMap:Map;function lC(e,t,n){n=qi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ip||(ip=!0,hv=r),ov(e,t)},n}function cC(e,t,n){n=qi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ov(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ov(e,t),typeof r!="function"&&(No===null?No=new Set([this]):No.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function _b(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new pI;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=CI.bind(null,e,t,n),t.then(e,e))}function bb(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function xb(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qi(-1,1),t.tag=2,$o(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var uC,sv,dC,fC;uC=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sv=function(){};dC=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ss(xi.current);var o=null;switch(n){case"input":i=Ig(e,i),r=Ig(e,r),o=[];break;case"select":i=It({},i,{value:void 0}),r=It({},r,{value:void 0}),o=[];break;case"textarea":i=$g(e,i),r=$g(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vf)}Lg(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Yc.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Yc.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&pt("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};fC=function(e,t,n,r){n!==r&&(t.flags|=4)};function Wl(e,t){if(!Et)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hI(e,t,n){var r=t.pendingProps;switch(Ay(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vn(t),null;case 1:return Yn(t.type)&&Gf(),vn(t),null;case 3:return r=t.stateNode,rl(),gt(Hn),gt(Cn),Fy(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Hr!==null&&(vv(Hr),Hr=null))),sv(e,t),vn(t),null;case 5:Ly(t);var i=Ss(ru.current);if(n=t.type,e!==null&&t.stateNode!=null)dC(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(q(166));return vn(t),null}if(e=Ss(xi.current),zl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[gi]=t,r[tu]=o,e=(t.mode&1)!==0,n){case"dialog":pt("cancel",r),pt("close",r);break;case"iframe":case"object":case"embed":pt("load",r);break;case"video":case"audio":for(i=0;i<uc.length;i++)pt(uc[i],r);break;case"source":pt("error",r);break;case"img":case"image":case"link":pt("error",r),pt("load",r);break;case"details":pt("toggle",r);break;case"input":$1(r,o),pt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},pt("invalid",r);break;case"textarea":L1(r,o),pt("invalid",r)}Lg(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&kd(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&kd(r.textContent,a,e),i=["children",""+a]):Yc.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&pt("scroll",r)}switch(n){case"input":vd(r),N1(r,o,!0);break;case"textarea":vd(r),F1(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Vf)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=GE(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[gi]=t,e[tu]=r,uC(e,t,!1,!1),t.stateNode=e;e:{switch(s=Fg(n,r),n){case"dialog":pt("cancel",e),pt("close",e),i=r;break;case"iframe":case"object":case"embed":pt("load",e),i=r;break;case"video":case"audio":for(i=0;i<uc.length;i++)pt(uc[i],e);i=r;break;case"source":pt("error",e),i=r;break;case"img":case"image":case"link":pt("error",e),pt("load",e),i=r;break;case"details":pt("toggle",e),i=r;break;case"input":$1(e,r),i=Ig(e,r),pt("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=It({},r,{value:void 0}),pt("invalid",e);break;case"textarea":L1(e,r),i=$g(e,r),pt("invalid",e);break;default:i=r}Lg(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?XE(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&KE(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Vc(e,l):typeof l=="number"&&Vc(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Yc.hasOwnProperty(o)?l!=null&&o==="onScroll"&&pt("scroll",e):l!=null&&my(e,o,l,s))}switch(n){case"input":vd(e),N1(e,r,!1);break;case"textarea":vd(e),F1(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Yo(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?La(e,!!r.multiple,o,!1):r.defaultValue!=null&&La(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Vf)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return vn(t),null;case 6:if(e&&t.stateNode!=null)fC(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(q(166));if(n=Ss(ru.current),Ss(xi.current),zl(t)){if(r=t.stateNode,n=t.memoizedProps,r[gi]=t,(o=r.nodeValue!==n)&&(e=nr,e!==null))switch(e.tag){case 3:kd(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&kd(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gi]=t,t.stateNode=r}return vn(t),null;case 13:if(gt(Pt),r=t.memoizedState,Et&&Un!==null&&(t.mode&1)!==0&&(t.flags&128)===0){for(r=Un;r;)r=ji(r.nextSibling);return tl(),t.flags|=98560,t}if(r!==null&&r.dehydrated!==null){if(r=zl(t),e===null){if(!r)throw Error(q(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(q(317));r[gi]=t}else tl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;return vn(t),null}return Hr!==null&&(vv(Hr),Hr=null),(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,n=!1,e===null?zl(t):n=e.memoizedState!==null,r!==n&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Pt.current&1)!==0?Kt===0&&(Kt=3):Xy())),t.updateQueue!==null&&(t.flags|=4),vn(t),null);case 4:return rl(),sv(e,t),e===null&&Qc(t.stateNode.containerInfo),vn(t),null;case 10:return Oy(t.type._context),vn(t),null;case 17:return Yn(t.type)&&Gf(),vn(t),null;case 19:if(gt(Pt),o=t.memoizedState,o===null)return vn(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Wl(o,!1);else{if(Kt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=ep(e),s!==null){for(t.flags|=128,Wl(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ut(Pt,Pt.current&1|2),t.child}e=e.sibling}o.tail!==null&&zt()>il&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304)}else{if(!r)if(e=ep(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Wl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Et)return vn(t),null}else 2*zt()-o.renderingStartTime>il&&n!==1073741824&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=zt(),t.sibling=null,n=Pt.current,ut(Pt,r?n&1|2:n&1),t):(vn(t),null);case 22:case 23:return qy(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Qn&1073741824)!==0&&(vn(t),t.subtreeFlags&6&&(t.flags|=8192)):vn(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}var mI=no.ReactCurrentOwner,jn=!1;function In(e,t,n,r){t.child=e===null?Uk(t,null,n,r):nl(t,e.child,n,r)}function Sb(e,t,n,r,i){n=n.render;var o=t.ref;return Ua(t,i),r=zy(e,t,n,r,o,i),n=Uy(),e!==null&&!jn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qi(e,t,i)):(Et&&n&&Dy(t),t.flags|=1,In(e,t,r,i),t.child)}function wb(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Zy(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,pC(e,t,o,r,i)):(e=kf(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Jc,n(s,r)&&e.ref===t.ref)return Qi(e,t,i)}return t.flags|=1,e=Go(o,r),e.ref=t.ref,e.return=t,t.child=e}function pC(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Jc(o,r)&&e.ref===t.ref)if(jn=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(jn=!0);else return t.lanes=e.lanes,Qi(e,t,i)}return av(e,t,n,r,i)}function hC(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ut(Ia,Qn),Qn|=n;else if((n&1073741824)!==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ut(Ia,Qn),Qn|=r;else return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ut(Ia,Qn),Qn|=e,null;else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ut(Ia,Qn),Qn|=r;return In(e,t,i,n),t.child}function mC(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function av(e,t,n,r,i){var o=Yn(n)?Bs:Cn.current;return o=el(t,o),Ua(t,i),n=zy(e,t,n,r,o,i),r=Uy(),e!==null&&!jn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qi(e,t,i)):(Et&&r&&Dy(t),t.flags|=1,In(e,t,n,i),t.child)}function Eb(e,t,n,r,i){if(Yn(n)){var o=!0;Kf(t)}else o=!1;if(Ua(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Lk(t,n,r),nv(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=kr(c):(c=Yn(n)?Bs:Cn.current,c=el(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&pb(t,s,r,c),mo=!1;var f=t.memoizedState;s.state=f,Zf(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Hn.current||mo?(typeof u=="function"&&(tv(t,n,u,r),l=t.memoizedState),(a=mo||fb(t,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,$k(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:zr(t.type,a),s.props=c,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=kr(l):(l=Yn(n)?Bs:Cn.current,l=el(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&pb(t,s,r,l),mo=!1,f=t.memoizedState,s.state=f,Zf(t,r,s,i);var h=t.memoizedState;a!==d||f!==h||Hn.current||mo?(typeof p=="function"&&(tv(t,n,p,r),h=t.memoizedState),(c=mo||fb(t,n,c,r,f,h,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return lv(e,t,n,r,o,i)}function lv(e,t,n,r,i,o){mC(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&cb(t,n,!1),Qi(e,t,o);r=t.stateNode,mI.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=nl(t,e.child,null,o),t.child=nl(t,null,a,o)):In(e,t,a,o),t.memoizedState=r.state,i&&cb(t,n,!0),t.child}function gC(e){var t=e.stateNode;t.pendingContext?lb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&lb(e,t.context,!1),Ny(e,t.containerInfo)}function kb(e,t,n,r,i){return tl(),$y(i),t.flags|=256,In(e,t,n,r),t.child}var Rd={dehydrated:null,treeContext:null,retryLane:0};function Td(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cb(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function vC(e,t,n){var r=t.pendingProps,i=Pt.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ut(Pt,i&1),e===null)return iv(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=i):o=ap(i,r,0,null),e=Os(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Td(n),t.memoizedState=Rd,e):cv(t,i));if(i=e.memoizedState,i!==null){if(a=i.dehydrated,a!==null){if(s)return t.flags&256?(t.flags&=-257,Md(e,t,n,Error(q(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=ap({mode:"visible",children:r.children},i,0,null),o=Os(o,i,n,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&nl(t,e.child,null,n),t.child.memoizedState=Td(n),t.memoizedState=Rd,o);if((t.mode&1)===0)t=Md(e,t,n,null);else if(a.data==="$!")t=Md(e,t,n,Error(q(419)));else if(r=(n&e.childLanes)!==0,jn||r){if(r=Zt,r!==null){switch(n&-n){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}r=(o&(r.suspendedLanes|n))!==0?0:o,r!==0&&r!==i.retryLane&&(i.retryLane=r,xr(e,r,-1))}Xy(),t=Md(e,t,n,Error(q(421)))}else a.data==="$?"?(t.flags|=128,t.child=e.child,t=RI.bind(null,e),a._reactRetry=t,t=null):(n=i.treeContext,Un=ji(a.nextSibling),nr=t,Et=!0,Hr=null,n!==null&&(pr[hr++]=Hi,pr[hr++]=Yi,pr[hr++]=zs,Hi=n.id,Yi=n.overflow,zs=t),t=cv(t,t.pendingProps.children),t.flags|=4096);return t}return o?(r=Tb(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?Td(n):Cb(i,n),o.childLanes=e.childLanes&~n,t.memoizedState=Rd,r):(n=Rb(e,t,r.children,n),t.memoizedState=null,n)}return o?(r=Tb(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?Td(n):Cb(i,n),o.childLanes=e.childLanes&~n,t.memoizedState=Rd,r):(n=Rb(e,t,r.children,n),t.memoizedState=null,n)}function cv(e,t){return t=ap({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Rb(e,t,n,r){var i=e.child;return e=i.sibling,n=Go(i,{mode:"visible",children:n}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Tb(e,t,n,r,i){var o=t.mode;e=e.child;var s=e.sibling,a={mode:"hidden",children:n};return(o&1)===0&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=a,t.deletions=null):(n=Go(e,a),n.subtreeFlags=e.subtreeFlags&14680064),s!==null?r=Go(s,r):(r=Os(r,o,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Md(e,t,n,r){return r!==null&&$y(r),nl(t,e.child,null,n),e=cv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Mb(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ev(e.return,t,n)}function Am(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function yC(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(In(e,t,r.children,n),r=Pt.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mb(e,n,t);else if(e.tag===19)Mb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ut(Pt,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ep(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Am(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ep(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Am(t,!0,n,null,o);break;case"together":Am(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ws|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,n=Go(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Go(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gI(e,t,n){switch(t.tag){case 3:gC(t),tl();break;case 5:Wk(t);break;case 1:Yn(t.type)&&Kf(t);break;case 4:Ny(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ut(qf,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ut(Pt,Pt.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?vC(e,t,n):(ut(Pt,Pt.current&1),e=Qi(e,t,n),e!==null?e.sibling:null);ut(Pt,Pt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return yC(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ut(Pt,Pt.current),r)break;return null;case 22:case 23:return t.lanes=0,hC(e,t,n)}return Qi(e,t,n)}function vI(e,t){switch(Ay(t),t.tag){case 1:return Yn(t.type)&&Gf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rl(),gt(Hn),gt(Cn),Fy(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ly(t),null;case 13:if(gt(Pt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));tl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(Pt),null;case 4:return rl(),null;case 10:return Oy(t.type._context),null;case 22:case 23:return qy(),null;case 24:return null;default:return null}}var Pd=!1,bn=!1,yI=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Oa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Nt(e,t,r)}else n.current=null}function uv(e,t,n){try{n()}catch(r){Nt(e,t,r)}}var Pb=!1;function _I(e,t){if(Kg=jf,e=Ek(),Ty(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(qg={focusedElem:e,selectionRange:n},jf=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:zr(t.type,g),_);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;if(y.nodeType===1)y.textContent="";else if(y.nodeType===9){var x=y.body;x!=null&&(x.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(q(163))}}catch(w){Nt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return h=Pb,Pb=!1,h}function Sc(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&uv(t,n,o)}i=i.next}while(i!==r)}}function Up(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function dv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _C(e){var t=e.alternate;t!==null&&(e.alternate=null,_C(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gi],delete t[tu],delete t[Jg],delete t[nI],delete t[rI])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function bC(e){return e.tag===5||e.tag===3||e.tag===4}function Ob(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vf));else if(r!==4&&(e=e.child,e!==null))for(fv(e,t,n),e=e.sibling;e!==null;)fv(e,t,n),e=e.sibling}function pv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pv(e,t,n),e=e.sibling;e!==null;)pv(e,t,n),e=e.sibling}var ln=null,Ur=!1;function co(e,t,n){for(n=n.child;n!==null;)xC(e,t,n),n=n.sibling}function xC(e,t,n){if(bi&&typeof bi.onCommitFiberUnmount=="function")try{bi.onCommitFiberUnmount(Dp,n)}catch{}switch(n.tag){case 5:bn||Oa(n,t);case 6:var r=ln,i=Ur;ln=null,co(e,t,n),ln=r,Ur=i,ln!==null&&(Ur?(e=ln,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ln.removeChild(n.stateNode));break;case 18:ln!==null&&(Ur?(e=ln,n=n.stateNode,e.nodeType===8?Tm(e.parentNode,n):e.nodeType===1&&Tm(e,n),Xc(e)):Tm(ln,n.stateNode));break;case 4:r=ln,i=Ur,ln=n.stateNode.containerInfo,Ur=!0,co(e,t,n),ln=r,Ur=i;break;case 0:case 11:case 14:case 15:if(!bn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((o&2)!==0||(o&4)!==0)&&uv(n,t,s),i=i.next}while(i!==r)}co(e,t,n);break;case 1:if(!bn&&(Oa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Nt(n,t,a)}co(e,t,n);break;case 21:co(e,t,n);break;case 22:n.mode&1?(bn=(r=bn)||n.memoizedState!==null,co(e,t,n),bn=r):co(e,t,n);break;default:co(e,t,n)}}function Ib(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yI),t.forEach(function(r){var i=TI.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Lr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ln=a.stateNode,Ur=!1;break e;case 3:ln=a.stateNode.containerInfo,Ur=!0;break e;case 4:ln=a.stateNode.containerInfo,Ur=!0;break e}a=a.return}if(ln===null)throw Error(q(160));xC(o,s,i),ln=null,Ur=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){Nt(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)SC(t,e),t=t.sibling}function SC(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Lr(t,e),li(e),r&4){try{Sc(3,e,e.return),Up(3,e)}catch(h){Nt(e,e.return,h)}try{Sc(5,e,e.return)}catch(h){Nt(e,e.return,h)}}break;case 1:Lr(t,e),li(e),r&512&&n!==null&&Oa(n,n.return);break;case 5:if(Lr(t,e),li(e),r&512&&n!==null&&Oa(n,n.return),e.flags&32){var i=e.stateNode;try{Vc(i,"")}catch(h){Nt(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&YE(i,o),Fg(a,s);var c=Fg(a,o);for(s=0;s<l.length;s+=2){var u=l[s],d=l[s+1];u==="style"?XE(i,d):u==="dangerouslySetInnerHTML"?KE(i,d):u==="children"?Vc(i,d):my(i,u,d,c)}switch(a){case"input":Dg(i,o);break;case"textarea":VE(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?La(i,!!o.multiple,p,!1):f!==!!o.multiple&&(o.defaultValue!=null?La(i,!!o.multiple,o.defaultValue,!0):La(i,!!o.multiple,o.multiple?[]:"",!1))}i[tu]=o}catch(h){Nt(e,e.return,h)}}break;case 6:if(Lr(t,e),li(e),r&4){if(e.stateNode===null)throw Error(q(162));c=e.stateNode,u=e.memoizedProps;try{c.nodeValue=u}catch(h){Nt(e,e.return,h)}}break;case 3:if(Lr(t,e),li(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xc(t.containerInfo)}catch(h){Nt(e,e.return,h)}break;case 4:Lr(t,e),li(e);break;case 13:Lr(t,e),li(e),c=e.child,c.flags&8192&&c.memoizedState!==null&&(c.alternate===null||c.alternate.memoizedState===null)&&(Gy=zt()),r&4&&Ib(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(bn=(u=bn)||c,Lr(t,e),bn=u):Lr(t,e),li(e),r&8192){u=e.memoizedState!==null;e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=qE("display",s))}catch(h){Nt(e,e.return,h)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(h){Nt(e,e.return,h)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}if(u&&!c&&(e.mode&1)!==0)for(oe=e,e=e.child;e!==null;){for(c=oe=e;oe!==null;){switch(u=oe,d=u.child,u.tag){case 0:case 11:case 14:case 15:Sc(4,u,u.return);break;case 1:if(Oa(u,u.return),o=u.stateNode,typeof o.componentWillUnmount=="function"){f=u,p=u.return;try{i=f,o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(h){Nt(f,p,h)}}break;case 5:Oa(u,u.return);break;case 22:if(u.memoizedState!==null){Ab(c);continue}}d!==null?(d.return=u,oe=d):Ab(c)}e=e.sibling}}break;case 19:Lr(t,e),li(e),r&4&&Ib(e);break;case 21:break;default:Lr(t,e),li(e)}}function li(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(bC(n)){var r=n;break e}n=n.return}throw Error(q(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Vc(i,""),r.flags&=-33);var o=Ob(e);pv(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Ob(e);fv(e,a,s);break;default:throw Error(q(161))}}catch(l){Nt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bI(e,t,n){oe=e,wC(e)}function wC(e,t,n){for(var r=(e.mode&1)!==0;oe!==null;){var i=oe,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Pd;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||bn;a=Pd;var c=bn;if(Pd=s,(bn=l)&&!c)for(oe=i;oe!==null;)s=oe,l=s.child,s.tag===22&&s.memoizedState!==null?$b(i):l!==null?(l.return=s,oe=l):$b(i);for(;o!==null;)oe=o,wC(o),o=o.sibling;oe=i,Pd=a,bn=c}Db(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,oe=o):Db(e)}}function Db(e){for(;oe!==null;){var t=oe;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:bn||Up(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!bn)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:zr(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&db(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}db(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&Xc(d)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(q(163))}bn||t.flags&512&&dv(t)}catch(f){Nt(t,t.return,f)}}if(t===e){oe=null;break}if(n=t.sibling,n!==null){n.return=t.return,oe=n;break}oe=t.return}}function Ab(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var n=t.sibling;if(n!==null){n.return=t.return,oe=n;break}oe=t.return}}function $b(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Up(4,t)}catch(l){Nt(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Nt(t,i,l)}}var o=t.return;try{dv(t)}catch(l){Nt(t,o,l)}break;case 5:var s=t.return;try{dv(t)}catch(l){Nt(t,s,l)}}}catch(l){Nt(t,t.return,l)}if(t===e){oe=null;break}var a=t.sibling;if(a!==null){a.return=t.return,oe=a;break}oe=t.return}}var xI=Math.ceil,rp=no.ReactCurrentDispatcher,Yy=no.ReactCurrentOwner,br=no.ReactCurrentBatchConfig,He=0,Zt=null,Wt=null,un=0,Qn=0,Ia=es(0),Kt=0,au=null,Ws=0,Wp=0,Vy=0,wc=null,zn=null,Gy=0,il=1/0,Fi=null,ip=!1,hv=null,No=null,Od=!1,Eo=null,op=0,Ec=0,mv=null,wf=-1,Ef=0;function $n(){return(He&6)!==0?zt():wf!==-1?wf:wf=zt()}function Lo(e){return(e.mode&1)===0?1:(He&2)!==0&&un!==0?un&-un:oI.transition!==null?(Ef===0&&(Ef=lk()),Ef):(e=nt,e!==0||(e=window.event,e=e===void 0?16:mk(e.type)),e)}function xr(e,t,n){if(50<Ec)throw Ec=0,mv=null,Error(q(185));var r=jp(e,t);return r===null?null:($u(r,t,n),((He&2)===0||r!==Zt)&&(r===Zt&&((He&2)===0&&(Wp|=t),Kt===4&&_o(r,un)),Vn(r,n),t===1&&He===0&&(e.mode&1)===0&&(il=zt()+500,Fp&&ts())),r)}function jp(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function EC(e){return(Zt!==null||Vr!==null)&&(e.mode&1)!==0&&(He&2)===0}function Vn(e,t){var n=e.callbackNode;oO(e,t);var r=Wf(e,e===Zt?un:0);if(r===0)n!==null&&U1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&U1(n),t===1)e.tag===0?iI(Nb.bind(null,e)):Ak(Nb.bind(null,e)),eI(function(){He===0&&ts()}),n=null;else{switch(ck(r)){case 1:n=by;break;case 4:n=sk;break;case 16:n=Uf;break;case 536870912:n=ak;break;default:n=Uf}n=IC(n,kC.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function kC(e,t){if(wf=-1,Ef=0,(He&6)!==0)throw Error(q(327));var n=e.callbackNode;if(Wa()&&e.callbackNode!==n)return null;var r=Wf(e,e===Zt?un:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=sp(e,r);else{t=r;var i=He;He|=2;var o=RC();(Zt!==e||un!==t)&&(Fi=null,il=zt()+500,Ps(e,t));do try{EI();break}catch(a){CC(e,a)}while(1);Py(),rp.current=o,He=i,Wt!==null?t=0:(Zt=null,un=0,t=Kt)}if(t!==0){if(t===2&&(i=jg(e),i!==0&&(r=i,t=gv(e,i))),t===1)throw n=au,Ps(e,0),_o(e,r),Vn(e,zt()),n;if(t===6)_o(e,r);else{if(i=e.current.alternate,(r&30)===0&&!SI(i)&&(t=sp(e,r),t===2&&(o=jg(e),o!==0&&(r=o,t=gv(e,o))),t===1))throw n=au,Ps(e,0),_o(e,r),Vn(e,zt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(q(345));case 2:gs(e,zn,Fi);break;case 3:if(_o(e,r),(r&130023424)===r&&(t=Gy+500-zt(),10<t)){if(Wf(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){$n(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Zg(gs.bind(null,e,zn,Fi),t);break}gs(e,zn,Fi);break;case 4:if(_o(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-qr(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=zt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xI(r/1960))-r,10<r){e.timeoutHandle=Zg(gs.bind(null,e,zn,Fi),r);break}gs(e,zn,Fi);break;case 5:gs(e,zn,Fi);break;default:throw Error(q(329))}}}return Vn(e,zt()),e.callbackNode===n?kC.bind(null,e):null}function gv(e,t){var n=wc;return e.current.memoizedState.isDehydrated&&(Ps(e,t).flags|=256),e=sp(e,t),e!==2&&(t=zn,zn=n,t!==null&&vv(t)),e}function vv(e){zn===null?zn=e:zn.push.apply(zn,e)}function SI(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Zr(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _o(e,t){for(t&=~Vy,t&=~Wp,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qr(t),r=1<<n;e[n]=-1,t&=~r}}function Nb(e){if((He&6)!==0)throw Error(q(327));Wa();var t=Wf(e,0);if((t&1)===0)return Vn(e,zt()),null;var n=sp(e,t);if(e.tag!==0&&n===2){var r=jg(e);r!==0&&(t=r,n=gv(e,r))}if(n===1)throw n=au,Ps(e,0),_o(e,t),Vn(e,zt()),n;if(n===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,gs(e,zn,Fi),Vn(e,zt()),null}function Ky(e,t){var n=He;He|=1;try{return e(t)}finally{He=n,He===0&&(il=zt()+500,Fp&&ts())}}function js(e){Eo!==null&&Eo.tag===0&&(He&6)===0&&Wa();var t=He;He|=1;var n=br.transition,r=nt;try{if(br.transition=null,nt=1,e)return e()}finally{nt=r,br.transition=n,He=t,(He&6)===0&&ts()}}function qy(){Qn=Ia.current,gt(Ia)}function Ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,QO(n)),Wt!==null)for(n=Wt.return;n!==null;){var r=n;switch(Ay(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Gf();break;case 3:rl(),gt(Hn),gt(Cn),Fy();break;case 5:Ly(r);break;case 4:rl();break;case 13:gt(Pt);break;case 19:gt(Pt);break;case 10:Oy(r.type._context);break;case 22:case 23:qy()}n=n.return}if(Zt=e,Wt=e=Go(e.current,null),un=Qn=t,Kt=0,au=null,Vy=Wp=Ws=0,zn=wc=null,Vr!==null){for(t=0;t<Vr.length;t++)if(n=Vr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Vr=null}return e}function CC(e,t){do{var n=Wt;try{if(Py(),xf.current=np,tp){for(var r=Ot.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}tp=!1}if(Us=0,en=Gt=Ot=null,xc=!1,iu=0,Yy.current=null,n===null||n.return===null){Kt=1,au=t,Wt=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=un,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,d=u.tag;if((u.mode&1)===0&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=bb(s);if(p!==null){p.flags&=-257,xb(p,s,a,o,t),p.mode&1&&_b(o,c,t),t=p,l=c;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break e}else{if((t&1)===0){_b(o,c,t),Xy();break e}l=Error(q(426))}}else if(Et&&a.mode&1){var _=bb(s);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),xb(_,s,a,o,t),$y(l);break e}}o=l,Kt!==4&&(Kt=2),wc===null?wc=[o]:wc.push(o),l=Hy(l,a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=lC(a,l,t);ub(a,m);break e;case 1:o=l;var v=a.type,y=a.stateNode;if((a.flags&128)===0&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(No===null||!No.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var x=cC(a,o,t);ub(a,x);break e}}a=a.return}while(a!==null)}MC(n)}catch(w){t=w,Wt===n&&n!==null&&(Wt=n=n.return);continue}break}while(1)}function RC(){var e=rp.current;return rp.current=np,e===null?np:e}function Xy(){(Kt===0||Kt===3||Kt===2)&&(Kt=4),Zt===null||(Ws&268435455)===0&&(Wp&268435455)===0||_o(Zt,un)}function sp(e,t){var n=He;He|=2;var r=RC();(Zt!==e||un!==t)&&(Fi=null,Ps(e,t));do try{wI();break}catch(i){CC(e,i)}while(1);if(Py(),He=n,rp.current=r,Wt!==null)throw Error(q(261));return Zt=null,un=0,Kt}function wI(){for(;Wt!==null;)TC(Wt)}function EI(){for(;Wt!==null&&!XP();)TC(Wt)}function TC(e){var t=OC(e.alternate,e,Qn);e.memoizedProps=e.pendingProps,t===null?MC(e):Wt=t,Yy.current=null}function MC(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=hI(n,t,Qn),n!==null){Wt=n;return}}else{if(n=vI(n,t),n!==null){n.flags&=32767,Wt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Kt=6,Wt=null;return}}if(t=t.sibling,t!==null){Wt=t;return}Wt=t=e}while(t!==null);Kt===0&&(Kt=5)}function gs(e,t,n){var r=nt,i=br.transition;try{br.transition=null,nt=1,kI(e,t,n,r)}finally{br.transition=i,nt=r}return null}function kI(e,t,n,r){do Wa();while(Eo!==null);if((He&6)!==0)throw Error(q(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(sO(e,o),e===Zt&&(Wt=Zt=null,un=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Od||(Od=!0,IC(Uf,function(){return Wa(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=br.transition,br.transition=null;var s=nt;nt=1;var a=He;He|=4,Yy.current=null,_I(e,n),SC(n,e),VO(qg),jf=!!Kg,qg=Kg=null,e.current=n,bI(n),ZP(),He=a,nt=s,br.transition=o}else e.current=n;if(Od&&(Od=!1,Eo=e,op=i),o=e.pendingLanes,o===0&&(No=null),eO(n.stateNode),Vn(e,zt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(ip)throw ip=!1,e=hv,hv=null,e;return(op&1)!==0&&e.tag!==0&&Wa(),o=e.pendingLanes,(o&1)!==0?e===mv?Ec++:(Ec=0,mv=e):Ec=0,ts(),null}function Wa(){if(Eo!==null){var e=ck(op),t=br.transition,n=nt;try{if(br.transition=null,nt=16>e?16:e,Eo===null)var r=!1;else{if(e=Eo,Eo=null,op=0,(He&6)!==0)throw Error(q(331));var i=He;for(He|=4,oe=e.current;oe!==null;){var o=oe,s=o.child;if((oe.flags&16)!==0){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(oe=c;oe!==null;){var u=oe;switch(u.tag){case 0:case 11:case 15:Sc(8,u,o)}var d=u.child;if(d!==null)d.return=u,oe=d;else for(;oe!==null;){u=oe;var f=u.sibling,p=u.return;if(_C(u),u===c){oe=null;break}if(f!==null){f.return=p,oe=f;break}oe=p}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}oe=o}}if((o.subtreeFlags&2064)!==0&&s!==null)s.return=o,oe=s;else e:for(;oe!==null;){if(o=oe,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:Sc(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,oe=m;break e}oe=o.return}}var v=e.current;for(oe=v;oe!==null;){s=oe;var y=s.child;if((s.subtreeFlags&2064)!==0&&y!==null)y.return=s,oe=y;else e:for(s=v;oe!==null;){if(a=oe,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Up(9,a)}}catch(w){Nt(a,a.return,w)}if(a===s){oe=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,oe=x;break e}oe=a.return}}if(He=i,ts(),bi&&typeof bi.onPostCommitFiberRoot=="function")try{bi.onPostCommitFiberRoot(Dp,e)}catch{}r=!0}return r}finally{nt=n,br.transition=t}}return!1}function Lb(e,t,n){t=Hy(n,t),t=lC(e,t,1),$o(e,t),t=$n(),e=jp(e,1),e!==null&&($u(e,1,t),Vn(e,t))}function Nt(e,t,n){if(e.tag===3)Lb(e,e,n);else for(;t!==null;){if(t.tag===3){Lb(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(No===null||!No.has(r))){e=Hy(n,e),e=cC(t,e,1),$o(t,e),e=$n(),t=jp(t,1),t!==null&&($u(t,1,e),Vn(t,e));break}}t=t.return}}function CI(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$n(),e.pingedLanes|=e.suspendedLanes&n,Zt===e&&(un&n)===n&&(Kt===4||Kt===3&&(un&130023424)===un&&500>zt()-Gy?Ps(e,0):Vy|=n),Vn(e,t)}function PC(e,t){t===0&&((e.mode&1)===0?t=1:(t=bd,bd<<=1,(bd&130023424)===0&&(bd=4194304)));var n=$n();e=jp(e,t),e!==null&&($u(e,t,n),Vn(e,n))}function RI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),PC(e,n)}function TI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(q(314))}r!==null&&r.delete(t),PC(e,n)}var OC;OC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Hn.current)jn=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return jn=!1,gI(e,t,n);jn=(e.flags&131072)!==0}else jn=!1,Et&&(t.flags&1048576)!==0&&Fk(t,Qf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=el(t,Cn.current);Ua(t,n),i=zy(null,t,r,e,i,n);var o=Uy();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yn(r)?(o=!0,Kf(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Iy(t),i.updater=Bp,t.stateNode=i,i._reactInternals=t,nv(t,r,e,n),t=lv(null,t,r,!0,o,n)):(t.tag=0,Et&&o&&Dy(t),In(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=PI(r),e=zr(r,e),i){case 0:t=av(null,t,r,e,n);break e;case 1:t=Eb(null,t,r,e,n);break e;case 11:t=Sb(null,t,r,e,n);break e;case 14:t=wb(null,t,r,zr(r.type,e),n);break e}throw Error(q(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),av(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),Eb(e,t,r,i,n);case 3:e:{if(gC(t),e===null)throw Error(q(387));r=t.pendingProps,o=t.memoizedState,i=o.element,$k(e,t),Zf(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Error(q(423)),t=kb(e,t,r,n,i);break e}else if(r!==i){i=Error(q(424)),t=kb(e,t,r,n,i);break e}else for(Un=ji(t.stateNode.containerInfo.firstChild),nr=t,Et=!0,Hr=null,n=Uk(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tl(),r===i){t=Qi(e,t,n);break e}In(e,t,r,n)}t=t.child}return t;case 5:return Wk(t),e===null&&iv(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Xg(r,i)?s=null:o!==null&&Xg(r,o)&&(t.flags|=32),mC(e,t),In(e,t,s,n),t.child;case 6:return e===null&&iv(t),null;case 13:return vC(e,t,n);case 4:return Ny(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nl(t,null,r,n):In(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),Sb(e,t,r,i,n);case 7:return In(e,t,t.pendingProps,n),t.child;case 8:return In(e,t,t.pendingProps.children,n),t.child;case 12:return In(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ut(qf,r._currentValue),r._currentValue=s,o!==null)if(Zr(o.value,s)){if(o.children===i.children&&!Hn.current){t=Qi(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qi(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),ev(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(q(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ev(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}In(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ua(t,n),i=kr(i),r=r(i),t.flags|=1,In(e,t,r,n),t.child;case 14:return r=t.type,i=zr(r,t.pendingProps),i=zr(r.type,i),wb(e,t,r,i,n);case 15:return pC(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Yn(r)?(e=!0,Kf(t)):e=!1,Ua(t,n),Lk(t,r,i),nv(t,r,i,n),lv(null,t,r,!0,e,n);case 19:return yC(e,t,n);case 22:return hC(e,t,n)}throw Error(q(156,t.tag))};function IC(e,t){return ok(e,t)}function MI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yr(e,t,n,r){return new MI(e,t,n,r)}function Zy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function PI(e){if(typeof e=="function")return Zy(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vy)return 11;if(e===yy)return 14}return 2}function Go(e,t){var n=e.alternate;return n===null?(n=yr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function kf(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Zy(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Sa:return Os(n.children,i,o,t);case gy:s=8,i|=8;break;case Tg:return e=yr(12,n,t,i|2),e.elementType=Tg,e.lanes=o,e;case Mg:return e=yr(13,n,t,i),e.elementType=Mg,e.lanes=o,e;case Pg:return e=yr(19,n,t,i),e.elementType=Pg,e.lanes=o,e;case WE:return ap(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zE:s=10;break e;case UE:s=9;break e;case vy:s=11;break e;case yy:s=14;break e;case ho:s=16,r=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=yr(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Os(e,t,n,r){return e=yr(7,e,r,t),e.lanes=n,e}function ap(e,t,n,r){return e=yr(22,e,r,t),e.elementType=WE,e.lanes=n,e.stateNode={},e}function $m(e,t,n){return e=yr(6,e,null,t),e.lanes=n,e}function Nm(e,t,n){return t=yr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function OI(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vm(0),this.expirationTimes=vm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vm(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Jy(e,t,n,r,i,o,s,a,l){return e=new OI(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=yr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Iy(o),e}function II(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xa,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function DC(e){if(!e)return Vo;e=e._reactInternals;e:{if(Js(e)!==e||e.tag!==1)throw Error(q(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Yn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var n=e.type;if(Yn(n))return Dk(e,n,t)}return t}function AC(e,t,n,r,i,o,s,a,l){return e=Jy(n,r,!0,e,i,o,s,a,l),e.context=DC(null),n=e.current,r=$n(),i=Lo(n),o=qi(r,i),o.callback=t!=null?t:null,$o(n,o),e.current.lanes=i,$u(e,i,r),Vn(e,r),e}function Hp(e,t,n,r){var i=t.current,o=$n(),s=Lo(i);return n=DC(n),t.context===null?t.context=n:t.pendingContext=n,t=qi(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),$o(i,t),e=xr(i,s,o),e!==null&&bf(e,i,s),s}function lp(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Fb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Qy(e,t){Fb(e,t),(e=e.alternate)&&Fb(e,t)}function DI(){return null}var $C=typeof reportError=="function"?reportError:function(e){console.error(e)};function e0(e){this._internalRoot=e}Yp.prototype.render=e0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));Hp(e,t,null,null)};Yp.prototype.unmount=e0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;js(function(){Hp(null,e,null,null)}),t[Ji]=null}};function Yp(e){this._internalRoot=e}Yp.prototype.unstable_scheduleHydration=function(e){if(e){var t=fk();e={blockedOn:null,target:e,priority:t};for(var n=0;n<yo.length&&t!==0&&t<yo[n].priority;n++);yo.splice(n,0,e),n===0&&hk(e)}};function t0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bb(){}function AI(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=lp(s);o.call(c)}}var s=AC(t,r,e,0,null,!1,!1,"",Bb);return e._reactRootContainer=s,e[Ji]=s.current,Qc(e.nodeType===8?e.parentNode:e),js(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=lp(l);a.call(c)}}var l=Jy(e,0,!1,null,null,!1,!1,"",Bb);return e._reactRootContainer=l,e[Ji]=l.current,Qc(e.nodeType===8?e.parentNode:e),js(function(){Hp(t,l,n,r)}),l}function Gp(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=lp(s);a.call(l)}}Hp(t,s,e,i)}else s=AI(n,t,e,i,r);return lp(s)}uk=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=cc(t.pendingLanes);n!==0&&(xy(t,n|1),Vn(t,zt()),(He&6)===0&&(il=zt()+500,ts()))}break;case 13:var r=$n();js(function(){return xr(e,1,r)}),Qy(e,1)}};Sy=function(e){if(e.tag===13){var t=$n();xr(e,134217728,t),Qy(e,134217728)}};dk=function(e){if(e.tag===13){var t=$n(),n=Lo(e);xr(e,n,t),Qy(e,n)}};fk=function(){return nt};pk=function(e,t){var n=nt;try{return nt=e,t()}finally{nt=n}};zg=function(e,t,n){switch(t){case"input":if(Dg(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Lp(r);if(!i)throw Error(q(90));HE(r),Dg(r,i)}}}break;case"textarea":VE(e,n);break;case"select":t=n.value,t!=null&&La(e,!!n.multiple,t,!1)}};QE=Ky;ek=js;var $I={usingClientEntryPoint:!1,Events:[Lu,Ca,Lp,ZE,JE,Ky]},jl={findFiberByHostInstance:xs,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},NI={bundleType:jl.bundleType,version:jl.version,rendererPackageName:jl.rendererPackageName,rendererConfig:jl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:no.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=rk(e),e===null?null:e.stateNode},findFiberByHostInstance:jl.findFiberByHostInstance||DI,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Id=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Id.isDisabled&&Id.supportsFiber)try{Dp=Id.inject(NI),bi=Id}catch{}}or.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$I;or.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t0(t))throw Error(q(200));return II(e,t,null,n)};or.createRoot=function(e,t){if(!t0(e))throw Error(q(299));var n=!1,r="",i=$C;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Jy(e,1,!1,null,null,n,!1,r,i),e[Ji]=t.current,Qc(e.nodeType===8?e.parentNode:e),new e0(t)};or.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(q(188)):(e=Object.keys(e).join(","),Error(q(268,e)));return e=rk(t),e=e===null?null:e.stateNode,e};or.flushSync=function(e){return js(e)};or.hydrate=function(e,t,n){if(!Vp(t))throw Error(q(200));return Gp(null,e,t,!0,n)};or.hydrateRoot=function(e,t,n){if(!t0(e))throw Error(q(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=$C;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=AC(t,null,e,1,n!=null?n:null,i,!1,o,s),e[Ji]=t.current,Qc(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yp(t)};or.render=function(e,t,n){if(!Vp(t))throw Error(q(200));return Gp(null,e,t,!1,n)};or.unmountComponentAtNode=function(e){if(!Vp(e))throw Error(q(40));return e._reactRootContainer?(js(function(){Gp(null,null,e,!1,function(){e._reactRootContainer=null,e[Ji]=null})}),!0):!1};or.unstable_batchedUpdates=Ky;or.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vp(n))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return Gp(e,t,n,!1,r)};or.version="18.1.0-next-22edb9f77-20220426";function NC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(NC)}catch(e){console.error(e)}}NC(),Au.exports=or;var Lm=Au.exports,zb=Au.exports;O1.createRoot=zb.createRoot,O1.hydrateRoot=zb.hydrateRoot;function LI(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Kp(){return!LI()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function ko(e,t){return e.require(t)}function FI(e){let t;try{t=ko(module,e)}catch{}try{const{cwd:n}=ko(module,"process");t=ko(module,`${n()}/node_modules/${e}`)}catch{}return t}var BI={};function rt(){return Kp()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:BI}function n0(e,t,n){var r=n||rt(),i=r.__SENTRY__=r.__SENTRY__||{},o=i[e]||(i[e]=t());return o}var LC=Object.prototype.toString;function FC(e){switch(LC.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ro(e,Error)}}function Cl(e,t){return LC.call(e)===`[object ${t}]`}function BC(e){return Cl(e,"ErrorEvent")}function Ub(e){return Cl(e,"DOMError")}function zI(e){return Cl(e,"DOMException")}function ol(e){return Cl(e,"String")}function zC(e){return e===null||typeof e!="object"&&typeof e!="function"}function sl(e){return Cl(e,"Object")}function r0(e){return typeof Event!="undefined"&&ro(e,Event)}function UI(e){return typeof Element!="undefined"&&ro(e,Element)}function WI(e){return Cl(e,"RegExp")}function i0(e){return Boolean(e&&e.then&&typeof e.then=="function")}function jI(e){return sl(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function UC(e){return typeof e=="number"&&e!==e}function ro(e,t){try{return e instanceof t}catch{return!1}}function lu(e,t){try{let a=e;var n=5,r=80,i=[];let l=0,c=0;var o=" > ",s=o.length;let u;for(;a&&l++<n&&(u=HI(a,t),!(u==="html"||l>1&&c+i.length*s+u.length>=r));)i.push(u),c+=u.length,a=a.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function HI(e,t){var n=e,r=[];let i,o,s,a,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var c=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(c&&c.length)c.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&ol(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);var u=["type","name","title","alt"];for(l=0;l<u.length;l++)s=u[l],a=n.getAttribute(s),a&&r.push(`[${s}="${a}"]`);return r.join("")}function YI(){var e=rt();try{return e.document.location.href}catch{return""}}class xn extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var VI=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function GI(e){return e==="http"||e==="https"}function qp(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function KI(e){var t=VI.exec(e);if(!t)throw new xn(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,s="",a]=t.slice(1);let l="",c=a;var u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){var d=c.match(/^\d+/);d&&(c=d[0])}return WC({host:o,pass:i,path:l,projectId:c,port:s,protocol:n,publicKey:r})}function WC(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function qI(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var i=["protocol","publicKey","host","projectId"];if(i.forEach(o=>{if(!e[o])throw new xn(`Invalid Sentry Dsn: ${o} missing`)}),!n.match(/^\d+$/))throw new xn(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!GI(r))throw new xn(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new xn(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function jC(e){var t=typeof e=="string"?KI(e):WC(e);return qI(t),t}var XI=rt(),ZI="Sentry Logger ",cp=["debug","info","warn","error","log","assert"];function HC(e){var t=rt();if(!("console"in t))return e();var n=t.console,r={};cp.forEach(i=>{var o=n[i]&&n[i].__sentry_original__;i in t.console&&o&&(r[i]=n[i],n[i]=o)});try{return e()}finally{Object.keys(r).forEach(i=>{n[i]=r[i]})}}function Wb(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?cp.forEach(n=>{t[n]=(...r)=>{e&&HC(()=>{XI.console[n](`${ZI}[${n}]:`,...r)})}}):cp.forEach(n=>{t[n]=()=>{}}),t}let Q;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Q=n0("logger",Wb):Q=Wb();function kc(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function jb(e,t){if(!Array.isArray(e))return"";var n=[];for(let i=0;i<e.length;i++){var r=e[i];try{n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function cu(e,t){return ol(e)?WI(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function Sn(e,t,n){if(t in e){var r=e[t],i=n(r);if(typeof i=="function")try{YC(i,r)}catch{}e[t]=i}}function o0(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function YC(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,o0(e,"__sentry_original__",t)}function s0(e){return e.__sentry_original__}function JI(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function VC(e){if(FC(e))return L({message:e.message,name:e.name,stack:e.stack},Yb(e));if(r0(e)){var t=L({type:e.type,target:Hb(e.target),currentTarget:Hb(e.currentTarget)},Yb(e));return typeof CustomEvent!="undefined"&&ro(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Hb(e){try{return UI(e)?lu(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Yb(e){if(typeof e=="object"&&e!==null){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function QI(e,t=40){var n=Object.keys(VC(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return kc(n[0],t);for(let i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>t))return i===n.length?r:kc(r,t)}return""}function Is(e){var t=new Map;return yv(e,t)}function yv(e,t){if(sl(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var i of Object.keys(e))typeof e[i]!="undefined"&&(r[i]=yv(e[i],t));return r}if(Array.isArray(e)){var n=t.get(e);if(n!==void 0)return n;var r=[];return t.set(e,r),e.forEach(a=>{r.push(yv(a,t))}),r}return e}var eD=50;function GC(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var i=[];for(var o of n.split(`
|
33 |
-
`).slice(r))for(var s of t){var a=s(o);if(a){i.push(a);break}}return
|
34 |
Type: ${e}
|
35 |
Name: ${Ko(n)}
|
36 |
-
Error:`,r)}}function sD(){"console"in kt&&cp.forEach(function(e){e in kt.console&&Sn(kt.console,e,function(t){return function(...n){Xr("console",{args:n,level:e}),t&&t.apply(kt.console,n)}})})}function aD(){!rD()||Sn(kt,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:lD(t),url:cD(t)},startTimestamp:Date.now()};return Xr("fetch",L({},n)),e.apply(kt,t).then(r=>(Xr("fetch",Ee(L({},n),{endTimestamp:Date.now(),response:r})),r),r=>{throw Xr("fetch",Ee(L({},n),{endTimestamp:Date.now(),error:r})),r})}})}function lD(e=[]){return"Request"in kt&&ro(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function cD(e=[]){return typeof e[0]=="string"?e[0]:"Request"in kt&&ro(e[0],Request)?e[0].url:String(e[0])}function uD(){if("XMLHttpRequest"in kt){var e=XMLHttpRequest.prototype;Sn(e,"open",function(t){return function(...n){var r=this,i=n[1],o=r.__sentry_xhr__={method:ol(n[0])?n[0].toUpperCase():n[0],url:n[1]};ol(i)&&o.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var s=function(){if(r.readyState===4){try{o.status_code=r.status}catch{}Xr("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?Sn(r,"onreadystatechange",function(a){return function(...l){return s(),a.apply(r,l)}}):r.addEventListener("readystatechange",s),t.apply(r,n)}}),Sn(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),Xr("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Dd;function dD(){if(!iD())return;var e=kt.onpopstate;kt.onpopstate=function(...n){var r=kt.location.href,i=Dd;if(Dd=r,Xr("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var i=r.length>2?r[2]:void 0;if(i){var o=Dd,s=String(i);Dd=s,Xr("history",{from:o,to:s})}return n.apply(this,r)}}Sn(kt.history,"pushState",t),Sn(kt.history,"replaceState",t)}var fD=1e3;let Ad,$d;function pD(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function hD(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Gb(e,t=!1){return n=>{if(!(!n||$d===n)&&!hD(n)){var r=n.type==="keypress"?"input":n.type;Ad===void 0?(e({event:n,name:r,global:t}),$d=n):pD($d,n)&&(e({event:n,name:r,global:t}),$d=n),clearTimeout(Ad),Ad=kt.setTimeout(()=>{Ad=void 0},fD)}}}function mD(){if("document"in kt){var e=Xr.bind(null,"dom"),t=Gb(e,!0);kt.document.addEventListener("click",t,!1),kt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=kt[n]&&kt[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Sn(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},u=c[o]=c[o]||{refCount:0};if(!u.handler){var d=Gb(e);u.handler=d,i.call(this,o,d,a)}u.refCount+=1}catch{}return i.call(this,o,s,a)}}),Sn(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,c=l.__sentry_instrumentation_handlers__||{},u=c[o];u&&(u.refCount-=1,u.refCount<=0&&(i.call(this,o,u.handler,a),u.handler=void 0,delete c[o]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}}let Bm=null;function gD(){Bm=kt.onerror,kt.onerror=function(e,t,n,r,i){return Xr("error",{column:r,error:i,line:n,msg:e,url:t}),Bm?Bm.apply(this,arguments):!1}}let zm=null;function vD(){zm=kt.onunhandledrejection,kt.onunhandledrejection=function(e){return Xr("unhandledrejection",e),zm?zm.apply(this,arguments):!0}}function yD(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;s<t.length;s++){var o=t[s];if(o===i)return!0}return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function Fo(){var e=rt(),t=e.crypto||e.msCrypto;if(t!==void 0&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=n[3]&4095|16384,n[4]=n[4]&16383|32768;var r=i=>{let o=i.toString(16);for(;o.length<4;)o=`0${o}`;return o};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{var o=Math.random()*16|0,s=i==="x"?o:o&3|8;return s.toString(16)})}function Um(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function KC(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ws(e){const{message:t,event_id:n}=e;if(t)return t;var r=KC(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function bv(e,t,n){var r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function uu(e,t){var n=KC(e);if(!!n){var r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism=L(L(L({},r),i),t),t&&"data"in t){var o=L(L({},i&&i.data),t.data);n.mechanism.data=o}}}function Kb(e){if(e&&e.__sentry_captured__)return!0;try{o0(e,"__sentry_captured__",!0)}catch{}return!1}function po(e,t=1/0,n=1/0){try{return XC("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function qC(e,t=3,n=100*1024){var r=po(e,t);return xD(r)>n?qC(e,t-1,n):r}function XC(e,t,n=1/0,r=1/0,i=yD()){const[o,s]=i;var a=t;if(a&&typeof a.toJSON=="function")try{return a.toJSON()}catch{}if(t===null||["number","boolean","string"].includes(typeof t)&&!UC(t))return t;var l=_D(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;if(n===0)return l.replace("object ","");if(o(t))return"[Circular ~]";var c=Array.isArray(t)?[]:{};let u=0;var d=VC(t);for(var f in d)if(!!Object.prototype.hasOwnProperty.call(d,f)){if(u>=r){c[f]="[MaxProperties ~]";break}var p=d[f];c[f]=XC(f,p,n-1,r,i),u+=1}return s(t),c}function _D(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":jI(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${Ko(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function bD(e){return~-encodeURI(e).split(/%..|./).length}function xD(e){return bD(JSON.stringify(e))}var Bi;(function(e){var t=0;e[e.PENDING=t]="PENDING";var n=1;e[e.RESOLVED=n]="RESOLVED";var r=2;e[e.REJECTED=r]="REJECTED"})(Bi||(Bi={}));function Hs(e){return new An(t=>{t(e)})}function xv(e){return new An((t,n)=>{n(e)})}class An{__init(){this._state=Bi.PENDING}__init2(){this._handlers=[]}constructor(t){An.prototype.__init.call(this),An.prototype.__init2.call(this),An.prototype.__init3.call(this),An.prototype.__init4.call(this),An.prototype.__init5.call(this),An.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new An((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(s){i(s)}},o=>{if(!n)i(o);else try{r(n(o))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new An((n,r)=>{let i,o;return this.then(s=>{o=!1,i=s,t&&t()},s=>{o=!0,i=s,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Bi.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Bi.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Bi.PENDING){if(i0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Bi.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Bi.RESOLVED&&n[1](this._value),this._state===Bi.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function SD(e){var t=[];function n(){return e===void 0||t.length<e}function r(s){return t.splice(t.indexOf(s),1)[0]}function i(s){if(!n())return xv(new xn("Not adding Promise due to buffer limit reached."));var a=s();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(s){return new An((a,l)=>{let c=t.length;if(!c)return a(!0);var u=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(d=>{Hs(d).then(()=>{--c||(clearTimeout(u),a(!0))},l)})})}return{$:t,add:i,drain:o}}var wD=["fatal","error","warning","log","info","debug"];function ED(e){return e==="warn"?"warning":wD.includes(e)?e:"log"}var Sv={nowSeconds:()=>Date.now()/1e3};function kD(){const{performance:e}=rt();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function CD(){try{var e=ko(module,"perf_hooks");return e.performance}catch{return}}var Wm=Kp()?CD():kD(),qb=Wm===void 0?Sv:{nowSeconds:()=>(Wm.timeOrigin+Wm.now())/1e3},Xp=Sv.nowSeconds.bind(Sv),l0=qb.nowSeconds.bind(qb),du=l0,fu=(()=>{const{performance:e}=rt();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,s=e.timing&&e.timing.navigationStart,a=typeof s=="number",l=a?Math.abs(s+n-r):t,c=l<t;return o||c?i<=l?e.timeOrigin:s:r}})(),RD=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function TD(e){var t=e.match(RD);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Zp(e,t=[]){return[e,t]}function MD(e,t){const[n,r]=e;return[n,[...r,t]]}function Xb(e,t){var n=e[1];n.forEach(r=>{var i=r[0].type;t(r,i)})}function wv(e,t){var n=t||new TextEncoder;return n.encode(e)}function ZC(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[wv(i,t),a]:i.push(typeof a=="string"?wv(a,t):a)}for(var s of r){const[a,l]=s;o(`
|
37 |
${JSON.stringify(a)}
|
38 |
-
`),o(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof i=="string"?i:PD(i)}function PD(e){var t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(var i of e)n.set(i,r),r+=i.length;return n}function OD(e,t){var n=typeof e.data=="string"?wv(e.data,t):e.data;return[Is({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var ID={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Zb(e){return ID[e]}function DD(e,t,n){var r=[{type:"client_report"},{timestamp:n||Xp(),discarded_events:e}];return Zp(t?{dsn:t}:{},[r])}var AD=60*1e3;function $D(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?AD:r-t}function ND(e,t){return e[t]||e.all||0}function LD(e,t,n=Date.now()){return ND(e,t)>n}function FD(e,{statusCode:t,headers:n},r=Date.now()){var i=L({},e),o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(var a of o.trim().split(",")){const[d,f]=a.split(":",2);var l=parseInt(d,10),c=(isNaN(l)?60:l)*1e3;if(!f)i.all=r+c;else for(var u of f.split(";"))i[u]=r+c}else s?i.all=r+$D(s,r):t===429&&(i.all=r+60*1e3);return i}var Da="baggage",BD="sentry-",zD=/^sentry-/,UD=8192;function JC(e,t=""){return[L({},e),t]}function Jb(e,t,n){e[0][t]=n}function QC(e){return Object.keys(e[0]).length===0}function WD(e){var t=eR(e);return QC(e)&&(t==null||t.length===0)}function eR(e){return e[1]}function jD(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],i=`${BD}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=t===""?i:`${t},${i}`;return o.length>UD?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):o},e[1])}function tR(e){return e.split(",").reduce(([t,n],r)=>{const[i,o]=r.split("=");if(zD.test(i)){var s=decodeURIComponent(i.split("-")[1]);return[Ee(L({},t),{[s]:decodeURIComponent(o)}),n]}else return[t,n===""?r:`${n},${r}`]},[{},""])}function dc(e,t){if(!e&&!t)return"";var n=t&&tR(t)||void 0,r=n&&eR(n),i=JC(e&&e[0]||{},r||e&&e[1]||"");return jD(i)}function HD(e){var t=l0(),n={sid:Fo(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>VD(n)};return e&&al(n,e),n}function al(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||l0(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Fo()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function YD(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),al(e,n)}function VD(e){return Is({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var Qb=100;class Jt{constructor(){Jt.prototype.__init.call(this),Jt.prototype.__init2.call(this),Jt.prototype.__init3.call(this),Jt.prototype.__init4.call(this),Jt.prototype.__init5.call(this),Jt.prototype.__init6.call(this),Jt.prototype.__init7.call(this),Jt.prototype.__init8.call(this),Jt.prototype.__init9.call(this),Jt.prototype.__init10.call(this)}__init(){this._notifyingListeners=!1}__init2(){this._scopeListeners=[]}__init3(){this._eventProcessors=[]}__init4(){this._breadcrumbs=[]}__init5(){this._user={}}__init6(){this._tags={}}__init7(){this._extra={}}__init8(){this._contexts={}}__init9(){this._attachments=[]}__init10(){this._sdkProcessingMetadata={}}static clone(t){var n=new Jt;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags=L({},t._tags),n._extra=L({},t._extra),n._contexts=L({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments]),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&al(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags=L(L({},this._tags),t),this._notifyScopeListeners(),this}setTag(t,n){return this._tags=Ee(L({},this._tags),{[t]:n}),this._notifyScopeListeners(),this}setExtras(t){return this._extra=L(L({},this._extra),t),this._notifyScopeListeners(),this}setExtra(t,n){return this._extra=Ee(L({},this._extra),{[t]:n}),this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts=Ee(L({},this._contexts),{[t]:n}),this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){var n=t(this);return n instanceof Jt?n:this}return t instanceof Jt?(this._tags=L(L({},this._tags),t._tags),this._extra=L(L({},this._extra),t._extra),this._contexts=L(L({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):sl(t)&&(t=t,this._tags=L(L({},this._tags),t.tags),this._extra=L(L({},this._extra),t.extra),this._contexts=L(L({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){var r=typeof n=="number"?Math.min(n,Qb):Qb;if(r<=0)return this;var i=L({timestamp:Xp()},t);return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra=L(L({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=L(L({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=L(L({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=L(L({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=L({trace:this._span.getTraceContext()},t.contexts);var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags=L({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors([...nR(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=L(L({},this._sdkProcessingMetadata),t),this}_notifyEventProcessors(t,n,r,i=0){return new An((o,s)=>{var a=t[i];if(n===null||typeof a!="function")o(n);else{var l=a(L({},n),r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.id&&l===null&&Q.log(`Event processor "${a.id}" dropped event`),i0(l)?l.then(c=>this._notifyEventProcessors(t,c,r,i+1).then(o)).then(null,s):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function nR(){return n0("globalEventProcessors",()=>[])}function c0(e){nR().push(e)}var u0=4,GD=100;class Bu{__init(){this._stack=[{}]}constructor(t,n=new Jt,r=u0){this._version=r,Bu.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=Jt.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Fo(),i=new Error("Sentry syntheticException");return this._withClient((o,s)=>{o.captureException(t,Ee(L({originalException:t,syntheticException:i},n),{event_id:r}),s)}),r}captureMessage(t,n,r){var i=this._lastEventId=r&&r.event_id?r.event_id:Fo(),o=new Error(t);return this._withClient((s,a)=>{s.captureMessage(t,n,Ee(L({originalException:t,syntheticException:o},r),{event_id:i}),a)}),i}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Fo();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,Ee(L({},n),{event_id:r}),o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=GD}=i.getOptions&&i.getOptions()||{};if(!(s<=0)){var a=Xp(),l=L({timestamp:a},t),c=o?HC(()=>o(l,n)):l;c!==null&&r.addBreadcrumb(c,s)}}setUser(t){var n=this.getScope();n&&n.setUser(t)}setTags(t){var n=this.getScope();n&&n.setTags(t)}setExtras(t){var n=this.getScope();n&&n.setExtras(t)}setTag(t,n){var r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){var r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){var r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){var n=ex(this);try{t(this)}finally{ex(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&YD(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o}=r&&r.getOptions()||{};var s=rt();const{userAgent:a}=s.navigator||{};var l=HD(L(L(L({release:i,environment:o},n&&{user:n.getUser()}),a&&{userAgent:a}),t));if(n){var c=n.getSession&&n.getSession();c&&c.status==="ok"&&al(c,{status:"exited"}),this.endSession(),n.setSession(l)}return l}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!!t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){var r=Rl(),i=r.__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Rl(){var e=rt();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function ex(e){var t=Rl(),n=bo(t);return d0(t,e),n}function Ft(){var e=Rl();return(!rR(e)||bo(e).isOlderThan(u0))&&d0(e,new Bu),Kp()?KD(e):bo(e)}function KD(e){try{var t=Rl().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return bo(e);if(!rR(n)||bo(n).isOlderThan(u0)){var r=bo(e).getStackTop();d0(n,new Bu(r.client,Jt.clone(r.scope)))}return bo(n)}catch{return bo(e)}}function rR(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function bo(e){return n0("hub",()=>new Bu,e)}function d0(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function iR(e,t){return Ft().captureException(e,{captureContext:t})}function oR(e){Ft().withScope(e)}var qD="7";function sR(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function XD(e){return`${sR(e)}${e.projectId}/envelope/`}function ZD(e){return JI({sentry_key:e.publicKey,sentry_version:qD})}function aR(e,t){return t||`${XD(e)}?${ZD(e)}`}function JD(e,t){var n=jC(e),r=`${sR(n)}embed/error-page/`;let i=`dsn=${qp(n)}`;for(var o in t)if(o!=="dsn")if(o==="user"){var s=t.user;if(!s)continue;s.name&&(i+=`&name=${encodeURIComponent(s.name)}`),s.email&&(i+=`&email=${encodeURIComponent(s.email)}`)}else i+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${i}`}function xo(e,t){return e!=null?e:t()}function QD(e){let t,n=e[0],r=1;for(;r<e.length;){var i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}function lR(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function eA(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function tA(e,t,n,r){var i=lR(n),o=L(L({sent_at:new Date().toISOString()},i&&{sdk:i}),!!r&&{dsn:qp(t)}),s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Zp(o,[s])}function nA(e,t,n,r){var i=lR(n),o=e.type||"event";const{transactionSampling:s}=e.sdkProcessingMetadata||{},{method:a,rate:l}=s||{};eA(e,n&&n.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata;var c=rA(e,i,r,t),u=[{type:o,sample_rates:[{id:a,rate:l}]},e];return Zp(c,[u])}function rA(e,t,n,r){return L(L(L({event_id:e.event_id,sent_at:new Date().toISOString()},t&&{sdk:t}),!!n&&{dsn:qp(r)}),e.type==="transaction"&&e.contexts&&e.contexts.trace&&{trace:Is({trace_id:e.contexts.trace.trace_id,environment:e.environment,release:e.release,transaction:e.transaction,user:e.user&&{id:e.user.id,segment:e.user.segment},public_key:r.publicKey})})}var tx=[];function nx(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function iA(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...nx(t)];Array.isArray(n)?r=[...r.filter(s=>n.every(a=>a.name!==s.name)),...nx(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(s=>s.name),o="Debug";return i.indexOf(o)!==-1&&r.push(...r.splice(i.indexOf(o),1)),r}function oA(e){var t={};return e.forEach(n=>{t[n.name]=n,tx.indexOf(n.name)===-1&&(n.setupOnce(c0,Ft),tx.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Integration installed: ${n.name}`))}),t}var rx="Not capturing exception because it's already been captured.";class Aa{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Aa.prototype.__init.call(this),Aa.prototype.__init2.call(this),Aa.prototype.__init3.call(this),Aa.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=jC(t.dsn);var n=aR(this._dsn,t.tunnel);this._transport=t.transport(Ee(L({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{url:n}))}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(Kb(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(rx);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;var s=zC(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(s.then(a=>this._captureEvent(a,r,i)).then(a=>{o=a})),o}captureEvent(t,n,r){if(n&&n.originalException&&Kb(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(rx);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),al(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):Hs(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=oA(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let i=nA(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])i=MD(i,OD(r,QD([this,"access",o=>o._options,"access",o=>o.transportOptions,"optionalAccess",o=>o.textEncoder])));this._sendEnvelope(i)}}sendSession(t){if(this._dsn){var n=tA(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,i=!1;var o=n.exception&&n.exception.values;if(o){i=!0;for(var s of o){var a=s.mechanism;if(a&&a.handled===!1){r=!0;break}}}var l=t.status==="ok",c=l&&t.errors===0||l&&r;c&&(al(t,Ee(L({},r&&{status:"crashed"}),{errors:t.errors||Number(i||r)})),this.captureSession(t))}_isClientDoneProcessing(t){return new An(n=>{let r=0;var i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var s=Ee(L({},t),{event_id:t.event_id||n.event_id||Fo(),timestamp:t.timestamp||Xp()});this._applyClientOptions(s),this._applyIntegrationsMetadata(s);let a=r;n.captureContext&&(a=Jt.clone(a).update(n.captureContext));let l=Hs(s);if(a){var c=[...n.attachments||[],...a.getAttachments()];c.length&&(n.attachments=c),l=a.applyToEvent(s,n)}return l.then(u=>(u&&(u.sdkProcessingMetadata=Ee(L({},u.sdkProcessingMetadata),{normalizeDepth:`${po(i)} (${typeof i})`})),typeof i=="number"&&i>0?this._normalizeEvent(u,i,o):u))}_normalizeEvent(t,n,r){if(!t)return null;var i=L(L(L(L(L({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>L(L({},o),o.data&&{data:po(o.data,n,r)}))}),t.user&&{user:po(t.user,n,r)}),t.contexts&&{contexts:po(t.contexts,n,r)}),t.extra&&{extra:po(t.extra,n,r)});return t.contexts&&t.contexts.trace&&(i.contexts={},i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=po(t.contexts.trace.data,n,r))),t.spans&&(i.spans=t.spans.map(o=>(o.data&&(o.data=po(o.data,n,r)),o))),i.sdkProcessingMetadata=Ee(L({},i.sdkProcessingMetadata),{baseClientNormalized:!0}),i}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:i,dist:o,maxValueLength:s=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&i!==void 0&&(t.release=i),t.dist===void 0&&o!==void 0&&(t.dist=o),t.message&&(t.message=kc(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=kc(a.value,s));var l=t.request;l&&l.url&&(l.url=kc(l.url,s))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(i)})}_processEvent(t,n,r){const{beforeSend:i,sampleRate:o}=this.getOptions();if(!this._isEnabled())return xv(new xn("SDK not enabled, will not capture event."));var s=t.type==="transaction";return!s&&typeof o=="number"&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),xv(new xn(`Discarding event because it's not included in the random sample (sampling rate = ${o})`))):this._prepareEvent(t,n,r).then(a=>{if(a===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new xn("An event processor returned null, will not send event.");var l=n.data&&n.data.__sentry__===!0;if(l||s||!i)return a;var c=i(a,n);return sA(c)}).then(a=>{if(a===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new xn("`beforeSend` returned `null`, will not send event.");var l=r&&r.getSession();return!s&&l&&this._updateSessionFromEvent(l,a),this.sendEvent(a,n),a}).then(null,a=>{throw a instanceof xn?a:(this.captureException(a,{data:{__sentry__:!0},originalException:a}),new xn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
39 |
-
Reason: ${a}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function
|
40 |
-
Event: ${ws(e)}`),!0):
|
41 |
-
Event: ${ws(e)}`),!0):
|
42 |
Event: ${ws(e)}.
|
43 |
-
Url: ${dp(e)}`),!0):
|
44 |
Event: ${ws(e)}.
|
45 |
-
Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some(r=>cu(n,r)))}function pA(e,t){if(!t||!t.length)return!1;var n=dp(e);return n?t.some(r=>cu(n,r)):!1}function hA(e,t){if(!t||!t.length)return!0;var n=dp(e);return n?t.some(r=>cu(n,r)):!0}function mA(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract message for event ${ws(e)}`),[]}return[]}function gA(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function vA(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&t.filename!=="<anonymous>"&&t.filename!=="[native code]")return t.filename||null}return null}function dp(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?vA(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract url for event ${ws(e)}`),null}}function uR(e,t){var n=f0(e,t),r={type:t&&t.name,value:xA(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function yA(e,t,n,r){var i={exception:{values:[{type:r0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${QI(t)}`}]},extra:{__serialized__:qC(t)}};if(n){var o=f0(e,n);o.length&&(i.exception.values[0].stacktrace={frames:o})}return i}function jm(e,t){return{exception:{values:[uR(e,t)]}}}function f0(e,t){var n=t.stacktrace||t.stack||"",r=bA(t);try{return e(n,r)}catch{}return[]}var _A=/Minified React error #\d+;/i;function bA(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(_A.test(e.message))return 1}return 0}function xA(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function SA(e,t,n,r){var i=n&&n.syntheticException||void 0,o=p0(e,t,i,r);return uu(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Hs(o)}function wA(e,t,n="info",r,i){var o=r&&r.syntheticException||void 0,s=Ev(e,t,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Hs(s)}function p0(e,t,n,r,i){let o;if(BC(t)&&t.error){var s=t;return jm(e,s.error)}if(Ub(t)||zI(t)){var a=t;if("stack"in t)o=jm(e,t);else{var l=a.name||(Ub(a)?"DOMError":"DOMException"),c=a.message?`${l}: ${a.message}`:l;o=Ev(e,c,n,r),bv(o,c)}return"code"in a&&(o.tags=Ee(L({},o.tags),{"DOMException.code":`${a.code}`})),o}if(FC(t))return jm(e,t);if(sl(t)||r0(t)){var u=t;return o=yA(e,u,n,i),uu(o,{synthetic:!0}),o}return o=Ev(e,t,n,r),bv(o,`${t}`,void 0),uu(o,{synthetic:!0}),o}function Ev(e,t,n,r){var i={message:t};if(r&&n){var o=f0(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}var dR="Breadcrumbs";class hu{static __initStatic(){this.id=dR}__init(){this.name=hu.id}constructor(t){hu.prototype.__init.call(this),this.options=L({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}setupOnce(){this.options.console&&tr("console",kA),this.options.dom&&tr("dom",EA(this.options.dom)),this.options.xhr&&tr("xhr",CA),this.options.fetch&&tr("fetch",RA),this.options.history&&tr("history",TA)}}hu.__initStatic();function EA(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0;typeof i=="string"&&(i=[i]);try{r=n.event.target?lu(n.event.target,i):lu(n.event,i)}catch{r="<unknown>"}r.length!==0&&Ft().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function kA(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:ED(e.level),message:jb(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${jb(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Ft().addBreadcrumb(t,{input:e.args,level:e.level})}function CA(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:i}=e.xhr.__sentry_xhr__||{};Ft().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:i});return}}function RA(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Ft().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Ft().addBreadcrumb({category:"fetch",data:Ee(L({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response}))}function TA(e){var t=rt();let n=e.from,r=e.to;var i=Um(t.location.href);let o=Um(n);var s=Um(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Ft().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var Yr=rt();let Nd;function fR(){if(Nd)return Nd;if(_v(Yr.fetch))return Nd=Yr.fetch.bind(Yr);var e=Yr.document;let t=Yr.fetch;if(e&&typeof e.createElement=="function")try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return Nd=t.bind(Yr)}function MA(e,t){var n=Object.prototype.toString.call(Yr&&Yr.navigator)==="[object Navigator]",r=n&&typeof Yr.navigator.sendBeacon=="function";if(r){var i=Yr.navigator.sendBeacon.bind(Yr.navigator);i(e,t)}else if(a0()){var o=fR();o(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,s=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(s)})}}var Hm=rt();class PA extends Aa{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:up}],version:up},super(t),t.sendClientReports&&Hm.document&&Hm.document.addEventListener("visibilitychange",()=>{Hm.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return SA(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return wA(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(dR);r&&r.options&&r.options.sentry&&Ft().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:ws(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("Sending outcomes:",t);var n=aR(this._dsn,this._options.tunnel),r=DD(t,this._options.tunnel&&qp(this._dsn));try{MA(n,ZC(r))}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(i)}}}function OA(e,t=fR()){function n(r){var i=L({body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers},e.fetchOptions);return t(e.url,i).then(o=>({statusCode:o.status,headers:{"x-sentry-rate-limits":o.headers.get("X-Sentry-Rate-Limits"),"retry-after":o.headers.get("Retry-After")}}))}return cR(e,n)}var IA=4;function DA(e){function t(n){return new An((r,i)=>{var o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===IA&&r({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(var s in e.headers)Object.prototype.hasOwnProperty.call(e.headers,s)&&o.setRequestHeader(s,e.headers[s]);o.send(n.body)})}return cR(e,t)}var Jp="?",AA=30,$A=40,NA=50;function h0(e,t,n,r){var i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var LA=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,FA=/\((\S*)(?::(\d+))(?::(\d+))\)/,BA=e=>{var t=LA.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=FA.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[i,o]=pR(t[1]||Jp,t[2]);return h0(o,i,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},zA=[AA,BA],UA=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,WA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,jA=e=>{var t=UA.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=WA.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let i=t[3],o=t[1]||Jp;return[o,i]=pR(o,i),h0(i,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},HA=[NA,jA],YA=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,VA=e=>{var t=YA.exec(e);return t?h0(t[2],t[1]||Jp,+t[3],t[4]?+t[4]:void 0):void 0},GA=[$A,VA],KA=[zA,HA,GA],qA=GC(...KA),pR=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Jp,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let kv=0;function hR(){return kv>0}function XA(){kv+=1,setTimeout(()=>{kv-=1})}function ll(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(s0(e))return e}catch{return e}var i=function(){var a=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=a.map(c=>ll(c,t));return e.apply(this,l)}catch(c){throw XA(),oR(u=>{u.addEventProcessor(d=>(t.mechanism&&(bv(d,void 0,void 0),uu(d,t.mechanism)),d.extra=Ee(L({},d.extra),{arguments:a}),d)),iR(c)}),c}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(i[o]=e[o])}catch{}YC(i,e),o0(e,"__sentry_wrapped__",i);try{var s=Object.getOwnPropertyDescriptor(i,"name");s.configurable&&Object.defineProperty(i,"name",{get(){return e.name}})}catch{}return i}class Bo{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Bo.id}__init2(){this._installFunc={onerror:ZA,onunhandledrejection:JA}}constructor(t){Bo.prototype.__init.call(this),Bo.prototype.__init2.call(this),this._options=L({onerror:!0,onunhandledrejection:!0},t)}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(t$(n),r(),this._installFunc[n]=void 0)}}}Bo.__initStatic();function ZA(){tr("error",e=>{const[t,n,r]=vR();if(!t.getIntegration(Bo))return;const{msg:i,url:o,line:s,column:a,error:l}=e;if(!(hR()||l&&l.__sentry_own_request__)){var c=l===void 0&&ol(i)?e$(i,o,s,a):mR(p0(n,l||i,void 0,r,!1),o,s,a);c.level="error",gR(t,l,c,"onerror")}})}function JA(){tr("unhandledrejection",e=>{const[t,n,r]=vR();if(!t.getIntegration(Bo))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(hR()||i&&i.__sentry_own_request__)return!0;var o=zC(i)?QA(i):p0(n,i,void 0,r,!0);o.level="error",gR(t,i,o,"onunhandledrejection")})}function QA(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function e$(e,t,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=BC(e)?e.message:e,s="Error";var a=o.match(i);a&&(s=a[1],o=a[2]);var l={exception:{values:[{type:s,value:o}]}};return mR(l,t,n,r)}function mR(e,t,n,r){var i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=ol(t)&&t.length>0?t:YI();return l.length===0&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function t$(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Global Handler attached: ${e}`)}function gR(e,t,n,r){uu(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function vR(){var e=Ft(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var n$=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class mu{static __initStatic(){this.id="TryCatch"}__init(){this.name=mu.id}constructor(t){mu.prototype.__init.call(this),this._options=L({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}setupOnce(){var t=rt();this._options.setTimeout&&Sn(t,"setTimeout",ox),this._options.setInterval&&Sn(t,"setInterval",ox),this._options.requestAnimationFrame&&Sn(t,"requestAnimationFrame",r$),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Sn(XMLHttpRequest.prototype,"send",i$);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:n$;r.forEach(o$)}}}mu.__initStatic();function ox(e){return function(...t){var n=t[0];return t[0]=ll(n,{mechanism:{data:{function:Ko(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function r$(e){return function(t){return e.apply(this,[ll(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ko(e)},handled:!0,type:"instrument"}})])}}function i$(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(i=>{i in n&&typeof n[i]=="function"&&Sn(n,i,function(o){var s={mechanism:{data:{function:i,handler:Ko(o)},handled:!0,type:"instrument"}},a=s0(o);return a&&(s.mechanism.data.handler=Ko(a)),ll(o,s)})}),e.apply(this,t)}}function o$(e){var t=rt(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Sn(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=ll(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ko(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,ll(o,{mechanism:{data:{function:"addEventListener",handler:Ko(o),target:e},handled:!0,type:"instrument"}}),s])}}),Sn(n,"removeEventListener",function(r){return function(i,o,s){var a=o;try{var l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var s$="cause",a$=5;class Ha{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ha.id}constructor(t={}){Ha.prototype.__init.call(this),this._key=t.key||s$,this._limit=t.limit||a$}setupOnce(){var t=Ft().getClient();!t||c0((n,r)=>{var i=Ft().getIntegration(Ha);return i?l$(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}Ha.__initStatic();function l$(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!ro(i.originalException,Error))return r;var o=yR(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function yR(e,t,n,r,i=[]){if(!ro(n[r],Error)||i.length+1>=t)return i;var o=uR(e,n[r]);return yR(e,t,n[r],r,[o,...i])}var cs=rt();class Ya{constructor(){Ya.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Ya.id}setupOnce(){c0(t=>{if(Ft().getIntegration(Ya)){if(!cs.navigator&&!cs.location&&!cs.document)return t;var n=t.request&&t.request.url||cs.location&&cs.location.href;const{referrer:o}=cs.document||{},{userAgent:s}=cs.navigator||{};var r=L(L(L({},t.request&&t.request.headers),o&&{Referer:o}),s&&{"User-Agent":s}),i=Ee(L({},n&&{url:n}),{headers:r});return Ee(L({},t),{request:i})}return t})}}Ya.__initStatic();class Va{constructor(){Va.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Va.id}setupOnce(t,n){var r=i=>{var o=n().getIntegration(Va);if(o){try{if(c$(i,o._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}Va.__initStatic();function c$(e,t){return t?!!(u$(e,t)||d$(e,t)):!1}function u$(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!bR(e,t)||!_R(e,t))}function d$(e,t){var n=sx(t),r=sx(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!bR(e,t)||!_R(e,t))}function _R(e,t){let n=ax(e),r=ax(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){var i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function bR(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function sx(e){return e.exception&&e.exception.values&&e.exception.values[0]}function ax(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var f$=[new ja,new pu,new mu,new hu,new Bo,new Ha,new Va,new Ya];function p$(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=f$),e.release===void 0){var t=rt();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);var n=Ee(L({},e),{stackParser:tD(e.stackParser||qA),integrations:iA(e),transport:e.transport||(a0()?OA:DA)});aA(PA,n),e.autoSessionTracking&&m$()}function h$(e={},t=Ft()){var n=rt();if(!n.document){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Global document not defined in showReportDialog call");return}const{client:r,scope:i}=t.getStackTop();var o=e.dsn||r&&r.getDsn();if(!o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("DSN not configured for showReportDialog call");return}i&&(e.user=L(L({},i.getUser()),e.user)),e.eventId||(e.eventId=t.lastEventId());var s=n.document.createElement("script");s.async=!0,s.src=JD(o,e),e.onLoad&&(s.onload=e.onLoad);var a=n.document.head||n.document.body;a?a.appendChild(s):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Not injecting report dialog. No injection point found in HTML")}function lx(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function m$(){var e=rt(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Ft();!n.captureSession||(lx(n),tr("history",({from:r,to:i})=>{r===void 0||r===i||lx(Ft())}))}function cle(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:up}],version:up},p$(e)}var xR={exports:{}},it={};/** @license React v16.13.1
|
46 |
* react-is.production.min.js
|
47 |
*
|
48 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
49 |
*
|
50 |
* This source code is licensed under the MIT license found in the
|
51 |
* LICENSE file in the root directory of this source tree.
|
52 |
-
*/var nn=typeof Symbol=="function"&&Symbol.for,m0=nn?Symbol.for("react.element"):60103,g0=nn?Symbol.for("react.portal"):60106,Qp=nn?Symbol.for("react.fragment"):60107,eh=nn?Symbol.for("react.strict_mode"):60108,th=nn?Symbol.for("react.profiler"):60114,nh=nn?Symbol.for("react.provider"):60109,rh=nn?Symbol.for("react.context"):60110,v0=nn?Symbol.for("react.async_mode"):60111,ih=nn?Symbol.for("react.concurrent_mode"):60111,oh=nn?Symbol.for("react.forward_ref"):60112,sh=nn?Symbol.for("react.suspense"):60113,g$=nn?Symbol.for("react.suspense_list"):60120,ah=nn?Symbol.for("react.memo"):60115,lh=nn?Symbol.for("react.lazy"):60116,v$=nn?Symbol.for("react.block"):60121,y$=nn?Symbol.for("react.fundamental"):60117,_$=nn?Symbol.for("react.responder"):60118,b$=nn?Symbol.for("react.scope"):60119;function ar(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case m0:switch(e=e.type,e){case v0:case ih:case Qp:case th:case eh:case sh:return e;default:switch(e=e&&e.$$typeof,e){case rh:case oh:case lh:case ah:case nh:return e;default:return t}}case g0:return t}}}function SR(e){return ar(e)===ih}it.AsyncMode=v0;it.ConcurrentMode=ih;it.ContextConsumer=rh;it.ContextProvider=nh;it.Element=m0;it.ForwardRef=oh;it.Fragment=Qp;it.Lazy=lh;it.Memo=ah;it.Portal=g0;it.Profiler=th;it.StrictMode=eh;it.Suspense=sh;it.isAsyncMode=function(e){return SR(e)||ar(e)===v0};it.isConcurrentMode=SR;it.isContextConsumer=function(e){return ar(e)===rh};it.isContextProvider=function(e){return ar(e)===nh};it.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===m0};it.isForwardRef=function(e){return ar(e)===oh};it.isFragment=function(e){return ar(e)===Qp};it.isLazy=function(e){return ar(e)===lh};it.isMemo=function(e){return ar(e)===ah};it.isPortal=function(e){return ar(e)===g0};it.isProfiler=function(e){return ar(e)===th};it.isStrictMode=function(e){return ar(e)===eh};it.isSuspense=function(e){return ar(e)===sh};it.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qp||e===ih||e===th||e===eh||e===sh||e===g$||typeof e=="object"&&e!==null&&(e.$$typeof===lh||e.$$typeof===ah||e.$$typeof===nh||e.$$typeof===rh||e.$$typeof===oh||e.$$typeof===y$||e.$$typeof===_$||e.$$typeof===b$||e.$$typeof===v$)};it.typeOf=ar;xR.exports=it;var wR=xR.exports,x$={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},S$={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ER={};ER[wR.ForwardRef]=x$;ER[wR.Memo]=S$;function w$(e){var t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}var cx={componentStack:null,error:null,eventId:null};class Cv extends b.exports.Component{constructor(...t){super(...t),Cv.prototype.__init.call(this),Cv.prototype.__init2.call(this)}__init(){this.state=cx}componentDidCatch(t,{componentStack:n}){const{beforeCapture:r,onError:i,showDialog:o,dialogOptions:s}=this.props;oR(a=>{if(w$(b.exports.version)){var l=new Error(t.message);l.name=`React ErrorBoundary ${l.name}`,l.stack=n,t.cause=l}r&&r(a,t,n);var c=iR(t,{contexts:{react:{componentStack:n}}});i&&i(t,n,c),o&&h$(Ee(L({},s),{eventId:c})),this.setState({error:t,componentStack:n,eventId:c})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:r}=this.state,{onUnmount:i}=this.props;i&&i(t,n,r)}__init2(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:n,componentStack:r,eventId:i}=this.state;t&&t(n,r,i),this.setState(cx)}}render(){const{fallback:t,children:n}=this.props,{error:r,componentStack:i,eventId:o}=this.state;if(r){let s;return typeof t=="function"?s=t({error:r,componentStack:i,resetError:this.resetErrorBoundary,eventId:o}):s=t,b.exports.isValidElement(s)?s:(t&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("fallback did not produce a valid ReactElement"),null)}return typeof n=="function"?n():n}}function y0(e){var t=Ft().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function ch(e){var t=e||Ft(),n=t.getScope();return n&&n.getTransaction()}function cn(e){return e/1e3}function E$(){tr("error",ux),tr("unhandledrejection",ux)}function ux(){var e=ch();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class uh{__init(){this.spans=[]}constructor(t=1e3){uh.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class go{__init2(){this.traceId=Fo()}__init3(){this.spanId=Fo().substring(16)}__init4(){this.startTimestamp=du()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(go.prototype.__init2.call(this),go.prototype.__init3.call(this),go.prototype.__init4.call(this),go.prototype.__init5.call(this),go.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var n=new go(Ee(L({},t),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n}setTag(t,n){return this.tags=Ee(L({},this.tags),{[t]:n}),this}setData(t,n){return this.data=Ee(L({},this.data),{[t]:n}),this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var n=k$(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){this.endTimestamp=typeof t=="number"?t:du()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Is({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=xo(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=xo(t.spanId,()=>this.spanId),this.startTimestamp=xo(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=xo(t.tags,()=>({})),this.traceId=xo(t.traceId,()=>this.traceId),this}getTraceContext(){return Is({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}getBaggage(){var t=this.transaction&&this.transaction.metadata.baggage,n=!t||QC(t)?this._getBaggageWithSentryValues(t):t;return WD(n)?void 0:n}toJSON(){return Is({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}_getBaggageWithSentryValues(t=JC({})){var n=this.transaction&&this.transaction._hub||Ft(),r=n.getClient();const{environment:i,release:o}=r&&r.getOptions()||{};return i&&Jb(t,"environment",i),o&&Jb(t,"release",o),t}}function k$(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class dh extends go{__init(){this._measurements={}}constructor(t,n){super(t),dh.prototype.__init.call(this),this._hub=n||Ft(),this.name=t.name||"",this.metadata=t.metadata||{},this._trimEnd=t.trimEnd,this.transaction=this}setName(t){this.name=t}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new uh(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata=L(L({},this.metadata),t)}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,a)=>s.endTimestamp&&a.endTimestamp?s.endTimestamp>a.endTimestamp?s:a:s).endTimestamp);var i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata},o=Object.keys(this._measurements).length>0;return o&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}}toContext(){var t=super.toContext();return Is(Ee(L({},t),{name:this.name,trimEnd:this._trimEnd}))}updateWithContext(t){return super.updateWithContext(t),this.name=xo(t.name,()=>""),this._trimEnd=t.trimEnd,this}}var kR=1e3,CR=3e4,C$=5e3;class R$ extends uh{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:du(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class $a extends dh{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=kR,i=CR,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._onScope=o,$a.prototype.__init.call(this),$a.prototype.__init2.call(this),$a.prototype.__init3.call(this),$a.prototype.__init4.call(this),o&&(dx(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=du()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var i=r.startTimestamp<t;return i||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),i}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] No active IdleTransaction");return this._onScope&&dx(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new R$(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=du()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},C$)}}function dx(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function T$(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function RR(e,t,n){if(!y0(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):n.parentSampled!==void 0?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),M$(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function M$(e){return UC(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function P$(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new dh(e,this);return i=RR(i,r,L({parentSampled:e.parentSampled,transactionContext:e},t)),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function O$(e,t,n,r,i,o){var s=e.getClient(),a=s&&s.getOptions()||{};let l=new $a(t,e,n,r,i);return l=RR(l,a,L({parentSampled:t.parentSampled,transactionContext:t},o)),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function I$(){var e=Rl();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=P$),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=T$))}function D$(){var e=Rl();if(!!e.__SENTRY__){var t={mongodb(){var r=ko(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=ko(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=ko(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=ko(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!FI(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function A$(){I$(),Kp()&&D$(),E$()}var Ld=rt();function $$(){Ld&&Ld.document?Ld.document.addEventListener("visibilitychange",()=>{var e=ch();if(Ld.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var _0=(e,t,n)=>{let r;return i=>{t.value>=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},N$=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,b0=(e,t)=>({name:e,value:xo(t,()=>-1),delta:0,entries:[],id:N$()}),x0=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch{}},fh=(e,t)=>{var n=r=>{(r.type==="pagehide"||rt().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},L$=(e,t)=>{var n=b0("CLS",0);let r,i=0,o=[];var s=l=>{if(l&&!l.hadRecentInput){var c=o[0],u=o[o.length-1];i&&o.length!==0&&l.startTime-u.startTime<1e3&&l.startTime-c.startTime<5e3?(i+=l.value,o.push(l)):(i=l.value,o=[l]),i>n.value&&(n.value=i,n.entries=o,r&&r())}},a=x0("layout-shift",s);a&&(r=_0(e,n,t),fh(()=>{a.takeRecords().map(s),r(!0)}))};let Cf=-1;var F$=()=>rt().document.visibilityState==="hidden"?0:1/0,B$=()=>{fh(({timeStamp:e})=>{Cf=e},!0)},S0=()=>(Cf<0&&(Cf=F$(),B$()),{get firstHiddenTime(){return Cf}}),z$=(e,t)=>{var n=S0(),r=b0("FID");let i;var o=a=>{i&&a.startTime<n.firstHiddenTime&&(r.value=a.processingStart-a.startTime,r.entries.push(a),i(!0))},s=x0("first-input",o);s&&(i=_0(e,r,t),fh(()=>{s.takeRecords().map(o),s.disconnect()},!0))},fx={},U$=(e,t)=>{var n=S0(),r=b0("LCP");let i;var o=l=>{var c=l.startTime;c<n.firstHiddenTime&&(r.value=c,r.entries.push(l)),i&&i()},s=x0("largest-contentful-paint",o);if(s){i=_0(e,r,t);var a=()=>{fx[r.id]||(s.takeRecords().map(o),s.disconnect(),fx[r.id]=!0,i(!0))};["keydown","click"].forEach(l=>{addEventListener(l,a,{once:!0,capture:!0})}),fh(a,!0)}};function Fd(e){return typeof e=="number"&&isFinite(e)}function cl(e,r){var i=r,{startTimestamp:t}=i,n=dm(i,["startTimestamp"]);return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild(L({startTimestamp:t},n))}var Ds=rt();function TR(){return Ds&&Ds.addEventListener&&Ds.performance}let px=0,at={},di,Rc;function W$(e=!1){var t=TR();t&&fu&&(t.mark&&Ds.performance.mark("sentry-tracing-init"),j$(),H$(e),Y$())}function j$(){L$(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS"),at.cls={value:e.value,unit:"millisecond"},Rc=t)})}function H$(e){U$(t=>{var n=t.entries.pop();if(!!n){var r=cn(fu),i=cn(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP"),at.lcp={value:t.value,unit:"millisecond"},at["mark.lcp"]={value:r+i,unit:"second"},di=n}},e)}function Y$(){z$(e=>{var t=e.entries.pop();if(!!t){var n=cn(fu),r=cn(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FID"),at.fid={value:e.value,unit:"millisecond"},at["mark.fid"]={value:n+r,unit:"second"}}})}function V$(e){var t=TR();if(!t||!Ds.performance.getEntries||!fu)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Adding & adjusting spans using Performance API");var n=cn(fu),r=t.getEntries();let i,o;r.slice(px).forEach(s=>{var a=cn(s.startTime),l=cn(s.duration);if(!(e.op==="navigation"&&n+a<e.startTimestamp))switch(s.entryType){case"navigation":{K$(e,s,n),i=n+cn(s.responseStart),o=n+cn(s.requestStart);break}case"mark":case"paint":case"measure":{var c=G$(e,s,a,l,n),u=S0(),d=s.startTime<u.firstHiddenTime;s.name==="first-paint"&&d&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FP"),at.fp={value:s.startTime,unit:"millisecond"},at["mark.fp"]={value:c,unit:"second"}),s.name==="first-contentful-paint"&&d&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FCP"),at.fcp={value:s.startTime,unit:"millisecond"},at["mark.fcp"]={value:c,unit:"second"});break}case"resource":{var f=s.name.replace(Ds.location.origin,"");X$(e,s,f,a,l,n);break}}}),px=Math.max(r.length-1,0),Z$(e),e.op==="pageload"&&(typeof i=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding TTFB"),at.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof o=="number"&&o<=i&&(at["ttfb.requestTime"]={value:(i-o)*1e3,unit:"second"})),["fcp","fp","lcp"].forEach(s=>{if(!(!at[s]||n>=e.startTimestamp)){var a=at[s].value,l=n+cn(a),c=Math.abs((l-e.startTimestamp)*1e3),u=c-a;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Measurements] Normalized ${s} from ${a} to ${c} (${u})`),at[s].value=c}}),at["mark.fid"]&&at.fid&&cl(e,{description:"first input delay",endTimestamp:at["mark.fid"].value+cn(at.fid.value),op:"web.vitals",startTimestamp:at["mark.fid"].value}),"fcp"in at||delete at.cls,Object.keys(at).forEach(s=>{e.setMeasurement(s,at[s].value,at[s].unit)}),J$(e)),di=void 0,Rc=void 0,at={}}function G$(e,t,n,r,i){var o=i+n,s=o+r;return cl(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:o}),o}function K$(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Bd(e,t,r,n)}),Bd(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Bd(e,t,"fetch",n,"cache","domainLookupStart"),Bd(e,t,"domainLookup",n,"DNS"),q$(e,t,n)}function Bd(e,t,n,r,i,o){var s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];!a||!s||cl(e,{op:"browser",description:xo(i,()=>n),startTimestamp:r+cn(a),endTimestamp:r+cn(s)})}function q$(e,t,n){cl(e,{op:"browser",description:"request",startTimestamp:n+cn(t.requestStart),endTimestamp:n+cn(t.responseEnd)}),cl(e,{op:"browser",description:"response",startTimestamp:n+cn(t.responseStart),endTimestamp:n+cn(t.responseEnd)})}function X$(e,t,n,r,i,o){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);var a=o+r,l=a+i;cl(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:a,data:s})}}function Z$(e){var t=Ds.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Fd(n.rtt)&&(at["connection.rtt"]={value:n.rtt,unit:"millisecond"}),Fd(n.downlink)&&(at["connection.downlink"]={value:n.downlink,unit:""})),Fd(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),Fd(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function J$(e){di&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP Data"),di.element&&e.setTag("lcp.element",lu(di.element)),di.id&&e.setTag("lcp.id",di.id),di.url&&e.setTag("lcp.url",di.url.trim().slice(0,200)),e.setTag("lcp.size",di.size)),Rc&&Rc.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS Data"),Rc.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,lu(t.node))))}var Q$=["localhost",/^\//],fp={traceFetch:!0,traceXHR:!0,tracingOrigins:Q$};function eN(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}=L(L({},fp),e);var o={},s=c=>{if(o[c])return o[c];var u=r;return o[c]=u.some(d=>cu(c,d))&&!cu(c,"sentry_key"),o[c]};let a=s;typeof i=="function"&&(a=c=>s(c)&&i(c));var l={};t&&tr("fetch",c=>{tN(c,a,l)}),n&&tr("xhr",c=>{rN(c,a,l)})}function tN(e,t,n){if(!(!y0()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var i=n[r];i&&(e.response?i.setHttpStatus(e.response.status):e.error&&i.setStatus("internal_error"),i.finish(),delete n[r]);return}var o=ch();if(o){var i=o.startChild({data:Ee(L({},e.fetchData),{type:"fetch"}),description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=i.spanId,n[i.spanId]=i;var s=e.args[0]=e.args[0],a=e.args[1]=e.args[1]||{};a.headers=nN(s,i,a)}}}function nN(e,t,n){let r=n.headers;ro(e,Request)&&(r=e.headers);var i=t.getBaggage();if(r)if(typeof r.append=="function")r.append("sentry-trace",t.toTraceparent()),r.append(Da,dc(i,r.get(Da)));else if(Array.isArray(r)){const[,o]=r.find(([s,a])=>s===Da);r=[...r,["sentry-trace",t.toTraceparent()],[Da,dc(i,o)]]}else r=Ee(L({},r),{"sentry-trace":t.toTraceparent(),baggage:dc(i,r.baggage)});else r={"sentry-trace":t.toTraceparent(),baggage:dc(i)};return r}function rN(e,t,n){if(!(!y0()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))){var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var i=e.xhr.__sentry_xhr_span_id__;if(!i)return;var o=n[i];o&&(o.setHttpStatus(r.status_code),o.finish(),delete n[i]);return}var s=ch();if(s){var o=s.startChild({data:Ee(L({},r.data),{type:"xhr",method:r.method,url:r.url}),description:`${r.method} ${r.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=o.spanId,n[e.xhr.__sentry_xhr_span_id__]=o,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",o.toTraceparent());var a=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(Da);e.xhr.setRequestHeader(Da,dc(o.getBaggage(),a))}catch{}}}}var Hl=rt();function iN(e,t=!0,n=!0){if(!Hl||!Hl.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Could not initialize routing instrumentation due to invalid location");return}let r=Hl.location.href,i;t&&(i=e({name:Hl.location.pathname,op:"pageload"})),n&&tr("history",({to:o,from:s})=>{if(s===void 0&&r&&r.indexOf(o)!==-1){r=void 0;return}s!==o&&(r=void 0,i&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:Hl.location.pathname,op:"navigation"}))})}var oN="BrowserTracing",sN=L({idleTimeout:kR,finalTimeout:CR,markBackgroundTransactions:!0,routingInstrumentation:iN,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},fp);class MR{__init(){this.name=oN}constructor(t){MR.prototype.__init.call(this);let n=fp.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)&&t.tracingOrigins.length!==0?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=Ee(L(L({},sN),t),{tracingOrigins:n});const{_metricOptions:r}=this.options;W$(r&&r._reportAllChanges)}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] We added a reasonable default for you: ${fp.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:o,markBackgroundTransactions:s,traceFetch:a,traceXHR:l,tracingOrigins:c,shouldCreateSpanForRequest:u}=this.options;r(d=>this._createRouteTransaction(d),o,i),s&&$$(),eN({traceFetch:a,traceXHR:l,tracingOrigins:c,shouldCreateSpanForRequest:u})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i}=this.options;var o=t.op==="pageload"?aN():void 0,s=Ee(L(L({},t),o),{trimEnd:!0}),a=typeof n=="function"?n(s):s,l=a===void 0?Ee(L({},s),{sampled:!1}):a;l.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Starting ${l.op} transaction on scope`);var c=this._getCurrentHub();const{location:u}=rt();var d=O$(c,l,r,i,!0,{location:u});return d.registerBeforeFinishCallback(f=>{V$(f),f.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),d}}function aN(){var e=hx("sentry-trace"),t=hx("baggage"),n=e?TD(e):void 0,r=t?tR(t):void 0;if(n||r)return L(L({},n&&n),r&&{metadata:{baggage:r}})}function hx(e){var t=rt();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__=="undefined"||__SENTRY_TRACING__)&&A$();function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function ee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function PR(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var lN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,cN=PR(function(e){return lN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function uN(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 dN(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 fN=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0: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(dN(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=uN(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),yn="-ms-",pp="-moz-",Ze="-webkit-",OR="comm",w0="rule",E0="decl",pN="@import",IR="@keyframes",hN=Math.abs,ph=String.fromCharCode,mN=Object.assign;function gN(e,t){return(((t<<2^Bn(e,0))<<2^Bn(e,1))<<2^Bn(e,2))<<2^Bn(e,3)}function DR(e){return e.trim()}function vN(e,t){return(e=t.exec(e))?e[0]:e}function Qe(e,t,n){return e.replace(t,n)}function Rv(e,t){return e.indexOf(t)}function Bn(e,t){return e.charCodeAt(t)|0}function gu(e,t,n){return e.slice(t,n)}function pi(e){return e.length}function k0(e){return e.length}function zd(e,t){return t.push(e),e}function yN(e,t){return e.map(t).join("")}var hh=1,ul=1,AR=0,qn=0,Ut=0,Tl="";function mh(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:hh,column:ul,length:s,return:""}}function Yl(e,t){return mN(mh("",null,null,"",null,null,0),e,{length:-e.length},t)}function _N(){return Ut}function bN(){return Ut=qn>0?Bn(Tl,--qn):0,ul--,Ut===10&&(ul=1,hh--),Ut}function rr(){return Ut=qn<AR?Bn(Tl,qn++):0,ul++,Ut===10&&(ul=1,hh++),Ut}function Si(){return Bn(Tl,qn)}function Rf(){return qn}function zu(e,t){return gu(Tl,e,t)}function vu(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 $R(e){return hh=ul=1,AR=pi(Tl=e),qn=0,[]}function NR(e){return Tl="",e}function Tf(e){return DR(zu(qn-1,Tv(e===91?e+2:e===40?e+1:e)))}function xN(e){for(;(Ut=Si())&&Ut<33;)rr();return vu(e)>2||vu(Ut)>3?"":" "}function SN(e,t){for(;--t&&rr()&&!(Ut<48||Ut>102||Ut>57&&Ut<65||Ut>70&&Ut<97););return zu(e,Rf()+(t<6&&Si()==32&&rr()==32))}function Tv(e){for(;rr();)switch(Ut){case e:return qn;case 34:case 39:e!==34&&e!==39&&Tv(Ut);break;case 40:e===41&&Tv(e);break;case 92:rr();break}return qn}function wN(e,t){for(;rr()&&e+Ut!==47+10;)if(e+Ut===42+42&&Si()===47)break;return"/*"+zu(t,qn-1)+"*"+ph(e===47?e:rr())}function EN(e){for(;!vu(Si());)rr();return zu(e,qn)}function kN(e){return NR(Mf("",null,null,null,[""],e=$R(e),0,[0],e))}function Mf(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,p=0,h=0,g=1,_=1,m=1,v=0,y="",x=i,w=o,k=r,E=y;_;)switch(h=v,v=rr()){case 40:if(h!=108&&E.charCodeAt(d-1)==58){Rv(E+=Qe(Tf(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=Tf(v);break;case 9:case 10:case 13:case 32:E+=xN(h);break;case 92:E+=SN(Rf()-1,7);continue;case 47:switch(Si()){case 42:case 47:zd(CN(wN(rr(),Rf()),t,n),l);break;default:E+="/"}break;case 123*g:a[c++]=pi(E)*m;case 125*g:case 59:case 0:switch(v){case 0:case 125:_=0;case 59+u:p>0&&pi(E)-d&&zd(p>32?gx(E+";",r,n,d-1):gx(Qe(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(zd(k=mx(E,t,n,c,u,i,a,y,x=[],w=[],d),o),v===123)if(u===0)Mf(E,t,k,k,x,o,d,a,w);else switch(f){case 100:case 109:case 115:Mf(e,k,k,r&&zd(mx(e,k,k,0,0,i,a,y,i,x=[],d),w),i,w,d,a,r?x:w);break;default:Mf(E,k,k,k,[""],w,0,a,w)}}c=u=p=0,g=m=1,y=E="",d=s;break;case 58:d=1+pi(E),p=h;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&bN()==125)continue}switch(E+=ph(v),v*g){case 38:m=u>0?1:(E+="\f",-1);break;case 44:a[c++]=(pi(E)-1)*m,m=1;break;case 64:Si()===45&&(E+=Tf(rr())),f=Si(),u=d=pi(y=E+=EN(Rf())),v++;break;case 45:h===45&&pi(E)==2&&(g=0)}}return o}function mx(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],p=k0(f),h=0,g=0,_=0;h<r;++h)for(var m=0,v=gu(e,d+1,d=hN(g=s[h])),y=e;m<p;++m)(y=DR(g>0?f[m]+" "+v:Qe(v,/&\f/g,f[m])))&&(l[_++]=y);return mh(e,t,n,i===0?w0:a,l,c,u)}function CN(e,t,n){return mh(e,t,n,OR,ph(_N()),gu(e,2,-2),0)}function gx(e,t,n,r){return mh(e,t,n,E0,gu(e,0,r),gu(e,r+1,-1),r)}function LR(e,t){switch(gN(e,t)){case 5103:return Ze+"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 Ze+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ze+e+pp+e+yn+e+e;case 6828:case 4268:return Ze+e+yn+e+e;case 6165:return Ze+e+yn+"flex-"+e+e;case 5187:return Ze+e+Qe(e,/(\w+).+(:[^]+)/,Ze+"box-$1$2"+yn+"flex-$1$2")+e;case 5443:return Ze+e+yn+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return Ze+e+yn+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ze+e+yn+Qe(e,"shrink","negative")+e;case 5292:return Ze+e+yn+Qe(e,"basis","preferred-size")+e;case 6060:return Ze+"box-"+Qe(e,"-grow","")+Ze+e+yn+Qe(e,"grow","positive")+e;case 4554:return Ze+Qe(e,/([^-])(transform)/g,"$1"+Ze+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,Ze+"$1"),/(image-set)/,Ze+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,Ze+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,Ze+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ze+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,Ze+"$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(pi(e)-1-t>6)switch(Bn(e,t+1)){case 109:if(Bn(e,t+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ze+"$2-$3$1"+pp+(Bn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rv(e,"stretch")?LR(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Bn(e,t+1)!==115)break;case 6444:switch(Bn(e,pi(e)-3-(~Rv(e,"!important")&&10))){case 107:return Qe(e,":",":"+Ze)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ze+(Bn(e,14)===45?"inline-":"")+"box$3$1"+Ze+"$2$3$1"+yn+"$2box$3")+e}break;case 5936:switch(Bn(e,t+11)){case 114:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ze+e+yn+e+e}return e}function Ga(e,t){for(var n="",r=k0(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function RN(e,t,n,r){switch(e.type){case pN:case E0:return e.return=e.return||e.value;case OR:return"";case IR:return e.return=e.value+"{"+Ga(e.children,r)+"}";case w0:e.value=e.props.join(",")}return pi(n=Ga(e.children,r))?e.return=e.value+"{"+n+"}":""}function TN(e){var t=k0(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}function MN(e){return function(t){t.root||(t=t.return)&&e(t)}}function PN(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case E0:e.return=LR(e.value,e.length);break;case IR:return Ga([Yl(e,{value:Qe(e.value,"@","@"+Ze)})],r);case w0:if(e.length)return yN(e.props,function(i){switch(vN(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ga([Yl(e,{props:[Qe(i,/:(read-\w+)/,":"+pp+"$1")]})],r);case"::placeholder":return Ga([Yl(e,{props:[Qe(i,/:(plac\w+)/,":"+Ze+"input-$1")]}),Yl(e,{props:[Qe(i,/:(plac\w+)/,":"+pp+"$1")]}),Yl(e,{props:[Qe(i,/:(plac\w+)/,yn+"input-$1")]})],r)}return""})}}var ON=function(t,n,r){for(var i=0,o=0;i=o,o=Si(),i===38&&o===12&&(n[r]=1),!vu(o);)rr();return zu(t,qn)},IN=function(t,n){var r=-1,i=44;do switch(vu(i)){case 0:i===38&&Si()===12&&(n[r]=1),t[r]+=ON(qn-1,n,r);break;case 2:t[r]+=Tf(i);break;case 4:if(i===44){t[++r]=Si()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ph(i)}while(i=rr());return t},DN=function(t,n){return NR(IN($R(t),n))},vx=new WeakMap,AN=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=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))&&!i){vx.set(t,!0);for(var o=[],s=DN(n,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},$N=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},NN=[PN],LN=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(g){var _=g.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||NN,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var _=g.getAttribute("data-emotion").split(" "),m=1;m<_.length;m++)o[_[m]]=!0;a.push(g)});var l,c=[AN,$N];{var u,d=[RN,MN(function(g){u.insert(g)})],f=TN(c.concat(i,d)),p=function(_){return Ga(kN(_),f)};l=function(_,m,v,y){u=v,p(_?_+"{"+m.styles+"}":m.styles),y&&(h.inserted[m.name]=!0)}}var h={key:n,sheet:new fN({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return h.sheet.hydrate(a),h},FR=LN,FN=!0;function BN(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var BR=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||FN===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},zR=function(t,n,r){BR(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function zN(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var UN={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},WN=/[A-Z]|^ms/g,jN=/_EMO_([^_]+?)_([^]*?)_EMO_/g,UR=function(t){return t.charCodeAt(1)===45},yx=function(t){return t!=null&&typeof t!="boolean"},Ym=PR(function(e){return UR(e)?e:e.replace(WN,"-$&").toLowerCase()}),_x=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(jN,function(r,i,o){return hi={name:i,styles:o,next:hi},i})}return UN[t]!==1&&!UR(t)&&typeof n=="number"&&n!==0?n+"px":n};function yu(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return hi={name:n.name,styles:n.styles,next:hi},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)hi={name:r.name,styles:r.styles,next:hi},r=r.next;var i=n.styles+";";return i}return HN(e,t,n)}case"function":{if(e!==void 0){var o=hi,s=n(e);return hi=o,yu(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function HN(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=yu(e,t,n[i])+";";else for(var o in n){var s=n[o];if(typeof s!="object")t!=null&&t[s]!==void 0?r+=o+"{"+t[s]+"}":yx(s)&&(r+=Ym(o)+":"+_x(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)yx(s[a])&&(r+=Ym(o)+":"+_x(o,s[a])+";");else{var l=yu(e,t,s);switch(o){case"animation":case"animationName":{r+=Ym(o)+":"+l+";";break}default:r+=o+"{"+l+"}"}}}return r}var bx=/label:\s*([^\s;\n{]+)\s*(;|$)/g,hi,C0=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";hi=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=yu(r,n,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=yu(r,n,t[a]),i&&(o+=s[a]);bx.lastIndex=0;for(var l="",c;(c=bx.exec(o))!==null;)l+="-"+c[1];var u=zN(o)+l;return{name:u,styles:o,next:hi}},WR=b.exports.createContext(typeof HTMLElement!="undefined"?FR({key:"css"}):null),YN=WR.Provider,jR=function(t){return b.exports.forwardRef(function(n,r){var i=b.exports.useContext(WR);return t(n,i,r)})},R0=b.exports.createContext({});Fs["useInsertionEffect"]&&Fs["useInsertionEffect"];var xx=Fs["useInsertionEffect"]?Fs["useInsertionEffect"]:b.exports.useLayoutEffect,VN=jR(function(e,t){var n=e.styles,r=C0([n],void 0,b.exports.useContext(R0)),i=b.exports.useRef();return xx(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",o),s.hydrate([l])),i.current=[s,a],function(){s.flush()}},[t]),xx(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&zR(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function T0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C0(t)}var Uu=function(){var t=T0.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},GN=cN,KN=function(t){return t!=="theme"},Sx=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?GN:KN},wx=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},qN=Fs["useInsertionEffect"]?Fs["useInsertionEffect"]:function(t){t()};function XN(e){qN(e)}var ZN=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return BR(n,r,i),XN(function(){return zR(n,r,i)}),null},JN=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=wx(t,n,r),l=a||Sx(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,p=1;p<f;p++)d.push(u[p],u[0][p])}var h=jR(function(g,_,m){var v=c&&g.as||i,y="",x=[],w=g;if(g.theme==null){w={};for(var k in g)w[k]=g[k];w.theme=b.exports.useContext(R0)}typeof g.className=="string"?y=BN(_.registered,x,g.className):g.className!=null&&(y=g.className+" ");var E=C0(d.concat(x),_.registered,w);y+=_.key+"-"+E.name,s!==void 0&&(y+=" "+s);var R=c&&a===void 0?Sx(v):l,C={};for(var T in g)c&&T==="as"||R(T)&&(C[T]=g[T]);return C.className=y,C.ref=m,b.exports.createElement(b.exports.Fragment,null,b.exports.createElement(ZN,{cache:_,serialized:E,isStringTag:typeof v=="string"}),b.exports.createElement(v,C))});return h.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=a,Object.defineProperty(h,"toString",{value:function(){return"."+s}}),h.withComponent=function(g,_){return e(g,S({},n,_,{shouldForwardProp:wx(h,_,!0)})).apply(void 0,d)},h}},QN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Mv=JN.bind();QN.forEach(function(e){Mv[e]=Mv(e)});var eL=Mv,gh={exports:{}},vh={};/**
|
53 |
* @license React
|
54 |
* react-jsx-runtime.production.min.js
|
55 |
*
|
@@ -57,20 +57,20 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
57 |
*
|
58 |
* This source code is licensed under the MIT license found in the
|
59 |
* LICENSE file in the root directory of this source tree.
|
60 |
-
*/var
|
61 |
*
|
62 |
* This source code is licensed under the MIT license found in the
|
63 |
* LICENSE file in the root directory of this source tree.
|
64 |
-
*/function
|
65 |
* react-is.production.min.js
|
66 |
*
|
67 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
68 |
*
|
69 |
* This source code is licensed under the MIT license found in the
|
70 |
* LICENSE file in the root directory of this source tree.
|
71 |
-
*/var yh=60103,_h=60106,Wu=60107,ju=60108,Hu=60114,Yu=60109,Vu=60110,Gu=60112,Ku=60113,M0=60120,qu=60115,Xu=60116,YR=60121,VR=60122,GR=60117,KR=60129,qR=60131;if(typeof Symbol=="function"&&Symbol.for){var an=Symbol.for;yh=an("react.element"),_h=an("react.portal"),Wu=an("react.fragment"),ju=an("react.strict_mode"),Hu=an("react.profiler"),Yu=an("react.provider"),Vu=an("react.context"),Gu=an("react.forward_ref"),Ku=an("react.suspense"),M0=an("react.suspense_list"),qu=an("react.memo"),Xu=an("react.lazy"),YR=an("react.block"),VR=an("react.server.block"),GR=an("react.fundamental"),KR=an("react.debug_trace_mode"),qR=an("react.legacy_hidden")}function ni(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case yh:switch(e=e.type,e){case Wu:case Hu:case ju:case Ku:case M0:return e;default:switch(e=e&&e.$$typeof,e){case Vu:case Gu:case Xu:case qu:case Yu:return e;default:return t}}case _h:return t}}}var pL=Yu,hL=yh,mL=Gu,gL=Wu,vL=Xu,yL=qu,_L=_h,bL=Hu,xL=ju,SL=Ku;dt.ContextConsumer=Vu;dt.ContextProvider=pL;dt.Element=hL;dt.ForwardRef=mL;dt.Fragment=gL;dt.Lazy=vL;dt.Memo=yL;dt.Portal=_L;dt.Profiler=bL;dt.StrictMode=xL;dt.Suspense=SL;dt.isAsyncMode=function(){return!1};dt.isConcurrentMode=function(){return!1};dt.isContextConsumer=function(e){return ni(e)===Vu};dt.isContextProvider=function(e){return ni(e)===Yu};dt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===yh};dt.isForwardRef=function(e){return ni(e)===Gu};dt.isFragment=function(e){return ni(e)===Wu};dt.isLazy=function(e){return ni(e)===Xu};dt.isMemo=function(e){return ni(e)===qu};dt.isPortal=function(e){return ni(e)===_h};dt.isProfiler=function(e){return ni(e)===Hu};dt.isStrictMode=function(e){return ni(e)===ju};dt.isSuspense=function(e){return ni(e)===Ku};dt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wu||e===Hu||e===KR||e===ju||e===Ku||e===M0||e===qR||typeof e=="object"&&e!==null&&(e.$$typeof===Xu||e.$$typeof===qu||e.$$typeof===Yu||e.$$typeof===Vu||e.$$typeof===Gu||e.$$typeof===GR||e.$$typeof===YR||e[0]===VR)};dt.typeOf=ni;function j(e){if(typeof e!="string")throw new Error(Ys(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pv(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Vs(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function wL(e,t){return()=>null}function Tc(e,t){return b.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function tn(e){return e&&e.ownerDocument||document}function Rr(e){return tn(e).defaultView||window}function EL(e,t){return()=>null}function dl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const kL=typeof window!="undefined"?b.exports.useLayoutEffect:b.exports.useEffect;var Tr=kL;let Ex=0;function CL(e){const[t,n]=b.exports.useState(e),r=e||t;return b.exports.useEffect(()=>{t==null&&(Ex+=1,n(`mui-${Ex}`))},[t]),r}const kx=Fs["useId"];function Ml(e){if(kx!==void 0){const t=kx();return e!=null?e:t}return CL(e)}function RL(e,t,n,r,i){return null}function zo({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.exports.useRef(e!==void 0),[o,s]=b.exports.useState(t),a=i?e:o,l=b.exports.useCallback(c=>{i||s(c)},[]);return[a,l]}function wn(e){const t=b.exports.useRef(e);return Tr(()=>{t.current=e}),b.exports.useCallback((...n)=>(0,t.current)(...n),[])}function Ve(e,t){return b.exports.useMemo(()=>e==null&&t==null?null:n=>{dl(e,n),dl(t,n)},[e,t])}let bh=!0,Ov=!1,Cx;const TL={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 ML(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&TL[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function PL(e){e.metaKey||e.altKey||e.ctrlKey||(bh=!0)}function Vm(){bh=!1}function OL(){this.visibilityState==="hidden"&&Ov&&(bh=!0)}function IL(e){e.addEventListener("keydown",PL,!0),e.addEventListener("mousedown",Vm,!0),e.addEventListener("pointerdown",Vm,!0),e.addEventListener("touchstart",Vm,!0),e.addEventListener("visibilitychange",OL,!0)}function DL(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return bh||ML(t)}function xh(){const e=b.exports.useCallback(i=>{i!=null&&IL(i.ownerDocument)},[]),t=b.exports.useRef(!1);function n(){return t.current?(Ov=!0,window.clearTimeout(Cx),Cx=window.setTimeout(()=>{Ov=!1},100),t.current=!1,!0):!1}function r(i){return DL(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function XR(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let oa;function ZR(){if(oa)return oa;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),oa="reverse",e.scrollLeft>0?oa="default":(e.scrollLeft=1,e.scrollLeft===0&&(oa="negative")),document.body.removeChild(e),oa}function Rx(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(ZR()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function JR(e,t){const n=S({},t);return Object.keys(e).forEach(r=>{n[r]===void 0&&(n[r]=e[r])}),n}function he(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>(s&&(n&&n[s]&&o.push(n[s]),o.push(t(s))),o),[]).join(" ")}),r}const Tx=e=>e,AL=()=>{let e=Tx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tx}}},$L=AL();var QR=$L;const NL={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function fe(e,t,n="Mui"){const r=NL[t];return r?`${n}-${r}`:`${QR.generate(e)}-${t}`}function me(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=fe(e,i,n)}),r}function Mc(e,t){return t?Sr(e,t,{clone:!1}):e}const P0={xs:0,sm:600,md:900,lg:1200,xl:1536},Mx={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${P0[e]}px)`};function ri(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Mx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Mx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||P0).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function LL(e={}){var t;return(e==null||(t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function FL(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function BL(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o<e.length&&(n[i]=!0)}):r.forEach(i=>{e[i]!=null&&(n[i]=!0)}),n}function Sh({values:e,breakpoints:t,base:n}){const r=n||BL(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[o],o=a):s[a]=e,s),{})}function wh(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Px(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=wh(e,n)||r,t&&(i=t(i)),i}function ae(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=wh(l,r)||{};return ri(s,a,d=>{let f=Px(c,i,d);return d===f&&typeof d=="string"&&(f=Px(c,i,`${t}${d==="default"?"":j(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function ns(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Mc(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function zL(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const UL={m:"margin",p:"padding"},WL={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ox={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jL=zL(e=>{if(e.length>2)if(Ox[e])e=Ox[e];else return[e];const[t,n]=e.split(""),r=UL[t],i=WL[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),HL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],YL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],eT=[...HL,...YL];function Zu(e,t,n,r){var i;const o=(i=wh(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function tT(e){return Zu(e,"spacing",8)}function Ju(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 VL(e,t){return n=>e.reduce((r,i)=>(r[i]=Ju(t,n),r),{})}function GL(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=jL(n),o=VL(i,r),s=e[n];return ri(e,s,o)}function KL(e,t){const n=tT(e.theme);return Object.keys(e).map(r=>GL(e,t,r,n)).reduce(Mc,{})}function Eh(e){return KL(e,eT)}Eh.propTypes={};Eh.filterProps=eT;function Qu(e){return typeof e!="number"?e:`${e}px solid`}const qL=ae({prop:"border",themeKey:"borders",transform:Qu}),XL=ae({prop:"borderTop",themeKey:"borders",transform:Qu}),ZL=ae({prop:"borderRight",themeKey:"borders",transform:Qu}),JL=ae({prop:"borderBottom",themeKey:"borders",transform:Qu}),QL=ae({prop:"borderLeft",themeKey:"borders",transform:Qu}),e5=ae({prop:"borderColor",themeKey:"palette"}),t5=ae({prop:"borderTopColor",themeKey:"palette"}),n5=ae({prop:"borderRightColor",themeKey:"palette"}),r5=ae({prop:"borderBottomColor",themeKey:"palette"}),i5=ae({prop:"borderLeftColor",themeKey:"palette"}),O0=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ju(t,r)});return ri(e,e.borderRadius,n)}return null};O0.propTypes={};O0.filterProps=["borderRadius"];const o5=ns(qL,XL,ZL,JL,QL,e5,t5,n5,r5,i5,O0);var nT=o5;const s5=ae({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),a5=ae({prop:"display"}),l5=ae({prop:"overflow"}),c5=ae({prop:"textOverflow"}),u5=ae({prop:"visibility"}),d5=ae({prop:"whiteSpace"});var rT=ns(s5,a5,l5,c5,u5,d5);const f5=ae({prop:"flexBasis"}),p5=ae({prop:"flexDirection"}),h5=ae({prop:"flexWrap"}),m5=ae({prop:"justifyContent"}),g5=ae({prop:"alignItems"}),v5=ae({prop:"alignContent"}),y5=ae({prop:"order"}),_5=ae({prop:"flex"}),b5=ae({prop:"flexGrow"}),x5=ae({prop:"flexShrink"}),S5=ae({prop:"alignSelf"}),w5=ae({prop:"justifyItems"}),E5=ae({prop:"justifySelf"}),k5=ns(f5,p5,h5,m5,g5,v5,y5,_5,b5,x5,S5,w5,E5);var iT=k5;const I0=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({gap:Ju(t,r)});return ri(e,e.gap,n)}return null};I0.propTypes={};I0.filterProps=["gap"];const D0=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({columnGap:Ju(t,r)});return ri(e,e.columnGap,n)}return null};D0.propTypes={};D0.filterProps=["columnGap"];const A0=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({rowGap:Ju(t,r)});return ri(e,e.rowGap,n)}return null};A0.propTypes={};A0.filterProps=["rowGap"];const C5=ae({prop:"gridColumn"}),R5=ae({prop:"gridRow"}),T5=ae({prop:"gridAutoFlow"}),M5=ae({prop:"gridAutoColumns"}),P5=ae({prop:"gridAutoRows"}),O5=ae({prop:"gridTemplateColumns"}),I5=ae({prop:"gridTemplateRows"}),D5=ae({prop:"gridTemplateAreas"}),A5=ae({prop:"gridArea"}),$5=ns(I0,D0,A0,C5,R5,T5,M5,P5,O5,I5,D5,A5);var oT=$5;const N5=ae({prop:"color",themeKey:"palette"}),L5=ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),F5=ae({prop:"backgroundColor",themeKey:"palette"}),B5=ns(N5,L5,F5);var sT=B5;const z5=ae({prop:"position"}),U5=ae({prop:"zIndex",themeKey:"zIndex"}),W5=ae({prop:"top"}),j5=ae({prop:"right"}),H5=ae({prop:"bottom"}),Y5=ae({prop:"left"});var aT=ns(z5,U5,W5,j5,H5,Y5);const V5=ae({prop:"boxShadow",themeKey:"shadows"});var lT=V5;function rs(e){return e<=1&&e!==0?`${e*100}%`:e}const G5=ae({prop:"width",transform:rs}),cT=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||P0[n]||rs(n)}};return ri(e,e.maxWidth,t)}return null};cT.filterProps=["maxWidth"];const K5=ae({prop:"minWidth",transform:rs}),q5=ae({prop:"height",transform:rs}),X5=ae({prop:"maxHeight",transform:rs}),Z5=ae({prop:"minHeight",transform:rs});ae({prop:"size",cssProperty:"width",transform:rs});ae({prop:"size",cssProperty:"height",transform:rs});const J5=ae({prop:"boxSizing"}),Q5=ns(G5,cT,K5,q5,X5,Z5,J5);var uT=Q5;const eF=ae({prop:"fontFamily",themeKey:"typography"}),tF=ae({prop:"fontSize",themeKey:"typography"}),nF=ae({prop:"fontStyle",themeKey:"typography"}),rF=ae({prop:"fontWeight",themeKey:"typography"}),iF=ae({prop:"letterSpacing"}),oF=ae({prop:"textTransform"}),sF=ae({prop:"lineHeight"}),aF=ae({prop:"textAlign"}),lF=ae({prop:"typography",cssProperty:!1,themeKey:"typography"}),cF=ns(lF,eF,tF,nF,rF,iF,sF,aF,oF);var dT=cF;const Ix={borders:nT.filterProps,display:rT.filterProps,flexbox:iT.filterProps,grid:oT.filterProps,positions:aT.filterProps,palette:sT.filterProps,shadows:lT.filterProps,sizing:uT.filterProps,spacing:Eh.filterProps,typography:dT.filterProps},fT={borders:nT,display:rT,flexbox:iT,grid:oT,positions:aT,palette:sT,shadows:lT,sizing:uT,spacing:Eh,typography:dT},uF=Object.keys(Ix).reduce((e,t)=>(Ix[t].forEach(n=>{e[n]=fT[t]}),e),{});function dF(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function fF(e,t){return typeof e=="function"?e(t):e}function pF(e=fT){const t=Object.keys(e).reduce((i,o)=>(e[o].filterProps.forEach(s=>{i[s]=e[o]}),i),{});function n(i,o,s){const a={[i]:o,theme:s},l=t[i];return l?l(a):{[i]:o}}function r(i){const{sx:o,theme:s={}}=i||{};if(!o)return null;function a(l){let c=l;if(typeof l=="function")c=l(s);else if(typeof l!="object")return l;if(!c)return null;const u=LL(s.breakpoints),d=Object.keys(u);let f=u;return Object.keys(c).forEach(p=>{const h=fF(c[p],s);if(h!=null)if(typeof h=="object")if(t[p])f=Mc(f,n(p,h,s));else{const g=ri({theme:s},h,_=>({[p]:_}));dF(g,h)?f[p]=r({sx:h,theme:s}):f=Mc(f,g)}else f=Mc(f,n(p,h,s))}),FL(d,f)}return Array.isArray(o)?o.map(a):a(o)}return r}const pT=pF();pT.filterProps=["sx"];var hF=pT;const mF=["sx"],gF=e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{uF[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function hT(e){const{sx:t}=e,n=ee(e,mF),{systemProps:r,otherProps:i}=gF(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return fc(a)?S({},r,a):r}:o=S({},r,t),S({},i,{sx:o})}function mT(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=mT(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function K(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=mT(e))&&(r&&(r+=" "),r+=t);return r}const vF=["values","unit","step"],yF=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)=>S({},n,{[r.key]:r.val}),{})};function _F(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ee(e,vF),o=yF(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-r/100}${n})`}function u(f){return s.indexOf(f)+1<s.length?c(f,s[s.indexOf(f)+1]):a(f)}function d(f){const p=s.indexOf(f);return p===0?a(s[1]):p===s.length-1?l(s[p]):c(f,s[s.indexOf(f)+1]).replace("@media","@media not all and")}return S({keys:s,values:o,up:a,down:l,between:c,only:u,not:d,unit:n},i)}const bF={borderRadius:4};var xF=bF;function SF(e=8){if(e.mui)return e;const t=tT({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}const wF=["breakpoints","palette","spacing","shape"];function kh(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=ee(e,wF),a=_F(n),l=SF(i);let c=Sr({breakpoints:a,direction:"ltr",components:{},palette:S({mode:"light"},r),spacing:l,shape:S({},xF,o)},s);return c=t.reduce((u,d)=>Sr(u,d),c),c}const EF=b.exports.createContext(null);var gT=EF;function vT(){return b.exports.useContext(gT)}const kF=typeof Symbol=="function"&&Symbol.for;var CF=kF?Symbol.for("mui.nested"):"__THEME_NESTED__";function RF(e,t){return typeof t=="function"?t(e):S({},e,t)}function TF(e){const{children:t,theme:n}=e,r=vT(),i=b.exports.useMemo(()=>{const o=r===null?n:RF(r,n);return o!=null&&(o[CF]=r!==null),o},[n,r]);return M(gT.Provider,{value:i,children:t})}function MF(e){return Object.keys(e).length===0}function yT(e=null){const t=vT();return!t||MF(t)?e:t}const PF=kh();function $0(e=PF){return yT(e)}const OF=["variant"];function Dx(e){return e.length===0}function _T(e){const{variant:t}=e,n=ee(e,OF);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Dx(r)?e[i]:j(e[i]):r+=`${Dx(r)?i:j(i)}${j(e[i].toString())}`}),r}const IF=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],DF=["theme"],AF=["theme"];function Vl(e){return Object.keys(e).length===0}const $F=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,NF=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=_T(i.props);r[o]=i.style}),r},LF=(e,t,n,r)=>{var i,o;const{ownerState:s={}}=e,a=[],l=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return l&&l.forEach(c=>{let u=!0;Object.keys(c.props).forEach(d=>{s[d]!==c.props[d]&&e[d]!==c.props[d]&&(u=!1)}),u&&a.push(t[_T(c.props)])}),a};function Pc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const FF=kh();function bT(e={}){const{defaultTheme:t=FF,rootShouldForwardProp:n=Pc,slotShouldForwardProp:r=Pc,styleFunctionSx:i=hF}=e;return(o,s={})=>{const{name:a,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d}=s,f=ee(s,IF),p=c!==void 0?c:l&&l!=="Root"||!1,h=u||!1;let g,_=Pc;l==="Root"?_=n:l&&(_=r);const m=fL(o,S({shouldForwardProp:_,label:g},f)),v=(y,...x)=>{const w=x?x.map(C=>typeof C=="function"&&C.__emotion_real!==C?T=>{let{theme:P}=T,$=ee(T,DF);return C(S({theme:Vl(P)?t:P},$))}:C):[];let k=y;a&&d&&w.push(C=>{const T=Vl(C.theme)?t:C.theme,P=$F(a,T);if(P){const $={};return Object.entries(P).forEach(([N,Y])=>{$[N]=typeof Y=="function"?Y(S({},C,{theme:T})):Y}),d(C,$)}return null}),a&&!p&&w.push(C=>{const T=Vl(C.theme)?t:C.theme;return LF(C,NF(a,T),T,a)}),h||w.push(C=>{const T=Vl(C.theme)?t:C.theme;return i(S({},C,{theme:T}))});const E=w.length-x.length;if(Array.isArray(y)&&E>0){const C=new Array(E).fill("");k=[...y,...C],k.raw=[...y.raw,...C]}else typeof y=="function"&&y.__emotion_real!==y&&(k=C=>{let{theme:T}=C,P=ee(C,AF);return y(S({theme:Vl(T)?t:T},P))});return m(k,...w)};return m.withConfig&&(v.withConfig=m.withConfig),v}}const BF=bT();var zF=BF;function UF(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:JR(t.components[n].defaultProps,r)}function xT({props:e,name:t,defaultTheme:n}){const r=$0(n);return UF({theme:r,name:t,props:e})}function N0(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function WF(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Gs(e){if(e.type)return e;if(e.charAt(0)==="#")return Gs(WF(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Ys(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error(Ys(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Ch(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 jF(e){e=Gs(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Ch({type:a,values:l})}function Iv(e){e=Gs(e);let t=e.type==="hsl"?Gs(jF(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 HF(e,t){const n=Iv(e),r=Iv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Me(e,t){return e=Gs(e),t=N0(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ch(e)}function _u(e,t){if(e=Gs(e),t=N0(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 Ch(e)}function bu(e,t){if(e=Gs(e),t=N0(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 Ch(e)}function YF(e,t=.15){return Iv(e)>.5?_u(e,t):bu(e,t)}function VF(e){const t=$0();return M(R0.Provider,{value:typeof t=="object"?t:{},children:e.children})}function dle(e){const{children:t,theme:n}=e;return M(TF,{theme:n,children:M(VF,{children:t})})}const GF=["className","component","disableGutters","fixed","maxWidth","classes"],KF=kh(),qF=zF("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${j(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),XF=e=>xT({props:e,name:"MuiContainer",defaultTheme:KF}),ZF=(e,t)=>{const n=l=>fe(t,l),{classes:r,fixed:i,disableGutters:o,maxWidth:s}=e,a={root:["root",s&&`maxWidth${j(String(s))}`,i&&"fixed",o&&"disableGutters"]};return he(a,n,r)};function ST(e={}){const{createStyledComponent:t=qF,useThemeProps:n=XF,componentName:r="MuiContainer"}=e,i=t(({theme:s,ownerState:a})=>S({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,d=s.breakpoints.values[u];return d!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>S({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return b.exports.forwardRef(function(a,l){const c=n(a),{className:u,component:d="div",disableGutters:f=!1,fixed:p=!1,maxWidth:h="lg"}=c,g=ee(c,GF),_=S({},c,{component:d,disableGutters:f,fixed:p,maxWidth:h}),m=ZF(_,r);return M(i,S({as:d,ownerState:_,className:K(m.root,u),ref:l},g))})}const JF=ST();var fle=JF;function Ks(e){return typeof e=="string"}function Ud(e,t={},n){return Ks(e)?t:S({},t,{ownerState:S({},t.ownerState,n)})}function Ax(e){return typeof e.normalize!="undefined"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function QF(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:o,trim:s=!1}=e;return(a,{inputValue:l,getOptionLabel:c})=>{let u=s?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=Ax(u));const d=a.filter(f=>{let p=(o||c)(f);return n&&(p=p.toLowerCase()),t&&(p=Ax(p)),i==="start"?p.indexOf(u)===0:p.indexOf(u)>-1});return typeof r=="number"?d.slice(0,r):d}}function Gm(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const e4=QF(),$x=5;function t4(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:i=!1,disabled:o,clearOnBlur:s=!e.freeSolo,clearOnEscape:a=!1,componentName:l="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:u=!1,disableCloseOnSelect:d=!1,disabledItemsFocusable:f=!1,disableListWrap:p=!1,filterOptions:h=e4,filterSelectedOptions:g=!1,freeSolo:_=!1,getOptionDisabled:m,getOptionLabel:v=H=>{var W;return(W=H.label)!=null?W:H},isOptionEqualToValue:y=(H,W)=>H===W,groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:E=!1,inputValue:R,multiple:C=!1,onChange:T,onClose:P,onHighlightChange:$,onInputChange:N,onOpen:Y,open:A,openOnFocus:I=!1,options:B,readOnly:O=!1,selectOnFocus:D=!e.freeSolo,value:U}=e,Z=Ml(k);let J=v;J=H=>{const W=v(H);return typeof W!="string"?String(W):W};const be=b.exports.useRef(!1),re=b.exports.useRef(!0),se=b.exports.useRef(null),G=b.exports.useRef(null),[pe,ue]=b.exports.useState(null),[ce,ve]=b.exports.useState(-1),Ae=n?0:-1,Be=b.exports.useRef(Ae),[de,ze]=zo({controlled:U,default:c,name:l}),[Se,Ge]=zo({controlled:R,default:"",name:l,state:"inputValue"}),[De,At]=b.exports.useState(!1),_t=b.exports.useCallback((H,W)=>{if(!(C?de.length<W.length:W!==null)&&!s)return;let we;if(C)we="";else if(W==null)we="";else{const ft=J(W);we=typeof ft=="string"?ft:""}Se!==we&&(Ge(we),N&&N(H,we,"reset"))},[J,Se,C,N,Ge,s,de]),Oe=b.exports.useRef();b.exports.useEffect(()=>{const H=de!==Oe.current;Oe.current=de,!(De&&!H)&&(_&&!H||_t(null,de))},[de,_t,De,Oe,_]);const[Ne,Mt]=zo({controlled:A,default:!1,name:l,state:"open"}),[jt,st]=b.exports.useState(!0),bt=!C&&de!=null&&Se===J(de),We=Ne&&!O,ye=We?h(B.filter(H=>!(g&&(C?de:[de]).some(W=>W!==null&&y(H,W)))),{inputValue:bt&&jt?"":Se,getOptionLabel:J}):[],F=Ne&&ye.length>0&&!O,te=wn(H=>{H===-1?se.current.focus():pe.querySelector(`[data-tag-index="${H}"]`).focus()});b.exports.useEffect(()=>{C&&ce>de.length-1&&(ve(-1),te(-1))},[de,C,ce,te]);function V(H,W){if(!G.current||H===-1)return-1;let xe=H;for(;;){if(W==="next"&&xe===ye.length||W==="previous"&&xe===-1)return-1;const we=G.current.querySelector(`[data-option-index="${xe}"]`),ft=f?!1:!we||we.disabled||we.getAttribute("aria-disabled")==="true";if(we&&!we.hasAttribute("tabindex")||ft)xe+=W==="next"?1:-1;else return xe}}const le=wn(({event:H,index:W,reason:xe="auto"})=>{if(Be.current=W,W===-1?se.current.removeAttribute("aria-activedescendant"):se.current.setAttribute("aria-activedescendant",`${Z}-option-${W}`),$&&$(H,W===-1?null:ye[W],xe),!G.current)return;const we=G.current.querySelector('[role="option"].Mui-focused');we&&(we.classList.remove("Mui-focused"),we.classList.remove("Mui-focusVisible"));const ft=G.current.parentElement.querySelector('[role="listbox"]');if(!ft)return;if(W===-1){ft.scrollTop=0;return}const sn=G.current.querySelector(`[data-option-index="${W}"]`);if(!!sn&&(sn.classList.add("Mui-focused"),xe==="keyboard"&&sn.classList.add("Mui-focusVisible"),ft.scrollHeight>ft.clientHeight&&xe!=="mouse")){const Vt=sn,ai=ft.clientHeight+ft.scrollTop,E1=Vt.offsetTop+Vt.offsetHeight;E1>ai?ft.scrollTop=E1-ft.clientHeight:Vt.offsetTop-Vt.offsetHeight*(x?1.3:0)<ft.scrollTop&&(ft.scrollTop=Vt.offsetTop-Vt.offsetHeight*(x?1.3:0))}}),Re=wn(({event:H,diff:W,direction:xe="next",reason:we="auto"})=>{if(!We)return;const sn=V((()=>{const Vt=ye.length-1;if(W==="reset")return Ae;if(W==="start")return 0;if(W==="end")return Vt;const ai=Be.current+W;return ai<0?ai===-1&&E?-1:p&&Be.current!==-1||Math.abs(W)>1?0:Vt:ai>Vt?ai===Vt+1&&E?-1:p||Math.abs(W)>1?Vt:0:ai})(),xe);if(le({index:sn,reason:we,event:H}),t&&W!=="reset")if(sn===-1)se.current.value=Se;else{const Vt=J(ye[sn]);se.current.value=Vt,Vt.toLowerCase().indexOf(Se.toLowerCase())===0&&Se.length>0&&se.current.setSelectionRange(Se.length,Vt.length)}}),Je=b.exports.useCallback(()=>{if(!We)return;const H=C?de[0]:de;if(ye.length===0||H==null){Re({diff:"reset"});return}if(!!G.current){if(H!=null){const W=ye[Be.current];if(C&&W&&Gm(de,we=>y(W,we))!==-1)return;const xe=Gm(ye,we=>y(we,H));xe===-1?Re({diff:"reset"}):le({index:xe});return}if(Be.current>=ye.length-1){le({index:ye.length-1});return}le({index:Be.current})}},[ye.length,C?!1:de,g,Re,le,We,Se,C]),hn=wn(H=>{dl(G,H),H&&Je()});b.exports.useEffect(()=>{Je()},[Je]);const Ht=H=>{Ne||(Mt(!0),st(!0),Y&&Y(H))},Ar=(H,W)=>{!Ne||(Mt(!1),P&&P(H,W))},Pn=(H,W,xe,we)=>{if(C){if(de.length===W.length&&de.every((ft,sn)=>ft===W[sn]))return}else if(de===W)return;T&&T(H,W,xe,we),ze(W)},$t=b.exports.useRef(!1),xt=(H,W,xe="selectOption",we="options")=>{let ft=xe,sn=W;if(C){sn=Array.isArray(de)?de.slice():[];const Vt=Gm(sn,ai=>y(W,ai));Vt===-1?sn.push(W):we!=="freeSolo"&&(sn.splice(Vt,1),ft="removeOption")}_t(H,sn),Pn(H,sn,ft,{option:W}),!d&&!H.ctrlKey&&!H.metaKey&&Ar(H,ft),(i===!0||i==="touch"&&$t.current||i==="mouse"&&!$t.current)&&se.current.blur()};function rn(H,W){if(H===-1)return-1;let xe=H;for(;;){if(W==="next"&&xe===de.length||W==="previous"&&xe===-1)return-1;const we=pe.querySelector(`[data-tag-index="${xe}"]`);if(!we||!we.hasAttribute("tabindex")||we.disabled||we.getAttribute("aria-disabled")==="true")xe+=W==="next"?1:-1;else return xe}}const ls=(H,W)=>{if(!C)return;Se===""&&Ar(H,"toggleInput");let xe=ce;ce===-1?Se===""&&W==="previous"&&(xe=de.length-1):(xe+=W==="next"?1:-1,xe<0&&(xe=0),xe===de.length&&(xe=-1)),xe=rn(xe,W),ve(xe),te(xe)},mn=H=>{be.current=!0,Ge(""),N&&N(H,"","clear"),Pn(H,C?[]:null,"clear")},lo=H=>W=>{if(H.onKeyDown&&H.onKeyDown(W),!W.defaultMuiPrevented&&(ce!==-1&&["ArrowLeft","ArrowRight"].indexOf(W.key)===-1&&(ve(-1),te(-1)),W.which!==229))switch(W.key){case"Home":We&&w&&(W.preventDefault(),Re({diff:"start",direction:"next",reason:"keyboard",event:W}));break;case"End":We&&w&&(W.preventDefault(),Re({diff:"end",direction:"previous",reason:"keyboard",event:W}));break;case"PageUp":W.preventDefault(),Re({diff:-$x,direction:"previous",reason:"keyboard",event:W}),Ht(W);break;case"PageDown":W.preventDefault(),Re({diff:$x,direction:"next",reason:"keyboard",event:W}),Ht(W);break;case"ArrowDown":W.preventDefault(),Re({diff:1,direction:"next",reason:"keyboard",event:W}),Ht(W);break;case"ArrowUp":W.preventDefault(),Re({diff:-1,direction:"previous",reason:"keyboard",event:W}),Ht(W);break;case"ArrowLeft":ls(W,"previous");break;case"ArrowRight":ls(W,"next");break;case"Enter":if(Be.current!==-1&&We){const xe=ye[Be.current],we=m?m(xe):!1;if(W.preventDefault(),we)return;xt(W,xe,"selectOption"),t&&se.current.setSelectionRange(se.current.value.length,se.current.value.length)}else _&&Se!==""&&bt===!1&&(C&&W.preventDefault(),xt(W,Se,"createOption","freeSolo"));break;case"Escape":We?(W.preventDefault(),W.stopPropagation(),Ar(W,"escape")):a&&(Se!==""||C&&de.length>0)&&(W.preventDefault(),W.stopPropagation(),mn(W));break;case"Backspace":if(C&&!O&&Se===""&&de.length>0){const xe=ce===-1?de.length-1:ce,we=de.slice();we.splice(xe,1),Pn(W,we,"removeOption",{option:de[xe]})}break}},Al=H=>{At(!0),I&&!be.current&&Ht(H)},$r=H=>{if(G.current!==null&&G.current.parentElement.contains(document.activeElement)){se.current.focus();return}At(!1),re.current=!0,be.current=!1,r&&Be.current!==-1&&We?xt(H,ye[Be.current],"blur"):r&&_&&Se!==""?xt(H,Se,"blur","freeSolo"):s&&_t(H,de),Ar(H,"blur")},je=H=>{const W=H.target.value;Se!==W&&(Ge(W),st(!1),N&&N(H,W,"input")),W===""?!u&&!C&&Pn(H,null,"clear"):Ht(H)},on=H=>{le({event:H,index:Number(H.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Nr=()=>{$t.current=!0},ra=H=>{const W=Number(H.currentTarget.getAttribute("data-option-index"));xt(H,ye[W],"selectOption"),$t.current=!1},fd=H=>W=>{const xe=de.slice();xe.splice(H,1),Pn(W,xe,"removeOption",{option:de[H]})},pd=H=>{Ne?Ar(H,"toggleInput"):Ht(H)},lm=H=>{H.target.getAttribute("id")!==Z&&H.preventDefault()},cm=()=>{se.current.focus(),D&&re.current&&se.current.selectionEnd-se.current.selectionStart===0&&se.current.select(),re.current=!1},um=H=>{(Se===""||!Ne)&&pd(H)};let Te=_&&Se.length>0;Te=Te||(C?de.length>0:de!==null);let Yt=ye;return x&&(Yt=ye.reduce((H,W,xe)=>{const we=x(W);return H.length>0&&H[H.length-1].group===we?H[H.length-1].options.push(W):H.push({key:xe,index:xe,group:we,options:[W]}),H},[])),o&&De&&$r(),{getRootProps:(H={})=>S({"aria-owns":F?`${Z}-listbox`:null},H,{onKeyDown:lo(H),onMouseDown:lm,onClick:cm}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:Se,onBlur:$r,onFocus:Al,onChange:je,onMouseDown:um,"aria-activedescendant":We?"":null,"aria-autocomplete":t?"both":"list","aria-controls":F?`${Z}-listbox`:void 0,"aria-expanded":F,autoComplete:"off",ref:se,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:mn}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:pd}),getTagProps:({index:H})=>S({key:H,"data-tag-index":H,tabIndex:-1},!O&&{onDelete:fd(H)}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:hn,onMouseDown:H=>{H.preventDefault()}}),getOptionProps:({index:H,option:W})=>{const xe=(C?de:[de]).some(ft=>ft!=null&&y(W,ft)),we=m?m(W):!1;return{key:J(W),tabIndex:-1,role:"option",id:`${Z}-option-${H}`,onMouseOver:on,onClick:ra,onTouchStart:Nr,"data-option-index":H,"aria-disabled":we,"aria-selected":xe}},id:Z,inputValue:Se,value:de,dirty:Te,popupOpen:We,focused:De||ce!==-1,anchorEl:pe,setAnchorEl:ue,focusedTag:ce,groupedOptions:Yt}}function Nx(e){return e.substring(2).toLowerCase()}function n4(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function r4(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:o="onTouchEnd"}=e,s=b.exports.useRef(!1),a=b.exports.useRef(null),l=b.exports.useRef(!1),c=b.exports.useRef(!1);b.exports.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Ve(t.ref,a),d=wn(h=>{const g=c.current;c.current=!1;const _=tn(a.current);if(!l.current||!a.current||"clientX"in h&&n4(h,_))return;if(s.current){s.current=!1;return}let m;h.composedPath?m=h.composedPath().indexOf(a.current)>-1:m=!_.documentElement.contains(h.target)||a.current.contains(h.target),!m&&(n||!g)&&i(h)}),f=h=>g=>{c.current=!0;const _=t.props[h];_&&_(g)},p={ref:u};return o!==!1&&(p[o]=f(o)),b.exports.useEffect(()=>{if(o!==!1){const h=Nx(o),g=tn(a.current),_=()=>{s.current=!0};return g.addEventListener(h,d),g.addEventListener("touchmove",_),()=>{g.removeEventListener(h,d),g.removeEventListener("touchmove",_)}}},[d,o]),r!==!1&&(p[r]=f(r)),b.exports.useEffect(()=>{if(r!==!1){const h=Nx(r),g=tn(a.current);return g.addEventListener(h,d),()=>{g.removeEventListener(h,d)}}},[d,r]),M(b.exports.Fragment,{children:b.exports.cloneElement(t,p)})}var Gn="top",Mr="bottom",Pr="right",Kn="left",L0="auto",ed=[Gn,Mr,Pr,Kn],fl="start",xu="end",i4="clippingParents",wT="viewport",Gl="popper",o4="reference",Lx=ed.reduce(function(e,t){return e.concat([t+"-"+fl,t+"-"+xu])},[]),ET=[].concat(ed,[L0]).reduce(function(e,t){return e.concat([t,t+"-"+fl,t+"-"+xu])},[]),s4="beforeRead",a4="read",l4="afterRead",c4="beforeMain",u4="main",d4="afterMain",f4="beforeWrite",p4="write",h4="afterWrite",m4=[s4,a4,l4,c4,u4,d4,f4,p4,h4];function ki(e){return e?(e.nodeName||"").toLowerCase():null}function ii(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pl(e){var t=ii(e).Element;return e instanceof t||e instanceof Element}function wr(e){var t=ii(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function F0(e){if(typeof ShadowRoot=="undefined")return!1;var t=ii(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function g4(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!wr(o)||!ki(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function v4(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 i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!wr(i)||!ki(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}var y4={name:"applyStyles",enabled:!0,phase:"write",fn:g4,effect:v4,requires:["computeStyles"]};function wi(e){return e.split("-")[0]}var As=Math.max,hp=Math.min,hl=Math.round;function ml(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(wr(e)&&t){var o=e.offsetHeight,s=e.offsetWidth;s>0&&(r=hl(n.width)/s||1),o>0&&(i=hl(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function B0(e){var t=ml(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 kT(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&F0(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function eo(e){return ii(e).getComputedStyle(e)}function _4(e){return["table","td","th"].indexOf(ki(e))>=0}function is(e){return((pl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rh(e){return ki(e)==="html"?e:e.assignedSlot||e.parentNode||(F0(e)?e.host:null)||is(e)}function Fx(e){return!wr(e)||eo(e).position==="fixed"?null:e.offsetParent}function b4(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&wr(e)){var r=eo(e);if(r.position==="fixed")return null}var i=Rh(e);for(F0(i)&&(i=i.host);wr(i)&&["html","body"].indexOf(ki(i))<0;){var o=eo(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function td(e){for(var t=ii(e),n=Fx(e);n&&_4(n)&&eo(n).position==="static";)n=Fx(n);return n&&(ki(n)==="html"||ki(n)==="body"&&eo(n).position==="static")?t:n||b4(e)||t}function z0(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Oc(e,t,n){return As(e,hp(t,n))}function x4(e,t,n){var r=Oc(e,t,n);return r>n?n:r}function CT(){return{top:0,right:0,bottom:0,left:0}}function RT(e){return Object.assign({},CT(),e)}function TT(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var S4=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,RT(typeof t!="number"?t:TT(t,ed))};function w4(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=wi(n.placement),l=z0(a),c=[Kn,Pr].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=S4(i.padding,n),f=B0(o),p=l==="y"?Gn:Kn,h=l==="y"?Mr:Pr,g=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],_=s[l]-n.rects.reference[l],m=td(o),v=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,y=g/2-_/2,x=d[p],w=v-f[u]-d[h],k=v/2-f[u]/2+y,E=Oc(x,k,w),R=l;n.modifiersData[r]=(t={},t[R]=E,t.centerOffset=E-k,t)}}function E4(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!kT(t.elements.popper,i)||(t.elements.arrow=i))}var k4={name:"arrow",enabled:!0,phase:"main",fn:w4,effect:E4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gl(e){return e.split("-")[1]}var C4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function R4(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:hl(t*i)/i||0,y:hl(n*i)/i||0}}function Bx(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,p=f===void 0?0:f,h=s.y,g=h===void 0?0:h,_=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=_.x,g=_.y;var m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=Kn,x=Gn,w=window;if(c){var k=td(n),E="clientHeight",R="clientWidth";if(k===ii(n)&&(k=is(n),eo(k).position!=="static"&&a==="absolute"&&(E="scrollHeight",R="scrollWidth")),k=k,i===Gn||(i===Kn||i===Pr)&&o===xu){x=Mr;var C=d&&k===w&&w.visualViewport?w.visualViewport.height:k[E];g-=C-r.height,g*=l?1:-1}if(i===Kn||(i===Gn||i===Mr)&&o===xu){y=Pr;var T=d&&k===w&&w.visualViewport?w.visualViewport.width:k[R];p-=T-r.width,p*=l?1:-1}}var P=Object.assign({position:a},c&&C4),$=u===!0?R4({x:p,y:g}):{x:p,y:g};if(p=$.x,g=$.y,l){var N;return Object.assign({},P,(N={},N[x]=v?"0":"",N[y]=m?"0":"",N.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",N))}return Object.assign({},P,(t={},t[x]=v?g+"px":"",t[y]=m?p+"px":"",t.transform="",t))}function T4(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:wi(t.placement),variation:gl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Bx(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bx(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var M4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:T4,data:{}},Wd={passive:!0};function P4(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=ii(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Wd)}),a&&l.addEventListener("resize",n.update,Wd),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Wd)}),a&&l.removeEventListener("resize",n.update,Wd)}}var O4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P4,data:{}},I4={left:"right",right:"left",bottom:"top",top:"bottom"};function Pf(e){return e.replace(/left|right|bottom|top/g,function(t){return I4[t]})}var D4={start:"end",end:"start"};function zx(e){return e.replace(/start|end/g,function(t){return D4[t]})}function U0(e){var t=ii(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function W0(e){return ml(is(e)).left+U0(e).scrollLeft}function A4(e){var t=ii(e),n=is(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+W0(e),y:a}}function $4(e){var t,n=is(e),r=U0(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=As(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=As(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+W0(e),l=-r.scrollTop;return eo(i||n).direction==="rtl"&&(a+=As(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function j0(e){var t=eo(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function MT(e){return["html","body","#document"].indexOf(ki(e))>=0?e.ownerDocument.body:wr(e)&&j0(e)?e:MT(Rh(e))}function Ic(e,t){var n;t===void 0&&(t=[]);var r=MT(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=ii(r),s=i?[o].concat(o.visualViewport||[],j0(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Ic(Rh(s)))}function Dv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function N4(e){var t=ml(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Ux(e,t){return t===wT?Dv(A4(e)):pl(t)?N4(t):Dv($4(is(e)))}function L4(e){var t=Ic(Rh(e)),n=["absolute","fixed"].indexOf(eo(e).position)>=0,r=n&&wr(e)?td(e):e;return pl(r)?t.filter(function(i){return pl(i)&&kT(i,r)&&ki(i)!=="body"}):[]}function F4(e,t,n){var r=t==="clippingParents"?L4(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce(function(a,l){var c=Ux(e,l);return a.top=As(c.top,a.top),a.right=hp(c.right,a.right),a.bottom=hp(c.bottom,a.bottom),a.left=As(c.left,a.left),a},Ux(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function PT(e){var t=e.reference,n=e.element,r=e.placement,i=r?wi(r):null,o=r?gl(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case Gn:l={x:s,y:t.y-n.height};break;case Mr:l={x:s,y:t.y+t.height};break;case Pr:l={x:t.x+t.width,y:a};break;case Kn:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?z0(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case fl:l[c]=l[c]-(t[u]/2-n[u]/2);break;case xu:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Su(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.boundary,s=o===void 0?i4:o,a=n.rootBoundary,l=a===void 0?wT:a,c=n.elementContext,u=c===void 0?Gl:c,d=n.altBoundary,f=d===void 0?!1:d,p=n.padding,h=p===void 0?0:p,g=RT(typeof h!="number"?h:TT(h,ed)),_=u===Gl?o4:Gl,m=e.rects.popper,v=e.elements[f?_:u],y=F4(pl(v)?v:v.contextElement||is(e.elements.popper),s,l),x=ml(e.elements.reference),w=PT({reference:x,element:m,strategy:"absolute",placement:i}),k=Dv(Object.assign({},m,w)),E=u===Gl?k:x,R={top:y.top-E.top+g.top,bottom:E.bottom-y.bottom+g.bottom,left:y.left-E.left+g.left,right:E.right-y.right+g.right},C=e.modifiersData.offset;if(u===Gl&&C){var T=C[i];Object.keys(R).forEach(function(P){var $=[Pr,Mr].indexOf(P)>=0?1:-1,N=[Gn,Mr].indexOf(P)>=0?"y":"x";R[P]+=T[N]*$})}return R}function B4(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?ET:l,u=gl(r),d=u?a?Lx:Lx.filter(function(h){return gl(h)===u}):ed,f=d.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,g){return h[g]=Su(e,{placement:g,boundary:i,rootBoundary:o,padding:s})[wi(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function z4(e){if(wi(e)===L0)return[];var t=Pf(e);return[zx(e),t,zx(t)]}function U4(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,_=t.options.placement,m=wi(_),v=m===_,y=l||(v||!h?[Pf(_)]:z4(_)),x=[_].concat(y).reduce(function(re,se){return re.concat(wi(se)===L0?B4(t,{placement:se,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):se)},[]),w=t.rects.reference,k=t.rects.popper,E=new Map,R=!0,C=x[0],T=0;T<x.length;T++){var P=x[T],$=wi(P),N=gl(P)===fl,Y=[Gn,Mr].indexOf($)>=0,A=Y?"width":"height",I=Su(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),B=Y?N?Pr:Kn:N?Mr:Gn;w[A]>k[A]&&(B=Pf(B));var O=Pf(B),D=[];if(o&&D.push(I[$]<=0),a&&D.push(I[B]<=0,I[O]<=0),D.every(function(re){return re})){C=P,R=!1;break}E.set(P,D)}if(R)for(var U=h?3:1,Z=function(se){var G=x.find(function(pe){var ue=E.get(pe);if(ue)return ue.slice(0,se).every(function(ce){return ce})});if(G)return C=G,"break"},J=U;J>0;J--){var be=Z(J);if(be==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}var W4={name:"flip",enabled:!0,phase:"main",fn:U4,requiresIfExists:["offset"],data:{_skip:!1}};function Wx(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 jx(e){return[Gn,Pr,Mr,Kn].some(function(t){return e[t]>=0})}function j4(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Su(t,{elementContext:"reference"}),a=Su(t,{altBoundary:!0}),l=Wx(s,r),c=Wx(a,i,o),u=jx(l),d=jx(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var H4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:j4};function Y4(e,t,n){var r=wi(e),i=[Kn,Gn].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Kn,Pr].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function V4(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=ET.reduce(function(u,d){return u[d]=Y4(d,t.rects,o),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var G4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:V4};function K4(e){var t=e.state,n=e.name;t.modifiersData[n]=PT({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var q4={name:"popperOffsets",enabled:!0,phase:"read",fn:K4,data:{}};function X4(e){return e==="x"?"y":"x"}function Z4(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,g=h===void 0?0:h,_=Su(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),m=wi(t.placement),v=gl(t.placement),y=!v,x=z0(m),w=X4(x),k=t.modifiersData.popperOffsets,E=t.rects.reference,R=t.rects.popper,C=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,T=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(!!k){if(o){var N,Y=x==="y"?Gn:Kn,A=x==="y"?Mr:Pr,I=x==="y"?"height":"width",B=k[x],O=B+_[Y],D=B-_[A],U=p?-R[I]/2:0,Z=v===fl?E[I]:R[I],J=v===fl?-R[I]:-E[I],be=t.elements.arrow,re=p&&be?B0(be):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:CT(),G=se[Y],pe=se[A],ue=Oc(0,E[I],re[I]),ce=y?E[I]/2-U-ue-G-T.mainAxis:Z-ue-G-T.mainAxis,ve=y?-E[I]/2+U+ue+pe+T.mainAxis:J+ue+pe+T.mainAxis,Ae=t.elements.arrow&&td(t.elements.arrow),Be=Ae?x==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,de=(N=P==null?void 0:P[x])!=null?N:0,ze=B+ce-de-Be,Se=B+ve-de,Ge=Oc(p?hp(O,ze):O,B,p?As(D,Se):D);k[x]=Ge,$[x]=Ge-B}if(a){var De,At=x==="x"?Gn:Kn,_t=x==="x"?Mr:Pr,Oe=k[w],Ne=w==="y"?"height":"width",Mt=Oe+_[At],jt=Oe-_[_t],st=[Gn,Kn].indexOf(m)!==-1,bt=(De=P==null?void 0:P[w])!=null?De:0,We=st?Mt:Oe-E[Ne]-R[Ne]-bt+T.altAxis,ye=st?Oe+E[Ne]+R[Ne]-bt-T.altAxis:jt,F=p&&st?x4(We,Oe,ye):Oc(p?We:Mt,Oe,p?ye:jt);k[w]=F,$[w]=F-Oe}t.modifiersData[r]=$}}var J4={name:"preventOverflow",enabled:!0,phase:"main",fn:Z4,requiresIfExists:["offset"]};function Q4(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function eB(e){return e===ii(e)||!wr(e)?U0(e):Q4(e)}function tB(e){var t=e.getBoundingClientRect(),n=hl(t.width)/e.offsetWidth||1,r=hl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function nB(e,t,n){n===void 0&&(n=!1);var r=wr(t),i=wr(t)&&tB(t),o=is(t),s=ml(e,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ki(t)!=="body"||j0(o))&&(a=eB(t)),wr(t)?(l=ml(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=W0(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function rB(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function iB(e){var t=rB(e);return m4.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function oB(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function sB(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Hx={placement:"bottom",modifiers:[],strategy:"absolute"};function Yx(){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 aB(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Hx:i;return function(a,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hx,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(m){var v=typeof m=="function"?m(u.options):m;g(),u.options=Object.assign({},o,u.options,v),u.scrollParents={reference:pl(a)?Ic(a):a.contextElement?Ic(a.contextElement):[],popper:Ic(l)};var y=iB(sB([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(x){return x.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var m=u.elements,v=m.reference,y=m.popper;if(!!Yx(v,y)){u.rects={reference:nB(v,td(y),u.options.strategy==="fixed"),popper:B0(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var w=u.orderedModifiers[x],k=w.fn,E=w.options,R=E===void 0?{}:E,C=w.name;typeof k=="function"&&(u=k({state:u,options:R,name:C,instance:p})||u)}}}},update:oB(function(){return new Promise(function(_){p.forceUpdate(),_(u)})}),destroy:function(){g(),f=!0}};if(!Yx(a,l))return p;p.setOptions(c).then(function(_){!f&&c.onFirstUpdate&&c.onFirstUpdate(_)});function h(){u.orderedModifiers.forEach(function(_){var m=_.name,v=_.options,y=v===void 0?{}:v,x=_.effect;if(typeof x=="function"){var w=x({state:u,name:m,instance:p,options:y}),k=function(){};d.push(w||k)}})}function g(){d.forEach(function(_){return _()}),d=[]}return p}}var lB=[O4,q4,M4,y4,G4,W4,J4,k4,H4],cB=aB({defaultModifiers:lB});function uB(e){return typeof e=="function"?e():e}const dB=b.exports.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=b.exports.useState(null),l=Ve(b.exports.isValidElement(r)?r.ref:null,n);return Tr(()=>{o||a(uB(i)||document.body)},[i,o]),Tr(()=>{if(s&&!o)return dl(n,s),()=>{dl(n,null)}},[n,s,o]),o?b.exports.isValidElement(r)?b.exports.cloneElement(r,{ref:l}):r:s&&Au.exports.createPortal(r,s)});var OT=dB;const fB=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],pB=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function hB(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 Av(e){return typeof e=="function"?e():e}const mB={},gB=b.exports.forwardRef(function(t,n){const{anchorEl:r,children:i,direction:o,disablePortal:s,modifiers:a,open:l,placement:c,popperOptions:u,popperRef:d,TransitionProps:f}=t,p=ee(t,fB),h=b.exports.useRef(null),g=Ve(h,n),_=b.exports.useRef(null),m=Ve(_,d),v=b.exports.useRef(m);Tr(()=>{v.current=m},[m]),b.exports.useImperativeHandle(d,()=>_.current,[]);const y=hB(c,o),[x,w]=b.exports.useState(y);b.exports.useEffect(()=>{_.current&&_.current.forceUpdate()}),Tr(()=>{if(!r||!l)return;const E=T=>{w(T.placement)};Av(r);let R=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:T})=>{E(T)}}];a!=null&&(R=R.concat(a)),u&&u.modifiers!=null&&(R=R.concat(u.modifiers));const C=cB(Av(r),h.current,S({placement:y},u,{modifiers:R}));return v.current(C),()=>{C.destroy(),v.current(null)}},[r,s,a,l,u,y]);const k={placement:x};return f!==null&&(k.TransitionProps=f),M("div",S({ref:g,role:"tooltip"},p,{children:typeof i=="function"?i(k):i}))}),vB=b.exports.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=mB,popperRef:p,style:h,transition:g=!1}=t,_=ee(t,pB),[m,v]=b.exports.useState(!0),y=()=>{v(!1)},x=()=>{v(!0)};if(!l&&!u&&(!g||m))return null;const w=o||(r?tn(Av(r)).body:void 0);return M(OT,{disablePortal:a,container:w,children:M(gB,S({anchorEl:r,direction:s,disablePortal:a,modifiers:c,ref:n,open:g?!m:u,placement:d,popperOptions:f,popperRef:p},_,{style:S({position:"fixed",top:0,left:0,display:!u&&l&&(!g||m)?"none":null},h),TransitionProps:g?{in:u,onEnter:y,onExited:x}:null,children:i}))})});var yB=vB;function _B(e){const t=tn(e);return t.body===e?Rr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Dc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Vx(e){return parseInt(Rr(e).getComputedStyle(e).paddingRight,10)||0}function Gx(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,a=>{o.indexOf(a)===-1&&s.indexOf(a.tagName)===-1&&Dc(a,i)})}function Km(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function bB(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(_B(r)){const l=XR(tn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Vx(r)+l}px`;const c=tn(r).querySelectorAll(".mui-fixed");[].forEach.call(c,u=>{n.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${Vx(u)+l}px`})}const o=r.parentElement,s=Rr(r),a=(o==null?void 0:o.nodeName)==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r;n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function xB(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class SB{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Dc(t.modalRef,!1);const i=xB(n);Gx(n,t.mount,t.modalRef,i,!0);const o=Km(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=Km(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=bB(i,n))}remove(t){const n=this.modals.indexOf(t);if(n===-1)return n;const r=Km(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Dc(t.modalRef,!0),Gx(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const o=i.modals[i.modals.length-1];o.modalRef&&Dc(o.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const wB=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function EB(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function kB(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function CB(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||kB(e))}function RB(e){const t=[],n=[];return Array.from(e.querySelectorAll(wB)).forEach((r,i)=>{const o=EB(r);o===-1||!CB(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function TB(){return!0}function MB(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=RB,isEnabled:s=TB,open:a}=e,l=b.exports.useRef(),c=b.exports.useRef(null),u=b.exports.useRef(null),d=b.exports.useRef(null),f=b.exports.useRef(null),p=b.exports.useRef(!1),h=b.exports.useRef(null),g=Ve(t.ref,h),_=b.exports.useRef(null);b.exports.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.exports.useEffect(()=>{if(!a||!h.current)return;const y=tn(h.current);return h.current.contains(y.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.exports.useEffect(()=>{if(!a||!h.current)return;const y=tn(h.current),x=E=>{const{current:R}=h;if(R!==null){if(!y.hasFocus()||r||!s()||l.current){l.current=!1;return}if(!R.contains(y.activeElement)){if(E&&f.current!==E.target||y.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((y.activeElement===c.current||y.activeElement===u.current)&&(P=o(h.current)),P.length>0){var C,T;const $=Boolean(((C=_.current)==null?void 0:C.shiftKey)&&((T=_.current)==null?void 0:T.key)==="Tab"),N=P[0],Y=P[P.length-1];$?Y.focus():N.focus()}else R.focus()}}},w=E=>{_.current=E,!(r||!s()||E.key!=="Tab")&&y.activeElement===h.current&&E.shiftKey&&(l.current=!0,u.current.focus())};y.addEventListener("focusin",x),y.addEventListener("keydown",w,!0);const k=setInterval(()=>{y.activeElement.tagName==="BODY"&&x()},50);return()=>{clearInterval(k),y.removeEventListener("focusin",x),y.removeEventListener("keydown",w,!0)}},[n,r,i,s,a,o]);const m=y=>{d.current===null&&(d.current=y.relatedTarget),p.current=!0,f.current=y.target;const x=t.props.onFocus;x&&x(y)},v=y=>{d.current===null&&(d.current=y.relatedTarget),p.current=!0};return Ce(b.exports.Fragment,{children:[M("div",{tabIndex:0,onFocus:v,ref:c,"data-test":"sentinelStart"}),b.exports.cloneElement(t,{ref:g,onFocus:m}),M("div",{tabIndex:0,onFocus:v,ref:u,"data-test":"sentinelEnd"})]})}function PB(e){return fe("MuiModal",e)}me("MuiModal",["root","hidden"]);const OB=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"],IB=e=>{const{open:t,exited:n,classes:r}=e;return he({root:["root",!t&&n&&"hidden"]},PB,r)};function DB(e){return typeof e=="function"?e():e}function AB(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const $B=new SB,NB=b.exports.forwardRef(function(t,n){const{BackdropComponent:r,BackdropProps:i,children:o,classes:s,className:a,closeAfterTransition:l=!1,component:c="div",components:u={},componentsProps:d={},container:f,disableAutoFocus:p=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:g=!1,disablePortal:_=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=$B,onBackdropClick:k,onClose:E,onKeyDown:R,open:C,theme:T,onTransitionEnter:P,onTransitionExited:$}=t,N=ee(t,OB),[Y,A]=b.exports.useState(!0),I=b.exports.useRef({}),B=b.exports.useRef(null),O=b.exports.useRef(null),D=Ve(O,n),U=AB(t),Z=()=>tn(B.current),J=()=>(I.current.modalRef=O.current,I.current.mountNode=B.current,I.current),be=()=>{w.mount(J(),{disableScrollLock:v}),O.current.scrollTop=0},re=wn(()=>{const De=DB(f)||Z().body;w.add(J(),De),O.current&&be()}),se=b.exports.useCallback(()=>w.isTopModal(J()),[w]),G=wn(De=>{B.current=De,De&&(C&&se()?be():Dc(O.current,!0))}),pe=b.exports.useCallback(()=>{w.remove(J())},[w]);b.exports.useEffect(()=>()=>{pe()},[pe]),b.exports.useEffect(()=>{C?re():(!U||!l)&&pe()},[C,pe,U,l,re]);const ue=S({},t,{classes:s,closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:h,disableEscapeKeyDown:g,disablePortal:_,disableRestoreFocus:m,disableScrollLock:v,exited:Y,hideBackdrop:y,keepMounted:x}),ce=IB(ue);if(!x&&!C&&(!U||Y))return null;const ve=()=>{A(!1),P&&P()},Ae=()=>{A(!0),$&&$(),l&&pe()},Be=De=>{De.target===De.currentTarget&&(k&&k(De),E&&E(De,"backdropClick"))},de=De=>{R&&R(De),!(De.key!=="Escape"||!se())&&(g||(De.stopPropagation(),E&&E(De,"escapeKeyDown")))},ze={};o.props.tabIndex===void 0&&(ze.tabIndex="-1"),U&&(ze.onEnter=Pv(ve,o.props.onEnter),ze.onExited=Pv(Ae,o.props.onExited));const Se=u.Root||c,Ge=d.root||{};return M(OT,{ref:G,container:f,disablePortal:_,children:Ce(Se,S({role:"presentation"},Ge,!Ks(Se)&&{as:c,ownerState:S({},ue,Ge.ownerState),theme:T},N,{ref:D,onKeyDown:de,className:K(ce.root,Ge.className,a),children:[!y&&r?M(r,S({"aria-hidden":!0,open:C,onClick:Be},i)):null,M(MB,{disableEnforceFocus:h,disableAutoFocus:p,disableRestoreFocus:m,isEnabled:se,open:C,children:b.exports.cloneElement(o,ze)})]}))})});var LB=NB;const FB=["onChange","maxRows","minRows","style","value"];function jd(e,t){return parseInt(e[t],10)||0}const BB={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}},zB=b.exports.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=ee(t,FB),{current:c}=b.exports.useRef(a!=null),u=b.exports.useRef(null),d=Ve(n,u),f=b.exports.useRef(null),p=b.exports.useRef(0),[h,g]=b.exports.useState({}),_=b.exports.useCallback(()=>{const v=u.current,x=Rr(v).getComputedStyle(v);if(x.width==="0px")return;const w=f.current;w.style.width=x.width,w.value=v.value||t.placeholder||"x",w.value.slice(-1)===`
|
72 |
-
`&&(w.value+=" ");const k=x["box-sizing"],E=jd(x,"padding-bottom")+jd(x,"padding-top"),R=jd(x,"border-bottom-width")+jd(x,"border-top-width"),C=w.scrollHeight;w.value="x";const T=w.scrollHeight;let P=C;o&&(P=Math.max(Number(o)*T,P)),i&&(P=Math.min(Number(i)*T,P)),P=Math.max(P,T);const $=P+(k==="border-box"?E+R:0),N=Math.abs(P-C)<=1;g(Y=>p.current<20&&($>0&&Math.abs((Y.outerHeightStyle||0)-$)>1||Y.overflow!==N)?(p.current+=1,{overflow:N,outerHeightStyle:$}):Y)},[i,o,t.placeholder]);b.exports.useEffect(()=>{const v=Vs(()=>{p.current=0,_()}),y=Rr(u.current);y.addEventListener("resize",v);let x;return typeof ResizeObserver!="undefined"&&(x=new ResizeObserver(v),x.observe(u.current)),()=>{v.clear(),y.removeEventListener("resize",v),x&&x.disconnect()}},[_]),Tr(()=>{_()}),b.exports.useEffect(()=>{p.current=0},[a]);const m=v=>{p.current=0,c||_(),r&&r(v)};return Ce(b.exports.Fragment,{children:[M("textarea",S({value:a,onChange:m,ref:d,rows:o,style:S({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},s)},l)),M("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:S({},BB.shadow,s,{padding:0})})]})});var UB=zB;function WB(e,t){return S({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const jB={black:"#000",white:"#fff"};var wu=jB;const HB={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"};var YB=HB;const VB={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"};var sa=VB;const GB={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"};var aa=GB;const KB={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"};var Kl=KB;const qB={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"};var la=qB;const XB={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"};var ca=XB;const ZB={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"};var ua=ZB;const JB=["mode","contrastThreshold","tonalOffset"],Kx={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:wu.white,default:wu.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}},qm={text:{primary:wu.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:wu.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 qx(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=bu(e.main,i):t==="dark"&&(e.dark=_u(e.main,o)))}function QB(e="light"){return e==="dark"?{main:la[200],light:la[50],dark:la[400]}:{main:la[700],light:la[400],dark:la[800]}}function ez(e="light"){return e==="dark"?{main:sa[200],light:sa[50],dark:sa[400]}:{main:sa[500],light:sa[300],dark:sa[700]}}function tz(e="light"){return e==="dark"?{main:aa[500],light:aa[300],dark:aa[700]}:{main:aa[700],light:aa[400],dark:aa[800]}}function nz(e="light"){return e==="dark"?{main:ca[400],light:ca[300],dark:ca[700]}:{main:ca[700],light:ca[500],dark:ca[900]}}function rz(e="light"){return e==="dark"?{main:ua[400],light:ua[300],dark:ua[700]}:{main:ua[800],light:ua[500],dark:ua[900]}}function iz(e="light"){return e==="dark"?{main:Kl[400],light:Kl[300],dark:Kl[700]}:{main:"#ed6c02",light:Kl[500],dark:Kl[900]}}function oz(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ee(e,JB),o=e.primary||QB(t),s=e.secondary||ez(t),a=e.error||tz(t),l=e.info||nz(t),c=e.success||rz(t),u=e.warning||iz(t);function d(g){return HF(g,qm.text.primary)>=n?qm.text.primary:Kx.text.primary}const f=({color:g,name:_,mainShade:m=500,lightShade:v=300,darkShade:y=700})=>{if(g=S({},g),!g.main&&g[m]&&(g.main=g[m]),!g.hasOwnProperty("main"))throw new Error(Ys(11,_?` (${_})`:"",m));if(typeof g.main!="string")throw new Error(Ys(12,_?` (${_})`:"",JSON.stringify(g.main)));return qx(g,"light",v,r),qx(g,"dark",y,r),g.contrastText||(g.contrastText=d(g.main)),g},p={dark:qm,light:Kx};return Sr(S({common:S({},wu),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:YB,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const sz=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function az(e){return Math.round(e*1e5)/1e5}const Xx={textTransform:"uppercase"},Zx='"Roboto", "Helvetica", "Arial", sans-serif';function lz(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Zx,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=ee(n,sz),p=i/14,h=d||(m=>`${m/c*p}rem`),g=(m,v,y,x,w)=>S({fontFamily:r,fontWeight:m,fontSize:h(v),lineHeight:y},r===Zx?{letterSpacing:`${az(x/v)}em`}:{},w,u),_={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(a,14,1.75,.4,Xx),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,Xx)};return Sr(S({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},_),f,{clone:!1})}const cz=.2,uz=.14,dz=.12;function St(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${cz})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${uz})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dz})`].join(",")}const fz=["none",St(0,2,1,-1,0,1,1,0,0,1,3,0),St(0,3,1,-2,0,2,2,0,0,1,5,0),St(0,3,3,-2,0,3,4,0,0,1,8,0),St(0,2,4,-1,0,4,5,0,0,1,10,0),St(0,3,5,-1,0,5,8,0,0,1,14,0),St(0,3,5,-1,0,6,10,0,0,1,18,0),St(0,4,5,-2,0,7,10,1,0,2,16,1),St(0,5,5,-3,0,8,10,1,0,3,14,2),St(0,5,6,-3,0,9,12,1,0,3,16,2),St(0,6,6,-3,0,10,14,1,0,4,18,3),St(0,6,7,-4,0,11,15,1,0,4,20,3),St(0,7,8,-4,0,12,17,2,0,5,22,4),St(0,7,8,-4,0,13,19,2,0,5,24,4),St(0,7,9,-4,0,14,21,2,0,5,26,4),St(0,8,9,-5,0,15,22,2,0,6,28,5),St(0,8,10,-5,0,16,24,2,0,6,30,5),St(0,8,11,-5,0,17,26,2,0,6,32,5),St(0,9,11,-5,0,18,28,2,0,7,34,6),St(0,9,12,-6,0,19,29,2,0,7,36,6),St(0,10,13,-6,0,20,31,3,0,8,38,7),St(0,10,13,-6,0,21,33,3,0,8,40,7),St(0,10,14,-6,0,22,35,3,0,8,42,7),St(0,11,14,-7,0,23,36,3,0,9,44,8),St(0,11,15,-7,0,24,38,3,0,9,46,8)];var pz=fz;const hz=["duration","easing","delay"],mz={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)"},IT={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jx(e){return`${Math.round(e)}ms`}function gz(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function vz(e){const t=S({},mz,e.easing),n=S({},IT,e.duration);return S({getAutoHeightDuration:gz,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return ee(o,hz),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:Jx(s)} ${a} ${typeof l=="string"?l:Jx(l)}`).join(",")}},e,{easing:t,duration:n})}const yz={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var _z=yz;const bz=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function xz(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=ee(e,bz),a=oz(r),l=kh(e);let c=Sr(l,{mixins:WB(l.breakpoints,n),palette:a,shadows:pz.slice(),typography:lz(a,o),transitions:vz(i),zIndex:S({},_z)});return c=Sr(c,s),c=t.reduce((u,d)=>Sr(u,d),c),c}const Sz=xz();var Th=Sz;function io(){return $0(Th)}function ge({props:e,name:t}){return xT({props:e,name:t,defaultTheme:Th})}const lr=e=>Pc(e)&&e!=="classes",wz=Pc,Ez=bT({defaultTheme:Th,rootShouldForwardProp:lr});var z=Ez;function kz(e){return fe("MuiPaper",e)}me("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Cz=["className","component","elevation","square","variant"],Qx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Rz=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return he(o,kz,i)},Tz=z("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return S({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&S({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Me("#fff",Qx(t.elevation))}, ${Me("#fff",Qx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Mz=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=ee(r,Cz),u=S({},r,{component:o,elevation:s,square:a,variant:l}),d=Rz(u);return M(Tz,S({as:o,ownerState:u,className:K(d.root,i),ref:n},c))});var os=Mz;function $v(e,t){return $v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$v(e,t)}function DT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$v(e,t)}var eS={disabled:!1},mp=vr.createContext(null),pc="unmounted",vs="exited",ys="entering",va="entered",Nv="exiting",oo=function(e){DT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=vs,o.appearStatus=ys):l=va:r.unmountOnExit||r.mountOnEnter?l=pc:l=vs,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===pc?{status:vs}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==ys&&s!==va&&(o=ys):(s===ys||s===va)&&(o=Nv)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){i===void 0&&(i=!1),o!==null?(this.cancelNextCallback(),o===ys?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===vs&&this.setState({status:pc})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Lm.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||eS.disabled){this.safeSetState({status:va},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:ys},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:va},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Lm.findDOMNode(this);if(!o||eS.disabled){this.safeSetState({status:vs},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Nv},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:vs},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Lm.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===pc)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return vr.createElement(mp.Provider,{value:null},typeof s=="function"?s(i,a):vr.cloneElement(vr.Children.only(s),a))},t}(vr.Component);oo.contextType=mp;oo.propTypes={};function da(){}oo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:da,onEntering:da,onEntered:da,onExit:da,onExiting:da,onExited:da};oo.UNMOUNTED=pc;oo.EXITED=vs;oo.ENTERING=ys;oo.ENTERED=va;oo.EXITING=Nv;var Mh=oo;function Pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){var n=function(o){return t&&b.exports.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.exports.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Oz(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;s<r[l].length;s++){var c=r[l][s];a[r[l][s]]=n(c)}a[l]=n(l)}for(s=0;s<i.length;s++)a[i[s]]=n(i[s]);return a}function Es(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Iz(e,t){return H0(e.children,function(n){return b.exports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Es(n,"appear",e),enter:Es(n,"enter",e),exit:Es(n,"exit",e)})})}function Dz(e,t,n){var r=H0(e.children),i=Oz(t,r);return Object.keys(i).forEach(function(o){var s=i[o];if(!!b.exports.isValidElement(s)){var a=o in t,l=o in r,c=t[o],u=b.exports.isValidElement(c)&&!c.props.in;l&&(!a||u)?i[o]=b.exports.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Es(s,"exit",e),enter:Es(s,"enter",e)}):!l&&a&&!u?i[o]=b.exports.cloneElement(s,{in:!1}):l&&a&&b.exports.isValidElement(c)&&(i[o]=b.exports.cloneElement(s,{onExited:n.bind(null,s),in:c.props.in,exit:Es(s,"exit",e),enter:Es(s,"enter",e)}))}}),i}var Az=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$z={component:"div",childFactory:function(t){return t}},Y0=function(e){DT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=o.handleExited.bind(Pz(o));return o.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},o}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(i,o){var s=o.children,a=o.handleExited,l=o.firstRender;return{children:l?Iz(i,a):Dz(i,s,a),firstRender:!1}},n.handleExited=function(i,o){var s=H0(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(a){var l=S({},a.children);return delete l[i.key],{children:l}}))},n.render=function(){var i=this.props,o=i.component,s=i.childFactory,a=ee(i,["component","childFactory"]),l=this.state.contextValue,c=Az(this.state.children).map(s);return delete a.appear,delete a.enter,delete a.exit,o===null?vr.createElement(mp.Provider,{value:l},c):vr.createElement(mp.Provider,{value:l},vr.createElement(o,a,c))},t}(vr.Component);Y0.propTypes={};Y0.defaultProps=$z;var Nz=Y0;const V0=e=>e.scrollTop;function qo(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function Lz(e){return fe("MuiSvgIcon",e)}me("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Fz=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Bz=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${j(t)}`,`fontSize${j(n)}`]};return he(i,Lz,r)},zz=z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${j(n.color)}`],t[`fontSize${j(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,c,u,d,f,p,h,g,_,m,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(o=i.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:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(d=u.pxToRem)==null?void 0:d.call(u,35))||"2.1875"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(h=p[t.color])==null?void 0:h.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(_=g.action)==null?void 0:_.active,disabled:(m=(e.vars||e).palette)==null||(v=m.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),AT=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=ee(r,Fz),h=S({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f}),g={};u||(g.viewBox=f);const _=Bz(h);return Ce(zz,S({as:a,className:K(_.root,o),ownerState:h,focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},g,p,{children:[i,d?M("title",{children:d}):null]}))});AT.muiName="SvgIcon";var vl=AT;function Zn(e,t){const n=(r,i)=>M(vl,S({"data-testid":`${t}Icon`,ref:i},r,{children:e}));return n.muiName=vl.muiName,b.exports.memo(b.exports.forwardRef(n))}const Uz={configure:e=>{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(`
|
73 |
-
`)),QR.configure(e)}};var Wz=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:Uz,capitalize:j,createChainedFunction:Pv,createSvgIcon:Zn,debounce:Vs,deprecatedPropType:wL,isMuiElement:Tc,ownerDocument:tn,ownerWindow:Rr,requirePropFactory:EL,setRef:dl,unstable_useEnhancedEffect:Tr,unstable_useId:Ml,unsupportedProp:RL,useControlled:zo,useEventCallback:wn,useForkRef:Ve,useIsFocusVisible:xh},Symbol.toStringTag,{value:"Module"}));const jz=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Hz(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Rr(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const c=o.getComputedStyle(t);s=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const c=s.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function Yz(e){return typeof e=="function"?e():e}function Hd(e,t,n){const r=Yz(n),i=Hz(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const Vz=b.exports.forwardRef(function(t,n){const r=io(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:c,direction:u="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:g,onExit:_,onExited:m,onExiting:v,style:y,timeout:x=o,TransitionComponent:w=Mh}=t,k=ee(t,jz),E=b.exports.useRef(null),R=Ve(l.ref,E),C=Ve(R,n),T=D=>U=>{D&&(U===void 0?D(E.current):D(E.current,U))},P=T((D,U)=>{Hd(u,D,c),V0(D),p&&p(D,U)}),$=T((D,U)=>{const Z=qo({timeout:x,style:y,easing:d},{mode:"enter"});D.style.webkitTransition=r.transitions.create("-webkit-transform",S({},Z)),D.style.transition=r.transitions.create("transform",S({},Z)),D.style.webkitTransform="none",D.style.transform="none",g&&g(D,U)}),N=T(h),Y=T(v),A=T(D=>{const U=qo({timeout:x,style:y,easing:d},{mode:"exit"});D.style.webkitTransition=r.transitions.create("-webkit-transform",U),D.style.transition=r.transitions.create("transform",U),Hd(u,D,c),_&&_(D)}),I=T(D=>{D.style.webkitTransition="",D.style.transition="",m&&m(D)}),B=D=>{s&&s(E.current,D)},O=b.exports.useCallback(()=>{E.current&&Hd(u,E.current,c)},[u,c]);return b.exports.useEffect(()=>{if(f||u==="down"||u==="right")return;const D=Vs(()=>{E.current&&Hd(u,E.current,c)}),U=Rr(E.current);return U.addEventListener("resize",D),()=>{D.clear(),U.removeEventListener("resize",D)}},[u,f,c]),b.exports.useEffect(()=>{f||O()},[f,O]),M(w,S({nodeRef:E,onEnter:P,onEntered:N,onEntering:$,onExit:A,onExited:I,onExiting:Y,addEndListener:B,appear:a,in:f,timeout:x},k,{children:(D,U)=>b.exports.cloneElement(l,S({ref:C,style:S({visibility:D==="exited"&&!f?"hidden":void 0},y,l.props.style)},U))}))});var Gz=Vz;function Kz(e){return fe("MuiCollapse",e)}me("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const qz=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Xz=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return he(r,Kz,n)},Zz=z("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>S({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&S({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),Jz=z("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>S({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),Qz=z("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>S({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),$T=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:s,collapsedSize:a="0px",component:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:h,onExited:g,onExiting:_,orientation:m="vertical",style:v,timeout:y=IT.standard,TransitionComponent:x=Mh}=r,w=ee(r,qz),k=S({},r,{orientation:m,collapsedSize:a}),E=Xz(k),R=io(),C=b.exports.useRef(),T=b.exports.useRef(null),P=b.exports.useRef(),$=typeof a=="number"?`${a}px`:a,N=m==="horizontal",Y=N?"width":"height";b.exports.useEffect(()=>()=>{clearTimeout(C.current)},[]);const A=b.exports.useRef(null),I=Ve(n,A),B=G=>pe=>{if(G){const ue=A.current;pe===void 0?G(ue):G(ue,pe)}},O=()=>T.current?T.current[N?"clientWidth":"clientHeight"]:0,D=B((G,pe)=>{T.current&&N&&(T.current.style.position="absolute"),G.style[Y]=$,d&&d(G,pe)}),U=B((G,pe)=>{const ue=O();T.current&&N&&(T.current.style.position="");const{duration:ce,easing:ve}=qo({style:v,timeout:y,easing:c},{mode:"enter"});if(y==="auto"){const Ae=R.transitions.getAutoHeightDuration(ue);G.style.transitionDuration=`${Ae}ms`,P.current=Ae}else G.style.transitionDuration=typeof ce=="string"?ce:`${ce}ms`;G.style[Y]=`${ue}px`,G.style.transitionTimingFunction=ve,p&&p(G,pe)}),Z=B((G,pe)=>{G.style[Y]="auto",f&&f(G,pe)}),J=B(G=>{G.style[Y]=`${O()}px`,h&&h(G)}),be=B(g),re=B(G=>{const pe=O(),{duration:ue,easing:ce}=qo({style:v,timeout:y,easing:c},{mode:"exit"});if(y==="auto"){const ve=R.transitions.getAutoHeightDuration(pe);G.style.transitionDuration=`${ve}ms`,P.current=ve}else G.style.transitionDuration=typeof ue=="string"?ue:`${ue}ms`;G.style[Y]=$,G.style.transitionTimingFunction=ce,_&&_(G)});return M(x,S({in:u,onEnter:D,onEntered:Z,onEntering:U,onExit:J,onExited:be,onExiting:re,addEndListener:G=>{y==="auto"&&(C.current=setTimeout(G,P.current||0)),i&&i(A.current,G)},nodeRef:A,timeout:y==="auto"?null:y},w,{children:(G,pe)=>M(Zz,S({as:l,className:K(E.root,s,{entered:E.entered,exited:!u&&$==="0px"&&E.hidden}[G]),style:S({[N?"minWidth":"minHeight"]:$},v),ownerState:S({},k,{state:G}),ref:I},pe,{children:M(Jz,{ownerState:S({},k,{state:G}),className:E.wrapper,ref:T,children:M(Qz,{ownerState:S({},k,{state:G}),className:E.wrapperInner,children:o})})}))}))});$T.muiSupportAuto=!0;var e3=$T;function tS(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 t3(e,t,n){return t&&tS(e.prototype,t),n&&tS(e,n),e}function ht(){return ht=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},ht.apply(this,arguments)}function n3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Uo(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var NT=vr.createContext(),r3={mui:{root:{},anchorOriginTopCenter:{},anchorOriginBottomCenter:{},anchorOriginTopRight:{},anchorOriginBottomRight:{},anchorOriginTopLeft:{},anchorOriginBottomLeft:{}},container:{containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}}},Pi={view:{default:20,dense:4},snackbar:{default:6,dense:2}},ks={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:Gz,transitionDuration:{enter:225,exit:195}},Ac=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},i3=function(t){return""+Ac(t.vertical)+Ac(t.horizontal)},o3=function(t){return Object.keys(t).filter(function(n){return!r3.container[n]}).reduce(function(n,r){var i;return ht({},n,(i={},i[r]=t[r],i))},{})},So={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},Of={toContainerAnchorOrigin:function(t){return"containerAnchorOrigin"+t},toAnchorOrigin:function(t){var n=t.vertical,r=t.horizontal;return"anchorOrigin"+Ac(n)+Ac(r)},toVariant:function(t){return"variant"+Ac(t)}},Yd=function(t){return!!t||t===0},rS=function(t){return typeof t=="number"||t===null},s3=function(t,n,r){return function(i){return i==="autoHideDuration"?rS(t.autoHideDuration)?t.autoHideDuration:rS(n.autoHideDuration)?n.autoHideDuration:ks.autoHideDuration:t[i]||n[i]||r[i]}};function Xm(e,t,n){return e===void 0&&(e={}),t===void 0&&(t={}),n===void 0&&(n={}),ht({},n,{},t,{},e)}var a3="SnackbarContent",LT={root:a3+"-root"},l3=z("div")(function(e){var t,n,r=e.theme;return n={},n["&."+LT.root]=(t={display:"flex",flexWrap:"wrap",flexGrow:1},t[r.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t),n}),c3=b.exports.forwardRef(function(e,t){var n=e.className,r=Uo(e,["className"]);return M(l3,L({},Object.assign({ref:t,className:K(LT.root,n)},r)))}),iS={right:"left",left:"right",bottom:"up",top:"down"},u3=function(t){return t.horizontal!=="center"?iS[t.horizontal]:iS[t.vertical]},d3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"})}))},f3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"})}))},p3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2, 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12, 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"})}))},h3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12A10,10 0 0,0 12,2Z"})}))},Vd={fontSize:20,marginInlineEnd:8},m3={default:void 0,success:M(d3,{style:Vd}),warning:M(f3,{style:Vd}),error:M(p3,{style:Vd}),info:M(h3,{style:Vd})};function $c(e,t){return e.reduce(function(n,r){return r==null?n:function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var l=[].concat(s);t&&l.indexOf(t)===-1&&l.push(t),n.apply(this,l),r.apply(this,l)}},function(){})}var g3=typeof window!="undefined"?b.exports.useLayoutEffect:b.exports.useEffect;function oS(e){var t=b.exports.useRef(e);return g3(function(){t.current=e}),b.exports.useCallback(function(){return t.current.apply(void 0,arguments)},[])}var v3=b.exports.forwardRef(function(e,t){var n=e.children,r=e.autoHideDuration,i=e.ClickAwayListenerProps,o=e.disableWindowBlurListener,s=o===void 0?!1:o,a=e.onClose,l=e.onMouseEnter,c=e.onMouseLeave,u=e.open,d=e.resumeHideDuration,f=Uo(e,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),p=b.exports.useRef(),h=oS(function(){a&&a.apply(void 0,arguments)}),g=oS(function(w){!a||w==null||(clearTimeout(p.current),p.current=setTimeout(function(){h(null,So.TIMEOUT)},w))});b.exports.useEffect(function(){return u&&g(r),function(){clearTimeout(p.current)}},[u,r,g]);var _=function(){clearTimeout(p.current)},m=b.exports.useCallback(function(){r!=null&&g(d!=null?d:r*.5)},[r,d,g]),v=function(k){l&&l(k),_()},y=function(k){c&&c(k),m()},x=function(k){a&&a(k,So.CLICKAWAY)};return b.exports.useEffect(function(){if(!s&&u)return window.addEventListener("focus",m),window.addEventListener("blur",_),function(){window.removeEventListener("focus",m),window.removeEventListener("blur",_)}},[s,m,u]),b.exports.createElement(r4,ht({onClickAway:x},i),b.exports.createElement("div",ht({onMouseEnter:v,onMouseLeave:y,ref:t},f),n))}),Oi="SnackbarItem",Dn={contentRoot:Oi+"-contentRoot",lessPadding:Oi+"-lessPadding",variantSuccess:Oi+"-variantSuccess",variantError:Oi+"-variantError",variantInfo:Oi+"-variantInfo",variantWarning:Oi+"-variantWarning",message:Oi+"-message",action:Oi+"-action",wrappedRoot:Oi+"-wrappedRoot"},y3=z(v3)(function(e){var t,n=e.theme,r=n.palette.mode||n.palette.type,i=YF(n.palette.background.default,r==="light"?.8:.98);return t={},t["&."+Dn.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},t["."+Dn.contentRoot]=ht({},n.typography.body2,{backgroundColor:i,color:n.palette.getContrastText(i),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),t["."+Dn.lessPadding]={paddingLeft:8*2.5},t["."+Dn.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},t["."+Dn.variantError]={backgroundColor:"#d32f2f",color:"#fff"},t["."+Dn.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},t["."+Dn.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},t["."+Dn.message]={display:"flex",alignItems:"center",padding:"8px 0"},t["."+Dn.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},t}),_3=function(t){var n=t.classes,r=Uo(t,["classes"]),i=b.exports.useRef(),o=b.exports.useState(!0),s=o[0],a=o[1];b.exports.useEffect(function(){return function(){i.current&&clearTimeout(i.current)}},[]);var l=$c([r.snack.onClose,r.onClose],r.snack.key),c=function(){r.snack.requestClose&&l(null,So.INSTRCUTED)},u=function(){i.current=setTimeout(function(){a(!s)},125)},d=r.style,f=r.ariaAttributes,p=r.className,h=r.hideIconVariant,g=r.iconVariant,_=r.snack,m=r.action,v=r.content,y=r.TransitionComponent,x=r.TransitionProps,w=r.transitionDuration,k=Uo(r,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),E=_.key,R=_.open,C=_.className,T=_.variant,P=_.content,$=_.action,N=_.ariaAttributes,Y=_.anchorOrigin,A=_.message,I=_.TransitionComponent,B=_.TransitionProps,O=_.transitionDuration,D=Uo(_,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),U=ht({},m3,{},g)[T],Z=ht({"aria-describedby":"notistack-snackbar"},Xm(N,f)),J=I||y||ks.TransitionComponent,be=Xm(O,w,ks.transitionDuration),re=ht({direction:u3(Y)},Xm(B,x)),se=$||m;typeof se=="function"&&(se=se(E));var G=P||v;typeof G=="function"&&(G=G(E,_.message));var pe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(ue,ce){var ve;return ht({},ue,(ve={},ve[ce]=$c([r.snack[ce],r[ce]],r.snack.key),ve))},{});return M(e3,{unmountOnExit:!0,timeout:175,in:s,onExited:pe.onExited,children:M(y3,Ee(L({},Object.assign({},k,D,{open:R,className:K(n.root,Dn.wrappedRoot,n[Of.toAnchorOrigin(Y)]),onClose:l})),{children:M(J,Ee(L({},Object.assign({appear:!0,in:R,timeout:be},re,{onExit:pe.onExit,onExiting:pe.onExiting,onExited:u,onEnter:pe.onEnter,onEntering:pe.onEntering,onEntered:$c([pe.onEntered,c])})),{children:G||Ce(c3,Ee(L({},Object.assign({},Z,{role:"alert",style:d,className:K(Dn.contentRoot,Dn[Of.toVariant(T)],n[Of.toVariant(T)],p,C,!h&&U&&Dn.lessPadding)})),{children:[Ce("div",{id:Z["aria-describedby"],className:Dn.message,children:[h?null:U,A]}),se&&M("div",{className:Dn.action,children:se})]}))}))}))})},Zm={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},Jm=16,us="SnackbarContainer",Wr={root:us+"-root",rootDense:us+"-rootDense",top:us+"-top",bottom:us+"-bottom",left:us+"-left",right:us+"-right",center:us+"-center"},b3=z("div")(function(e){var t,n,r,i,o,s,a=e.theme;return s={},s["&."+Wr.root]=(t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:a.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},t[Zm.container]={pointerEvents:"all"},t[Zm.wrapper]={padding:Pi.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+Pi.view.default*2+"px)",t[a.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+Jm*2+"px)"},t),s["&."+Wr.rootDense]=(n={},n[Zm.wrapper]={padding:Pi.snackbar.dense+"px 0px"},n),s["&."+Wr.top]={top:Pi.view.default-Pi.snackbar.default,flexDirection:"column"},s["&."+Wr.bottom]={bottom:Pi.view.default-Pi.snackbar.default,flexDirection:"column-reverse"},s["&."+Wr.left]=(r={left:Pi.view.default},r[a.breakpoints.up("sm")]={alignItems:"flex-start"},r[a.breakpoints.down("sm")]={left:Jm+"px"},r),s["&."+Wr.right]=(i={right:Pi.view.default},i[a.breakpoints.up("sm")]={alignItems:"flex-end"},i[a.breakpoints.down("sm")]={right:Jm+"px"},i),s["&."+Wr.center]=(o={left:"50%",transform:"translateX(-50%)"},o[a.breakpoints.up("sm")]={alignItems:"center"},o),s}),x3=function(t){var n=t.className,r=t.anchorOrigin,i=t.dense,o=Uo(t,["className","anchorOrigin","dense"]),s=K(Wr[r.vertical],Wr[r.horizontal],Wr.root,n,i&&Wr.rootDense);return M(b3,L({},Object.assign({className:s},o)))},S3=vr.memo(x3),ple=function(e){n3(t,e);function t(r){var i;return i=e.call(this,r)||this,i.enqueueSnackbar=function(o,s){s===void 0&&(s={});var a=s,l=a.key,c=a.preventDuplicate,u=Uo(a,["key","preventDuplicate"]),d=Yd(l),f=d?l:new Date().getTime()+Math.random(),p=s3(u,i.props,ks),h=ht({key:f},u,{message:o,open:!0,entered:!1,requestClose:!1,variant:p("variant"),anchorOrigin:p("anchorOrigin"),autoHideDuration:p("autoHideDuration")});return u.persist&&(h.autoHideDuration=void 0),i.setState(function(g){if(c===void 0&&i.props.preventDuplicate||c){var _=function(x){return d?x.key===l:x.message===o},m=g.queue.findIndex(_)>-1,v=g.snacks.findIndex(_)>-1;if(m||v)return g}return i.handleDisplaySnack(ht({},g,{queue:[].concat(g.queue,[h])}))}),f},i.handleDisplaySnack=function(o){var s=o.snacks;return s.length>=i.maxSnack?i.handleDismissOldest(o):i.processQueue(o)},i.processQueue=function(o){var s=o.queue,a=o.snacks;return s.length>0?ht({},o,{snacks:[].concat(a,[s[0]]),queue:s.slice(1,s.length)}):o},i.handleDismissOldest=function(o){if(o.snacks.some(function(u){return!u.open||u.requestClose}))return o;var s=!1,a=!1,l=o.snacks.reduce(function(u,d){return u+(d.open&&d.persist?1:0)},0);l===i.maxSnack&&(a=!0);var c=o.snacks.map(function(u){return!s&&(!u.persist||a)?(s=!0,u.entered?(u.onClose&&u.onClose(null,So.MAXSNACK,u.key),i.props.onClose&&i.props.onClose(null,So.MAXSNACK,u.key),ht({},u,{open:!1})):ht({},u,{requestClose:!0})):ht({},u)});return ht({},o,{snacks:c})},i.handleEnteredSnack=function(o,s,a){if(!Yd(a))throw new Error("handleEnteredSnack Cannot be called with undefined key");i.setState(function(l){var c=l.snacks;return{snacks:c.map(function(u){return u.key===a?ht({},u,{entered:!0}):ht({},u)})}})},i.handleCloseSnack=function(o,s,a){if(i.props.onClose&&i.props.onClose(o,s,a),s!==So.CLICKAWAY){var l=a===void 0;i.setState(function(c){var u=c.snacks,d=c.queue;return{snacks:u.map(function(f){return!l&&f.key!==a?ht({},f):f.entered?ht({},f,{open:!1}):ht({},f,{requestClose:!0})}),queue:d.filter(function(f){return f.key!==a})}})}},i.closeSnackbar=function(o){var s=i.state.snacks.find(function(a){return a.key===o});Yd(o)&&s&&s.onClose&&s.onClose(null,So.INSTRUCTED,o),i.handleCloseSnack(null,So.INSTRUCTED,o)},i.handleExitedSnack=function(o,s,a){var l=s||a;if(!Yd(l))throw new Error("handleExitedSnack Cannot be called with undefined key");i.setState(function(c){var u=i.processQueue(ht({},c,{snacks:c.snacks.filter(function(d){return d.key!==l})}));return u.queue.length===0?u:i.handleDismissOldest(u)})},i.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:i.enqueueSnackbar.bind(nS(i)),closeSnackbar:i.closeSnackbar.bind(nS(i))}},i}var n=t.prototype;return n.render=function(){var i=this,o=this.state.contextValue,s=this.props,a=s.iconVariant,l=s.dense,c=l===void 0?ks.dense:l,u=s.hideIconVariant,d=u===void 0?ks.hideIconVariant:u,f=s.domRoot,p=s.children,h=s.classes,g=h===void 0?{}:h,_=Uo(s,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),m=this.state.snacks.reduce(function(y,x){var w,k=i3(x.anchorOrigin),E=y[k]||[];return ht({},y,(w={},w[k]=[].concat(E,[x]),w))},{}),v=Object.keys(m).map(function(y){var x=m[y];return M(S3,{dense:c,anchorOrigin:x[0].anchorOrigin,className:K(g.containerRoot,g[Of.toContainerAnchorOrigin(y)]),children:x.map(function(w){return M(_3,L({},Object.assign({},_,{key:w.key,snack:w,dense:c,iconVariant:a,hideIconVariant:d,classes:o3(g),onClose:i.handleCloseSnack,onExited:$c([i.handleExitedSnack,i.props.onExited]),onEntered:$c([i.handleEnteredSnack,i.props.onEntered])})))})},y)});return Ce(NT.Provider,{value:o,children:[p,f?Au.exports.createPortal(v,f):v]})},t3(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||ks.maxSnack}}]),t}(b.exports.Component),hle=function(){return b.exports.useContext(NT)},Cs;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Cs||(Cs={}));var sS=function(e){return e},aS="beforeunload",w3="hashchange",E3="popstate";function k3(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function o(){var R=Xo(r.location.hash.substr(1)),C=R.pathname,T=C===void 0?"/":C,P=R.search,$=P===void 0?"":P,N=R.hash,Y=N===void 0?"":N,A=i.state||{};return[A.idx,sS({pathname:T,search:$,hash:Y,state:A.usr||null,key:A.key||"default"})]}var s=null;function a(){if(s)p.call(s),s=null;else{var R=Cs.Pop,C=o(),T=C[0],P=C[1];if(p.length){if(T!=null){var $=u-T;$&&(s={action:R,location:P,retry:function(){k($*-1)}},k($))}}else y(R)}}r.addEventListener(E3,a),r.addEventListener(w3,function(){var R=o(),C=R[1];Nc(C)!==Nc(d)&&a()});var l=Cs.Pop,c=o(),u=c[0],d=c[1],f=cS(),p=cS();u==null&&(u=0,i.replaceState(S({},i.state,{idx:u}),""));function h(){var R=document.querySelector("base"),C="";if(R&&R.getAttribute("href")){var T=r.location.href,P=T.indexOf("#");C=P===-1?T:T.slice(0,P)}return C}function g(R){return h()+"#"+(typeof R=="string"?R:Nc(R))}function _(R,C){return C===void 0&&(C=null),sS(S({pathname:d.pathname,hash:"",search:""},typeof R=="string"?Xo(R):R,{state:C,key:C3()}))}function m(R,C){return[{usr:R.state,key:R.key,idx:C},g(R)]}function v(R,C,T){return!p.length||(p.call({action:R,location:C,retry:T}),!1)}function y(R){l=R;var C=o();u=C[0],d=C[1],f.call({action:l,location:d})}function x(R,C){var T=Cs.Push,P=_(R,C);function $(){x(R,C)}if(v(T,P,$)){var N=m(P,u+1),Y=N[0],A=N[1];try{i.pushState(Y,"",A)}catch{r.location.assign(A)}y(T)}}function w(R,C){var T=Cs.Replace,P=_(R,C);function $(){w(R,C)}if(v(T,P,$)){var N=m(P,u),Y=N[0],A=N[1];i.replaceState(Y,"",A),y(T)}}function k(R){i.go(R)}var E={get action(){return l},get location(){return d},createHref:g,push:x,replace:w,go:k,back:function(){k(-1)},forward:function(){k(1)},listen:function(C){return f.push(C)},block:function(C){var T=p.push(C);return p.length===1&&r.addEventListener(aS,lS),function(){T(),p.length||r.removeEventListener(aS,lS)}}};return E}function lS(e){e.preventDefault(),e.returnValue=""}function cS(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function C3(){return Math.random().toString(36).substr(2,8)}function Nc(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,o=e.hash,s=o===void 0?"":o;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function Xo(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/**
|
74 |
* React Router v6.3.0
|
75 |
*
|
76 |
* Copyright (c) Remix Software Inc.
|
@@ -79,7 +79,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
79 |
* LICENSE.md file in the root directory of this source tree.
|
80 |
*
|
81 |
* @license MIT
|
82 |
-
*/const G0=b.exports.createContext(null),K0=b.exports.createContext(null),nd=b.exports.createContext({outlet:null,matches:[]});function Jr(e,t){if(!e)throw new Error(t)}function
|
83 |
* React Router DOM v6.3.0
|
84 |
*
|
85 |
* Copyright (c) Remix Software Inc.
|
@@ -88,7 +88,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
88 |
* LICENSE.md file in the root directory of this source tree.
|
89 |
*
|
90 |
* @license MIT
|
91 |
-
*/function Fv(){return Fv=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},Fv.apply(this,arguments)}function
|
92 |
0% {
|
93 |
transform: scale(0);
|
94 |
opacity: 0.1;
|
@@ -98,7 +98,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
98 |
transform: scale(1);
|
99 |
opacity: 0.3;
|
100 |
}
|
101 |
-
`)),
|
102 |
0% {
|
103 |
opacity: 1;
|
104 |
}
|
@@ -106,7 +106,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
106 |
100% {
|
107 |
opacity: 0;
|
108 |
}
|
109 |
-
`)),
|
110 |
0% {
|
111 |
transform: scale(1);
|
112 |
}
|
@@ -118,7 +118,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
118 |
100% {
|
119 |
transform: scale(1);
|
120 |
}
|
121 |
-
`)),
|
122 |
opacity: 0;
|
123 |
position: absolute;
|
124 |
|
@@ -161,7 +161,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
161 |
animation-iteration-count: infinite;
|
162 |
animation-delay: 200ms;
|
163 |
}
|
164 |
-
`),fr.rippleVisible,a6,Bv,({theme:e})=>e.transitions.easing.easeInOut,fr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,fr.child,fr.childLeaving,l6,Bv,({theme:e})=>e.transitions.easing.easeInOut,fr.childPulsate,c6,({theme:e})=>e.transitions.easing.easeInOut),f6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ee(r,o6),[l,c]=b.exports.useState([]),u=b.exports.useRef(0),d=b.exports.useRef(null);b.exports.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.exports.useRef(!1),p=b.exports.useRef(null),h=b.exports.useRef(null),g=b.exports.useRef(null);b.exports.useEffect(()=>()=>{clearTimeout(p.current)},[]);const _=b.exports.useCallback(x=>{const{pulsate:w,rippleX:k,rippleY:E,rippleSize:R,cb:C}=x;c(T=>[...T,M(d6,{classes:{ripple:K(o.ripple,fr.ripple),rippleVisible:K(o.rippleVisible,fr.rippleVisible),ripplePulsate:K(o.ripplePulsate,fr.ripplePulsate),child:K(o.child,fr.child),childLeaving:K(o.childLeaving,fr.childLeaving),childPulsate:K(o.childPulsate,fr.childPulsate)},timeout:Bv,pulsate:w,rippleX:k,rippleY:E,rippleSize:R},u.current)]),u.current+=1,d.current=C},[o]),m=b.exports.useCallback((x={},w={},k)=>{const{pulsate:E=!1,center:R=i||w.pulsate,fakeElement:C=!1}=w;if((x==null?void 0:x.type)==="mousedown"&&f.current){f.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(f.current=!0);const T=C?null:g.current,P=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let $,N,Y;if(R||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)$=Math.round(P.width/2),N=Math.round(P.height/2);else{const{clientX:A,clientY:I}=x.touches?x.touches[0]:x;$=Math.round(A-P.left),N=Math.round(I-P.top)}if(R)Y=Math.sqrt((2*P.width**2+P.height**2)/3),Y%2===0&&(Y+=1);else{const A=Math.max(Math.abs((T?T.clientWidth:0)-$),$)*2+2,I=Math.max(Math.abs((T?T.clientHeight:0)-N),N)*2+2;Y=Math.sqrt(A**2+I**2)}x!=null&&x.touches?h.current===null&&(h.current=()=>{_({pulsate:E,rippleX:$,rippleY:N,rippleSize:Y,cb:k})},p.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},s6)):_({pulsate:E,rippleX:$,rippleY:N,rippleSize:Y,cb:k})},[i,_]),v=b.exports.useCallback(()=>{m({},{pulsate:!0})},[m]),y=b.exports.useCallback((x,w)=>{if(clearTimeout(p.current),(x==null?void 0:x.type)==="touchend"&&h.current){h.current(),h.current=null,p.current=setTimeout(()=>{y(x,w)});return}h.current=null,c(k=>k.length>0?k.slice(1):k),d.current=w},[]);return b.exports.useImperativeHandle(n,()=>({pulsate:v,start:m,stop:y}),[v,m,y]),M(u6,S({className:K(o.root,fr.root,s),ref:g},a,{children:M(Nz,{component:null,exit:!0,children:l})}))});var p6=f6;function h6(e){return fe("MuiButtonBase",e)}const m6=me("MuiButtonBase",["root","disabled","focusVisible"]);var g6=m6;const v6=["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"],y6=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=he({root:["root",t&&"disabled",n&&"focusVisible"]},h6,i);return n&&r&&(s.root+=` ${r}`),s},_6=z("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"},[`&.${g6.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),b6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:g,onContextMenu:_,onDragLeave:m,onFocus:v,onFocusVisible:y,onKeyDown:x,onKeyUp:w,onMouseDown:k,onMouseLeave:E,onMouseUp:R,onTouchEnd:C,onTouchMove:T,onTouchStart:P,tabIndex:$=0,TouchRippleProps:N,touchRippleRef:Y,type:A}=r,I=ee(r,v6),B=b.exports.useRef(null),O=b.exports.useRef(null),D=Ve(O,Y),{isFocusVisibleRef:U,onFocus:Z,onBlur:J,ref:be}=xh(),[re,se]=b.exports.useState(!1);c&&re&&se(!1),b.exports.useImperativeHandle(i,()=>({focusVisible:()=>{se(!0),B.current.focus()}}),[]);const[G,pe]=b.exports.useState(!1);b.exports.useEffect(()=>{pe(!0)},[]);const ue=G&&!u&&!c;b.exports.useEffect(()=>{re&&f&&!u&&G&&O.current.pulsate()},[u,f,re,G]);function ce(V,le,Re=d){return wn(Je=>(le&&le(Je),!Re&&O.current&&O.current[V](Je),!0))}const ve=ce("start",k),Ae=ce("stop",_),Be=ce("stop",m),de=ce("stop",R),ze=ce("stop",V=>{re&&V.preventDefault(),E&&E(V)}),Se=ce("start",P),Ge=ce("stop",C),De=ce("stop",T),At=ce("stop",V=>{J(V),U.current===!1&&se(!1),h&&h(V)},!1),_t=wn(V=>{B.current||(B.current=V.currentTarget),Z(V),U.current===!0&&(se(!0),y&&y(V)),v&&v(V)}),Oe=()=>{const V=B.current;return l&&l!=="button"&&!(V.tagName==="A"&&V.href)},Ne=b.exports.useRef(!1),Mt=wn(V=>{f&&!Ne.current&&re&&O.current&&V.key===" "&&(Ne.current=!0,O.current.stop(V,()=>{O.current.start(V)})),V.target===V.currentTarget&&Oe()&&V.key===" "&&V.preventDefault(),x&&x(V),V.target===V.currentTarget&&Oe()&&V.key==="Enter"&&!c&&(V.preventDefault(),g&&g(V))}),jt=wn(V=>{f&&V.key===" "&&O.current&&re&&!V.defaultPrevented&&(Ne.current=!1,O.current.stop(V,()=>{O.current.pulsate(V)})),w&&w(V),g&&V.target===V.currentTarget&&Oe()&&V.key===" "&&!V.defaultPrevented&&g(V)});let st=l;st==="button"&&(I.href||I.to)&&(st=p);const bt={};st==="button"?(bt.type=A===void 0?"button":A,bt.disabled=c):(!I.href&&!I.to&&(bt.role="button"),c&&(bt["aria-disabled"]=c));const We=Ve(be,B),ye=Ve(n,We),F=S({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:$,focusVisible:re}),te=y6(F);return Ce(_6,S({as:st,className:K(te.root,a),ownerState:F,onBlur:At,onClick:g,onContextMenu:Ae,onFocus:_t,onKeyDown:Mt,onKeyUp:jt,onMouseDown:ve,onMouseLeave:ze,onMouseUp:de,onDragLeave:Be,onTouchEnd:Ge,onTouchMove:De,onTouchStart:Se,ref:ye,tabIndex:c?-1:$,type:A},bt,I,{children:[s,ue?M(p6,S({ref:D,center:o},N)):null]}))});var Qr=b6;function x6(e){return fe("MuiAlert",e)}const S6=me("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var mS=S6;function w6(e){return fe("MuiIconButton",e)}const E6=me("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var k6=E6;const C6=["edge","children","className","color","disabled","disableFocusRipple","size"],R6=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${j(r)}`,i&&`edge${j(i)}`,`size${j(o)}`]};return he(s,w6,t)},T6=z(Qr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${j(n.color)}`],n.edge&&t[`edge${j(n.edge)}`],t[`size${j(n.size)}`]]}})(({theme:e,ownerState:t})=>S({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.active} / ${e.vars.palette.action.hoverOpacity})`:Me(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})=>S({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&S({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(e.palette[t.color].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)},{[`&.${k6.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})),M6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=ee(r,C6),f=S({},r,{edge:i,color:a,disabled:l,disableFocusRipple:c,size:u}),p=R6(f);return M(T6,S({className:K(p.root,s),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:f},d,{children:o}))});var q0=M6,P6=Zn(M("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),O6=Zn(M("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),I6=Zn(M("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),D6=Zn(M("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),HT=Zn(M("path",{d:"M19 6.41L17.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"),gS;const A6=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],$6=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`${t}${j(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return he(o,x6,i)},N6=z(os,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${j(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?_u:bu,r=e.palette.mode==="light"?bu:_u,i=t.color||t.severity;return S({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:n(e.palette[i].light,.6),backgroundColor:r(e.palette[i].light,.9),[`& .${mS.icon}`]:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="outlined"&&{color:n(e.palette[i].light,.6),border:`1px solid ${e.palette[i].light}`,[`& .${mS.icon}`]:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="filled"&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main})}),L6=z("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),F6=z("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),vS=z("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),yS={success:M(P6,{fontSize:"inherit"}),warning:M(O6,{fontSize:"inherit"}),error:M(I6,{fontSize:"inherit"}),info:M(D6,{fontSize:"inherit"})},B6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,icon:c,iconMapping:u=yS,onClose:d,role:f="alert",severity:p="success",variant:h="standard"}=r,g=ee(r,A6),_=S({},r,{color:l,severity:p,variant:h}),m=$6(_);return Ce(N6,S({role:f,elevation:0,ownerState:_,className:K(m.root,s),ref:n},g,{children:[c!==!1?M(L6,{ownerState:_,className:m.icon,children:c||u[p]||yS[p]}):null,M(F6,{ownerState:_,className:m.message,children:o}),i!=null?M(vS,{ownerState:_,className:m.action,children:i}):null,i==null&&d?M(vS,{ownerState:_,className:m.action,children:M(q0,{size:"small","aria-label":a,title:a,color:"inherit",onClick:d,children:gS||(gS=M(HT,{fontSize:"small"}))})}):null]}))});var ble=B6;function z6(e){return fe("MuiTypography",e)}me("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const U6=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],W6=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${j(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return he(a,z6,s)},j6=z("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${j(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>S({margin:0},t.variant&&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})),_S={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},H6={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Y6=e=>H6[e]||e,V6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiTypography"}),i=Y6(r.color),o=hT(S({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=_S}=o,h=ee(o,U6),g=S({},o,{align:s,color:i,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:f,variantMapping:p}),_=l||(d?"p":p[f]||_S[f])||"span",m=W6(g);return M(j6,S({as:_,ref:n,ownerState:g,className:K(m.root,a)},h))});var yi=V6;function G6(e){return fe("MuiAlertTitle",e)}me("MuiAlertTitle",["root"]);const K6=["className"],q6=e=>{const{classes:t}=e;return he({root:["root"]},G6,t)},X6=z(yi,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),Z6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAlertTitle"}),{className:i}=r,o=ee(r,K6),s=r,a=q6(s);return M(X6,S({gutterBottom:!0,component:"div",ownerState:s,ref:n,className:K(a.root,i)},o))});var xle=Z6;const J6=z(yB,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Q6=b.exports.forwardRef(function(t,n){const r=yT(),i=ge({props:t,name:"MuiPopper"});return M(J6,S({direction:r==null?void 0:r.direction},i,{ref:n}))});var Ih=Q6;function eU(e){return fe("MuiListSubheader",e)}me("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const tU=["className","color","component","disableGutters","disableSticky","inset"],nU=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,s={root:["root",n!=="default"&&`color${j(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return he(s,eU,t)},rU=z("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${j(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>S({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),iU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:s="li",disableGutters:a=!1,disableSticky:l=!1,inset:c=!1}=r,u=ee(r,tU),d=S({},r,{color:o,component:s,disableGutters:a,disableSticky:l,inset:c}),f=nU(d);return M(rU,S({as:s,className:K(f.root,i),ref:n,ownerState:d},u))});var oU=iU,sU=Zn(M("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function aU(e){return fe("MuiChip",e)}const lU=me("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]);var Ke=lU;const cU=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],uU=e=>{const{classes:t,disabled:n,size:r,color:i,onDelete:o,clickable:s,variant:a}=e,l={root:["root",a,n&&"disabled",`size${j(r)}`,`color${j(i)}`,s&&"clickable",s&&`clickableColor${j(i)}`,o&&"deletable",o&&`deletableColor${j(i)}`,`${a}${j(i)}`],label:["label",`label${j(r)}`],avatar:["avatar",`avatar${j(r)}`,`avatarColor${j(i)}`],icon:["icon",`icon${j(r)}`,`iconColor${j(i)}`],deleteIcon:["deleteIcon",`deleteIcon${j(r)}`,`deleteIconColor${j(i)}`,`deleteIconOutlinedColor${j(i)}`]};return he(l,aU,t)},dU=z("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:i,onDelete:o,size:s,variant:a}=n;return[{[`& .${Ke.avatar}`]:t.avatar},{[`& .${Ke.avatar}`]:t[`avatar${j(s)}`]},{[`& .${Ke.avatar}`]:t[`avatarColor${j(r)}`]},{[`& .${Ke.icon}`]:t.icon},{[`& .${Ke.icon}`]:t[`icon${j(s)}`]},{[`& .${Ke.icon}`]:t[`iconColor${j(r)}`]},{[`& .${Ke.deleteIcon}`]:t.deleteIcon},{[`& .${Ke.deleteIcon}`]:t[`deleteIcon${j(s)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIconColor${j(r)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIconOutlinedColor${j(r)}`]},t.root,t[`size${j(s)}`],t[`color${j(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${j(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${j(r)}`],t[a],a==="outlined"&&t[`outlined${j(r)}`]]}})(({theme:e,ownerState:t})=>{const n=Me(e.palette.text.primary,.26);return S({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.text.primary,backgroundColor:e.palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ke.disabled}`]:{opacity:e.palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ke.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},[`& .${Ke.avatarColorPrimary}`]:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},[`& .${Ke.avatarColorSecondary}`]:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},[`& .${Ke.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ke.icon}`]:S({color:e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.color!=="default"&&{color:"inherit"}),[`& .${Ke.deleteIcon}`]:S({WebkitTapHighlightColor:"transparent",color:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Me(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:Me(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:e.palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.onDelete&&{[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ke.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}})},({theme:e,ownerState:t})=>S({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:e.shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ke.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}}),({theme:e,ownerState:t})=>S({},t.variant==="outlined"&&{backgroundColor:"transparent",border:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${Ke.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`& .${Ke.avatar}`]:{marginLeft:4},[`& .${Ke.avatarSmall}`]:{marginLeft:2},[`& .${Ke.icon}`]:{marginLeft:4},[`& .${Ke.iconSmall}`]:{marginLeft:2},[`& .${Ke.deleteIcon}`]:{marginRight:5},[`& .${Ke.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:e.palette[t.color].main,border:`1px solid ${Me(e.palette[t.color].main,.7)}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:Me(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ke.deleteIcon}`]:{color:Me(e.palette[t.color].main,.7),"&:hover, &:active":{color:e.palette[t.color].main}}})),fU=z("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${j(r)}`]]}})(({ownerState:e})=>S({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function bS(e){return e.key==="Backspace"||e.key==="Delete"}const pU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:g,onKeyUp:_,size:m="medium",variant:v="filled"}=r,y=ee(r,cU),x=b.exports.useRef(null),w=Ve(x,n),k=O=>{O.stopPropagation(),h&&h(O)},E=O=>{O.currentTarget===O.target&&bS(O)&&O.preventDefault(),g&&g(O)},R=O=>{O.currentTarget===O.target&&(h&&bS(O)?h(O):O.key==="Escape"&&x.current&&x.current.blur()),_&&_(O)},C=s!==!1&&p?!0:s,T=m==="small",P=C||h?Qr:l||"div",$=S({},r,{component:P,disabled:u,size:m,color:a,onDelete:!!h,clickable:C,variant:v}),N=uU($),Y=P===Qr?S({component:l||"div",focusVisibleClassName:N.focusVisible},h&&{disableRipple:!0}):{};let A=null;if(h){const O=K(a!=="default"&&(v==="outlined"?N[`deleteIconOutlinedColor${j(a)}`]:N[`deleteIconColor${j(a)}`]),T&&N.deleteIconSmall);A=c&&b.exports.isValidElement(c)?b.exports.cloneElement(c,{className:K(c.props.className,N.deleteIcon,O),onClick:k}):M(sU,{className:K(N.deleteIcon,O),onClick:k})}let I=null;i&&b.exports.isValidElement(i)&&(I=b.exports.cloneElement(i,{className:K(N.avatar,i.props.className)}));let B=null;return d&&b.exports.isValidElement(d)&&(B=b.exports.cloneElement(d,{className:K(N.icon,d.props.className)})),Ce(dU,S({as:P,className:K(N.root,o),disabled:C&&u?!0:void 0,onClick:p,onKeyDown:E,onKeyUp:R,ref:w,ownerState:$},Y,y,{children:[I||B,M(fU,{className:K(N.label),ownerState:$,children:f}),A]}))});var hU=pU;function Qs({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]=="undefined"&&(r[i]=n[i]),r),{})}const mU=b.exports.createContext();var X0=mU;function ss(){return b.exports.useContext(X0)}function gU(e){return M(dL,S({},e,{defaultTheme:Th}))}function xS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Z0(e,t=!1){return e&&(xS(e.value)&&e.value!==""||t&&xS(e.defaultValue)&&e.defaultValue!=="")}function vU(e){return e.startAdornment}function yU(e){return fe("MuiInputBase",e)}const _U=me("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var _i=_U;const bU=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Dh=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${j(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ah=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xU=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,size:d,startAdornment:f,type:p}=e,h={root:["root",`color${j(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d==="small"&&"sizeSmall",u&&"multiline",f&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd"]};return he(h,yU,t)},$h=z("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Dh})(({theme:e,ownerState:t})=>S({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${_i.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&S({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Nh=z("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ah})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=S({color:"currentColor"},e.vars?{opacity:e.vars.opacity.placeholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.placeholder}:{opacity:n?.42:.5};return S({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${_i.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${_i.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),SU=M(gU,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),wU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:o,autoFocus:s,className:a,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:g,inputComponent:_="input",inputProps:m={},inputRef:v,maxRows:y,minRows:x,multiline:w=!1,name:k,onBlur:E,onChange:R,onClick:C,onFocus:T,onKeyDown:P,onKeyUp:$,placeholder:N,readOnly:Y,renderSuffix:A,rows:I,startAdornment:B,type:O="text",value:D}=r,U=ee(r,bU),Z=m.value!=null?m.value:D,{current:J}=b.exports.useRef(Z!=null),be=b.exports.useRef(),re=b.exports.useCallback(ye=>{},[]),se=Ve(m.ref,re),G=Ve(v,se),pe=Ve(be,G),[ue,ce]=b.exports.useState(!1),ve=ss(),Ae=Qs({props:r,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ae.focused=ve?ve.focused:ue,b.exports.useEffect(()=>{!ve&&d&&ue&&(ce(!1),E&&E())},[ve,d,ue,E]);const Be=ve&&ve.onFilled,de=ve&&ve.onEmpty,ze=b.exports.useCallback(ye=>{Z0(ye)?Be&&Be():de&&de()},[Be,de]);Tr(()=>{J&&ze({value:Z})},[Z,ze,J]);const Se=ye=>{if(Ae.disabled){ye.stopPropagation();return}T&&T(ye),m.onFocus&&m.onFocus(ye),ve&&ve.onFocus?ve.onFocus(ye):ce(!0)},Ge=ye=>{E&&E(ye),m.onBlur&&m.onBlur(ye),ve&&ve.onBlur?ve.onBlur(ye):ce(!1)},De=(ye,...F)=>{if(!J){const te=ye.target||be.current;if(te==null)throw new Error(Ys(1));ze({value:te.value})}m.onChange&&m.onChange(ye,...F),R&&R(ye,...F)};b.exports.useEffect(()=>{ze(be.current)},[]);const At=ye=>{be.current&&ye.currentTarget===ye.target&&be.current.focus(),C&&C(ye)};let _t=_,Oe=m;w&&_t==="input"&&(I?Oe=S({type:void 0,minRows:I,maxRows:I},Oe):Oe=S({type:void 0,maxRows:y,minRows:x},Oe),_t=UB);const Ne=ye=>{ze(ye.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};b.exports.useEffect(()=>{ve&&ve.setAdornedStart(Boolean(B))},[ve,B]);const Mt=S({},r,{color:Ae.color||"primary",disabled:Ae.disabled,endAdornment:p,error:Ae.error,focused:Ae.focused,formControl:ve,fullWidth:h,hiddenLabel:Ae.hiddenLabel,multiline:w,size:Ae.size,startAdornment:B,type:O}),jt=xU(Mt),st=l.Root||$h,bt=c.root||{},We=l.Input||Nh;return Oe=S({},Oe,c.input),Ce(b.exports.Fragment,{children:[!f&&SU,Ce(st,S({},bt,!Ks(st)&&{ownerState:S({},Mt,bt.ownerState)},{ref:n,onClick:At},U,{className:K(jt.root,bt.className,a),children:[B,M(X0.Provider,{value:null,children:M(We,S({ownerState:Mt,"aria-invalid":Ae.error,"aria-describedby":i,autoComplete:o,autoFocus:s,defaultValue:u,disabled:Ae.disabled,id:g,onAnimationStart:Ne,name:k,placeholder:N,readOnly:Y,required:Ae.required,rows:I,value:Z,onKeyDown:P,onKeyUp:$,type:O},Oe,!Ks(We)&&{as:_t,ownerState:S({},Mt,Oe.ownerState)},{ref:pe,className:K(jt.input,Oe.className),onBlur:Ge,onChange:De,onFocus:Se}))}),p,A?A(S({},Ae,{startAdornment:B})):null]}))]})});var J0=wU;function EU(e){return fe("MuiInput",e)}const kU=S({},_i,me("MuiInput",["root","underline","input"]));var Rs=kU;function CU(e){return fe("MuiOutlinedInput",e)}const RU=S({},_i,me("MuiOutlinedInput",["root","notchedOutline","input"]));var fi=RU;function TU(e){return fe("MuiFilledInput",e)}const MU=S({},_i,me("MuiFilledInput",["root","underline","input"]));var mi=MU,YT=Zn(M("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function PU(e){return fe("MuiAutocomplete",e)}const OU=me("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Le=OU,SS,wS;const IU=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],DU=e=>{const{classes:t,disablePortal:n,focused:r,fullWidth:i,hasClearIcon:o,hasPopupIcon:s,inputFocused:a,popupOpen:l,size:c}=e,u={root:["root",r&&"focused",i&&"fullWidth",o&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",a&&"inputFocused"],tag:["tag",`tagSize${j(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",l&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return he(u,PU,t)},AU=z("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:o,inputFocused:s,size:a}=n;return[{[`& .${Le.tag}`]:t.tag},{[`& .${Le.tag}`]:t[`tagSize${j(a)}`]},{[`& .${Le.inputRoot}`]:t.inputRoot},{[`& .${Le.input}`]:t.input},{[`& .${Le.input}`]:s&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})(({ownerState:e})=>S({[`&.${Le.focused} .${Le.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Le.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${Le.tag}`]:S({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${Le.inputRoot}`]:{flexWrap:"wrap",[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4},[`& .${Le.input}`]:{width:0,minWidth:30}},[`& .${Rs.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Rs.root}.${_i.sizeSmall}`]:{[`& .${Rs.input}`]:{padding:"2px 4px 3px 0"}},[`& .${fi.root}`]:{padding:9,[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${Le.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${Le.endAdornment}`]:{right:9}},[`& .${fi.root}.${_i.sizeSmall}`]:{padding:6,[`& .${Le.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${mi.root}`]:{paddingTop:19,paddingLeft:8,[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${mi.input}`]:{padding:"7px 4px"},[`& .${Le.endAdornment}`]:{right:9}},[`& .${mi.root}.${_i.sizeSmall}`]:{paddingBottom:1,[`& .${mi.input}`]:{padding:"2.5px 4px"}},[`& .${_i.hiddenLabel}`]:{paddingTop:8},[`& .${Le.input}`]:S({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),$U=z("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),NU=z(q0,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),LU=z(q0,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>S({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>S({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),FU=z(Ih,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Le.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>S({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),BU=z(os,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>S({},e.typography.body1,{overflow:"auto"})),zU=z("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),UU=z("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),WU=z("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${Le.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Le.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Le.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Le.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Le.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),jU=z(oU,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),HU=z("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Le.option}`]:{paddingLeft:24}}),YU=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:c=!1,ChipProps:u,className:d,clearIcon:f=SS||(SS=M(HT,{fontSize:"small"})),clearOnBlur:p=!o.freeSolo,clearOnEscape:h=!1,clearText:g="Clear",closeText:_="Close",componentsProps:m={},defaultValue:v=o.multiple?[]:null,disableClearable:y=!1,disableCloseOnSelect:x=!1,disabled:w=!1,disabledItemsFocusable:k=!1,disableListWrap:E=!1,disablePortal:R=!1,filterSelectedOptions:C=!1,forcePopupIcon:T="auto",freeSolo:P=!1,fullWidth:$=!1,getLimitTagsText:N=je=>`+${je}`,getOptionLabel:Y=je=>{var on;return(on=je.label)!=null?on:je},groupBy:A,handleHomeEndKeys:I=!o.freeSolo,includeInputInList:B=!1,limitTags:O=-1,ListboxComponent:D="ul",ListboxProps:U,loading:Z=!1,loadingText:J="Loading\u2026",multiple:be=!1,noOptionsText:re="No options",openOnFocus:se=!1,openText:G="Open",PaperComponent:pe=os,PopperComponent:ue=Ih,popupIcon:ce=wS||(wS=M(YT,{})),readOnly:ve=!1,renderGroup:Ae,renderInput:Be,renderOption:de,renderTags:ze,selectOnFocus:Se=!o.freeSolo,size:Ge="medium"}=o,De=ee(o,IU),{getRootProps:At,getInputProps:_t,getInputLabelProps:Oe,getPopupIndicatorProps:Ne,getClearProps:Mt,getTagProps:jt,getListboxProps:st,getOptionProps:bt,value:We,dirty:ye,id:F,popupOpen:te,focused:V,focusedTag:le,anchorEl:Re,setAnchorEl:Je,inputValue:hn,groupedOptions:Ht}=t4(S({},o,{componentName:"Autocomplete"})),Ar=!y&&!w&&ye&&!ve,Pn=(!P||T===!0)&&T!==!1,$t=S({},o,{disablePortal:R,focused:V,fullWidth:$,hasClearIcon:Ar,hasPopupIcon:Pn,inputFocused:le===-1,popupOpen:te,size:Ge}),xt=DU($t);let rn;if(be&&We.length>0){const je=on=>S({className:K(xt.tag),disabled:w},jt(on));ze?rn=ze(We,je,$t):rn=We.map((on,Nr)=>M(hU,S({label:Y(on),size:Ge},je({index:Nr}),u)))}if(O>-1&&Array.isArray(rn)){const je=rn.length-O;!V&&je>0&&(rn=rn.splice(0,O),rn.push(M("span",{className:xt.tag,children:N(je)},rn.length)))}const mn=Ae||(je=>Ce("li",{children:[M(jU,{className:xt.groupLabel,ownerState:$t,component:"div",children:je.group}),M(HU,{className:xt.groupUl,ownerState:$t,children:je.children})]},je.key)),Al=de||((je,on)=>M("li",S({},je,{children:Y(on)}))),$r=(je,on)=>{const Nr=bt({option:je,index:on});return Al(S({},Nr,{className:xt.option}),je,{selected:Nr["aria-selected"],inputValue:hn})};return Ce(b.exports.Fragment,{children:[M(AU,S({ref:n,className:K(xt.root,d),ownerState:$t},At(De),{children:Be({id:F,disabled:w,fullWidth:!0,size:Ge==="small"?"small":void 0,InputLabelProps:Oe(),InputProps:S({ref:Je,className:xt.inputRoot,startAdornment:rn},(Ar||Pn)&&{endAdornment:Ce($U,{className:xt.endAdornment,ownerState:$t,children:[Ar?M(NU,S({},Mt(),{"aria-label":g,title:g,ownerState:$t},m.clearIndicator,{className:K(xt.clearIndicator,(r=m.clearIndicator)==null?void 0:r.className),children:f})):null,Pn?M(LU,S({},Ne(),{disabled:w,"aria-label":te?_:G,title:te?_:G,className:K(xt.popupIndicator),ownerState:$t,children:ce})):null]})}),inputProps:S({className:K(xt.input),disabled:w,readOnly:ve},_t())})})),te&&Re?M(FU,{as:ue,className:K(xt.popper),disablePortal:R,style:{width:Re?Re.clientWidth:null},ownerState:$t,role:"presentation",anchorEl:Re,open:!0,children:Ce(BU,S({ownerState:$t,as:pe},m.paper,{className:K(xt.paper,(i=m.paper)==null?void 0:i.className),children:[Z&&Ht.length===0?M(zU,{className:xt.loading,ownerState:$t,children:J}):null,Ht.length===0&&!P&&!Z?M(UU,{className:xt.noOptions,ownerState:$t,role:"presentation",onMouseDown:je=>{je.preventDefault()},children:re}):null,Ht.length>0?M(WU,S({as:D,className:xt.listbox,ownerState:$t},st(),U,{children:Ht.map((je,on)=>A?mn({key:je.key,group:je.group,children:je.options.map((Nr,ra)=>$r(Nr,je.index+ra))}):$r(je,on))})):null]}))}):null]})});var Sle=YU,VU=Zn(M("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 GU(e){return fe("MuiAvatar",e)}me("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const KU=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],qU=e=>{const{classes:t,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},GU,t)},XU=z("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>S({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"},t.variant==="rounded"&&{borderRadius:e.shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&{color:e.palette.background.default,backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]})),ZU=z("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),JU=z(VU,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function QU({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=b.exports.useState(!1);return b.exports.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{!s||o("loaded")},a.onerror=()=>{!s||o("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const eW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",imgProps:l,sizes:c,src:u,srcSet:d,variant:f="circular"}=r,p=ee(r,KU);let h=null;const g=QU(S({},l,{src:u,srcSet:d})),_=u||d,m=_&&g!=="error",v=S({},r,{colorDefault:!m,component:a,variant:f}),y=qU(v);return m?h=M(ZU,S({alt:i,src:u,srcSet:d,sizes:c,ownerState:v,className:y.img},l)):o!=null?h=o:_&&i?h=i[0]:h=M(JU,{className:y.fallback}),M(XU,S({as:a,ownerState:v,className:K(y.root,s),ref:n},p,{children:h}))});var wle=eW;const tW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],nW={entering:{opacity:1},entered:{opacity:1}},rW=b.exports.forwardRef(function(t,n){const r=io(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:g,style:_,timeout:m=i,TransitionComponent:v=Mh}=t,y=ee(t,tW),x=b.exports.useRef(null),w=Ve(a.ref,n),k=Ve(x,w),E=A=>I=>{if(A){const B=x.current;I===void 0?A(B):A(B,I)}},R=E(f),C=E((A,I)=>{V0(A);const B=qo({style:_,timeout:m,easing:l},{mode:"enter"});A.style.webkitTransition=r.transitions.create("opacity",B),A.style.transition=r.transitions.create("opacity",B),u&&u(A,I)}),T=E(d),P=E(g),$=E(A=>{const I=qo({style:_,timeout:m,easing:l},{mode:"exit"});A.style.webkitTransition=r.transitions.create("opacity",I),A.style.transition=r.transitions.create("opacity",I),p&&p(A)}),N=E(h);return M(v,S({appear:s,in:c,nodeRef:x,onEnter:C,onEntered:T,onEntering:R,onExit:$,onExited:N,onExiting:P,addEndListener:A=>{o&&o(x.current,A)},timeout:m},y,{children:(A,I)=>b.exports.cloneElement(a,S({style:S({opacity:0,visibility:A==="exited"&&!c?"hidden":void 0},nW[A],_,a.props.style),ref:k},I))}))});var VT=rW;function iW(e){return fe("MuiBackdrop",e)}me("MuiBackdrop",["root","invisible"]);const oW=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],sW=e=>{const{classes:t,invisible:n}=e;return he({root:["root",n&&"invisible"]},iW,t)},aW=z("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>S({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),lW=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiBackdrop"}),{children:s,component:a="div",components:l={},componentsProps:c={},className:u,invisible:d=!1,open:f,transitionDuration:p,TransitionComponent:h=VT}=o,g=ee(o,oW),_=S({},o,{component:a,invisible:d}),m=sW(_);return M(h,S({in:f,timeout:p},g,{children:M(aW,{"aria-hidden":!0,as:(r=l.Root)!=null?r:a,className:K(m.root,u),ownerState:S({},_,(i=c.root)==null?void 0:i.ownerState),classes:m,ref:n,children:s})}))});var GT=lW;function cW(e){return fe("MuiButton",e)}const uW=me("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Gd=uW;const dW=b.exports.createContext({});var fW=dW;const pW=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],hW=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=e,a={root:["root",o,`${o}${j(t)}`,`size${j(i)}`,`${o}Size${j(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${j(i)}`],endIcon:["endIcon",`iconSize${j(i)}`]},l=he(a,cW,s);return S({},s,l)},KT=e=>S({},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}}),mW=z(Qr,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${j(n.color)}`],t[`size${j(n.size)}`],t[`${n.variant}Size${j(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return S({},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":S({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(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})`:Me(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})`:Me(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,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":S({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Gd.focusVisible}`]:S({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Gd.disabled}`]:S({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},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 ${Me(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).palette.grey[300],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"},[`&.${Gd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Gd.disabled}`]:{boxShadow:"none"}}),gW=z("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${j(n.size)}`]]}})(({ownerState:e})=>S({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},KT(e))),vW=z("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${j(n.size)}`]]}})(({ownerState:e})=>S({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},KT(e))),yW=b.exports.forwardRef(function(t,n){const r=b.exports.useContext(fW),i=JR(r,t),o=ge({props:i,name:"MuiButton"}),{children:s,color:a="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:h,fullWidth:g=!1,size:_="medium",startIcon:m,type:v,variant:y="text"}=o,x=ee(o,pW),w=S({},o,{color:a,component:l,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:g,size:_,type:v,variant:y}),k=hW(w),E=m&&M(gW,{className:k.startIcon,ownerState:w,children:m}),R=p&&M(vW,{className:k.endIcon,ownerState:w,children:p});return Ce(mW,S({ownerState:w,className:K(c,r.className),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:K(k.focusVisible,h),ref:n,type:v},x,{classes:k,children:[E,s,R]}))});var _W=yW;function bW(e){return fe("MuiCard",e)}me("MuiCard",["root"]);const xW=["className","raised"],SW=e=>{const{classes:t}=e;return he({root:["root"]},bW,t)},wW=z(os,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),EW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=ee(r,xW),a=S({},r,{raised:o}),l=SW(a);return M(wW,S({className:K(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))});var Ele=EW;function kW(e){return fe("MuiCardActionArea",e)}const CW=me("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var Qm=CW;const RW=["children","className","focusVisibleClassName"],TW=e=>{const{classes:t}=e;return he({root:["root"],focusHighlight:["focusHighlight"]},kW,t)},MW=z(Qr,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",width:"100%",[`&:hover .${Qm.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Qm.focusVisible} .${Qm.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),PW=z("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})),OW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCardActionArea"}),{children:i,className:o,focusVisibleClassName:s}=r,a=ee(r,RW),l=r,c=TW(l);return Ce(MW,S({className:K(c.root,o),focusVisibleClassName:K(s,c.focusVisible),ref:n,ownerState:l},a,{children:[i,M(PW,{className:c.focusHighlight,ownerState:l})]}))});var kle=OW;function IW(e){return fe("MuiCardContent",e)}me("MuiCardContent",["root"]);const DW=["className","component"],AW=e=>{const{classes:t}=e;return he({root:["root"]},IW,t)},$W=z("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),NW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCardContent"}),{className:i,component:o="div"}=r,s=ee(r,DW),a=S({},r,{component:o}),l=AW(a);return M($W,S({as:o,className:K(l.root,i),ownerState:a,ref:n},s))});var Cle=NW;function LW(e){return fe("PrivateSwitchBase",e)}me("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const FW=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],BW=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${j(i)}`],input:["input"]};return he(o,LW,t)},zW=z(Qr)(({ownerState:e})=>S({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),UW=z("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),WW=b.exports.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:p,inputRef:h,name:g,onBlur:_,onChange:m,onFocus:v,readOnly:y,required:x,tabIndex:w,type:k,value:E}=t,R=ee(t,FW),[C,T]=zo({controlled:i,default:Boolean(a),name:"SwitchBase",state:"checked"}),P=ss(),$=D=>{v&&v(D),P&&P.onFocus&&P.onFocus(D)},N=D=>{_&&_(D),P&&P.onBlur&&P.onBlur(D)},Y=D=>{if(D.nativeEvent.defaultPrevented)return;const U=D.target.checked;T(U),m&&m(D,U)};let A=l;P&&typeof A=="undefined"&&(A=P.disabled);const I=k==="checkbox"||k==="radio",B=S({},t,{checked:C,disabled:A,disableFocusRipple:c,edge:u}),O=BW(B);return Ce(zW,S({component:"span",className:K(O.root,s),centerRipple:!0,focusRipple:!c,disabled:A,tabIndex:null,role:void 0,onFocus:$,onBlur:N,ownerState:B,ref:n},R,{children:[M(UW,S({autoFocus:r,checked:i,defaultChecked:a,className:O.input,disabled:A,id:I&&f,name:g,onChange:Y,readOnly:y,ref:h,required:x,ownerState:B,tabIndex:w,type:k},k==="checkbox"&&E===void 0?{}:{value:E},p)),C?o:d]}))});var qT=WW,jW=Zn(M("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),HW=Zn(M("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),YW=Zn(M("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function VW(e){return fe("MuiCheckbox",e)}const GW=me("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);var eg=GW;const KW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],qW=e=>{const{classes:t,indeterminate:n,color:r}=e,i={root:["root",n&&"indeterminate",`color${j(r)}`]},o=he(i,VW,t);return S({},t,o)},XW=z(qT,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${j(n.color)}`]]}})(({theme:e,ownerState:t})=>S({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${eg.checked}, &.${eg.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${eg.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),ZW=M(HW,{}),JW=M(jW,{}),QW=M(YW,{}),e9=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiCheckbox"}),{checkedIcon:s=ZW,color:a="primary",icon:l=JW,indeterminate:c=!1,indeterminateIcon:u=QW,inputProps:d,size:f="medium"}=o,p=ee(o,KW),h=c?u:l,g=c?u:s,_=S({},o,{color:a,indeterminate:c,size:f}),m=qW(_);return M(XW,S({type:"checkbox",inputProps:S({"data-indeterminate":c},d),icon:b.exports.cloneElement(h,{fontSize:(r=h.props.fontSize)!=null?r:f}),checkedIcon:b.exports.cloneElement(g,{fontSize:(i=g.props.fontSize)!=null?i:f}),ownerState:_,ref:n},p,{classes:m}))});var Rle=e9;function t9(e){return fe("MuiCircularProgress",e)}me("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const n9=["className","color","disableShrink","size","style","thickness","value","variant"];let Lh=e=>e,ES,kS,CS,RS;const uo=44,r9=Uu(ES||(ES=Lh`
|
165 |
0% {
|
166 |
transform: rotate(0deg);
|
167 |
}
|
@@ -169,7 +169,7 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
169 |
100% {
|
170 |
transform: rotate(360deg);
|
171 |
}
|
172 |
-
`)),
|
173 |
0% {
|
174 |
stroke-dasharray: 1px, 200px;
|
175 |
stroke-dashoffset: 0;
|
@@ -184,35 +184,35 @@ Url: ${dp(e)}`),!0)}function fA(e,t){return!t||!t.length?!1:mA(e).some(n=>t.some
|
|
184 |
stroke-dasharray: 100px, 200px;
|
185 |
stroke-dashoffset: -125px;
|
186 |
}
|
187 |
-
`)),
|
188 |
animation: ${0} 1.4s linear infinite;
|
189 |
-
`),
|
190 |
animation: ${0} 1.4s ease-in-out infinite;
|
191 |
-
`),i9)),c9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate"}=r,f=ee(r,n9),p=S({},r,{color:o,disableShrink:s,size:a,thickness:c,value:u,variant:d}),h=o9(p),g={},_={},m={};if(d==="determinate"){const v=2*Math.PI*((uo-c)/2);g.strokeDasharray=v.toFixed(3),m["aria-valuenow"]=Math.round(u),g.strokeDashoffset=`${((100-u)/100*v).toFixed(3)}px`,_.transform="rotate(-90deg)"}return M(s9,S({className:K(h.root,i),style:S({width:a,height:a},_,l),ownerState:p,ref:n,role:"progressbar"},m,f,{children:M(a9,{className:h.svg,ownerState:p,viewBox:`${uo/2} ${uo/2} ${uo} ${uo}`,children:M(l9,{className:h.circle,style:g,ownerState:p,cx:uo,cy:uo,r:(uo-c)/2,fill:"none",strokeWidth:c})})}))});var u9=c9;const d9=ST({createStyledComponent:z("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${j(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ge({props:e,name:"MuiContainer"})});var Tle=d9;const f9=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],p9=e=>e.classes,h9=z("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>S({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),m9=z(GT,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),g9=b.exports.forwardRef(function(t,n){var r;const i=ge({name:"MuiModal",props:t}),{BackdropComponent:o=m9,closeAfterTransition:s=!1,children:a,components:l={},componentsProps:c={},disableAutoFocus:u=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:f=!1,disablePortal:p=!1,disableRestoreFocus:h=!1,disableScrollLock:g=!1,hideBackdrop:_=!1,keepMounted:m=!1}=i,v=ee(i,f9),[y,x]=b.exports.useState(!0),w={closeAfterTransition:s,disableAutoFocus:u,disableEnforceFocus:d,disableEscapeKeyDown:f,disablePortal:p,disableRestoreFocus:h,disableScrollLock:g,hideBackdrop:_,keepMounted:m},k=S({},i,w,{exited:y}),E=p9(k);return M(LB,S({components:S({Root:h9},l),componentsProps:{root:S({},c.root,(!l.Root||!Ks(l.Root))&&{ownerState:S({},(r=c.root)==null?void 0:r.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>x(!1),onTransitionExited:()=>x(!0),ref:n},v,{classes:E},w,{children:a}))});var XT=g9;function v9(e){return fe("MuiDialog",e)}const y9=me("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var tg=y9;const _9=b.exports.createContext({});var ZT=_9;const b9=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],x9=z(GT,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),S9=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=e,s={root:["root"],container:["container",`scroll${j(n)}`],paper:["paper",`paperScroll${j(n)}`,`paperWidth${j(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return he(s,v9,t)},w9=z(XT,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),E9=z("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${j(n.scroll)}`]]}})(({ownerState:e})=>S({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),k9=z(os,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${j(n.scroll)}`],t[`paperWidth${j(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>S({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${tg.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${tg.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${tg.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),C9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDialog"}),i=io(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":a,BackdropComponent:l,BackdropProps:c,children:u,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:h=!1,maxWidth:g="sm",onBackdropClick:_,onClose:m,open:v,PaperComponent:y=os,PaperProps:x={},scroll:w="paper",TransitionComponent:k=VT,transitionDuration:E=o,TransitionProps:R}=r,C=ee(r,b9),T=S({},r,{disableEscapeKeyDown:f,fullScreen:p,fullWidth:h,maxWidth:g,scroll:w}),P=S9(T),$=b.exports.useRef(),N=B=>{$.current=B.target===B.currentTarget},Y=B=>{!$.current||($.current=null,_&&_(B),m&&m(B,"backdropClick"))},A=Ml(a),I=b.exports.useMemo(()=>({titleId:A}),[A]);return M(w9,S({className:K(P.root,d),BackdropProps:S({transitionDuration:E,as:l},c),closeAfterTransition:!0,BackdropComponent:x9,disableEscapeKeyDown:f,onClose:m,open:v,ref:n,onClick:Y,ownerState:T},C,{children:M(k,S({appear:!0,in:v,timeout:E,role:"presentation"},R,{children:M(E9,{className:K(P.container),onMouseDown:N,ownerState:T,children:M(k9,S({as:y,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":A},x,{className:K(P.paper,x.className),ownerState:T,children:M(ZT.Provider,{value:I,children:u})}))})}))}))});var Mle=C9;function R9(e){return fe("MuiDialogActions",e)}me("MuiDialogActions",["root","spacing"]);const T9=["className","disableSpacing"],M9=e=>{const{classes:t,disableSpacing:n}=e;return he({root:["root",!n&&"spacing"]},R9,t)},P9=z("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>S({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),O9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,s=ee(r,T9),a=S({},r,{disableSpacing:o}),l=M9(a);return M(P9,S({className:K(l.root,i),ownerState:a,ref:n},s))});var Ple=O9;function I9(e){return fe("MuiDialogContent",e)}me("MuiDialogContent",["root","dividers"]);function D9(e){return fe("MuiDialogTitle",e)}const A9=me("MuiDialogTitle",["root"]);var $9=A9;const N9=["className","dividers"],L9=e=>{const{classes:t,dividers:n}=e;return he({root:["root",n&&"dividers"]},I9,t)},F9=z("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>S({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${$9.root} + &`]:{paddingTop:0}})),B9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=r,s=ee(r,N9),a=S({},r,{dividers:o}),l=L9(a);return M(F9,S({className:K(l.root,i),ownerState:a,ref:n},s))});var Ole=B9;function z9(e){return fe("MuiDialogContentText",e)}me("MuiDialogContentText",["root"]);const U9=["children"],W9=e=>{const{classes:t}=e,r=he({root:["root"]},z9,t);return S({},t,r)},j9=z(yi,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),H9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDialogContentText"}),i=ee(r,U9),o=W9(i);return M(j9,S({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:i},r,{classes:o}))});var Ile=H9;const Y9=["className","id"],V9=e=>{const{classes:t}=e;return he({root:["root"]},D9,t)},G9=z(yi,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),K9=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDialogTitle"}),{className:i,id:o}=r,s=ee(r,Y9),a=r,l=V9(a),{titleId:c=o}=b.exports.useContext(ZT);return M(G9,S({component:"h2",className:K(l.root,i),ownerState:a,ref:n,variant:"h6",id:c},s))});var Dle=K9;function q9(e){return fe("MuiDivider",e)}const X9=me("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var TS=X9;const Z9=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],J9=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:s,textAlign:a,variant:l}=e;return he({root:["root",t&&"absolute",l,o&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},q9,r)},Q9=z("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>S({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Me(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>S({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>S({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>S({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),e8=z("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>S({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),t8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:s,component:a=o?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:f="center",variant:p="fullWidth"}=r,h=ee(r,Z9),g=S({},r,{absolute:i,component:a,flexItem:l,light:c,orientation:u,role:d,textAlign:f,variant:p}),_=J9(g);return M(Q9,S({as:a,className:K(_.root,s),role:d,ref:n,ownerState:g},h,{children:o?M(e8,{className:_.wrapper,ownerState:g,children:o}):null}))});var Ale=t8;const n8=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],r8=e=>{const{classes:t,disableUnderline:n}=e,i=he({root:["root",!n&&"underline"],input:["input"]},TU,t);return S({},t,i)},i8=z($h,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Dh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return S({position:"relative",backgroundColor:o,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:o}},[`&.${mi.focused}`]:{backgroundColor:o},[`&.${mi.disabled}`]:{backgroundColor:r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=e.palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${mi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${mi.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${mi.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${mi.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&S({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),o8=z(Nh,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ah})(({theme:e,ownerState:t})=>S({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),JT=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiFilledInput"}),{components:i={},componentsProps:o,fullWidth:s=!1,inputComponent:a="input",multiline:l=!1,type:c="text"}=r,u=ee(r,n8),d=S({},r,{fullWidth:s,inputComponent:a,multiline:l,type:c}),f=r8(r),p={root:{ownerState:d},input:{ownerState:d}},h=o?Sr(o,p):p;return M(J0,S({components:S({Root:i8,Input:o8},i),componentsProps:h,fullWidth:s,inputComponent:a,multiline:l,ref:n,type:c},u,{classes:f}))});JT.muiName="Input";var QT=JT;function s8(e){return fe("MuiFormControl",e)}me("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const a8=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],l8=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${j(n)}`,r&&"fullWidth"]};return he(i,s8,t)},c8=z("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>S({},t.root,t[`margin${j(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>S({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),u8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiFormControl"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:p="none",required:h=!1,size:g="medium",variant:_="outlined"}=r,m=ee(r,a8),v=S({},r,{color:s,component:a,disabled:l,error:c,fullWidth:d,hiddenLabel:f,margin:p,required:h,size:g,variant:_}),y=l8(v),[x,w]=b.exports.useState(()=>{let A=!1;return i&&b.exports.Children.forEach(i,I=>{if(!Tc(I,["Input","Select"]))return;const B=Tc(I,["Select"])?I.props.input:I;B&&vU(B.props)&&(A=!0)}),A}),[k,E]=b.exports.useState(()=>{let A=!1;return i&&b.exports.Children.forEach(i,I=>{!Tc(I,["Input","Select"])||Z0(I.props,!0)&&(A=!0)}),A}),[R,C]=b.exports.useState(!1);l&&R&&C(!1);const T=u!==void 0&&!l?u:R;let P;const $=b.exports.useCallback(()=>{E(!0)},[]),N=b.exports.useCallback(()=>{E(!1)},[]),Y={adornedStart:x,setAdornedStart:w,color:s,disabled:l,error:c,filled:k,focused:T,fullWidth:d,hiddenLabel:f,size:g,onBlur:()=>{C(!1)},onEmpty:N,onFilled:$,onFocus:()=>{C(!0)},registerEffect:P,required:h,variant:_};return M(X0.Provider,{value:Y,children:M(c8,S({as:a,ownerState:v,className:K(y.root,o),ref:n},m,{children:i}))})});var d8=u8;function f8(e){return fe("MuiFormControlLabel",e)}const p8=me("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);var Kd=p8;const h8=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],m8=e=>{const{classes:t,disabled:n,labelPlacement:r,error:i}=e,o={root:["root",n&&"disabled",`labelPlacement${j(r)}`,i&&"error"],label:["label",n&&"disabled"]};return he(o,f8,t)},g8=z("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Kd.label}`]:t.label},t.root,t[`labelPlacement${j(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>S({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Kd.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Kd.label}`]:{[`&.${Kd.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),v8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiFormControlLabel"}),{className:i,componentsProps:o={},control:s,disabled:a,disableTypography:l,label:c,labelPlacement:u="end"}=r,d=ee(r,h8),f=ss();let p=a;typeof p=="undefined"&&typeof s.props.disabled!="undefined"&&(p=s.props.disabled),typeof p=="undefined"&&f&&(p=f.disabled);const h={disabled:p};["checked","name","onChange","value","inputRef"].forEach(y=>{typeof s.props[y]=="undefined"&&typeof r[y]!="undefined"&&(h[y]=r[y])});const g=Qs({props:r,muiFormControl:f,states:["error"]}),_=S({},r,{disabled:p,labelPlacement:u,error:g.error}),m=m8(_);let v=c;return v!=null&&v.type!==yi&&!l&&(v=M(yi,S({component:"span",className:m.label},o.typography,{children:v}))),Ce(g8,S({className:K(m.root,i),ownerState:_,ref:n},d,{children:[b.exports.cloneElement(s,h),v]}))});var $le=v8;function y8(e){return fe("MuiFormHelperText",e)}const _8=me("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var MS=_8,PS;const b8=["children","className","component","disabled","error","filled","focused","margin","required","variant"],x8=e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:s,focused:a,required:l}=e,c={root:["root",i&&"disabled",o&&"error",r&&`size${j(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return he(c,y8,t)},S8=z("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${j(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>S({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${MS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${MS.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),w8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:s="p"}=r,a=ee(r,b8),l=ss(),c=Qs({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=S({},r,{component:s,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=x8(u);return M(S8,S({as:s,ownerState:u,className:K(d.root,o),ref:n},a,{children:i===" "?PS||(PS=M("span",{className:"notranslate",children:"\u200B"})):i}))});var E8=w8;function k8(e){return fe("MuiFormLabel",e)}const C8=me("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var Lc=C8;const R8=["children","className","color","component","disabled","error","filled","focused","required"],T8=e=>{const{classes:t,color:n,focused:r,disabled:i,error:o,filled:s,required:a}=e,l={root:["root",`color${j(n)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",o&&"error"]};return he(l,k8,t)},M8=z("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>S({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>S({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Lc.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Lc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Lc.error}`]:{color:(e.vars||e).palette.error.main}})),P8=z("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Lc.error}`]:{color:(e.vars||e).palette.error.main}})),O8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:s="label"}=r,a=ee(r,R8),l=ss(),c=Qs({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=S({},r,{color:c.color||"primary",component:s,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),d=T8(u);return Ce(M8,S({as:s,ownerState:u,className:K(d.root,o),ref:n},a,{children:[i,c.required&&Ce(P8,{ownerState:u,"aria-hidden":!0,className:d.asterisk,children:["\u2009","*"]})]}))});var I8=O8;const D8=b.exports.createContext();var OS=D8;function A8(e){return fe("MuiGrid",e)}const $8=[0,1,2,3,4,5,6,7,8,9,10],N8=["column-reverse","column","row-reverse","row"],L8=["nowrap","wrap-reverse","wrap"],ql=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Q0=me("MuiGrid",["root","container","item","zeroMinWidth",...$8.map(e=>`spacing-xs-${e}`),...N8.map(e=>`direction-xs-${e}`),...L8.map(e=>`wrap-xs-${e}`),...ql.map(e=>`grid-xs-${e}`),...ql.map(e=>`grid-sm-${e}`),...ql.map(e=>`grid-md-${e}`),...ql.map(e=>`grid-lg-${e}`),...ql.map(e=>`grid-xl-${e}`)]),F8=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function Ka(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function B8({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=Sh({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof s=="object"?s[i]:s;if(a==null)return r;const l=`${Math.round(n/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const d=`calc(${l} + ${Ka(u)})`;c={flexBasis:d,maxWidth:d}}}o=S({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function z8({theme:e,ownerState:t}){const n=Sh({values:t.direction,breakpoints:e.breakpoints.values});return ri({theme:e},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${Q0.item}`]={maxWidth:"none"}),i})}function U8({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const o=Sh({values:r,breakpoints:e.breakpoints.values});i=ri({theme:e},o,s=>{const a=e.spacing(s);return a!=="0px"?{marginTop:`-${Ka(a)}`,[`& > .${Q0.item}`]:{paddingTop:Ka(a)}}:{}})}return i}function W8({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const o=Sh({values:r,breakpoints:e.breakpoints.values});i=ri({theme:e},o,s=>{const a=e.spacing(s);return a!=="0px"?{width:`calc(100% + ${Ka(a)})`,marginLeft:`-${Ka(a)}`,[`& > .${Q0.item}`]:{paddingLeft:Ka(a)}}:{}})}return i}function e2(e,t,n={}){if(!t||!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]||`spacing-xs-${String(e)}`];const{xs:r,sm:i,md:o,lg:s,xl:a}=e;return[Number(r)>0&&(n[`spacing-xs-${String(r)}`]||`spacing-xs-${String(r)}`),Number(i)>0&&(n[`spacing-sm-${String(i)}`]||`spacing-sm-${String(i)}`),Number(o)>0&&(n[`spacing-md-${String(o)}`]||`spacing-md-${String(o)}`),Number(s)>0&&(n[`spacing-lg-${String(s)}`]||`spacing-lg-${String(s)}`),Number(a)>0&&(n[`spacing-xl-${String(a)}`]||`spacing-xl-${String(a)}`)]}const j8=z("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:i,lg:o,md:s,sm:a,spacing:l,wrap:c,xl:u,xs:d,zeroMinWidth:f}=e.ownerState;return[t.root,n&&t.container,i&&t.item,f&&t.zeroMinWidth,...e2(l,n,t),r!=="row"&&t[`direction-xs-${String(r)}`],c!=="wrap"&&t[`wrap-xs-${String(c)}`],d!==!1&&t[`grid-xs-${String(d)}`],a!==!1&&t[`grid-sm-${String(a)}`],s!==!1&&t[`grid-md-${String(s)}`],o!==!1&&t[`grid-lg-${String(o)}`],u!==!1&&t[`grid-xl-${String(u)}`]]}})(({ownerState:e})=>S({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),z8,U8,W8,B8),H8=e=>{const{classes:t,container:n,direction:r,item:i,lg:o,md:s,sm:a,spacing:l,wrap:c,xl:u,xs:d,zeroMinWidth:f}=e,p={root:["root",n&&"container",i&&"item",f&&"zeroMinWidth",...e2(l,n),r!=="row"&&`direction-xs-${String(r)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,d!==!1&&`grid-xs-${String(d)}`,a!==!1&&`grid-sm-${String(a)}`,s!==!1&&`grid-md-${String(s)}`,o!==!1&&`grid-lg-${String(o)}`,u!==!1&&`grid-xl-${String(u)}`]};return he(p,A8,t)},Y8=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiGrid"}),i=hT(r),{className:o,columns:s,columnSpacing:a,component:l="div",container:c=!1,direction:u="row",item:d=!1,lg:f=!1,md:p=!1,rowSpacing:h,sm:g=!1,spacing:_=0,wrap:m="wrap",xl:v=!1,xs:y=!1,zeroMinWidth:x=!1}=i,w=ee(i,F8),k=h||_,E=a||_,R=b.exports.useContext(OS),C=c?s||12:R,T=S({},i,{columns:C,container:c,direction:u,item:d,lg:f,md:p,sm:g,rowSpacing:k,columnSpacing:E,wrap:m,xl:v,xs:y,zeroMinWidth:x}),P=H8(T);return M(OS.Provider,{value:C,children:M(j8,S({ownerState:T,className:K(P.root,o),as:l,ref:n},w))})});var Nle=Y8;const V8=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function zv(e){return`scale(${e}, ${e**2})`}const G8={entering:{opacity:1,transform:zv(1)},entered:{opacity:1,transform:"none"}},ng=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),t2=b.exports.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:p,style:h,timeout:g="auto",TransitionComponent:_=Mh}=t,m=ee(t,V8),v=b.exports.useRef(),y=b.exports.useRef(),x=io(),w=b.exports.useRef(null),k=Ve(o.ref,n),E=Ve(w,k),R=I=>B=>{if(I){const O=w.current;B===void 0?I(O):I(O,B)}},C=R(u),T=R((I,B)=>{V0(I);const{duration:O,delay:D,easing:U}=qo({style:h,timeout:g,easing:s},{mode:"enter"});let Z;g==="auto"?(Z=x.transitions.getAutoHeightDuration(I.clientHeight),y.current=Z):Z=O,I.style.transition=[x.transitions.create("opacity",{duration:Z,delay:D}),x.transitions.create("transform",{duration:ng?Z:Z*.666,delay:D,easing:U})].join(","),l&&l(I,B)}),P=R(c),$=R(p),N=R(I=>{const{duration:B,delay:O,easing:D}=qo({style:h,timeout:g,easing:s},{mode:"exit"});let U;g==="auto"?(U=x.transitions.getAutoHeightDuration(I.clientHeight),y.current=U):U=B,I.style.transition=[x.transitions.create("opacity",{duration:U,delay:O}),x.transitions.create("transform",{duration:ng?U:U*.666,delay:ng?O:O||U*.333,easing:D})].join(","),I.style.opacity=0,I.style.transform=zv(.75),d&&d(I)}),Y=R(f),A=I=>{g==="auto"&&(v.current=setTimeout(I,y.current||0)),r&&r(w.current,I)};return b.exports.useEffect(()=>()=>{clearTimeout(v.current)},[]),M(_,S({appear:i,in:a,nodeRef:w,onEnter:T,onEntered:P,onEntering:C,onExit:N,onExited:Y,onExiting:$,addEndListener:A,timeout:g==="auto"?null:g},m,{children:(I,B)=>b.exports.cloneElement(o,S({style:S({opacity:0,transform:zv(.75),visibility:I==="exited"&&!a?"hidden":void 0},G8[I],h,o.props.style),ref:E},B))}))});t2.muiSupportAuto=!0;var Uv=t2;const K8=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],q8=e=>{const{classes:t,disableUnderline:n}=e,i=he({root:["root",!n&&"underline"],input:["input"]},EU,t);return S({},t,i)},X8=z($h,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Dh(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputTouchBottomLine})`),S({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Rs.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Rs.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Rs.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Rs.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Z8=z(Nh,{name:"MuiInput",slot:"Input",overridesResolver:Ah})({}),n2=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiInput"}),{disableUnderline:i,components:o={},componentsProps:s,fullWidth:a=!1,inputComponent:l="input",multiline:c=!1,type:u="text"}=r,d=ee(r,K8),f=q8(r),h={root:{ownerState:{disableUnderline:i}}},g=s?Sr(s,h):h;return M(J0,S({components:S({Root:X8,Input:Z8},o),componentsProps:g,fullWidth:a,inputComponent:l,multiline:c,ref:n,type:u},d,{classes:f}))});n2.muiName="Input";var r2=n2;function J8(e){return fe("MuiInputLabel",e)}me("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Q8=["disableAnimation","margin","shrink","variant"],ej=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:o,variant:s,required:a}=e,c=he({root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r==="small"&&"sizeSmall",s],asterisk:[a&&"asterisk"]},J8,t);return S({},t,c)},tj=z(I8,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Lc.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>S({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&S({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&S({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&S({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),nj=b.exports.forwardRef(function(t,n){const r=ge({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o}=r,s=ee(r,Q8),a=ss();let l=o;typeof l=="undefined"&&a&&(l=a.filled||a.focused||a.adornedStart);const c=Qs({props:r,muiFormControl:a,states:["size","variant","required"]}),u=S({},r,{disableAnimation:i,formControl:a,shrink:l,size:c.size,variant:c.variant,required:c.required}),d=ej(u);return M(tj,S({"data-shrink":l,ownerState:u,ref:n},s,{classes:d}))});var rj=nj;function ij(e){return fe("MuiLink",e)}const oj=me("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var sj=oj;const aj=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],i2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},lj=e=>i2[e]||e,cj=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${j(i)}`,n==="button"&&"button",r&&"focusVisible"]};return he(o,ij,t)},uj=z(yi,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${j(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>{const n=wh(e,`palette.${lj(t.color)}`)||t.color;return S({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&{textDecoration:"underline",textDecorationColor:n!=="inherit"?Me(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${sj.focusVisible}`]:{outline:"auto"}})}),dj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:f}=r,p=ee(r,aj),{isFocusVisibleRef:h,onBlur:g,onFocus:_,ref:m}=xh(),[v,y]=b.exports.useState(!1),x=Ve(n,m),w=C=>{g(C),h.current===!1&&y(!1),a&&a(C)},k=C=>{_(C),h.current===!0&&y(!0),l&&l(C)},E=S({},r,{color:o,component:s,focusVisible:v,underline:u,variant:d}),R=cj(E);return M(uj,S({color:o,className:K(R.root,i),classes:c,component:s,onBlur:w,onFocus:k,ref:x,ownerState:E,variant:d,sx:[...Object.keys(i2).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))});var Lle=dj;const fj=b.exports.createContext({});var Er=fj;function pj(e){return fe("MuiList",e)}me("MuiList",["root","padding","dense","subheader"]);const hj=["children","className","component","dense","disablePadding","subheader"],mj=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return he({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},pj,t)},gj=z("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>S({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),vj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=ee(r,hj),d=b.exports.useMemo(()=>({dense:a}),[a]),f=S({},r,{component:s,dense:a,disablePadding:l}),p=mj(f);return M(Er.Provider,{value:d,children:Ce(gj,S({as:s,className:K(p.root,o),ref:n,ownerState:f},u,{children:[c,i]}))})});var yj=vj;function _j(e){return fe("MuiListItem",e)}const bj=me("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var ya=bj;function xj(e){return fe("MuiListItemButton",e)}const Sj=me("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);var _a=Sj;const wj=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],Ej=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},kj=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:o,divider:s,selected:a}=e,c=he({root:["root",r&&"dense",!o&&"gutters",s&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},xj,n);return S({},n,c)},Cj=z(Qr,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Ej})(({theme:e,ownerState:t})=>S({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_a.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_a.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_a.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${_a.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_a.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Rj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:s="div",children:a,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:d,selected:f=!1}=r,p=ee(r,wj),h=b.exports.useContext(Er),g={dense:l||h.dense||!1,alignItems:i,disableGutters:c},_=b.exports.useRef(null);Tr(()=>{o&&_.current&&_.current.focus()},[o]);const m=S({},r,{alignItems:i,dense:g.dense,disableGutters:c,divider:u,selected:f}),v=kj(m),y=Ve(_,n);return M(Er.Provider,{value:g,children:M(Cj,S({ref:y,href:p.href||p.to,component:(p.href||p.to)&&s==="div"?"a":s,focusVisibleClassName:K(v.focusVisible,d),ownerState:m},p,{classes:v,children:a}))})});var Fle=Rj;function Tj(e){return fe("MuiListItemSecondaryAction",e)}me("MuiListItemSecondaryAction",["root","disableGutters"]);const Mj=["className"],Pj=e=>{const{disableGutters:t,classes:n}=e;return he({root:["root",t&&"disableGutters"]},Tj,n)},Oj=z("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>S({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),o2=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=r,o=ee(r,Mj),s=b.exports.useContext(Er),a=S({},r,{disableGutters:s.disableGutters}),l=Pj(a);return M(Oj,S({className:K(l.root,i),ownerState:a,ref:n},o))});o2.muiName="ListItemSecondaryAction";var Ij=o2;const Dj=["className"],Aj=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],$j=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},Nj=e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:o,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:c,selected:u}=e;return he({root:["root",i&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",o&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},_j,r)},Lj=z("div",{name:"MuiListItem",slot:"Root",overridesResolver:$j})(({theme:e,ownerState:t})=>S({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&S({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${_a.root}`]:{paddingRight:48}},{[`&.${ya.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ya.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ya.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ya.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ya.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Fj=z("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Bj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:s=!1,children:a,className:l,component:c,components:u={},componentsProps:d={},ContainerComponent:f="li",ContainerProps:{className:p}={},dense:h=!1,disabled:g=!1,disableGutters:_=!1,disablePadding:m=!1,divider:v=!1,focusVisibleClassName:y,secondaryAction:x,selected:w=!1}=r,k=ee(r.ContainerProps,Dj),E=ee(r,Aj),R=b.exports.useContext(Er),C={dense:h||R.dense||!1,alignItems:i,disableGutters:_},T=b.exports.useRef(null);Tr(()=>{o&&T.current&&T.current.focus()},[o]);const P=b.exports.Children.toArray(a),$=P.length&&Tc(P[P.length-1],["ListItemSecondaryAction"]),N=S({},r,{alignItems:i,autoFocus:o,button:s,dense:C.dense,disabled:g,disableGutters:_,disablePadding:m,divider:v,hasSecondaryAction:$,selected:w}),Y=Nj(N),A=Ve(T,n),I=u.Root||Lj,B=d.root||{},O=S({className:K(Y.root,B.className,l),disabled:g},E);let D=c||"li";return s&&(O.component=c||"div",O.focusVisibleClassName=K(ya.focusVisible,y),D=Qr),$?(D=!O.component&&!c?"div":D,f==="li"&&(D==="li"?D="div":O.component==="li"&&(O.component="div")),M(Er.Provider,{value:C,children:Ce(Fj,S({as:f,className:K(Y.container,p),ref:A,ownerState:N},k,{children:[M(I,S({},B,!Ks(I)&&{as:D,ownerState:S({},N,B.ownerState)},O,{children:P})),P.pop()]}))})):M(Er.Provider,{value:C,children:Ce(I,S({},B,{as:D,ref:A,ownerState:N},!Ks(I)&&{ownerState:S({},N,B.ownerState)},O,{children:[P,x&&M(Ij,{children:x})]}))})});var Ble=Bj;function zj(e){return fe("MuiListItemAvatar",e)}me("MuiListItemAvatar",["root","alignItemsFlexStart"]);const Uj=["className"],Wj=e=>{const{alignItems:t,classes:n}=e;return he({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},zj,n)},jj=z("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({ownerState:e})=>S({minWidth:56,flexShrink:0},e.alignItems==="flex-start"&&{marginTop:8})),Hj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItemAvatar"}),{className:i}=r,o=ee(r,Uj),s=b.exports.useContext(Er),a=S({},r,{alignItems:s.alignItems}),l=Wj(a);return M(jj,S({className:K(l.root,i),ownerState:a,ref:n},o))});var zle=Hj;function Yj(e){return fe("MuiListItemIcon",e)}const Vj=me("MuiListItemIcon",["root","alignItemsFlexStart"]);var IS=Vj;const Gj=["className"],Kj=e=>{const{alignItems:t,classes:n}=e;return he({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Yj,n)},qj=z("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>S({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),Xj=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItemIcon"}),{className:i}=r,o=ee(r,Gj),s=b.exports.useContext(Er),a=S({},r,{alignItems:s.alignItems}),l=Kj(a);return M(qj,S({className:K(l.root,i),ownerState:a,ref:n},o))});var Ule=Xj;function Zj(e){return fe("MuiListItemText",e)}const Jj=me("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var gp=Jj;const Qj=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],eH=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e;return he({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},Zj,t)},tH=z("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gp.primary}`]:t.primary},{[`& .${gp.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>S({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),nH=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=r,f=ee(r,Qj),{dense:p}=b.exports.useContext(Er);let h=l!=null?l:i,g=u;const _=S({},r,{disableTypography:s,inset:a,primary:!!h,secondary:!!g,dense:p}),m=eH(_);return h!=null&&h.type!==yi&&!s&&(h=M(yi,S({variant:p?"body2":"body1",className:m.primary,component:"span",display:"block"},c,{children:h}))),g!=null&&g.type!==yi&&!s&&(g=M(yi,S({variant:"body2",className:m.secondary,color:"text.secondary",display:"block"},d,{children:g}))),Ce(tH,S({className:K(m.root,o),ownerState:_,ref:n},f,{children:[h,g]}))});var Wle=nH;const rH=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function rg(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function DS(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function s2(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function Xl(e,t,n,r,i,o){let s=!1,a=i(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!s2(a,o)||l)a=i(e,a,n);else return a.focus(),!0}return!1}const iH=b.exports.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,f=ee(t,rH),p=b.exports.useRef(null),h=b.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Tr(()=>{i&&p.current.focus()},[i]),b.exports.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(y,x)=>{const w=!p.current.style.width;if(y.clientHeight<p.current.clientHeight&&w){const k=`${XR(tn(y))}px`;p.current.style[x.direction==="rtl"?"paddingLeft":"paddingRight"]=k,p.current.style.width=`calc(100% + ${k})`}return p.current}}),[]);const g=y=>{const x=p.current,w=y.key,k=tn(x).activeElement;if(w==="ArrowDown")y.preventDefault(),Xl(x,k,c,l,rg);else if(w==="ArrowUp")y.preventDefault(),Xl(x,k,c,l,DS);else if(w==="Home")y.preventDefault(),Xl(x,null,c,l,rg);else if(w==="End")y.preventDefault(),Xl(x,null,c,l,DS);else if(w.length===1){const E=h.current,R=w.toLowerCase(),C=performance.now();E.keys.length>0&&(C-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&R!==E.keys[0]&&(E.repeating=!1)),E.lastTime=C,E.keys.push(R);const T=k&&!E.repeating&&s2(k,E);E.previousKeyMatched&&(T||Xl(x,k,!1,l,rg,E))?y.preventDefault():E.previousKeyMatched=!1}u&&u(y)},_=Ve(p,n);let m=-1;b.exports.Children.forEach(s,(y,x)=>{!b.exports.isValidElement(y)||y.props.disabled||(d==="selectedMenu"&&y.props.selected||m===-1)&&(m=x)});const v=b.exports.Children.map(s,(y,x)=>{if(x===m){const w={};return o&&(w.autoFocus=!0),y.props.tabIndex===void 0&&d==="selectedMenu"&&(w.tabIndex=0),b.exports.cloneElement(y,w)}return y});return M(yj,S({role:"menu",ref:_,className:a,onKeyDown:g,tabIndex:i?0:-1},f,{children:v}))});var oH=iH;function sH(e){return fe("MuiPopover",e)}me("MuiPopover",["root","paper"]);const aH=["onEntering"],lH=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function AS(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function $S(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function NS(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ig(e){return typeof e=="function"?e():e}const cH=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"]},sH,t)},uH=z(XT,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),dH=z(os,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),fH=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:h,PaperProps:g={},transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:m=Uv,transitionDuration:v="auto",TransitionProps:{onEntering:y}={}}=r,x=ee(r.TransitionProps,aH),w=ee(r,lH),k=b.exports.useRef(),E=Ve(k,g.ref),R=S({},r,{anchorOrigin:s,anchorReference:l,elevation:f,marginThreshold:p,PaperProps:g,transformOrigin:_,TransitionComponent:m,transitionDuration:v,TransitionProps:x}),C=cH(R),T=b.exports.useCallback(()=>{if(l==="anchorPosition")return a;const B=ig(o),D=(B&&B.nodeType===1?B:tn(k.current).body).getBoundingClientRect();return{top:D.top+AS(D,s.vertical),left:D.left+$S(D,s.horizontal)}},[o,s.horizontal,s.vertical,a,l]),P=b.exports.useCallback(B=>({vertical:AS(B,_.vertical),horizontal:$S(B,_.horizontal)}),[_.horizontal,_.vertical]),$=b.exports.useCallback(B=>{const O={width:B.offsetWidth,height:B.offsetHeight},D=P(O);if(l==="none")return{top:null,left:null,transformOrigin:NS(D)};const U=T();let Z=U.top-D.vertical,J=U.left-D.horizontal;const be=Z+O.height,re=J+O.width,se=Rr(ig(o)),G=se.innerHeight-p,pe=se.innerWidth-p;if(Z<p){const ue=Z-p;Z-=ue,D.vertical+=ue}else if(be>G){const ue=be-G;Z-=ue,D.vertical+=ue}if(J<p){const ue=J-p;J-=ue,D.horizontal+=ue}else if(re>pe){const ue=re-pe;J-=ue,D.horizontal+=ue}return{top:`${Math.round(Z)}px`,left:`${Math.round(J)}px`,transformOrigin:NS(D)}},[o,l,T,P,p]),N=b.exports.useCallback(()=>{const B=k.current;if(!B)return;const O=$(B);O.top!==null&&(B.style.top=O.top),O.left!==null&&(B.style.left=O.left),B.style.transformOrigin=O.transformOrigin},[$]),Y=(B,O)=>{y&&y(B,O),N()};b.exports.useEffect(()=>{h&&N()}),b.exports.useImperativeHandle(i,()=>h?{updatePosition:()=>{N()}}:null,[h,N]),b.exports.useEffect(()=>{if(!h)return;const B=Vs(()=>{N()}),O=Rr(o);return O.addEventListener("resize",B),()=>{B.clear(),O.removeEventListener("resize",B)}},[o,h,N]);let A=v;v==="auto"&&!m.muiSupportAuto&&(A=void 0);const I=d||(o?tn(ig(o)).body:void 0);return M(uH,S({BackdropProps:{invisible:!0},className:K(C.root,u),container:I,open:h,ref:n,ownerState:R},w,{children:M(m,S({appear:!0,in:h,onEntering:Y,timeout:A},x,{children:M(dH,S({elevation:f},g,{ref:E,className:K(C.paper,g.className),children:c}))}))}))});var pH=fH;function hH(e){return fe("MuiMenu",e)}me("MuiMenu",["root","paper","list"]);const mH=["onEntering"],gH=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],vH={vertical:"top",horizontal:"right"},yH={vertical:"top",horizontal:"left"},_H=e=>{const{classes:t}=e;return he({root:["root"],paper:["paper"],list:["list"]},hH,t)},bH=z(pH,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xH=z(os,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),SH=z(oH,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),wH=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:o,disableAutoFocusItem:s=!1,MenuListProps:a={},onClose:l,open:c,PaperProps:u={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:p}={},variant:h="selectedMenu"}=r,g=ee(r.TransitionProps,mH),_=ee(r,gH),m=io(),v=m.direction==="rtl",y=S({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:a,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:g,variant:h}),x=_H(y),w=i&&!s&&c,k=b.exports.useRef(null),E=(T,P)=>{k.current&&k.current.adjustStyleForScrollbar(T,m),p&&p(T,P)},R=T=>{T.key==="Tab"&&(T.preventDefault(),l&&l(T,"tabKeyDown"))};let C=-1;return b.exports.Children.map(o,(T,P)=>{!b.exports.isValidElement(T)||T.props.disabled||(h==="selectedMenu"&&T.props.selected||C===-1)&&(C=P)}),M(bH,S({classes:d,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?vH:yH,PaperProps:S({component:xH},u,{classes:S({},u.classes,{root:x.paper})}),className:x.root,open:c,ref:n,transitionDuration:f,TransitionProps:S({onEntering:E},g),ownerState:y},_,{children:M(SH,S({onKeyDown:R,actions:k,autoFocus:i&&(C===-1||s),autoFocusItem:w,variant:h},a,{className:K(x.list,a.className),children:o}))}))});var EH=wH;function kH(e){return fe("MuiMenuItem",e)}const CH=me("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var Zl=CH;const RH=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],TH=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},MH=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=e,l=he({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},kH,s);return S({},s,l)},PH=z(Qr,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:TH})(({theme:e,ownerState:t})=>S({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Zl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Zl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Zl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Zl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Zl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${TS.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${TS.inset}`]:{marginLeft:52},[`& .${gp.root}`]:{marginTop:0,marginBottom:0},[`& .${gp.inset}`]:{paddingLeft:36},[`& .${IS.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&S({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${IS.root} svg`]:{fontSize:"1.25rem"}}))),OH=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d}=r,f=ee(r,RH),p=b.exports.useContext(Er),h={dense:s||p.dense||!1,disableGutters:l},g=b.exports.useRef(null);Tr(()=>{i&&g.current&&g.current.focus()},[i]);const _=S({},r,{dense:h.dense,divider:a,disableGutters:l}),m=MH(r),v=Ve(g,n);let y;return r.disabled||(y=d!==void 0?d:-1),M(Er.Provider,{value:h,children:M(PH,S({ref:v,role:u,tabIndex:y,component:o,focusVisibleClassName:K(m.focusVisible,c)},f,{ownerState:_,classes:m}))})});var jle=OH;function IH(e){return fe("MuiNativeSelect",e)}const DH=me("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var e_=DH;const AH=["className","disabled","IconComponent","inputRef","variant"],$H=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o}=e,s={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${j(n)}`,o&&"iconOpen",r&&"disabled"]};return he(s,IH,t)},a2=({ownerState:e,theme:t})=>S({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${e_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),NH=z("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:lr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${e_.multiple}`]:t.multiple}]}})(a2),l2=({ownerState:e,theme:t})=>S({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${e_.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),LH=z("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${j(n.variant)}`],n.open&&t.iconOpen]}})(l2),FH=b.exports.forwardRef(function(t,n){const{className:r,disabled:i,IconComponent:o,inputRef:s,variant:a="standard"}=t,l=ee(t,AH),c=S({},t,{disabled:i,variant:a}),u=$H(c);return Ce(b.exports.Fragment,{children:[M(NH,S({ownerState:c,className:K(u.select,r),disabled:i,ref:s||n},l)),t.multiple?null:M(LH,{as:o,ownerState:c,className:u.icon})]})});var BH=FH,LS;const zH=["children","classes","className","label","notched"],UH=z("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),WH=z("legend")(({ownerState:e,theme:t})=>S({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&S({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function jH(e){const{className:t,label:n,notched:r}=e,i=ee(e,zH),o=n!=null&&n!=="",s=S({},e,{notched:r,withLabel:o});return M(UH,S({"aria-hidden":!0,className:t,ownerState:s},i,{children:M(WH,{ownerState:s,children:o?M("span",{children:n}):LS||(LS=M("span",{className:"notranslate",children:"\u200B"}))})}))}const HH=["components","fullWidth","inputComponent","label","multiline","notched","type"],YH=e=>{const{classes:t}=e,r=he({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},CU,t);return S({},t,r)},VH=z($h,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Dh})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return S({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${fi.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${fi.notchedOutline}`]:{borderColor:n}},[`&.${fi.focused} .${fi.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${fi.error} .${fi.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${fi.disabled} .${fi.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&S({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),GH=z(jH,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>({borderColor:e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"})),KH=z(Nh,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ah})(({theme:e,ownerState:t})=>S({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),c2=b.exports.forwardRef(function(t,n){var r;const i=ge({props:t,name:"MuiOutlinedInput"}),{components:o={},fullWidth:s=!1,inputComponent:a="input",label:l,multiline:c=!1,notched:u,type:d="text"}=i,f=ee(i,HH),p=YH(i),h=ss(),g=Qs({props:i,muiFormControl:h,states:["required"]});return M(J0,S({components:S({Root:VH,Input:KH},o),renderSuffix:_=>M(GH,{className:p.notchedOutline,label:l!=null&&l!==""&&g.required?r||(r=Ce(b.exports.Fragment,{children:[l,"\xA0","*"]})):l,notched:typeof u!="undefined"?u:Boolean(_.startAdornment||_.filled||_.focused)}),fullWidth:s,inputComponent:a,multiline:c,ref:n,type:d},f,{classes:S({},p,{notchedOutline:null})}))});c2.muiName="Input";var u2=c2;function qH(e){return fe("MuiSelect",e)}const XH=me("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var qd=XH,FS;const ZH=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],JH=z("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${qd.select}`]:t.select},{[`&.${qd.select}`]:t[n.variant]},{[`&.${qd.multiple}`]:t.multiple}]}})(a2,{[`&.${qd.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),QH=z("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${j(n.variant)}`],n.open&&t.iconOpen]}})(l2),eY=z("input",{shouldForwardProp:e=>wz(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function BS(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function tY(e){return e==null||typeof e=="string"&&!e.trim()}const nY=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o}=e,s={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${j(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return he(s,qH,t)},rY=b.exports.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:o,autoWidth:s,children:a,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,IconComponent:p,inputRef:h,labelId:g,MenuProps:_={},multiple:m,name:v,onBlur:y,onChange:x,onClose:w,onFocus:k,onOpen:E,open:R,readOnly:C,renderValue:T,SelectDisplayProps:P={},tabIndex:$,value:N,variant:Y="standard"}=t,A=ee(t,ZH),[I,B]=zo({controlled:N,default:u,name:"Select"}),[O,D]=zo({controlled:R,default:c,name:"Select"}),U=b.exports.useRef(null),Z=b.exports.useRef(null),[J,be]=b.exports.useState(null),{current:re}=b.exports.useRef(R!=null),[se,G]=b.exports.useState(),pe=Ve(n,h),ue=b.exports.useCallback(F=>{Z.current=F,F&&be(F)},[]);b.exports.useImperativeHandle(pe,()=>({focus:()=>{Z.current.focus()},node:U.current,value:I}),[I]),b.exports.useEffect(()=>{c&&O&&J&&!re&&(G(s?null:J.clientWidth),Z.current.focus())},[J,s]),b.exports.useEffect(()=>{o&&Z.current.focus()},[o]),b.exports.useEffect(()=>{if(!g)return;const F=tn(Z.current).getElementById(g);if(F){const te=()=>{getSelection().isCollapsed&&Z.current.focus()};return F.addEventListener("click",te),()=>{F.removeEventListener("click",te)}}},[g]);const ce=(F,te)=>{F?E&&E(te):w&&w(te),re||(G(s?null:J.clientWidth),D(F))},ve=F=>{F.button===0&&(F.preventDefault(),Z.current.focus(),ce(!0,F))},Ae=F=>{ce(!1,F)},Be=b.exports.Children.toArray(a),de=F=>{const te=Be.map(le=>le.props.value).indexOf(F.target.value);if(te===-1)return;const V=Be[te];B(V.props.value),x&&x(F,V)},ze=F=>te=>{let V;if(!!te.currentTarget.hasAttribute("tabindex")){if(m){V=Array.isArray(I)?I.slice():[];const le=I.indexOf(F.props.value);le===-1?V.push(F.props.value):V.splice(le,1)}else V=F.props.value;if(F.props.onClick&&F.props.onClick(te),I!==V&&(B(V),x)){const le=te.nativeEvent||te,Re=new le.constructor(le.type,le);Object.defineProperty(Re,"target",{writable:!0,value:{value:V,name:v}}),x(Re,F)}m||ce(!1,te)}},Se=F=>{C||[" ","ArrowUp","ArrowDown","Enter"].indexOf(F.key)!==-1&&(F.preventDefault(),ce(!0,F))},Ge=J!==null&&O,De=F=>{!Ge&&y&&(Object.defineProperty(F,"target",{writable:!0,value:{value:I,name:v}}),y(F))};delete A["aria-invalid"];let At,_t;const Oe=[];let Ne=!1;(Z0({value:I})||f)&&(T?At=T(I):Ne=!0);const Mt=Be.map((F,te,V)=>{if(!b.exports.isValidElement(F))return null;let le;if(m){if(!Array.isArray(I))throw new Error(Ys(2));le=I.some(Je=>BS(Je,F.props.value)),le&&Ne&&Oe.push(F.props.children)}else le=BS(I,F.props.value),le&&Ne&&(_t=F.props.children);if(F.props.value===void 0)return b.exports.cloneElement(F,{"aria-readonly":!0,role:"option"});const Re=()=>{if(I)return le;const Je=V.find(hn=>hn.props.value!==void 0&&hn.props.disabled!==!0);return F===Je?!0:le};return b.exports.cloneElement(F,{"aria-selected":le?"true":"false",onClick:ze(F),onKeyUp:Je=>{Je.key===" "&&Je.preventDefault(),F.props.onKeyUp&&F.props.onKeyUp(Je)},role:"option",selected:V[0].props.value===void 0||V[0].props.disabled===!0?Re():le,value:void 0,"data-value":F.props.value})});Ne&&(m?Oe.length===0?At=null:At=Oe.reduce((F,te,V)=>(F.push(te),V<Oe.length-1&&F.push(", "),F),[]):At=_t);let jt=se;!s&&re&&J&&(jt=J.clientWidth);let st;typeof $!="undefined"?st=$:st=d?null:0;const bt=P.id||(v?`mui-component-select-${v}`:void 0),We=S({},t,{variant:Y,value:I,open:Ge}),ye=nY(We);return Ce(b.exports.Fragment,{children:[M(JH,S({ref:ue,tabIndex:st,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":Ge?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[g,bt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Se,onMouseDown:d||C?null:ve,onBlur:De,onFocus:k},P,{ownerState:We,className:K(ye.select,l,P.className),id:bt,children:tY(At)?FS||(FS=M("span",{className:"notranslate",children:"\u200B"})):At})),M(eY,S({value:Array.isArray(I)?I.join(","):I,name:v,ref:U,"aria-hidden":!0,onChange:de,tabIndex:-1,disabled:d,className:ye.nativeInput,autoFocus:o,ownerState:We},A)),M(QH,{as:p,className:ye.icon,ownerState:We}),M(EH,S({id:`menu-${v||""}`,anchorEl:J,open:Ge,onClose:Ae,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},_,{MenuListProps:S({"aria-labelledby":g,role:"listbox",disableListWrap:!0},_.MenuListProps),PaperProps:S({},_.PaperProps,{style:S({minWidth:jt},_.PaperProps!=null?_.PaperProps.style:null)}),children:Mt}))]})});var iY=rY,zS,US;const oY=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],sY=e=>{const{classes:t}=e;return t},t_={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>lr(e)&&e!=="variant",slot:"Root"},aY=z(r2,t_)(""),lY=z(u2,t_)(""),cY=z(QT,t_)(""),d2=b.exports.for
|
1 |
+
var yP=Object.defineProperty,_P=Object.defineProperties;var bP=Object.getOwnPropertyDescriptors;var hd=Object.getOwnPropertySymbols;var R1=Object.prototype.hasOwnProperty,T1=Object.prototype.propertyIsEnumerable;var C1=(e,t,n)=>t in e?yP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))R1.call(t,n)&&C1(e,n,t[n]);if(hd)for(var n of hd(t))T1.call(t,n)&&C1(e,n,t[n]);return e},Ee=(e,t)=>_P(e,bP(t));var dm=(e,t)=>{var n={};for(var r in e)R1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&hd)for(var r of hd(e))t.indexOf(r)<0&&T1.call(e,r)&&(n[r]=e[r]);return n};function xP(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function ME(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var b={exports:{}},$e={};/**
|
2 |
* @license React
|
3 |
* react.production.min.js
|
4 |
*
|
6 |
*
|
7 |
* This source code is licensed under the MIT license found in the
|
8 |
* LICENSE file in the root directory of this source tree.
|
9 |
+
*/var Du=Symbol.for("react.element"),SP=Symbol.for("react.portal"),wP=Symbol.for("react.fragment"),EP=Symbol.for("react.strict_mode"),kP=Symbol.for("react.profiler"),CP=Symbol.for("react.provider"),RP=Symbol.for("react.context"),TP=Symbol.for("react.forward_ref"),MP=Symbol.for("react.suspense"),PP=Symbol.for("react.memo"),OP=Symbol.for("react.lazy"),M1=Symbol.iterator;function IP(e){return e===null||typeof e!="object"?null:(e=M1&&e[M1]||e["@@iterator"],typeof e=="function"?e:null)}var PE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},OE=Object.assign,IE={};function wl(e,t,n){this.props=e,this.context=t,this.refs=IE,this.updater=n||PE}wl.prototype.isReactComponent={};wl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};wl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function DE(){}DE.prototype=wl.prototype;function cy(e,t,n){this.props=e,this.context=t,this.refs=IE,this.updater=n||PE}var uy=cy.prototype=new DE;uy.constructor=cy;OE(uy,wl.prototype);uy.isPureReactComponent=!0;var P1=Array.isArray,AE=Object.prototype.hasOwnProperty,dy={current:null},$E={key:!0,ref:!0,__self:!0,__source:!0};function NE(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)AE.call(t,r)&&!$E.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Du,type:e,key:o,ref:s,props:i,_owner:dy.current}}function DP(e,t){return{$$typeof:Du,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fy(e){return typeof e=="object"&&e!==null&&e.$$typeof===Du}function AP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var O1=/\/+/g;function fm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?AP(""+e.key):t.toString(36)}function mf(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Du:case SP:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+fm(s,0):r,P1(i)?(n="",e!=null&&(n=e.replace(O1,"$&/")+"/"),mf(i,t,n,"",function(c){return c})):i!=null&&(fy(i)&&(i=DP(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(O1,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",P1(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+fm(o,a);s+=mf(o,t,n,l,i)}else if(l=IP(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+fm(o,a++),s+=mf(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function md(e,t,n){if(e==null)return e;var r=[],i=0;return mf(e,r,"","",function(o){return t.call(n,o,i++)}),r}function $P(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Nn={current:null},gf={transition:null},NP={ReactCurrentDispatcher:Nn,ReactCurrentBatchConfig:gf,ReactCurrentOwner:dy};$e.Children={map:md,forEach:function(e,t,n){md(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return md(e,function(){t++}),t},toArray:function(e){return md(e,function(t){return t})||[]},only:function(e){if(!fy(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$e.Component=wl;$e.Fragment=wP;$e.Profiler=kP;$e.PureComponent=cy;$e.StrictMode=EP;$e.Suspense=MP;$e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NP;$e.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=OE({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=dy.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)AE.call(t,l)&&!$E.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Du,type:e.type,key:i,ref:o,props:r,_owner:s}};$e.createContext=function(e){return e={$$typeof:RP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:CP,_context:e},e.Consumer=e};$e.createElement=NE;$e.createFactory=function(e){var t=NE.bind(null,e);return t.type=e,t};$e.createRef=function(){return{current:null}};$e.forwardRef=function(e){return{$$typeof:TP,render:e}};$e.isValidElement=fy;$e.lazy=function(e){return{$$typeof:OP,_payload:{_status:-1,_result:e},_init:$P}};$e.memo=function(e,t){return{$$typeof:PP,type:e,compare:t===void 0?null:t}};$e.startTransition=function(e){var t=gf.transition;gf.transition={};try{e()}finally{gf.transition=t}};$e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};$e.useCallback=function(e,t){return Nn.current.useCallback(e,t)};$e.useContext=function(e){return Nn.current.useContext(e)};$e.useDebugValue=function(){};$e.useDeferredValue=function(e){return Nn.current.useDeferredValue(e)};$e.useEffect=function(e,t){return Nn.current.useEffect(e,t)};$e.useId=function(){return Nn.current.useId()};$e.useImperativeHandle=function(e,t,n){return Nn.current.useImperativeHandle(e,t,n)};$e.useInsertionEffect=function(e,t){return Nn.current.useInsertionEffect(e,t)};$e.useLayoutEffect=function(e,t){return Nn.current.useLayoutEffect(e,t)};$e.useMemo=function(e,t){return Nn.current.useMemo(e,t)};$e.useReducer=function(e,t,n){return Nn.current.useReducer(e,t,n)};$e.useRef=function(e){return Nn.current.useRef(e)};$e.useState=function(e){return Nn.current.useState(e)};$e.useSyncExternalStore=function(e,t,n){return Nn.current.useSyncExternalStore(e,t,n)};$e.useTransition=function(){return Nn.current.useTransition()};$e.version="18.1.0";b.exports=$e;var vr=b.exports,Fs=xP({__proto__:null,default:vr},[b.exports]),I1={},Au={exports:{}},or={},LE={exports:{}},FE={};/**
|
10 |
* @license React
|
11 |
* scheduler.production.min.js
|
12 |
*
|
14 |
*
|
15 |
* This source code is licensed under the MIT license found in the
|
16 |
* LICENSE file in the root directory of this source tree.
|
17 |
+
*/(function(e){function t(O,D){var U=O.length;O.push(D);e:for(;0<U;){var Z=U-1>>>1,J=O[Z];if(0<i(J,D))O[Z]=D,O[U]=J,U=Z;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var D=O[0],U=O.pop();if(U!==D){O[0]=U;e:for(var Z=0,J=O.length,be=J>>>1;Z<be;){var re=2*(Z+1)-1,se=O[re],G=re+1,pe=O[G];if(0>i(se,U))G<J&&0>i(pe,se)?(O[Z]=pe,O[G]=U,Z=G):(O[Z]=se,O[re]=U,Z=re);else if(G<J&&0>i(pe,U))O[Z]=pe,O[G]=U,Z=G;else break e}}return D}function i(O,D){var U=O.sortIndex-D.sortIndex;return U!==0?U:O.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,h=!1,g=!1,_=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(O){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=O)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function x(O){if(g=!1,y(O),!h)if(n(l)!==null)h=!0,I(w);else{var D=n(c);D!==null&&B(x,D.startTime-O)}}function w(O,D){h=!1,g&&(g=!1,m(R),R=-1),p=!0;var U=f;try{for(y(D),d=n(l);d!==null&&(!(d.expirationTime>D)||O&&!P());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,f=d.priorityLevel;var J=Z(d.expirationTime<=D);D=e.unstable_now(),typeof J=="function"?d.callback=J:d===n(l)&&r(l),y(D)}else r(l);d=n(l)}if(d!==null)var be=!0;else{var re=n(c);re!==null&&B(x,re.startTime-D),be=!1}return be}finally{d=null,f=U,p=!1}}var k=!1,E=null,R=-1,C=5,T=-1;function P(){return!(e.unstable_now()-T<C)}function $(){if(E!==null){var O=e.unstable_now();T=O;var D=!0;try{D=E(!0,O)}finally{D?N():(k=!1,E=null)}}else k=!1}var N;if(typeof v=="function")N=function(){v($)};else if(typeof MessageChannel!="undefined"){var Y=new MessageChannel,A=Y.port2;Y.port1.onmessage=$,N=function(){A.postMessage(null)}}else N=function(){_($,0)};function I(O){E=O,k||(k=!0,N())}function B(O,D){R=_(function(){O(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,I(w))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var D=3;break;default:D=f}var U=f;f=D;try{return O()}finally{f=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,D){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var U=f;f=O;try{return D()}finally{f=U}},e.unstable_scheduleCallback=function(O,D,U){var Z=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?Z+U:Z):U=Z,O){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=U+J,O={id:u++,callback:D,priorityLevel:O,startTime:U,expirationTime:J,sortIndex:-1},U>Z?(O.sortIndex=U,t(c,O),n(l)===null&&O===n(c)&&(g?(m(R),R=-1):g=!0,B(x,U-Z))):(O.sortIndex=J,t(l,O),h||p||(h=!0,I(w))),O},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(O){var D=f;return function(){var U=f;f=D;try{return O.apply(this,arguments)}finally{f=U}}}})(FE);LE.exports=FE;/**
|
18 |
* @license React
|
19 |
* react-dom.production.min.js
|
20 |
*
|
22 |
*
|
23 |
* This source code is licensed under the MIT license found in the
|
24 |
* LICENSE file in the root directory of this source tree.
|
25 |
+
*/var BE=b.exports,ir=LE.exports;function q(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var zE=new Set,Yc={};function Zs(e,t){Qa(e,t),Qa(e+"Capture",t)}function Qa(e,t){for(Yc[e]=t,e=0;e<t.length;e++)zE.add(t[e])}var Zi=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Rg=Object.prototype.hasOwnProperty,LP=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D1={},A1={};function FP(e){return Rg.call(A1,e)?!0:Rg.call(D1,e)?!1:LP.test(e)?A1[e]=!0:(D1[e]=!0,!1)}function BP(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zP(e,t,n,r){if(t===null||typeof t=="undefined"||BP(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ln(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var fn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fn[e]=new Ln(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fn[t]=new Ln(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fn[e]=new Ln(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fn[e]=new Ln(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fn[e]=new Ln(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fn[e]=new Ln(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fn[e]=new Ln(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fn[e]=new Ln(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fn[e]=new Ln(e,5,!1,e.toLowerCase(),null,!1,!1)});var py=/[\-:]([a-z])/g;function hy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(py,hy);fn[t]=new Ln(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(py,hy);fn[t]=new Ln(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(py,hy);fn[t]=new Ln(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fn[e]=new Ln(e,1,!1,e.toLowerCase(),null,!1,!1)});fn.xlinkHref=new Ln("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fn[e]=new Ln(e,1,!1,e.toLowerCase(),null,!0,!0)});function my(e,t,n,r){var i=fn.hasOwnProperty(t)?fn[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zP(t,n,i,r)&&(n=null),r||i===null?FP(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var no=BE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gd=Symbol.for("react.element"),xa=Symbol.for("react.portal"),Sa=Symbol.for("react.fragment"),gy=Symbol.for("react.strict_mode"),Tg=Symbol.for("react.profiler"),UE=Symbol.for("react.provider"),WE=Symbol.for("react.context"),vy=Symbol.for("react.forward_ref"),Mg=Symbol.for("react.suspense"),Pg=Symbol.for("react.suspense_list"),yy=Symbol.for("react.memo"),ho=Symbol.for("react.lazy"),jE=Symbol.for("react.offscreen"),$1=Symbol.iterator;function $l(e){return e===null||typeof e!="object"?null:(e=$1&&e[$1]||e["@@iterator"],typeof e=="function"?e:null)}var Dt=Object.assign,pm;function ac(e){if(pm===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);pm=t&&t[1]||""}return`
|
26 |
`+pm+e}var hm=!1;function mm(e,t){if(!e||hm)return"";hm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
|
27 |
`),o=r.stack.split(`
|
28 |
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
|
29 |
+
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{hm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ac(e):""}function UP(e){switch(e.tag){case 5:return ac(e.type);case 16:return ac("Lazy");case 13:return ac("Suspense");case 19:return ac("SuspenseList");case 0:case 2:case 15:return e=mm(e.type,!1),e;case 11:return e=mm(e.type.render,!1),e;case 1:return e=mm(e.type,!0),e;default:return""}}function Og(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Sa:return"Fragment";case xa:return"Portal";case Tg:return"Profiler";case gy:return"StrictMode";case Mg:return"Suspense";case Pg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case WE:return(e.displayName||"Context")+".Consumer";case UE:return(e._context.displayName||"Context")+".Provider";case vy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yy:return t=e.displayName||null,t!==null?t:Og(e.type)||"Memo";case ho:t=e._payload,e=e._init;try{return Og(e(t))}catch{}}return null}function WP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Og(t);case 8:return t===gy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Yo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function HE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jP(e){var t=HE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vd(e){e._valueTracker||(e._valueTracker=jP(e))}function YE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=HE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ff(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ig(e,t){var n=t.checked;return Dt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function N1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Yo(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function VE(e,t){t=t.checked,t!=null&&my(e,"checked",t,!1)}function Dg(e,t){VE(e,t);var n=Yo(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ag(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ag(e,t.type,Yo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function L1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ag(e,t,n){(t!=="number"||Ff(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var lc=Array.isArray;function La(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Yo(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $g(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(q(91));return Dt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function F1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(q(92));if(lc(n)){if(1<n.length)throw Error(q(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Yo(n)}}function GE(e,t){var n=Yo(t.value),r=Yo(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function B1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function KE(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ng(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?KE(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yd,qE=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yd=yd||document.createElement("div"),yd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},HP=["Webkit","ms","Moz","O"];Object.keys(gc).forEach(function(e){HP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gc[t]=gc[e]})});function XE(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gc.hasOwnProperty(e)&&gc[e]?(""+t).trim():t+"px"}function ZE(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XE(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var YP=Dt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lg(e,t){if(t){if(YP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(q(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(q(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(q(61))}if(t.style!=null&&typeof t.style!="object")throw Error(q(62))}}function Fg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bg=null;function _y(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zg=null,Fa=null,Ba=null;function z1(e){if(e=Lu(e)){if(typeof zg!="function")throw Error(q(280));var t=e.stateNode;t&&(t=Lp(t),zg(e.stateNode,e.type,t))}}function JE(e){Fa?Ba?Ba.push(e):Ba=[e]:Fa=e}function QE(){if(Fa){var e=Fa,t=Ba;if(Ba=Fa=null,z1(e),t)for(e=0;e<t.length;e++)z1(t[e])}}function ek(e,t){return e(t)}function tk(){}var gm=!1;function nk(e,t,n){if(gm)return e(t,n);gm=!0;try{return ek(e,t,n)}finally{gm=!1,(Fa!==null||Ba!==null)&&(tk(),QE())}}function Gc(e,t){var n=e.stateNode;if(n===null)return null;var r=Lp(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(q(231,t,typeof n));return n}var Ug=!1;if(Zi)try{var Nl={};Object.defineProperty(Nl,"passive",{get:function(){Ug=!0}}),window.addEventListener("test",Nl,Nl),window.removeEventListener("test",Nl,Nl)}catch{Ug=!1}function VP(e,t,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var vc=!1,Bf=null,zf=!1,Wg=null,GP={onError:function(e){vc=!0,Bf=e}};function KP(e,t,n,r,i,o,s,a,l){vc=!1,Bf=null,VP.apply(GP,arguments)}function qP(e,t,n,r,i,o,s,a,l){if(KP.apply(this,arguments),vc){if(vc){var c=Bf;vc=!1,Bf=null}else throw Error(q(198));zf||(zf=!0,Wg=c)}}function Js(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function rk(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function U1(e){if(Js(e)!==e)throw Error(q(188))}function XP(e){var t=e.alternate;if(!t){if(t=Js(e),t===null)throw Error(q(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return U1(i),e;if(o===r)return U1(i),t;o=o.sibling}throw Error(q(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(q(189))}}if(n.alternate!==r)throw Error(q(190))}if(n.tag!==3)throw Error(q(188));return n.stateNode.current===n?e:t}function ik(e){return e=XP(e),e!==null?ok(e):null}function ok(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ok(e);if(t!==null)return t;e=e.sibling}return null}var sk=ir.unstable_scheduleCallback,W1=ir.unstable_cancelCallback,ZP=ir.unstable_shouldYield,JP=ir.unstable_requestPaint,zt=ir.unstable_now,QP=ir.unstable_getCurrentPriorityLevel,by=ir.unstable_ImmediatePriority,ak=ir.unstable_UserBlockingPriority,Uf=ir.unstable_NormalPriority,eO=ir.unstable_LowPriority,lk=ir.unstable_IdlePriority,Dp=null,bi=null;function tO(e){if(bi&&typeof bi.onCommitFiberRoot=="function")try{bi.onCommitFiberRoot(Dp,e,void 0,(e.current.flags&128)===128)}catch{}}var qr=Math.clz32?Math.clz32:iO,nO=Math.log,rO=Math.LN2;function iO(e){return e>>>=0,e===0?32:31-(nO(e)/rO|0)|0}var _d=64,bd=4194304;function cc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=cc(a):(o&=s,o!==0&&(r=cc(o)))}else s=n&~i,s!==0?r=cc(s):o!==0&&(r=cc(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-qr(t),i=1<<n,r|=e[n],t&=~i;return r}function oO(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function sO(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-qr(o),a=1<<s,l=i[s];l===-1?((a&n)===0||(a&r)!==0)&&(i[s]=oO(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function jg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ck(){var e=_d;return _d<<=1,(_d&4194240)===0&&(_d=64),e}function vm(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $u(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qr(t),e[t]=n}function aO(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-qr(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function xy(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qr(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var nt=0;function uk(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var dk,Sy,fk,pk,hk,Hg=!1,xd=[],Io=null,Do=null,Ao=null,Kc=new Map,qc=new Map,yo=[],lO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function j1(e,t){switch(e){case"focusin":case"focusout":Io=null;break;case"dragenter":case"dragleave":Do=null;break;case"mouseover":case"mouseout":Ao=null;break;case"pointerover":case"pointerout":Kc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qc.delete(t.pointerId)}}function Ll(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Lu(t),t!==null&&Sy(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function cO(e,t,n,r,i){switch(t){case"focusin":return Io=Ll(Io,e,t,n,r,i),!0;case"dragenter":return Do=Ll(Do,e,t,n,r,i),!0;case"mouseover":return Ao=Ll(Ao,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Kc.set(o,Ll(Kc.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,qc.set(o,Ll(qc.get(o)||null,e,t,n,r,i)),!0}return!1}function mk(e){var t=xs(e.target);if(t!==null){var n=Js(t);if(n!==null){if(t=n.tag,t===13){if(t=rk(n),t!==null){e.blockedOn=t,hk(e.priority,function(){fk(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Bg=r,n.target.dispatchEvent(r),Bg=null}else return t=Lu(n),t!==null&&Sy(t),e.blockedOn=n,!1;t.shift()}return!0}function H1(e,t,n){vf(e)&&n.delete(t)}function uO(){Hg=!1,Io!==null&&vf(Io)&&(Io=null),Do!==null&&vf(Do)&&(Do=null),Ao!==null&&vf(Ao)&&(Ao=null),Kc.forEach(H1),qc.forEach(H1)}function Fl(e,t){e.blockedOn===t&&(e.blockedOn=null,Hg||(Hg=!0,ir.unstable_scheduleCallback(ir.unstable_NormalPriority,uO)))}function Xc(e){function t(i){return Fl(i,e)}if(0<xd.length){Fl(xd[0],e);for(var n=1;n<xd.length;n++){var r=xd[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Io!==null&&Fl(Io,e),Do!==null&&Fl(Do,e),Ao!==null&&Fl(Ao,e),Kc.forEach(t),qc.forEach(t),n=0;n<yo.length;n++)r=yo[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<yo.length&&(n=yo[0],n.blockedOn===null);)mk(n),n.blockedOn===null&&yo.shift()}var za=no.ReactCurrentBatchConfig,jf=!0;function dO(e,t,n,r){var i=nt,o=za.transition;za.transition=null;try{nt=1,wy(e,t,n,r)}finally{nt=i,za.transition=o}}function fO(e,t,n,r){var i=nt,o=za.transition;za.transition=null;try{nt=4,wy(e,t,n,r)}finally{nt=i,za.transition=o}}function wy(e,t,n,r){if(jf){var i=Yg(e,t,n,r);if(i===null)Rm(e,t,r,Hf,n),j1(e,r);else if(cO(i,e,t,n,r))r.stopPropagation();else if(j1(e,r),t&4&&-1<lO.indexOf(e)){for(;i!==null;){var o=Lu(i);if(o!==null&&dk(o),o=Yg(e,t,n,r),o===null&&Rm(e,t,r,Hf,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Rm(e,t,r,null,n)}}var Hf=null;function Yg(e,t,n,r){if(Hf=null,e=_y(r),e=xs(e),e!==null)if(t=Js(e),t===null)e=null;else if(n=t.tag,n===13){if(e=rk(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hf=e,null}function gk(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(QP()){case by:return 1;case ak:return 4;case Uf:case eO:return 16;case lk:return 536870912;default:return 16}default:return 16}}var wo=null,Ey=null,yf=null;function vk(){if(yf)return yf;var e,t=Ey,n=t.length,r,i="value"in wo?wo.value:wo.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return yf=i.slice(e,1<r?1-r:void 0)}function _f(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Sd(){return!0}function Y1(){return!1}function sr(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Sd:Y1,this.isPropagationStopped=Y1,this}return Dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Sd)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Sd)},persist:function(){},isPersistent:Sd}),t}var El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ky=sr(El),Nu=Dt({},El,{view:0,detail:0}),pO=sr(Nu),ym,_m,Bl,Ap=Dt({},Nu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Bl&&(Bl&&e.type==="mousemove"?(ym=e.screenX-Bl.screenX,_m=e.screenY-Bl.screenY):_m=ym=0,Bl=e),ym)},movementY:function(e){return"movementY"in e?e.movementY:_m}}),V1=sr(Ap),hO=Dt({},Ap,{dataTransfer:0}),mO=sr(hO),gO=Dt({},Nu,{relatedTarget:0}),bm=sr(gO),vO=Dt({},El,{animationName:0,elapsedTime:0,pseudoElement:0}),yO=sr(vO),_O=Dt({},El,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bO=sr(_O),xO=Dt({},El,{data:0}),G1=sr(xO),SO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wO={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},EO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kO(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=EO[e])?!!t[e]:!1}function Cy(){return kO}var CO=Dt({},Nu,{key:function(e){if(e.key){var t=SO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_f(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cy,charCode:function(e){return e.type==="keypress"?_f(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_f(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),RO=sr(CO),TO=Dt({},Ap,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),K1=sr(TO),MO=Dt({},Nu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cy}),PO=sr(MO),OO=Dt({},El,{propertyName:0,elapsedTime:0,pseudoElement:0}),IO=sr(OO),DO=Dt({},Ap,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),AO=sr(DO),$O=[9,13,27,32],Ry=Zi&&"CompositionEvent"in window,yc=null;Zi&&"documentMode"in document&&(yc=document.documentMode);var NO=Zi&&"TextEvent"in window&&!yc,yk=Zi&&(!Ry||yc&&8<yc&&11>=yc),q1=String.fromCharCode(32),X1=!1;function _k(e,t){switch(e){case"keyup":return $O.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bk(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wa=!1;function LO(e,t){switch(e){case"compositionend":return bk(t);case"keypress":return t.which!==32?null:(X1=!0,q1);case"textInput":return e=t.data,e===q1&&X1?null:e;default:return null}}function FO(e,t){if(wa)return e==="compositionend"||!Ry&&_k(e,t)?(e=vk(),yf=Ey=wo=null,wa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return yk&&t.locale!=="ko"?null:t.data;default:return null}}var BO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Z1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!BO[e.type]:t==="textarea"}function xk(e,t,n,r){JE(r),t=Yf(t,"onChange"),0<t.length&&(n=new ky("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _c=null,Zc=null;function zO(e){Ik(e,0)}function $p(e){var t=Ca(e);if(YE(t))return e}function UO(e,t){if(e==="change")return t}var Sk=!1;if(Zi){var xm;if(Zi){var Sm="oninput"in document;if(!Sm){var J1=document.createElement("div");J1.setAttribute("oninput","return;"),Sm=typeof J1.oninput=="function"}xm=Sm}else xm=!1;Sk=xm&&(!document.documentMode||9<document.documentMode)}function Q1(){_c&&(_c.detachEvent("onpropertychange",wk),Zc=_c=null)}function wk(e){if(e.propertyName==="value"&&$p(Zc)){var t=[];xk(t,Zc,e,_y(e)),nk(zO,t)}}function WO(e,t,n){e==="focusin"?(Q1(),_c=t,Zc=n,_c.attachEvent("onpropertychange",wk)):e==="focusout"&&Q1()}function jO(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $p(Zc)}function HO(e,t){if(e==="click")return $p(t)}function YO(e,t){if(e==="input"||e==="change")return $p(t)}function VO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zr=typeof Object.is=="function"?Object.is:VO;function Jc(e,t){if(Zr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Rg.call(t,i)||!Zr(e[i],t[i]))return!1}return!0}function eb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tb(e,t){var n=eb(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=eb(n)}}function Ek(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ek(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kk(){for(var e=window,t=Ff();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ff(e.document)}return t}function Ty(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function GO(e){var t=kk(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ek(n.ownerDocument.documentElement,n)){if(r!==null&&Ty(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=tb(n,o);var s=tb(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var KO=Zi&&"documentMode"in document&&11>=document.documentMode,Ea=null,Vg=null,bc=null,Gg=!1;function nb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Gg||Ea==null||Ea!==Ff(r)||(r=Ea,"selectionStart"in r&&Ty(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),bc&&Jc(bc,r)||(bc=r,r=Yf(Vg,"onSelect"),0<r.length&&(t=new ky("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ea)))}function wd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ka={animationend:wd("Animation","AnimationEnd"),animationiteration:wd("Animation","AnimationIteration"),animationstart:wd("Animation","AnimationStart"),transitionend:wd("Transition","TransitionEnd")},wm={},Ck={};Zi&&(Ck=document.createElement("div").style,"AnimationEvent"in window||(delete ka.animationend.animation,delete ka.animationiteration.animation,delete ka.animationstart.animation),"TransitionEvent"in window||delete ka.transitionend.transition);function Np(e){if(wm[e])return wm[e];if(!ka[e])return e;var t=ka[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ck)return wm[e]=t[n];return e}var Rk=Np("animationend"),Tk=Np("animationiteration"),Mk=Np("animationstart"),Pk=Np("transitionend"),Ok=new Map,rb="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Qo(e,t){Ok.set(e,t),Zs(t,[e])}for(var Em=0;Em<rb.length;Em++){var km=rb[Em],qO=km.toLowerCase(),XO=km[0].toUpperCase()+km.slice(1);Qo(qO,"on"+XO)}Qo(Rk,"onAnimationEnd");Qo(Tk,"onAnimationIteration");Qo(Mk,"onAnimationStart");Qo("dblclick","onDoubleClick");Qo("focusin","onFocus");Qo("focusout","onBlur");Qo(Pk,"onTransitionEnd");Qa("onMouseEnter",["mouseout","mouseover"]);Qa("onMouseLeave",["mouseout","mouseover"]);Qa("onPointerEnter",["pointerout","pointerover"]);Qa("onPointerLeave",["pointerout","pointerover"]);Zs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zs("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ZO=new Set("cancel close invalid load scroll toggle".split(" ").concat(uc));function ib(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,qP(r,t,void 0,e),e.currentTarget=null}function Ik(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;ib(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;ib(i,a,c),o=l}}}if(zf)throw e=Wg,zf=!1,Wg=null,e}function pt(e,t){var n=t[Jg];n===void 0&&(n=t[Jg]=new Set);var r=e+"__bubble";n.has(r)||(Dk(t,e,2,!1),n.add(r))}function Cm(e,t,n){var r=0;t&&(r|=4),Dk(n,e,r,t)}var Ed="_reactListening"+Math.random().toString(36).slice(2);function Qc(e){if(!e[Ed]){e[Ed]=!0,zE.forEach(function(n){n!=="selectionchange"&&(ZO.has(n)||Cm(n,!1,e),Cm(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ed]||(t[Ed]=!0,Cm("selectionchange",!1,t))}}function Dk(e,t,n,r){switch(gk(t)){case 1:var i=dO;break;case 4:i=fO;break;default:i=wy}n=i.bind(null,t,n,e),i=void 0,!Ug||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Rm(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=xs(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}nk(function(){var c=o,u=_y(n),d=[];e:{var f=Ok.get(e);if(f!==void 0){var p=ky,h=e;switch(e){case"keypress":if(_f(n)===0)break e;case"keydown":case"keyup":p=RO;break;case"focusin":h="focus",p=bm;break;case"focusout":h="blur",p=bm;break;case"beforeblur":case"afterblur":p=bm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=V1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=mO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=PO;break;case Rk:case Tk:case Mk:p=yO;break;case Pk:p=IO;break;case"scroll":p=pO;break;case"wheel":p=AO;break;case"copy":case"cut":case"paste":p=bO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=K1}var g=(t&4)!==0,_=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var v=c,y;v!==null;){y=v;var x=y.stateNode;if(y.tag===5&&x!==null&&(y=x,m!==null&&(x=Gc(v,m),x!=null&&g.push(eu(v,x,y)))),_)break;v=v.return}0<g.length&&(f=new p(f,h,null,n,u),d.push({event:f,listeners:g}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==Bg&&(h=n.relatedTarget||n.fromElement)&&(xs(h)||h[Ji]))break e;if((p||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,p?(h=n.relatedTarget||n.toElement,p=c,h=h?xs(h):null,h!==null&&(_=Js(h),h!==_||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=c),p!==h)){if(g=V1,x="onMouseLeave",m="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(g=K1,x="onPointerLeave",m="onPointerEnter",v="pointer"),_=p==null?f:Ca(p),y=h==null?f:Ca(h),f=new g(x,v+"leave",p,n,u),f.target=_,f.relatedTarget=y,x=null,xs(u)===c&&(g=new g(m,v+"enter",h,n,u),g.target=y,g.relatedTarget=_,x=g),_=x,p&&h)t:{for(g=p,m=h,v=0,y=g;y;y=ia(y))v++;for(y=0,x=m;x;x=ia(x))y++;for(;0<v-y;)g=ia(g),v--;for(;0<y-v;)m=ia(m),y--;for(;v--;){if(g===m||m!==null&&g===m.alternate)break t;g=ia(g),m=ia(m)}g=null}else g=null;p!==null&&ob(d,f,p,g,!1),h!==null&&_!==null&&ob(d,_,h,g,!0)}}e:{if(f=c?Ca(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var w=UO;else if(Z1(f))if(Sk)w=YO;else{w=jO;var k=WO}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=HO);if(w&&(w=w(e,c))){xk(d,w,n,u);break e}k&&k(e,f,c),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&Ag(f,"number",f.value)}switch(k=c?Ca(c):window,e){case"focusin":(Z1(k)||k.contentEditable==="true")&&(Ea=k,Vg=c,bc=null);break;case"focusout":bc=Vg=Ea=null;break;case"mousedown":Gg=!0;break;case"contextmenu":case"mouseup":case"dragend":Gg=!1,nb(d,n,u);break;case"selectionchange":if(KO)break;case"keydown":case"keyup":nb(d,n,u)}var E;if(Ry)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else wa?_k(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(yk&&n.locale!=="ko"&&(wa||R!=="onCompositionStart"?R==="onCompositionEnd"&&wa&&(E=vk()):(wo=u,Ey="value"in wo?wo.value:wo.textContent,wa=!0)),k=Yf(c,R),0<k.length&&(R=new G1(R,e,null,n,u),d.push({event:R,listeners:k}),E?R.data=E:(E=bk(n),E!==null&&(R.data=E)))),(E=NO?LO(e,n):FO(e,n))&&(c=Yf(c,"onBeforeInput"),0<c.length&&(u=new G1("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=E))}Ik(d,t)})}function eu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yf(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Gc(e,n),o!=null&&r.unshift(eu(e,o,i)),o=Gc(e,t),o!=null&&r.push(eu(e,o,i))),e=e.return}return r}function ia(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ob(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Gc(n,o),l!=null&&s.unshift(eu(n,l,a))):i||(l=Gc(n,o),l!=null&&s.push(eu(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var JO=/\r\n?/g,QO=/\u0000|\uFFFD/g;function sb(e){return(typeof e=="string"?e:""+e).replace(JO,`
|
30 |
+
`).replace(QO,"")}function kd(e,t,n){if(t=sb(t),sb(e)!==t&&n)throw Error(q(425))}function Vf(){}var Kg=null,qg=null;function Xg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Zg=typeof setTimeout=="function"?setTimeout:void 0,eI=typeof clearTimeout=="function"?clearTimeout:void 0,ab=typeof Promise=="function"?Promise:void 0,tI=typeof queueMicrotask=="function"?queueMicrotask:typeof ab!="undefined"?function(e){return ab.resolve(null).then(e).catch(nI)}:Zg;function nI(e){setTimeout(function(){throw e})}function Tm(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xc(t)}function ji(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function lb(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kl=Math.random().toString(36).slice(2),gi="__reactFiber$"+kl,tu="__reactProps$"+kl,Ji="__reactContainer$"+kl,Jg="__reactEvents$"+kl,rI="__reactListeners$"+kl,iI="__reactHandles$"+kl;function xs(e){var t=e[gi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ji]||n[gi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=lb(e);e!==null;){if(n=e[gi])return n;e=lb(e)}return t}e=n,n=e.parentNode}return null}function Lu(e){return e=e[gi]||e[Ji],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ca(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(q(33))}function Lp(e){return e[tu]||null}var Qg=[],Ra=-1;function es(e){return{current:e}}function gt(e){0>Ra||(e.current=Qg[Ra],Qg[Ra]=null,Ra--)}function ut(e,t){Ra++,Qg[Ra]=e.current,e.current=t}var Vo={},Cn=es(Vo),Hn=es(!1),Bs=Vo;function el(e,t){var n=e.type.contextTypes;if(!n)return Vo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Yn(e){return e=e.childContextTypes,e!=null}function Gf(){gt(Hn),gt(Cn)}function cb(e,t,n){if(Cn.current!==Vo)throw Error(q(168));ut(Cn,t),ut(Hn,n)}function Ak(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(q(108,WP(e)||"Unknown",i));return Dt({},n,r)}function Kf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vo,Bs=Cn.current,ut(Cn,e),ut(Hn,Hn.current),!0}function ub(e,t,n){var r=e.stateNode;if(!r)throw Error(q(169));n?(e=Ak(e,t,Bs),r.__reactInternalMemoizedMergedChildContext=e,gt(Hn),gt(Cn),ut(Cn,e)):gt(Hn),ut(Hn,n)}var Ui=null,Fp=!1,Mm=!1;function $k(e){Ui===null?Ui=[e]:Ui.push(e)}function oI(e){Fp=!0,$k(e)}function ts(){if(!Mm&&Ui!==null){Mm=!0;var e=0,t=nt;try{var n=Ui;for(nt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ui=null,Fp=!1}catch(i){throw Ui!==null&&(Ui=Ui.slice(e+1)),sk(by,ts),i}finally{nt=t,Mm=!1}}return null}var sI=no.ReactCurrentBatchConfig;function zr(e,t){if(e&&e.defaultProps){t=Dt({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var qf=es(null),Xf=null,Ta=null,My=null;function Py(){My=Ta=Xf=null}function Oy(e){var t=qf.current;gt(qf),e._currentValue=t}function ev(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ua(e,t){Xf=e,My=Ta=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(jn=!0),e.firstContext=null)}function kr(e){var t=e._currentValue;if(My!==e)if(e={context:e,memoizedValue:t,next:null},Ta===null){if(Xf===null)throw Error(q(308));Ta=e,Xf.dependencies={lanes:0,firstContext:e}}else Ta=Ta.next=e;return t}var Vr=null,mo=!1;function Iy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nk(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $o(e,t){var n=e.updateQueue;n!==null&&(n=n.shared,kC(e)?(e=n.interleaved,e===null?(t.next=t,Vr===null?Vr=[n]:Vr.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(e=n.pending,e===null?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function bf(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xy(e,n)}}function db(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Zf(e,t,n,r){var i=e.updateQueue;mo=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(f=t,p=n,g.tag){case 1:if(h=g.payload,typeof h=="function"){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h=="function"?h.call(p,d,f):h,f==null)break e;d=Dt({},d,f);break e;case 2:mo=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ws|=s,e.lanes=s,e.memoizedState=d}}function fb(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(q(191,i));i.call(r)}}}var Lk=new BE.Component().refs;function tv(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Dt({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Bp={isMounted:function(e){return(e=e._reactInternals)?Js(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$n(),i=Lo(e),o=qi(r,i);o.payload=t,n!=null&&(o.callback=n),$o(e,o),t=xr(e,i,r),t!==null&&bf(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$n(),i=Lo(e),o=qi(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),$o(e,o),t=xr(e,i,r),t!==null&&bf(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$n(),r=Lo(e),i=qi(n,r);i.tag=2,t!=null&&(i.callback=t),$o(e,i),t=xr(e,r,n),t!==null&&bf(t,e,r)}};function pb(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Jc(n,r)||!Jc(i,o):!0}function Fk(e,t,n){var r=!1,i=Vo,o=t.contextType;return typeof o=="object"&&o!==null?o=kr(o):(i=Yn(t)?Bs:Cn.current,r=t.contextTypes,o=(r=r!=null)?el(e,i):Vo),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Bp,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function hb(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bp.enqueueReplaceState(t,t.state,null)}function nv(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Lk,Iy(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=kr(o):(o=Yn(t)?Bs:Cn.current,i.context=el(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(tv(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Bp.enqueueReplaceState(i,i.state,null),Zf(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}var Ma=[],Pa=0,Jf=null,Qf=0,pr=[],hr=0,zs=null,Hi=1,Yi="";function ms(e,t){Ma[Pa++]=Qf,Ma[Pa++]=Jf,Jf=e,Qf=t}function Bk(e,t,n){pr[hr++]=Hi,pr[hr++]=Yi,pr[hr++]=zs,zs=e;var r=Hi;e=Yi;var i=32-qr(r)-1;r&=~(1<<i),n+=1;var o=32-qr(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Hi=1<<32-qr(t)+i|n<<i|r,Yi=o+e}else Hi=1<<o|n<<i|r,Yi=e}function Dy(e){e.return!==null&&(ms(e,1),Bk(e,1,0))}function Ay(e){for(;e===Jf;)Jf=Ma[--Pa],Ma[Pa]=null,Qf=Ma[--Pa],Ma[Pa]=null;for(;e===zs;)zs=pr[--hr],pr[hr]=null,Yi=pr[--hr],pr[hr]=null,Hi=pr[--hr],pr[hr]=null}var nr=null,Un=null,Ct=!1,Hr=null;function zk(e,t){var n=yr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function mb(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,nr=e,Un=ji(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,nr=e,Un=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zs!==null?{id:Hi,overflow:Yi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,nr=e,Un=null,!0):!1;default:return!1}}function rv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function iv(e){if(Ct){var t=Un;if(t){var n=t;if(!mb(e,t)){if(rv(e))throw Error(q(418));t=ji(n.nextSibling);var r=nr;t&&mb(e,t)?zk(r,n):(e.flags=e.flags&-4097|2,Ct=!1,nr=e)}}else{if(rv(e))throw Error(q(418));e.flags=e.flags&-4097|2,Ct=!1,nr=e}}}function gb(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;nr=e}function zl(e){if(e!==nr)return!1;if(!Ct)return gb(e),Ct=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Xg(e.type,e.memoizedProps)),t&&(t=Un)){if(rv(e)){for(e=Un;e;)e=ji(e.nextSibling);throw Error(q(418))}for(;t;)zk(e,t),t=ji(t.nextSibling)}if(gb(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(q(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Un=ji(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Un=null}}else Un=nr?ji(e.stateNode.nextSibling):null;return!0}function tl(){Un=nr=null,Ct=!1}function $y(e){Hr===null?Hr=[e]:Hr.push(e)}function Ul(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(q(309));var r=n.stateNode}if(!r)throw Error(q(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;a===Lk&&(a=i.refs={}),s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(q(284));if(!n._owner)throw Error(q(290,e))}return e}function Cd(e,t){throw e=Object.prototype.toString.call(t),Error(q(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vb(e){var t=e._init;return t(e._payload)}function Uk(e){function t(m,v){if(e){var y=m.deletions;y===null?(m.deletions=[v],m.flags|=16):y.push(v)}}function n(m,v){if(!e)return null;for(;v!==null;)t(m,v),v=v.sibling;return null}function r(m,v){for(m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function i(m,v){return m=Go(m,v),m.index=0,m.sibling=null,m}function o(m,v,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<v?(m.flags|=2,v):y):(m.flags|=2,v)):(m.flags|=1048576,v)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,v,y,x){return v===null||v.tag!==6?(v=$m(y,m.mode,x),v.return=m,v):(v=i(v,y),v.return=m,v)}function l(m,v,y,x){var w=y.type;return w===Sa?u(m,v,y.props.children,x,y.key):v!==null&&(v.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ho&&vb(w)===v.type)?(x=i(v,y.props),x.ref=Ul(m,v,y),x.return=m,x):(x=kf(y.type,y.key,y.props,null,m.mode,x),x.ref=Ul(m,v,y),x.return=m,x)}function c(m,v,y,x){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=Nm(y,m.mode,x),v.return=m,v):(v=i(v,y.children||[]),v.return=m,v)}function u(m,v,y,x,w){return v===null||v.tag!==7?(v=Os(y,m.mode,x,w),v.return=m,v):(v=i(v,y),v.return=m,v)}function d(m,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=$m(""+v,m.mode,y),v.return=m,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case gd:return y=kf(v.type,v.key,v.props,null,m.mode,y),y.ref=Ul(m,null,v),y.return=m,y;case xa:return v=Nm(v,m.mode,y),v.return=m,v;case ho:var x=v._init;return d(m,x(v._payload),y)}if(lc(v)||$l(v))return v=Os(v,m.mode,y,null),v.return=m,v;Cd(m,v)}return null}function f(m,v,y,x){var w=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return w!==null?null:a(m,v,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case gd:return y.key===w?l(m,v,y,x):null;case xa:return y.key===w?c(m,v,y,x):null;case ho:return w=y._init,f(m,v,w(y._payload),x)}if(lc(y)||$l(y))return w!==null?null:u(m,v,y,x,null);Cd(m,y)}return null}function p(m,v,y,x,w){if(typeof x=="string"&&x!==""||typeof x=="number")return m=m.get(y)||null,a(v,m,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case gd:return m=m.get(x.key===null?y:x.key)||null,l(v,m,x,w);case xa:return m=m.get(x.key===null?y:x.key)||null,c(v,m,x,w);case ho:var k=x._init;return p(m,v,y,k(x._payload),w)}if(lc(x)||$l(x))return m=m.get(y)||null,u(v,m,x,w,null);Cd(v,x)}return null}function h(m,v,y,x){for(var w=null,k=null,E=v,R=v=0,C=null;E!==null&&R<y.length;R++){E.index>R?(C=E,E=null):C=E.sibling;var T=f(m,E,y[R],x);if(T===null){E===null&&(E=C);break}e&&E&&T.alternate===null&&t(m,E),v=o(T,v,R),k===null?w=T:k.sibling=T,k=T,E=C}if(R===y.length)return n(m,E),Ct&&ms(m,R),w;if(E===null){for(;R<y.length;R++)E=d(m,y[R],x),E!==null&&(v=o(E,v,R),k===null?w=E:k.sibling=E,k=E);return Ct&&ms(m,R),w}for(E=r(m,E);R<y.length;R++)C=p(E,m,R,y[R],x),C!==null&&(e&&C.alternate!==null&&E.delete(C.key===null?R:C.key),v=o(C,v,R),k===null?w=C:k.sibling=C,k=C);return e&&E.forEach(function(P){return t(m,P)}),Ct&&ms(m,R),w}function g(m,v,y,x){var w=$l(y);if(typeof w!="function")throw Error(q(150));if(y=w.call(y),y==null)throw Error(q(151));for(var k=w=null,E=v,R=v=0,C=null,T=y.next();E!==null&&!T.done;R++,T=y.next()){E.index>R?(C=E,E=null):C=E.sibling;var P=f(m,E,T.value,x);if(P===null){E===null&&(E=C);break}e&&E&&P.alternate===null&&t(m,E),v=o(P,v,R),k===null?w=P:k.sibling=P,k=P,E=C}if(T.done)return n(m,E),Ct&&ms(m,R),w;if(E===null){for(;!T.done;R++,T=y.next())T=d(m,T.value,x),T!==null&&(v=o(T,v,R),k===null?w=T:k.sibling=T,k=T);return Ct&&ms(m,R),w}for(E=r(m,E);!T.done;R++,T=y.next())T=p(E,m,R,T.value,x),T!==null&&(e&&T.alternate!==null&&E.delete(T.key===null?R:T.key),v=o(T,v,R),k===null?w=T:k.sibling=T,k=T);return e&&E.forEach(function($){return t(m,$)}),Ct&&ms(m,R),w}function _(m,v,y,x){if(typeof y=="object"&&y!==null&&y.type===Sa&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case gd:e:{for(var w=y.key,k=v;k!==null;){if(k.key===w){if(w=y.type,w===Sa){if(k.tag===7){n(m,k.sibling),v=i(k,y.props.children),v.return=m,m=v;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ho&&vb(w)===k.type){n(m,k.sibling),v=i(k,y.props),v.ref=Ul(m,k,y),v.return=m,m=v;break e}n(m,k);break}else t(m,k);k=k.sibling}y.type===Sa?(v=Os(y.props.children,m.mode,x,y.key),v.return=m,m=v):(x=kf(y.type,y.key,y.props,null,m.mode,x),x.ref=Ul(m,v,y),x.return=m,m=x)}return s(m);case xa:e:{for(k=y.key;v!==null;){if(v.key===k)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(m,v.sibling),v=i(v,y.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=Nm(y,m.mode,x),v.return=m,m=v}return s(m);case ho:return k=y._init,_(m,v,k(y._payload),x)}if(lc(y))return h(m,v,y,x);if($l(y))return g(m,v,y,x);Cd(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,y),v.return=m,m=v):(n(m,v),v=$m(y,m.mode,x),v.return=m,m=v),s(m)):n(m,v)}return _}var nl=Uk(!0),Wk=Uk(!1),Fu={},xi=es(Fu),nu=es(Fu),ru=es(Fu);function Ss(e){if(e===Fu)throw Error(q(174));return e}function Ny(e,t){switch(ut(ru,t),ut(nu,e),ut(xi,Fu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ng(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ng(t,e)}gt(xi),ut(xi,t)}function rl(){gt(xi),gt(nu),gt(ru)}function jk(e){Ss(ru.current);var t=Ss(xi.current),n=Ng(t,e.type);t!==n&&(ut(nu,e),ut(xi,n))}function Ly(e){nu.current===e&&(gt(xi),gt(nu))}var Ot=es(0);function ep(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pm=[];function Fy(){for(var e=0;e<Pm.length;e++)Pm[e]._workInProgressVersionPrimary=null;Pm.length=0}var xf=no.ReactCurrentDispatcher,Om=no.ReactCurrentBatchConfig,Us=0,It=null,Gt=null,en=null,tp=!1,xc=!1,iu=0,aI=0;function gn(){throw Error(q(321))}function By(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zr(e[n],t[n]))return!1;return!0}function zy(e,t,n,r,i,o){if(Us=o,It=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xf.current=e===null||e.memoizedState===null?dI:fI,e=n(r,i),xc){o=0;do{if(xc=!1,iu=0,25<=o)throw Error(q(301));o+=1,en=Gt=null,t.updateQueue=null,xf.current=pI,e=n(r,i)}while(xc)}if(xf.current=np,t=Gt!==null&&Gt.next!==null,Us=0,en=Gt=It=null,tp=!1,t)throw Error(q(300));return e}function Uy(){var e=iu!==0;return iu=0,e}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return en===null?It.memoizedState=en=e:en=en.next=e,en}function Cr(){if(Gt===null){var e=It.alternate;e=e!==null?e.memoizedState:null}else e=Gt.next;var t=en===null?It.memoizedState:en.next;if(t!==null)en=t,Gt=e;else{if(e===null)throw Error(q(310));Gt=e,e={memoizedState:Gt.memoizedState,baseState:Gt.baseState,baseQueue:Gt.baseQueue,queue:Gt.queue,next:null},en===null?It.memoizedState=en=e:en=en.next=e}return en}function ou(e,t){return typeof t=="function"?t(e):t}function Im(e){var t=Cr(),n=t.queue;if(n===null)throw Error(q(311));n.lastRenderedReducer=e;var r=Gt,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((Us&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,It.lanes|=u,Ws|=u}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,Zr(r,t.memoizedState)||(jn=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,It.lanes|=o,Ws|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Dm(e){var t=Cr(),n=t.queue;if(n===null)throw Error(q(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Zr(o,t.memoizedState)||(jn=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Hk(){}function Yk(e,t){var n=It,r=Cr(),i=t(),o=!Zr(r.memoizedState,i);if(o&&(r.memoizedState=i,jn=!0),r=r.queue,Wy(Kk.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||en!==null&&en.memoizedState.tag&1){if(n.flags|=2048,su(9,Gk.bind(null,n,r,i,t),void 0,null),Zt===null)throw Error(q(349));(Us&30)!==0||Vk(n,t,i)}return i}function Vk(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=It.updateQueue,t===null?(t={lastEffect:null,stores:null},It.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gk(e,t,n,r){t.value=n,t.getSnapshot=r,qk(t)&&xr(e,1,-1)}function Kk(e,t,n){return n(function(){qk(t)&&xr(e,1,-1)})}function qk(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zr(e,n)}catch{return!0}}function yb(e){var t=ui();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:e},t.queue=e,e=e.dispatch=uI.bind(null,It,e),[t.memoizedState,e]}function su(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=It.updateQueue,t===null?(t={lastEffect:null,stores:null},It.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Xk(){return Cr().memoizedState}function Sf(e,t,n,r){var i=ui();It.flags|=e,i.memoizedState=su(1|t,n,void 0,r===void 0?null:r)}function zp(e,t,n,r){var i=Cr();r=r===void 0?null:r;var o=void 0;if(Gt!==null){var s=Gt.memoizedState;if(o=s.destroy,r!==null&&By(r,s.deps)){i.memoizedState=su(t,n,o,r);return}}It.flags|=e,i.memoizedState=su(1|t,n,o,r)}function _b(e,t){return Sf(8390656,8,e,t)}function Wy(e,t){return zp(2048,8,e,t)}function Zk(e,t){return zp(4,2,e,t)}function Jk(e,t){return zp(4,4,e,t)}function Qk(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function eC(e,t,n){return n=n!=null?n.concat([e]):null,zp(4,4,Qk.bind(null,t,e),n)}function jy(){}function tC(e,t){var n=Cr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&By(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function nC(e,t){var n=Cr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&By(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function rC(e,t,n){return(Us&21)===0?(e.baseState&&(e.baseState=!1,jn=!0),e.memoizedState=n):(Zr(n,t)||(n=ck(),It.lanes|=n,Ws|=n,e.baseState=!0),t)}function lI(e,t){var n=nt;nt=n!==0&&4>n?n:4,e(!0);var r=Om.transition;Om.transition={};try{e(!1),t()}finally{nt=n,Om.transition=r}}function iC(){return Cr().memoizedState}function cI(e,t,n){var r=Lo(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oC(e)?sC(t,n):(aC(e,t,n),n=$n(),e=xr(e,r,n),e!==null&&lC(e,t,r))}function uI(e,t,n){var r=Lo(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oC(e))sC(t,i);else{aC(e,t,i);var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Zr(a,s))return}catch{}finally{}n=$n(),e=xr(e,r,n),e!==null&&lC(e,t,r)}}function oC(e){var t=e.alternate;return e===It||t!==null&&t===It}function sC(e,t){xc=tp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function aC(e,t,n){kC(e)?(e=t.interleaved,e===null?(n.next=n,Vr===null?Vr=[t]:Vr.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(e=t.pending,e===null?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function lC(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xy(e,n)}}var np={readContext:kr,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useInsertionEffect:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useMutableSource:gn,useSyncExternalStore:gn,useId:gn,unstable_isNewReconciler:!1},dI={readContext:kr,useCallback:function(e,t){return ui().memoizedState=[e,t===void 0?null:t],e},useContext:kr,useEffect:_b,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sf(4194308,4,Qk.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sf(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sf(4,2,e,t)},useMemo:function(e,t){var n=ui();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ui();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cI.bind(null,It,e),[r.memoizedState,e]},useRef:function(e){var t=ui();return e={current:e},t.memoizedState=e},useState:yb,useDebugValue:jy,useDeferredValue:function(e){return ui().memoizedState=e},useTransition:function(){var e=yb(!1),t=e[0];return e=lI.bind(null,e[1]),ui().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=It,i=ui();if(Ct){if(n===void 0)throw Error(q(407));n=n()}else{if(n=t(),Zt===null)throw Error(q(349));(Us&30)!==0||Vk(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_b(Kk.bind(null,r,o,e),[e]),r.flags|=2048,su(9,Gk.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ui(),t=Zt.identifierPrefix;if(Ct){var n=Yi,r=Hi;n=(r&~(1<<32-qr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=iu++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=aI++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},fI={readContext:kr,useCallback:tC,useContext:kr,useEffect:Wy,useImperativeHandle:eC,useInsertionEffect:Zk,useLayoutEffect:Jk,useMemo:nC,useReducer:Im,useRef:Xk,useState:function(){return Im(ou)},useDebugValue:jy,useDeferredValue:function(e){var t=Cr();return rC(t,Gt.memoizedState,e)},useTransition:function(){var e=Im(ou)[0],t=Cr().memoizedState;return[e,t]},useMutableSource:Hk,useSyncExternalStore:Yk,useId:iC,unstable_isNewReconciler:!1},pI={readContext:kr,useCallback:tC,useContext:kr,useEffect:Wy,useImperativeHandle:eC,useInsertionEffect:Zk,useLayoutEffect:Jk,useMemo:nC,useReducer:Dm,useRef:Xk,useState:function(){return Dm(ou)},useDebugValue:jy,useDeferredValue:function(e){var t=Cr();return Gt===null?t.memoizedState=e:rC(t,Gt.memoizedState,e)},useTransition:function(){var e=Dm(ou)[0],t=Cr().memoizedState;return[e,t]},useMutableSource:Hk,useSyncExternalStore:Yk,useId:iC,unstable_isNewReconciler:!1};function Hy(e,t){try{var n="",r=t;do n+=UP(r),r=r.return;while(r);var i=n}catch(o){i=`
|
31 |
Error generating stack: `+o.message+`
|
32 |
+
`+o.stack}return{value:e,source:t,stack:i}}function ov(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var hI=typeof WeakMap=="function"?WeakMap:Map;function cC(e,t,n){n=qi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ip||(ip=!0,hv=r),ov(e,t)},n}function uC(e,t,n){n=qi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ov(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ov(e,t),typeof r!="function"&&(No===null?No=new Set([this]):No.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function bb(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new hI;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=RI.bind(null,e,t,n),t.then(e,e))}function xb(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Sb(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qi(-1,1),t.tag=2,$o(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var dC,sv,fC,pC;dC=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sv=function(){};fC=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ss(xi.current);var o=null;switch(n){case"input":i=Ig(e,i),r=Ig(e,r),o=[];break;case"select":i=Dt({},i,{value:void 0}),r=Dt({},r,{value:void 0}),o=[];break;case"textarea":i=$g(e,i),r=$g(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vf)}Lg(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Yc.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Yc.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&pt("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};pC=function(e,t,n,r){n!==r&&(t.flags|=4)};function Wl(e,t){if(!Ct)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function mI(e,t,n){var r=t.pendingProps;switch(Ay(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vn(t),null;case 1:return Yn(t.type)&&Gf(),vn(t),null;case 3:return r=t.stateNode,rl(),gt(Hn),gt(Cn),Fy(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Hr!==null&&(vv(Hr),Hr=null))),sv(e,t),vn(t),null;case 5:Ly(t);var i=Ss(ru.current);if(n=t.type,e!==null&&t.stateNode!=null)fC(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(q(166));return vn(t),null}if(e=Ss(xi.current),zl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[gi]=t,r[tu]=o,e=(t.mode&1)!==0,n){case"dialog":pt("cancel",r),pt("close",r);break;case"iframe":case"object":case"embed":pt("load",r);break;case"video":case"audio":for(i=0;i<uc.length;i++)pt(uc[i],r);break;case"source":pt("error",r);break;case"img":case"image":case"link":pt("error",r),pt("load",r);break;case"details":pt("toggle",r);break;case"input":N1(r,o),pt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},pt("invalid",r);break;case"textarea":F1(r,o),pt("invalid",r)}Lg(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&kd(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&kd(r.textContent,a,e),i=["children",""+a]):Yc.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&pt("scroll",r)}switch(n){case"input":vd(r),L1(r,o,!0);break;case"textarea":vd(r),B1(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Vf)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=KE(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[gi]=t,e[tu]=r,dC(e,t,!1,!1),t.stateNode=e;e:{switch(s=Fg(n,r),n){case"dialog":pt("cancel",e),pt("close",e),i=r;break;case"iframe":case"object":case"embed":pt("load",e),i=r;break;case"video":case"audio":for(i=0;i<uc.length;i++)pt(uc[i],e);i=r;break;case"source":pt("error",e),i=r;break;case"img":case"image":case"link":pt("error",e),pt("load",e),i=r;break;case"details":pt("toggle",e),i=r;break;case"input":N1(e,r),i=Ig(e,r),pt("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Dt({},r,{value:void 0}),pt("invalid",e);break;case"textarea":F1(e,r),i=$g(e,r),pt("invalid",e);break;default:i=r}Lg(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?ZE(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&qE(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Vc(e,l):typeof l=="number"&&Vc(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Yc.hasOwnProperty(o)?l!=null&&o==="onScroll"&&pt("scroll",e):l!=null&&my(e,o,l,s))}switch(n){case"input":vd(e),L1(e,r,!1);break;case"textarea":vd(e),B1(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Yo(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?La(e,!!r.multiple,o,!1):r.defaultValue!=null&&La(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Vf)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return vn(t),null;case 6:if(e&&t.stateNode!=null)pC(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(q(166));if(n=Ss(ru.current),Ss(xi.current),zl(t)){if(r=t.stateNode,n=t.memoizedProps,r[gi]=t,(o=r.nodeValue!==n)&&(e=nr,e!==null))switch(e.tag){case 3:kd(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&kd(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gi]=t,t.stateNode=r}return vn(t),null;case 13:if(gt(Ot),r=t.memoizedState,Ct&&Un!==null&&(t.mode&1)!==0&&(t.flags&128)===0){for(r=Un;r;)r=ji(r.nextSibling);return tl(),t.flags|=98560,t}if(r!==null&&r.dehydrated!==null){if(r=zl(t),e===null){if(!r)throw Error(q(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(q(317));r[gi]=t}else tl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;return vn(t),null}return Hr!==null&&(vv(Hr),Hr=null),(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,n=!1,e===null?zl(t):n=e.memoizedState!==null,r!==n&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ot.current&1)!==0?Kt===0&&(Kt=3):Xy())),t.updateQueue!==null&&(t.flags|=4),vn(t),null);case 4:return rl(),sv(e,t),e===null&&Qc(t.stateNode.containerInfo),vn(t),null;case 10:return Oy(t.type._context),vn(t),null;case 17:return Yn(t.type)&&Gf(),vn(t),null;case 19:if(gt(Ot),o=t.memoizedState,o===null)return vn(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Wl(o,!1);else{if(Kt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=ep(e),s!==null){for(t.flags|=128,Wl(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ut(Ot,Ot.current&1|2),t.child}e=e.sibling}o.tail!==null&&zt()>il&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304)}else{if(!r)if(e=ep(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Wl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ct)return vn(t),null}else 2*zt()-o.renderingStartTime>il&&n!==1073741824&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=zt(),t.sibling=null,n=Ot.current,ut(Ot,r?n&1|2:n&1),t):(vn(t),null);case 22:case 23:return qy(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Qn&1073741824)!==0&&(vn(t),t.subtreeFlags&6&&(t.flags|=8192)):vn(t),null;case 24:return null;case 25:return null}throw Error(q(156,t.tag))}var gI=no.ReactCurrentOwner,jn=!1;function In(e,t,n,r){t.child=e===null?Wk(t,null,n,r):nl(t,e.child,n,r)}function wb(e,t,n,r,i){n=n.render;var o=t.ref;return Ua(t,i),r=zy(e,t,n,r,o,i),n=Uy(),e!==null&&!jn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qi(e,t,i)):(Ct&&n&&Dy(t),t.flags|=1,In(e,t,r,i),t.child)}function Eb(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Zy(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hC(e,t,o,r,i)):(e=kf(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Jc,n(s,r)&&e.ref===t.ref)return Qi(e,t,i)}return t.flags|=1,e=Go(o,r),e.ref=t.ref,e.return=t,t.child=e}function hC(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Jc(o,r)&&e.ref===t.ref)if(jn=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(jn=!0);else return t.lanes=e.lanes,Qi(e,t,i)}return av(e,t,n,r,i)}function mC(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ut(Ia,Qn),Qn|=n;else if((n&1073741824)!==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ut(Ia,Qn),Qn|=r;else return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ut(Ia,Qn),Qn|=e,null;else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ut(Ia,Qn),Qn|=r;return In(e,t,i,n),t.child}function gC(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function av(e,t,n,r,i){var o=Yn(n)?Bs:Cn.current;return o=el(t,o),Ua(t,i),n=zy(e,t,n,r,o,i),r=Uy(),e!==null&&!jn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qi(e,t,i)):(Ct&&r&&Dy(t),t.flags|=1,In(e,t,n,i),t.child)}function kb(e,t,n,r,i){if(Yn(n)){var o=!0;Kf(t)}else o=!1;if(Ua(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Fk(t,n,r),nv(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=kr(c):(c=Yn(n)?Bs:Cn.current,c=el(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&hb(t,s,r,c),mo=!1;var f=t.memoizedState;s.state=f,Zf(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Hn.current||mo?(typeof u=="function"&&(tv(t,n,u,r),l=t.memoizedState),(a=mo||pb(t,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Nk(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:zr(t.type,a),s.props=c,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=kr(l):(l=Yn(n)?Bs:Cn.current,l=el(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&hb(t,s,r,l),mo=!1,f=t.memoizedState,s.state=f,Zf(t,r,s,i);var h=t.memoizedState;a!==d||f!==h||Hn.current||mo?(typeof p=="function"&&(tv(t,n,p,r),h=t.memoizedState),(c=mo||pb(t,n,c,r,f,h,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return lv(e,t,n,r,o,i)}function lv(e,t,n,r,i,o){gC(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&ub(t,n,!1),Qi(e,t,o);r=t.stateNode,gI.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=nl(t,e.child,null,o),t.child=nl(t,null,a,o)):In(e,t,a,o),t.memoizedState=r.state,i&&ub(t,n,!0),t.child}function vC(e){var t=e.stateNode;t.pendingContext?cb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cb(e,t.context,!1),Ny(e,t.containerInfo)}function Cb(e,t,n,r,i){return tl(),$y(i),t.flags|=256,In(e,t,n,r),t.child}var Rd={dehydrated:null,treeContext:null,retryLane:0};function Td(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rb(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function yC(e,t,n){var r=t.pendingProps,i=Ot.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ut(Ot,i&1),e===null)return iv(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=i):o=ap(i,r,0,null),e=Os(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Td(n),t.memoizedState=Rd,e):cv(t,i));if(i=e.memoizedState,i!==null){if(a=i.dehydrated,a!==null){if(s)return t.flags&256?(t.flags&=-257,Md(e,t,n,Error(q(422)))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=ap({mode:"visible",children:r.children},i,0,null),o=Os(o,i,n,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&nl(t,e.child,null,n),t.child.memoizedState=Td(n),t.memoizedState=Rd,o);if((t.mode&1)===0)t=Md(e,t,n,null);else if(a.data==="$!")t=Md(e,t,n,Error(q(419)));else if(r=(n&e.childLanes)!==0,jn||r){if(r=Zt,r!==null){switch(n&-n){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}r=(o&(r.suspendedLanes|n))!==0?0:o,r!==0&&r!==i.retryLane&&(i.retryLane=r,xr(e,r,-1))}Xy(),t=Md(e,t,n,Error(q(421)))}else a.data==="$?"?(t.flags|=128,t.child=e.child,t=TI.bind(null,e),a._reactRetry=t,t=null):(n=i.treeContext,Un=ji(a.nextSibling),nr=t,Ct=!0,Hr=null,n!==null&&(pr[hr++]=Hi,pr[hr++]=Yi,pr[hr++]=zs,Hi=n.id,Yi=n.overflow,zs=t),t=cv(t,t.pendingProps.children),t.flags|=4096);return t}return o?(r=Mb(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?Td(n):Rb(i,n),o.childLanes=e.childLanes&~n,t.memoizedState=Rd,r):(n=Tb(e,t,r.children,n),t.memoizedState=null,n)}return o?(r=Mb(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?Td(n):Rb(i,n),o.childLanes=e.childLanes&~n,t.memoizedState=Rd,r):(n=Tb(e,t,r.children,n),t.memoizedState=null,n)}function cv(e,t){return t=ap({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Tb(e,t,n,r){var i=e.child;return e=i.sibling,n=Go(i,{mode:"visible",children:n}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Mb(e,t,n,r,i){var o=t.mode;e=e.child;var s=e.sibling,a={mode:"hidden",children:n};return(o&1)===0&&t.child!==e?(n=t.child,n.childLanes=0,n.pendingProps=a,t.deletions=null):(n=Go(e,a),n.subtreeFlags=e.subtreeFlags&14680064),s!==null?r=Go(s,r):(r=Os(r,o,i,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Md(e,t,n,r){return r!==null&&$y(r),nl(t,e.child,null,n),e=cv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Pb(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ev(e.return,t,n)}function Am(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function _C(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(In(e,t,r.children,n),r=Ot.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Pb(e,n,t);else if(e.tag===19)Pb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ut(Ot,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ep(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Am(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ep(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Am(t,!0,n,null,o);break;case"together":Am(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ws|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(q(153));if(t.child!==null){for(e=t.child,n=Go(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Go(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function vI(e,t,n){switch(t.tag){case 3:vC(t),tl();break;case 5:jk(t);break;case 1:Yn(t.type)&&Kf(t);break;case 4:Ny(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ut(qf,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ut(Ot,Ot.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?yC(e,t,n):(ut(Ot,Ot.current&1),e=Qi(e,t,n),e!==null?e.sibling:null);ut(Ot,Ot.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return _C(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ut(Ot,Ot.current),r)break;return null;case 22:case 23:return t.lanes=0,mC(e,t,n)}return Qi(e,t,n)}function yI(e,t){switch(Ay(t),t.tag){case 1:return Yn(t.type)&&Gf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rl(),gt(Hn),gt(Cn),Fy(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ly(t),null;case 13:if(gt(Ot),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(q(340));tl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(Ot),null;case 4:return rl(),null;case 10:return Oy(t.type._context),null;case 22:case 23:return qy(),null;case 24:return null;default:return null}}var Pd=!1,bn=!1,_I=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Oa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Nt(e,t,r)}else n.current=null}function uv(e,t,n){try{n()}catch(r){Nt(e,t,r)}}var Ob=!1;function bI(e,t){if(Kg=jf,e=kk(),Ty(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(qg={focusedElem:e,selectionRange:n},jf=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:zr(t.type,g),_);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;if(y.nodeType===1)y.textContent="";else if(y.nodeType===9){var x=y.body;x!=null&&(x.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(q(163))}}catch(w){Nt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return h=Ob,Ob=!1,h}function Sc(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&uv(t,n,o)}i=i.next}while(i!==r)}}function Up(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function dv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function bC(e){var t=e.alternate;t!==null&&(e.alternate=null,bC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gi],delete t[tu],delete t[Jg],delete t[rI],delete t[iI])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function xC(e){return e.tag===5||e.tag===3||e.tag===4}function Ib(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||xC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vf));else if(r!==4&&(e=e.child,e!==null))for(fv(e,t,n),e=e.sibling;e!==null;)fv(e,t,n),e=e.sibling}function pv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pv(e,t,n),e=e.sibling;e!==null;)pv(e,t,n),e=e.sibling}var ln=null,Ur=!1;function co(e,t,n){for(n=n.child;n!==null;)SC(e,t,n),n=n.sibling}function SC(e,t,n){if(bi&&typeof bi.onCommitFiberUnmount=="function")try{bi.onCommitFiberUnmount(Dp,n)}catch{}switch(n.tag){case 5:bn||Oa(n,t);case 6:var r=ln,i=Ur;ln=null,co(e,t,n),ln=r,Ur=i,ln!==null&&(Ur?(e=ln,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ln.removeChild(n.stateNode));break;case 18:ln!==null&&(Ur?(e=ln,n=n.stateNode,e.nodeType===8?Tm(e.parentNode,n):e.nodeType===1&&Tm(e,n),Xc(e)):Tm(ln,n.stateNode));break;case 4:r=ln,i=Ur,ln=n.stateNode.containerInfo,Ur=!0,co(e,t,n),ln=r,Ur=i;break;case 0:case 11:case 14:case 15:if(!bn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((o&2)!==0||(o&4)!==0)&&uv(n,t,s),i=i.next}while(i!==r)}co(e,t,n);break;case 1:if(!bn&&(Oa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Nt(n,t,a)}co(e,t,n);break;case 21:co(e,t,n);break;case 22:n.mode&1?(bn=(r=bn)||n.memoizedState!==null,co(e,t,n),bn=r):co(e,t,n);break;default:co(e,t,n)}}function Db(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _I),t.forEach(function(r){var i=MI.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Lr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ln=a.stateNode,Ur=!1;break e;case 3:ln=a.stateNode.containerInfo,Ur=!0;break e;case 4:ln=a.stateNode.containerInfo,Ur=!0;break e}a=a.return}if(ln===null)throw Error(q(160));SC(o,s,i),ln=null,Ur=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){Nt(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)wC(t,e),t=t.sibling}function wC(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Lr(t,e),li(e),r&4){try{Sc(3,e,e.return),Up(3,e)}catch(h){Nt(e,e.return,h)}try{Sc(5,e,e.return)}catch(h){Nt(e,e.return,h)}}break;case 1:Lr(t,e),li(e),r&512&&n!==null&&Oa(n,n.return);break;case 5:if(Lr(t,e),li(e),r&512&&n!==null&&Oa(n,n.return),e.flags&32){var i=e.stateNode;try{Vc(i,"")}catch(h){Nt(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&VE(i,o),Fg(a,s);var c=Fg(a,o);for(s=0;s<l.length;s+=2){var u=l[s],d=l[s+1];u==="style"?ZE(i,d):u==="dangerouslySetInnerHTML"?qE(i,d):u==="children"?Vc(i,d):my(i,u,d,c)}switch(a){case"input":Dg(i,o);break;case"textarea":GE(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?La(i,!!o.multiple,p,!1):f!==!!o.multiple&&(o.defaultValue!=null?La(i,!!o.multiple,o.defaultValue,!0):La(i,!!o.multiple,o.multiple?[]:"",!1))}i[tu]=o}catch(h){Nt(e,e.return,h)}}break;case 6:if(Lr(t,e),li(e),r&4){if(e.stateNode===null)throw Error(q(162));c=e.stateNode,u=e.memoizedProps;try{c.nodeValue=u}catch(h){Nt(e,e.return,h)}}break;case 3:if(Lr(t,e),li(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xc(t.containerInfo)}catch(h){Nt(e,e.return,h)}break;case 4:Lr(t,e),li(e);break;case 13:Lr(t,e),li(e),c=e.child,c.flags&8192&&c.memoizedState!==null&&(c.alternate===null||c.alternate.memoizedState===null)&&(Gy=zt()),r&4&&Db(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(bn=(u=bn)||c,Lr(t,e),bn=u):Lr(t,e),li(e),r&8192){u=e.memoizedState!==null;e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=XE("display",s))}catch(h){Nt(e,e.return,h)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(h){Nt(e,e.return,h)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}if(u&&!c&&(e.mode&1)!==0)for(oe=e,e=e.child;e!==null;){for(c=oe=e;oe!==null;){switch(u=oe,d=u.child,u.tag){case 0:case 11:case 14:case 15:Sc(4,u,u.return);break;case 1:if(Oa(u,u.return),o=u.stateNode,typeof o.componentWillUnmount=="function"){f=u,p=u.return;try{i=f,o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(h){Nt(f,p,h)}}break;case 5:Oa(u,u.return);break;case 22:if(u.memoizedState!==null){$b(c);continue}}d!==null?(d.return=u,oe=d):$b(c)}e=e.sibling}}break;case 19:Lr(t,e),li(e),r&4&&Db(e);break;case 21:break;default:Lr(t,e),li(e)}}function li(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(xC(n)){var r=n;break e}n=n.return}throw Error(q(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Vc(i,""),r.flags&=-33);var o=Ib(e);pv(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Ib(e);fv(e,a,s);break;default:throw Error(q(161))}}catch(l){Nt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xI(e,t,n){oe=e,EC(e)}function EC(e,t,n){for(var r=(e.mode&1)!==0;oe!==null;){var i=oe,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Pd;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||bn;a=Pd;var c=bn;if(Pd=s,(bn=l)&&!c)for(oe=i;oe!==null;)s=oe,l=s.child,s.tag===22&&s.memoizedState!==null?Nb(i):l!==null?(l.return=s,oe=l):Nb(i);for(;o!==null;)oe=o,EC(o),o=o.sibling;oe=i,Pd=a,bn=c}Ab(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,oe=o):Ab(e)}}function Ab(e){for(;oe!==null;){var t=oe;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:bn||Up(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!bn)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:zr(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&fb(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}fb(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&Xc(d)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(q(163))}bn||t.flags&512&&dv(t)}catch(f){Nt(t,t.return,f)}}if(t===e){oe=null;break}if(n=t.sibling,n!==null){n.return=t.return,oe=n;break}oe=t.return}}function $b(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var n=t.sibling;if(n!==null){n.return=t.return,oe=n;break}oe=t.return}}function Nb(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Up(4,t)}catch(l){Nt(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Nt(t,i,l)}}var o=t.return;try{dv(t)}catch(l){Nt(t,o,l)}break;case 5:var s=t.return;try{dv(t)}catch(l){Nt(t,s,l)}}}catch(l){Nt(t,t.return,l)}if(t===e){oe=null;break}var a=t.sibling;if(a!==null){a.return=t.return,oe=a;break}oe=t.return}}var SI=Math.ceil,rp=no.ReactCurrentDispatcher,Yy=no.ReactCurrentOwner,br=no.ReactCurrentBatchConfig,He=0,Zt=null,Wt=null,un=0,Qn=0,Ia=es(0),Kt=0,au=null,Ws=0,Wp=0,Vy=0,wc=null,zn=null,Gy=0,il=1/0,Fi=null,ip=!1,hv=null,No=null,Od=!1,Eo=null,op=0,Ec=0,mv=null,wf=-1,Ef=0;function $n(){return(He&6)!==0?zt():wf!==-1?wf:wf=zt()}function Lo(e){return(e.mode&1)===0?1:(He&2)!==0&&un!==0?un&-un:sI.transition!==null?(Ef===0&&(Ef=ck()),Ef):(e=nt,e!==0||(e=window.event,e=e===void 0?16:gk(e.type)),e)}function xr(e,t,n){if(50<Ec)throw Ec=0,mv=null,Error(q(185));var r=jp(e,t);return r===null?null:($u(r,t,n),((He&2)===0||r!==Zt)&&(r===Zt&&((He&2)===0&&(Wp|=t),Kt===4&&_o(r,un)),Vn(r,n),t===1&&He===0&&(e.mode&1)===0&&(il=zt()+500,Fp&&ts())),r)}function jp(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}function kC(e){return(Zt!==null||Vr!==null)&&(e.mode&1)!==0&&(He&2)===0}function Vn(e,t){var n=e.callbackNode;sO(e,t);var r=Wf(e,e===Zt?un:0);if(r===0)n!==null&&W1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&W1(n),t===1)e.tag===0?oI(Lb.bind(null,e)):$k(Lb.bind(null,e)),tI(function(){He===0&&ts()}),n=null;else{switch(uk(r)){case 1:n=by;break;case 4:n=ak;break;case 16:n=Uf;break;case 536870912:n=lk;break;default:n=Uf}n=DC(n,CC.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function CC(e,t){if(wf=-1,Ef=0,(He&6)!==0)throw Error(q(327));var n=e.callbackNode;if(Wa()&&e.callbackNode!==n)return null;var r=Wf(e,e===Zt?un:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=sp(e,r);else{t=r;var i=He;He|=2;var o=TC();(Zt!==e||un!==t)&&(Fi=null,il=zt()+500,Ps(e,t));do try{kI();break}catch(a){RC(e,a)}while(1);Py(),rp.current=o,He=i,Wt!==null?t=0:(Zt=null,un=0,t=Kt)}if(t!==0){if(t===2&&(i=jg(e),i!==0&&(r=i,t=gv(e,i))),t===1)throw n=au,Ps(e,0),_o(e,r),Vn(e,zt()),n;if(t===6)_o(e,r);else{if(i=e.current.alternate,(r&30)===0&&!wI(i)&&(t=sp(e,r),t===2&&(o=jg(e),o!==0&&(r=o,t=gv(e,o))),t===1))throw n=au,Ps(e,0),_o(e,r),Vn(e,zt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(q(345));case 2:gs(e,zn,Fi);break;case 3:if(_o(e,r),(r&130023424)===r&&(t=Gy+500-zt(),10<t)){if(Wf(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){$n(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Zg(gs.bind(null,e,zn,Fi),t);break}gs(e,zn,Fi);break;case 4:if(_o(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-qr(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=zt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SI(r/1960))-r,10<r){e.timeoutHandle=Zg(gs.bind(null,e,zn,Fi),r);break}gs(e,zn,Fi);break;case 5:gs(e,zn,Fi);break;default:throw Error(q(329))}}}return Vn(e,zt()),e.callbackNode===n?CC.bind(null,e):null}function gv(e,t){var n=wc;return e.current.memoizedState.isDehydrated&&(Ps(e,t).flags|=256),e=sp(e,t),e!==2&&(t=zn,zn=n,t!==null&&vv(t)),e}function vv(e){zn===null?zn=e:zn.push.apply(zn,e)}function wI(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Zr(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _o(e,t){for(t&=~Vy,t&=~Wp,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qr(t),r=1<<n;e[n]=-1,t&=~r}}function Lb(e){if((He&6)!==0)throw Error(q(327));Wa();var t=Wf(e,0);if((t&1)===0)return Vn(e,zt()),null;var n=sp(e,t);if(e.tag!==0&&n===2){var r=jg(e);r!==0&&(t=r,n=gv(e,r))}if(n===1)throw n=au,Ps(e,0),_o(e,t),Vn(e,zt()),n;if(n===6)throw Error(q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,gs(e,zn,Fi),Vn(e,zt()),null}function Ky(e,t){var n=He;He|=1;try{return e(t)}finally{He=n,He===0&&(il=zt()+500,Fp&&ts())}}function js(e){Eo!==null&&Eo.tag===0&&(He&6)===0&&Wa();var t=He;He|=1;var n=br.transition,r=nt;try{if(br.transition=null,nt=1,e)return e()}finally{nt=r,br.transition=n,He=t,(He&6)===0&&ts()}}function qy(){Qn=Ia.current,gt(Ia)}function Ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,eI(n)),Wt!==null)for(n=Wt.return;n!==null;){var r=n;switch(Ay(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Gf();break;case 3:rl(),gt(Hn),gt(Cn),Fy();break;case 5:Ly(r);break;case 4:rl();break;case 13:gt(Ot);break;case 19:gt(Ot);break;case 10:Oy(r.type._context);break;case 22:case 23:qy()}n=n.return}if(Zt=e,Wt=e=Go(e.current,null),un=Qn=t,Kt=0,au=null,Vy=Wp=Ws=0,zn=wc=null,Vr!==null){for(t=0;t<Vr.length;t++)if(n=Vr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Vr=null}return e}function RC(e,t){do{var n=Wt;try{if(Py(),xf.current=np,tp){for(var r=It.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}tp=!1}if(Us=0,en=Gt=It=null,xc=!1,iu=0,Yy.current=null,n===null||n.return===null){Kt=1,au=t,Wt=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=un,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,d=u.tag;if((u.mode&1)===0&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=xb(s);if(p!==null){p.flags&=-257,Sb(p,s,a,o,t),p.mode&1&&bb(o,c,t),t=p,l=c;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break e}else{if((t&1)===0){bb(o,c,t),Xy();break e}l=Error(q(426))}}else if(Ct&&a.mode&1){var _=xb(s);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),Sb(_,s,a,o,t),$y(l);break e}}o=l,Kt!==4&&(Kt=2),wc===null?wc=[o]:wc.push(o),l=Hy(l,a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=cC(a,l,t);db(a,m);break e;case 1:o=l;var v=a.type,y=a.stateNode;if((a.flags&128)===0&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(No===null||!No.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var x=uC(a,o,t);db(a,x);break e}}a=a.return}while(a!==null)}PC(n)}catch(w){t=w,Wt===n&&n!==null&&(Wt=n=n.return);continue}break}while(1)}function TC(){var e=rp.current;return rp.current=np,e===null?np:e}function Xy(){(Kt===0||Kt===3||Kt===2)&&(Kt=4),Zt===null||(Ws&268435455)===0&&(Wp&268435455)===0||_o(Zt,un)}function sp(e,t){var n=He;He|=2;var r=TC();(Zt!==e||un!==t)&&(Fi=null,Ps(e,t));do try{EI();break}catch(i){RC(e,i)}while(1);if(Py(),He=n,rp.current=r,Wt!==null)throw Error(q(261));return Zt=null,un=0,Kt}function EI(){for(;Wt!==null;)MC(Wt)}function kI(){for(;Wt!==null&&!ZP();)MC(Wt)}function MC(e){var t=IC(e.alternate,e,Qn);e.memoizedProps=e.pendingProps,t===null?PC(e):Wt=t,Yy.current=null}function PC(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=mI(n,t,Qn),n!==null){Wt=n;return}}else{if(n=yI(n,t),n!==null){n.flags&=32767,Wt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Kt=6,Wt=null;return}}if(t=t.sibling,t!==null){Wt=t;return}Wt=t=e}while(t!==null);Kt===0&&(Kt=5)}function gs(e,t,n){var r=nt,i=br.transition;try{br.transition=null,nt=1,CI(e,t,n,r)}finally{br.transition=i,nt=r}return null}function CI(e,t,n,r){do Wa();while(Eo!==null);if((He&6)!==0)throw Error(q(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(q(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(aO(e,o),e===Zt&&(Wt=Zt=null,un=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Od||(Od=!0,DC(Uf,function(){return Wa(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=br.transition,br.transition=null;var s=nt;nt=1;var a=He;He|=4,Yy.current=null,bI(e,n),wC(n,e),GO(qg),jf=!!Kg,qg=Kg=null,e.current=n,xI(n),JP(),He=a,nt=s,br.transition=o}else e.current=n;if(Od&&(Od=!1,Eo=e,op=i),o=e.pendingLanes,o===0&&(No=null),tO(n.stateNode),Vn(e,zt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(ip)throw ip=!1,e=hv,hv=null,e;return(op&1)!==0&&e.tag!==0&&Wa(),o=e.pendingLanes,(o&1)!==0?e===mv?Ec++:(Ec=0,mv=e):Ec=0,ts(),null}function Wa(){if(Eo!==null){var e=uk(op),t=br.transition,n=nt;try{if(br.transition=null,nt=16>e?16:e,Eo===null)var r=!1;else{if(e=Eo,Eo=null,op=0,(He&6)!==0)throw Error(q(331));var i=He;for(He|=4,oe=e.current;oe!==null;){var o=oe,s=o.child;if((oe.flags&16)!==0){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(oe=c;oe!==null;){var u=oe;switch(u.tag){case 0:case 11:case 15:Sc(8,u,o)}var d=u.child;if(d!==null)d.return=u,oe=d;else for(;oe!==null;){u=oe;var f=u.sibling,p=u.return;if(bC(u),u===c){oe=null;break}if(f!==null){f.return=p,oe=f;break}oe=p}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}oe=o}}if((o.subtreeFlags&2064)!==0&&s!==null)s.return=o,oe=s;else e:for(;oe!==null;){if(o=oe,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:Sc(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,oe=m;break e}oe=o.return}}var v=e.current;for(oe=v;oe!==null;){s=oe;var y=s.child;if((s.subtreeFlags&2064)!==0&&y!==null)y.return=s,oe=y;else e:for(s=v;oe!==null;){if(a=oe,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Up(9,a)}}catch(w){Nt(a,a.return,w)}if(a===s){oe=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,oe=x;break e}oe=a.return}}if(He=i,ts(),bi&&typeof bi.onPostCommitFiberRoot=="function")try{bi.onPostCommitFiberRoot(Dp,e)}catch{}r=!0}return r}finally{nt=n,br.transition=t}}return!1}function Fb(e,t,n){t=Hy(n,t),t=cC(e,t,1),$o(e,t),t=$n(),e=jp(e,1),e!==null&&($u(e,1,t),Vn(e,t))}function Nt(e,t,n){if(e.tag===3)Fb(e,e,n);else for(;t!==null;){if(t.tag===3){Fb(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(No===null||!No.has(r))){e=Hy(n,e),e=uC(t,e,1),$o(t,e),e=$n(),t=jp(t,1),t!==null&&($u(t,1,e),Vn(t,e));break}}t=t.return}}function RI(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$n(),e.pingedLanes|=e.suspendedLanes&n,Zt===e&&(un&n)===n&&(Kt===4||Kt===3&&(un&130023424)===un&&500>zt()-Gy?Ps(e,0):Vy|=n),Vn(e,t)}function OC(e,t){t===0&&((e.mode&1)===0?t=1:(t=bd,bd<<=1,(bd&130023424)===0&&(bd=4194304)));var n=$n();e=jp(e,t),e!==null&&($u(e,t,n),Vn(e,n))}function TI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),OC(e,n)}function MI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(q(314))}r!==null&&r.delete(t),OC(e,n)}var IC;IC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Hn.current)jn=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return jn=!1,vI(e,t,n);jn=(e.flags&131072)!==0}else jn=!1,Ct&&(t.flags&1048576)!==0&&Bk(t,Qf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=el(t,Cn.current);Ua(t,n),i=zy(null,t,r,e,i,n);var o=Uy();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Yn(r)?(o=!0,Kf(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Iy(t),i.updater=Bp,t.stateNode=i,i._reactInternals=t,nv(t,r,e,n),t=lv(null,t,r,!0,o,n)):(t.tag=0,Ct&&o&&Dy(t),In(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=OI(r),e=zr(r,e),i){case 0:t=av(null,t,r,e,n);break e;case 1:t=kb(null,t,r,e,n);break e;case 11:t=wb(null,t,r,e,n);break e;case 14:t=Eb(null,t,r,zr(r.type,e),n);break e}throw Error(q(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),av(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),kb(e,t,r,i,n);case 3:e:{if(vC(t),e===null)throw Error(q(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Nk(e,t),Zf(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Error(q(423)),t=Cb(e,t,r,n,i);break e}else if(r!==i){i=Error(q(424)),t=Cb(e,t,r,n,i);break e}else for(Un=ji(t.stateNode.containerInfo.firstChild),nr=t,Ct=!0,Hr=null,n=Wk(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tl(),r===i){t=Qi(e,t,n);break e}In(e,t,r,n)}t=t.child}return t;case 5:return jk(t),e===null&&iv(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Xg(r,i)?s=null:o!==null&&Xg(r,o)&&(t.flags|=32),gC(e,t),In(e,t,s,n),t.child;case 6:return e===null&&iv(t),null;case 13:return yC(e,t,n);case 4:return Ny(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nl(t,null,r,n):In(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),wb(e,t,r,i,n);case 7:return In(e,t,t.pendingProps,n),t.child;case 8:return In(e,t,t.pendingProps.children,n),t.child;case 12:return In(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ut(qf,r._currentValue),r._currentValue=s,o!==null)if(Zr(o.value,s)){if(o.children===i.children&&!Hn.current){t=Qi(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qi(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),ev(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(q(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ev(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}In(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ua(t,n),i=kr(i),r=r(i),t.flags|=1,In(e,t,r,n),t.child;case 14:return r=t.type,i=zr(r,t.pendingProps),i=zr(r.type,i),Eb(e,t,r,i,n);case 15:return hC(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:zr(r,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Yn(r)?(e=!0,Kf(t)):e=!1,Ua(t,n),Fk(t,r,i),nv(t,r,i,n),lv(null,t,r,!0,e,n);case 19:return _C(e,t,n);case 22:return mC(e,t,n)}throw Error(q(156,t.tag))};function DC(e,t){return sk(e,t)}function PI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yr(e,t,n,r){return new PI(e,t,n,r)}function Zy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function OI(e){if(typeof e=="function")return Zy(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vy)return 11;if(e===yy)return 14}return 2}function Go(e,t){var n=e.alternate;return n===null?(n=yr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function kf(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Zy(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Sa:return Os(n.children,i,o,t);case gy:s=8,i|=8;break;case Tg:return e=yr(12,n,t,i|2),e.elementType=Tg,e.lanes=o,e;case Mg:return e=yr(13,n,t,i),e.elementType=Mg,e.lanes=o,e;case Pg:return e=yr(19,n,t,i),e.elementType=Pg,e.lanes=o,e;case jE:return ap(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case UE:s=10;break e;case WE:s=9;break e;case vy:s=11;break e;case yy:s=14;break e;case ho:s=16,r=null;break e}throw Error(q(130,e==null?e:typeof e,""))}return t=yr(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Os(e,t,n,r){return e=yr(7,e,r,t),e.lanes=n,e}function ap(e,t,n,r){return e=yr(22,e,r,t),e.elementType=jE,e.lanes=n,e.stateNode={},e}function $m(e,t,n){return e=yr(6,e,null,t),e.lanes=n,e}function Nm(e,t,n){return t=yr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function II(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vm(0),this.expirationTimes=vm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vm(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Jy(e,t,n,r,i,o,s,a,l){return e=new II(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=yr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Iy(o),e}function DI(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xa,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function AC(e){if(!e)return Vo;e=e._reactInternals;e:{if(Js(e)!==e||e.tag!==1)throw Error(q(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Yn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(q(171))}if(e.tag===1){var n=e.type;if(Yn(n))return Ak(e,n,t)}return t}function $C(e,t,n,r,i,o,s,a,l){return e=Jy(n,r,!0,e,i,o,s,a,l),e.context=AC(null),n=e.current,r=$n(),i=Lo(n),o=qi(r,i),o.callback=t!=null?t:null,$o(n,o),e.current.lanes=i,$u(e,i,r),Vn(e,r),e}function Hp(e,t,n,r){var i=t.current,o=$n(),s=Lo(i);return n=AC(n),t.context===null?t.context=n:t.pendingContext=n,t=qi(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),$o(i,t),e=xr(i,s,o),e!==null&&bf(e,i,s),s}function lp(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Bb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Qy(e,t){Bb(e,t),(e=e.alternate)&&Bb(e,t)}function AI(){return null}var NC=typeof reportError=="function"?reportError:function(e){console.error(e)};function e0(e){this._internalRoot=e}Yp.prototype.render=e0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(q(409));Hp(e,t,null,null)};Yp.prototype.unmount=e0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;js(function(){Hp(null,e,null,null)}),t[Ji]=null}};function Yp(e){this._internalRoot=e}Yp.prototype.unstable_scheduleHydration=function(e){if(e){var t=pk();e={blockedOn:null,target:e,priority:t};for(var n=0;n<yo.length&&t!==0&&t<yo[n].priority;n++);yo.splice(n,0,e),n===0&&mk(e)}};function t0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function zb(){}function $I(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=lp(s);o.call(c)}}var s=$C(t,r,e,0,null,!1,!1,"",zb);return e._reactRootContainer=s,e[Ji]=s.current,Qc(e.nodeType===8?e.parentNode:e),js(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=lp(l);a.call(c)}}var l=Jy(e,0,!1,null,null,!1,!1,"",zb);return e._reactRootContainer=l,e[Ji]=l.current,Qc(e.nodeType===8?e.parentNode:e),js(function(){Hp(t,l,n,r)}),l}function Gp(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=lp(s);a.call(l)}}Hp(t,s,e,i)}else s=$I(n,t,e,i,r);return lp(s)}dk=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=cc(t.pendingLanes);n!==0&&(xy(t,n|1),Vn(t,zt()),(He&6)===0&&(il=zt()+500,ts()))}break;case 13:var r=$n();js(function(){return xr(e,1,r)}),Qy(e,1)}};Sy=function(e){if(e.tag===13){var t=$n();xr(e,134217728,t),Qy(e,134217728)}};fk=function(e){if(e.tag===13){var t=$n(),n=Lo(e);xr(e,n,t),Qy(e,n)}};pk=function(){return nt};hk=function(e,t){var n=nt;try{return nt=e,t()}finally{nt=n}};zg=function(e,t,n){switch(t){case"input":if(Dg(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Lp(r);if(!i)throw Error(q(90));YE(r),Dg(r,i)}}}break;case"textarea":GE(e,n);break;case"select":t=n.value,t!=null&&La(e,!!n.multiple,t,!1)}};ek=Ky;tk=js;var NI={usingClientEntryPoint:!1,Events:[Lu,Ca,Lp,JE,QE,Ky]},jl={findFiberByHostInstance:xs,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},LI={bundleType:jl.bundleType,version:jl.version,rendererPackageName:jl.rendererPackageName,rendererConfig:jl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:no.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ik(e),e===null?null:e.stateNode},findFiberByHostInstance:jl.findFiberByHostInstance||AI,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Id=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Id.isDisabled&&Id.supportsFiber)try{Dp=Id.inject(LI),bi=Id}catch{}}or.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NI;or.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t0(t))throw Error(q(200));return DI(e,t,null,n)};or.createRoot=function(e,t){if(!t0(e))throw Error(q(299));var n=!1,r="",i=NC;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Jy(e,1,!1,null,null,n,!1,r,i),e[Ji]=t.current,Qc(e.nodeType===8?e.parentNode:e),new e0(t)};or.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(q(188)):(e=Object.keys(e).join(","),Error(q(268,e)));return e=ik(t),e=e===null?null:e.stateNode,e};or.flushSync=function(e){return js(e)};or.hydrate=function(e,t,n){if(!Vp(t))throw Error(q(200));return Gp(null,e,t,!0,n)};or.hydrateRoot=function(e,t,n){if(!t0(e))throw Error(q(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=NC;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=$C(t,null,e,1,n!=null?n:null,i,!1,o,s),e[Ji]=t.current,Qc(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yp(t)};or.render=function(e,t,n){if(!Vp(t))throw Error(q(200));return Gp(null,e,t,!1,n)};or.unmountComponentAtNode=function(e){if(!Vp(e))throw Error(q(40));return e._reactRootContainer?(js(function(){Gp(null,null,e,!1,function(){e._reactRootContainer=null,e[Ji]=null})}),!0):!1};or.unstable_batchedUpdates=Ky;or.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vp(n))throw Error(q(200));if(e==null||e._reactInternals===void 0)throw Error(q(38));return Gp(e,t,n,!1,r)};or.version="18.1.0-next-22edb9f77-20220426";function LC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(LC)}catch(e){console.error(e)}}LC(),Au.exports=or;var Lm=Au.exports,Ub=Au.exports;I1.createRoot=Ub.createRoot,I1.hydrateRoot=Ub.hydrateRoot;function FI(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Kp(){return!FI()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function ko(e,t){return e.require(t)}function BI(e){let t;try{t=ko(module,e)}catch{}try{const{cwd:n}=ko(module,"process");t=ko(module,`${n()}/node_modules/${e}`)}catch{}return t}var zI={};function rt(){return Kp()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:zI}function n0(e,t,n){var r=n||rt(),i=r.__SENTRY__=r.__SENTRY__||{},o=i[e]||(i[e]=t());return o}var FC=Object.prototype.toString;function BC(e){switch(FC.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ro(e,Error)}}function Cl(e,t){return FC.call(e)===`[object ${t}]`}function zC(e){return Cl(e,"ErrorEvent")}function Wb(e){return Cl(e,"DOMError")}function UI(e){return Cl(e,"DOMException")}function ol(e){return Cl(e,"String")}function UC(e){return e===null||typeof e!="object"&&typeof e!="function"}function sl(e){return Cl(e,"Object")}function r0(e){return typeof Event!="undefined"&&ro(e,Event)}function WI(e){return typeof Element!="undefined"&&ro(e,Element)}function jI(e){return Cl(e,"RegExp")}function i0(e){return Boolean(e&&e.then&&typeof e.then=="function")}function HI(e){return sl(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function WC(e){return typeof e=="number"&&e!==e}function ro(e,t){try{return e instanceof t}catch{return!1}}function lu(e,t){try{let a=e;var n=5,r=80,i=[];let l=0,c=0;var o=" > ",s=o.length;let u;for(;a&&l++<n&&(u=YI(a,t),!(u==="html"||l>1&&c+i.length*s+u.length>=r));)i.push(u),c+=u.length,a=a.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function YI(e,t){var n=e,r=[];let i,o,s,a,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var c=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(c&&c.length)c.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&ol(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);var u=["type","name","title","alt"];for(l=0;l<u.length;l++)s=u[l],a=n.getAttribute(s),a&&r.push(`[${s}="${a}"]`);return r.join("")}function VI(){var e=rt();try{return e.document.location.href}catch{return""}}class xn extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var GI=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function KI(e){return e==="http"||e==="https"}function qp(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function qI(e){var t=GI.exec(e);if(!t)throw new xn(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,s="",a]=t.slice(1);let l="",c=a;var u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){var d=c.match(/^\d+/);d&&(c=d[0])}return jC({host:o,pass:i,path:l,projectId:c,port:s,protocol:n,publicKey:r})}function jC(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function XI(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var i=["protocol","publicKey","host","projectId"];if(i.forEach(o=>{if(!e[o])throw new xn(`Invalid Sentry Dsn: ${o} missing`)}),!n.match(/^\d+$/))throw new xn(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!KI(r))throw new xn(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new xn(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function HC(e){var t=typeof e=="string"?qI(e):jC(e);return XI(t),t}var ZI=rt(),JI="Sentry Logger ",cp=["debug","info","warn","error","log","assert"];function YC(e){var t=rt();if(!("console"in t))return e();var n=t.console,r={};cp.forEach(i=>{var o=n[i]&&n[i].__sentry_original__;i in t.console&&o&&(r[i]=n[i],n[i]=o)});try{return e()}finally{Object.keys(r).forEach(i=>{n[i]=r[i]})}}function jb(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?cp.forEach(n=>{t[n]=(...r)=>{e&&YC(()=>{ZI.console[n](`${JI}[${n}]:`,...r)})}}):cp.forEach(n=>{t[n]=()=>{}}),t}let Q;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Q=n0("logger",jb):Q=jb();function kc(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function Hb(e,t){if(!Array.isArray(e))return"";var n=[];for(let i=0;i<e.length;i++){var r=e[i];try{n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function cu(e,t){return ol(e)?jI(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function Sn(e,t,n){if(t in e){var r=e[t],i=n(r);if(typeof i=="function")try{VC(i,r)}catch{}e[t]=i}}function o0(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function VC(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,o0(e,"__sentry_original__",t)}function s0(e){return e.__sentry_original__}function QI(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function GC(e){if(BC(e))return L({message:e.message,name:e.name,stack:e.stack},Vb(e));if(r0(e)){var t=L({type:e.type,target:Yb(e.target),currentTarget:Yb(e.currentTarget)},Vb(e));return typeof CustomEvent!="undefined"&&ro(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Yb(e){try{return WI(e)?lu(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Vb(e){if(typeof e=="object"&&e!==null){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function eD(e,t=40){var n=Object.keys(GC(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return kc(n[0],t);for(let i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>t))return i===n.length?r:kc(r,t)}return""}function Is(e){var t=new Map;return yv(e,t)}function yv(e,t){if(sl(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var i of Object.keys(e))typeof e[i]!="undefined"&&(r[i]=yv(e[i],t));return r}if(Array.isArray(e)){var n=t.get(e);if(n!==void 0)return n;var r=[];return t.set(e,r),e.forEach(a=>{r.push(yv(a,t))}),r}return e}var tD=50;function KC(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var i=[];for(var o of n.split(`
|
33 |
+
`).slice(r))for(var s of t){var a=s(o);if(a){i.push(a);break}}return rD(i)}}function nD(e){return Array.isArray(e)?KC(...e):e}function rD(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,tD).map(i=>Ee(L({},i),{filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}var Fm="<anonymous>";function Ko(e){try{return!e||typeof e!="function"?Fm:e.name||Fm}catch{return Fm}}function a0(){if(!("fetch"in rt()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function _v(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function iD(){if(!a0())return!1;var e=rt();if(_v(e.fetch))return!0;let t=!1;var n=e.document;if(n&&typeof n.createElement=="function")try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=_v(r.contentWindow.fetch)),n.head.removeChild(r)}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return t}function oD(){var e=rt(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var Rt=rt(),Cc={},Gb={};function sD(e){if(!Gb[e])switch(Gb[e]=!0,e){case"console":aD();break;case"dom":gD();break;case"xhr":dD();break;case"fetch":lD();break;case"history":fD();break;case"error":vD();break;case"unhandledrejection":yD();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("unknown instrumentation type:",e);return}}function tr(e,t){Cc[e]=Cc[e]||[],Cc[e].push(t),sD(e)}function Xr(e,t){if(!(!e||!Cc[e]))for(var n of Cc[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(`Error while triggering instrumentation handler.
|
34 |
Type: ${e}
|
35 |
Name: ${Ko(n)}
|
36 |
+
Error:`,r)}}function aD(){"console"in Rt&&cp.forEach(function(e){e in Rt.console&&Sn(Rt.console,e,function(t){return function(...n){Xr("console",{args:n,level:e}),t&&t.apply(Rt.console,n)}})})}function lD(){!iD()||Sn(Rt,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:cD(t),url:uD(t)},startTimestamp:Date.now()};return Xr("fetch",L({},n)),e.apply(Rt,t).then(r=>(Xr("fetch",Ee(L({},n),{endTimestamp:Date.now(),response:r})),r),r=>{throw Xr("fetch",Ee(L({},n),{endTimestamp:Date.now(),error:r})),r})}})}function cD(e=[]){return"Request"in Rt&&ro(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function uD(e=[]){return typeof e[0]=="string"?e[0]:"Request"in Rt&&ro(e[0],Request)?e[0].url:String(e[0])}function dD(){if("XMLHttpRequest"in Rt){var e=XMLHttpRequest.prototype;Sn(e,"open",function(t){return function(...n){var r=this,i=n[1],o=r.__sentry_xhr__={method:ol(n[0])?n[0].toUpperCase():n[0],url:n[1]};ol(i)&&o.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var s=function(){if(r.readyState===4){try{o.status_code=r.status}catch{}Xr("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?Sn(r,"onreadystatechange",function(a){return function(...l){return s(),a.apply(r,l)}}):r.addEventListener("readystatechange",s),t.apply(r,n)}}),Sn(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),Xr("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Dd;function fD(){if(!oD())return;var e=Rt.onpopstate;Rt.onpopstate=function(...n){var r=Rt.location.href,i=Dd;if(Dd=r,Xr("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var i=r.length>2?r[2]:void 0;if(i){var o=Dd,s=String(i);Dd=s,Xr("history",{from:o,to:s})}return n.apply(this,r)}}Sn(Rt.history,"pushState",t),Sn(Rt.history,"replaceState",t)}var pD=1e3;let Ad,$d;function hD(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function mD(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Kb(e,t=!1){return n=>{if(!(!n||$d===n)&&!mD(n)){var r=n.type==="keypress"?"input":n.type;Ad===void 0?(e({event:n,name:r,global:t}),$d=n):hD($d,n)&&(e({event:n,name:r,global:t}),$d=n),clearTimeout(Ad),Ad=Rt.setTimeout(()=>{Ad=void 0},pD)}}}function gD(){if("document"in Rt){var e=Xr.bind(null,"dom"),t=Kb(e,!0);Rt.document.addEventListener("click",t,!1),Rt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=Rt[n]&&Rt[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Sn(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},u=c[o]=c[o]||{refCount:0};if(!u.handler){var d=Kb(e);u.handler=d,i.call(this,o,d,a)}u.refCount+=1}catch{}return i.call(this,o,s,a)}}),Sn(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,c=l.__sentry_instrumentation_handlers__||{},u=c[o];u&&(u.refCount-=1,u.refCount<=0&&(i.call(this,o,u.handler,a),u.handler=void 0,delete c[o]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}}let Bm=null;function vD(){Bm=Rt.onerror,Rt.onerror=function(e,t,n,r,i){return Xr("error",{column:r,error:i,line:n,msg:e,url:t}),Bm?Bm.apply(this,arguments):!1}}let zm=null;function yD(){zm=Rt.onunhandledrejection,Rt.onunhandledrejection=function(e){return Xr("unhandledrejection",e),zm?zm.apply(this,arguments):!0}}function _D(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;s<t.length;s++){var o=t[s];if(o===i)return!0}return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function Fo(){var e=rt(),t=e.crypto||e.msCrypto;if(t!==void 0&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=n[3]&4095|16384,n[4]=n[4]&16383|32768;var r=i=>{let o=i.toString(16);for(;o.length<4;)o=`0${o}`;return o};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{var o=Math.random()*16|0,s=i==="x"?o:o&3|8;return s.toString(16)})}function Um(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function qC(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ws(e){const{message:t,event_id:n}=e;if(t)return t;var r=qC(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function bv(e,t,n){var r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function uu(e,t){var n=qC(e);if(!!n){var r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism=L(L(L({},r),i),t),t&&"data"in t){var o=L(L({},i&&i.data),t.data);n.mechanism.data=o}}}function qb(e){if(e&&e.__sentry_captured__)return!0;try{o0(e,"__sentry_captured__",!0)}catch{}return!1}function po(e,t=1/0,n=1/0){try{return ZC("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function XC(e,t=3,n=100*1024){var r=po(e,t);return SD(r)>n?XC(e,t-1,n):r}function ZC(e,t,n=1/0,r=1/0,i=_D()){const[o,s]=i;var a=t;if(a&&typeof a.toJSON=="function")try{return a.toJSON()}catch{}if(t===null||["number","boolean","string"].includes(typeof t)&&!WC(t))return t;var l=bD(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;if(n===0)return l.replace("object ","");if(o(t))return"[Circular ~]";var c=Array.isArray(t)?[]:{};let u=0;var d=GC(t);for(var f in d)if(!!Object.prototype.hasOwnProperty.call(d,f)){if(u>=r){c[f]="[MaxProperties ~]";break}var p=d[f];c[f]=ZC(f,p,n-1,r,i),u+=1}return s(t),c}function bD(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":HI(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${Ko(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function xD(e){return~-encodeURI(e).split(/%..|./).length}function SD(e){return xD(JSON.stringify(e))}var Bi;(function(e){var t=0;e[e.PENDING=t]="PENDING";var n=1;e[e.RESOLVED=n]="RESOLVED";var r=2;e[e.REJECTED=r]="REJECTED"})(Bi||(Bi={}));function Hs(e){return new An(t=>{t(e)})}function xv(e){return new An((t,n)=>{n(e)})}class An{__init(){this._state=Bi.PENDING}__init2(){this._handlers=[]}constructor(t){An.prototype.__init.call(this),An.prototype.__init2.call(this),An.prototype.__init3.call(this),An.prototype.__init4.call(this),An.prototype.__init5.call(this),An.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new An((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(s){i(s)}},o=>{if(!n)i(o);else try{r(n(o))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new An((n,r)=>{let i,o;return this.then(s=>{o=!1,i=s,t&&t()},s=>{o=!0,i=s,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Bi.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Bi.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Bi.PENDING){if(i0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Bi.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Bi.RESOLVED&&n[1](this._value),this._state===Bi.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function wD(e){var t=[];function n(){return e===void 0||t.length<e}function r(s){return t.splice(t.indexOf(s),1)[0]}function i(s){if(!n())return xv(new xn("Not adding Promise due to buffer limit reached."));var a=s();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(s){return new An((a,l)=>{let c=t.length;if(!c)return a(!0);var u=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(d=>{Hs(d).then(()=>{--c||(clearTimeout(u),a(!0))},l)})})}return{$:t,add:i,drain:o}}var ED=["fatal","error","warning","log","info","debug"];function kD(e){return e==="warn"?"warning":ED.includes(e)?e:"log"}var Sv={nowSeconds:()=>Date.now()/1e3};function CD(){const{performance:e}=rt();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function RD(){try{var e=ko(module,"perf_hooks");return e.performance}catch{return}}var Wm=Kp()?RD():CD(),Xb=Wm===void 0?Sv:{nowSeconds:()=>(Wm.timeOrigin+Wm.now())/1e3},Xp=Sv.nowSeconds.bind(Sv),l0=Xb.nowSeconds.bind(Xb),du=l0,fu=(()=>{const{performance:e}=rt();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,s=e.timing&&e.timing.navigationStart,a=typeof s=="number",l=a?Math.abs(s+n-r):t,c=l<t;return o||c?i<=l?e.timeOrigin:s:r}})(),TD=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function MD(e){var t=e.match(TD);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Zp(e,t=[]){return[e,t]}function PD(e,t){const[n,r]=e;return[n,[...r,t]]}function Zb(e,t){var n=e[1];n.forEach(r=>{var i=r[0].type;t(r,i)})}function wv(e,t){var n=t||new TextEncoder;return n.encode(e)}function JC(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[wv(i,t),a]:i.push(typeof a=="string"?wv(a,t):a)}for(var s of r){const[a,l]=s;o(`
|
37 |
${JSON.stringify(a)}
|
38 |
+
`),o(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof i=="string"?i:OD(i)}function OD(e){var t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(var i of e)n.set(i,r),r+=i.length;return n}function ID(e,t){var n=typeof e.data=="string"?wv(e.data,t):e.data;return[Is({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var DD={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Jb(e){return DD[e]}function AD(e,t,n){var r=[{type:"client_report"},{timestamp:n||Xp(),discarded_events:e}];return Zp(t?{dsn:t}:{},[r])}var $D=60*1e3;function ND(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?$D:r-t}function LD(e,t){return e[t]||e.all||0}function FD(e,t,n=Date.now()){return LD(e,t)>n}function BD(e,{statusCode:t,headers:n},r=Date.now()){var i=L({},e),o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(var a of o.trim().split(",")){const[d,f]=a.split(":",2);var l=parseInt(d,10),c=(isNaN(l)?60:l)*1e3;if(!f)i.all=r+c;else for(var u of f.split(";"))i[u]=r+c}else s?i.all=r+ND(s,r):t===429&&(i.all=r+60*1e3);return i}var Da="baggage",zD="sentry-",UD=/^sentry-/,WD=8192;function QC(e,t=""){return[L({},e),t]}function Qb(e,t,n){e[0][t]=n}function eR(e){return Object.keys(e[0]).length===0}function jD(e){var t=tR(e);return eR(e)&&(t==null||t.length===0)}function tR(e){return e[1]}function HD(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],i=`${zD}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=t===""?i:`${t},${i}`;return o.length>WD?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):o},e[1])}function nR(e){return e.split(",").reduce(([t,n],r)=>{const[i,o]=r.split("=");if(UD.test(i)){var s=decodeURIComponent(i.split("-")[1]);return[Ee(L({},t),{[s]:decodeURIComponent(o)}),n]}else return[t,n===""?r:`${n},${r}`]},[{},""])}function dc(e,t){if(!e&&!t)return"";var n=t&&nR(t)||void 0,r=n&&tR(n),i=QC(e&&e[0]||{},r||e&&e[1]||"");return HD(i)}function YD(e){var t=l0(),n={sid:Fo(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>GD(n)};return e&&al(n,e),n}function al(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||l0(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Fo()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function VD(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),al(e,n)}function GD(e){return Is({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var ex=100;class Jt{constructor(){Jt.prototype.__init.call(this),Jt.prototype.__init2.call(this),Jt.prototype.__init3.call(this),Jt.prototype.__init4.call(this),Jt.prototype.__init5.call(this),Jt.prototype.__init6.call(this),Jt.prototype.__init7.call(this),Jt.prototype.__init8.call(this),Jt.prototype.__init9.call(this),Jt.prototype.__init10.call(this)}__init(){this._notifyingListeners=!1}__init2(){this._scopeListeners=[]}__init3(){this._eventProcessors=[]}__init4(){this._breadcrumbs=[]}__init5(){this._user={}}__init6(){this._tags={}}__init7(){this._extra={}}__init8(){this._contexts={}}__init9(){this._attachments=[]}__init10(){this._sdkProcessingMetadata={}}static clone(t){var n=new Jt;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags=L({},t._tags),n._extra=L({},t._extra),n._contexts=L({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments]),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&al(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags=L(L({},this._tags),t),this._notifyScopeListeners(),this}setTag(t,n){return this._tags=Ee(L({},this._tags),{[t]:n}),this._notifyScopeListeners(),this}setExtras(t){return this._extra=L(L({},this._extra),t),this._notifyScopeListeners(),this}setExtra(t,n){return this._extra=Ee(L({},this._extra),{[t]:n}),this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts=Ee(L({},this._contexts),{[t]:n}),this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){var n=t(this);return n instanceof Jt?n:this}return t instanceof Jt?(this._tags=L(L({},this._tags),t._tags),this._extra=L(L({},this._extra),t._extra),this._contexts=L(L({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):sl(t)&&(t=t,this._tags=L(L({},this._tags),t.tags),this._extra=L(L({},this._extra),t.extra),this._contexts=L(L({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){var r=typeof n=="number"?Math.min(n,ex):ex;if(r<=0)return this;var i=L({timestamp:Xp()},t);return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra=L(L({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=L(L({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=L(L({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=L(L({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=L({trace:this._span.getTraceContext()},t.contexts);var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags=L({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors([...rR(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=L(L({},this._sdkProcessingMetadata),t),this}_notifyEventProcessors(t,n,r,i=0){return new An((o,s)=>{var a=t[i];if(n===null||typeof a!="function")o(n);else{var l=a(L({},n),r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.id&&l===null&&Q.log(`Event processor "${a.id}" dropped event`),i0(l)?l.then(c=>this._notifyEventProcessors(t,c,r,i+1).then(o)).then(null,s):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function rR(){return n0("globalEventProcessors",()=>[])}function c0(e){rR().push(e)}var u0=4,KD=100;class Bu{__init(){this._stack=[{}]}constructor(t,n=new Jt,r=u0){this._version=r,Bu.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=Jt.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Fo(),i=new Error("Sentry syntheticException");return this._withClient((o,s)=>{o.captureException(t,Ee(L({originalException:t,syntheticException:i},n),{event_id:r}),s)}),r}captureMessage(t,n,r){var i=this._lastEventId=r&&r.event_id?r.event_id:Fo(),o=new Error(t);return this._withClient((s,a)=>{s.captureMessage(t,n,Ee(L({originalException:t,syntheticException:o},r),{event_id:i}),a)}),i}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Fo();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,Ee(L({},n),{event_id:r}),o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=KD}=i.getOptions&&i.getOptions()||{};if(!(s<=0)){var a=Xp(),l=L({timestamp:a},t),c=o?YC(()=>o(l,n)):l;c!==null&&r.addBreadcrumb(c,s)}}setUser(t){var n=this.getScope();n&&n.setUser(t)}setTags(t){var n=this.getScope();n&&n.setTags(t)}setExtras(t){var n=this.getScope();n&&n.setExtras(t)}setTag(t,n){var r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){var r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){var r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){var n=tx(this);try{t(this)}finally{tx(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&VD(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o}=r&&r.getOptions()||{};var s=rt();const{userAgent:a}=s.navigator||{};var l=YD(L(L(L({release:i,environment:o},n&&{user:n.getUser()}),a&&{userAgent:a}),t));if(n){var c=n.getSession&&n.getSession();c&&c.status==="ok"&&al(c,{status:"exited"}),this.endSession(),n.setSession(l)}return l}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!!t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){var r=Rl(),i=r.__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Rl(){var e=rt();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function tx(e){var t=Rl(),n=bo(t);return d0(t,e),n}function Ft(){var e=Rl();return(!iR(e)||bo(e).isOlderThan(u0))&&d0(e,new Bu),Kp()?qD(e):bo(e)}function qD(e){try{var t=Rl().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return bo(e);if(!iR(n)||bo(n).isOlderThan(u0)){var r=bo(e).getStackTop();d0(n,new Bu(r.client,Jt.clone(r.scope)))}return bo(n)}catch{return bo(e)}}function iR(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function bo(e){return n0("hub",()=>new Bu,e)}function d0(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function oR(e,t){return Ft().captureException(e,{captureContext:t})}function sR(e){Ft().withScope(e)}var XD="7";function aR(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function ZD(e){return`${aR(e)}${e.projectId}/envelope/`}function JD(e){return QI({sentry_key:e.publicKey,sentry_version:XD})}function lR(e,t){return t||`${ZD(e)}?${JD(e)}`}function QD(e,t){var n=HC(e),r=`${aR(n)}embed/error-page/`;let i=`dsn=${qp(n)}`;for(var o in t)if(o!=="dsn")if(o==="user"){var s=t.user;if(!s)continue;s.name&&(i+=`&name=${encodeURIComponent(s.name)}`),s.email&&(i+=`&email=${encodeURIComponent(s.email)}`)}else i+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${i}`}function xo(e,t){return e!=null?e:t()}function eA(e){let t,n=e[0],r=1;for(;r<e.length;){var i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}function cR(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function tA(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function nA(e,t,n,r){var i=cR(n),o=L(L({sent_at:new Date().toISOString()},i&&{sdk:i}),!!r&&{dsn:qp(t)}),s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Zp(o,[s])}function rA(e,t,n,r){var i=cR(n),o=e.type||"event";const{transactionSampling:s}=e.sdkProcessingMetadata||{},{method:a,rate:l}=s||{};tA(e,n&&n.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata;var c=iA(e,i,r,t),u=[{type:o,sample_rates:[{id:a,rate:l}]},e];return Zp(c,[u])}function iA(e,t,n,r){return L(L(L({event_id:e.event_id,sent_at:new Date().toISOString()},t&&{sdk:t}),!!n&&{dsn:qp(r)}),e.type==="transaction"&&e.contexts&&e.contexts.trace&&{trace:Is({trace_id:e.contexts.trace.trace_id,environment:e.environment,release:e.release,transaction:e.transaction,user:e.user&&{id:e.user.id,segment:e.user.segment},public_key:r.publicKey})})}var nx=[];function rx(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function oA(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...rx(t)];Array.isArray(n)?r=[...r.filter(s=>n.every(a=>a.name!==s.name)),...rx(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(s=>s.name),o="Debug";return i.indexOf(o)!==-1&&r.push(...r.splice(i.indexOf(o),1)),r}function sA(e){var t={};return e.forEach(n=>{t[n.name]=n,nx.indexOf(n.name)===-1&&(n.setupOnce(c0,Ft),nx.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Integration installed: ${n.name}`))}),t}var ix="Not capturing exception because it's already been captured.";class Aa{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Aa.prototype.__init.call(this),Aa.prototype.__init2.call(this),Aa.prototype.__init3.call(this),Aa.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=HC(t.dsn);var n=lR(this._dsn,t.tunnel);this._transport=t.transport(Ee(L({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{url:n}))}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(qb(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(ix);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;var s=UC(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(s.then(a=>this._captureEvent(a,r,i)).then(a=>{o=a})),o}captureEvent(t,n,r){if(n&&n.originalException&&qb(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(ix);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),al(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):Hs(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=sA(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let i=rA(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])i=PD(i,ID(r,eA([this,"access",o=>o._options,"access",o=>o.transportOptions,"optionalAccess",o=>o.textEncoder])));this._sendEnvelope(i)}}sendSession(t){if(this._dsn){var n=nA(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,i=!1;var o=n.exception&&n.exception.values;if(o){i=!0;for(var s of o){var a=s.mechanism;if(a&&a.handled===!1){r=!0;break}}}var l=t.status==="ok",c=l&&t.errors===0||l&&r;c&&(al(t,Ee(L({},r&&{status:"crashed"}),{errors:t.errors||Number(i||r)})),this.captureSession(t))}_isClientDoneProcessing(t){return new An(n=>{let r=0;var i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var s=Ee(L({},t),{event_id:t.event_id||n.event_id||Fo(),timestamp:t.timestamp||Xp()});this._applyClientOptions(s),this._applyIntegrationsMetadata(s);let a=r;n.captureContext&&(a=Jt.clone(a).update(n.captureContext));let l=Hs(s);if(a){var c=[...n.attachments||[],...a.getAttachments()];c.length&&(n.attachments=c),l=a.applyToEvent(s,n)}return l.then(u=>(u&&(u.sdkProcessingMetadata=Ee(L({},u.sdkProcessingMetadata),{normalizeDepth:`${po(i)} (${typeof i})`})),typeof i=="number"&&i>0?this._normalizeEvent(u,i,o):u))}_normalizeEvent(t,n,r){if(!t)return null;var i=L(L(L(L(L({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>L(L({},o),o.data&&{data:po(o.data,n,r)}))}),t.user&&{user:po(t.user,n,r)}),t.contexts&&{contexts:po(t.contexts,n,r)}),t.extra&&{extra:po(t.extra,n,r)});return t.contexts&&t.contexts.trace&&(i.contexts={},i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=po(t.contexts.trace.data,n,r))),t.spans&&(i.spans=t.spans.map(o=>(o.data&&(o.data=po(o.data,n,r)),o))),i.sdkProcessingMetadata=Ee(L({},i.sdkProcessingMetadata),{baseClientNormalized:!0}),i}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:i,dist:o,maxValueLength:s=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&i!==void 0&&(t.release=i),t.dist===void 0&&o!==void 0&&(t.dist=o),t.message&&(t.message=kc(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=kc(a.value,s));var l=t.request;l&&l.url&&(l.url=kc(l.url,s))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(i)})}_processEvent(t,n,r){const{beforeSend:i,sampleRate:o}=this.getOptions();if(!this._isEnabled())return xv(new xn("SDK not enabled, will not capture event."));var s=t.type==="transaction";return!s&&typeof o=="number"&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),xv(new xn(`Discarding event because it's not included in the random sample (sampling rate = ${o})`))):this._prepareEvent(t,n,r).then(a=>{if(a===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new xn("An event processor returned null, will not send event.");var l=n.data&&n.data.__sentry__===!0;if(l||s||!i)return a;var c=i(a,n);return aA(c)}).then(a=>{if(a===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new xn("`beforeSend` returned `null`, will not send event.");var l=r&&r.getSession();return!s&&l&&this._updateSessionFromEvent(l,a),this.sendEvent(a,n),a}).then(null,a=>{throw a instanceof xn?a:(this.captureException(a,{data:{__sentry__:!0},originalException:a}),new xn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
39 |
+
Reason: ${a}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function aA(e){var t="`beforeSend` method has to return `null` or a valid event.";if(i0(e))return e.then(n=>{if(!(sl(n)||n===null))throw new xn(t);return n},n=>{throw new xn(`beforeSend rejected with ${n}`)});if(!(sl(e)||e===null))throw new xn(t);return e}function lA(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Q.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Ft(),r=n.getScope();r&&r.update(t.initialScope);var i=new e(t);n.bindClient(i)}var cA=30;function uR(e,t,n=wD(e.bufferSize||cA)){let r={};var i=s=>n.drain(s);function o(s){var a=[];if(Zb(s,(d,f)=>{var p=Jb(f);FD(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(d)}),a.length===0)return Hs();var l=Zp(s[0],a),c=d=>{Zb(l,(f,p)=>{e.recordDroppedEvent(d,Jb(p))})},u=()=>t({body:JC(l,e.textEncoder)}).then(d=>{d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=BD(r,d)},d=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Failed while sending event:",d),c("network_error")});return n.add(u).then(d=>d,d=>{if(d instanceof xn)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Skipped sending event due to full buffer"),c("queue_overflow"),Hs();throw d})}return{send:o,flush:i}}var up="7.1.1";let ox;class pu{constructor(){pu.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=pu.id}setupOnce(){ox=Function.prototype.toString,Function.prototype.toString=function(...t){var n=s0(this)||this;return ox.apply(n,t)}}}pu.__initStatic();var uA=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class ja{static __initStatic(){this.id="InboundFilters"}__init(){this.name=ja.id}constructor(t={}){this._options=t,ja.prototype.__init.call(this)}setupOnce(t,n){var r=i=>{var o=n();if(o){var s=o.getIntegration(ja);if(s){var a=o.getClient(),l=a?a.getOptions():{},c=dA(s._options,l);return fA(i,c)?null:i}}return i};r.id=this.name,t(r)}}ja.__initStatic();function dA(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...uA],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function fA(e,t){return t.ignoreInternal&&vA(e)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being internal Sentry Error.
|
40 |
+
Event: ${ws(e)}`),!0):pA(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
41 |
+
Event: ${ws(e)}`),!0):hA(e,t.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
42 |
Event: ${ws(e)}.
|
43 |
+
Url: ${dp(e)}`),!0):mA(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
44 |
Event: ${ws(e)}.
|
45 |
+
Url: ${dp(e)}`),!0)}function pA(e,t){return!t||!t.length?!1:gA(e).some(n=>t.some(r=>cu(n,r)))}function hA(e,t){if(!t||!t.length)return!1;var n=dp(e);return n?t.some(r=>cu(n,r)):!1}function mA(e,t){if(!t||!t.length)return!0;var n=dp(e);return n?t.some(r=>cu(n,r)):!0}function gA(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract message for event ${ws(e)}`),[]}return[]}function vA(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function yA(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&t.filename!=="<anonymous>"&&t.filename!=="[native code]")return t.filename||null}return null}function dp(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?yA(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract url for event ${ws(e)}`),null}}function dR(e,t){var n=f0(e,t),r={type:t&&t.name,value:SA(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function _A(e,t,n,r){var i={exception:{values:[{type:r0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${eD(t)}`}]},extra:{__serialized__:XC(t)}};if(n){var o=f0(e,n);o.length&&(i.exception.values[0].stacktrace={frames:o})}return i}function jm(e,t){return{exception:{values:[dR(e,t)]}}}function f0(e,t){var n=t.stacktrace||t.stack||"",r=xA(t);try{return e(n,r)}catch{}return[]}var bA=/Minified React error #\d+;/i;function xA(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(bA.test(e.message))return 1}return 0}function SA(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function wA(e,t,n,r){var i=n&&n.syntheticException||void 0,o=p0(e,t,i,r);return uu(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Hs(o)}function EA(e,t,n="info",r,i){var o=r&&r.syntheticException||void 0,s=Ev(e,t,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Hs(s)}function p0(e,t,n,r,i){let o;if(zC(t)&&t.error){var s=t;return jm(e,s.error)}if(Wb(t)||UI(t)){var a=t;if("stack"in t)o=jm(e,t);else{var l=a.name||(Wb(a)?"DOMError":"DOMException"),c=a.message?`${l}: ${a.message}`:l;o=Ev(e,c,n,r),bv(o,c)}return"code"in a&&(o.tags=Ee(L({},o.tags),{"DOMException.code":`${a.code}`})),o}if(BC(t))return jm(e,t);if(sl(t)||r0(t)){var u=t;return o=_A(e,u,n,i),uu(o,{synthetic:!0}),o}return o=Ev(e,t,n,r),bv(o,`${t}`,void 0),uu(o,{synthetic:!0}),o}function Ev(e,t,n,r){var i={message:t};if(r&&n){var o=f0(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}var fR="Breadcrumbs";class hu{static __initStatic(){this.id=fR}__init(){this.name=hu.id}constructor(t){hu.prototype.__init.call(this),this.options=L({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}setupOnce(){this.options.console&&tr("console",CA),this.options.dom&&tr("dom",kA(this.options.dom)),this.options.xhr&&tr("xhr",RA),this.options.fetch&&tr("fetch",TA),this.options.history&&tr("history",MA)}}hu.__initStatic();function kA(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0;typeof i=="string"&&(i=[i]);try{r=n.event.target?lu(n.event.target,i):lu(n.event,i)}catch{r="<unknown>"}r.length!==0&&Ft().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function CA(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:kD(e.level),message:Hb(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${Hb(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Ft().addBreadcrumb(t,{input:e.args,level:e.level})}function RA(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:i}=e.xhr.__sentry_xhr__||{};Ft().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:i});return}}function TA(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Ft().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Ft().addBreadcrumb({category:"fetch",data:Ee(L({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response}))}function MA(e){var t=rt();let n=e.from,r=e.to;var i=Um(t.location.href);let o=Um(n);var s=Um(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Ft().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var Yr=rt();let Nd;function pR(){if(Nd)return Nd;if(_v(Yr.fetch))return Nd=Yr.fetch.bind(Yr);var e=Yr.document;let t=Yr.fetch;if(e&&typeof e.createElement=="function")try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return Nd=t.bind(Yr)}function PA(e,t){var n=Object.prototype.toString.call(Yr&&Yr.navigator)==="[object Navigator]",r=n&&typeof Yr.navigator.sendBeacon=="function";if(r){var i=Yr.navigator.sendBeacon.bind(Yr.navigator);i(e,t)}else if(a0()){var o=pR();o(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,s=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(s)})}}var Hm=rt();class OA extends Aa{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:up}],version:up},super(t),t.sendClientReports&&Hm.document&&Hm.document.addEventListener("visibilitychange",()=>{Hm.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return wA(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return EA(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(fR);r&&r.options&&r.options.sentry&&Ft().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:ws(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("Sending outcomes:",t);var n=lR(this._dsn,this._options.tunnel),r=AD(t,this._options.tunnel&&qp(this._dsn));try{PA(n,JC(r))}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error(i)}}}function IA(e,t=pR()){function n(r){var i=L({body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers},e.fetchOptions);return t(e.url,i).then(o=>({statusCode:o.status,headers:{"x-sentry-rate-limits":o.headers.get("X-Sentry-Rate-Limits"),"retry-after":o.headers.get("Retry-After")}}))}return uR(e,n)}var DA=4;function AA(e){function t(n){return new An((r,i)=>{var o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===DA&&r({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(var s in e.headers)Object.prototype.hasOwnProperty.call(e.headers,s)&&o.setRequestHeader(s,e.headers[s]);o.send(n.body)})}return uR(e,t)}var Jp="?",$A=30,NA=40,LA=50;function h0(e,t,n,r){var i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var FA=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,BA=/\((\S*)(?::(\d+))(?::(\d+))\)/,zA=e=>{var t=FA.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=BA.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[i,o]=hR(t[1]||Jp,t[2]);return h0(o,i,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},UA=[$A,zA],WA=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,HA=e=>{var t=WA.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=jA.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let i=t[3],o=t[1]||Jp;return[o,i]=hR(o,i),h0(i,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},YA=[LA,HA],VA=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,GA=e=>{var t=VA.exec(e);return t?h0(t[2],t[1]||Jp,+t[3],t[4]?+t[4]:void 0):void 0},KA=[NA,GA],qA=[UA,YA,KA],XA=KC(...qA),hR=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Jp,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let kv=0;function mR(){return kv>0}function ZA(){kv+=1,setTimeout(()=>{kv-=1})}function ll(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(s0(e))return e}catch{return e}var i=function(){var a=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=a.map(c=>ll(c,t));return e.apply(this,l)}catch(c){throw ZA(),sR(u=>{u.addEventProcessor(d=>(t.mechanism&&(bv(d,void 0,void 0),uu(d,t.mechanism)),d.extra=Ee(L({},d.extra),{arguments:a}),d)),oR(c)}),c}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(i[o]=e[o])}catch{}VC(i,e),o0(e,"__sentry_wrapped__",i);try{var s=Object.getOwnPropertyDescriptor(i,"name");s.configurable&&Object.defineProperty(i,"name",{get(){return e.name}})}catch{}return i}class Bo{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Bo.id}__init2(){this._installFunc={onerror:JA,onunhandledrejection:QA}}constructor(t){Bo.prototype.__init.call(this),Bo.prototype.__init2.call(this),this._options=L({onerror:!0,onunhandledrejection:!0},t)}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(n$(n),r(),this._installFunc[n]=void 0)}}}Bo.__initStatic();function JA(){tr("error",e=>{const[t,n,r]=yR();if(!t.getIntegration(Bo))return;const{msg:i,url:o,line:s,column:a,error:l}=e;if(!(mR()||l&&l.__sentry_own_request__)){var c=l===void 0&&ol(i)?t$(i,o,s,a):gR(p0(n,l||i,void 0,r,!1),o,s,a);c.level="error",vR(t,l,c,"onerror")}})}function QA(){tr("unhandledrejection",e=>{const[t,n,r]=yR();if(!t.getIntegration(Bo))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(mR()||i&&i.__sentry_own_request__)return!0;var o=UC(i)?e$(i):p0(n,i,void 0,r,!0);o.level="error",vR(t,i,o,"onunhandledrejection")})}function e$(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function t$(e,t,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=zC(e)?e.message:e,s="Error";var a=o.match(i);a&&(s=a[1],o=a[2]);var l={exception:{values:[{type:s,value:o}]}};return gR(l,t,n,r)}function gR(e,t,n,r){var i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=ol(t)&&t.length>0?t:VI();return l.length===0&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function n$(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Global Handler attached: ${e}`)}function vR(e,t,n,r){uu(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function yR(){var e=Ft(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var r$=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class mu{static __initStatic(){this.id="TryCatch"}__init(){this.name=mu.id}constructor(t){mu.prototype.__init.call(this),this._options=L({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}setupOnce(){var t=rt();this._options.setTimeout&&Sn(t,"setTimeout",sx),this._options.setInterval&&Sn(t,"setInterval",sx),this._options.requestAnimationFrame&&Sn(t,"requestAnimationFrame",i$),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Sn(XMLHttpRequest.prototype,"send",o$);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:r$;r.forEach(s$)}}}mu.__initStatic();function sx(e){return function(...t){var n=t[0];return t[0]=ll(n,{mechanism:{data:{function:Ko(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function i$(e){return function(t){return e.apply(this,[ll(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ko(e)},handled:!0,type:"instrument"}})])}}function o$(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(i=>{i in n&&typeof n[i]=="function"&&Sn(n,i,function(o){var s={mechanism:{data:{function:i,handler:Ko(o)},handled:!0,type:"instrument"}},a=s0(o);return a&&(s.mechanism.data.handler=Ko(a)),ll(o,s)})}),e.apply(this,t)}}function s$(e){var t=rt(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Sn(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=ll(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ko(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,ll(o,{mechanism:{data:{function:"addEventListener",handler:Ko(o),target:e},handled:!0,type:"instrument"}}),s])}}),Sn(n,"removeEventListener",function(r){return function(i,o,s){var a=o;try{var l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var a$="cause",l$=5;class Ha{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ha.id}constructor(t={}){Ha.prototype.__init.call(this),this._key=t.key||a$,this._limit=t.limit||l$}setupOnce(){var t=Ft().getClient();!t||c0((n,r)=>{var i=Ft().getIntegration(Ha);return i?c$(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}Ha.__initStatic();function c$(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!ro(i.originalException,Error))return r;var o=_R(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function _R(e,t,n,r,i=[]){if(!ro(n[r],Error)||i.length+1>=t)return i;var o=dR(e,n[r]);return _R(e,t,n[r],r,[o,...i])}var cs=rt();class Ya{constructor(){Ya.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Ya.id}setupOnce(){c0(t=>{if(Ft().getIntegration(Ya)){if(!cs.navigator&&!cs.location&&!cs.document)return t;var n=t.request&&t.request.url||cs.location&&cs.location.href;const{referrer:o}=cs.document||{},{userAgent:s}=cs.navigator||{};var r=L(L(L({},t.request&&t.request.headers),o&&{Referer:o}),s&&{"User-Agent":s}),i=Ee(L({},n&&{url:n}),{headers:r});return Ee(L({},t),{request:i})}return t})}}Ya.__initStatic();class Va{constructor(){Va.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Va.id}setupOnce(t,n){var r=i=>{var o=n().getIntegration(Va);if(o){try{if(u$(i,o._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}Va.__initStatic();function u$(e,t){return t?!!(d$(e,t)||f$(e,t)):!1}function d$(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!xR(e,t)||!bR(e,t))}function f$(e,t){var n=ax(t),r=ax(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!xR(e,t)||!bR(e,t))}function bR(e,t){let n=lx(e),r=lx(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){var i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function xR(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function ax(e){return e.exception&&e.exception.values&&e.exception.values[0]}function lx(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var p$=[new ja,new pu,new mu,new hu,new Bo,new Ha,new Va,new Ya];function h$(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=p$),e.release===void 0){var t=rt();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);var n=Ee(L({},e),{stackParser:nD(e.stackParser||XA),integrations:oA(e),transport:e.transport||(a0()?IA:AA)});lA(OA,n),e.autoSessionTracking&&g$()}function m$(e={},t=Ft()){var n=rt();if(!n.document){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Global document not defined in showReportDialog call");return}const{client:r,scope:i}=t.getStackTop();var o=e.dsn||r&&r.getDsn();if(!o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("DSN not configured for showReportDialog call");return}i&&(e.user=L(L({},i.getUser()),e.user)),e.eventId||(e.eventId=t.lastEventId());var s=n.document.createElement("script");s.async=!0,s.src=QD(o,e),e.onLoad&&(s.onload=e.onLoad);var a=n.document.head||n.document.body;a?a.appendChild(s):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.error("Not injecting report dialog. No injection point found in HTML")}function cx(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function g$(){var e=rt(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Ft();!n.captureSession||(cx(n),tr("history",({from:r,to:i})=>{r===void 0||r===i||cx(Ft())}))}function mle(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:up}],version:up},h$(e)}var SR={exports:{}},it={};/** @license React v16.13.1
|
46 |
* react-is.production.min.js
|
47 |
*
|
48 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
49 |
*
|
50 |
* This source code is licensed under the MIT license found in the
|
51 |
* LICENSE file in the root directory of this source tree.
|
52 |
+
*/var nn=typeof Symbol=="function"&&Symbol.for,m0=nn?Symbol.for("react.element"):60103,g0=nn?Symbol.for("react.portal"):60106,Qp=nn?Symbol.for("react.fragment"):60107,eh=nn?Symbol.for("react.strict_mode"):60108,th=nn?Symbol.for("react.profiler"):60114,nh=nn?Symbol.for("react.provider"):60109,rh=nn?Symbol.for("react.context"):60110,v0=nn?Symbol.for("react.async_mode"):60111,ih=nn?Symbol.for("react.concurrent_mode"):60111,oh=nn?Symbol.for("react.forward_ref"):60112,sh=nn?Symbol.for("react.suspense"):60113,v$=nn?Symbol.for("react.suspense_list"):60120,ah=nn?Symbol.for("react.memo"):60115,lh=nn?Symbol.for("react.lazy"):60116,y$=nn?Symbol.for("react.block"):60121,_$=nn?Symbol.for("react.fundamental"):60117,b$=nn?Symbol.for("react.responder"):60118,x$=nn?Symbol.for("react.scope"):60119;function ar(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case m0:switch(e=e.type,e){case v0:case ih:case Qp:case th:case eh:case sh:return e;default:switch(e=e&&e.$$typeof,e){case rh:case oh:case lh:case ah:case nh:return e;default:return t}}case g0:return t}}}function wR(e){return ar(e)===ih}it.AsyncMode=v0;it.ConcurrentMode=ih;it.ContextConsumer=rh;it.ContextProvider=nh;it.Element=m0;it.ForwardRef=oh;it.Fragment=Qp;it.Lazy=lh;it.Memo=ah;it.Portal=g0;it.Profiler=th;it.StrictMode=eh;it.Suspense=sh;it.isAsyncMode=function(e){return wR(e)||ar(e)===v0};it.isConcurrentMode=wR;it.isContextConsumer=function(e){return ar(e)===rh};it.isContextProvider=function(e){return ar(e)===nh};it.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===m0};it.isForwardRef=function(e){return ar(e)===oh};it.isFragment=function(e){return ar(e)===Qp};it.isLazy=function(e){return ar(e)===lh};it.isMemo=function(e){return ar(e)===ah};it.isPortal=function(e){return ar(e)===g0};it.isProfiler=function(e){return ar(e)===th};it.isStrictMode=function(e){return ar(e)===eh};it.isSuspense=function(e){return ar(e)===sh};it.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qp||e===ih||e===th||e===eh||e===sh||e===v$||typeof e=="object"&&e!==null&&(e.$$typeof===lh||e.$$typeof===ah||e.$$typeof===nh||e.$$typeof===rh||e.$$typeof===oh||e.$$typeof===_$||e.$$typeof===b$||e.$$typeof===x$||e.$$typeof===y$)};it.typeOf=ar;SR.exports=it;var ER=SR.exports,S$={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},w$={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kR={};kR[ER.ForwardRef]=S$;kR[ER.Memo]=w$;function E$(e){var t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}var ux={componentStack:null,error:null,eventId:null};class Cv extends b.exports.Component{constructor(...t){super(...t),Cv.prototype.__init.call(this),Cv.prototype.__init2.call(this)}__init(){this.state=ux}componentDidCatch(t,{componentStack:n}){const{beforeCapture:r,onError:i,showDialog:o,dialogOptions:s}=this.props;sR(a=>{if(E$(b.exports.version)){var l=new Error(t.message);l.name=`React ErrorBoundary ${l.name}`,l.stack=n,t.cause=l}r&&r(a,t,n);var c=oR(t,{contexts:{react:{componentStack:n}}});i&&i(t,n,c),o&&m$(Ee(L({},s),{eventId:c})),this.setState({error:t,componentStack:n,eventId:c})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:r}=this.state,{onUnmount:i}=this.props;i&&i(t,n,r)}__init2(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:n,componentStack:r,eventId:i}=this.state;t&&t(n,r,i),this.setState(ux)}}render(){const{fallback:t,children:n}=this.props,{error:r,componentStack:i,eventId:o}=this.state;if(r){let s;return typeof t=="function"?s=t({error:r,componentStack:i,resetError:this.resetErrorBoundary,eventId:o}):s=t,b.exports.isValidElement(s)?s:(t&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("fallback did not produce a valid ReactElement"),null)}return typeof n=="function"?n():n}}function y0(e){var t=Ft().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function ch(e){var t=e||Ft(),n=t.getScope();return n&&n.getTransaction()}function cn(e){return e/1e3}function k$(){tr("error",dx),tr("unhandledrejection",dx)}function dx(){var e=ch();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class uh{__init(){this.spans=[]}constructor(t=1e3){uh.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class go{__init2(){this.traceId=Fo()}__init3(){this.spanId=Fo().substring(16)}__init4(){this.startTimestamp=du()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(go.prototype.__init2.call(this),go.prototype.__init3.call(this),go.prototype.__init4.call(this),go.prototype.__init5.call(this),go.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var n=new go(Ee(L({},t),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n}setTag(t,n){return this.tags=Ee(L({},this.tags),{[t]:n}),this}setData(t,n){return this.data=Ee(L({},this.data),{[t]:n}),this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var n=C$(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){this.endTimestamp=typeof t=="number"?t:du()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Is({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=xo(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=xo(t.spanId,()=>this.spanId),this.startTimestamp=xo(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=xo(t.tags,()=>({})),this.traceId=xo(t.traceId,()=>this.traceId),this}getTraceContext(){return Is({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}getBaggage(){var t=this.transaction&&this.transaction.metadata.baggage,n=!t||eR(t)?this._getBaggageWithSentryValues(t):t;return jD(n)?void 0:n}toJSON(){return Is({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}_getBaggageWithSentryValues(t=QC({})){var n=this.transaction&&this.transaction._hub||Ft(),r=n.getClient();const{environment:i,release:o}=r&&r.getOptions()||{};return i&&Qb(t,"environment",i),o&&Qb(t,"release",o),t}}function C$(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class dh extends go{__init(){this._measurements={}}constructor(t,n){super(t),dh.prototype.__init.call(this),this._hub=n||Ft(),this.name=t.name||"",this.metadata=t.metadata||{},this._trimEnd=t.trimEnd,this.transaction=this}setName(t){this.name=t}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new uh(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata=L(L({},this.metadata),t)}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,a)=>s.endTimestamp&&a.endTimestamp?s.endTimestamp>a.endTimestamp?s:a:s).endTimestamp);var i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata},o=Object.keys(this._measurements).length>0;return o&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}}toContext(){var t=super.toContext();return Is(Ee(L({},t),{name:this.name,trimEnd:this._trimEnd}))}updateWithContext(t){return super.updateWithContext(t),this.name=xo(t.name,()=>""),this._trimEnd=t.trimEnd,this}}var CR=1e3,RR=3e4,R$=5e3;class T$ extends uh{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:du(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class $a extends dh{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=CR,i=RR,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._onScope=o,$a.prototype.__init.call(this),$a.prototype.__init2.call(this),$a.prototype.__init3.call(this),$a.prototype.__init4.call(this),o&&(fx(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=du()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var i=r.startTimestamp<t;return i||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),i}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] No active IdleTransaction");return this._onScope&&fx(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new T$(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=du()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},R$)}}function fx(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function M$(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function TR(e,t,n){if(!y0(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):n.parentSampled!==void 0?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),P$(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function P$(e){return WC(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function O$(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new dh(e,this);return i=TR(i,r,L({parentSampled:e.parentSampled,transactionContext:e},t)),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function I$(e,t,n,r,i,o){var s=e.getClient(),a=s&&s.getOptions()||{};let l=new $a(t,e,n,r,i);return l=TR(l,a,L({parentSampled:t.parentSampled,transactionContext:t},o)),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function D$(){var e=Rl();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=O$),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=M$))}function A$(){var e=Rl();if(!!e.__SENTRY__){var t={mongodb(){var r=ko(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=ko(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=ko(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=ko(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!BI(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function $$(){D$(),Kp()&&A$(),k$()}var Ld=rt();function N$(){Ld&&Ld.document?Ld.document.addEventListener("visibilitychange",()=>{var e=ch();if(Ld.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var _0=(e,t,n)=>{let r;return i=>{t.value>=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},L$=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,b0=(e,t)=>({name:e,value:xo(t,()=>-1),delta:0,entries:[],id:L$()}),x0=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch{}},fh=(e,t)=>{var n=r=>{(r.type==="pagehide"||rt().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},F$=(e,t)=>{var n=b0("CLS",0);let r,i=0,o=[];var s=l=>{if(l&&!l.hadRecentInput){var c=o[0],u=o[o.length-1];i&&o.length!==0&&l.startTime-u.startTime<1e3&&l.startTime-c.startTime<5e3?(i+=l.value,o.push(l)):(i=l.value,o=[l]),i>n.value&&(n.value=i,n.entries=o,r&&r())}},a=x0("layout-shift",s);a&&(r=_0(e,n,t),fh(()=>{a.takeRecords().map(s),r(!0)}))};let Cf=-1;var B$=()=>rt().document.visibilityState==="hidden"?0:1/0,z$=()=>{fh(({timeStamp:e})=>{Cf=e},!0)},S0=()=>(Cf<0&&(Cf=B$(),z$()),{get firstHiddenTime(){return Cf}}),U$=(e,t)=>{var n=S0(),r=b0("FID");let i;var o=a=>{i&&a.startTime<n.firstHiddenTime&&(r.value=a.processingStart-a.startTime,r.entries.push(a),i(!0))},s=x0("first-input",o);s&&(i=_0(e,r,t),fh(()=>{s.takeRecords().map(o),s.disconnect()},!0))},px={},W$=(e,t)=>{var n=S0(),r=b0("LCP");let i;var o=l=>{var c=l.startTime;c<n.firstHiddenTime&&(r.value=c,r.entries.push(l)),i&&i()},s=x0("largest-contentful-paint",o);if(s){i=_0(e,r,t);var a=()=>{px[r.id]||(s.takeRecords().map(o),s.disconnect(),px[r.id]=!0,i(!0))};["keydown","click"].forEach(l=>{addEventListener(l,a,{once:!0,capture:!0})}),fh(a,!0)}};function Fd(e){return typeof e=="number"&&isFinite(e)}function cl(e,r){var i=r,{startTimestamp:t}=i,n=dm(i,["startTimestamp"]);return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild(L({startTimestamp:t},n))}var Ds=rt();function MR(){return Ds&&Ds.addEventListener&&Ds.performance}let hx=0,at={},di,Rc;function j$(e=!1){var t=MR();t&&fu&&(t.mark&&Ds.performance.mark("sentry-tracing-init"),H$(),Y$(e),V$())}function H$(){F$(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS"),at.cls={value:e.value,unit:"millisecond"},Rc=t)})}function Y$(e){W$(t=>{var n=t.entries.pop();if(!!n){var r=cn(fu),i=cn(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP"),at.lcp={value:t.value,unit:"millisecond"},at["mark.lcp"]={value:r+i,unit:"second"},di=n}},e)}function V$(){U$(e=>{var t=e.entries.pop();if(!!t){var n=cn(fu),r=cn(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FID"),at.fid={value:e.value,unit:"millisecond"},at["mark.fid"]={value:n+r,unit:"second"}}})}function G$(e){var t=MR();if(!t||!Ds.performance.getEntries||!fu)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Adding & adjusting spans using Performance API");var n=cn(fu),r=t.getEntries();let i,o;r.slice(hx).forEach(s=>{var a=cn(s.startTime),l=cn(s.duration);if(!(e.op==="navigation"&&n+a<e.startTimestamp))switch(s.entryType){case"navigation":{q$(e,s,n),i=n+cn(s.responseStart),o=n+cn(s.requestStart);break}case"mark":case"paint":case"measure":{var c=K$(e,s,a,l,n),u=S0(),d=s.startTime<u.firstHiddenTime;s.name==="first-paint"&&d&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FP"),at.fp={value:s.startTime,unit:"millisecond"},at["mark.fp"]={value:c,unit:"second"}),s.name==="first-contentful-paint"&&d&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FCP"),at.fcp={value:s.startTime,unit:"millisecond"},at["mark.fcp"]={value:c,unit:"second"});break}case"resource":{var f=s.name.replace(Ds.location.origin,"");Z$(e,s,f,a,l,n);break}}}),hx=Math.max(r.length-1,0),J$(e),e.op==="pageload"&&(typeof i=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding TTFB"),at.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof o=="number"&&o<=i&&(at["ttfb.requestTime"]={value:(i-o)*1e3,unit:"second"})),["fcp","fp","lcp"].forEach(s=>{if(!(!at[s]||n>=e.startTimestamp)){var a=at[s].value,l=n+cn(a),c=Math.abs((l-e.startTimestamp)*1e3),u=c-a;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Measurements] Normalized ${s} from ${a} to ${c} (${u})`),at[s].value=c}}),at["mark.fid"]&&at.fid&&cl(e,{description:"first input delay",endTimestamp:at["mark.fid"].value+cn(at.fid.value),op:"web.vitals",startTimestamp:at["mark.fid"].value}),"fcp"in at||delete at.cls,Object.keys(at).forEach(s=>{e.setMeasurement(s,at[s].value,at[s].unit)}),Q$(e)),di=void 0,Rc=void 0,at={}}function K$(e,t,n,r,i){var o=i+n,s=o+r;return cl(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:o}),o}function q$(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Bd(e,t,r,n)}),Bd(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Bd(e,t,"fetch",n,"cache","domainLookupStart"),Bd(e,t,"domainLookup",n,"DNS"),X$(e,t,n)}function Bd(e,t,n,r,i,o){var s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];!a||!s||cl(e,{op:"browser",description:xo(i,()=>n),startTimestamp:r+cn(a),endTimestamp:r+cn(s)})}function X$(e,t,n){cl(e,{op:"browser",description:"request",startTimestamp:n+cn(t.requestStart),endTimestamp:n+cn(t.responseEnd)}),cl(e,{op:"browser",description:"response",startTimestamp:n+cn(t.responseStart),endTimestamp:n+cn(t.responseEnd)})}function Z$(e,t,n,r,i,o){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);var a=o+r,l=a+i;cl(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:a,data:s})}}function J$(e){var t=Ds.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Fd(n.rtt)&&(at["connection.rtt"]={value:n.rtt,unit:"millisecond"}),Fd(n.downlink)&&(at["connection.downlink"]={value:n.downlink,unit:""})),Fd(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),Fd(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function Q$(e){di&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP Data"),di.element&&e.setTag("lcp.element",lu(di.element)),di.id&&e.setTag("lcp.id",di.id),di.url&&e.setTag("lcp.url",di.url.trim().slice(0,200)),e.setTag("lcp.size",di.size)),Rc&&Rc.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS Data"),Rc.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,lu(t.node))))}var eN=["localhost",/^\//],fp={traceFetch:!0,traceXHR:!0,tracingOrigins:eN};function tN(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}=L(L({},fp),e);var o={},s=c=>{if(o[c])return o[c];var u=r;return o[c]=u.some(d=>cu(c,d))&&!cu(c,"sentry_key"),o[c]};let a=s;typeof i=="function"&&(a=c=>s(c)&&i(c));var l={};t&&tr("fetch",c=>{nN(c,a,l)}),n&&tr("xhr",c=>{iN(c,a,l)})}function nN(e,t,n){if(!(!y0()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var i=n[r];i&&(e.response?i.setHttpStatus(e.response.status):e.error&&i.setStatus("internal_error"),i.finish(),delete n[r]);return}var o=ch();if(o){var i=o.startChild({data:Ee(L({},e.fetchData),{type:"fetch"}),description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=i.spanId,n[i.spanId]=i;var s=e.args[0]=e.args[0],a=e.args[1]=e.args[1]||{};a.headers=rN(s,i,a)}}}function rN(e,t,n){let r=n.headers;ro(e,Request)&&(r=e.headers);var i=t.getBaggage();if(r)if(typeof r.append=="function")r.append("sentry-trace",t.toTraceparent()),r.append(Da,dc(i,r.get(Da)));else if(Array.isArray(r)){const[,o]=r.find(([s,a])=>s===Da);r=[...r,["sentry-trace",t.toTraceparent()],[Da,dc(i,o)]]}else r=Ee(L({},r),{"sentry-trace":t.toTraceparent(),baggage:dc(i,r.baggage)});else r={"sentry-trace":t.toTraceparent(),baggage:dc(i)};return r}function iN(e,t,n){if(!(!y0()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))){var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var i=e.xhr.__sentry_xhr_span_id__;if(!i)return;var o=n[i];o&&(o.setHttpStatus(r.status_code),o.finish(),delete n[i]);return}var s=ch();if(s){var o=s.startChild({data:Ee(L({},r.data),{type:"xhr",method:r.method,url:r.url}),description:`${r.method} ${r.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=o.spanId,n[e.xhr.__sentry_xhr_span_id__]=o,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",o.toTraceparent());var a=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(Da);e.xhr.setRequestHeader(Da,dc(o.getBaggage(),a))}catch{}}}}var Hl=rt();function oN(e,t=!0,n=!0){if(!Hl||!Hl.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("Could not initialize routing instrumentation due to invalid location");return}let r=Hl.location.href,i;t&&(i=e({name:Hl.location.pathname,op:"pageload"})),n&&tr("history",({to:o,from:s})=>{if(s===void 0&&r&&r.indexOf(o)!==-1){r=void 0;return}s!==o&&(r=void 0,i&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:Hl.location.pathname,op:"navigation"}))})}var sN="BrowserTracing",aN=L({idleTimeout:CR,finalTimeout:RR,markBackgroundTransactions:!0,routingInstrumentation:oN,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},fp);class PR{__init(){this.name=sN}constructor(t){PR.prototype.__init.call(this);let n=fp.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)&&t.tracingOrigins.length!==0?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=Ee(L(L({},aN),t),{tracingOrigins:n});const{_metricOptions:r}=this.options;j$(r&&r._reportAllChanges)}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] We added a reasonable default for you: ${fp.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:o,markBackgroundTransactions:s,traceFetch:a,traceXHR:l,tracingOrigins:c,shouldCreateSpanForRequest:u}=this.options;r(d=>this._createRouteTransaction(d),o,i),s&&N$(),tN({traceFetch:a,traceXHR:l,tracingOrigins:c,shouldCreateSpanForRequest:u})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i}=this.options;var o=t.op==="pageload"?lN():void 0,s=Ee(L(L({},t),o),{trimEnd:!0}),a=typeof n=="function"?n(s):s,l=a===void 0?Ee(L({},s),{sampled:!1}):a;l.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Starting ${l.op} transaction on scope`);var c=this._getCurrentHub();const{location:u}=rt();var d=I$(c,l,r,i,!0,{location:u});return d.registerBeforeFinishCallback(f=>{G$(f),f.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),d}}function lN(){var e=mx("sentry-trace"),t=mx("baggage"),n=e?MD(e):void 0,r=t?nR(t):void 0;if(n||r)return L(L({},n&&n),r&&{metadata:{baggage:r}})}function mx(e){var t=rt();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__=="undefined"||__SENTRY_TRACING__)&&$$();function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function ee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function OR(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var cN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,uN=OR(function(e){return cN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function dN(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 fN(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 pN=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0: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(fN(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=dN(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),yn="-ms-",pp="-moz-",Ze="-webkit-",IR="comm",w0="rule",E0="decl",hN="@import",DR="@keyframes",mN=Math.abs,ph=String.fromCharCode,gN=Object.assign;function vN(e,t){return(((t<<2^Bn(e,0))<<2^Bn(e,1))<<2^Bn(e,2))<<2^Bn(e,3)}function AR(e){return e.trim()}function yN(e,t){return(e=t.exec(e))?e[0]:e}function Qe(e,t,n){return e.replace(t,n)}function Rv(e,t){return e.indexOf(t)}function Bn(e,t){return e.charCodeAt(t)|0}function gu(e,t,n){return e.slice(t,n)}function pi(e){return e.length}function k0(e){return e.length}function zd(e,t){return t.push(e),e}function _N(e,t){return e.map(t).join("")}var hh=1,ul=1,$R=0,qn=0,Ut=0,Tl="";function mh(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:hh,column:ul,length:s,return:""}}function Yl(e,t){return gN(mh("",null,null,"",null,null,0),e,{length:-e.length},t)}function bN(){return Ut}function xN(){return Ut=qn>0?Bn(Tl,--qn):0,ul--,Ut===10&&(ul=1,hh--),Ut}function rr(){return Ut=qn<$R?Bn(Tl,qn++):0,ul++,Ut===10&&(ul=1,hh++),Ut}function Si(){return Bn(Tl,qn)}function Rf(){return qn}function zu(e,t){return gu(Tl,e,t)}function vu(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 NR(e){return hh=ul=1,$R=pi(Tl=e),qn=0,[]}function LR(e){return Tl="",e}function Tf(e){return AR(zu(qn-1,Tv(e===91?e+2:e===40?e+1:e)))}function SN(e){for(;(Ut=Si())&&Ut<33;)rr();return vu(e)>2||vu(Ut)>3?"":" "}function wN(e,t){for(;--t&&rr()&&!(Ut<48||Ut>102||Ut>57&&Ut<65||Ut>70&&Ut<97););return zu(e,Rf()+(t<6&&Si()==32&&rr()==32))}function Tv(e){for(;rr();)switch(Ut){case e:return qn;case 34:case 39:e!==34&&e!==39&&Tv(Ut);break;case 40:e===41&&Tv(e);break;case 92:rr();break}return qn}function EN(e,t){for(;rr()&&e+Ut!==47+10;)if(e+Ut===42+42&&Si()===47)break;return"/*"+zu(t,qn-1)+"*"+ph(e===47?e:rr())}function kN(e){for(;!vu(Si());)rr();return zu(e,qn)}function CN(e){return LR(Mf("",null,null,null,[""],e=NR(e),0,[0],e))}function Mf(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,p=0,h=0,g=1,_=1,m=1,v=0,y="",x=i,w=o,k=r,E=y;_;)switch(h=v,v=rr()){case 40:if(h!=108&&E.charCodeAt(d-1)==58){Rv(E+=Qe(Tf(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=Tf(v);break;case 9:case 10:case 13:case 32:E+=SN(h);break;case 92:E+=wN(Rf()-1,7);continue;case 47:switch(Si()){case 42:case 47:zd(RN(EN(rr(),Rf()),t,n),l);break;default:E+="/"}break;case 123*g:a[c++]=pi(E)*m;case 125*g:case 59:case 0:switch(v){case 0:case 125:_=0;case 59+u:p>0&&pi(E)-d&&zd(p>32?vx(E+";",r,n,d-1):vx(Qe(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(zd(k=gx(E,t,n,c,u,i,a,y,x=[],w=[],d),o),v===123)if(u===0)Mf(E,t,k,k,x,o,d,a,w);else switch(f){case 100:case 109:case 115:Mf(e,k,k,r&&zd(gx(e,k,k,0,0,i,a,y,i,x=[],d),w),i,w,d,a,r?x:w);break;default:Mf(E,k,k,k,[""],w,0,a,w)}}c=u=p=0,g=m=1,y=E="",d=s;break;case 58:d=1+pi(E),p=h;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&xN()==125)continue}switch(E+=ph(v),v*g){case 38:m=u>0?1:(E+="\f",-1);break;case 44:a[c++]=(pi(E)-1)*m,m=1;break;case 64:Si()===45&&(E+=Tf(rr())),f=Si(),u=d=pi(y=E+=kN(Rf())),v++;break;case 45:h===45&&pi(E)==2&&(g=0)}}return o}function gx(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=i===0?o:[""],p=k0(f),h=0,g=0,_=0;h<r;++h)for(var m=0,v=gu(e,d+1,d=mN(g=s[h])),y=e;m<p;++m)(y=AR(g>0?f[m]+" "+v:Qe(v,/&\f/g,f[m])))&&(l[_++]=y);return mh(e,t,n,i===0?w0:a,l,c,u)}function RN(e,t,n){return mh(e,t,n,IR,ph(bN()),gu(e,2,-2),0)}function vx(e,t,n,r){return mh(e,t,n,E0,gu(e,0,r),gu(e,r+1,-1),r)}function FR(e,t){switch(vN(e,t)){case 5103:return Ze+"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 Ze+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ze+e+pp+e+yn+e+e;case 6828:case 4268:return Ze+e+yn+e+e;case 6165:return Ze+e+yn+"flex-"+e+e;case 5187:return Ze+e+Qe(e,/(\w+).+(:[^]+)/,Ze+"box-$1$2"+yn+"flex-$1$2")+e;case 5443:return Ze+e+yn+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return Ze+e+yn+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ze+e+yn+Qe(e,"shrink","negative")+e;case 5292:return Ze+e+yn+Qe(e,"basis","preferred-size")+e;case 6060:return Ze+"box-"+Qe(e,"-grow","")+Ze+e+yn+Qe(e,"grow","positive")+e;case 4554:return Ze+Qe(e,/([^-])(transform)/g,"$1"+Ze+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,Ze+"$1"),/(image-set)/,Ze+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,Ze+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,Ze+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ze+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,Ze+"$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(pi(e)-1-t>6)switch(Bn(e,t+1)){case 109:if(Bn(e,t+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ze+"$2-$3$1"+pp+(Bn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rv(e,"stretch")?FR(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Bn(e,t+1)!==115)break;case 6444:switch(Bn(e,pi(e)-3-(~Rv(e,"!important")&&10))){case 107:return Qe(e,":",":"+Ze)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ze+(Bn(e,14)===45?"inline-":"")+"box$3$1"+Ze+"$2$3$1"+yn+"$2box$3")+e}break;case 5936:switch(Bn(e,t+11)){case 114:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ze+e+yn+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ze+e+yn+e+e}return e}function Ga(e,t){for(var n="",r=k0(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function TN(e,t,n,r){switch(e.type){case hN:case E0:return e.return=e.return||e.value;case IR:return"";case DR:return e.return=e.value+"{"+Ga(e.children,r)+"}";case w0:e.value=e.props.join(",")}return pi(n=Ga(e.children,r))?e.return=e.value+"{"+n+"}":""}function MN(e){var t=k0(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}function PN(e){return function(t){t.root||(t=t.return)&&e(t)}}function ON(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case E0:e.return=FR(e.value,e.length);break;case DR:return Ga([Yl(e,{value:Qe(e.value,"@","@"+Ze)})],r);case w0:if(e.length)return _N(e.props,function(i){switch(yN(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ga([Yl(e,{props:[Qe(i,/:(read-\w+)/,":"+pp+"$1")]})],r);case"::placeholder":return Ga([Yl(e,{props:[Qe(i,/:(plac\w+)/,":"+Ze+"input-$1")]}),Yl(e,{props:[Qe(i,/:(plac\w+)/,":"+pp+"$1")]}),Yl(e,{props:[Qe(i,/:(plac\w+)/,yn+"input-$1")]})],r)}return""})}}var IN=function(t,n,r){for(var i=0,o=0;i=o,o=Si(),i===38&&o===12&&(n[r]=1),!vu(o);)rr();return zu(t,qn)},DN=function(t,n){var r=-1,i=44;do switch(vu(i)){case 0:i===38&&Si()===12&&(n[r]=1),t[r]+=IN(qn-1,n,r);break;case 2:t[r]+=Tf(i);break;case 4:if(i===44){t[++r]=Si()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ph(i)}while(i=rr());return t},AN=function(t,n){return LR(DN(NR(t),n))},yx=new WeakMap,$N=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=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&&!yx.get(r))&&!i){yx.set(t,!0);for(var o=[],s=AN(n,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},NN=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},LN=[ON],FN=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(g){var _=g.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||LN,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var _=g.getAttribute("data-emotion").split(" "),m=1;m<_.length;m++)o[_[m]]=!0;a.push(g)});var l,c=[$N,NN];{var u,d=[TN,PN(function(g){u.insert(g)})],f=MN(c.concat(i,d)),p=function(_){return Ga(CN(_),f)};l=function(_,m,v,y){u=v,p(_?_+"{"+m.styles+"}":m.styles),y&&(h.inserted[m.name]=!0)}}var h={key:n,sheet:new pN({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return h.sheet.hydrate(a),h},BR=FN,BN=!0;function zN(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var zR=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||BN===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},UR=function(t,n,r){zR(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function UN(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var WN={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jN=/[A-Z]|^ms/g,HN=/_EMO_([^_]+?)_([^]*?)_EMO_/g,WR=function(t){return t.charCodeAt(1)===45},_x=function(t){return t!=null&&typeof t!="boolean"},Ym=OR(function(e){return WR(e)?e:e.replace(jN,"-$&").toLowerCase()}),bx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(HN,function(r,i,o){return hi={name:i,styles:o,next:hi},i})}return WN[t]!==1&&!WR(t)&&typeof n=="number"&&n!==0?n+"px":n};function yu(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return hi={name:n.name,styles:n.styles,next:hi},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)hi={name:r.name,styles:r.styles,next:hi},r=r.next;var i=n.styles+";";return i}return YN(e,t,n)}case"function":{if(e!==void 0){var o=hi,s=n(e);return hi=o,yu(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function YN(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=yu(e,t,n[i])+";";else for(var o in n){var s=n[o];if(typeof s!="object")t!=null&&t[s]!==void 0?r+=o+"{"+t[s]+"}":_x(s)&&(r+=Ym(o)+":"+bx(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)_x(s[a])&&(r+=Ym(o)+":"+bx(o,s[a])+";");else{var l=yu(e,t,s);switch(o){case"animation":case"animationName":{r+=Ym(o)+":"+l+";";break}default:r+=o+"{"+l+"}"}}}return r}var xx=/label:\s*([^\s;\n{]+)\s*(;|$)/g,hi,C0=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";hi=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=yu(r,n,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=yu(r,n,t[a]),i&&(o+=s[a]);xx.lastIndex=0;for(var l="",c;(c=xx.exec(o))!==null;)l+="-"+c[1];var u=UN(o)+l;return{name:u,styles:o,next:hi}},jR=b.exports.createContext(typeof HTMLElement!="undefined"?BR({key:"css"}):null),VN=jR.Provider,HR=function(t){return b.exports.forwardRef(function(n,r){var i=b.exports.useContext(jR);return t(n,i,r)})},R0=b.exports.createContext({});Fs["useInsertionEffect"]&&Fs["useInsertionEffect"];var Sx=Fs["useInsertionEffect"]?Fs["useInsertionEffect"]:b.exports.useLayoutEffect,GN=HR(function(e,t){var n=e.styles,r=C0([n],void 0,b.exports.useContext(R0)),i=b.exports.useRef();return Sx(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",o),s.hydrate([l])),i.current=[s,a],function(){s.flush()}},[t]),Sx(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&UR(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function T0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C0(t)}var Uu=function(){var t=T0.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},KN=uN,qN=function(t){return t!=="theme"},wx=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?KN:qN},Ex=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},XN=Fs["useInsertionEffect"]?Fs["useInsertionEffect"]:function(t){t()};function ZN(e){XN(e)}var JN=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return zR(n,r,i),ZN(function(){return UR(n,r,i)}),null},QN=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Ex(t,n,r),l=a||wx(i),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,p=1;p<f;p++)d.push(u[p],u[0][p])}var h=HR(function(g,_,m){var v=c&&g.as||i,y="",x=[],w=g;if(g.theme==null){w={};for(var k in g)w[k]=g[k];w.theme=b.exports.useContext(R0)}typeof g.className=="string"?y=zN(_.registered,x,g.className):g.className!=null&&(y=g.className+" ");var E=C0(d.concat(x),_.registered,w);y+=_.key+"-"+E.name,s!==void 0&&(y+=" "+s);var R=c&&a===void 0?wx(v):l,C={};for(var T in g)c&&T==="as"||R(T)&&(C[T]=g[T]);return C.className=y,C.ref=m,b.exports.createElement(b.exports.Fragment,null,b.exports.createElement(JN,{cache:_,serialized:E,isStringTag:typeof v=="string"}),b.exports.createElement(v,C))});return h.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=a,Object.defineProperty(h,"toString",{value:function(){return"."+s}}),h.withComponent=function(g,_){return e(g,S({},n,_,{shouldForwardProp:Ex(h,_,!0)})).apply(void 0,d)},h}},eL=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Mv=QN.bind();eL.forEach(function(e){Mv[e]=Mv(e)});var tL=Mv,gh={exports:{}},vh={};/**
|
53 |
* @license React
|
54 |
* react-jsx-runtime.production.min.js
|
55 |
*
|
57 |
*
|
58 |
* This source code is licensed under the MIT license found in the
|
59 |
* LICENSE file in the root directory of this source tree.
|
60 |
+
*/var nL=b.exports,rL=Symbol.for("react.element"),iL=Symbol.for("react.fragment"),oL=Object.prototype.hasOwnProperty,sL=nL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,aL={key:!0,ref:!0,__self:!0,__source:!0};function YR(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)oL.call(t,r)&&!aL.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:rL,type:e,key:o,ref:s,props:i,_owner:sL.current}}vh.Fragment=iL;vh.jsx=YR;vh.jsxs=YR;gh.exports=vh;const M=gh.exports.jsx,Ce=gh.exports.jsxs,lL=gh.exports.Fragment;var cL=Object.freeze(Object.defineProperty({__proto__:null,jsx:M,jsxs:Ce,Fragment:lL},Symbol.toStringTag,{value:"Module"}));const uL=BR({key:"css",prepend:!0});function gle(e){const{injectFirst:t,children:n}=e;return t?M(VN,{value:uL,children:n}):n}function dL(e){return e==null||Object.keys(e).length===0}function fL(e){const{styles:t,defaultTheme:n={}}=e;return M(GN,{styles:typeof t=="function"?i=>t(dL(i)?n:i):t})}/** @license MUI v5.8.7
|
61 |
*
|
62 |
* This source code is licensed under the MIT license found in the
|
63 |
* LICENSE file in the root directory of this source tree.
|
64 |
+
*/function pL(e,t){return tL(e,t)}function fc(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Sr(e,t,n={clone:!0}){const r=n.clone?S({},e):e;return fc(e)&&fc(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(fc(t[i])&&i in e&&fc(e[i])?r[i]=Sr(e[i],t[i],n):r[i]=t[i])}),r}function Ys(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."}var dt={};/** @license React v17.0.2
|
65 |
* react-is.production.min.js
|
66 |
*
|
67 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
68 |
*
|
69 |
* This source code is licensed under the MIT license found in the
|
70 |
* LICENSE file in the root directory of this source tree.
|
71 |
+
*/var yh=60103,_h=60106,Wu=60107,ju=60108,Hu=60114,Yu=60109,Vu=60110,Gu=60112,Ku=60113,M0=60120,qu=60115,Xu=60116,VR=60121,GR=60122,KR=60117,qR=60129,XR=60131;if(typeof Symbol=="function"&&Symbol.for){var an=Symbol.for;yh=an("react.element"),_h=an("react.portal"),Wu=an("react.fragment"),ju=an("react.strict_mode"),Hu=an("react.profiler"),Yu=an("react.provider"),Vu=an("react.context"),Gu=an("react.forward_ref"),Ku=an("react.suspense"),M0=an("react.suspense_list"),qu=an("react.memo"),Xu=an("react.lazy"),VR=an("react.block"),GR=an("react.server.block"),KR=an("react.fundamental"),qR=an("react.debug_trace_mode"),XR=an("react.legacy_hidden")}function ni(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case yh:switch(e=e.type,e){case Wu:case Hu:case ju:case Ku:case M0:return e;default:switch(e=e&&e.$$typeof,e){case Vu:case Gu:case Xu:case qu:case Yu:return e;default:return t}}case _h:return t}}}var hL=Yu,mL=yh,gL=Gu,vL=Wu,yL=Xu,_L=qu,bL=_h,xL=Hu,SL=ju,wL=Ku;dt.ContextConsumer=Vu;dt.ContextProvider=hL;dt.Element=mL;dt.ForwardRef=gL;dt.Fragment=vL;dt.Lazy=yL;dt.Memo=_L;dt.Portal=bL;dt.Profiler=xL;dt.StrictMode=SL;dt.Suspense=wL;dt.isAsyncMode=function(){return!1};dt.isConcurrentMode=function(){return!1};dt.isContextConsumer=function(e){return ni(e)===Vu};dt.isContextProvider=function(e){return ni(e)===Yu};dt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===yh};dt.isForwardRef=function(e){return ni(e)===Gu};dt.isFragment=function(e){return ni(e)===Wu};dt.isLazy=function(e){return ni(e)===Xu};dt.isMemo=function(e){return ni(e)===qu};dt.isPortal=function(e){return ni(e)===_h};dt.isProfiler=function(e){return ni(e)===Hu};dt.isStrictMode=function(e){return ni(e)===ju};dt.isSuspense=function(e){return ni(e)===Ku};dt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wu||e===Hu||e===qR||e===ju||e===Ku||e===M0||e===XR||typeof e=="object"&&e!==null&&(e.$$typeof===Xu||e.$$typeof===qu||e.$$typeof===Yu||e.$$typeof===Vu||e.$$typeof===Gu||e.$$typeof===KR||e.$$typeof===VR||e[0]===GR)};dt.typeOf=ni;function j(e){if(typeof e!="string")throw new Error(Ys(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pv(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Vs(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function EL(e,t){return()=>null}function Tc(e,t){return b.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function tn(e){return e&&e.ownerDocument||document}function Rr(e){return tn(e).defaultView||window}function kL(e,t){return()=>null}function dl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const CL=typeof window!="undefined"?b.exports.useLayoutEffect:b.exports.useEffect;var Tr=CL;let kx=0;function RL(e){const[t,n]=b.exports.useState(e),r=e||t;return b.exports.useEffect(()=>{t==null&&(kx+=1,n(`mui-${kx}`))},[t]),r}const Cx=Fs["useId"];function Ml(e){if(Cx!==void 0){const t=Cx();return e!=null?e:t}return RL(e)}function TL(e,t,n,r,i){return null}function zo({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.exports.useRef(e!==void 0),[o,s]=b.exports.useState(t),a=i?e:o,l=b.exports.useCallback(c=>{i||s(c)},[]);return[a,l]}function wn(e){const t=b.exports.useRef(e);return Tr(()=>{t.current=e}),b.exports.useCallback((...n)=>(0,t.current)(...n),[])}function Ve(e,t){return b.exports.useMemo(()=>e==null&&t==null?null:n=>{dl(e,n),dl(t,n)},[e,t])}let bh=!0,Ov=!1,Rx;const ML={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 PL(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&ML[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function OL(e){e.metaKey||e.altKey||e.ctrlKey||(bh=!0)}function Vm(){bh=!1}function IL(){this.visibilityState==="hidden"&&Ov&&(bh=!0)}function DL(e){e.addEventListener("keydown",OL,!0),e.addEventListener("mousedown",Vm,!0),e.addEventListener("pointerdown",Vm,!0),e.addEventListener("touchstart",Vm,!0),e.addEventListener("visibilitychange",IL,!0)}function AL(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return bh||PL(t)}function xh(){const e=b.exports.useCallback(i=>{i!=null&&DL(i.ownerDocument)},[]),t=b.exports.useRef(!1);function n(){return t.current?(Ov=!0,window.clearTimeout(Rx),Rx=window.setTimeout(()=>{Ov=!1},100),t.current=!1,!0):!1}function r(i){return AL(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function ZR(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let oa;function JR(){if(oa)return oa;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),oa="reverse",e.scrollLeft>0?oa="default":(e.scrollLeft=1,e.scrollLeft===0&&(oa="negative")),document.body.removeChild(e),oa}function Tx(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(JR()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function QR(e,t){const n=S({},t);return Object.keys(e).forEach(r=>{n[r]===void 0&&(n[r]=e[r])}),n}function he(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>(s&&(n&&n[s]&&o.push(n[s]),o.push(t(s))),o),[]).join(" ")}),r}const Mx=e=>e,$L=()=>{let e=Mx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Mx}}},NL=$L();var eT=NL;const LL={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function fe(e,t,n="Mui"){const r=LL[t];return r?`${n}-${r}`:`${eT.generate(e)}-${t}`}function me(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=fe(e,i,n)}),r}function Mc(e,t){return t?Sr(e,t,{clone:!1}):e}const P0={xs:0,sm:600,md:900,lg:1200,xl:1536},Px={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${P0[e]}px)`};function ri(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Px;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Px;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||P0).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function FL(e={}){var t;return(e==null||(t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function BL(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function zL(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o<e.length&&(n[i]=!0)}):r.forEach(i=>{e[i]!=null&&(n[i]=!0)}),n}function Sh({values:e,breakpoints:t,base:n}){const r=n||zL(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[o],o=a):s[a]=e,s),{})}function wh(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Ox(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=wh(e,n)||r,t&&(i=t(i)),i}function ae(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=wh(l,r)||{};return ri(s,a,d=>{let f=Ox(c,i,d);return d===f&&typeof d=="string"&&(f=Ox(c,i,`${t}${d==="default"?"":j(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function ns(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Mc(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function UL(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const WL={m:"margin",p:"padding"},jL={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ix={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},HL=UL(e=>{if(e.length>2)if(Ix[e])e=Ix[e];else return[e];const[t,n]=e.split(""),r=WL[t],i=jL[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),YL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],VL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],tT=[...YL,...VL];function Zu(e,t,n,r){var i;const o=(i=wh(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function nT(e){return Zu(e,"spacing",8)}function Ju(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 GL(e,t){return n=>e.reduce((r,i)=>(r[i]=Ju(t,n),r),{})}function KL(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=HL(n),o=GL(i,r),s=e[n];return ri(e,s,o)}function qL(e,t){const n=nT(e.theme);return Object.keys(e).map(r=>KL(e,t,r,n)).reduce(Mc,{})}function Eh(e){return qL(e,tT)}Eh.propTypes={};Eh.filterProps=tT;function Qu(e){return typeof e!="number"?e:`${e}px solid`}const XL=ae({prop:"border",themeKey:"borders",transform:Qu}),ZL=ae({prop:"borderTop",themeKey:"borders",transform:Qu}),JL=ae({prop:"borderRight",themeKey:"borders",transform:Qu}),QL=ae({prop:"borderBottom",themeKey:"borders",transform:Qu}),e5=ae({prop:"borderLeft",themeKey:"borders",transform:Qu}),t5=ae({prop:"borderColor",themeKey:"palette"}),n5=ae({prop:"borderTopColor",themeKey:"palette"}),r5=ae({prop:"borderRightColor",themeKey:"palette"}),i5=ae({prop:"borderBottomColor",themeKey:"palette"}),o5=ae({prop:"borderLeftColor",themeKey:"palette"}),O0=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ju(t,r)});return ri(e,e.borderRadius,n)}return null};O0.propTypes={};O0.filterProps=["borderRadius"];const s5=ns(XL,ZL,JL,QL,e5,t5,n5,r5,i5,o5,O0);var rT=s5;const a5=ae({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),l5=ae({prop:"display"}),c5=ae({prop:"overflow"}),u5=ae({prop:"textOverflow"}),d5=ae({prop:"visibility"}),f5=ae({prop:"whiteSpace"});var iT=ns(a5,l5,c5,u5,d5,f5);const p5=ae({prop:"flexBasis"}),h5=ae({prop:"flexDirection"}),m5=ae({prop:"flexWrap"}),g5=ae({prop:"justifyContent"}),v5=ae({prop:"alignItems"}),y5=ae({prop:"alignContent"}),_5=ae({prop:"order"}),b5=ae({prop:"flex"}),x5=ae({prop:"flexGrow"}),S5=ae({prop:"flexShrink"}),w5=ae({prop:"alignSelf"}),E5=ae({prop:"justifyItems"}),k5=ae({prop:"justifySelf"}),C5=ns(p5,h5,m5,g5,v5,y5,_5,b5,x5,S5,w5,E5,k5);var oT=C5;const I0=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({gap:Ju(t,r)});return ri(e,e.gap,n)}return null};I0.propTypes={};I0.filterProps=["gap"];const D0=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({columnGap:Ju(t,r)});return ri(e,e.columnGap,n)}return null};D0.propTypes={};D0.filterProps=["columnGap"];const A0=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zu(e.theme,"spacing",8),n=r=>({rowGap:Ju(t,r)});return ri(e,e.rowGap,n)}return null};A0.propTypes={};A0.filterProps=["rowGap"];const R5=ae({prop:"gridColumn"}),T5=ae({prop:"gridRow"}),M5=ae({prop:"gridAutoFlow"}),P5=ae({prop:"gridAutoColumns"}),O5=ae({prop:"gridAutoRows"}),I5=ae({prop:"gridTemplateColumns"}),D5=ae({prop:"gridTemplateRows"}),A5=ae({prop:"gridTemplateAreas"}),$5=ae({prop:"gridArea"}),N5=ns(I0,D0,A0,R5,T5,M5,P5,O5,I5,D5,A5,$5);var sT=N5;const L5=ae({prop:"color",themeKey:"palette"}),F5=ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),B5=ae({prop:"backgroundColor",themeKey:"palette"}),z5=ns(L5,F5,B5);var aT=z5;const U5=ae({prop:"position"}),W5=ae({prop:"zIndex",themeKey:"zIndex"}),j5=ae({prop:"top"}),H5=ae({prop:"right"}),Y5=ae({prop:"bottom"}),V5=ae({prop:"left"});var lT=ns(U5,W5,j5,H5,Y5,V5);const G5=ae({prop:"boxShadow",themeKey:"shadows"});var cT=G5;function rs(e){return e<=1&&e!==0?`${e*100}%`:e}const K5=ae({prop:"width",transform:rs}),uT=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||P0[n]||rs(n)}};return ri(e,e.maxWidth,t)}return null};uT.filterProps=["maxWidth"];const q5=ae({prop:"minWidth",transform:rs}),X5=ae({prop:"height",transform:rs}),Z5=ae({prop:"maxHeight",transform:rs}),J5=ae({prop:"minHeight",transform:rs});ae({prop:"size",cssProperty:"width",transform:rs});ae({prop:"size",cssProperty:"height",transform:rs});const Q5=ae({prop:"boxSizing"}),eF=ns(K5,uT,q5,X5,Z5,J5,Q5);var dT=eF;const tF=ae({prop:"fontFamily",themeKey:"typography"}),nF=ae({prop:"fontSize",themeKey:"typography"}),rF=ae({prop:"fontStyle",themeKey:"typography"}),iF=ae({prop:"fontWeight",themeKey:"typography"}),oF=ae({prop:"letterSpacing"}),sF=ae({prop:"textTransform"}),aF=ae({prop:"lineHeight"}),lF=ae({prop:"textAlign"}),cF=ae({prop:"typography",cssProperty:!1,themeKey:"typography"}),uF=ns(cF,tF,nF,rF,iF,oF,aF,lF,sF);var fT=uF;const Dx={borders:rT.filterProps,display:iT.filterProps,flexbox:oT.filterProps,grid:sT.filterProps,positions:lT.filterProps,palette:aT.filterProps,shadows:cT.filterProps,sizing:dT.filterProps,spacing:Eh.filterProps,typography:fT.filterProps},pT={borders:rT,display:iT,flexbox:oT,grid:sT,positions:lT,palette:aT,shadows:cT,sizing:dT,spacing:Eh,typography:fT},dF=Object.keys(Dx).reduce((e,t)=>(Dx[t].forEach(n=>{e[n]=pT[t]}),e),{});function fF(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function pF(e,t){return typeof e=="function"?e(t):e}function hF(e=pT){const t=Object.keys(e).reduce((i,o)=>(e[o].filterProps.forEach(s=>{i[s]=e[o]}),i),{});function n(i,o,s){const a={[i]:o,theme:s},l=t[i];return l?l(a):{[i]:o}}function r(i){const{sx:o,theme:s={}}=i||{};if(!o)return null;function a(l){let c=l;if(typeof l=="function")c=l(s);else if(typeof l!="object")return l;if(!c)return null;const u=FL(s.breakpoints),d=Object.keys(u);let f=u;return Object.keys(c).forEach(p=>{const h=pF(c[p],s);if(h!=null)if(typeof h=="object")if(t[p])f=Mc(f,n(p,h,s));else{const g=ri({theme:s},h,_=>({[p]:_}));fF(g,h)?f[p]=r({sx:h,theme:s}):f=Mc(f,g)}else f=Mc(f,n(p,h,s))}),BL(d,f)}return Array.isArray(o)?o.map(a):a(o)}return r}const hT=hF();hT.filterProps=["sx"];var mF=hT;const gF=["sx"],vF=e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{dF[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function mT(e){const{sx:t}=e,n=ee(e,gF),{systemProps:r,otherProps:i}=vF(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return fc(a)?S({},r,a):r}:o=S({},r,t),S({},i,{sx:o})}function gT(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=gT(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function K(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=gT(e))&&(r&&(r+=" "),r+=t);return r}const yF=["values","unit","step"],_F=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)=>S({},n,{[r.key]:r.val}),{})};function bF(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ee(e,yF),o=_F(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-r/100}${n})`}function u(f){return s.indexOf(f)+1<s.length?c(f,s[s.indexOf(f)+1]):a(f)}function d(f){const p=s.indexOf(f);return p===0?a(s[1]):p===s.length-1?l(s[p]):c(f,s[s.indexOf(f)+1]).replace("@media","@media not all and")}return S({keys:s,values:o,up:a,down:l,between:c,only:u,not:d,unit:n},i)}const xF={borderRadius:4};var SF=xF;function wF(e=8){if(e.mui)return e;const t=nT({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}const EF=["breakpoints","palette","spacing","shape"];function kh(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=ee(e,EF),a=bF(n),l=wF(i);let c=Sr({breakpoints:a,direction:"ltr",components:{},palette:S({mode:"light"},r),spacing:l,shape:S({},SF,o)},s);return c=t.reduce((u,d)=>Sr(u,d),c),c}const kF=b.exports.createContext(null);var vT=kF;function yT(){return b.exports.useContext(vT)}const CF=typeof Symbol=="function"&&Symbol.for;var RF=CF?Symbol.for("mui.nested"):"__THEME_NESTED__";function TF(e,t){return typeof t=="function"?t(e):S({},e,t)}function MF(e){const{children:t,theme:n}=e,r=yT(),i=b.exports.useMemo(()=>{const o=r===null?n:TF(r,n);return o!=null&&(o[RF]=r!==null),o},[n,r]);return M(vT.Provider,{value:i,children:t})}function PF(e){return Object.keys(e).length===0}function _T(e=null){const t=yT();return!t||PF(t)?e:t}const OF=kh();function $0(e=OF){return _T(e)}const IF=["variant"];function Ax(e){return e.length===0}function bT(e){const{variant:t}=e,n=ee(e,IF);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Ax(r)?e[i]:j(e[i]):r+=`${Ax(r)?i:j(i)}${j(e[i].toString())}`}),r}const DF=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],AF=["theme"],$F=["theme"];function Vl(e){return Object.keys(e).length===0}const NF=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,LF=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=bT(i.props);r[o]=i.style}),r},FF=(e,t,n,r)=>{var i,o;const{ownerState:s={}}=e,a=[],l=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return l&&l.forEach(c=>{let u=!0;Object.keys(c.props).forEach(d=>{s[d]!==c.props[d]&&e[d]!==c.props[d]&&(u=!1)}),u&&a.push(t[bT(c.props)])}),a};function Pc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const BF=kh();function xT(e={}){const{defaultTheme:t=BF,rootShouldForwardProp:n=Pc,slotShouldForwardProp:r=Pc,styleFunctionSx:i=mF}=e;return(o,s={})=>{const{name:a,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d}=s,f=ee(s,DF),p=c!==void 0?c:l&&l!=="Root"||!1,h=u||!1;let g,_=Pc;l==="Root"?_=n:l&&(_=r);const m=pL(o,S({shouldForwardProp:_,label:g},f)),v=(y,...x)=>{const w=x?x.map(C=>typeof C=="function"&&C.__emotion_real!==C?T=>{let{theme:P}=T,$=ee(T,AF);return C(S({theme:Vl(P)?t:P},$))}:C):[];let k=y;a&&d&&w.push(C=>{const T=Vl(C.theme)?t:C.theme,P=NF(a,T);if(P){const $={};return Object.entries(P).forEach(([N,Y])=>{$[N]=typeof Y=="function"?Y(S({},C,{theme:T})):Y}),d(C,$)}return null}),a&&!p&&w.push(C=>{const T=Vl(C.theme)?t:C.theme;return FF(C,LF(a,T),T,a)}),h||w.push(C=>{const T=Vl(C.theme)?t:C.theme;return i(S({},C,{theme:T}))});const E=w.length-x.length;if(Array.isArray(y)&&E>0){const C=new Array(E).fill("");k=[...y,...C],k.raw=[...y.raw,...C]}else typeof y=="function"&&y.__emotion_real!==y&&(k=C=>{let{theme:T}=C,P=ee(C,$F);return y(S({theme:Vl(T)?t:T},P))});return m(k,...w)};return m.withConfig&&(v.withConfig=m.withConfig),v}}const zF=xT();var UF=zF;function WF(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:QR(t.components[n].defaultProps,r)}function ST({props:e,name:t,defaultTheme:n}){const r=$0(n);return WF({theme:r,name:t,props:e})}function N0(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function jF(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Gs(e){if(e.type)return e;if(e.charAt(0)==="#")return Gs(jF(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Ys(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error(Ys(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Ch(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 HF(e){e=Gs(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Ch({type:a,values:l})}function Iv(e){e=Gs(e);let t=e.type==="hsl"?Gs(HF(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 YF(e,t){const n=Iv(e),r=Iv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Me(e,t){return e=Gs(e),t=N0(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ch(e)}function _u(e,t){if(e=Gs(e),t=N0(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 Ch(e)}function bu(e,t){if(e=Gs(e),t=N0(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 Ch(e)}function VF(e,t=.15){return Iv(e)>.5?_u(e,t):bu(e,t)}function GF(e){const t=$0();return M(R0.Provider,{value:typeof t=="object"?t:{},children:e.children})}function vle(e){const{children:t,theme:n}=e;return M(MF,{theme:n,children:M(GF,{children:t})})}const KF=["className","component","disableGutters","fixed","maxWidth","classes"],qF=kh(),XF=UF("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${j(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),ZF=e=>ST({props:e,name:"MuiContainer",defaultTheme:qF}),JF=(e,t)=>{const n=l=>fe(t,l),{classes:r,fixed:i,disableGutters:o,maxWidth:s}=e,a={root:["root",s&&`maxWidth${j(String(s))}`,i&&"fixed",o&&"disableGutters"]};return he(a,n,r)};function wT(e={}){const{createStyledComponent:t=XF,useThemeProps:n=ZF,componentName:r="MuiContainer"}=e,i=t(({theme:s,ownerState:a})=>S({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,d=s.breakpoints.values[u];return d!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>S({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return b.exports.forwardRef(function(a,l){const c=n(a),{className:u,component:d="div",disableGutters:f=!1,fixed:p=!1,maxWidth:h="lg"}=c,g=ee(c,KF),_=S({},c,{component:d,disableGutters:f,fixed:p,maxWidth:h}),m=JF(_,r);return M(i,S({as:d,ownerState:_,className:K(m.root,u),ref:l},g))})}const QF=wT();var yle=QF;function Ks(e){return typeof e=="string"}function Ud(e,t={},n){return Ks(e)?t:S({},t,{ownerState:S({},t.ownerState,n)})}function $x(e){return typeof e.normalize!="undefined"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function e4(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:o,trim:s=!1}=e;return(a,{inputValue:l,getOptionLabel:c})=>{let u=s?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=$x(u));const d=a.filter(f=>{let p=(o||c)(f);return n&&(p=p.toLowerCase()),t&&(p=$x(p)),i==="start"?p.indexOf(u)===0:p.indexOf(u)>-1});return typeof r=="number"?d.slice(0,r):d}}function Gm(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const t4=e4(),Nx=5;function n4(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:i=!1,disabled:o,clearOnBlur:s=!e.freeSolo,clearOnEscape:a=!1,componentName:l="useAutocomplete",defaultValue:c=e.multiple?[]:null,disableClearable:u=!1,disableCloseOnSelect:d=!1,disabledItemsFocusable:f=!1,disableListWrap:p=!1,filterOptions:h=t4,filterSelectedOptions:g=!1,freeSolo:_=!1,getOptionDisabled:m,getOptionLabel:v=H=>{var W;return(W=H.label)!=null?W:H},isOptionEqualToValue:y=(H,W)=>H===W,groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:E=!1,inputValue:R,multiple:C=!1,onChange:T,onClose:P,onHighlightChange:$,onInputChange:N,onOpen:Y,open:A,openOnFocus:I=!1,options:B,readOnly:O=!1,selectOnFocus:D=!e.freeSolo,value:U}=e,Z=Ml(k);let J=v;J=H=>{const W=v(H);return typeof W!="string"?String(W):W};const be=b.exports.useRef(!1),re=b.exports.useRef(!0),se=b.exports.useRef(null),G=b.exports.useRef(null),[pe,ue]=b.exports.useState(null),[ce,ve]=b.exports.useState(-1),Ae=n?0:-1,Be=b.exports.useRef(Ae),[de,ze]=zo({controlled:U,default:c,name:l}),[Se,Ge]=zo({controlled:R,default:"",name:l,state:"inputValue"}),[De,At]=b.exports.useState(!1),xt=b.exports.useCallback((H,W)=>{if(!(C?de.length<W.length:W!==null)&&!s)return;let we;if(C)we="";else if(W==null)we="";else{const ft=J(W);we=typeof ft=="string"?ft:""}Se!==we&&(Ge(we),N&&N(H,we,"reset"))},[J,Se,C,N,Ge,s,de]),Oe=b.exports.useRef();b.exports.useEffect(()=>{const H=de!==Oe.current;Oe.current=de,!(De&&!H)&&(_&&!H||xt(null,de))},[de,xt,De,Oe,_]);const[Ne,Pt]=zo({controlled:A,default:!1,name:l,state:"open"}),[jt,st]=b.exports.useState(!0),St=!C&&de!=null&&Se===J(de),We=Ne&&!O,ye=We?h(B.filter(H=>!(g&&(C?de:[de]).some(W=>W!==null&&y(H,W)))),{inputValue:St&&jt?"":Se,getOptionLabel:J}):[],F=Ne&&ye.length>0&&!O,te=wn(H=>{H===-1?se.current.focus():pe.querySelector(`[data-tag-index="${H}"]`).focus()});b.exports.useEffect(()=>{C&&ce>de.length-1&&(ve(-1),te(-1))},[de,C,ce,te]);function V(H,W){if(!G.current||H===-1)return-1;let xe=H;for(;;){if(W==="next"&&xe===ye.length||W==="previous"&&xe===-1)return-1;const we=G.current.querySelector(`[data-option-index="${xe}"]`),ft=f?!1:!we||we.disabled||we.getAttribute("aria-disabled")==="true";if(we&&!we.hasAttribute("tabindex")||ft)xe+=W==="next"?1:-1;else return xe}}const le=wn(({event:H,index:W,reason:xe="auto"})=>{if(Be.current=W,W===-1?se.current.removeAttribute("aria-activedescendant"):se.current.setAttribute("aria-activedescendant",`${Z}-option-${W}`),$&&$(H,W===-1?null:ye[W],xe),!G.current)return;const we=G.current.querySelector('[role="option"].Mui-focused');we&&(we.classList.remove("Mui-focused"),we.classList.remove("Mui-focusVisible"));const ft=G.current.parentElement.querySelector('[role="listbox"]');if(!ft)return;if(W===-1){ft.scrollTop=0;return}const sn=G.current.querySelector(`[data-option-index="${W}"]`);if(!!sn&&(sn.classList.add("Mui-focused"),xe==="keyboard"&&sn.classList.add("Mui-focusVisible"),ft.scrollHeight>ft.clientHeight&&xe!=="mouse")){const Vt=sn,ai=ft.clientHeight+ft.scrollTop,k1=Vt.offsetTop+Vt.offsetHeight;k1>ai?ft.scrollTop=k1-ft.clientHeight:Vt.offsetTop-Vt.offsetHeight*(x?1.3:0)<ft.scrollTop&&(ft.scrollTop=Vt.offsetTop-Vt.offsetHeight*(x?1.3:0))}}),Re=wn(({event:H,diff:W,direction:xe="next",reason:we="auto"})=>{if(!We)return;const sn=V((()=>{const Vt=ye.length-1;if(W==="reset")return Ae;if(W==="start")return 0;if(W==="end")return Vt;const ai=Be.current+W;return ai<0?ai===-1&&E?-1:p&&Be.current!==-1||Math.abs(W)>1?0:Vt:ai>Vt?ai===Vt+1&&E?-1:p||Math.abs(W)>1?Vt:0:ai})(),xe);if(le({index:sn,reason:we,event:H}),t&&W!=="reset")if(sn===-1)se.current.value=Se;else{const Vt=J(ye[sn]);se.current.value=Vt,Vt.toLowerCase().indexOf(Se.toLowerCase())===0&&Se.length>0&&se.current.setSelectionRange(Se.length,Vt.length)}}),Je=b.exports.useCallback(()=>{if(!We)return;const H=C?de[0]:de;if(ye.length===0||H==null){Re({diff:"reset"});return}if(!!G.current){if(H!=null){const W=ye[Be.current];if(C&&W&&Gm(de,we=>y(W,we))!==-1)return;const xe=Gm(ye,we=>y(we,H));xe===-1?Re({diff:"reset"}):le({index:xe});return}if(Be.current>=ye.length-1){le({index:ye.length-1});return}le({index:Be.current})}},[ye.length,C?!1:de,g,Re,le,We,Se,C]),hn=wn(H=>{dl(G,H),H&&Je()});b.exports.useEffect(()=>{Je()},[Je]);const Ht=H=>{Ne||(Pt(!0),st(!0),Y&&Y(H))},Ar=(H,W)=>{!Ne||(Pt(!1),P&&P(H,W))},Pn=(H,W,xe,we)=>{if(C){if(de.length===W.length&&de.every((ft,sn)=>ft===W[sn]))return}else if(de===W)return;T&&T(H,W,xe,we),ze(W)},$t=b.exports.useRef(!1),wt=(H,W,xe="selectOption",we="options")=>{let ft=xe,sn=W;if(C){sn=Array.isArray(de)?de.slice():[];const Vt=Gm(sn,ai=>y(W,ai));Vt===-1?sn.push(W):we!=="freeSolo"&&(sn.splice(Vt,1),ft="removeOption")}xt(H,sn),Pn(H,sn,ft,{option:W}),!d&&!H.ctrlKey&&!H.metaKey&&Ar(H,ft),(i===!0||i==="touch"&&$t.current||i==="mouse"&&!$t.current)&&se.current.blur()};function rn(H,W){if(H===-1)return-1;let xe=H;for(;;){if(W==="next"&&xe===de.length||W==="previous"&&xe===-1)return-1;const we=pe.querySelector(`[data-tag-index="${xe}"]`);if(!we||!we.hasAttribute("tabindex")||we.disabled||we.getAttribute("aria-disabled")==="true")xe+=W==="next"?1:-1;else return xe}}const ls=(H,W)=>{if(!C)return;Se===""&&Ar(H,"toggleInput");let xe=ce;ce===-1?Se===""&&W==="previous"&&(xe=de.length-1):(xe+=W==="next"?1:-1,xe<0&&(xe=0),xe===de.length&&(xe=-1)),xe=rn(xe,W),ve(xe),te(xe)},mn=H=>{be.current=!0,Ge(""),N&&N(H,"","clear"),Pn(H,C?[]:null,"clear")},lo=H=>W=>{if(H.onKeyDown&&H.onKeyDown(W),!W.defaultMuiPrevented&&(ce!==-1&&["ArrowLeft","ArrowRight"].indexOf(W.key)===-1&&(ve(-1),te(-1)),W.which!==229))switch(W.key){case"Home":We&&w&&(W.preventDefault(),Re({diff:"start",direction:"next",reason:"keyboard",event:W}));break;case"End":We&&w&&(W.preventDefault(),Re({diff:"end",direction:"previous",reason:"keyboard",event:W}));break;case"PageUp":W.preventDefault(),Re({diff:-Nx,direction:"previous",reason:"keyboard",event:W}),Ht(W);break;case"PageDown":W.preventDefault(),Re({diff:Nx,direction:"next",reason:"keyboard",event:W}),Ht(W);break;case"ArrowDown":W.preventDefault(),Re({diff:1,direction:"next",reason:"keyboard",event:W}),Ht(W);break;case"ArrowUp":W.preventDefault(),Re({diff:-1,direction:"previous",reason:"keyboard",event:W}),Ht(W);break;case"ArrowLeft":ls(W,"previous");break;case"ArrowRight":ls(W,"next");break;case"Enter":if(Be.current!==-1&&We){const xe=ye[Be.current],we=m?m(xe):!1;if(W.preventDefault(),we)return;wt(W,xe,"selectOption"),t&&se.current.setSelectionRange(se.current.value.length,se.current.value.length)}else _&&Se!==""&&St===!1&&(C&&W.preventDefault(),wt(W,Se,"createOption","freeSolo"));break;case"Escape":We?(W.preventDefault(),W.stopPropagation(),Ar(W,"escape")):a&&(Se!==""||C&&de.length>0)&&(W.preventDefault(),W.stopPropagation(),mn(W));break;case"Backspace":if(C&&!O&&Se===""&&de.length>0){const xe=ce===-1?de.length-1:ce,we=de.slice();we.splice(xe,1),Pn(W,we,"removeOption",{option:de[xe]})}break}},Al=H=>{At(!0),I&&!be.current&&Ht(H)},$r=H=>{if(G.current!==null&&G.current.parentElement.contains(document.activeElement)){se.current.focus();return}At(!1),re.current=!0,be.current=!1,r&&Be.current!==-1&&We?wt(H,ye[Be.current],"blur"):r&&_&&Se!==""?wt(H,Se,"blur","freeSolo"):s&&xt(H,de),Ar(H,"blur")},je=H=>{const W=H.target.value;Se!==W&&(Ge(W),st(!1),N&&N(H,W,"input")),W===""?!u&&!C&&Pn(H,null,"clear"):Ht(H)},on=H=>{le({event:H,index:Number(H.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Nr=()=>{$t.current=!0},ra=H=>{const W=Number(H.currentTarget.getAttribute("data-option-index"));wt(H,ye[W],"selectOption"),$t.current=!1},fd=H=>W=>{const xe=de.slice();xe.splice(H,1),Pn(W,xe,"removeOption",{option:de[H]})},pd=H=>{Ne?Ar(H,"toggleInput"):Ht(H)},lm=H=>{H.target.getAttribute("id")!==Z&&H.preventDefault()},cm=()=>{se.current.focus(),D&&re.current&&se.current.selectionEnd-se.current.selectionStart===0&&se.current.select(),re.current=!1},um=H=>{(Se===""||!Ne)&&pd(H)};let Te=_&&Se.length>0;Te=Te||(C?de.length>0:de!==null);let Yt=ye;return x&&(Yt=ye.reduce((H,W,xe)=>{const we=x(W);return H.length>0&&H[H.length-1].group===we?H[H.length-1].options.push(W):H.push({key:xe,index:xe,group:we,options:[W]}),H},[])),o&&De&&$r(),{getRootProps:(H={})=>S({"aria-owns":F?`${Z}-listbox`:null},H,{onKeyDown:lo(H),onMouseDown:lm,onClick:cm}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:Se,onBlur:$r,onFocus:Al,onChange:je,onMouseDown:um,"aria-activedescendant":We?"":null,"aria-autocomplete":t?"both":"list","aria-controls":F?`${Z}-listbox`:void 0,"aria-expanded":F,autoComplete:"off",ref:se,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:mn}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:pd}),getTagProps:({index:H})=>S({key:H,"data-tag-index":H,tabIndex:-1},!O&&{onDelete:fd(H)}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:hn,onMouseDown:H=>{H.preventDefault()}}),getOptionProps:({index:H,option:W})=>{const xe=(C?de:[de]).some(ft=>ft!=null&&y(W,ft)),we=m?m(W):!1;return{key:J(W),tabIndex:-1,role:"option",id:`${Z}-option-${H}`,onMouseOver:on,onClick:ra,onTouchStart:Nr,"data-option-index":H,"aria-disabled":we,"aria-selected":xe}},id:Z,inputValue:Se,value:de,dirty:Te,popupOpen:We,focused:De||ce!==-1,anchorEl:pe,setAnchorEl:ue,focusedTag:ce,groupedOptions:Yt}}function Lx(e){return e.substring(2).toLowerCase()}function r4(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function i4(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:o="onTouchEnd"}=e,s=b.exports.useRef(!1),a=b.exports.useRef(null),l=b.exports.useRef(!1),c=b.exports.useRef(!1);b.exports.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Ve(t.ref,a),d=wn(h=>{const g=c.current;c.current=!1;const _=tn(a.current);if(!l.current||!a.current||"clientX"in h&&r4(h,_))return;if(s.current){s.current=!1;return}let m;h.composedPath?m=h.composedPath().indexOf(a.current)>-1:m=!_.documentElement.contains(h.target)||a.current.contains(h.target),!m&&(n||!g)&&i(h)}),f=h=>g=>{c.current=!0;const _=t.props[h];_&&_(g)},p={ref:u};return o!==!1&&(p[o]=f(o)),b.exports.useEffect(()=>{if(o!==!1){const h=Lx(o),g=tn(a.current),_=()=>{s.current=!0};return g.addEventListener(h,d),g.addEventListener("touchmove",_),()=>{g.removeEventListener(h,d),g.removeEventListener("touchmove",_)}}},[d,o]),r!==!1&&(p[r]=f(r)),b.exports.useEffect(()=>{if(r!==!1){const h=Lx(r),g=tn(a.current);return g.addEventListener(h,d),()=>{g.removeEventListener(h,d)}}},[d,r]),M(b.exports.Fragment,{children:b.exports.cloneElement(t,p)})}var Gn="top",Mr="bottom",Pr="right",Kn="left",L0="auto",ed=[Gn,Mr,Pr,Kn],fl="start",xu="end",o4="clippingParents",ET="viewport",Gl="popper",s4="reference",Fx=ed.reduce(function(e,t){return e.concat([t+"-"+fl,t+"-"+xu])},[]),kT=[].concat(ed,[L0]).reduce(function(e,t){return e.concat([t,t+"-"+fl,t+"-"+xu])},[]),a4="beforeRead",l4="read",c4="afterRead",u4="beforeMain",d4="main",f4="afterMain",p4="beforeWrite",h4="write",m4="afterWrite",g4=[a4,l4,c4,u4,d4,f4,p4,h4,m4];function ki(e){return e?(e.nodeName||"").toLowerCase():null}function ii(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pl(e){var t=ii(e).Element;return e instanceof t||e instanceof Element}function wr(e){var t=ii(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function F0(e){if(typeof ShadowRoot=="undefined")return!1;var t=ii(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function v4(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!wr(o)||!ki(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function y4(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 i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!wr(i)||!ki(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}var _4={name:"applyStyles",enabled:!0,phase:"write",fn:v4,effect:y4,requires:["computeStyles"]};function wi(e){return e.split("-")[0]}var As=Math.max,hp=Math.min,hl=Math.round;function ml(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(wr(e)&&t){var o=e.offsetHeight,s=e.offsetWidth;s>0&&(r=hl(n.width)/s||1),o>0&&(i=hl(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function B0(e){var t=ml(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 CT(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&F0(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function eo(e){return ii(e).getComputedStyle(e)}function b4(e){return["table","td","th"].indexOf(ki(e))>=0}function is(e){return((pl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rh(e){return ki(e)==="html"?e:e.assignedSlot||e.parentNode||(F0(e)?e.host:null)||is(e)}function Bx(e){return!wr(e)||eo(e).position==="fixed"?null:e.offsetParent}function x4(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&wr(e)){var r=eo(e);if(r.position==="fixed")return null}var i=Rh(e);for(F0(i)&&(i=i.host);wr(i)&&["html","body"].indexOf(ki(i))<0;){var o=eo(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function td(e){for(var t=ii(e),n=Bx(e);n&&b4(n)&&eo(n).position==="static";)n=Bx(n);return n&&(ki(n)==="html"||ki(n)==="body"&&eo(n).position==="static")?t:n||x4(e)||t}function z0(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Oc(e,t,n){return As(e,hp(t,n))}function S4(e,t,n){var r=Oc(e,t,n);return r>n?n:r}function RT(){return{top:0,right:0,bottom:0,left:0}}function TT(e){return Object.assign({},RT(),e)}function MT(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var w4=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,TT(typeof t!="number"?t:MT(t,ed))};function E4(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=wi(n.placement),l=z0(a),c=[Kn,Pr].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=w4(i.padding,n),f=B0(o),p=l==="y"?Gn:Kn,h=l==="y"?Mr:Pr,g=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],_=s[l]-n.rects.reference[l],m=td(o),v=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,y=g/2-_/2,x=d[p],w=v-f[u]-d[h],k=v/2-f[u]/2+y,E=Oc(x,k,w),R=l;n.modifiersData[r]=(t={},t[R]=E,t.centerOffset=E-k,t)}}function k4(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!CT(t.elements.popper,i)||(t.elements.arrow=i))}var C4={name:"arrow",enabled:!0,phase:"main",fn:E4,effect:k4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gl(e){return e.split("-")[1]}var R4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T4(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:hl(t*i)/i||0,y:hl(n*i)/i||0}}function zx(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,p=f===void 0?0:f,h=s.y,g=h===void 0?0:h,_=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=_.x,g=_.y;var m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=Kn,x=Gn,w=window;if(c){var k=td(n),E="clientHeight",R="clientWidth";if(k===ii(n)&&(k=is(n),eo(k).position!=="static"&&a==="absolute"&&(E="scrollHeight",R="scrollWidth")),k=k,i===Gn||(i===Kn||i===Pr)&&o===xu){x=Mr;var C=d&&k===w&&w.visualViewport?w.visualViewport.height:k[E];g-=C-r.height,g*=l?1:-1}if(i===Kn||(i===Gn||i===Mr)&&o===xu){y=Pr;var T=d&&k===w&&w.visualViewport?w.visualViewport.width:k[R];p-=T-r.width,p*=l?1:-1}}var P=Object.assign({position:a},c&&R4),$=u===!0?T4({x:p,y:g}):{x:p,y:g};if(p=$.x,g=$.y,l){var N;return Object.assign({},P,(N={},N[x]=v?"0":"",N[y]=m?"0":"",N.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",N))}return Object.assign({},P,(t={},t[x]=v?g+"px":"",t[y]=m?p+"px":"",t.transform="",t))}function M4(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:wi(t.placement),variation:gl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zx(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zx(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var P4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:M4,data:{}},Wd={passive:!0};function O4(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=ii(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Wd)}),a&&l.addEventListener("resize",n.update,Wd),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Wd)}),a&&l.removeEventListener("resize",n.update,Wd)}}var I4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:O4,data:{}},D4={left:"right",right:"left",bottom:"top",top:"bottom"};function Pf(e){return e.replace(/left|right|bottom|top/g,function(t){return D4[t]})}var A4={start:"end",end:"start"};function Ux(e){return e.replace(/start|end/g,function(t){return A4[t]})}function U0(e){var t=ii(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function W0(e){return ml(is(e)).left+U0(e).scrollLeft}function $4(e){var t=ii(e),n=is(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+W0(e),y:a}}function N4(e){var t,n=is(e),r=U0(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=As(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=As(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+W0(e),l=-r.scrollTop;return eo(i||n).direction==="rtl"&&(a+=As(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function j0(e){var t=eo(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function PT(e){return["html","body","#document"].indexOf(ki(e))>=0?e.ownerDocument.body:wr(e)&&j0(e)?e:PT(Rh(e))}function Ic(e,t){var n;t===void 0&&(t=[]);var r=PT(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=ii(r),s=i?[o].concat(o.visualViewport||[],j0(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Ic(Rh(s)))}function Dv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function L4(e){var t=ml(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Wx(e,t){return t===ET?Dv($4(e)):pl(t)?L4(t):Dv(N4(is(e)))}function F4(e){var t=Ic(Rh(e)),n=["absolute","fixed"].indexOf(eo(e).position)>=0,r=n&&wr(e)?td(e):e;return pl(r)?t.filter(function(i){return pl(i)&&CT(i,r)&&ki(i)!=="body"}):[]}function B4(e,t,n){var r=t==="clippingParents"?F4(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce(function(a,l){var c=Wx(e,l);return a.top=As(c.top,a.top),a.right=hp(c.right,a.right),a.bottom=hp(c.bottom,a.bottom),a.left=As(c.left,a.left),a},Wx(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function OT(e){var t=e.reference,n=e.element,r=e.placement,i=r?wi(r):null,o=r?gl(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case Gn:l={x:s,y:t.y-n.height};break;case Mr:l={x:s,y:t.y+t.height};break;case Pr:l={x:t.x+t.width,y:a};break;case Kn:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?z0(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case fl:l[c]=l[c]-(t[u]/2-n[u]/2);break;case xu:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Su(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.boundary,s=o===void 0?o4:o,a=n.rootBoundary,l=a===void 0?ET:a,c=n.elementContext,u=c===void 0?Gl:c,d=n.altBoundary,f=d===void 0?!1:d,p=n.padding,h=p===void 0?0:p,g=TT(typeof h!="number"?h:MT(h,ed)),_=u===Gl?s4:Gl,m=e.rects.popper,v=e.elements[f?_:u],y=B4(pl(v)?v:v.contextElement||is(e.elements.popper),s,l),x=ml(e.elements.reference),w=OT({reference:x,element:m,strategy:"absolute",placement:i}),k=Dv(Object.assign({},m,w)),E=u===Gl?k:x,R={top:y.top-E.top+g.top,bottom:E.bottom-y.bottom+g.bottom,left:y.left-E.left+g.left,right:E.right-y.right+g.right},C=e.modifiersData.offset;if(u===Gl&&C){var T=C[i];Object.keys(R).forEach(function(P){var $=[Pr,Mr].indexOf(P)>=0?1:-1,N=[Gn,Mr].indexOf(P)>=0?"y":"x";R[P]+=T[N]*$})}return R}function z4(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?kT:l,u=gl(r),d=u?a?Fx:Fx.filter(function(h){return gl(h)===u}):ed,f=d.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,g){return h[g]=Su(e,{placement:g,boundary:i,rootBoundary:o,padding:s})[wi(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function U4(e){if(wi(e)===L0)return[];var t=Pf(e);return[Ux(e),t,Ux(t)]}function W4(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,_=t.options.placement,m=wi(_),v=m===_,y=l||(v||!h?[Pf(_)]:U4(_)),x=[_].concat(y).reduce(function(re,se){return re.concat(wi(se)===L0?z4(t,{placement:se,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):se)},[]),w=t.rects.reference,k=t.rects.popper,E=new Map,R=!0,C=x[0],T=0;T<x.length;T++){var P=x[T],$=wi(P),N=gl(P)===fl,Y=[Gn,Mr].indexOf($)>=0,A=Y?"width":"height",I=Su(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),B=Y?N?Pr:Kn:N?Mr:Gn;w[A]>k[A]&&(B=Pf(B));var O=Pf(B),D=[];if(o&&D.push(I[$]<=0),a&&D.push(I[B]<=0,I[O]<=0),D.every(function(re){return re})){C=P,R=!1;break}E.set(P,D)}if(R)for(var U=h?3:1,Z=function(se){var G=x.find(function(pe){var ue=E.get(pe);if(ue)return ue.slice(0,se).every(function(ce){return ce})});if(G)return C=G,"break"},J=U;J>0;J--){var be=Z(J);if(be==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}var j4={name:"flip",enabled:!0,phase:"main",fn:W4,requiresIfExists:["offset"],data:{_skip:!1}};function jx(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 Hx(e){return[Gn,Pr,Mr,Kn].some(function(t){return e[t]>=0})}function H4(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Su(t,{elementContext:"reference"}),a=Su(t,{altBoundary:!0}),l=jx(s,r),c=jx(a,i,o),u=Hx(l),d=Hx(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Y4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:H4};function V4(e,t,n){var r=wi(e),i=[Kn,Gn].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Kn,Pr].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function G4(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=kT.reduce(function(u,d){return u[d]=V4(d,t.rects,o),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var K4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:G4};function q4(e){var t=e.state,n=e.name;t.modifiersData[n]=OT({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var X4={name:"popperOffsets",enabled:!0,phase:"read",fn:q4,data:{}};function Z4(e){return e==="x"?"y":"x"}function J4(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,g=h===void 0?0:h,_=Su(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),m=wi(t.placement),v=gl(t.placement),y=!v,x=z0(m),w=Z4(x),k=t.modifiersData.popperOffsets,E=t.rects.reference,R=t.rects.popper,C=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,T=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(!!k){if(o){var N,Y=x==="y"?Gn:Kn,A=x==="y"?Mr:Pr,I=x==="y"?"height":"width",B=k[x],O=B+_[Y],D=B-_[A],U=p?-R[I]/2:0,Z=v===fl?E[I]:R[I],J=v===fl?-R[I]:-E[I],be=t.elements.arrow,re=p&&be?B0(be):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:RT(),G=se[Y],pe=se[A],ue=Oc(0,E[I],re[I]),ce=y?E[I]/2-U-ue-G-T.mainAxis:Z-ue-G-T.mainAxis,ve=y?-E[I]/2+U+ue+pe+T.mainAxis:J+ue+pe+T.mainAxis,Ae=t.elements.arrow&&td(t.elements.arrow),Be=Ae?x==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,de=(N=P==null?void 0:P[x])!=null?N:0,ze=B+ce-de-Be,Se=B+ve-de,Ge=Oc(p?hp(O,ze):O,B,p?As(D,Se):D);k[x]=Ge,$[x]=Ge-B}if(a){var De,At=x==="x"?Gn:Kn,xt=x==="x"?Mr:Pr,Oe=k[w],Ne=w==="y"?"height":"width",Pt=Oe+_[At],jt=Oe-_[xt],st=[Gn,Kn].indexOf(m)!==-1,St=(De=P==null?void 0:P[w])!=null?De:0,We=st?Pt:Oe-E[Ne]-R[Ne]-St+T.altAxis,ye=st?Oe+E[Ne]+R[Ne]-St-T.altAxis:jt,F=p&&st?S4(We,Oe,ye):Oc(p?We:Pt,Oe,p?ye:jt);k[w]=F,$[w]=F-Oe}t.modifiersData[r]=$}}var Q4={name:"preventOverflow",enabled:!0,phase:"main",fn:J4,requiresIfExists:["offset"]};function eB(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function tB(e){return e===ii(e)||!wr(e)?U0(e):eB(e)}function nB(e){var t=e.getBoundingClientRect(),n=hl(t.width)/e.offsetWidth||1,r=hl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function rB(e,t,n){n===void 0&&(n=!1);var r=wr(t),i=wr(t)&&nB(t),o=is(t),s=ml(e,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ki(t)!=="body"||j0(o))&&(a=tB(t)),wr(t)?(l=ml(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=W0(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function iB(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function oB(e){var t=iB(e);return g4.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function sB(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function aB(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Yx={placement:"bottom",modifiers:[],strategy:"absolute"};function Vx(){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 lB(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Yx:i;return function(a,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yx,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(m){var v=typeof m=="function"?m(u.options):m;g(),u.options=Object.assign({},o,u.options,v),u.scrollParents={reference:pl(a)?Ic(a):a.contextElement?Ic(a.contextElement):[],popper:Ic(l)};var y=oB(aB([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(x){return x.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var m=u.elements,v=m.reference,y=m.popper;if(!!Vx(v,y)){u.rects={reference:rB(v,td(y),u.options.strategy==="fixed"),popper:B0(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var w=u.orderedModifiers[x],k=w.fn,E=w.options,R=E===void 0?{}:E,C=w.name;typeof k=="function"&&(u=k({state:u,options:R,name:C,instance:p})||u)}}}},update:sB(function(){return new Promise(function(_){p.forceUpdate(),_(u)})}),destroy:function(){g(),f=!0}};if(!Vx(a,l))return p;p.setOptions(c).then(function(_){!f&&c.onFirstUpdate&&c.onFirstUpdate(_)});function h(){u.orderedModifiers.forEach(function(_){var m=_.name,v=_.options,y=v===void 0?{}:v,x=_.effect;if(typeof x=="function"){var w=x({state:u,name:m,instance:p,options:y}),k=function(){};d.push(w||k)}})}function g(){d.forEach(function(_){return _()}),d=[]}return p}}var cB=[I4,X4,P4,_4,K4,j4,Q4,C4,Y4],uB=lB({defaultModifiers:cB});function dB(e){return typeof e=="function"?e():e}const fB=b.exports.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=b.exports.useState(null),l=Ve(b.exports.isValidElement(r)?r.ref:null,n);return Tr(()=>{o||a(dB(i)||document.body)},[i,o]),Tr(()=>{if(s&&!o)return dl(n,s),()=>{dl(n,null)}},[n,s,o]),o?b.exports.isValidElement(r)?b.exports.cloneElement(r,{ref:l}):r:s&&Au.exports.createPortal(r,s)});var IT=fB;const pB=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],hB=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function mB(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 Av(e){return typeof e=="function"?e():e}const gB={},vB=b.exports.forwardRef(function(t,n){const{anchorEl:r,children:i,direction:o,disablePortal:s,modifiers:a,open:l,placement:c,popperOptions:u,popperRef:d,TransitionProps:f}=t,p=ee(t,pB),h=b.exports.useRef(null),g=Ve(h,n),_=b.exports.useRef(null),m=Ve(_,d),v=b.exports.useRef(m);Tr(()=>{v.current=m},[m]),b.exports.useImperativeHandle(d,()=>_.current,[]);const y=mB(c,o),[x,w]=b.exports.useState(y);b.exports.useEffect(()=>{_.current&&_.current.forceUpdate()}),Tr(()=>{if(!r||!l)return;const E=T=>{w(T.placement)};Av(r);let R=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:T})=>{E(T)}}];a!=null&&(R=R.concat(a)),u&&u.modifiers!=null&&(R=R.concat(u.modifiers));const C=uB(Av(r),h.current,S({placement:y},u,{modifiers:R}));return v.current(C),()=>{C.destroy(),v.current(null)}},[r,s,a,l,u,y]);const k={placement:x};return f!==null&&(k.TransitionProps=f),M("div",S({ref:g,role:"tooltip"},p,{children:typeof i=="function"?i(k):i}))}),yB=b.exports.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=gB,popperRef:p,style:h,transition:g=!1}=t,_=ee(t,hB),[m,v]=b.exports.useState(!0),y=()=>{v(!1)},x=()=>{v(!0)};if(!l&&!u&&(!g||m))return null;const w=o||(r?tn(Av(r)).body:void 0);return M(IT,{disablePortal:a,container:w,children:M(vB,S({anchorEl:r,direction:s,disablePortal:a,modifiers:c,ref:n,open:g?!m:u,placement:d,popperOptions:f,popperRef:p},_,{style:S({position:"fixed",top:0,left:0,display:!u&&l&&(!g||m)?"none":null},h),TransitionProps:g?{in:u,onEnter:y,onExited:x}:null,children:i}))})});var _B=yB;function bB(e){const t=tn(e);return t.body===e?Rr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Dc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Gx(e){return parseInt(Rr(e).getComputedStyle(e).paddingRight,10)||0}function Kx(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,a=>{o.indexOf(a)===-1&&s.indexOf(a.tagName)===-1&&Dc(a,i)})}function Km(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function xB(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(bB(r)){const l=ZR(tn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Gx(r)+l}px`;const c=tn(r).querySelectorAll(".mui-fixed");[].forEach.call(c,u=>{n.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${Gx(u)+l}px`})}const o=r.parentElement,s=Rr(r),a=(o==null?void 0:o.nodeName)==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r;n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function SB(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class wB{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Dc(t.modalRef,!1);const i=SB(n);Kx(n,t.mount,t.modalRef,i,!0);const o=Km(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=Km(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=xB(i,n))}remove(t){const n=this.modals.indexOf(t);if(n===-1)return n;const r=Km(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Dc(t.modalRef,!0),Kx(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const o=i.modals[i.modals.length-1];o.modalRef&&Dc(o.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const EB=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function kB(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function CB(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function RB(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||CB(e))}function TB(e){const t=[],n=[];return Array.from(e.querySelectorAll(EB)).forEach((r,i)=>{const o=kB(r);o===-1||!RB(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function MB(){return!0}function PB(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=TB,isEnabled:s=MB,open:a}=e,l=b.exports.useRef(),c=b.exports.useRef(null),u=b.exports.useRef(null),d=b.exports.useRef(null),f=b.exports.useRef(null),p=b.exports.useRef(!1),h=b.exports.useRef(null),g=Ve(t.ref,h),_=b.exports.useRef(null);b.exports.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.exports.useEffect(()=>{if(!a||!h.current)return;const y=tn(h.current);return h.current.contains(y.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.exports.useEffect(()=>{if(!a||!h.current)return;const y=tn(h.current),x=E=>{const{current:R}=h;if(R!==null){if(!y.hasFocus()||r||!s()||l.current){l.current=!1;return}if(!R.contains(y.activeElement)){if(E&&f.current!==E.target||y.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((y.activeElement===c.current||y.activeElement===u.current)&&(P=o(h.current)),P.length>0){var C,T;const $=Boolean(((C=_.current)==null?void 0:C.shiftKey)&&((T=_.current)==null?void 0:T.key)==="Tab"),N=P[0],Y=P[P.length-1];$?Y.focus():N.focus()}else R.focus()}}},w=E=>{_.current=E,!(r||!s()||E.key!=="Tab")&&y.activeElement===h.current&&E.shiftKey&&(l.current=!0,u.current.focus())};y.addEventListener("focusin",x),y.addEventListener("keydown",w,!0);const k=setInterval(()=>{y.activeElement.tagName==="BODY"&&x()},50);return()=>{clearInterval(k),y.removeEventListener("focusin",x),y.removeEventListener("keydown",w,!0)}},[n,r,i,s,a,o]);const m=y=>{d.current===null&&(d.current=y.relatedTarget),p.current=!0,f.current=y.target;const x=t.props.onFocus;x&&x(y)},v=y=>{d.current===null&&(d.current=y.relatedTarget),p.current=!0};return Ce(b.exports.Fragment,{children:[M("div",{tabIndex:0,onFocus:v,ref:c,"data-test":"sentinelStart"}),b.exports.cloneElement(t,{ref:g,onFocus:m}),M("div",{tabIndex:0,onFocus:v,ref:u,"data-test":"sentinelEnd"})]})}function OB(e){return fe("MuiModal",e)}me("MuiModal",["root","hidden"]);const IB=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"],DB=e=>{const{open:t,exited:n,classes:r}=e;return he({root:["root",!t&&n&&"hidden"]},OB,r)};function AB(e){return typeof e=="function"?e():e}function $B(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const NB=new wB,LB=b.exports.forwardRef(function(t,n){const{BackdropComponent:r,BackdropProps:i,children:o,classes:s,className:a,closeAfterTransition:l=!1,component:c="div",components:u={},componentsProps:d={},container:f,disableAutoFocus:p=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:g=!1,disablePortal:_=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=NB,onBackdropClick:k,onClose:E,onKeyDown:R,open:C,theme:T,onTransitionEnter:P,onTransitionExited:$}=t,N=ee(t,IB),[Y,A]=b.exports.useState(!0),I=b.exports.useRef({}),B=b.exports.useRef(null),O=b.exports.useRef(null),D=Ve(O,n),U=$B(t),Z=()=>tn(B.current),J=()=>(I.current.modalRef=O.current,I.current.mountNode=B.current,I.current),be=()=>{w.mount(J(),{disableScrollLock:v}),O.current.scrollTop=0},re=wn(()=>{const De=AB(f)||Z().body;w.add(J(),De),O.current&&be()}),se=b.exports.useCallback(()=>w.isTopModal(J()),[w]),G=wn(De=>{B.current=De,De&&(C&&se()?be():Dc(O.current,!0))}),pe=b.exports.useCallback(()=>{w.remove(J())},[w]);b.exports.useEffect(()=>()=>{pe()},[pe]),b.exports.useEffect(()=>{C?re():(!U||!l)&&pe()},[C,pe,U,l,re]);const ue=S({},t,{classes:s,closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:h,disableEscapeKeyDown:g,disablePortal:_,disableRestoreFocus:m,disableScrollLock:v,exited:Y,hideBackdrop:y,keepMounted:x}),ce=DB(ue);if(!x&&!C&&(!U||Y))return null;const ve=()=>{A(!1),P&&P()},Ae=()=>{A(!0),$&&$(),l&&pe()},Be=De=>{De.target===De.currentTarget&&(k&&k(De),E&&E(De,"backdropClick"))},de=De=>{R&&R(De),!(De.key!=="Escape"||!se())&&(g||(De.stopPropagation(),E&&E(De,"escapeKeyDown")))},ze={};o.props.tabIndex===void 0&&(ze.tabIndex="-1"),U&&(ze.onEnter=Pv(ve,o.props.onEnter),ze.onExited=Pv(Ae,o.props.onExited));const Se=u.Root||c,Ge=d.root||{};return M(IT,{ref:G,container:f,disablePortal:_,children:Ce(Se,S({role:"presentation"},Ge,!Ks(Se)&&{as:c,ownerState:S({},ue,Ge.ownerState),theme:T},N,{ref:D,onKeyDown:de,className:K(ce.root,Ge.className,a),children:[!y&&r?M(r,S({"aria-hidden":!0,open:C,onClick:Be},i)):null,M(PB,{disableEnforceFocus:h,disableAutoFocus:p,disableRestoreFocus:m,isEnabled:se,open:C,children:b.exports.cloneElement(o,ze)})]}))})});var FB=LB;const BB=["onChange","maxRows","minRows","style","value"];function jd(e,t){return parseInt(e[t],10)||0}const zB={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}},UB=b.exports.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=ee(t,BB),{current:c}=b.exports.useRef(a!=null),u=b.exports.useRef(null),d=Ve(n,u),f=b.exports.useRef(null),p=b.exports.useRef(0),[h,g]=b.exports.useState({}),_=b.exports.useCallback(()=>{const v=u.current,x=Rr(v).getComputedStyle(v);if(x.width==="0px")return;const w=f.current;w.style.width=x.width,w.value=v.value||t.placeholder||"x",w.value.slice(-1)===`
|
72 |
+
`&&(w.value+=" ");const k=x["box-sizing"],E=jd(x,"padding-bottom")+jd(x,"padding-top"),R=jd(x,"border-bottom-width")+jd(x,"border-top-width"),C=w.scrollHeight;w.value="x";const T=w.scrollHeight;let P=C;o&&(P=Math.max(Number(o)*T,P)),i&&(P=Math.min(Number(i)*T,P)),P=Math.max(P,T);const $=P+(k==="border-box"?E+R:0),N=Math.abs(P-C)<=1;g(Y=>p.current<20&&($>0&&Math.abs((Y.outerHeightStyle||0)-$)>1||Y.overflow!==N)?(p.current+=1,{overflow:N,outerHeightStyle:$}):Y)},[i,o,t.placeholder]);b.exports.useEffect(()=>{const v=Vs(()=>{p.current=0,_()}),y=Rr(u.current);y.addEventListener("resize",v);let x;return typeof ResizeObserver!="undefined"&&(x=new ResizeObserver(v),x.observe(u.current)),()=>{v.clear(),y.removeEventListener("resize",v),x&&x.disconnect()}},[_]),Tr(()=>{_()}),b.exports.useEffect(()=>{p.current=0},[a]);const m=v=>{p.current=0,c||_(),r&&r(v)};return Ce(b.exports.Fragment,{children:[M("textarea",S({value:a,onChange:m,ref:d,rows:o,style:S({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},s)},l)),M("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:S({},zB.shadow,s,{padding:0})})]})});var WB=UB;function jB(e,t){return S({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const HB={black:"#000",white:"#fff"};var wu=HB;const YB={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"};var VB=YB;const GB={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"};var sa=GB;const KB={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"};var aa=KB;const qB={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"};var Kl=qB;const XB={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"};var la=XB;const ZB={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"};var ca=ZB;const JB={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"};var ua=JB;const QB=["mode","contrastThreshold","tonalOffset"],qx={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:wu.white,default:wu.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}},qm={text:{primary:wu.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:wu.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 Xx(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=bu(e.main,i):t==="dark"&&(e.dark=_u(e.main,o)))}function ez(e="light"){return e==="dark"?{main:la[200],light:la[50],dark:la[400]}:{main:la[700],light:la[400],dark:la[800]}}function tz(e="light"){return e==="dark"?{main:sa[200],light:sa[50],dark:sa[400]}:{main:sa[500],light:sa[300],dark:sa[700]}}function nz(e="light"){return e==="dark"?{main:aa[500],light:aa[300],dark:aa[700]}:{main:aa[700],light:aa[400],dark:aa[800]}}function rz(e="light"){return e==="dark"?{main:ca[400],light:ca[300],dark:ca[700]}:{main:ca[700],light:ca[500],dark:ca[900]}}function iz(e="light"){return e==="dark"?{main:ua[400],light:ua[300],dark:ua[700]}:{main:ua[800],light:ua[500],dark:ua[900]}}function oz(e="light"){return e==="dark"?{main:Kl[400],light:Kl[300],dark:Kl[700]}:{main:"#ed6c02",light:Kl[500],dark:Kl[900]}}function sz(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ee(e,QB),o=e.primary||ez(t),s=e.secondary||tz(t),a=e.error||nz(t),l=e.info||rz(t),c=e.success||iz(t),u=e.warning||oz(t);function d(g){return YF(g,qm.text.primary)>=n?qm.text.primary:qx.text.primary}const f=({color:g,name:_,mainShade:m=500,lightShade:v=300,darkShade:y=700})=>{if(g=S({},g),!g.main&&g[m]&&(g.main=g[m]),!g.hasOwnProperty("main"))throw new Error(Ys(11,_?` (${_})`:"",m));if(typeof g.main!="string")throw new Error(Ys(12,_?` (${_})`:"",JSON.stringify(g.main)));return Xx(g,"light",v,r),Xx(g,"dark",y,r),g.contrastText||(g.contrastText=d(g.main)),g},p={dark:qm,light:qx};return Sr(S({common:S({},wu),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:VB,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const az=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function lz(e){return Math.round(e*1e5)/1e5}const Zx={textTransform:"uppercase"},Jx='"Roboto", "Helvetica", "Arial", sans-serif';function cz(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Jx,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,f=ee(n,az),p=i/14,h=d||(m=>`${m/c*p}rem`),g=(m,v,y,x,w)=>S({fontFamily:r,fontWeight:m,fontSize:h(v),lineHeight:y},r===Jx?{letterSpacing:`${lz(x/v)}em`}:{},w,u),_={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(a,14,1.75,.4,Zx),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,Zx)};return Sr(S({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},_),f,{clone:!1})}const uz=.2,dz=.14,fz=.12;function Et(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${uz})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${dz})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${fz})`].join(",")}const pz=["none",Et(0,2,1,-1,0,1,1,0,0,1,3,0),Et(0,3,1,-2,0,2,2,0,0,1,5,0),Et(0,3,3,-2,0,3,4,0,0,1,8,0),Et(0,2,4,-1,0,4,5,0,0,1,10,0),Et(0,3,5,-1,0,5,8,0,0,1,14,0),Et(0,3,5,-1,0,6,10,0,0,1,18,0),Et(0,4,5,-2,0,7,10,1,0,2,16,1),Et(0,5,5,-3,0,8,10,1,0,3,14,2),Et(0,5,6,-3,0,9,12,1,0,3,16,2),Et(0,6,6,-3,0,10,14,1,0,4,18,3),Et(0,6,7,-4,0,11,15,1,0,4,20,3),Et(0,7,8,-4,0,12,17,2,0,5,22,4),Et(0,7,8,-4,0,13,19,2,0,5,24,4),Et(0,7,9,-4,0,14,21,2,0,5,26,4),Et(0,8,9,-5,0,15,22,2,0,6,28,5),Et(0,8,10,-5,0,16,24,2,0,6,30,5),Et(0,8,11,-5,0,17,26,2,0,6,32,5),Et(0,9,11,-5,0,18,28,2,0,7,34,6),Et(0,9,12,-6,0,19,29,2,0,7,36,6),Et(0,10,13,-6,0,20,31,3,0,8,38,7),Et(0,10,13,-6,0,21,33,3,0,8,40,7),Et(0,10,14,-6,0,22,35,3,0,8,42,7),Et(0,11,14,-7,0,23,36,3,0,9,44,8),Et(0,11,15,-7,0,24,38,3,0,9,46,8)];var hz=pz;const mz=["duration","easing","delay"],gz={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)"},DT={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qx(e){return`${Math.round(e)}ms`}function vz(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function yz(e){const t=S({},gz,e.easing),n=S({},DT,e.duration);return S({getAutoHeightDuration:vz,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return ee(o,mz),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:Qx(s)} ${a} ${typeof l=="string"?l:Qx(l)}`).join(",")}},e,{easing:t,duration:n})}const _z={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var bz=_z;const xz=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Sz(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=ee(e,xz),a=sz(r),l=kh(e);let c=Sr(l,{mixins:jB(l.breakpoints,n),palette:a,shadows:hz.slice(),typography:cz(a,o),transitions:yz(i),zIndex:S({},bz)});return c=Sr(c,s),c=t.reduce((u,d)=>Sr(u,d),c),c}const wz=Sz();var Th=wz;function io(){return $0(Th)}function ge({props:e,name:t}){return ST({props:e,name:t,defaultTheme:Th})}const lr=e=>Pc(e)&&e!=="classes",Ez=Pc,kz=xT({defaultTheme:Th,rootShouldForwardProp:lr});var z=kz;function Cz(e){return fe("MuiPaper",e)}me("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Rz=["className","component","elevation","square","variant"],eS=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Tz=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return he(o,Cz,i)},Mz=z("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return S({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&S({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Me("#fff",eS(t.elevation))}, ${Me("#fff",eS(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Pz=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=ee(r,Rz),u=S({},r,{component:o,elevation:s,square:a,variant:l}),d=Tz(u);return M(Mz,S({as:o,ownerState:u,className:K(d.root,i),ref:n},c))});var os=Pz;function $v(e,t){return $v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$v(e,t)}function AT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$v(e,t)}var tS={disabled:!1},mp=vr.createContext(null),pc="unmounted",vs="exited",ys="entering",va="entered",Nv="exiting",oo=function(e){AT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=vs,o.appearStatus=ys):l=va:r.unmountOnExit||r.mountOnEnter?l=pc:l=vs,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===pc?{status:vs}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==ys&&s!==va&&(o=ys):(s===ys||s===va)&&(o=Nv)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){i===void 0&&(i=!1),o!==null?(this.cancelNextCallback(),o===ys?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===vs&&this.setState({status:pc})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Lm.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||tS.disabled){this.safeSetState({status:va},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:ys},function(){o.props.onEntering(c,u),o.onTransitionEnd(f,function(){o.safeSetState({status:va},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Lm.findDOMNode(this);if(!o||tS.disabled){this.safeSetState({status:vs},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Nv},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:vs},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Lm.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===pc)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ee(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return vr.createElement(mp.Provider,{value:null},typeof s=="function"?s(i,a):vr.cloneElement(vr.Children.only(s),a))},t}(vr.Component);oo.contextType=mp;oo.propTypes={};function da(){}oo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:da,onEntering:da,onEntered:da,onExit:da,onExiting:da,onExited:da};oo.UNMOUNTED=pc;oo.EXITED=vs;oo.ENTERING=ys;oo.ENTERED=va;oo.EXITING=Nv;var Mh=oo;function Oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){var n=function(o){return t&&b.exports.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.exports.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Iz(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;s<r[l].length;s++){var c=r[l][s];a[r[l][s]]=n(c)}a[l]=n(l)}for(s=0;s<i.length;s++)a[i[s]]=n(i[s]);return a}function Es(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Dz(e,t){return H0(e.children,function(n){return b.exports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Es(n,"appear",e),enter:Es(n,"enter",e),exit:Es(n,"exit",e)})})}function Az(e,t,n){var r=H0(e.children),i=Iz(t,r);return Object.keys(i).forEach(function(o){var s=i[o];if(!!b.exports.isValidElement(s)){var a=o in t,l=o in r,c=t[o],u=b.exports.isValidElement(c)&&!c.props.in;l&&(!a||u)?i[o]=b.exports.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Es(s,"exit",e),enter:Es(s,"enter",e)}):!l&&a&&!u?i[o]=b.exports.cloneElement(s,{in:!1}):l&&a&&b.exports.isValidElement(c)&&(i[o]=b.exports.cloneElement(s,{onExited:n.bind(null,s),in:c.props.in,exit:Es(s,"exit",e),enter:Es(s,"enter",e)}))}}),i}var $z=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Nz={component:"div",childFactory:function(t){return t}},Y0=function(e){AT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=o.handleExited.bind(Oz(o));return o.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},o}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(i,o){var s=o.children,a=o.handleExited,l=o.firstRender;return{children:l?Dz(i,a):Az(i,s,a),firstRender:!1}},n.handleExited=function(i,o){var s=H0(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(a){var l=S({},a.children);return delete l[i.key],{children:l}}))},n.render=function(){var i=this.props,o=i.component,s=i.childFactory,a=ee(i,["component","childFactory"]),l=this.state.contextValue,c=$z(this.state.children).map(s);return delete a.appear,delete a.enter,delete a.exit,o===null?vr.createElement(mp.Provider,{value:l},c):vr.createElement(mp.Provider,{value:l},vr.createElement(o,a,c))},t}(vr.Component);Y0.propTypes={};Y0.defaultProps=Nz;var Lz=Y0;const V0=e=>e.scrollTop;function qo(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function Fz(e){return fe("MuiSvgIcon",e)}me("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Bz=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],zz=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${j(t)}`,`fontSize${j(n)}`]};return he(i,Fz,r)},Uz=z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${j(n.color)}`],t[`fontSize${j(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,c,u,d,f,p,h,g,_,m,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(o=i.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:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(d=u.pxToRem)==null?void 0:d.call(u,35))||"2.1875"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(h=p[t.color])==null?void 0:h.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(_=g.action)==null?void 0:_.active,disabled:(m=(e.vars||e).palette)==null||(v=m.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),$T=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=ee(r,Bz),h=S({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f}),g={};u||(g.viewBox=f);const _=zz(h);return Ce(Uz,S({as:a,className:K(_.root,o),ownerState:h,focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},g,p,{children:[i,d?M("title",{children:d}):null]}))});$T.muiName="SvgIcon";var vl=$T;function Zn(e,t){const n=(r,i)=>M(vl,S({"data-testid":`${t}Icon`,ref:i},r,{children:e}));return n.muiName=vl.muiName,b.exports.memo(b.exports.forwardRef(n))}const Wz={configure:e=>{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(`
|
73 |
+
`)),eT.configure(e)}};var jz=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:Wz,capitalize:j,createChainedFunction:Pv,createSvgIcon:Zn,debounce:Vs,deprecatedPropType:EL,isMuiElement:Tc,ownerDocument:tn,ownerWindow:Rr,requirePropFactory:kL,setRef:dl,unstable_useEnhancedEffect:Tr,unstable_useId:Ml,unsupportedProp:TL,useControlled:zo,useEventCallback:wn,useForkRef:Ve,useIsFocusVisible:xh},Symbol.toStringTag,{value:"Module"}));const Hz=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Yz(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Rr(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const c=o.getComputedStyle(t);s=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const c=s.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function Vz(e){return typeof e=="function"?e():e}function Hd(e,t,n){const r=Vz(n),i=Yz(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const Gz=b.exports.forwardRef(function(t,n){const r=io(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:c,direction:u="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:g,onExit:_,onExited:m,onExiting:v,style:y,timeout:x=o,TransitionComponent:w=Mh}=t,k=ee(t,Hz),E=b.exports.useRef(null),R=Ve(l.ref,E),C=Ve(R,n),T=D=>U=>{D&&(U===void 0?D(E.current):D(E.current,U))},P=T((D,U)=>{Hd(u,D,c),V0(D),p&&p(D,U)}),$=T((D,U)=>{const Z=qo({timeout:x,style:y,easing:d},{mode:"enter"});D.style.webkitTransition=r.transitions.create("-webkit-transform",S({},Z)),D.style.transition=r.transitions.create("transform",S({},Z)),D.style.webkitTransform="none",D.style.transform="none",g&&g(D,U)}),N=T(h),Y=T(v),A=T(D=>{const U=qo({timeout:x,style:y,easing:d},{mode:"exit"});D.style.webkitTransition=r.transitions.create("-webkit-transform",U),D.style.transition=r.transitions.create("transform",U),Hd(u,D,c),_&&_(D)}),I=T(D=>{D.style.webkitTransition="",D.style.transition="",m&&m(D)}),B=D=>{s&&s(E.current,D)},O=b.exports.useCallback(()=>{E.current&&Hd(u,E.current,c)},[u,c]);return b.exports.useEffect(()=>{if(f||u==="down"||u==="right")return;const D=Vs(()=>{E.current&&Hd(u,E.current,c)}),U=Rr(E.current);return U.addEventListener("resize",D),()=>{D.clear(),U.removeEventListener("resize",D)}},[u,f,c]),b.exports.useEffect(()=>{f||O()},[f,O]),M(w,S({nodeRef:E,onEnter:P,onEntered:N,onEntering:$,onExit:A,onExited:I,onExiting:Y,addEndListener:B,appear:a,in:f,timeout:x},k,{children:(D,U)=>b.exports.cloneElement(l,S({ref:C,style:S({visibility:D==="exited"&&!f?"hidden":void 0},y,l.props.style)},U))}))});var Kz=Gz;function qz(e){return fe("MuiCollapse",e)}me("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Xz=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Zz=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return he(r,qz,n)},Jz=z("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>S({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&S({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),Qz=z("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>S({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),e3=z("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>S({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),NT=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:s,collapsedSize:a="0px",component:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:h,onExited:g,onExiting:_,orientation:m="vertical",style:v,timeout:y=DT.standard,TransitionComponent:x=Mh}=r,w=ee(r,Xz),k=S({},r,{orientation:m,collapsedSize:a}),E=Zz(k),R=io(),C=b.exports.useRef(),T=b.exports.useRef(null),P=b.exports.useRef(),$=typeof a=="number"?`${a}px`:a,N=m==="horizontal",Y=N?"width":"height";b.exports.useEffect(()=>()=>{clearTimeout(C.current)},[]);const A=b.exports.useRef(null),I=Ve(n,A),B=G=>pe=>{if(G){const ue=A.current;pe===void 0?G(ue):G(ue,pe)}},O=()=>T.current?T.current[N?"clientWidth":"clientHeight"]:0,D=B((G,pe)=>{T.current&&N&&(T.current.style.position="absolute"),G.style[Y]=$,d&&d(G,pe)}),U=B((G,pe)=>{const ue=O();T.current&&N&&(T.current.style.position="");const{duration:ce,easing:ve}=qo({style:v,timeout:y,easing:c},{mode:"enter"});if(y==="auto"){const Ae=R.transitions.getAutoHeightDuration(ue);G.style.transitionDuration=`${Ae}ms`,P.current=Ae}else G.style.transitionDuration=typeof ce=="string"?ce:`${ce}ms`;G.style[Y]=`${ue}px`,G.style.transitionTimingFunction=ve,p&&p(G,pe)}),Z=B((G,pe)=>{G.style[Y]="auto",f&&f(G,pe)}),J=B(G=>{G.style[Y]=`${O()}px`,h&&h(G)}),be=B(g),re=B(G=>{const pe=O(),{duration:ue,easing:ce}=qo({style:v,timeout:y,easing:c},{mode:"exit"});if(y==="auto"){const ve=R.transitions.getAutoHeightDuration(pe);G.style.transitionDuration=`${ve}ms`,P.current=ve}else G.style.transitionDuration=typeof ue=="string"?ue:`${ue}ms`;G.style[Y]=$,G.style.transitionTimingFunction=ce,_&&_(G)});return M(x,S({in:u,onEnter:D,onEntered:Z,onEntering:U,onExit:J,onExited:be,onExiting:re,addEndListener:G=>{y==="auto"&&(C.current=setTimeout(G,P.current||0)),i&&i(A.current,G)},nodeRef:A,timeout:y==="auto"?null:y},w,{children:(G,pe)=>M(Jz,S({as:l,className:K(E.root,s,{entered:E.entered,exited:!u&&$==="0px"&&E.hidden}[G]),style:S({[N?"minWidth":"minHeight"]:$},v),ownerState:S({},k,{state:G}),ref:I},pe,{children:M(Qz,{ownerState:S({},k,{state:G}),className:E.wrapper,ref:T,children:M(e3,{ownerState:S({},k,{state:G}),className:E.wrapperInner,children:o})})}))}))});NT.muiSupportAuto=!0;var t3=NT;function nS(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 n3(e,t,n){return t&&nS(e.prototype,t),n&&nS(e,n),e}function ht(){return ht=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},ht.apply(this,arguments)}function r3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Uo(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var LT=vr.createContext(),i3={mui:{root:{},anchorOriginTopCenter:{},anchorOriginBottomCenter:{},anchorOriginTopRight:{},anchorOriginBottomRight:{},anchorOriginTopLeft:{},anchorOriginBottomLeft:{}},container:{containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}}},Pi={view:{default:20,dense:4},snackbar:{default:6,dense:2}},ks={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:Kz,transitionDuration:{enter:225,exit:195}},Ac=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},o3=function(t){return""+Ac(t.vertical)+Ac(t.horizontal)},s3=function(t){return Object.keys(t).filter(function(n){return!i3.container[n]}).reduce(function(n,r){var i;return ht({},n,(i={},i[r]=t[r],i))},{})},So={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},Of={toContainerAnchorOrigin:function(t){return"containerAnchorOrigin"+t},toAnchorOrigin:function(t){var n=t.vertical,r=t.horizontal;return"anchorOrigin"+Ac(n)+Ac(r)},toVariant:function(t){return"variant"+Ac(t)}},Yd=function(t){return!!t||t===0},iS=function(t){return typeof t=="number"||t===null},a3=function(t,n,r){return function(i){return i==="autoHideDuration"?iS(t.autoHideDuration)?t.autoHideDuration:iS(n.autoHideDuration)?n.autoHideDuration:ks.autoHideDuration:t[i]||n[i]||r[i]}};function Xm(e,t,n){return e===void 0&&(e={}),t===void 0&&(t={}),n===void 0&&(n={}),ht({},n,{},t,{},e)}var l3="SnackbarContent",FT={root:l3+"-root"},c3=z("div")(function(e){var t,n,r=e.theme;return n={},n["&."+FT.root]=(t={display:"flex",flexWrap:"wrap",flexGrow:1},t[r.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t),n}),u3=b.exports.forwardRef(function(e,t){var n=e.className,r=Uo(e,["className"]);return M(c3,L({},Object.assign({ref:t,className:K(FT.root,n)},r)))}),oS={right:"left",left:"right",bottom:"up",top:"down"},d3=function(t){return t.horizontal!=="center"?oS[t.horizontal]:oS[t.vertical]},f3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"})}))},p3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"})}))},h3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2, 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12, 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"})}))},m3=function(t){return M(vl,Ee(L({},Object.assign({},t)),{children:M("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12A10,10 0 0,0 12,2Z"})}))},Vd={fontSize:20,marginInlineEnd:8},g3={default:void 0,success:M(f3,{style:Vd}),warning:M(p3,{style:Vd}),error:M(h3,{style:Vd}),info:M(m3,{style:Vd})};function $c(e,t){return e.reduce(function(n,r){return r==null?n:function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var l=[].concat(s);t&&l.indexOf(t)===-1&&l.push(t),n.apply(this,l),r.apply(this,l)}},function(){})}var v3=typeof window!="undefined"?b.exports.useLayoutEffect:b.exports.useEffect;function sS(e){var t=b.exports.useRef(e);return v3(function(){t.current=e}),b.exports.useCallback(function(){return t.current.apply(void 0,arguments)},[])}var y3=b.exports.forwardRef(function(e,t){var n=e.children,r=e.autoHideDuration,i=e.ClickAwayListenerProps,o=e.disableWindowBlurListener,s=o===void 0?!1:o,a=e.onClose,l=e.onMouseEnter,c=e.onMouseLeave,u=e.open,d=e.resumeHideDuration,f=Uo(e,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),p=b.exports.useRef(),h=sS(function(){a&&a.apply(void 0,arguments)}),g=sS(function(w){!a||w==null||(clearTimeout(p.current),p.current=setTimeout(function(){h(null,So.TIMEOUT)},w))});b.exports.useEffect(function(){return u&&g(r),function(){clearTimeout(p.current)}},[u,r,g]);var _=function(){clearTimeout(p.current)},m=b.exports.useCallback(function(){r!=null&&g(d!=null?d:r*.5)},[r,d,g]),v=function(k){l&&l(k),_()},y=function(k){c&&c(k),m()},x=function(k){a&&a(k,So.CLICKAWAY)};return b.exports.useEffect(function(){if(!s&&u)return window.addEventListener("focus",m),window.addEventListener("blur",_),function(){window.removeEventListener("focus",m),window.removeEventListener("blur",_)}},[s,m,u]),b.exports.createElement(i4,ht({onClickAway:x},i),b.exports.createElement("div",ht({onMouseEnter:v,onMouseLeave:y,ref:t},f),n))}),Oi="SnackbarItem",Dn={contentRoot:Oi+"-contentRoot",lessPadding:Oi+"-lessPadding",variantSuccess:Oi+"-variantSuccess",variantError:Oi+"-variantError",variantInfo:Oi+"-variantInfo",variantWarning:Oi+"-variantWarning",message:Oi+"-message",action:Oi+"-action",wrappedRoot:Oi+"-wrappedRoot"},_3=z(y3)(function(e){var t,n=e.theme,r=n.palette.mode||n.palette.type,i=VF(n.palette.background.default,r==="light"?.8:.98);return t={},t["&."+Dn.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},t["."+Dn.contentRoot]=ht({},n.typography.body2,{backgroundColor:i,color:n.palette.getContrastText(i),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),t["."+Dn.lessPadding]={paddingLeft:8*2.5},t["."+Dn.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},t["."+Dn.variantError]={backgroundColor:"#d32f2f",color:"#fff"},t["."+Dn.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},t["."+Dn.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},t["."+Dn.message]={display:"flex",alignItems:"center",padding:"8px 0"},t["."+Dn.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},t}),b3=function(t){var n=t.classes,r=Uo(t,["classes"]),i=b.exports.useRef(),o=b.exports.useState(!0),s=o[0],a=o[1];b.exports.useEffect(function(){return function(){i.current&&clearTimeout(i.current)}},[]);var l=$c([r.snack.onClose,r.onClose],r.snack.key),c=function(){r.snack.requestClose&&l(null,So.INSTRCUTED)},u=function(){i.current=setTimeout(function(){a(!s)},125)},d=r.style,f=r.ariaAttributes,p=r.className,h=r.hideIconVariant,g=r.iconVariant,_=r.snack,m=r.action,v=r.content,y=r.TransitionComponent,x=r.TransitionProps,w=r.transitionDuration,k=Uo(r,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),E=_.key,R=_.open,C=_.className,T=_.variant,P=_.content,$=_.action,N=_.ariaAttributes,Y=_.anchorOrigin,A=_.message,I=_.TransitionComponent,B=_.TransitionProps,O=_.transitionDuration,D=Uo(_,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),U=ht({},g3,{},g)[T],Z=ht({"aria-describedby":"notistack-snackbar"},Xm(N,f)),J=I||y||ks.TransitionComponent,be=Xm(O,w,ks.transitionDuration),re=ht({direction:d3(Y)},Xm(B,x)),se=$||m;typeof se=="function"&&(se=se(E));var G=P||v;typeof G=="function"&&(G=G(E,_.message));var pe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(ue,ce){var ve;return ht({},ue,(ve={},ve[ce]=$c([r.snack[ce],r[ce]],r.snack.key),ve))},{});return M(t3,{unmountOnExit:!0,timeout:175,in:s,onExited:pe.onExited,children:M(_3,Ee(L({},Object.assign({},k,D,{open:R,className:K(n.root,Dn.wrappedRoot,n[Of.toAnchorOrigin(Y)]),onClose:l})),{children:M(J,Ee(L({},Object.assign({appear:!0,in:R,timeout:be},re,{onExit:pe.onExit,onExiting:pe.onExiting,onExited:u,onEnter:pe.onEnter,onEntering:pe.onEntering,onEntered:$c([pe.onEntered,c])})),{children:G||Ce(u3,Ee(L({},Object.assign({},Z,{role:"alert",style:d,className:K(Dn.contentRoot,Dn[Of.toVariant(T)],n[Of.toVariant(T)],p,C,!h&&U&&Dn.lessPadding)})),{children:[Ce("div",{id:Z["aria-describedby"],className:Dn.message,children:[h?null:U,A]}),se&&M("div",{className:Dn.action,children:se})]}))}))}))})},Zm={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},Jm=16,us="SnackbarContainer",Wr={root:us+"-root",rootDense:us+"-rootDense",top:us+"-top",bottom:us+"-bottom",left:us+"-left",right:us+"-right",center:us+"-center"},x3=z("div")(function(e){var t,n,r,i,o,s,a=e.theme;return s={},s["&."+Wr.root]=(t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:a.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},t[Zm.container]={pointerEvents:"all"},t[Zm.wrapper]={padding:Pi.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+Pi.view.default*2+"px)",t[a.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+Jm*2+"px)"},t),s["&."+Wr.rootDense]=(n={},n[Zm.wrapper]={padding:Pi.snackbar.dense+"px 0px"},n),s["&."+Wr.top]={top:Pi.view.default-Pi.snackbar.default,flexDirection:"column"},s["&."+Wr.bottom]={bottom:Pi.view.default-Pi.snackbar.default,flexDirection:"column-reverse"},s["&."+Wr.left]=(r={left:Pi.view.default},r[a.breakpoints.up("sm")]={alignItems:"flex-start"},r[a.breakpoints.down("sm")]={left:Jm+"px"},r),s["&."+Wr.right]=(i={right:Pi.view.default},i[a.breakpoints.up("sm")]={alignItems:"flex-end"},i[a.breakpoints.down("sm")]={right:Jm+"px"},i),s["&."+Wr.center]=(o={left:"50%",transform:"translateX(-50%)"},o[a.breakpoints.up("sm")]={alignItems:"center"},o),s}),S3=function(t){var n=t.className,r=t.anchorOrigin,i=t.dense,o=Uo(t,["className","anchorOrigin","dense"]),s=K(Wr[r.vertical],Wr[r.horizontal],Wr.root,n,i&&Wr.rootDense);return M(x3,L({},Object.assign({className:s},o)))},w3=vr.memo(S3),_le=function(e){r3(t,e);function t(r){var i;return i=e.call(this,r)||this,i.enqueueSnackbar=function(o,s){s===void 0&&(s={});var a=s,l=a.key,c=a.preventDuplicate,u=Uo(a,["key","preventDuplicate"]),d=Yd(l),f=d?l:new Date().getTime()+Math.random(),p=a3(u,i.props,ks),h=ht({key:f},u,{message:o,open:!0,entered:!1,requestClose:!1,variant:p("variant"),anchorOrigin:p("anchorOrigin"),autoHideDuration:p("autoHideDuration")});return u.persist&&(h.autoHideDuration=void 0),i.setState(function(g){if(c===void 0&&i.props.preventDuplicate||c){var _=function(x){return d?x.key===l:x.message===o},m=g.queue.findIndex(_)>-1,v=g.snacks.findIndex(_)>-1;if(m||v)return g}return i.handleDisplaySnack(ht({},g,{queue:[].concat(g.queue,[h])}))}),f},i.handleDisplaySnack=function(o){var s=o.snacks;return s.length>=i.maxSnack?i.handleDismissOldest(o):i.processQueue(o)},i.processQueue=function(o){var s=o.queue,a=o.snacks;return s.length>0?ht({},o,{snacks:[].concat(a,[s[0]]),queue:s.slice(1,s.length)}):o},i.handleDismissOldest=function(o){if(o.snacks.some(function(u){return!u.open||u.requestClose}))return o;var s=!1,a=!1,l=o.snacks.reduce(function(u,d){return u+(d.open&&d.persist?1:0)},0);l===i.maxSnack&&(a=!0);var c=o.snacks.map(function(u){return!s&&(!u.persist||a)?(s=!0,u.entered?(u.onClose&&u.onClose(null,So.MAXSNACK,u.key),i.props.onClose&&i.props.onClose(null,So.MAXSNACK,u.key),ht({},u,{open:!1})):ht({},u,{requestClose:!0})):ht({},u)});return ht({},o,{snacks:c})},i.handleEnteredSnack=function(o,s,a){if(!Yd(a))throw new Error("handleEnteredSnack Cannot be called with undefined key");i.setState(function(l){var c=l.snacks;return{snacks:c.map(function(u){return u.key===a?ht({},u,{entered:!0}):ht({},u)})}})},i.handleCloseSnack=function(o,s,a){if(i.props.onClose&&i.props.onClose(o,s,a),s!==So.CLICKAWAY){var l=a===void 0;i.setState(function(c){var u=c.snacks,d=c.queue;return{snacks:u.map(function(f){return!l&&f.key!==a?ht({},f):f.entered?ht({},f,{open:!1}):ht({},f,{requestClose:!0})}),queue:d.filter(function(f){return f.key!==a})}})}},i.closeSnackbar=function(o){var s=i.state.snacks.find(function(a){return a.key===o});Yd(o)&&s&&s.onClose&&s.onClose(null,So.INSTRUCTED,o),i.handleCloseSnack(null,So.INSTRUCTED,o)},i.handleExitedSnack=function(o,s,a){var l=s||a;if(!Yd(l))throw new Error("handleExitedSnack Cannot be called with undefined key");i.setState(function(c){var u=i.processQueue(ht({},c,{snacks:c.snacks.filter(function(d){return d.key!==l})}));return u.queue.length===0?u:i.handleDismissOldest(u)})},i.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:i.enqueueSnackbar.bind(rS(i)),closeSnackbar:i.closeSnackbar.bind(rS(i))}},i}var n=t.prototype;return n.render=function(){var i=this,o=this.state.contextValue,s=this.props,a=s.iconVariant,l=s.dense,c=l===void 0?ks.dense:l,u=s.hideIconVariant,d=u===void 0?ks.hideIconVariant:u,f=s.domRoot,p=s.children,h=s.classes,g=h===void 0?{}:h,_=Uo(s,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),m=this.state.snacks.reduce(function(y,x){var w,k=o3(x.anchorOrigin),E=y[k]||[];return ht({},y,(w={},w[k]=[].concat(E,[x]),w))},{}),v=Object.keys(m).map(function(y){var x=m[y];return M(w3,{dense:c,anchorOrigin:x[0].anchorOrigin,className:K(g.containerRoot,g[Of.toContainerAnchorOrigin(y)]),children:x.map(function(w){return M(b3,L({},Object.assign({},_,{key:w.key,snack:w,dense:c,iconVariant:a,hideIconVariant:d,classes:s3(g),onClose:i.handleCloseSnack,onExited:$c([i.handleExitedSnack,i.props.onExited]),onEntered:$c([i.handleEnteredSnack,i.props.onEntered])})))})},y)});return Ce(LT.Provider,{value:o,children:[p,f?Au.exports.createPortal(v,f):v]})},n3(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||ks.maxSnack}}]),t}(b.exports.Component),ble=function(){return b.exports.useContext(LT)},Cs;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Cs||(Cs={}));var aS=function(e){return e},lS="beforeunload",E3="hashchange",k3="popstate";function C3(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function o(){var R=Xo(r.location.hash.substr(1)),C=R.pathname,T=C===void 0?"/":C,P=R.search,$=P===void 0?"":P,N=R.hash,Y=N===void 0?"":N,A=i.state||{};return[A.idx,aS({pathname:T,search:$,hash:Y,state:A.usr||null,key:A.key||"default"})]}var s=null;function a(){if(s)p.call(s),s=null;else{var R=Cs.Pop,C=o(),T=C[0],P=C[1];if(p.length){if(T!=null){var $=u-T;$&&(s={action:R,location:P,retry:function(){k($*-1)}},k($))}}else y(R)}}r.addEventListener(k3,a),r.addEventListener(E3,function(){var R=o(),C=R[1];Nc(C)!==Nc(d)&&a()});var l=Cs.Pop,c=o(),u=c[0],d=c[1],f=uS(),p=uS();u==null&&(u=0,i.replaceState(S({},i.state,{idx:u}),""));function h(){var R=document.querySelector("base"),C="";if(R&&R.getAttribute("href")){var T=r.location.href,P=T.indexOf("#");C=P===-1?T:T.slice(0,P)}return C}function g(R){return h()+"#"+(typeof R=="string"?R:Nc(R))}function _(R,C){return C===void 0&&(C=null),aS(S({pathname:d.pathname,hash:"",search:""},typeof R=="string"?Xo(R):R,{state:C,key:R3()}))}function m(R,C){return[{usr:R.state,key:R.key,idx:C},g(R)]}function v(R,C,T){return!p.length||(p.call({action:R,location:C,retry:T}),!1)}function y(R){l=R;var C=o();u=C[0],d=C[1],f.call({action:l,location:d})}function x(R,C){var T=Cs.Push,P=_(R,C);function $(){x(R,C)}if(v(T,P,$)){var N=m(P,u+1),Y=N[0],A=N[1];try{i.pushState(Y,"",A)}catch{r.location.assign(A)}y(T)}}function w(R,C){var T=Cs.Replace,P=_(R,C);function $(){w(R,C)}if(v(T,P,$)){var N=m(P,u),Y=N[0],A=N[1];i.replaceState(Y,"",A),y(T)}}function k(R){i.go(R)}var E={get action(){return l},get location(){return d},createHref:g,push:x,replace:w,go:k,back:function(){k(-1)},forward:function(){k(1)},listen:function(C){return f.push(C)},block:function(C){var T=p.push(C);return p.length===1&&r.addEventListener(lS,cS),function(){T(),p.length||r.removeEventListener(lS,cS)}}};return E}function cS(e){e.preventDefault(),e.returnValue=""}function uS(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function R3(){return Math.random().toString(36).substr(2,8)}function Nc(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,o=e.hash,s=o===void 0?"":o;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function Xo(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/**
|
74 |
* React Router v6.3.0
|
75 |
*
|
76 |
* Copyright (c) Remix Software Inc.
|
79 |
* LICENSE.md file in the root directory of this source tree.
|
80 |
*
|
81 |
* @license MIT
|
82 |
+
*/const G0=b.exports.createContext(null),K0=b.exports.createContext(null),nd=b.exports.createContext({outlet:null,matches:[]});function Jr(e,t){if(!e)throw new Error(t)}function T3(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Xo(t):t,i=UT(r.pathname||"/",n);if(i==null)return null;let o=BT(e);M3(o);let s=null;for(let a=0;s==null&&a<o.length;++a)s=F3(o[a],i);return s}function BT(e,t,n,r){return t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=""),e.forEach((i,o)=>{let s={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(s.relativePath.startsWith(r)||Jr(!1),s.relativePath=s.relativePath.slice(r.length));let a=Wo([r,s.relativePath]),l=n.concat(s);i.children&&i.children.length>0&&(i.index===!0&&Jr(!1),BT(i.children,t,l,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:N3(a,i.index),routesMeta:l})}),t}function M3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:L3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const P3=/^:\w+$/,O3=3,I3=2,D3=1,A3=10,$3=-2,dS=e=>e==="*";function N3(e,t){let n=e.split("/"),r=n.length;return n.some(dS)&&(r+=$3),t&&(r+=I3),n.filter(i=>!dS(i)).reduce((i,o)=>i+(P3.test(o)?O3:o===""?D3:A3),r)}function L3(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function F3(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s<n.length;++s){let a=n[s],l=s===n.length-1,c=i==="/"?t:t.slice(i.length)||"/",u=B3({path:a.relativePath,caseSensitive:a.caseSensitive,end:l},c);if(!u)return null;Object.assign(r,u.params);let d=a.route;o.push({params:r,pathname:Wo([i,u.pathname]),pathnameBase:WT(Wo([i,u.pathnameBase])),route:d}),u.pathnameBase!=="/"&&(i=Wo([i,u.pathnameBase]))}return o}function B3(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=z3(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,u,d)=>{if(u==="*"){let f=a[d]||"";s=o.slice(0,o.length-f.length).replace(/(.)\/+$/,"$1")}return c[u]=U3(a[d]||""),c},{}),pathname:o,pathnameBase:s,pattern:e}}function z3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(s,a)=>(r.push(a),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function U3(e,t){try{return decodeURIComponent(e)}catch{return e}}function W3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Xo(e):e;return{pathname:n?n.startsWith("/")?n:j3(n,t):t,search:Y3(r),hash:V3(i)}}function j3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function zT(e,t,n){let r=typeof e=="string"?Xo(e):e,i=e===""||r.pathname===""?"/":r.pathname,o;if(i==null)o=n;else{let a=t.length-1;if(i.startsWith("..")){let l=i.split("/");for(;l[0]==="..";)l.shift(),a-=1;r.pathname=l.join("/")}o=a>=0?t[a]:"/"}let s=W3(r,o);return i&&i!=="/"&&i.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}function H3(e){return e===""||e.pathname===""?"/":typeof e=="string"?Xo(e).pathname:e.pathname}function UT(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&n!=="/"?null:e.slice(t.length)||"/"}const Wo=e=>e.join("/").replace(/\/\/+/g,"/"),WT=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Y3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,V3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function G3(e){Pl()||Jr(!1);let{basename:t,navigator:n}=b.exports.useContext(G0),{hash:r,pathname:i,search:o}=HT(e),s=i;if(t!=="/"){let a=H3(e),l=a!=null&&a.endsWith("/");s=i==="/"?t+(l?"/":""):Wo([t,i])}return n.createHref({pathname:s,search:o,hash:r})}function Pl(){return b.exports.useContext(K0)!=null}function Ph(){return Pl()||Jr(!1),b.exports.useContext(K0).location}function jT(){Pl()||Jr(!1);let{basename:e,navigator:t}=b.exports.useContext(G0),{matches:n}=b.exports.useContext(nd),{pathname:r}=Ph(),i=JSON.stringify(n.map(a=>a.pathnameBase)),o=b.exports.useRef(!1);return b.exports.useEffect(()=>{o.current=!0}),b.exports.useCallback(function(a,l){if(l===void 0&&(l={}),!o.current)return;if(typeof a=="number"){t.go(a);return}let c=zT(a,JSON.parse(i),r);e!=="/"&&(c.pathname=Wo([e,c.pathname])),(l.replace?t.replace:t.push)(c,l.state)},[e,t,i,r])}const K3=b.exports.createContext(null);function q3(e){let t=b.exports.useContext(nd).outlet;return t&&b.exports.createElement(K3.Provider,{value:e},t)}function HT(e){let{matches:t}=b.exports.useContext(nd),{pathname:n}=Ph(),r=JSON.stringify(t.map(i=>i.pathnameBase));return b.exports.useMemo(()=>zT(e,JSON.parse(r),n),[e,r,n])}function X3(e,t){Pl()||Jr(!1);let{matches:n}=b.exports.useContext(nd),r=n[n.length-1],i=r?r.params:{};r&&r.pathname;let o=r?r.pathnameBase:"/";r&&r.route;let s=Ph(),a;if(t){var l;let f=typeof t=="string"?Xo(t):t;o==="/"||((l=f.pathname)==null?void 0:l.startsWith(o))||Jr(!1),a=f}else a=s;let c=a.pathname||"/",u=o==="/"?c:c.slice(o.length)||"/",d=T3(e,{pathname:u});return Z3(d&&d.map(f=>Object.assign({},f,{params:Object.assign({},i,f.params),pathname:Wo([o,f.pathname]),pathnameBase:f.pathnameBase==="/"?o:Wo([o,f.pathnameBase])})),n)}function Z3(e,t){return t===void 0&&(t=[]),e==null?null:e.reduceRight((n,r,i)=>b.exports.createElement(nd.Provider,{children:r.route.element!==void 0?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}}),null)}function xle(e){let{to:t,replace:n,state:r}=e;Pl()||Jr(!1);let i=jT();return b.exports.useEffect(()=>{i(t,{replace:n,state:r})}),null}function Sle(e){return q3(e.context)}function J3(e){Jr(!1)}function Q3(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Cs.Pop,navigator:o,static:s=!1}=e;Pl()&&Jr(!1);let a=WT(t),l=b.exports.useMemo(()=>({basename:a,navigator:o,static:s}),[a,o,s]);typeof r=="string"&&(r=Xo(r));let{pathname:c="/",search:u="",hash:d="",state:f=null,key:p="default"}=r,h=b.exports.useMemo(()=>{let g=UT(c,a);return g==null?null:{pathname:g,search:u,hash:d,state:f,key:p}},[a,c,u,d,f,p]);return h==null?null:b.exports.createElement(G0.Provider,{value:l},b.exports.createElement(K0.Provider,{children:n,value:{location:h,navigationType:i}}))}function wle(e){let{children:t,location:n}=e;return X3(Lv(t),n)}function Lv(e){let t=[];return b.exports.Children.forEach(e,n=>{if(!b.exports.isValidElement(n))return;if(n.type===b.exports.Fragment){t.push.apply(t,Lv(n.props.children));return}n.type!==J3&&Jr(!1);let r={caseSensitive:n.props.caseSensitive,element:n.props.element,index:n.props.index,path:n.props.path};n.props.children&&(r.children=Lv(n.props.children)),t.push(r)}),t}/**
|
83 |
* React Router DOM v6.3.0
|
84 |
*
|
85 |
* Copyright (c) Remix Software Inc.
|
88 |
* LICENSE.md file in the root directory of this source tree.
|
89 |
*
|
90 |
* @license MIT
|
91 |
+
*/function Fv(){return Fv=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},Fv.apply(this,arguments)}function e6(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const t6=["onClick","reloadDocument","replace","state","target","to"];function Ele(e){let{basename:t,children:n,window:r}=e,i=b.exports.useRef();i.current==null&&(i.current=C3({window:r}));let o=i.current,[s,a]=b.exports.useState({action:o.action,location:o.location});return b.exports.useLayoutEffect(()=>o.listen(a),[o]),b.exports.createElement(Q3,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o})}function n6(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const kle=b.exports.forwardRef(function(t,n){let{onClick:r,reloadDocument:i,replace:o=!1,state:s,target:a,to:l}=t,c=e6(t,t6),u=G3(l),d=r6(l,{replace:o,state:s,target:a});function f(p){r&&r(p),!p.defaultPrevented&&!i&&d(p)}return b.exports.createElement("a",Fv({},c,{href:u,onClick:f,ref:n,target:a}))});function r6(e,t){let{target:n,replace:r,state:i}=t===void 0?{}:t,o=jT(),s=Ph(),a=HT(e);return b.exports.useCallback(l=>{if(l.button===0&&(!n||n==="_self")&&!n6(l)){l.preventDefault();let c=!!r||Nc(s)===Nc(a);o(e,{replace:c,state:i})}},[s,o,a,r,i,n,e])}function i6(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,d]=b.exports.useState(!1),f=K(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=K(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),b.exports.useEffect(()=>{if(!a&&l!=null){const g=setTimeout(l,c);return()=>{clearTimeout(g)}}},[l,a,c]),M("span",{className:f,style:p,children:M("span",{className:h})})}const o6=me("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var fr=o6;const s6=["center","classes","className"];let Oh=e=>e,fS,pS,hS,mS;const Bv=550,a6=80,l6=Uu(fS||(fS=Oh`
|
92 |
0% {
|
93 |
transform: scale(0);
|
94 |
opacity: 0.1;
|
98 |
transform: scale(1);
|
99 |
opacity: 0.3;
|
100 |
}
|
101 |
+
`)),c6=Uu(pS||(pS=Oh`
|
102 |
0% {
|
103 |
opacity: 1;
|
104 |
}
|
106 |
100% {
|
107 |
opacity: 0;
|
108 |
}
|
109 |
+
`)),u6=Uu(hS||(hS=Oh`
|
110 |
0% {
|
111 |
transform: scale(1);
|
112 |
}
|
118 |
100% {
|
119 |
transform: scale(1);
|
120 |
}
|
121 |
+
`)),d6=z("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),f6=z(i6,{name:"MuiTouchRipple",slot:"Ripple"})(mS||(mS=Oh`
|
122 |
opacity: 0;
|
123 |
position: absolute;
|
124 |
|
161 |
animation-iteration-count: infinite;
|
162 |
animation-delay: 200ms;
|
163 |
}
|
164 |
+
`),fr.rippleVisible,l6,Bv,({theme:e})=>e.transitions.easing.easeInOut,fr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,fr.child,fr.childLeaving,c6,Bv,({theme:e})=>e.transitions.easing.easeInOut,fr.childPulsate,u6,({theme:e})=>e.transitions.easing.easeInOut),p6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ee(r,s6),[l,c]=b.exports.useState([]),u=b.exports.useRef(0),d=b.exports.useRef(null);b.exports.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.exports.useRef(!1),p=b.exports.useRef(null),h=b.exports.useRef(null),g=b.exports.useRef(null);b.exports.useEffect(()=>()=>{clearTimeout(p.current)},[]);const _=b.exports.useCallback(x=>{const{pulsate:w,rippleX:k,rippleY:E,rippleSize:R,cb:C}=x;c(T=>[...T,M(f6,{classes:{ripple:K(o.ripple,fr.ripple),rippleVisible:K(o.rippleVisible,fr.rippleVisible),ripplePulsate:K(o.ripplePulsate,fr.ripplePulsate),child:K(o.child,fr.child),childLeaving:K(o.childLeaving,fr.childLeaving),childPulsate:K(o.childPulsate,fr.childPulsate)},timeout:Bv,pulsate:w,rippleX:k,rippleY:E,rippleSize:R},u.current)]),u.current+=1,d.current=C},[o]),m=b.exports.useCallback((x={},w={},k)=>{const{pulsate:E=!1,center:R=i||w.pulsate,fakeElement:C=!1}=w;if((x==null?void 0:x.type)==="mousedown"&&f.current){f.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(f.current=!0);const T=C?null:g.current,P=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let $,N,Y;if(R||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)$=Math.round(P.width/2),N=Math.round(P.height/2);else{const{clientX:A,clientY:I}=x.touches?x.touches[0]:x;$=Math.round(A-P.left),N=Math.round(I-P.top)}if(R)Y=Math.sqrt((2*P.width**2+P.height**2)/3),Y%2===0&&(Y+=1);else{const A=Math.max(Math.abs((T?T.clientWidth:0)-$),$)*2+2,I=Math.max(Math.abs((T?T.clientHeight:0)-N),N)*2+2;Y=Math.sqrt(A**2+I**2)}x!=null&&x.touches?h.current===null&&(h.current=()=>{_({pulsate:E,rippleX:$,rippleY:N,rippleSize:Y,cb:k})},p.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},a6)):_({pulsate:E,rippleX:$,rippleY:N,rippleSize:Y,cb:k})},[i,_]),v=b.exports.useCallback(()=>{m({},{pulsate:!0})},[m]),y=b.exports.useCallback((x,w)=>{if(clearTimeout(p.current),(x==null?void 0:x.type)==="touchend"&&h.current){h.current(),h.current=null,p.current=setTimeout(()=>{y(x,w)});return}h.current=null,c(k=>k.length>0?k.slice(1):k),d.current=w},[]);return b.exports.useImperativeHandle(n,()=>({pulsate:v,start:m,stop:y}),[v,m,y]),M(d6,S({className:K(o.root,fr.root,s),ref:g},a,{children:M(Lz,{component:null,exit:!0,children:l})}))});var h6=p6;function m6(e){return fe("MuiButtonBase",e)}const g6=me("MuiButtonBase",["root","disabled","focusVisible"]);var v6=g6;const y6=["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"],_6=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=he({root:["root",t&&"disabled",n&&"focusVisible"]},m6,i);return n&&r&&(s.root+=` ${r}`),s},b6=z("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"},[`&.${v6.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),x6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:g,onContextMenu:_,onDragLeave:m,onFocus:v,onFocusVisible:y,onKeyDown:x,onKeyUp:w,onMouseDown:k,onMouseLeave:E,onMouseUp:R,onTouchEnd:C,onTouchMove:T,onTouchStart:P,tabIndex:$=0,TouchRippleProps:N,touchRippleRef:Y,type:A}=r,I=ee(r,y6),B=b.exports.useRef(null),O=b.exports.useRef(null),D=Ve(O,Y),{isFocusVisibleRef:U,onFocus:Z,onBlur:J,ref:be}=xh(),[re,se]=b.exports.useState(!1);c&&re&&se(!1),b.exports.useImperativeHandle(i,()=>({focusVisible:()=>{se(!0),B.current.focus()}}),[]);const[G,pe]=b.exports.useState(!1);b.exports.useEffect(()=>{pe(!0)},[]);const ue=G&&!u&&!c;b.exports.useEffect(()=>{re&&f&&!u&&G&&O.current.pulsate()},[u,f,re,G]);function ce(V,le,Re=d){return wn(Je=>(le&&le(Je),!Re&&O.current&&O.current[V](Je),!0))}const ve=ce("start",k),Ae=ce("stop",_),Be=ce("stop",m),de=ce("stop",R),ze=ce("stop",V=>{re&&V.preventDefault(),E&&E(V)}),Se=ce("start",P),Ge=ce("stop",C),De=ce("stop",T),At=ce("stop",V=>{J(V),U.current===!1&&se(!1),h&&h(V)},!1),xt=wn(V=>{B.current||(B.current=V.currentTarget),Z(V),U.current===!0&&(se(!0),y&&y(V)),v&&v(V)}),Oe=()=>{const V=B.current;return l&&l!=="button"&&!(V.tagName==="A"&&V.href)},Ne=b.exports.useRef(!1),Pt=wn(V=>{f&&!Ne.current&&re&&O.current&&V.key===" "&&(Ne.current=!0,O.current.stop(V,()=>{O.current.start(V)})),V.target===V.currentTarget&&Oe()&&V.key===" "&&V.preventDefault(),x&&x(V),V.target===V.currentTarget&&Oe()&&V.key==="Enter"&&!c&&(V.preventDefault(),g&&g(V))}),jt=wn(V=>{f&&V.key===" "&&O.current&&re&&!V.defaultPrevented&&(Ne.current=!1,O.current.stop(V,()=>{O.current.pulsate(V)})),w&&w(V),g&&V.target===V.currentTarget&&Oe()&&V.key===" "&&!V.defaultPrevented&&g(V)});let st=l;st==="button"&&(I.href||I.to)&&(st=p);const St={};st==="button"?(St.type=A===void 0?"button":A,St.disabled=c):(!I.href&&!I.to&&(St.role="button"),c&&(St["aria-disabled"]=c));const We=Ve(be,B),ye=Ve(n,We),F=S({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:$,focusVisible:re}),te=_6(F);return Ce(b6,S({as:st,className:K(te.root,a),ownerState:F,onBlur:At,onClick:g,onContextMenu:Ae,onFocus:xt,onKeyDown:Pt,onKeyUp:jt,onMouseDown:ve,onMouseLeave:ze,onMouseUp:de,onDragLeave:Be,onTouchEnd:Ge,onTouchMove:De,onTouchStart:Se,ref:ye,tabIndex:c?-1:$,type:A},St,I,{children:[s,ue?M(h6,S({ref:D,center:o},N)):null]}))});var Qr=x6;function S6(e){return fe("MuiAlert",e)}const w6=me("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var gS=w6;function E6(e){return fe("MuiIconButton",e)}const k6=me("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var C6=k6;const R6=["edge","children","className","color","disabled","disableFocusRipple","size"],T6=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${j(r)}`,i&&`edge${j(i)}`,`size${j(o)}`]};return he(s,E6,t)},M6=z(Qr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${j(n.color)}`],n.edge&&t[`edge${j(n.edge)}`],t[`size${j(n.size)}`]]}})(({theme:e,ownerState:t})=>S({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.active} / ${e.vars.palette.action.hoverOpacity})`:Me(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})=>S({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&S({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(e.palette[t.color].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)},{[`&.${C6.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})),P6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=ee(r,R6),f=S({},r,{edge:i,color:a,disabled:l,disableFocusRipple:c,size:u}),p=T6(f);return M(M6,S({className:K(p.root,s),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:f},d,{children:o}))});var q0=P6,O6=Zn(M("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),I6=Zn(M("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),D6=Zn(M("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),A6=Zn(M("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),YT=Zn(M("path",{d:"M19 6.41L17.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"),vS;const $6=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],N6=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`${t}${j(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return he(o,S6,i)},L6=z(os,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${j(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?_u:bu,r=e.palette.mode==="light"?bu:_u,i=t.color||t.severity;return S({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:n(e.palette[i].light,.6),backgroundColor:r(e.palette[i].light,.9),[`& .${gS.icon}`]:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="outlined"&&{color:n(e.palette[i].light,.6),border:`1px solid ${e.palette[i].light}`,[`& .${gS.icon}`]:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="filled"&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main})}),F6=z("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),B6=z("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),yS=z("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),_S={success:M(O6,{fontSize:"inherit"}),warning:M(I6,{fontSize:"inherit"}),error:M(D6,{fontSize:"inherit"}),info:M(A6,{fontSize:"inherit"})},z6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,icon:c,iconMapping:u=_S,onClose:d,role:f="alert",severity:p="success",variant:h="standard"}=r,g=ee(r,$6),_=S({},r,{color:l,severity:p,variant:h}),m=N6(_);return Ce(L6,S({role:f,elevation:0,ownerState:_,className:K(m.root,s),ref:n},g,{children:[c!==!1?M(F6,{ownerState:_,className:m.icon,children:c||u[p]||_S[p]}):null,M(B6,{ownerState:_,className:m.message,children:o}),i!=null?M(yS,{ownerState:_,className:m.action,children:i}):null,i==null&&d?M(yS,{ownerState:_,className:m.action,children:M(q0,{size:"small","aria-label":a,title:a,color:"inherit",onClick:d,children:vS||(vS=M(YT,{fontSize:"small"}))})}):null]}))});var Cle=z6;function U6(e){return fe("MuiTypography",e)}me("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const W6=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],j6=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${j(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return he(a,U6,s)},H6=z("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${j(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>S({margin:0},t.variant&&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})),bS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Y6={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},V6=e=>Y6[e]||e,G6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiTypography"}),i=V6(r.color),o=mT(S({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=bS}=o,h=ee(o,W6),g=S({},o,{align:s,color:i,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:f,variantMapping:p}),_=l||(d?"p":p[f]||bS[f])||"span",m=j6(g);return M(H6,S({as:_,ref:n,ownerState:g,className:K(m.root,a)},h))});var yi=G6;function K6(e){return fe("MuiAlertTitle",e)}me("MuiAlertTitle",["root"]);const q6=["className"],X6=e=>{const{classes:t}=e;return he({root:["root"]},K6,t)},Z6=z(yi,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),J6=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAlertTitle"}),{className:i}=r,o=ee(r,q6),s=r,a=X6(s);return M(Z6,S({gutterBottom:!0,component:"div",ownerState:s,ref:n,className:K(a.root,i)},o))});var Rle=J6;const Q6=z(_B,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eU=b.exports.forwardRef(function(t,n){const r=_T(),i=ge({props:t,name:"MuiPopper"});return M(Q6,S({direction:r==null?void 0:r.direction},i,{ref:n}))});var Ih=eU;function tU(e){return fe("MuiListSubheader",e)}me("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const nU=["className","color","component","disableGutters","disableSticky","inset"],rU=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,s={root:["root",n!=="default"&&`color${j(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return he(s,tU,t)},iU=z("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${j(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>S({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),oU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:s="li",disableGutters:a=!1,disableSticky:l=!1,inset:c=!1}=r,u=ee(r,nU),d=S({},r,{color:o,component:s,disableGutters:a,disableSticky:l,inset:c}),f=rU(d);return M(iU,S({as:s,className:K(f.root,i),ref:n,ownerState:d},u))});var sU=oU,aU=Zn(M("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function lU(e){return fe("MuiChip",e)}const cU=me("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]);var Ke=cU;const uU=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],dU=e=>{const{classes:t,disabled:n,size:r,color:i,onDelete:o,clickable:s,variant:a}=e,l={root:["root",a,n&&"disabled",`size${j(r)}`,`color${j(i)}`,s&&"clickable",s&&`clickableColor${j(i)}`,o&&"deletable",o&&`deletableColor${j(i)}`,`${a}${j(i)}`],label:["label",`label${j(r)}`],avatar:["avatar",`avatar${j(r)}`,`avatarColor${j(i)}`],icon:["icon",`icon${j(r)}`,`iconColor${j(i)}`],deleteIcon:["deleteIcon",`deleteIcon${j(r)}`,`deleteIconColor${j(i)}`,`deleteIconOutlinedColor${j(i)}`]};return he(l,lU,t)},fU=z("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:i,onDelete:o,size:s,variant:a}=n;return[{[`& .${Ke.avatar}`]:t.avatar},{[`& .${Ke.avatar}`]:t[`avatar${j(s)}`]},{[`& .${Ke.avatar}`]:t[`avatarColor${j(r)}`]},{[`& .${Ke.icon}`]:t.icon},{[`& .${Ke.icon}`]:t[`icon${j(s)}`]},{[`& .${Ke.icon}`]:t[`iconColor${j(r)}`]},{[`& .${Ke.deleteIcon}`]:t.deleteIcon},{[`& .${Ke.deleteIcon}`]:t[`deleteIcon${j(s)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIconColor${j(r)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIconOutlinedColor${j(r)}`]},t.root,t[`size${j(s)}`],t[`color${j(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${j(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${j(r)}`],t[a],a==="outlined"&&t[`outlined${j(r)}`]]}})(({theme:e,ownerState:t})=>{const n=Me(e.palette.text.primary,.26);return S({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.text.primary,backgroundColor:e.palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ke.disabled}`]:{opacity:e.palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ke.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},[`& .${Ke.avatarColorPrimary}`]:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},[`& .${Ke.avatarColorSecondary}`]:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},[`& .${Ke.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ke.icon}`]:S({color:e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.color!=="default"&&{color:"inherit"}),[`& .${Ke.deleteIcon}`]:S({WebkitTapHighlightColor:"transparent",color:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Me(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:Me(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:e.palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.onDelete&&{[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ke.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}})},({theme:e,ownerState:t})=>S({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:e.shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ke.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}}),({theme:e,ownerState:t})=>S({},t.variant==="outlined"&&{backgroundColor:"transparent",border:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${Ke.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`& .${Ke.avatar}`]:{marginLeft:4},[`& .${Ke.avatarSmall}`]:{marginLeft:2},[`& .${Ke.icon}`]:{marginLeft:4},[`& .${Ke.iconSmall}`]:{marginLeft:2},[`& .${Ke.deleteIcon}`]:{marginRight:5},[`& .${Ke.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:e.palette[t.color].main,border:`1px solid ${Me(e.palette[t.color].main,.7)}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:Me(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:Me(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ke.deleteIcon}`]:{color:Me(e.palette[t.color].main,.7),"&:hover, &:active":{color:e.palette[t.color].main}}})),pU=z("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${j(r)}`]]}})(({ownerState:e})=>S({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function xS(e){return e.key==="Backspace"||e.key==="Delete"}const hU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:g,onKeyUp:_,size:m="medium",variant:v="filled"}=r,y=ee(r,uU),x=b.exports.useRef(null),w=Ve(x,n),k=O=>{O.stopPropagation(),h&&h(O)},E=O=>{O.currentTarget===O.target&&xS(O)&&O.preventDefault(),g&&g(O)},R=O=>{O.currentTarget===O.target&&(h&&xS(O)?h(O):O.key==="Escape"&&x.current&&x.current.blur()),_&&_(O)},C=s!==!1&&p?!0:s,T=m==="small",P=C||h?Qr:l||"div",$=S({},r,{component:P,disabled:u,size:m,color:a,onDelete:!!h,clickable:C,variant:v}),N=dU($),Y=P===Qr?S({component:l||"div",focusVisibleClassName:N.focusVisible},h&&{disableRipple:!0}):{};let A=null;if(h){const O=K(a!=="default"&&(v==="outlined"?N[`deleteIconOutlinedColor${j(a)}`]:N[`deleteIconColor${j(a)}`]),T&&N.deleteIconSmall);A=c&&b.exports.isValidElement(c)?b.exports.cloneElement(c,{className:K(c.props.className,N.deleteIcon,O),onClick:k}):M(aU,{className:K(N.deleteIcon,O),onClick:k})}let I=null;i&&b.exports.isValidElement(i)&&(I=b.exports.cloneElement(i,{className:K(N.avatar,i.props.className)}));let B=null;return d&&b.exports.isValidElement(d)&&(B=b.exports.cloneElement(d,{className:K(N.icon,d.props.className)})),Ce(fU,S({as:P,className:K(N.root,o),disabled:C&&u?!0:void 0,onClick:p,onKeyDown:E,onKeyUp:R,ref:w,ownerState:$},Y,y,{children:[I||B,M(pU,{className:K(N.label),ownerState:$,children:f}),A]}))});var mU=hU;function Qs({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]=="undefined"&&(r[i]=n[i]),r),{})}const gU=b.exports.createContext();var X0=gU;function ss(){return b.exports.useContext(X0)}function vU(e){return M(fL,S({},e,{defaultTheme:Th}))}function SS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Z0(e,t=!1){return e&&(SS(e.value)&&e.value!==""||t&&SS(e.defaultValue)&&e.defaultValue!=="")}function yU(e){return e.startAdornment}function _U(e){return fe("MuiInputBase",e)}const bU=me("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var _i=bU;const xU=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Dh=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${j(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ah=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},SU=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,size:d,startAdornment:f,type:p}=e,h={root:["root",`color${j(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d==="small"&&"sizeSmall",u&&"multiline",f&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd"]};return he(h,_U,t)},$h=z("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Dh})(({theme:e,ownerState:t})=>S({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${_i.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&S({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Nh=z("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ah})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=S({color:"currentColor"},e.vars?{opacity:e.vars.opacity.placeholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.placeholder}:{opacity:n?.42:.5};return S({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${_i.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${_i.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),wU=M(vU,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),EU=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:o,autoFocus:s,className:a,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:g,inputComponent:_="input",inputProps:m={},inputRef:v,maxRows:y,minRows:x,multiline:w=!1,name:k,onBlur:E,onChange:R,onClick:C,onFocus:T,onKeyDown:P,onKeyUp:$,placeholder:N,readOnly:Y,renderSuffix:A,rows:I,startAdornment:B,type:O="text",value:D}=r,U=ee(r,xU),Z=m.value!=null?m.value:D,{current:J}=b.exports.useRef(Z!=null),be=b.exports.useRef(),re=b.exports.useCallback(ye=>{},[]),se=Ve(m.ref,re),G=Ve(v,se),pe=Ve(be,G),[ue,ce]=b.exports.useState(!1),ve=ss(),Ae=Qs({props:r,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ae.focused=ve?ve.focused:ue,b.exports.useEffect(()=>{!ve&&d&&ue&&(ce(!1),E&&E())},[ve,d,ue,E]);const Be=ve&&ve.onFilled,de=ve&&ve.onEmpty,ze=b.exports.useCallback(ye=>{Z0(ye)?Be&&Be():de&&de()},[Be,de]);Tr(()=>{J&&ze({value:Z})},[Z,ze,J]);const Se=ye=>{if(Ae.disabled){ye.stopPropagation();return}T&&T(ye),m.onFocus&&m.onFocus(ye),ve&&ve.onFocus?ve.onFocus(ye):ce(!0)},Ge=ye=>{E&&E(ye),m.onBlur&&m.onBlur(ye),ve&&ve.onBlur?ve.onBlur(ye):ce(!1)},De=(ye,...F)=>{if(!J){const te=ye.target||be.current;if(te==null)throw new Error(Ys(1));ze({value:te.value})}m.onChange&&m.onChange(ye,...F),R&&R(ye,...F)};b.exports.useEffect(()=>{ze(be.current)},[]);const At=ye=>{be.current&&ye.currentTarget===ye.target&&be.current.focus(),C&&C(ye)};let xt=_,Oe=m;w&&xt==="input"&&(I?Oe=S({type:void 0,minRows:I,maxRows:I},Oe):Oe=S({type:void 0,maxRows:y,minRows:x},Oe),xt=WB);const Ne=ye=>{ze(ye.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};b.exports.useEffect(()=>{ve&&ve.setAdornedStart(Boolean(B))},[ve,B]);const Pt=S({},r,{color:Ae.color||"primary",disabled:Ae.disabled,endAdornment:p,error:Ae.error,focused:Ae.focused,formControl:ve,fullWidth:h,hiddenLabel:Ae.hiddenLabel,multiline:w,size:Ae.size,startAdornment:B,type:O}),jt=SU(Pt),st=l.Root||$h,St=c.root||{},We=l.Input||Nh;return Oe=S({},Oe,c.input),Ce(b.exports.Fragment,{children:[!f&&wU,Ce(st,S({},St,!Ks(st)&&{ownerState:S({},Pt,St.ownerState)},{ref:n,onClick:At},U,{className:K(jt.root,St.className,a),children:[B,M(X0.Provider,{value:null,children:M(We,S({ownerState:Pt,"aria-invalid":Ae.error,"aria-describedby":i,autoComplete:o,autoFocus:s,defaultValue:u,disabled:Ae.disabled,id:g,onAnimationStart:Ne,name:k,placeholder:N,readOnly:Y,required:Ae.required,rows:I,value:Z,onKeyDown:P,onKeyUp:$,type:O},Oe,!Ks(We)&&{as:xt,ownerState:S({},Pt,Oe.ownerState)},{ref:pe,className:K(jt.input,Oe.className),onBlur:Ge,onChange:De,onFocus:Se}))}),p,A?A(S({},Ae,{startAdornment:B})):null]}))]})});var J0=EU;function kU(e){return fe("MuiInput",e)}const CU=S({},_i,me("MuiInput",["root","underline","input"]));var Rs=CU;function RU(e){return fe("MuiOutlinedInput",e)}const TU=S({},_i,me("MuiOutlinedInput",["root","notchedOutline","input"]));var fi=TU;function MU(e){return fe("MuiFilledInput",e)}const PU=S({},_i,me("MuiFilledInput",["root","underline","input"]));var mi=PU,VT=Zn(M("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function OU(e){return fe("MuiAutocomplete",e)}const IU=me("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Le=IU,wS,ES;const DU=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],AU=e=>{const{classes:t,disablePortal:n,focused:r,fullWidth:i,hasClearIcon:o,hasPopupIcon:s,inputFocused:a,popupOpen:l,size:c}=e,u={root:["root",r&&"focused",i&&"fullWidth",o&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",a&&"inputFocused"],tag:["tag",`tagSize${j(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",l&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return he(u,OU,t)},$U=z("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:o,inputFocused:s,size:a}=n;return[{[`& .${Le.tag}`]:t.tag},{[`& .${Le.tag}`]:t[`tagSize${j(a)}`]},{[`& .${Le.inputRoot}`]:t.inputRoot},{[`& .${Le.input}`]:t.input},{[`& .${Le.input}`]:s&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})(({ownerState:e})=>S({[`&.${Le.focused} .${Le.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Le.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${Le.tag}`]:S({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${Le.inputRoot}`]:{flexWrap:"wrap",[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4},[`& .${Le.input}`]:{width:0,minWidth:30}},[`& .${Rs.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Rs.root}.${_i.sizeSmall}`]:{[`& .${Rs.input}`]:{padding:"2px 4px 3px 0"}},[`& .${fi.root}`]:{padding:9,[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${Le.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${Le.endAdornment}`]:{right:9}},[`& .${fi.root}.${_i.sizeSmall}`]:{padding:6,[`& .${Le.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${mi.root}`]:{paddingTop:19,paddingLeft:8,[`.${Le.hasPopupIcon}&, .${Le.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${Le.hasPopupIcon}.${Le.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${mi.input}`]:{padding:"7px 4px"},[`& .${Le.endAdornment}`]:{right:9}},[`& .${mi.root}.${_i.sizeSmall}`]:{paddingBottom:1,[`& .${mi.input}`]:{padding:"2.5px 4px"}},[`& .${_i.hiddenLabel}`]:{paddingTop:8},[`& .${Le.input}`]:S({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),NU=z("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),LU=z(q0,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),FU=z(q0,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>S({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>S({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),BU=z(Ih,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Le.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>S({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),zU=z(os,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>S({},e.typography.body1,{overflow:"auto"})),UU=z("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),WU=z("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),jU=z("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${Le.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Le.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Le.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Me(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Le.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Le.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Me(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),HU=z(sU,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),YU=z("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Le.option}`]:{paddingLeft:24}}),VU=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:c=!1,ChipProps:u,className:d,clearIcon:f=wS||(wS=M(YT,{fontSize:"small"})),clearOnBlur:p=!o.freeSolo,clearOnEscape:h=!1,clearText:g="Clear",closeText:_="Close",componentsProps:m={},defaultValue:v=o.multiple?[]:null,disableClearable:y=!1,disableCloseOnSelect:x=!1,disabled:w=!1,disabledItemsFocusable:k=!1,disableListWrap:E=!1,disablePortal:R=!1,filterSelectedOptions:C=!1,forcePopupIcon:T="auto",freeSolo:P=!1,fullWidth:$=!1,getLimitTagsText:N=je=>`+${je}`,getOptionLabel:Y=je=>{var on;return(on=je.label)!=null?on:je},groupBy:A,handleHomeEndKeys:I=!o.freeSolo,includeInputInList:B=!1,limitTags:O=-1,ListboxComponent:D="ul",ListboxProps:U,loading:Z=!1,loadingText:J="Loading\u2026",multiple:be=!1,noOptionsText:re="No options",openOnFocus:se=!1,openText:G="Open",PaperComponent:pe=os,PopperComponent:ue=Ih,popupIcon:ce=ES||(ES=M(VT,{})),readOnly:ve=!1,renderGroup:Ae,renderInput:Be,renderOption:de,renderTags:ze,selectOnFocus:Se=!o.freeSolo,size:Ge="medium"}=o,De=ee(o,DU),{getRootProps:At,getInputProps:xt,getInputLabelProps:Oe,getPopupIndicatorProps:Ne,getClearProps:Pt,getTagProps:jt,getListboxProps:st,getOptionProps:St,value:We,dirty:ye,id:F,popupOpen:te,focused:V,focusedTag:le,anchorEl:Re,setAnchorEl:Je,inputValue:hn,groupedOptions:Ht}=n4(S({},o,{componentName:"Autocomplete"})),Ar=!y&&!w&&ye&&!ve,Pn=(!P||T===!0)&&T!==!1,$t=S({},o,{disablePortal:R,focused:V,fullWidth:$,hasClearIcon:Ar,hasPopupIcon:Pn,inputFocused:le===-1,popupOpen:te,size:Ge}),wt=AU($t);let rn;if(be&&We.length>0){const je=on=>S({className:K(wt.tag),disabled:w},jt(on));ze?rn=ze(We,je,$t):rn=We.map((on,Nr)=>M(mU,S({label:Y(on),size:Ge},je({index:Nr}),u)))}if(O>-1&&Array.isArray(rn)){const je=rn.length-O;!V&&je>0&&(rn=rn.splice(0,O),rn.push(M("span",{className:wt.tag,children:N(je)},rn.length)))}const mn=Ae||(je=>Ce("li",{children:[M(HU,{className:wt.groupLabel,ownerState:$t,component:"div",children:je.group}),M(YU,{className:wt.groupUl,ownerState:$t,children:je.children})]},je.key)),Al=de||((je,on)=>M("li",S({},je,{children:Y(on)}))),$r=(je,on)=>{const Nr=St({option:je,index:on});return Al(S({},Nr,{className:wt.option}),je,{selected:Nr["aria-selected"],inputValue:hn})};return Ce(b.exports.Fragment,{children:[M($U,S({ref:n,className:K(wt.root,d),ownerState:$t},At(De),{children:Be({id:F,disabled:w,fullWidth:!0,size:Ge==="small"?"small":void 0,InputLabelProps:Oe(),InputProps:S({ref:Je,className:wt.inputRoot,startAdornment:rn},(Ar||Pn)&&{endAdornment:Ce(NU,{className:wt.endAdornment,ownerState:$t,children:[Ar?M(LU,S({},Pt(),{"aria-label":g,title:g,ownerState:$t},m.clearIndicator,{className:K(wt.clearIndicator,(r=m.clearIndicator)==null?void 0:r.className),children:f})):null,Pn?M(FU,S({},Ne(),{disabled:w,"aria-label":te?_:G,title:te?_:G,className:K(wt.popupIndicator),ownerState:$t,children:ce})):null]})}),inputProps:S({className:K(wt.input),disabled:w,readOnly:ve},xt())})})),te&&Re?M(BU,{as:ue,className:K(wt.popper),disablePortal:R,style:{width:Re?Re.clientWidth:null},ownerState:$t,role:"presentation",anchorEl:Re,open:!0,children:Ce(zU,S({ownerState:$t,as:pe},m.paper,{className:K(wt.paper,(i=m.paper)==null?void 0:i.className),children:[Z&&Ht.length===0?M(UU,{className:wt.loading,ownerState:$t,children:J}):null,Ht.length===0&&!P&&!Z?M(WU,{className:wt.noOptions,ownerState:$t,role:"presentation",onMouseDown:je=>{je.preventDefault()},children:re}):null,Ht.length>0?M(jU,S({as:D,className:wt.listbox,ownerState:$t},st(),U,{children:Ht.map((je,on)=>A?mn({key:je.key,group:je.group,children:je.options.map((Nr,ra)=>$r(Nr,je.index+ra))}):$r(je,on))})):null]}))}):null]})});var Tle=VU,GU=Zn(M("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 KU(e){return fe("MuiAvatar",e)}me("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const qU=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],XU=e=>{const{classes:t,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},KU,t)},ZU=z("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>S({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"},t.variant==="rounded"&&{borderRadius:e.shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&{color:e.palette.background.default,backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]})),JU=z("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),QU=z(GU,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function eW({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=b.exports.useState(!1);return b.exports.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{!s||o("loaded")},a.onerror=()=>{!s||o("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const tW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",imgProps:l,sizes:c,src:u,srcSet:d,variant:f="circular"}=r,p=ee(r,qU);let h=null;const g=eW(S({},l,{src:u,srcSet:d})),_=u||d,m=_&&g!=="error",v=S({},r,{colorDefault:!m,component:a,variant:f}),y=XU(v);return m?h=M(JU,S({alt:i,src:u,srcSet:d,sizes:c,ownerState:v,className:y.img},l)):o!=null?h=o:_&&i?h=i[0]:h=M(QU,{className:y.fallback}),M(ZU,S({as:a,ownerState:v,className:K(y.root,s),ref:n},p,{children:h}))});var Mle=tW;const nW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],rW={entering:{opacity:1},entered:{opacity:1}},iW=b.exports.forwardRef(function(t,n){const r=io(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:g,style:_,timeout:m=i,TransitionComponent:v=Mh}=t,y=ee(t,nW),x=b.exports.useRef(null),w=Ve(a.ref,n),k=Ve(x,w),E=A=>I=>{if(A){const B=x.current;I===void 0?A(B):A(B,I)}},R=E(f),C=E((A,I)=>{V0(A);const B=qo({style:_,timeout:m,easing:l},{mode:"enter"});A.style.webkitTransition=r.transitions.create("opacity",B),A.style.transition=r.transitions.create("opacity",B),u&&u(A,I)}),T=E(d),P=E(g),$=E(A=>{const I=qo({style:_,timeout:m,easing:l},{mode:"exit"});A.style.webkitTransition=r.transitions.create("opacity",I),A.style.transition=r.transitions.create("opacity",I),p&&p(A)}),N=E(h);return M(v,S({appear:s,in:c,nodeRef:x,onEnter:C,onEntered:T,onEntering:R,onExit:$,onExited:N,onExiting:P,addEndListener:A=>{o&&o(x.current,A)},timeout:m},y,{children:(A,I)=>b.exports.cloneElement(a,S({style:S({opacity:0,visibility:A==="exited"&&!c?"hidden":void 0},rW[A],_,a.props.style),ref:k},I))}))});var GT=iW;function oW(e){return fe("MuiBackdrop",e)}me("MuiBackdrop",["root","invisible"]);const sW=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],aW=e=>{const{classes:t,invisible:n}=e;return he({root:["root",n&&"invisible"]},oW,t)},lW=z("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>S({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),cW=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiBackdrop"}),{children:s,component:a="div",components:l={},componentsProps:c={},className:u,invisible:d=!1,open:f,transitionDuration:p,TransitionComponent:h=GT}=o,g=ee(o,sW),_=S({},o,{component:a,invisible:d}),m=aW(_);return M(h,S({in:f,timeout:p},g,{children:M(lW,{"aria-hidden":!0,as:(r=l.Root)!=null?r:a,className:K(m.root,u),ownerState:S({},_,(i=c.root)==null?void 0:i.ownerState),classes:m,ref:n,children:s})}))});var KT=cW;function uW(e){return fe("MuiButton",e)}const dW=me("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Gd=dW;const fW=b.exports.createContext({});var pW=fW;const hW=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],mW=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=e,a={root:["root",o,`${o}${j(t)}`,`size${j(i)}`,`${o}Size${j(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${j(i)}`],endIcon:["endIcon",`iconSize${j(i)}`]},l=he(a,uW,s);return S({},s,l)},qT=e=>S({},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}}),gW=z(Qr,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${j(n.color)}`],t[`size${j(n.size)}`],t[`${n.variant}Size${j(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return S({},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":S({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(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})`:Me(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})`:Me(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,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":S({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Gd.focusVisible}`]:S({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Gd.disabled}`]:S({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},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 ${Me(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).palette.grey[300],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"},[`&.${Gd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Gd.disabled}`]:{boxShadow:"none"}}),vW=z("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${j(n.size)}`]]}})(({ownerState:e})=>S({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},qT(e))),yW=z("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${j(n.size)}`]]}})(({ownerState:e})=>S({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},qT(e))),_W=b.exports.forwardRef(function(t,n){const r=b.exports.useContext(pW),i=QR(r,t),o=ge({props:i,name:"MuiButton"}),{children:s,color:a="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:h,fullWidth:g=!1,size:_="medium",startIcon:m,type:v,variant:y="text"}=o,x=ee(o,hW),w=S({},o,{color:a,component:l,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:g,size:_,type:v,variant:y}),k=mW(w),E=m&&M(vW,{className:k.startIcon,ownerState:w,children:m}),R=p&&M(yW,{className:k.endIcon,ownerState:w,children:p});return Ce(gW,S({ownerState:w,className:K(c,r.className),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:K(k.focusVisible,h),ref:n,type:v},x,{classes:k,children:[E,s,R]}))});var bW=_W;function xW(e){return fe("MuiCard",e)}me("MuiCard",["root"]);const SW=["className","raised"],wW=e=>{const{classes:t}=e;return he({root:["root"]},xW,t)},EW=z(os,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),kW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=ee(r,SW),a=S({},r,{raised:o}),l=wW(a);return M(EW,S({className:K(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))});var Ple=kW;function CW(e){return fe("MuiCardActionArea",e)}const RW=me("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var Qm=RW;const TW=["children","className","focusVisibleClassName"],MW=e=>{const{classes:t}=e;return he({root:["root"],focusHighlight:["focusHighlight"]},CW,t)},PW=z(Qr,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",width:"100%",[`&:hover .${Qm.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Qm.focusVisible} .${Qm.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),OW=z("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})),IW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCardActionArea"}),{children:i,className:o,focusVisibleClassName:s}=r,a=ee(r,TW),l=r,c=MW(l);return Ce(PW,S({className:K(c.root,o),focusVisibleClassName:K(s,c.focusVisible),ref:n,ownerState:l},a,{children:[i,M(OW,{className:c.focusHighlight,ownerState:l})]}))});var Ole=IW;function DW(e){return fe("MuiCardContent",e)}me("MuiCardContent",["root"]);const AW=["className","component"],$W=e=>{const{classes:t}=e;return he({root:["root"]},DW,t)},NW=z("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),LW=b.exports.forwardRef(function(t,n){const r=ge({props:t,name:"MuiCardContent"}),{className:i,component:o="div"}=r,s=ee(r,AW),a=S({},r,{component:o}),l=$W(a);return M(NW,S({as:o,className:K(l.root,i),ownerState:a,ref:n},s))});var Ile=LW;function FW(e){return fe("PrivateSwitchBase",e)}me("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const BW=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],zW=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${j(i)}`],input:["input"]};return he(o,FW,t)},UW=z(Qr)(({ownerState:e})=>S({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),WW=z("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),jW=b.exports.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:a,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:p,inputRef:h,name:g,onBlur:_,onChange:m,onFocus:v,readOnly:y,required:x,tabIndex:w,type:k,value:E}=t,R=ee(t,BW),[C,T]=zo({controlled:i,default:Boolean(a),name:"SwitchBase",state:"checked"}),P=ss(),$=D=>{v&&v(D),P&&P.onFocus&&P.onFocus(D)},N=D=>{_&&_(D),P&&P.onBlur&&P.onBlur(D)},Y=D=>{if(D.nativeEvent.defaultPrevented)return;const U=D.target.checked;T(U),m&&m(D,U)};let A=l;P&&typeof A=="undefined"&&(A=P.disabled);const I=k==="checkbox"||k==="radio",B=S({},t,{checked:C,disabled:A,disableFocusRipple:c,edge:u}),O=zW(B);return Ce(UW,S({component:"span",className:K(O.root,s),centerRipple:!0,focusRipple:!c,disabled:A,tabIndex:null,role:void 0,onFocus:$,onBlur:N,ownerState:B,ref:n},R,{children:[M(WW,S({autoFocus:r,checked:i,defaultChecked:a,className:O.input,disabled:A,id:I&&f,name:g,onChange:Y,readOnly:y,ref:h,required:x,ownerState:B,tabIndex:w,type:k},k==="checkbox"&&E===void 0?{}:{value:E},p)),C?o:d]}))});var XT=jW,HW=Zn(M("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),YW=Zn(M("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),VW=Zn(M("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function GW(e){return fe("MuiCheckbox",e)}const KW=me("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);var eg=KW;const qW=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],XW=e=>{const{classes:t,indeterminate:n,color:r}=e,i={root:["root",n&&"indeterminate",`color${j(r)}`]},o=he(i,GW,t);return S({},t,o)},ZW=z(XT,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${j(n.color)}`]]}})(({theme:e,ownerState:t})=>S({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Me(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${eg.checked}, &.${eg.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${eg.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),JW=M(YW,{}),QW=M(HW,{}),e9=M(VW,{}),t9=b.exports.forwardRef(function(t,n){var r,i;const o=ge({props:t,name:"MuiCheckbox"}),{checkedIcon:s=JW,color:a="primary",icon:l=QW,indeterminate:c=!1,indeterminateIcon:u=e9,inputProps:d,size:f="medium"}=o,p=ee(o,qW),h=c?u:l,g=c?u:s,_=S({},o,{color:a,indeterminate:c,size:f}),m=XW(_);return M(ZW,S({type:"checkbox",inputProps:S({"data-indeterminate":c},d),icon:b.exports.cloneElement(h,{fontSize:(r=h.props.fontSize)!=null?r:f}),checkedIcon:b.exports.cloneElement(g,{fontSize:(i=g.props.fontSize)!=null?i:f}),ownerState:_,ref:n},p,{classes:m}))});var Dle=t9;function n9(e){return fe("MuiCircularProgress",e)}me("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const r9=["className","color","disableShrink","size","style","thickness","value","variant"];let Lh=e=>e,kS,CS,RS,TS;const uo=44,i9=Uu(kS||(kS=Lh`
|
165 |
0% {
|
166 |
transform: rotate(0deg);
|
167 |
}
|
169 |
100% {
|
170 |
transform: rotate(360deg);
|
171 |
}
|
172 |
+
`)),o9=Uu(CS||(CS=Lh`
|
173 |
0% {
|
174 |
stroke-dasharray: 1px, 200px;
|
175 |
stroke-dashoffset: 0;
|
184 |
stroke-dasharray: 100px, 200px;
|
185 |
stroke-dashoffset: -125px;
|
186 |
}
|
187 |
+
`)),s9=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${j(r)}`],svg:["svg"],circle:["circle",`circle${j(n)}`,i&&"circleDisableShrink"]};return he(o,n9,t)},a9=z("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${j(n.color)}`]]}})(({ownerState:e,theme:t})=>S({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&T0(RS||(RS=Lh`
|
188 |
animation: ${0} 1.4s linear infinite;
|
189 |
+
`),i9)),l9=z("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),c9=z("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${j(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>S({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&&T0(TS||(TS=Lh`
|
190 |
animation: ${0} 1.4s ease-in-out infinite;
|
|