1/*! For license information please see main.9bdf6509.js.LICENSE.txt */ 2(()=>{"use strict";var e={2592(e,t,n){n.d(t,{A:()=>g});n(5043);var r=n(797),o=n(1212);const a=(0,o.A)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]),i=(0,o.A)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);var s=n(5327),l=n(2313),c=n(8326),u=n(5847),d=n(6328),p=n(8654),f=n(1198),h=n(5844),m=n(579);function g(){return(0,m.jsx)("footer",{className:"border-t border-border bg-card py-12","data-testid":"footer",children:(0,m.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,m.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8 mb-10",children:[(0,m.jsxs)("div",{className:"col-span-2 md:col-span-3 lg:col-span-1",children:[(0,m.jsxs)("a",{href:"/",className:"flex items-center gap-2.5 mb-4",children:[(0,m.jsx)("div",{className:"w-9 h-9 rounded-[10px] bg-gradient-to-br from-brand-from to-brand-to flex items-center justify-center shadow-glow",children:(0,m.jsx)(r.A,{className:"w-4 h-4 text-white"})}),(0,m.jsx)("span",{className:"text-[17px] font-extrabold text-foreground tracking-tight",children:"Upload to URL"})]}),(0,m.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed mb-6",children:"Upload files and get instant public URLs. API-first file hosting for developers and teams."}),(0,m.jsx)(h.Bc,{delayDuration:200,children:(0,m.jsxs)("div",{className:"mb-8 flex flex-wrap items-center gap-4",children:[(0,m.jsxs)(h.m_,{children:[(0,m.jsx)(h.k$,{asChild:!0,children:(0,m.jsx)("img",{src:"/assets/images/aws-logo.png",alt:"AWS Logo",className:"h-10 hover:scale-105 transition-transform cursor-default opacity-80 hover:opacity-100 transition-opacity"})}),(0,m.jsx)(h.ZI,{className:"bg-brand text-brand-foreground border-none shadow-card font-medium",children:(0,m.jsx)("p",{children:"Powered by AWS Infrastructure"})})]}),(0,m.jsxs)(h.m_,{children:[(0,m.jsx)(h.k$,{asChild:!0,children:(0,m.jsx)("img",{src:"/assets/images/GDPR_Blue.png",alt:"GDPR Compliant",className:"h-10 hover:scale-105 transition-transform cursor-default opacity-80 hover:opacity-100 transition-opacity"})}),(0,m.jsx)(h.ZI,{className:"bg-brand text-brand-foreground border-none shadow-card font-medium",children:(0,m.jsx)("p",{children:"Fully GDPR Compliant"})})]})]})}),(0,m.jsxs)("div",{className:"mt-8 mb-6 flex flex-wrap gap-4 items-center",children:[(0,m.jsx)("a",{href:"https://launchigniter.com/product/upload-to-url?ref=badge-upload-to-url",target:"_blank",rel:"noopener noreferrer",className:"inline-block hover:scale-[1.02] transition-transform",children:(0,m.jsx)("img",{src:"https://launchigniter.com/api/badge/upload-to-url?theme=light",alt:"Featured on LaunchIgniter",width:"212",height:"55",className:"h-11 w-auto rounded-lg shadow-soft"})}),(0,m.jsx)("a",{href:"https://twelve.tools",target:"_blank",rel:"noopener noreferrer",className:"inline-block hover:scale-[1.02] transition-transform",children:(0,m.jsx)("img",{src:"https://twelve.tools/badge0-light.svg",alt:"Featured on Twelve Tools",width:"200",height:"54",className:"h-11 w-auto rounded-lg shadow-soft"})})]}),(0,m.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,m.jsxs)("div",{className:"flex items-center gap-4",children:[(0,m.jsx)("a",{href:"https://www.linkedin.com/company/upload-to-url",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"text-muted-foreground hover:text-brand transition-colors",children:(0,m.jsx)(a,{className:"w-5 h-5"})}),(0,m.jsx)("a",{href:"https://github.com/Upload-to-URL",target:"_blank",rel:"noopener noreferrer","aria-label":"GitHub",className:"text-muted-foreground hover:text-brand transition-colors",children:(0,m.jsx)(i,{className:"w-5 h-5"})})]}),(0,m.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,m.jsx)(s.A,{className:"w-4 h-4"}),(0,m.jsx)("span",{children:"[email protected]"}),(0,m.jsx)("button",{onClick:()=>{navigator.clipboard.writeText("[email protected]"),d.oR.success("Email address copied to clipboard")},className:"p-1.5 ml-1 rounded-md text-muted-foreground hover:text-brand hover:bg-brand-tint transition-colors",title:"Copy email address","aria-label":"Copy email address",children:(0,m.jsx)(l.A,{className:"w-3.5 h-3.5"})})]})]})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h3",{className:"text-sm font-bold text-foreground mb-4",children:"Product"}),(0,m.jsxs)("ul",{className:"space-y-2.5",children:[(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/api-docs",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"API Documentation"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/integrations",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Integrations"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/pricing",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Pricing"})}),(0,m.jsx)("li",{children:(0,m.jsx)(u.N_,{to:"/mcp-server",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"MCP Server"})}),(0,m.jsx)("li",{children:(0,m.jsx)(u.N_,{to:"/google-drive-direct-link-generator",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Google Drive Public Link Generator"})}),(0,m.jsx)("li",{children:(0,m.jsx)(u.N_,{to:"/faq",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"FAQ"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"https://uploadtourl.hyperping.app/",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Status"})})]})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h3",{className:"text-sm font-bold text-foreground mb-4",children:"Solutions"}),(0,m.jsx)("ul",{className:"space-y-2.5",children:f.j0.map(e=>(0,m.jsx)("li",{children:(0,m.jsx)(u.N_,{to:`/${e.slug}`,className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:e.name})},e.slug))})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h3",{className:"text-sm font-bold text-foreground mb-4",children:"Integrations"}),(0,m.jsxs)("ul",{className:"space-y-2.5",children:[p.pI.map(e=>(0,m.jsx)("li",{children:(0,m.jsxs)("a",{href:`/${e.slug}`,className:"text-sm text-muted-foreground hover:text-brand transition-colors inline-flex items-center gap-2 group",children:[(0,m.jsx)("div",{className:"w-5 h-5 rounded bg-muted flex items-center justify-center overflow-hidden border border-border group-hover:border-brand/30 transition-colors",children:(0,m.jsx)("img",{src:e.logoPath,alt:e.name,className:"w-3 h-3 object-contain",onError:e=>{e.target.style.display="none"}})}),e.name,"coming-soon"===e.status&&(0,m.jsx)("span",{className:"text-[10px] text-yellow-600 dark:text-yellow-400 bg-yellow-100 dark:bg-yellow-500/10 border border-yellow-200 dark:border-yellow-500/20 rounded-full px-1.5 py-0.5 leading-none",children:"Soon"})]})},e.slug)),(0,m.jsx)("li",{className:"pt-2",children:(0,m.jsxs)("a",{href:"/integrations",className:"text-xs font-semibold text-muted-foreground hover:text-brand transition-colors flex items-center gap-1 group",children:["View all Integrations",(0,m.jsx)(c.A,{className:"w-3 h-3 transition-transform group-hover:translate-x-0.5"})]})})]})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("h3",{className:"text-sm font-bold text-foreground mb-4",children:"Legal"}),(0,m.jsxs)("ul",{className:"space-y-2.5",children:[(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/security",className:"text-sm text-success font-semibold hover:opacity-80 transition-opacity",children:"Security & Trust"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/privacy",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Privacy Policy"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/terms",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Terms & Conditions"})}),(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:"/refund",className:"text-sm text-muted-foreground hover:text-brand transition-colors",children:"Refund Policy"})})]})]})]}),(0,m.jsx)("div",{className:"border-t border-border pt-8 flex text-center justify-center",children:(0,m.jsx)("span",{className:"text-sm text-muted-foreground",children:"\xa9 2026 Upload to URL. All rights reserved."})})]})})}},7660(e,t,n){n.d(t,{A:()=>v});var r=n(5043),o=n(3866),a=n(5847),i=n(3390),s=n(7484),l=n(2626),c=n(2382),u=n(2983),d=n(59),p=n(8306),f=n(797),h=n(614),m=n(8654),g=n(1002),y=n(579);const b=e=>{"/api-docs"===e?n.e(997).then(n.bind(n,997)):"/dashboard"===e?Promise.all([n.e(986),n.e(398)]).then(n.bind(n,398)):"/billing"===e&&n.e(3).then(n.bind(n,8003))};function v(){const e=(0,a.Zp)(),[t,n]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),[x,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const e=()=>{C(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,y.jsx)("header",{className:"sticky z-50 w-full transition-all duration-500 ease-in-out "+(S?"top-4 px-4 pointer-events-none border-b-0":"top-0 border-b border-border"),"data-testid":"landing-header",children:(0,y.jsxs)("div",{className:"mx-auto transition-all duration-500 ease-in-out "+(S?`max-w-5xl backdrop-blur-xl bg-card/90 border border-border shadow-elevated ${t?"rounded-3xl":"rounded-full"} px-6 py-2 pointer-events-auto`:"max-w-7xl px-4 sm:px-6 lg:px-8 py-4 backdrop-blur-xl bg-card/95"),children:[(0,y.jsxs)("div",{className:"flex justify-between items-center",children:[(0,y.jsxs)(a.N_,{to:"/",className:"flex items-center gap-2.5",children:[(0,y.jsx)("div",{className:"w-9 h-9 rounded-[10px] bg-gradient-to-br from-brand-from to-brand-to flex items-center justify-center shadow-glow",children:(0,y.jsx)(f.A,{className:"w-4 h-4 text-white"})}),(0,y.jsx)("span",{className:"text-[17px] font-extrabold text-foreground tracking-tight whitespace-nowrap",children:"Upload to URL"})]}),(0,y.jsxs)("nav",{"aria-label":"Main navigation",className:"hidden md:flex items-center gap-2",children:[(0,y.jsx)("div",{className:"relative",onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:(0,y.jsxs)(s.rI,{open:x,onOpenChange:k,children:[(0,y.jsx)(s.ty,{asChild:!0,children:(0,y.jsxs)(i.$,{variant:"ghost",className:"rounded-full px-5 text-muted-foreground hover:text-brand hover:bg-brand-tint data-[state=open]:text-brand data-[state=open]:bg-brand-tint transition-colors font-medium","data-testid":"integrations-dropdown-trigger",children:["Integrations",(0,y.jsx)(c.A,{className:"w-4 h-4 ml-2 opacity-50"})]})}),(0,y.jsxs)(s.SQ,{align:"end",className:"w-56 bg-popover border-border text-popover-foreground p-2 rounded-2xl shadow-card",children:[(0,y.jsxs)(s._2,{onClick:()=>e("/api-docs"),onMouseEnter:()=>b("/api-docs"),className:"hover:bg-accent focus:bg-accent focus:text-brand curs
2or-pointer py-2.5 rounded-lg group",children:[(0,y.jsx)("div",{className:"w-8 h-8 rounded-lg bg-brand-tint flex items-center justify-center mr-3 transition-colors",children:(0,y.jsx)(l.A,{className:"w-4 h-4 text-brand"})}),(0,y.jsx)("span",{className:"font-medium text-foreground",children:"API Docs"})]}),(0,y.jsxs)(s._2,{onClick:()=>e("/mcp-server"),onMouseEnter:()=>b("/mcp-server"),className:"hover:bg-accent focus:bg-accent focus:text-brand cursor-pointer py-2.5 rounded-lg group",children:[(0,y.jsx)("div",{className:"w-8 h-8 rounded-lg bg-brand-tint flex items-center justify-center mr-3 transition-colors",children:(0,y.jsx)(d.A,{className:"w-4 h-4 text-brand"})}),(0,y.jsx)("span",{className:"font-medium text-foreground",children:"MCP Server"})]}),(0,y.jsx)("div",{className:"h-px bg-border my-2 mx-1"}),m.pI.filter(e=>"mcp-server"!==e.slug).map(t=>(0,y.jsxs)(s._2,{onClick:()=>e(`/${t.slug}`),className:"hover:bg-accent focus:bg-accent focus:text-foreground cursor-pointer py-2 rounded-lg group",children:[(0,y.jsxs)("div",{className:"w-8 h-8 rounded-lg bg-muted flex items-center justify-center mr-3 border border-border overflow-hidden transition-all",children:[(0,y.jsx)("img",{src:t.logoPath,alt:t.name,className:"w-5 h-5 object-contain",onError:e=>{e.target.style.display="none",e.target.nextElementSibling.style.display="flex"}}),(0,y.jsx)("div",{className:"hidden items-center justify-center w-full h-full text-[10px] font-bold text-muted-foreground",children:t.name.substring(0,2)})]}),(0,y.jsx)("span",{className:"text-sm",children:t.name})]},t.slug))]})]})}),(0,y.jsxs)(o.wv,{when:"signed-out",children:[(0,y.jsx)(o.hZ,{mode:"modal",children:(0,y.jsx)(i.$,{variant:"ghost",className:"rounded-full px-5 text-muted-foreground hover:text-brand hover:bg-brand-tint transition-colors font-medium","data-testid":"sign-in-button",children:"Sign In"})}),(0,y.jsx)(o.Ny,{mode:"modal",children:(0,y.jsx)(i.$,{className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-6 py-2 font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"get-started-button-header",children:"Get Started"})})]}),(0,y.jsxs)(o.wv,{when:"signed-in",children:[(0,y.jsx)(i.$,{onClick:()=>e("/dashboard"),onMouseEnter:()=>b("/dashboard"),className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-6 py-2 font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"dashboard-button",children:"Dashboard"}),(0,y.jsx)(o.uF,{afterSignOutUrl:"/"})]}),(0,y.jsx)(g.U,{})]}),(0,y.jsxs)("div",{className:"flex items-center gap-2 md:hidden",children:[(0,y.jsx)(o.wv,{when:"signed-out",children:(0,y.jsx)(o.Ny,{mode:"modal",children:(0,y.jsx)(i.$,{size:"sm",className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-4 h-9 text-xs font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"get-started-button-header-mobile",children:"Get Started"})})}),(0,y.jsx)(o.wv,{when:"signed-in",children:(0,y.jsx)(i.$,{onClick:()=>e("/dashboard"),size:"sm",className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-4 h-9 text-xs font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"dashboard-button-header-mobile",children:"Dashboard"})}),(0,y.jsx)(g.U,{}),(0,y.jsx)("button",{className:"p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-accent transition-colors",onClick:()=>n(!t),"aria-label":"Toggle mobile menu",children:t?(0,y.jsx)(h.A,{className:"w-6 h-6"}):(0,y.jsx)(u.A,{className:"w-6 h-6"})})]})]}),t&&(0,y.jsx)("div",{className:"md:hidden mt-4 pt-4 border-t border-border",children:(0,y.jsxs)("nav",{"aria-label":"Mobile navigation",className:"flex flex-col gap-2",children:[(0,y.jsxs)("button",{onClick:()=>w(!v),className:"flex items-center justify-between rounded-lg px-4 py-3 text-muted-foreground hover:text-brand hover:bg-brand-tint transition-colors w-full",children:[(0,y.jsxs)("div",{className:"flex items-center gap-3",children:[(0,y.jsx)(p.A,{className:"w-4 h-4"}),(0,y.jsx)("span",{children:"Integrations"})]}),(0,y.jsx)(c.A,{className:"w-4 h-4 transition-transform "+(v?"rotate-180":"")})]}),v&&(0,y.jsxs)("div",{className:"pl-11 pr-4 py-2 flex flex-col gap-2",children:[(0,y.jsxs)("button",{onClick:()=>{e("/api-docs"),n(!1)},className:"text-left py-2 text-muted-foreground hover:text-brand transition-colors flex items-center gap-3",children:[(0,y.jsx)(l.A,{className:"w-3.5 h-3.5"}),"API Docs"]}),(0,y.jsxs)("button",{onClick:()=>{e("/mcp-server"),n(!1)},className:"text-left py-2 text-muted-foreground hover:text-brand transition-colors flex items-center gap-3",children:[(0,y.jsx)(d.A,{className:"w-3.5 h-3.5"}),"MCP Server"]}),m.pI.filter(e=>"mcp-server"!==e.slug).map(t=>(0,y.jsx)("button",{onClick:()=>{e(`/${t.slug}`),n(!1)},className:"text-left py-2 text-muted-foreground hover:text-foreground transition-colors",children:t.name},t.slug))]}),(0,y.jsxs)(o.wv,{when:"signed-out",children:[(0,y.jsx)(o.hZ,{mode:"modal",children:(0,y.jsx)(i.$,{variant:"ghost",className:"justify-start rounded-lg px-4 py-3 text-muted-foreground hover:text-brand hover:bg-brand-tint w-full transition-colors","data-testid":"sign-in-button-mobile",children:"Sign In"})}),(0,y.jsx)(o.Ny,{mode:"modal",children:(0,y.jsx)(i.$,{className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-4 py-3 font-bold transition-all hover:shadow-glow w-full","data-testid":"get-started-button-mobile",children:"Get Started"})})]}),(0,y.jsxs)(o.wv,{when:"signed-in",children:[(0,y.jsx)(i.$,{onClick:()=>{e("/dashboard"),n(!1)},variant:"ghost",className:"justify-start rounded-lg px-4 py-3 text-muted-foreground hover:text-brand hover:bg-brand-tint w-full transition-colors","data-testid":"dashboard-button-mobile",children:"Dashboard"}),(0,y.jsx)("div",{className:"flex justify-center py-2",children:(0,y.jsx)(o.uF,{afterSignOutUrl:"/"})})]})]})})]})})}},5319(e,t,n){n.d(t,{A:()=>Jt});var r=n(5043),o=n(3866),a=n(4107),i=n(3390),s=n(579);function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=t[0];if(1===t.length)return o;const a=()=>{const e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){const n=e.reduce((e,n)=>
2{let{useScope:r,scopeName:o}=n;return{...e,...r(t)[`__scope${o}`]}},{});return r.useMemo(()=>({[`__scope${o.scopeName}`]:n}),[n])}};return a.scopeName=o.scopeName,a}var c=n(7950),u=n(6851),d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,u.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{const{asChild:o,...a}=e,i=o?n:t;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i,{...a,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});var p="Progress",f=100,[h,m]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];const o=()=>{const t=n.map(e=>r.createContext(e));return function(n){const o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){const a=r.createContext(o);a.displayName=t+"Context";const i=n.length;n=[...n,o];const l=t=>{const{scope:n,children:o,...l}=t,c=n?.[e]?.[i]||a,u=r.useMemo(()=>l,Object.values(l));return(0,s.jsx)(c.Provider,{value:u,children:o})};return l.displayName=t+"Provider",[l,function(n,s){const l=s?.[e]?.[i]||a,c=r.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},l(o,...t)]}(p),[g,y]=h(p),b=r.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:a=x,...i}=e;!o&&0!==o||C(o)||console.error(`Invalid prop \`max\` of value \`${`${o}`}\` supplied to \`${"Progress"}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`);const l=C(o)?o:f;null===r||E(r,l)||console.error(function(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:\n - a positive number\n - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)\n - \`null\` or \`undefined\` if the progress is indeterminate.\n\nDefaulting to \`null\`.`}(`${r}`,"Progress"));const c=E(r,l)?r:null,u=S(c)?a(c,l):void 0;return(0,s.jsx)(g,{scope:n,value:c,max:l,children:(0,s.jsx)(d.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":S(c)?c:void 0,"aria-valuetext":u,role:"progressbar","data-state":k(c,l),"data-value":c??void 0,"data-max":l,...i,ref:t})})});b.displayName=p;var v="ProgressIndicator",w=r.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=y(v,n);return(0,s.jsx)(d.div,{"data-state":k(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});function x(e,t){return`${Math.round(e/t*100)}%`}function k(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function S(e){return"number"===typeof e}function C(e){return S(e)&&!isNaN(e)&&e>0}function E(e,t){return S(e)&&!isNaN(e)&&e<=t&&e>=0}w.displayName=v;var j=b,N=w,P=n(9766);const R=r.forwardRef((e,t)=>{let{className:n,value:r,...o}=e;return(0,s.jsx)(j,{ref:t,className:(0,P.cn)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",n),...o,children:(0,s.jsx)(N,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})});function _(e,t){let[n,r]=t;return Math.min(r,Math.max(n,e))}R.displayName=j.displayName;var A=n(858),T=n(7103),L=n(2814),U=n(1862),I=n(4204),M=n(1184),O=n(6590),F=n(276),D=n(4490),z=n(2634),$=n(3321),B=n(7914);function W(e){const t=q(e),n=r.forwardRef((e,n)=>{const{children:o,...a}=e,i=r.Children.toArray(o),l=i.find(V);if(l){const e=l.props.children,o=i.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,s.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,s.jsx)(t,{...a,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function q(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),a=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){const e=a(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}
2:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(a.ref=t?(0,L.t)(t,e):e),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var H=Symbol("radix.slottable");function V(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===H}var G=n(7490),K=n(3642),Y=n(503);var Q=n(4451),Z=n(5754),X=n(1672),J=[" ","Enter","ArrowUp","ArrowDown"],ee=[" ","Enter"],te="Select",[ne,re,oe]=(0,T.N)(te),[ae,ie]=(0,U.A)(te,[oe,z.Bk]),se=(0,z.Bk)(),[le,ce]=ae(te),[ue,de]=ae(te),pe=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:a,onOpenChange:i,value:l,defaultValue:c,onValueChange:u,dir:d,name:p,autoComplete:f,disabled:h,required:m,form:g}=e,y=se(t),[b,v]=r.useState(null),[w,x]=r.useState(null),[k,S]=r.useState(!1),C=(0,I.jH)(d),[E,j]=(0,K.i)({prop:o,defaultProp:a??!1,onChange:i,caller:te}),[N,P]=(0,K.i)({prop:l,defaultProp:c,onChange:u,caller:te}),R=r.useRef(null),_=!b||(g||!!b.closest("form")),[A,T]=r.useState(new Set),L=Array.from(A).map(e=>e.props.value).join(";");return(0,s.jsx)(z.bL,{...y,children:(0,s.jsxs)(le,{required:m,scope:t,trigger:b,onTriggerChange:v,valueNode:w,onValueNodeChange:x,valueNodeHasChildren:k,onValueNodeHasChildrenChange:S,contentId:(0,D.B)(),value:N,onValueChange:P,open:E,onOpenChange:j,dir:C,triggerPointerDownPosRef:R,disabled:h,children:[(0,s.jsx)(ne.Provider,{scope:t,children:(0,s.jsx)(ue,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{T(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{T(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),_?(0,s.jsxs)(et,{"aria-hidden":!0,required:m,tabIndex:-1,name:p,autoComplete:f,value:N,onChange:e=>P(e.target.value),disabled:h,form:g,children:[void 0===N?(0,s.jsx)("option",{value:""}):null,Array.from(A)]},L):null]})})};pe.displayName=te;var fe="SelectTrigger",he=r.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...a}=e,i=se(n),l=ce(fe,n),c=l.disabled||o,u=(0,L.s)(t,l.onTriggerChange),d=re(n),p=r.useRef("touch"),[f,h,m]=nt(e=>{const t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===l.value),r=rt(t,e,n);void 0!==r&&l.onValueChange(r.value)}),g=e=>{c||(l.onOpenChange(!0),m()),e&&(l.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,s.jsx)(z.Mz,{asChild:!0,...i,children:(0,s.jsx)(B.sG.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":tt(l.value)?"":void 0,...a,ref:u,onClick:(0,A.mK)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&g(e)}),onPointerDown:(0,A.mK)(a.onPointerDown,e=>{p.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:(0,A.mK)(a.onKeyDown,e=>{const t=""!==f.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),t&&" "===e.key||J.includes(e.key)&&(g(),e.preventDefault())})})})});he.displayName=fe;var me="SelectValue",ge=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:a,placeholder:i="",...l}=e,c=ce(me,n),{onValueNodeHasChildrenChange:u}=c,d=void 0!==a,p=(0,L.s)(t,c.onValueNodeChange);return(0,Y.N)(()=>{u(d)},[u,d]),(0,s.jsx)(B.sG.span,{...l,ref:p,style:{pointerEvents:"none"},children:tt(c.value)?(0,s.jsx)(s.Fragment,{children:i}):a})});ge.displayName=me;var ye=r.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return(0,s.jsx)(B.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"\u25bc"})});ye.displayName="SelectIcon";var be=e=>(0,s.jsx)($.Z,{asChild:!0,...e});be.displayName="SelectPortal";var ve="SelectContent",we=r.forwardRef((e,t)=>{const n=ce(ve,e.__scopeSelect),[o,a]=r.useState();if((0,Y.N)(()=>{a(new DocumentFragment)},[]),!n.open){const t=o;return t?c.createPortal((0,s.jsx)(ke,{scope:e.__scopeSelect,children:(0,s.jsx)(ne.Slot,{scope:e.__scopeSelect,children:(0,s.jsx)("div",{children:e.children})})}),t):null}return(0,s.jsx)(Ee,{...e,ref:t})});
2we.displayName=ve;var xe=10,[ke,Se]=ae(ve),Ce=W("SelectContent.RemoveScroll"),Ee=r.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:l,side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:f,collisionBoundary:h,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:b,...v}=e,w=ce(ve,n),[x,k]=r.useState(null),[S,C]=r.useState(null),E=(0,L.s)(t,e=>k(e)),[j,N]=r.useState(null),[P,R]=r.useState(null),_=re(n),[T,U]=r.useState(!1),I=r.useRef(!1);r.useEffect(()=>{if(x)return(0,Z.Eq)(x)},[x]),(0,O.Oh)();const D=r.useCallback(e=>{const[t,...n]=_().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const a of e){if(a===o)return;if(a?.scrollIntoView({block:"nearest"}),a===t&&S&&(S.scrollTop=0),a===r&&S&&(S.scrollTop=S.scrollHeight),a?.focus(),document.activeElement!==o)return}},[_,S]),z=r.useCallback(()=>D([j,x]),[D,j,x]);r.useEffect(()=>{T&&z()},[T,z]);const{onOpenChange:$,triggerPointerDownPosRef:B}=w;r.useEffect(()=>{if(x){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(B.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(B.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():x.contains(n.target)||$(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[x,$,B]),r.useEffect(()=>{const e=()=>$(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[$]);const[W,q]=nt(e=>{const t=_().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=rt(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),H=r.useCallback((e,t,n)=>{const r=!I.current&&!n;(void 0!==w.value&&w.value===t||r)&&(N(e),r&&(I.current=!0))},[w.value]),V=r.useCallback(()=>x?.focus(),[x]),G=r.useCallback((e,t,n)=>{const r=!I.current&&!n;(void 0!==w.value&&w.value===t||r)&&R(e)},[w.value]),K="popper"===o?Ne:je,Y=K===Ne?{side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:f,collisionBoundary:h,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:b}:{};return(0,s.jsx)(ke,{scope:n,content:x,viewport:S,onViewportChange:C,itemRefCallback:H,selectedItem:j,onItemLeave:V,itemTextRefCallback:G,focusSelectedItem:z,selectedItemText:P,position:o,isPositioned:T,searchRef:W,children:(0,s.jsx)(X.A,{as:Ce,allowPinchZoom:!0,children:(0,s.jsx)(F.n,{asChild:!0,trapped:w.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,A.mK)(a,e=>{w.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,s.jsx)(M.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:(0,s.jsx)(K,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:e=>e.preventDefault(),...v,...Y,onPlaced:()=>U(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:(0,A.mK)(v.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=_().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>D(t)),e.preventDefault()}})})})})})})});Ee.displayName="SelectContentImpl";var je=r.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...a}=e,i=ce(ve,n),l=Se(ve,n),[c,u]=r.useState(null),[d,p]=r.useState(null),f=(0,L.s)(t,e=>p(e)),h=re(n),m=r.useRef(!1),g=r.useRef(!0),{viewport:y,selectedItem:b,selectedItemText:v,focusSelectedItem:w}=l,x=r.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&d&&y&&b&&v){const e=i.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=v.getBoundingClientRect();if("rtl"!==i.dir){const o=r.left-t.left,a=n.left-o,i=e.left-a,s=e.width+i,l=Math.max(s,t.width),u=window.innerWidth-xe,d=_(a,[xe,Math.max(xe,u-l)]);c.style.minWidth=s+"px",c.style.left=d+"px"}else{const o=t.right-r.right,a=window.innerWidth-n.right-o,i=window.innerWidth-e.right-a,s=e.width+i,l=Math.max(s,t.width),u=window.innerWidth-xe,d=_(a,[xe,Math.max(xe,u-l)]);c.style.minWidth=s+"px",c.style.right=d+"px"}const a=h(),s=window.innerHeight-2*xe,l=y.scrollHeight,u=window.getComputedStyle(d),p=parseInt(u.borderTopWidth,10),f=parseInt(u.paddingTop,10),g=parseInt(u.borderBottomWidth,10),w=p+f+l+parseInt(u.paddingBottom,10)+g,x=Math.min(5*b.offsetHeight,w),k=window.getComputedStyle(y),S=parseInt(k.paddingTop,10),C=parseInt(k.paddingBottom,10),E=e.top+e.height/2-xe,j=s-E,N=b.offsetHeight/2,P=p+f+(b.offsetTop+N),R=w-P;if(P<=E){const e=a.length>0&&b===a[a.length-1].ref.current;c.style.bottom="0px";const t=d.clientHeight-y.offsetTop-y.offsetHeight,n=P+Math.max(j,N+(e?C:0)+t+g);c.style.height=n+"px"}else{const e=a.length>0&&b===a[0].ref.current;c.style.top="0px";const t=Math.max(E,p+y.offsetTop+(e?S:0)+N)+R;c.style.height=t+"px",y.scrollTop=P-E+y.offsetTop}c.style.margin=`${xe}px 0`,c.style.minHeight=x+"px",c.style.maxHeight=s+"px",o?.(),requestAnimationFrame(()=>m.current=!0)}},[h,i.trigger,i.valueNode,c,d,y,b,v,i.dir,o]);(0,Y.N)(()=>x(),[x]);const[k,S]=r.useState();(0,Y.N)(()=>{d&&S(window.getComputedStyle(d).zIndex)},[d]);const C=r.useCallback(e=>{e&&!0===g.current&&(x(),w?.(),g.current=!1)},[x,w]);return(0,s.jsx)(Pe,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:C,children:(0,s.jsx)("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,s.jsx)(B.sG.div,{...a,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});
2je.displayName="SelectItemAlignedPosition";var Ne=r.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=xe,...a}=e,i=se(n);return(0,s.jsx)(z.UC,{...i,...a,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ne.displayName="SelectPopperPosition";var[Pe,Re]=ae(ve,{}),_e="SelectViewport",Ae=r.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...a}=e,i=Se(_e,n),l=Re(_e,n),c=(0,L.s)(t,i.onViewportChange),u=r.useRef(0);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,s.jsx)(ne.Slot,{scope:n,children:(0,s.jsx)(B.sG.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,A.mK)(a.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=l;if(r?.current&&n){const e=Math.abs(u.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*xe,o=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),i=Math.max(o,a);if(i<r){const o=i+e,a=Math.min(r,o),s=o-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}u.current=t.scrollTop})})})]})});Ae.displayName=_e;var Te="SelectGroup",[Le,Ue]=ae(Te),Ie=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=(0,D.B)();return(0,s.jsx)(Le,{scope:n,id:o,children:(0,s.jsx)(B.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Ie.displayName=Te;var Me="SelectLabel",Oe=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Ue(Me,n);return(0,s.jsx)(B.sG.div,{id:o.id,...r,ref:t})});Oe.displayName=Me;var Fe="SelectItem",[De,ze]=ae(Fe),$e=r.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:a=!1,textValue:i,...l}=e,c=ce(Fe,n),u=Se(Fe,n),d=c.value===o,[p,f]=r.useState(i??""),[h,m]=r.useState(!1),g=(0,L.s)(t,e=>u.itemRefCallback?.(e,o,a)),y=(0,D.B)(),b=r.useRef("touch"),v=()=>{a||(c.onValueChange(o),c.onOpenChange(!1))};if(""===o)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,s.jsx)(De,{scope:n,value:o,disabled:a,textId:y,isSelected:d,onItemTextChange:r.useCallback(e=>{f(t=>t||(e?.textContent??"").trim())},[]),children:(0,s.jsx)(ne.ItemSlot,{scope:n,value:o,disabled:a,textValue:p,children:(0,s.jsx)(B.sG.div,{role:"option","aria-labelledby":y,"data-highlighted":h?"":void 0,"aria-selected":d&&h,"data-state":d?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...l,ref:g,onFocus:(0,A.mK)(l.onFocus,()=>m(!0)),onBlur:(0,A.mK)(l.onBlur,()=>m(!1)),onClick:(0,A.mK)(l.onClick,()=>{"mouse"!==b.current&&v()}),onPointerUp:(0,A.mK)(l.onPointerUp,()=>{"mouse"===b.current&&v()}),onPointerDown:(0,A.mK)(l.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,A.mK)(l.onPointerMove,e=>{b.current=e.pointerType,a?u.onItemLeave?.():"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,A.mK)(l.onPointerLeave,e=>{e.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:(0,A.mK)(l.onKeyDown,e=>{""!==u.searchRef?.current&&" "===e.key||(ee.includes(e.key)&&v()," "===e.key&&e.preventDefault())})})})})});$e.displayName=Fe;var Be="SelectItemText",We=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:a,...i}=e,l=ce(Be,n),u=Se(Be,n),d=ze(Be,n),p=de(Be,n),[f,h]=r.useState(null),m=(0,L.s)(t,e=>h(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),g=f?.textContent,y=r.useMemo(()=>(0,s.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:v}=p;return(0,Y.N)(()=>(b(y),()=>v(y)),[b,v,y]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B.sG.span,{id:d.textId,...i,ref:m}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?c.createPortal(i.children,l.valueNode):null]})});We.displayName=Be;var qe="SelectItemIndicator",He=r.forwardRef((e,t)=>
2{const{__scopeSelect:n,...r}=e;return ze(qe,n).isSelected?(0,s.jsx)(B.sG.span,{"aria-hidden":!0,...r,ref:t}):null});He.displayName=qe;var Ve="SelectScrollUpButton",Ge=r.forwardRef((e,t)=>{const n=Se(Ve,e.__scopeSelect),o=Re(Ve,e.__scopeSelect),[a,i]=r.useState(!1),l=(0,L.s)(t,o.onScrollButtonChange);return(0,Y.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,s.jsx)(Qe,{...e,ref:l,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});Ge.displayName=Ve;var Ke="SelectScrollDownButton",Ye=r.forwardRef((e,t)=>{const n=Se(Ke,e.__scopeSelect),o=Re(Ke,e.__scopeSelect),[a,i]=r.useState(!1),l=(0,L.s)(t,o.onScrollButtonChange);return(0,Y.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,s.jsx)(Qe,{...e,ref:l,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Ye.displayName=Ke;var Qe=r.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...a}=e,i=Se("SelectScrollButton",n),l=r.useRef(null),c=re(n),u=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>u(),[u]),(0,Y.N)(()=>{const e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,s.jsx)(B.sG.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,A.mK)(a.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(o,50))}),onPointerMove:(0,A.mK)(a.onPointerMove,()=>{i.onItemLeave?.(),null===l.current&&(l.current=window.setInterval(o,50))}),onPointerLeave:(0,A.mK)(a.onPointerLeave,()=>{u()})})}),Ze=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return(0,s.jsx)(B.sG.div,{"aria-hidden":!0,...r,ref:t})});Ze.displayName="SelectSeparator";var Xe="SelectArrow",Je=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=se(n),a=ce(Xe,n),i=Se(Xe,n);return a.open&&"popper"===i.position?(0,s.jsx)(z.i3,{...o,...r,ref:t}):null});Je.displayName=Xe;var et=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,...a}=e;const i=r.useRef(null),l=(0,L.s)(t,i),c=function(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(o);return r.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(c!==o&&n){const t=new Event("change",{bubbles:!0});n.call(e,o),e.dispatchEvent(t)}},[c,o]),(0,s.jsx)(B.sG.select,{...a,style:{...Q.Qg,...a.style},ref:l,defaultValue:o})});function tt(e){return""===e||void 0===e}function nt(e){const t=(0,G.c)(e),n=r.useRef(""),o=r.useRef(0),a=r.useCallback(e=>{const r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,a,i]}function rt(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=(i=e,s=Math.max(o,0),i.map((e,t)=>i[(s+t)%i.length]));var i,s;1===r.length&&(a=a.filter(e=>e!==n));const l=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}et.displayName="SelectBubbleInput";var ot=pe,at=he,it=ge,st=ye,lt=be,ct=we,ut=Ae,dt=Oe,pt=$e,ft=We,ht=He,mt=Ge,gt=Ye,yt=Ze,bt=n(2382);const vt=(0,n(1212).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var wt=n(6210);const xt=ot,kt=it,St=r.forwardRef((e,t)=>{let{className:n,children:r,...o}=e;return(0,s.jsxs)(at,{ref:t,className:(0,P.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",n),...o,children:[r,(0,s.jsx)(st,{asChild:!0,children:(0,s.jsx)(bt.A,{className:"h-4 w-4 opacity-50"})})]})});St.displayName=at.displayName;const Ct=r.forwardRef((e,t)=>
2{let{className:n,...r}=e;return(0,s.jsx)(mt,{ref:t,className:(0,P.cn)("flex cursor-default items-center justify-center py-1",n),...r,children:(0,s.jsx)(vt,{className:"h-4 w-4"})})});Ct.displayName=mt.displayName;const Et=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,s.jsx)(gt,{ref:t,className:(0,P.cn)("flex cursor-default items-center justify-center py-1",n),...r,children:(0,s.jsx)(bt.A,{className:"h-4 w-4"})})});Et.displayName=gt.displayName;const jt=r.forwardRef((e,t)=>{let{className:n,children:r,position:o="popper",...a}=e;return(0,s.jsx)(lt,{children:(0,s.jsxs)(ct,{ref:t,className:(0,P.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]","popper"===o&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n),position:o,...a,children:[(0,s.jsx)(Ct,{}),(0,s.jsx)(ut,{className:(0,P.cn)("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,s.jsx)(Et,{})]})})});jt.displayName=ct.displayName;r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,s.jsx)(dt,{ref:t,className:(0,P.cn)("px-2 py-1.5 text-sm font-semibold",n),...r})}).displayName=dt.displayName;const Nt=r.forwardRef((e,t)=>{let{className:n,children:r,...o}=e;return(0,s.jsxs)(pt,{ref:t,className:(0,P.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...o,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(ht,{children:(0,s.jsx)(wt.A,{className:"h-4 w-4"})})}),(0,s.jsx)(ft,{children:r})]})});Nt.displayName=pt.displayName;r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,s.jsx)(yt,{ref:t,className:(0,P.cn)("-mx-1 my-1 h-px bg-muted",n),...r})}).displayName=yt.displayName;var Pt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,u.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{const{asChild:o,...a}=e,i=o?n:t;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i,{...a,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});var Rt=r.forwardRef((e,t)=>(0,s.jsx)(Pt.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));Rt.displayName="Label";var _t=Rt;const At=(0,n(917).F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Tt=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,s.jsx)(_t,{ref:t,className:(0,P.cn)(At(),n),...r})});Tt.displayName=_t.displayName;var Lt=n(5844),Ut=n(6328),It=n(614),Mt=n(7856),Ot=n(2313),Ft=n(7819),Dt=n(5692),zt=n(797),$t=n(1680),Bt=n(5088),Wt=n(9350),qt=n(5727),Ht=n(6099);const Vt=`${{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA"}.REACT_APP_BACKEND_URL||""}/api`,Gt="idle",Kt="uploading",Yt="success",Qt="limit_reached",Zt="error",Xt={free:5,starter:16,pro:32,business:100};function Jt(e){var t;let{source:n}=e;const{getToken:l}=(0,o.As)(),{isSignedIn:c}=(0,o.Jd)(),{userData:u}=(0,a.J)(),[d,p]=(0,r.useState)(Gt),[f,h]=(0,r.useState)(0),[m,g]=(0,r.useState)(null),[y,b]=(0,r.useState)(""),[v,w]=(0,r.useState)(""),[x,k]=(0,r.useState)(1),[S,C]=(0,r.useState)(""),[E,j]=(0,r.useState)(!1),[N,P]=(0,r.useState)(!1),[_,A]=(0,r.useState)("1"),[T,L]=(0,r.useState)(""),[U,I]=(0,r.useState)(!1),[M,O]=(0,r.useState)(""),F=(0,r.useRef)(null),D=(null===u||void 0===u||null===(t=u.user)||void 0===t?void 0:t.plan)||(null===u||void 0===u?void 0:u.plan)||"free",z=["pro","business"].includes(D),$=Xt[D]||Xt.free,B=1024*$*1024,W=(["starter","pro","business"].includes(D),()=>{p(Gt),h(0),g(null),L(""),I(!1),O(""),b(""),w(""),k(1),C(""),j(!1),A("1"),F.current&&(F.current.value="")}
2),q=e=>{if(null===e||void 0===e||"never"===e)return"Permanent retention";const t=Number(e);return 1===t?"1-day retention":365===t?"1-year retention":`${t}-day retention`},H=e=>{if(!e)return"Never";return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})},V=e=>{const t=(e=>{var t;if(!e)return"Please select a file.";if(e.size>B)return"file_too_large";const n=new Set(["exe","bat","cmd","com","pif","scr","vbs","jar","msi","dll","sh","app","deb","rpm","zip"]),r=(null===(t=e.name.split(".").pop())||void 0===t?void 0:t.toLowerCase())||"";return n.has(r)?`File type '.${r}' is not allowed for security reasons.`:null})(e);if(t)return C(t),void p(Zt);g(e),L(e.name),C(""),p(Gt)},G=(0,r.useCallback)(e=>{e.preventDefault(),P(!0)},[]),K=(0,r.useCallback)(e=>{e.preventDefault(),P(!1)},[]),Y=(0,r.useCallback)(e=>{var t;e.preventDefault(),P(!1);const n=null===(t=e.dataTransfer.files)||void 0===t?void 0:t[0];n&&V(n)},[]),Q=()=>{navigator.clipboard.writeText(y),j(!0),Ut.oR.success("URL copied to clipboard!"),setTimeout(()=>j(!1),2e3)};return d===Yt?(0,s.jsxs)("div",{className:"bg-card border border-border rounded-2xl p-4 sm:p-6 shadow-card w-full overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-full bg-success-bg flex items-center justify-center",children:(0,s.jsx)(wt.A,{className:"w-4 h-4 text-success"})}),(0,s.jsx)("p",{className:"text-success font-semibold",children:"Upload successful!"}),(0,s.jsx)("button",{onClick:W,className:"ml-auto p-1.5 rounded-lg hover:bg-accent text-muted-foreground hover:text-foreground transition-colors",children:(0,s.jsx)(It.A,{className:"w-4 h-4"})})]}),M&&(0,s.jsxs)("div",{className:"bg-amber-500/10 border border-amber-500/20 text-amber-600 dark:text-amber-400 text-xs p-2.5 rounded-lg mb-3 flex items-center gap-2",children:[(0,s.jsx)(Mt.A,{className:"w-4 h-4 flex-shrink-0"}),(0,s.jsx)("span",{children:M})]}),(0,s.jsxs)("div",{className:"bg-background rounded-xl p-3 mb-3 w-full border border-border",children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Your public URL"}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,s.jsx)("code",{className:"text-xs sm:text-sm text-brand break-all flex-1 font-mono min-w-0 p-2 sm:p-0 bg-brand-tint sm:bg-transparent rounded sm:rounded-none",children:y}),(0,s.jsxs)("button",{onClick:Q,className:"flex-shrink-0 flex items-center justify-center gap-2 p-2 rounded-lg bg-brand hover:bg-brand/90 text-brand-foreground transition-colors w-full sm:w-auto mt-2 sm:mt-0",children:[E?(0,s.jsx)(wt.A,{className:"w-4 h-4"}):(0,s.jsx)(Ot.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{className:"sm:hidden text-sm",children:"Copy URL"})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-2 text-xs text-muted-foreground text-center sm:text-left",children:[(0,s.jsx)("span",{children:v?`Expires ${H(v)} (${q(x)})`:"No expiry \u2014 this file will never be automatically deleted"}),!c&&(0,s.jsx)(o.Ny,{mode:"modal",children:(0,s.jsx)("button",{className:"text-brand hover:opacity-80 font-semibold transition-opacity",children:"Sign up for longer retention"})})]})]}):d===Qt?(0,s.jsxs)("div",{className:"bg-card border border-border rounded-2xl p-6 shadow-card w-full text-center",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-brand-tint flex items-center justify-center mx-auto mb-4",children:(0,s.jsx)(Ft.A,{className:"w-6 h-6 text-brand"})}),(0,s.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-1",children:"Free Upload Limit Reached"}),(0,s.jsx)("p",{className:"text-brand font-semibold",children:"Free upload used"}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground mt-2 mb-6",children:["You've used your free upload. Sign up for a free account to get ",(0,s.jsx)("span",{className:"text-foreground font-semibold",children:"15 uploads/month"})," and manage your files."]}),(0,s.jsx)(o.Ny,{mode:"modal",children:(0,s.jsxs)(i.$,{className:"w-full bg-brand hover:bg-brand/90 text-brand-foreground rounded-full py-5 font-bold transition-all hover:shadow-glow",children:["Sign up free - get 15 uploads",(0,s.jsx)(Dt.A,{className:"w-4 h-4 ml-2"})]})}),(0,s.jsx)("button",{onClick:W,className:"text-xs text-muted-foreground hover:text-foreground mt-3 font-medium transition-colors",children:"Try another file"})]}):(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{onDragOver:G,onDragLeave:K,onDrop:Y,onClick:()=>{var e;return!m&&(null===(e=F.current)||void 0===e?void 0:e.click())},className:`relative bg-card border-2 border-dashed rounded-2xl p-6 sm:p-8 text-center transition-all ${N?"border-brand bg-brand-tint shadow-glow scale-[1.01]":"border-border hover:border-brand/50 hover:bg-accent/50"}
2 ${m?"cursor-default":"cursor-pointer"}`,children:[(0,s.jsx)("input",{ref:F,type:"file",onChange:e=>{var t;const n=null===(t=e.target.files)||void 0===t?void 0:t[0];n&&V(n)},className:"hidden"}),d===Kt?(0,s.jsxs)("div",{className:"py-4",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-brand-tint flex items-center justify-center mx-auto mb-4 animate-pulse",children:(0,s.jsx)(zt.A,{className:"w-6 h-6 text-brand"})}),(0,s.jsx)("p",{className:"text-sm font-semibold text-foreground mb-1",children:"Uploading your file..."}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:null===m||void 0===m?void 0:m.name}),(0,s.jsxs)("div",{className:"max-w-xs mx-auto space-y-2",children:[(0,s.jsx)(R,{value:f,className:"h-2"}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground font-mono",children:[f,"%"]})]})]}):(0,s.jsxs)(s.Fragment,{children:[!m&&(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-brand-tint flex items-center justify-center mx-auto mb-4",children:(0,s.jsx)(zt.A,{className:"w-6 h-6 text-brand"})}),(0,s.jsxs)("h3",{className:"text-base sm:text-lg font-semibold text-foreground mb-1",children:["Drop your file here, or ",(0,s.jsx)("span",{className:"text-brand",children:"browse"})]}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground mb-4",children:["Supports images, documents, audio, video & more (Up to ",$,"MB)"]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-1.5 opacity-60",children:[[".png",".jpg",".pdf",".mp4",".csv",".mp3",".svg",".json",".docx"].map(e=>(0,s.jsx)("span",{className:"text-[10px] font-mono px-2 py-0.5 rounded bg-muted text-muted-foreground border border-border",children:e},e)),(0,s.jsx)("span",{className:"text-[11px] text-muted-foreground font-semibold ml-0.5",children:"& many more"})]})]}),m&&(0,s.jsxs)("div",{className:"border-t border-border pt-4 mt-4 text-left",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,s.jsx)("div",{className:"w-9 h-9 rounded-lg bg-muted flex items-center justify-center flex-shrink-0",children:(0,s.jsx)($t.A,{className:"w-4 h-4 text-muted-foreground"})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"text-sm text-foreground truncate",children:m.name}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:(Z=m.size,Z<1024?`${Z} B`:Z<1048576?`${(Z/1024).toFixed(1)} KB`:`${(Z/1048576).toFixed(1)} MB`)})]}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),W()},className:"p-1.5 rounded-lg hover:bg-accent text-muted-foreground hover:text-foreground transition-colors",children:(0,s.jsx)(It.A,{className:"w-3.5 h-3.5"})})]}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground text-center mt-2 mb-4",children:c?"Uploading with your account":(0,s.jsxs)(s.Fragment,{children:["7-day limit \xb7 ",(0,s.jsx)("span",{className:"text-foreground/70",children:"1 free upload without signup"})]})}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-4 mb-3 p-3 bg-background rounded-xl border border-border shadow-soft",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(Bt.A,{className:"w-4 h-4 text-brand"}),(0,s.jsx)(Tt,{className:"text-xs font-semibold text-foreground/80",children:"File Retention"}),(0,s.jsx)(Lt.Bc,{delayDuration:150,children:(0,s.jsxs)(Lt.m_,{children:[(0,s.jsx)(Lt.k$,{asChild:!0,children:(0,s.jsx)(Mt.A,{className:"w-3.5 h-3.5 text-muted-foreground cursor-help"})}),(0,s.jsx)(Lt.ZI,{side:"top",className:"max-w-[200px] text-center",children:"never"===_?"Your file will never be automatically deleted.":`Your file will be automatically deleted after ${_} day${"1"===_?"":"s"}.`})]})})]}),(0,s.jsxs)(xt,{value:_,onValueChange:A,children:[(0,s.jsx)(St,{className:"w-[120px] h-8 text-xs bg-transparent border-border focus:ring-1 focus:ring-brand font-medium",children:(0,s.jsx)(kt,{})}),(0,s.jsxs)(jt,{children:[(0,s.jsx)(Nt,{value:"1",children:"1 Day"}),(0,s.jsx)(Nt,{value:"2",children:"2 Days"}),(0,s.jsx)(Nt,{value:"3",children:"3 Days"}),(0,s.jsx)(Nt,{value:"7",children:"7 Days"}),(0,s.jsx)(Nt,{value:"15",children:"15 Days"}),(0,s.jsx)(Nt,{value:"30",children:"30 Days"}),(0,s.jsx)(Nt,{value:"90",children:"90 Days"}),(0,s.jsx)(Nt,{value:"365",children:"1 Year"}),(0,s.jsx)(Nt,{value:"never",children:"Never"})]})]})]}),(0,s.jsxs)("div",{className:"mb-4 p-3 bg-background rounded-xl border border-border shadow-soft",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(Wt.A,{className:"w-4 h-4 text-brand"}),(0,s.jsxs)(Tt,{className:"text-xs font-semibold text-foreground
2/80",children:["File Name ",(0,s.jsx)("span",{className:"text-[11px] font-normal text-muted-foreground ml-0.5",children:"(Optional)"})]})]}),z?(0,s.jsx)("span",{className:"text-[10px] font-bold tracking-wider px-2 py-0.5 rounded-full bg-brand/10 text-brand border border-brand/20",children:"PRO"}):(0,s.jsxs)("span",{className:"flex items-center gap-1 text-[10px] font-bold tracking-wider px-2 py-0.5 rounded-full bg-muted text-muted-foreground border border-border",children:[(0,s.jsx)(qt.A,{className:"w-2.5 h-2.5"})," PRO ONLY"]})]}),z?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("input",{type:"text",value:T,onChange:e=>L(e.target.value),placeholder:"e.g. my-presentation.pdf",className:"w-full h-8 px-3 text-xs bg-muted/40 rounded-lg border border-border focus:outline-none focus:ring-1 focus:ring-brand font-medium text-foreground"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer select-none",children:[(0,s.jsx)("input",{type:"checkbox",checked:U,onChange:e=>I(e.target.checked),className:"w-3.5 h-3.5 rounded border-border text-brand focus:ring-brand accent-brand"}),(0,s.jsx)("span",{className:"text-[11px] text-muted-foreground hover:text-foreground transition-colors",children:"Overwrite if file already exists"})]})]}):(0,s.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground bg-muted/30 p-2 rounded-lg border border-border/50",children:[(0,s.jsx)("span",{className:"text-[11px]",children:"Choose a custom name for your file link"}),(0,s.jsxs)("a",{href:"/billing",className:"text-[11px] font-bold text-brand hover:underline flex items-center gap-1",children:["Upgrade ",(0,s.jsx)(Ht.A,{className:"w-3 h-3"})]})]})]}),(0,s.jsxs)(i.$,{onClick:async()=>{if(m){if(!c||"free"===D){if("never"===_){const e="Free plan only supports file retention up to 7 days. To use 'never' expiry, please upgrade your plan at https://uploadtourl.com/billing";return C(e),p(Zt),void Ut.oR.error(e)}const e=parseInt(_,10);if(!isNaN(e)&&e>7){const t=`Free plan only supports file retention up to 7 days (you requested ${e} days). To use longer retention, please upgrade your plan at https://uploadtourl.com/billing`;return C(t),p(Zt),void Ut.oR.error(t)}}p(Kt),h(0),C("");try{let e;if(e=c?await(async e=>{var t,r;const o=await l(),a=await fetch(`${Vt}/dashboard`,{headers:{Authorization:`Bearer ${o}`}});if(!a.ok)throw new Error("Failed to fetch account data.");const i=await a.json(),s=((null===(t=i.user)||void 0===t?void 0:t.api_keys)||[]).find(e=>e.is_active);if(!s)throw new Error("No active API key found. Please generate one from your dashboard.");const c=(null===(r=i.user)||void 0===r?void 0:r.plan)||D;if("free"===c){if("never"===_)throw new Error("Free plan only supports file retention up to 7 days. To use 'never' expiry, please upgrade your plan at https://uploadtourl.com/billing");const e=parseInt(_,10);if(!isNaN(e)&&e>7)throw new Error(`Free plan only supports file retention up to 7 days (you requested ${e} days). To use longer retention, please upgrade your plan at https://uploadtourl.com/billing`)}const u=["pro","business"].includes(c),d=new FormData;d.append("file",e),d.append("expiry_days",_),n&&d.append("source",n),u&&T&&T.trim()&&(d.append("custom_filename",T.trim()),U&&d.append("overwrite","true"));const p=new XMLHttpRequest;return new Promise((e,t)=>{p.upload.addEventListener("progress",e=>{e.lengthComputable&&h(Math.round(e.loaded/e.total*100))}),p.addEventListener("load",()=>{if(p.status>=200&&p.status<300){const t=JSON.parse(p.responseText);t.was_renamed?O(`File already existed in your folder and was saved as "${t.filename}".`):O(""),e(t)}else try{const e=JSON.parse(p.responseText);t(new Error(e.detail||`Upload failed (${p.status})`))}catch{t(new Error(`Upload failed (${p.status})`))}}),p.addEventListener("error",()=>t(new Error("Network error"))),p.open("POST",`${Vt}/upload`),p.setRequestHeader("x-api-key",s.key),p.send(d)})})(m):await(async e=>{const t=await fetch(`${Vt}/public-upload/token`);if(!t.ok){if(429===t.status)return p(Qt),null;throw new Error("Failed to prepare upload. Please try again.")}const{token:r}=await t.json(),o=new FormData;o.append("file",e),o.append("expiry_days",_),o.append("upload_token",r),n&&o.append("source",n);const a=new XMLHttpRequest;return new Promise((e,t)=>
2{a.upload.addEventListener("progress",e=>{e.lengthComputable&&h(Math.round(e.loaded/e.total*100))}),a.addEventListener("load",()=>{if(a.status>=200&&a.status<300)e(JSON.parse(a.responseText));else if(429===a.status)p(Qt),e(null);else try{const e=JSON.parse(a.responseText);t(new Error(e.detail||`Upload failed (${a.status})`))}catch{t(new Error(`Upload failed (${a.status})`))}}),a.addEventListener("error",()=>t(new Error("Network error"))),a.open("POST",`${Vt}/public-upload`),a.send(o)})})(m),!e)return;b(e.url),w(e.expires_at||""),void 0!==e.retention_days&&null!==e.retention_days?k(e.retention_days):k("never"===_?"never":parseInt(_,10)||1),p(Yt),Ut.oR.success("File uploaded successfully!")}catch(e){C(e.message||"Upload failed"),p(Zt),Ut.oR.error(e.message||"Upload failed")}}},className:"w-full bg-brand hover:bg-brand/90 text-brand-foreground rounded-full py-5 font-bold transition-all hover:shadow-glow",children:["Upload & get URL",(0,s.jsx)(Dt.A,{className:"w-4 h-4 ml-2"})]})]}),d===Zt&&S&&(0,s.jsx)("div",{className:"border-t border-border pt-3 mt-2",children:"file_too_large"===S?(0,s.jsxs)("div",{className:"flex items-start gap-2 text-left bg-destructive/10 border border-destructive/20 p-3 rounded-xl",children:[(0,s.jsx)(Ft.A,{className:"w-4 h-4 text-destructive flex-shrink-0 mt-0.5"}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-xs font-semibold text-destructive",children:["File exceeds ",$,"MB limit on your ",D.toUpperCase()," plan"]}),(0,s.jsx)("p",{className:"text-[11px] text-muted-foreground mt-0.5",children:"Upgrade your plan to upload larger files."})]})]}):(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2 text-xs text-destructive bg-destructive/10 p-2.5 rounded-lg border border-destructive/20 text-center",children:[(0,s.jsx)(Ft.A,{className:"w-4 h-4 flex-shrink-0"}),(0,s.jsx)("span",{children:S.includes("https://uploadtourl.com/billing")?(0,s.jsxs)(s.Fragment,{children:[S.split("https://uploadtourl.com/billing")[0],(0,s.jsx)("a",{href:"/billing",className:"underline font-semibold hover:opacity-80",children:"https://uploadtourl.com/billing"}),S.split("https://uploadtourl.com/billing")[1]]}):S})]})})]})]})});var Z}},735(e,t,n){n.d(t,{A:()=>a});var r=n(5043),o=n(579);function a(e){let{message:t="Loading..."}=e;const[n,a]=(0,r.useState)(".");return(0,r.useEffect)(()=>{const e=setInterval(()=>{a(e=>e.length>=3?".":e+".")},500);return()=>clearInterval(e)},[]),(0,o.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-background text-foreground",children:(0,o.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)("div",{className:"page-loader-spinner"}),(0,o.jsx)("div",{className:"absolute inset-0 page-loader-spinner-backdrop"})]}),(0,o.jsxs)("p",{className:"text-sm text-muted-foreground animate-pulse",children:[t,n]})]})})}},8427(e,t,n){n.d(t,{D:()=>l,N:()=>s});var r=n(5043),o=n(579);const a={theme:"system",setTheme:()=>null},i=(0,r.createContext)(a);function s(e){let{children:t,defaultTheme:n="system",storageKey:a="ui-theme",...s}=e;const[l,c]=(0,r.useState)(()=>localStorage.getItem(a)||n);(0,r.useEffect)(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===l){const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(t)}e.classList.add(l)},[l]);const u={theme:l,setTheme:e=>{localStorage.setItem(a,e),c(e)}};return(0,o.jsx)(i.Provider,{...s,value:u,children:t})}const l=()=>{const e=(0,r.useContext)(i);if(void 0===e)throw new Error("useTheme must be used within a ThemeProvider");return e}},1002(e,t,n){n.d(t,{U:()=>u});var r=n(1212);const o=(0,r.A)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),a=(0,r.A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var i=n(3390),s=n(7484),l=n(8427),c=n(579);function u(){const{setTheme:e}=(0,l.D)();return(0,c.jsxs)(s.rI,{children:[(0,c.jsx)(s.ty,{asChild:!0,children:(0,c.jsxs)(i.$,{variant:"ghost",size:"icon",className:"rounded-full text-muted-foreground hover:bg-accent hover:text-brand",children:[(0,c.jsx)(o,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,c.jsx)(a,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,c.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,c.jsxs)(s.SQ,{align:"end",className:"bg-popover text-popover-foreground border-border rounded-xl shadow-card",children:[(0,c.jsx)(s._2,{className:"cursor-pointer",onClick:()=>e("light"),children:"Light"}),(0,c.jsx)(s._2,{className:"cursor-pointer",onClick:()=>e("dark"),children:"Dark"}),(0,c.jsx)(s._2,{className:"cursor-pointer",onClick:()=>e("system"),children:"System"})]})]})}},8996(e,t,n){n.d(t,{nD:()=>pe,ub:()=>me,As:()=>fe,$m:()=>he});var r=n(5043),o=n(1862),a=n(7103),i=n(2814),s=n(858),l=n(3642),c=n(7914),u=n(503),d=n(2894),p=n(4490),f=n(579),h="Collapsible",[m,g]=(0,o.A)(h),[y,b]=m(h),v=r.forwardRef((e,t)=>
2{const{__scopeCollapsible:n,open:o,defaultOpen:a,disabled:i,onOpenChange:s,...u}=e,[d,m]=(0,l.i)({prop:o,defaultProp:a??!1,onChange:s,caller:h});return(0,f.jsx)(y,{scope:n,disabled:i,contentId:(0,p.B)(),open:d,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),children:(0,f.jsx)(c.sG.div,{"data-state":E(d),"data-disabled":i?"":void 0,...u,ref:t})})});v.displayName=h;var w="CollapsibleTrigger",x=r.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=b(w,n);return(0,f.jsx)(c.sG.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":E(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:(0,s.mK)(e.onClick,o.onOpenToggle)})});x.displayName=w;var k="CollapsibleContent",S=r.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=b(k,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:n||o.open,children:e=>{let{present:n}=e;return(0,f.jsx)(C,{...r,ref:t,present:n})}})});S.displayName=k;var C=r.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:a,...s}=e,l=b(k,n),[d,p]=r.useState(o),h=r.useRef(null),m=(0,i.s)(t,h),g=r.useRef(0),y=g.current,v=r.useRef(0),w=v.current,x=l.open||d,S=r.useRef(x),C=r.useRef(void 0);return r.useEffect(()=>{const e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,u.N)(()=>{const e=h.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,S.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(o)}},[l.open,o]),(0,f.jsx)(c.sG.div,{"data-state":E(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!x,...s,ref:m,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:x&&a})});function E(e){return e?"open":"closed"}var j=v,N=x,P=S,R=n(4204),_="Accordion",A=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[T,L,U]=(0,a.N)(_),[I,M]=(0,o.A)(_,[U,g]),O=g(),F=r.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return(0,f.jsx)(T.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,f.jsx)(q,{...a,ref:t}):(0,f.jsx)(W,{...o,ref:t})})});F.displayName=_;var[D,z]=I(_),[$,B]=I(_,{collapsible:!1}),W=r.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...s}=e,[c,u]=(0,l.i)({prop:n,defaultProp:o??"",onChange:a,caller:_});return(0,f.jsx)(D,{scope:e.__scopeAccordion,value:r.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:r.useCallback(()=>i&&u(""),[i,u]),children:(0,f.jsx)($,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(G,{...s,ref:t})})})}),q=r.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:a=()=>{},...i}=e,[s,c]=(0,l.i)({prop:n,defaultProp:o??[],onChange:a,caller:_}),u=r.useCallback(e=>c(function(){return[...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e]}),[c]),d=r.useCallback(e=>c(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(t=>t!==e)}),[c]);return(0,f.jsx)(D,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:d,children:(0,f.jsx)($,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(G,{...i,ref:t})})})}),[H,V]=I(_),G=r.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:a,orientation:l="vertical",...u}=e,d=r.useRef(null),p=(0,i.s)(d,t),h=L(n),m="ltr"===(0,R.jH)(a),g=(0,s.mK)(e.onKeyDown,e=>{if(!A.includes(e.key))return;const t=e.target,n=h().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),o=n.length;if(-1===r)return;e.preventDefault();let a=r;const i=o-1,s=()=>{a=r+1,a>i&&(a=0)},c=()=>{a=r-1,a<0&&(a=i)};switch(e.key){case"Home":a=0;break;case"End":a=i;break;case"ArrowRight":"horizontal"===l&&(m?s():c());break;case"ArrowDown":"vertical"===l&&s();break;case"ArrowLeft":"horizontal"===l&&(m?c():s());break;case"ArrowUp":"vertical"===l&&c()}const u=a%o;n[u].ref.current?.focus()});return(0,f.jsx)(H,{scope:n,disabled:o,direction:a,orientation:l,children:(0,f.jsx)(T.Slot,{scope:n,children:(0,f.jsx)(c.sG.div,{...u,"data-orientation":l,ref:p,onKeyDown:o?void 0:g})})})}),K="AccordionItem",[Y,Q]=I(K),Z=r.forwardRef((e,t)=>
2{const{__scopeAccordion:n,value:r,...o}=e,a=V(K,n),i=z(K,n),s=O(n),l=(0,p.B)(),c=r&&i.value.includes(r)||!1,u=a.disabled||e.disabled;return(0,f.jsx)(Y,{scope:n,open:c,disabled:u,triggerId:l,children:(0,f.jsx)(j,{"data-orientation":a.orientation,"data-state":oe(c),...s,...o,ref:t,disabled:u,open:c,onOpenChange:e=>{e?i.onItemOpen(r):i.onItemClose(r)}})})});Z.displayName=K;var X="AccordionHeader",J=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=V(_,n),a=Q(X,n);return(0,f.jsx)(c.sG.h3,{"data-orientation":o.orientation,"data-state":oe(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});J.displayName=X;var ee="AccordionTrigger",te=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=V(_,n),a=Q(ee,n),i=B(ee,n),s=O(n);return(0,f.jsx)(T.ItemSlot,{scope:n,children:(0,f.jsx)(N,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...s,...r,ref:t})})});te.displayName=ee;var ne="AccordionContent",re=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=V(_,n),a=Q(ne,n),i=O(n);return(0,f.jsx)(P,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function oe(e){return e?"open":"closed"}re.displayName=ne;var ae=F,ie=Z,se=J,le=te,ce=re,ue=n(2382),de=n(9766);const pe=ae,fe=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,f.jsx)(ie,{ref:t,className:(0,de.cn)("border-b",n),...r})});fe.displayName="AccordionItem";const he=r.forwardRef((e,t)=>{let{className:n,children:r,...o}=e;return(0,f.jsx)(se,{className:"flex",children:(0,f.jsxs)(le,{ref:t,className:(0,de.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",n),...o,children:[r,(0,f.jsx)(ue.A,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});he.displayName=le.displayName;const me=r.forwardRef((e,t)=>{let{className:n,children:r,...o}=e;return(0,f.jsx)(ce,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...o,children:(0,f.jsx)("div",{className:(0,de.cn)("pb-4 pt-0",n),children:r})})});me.displayName=ce.displayName},5949(e,t,n){n.d(t,{E:()=>s});n(5043);var r=n(917),o=n(9766),a=n(579);const i=(0,r.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function s(e){let{className:t,variant:n,...r}=e;return(0,a.jsx)("div",{className:(0,o.cn)(i({variant:n}),t),...r})}},3390(e,t,n){n.d(t,{$:()=>c,r:()=>l});var r=n(5043),o=n(6851),a=n(917),i=n(9766),s=n(579);const l=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef((e,t)=>
2{let{className:n,variant:r,size:a,asChild:c=!1,...u}=e;const d=c?o.DX:"button";return(0,s.jsx)(d,{className:(0,i.cn)(l({variant:r,size:a,className:n})),ref:t,style:{cursor:"pointer"},...u})});c.displayName="Button"},7484(e,t,n){n.d(t,{rI:()=>It,SQ:()=>Ot,_2:()=>Ft,ty:()=>Mt});var r=n(5043),o=n(858),a=n(2814),i=n(1862),s=n(3642),l=n(7914),c=n(7103),u=n(4204),d=n(1184),p=n(6590),f=n(276),h=n(4490),m=n(2634),g=n(3321),y=n(2894),b=n(6711),v=n(579);function w(e){const t=x(e),n=r.forwardRef((e,n)=>{const{children:o,...a}=e,i=r.Children.toArray(o),s=i.find(S);if(s){const e=s.props.children,o=i.map(t=>t===s?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,v.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,v.jsx)(t,{...a,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function x(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),i=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){const e=a(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,a.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var k=Symbol("radix.slottable");function S(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===k}var C=n(7490),E=n(5754),j=n(1672),N=["Enter"," "],P=["ArrowUp","PageDown","End"],R=["ArrowDown","PageUp","Home",...P],_={ltr:[...N,"ArrowRight"],rtl:[...N,"ArrowLeft"]},A={ltr:["ArrowLeft"],rtl:["ArrowRight"]},T="Menu",[L,U,I]=(0,c.N)(T),[M,O]=(0,i.A)(T,[I,m.Bk,b.RG]),F=(0,m.Bk)(),D=(0,b.RG)(),[z,$]=M(T),[B,W]=M(T),q=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:a,onOpenChange:i,modal:s=!0}=e,l=F(t),[c,d]=r.useState(null),p=r.useRef(!1),f=(0,C.c)(i),h=(0,u.jH)(a);return r.useEffect(()=>{const e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,v.jsx)(m.bL,{...l,children:(0,v.jsx)(z,{scope:t,open:n,onOpenChange:f,content:c,onContentChange:d,children:(0,v.jsx)(B,{scope:t,onClose:r.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:h,modal:s,children:o})})})};q.displayName=T;var H=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=F(n);return(0,v.jsx)(m.Mz,{...o,...r,ref:t})});H.displayName="MenuAnchor";var V="MenuPortal",[G,K]=M(V,{forceMount:void 0}),Y=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=$(V,t);return(0,v.jsx)(G,{scope:t,forceMount:n,children:(0,v.jsx)(y.C,{present:n||a.open,children:(0,v.jsx)(g.Z,{asChild:!0,container:o,children:r})})})};Y.displayName=V;var Q="MenuContent",[Z,X]=M(Q),J=r.forwardRef((e,t)=>{const n=K(Q,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=$(Q,e.__scopeMenu),i=W(Q,e.__scopeMenu);return(0,v.jsx)(L.Provider,{scope:e.__scopeMenu,children:(0,v.jsx)(y.C,{present:r||a.open,children:(0,v.jsx)(L.Slot,{scope:e.__scopeMenu,children:i.modal?(0,v.jsx)(ee,{...o,ref:t}):(0,v.jsx)(te,{...o,ref:t})})})})}),ee=r.forwardRef((e,t)=>{const n=$(Q,e.__scopeMenu),i=r.useRef(null),s=(0,a.s)(t,i);return r.useEffect(()=>{const e=i.current;if(e)return(0,E.Eq)(e)},[]),(0,v.jsx)(re,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),te=r.forwardRef((e,t)=>
2{const n=$(Q,e.__scopeMenu);return(0,v.jsx)(re,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ne=w("MenuContent.ScrollLock"),re=r.forwardRef((e,t)=>{const{__scopeMenu:n,loop:i=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEntryFocus:h,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:x,onDismiss:k,disableOutsideScroll:S,...C}=e,E=$(Q,n),N=W(Q,n),_=F(n),A=D(n),T=U(n),[L,I]=r.useState(null),M=r.useRef(null),O=(0,a.s)(t,M,E.onContentChange),z=r.useRef(0),B=r.useRef(""),q=r.useRef(0),H=r.useRef(null),V=r.useRef("right"),G=r.useRef(0),K=S?j.A:r.Fragment,Y=S?{as:ne,allowPinchZoom:!0}:void 0,X=e=>{const t=B.current+e,n=T().filter(e=>!e.disabled),r=document.activeElement,o=n.find(e=>e.ref.current===r)?.textValue,a=function(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0]),o=r?t[0]:t,a=n?e.indexOf(n):-1;let i=(s=e,l=Math.max(a,0),s.map((e,t)=>s[(l+t)%s.length]));var s,l;1===o.length&&(i=i.filter(e=>e!==n));const c=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}(n.map(e=>e.textValue),t,o),i=n.find(e=>e.textValue===a)?.ref.current;!function e(t){B.current=t,window.clearTimeout(z.current),""!==t&&(z.current=window.setTimeout(()=>e(""),1e3))}(t),i&&setTimeout(()=>i.focus())};r.useEffect(()=>()=>window.clearTimeout(z.current),[]),(0,p.Oh)();const J=r.useCallback(e=>V.current===H.current?.side&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const e=t[a],s=t[i],l=e.x,c=e.y,u=s.x,d=s.y;c>r!==d>r&&n<(u-l)*(r-c)/(d-c)+l&&(o=!o)}return o}(n,t)}(e,H.current?.area),[]);return(0,v.jsx)(Z,{scope:n,searchRef:B,onItemEnter:r.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:r.useCallback(e=>{J(e)||(M.current?.focus(),I(null))},[J]),onTriggerLeave:r.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:q,onPointerGraceIntentChange:r.useCallback(e=>{H.current=e},[]),children:(0,v.jsx)(K,{...Y,children:(0,v.jsx)(f.n,{asChild:!0,trapped:s,onMountAutoFocus:(0,o.mK)(l,e=>{e.preventDefault(),M.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,v.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:x,onDismiss:k,children:(0,v.jsx)(b.bL,{asChild:!0,...A,dir:N.dir,orientation:"vertical",loop:i,currentTabStopId:L,onCurrentTabStopIdChange:I,onEntryFocus:(0,o.mK)(h,e=>{N.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,v.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":Ae(E.open),"data-radix-menu-content":"",dir:N.dir,..._,...C,ref:O,style:{outline:"none",...C.style},onKeyDown:(0,o.mK)(C.onKeyDown,e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&X(e.key));const o=M.current;if(e.target!==o)return;if(!R.includes(e.key))return;e.preventDefault();const a=T().filter(e=>!e.disabled).map(e=>e.ref.current);P.includes(e.key)&&a.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(a)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(z.current),B.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,Ue(e=>{const t=e.target,n=G.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>G.current?"right":"left";V.current=t,G.current=e.clientX}}))})})})})})})});J.displayName=Q;var oe=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,v.jsx)(l.sG.div,{role:"group",...r,ref:t})});oe.displayName="MenuGroup";var ae=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,v.jsx)(l.sG.div,{...r,ref:t})});ae.displayName="MenuLabel";var ie="MenuItem",se="menu.itemSelect",le=r.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:i,...s}=e,c=r.useRef(null),u=W(ie,e.__scopeMenu),d=X(ie,e.__scopeMenu),p=(0,a.s)(t,c),f=r.useRef(!1);return(0,v.jsx)(ce,{...s,ref:p,disabled:n,onClick:(0,o.mK)(e.onClick,()=>{const e=c.current;if(!n&&e){const t=new CustomEvent(se,{bubbles:!0,cancelable:!0});e.addEventListener(se,e=>i?.(e),{once:!0}),(0,l.hO)(e,t),t.defaultPrevented?f.current=!1:u.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{const t=""!==d.searchRef.current;
2n||t&&" "===e.key||N.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});le.displayName=ie;var ce=r.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:i=!1,textValue:s,...c}=e,u=X(ie,n),d=D(n),p=r.useRef(null),f=(0,a.s)(t,p),[h,m]=r.useState(!1),[g,y]=r.useState("");return r.useEffect(()=>{const e=p.current;e&&y((e.textContent??"").trim())},[c.children]),(0,v.jsx)(L.ItemSlot,{scope:n,disabled:i,textValue:s??g,children:(0,v.jsx)(b.q7,{asChild:!0,...d,focusable:!i,children:(0,v.jsx)(l.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...c,ref:f,onPointerMove:(0,o.mK)(e.onPointerMove,Ue(e=>{if(i)u.onItemLeave(e);else if(u.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus({preventScroll:!0})}})),onPointerLeave:(0,o.mK)(e.onPointerLeave,Ue(e=>u.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>m(!0)),onBlur:(0,o.mK)(e.onBlur,()=>m(!1))})})})}),ue=r.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return(0,v.jsx)(be,{scope:e.__scopeMenu,checked:n,children:(0,v.jsx)(le,{role:"menuitemcheckbox","aria-checked":Te(n)?"mixed":n,...a,ref:t,"data-state":Le(n),onSelect:(0,o.mK)(a.onSelect,()=>r?.(!!Te(n)||!n),{checkForDefaultPrevented:!1})})})});ue.displayName="MenuCheckboxItem";var de="MenuRadioGroup",[pe,fe]=M(de,{value:void 0,onValueChange:()=>{}}),he=r.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,a=(0,C.c)(r);return(0,v.jsx)(pe,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,v.jsx)(oe,{...o,ref:t})})});he.displayName=de;var me="MenuRadioItem",ge=r.forwardRef((e,t)=>{const{value:n,...r}=e,a=fe(me,e.__scopeMenu),i=n===a.value;return(0,v.jsx)(be,{scope:e.__scopeMenu,checked:i,children:(0,v.jsx)(le,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Le(i),onSelect:(0,o.mK)(r.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ge.displayName=me;var ye="MenuItemIndicator",[be,ve]=M(ye,{checked:!1}),we=r.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,a=ve(ye,n);return(0,v.jsx)(y.C,{present:r||Te(a.checked)||!0===a.checked,children:(0,v.jsx)(l.sG.span,{...o,ref:t,"data-state":Le(a.checked)})})});we.displayName=ye;var xe=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,v.jsx)(l.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});xe.displayName="MenuSeparator";var ke=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=F(n);return(0,v.jsx)(m.i3,{...o,...r,ref:t})});ke.displayName="MenuArrow";var Se="MenuSub",[Ce,Ee]=M(Se),je=e=>{const{__scopeMenu:t,children:n,open:o=!1,onOpenChange:a}=e,i=$(Se,t),s=F(t),[l,c]=r.useState(null),[u,d]=r.useState(null),p=(0,C.c)(a);return r.useEffect(()=>(!1===i.open&&p(!1),()=>p(!1)),[i.open,p]),(0,v.jsx)(m.bL,{...s,children:(0,v.jsx)(z,{scope:t,open:o,onOpenChange:p,content:u,onContentChange:d,children:(0,v.jsx)(Ce,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:l,onTriggerChange:c,children:n})})})};je.displayName=Se;var Ne="MenuSubTrigger",Pe=r.forwardRef((e,t)=>{const n=$(Ne,e.__scopeMenu),i=W(Ne,e.__scopeMenu),s=Ee(Ne,e.__scopeMenu),l=X(Ne,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:d}=l,p={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const e=u.current;return()=>{window.clearTimeout(e),d(null)}},[u,d]),(0,v.jsx)(H,{asChild:!0,...p,children:(0,v.jsx)(ce,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":Ae(n.open),...e,ref:(0,a.t)(t,s.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,Ue(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,Ue(e=>{f();const t=n.content?.getBoundingClientRect();if(t){const r=n.content?.dataset.side,o="right"===r,a=o?-5:5,i=t[o?"left":"right"],s=t[o?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:i,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:i,y:t.bottom}],side:r}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{const r=""!==l.searchRef.current;e.disabled||r&&" "===t.key||_[i.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});Pe.displayName=Ne;var Re="MenuSubContent",_e=r.forwardRef((e,t)=>
2{const n=K(Q,e.__scopeMenu),{forceMount:i=n.forceMount,...s}=e,l=$(Q,e.__scopeMenu),c=W(Q,e.__scopeMenu),u=Ee(Re,e.__scopeMenu),d=r.useRef(null),p=(0,a.s)(t,d);return(0,v.jsx)(L.Provider,{scope:e.__scopeMenu,children:(0,v.jsx)(y.C,{present:i||l.open,children:(0,v.jsx)(L.Slot,{scope:e.__scopeMenu,children:(0,v.jsx)(re,{id:u.contentId,"aria-labelledby":u.triggerId,...s,ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==u.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{const t=e.currentTarget.contains(e.target),n=A[c.dir].includes(e.key);t&&n&&(l.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function Ae(e){return e?"open":"closed"}function Te(e){return"indeterminate"===e}function Le(e){return Te(e)?"indeterminate":e?"checked":"unchecked"}function Ue(e){return t=>"mouse"===t.pointerType?e(t):void 0}_e.displayName=Re;var Ie=q,Me=H,Oe=Y,Fe=J,De=oe,ze=ae,$e=le,Be=ue,We=he,qe=ge,He=we,Ve=xe,Ge=ke,Ke=Pe,Ye=_e,Qe="DropdownMenu",[Ze,Xe]=(0,i.A)(Qe,[O]),Je=O(),[et,tt]=Ze(Qe),nt=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:a,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,u=Je(t),d=r.useRef(null),[p,f]=(0,s.i)({prop:a,defaultProp:i??!1,onChange:l,caller:Qe});return(0,v.jsx)(et,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:p,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:c,children:(0,v.jsx)(Ie,{...u,open:p,onOpenChange:f,dir:o,modal:c,children:n})})};nt.displayName=Qe;var rt="DropdownMenuTrigger",ot=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,s=tt(rt,n),c=Je(n);return(0,v.jsx)(Me,{asChild:!0,...c,children:(0,v.jsx)(l.sG.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:(0,a.t)(t,s.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{r||(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});ot.displayName=rt;var at=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Je(t);return(0,v.jsx)(Oe,{...r,...n})};at.displayName="DropdownMenuPortal";var it="DropdownMenuContent",st=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...a}=e,i=tt(it,n),s=Je(n),l=r.useRef(!1);return(0,v.jsx)(Fe,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...a,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{l.current||i.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.modal&&!r||(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});st.displayName=it;var lt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(De,{...o,...r,ref:t})});lt.displayName="DropdownMenuGroup";var ct=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(ze,{...o,...r,ref:t})});ct.displayName="DropdownMenuLabel";var ut=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)($e,{...o,...r,ref:t})});ut.displayName="DropdownMenuItem";var dt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(Be,{...o,...r,ref:t})});dt.displayName="DropdownMenuCheckboxItem";var pt=r.forwardRef((e,t)=>
2{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(We,{...o,...r,ref:t})});pt.displayName="DropdownMenuRadioGroup";var ft=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(qe,{...o,...r,ref:t})});ft.displayName="DropdownMenuRadioItem";var ht=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(He,{...o,...r,ref:t})});ht.displayName="DropdownMenuItemIndicator";var mt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(Ve,{...o,...r,ref:t})});mt.displayName="DropdownMenuSeparator";var gt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(Ge,{...o,...r,ref:t})});gt.displayName="DropdownMenuArrow";var yt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(Ke,{...o,...r,ref:t})});yt.displayName="DropdownMenuSubTrigger";var bt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Je(n);return(0,v.jsx)(Ye,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});bt.displayName="DropdownMenuSubContent";var vt=nt,wt=ot,xt=at,kt=st,St=ct,Ct=ut,Et=dt,jt=ft,Nt=ht,Pt=mt,Rt=yt,_t=bt,At=n(8326),Tt=n(6210);const Lt=(0,n(1212).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var Ut=n(9766);const It=vt,Mt=wt;r.forwardRef((e,t)=>{let{className:n,inset:r,children:o,...a}=e;return(0,v.jsxs)(Rt,{ref:t,className:(0,Ut.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",n),...a,children:[o,(0,v.jsx)(At.A,{className:"ml-auto"})]})}).displayName=Rt.displayName;r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,v.jsx)(_t,{ref:t,className:(0,Ut.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",n),...r})}).displayName=_t.displayName;const Ot=r.forwardRef((e,t)=>{let{className:n,sideOffset:r=4,...o}=e;return(0,v.jsx)(xt,{children:(0,v.jsx)(kt,{ref:t,sideOffset:r,className:(0,Ut.cn)("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",n),...o})})});Ot.displayName=kt.displayName;const Ft=r.forwardRef((e,t)=>{let{className:n,inset:r,...o}=e;return(0,v.jsx)(Ct,{ref:t,className:(0,Ut.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",r&&"pl-8",n),...o})});Ft.displayName=Ct.displayName;r.forwardRef((e,t)=>{let{className:n,children:r,checked:o,...a}=e;return(0,v.jsxs)(Et,{ref:t,className:(0,Ut.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),checked:o,...a,children:[(0,v.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,v.jsx)(Nt,{children:(0,v.jsx)(Tt.A,{className:"h-4 w-4"})})}),r]})}).displayName=Et.displayName;r.forwardRef((e,t)=>
2{let{className:n,children:r,...o}=e;return(0,v.jsxs)(jt,{ref:t,className:(0,Ut.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...o,children:[(0,v.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,v.jsx)(Nt,{children:(0,v.jsx)(Lt,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=jt.displayName;r.forwardRef((e,t)=>{let{className:n,inset:r,...o}=e;return(0,v.jsx)(St,{ref:t,className:(0,Ut.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",n),...o})}).displayName=St.displayName;r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,v.jsx)(Pt,{ref:t,className:(0,Ut.cn)("-mx-1 my-1 h-px bg-muted",n),...r})}).displayName=Pt.displayName},5732(e,t,n){n.d(t,{tU:()=>L,av:()=>M,j7:()=>U,Xi:()=>I});var r=n(5043),o=n(858),a=n(1862),i=n(6711),s=n(2894),l=n(7914),c=n(4204),u=n(3642),d=n(4490),p=n(579),f="Tabs",[h,m]=(0,a.A)(f,[i.RG]),g=(0,i.RG)(),[y,b]=h(f),v=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:h="automatic",...m}=e,g=(0,c.jH)(s),[b,v]=(0,u.i)({prop:r,onChange:o,defaultProp:a??"",caller:f});return(0,p.jsx)(y,{scope:n,baseId:(0,d.B)(),value:b,onValueChange:v,orientation:i,dir:g,activationMode:h,children:(0,p.jsx)(l.sG.div,{dir:g,"data-orientation":i,...m,ref:t})})});v.displayName=f;var w="TabsList",x=r.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=b(w,n),s=g(n);return(0,p.jsx)(i.bL,{asChild:!0,...s,orientation:a.orientation,dir:a.dir,loop:r,children:(0,p.jsx)(l.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});x.displayName=w;var k="TabsTrigger",S=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...s}=e,c=b(k,n),u=g(n),d=j(c.baseId,r),f=N(c.baseId,r),h=r===c.value;return(0,p.jsx)(i.q7,{asChild:!0,...u,focusable:!a,active:h,children:(0,p.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":f,"data-state":h?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...s,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(r)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(r)}),onFocus:(0,o.mK)(e.onFocus,()=>{const e="manual"!==c.activationMode;h||a||!e||c.onValueChange(r)})})})});S.displayName=k;var C="TabsContent",E=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:o,forceMount:a,children:i,...c}=e,u=b(C,n),d=j(u.baseId,o),f=N(u.baseId,o),h=o===u.value,m=r.useRef(h);return r.useEffect(()=>{const e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(s.C,{present:a||h,children:n=>{let{present:r}=n;return(0,p.jsx)(l.sG.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":d,hidden:!r,id:f,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:r&&i})}})});function j(e,t){return`${e}-trigger-${t}`}function N(e,t){return`${e}-content-${t}`}E.displayName=C;var P=v,R=x,_=S,A=E,T=n(9766);const L=P,U=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,p.jsx)(R,{ref:t,className:(0,T.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...r})});U.displayName=R.displayName;const I=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,p.jsx)(_,{ref:t,className:(0,T.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...r})});I.displayName=_.displayName;const M=r.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,p.jsx)(A,{ref:t,className:(0,T.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...r})});
2M.displayName=A.displayName},5844(e,t,n){n.d(t,{m_:()=>J,ZI:()=>te,Bc:()=>X,k$:()=>ee});var r=n(5043),o=n(858),a=n(2814),i=n(1862),s=n(1184),l=n(4490),c=n(2634),u=n(3321),d=n(2894),p=n(7914),f=n(579);var h=Symbol("radix.slottable");function m(e){const t=e=>{let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})};return t.displayName=`${e}.Slottable`,t.__radixId=h,t}var g=n(3642),y=n(4451),[b,v]=(0,i.A)("Tooltip",[c.Bk]),w=(0,c.Bk)(),x="TooltipProvider",k=700,S="tooltip.open",[C,E]=b(x),j=e=>{const{__scopeTooltip:t,delayDuration:n=k,skipDelayDuration:o=300,disableHoverableContent:a=!1,children:i}=e,s=r.useRef(!0),l=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{const e=c.current;return()=>window.clearTimeout(e)},[]),(0,f.jsx)(C,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.current=!0,o)},[o]),isPointerInTransitRef:l,onPointerInTransitChange:r.useCallback(e=>{l.current=e},[]),disableHoverableContent:a,children:i})};j.displayName=x;var N="Tooltip",[P,R]=b(N),_=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:a,onOpenChange:i,disableHoverableContent:s,delayDuration:u}=e,d=E(N,e.__scopeTooltip),p=w(t),[h,m]=r.useState(null),y=(0,l.B)(),b=r.useRef(0),v=s??d.disableHoverableContent,x=u??d.delayDuration,k=r.useRef(!1),[C,j]=(0,g.i)({prop:o,defaultProp:a??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(S))):d.onClose(),i?.(e)},caller:N}),R=r.useMemo(()=>C?k.current?"delayed-open":"instant-open":"closed",[C]),_=r.useCallback(()=>{window.clearTimeout(b.current),b.current=0,k.current=!1,j(!0)},[j]),A=r.useCallback(()=>{window.clearTimeout(b.current),b.current=0,j(!1)},[j]),T=r.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{k.current=!0,j(!0),b.current=0},x)},[x,j]);return r.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),(0,f.jsx)(c.bL,{...p,children:(0,f.jsx)(P,{scope:t,contentId:y,open:C,stateAttribute:R,trigger:h,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayedRef.current?T():_()},[d.isOpenDelayedRef,T,_]),onTriggerLeave:r.useCallback(()=>
2{v?A():(window.clearTimeout(b.current),b.current=0)},[A,v]),onOpen:_,onClose:A,disableHoverableContent:v,children:n})})};_.displayName=N;var A="TooltipTrigger",T=r.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,s=R(A,n),l=E(A,n),u=w(n),d=r.useRef(null),h=(0,a.s)(t,d,s.onTriggerChange),m=r.useRef(!1),g=r.useRef(!1),y=r.useCallback(()=>m.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),(0,f.jsx)(c.Mz,{asChild:!0,...u,children:(0,f.jsx)(p.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:h,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),m.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{m.current||s.onOpen()}),onBlur:(0,o.mK)(e.onBlur,s.onClose),onClick:(0,o.mK)(e.onClick,s.onClose)})})});T.displayName=A;var L="TooltipPortal",[U,I]=b(L,{forceMount:void 0}),M=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=R(L,t);return(0,f.jsx)(U,{scope:t,forceMount:n,children:(0,f.jsx)(d.C,{present:n||a.open,children:(0,f.jsx)(u.Z,{asChild:!0,container:o,children:r})})})};M.displayName=L;var O="TooltipContent",F=r.forwardRef((e,t)=>{const n=I(O,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=R(O,e.__scopeTooltip);return(0,f.jsx)(d.C,{present:r||i.open,children:i.disableHoverableContent?(0,f.jsx)(W,{side:o,...a,ref:t}):(0,f.jsx)(D,{side:o,...a,ref:t})})}),D=r.forwardRef((e,t)=>{const n=R(O,e.__scopeTooltip),o=E(O,e.__scopeTooltip),i=r.useRef(null),s=(0,a.s)(t,i),[l,c]=r.useState(null),{trigger:u,onClose:d}=n,p=i.current,{onPointerInTransitChange:h}=o,m=r.useCallback(()=>{c(null),h(!1)},[h]),g=r.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),a=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){const e=t[t.length-1],r=t[t.length-2];if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;n.length>=2;){const e=n[n.length-1],r=n[n.length-2];if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;n.pop()}n.push(t)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...o,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(a),h(!0)},[h]);return r.useEffect(()=>()=>m(),[m]),r.useEffect(()=>{if(u&&p){const e=e=>g(e,p),t=e=>g(e,u);return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,g,m]),r.useEffect(()=>{if(l){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=u?.contains(t)||p?.contains(t),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const e=t[a],s=t[i],l=e.x,c=e.y,u=s.x,d=s.y;c>r!==d>r&&n<(u-l)*(r-c)/(d-c)+l&&(o=!o)}return o}(n,l);r?m():o&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,l,d,m]),(0,f.jsx)(W,{...e,ref:s})}),[z,$]=b(N,{isInside:!1}),B=m("TooltipContent"),W=r.forwardRef((e,t)=>
2{const{__scopeTooltip:n,children:o,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:l,...u}=e,d=R(O,n),p=w(n),{onClose:h}=d;return r.useEffect(()=>(document.addEventListener(S,h),()=>document.removeEventListener(S,h)),[h]),r.useEffect(()=>{if(d.trigger){const e=e=>{const t=e.target;t?.contains(d.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,h]),(0,f.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,f.jsxs)(c.UC,{"data-state":d.stateAttribute,...p,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,f.jsx)(B,{children:o}),(0,f.jsx)(z,{scope:n,isInside:!0,children:(0,f.jsx)(y.bL,{id:d.contentId,role:"tooltip",children:a||o})})]})})});F.displayName=O;var q="TooltipArrow",H=r.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=w(n);return $(q,n).isInside?null:(0,f.jsx)(c.i3,{...o,...r,ref:t})});H.displayName=q;var V=j,G=_,K=T,Y=M,Q=F,Z=n(9766);const X=V,J=G,ee=K,te=r.forwardRef((e,t)=>{let{className:n,sideOffset:r=4,...o}=e;return(0,f.jsx)(Y,{children:(0,f.jsx)(Q,{ref:t,sideOffset:r,className:(0,Z.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",n),...o})})});te.displayName=Q.displayName},4107(e,t,n){n.d(t,{J:()=>c,v:()=>l});var r=n(5043),o=n(3866),a=n(579);const i=(0,r.createContext)(null),s=`${{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA"}.REACT_APP_BACKEND_URL||""}/api`,l=e=>{let{children:t}=e;const{getToken:n,isLoaded:l,isSignedIn:c}=(0,o.As)(),[u,d]=(0,r.useState)(null),[p,f]=(0,r.useState)(!1),[h,m]=(0,r.useState)(null),g=(0,r.useCallback)(async function(){if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&u&&!h)return u;f(!0);try{const e=await n();if(!e)throw new Error("No authentication token available");const t=await fetch(`${s}/auth/verify`,{headers:{Authorization:`Bearer ${e}`}});if(!t.ok)throw new Error("Failed to verify user session");const r=await t.json();return d(r),m(null),r}catch(e){return console.error("UserContext fetch error:",e),m(e.message),null}finally{f(!1)}},[n,u,h]);return(0,r.useEffect)(()=>{l&&c&&!u&&!p&&g()},[l,c,u,p,g]),(0,a.jsx)(i.Provider,{value:{userData:u,setUserData:d,loading:p,error:h,refreshUser:()=>g(!0)},children:t})},c=()=>{const e=(0,r.useContext)(i);if(!e)throw new Error("useUser must be used within a UserProvider");return e}},8654(e,t,n){n.d(t,{Ay:()=>o,pI:()=>i,qL:()=>a});const r={mcp:{slug:"mcp-server",name:"Model Context Protocol (MCP)",tagline:"Connect AI Agents & LLMs via MCP Server",category:"ai",status:"available",logoPath:"/assets/integrations/mcp-logo.svg",logoFallbackColor:"from-[#0D9488] to-[#0F766E]",logoFallbackText:"MCP",accentColor:"#0D9488",ctaText:"View MCP Guide",ctaLink:"/mcp-server",ctaStyle:"bg-brand hover:bg-brand/90",meta:{title:"Model Context Protocol (MCP) Server for File Uploads - Upload to URL",description:"Connect your AI Agents (Claude Desktop, Cursor, and custom LLMs) directly to Upload to URL. Learn how to configure and run the MCP Server with our step-by-step integration guide.",keywords:"Model Context Protocol, MCP server, MCP file upload, Claude desktop MCP, Cursor MCP, AI agent file hosting"},hero:{problem:"How do you let AI agents like Claude and Cursor upload files and get public URLs?",solution:"Connect Upload to URL directly to your AI agents via Model Context Protocol (MCP) over Server-Sent Events (SSE). Expose upload_file and get_file_status tools to Claude Desktop, Cursor, and custom LLM workflows seamlessly."},features:[{title:"Server-Sent Events (SSE)",description:"Real-time bidirectional tool communication natively over HTTP SSE transport."},{title:"Native Agent Tools",description:"Exposes upload_file and get_file_status tools directly in Claude Desktop and Cursor."},{title:"Instant CDN Links",description:"Upload text, HTML, or base64 files and return permanent HTTPS links instantly."},{title:"Secure API Key Auth",description:"Pass your API key in headers or connection query parameters with custom expiry options."}],useCases:[{title:"Claude Desktop Artifacts",description:"Let Claude Desktop save charts, reports, and code outputs to direct shareable URLs."},{title:"Cursor IDE Asset Uploads",description:"Upload build assets and mock data directly from Cursor AI composer prompts."},{title:"Autonomous AI Agents",description:"Empower custom LangChain or AutoGPT agents to publish files on demand."},{title:"Automated CI/CD Logging",description:"Upload build artifacts and test reports directly to permanent CDN endpoints."}],steps:[{step:1,title:"Get Your API Key",description:"Create an account and copy your API key from the Upload to URL dashboard."},{step:2,title:"Add MCP Server Config",description:"Add the upload-to-url server endpoint to your Claude Desktop or Cursor config."},{step:3,title:"Use MCP Tools in Prompts",description:"Prompt your AI agent to upload files and generate shareable links automatically."}],faq:[{q:"What is Model Context Protocol (MCP)?",a:"MCP is an open standard created by Anthropic that allows secure, real-time communication between AI models and external data sources or tools."},{q:"How does authentication work for the MCP server?",a:"Pass your API key in connection headers (X-API-Key or Authorization Bearer) or as a query parameter (api_key)."},{q:"What tools are available in the MCP server?",a:"The MCP server provides upload_file (to upload base64 or text content) and get_file_status (to query uploaded file details and direct CDN URLs)."}]},n8n:{slug:"get-public-urls-for-files-on-n8n",name:"n8n",tagline:"Get Public URLs for Files on n8n",status:"available",logoPath:"/assets/integrations/n8n-logo.png",logoFallbackColor:"from-[#FF7A3D] to-[#F1590E]",logoFallbackText:"n8n",accentColor:"#EA4B71",ctaText:"Get the n8n Node",ctaLink:"https://n8n.io/integrations/upload-to-url/",ctaStyle:"bg-brand hover:bg-brand/90",meta:{title:"Get Public URLs for Files in n8n Workflows - Upload Any File in n8n",description:"Need to upload files and get public URLs in n8n? Use the official Upload to URL node to instantly turn any file into a shareable, CDN-backed link inside your n8n w
2orkflows. Works with 1,200+ apps.",keywords:"n8n file upload, n8n get public URL, n8n upload file to URL, n8n file hosting, n8n community node upload, how to get file URL in n8n, n8n workflow file link"},hero:{problem:"How do you upload a file and get a public URL in n8n?",solution:"If you're building n8n workflows that handle files - email attachments, form uploads, Slack files - you need a way to turn those files into shareable URLs. The Upload to URL node does exactly that: drop it into any workflow, pass a file, and get back a permanent, CDN-backed HTTPS link. No custom HTTP requests, no S3 buckets, no complexity."},features:[{title:"Drag-and-Drop Node",description:"The official node is available directly in your n8n instance. Connect it to triggers from 1,200+ apps - Gmail attachments, form submissions, Slack files, and more."},{title:"Instant Public URLs",description:"Every uploaded file gets a permanent, CDN-backed HTTPS URL that works everywhere - embed in emails, Notion pages, Slack messages, or any web app."},{title:"Built-in Error Handling",description:"Enterprise-grade error handling with automatic retries, detailed error outputs, and workflow-level fallback paths so your automations never silently fail."},{title:"Self-Hosted Compatible",description:"Works with both n8n Cloud and self-hosted instances. Your files, your infrastructure, your rules."}],useCases:[{title:"Email Attachment Processing",description:"Automatically upload email attachments from Gmail or Outlook and store the URLs in a spreadsheet or database for easy access."},{title:"Form File Uploads",description:"Connect Typeform, JotForm, or Google Forms to automatically host submitted files and generate shareable links."},{title:"Slack File Archiving",description:"Capture files shared in Slack channels, upload them to get permanent URLs, and log them in Notion or Airtable."},{title:"Report Generation & Distribution",description:"Generate reports, upload them, and automatically distribute download links via email or messaging apps."}],steps:[{step:1,title:"Add the Node",description:'Search for "Upload to URL" in your n8n instance and add it to your workflow.'},{step:2,title:"Add Your API Key",description:"Create a free account on Upload to URL, grab your API key, and add it as a credential in n8n."},{step:3,title:"Build Your Workflow",description:"Drag the Upload to URL node into your workflow, connect it to your trigger, and map the file input. Hit execute."}],faq:[{q:"How do I upload a file and get a URL in n8n?",a:'Add the official Upload to URL node (search "Upload to URL" in the node library) to your workflow after any node that outputs a file, and it will return a permanent public URL. No HTTP Request node configuration needed.'},{q:"Does this work with n8n self-hosted?",a:"Yes. The Upload to URL community node is fully compatible with self-hosted n8n instances. Install it via the Community Nodes settings page, just like any other community node."},{q:"What file types can I upload through n8n?",a:"You can upload various file types - images (PNG, JPG, GIF, WebP), documents (PDF, DOCX), videos (MP4, MOV), audio files, CSVs, and more."},{q:"Is there a file size limit?",a:"The maximum file size depends on your Upload to URL plan. Free accounts support files up to 5MB, while paid plans support larger files. Check the pricing page for current limits."},{q:"Can I use this in production workflows?",a:"Absolutely. The node includes enterprise-grade error handling, automatic retries, and detailed error outputs. Many teams use it in production workflows processing thousands of files daily."},{q:"How long do uploaded file URLs last?",a:"URLs are permanent. Once a file is uploaded, its URL remains active and accessible indefinitely as long as your account is in good standing."}]},zapier:{slug:"upload-files-and-get-urls-in-zapier",name:"Zapier",tagline:"Upload Files & Get Shareable URLs in Zapier",status:"available",logoPath:"/assets/integrations/zapier-logo.webp",logoFallbackColor:"from-orange-400 to-orange-500",logoFallbackText:"Z",accentColor:"#FF4A00",ctaText:"Connect on Zapier",ctaLink:"https://zapier.com/apps/upload-to-url/integrations",ctaStyle:"bg-brand hover:bg-brand/90",meta:{title:"Upload Files & Get Shareable URLs in Zapier - No Code File Hosting for Zaps",description:"Need to upload a file and get a public URL inside a Zapier Zap? Connect Upload to URL to turn files from any trigger into permanent, shareable links. Works with 7,000+ apps, no code required.",keywords:"Zapier upload file get URL, Zapier file hosting, how to get file URL in Zapier, Zapier file link, Zapier upload attachment, Zapier public file URL, Zapier file to link"},hero:{problem:"How do you upload a file and get a shareable URL in a Zapier Zap?",solution:"You have files coming in from form submissions, email attachments, or CRM updates - and you need them hosted with a public link you can use in the next step. Upload to URL plugs into Zapier as an action step: pass any file in, get a permanent CDN-backed URL out. Use it in emails, spreadsheets, Slack messages, or anywhere else."},features:[{title:"Connect with 7,000+ Apps",description:"Zapier connects Upload to URL with thousands of apps. Trigger file uploads from Gmail, Salesforce, Shopify, HubSpot, Google Drive, and more."}
2,{title:"No-Code Setup",description:"Set up your file upload automation in minutes using Zapier's visual editor. No API knowledge or coding skills required - just point, click, and connect."},{title:"Multi-Step Zaps",description:"Use uploaded file URLs in subsequent Zap steps - send the link via email, save it to a spreadsheet, post it in Slack, or update a CRM record."},{title:"Reliable CDN-Backed URLs",description:"Every file gets a permanent HTTPS URL served from a global CDN. Links work everywhere - in emails, documents, websites, and messaging apps."}],useCases:[{title:"CRM File Management",description:"When a new deal is created in HubSpot or Salesforce, automatically upload associated files and attach the URLs back to the CRM record."},{title:"E-commerce Order Processing",description:"Upload product images or order documents from Shopify and WooCommerce, then share download links with customers or warehouse teams."},{title:"Lead Form Attachments",description:"Capture file uploads from Typeform, Google Forms, or JotForm and generate shareable URLs for your sales team to access."},{title:"Social Media Content Pipeline",description:"Upload media files and generate URLs for use in scheduled social media posts across multiple platforms."}],steps:[{step:1,title:"Connect Upload to URL",description:'Search for "Upload to URL" in Zapier\'s app directory and connect your account using your API key.'},{step:2,title:"Set Up Your Trigger",description:"Choose the app and event that should trigger a file upload - like a new email attachment, form submission, or file added to cloud storage."},{step:3,title:"Map & Automate",description:"Map the file from your trigger to the Upload to URL action. Test your Zap, turn it on, and let it run automatically."}],faq:[{q:"How do I upload a file and get a URL in Zapier?",a:'Add "Upload to URL" as an action step in your Zap. Connect your account with an API key, then map the file from your trigger step (email attachment, form upload, etc.) to the Upload to URL action. It returns a permanent public URL you can use in any subsequent step.'},{q:"What can I do with file URLs in my Zaps?",a:"Use the generated URLs in any subsequent Zap step - send them in emails via Gmail or Outlook, save them to Google Sheets or Airtable, post them in Slack or Teams, attach them to CRM records, or use them in any app that accepts URLs."},{q:"Does it work with multi-step Zaps?",a:"Yes. Upload to URL works as an action step in multi-step Zaps. The file URL output can be used in any subsequent step, making it easy to build complex workflows."},{q:"What file types are supported?",a:"All file types are supported - images, PDFs, documents, spreadsheets, videos, audio, archives, and more. If your trigger app can provide the file, Upload to URL can host it."},{q:"Is there a limit on how many files I can upload?",a:"Upload limits depend on your Upload to URL plan. Free accounts get 15 uploads per month, with paid plans offering 1,000 to 15,000+ uploads. Check our pricing page for details."},{q:"Are the generated URLs permanent?",a:"Yes. All URLs are permanent, CDN-backed, and served over HTTPS. They remain accessible as long as your account is active."}]},pipedream:{slug:"get-file-urls-in-pipedream-workflows",name:"Pipedream",tagline:"Get File URLs in Pipedream Workflows",status:"available",logoPath:"/assets/integrations/pipedream-logo.webp",logoFallbackColor:"from-purple-500 to-purple-600",logoFallbackText:"PD",accentColor:"#7C3AED",ctaText:"Get the Pipedream App",ctaLink:"https://pipedream.com/apps/upload-to-url",ctaStyle:"bg-purple-500 hover:bg-purple-600",meta:{title:"Get File URLs in Pipedream Workflows - Upload Files & Get Public Links",description:"Need to upload files and get public URLs in Pipedream? Use the Upload to URL app to turn any file into a permanent, CDN-backed link inside your Pipedream workflows. Event-driven, serverless, and code-optional.",keywords:"Pipedream file upload URL, Pipedream get file link, how to upload file Pipedream, Pipedream file hosting, Pipedream workflow file URL, Pipedream serverless file upload"},hero:{problem:"How do you upload a file and get a public URL in a Pipedream workflow?",solution:"Your Pipedream workflows handle files from webhooks, APIs, and app triggers - but you need those files hosted somewhere with a URL you can actually use. The Upload to URL Pipedream app takes any file input and returns a permanent, CDN-backed HTTPS link. Serverless, event-driven, and works with code or no-code steps."},features:[{title:"Event-Driven Architecture",description:"Trigger file uploads from webhooks, schedules, HTTP requests, or any of Pipedream's 1,000+ app triggers. Process files in real-time as events happen."},{title:"Serverless Execution",description:"No servers to manage. Pipedream runs your workflows on serverless infrastru
2cture that auto-scales based on demand - from 1 file to 10,000 files."},{title:"Code + No-Code",description:"Use the visual builder for simple workflows or add custom Node.js/Python code for advanced logic. Mix and match as needed."},{title:"Real-Time Processing",description:"Files are uploaded and URLs are generated in seconds. Use them immediately in downstream steps - APIs, databases, notifications, and more."}],useCases:[{title:"Webhook File Processing",description:"Receive files via webhooks from your app or third-party services, upload them, and return the URL in the webhook response."},{title:"Scheduled Batch Uploads",description:"Set up cron-triggered workflows to batch-process files from FTP servers, cloud storage, or APIs on a daily or hourly schedule."},{title:"API Middleware",description:"Build a serverless API endpoint that accepts file uploads, hosts them on Upload to URL, and returns the URL to the caller."},{title:"Data Pipeline Integration",description:"Upload generated reports, exports, or processed files as part of a larger data pipeline and store URLs in your database."}],steps:[{step:1,title:"Find the App",description:'Search for "Upload to URL" in Pipedream\'s app directory and connect your account with your API key.'},{step:2,title:"Choose a Trigger",description:"Pick an event source - HTTP webhook, scheduled cron, new email, Slack message, or any of 1,000+ app triggers."},{step:3,title:"Add the Upload Action",description:"Add the Upload to URL action to your workflow, map the file input from your trigger, and deploy. Your workflow runs automatically."}],faq:[{q:"How do I upload a file and get a URL in Pipedream?",a:'Search for "Upload to URL" in Pipedream\'s app directory, connect your account using your API key, then add the "Upload File" action to any workflow. Map the file from your trigger source and deploy. The action returns a permanent public URL.'},{q:"Can I use custom code with the Upload to URL Pipedream app?",a:"Yes. Pipedream supports both no-code actions and custom Node.js/Python steps. You can use the Upload to URL app alongside custom code for advanced file processing, transformations, or conditional logic."},{q:"Does it support webhook triggers?",a:"Yes. You can create a Pipedream HTTP endpoint that accepts file uploads, passes them to Upload to URL, and returns the generated URL - perfect for building serverless file upload APIs."},{q:"What happens if an upload fails?",a:"Upload to URL returns detailed error information that Pipedream captures. You can add error handling steps in your workflow to retry, notify your team, or log the failure."},{q:"Is Pipedream free to use with Upload to URL?",a:"Pipedream offers a generous free tier. You'll need a separate Upload to URL account (free tier available with 15 uploads/month). Both services offer paid plans for higher volume."},{q:"Can I process files before uploading?",a:"Yes. Add custom code steps before the Upload to URL action to resize images, convert formats, add watermarks, or perform any processing using Node.js or Python."}]},make:{slug:"upload-files-to-get-urls-in-make",name:"Make",tagline:"Upload Files to Get Public URLs in Make Scenarios",status:"available",logoPath:"/assets/integrations/make-logo.webp",logoFallbackColor:"from-blue-500 to-blue-600",logoFallbackText:"M",accentColor:"#6D00CC",ctaText:"Connect on Make",ctaLink:"https://www.make.com/en/integrations/upload-to-url",ctaStyle:"bg-[#6D00CC] hover:bg-[#5A00A8]",meta:{title:"Upload Files & Get Public URLs in Make (Integromat) Scenarios",description:"Need to upload files and get shareable URLs in Make.com scenarios? Upload to URL's Make module lets you turn any file into a permanent public link inside your automations.",keywords:"Make file upload URL, Make.com get file link, Integromat upload file, Make scenario file hosting, how to upload file Make.com, Make automation file URL"},hero:{problem:"How do you upload a file and get a public URL inside a Make scenario?",solution:"Upload to URL's Make module lets you drop a file upload step into any scenario and get back a permanent, CDN-backed URL."},features:[{title:"Visual Scenario Builder",description:"Build sophisticated file upload automations using Make's intuitive drag-and-drop scenario builder. See your entire workflow at a glance."},{title:"Advanced Routing & Filters",description:"Use Make's routers and filters to conditionally upload files based on type, size, source, or any custom logic - no code needed."},{title:"Scheduled & Triggered",description:"Run your file upload scenarios on a schedule, via webhook, or triggered by events in any of Make's hundreds of connected apps."},{title:"Error Handling Built-In",description:"Make's error handling routes let you gracefully handle upload failures with retries, fallbacks, or admin notifications."}],useCases:[{title:"Document Workflow Automation",description:"Automatically upload contracts, invoices, or proposals from Google Drive or Dropbox and share the URLs with clients via email."},{title:"Multi-Platform Content Distribution",description:"Upload media files once and distribute the URLs to multiple platforms - WordPress, social media, email campaigns - in a single scenario."},{title:"Customer Support File Handling",description:"Upload support ticket attachments from Zendesk or Freshdesk and store the URLs in your knowledge base or CRM."},{title:"Backup & Archive",description:"Schedule regular uploads of important files and maintain a database of all generated URLs for easy retrieval."}],steps:[{step:1,title:"Add the Module",description:'Search for "Upload to URL" in Make\'s module library and add it to your scenario.'},{step:2,title:"Connect Your Account",description:"Enter your Upload to URL API key to authenticate the connection between Make and your Upload to URL account."},{step:3,title:"Configure & Run",description:"Map the file input from your previous module, configure any options, and activate your scenario."}],faq:[{q:"How do I upload a file and get a URL in Make?",a:"Add the Upload to URL module to your scenario, map the file input, and run it. The response includes a permanent public URL."},{q:"How much does it cost?",a:"The Upload to URL module is free to use on Make. You just need an Upload to URL account (free tier available with 15 uploads/month)."},{q:"Will it work with Make's free plan?",a:"Yes. The Upload to URL module works with all Make plans, including the free tier. You'll need a separate Upload to URL account (free tier available)."},{q:"What file types are supported?",a:"All file types - images, documents, videos, audio, archives, and more. If Make can pass the file, Upload to URL can host it and generate a URL."},{q:"Is this the same as Integromat?",a:"Yes. Make is the new name for Integromat. The Upload to URL integration works with the current Make platform (make.com)."},{q:"Can I use the API directly in Make?",a:"Absolutely. Use Make's HTTP module to send a multipart/form-data request to our API endpoint with your API key. Our API docs have step-by-step instructions for this approach."}]},airtable:{slug:"fix-expiring-attachment-urls-in-airtable",name:"Airtable",tagline:"Fix Expiring Attachment URLs in Airtable",status:"coming-soon",logoPath:"/assets/integrations/airtable-logo.png",logoFallbackColor:"from-[#18BFFF] to-[#0DA6E9]",logoFallbackText:"AT",accentColor:"#18BFFF",ctaText:"Coming Soon",ctaLink:null,ctaStyle:"bg-gray-700 text-gray-400 cursor-not-allowed",meta:{title:"Fix Expiring Airtable Attachment URLs - Get Permanent File Links for Airtable",description:"Airtable attachment URLs expire after a few hours, breaking your integrations and shared links. Upload to URL gives you permanent, CDN-backed file URLs that never expire. Works with Airtable automations.",ke
2ywords:"Airtable expiring URL fix, Airtable attachment URL permanent, Airtable file link expires, Airtable permanent file URL, fix Airtable broken links, Airtable attachment public URL, Airtable file hosting"},hero:{problem:"Tired of Airtable attachment URLs expiring after a few hours and breaking everything?",solution:"Airtable generates temporary signed URLs for attachments that expire quickly - breaking shared links, integrations, and embedded images. Upload to URL gives you permanent, CDN-backed HTTPS URLs for your Airtable files that never expire. Automate it so every attachment gets a reliable link the moment it's added."},features:[{title:"Permanent URLs (No More Expiring Links)",description:"Airtable attachment URLs expire after a few hours. Upload to URL generates permanent HTTPS URLs that work forever - no more broken links in your workflows."},{title:"Works with Airtable Automations",description:"Trigger file uploads automatically when records are created or updated. Use Airtable's built-in automations or connect via Zapier, Make, or Pipedream."},{title:"CDN-Backed Delivery",description:"Files are served from a global CDN for fast loading anywhere in the world. Embed images in websites, share documents with clients, or use in apps."},{title:"Bulk Processing",description:"Process multiple attachments from Airtable records at once. Upload entire galleries, document sets, or file collections with a single automation."}],useCases:[{title:"Fix Expiring Attachment URLs",description:"Replace Airtable's temporary attachment URLs with permanent Upload to URL links. Store the permanent URLs in a text field for reliable access."},{title:"Client-Facing File Portals",description:"Build client portals using Airtable interfaces where uploaded files have permanent, shareable download links."},{title:"Product Image Management",description:"Manage product images in Airtable and generate permanent URLs for use in your e-commerce store, catalogs, or marketing materials."},{title:"Content Management System",description:"Use Airtable as a lightweight CMS with reliable file hosting. Upload images and documents, then use the permanent URLs in your website or app."}],steps:[{step:1,title:"Connect via Automation",description:"Use Airtable Automations, Zapier, Make, or Pipedream to connect your Airtable base with Upload to URL."},{step:2,title:"Map Attachment Fields",description:"Select the Airtable attachment field you want to upload from and configure the Upload to URL action."},{step:3,title:"Store Permanent URLs",description:"Save the generated permanent URLs back to a text field in your Airtable record for instant, reliable access."}],faq:[{q:"Why do Airtable attachment URLs expire?",a:"Airtable generates temporary signed URLs for attachments that expire after a few hours for security reasons. This causes problems when you share links externally, embed images in websites, or use them in integrations. Upload to URL solves this by providing permanent, CDN-backed URLs that never expire."},{q:"How do I get permanent URLs for Airtable attachments?",a:"Use an automation (Zapier, Pipedream, or Airtable's scripting extension) to send your Airtable attachment to Upload to URL's API. It returns a permanent public URL you can store in a text field on the same record."},{q:"When will the native Airtable integration be available?",a:"The native Airtable integration is coming soon. In the meantime, you can connect Airtable to Upload to URL using Zapier, Pipedream, or our REST API with Airtable's scripting extension."},{q:"Will it work with Airtable Automations?",a:"The upcoming native integration will work with Airtable Automations. Currently, you can achieve the same result using Zapier or Pipedream as a bridge between Airtable and Upload to URL."},{q:"Can I bulk-fix all my existing expiring URLs?",a:"Yes. You can set up an automation to iterate through your existing records and upload all attachments to get permanent URLs. Our API also supports this programmatically."},{q:"What file types can I upload from Airtable?",a:"Any file type stored as an Airtable attachment - images, PDFs, documents, spreadsheets, videos, audio files, and more. All files get permanent, CDN-backed URLs."}]},monday:{slug:"share-monday-board-files-with-public-urls",name:"Monday.com",tagline:"Share Monday.com Board Files with Public URLs",status:"coming-soon",logoPath:"/assets/integrations/monday-logo.png",logoFallbackColor:"from-[#FF3D57] to-[#6161FF]",logoFallbackText:"M",accentColor:"#FF3D57",ctaText:"Coming Soon",ctaLink:null,ctaStyle:"bg-gray-700 text-gray-400 cursor-not-allowed",meta:{title:"Share Monday.com Board Files with Public URLs - No Login Required",description:"Monday.com file links require board access to view. Upload to URL generates public, shareable URLs for your Monday board files that anyone can access - no Monday.com account needed. Coming soon.",keywords:"Monday.com share files externally, Monday board file public URL, Monday.com file link no login, share Monday files with clients, Monday.com public file link, Monday.com file hosting"},hero:{problem:"Can't share Monday.com board files with people outside your workspace?",solution:"Monday.com file links require the recipient to have board access - making it impossible to share with clients, vendors, or anyone without a Monday account. Upload to URL generates public, CDN-backed URLs for your board files that anyone can access with just a link. No login walls, no access requests."},features:[{title:"Board-Level Automation",description:"Trigger file uploads automatically when items are created, updated, or moved to specific groups. Set up once, runs forever."},{title:"Public URLs for Board Files",description:"Monday.com file links require authentication. Upload to URL generates public, CDN-backed URLs anyone can access - perfect for client deliverables."},{title:"Project Asset Management",description:"Upload design files, documents, and media from your boards and maintain a library of permanent URLs organized by project."},{title:"Cross-Tool Compatibility",description:'Use generated URLs in Slack, email, Notion, Google Docs, or any tool. No more "request access" screens for your shared files.'}],useCases:[{title:"Client Deliverable Sharing",description:"When project deliverables are approved on Monday.com, automatically upload them and send clients direct download links."},{title:"Creative Asset Distribution",description:"Upload design mockups, logos, and creative assets from your boards and distribute public URLs to stakeholders."},{title:"Document Management",description:"Generate shareable URLs for c
2ontracts, proposals, and documents attached to Monday.com items for easy external sharing."},{title:"Status Update Reports",description:"Include direct file links in automated status reports that go to clients or management outside of Monday.com."}],steps:[{step:1,title:"Connect the Integration",description:"Install the Upload to URL integration from Monday.com's marketplace and connect your account."},{step:2,title:"Set Up Automations",description:"Create board automations that trigger file uploads when items are created, updated, or meet specific conditions."},{step:3,title:"Use Your URLs",description:"Generated URLs are saved back to your board items. Share them, embed them, or use them in downstream automations."}],faq:[{q:"How do I share Monday.com files with people outside my workspace?",a:"Upload the file to Upload to URL (via Zapier, Pipedream, or the upcoming native integration) and share the generated public URL. Recipients can access the file directly - no Monday.com account or board access required."},{q:"When will the Monday.com integration be available?",a:"The Monday.com integration is currently in development. Sign up for a free Upload to URL account to be notified when it launches. You can use our REST API with Monday.com's custom integrations in the meantime."},{q:"Can I use Upload to URL with Monday.com now?",a:"Yes! Connect Monday.com to Upload to URL using Zapier or Pipedream today. You can also use Monday.com's custom integration framework with our REST API."},{q:"Why can't I just share Monday.com file links?",a:"Monday.com file links typically require the recipient to have a Monday.com account and board access. Upload to URL generates public URLs that anyone can access without authentication."},{q:"What boards and item types are supported?",a:"The integration will work with all board types - main boards, shareable boards, and private boards. File columns and update attachments will both be supported."},{q:"Can I bulk-upload files from existing items?",a:"Yes. You'll be able to run bulk operations to upload files from existing board items and generate permanent URLs for all your assets."}]},clickup:{slug:"get-public-urls-for-clickup-attachments",name:"ClickUp",tagline:"Get Public URLs for ClickUp Attachments",status:"coming-soon",logoPath:"/assets/integrations/clickup-logo.png",logoFallbackColor:"from-[#7B68EE] to-[#49CCF9]",logoFallbackText:"CU",accentColor:"#7B68EE",ctaText:"Coming Soon",ctaLink:null,ctaStyle:"bg-gray-700 text-gray-400 cursor-not-allowed",meta:{title:"Get Public URLs for ClickUp Attachments - Share Task Files Externally",description:"ClickUp task attachments can't be shared outside your workspace. Upload to URL generates public, CDN-backed URLs for ClickUp files so you can share with clients, embed in docs, or use anywhere. Coming soon.",keywords:"ClickUp share attachments externally, ClickUp public file URL, ClickUp task file link, share ClickUp files with clients, ClickUp attachment public link, ClickUp file hosting external"},hero:{problem:"Need to share ClickUp task attachments with people who don't have ClickUp access?",solution:"ClickUp attachments are locked behind workspace access - clients, contractors, and external stakeholders can't view them. Upload to URL generates public, CDN-backed URLs for your ClickUp files that work everywhere. Share deliverables, screenshots, and documents with a simple link."},features:[{title:"Task-Based Automation",description:"Automatically upload attachments when tasks are created, status changes, or custom fields are updated. Runs in the background, zero manual effort."},{title:"Public File Sharing",description:"ClickUp attachments require workspace access. Upload to URL creates public links anyone can access - ideal for client-facing deliverables and external collaboration."},{title:"Workspace-Wide Support",description:"Works across all your ClickUp spaces, folders, and lists. Manage file hosting for your entire workspace from one integration."},{title:"Instant CDN Delivery",description:"Files are served from a global CDN with HTTPS. Fast loading times worldwide, whether your clients are in New York, London, or Tokyo."}],useCases:[{title:"Client Deliverable Sharing",description:'When tasks move to "Complete" status, automatically upload deliverables and share public download links with clients.'},{title:"Design Review Distribution",description:"Upload design files from ClickUp tasks and share review links with stakeholders who don't have ClickUp access."},{title:"Bug Report Documentation",description:"Upload screenshots and screen recordings from bug tickets and generate URLs for developer documentation or external bug trackers."},{title:"Knowledge Base Assets",description:"Upload documentation assets, guides, and resources from ClickUp and use the permanent URLs in your knowledge base or wiki."}],steps:[{step:1,title:"Install the Integration",description:"Add Upload to URL from ClickUp's integration marketplace and authenticate with your API key."},{step:2,title:"Configure Automations",description:"Set up ClickUp automations to trigger file uploads on task events - new attachments, status changes, or custom conditions."},{step:3,title:"Access Your URLs",description:"Uploaded file URLs are added to your tasks automatically. Use them in comments, custom fields, or downstream automations."}],faq:[{q:"How do I share ClickUp attachments with external users?",a:"Upload the attachment to Upload to URL (via Zapier, Pipedream, or the upcoming native integration) and share the generated public URL. Anyone can access it without a ClickUp account."},{q:"When will the ClickUp integration be available?",a:"The ClickUp integration is currently in development. Sign up for a free Upload to URL account to be notified when it launches. You can connect ClickUp with Upload to URL via Zapier or Pipedream right now."},{q:"Can I use Upload to URL with ClickUp today?",a:"Yes! Use Zapier or Pipedream to connect ClickUp with Upload to URL. You can trigger file uploads from ClickUp task events and store the generated URLs back in your tasks."},{q:"Why not just share ClickUp attachment links?",a:"ClickUp attachment links require the recipient to be a workspace member. Upload to URL generates public URLs that anyone can access, making external sharing and cross-tool usage seamless."},{q:"Does it work with all ClickUp plan levels?",a:"The integration will work with all ClickUp plans. You'll need a separate Upload to URL account (free tier available with 15 uploads/month)."},{q:"Can I upload files from ClickUp Docs?",a:"The initial integration will focus on task attachments. Support for ClickUp Docs assets may be added in future updates based on user demand."}]}},o=r,a=Object.fromEntries(Object.entries(r).map(e=>{let[t,n]=e;return[n.slug,t]})),i=[{slug:r.mcp.slug,name:"Model Context Protocol (MCP)",status:"available",logoPath:r.mcp.logoPath},{slug:r.n8n.slug,name:"n8n",status:"available",logoPath:r.n8n.logoPath},{slug:r.zapier.slug,name:"Zapier",status:"available",logoPath:r.zapier.logoPath},{slug:r.pipedream.slug,name:"Pipedream",status:"available",logoPath:r.pipedream.logoPath},{slug:r.make.slug,name:"Make",status:"available",logoPath:r.make.logoPath},{slug:r.airtable.slug,name:"Airtable",status:"coming-soon",logoPath:r.airtable.logoPath},{slug:r.monday.slug,name:"Monday.com",status:"coming-soon",logoPath:r.monday.logoPath},{slug:r.clickup.slug,name:"ClickUp",status:"coming-soon",logoPath:r.clickup.logoPath}]},1198(e,t,n){n.d(t,{Ay:()=>o,Kw:()=>a,j0:()=>i});const r={image:{slug:"image-to-url",name:"Image to URL",fileType:"Images",tagline:"Image to URL Converter",heroTitle:"Image to URL",heroSubtitle:"Upload your Images and Get Public URLs Instantly",description:"Get instant public URLs for your images. Convert any format into a direct CDN-backed link for your automation.",meta:{title:"Image to URL - Get Public URL for Images Instantly",description:"Need a public URL for an image? Upload your images and get direct
2CDN-backed links instantly. Perfect for n8n, Zapier, and web development.",keywords:"image to url, get url for image, convert image to link, public image url, image hosting for automation, direct image link generator"},hero:{problem:"How do you get a direct public URL for an image?",solution:"Whether you're building an automation in n8n, sending a Slack message, or embedding an image in a website, you need a reliable, direct URL. Upload your image here and get a CDN-powered link in seconds. No login walls, no redirect pages."},features:[{title:"All Formats Supported",description:"Works with JPG, PNG, GIF, JFIF, AVIF, WebP, SVG, HEIF, and more. If it's an image, we can host it."},{title:"Optimized for Speed",description:"Images are served through a global CDN, ensuring they load instantly for users worldwide."},{title:"Direct Deep Links",description:"Get a raw file URL that works in <img> tags and automation nodes without any modifications."}],faq:[{q:"What image formats are supported?",a:"We support all common image formats including JPG, PNG, GIF, JFIF, AVIF, WebP, SVG, HEIF, ICO, TIFF, and BMP."},{q:"Can I use these image URLs in my website?",a:"Yes! The URLs we provide are direct links that can be used in your HTML <img> tags, CSS files, or any web framework."},{q:"Is there an image size limit?",a:"Free accounts can upload images up to 5MB. Business accounts support up to 100MB per image (per upload)."}]},video:{slug:"video-to-url",name:"Video to URL",fileType:"Videos",tagline:"Video to URL Converter",heroTitle:"Video to URL",heroSubtitle:"Upload your Videos and Get Public URLs Instantly",description:"Host your videos and get direct, permanent links. Ideal for automation workflows, email marketing, and web embeds.",meta:{title:"Video to URL - Get Public URL for Videos Instantly",description:"Upload your videos and get direct, CDN-backed public links. Perfect for n8n, Zapier, and sharing videos without login requirements.",keywords:"video to url, get url for video, convert video to link, public video url, video hosting for automation, direct video link generator"},hero:{problem:"Need a direct, shareable URL for a video file?",solution:"Standard cloud storage links often open in a player page. Our Video to URL tool gives you a direct link to the raw video file. Use it in <video> tags, automation nodes, or share it directly for instant playback."},features:[{title:"MP4, MOV, WebM, SWF",description:"Full support for all major video containers, codecs, and flash files used in web applications."},{title:"Streaming Ready",description:"Our CDN supports byte-range requests, allowing for smooth seeking and streaming of your video files."},{title:"No Buffering Walls",description:"High-bandwidth delivery ensures your videos start playing instantly across all devices."}],faq:[{q:"What video formats are supported?",a:"We support MP4, MOV, WebM, AVI, MKV, SWF, and many other video formats."},{q:"Can I embed these videos on my site?",a:"Absolutely. Use the direct URL in a standard HTML5 <video> tag or any video player component."},{q:"What is the maximum video size?",a:"The max file size depends on your plan, ranging from 5MB (Free) to 100MB (Business) per upload. For larger videos, c
2ontact our support."}]},pdf:{slug:"pdf-to-url",name:"PDF to URL",fileType:"PDFs",tagline:"PDF to URL Converter",heroTitle:"PDF to URL",heroSubtitle:"Upload your PDFs and Get Public URLs Instantly",description:"Convert your PDF documents into shareable URLs. Perfect for document automation, digital menus, and business reporting.",meta:{title:"PDF to URL - Get Public URL for PDFs Instantly",description:"Upload your PDF documents and get direct public links. Ideal for n8n workflows, email attachments, and document sharing.",keywords:"pdf to url, get url for pdf, convert pdf to link, public pdf url, pdf hosting for automation, direct pdf link generator"},hero:{problem:"Looking for a permanent public link for your PDF documents?",solution:"Stop sending bulky email attachments. Upload your PDF and get a permanent link you can share with anyone. Perfect for invoices, reports, and menus. Works seamlessly with n8n and Make."},features:[{title:"Permanent Document Links",description:"Unlike temporary file sharing sites, our PDF links are permanent and high-availability."},{title:"Automation Friendly",description:"Easily trigger PDF uploads from your CRM or accounting software and get back a URL instantly."},{title:"Direct Browser Viewing",description:"Links open directly in the browser's native PDF viewer for a seamless user experience."}],faq:[{q:"How long do the PDF links last?",a:"On paid plans, your PDF links can be set to never expire. Free tier links last for 7 days."},{q:"Can I password protect my PDFs?",a:"While our links are public, we recommend encrypting the PDF itself if it contains sensitive information."},{q:"Does it work with n8n?",a:"Yes, it works perfectly with n8n. You can automatically upload generated PDFs and get a URL to store in your database."},{q:"What is the maximum PDF size?",a:"You can upload PDFs up to 5MB on the Free plan and up to 100MB on the Business plan (per upload)."}]},audio:{slug:"audio-to-url",name:"Audio to URL",fileType:"Audio Files",tagline:"Audio to URL Converter",heroTitle:"Audio to URL",heroSubtitle:"Upload your Audio and Get Public URLs Instantly",description:"Get instant public URLs for your audio files. Convert MP3, WAV, OGA, OGG, OPUS, M4A, MPGA, or AAC into a direct CDN-backed link for your automation.",meta:{title:"Audio to URL - Get Public URL for Audio Instantly",description:"Upload your audio files and get direct, CDN-backed public links. Perfect for n8n, Zapier, and sharing audio without login requirements.",keywords:"audio to url, get url for audio, convert audio to link, public audio url, audio hosting for automation, direct audio link generator"},hero:{problem:"Need a direct, shareable URL for an audio file?",solution:"Most storage services wrap audio in a player page. Audio to URL provides a direct link to the raw audio file, perfect for <audio> tags, podcast feeds, or automation workflows."},features:[{title:"MP3, WAV, OGA & more",description:"Supports all professional and web-ready audio formats for seamless integration."},{title:"Streaming Optimized",description:"Our CDN handles range requests, allowing users to scrub and seek through audio files instantly."},{title:"Crystal Clear Delivery",description:"High-availability infrastructure ensures your audio plays perfectly every time, everywhere."}],faq:[{q:"What audio formats are supported?",a:"We support MP3, WAV, OGA, AAC, OGG, FLAC, OPUS, M4A, and MPGA."},{q:"Can I use these for podcasts?",a:"Yes! The direct URLs are perfect for RSS feeds or embedding in custom audio players."},{q:"Is there a limit on audio length?",a:"We limit by file size (up to 100MB per upload), not duration. Most standard-length tracks fit easily."}]},html:{slug:"html-to-url",name:"HTML to URL",fileType:"HTML Files",tagline:"HTML to URL Converter & Live Web Page Hosting",heroTitle:"HTML to URL",heroSubtitle:"Upload your HTML Files and Get Live Public URLs Instantly",description:"Get instant live public URLs for your HTML files. Host single-page websites, email templates, landing pages, and interactive reports with direct CDN links.",meta:{title:"HTML to URL - Host HTML Files & Get Public URLs Instantly",description:"Need a public URL for an HTML file or single-page site? Upload your HTML and get instant, CDN-backed live links. Perfect for automations, n8n, previewing email templates, and web development.",keywords:"html to url, host html file, get url for html, convert html to link, live html link generator, publish html file, html file hosting for automation, direct html preview link"},hero:{problem:"Need to instantly host an HTML file and get a live public URL?",solution:"Whether you're rendering automated reports in n8n, sharing an interactive dashboard, testing responsive email templates, or hosting a lightweight landing page, you need a live HTTPS link. Upload your HTML file here and get a fast CDN-backed URL in seconds \u2014 served with correct MIME types for direct browser rendering."},features:[{title:"Direct Browser Rendering",description:"HTML files are served with the proper text/html Content-Type headers, rendering directly as live web pages in any browser."},{title:"Global Edge CDN Delivery",description:"Your HTML pages and web templates are distributed globally via high-speed edge CDN for instant load times."},{title:"Automation & API Ready",description:"Automate HTML report generation from n8n, Zapier, Python, or curl and get back shareable URLs instantly."},{title:"Inline Styles & Scripts",description:"Supports modern HTML5 with embedded CSS, JavaScript, SVGs, and web fonts out of the box."}],faq:[{q:"How does HTML to URL work?",a:"Upload any .html or .htm file, and we instantly store it on our secure CDN and return a direct public HTTPS URL that renders live in any browser without redirect walls."},{q:"Does it render directly in the browser or force a download?",a:"It renders directly in the browser! Our CDN serves HTML files with inline content disposition and text/html headers so visitors see your web page immediately."},{q:"Can I upload HTML generated from n8n, Zapier, or Make workflows?",a:"Yes! You can use our official n8n community node, Zapier app, or REST API to push dynamically generated HTML files and store the public URL in your database or CRM."},{q:"Can I use custom domains for my HTML pages?",a:"Yes, Pro and Business accounts can configure custom domains (e.g., links.yourdomain.com) to brand all generated HTML URLs."},{q:"What is the maximum file size for HTML uploads?",a:"Free accounts support HTML files up to 5MB, while paid plans support up to 100MB per file."}]},vcf:{slug:"vcf-to-url",name:"VCF to URL",fileType:"VCards",tagline:"VCF to URL Converter",heroTitle:"VCF to URL",heroSubtitle:"Upload your VCF files and Get Public URLs Instantly",description:"Get instant public URLs for your VCF files. Convert VCards into a direct CDN-backed link for your automation.",meta:{title:"VCF to URL - Get Public URL for VCards Instantly",description:"Upload your VCF files and get direct public links. Ideal for n8n workflows, email attachments, and contact sharing.",keywords:"vcf to url, get url for vcf, convert vcf to link, public vcf url, vcf hosting for automation, direct vcf link generator"},hero:{problem:"Need a direct, shareable URL for a VCF file?",solution:"Most storage services wrap VCards in a viewer page. VCF to URL provides a direct link to the raw VCF file, perfect for sharing contacts or automation workflows."},features:[{title:"Share Contacts Anywhere",description:"Supports standard VCF/vCard formats for seamless integration with mobile devices and email clients."},{title:"Automation Ready",description:"Easily trigger VCF uploads from your CRM and get back a URL instantly."},{title:"Lightning Fast",description:"High-availability infrastru
2cture ensures your VCF downloads perfectly every time, everywhere."}],faq:[{q:"What contact formats are supported?",a:"We support standard VCF (vCard) files."},{q:"Can I use these for email signatures?",a:"Yes! The direct URLs are perfect for linking to your vCard in email signatures."},{q:"Is there a limit on file size?",a:"We limit by file size (up to 5MB on the Free plan). Standard VCF files fit easily within this limit."}]},hex:{slug:"hex-to-url",name:"HEX to URL",fileType:"HEX Files",tagline:"HEX to URL Converter",heroTitle:"HEX to URL",heroSubtitle:"Upload your HEX files and Get Public URLs Instantly",description:"Get instant public URLs for your HEX files. Convert HEX files into a direct CDN-backed link for your automation.",meta:{title:"HEX to URL - Get Public URL for HEX Files Instantly",description:"Upload your HEX files and get direct public links. Ideal for n8n workflows, firmware distribution, and file sharing.",keywords:"hex to url, get url for hex, convert hex to link, public hex url, hex hosting for automation, direct hex link generator"},hero:{problem:"Need a direct, shareable URL for a HEX file?",solution:"Upload your HEX files and get a direct link to the raw HEX file, perfect for sharing firmware or automation workflows."},features:[{title:"Share Firmware Anywhere",description:"Supports standard HEX formats for seamless integration with IoT devices and embedded systems."},{title:"Automation Ready",description:"Easily trigger HEX uploads from your CI/CD pipeline and get back a URL instantly."},{title:"Lightning Fast",description:"High-availability infrastructure ensures your HEX file downloads perfectly every time, everywhere."}],faq:[{q:"What formats are supported?",a:"We support standard HEX files."},{q:"Can I use these for OTA updates?",a:"Yes! The direct URLs are perfect for Over-The-Air (OTA) firmware updates for IoT devices."},{q:"Is there a limit on file size?",a:"We limit by file size (up to 5MB on the Free plan). Standard HEX files fit easily within this limit."}]},srt:{slug:"srt-to-url",name:"SRT to URL",fileType:"SRT Subtitles",tagline:"SRT to URL Converter",heroTitle:"SRT to URL",heroSubtitle:"Upload your SRT subtitles and Get Public URLs Instantly",description:"Get instant public URLs for your SRT files. Convert subtitles into a direct CDN-backed link for your video players.",meta:{title:"SRT to URL - Get Public URL for Subtitles Instantly",description:"Upload your SRT subtitles and get direct public links. Ideal for n8n workflows, video players, and subtitle sharing.",keywords:"srt to url, get url for srt, convert srt to link, public srt url, subtitle hosting, direct srt link generator"},hero:{problem:"Need a direct, shareable URL for an SRT subtitle file?",solution:"Upload your SRT files and get a direct link to the raw subtitle file, perfect for video players and automation workflows."},features:[{title:"Share Subtitles Anywhere",description:"Supports standard SRT formats for seamless integration with web video players."},{title:"Automation Ready",description:"Easily trigger SRT uploads from your video processing pipeline and get back a URL instantly."},{title:"Lightning Fast",description:"High-availability infrastructure ensures your subtitles load perfectly every time, everywhere."}],faq:[{q:"What formats are supported?",a:"We support standard SRT subtitle files."},{q:"Can I use these in HTML5 video players?",a:"Yes! The direct URLs are perfect for <track> elements in HTML5 video."},{q:"Is there a limit on file size?",a:"We limit by file size (up to 5MB on the Free plan). Subtitle files fit easily within this limit."}]},vtt:{slug:"vtt-to-url",name:"VTT to URL",fileType:"VTT Subtitles",tagline:"VTT to URL Converter",heroTitle:"VTT to URL",heroSubtitle:"Upload your VTT subtitles and Get Public URLs Instantly",description:"Get instant public URLs for your VTT files. Convert WebVTT subtitles into a direct CDN-backed link for your video players.",meta:{title:"VTT to URL - Get Public URL for WebVTT Instantly",description:"Upload your VTT subtitles and get direct public links. Ideal for n8n workflows, web video players, and subtitle sharing.",keywords:"vtt to url, get url for vtt, convert vtt to link, public vtt url, webvtt hosting, direct vtt link generator"},hero:{problem:"Need a direct, shareable URL for a WebVTT file?",solution:"Upload your VTT files and get a direct link to the raw WebVTT file, perfect for HTML5 video players and automation workflows."},features:[{title:"Share Subtitles Anywhere",description:"Supports standard WebVTT formats for seamless integration with HTML5 video players."},{title:"Automation Ready",description:"Easily trigger VTT uploads from your video processing pipeline and get back a URL instantly."},{title:"Lightning Fast",description:"High-availability infrastru
2cture ensures your subtitles load perfectly every time, everywhere."}],faq:[{q:"What formats are supported?",a:"We support standard WebVTT (VTT) subtitle files."},{q:"Can I use these in HTML5 video players?",a:"Yes! The direct URLs are perfect for <track> elements in HTML5 video."},{q:"Is there a limit on file size?",a:"We limit by file size (up to 5MB on the Free plan). Subtitle files fit easily within this limit."}]},ttf:{slug:"ttf-to-url",name:"TTF to URL",fileType:"TrueType Fonts",tagline:"TTF to URL Converter",heroTitle:"TTF to URL",heroSubtitle:"Upload your TTF fonts and Get Public URLs Instantly",description:"Get instant public URLs for your TTF files. Convert TrueType fonts into a direct CDN-backed link for your web projects.",meta:{title:"TTF to URL - Get Public URL for Fonts Instantly",description:"Upload your TTF fonts and get direct public links. Ideal for web design, app development, and font sharing.",keywords:"ttf to url, get url for ttf, convert ttf to link, public ttf url, font hosting, direct ttf link generator"},hero:{problem:"Need a direct, shareable URL for a TTF font file?",solution:"Upload your TTF files and get a direct link to the raw TrueType font file, perfect for @font-face in CSS and web development."},features:[{title:"Share Fonts Anywhere",description:"Supports standard TTF formats for seamless integration with web browsers and CSS."},{title:"Development Ready",description:"Easily link your fonts directly into your stylesheets using @font-face."},{title:"Lightning Fast",description:"High-availability infrastructure ensures your fonts load perfectly every time, everywhere."}],faq:[{q:"What formats are supported?",a:"We support standard TTF (TrueType Font) files."},{q:"Can I use these in CSS?",a:"Yes! The direct URLs are perfect for @font-face declarations in your stylesheets."},{q:"Is there a limit on file size?",a:"We limit by file size (up to 5MB on the Free plan). Font files fit easily within this limit."}]}},o=r,a=Object.fromEntries(Object.entries(r).map(e=>{let[t,n]=e;return[n.slug,t]})),i=Object.values(r)},3198(e,t,n){n.d(t,{A:()=>l});var r=n(5043),o=n(5847);const a="https://uploadtourl.com",i="Upload to URL - Instant File Hosting with API Access",s="Upload files and get instant public URLs. API-first file hosting service for developers with n8n, Pipedream, Zapier, and Make integrations.";function l(){let{title:e,description:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{pathname:n}=(0,o.zy)();(0,r.useEffect)(()=>{const r=e||i,o=t||s,l=`${a}${"/"===n?"/":n}`;document.title=r;const c=(e,t,n)=>{const r=document.querySelector(e);r&&r.setAttribute(t,n)};return c('meta[name="description"]',"content",o),c('meta[property="og:title"]',"content",r),c('meta[property="og:description"]',"content",o),c('meta[property="og:url"]',"content",l),c('link[rel="canonical"]',"href",l),c('meta[name="twitter:title"]',"content",r),c('meta[name="twitter:description"]',"content",o),()=>{document.title=i,c('meta[name="description"]',"content",s),c('meta[property="og:title"]',"content",i),c('meta[property="og:description"]',"content",s),c('meta[property="og:url"]',"content",`${a}/`),c('meta[name="twitter:title"]',"content",i),c('meta[name="twitter:description"]',"content",s)}},[e,t,n])}},9766(e,t,n){n.d(t,{cn:()=>Se});var r=n(8387);const o=function(){return{nextPart:arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map,validators:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,classGroupId:arguments.length>2?arguments[2]:void 0}},a="-",i=[],s=e=>{const t=u(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return c(e);const n=e.split(a),r=""===n[0]&&n.length>1?1:0;return l(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],o=n[e];return t?o?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(o,t):t:o||i}return n[e]||i}}},l=(e,t,n)=>{if(0===e.length-t)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const n=l(e,t+1,o);if(n)return n}const i=n.validators;if(null===i)return;const s=0===t?e.join(a):e.slice(t).join(a),c=i.length;for(let a=0;a<c;a++){const e=i[a];if(e.validator(s))return e.classGroupId}},c=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),u=e=>{const{theme:t,classGroups:n}=e;return d(n,t)},d=(e,t)=>{const n=o();for(const r in e){const o=e[r];p(o,n,r,t)}return n},p=(e,t,n,r)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];f(o,t,n,r)}},f=(e,t,n,r)=>{"string"!==typeof e?"function"!==typeof e?g(e,t,n,r):m(e,t,n,r):h(e,t,n)},h=(e,t,n)=>{(""===e?t:y(t,e)).classGroupId=n},m=(e,t,n,r)=>{b(e)?p(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},g=(e,t,n,r)=>{const o=Object.entries(e),a=o.length;for(let i=0;i<a;i++){const[e,a]=o[i];p(a,y(t,e),n,r)}},y=(e,t)=>{let n=e;const r=t.split(a),i=r.length;for(let a=0;a<i;a++){const e=r[a];let t=n.nextPart.get(e);t||(t=o(),n.nextPart.set(e,t)),n=t}return n},b=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,v=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(o,a)=>{n[o]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(o(e,t),t):void 0},set(e,t){e in n?n[e]=t:o(e,t)}}},w=[],x=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),k=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u];if(0===r&&0===o){if(":"===i){t.push(e.slice(a,u)),a=u+1;continue}if("/"===i){n=u;continue}}"["===i?r++:"]"===i?r--:"("===i?o++:")"===i&&o--}const s=0===t.length?e:e.slice(a);let l=s,c=!1;s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0);return x(t,c,l,n&&n>a?n-a:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):x(w,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},S=e=>{const t=new Map;
vendor: 4,562 bytes, line 2
2return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let o=0;o<e.length;o++){const a=e[o],i="["===a[0],s=t.has(a);i||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},C=/\s+/,E=e=>{if("string"===typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=E(e[r]))&&(n&&(n+=" "),n+=t);return n},j=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let o,a,i,l;const c=e=>{const t=a(e);if(t)return t;const n=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],s=e.trim().split(C);let l="";for(let c=s.length-1;c>=0;c-=1){const e=s[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let h=!!f,m=r(h?p.substring(0,f):p);if(!m){if(!h){l=e+(l.length>0?" "+l:l);continue}if(m=r(p),!m){l=e+(l.length>0?" "+l:l);continue}h=!1}const g=0===u.length?"":1===u.length?u[0]:a(u).join(":"),y=d?g+"!":g,b=y+m;if(i.indexOf(b)>-1)continue;i.push(b);const v=o(m,h);for(let n=0;n<v.length;++n){const e=v[n];i.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(e,o);return i(e,n),n};return l=t=>{const r=n.reduce((e,t)=>t(e),e());return o=(e=>({cache:v(e.cacheSize),parseClassName:k(e),sortModifiers:S(e),...s(e)}))(r),a=o.cache.get,i=o.cache.set,l=c,c(t)},function(){return l(function(){let e,t,n=0,r="";for(;n<arguments.length;){var o;(e=(o=n++)<0||arguments.length<=o?void 0:arguments[o])&&(t=E(e))&&(r&&(r+=" "),r+=t)}return r}(...arguments))}},N=[],P=e=>{const t=t=>t[e]||N;return t.isThemeGetter=!0,t},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,A=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,L=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,I=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>A.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),D=e=>!!e&&Number.isInteger(Number(e)),z=e=>e.endsWith("%")&&F(e.slice(0,-1)),$=e=>T.test(e),B=()=>!0,W=e=>L.test(e)&&!U.test(e),q=()=>!1,H=e=>I.test(e),V=e=>M.test(e),G=e=>!Y(e)&&!re(e),K=e=>de(e,me,q),Y=e=>R.test(e),Q=e=>de(e,ge,W),Z=e=>de(e,ye,F),X=e=>de(e,ve,B),J=e=>de(e,be,q),ee=e=>de(e,fe,q),te=e=>de(e,he,V),ne=e=>de(e,we,H),re=e=>_.test(e),oe=e=>pe(e,ge),ae=e=>pe(e,be),ie=e=>pe(e,fe),se=e=>pe(e,me),le=e=>pe(e,he),ce=e=>pe(e,we,!0),ue=e=>pe(e,ve,!0),de=(e,t,n)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},pe=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=_.exec(e);return!!r&&(r[1]?t(r[1]):n)},fe=e=>"position"===e||"percentage"===e,he=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,ge=e=>"length"===e,ye=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"number"===e||"weight"===e,we=e=>"shadow"===e,xe=(Symbol.toStringTag,()=>{const e=P("color"),t=P("font"),n=P("text"),r=P("font-weight"),o=P("tracking"),a=P("leading"),i=P("breakpoint"),s=P("container"),l=P("spacing"),c=P("radius"),u=P("shadow"),d=P("inset-shadow"),p=P("text-shadow"),f=P("drop-shadow"),h=P("blur"),m=P("perspective"),g=P("aspect"),y=P("ease"),b=P("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,Y],w=()=>[re,Y,l],x=()=>[O,"full","auto",...w()],k=()=>[D,"none","subgrid",re,Y],S=()=>["auto",{span:["full",D,re,Y]},D,re,Y],C=()=>[D,"auto",re,Y],E=()=>["auto","min","max","fr",re,Y],j=()=>["auto",...w()],N=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],R=()=>[O,"screen","full","dvw","lvw","svw","min","max","fit",...w()],_=()=>[O,"screen","full","lh","dvh","lvh","svh","min","max","fit",...w()],A=()=>[e,re,Y],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ie,ee,{position:[re,Y]}],L=()=>["auto","cover","contain",se,K,{size:[re,Y]}],U=()=>[z,oe,Q],I=()=>["","none","full",c,re,Y],M=()=>["",F,oe,Q],W=()=>[F,z,ie,ee],q=()=>["","none",h,re,Y],H=()=>["none",F,re,Y],V=()=>["none",F,re,Y],de=()=>[F,re,Y],pe=()=>[O,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[B],c
vendor: 6,294 bytes, line 2
2ontainer:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[G],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",F],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,Y,re,g]}],container:["container"],columns:[{columns:[F,Y,re,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[D,"auto",re,Y]}],basis:[{basis:[O,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,O,"auto","initial","none",Y]}],grow:[{grow:["",F,re,Y]}],shrink:[{shrink:["",F,re,Y]}],order:[{order:[D,"first","last","none",re,Y]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",..._()]}],"min-block-size":[{"min-block":["auto",..._()]}],"max-block-size":[{"max-block":["none",..._()]}],w:[{w:[s,"screen",...N()]}],"min-w":[{"min-w":[s,"screen","none",...N()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",n,oe,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ue,X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",z,Y]}],"font-family":[{font:[ae,J,t]}],"font-features":[{"font-features":[Y]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,re,Y]}],"line-clamp":[{"line-clamp":[F,"none",re,Z]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",re,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","
2wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",re,Q]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[F,"auto",re,Y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},D,re,Y],radial:["",re,Y],conic:[D,re,Y]},le,te]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-bs":[{"border-bs":M()}],"border-w-be":[{"border-be":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}
vendor: 6,921 bytes, line 2
2],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-bs":[{"border-bs":A()}],"border-color-be":[{"border-be":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[F,re,Y]}],"outline-w":[{outline:["",F,oe,Q]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[F,Q]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[F,re,Y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[re,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,Y]}],filter:[{filter:["","none",re,Y]}],blur:[{blur:q()}],brightness:[{brightness:[F,re,Y]}],contrast:[{contrast:[F,re,Y]}],"drop-shadow":[{"drop-shadow":["","none",f,ce,ne]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",F,re,Y]}],"hue-rotate":[{"hue-rotate":[F,re,Y]}],invert:[{invert:["",F,re,Y]}],saturate:[{saturate:[F,re,Y]}],sepia:[{sepia:["",F,re,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",re,Y]}],"backdrop-blur":[{"backdrop-blur":q()}],"backdrop-brightness":[{"backdrop-brightness":[F,re,Y]}],"backdrop-contrast":[{"backdrop-contrast":[F,re,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,re,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,re,Y]}],"backdrop-invert":[{"backdrop-invert":["",F,re,Y]}],"backdrop-opacity":[{"backdrop-opacity":[F,re,Y]}],"backdrop-saturate":[{"backdrop-saturate":[F,re,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",F,re,Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",re,Y]}],ease:[{ease:["linear","initial",y,re,Y]}],delay:[{delay:[F,re,Y]}],animate:[{animate:["none",b,re,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,re,Y]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:H()}],"rotate-x":[{"rotate-x":H()}],"rotate-y":[{"rotate-y":H()}],"rotate-z":[{"rotate-z":H()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[re,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}
2],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,Y]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,Y]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[F,oe,Q,Z]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),ke=j(xe);function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ke((0,r.$)(t))}},5754(e,t,n){n.d(t,{Eq:()=>u});var r=function(e){return"undefined"===typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,a=new WeakMap,i={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},c=function(e,t,n,r){var c=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=l(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);i[n]||(i[n]=new WeakMap);var u=i[n],d=[],p=new Set,f=new Set(c),h=function(e){e&&!p.has(e)&&(p.add(e),h(e.parentNode))};
2c.forEach(h);var m=function(e){e&&!f.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(p.has(e))m(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,s=(o.get(e)||0)+1,l=(u.get(e)||0)+1;o.set(e,s),u.set(e,l),d.push(e),1===s&&i&&a.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(c){console.error("aria-hidden: cannot operate on ",e,c)}})};return m(t),p.clear(),s++,function(){d.forEach(function(e){var t=o.get(e)-1,i=u.get(e)-1;o.set(e,t),u.set(e,i),t||(a.has(e)||e.removeAttribute(r),a.delete(e)),i||e.removeAttribute(n)}),--s||(o=new WeakMap,o=new WeakMap,a=new WeakMap,i={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),a=t||r(e);return a?(o.push.apply(o,Array.from(a.querySelectorAll("[aria-live], script"))),c(o,a,n,"aria-hidden")):function(){return null}}},1212(e,t,n){n.d(t,{A:()=>c});var r=n(5043);const o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},a=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const s=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:u="",children:d,iconNode:p,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:n,strokeWidth:c?24*Number(l)/Number(a):l,className:o("lucide",u),...!d&&!s(f)&&{"aria-hidden":"true"},...f},[...p.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{const n=(0,r.forwardRef)((n,i)=>{let{className:s,...c}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o(`lucide-${u=a(e),u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...c});var u});return n.displayName=a(e),n}},5692(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},2626(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},4939(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},6210(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},2382(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},8326(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},7819(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},5088(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},2105(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]])},2313(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},1680(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])}
2,5731(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},7856(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},7737(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]])},5258(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},5040(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},5727(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},5327(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},2983(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])},59(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},8306(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},2489(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},6099(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
2],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},3944(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},9350(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},3512(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},797(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},614(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},73(e,t,n){n.d(t,{A:()=>r});const r=(0,n(1212).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},7004(e,t,n){var r=n(8853),o=n(5043),a=n(7950);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function u(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(i(188))}function p(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=p(e)))return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),k=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope");var P=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var R=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var _=Symbol.iterator;function A(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=_&&e[_]||e["@@iterator"])?e:null}var T=Symbol.for("react.client.reference");function L(e){if(null==e)return null;if("function"===typeof e)return e.$$typeof===T?null:e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case b:return"Fragment";case w:return"Profiler";case v:return"StrictMode";case C:return"Suspense";case E:return"SuspenseList";case P:return"Activity"}if("object"===typeof e)switch(e.$$typeof){case y:return"Portal";case k:return e.displayName||"Context";case x:return(e._context.displayName||"Context")+".Consumer";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:L(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return L(e(t))}catch(h){}}return null}var U=Array.isArray,I=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O={pending:!1,data:null,method:null,action:null},F=[],D=-1;function z(e){return{current:e}}function $(e){0>D||(e.current=F[D],F[D]=null,D--)}function B(e,t){D++,F[D]=e.current,e.current=t}var W,q,H=z(null),V=z(null),G=z(null),K=z(null);function Y(e,t){switch(B(G,t),B(V,e),B(H,null),t.nodeType){case 9:case 11:e=(e
vendor: 4,845 bytes, line 2
2=t.documentElement)&&(e=e.namespaceURI)?vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=wd(t=vd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$(H),B(H,e)}function Q(){$(H),$(V),$(G)}function Z(e){null!==e.memoizedState&&B(K,e);var t=H.current,n=wd(t,e.type);t!==n&&(B(V,e),B(H,n))}function X(e){V.current===e&&($(H),$(V)),K.current===e&&($(K),pp._currentValue=O)}function J(e){if(void 0===W)try{throw Error()}catch(h){var t=h.stack.trim().match(/\n( *(at )?)/);W=t&&t[1]||"",q=-1<h.stack.indexOf("\n at")?" (<anonymous>)":-1<h.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+W+e+q}var ee=!1;function te(e,t){if(!e||ee)return"";ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(h){var r=h}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"===typeof n.catch&&n.catch(function(){})}}catch(i){if(i&&r&&"string"===typeof i.stack)return[i.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],s=a[1];if(i&&s){var l=i.split("\n"),c=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===c.length)for(r=l.length-1,o=c.length-1;1<=r&&0<=o&&l[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==c[o]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=o);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?J(n):""}function ne(e,t){switch(e.tag){case 26:case 27:case 5:return J(e.type);case 16:return J("Lazy");case 13:return e.child!==t&&null!==t?J("Suspense Fallback"):J("Suspense");case 19:return J("SuspenseList");case 0:case 15:return te(e.type,!1);case 11:return te(e.type.render,!1);case 1:return te(e.type,!0);case 31:return J("Activity");default:return""}}function re(e){try{var t="",n=null;do{t+=ne(e,n),n=e,e=e.return}while(e);return t}catch(h){return"\nError generating stack: "+h.message+"\n"+h.stack}}var oe=Object.prototype.hasOwnProperty,ae=r.unstable_scheduleCallback,ie=r.unstable_cancelCallback,se=r.unstable_shouldYield,le=r.unstable_requestPaint,ce=r.unstable_now,ue=r.unstable_getCurrentPriorityLevel,de=r.unstable_ImmediatePriority,pe=r.unstable_UserBlockingPriority,fe=r.unstable_NormalPriority,he=r.unstable_LowPriority,me=r.unstable_IdlePriority,ge=r.log,ye=r.unstable_setDisableYieldValue,be=null,ve=null;function we(e){if("function"===typeof ge&&ye(e),ve&&"function"===typeof ve.setStrictMode)try{ve.setStrictMode(be,e)}catch(t){}}var xe=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ke(e)/Se|0)|0},ke=Math.log,Se=Math.LN2;var Ce=256,Ee=262144,je=4194304;function Ne(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Pe(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~a)?o=Ne(r):0!==(i&=s)?o=Ne(i):n||0!==(n=s&~e)&&(o=Ne(n)):0!==(s=r&~a)?o=Ne(s):0!==i?o=Ne(i):n||0!==(n=r&~e)&&(o=Ne(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&0!==(4194048&n))?t:o}function Re(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function _e(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ae(){var e=je;return 0===(62914560&(je<<=1))&&(je=4194304),e}function Te(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
2function Le(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ue(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-xe(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Ie(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xe(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Me(e,t){var n=t&-t;return 0!==((n=0!==(42&n)?1:Oe(n))&(e.suspendedLanes|t))?0:n}function Oe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Fe(e){return 2<(e&=-e)?8<e?0!==(134217727&e)?32:268435456:8:2}function De(){var e=M.p;return 0!==e?e:void 0===(e=window.event)?32:Pp(e.type)}function ze(e,t){var n=M.p;try{return M.p=e,t()}finally{M.p=n}}var $e=Math.random().toString(36).slice(2),Be="__reactFiber$"+$e,We="__reactProps$"+$e,qe="__reactContainer$"+$e,He="__reactEvents$"+$e,Ve="__reactListeners$"+$e,Ge="__reactHandles$"+$e,Ke="__reactResources$"+$e,Ye="__reactMarker$"+$e;function Qe(e){delete e[Be],delete e[We],delete e[He],delete e[Ve],delete e[Ge]}function Ze(e){var t=e[Be];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qe]||n[Be]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Fd(e);null!==e;){if(n=e[Be])return n;e=Fd(e)}return t}n=(e=n).parentNode}return null}function Xe(e){if(e=e[Be]||e[qe]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Je(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function et(e){var t=e[Ke];return t||(t=e[Ke]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[Ye]=!0}var nt=new Set,rt={};function ot(e,t){at(e,t),at(e+"Capture",t)}function at(e,t){for(rt[e]=t,e=0;e<t.length;e++)nt.add(t[e])}var it=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),st={},lt={};function ct(e,t,n){if(o=t,oe.call(lt,o)||!oe.call(st,o)&&(it.test(o)?lt[o]=!0:(st[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function ut(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function dt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function pt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ft(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){if(!e._valueTracker){var t=ft(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function mt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ft(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function gt(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var yt=/[\n"\\]/g;function bt(e){return e.replace(yt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vt(e,t,n,r,o,a,i,s){e.name="",null!=i&&"function"!==typeof i&&"symbol"!==typeof i&&"boolean"!==typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+pt(t)):e.value!==""+pt(t)&&(e.value=""+pt(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?xt(e,i,pt(t)):null!=n?xt(e,i,pt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!==typeof o&&"symbol"!==typeof o),null!=s&&"function"!==typeof s&&"symbol"!==typeof s&&"boolean"!==typeof s?e.name=""+pt(s):e.removeAttribute("name")}function wt(e,t,n,r,o,a,i,s){if(null!=a&&"function"!==typeof a&&"symbol"!==typeof a&&"boolean"!==typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||void 0!==t&&null!==t))return void ht(e);n=null!=n?""+pt(n):"",t=null!=t?""+pt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!==typeof(r=null!=r?r:o)&&"symbol"!==typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!==typeof i&&"symbol"!==typeof i&&"boolean"!==typeof i&&(e.name=i),ht(e)}function xt(e,t,n){"number"===t&>(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function kt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+pt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function St(e,t,n){null==t||((t=""+pt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+pt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ct(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(U(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=pt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),ht(e)}function Et(e,t){if(t){var n=e.firstChild;
2if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var jt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Nt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"===typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!==typeof n||0===n||jt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Pt(e,t,n){if(null!=t&&"object"!==typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&Nt(e,o,r)}else for(var a in t)t.hasOwnProperty(a)&&Nt(e,a,t[a])}function Rt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _t=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),At=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Tt(e){return At.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lt(){}var Ut=null;function It(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Mt=null,Ot=null;function Ft(e){var t=Xe(e);if(t&&(e=t.stateNode)){var n=e[We]||null;e:switch(e=t.stateNode,t.type){case"input":if(vt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+bt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[We]||null;if(!o)throw Error(i(90));vt(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&mt(r)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&kt(e,!!n.multiple,t,!1)}}}var Dt=!1;function zt(e,t,n){if(Dt)return e(t,n);Dt=!0;try{return e(t)}finally{if(Dt=!1,(null!==Mt||null!==Ot)&&(tu(),Mt&&(t=Mt,e=Ot,Ot=Mt=null,Ft(t),e)))for(t=0;t<e.length;t++)Ft(e[t])}}function $t(e,t){var n=e.stateNode;if(null===n)return null;var r=n[We]||null;if(null===r)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)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Bt=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Wt=!1;if(Bt)try{var qt={};Object.defineProperty(qt,"passive",{get:function(){Wt=!0}}),window.addEventListener("test",qt,qt),window.removeEventListener("test",qt,qt)}catch(Jp){Wt=!1}var Ht=null,Vt=null,Gt=null;function Kt(){if(Gt)return Gt;var e,t,n=Vt,r=n.length,o="value"in Ht?Ht.value:Ht.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Gt=o.slice(e,1<t?1-t:void 0)}function Yt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Qt(){return!0}function Zt(){return!1}function Xt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Qt:Zt,this.isPropagationStopped=Zt,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qt)},persist:function(){},isPersistent:Qt}),t}var Jt,en,tn,nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rn=Xt(nn),on=f({},nn,{view:0,detail:0}),an=Xt(on),sn=f({},on,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,410 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tn&&(tn&&"mousemove"===e.type?(Jt=e.screenX-tn.screenX,en=e.screenY-tn.screenY):en=Jt=0,tn=e),Jt)},movementY:function(e){return"movementY"in e?e.movementY:en}}),ln=Xt(sn),cn=Xt(f({},sn,{dataTransfer:0})),un=Xt(f({},on,{relatedTarget:0})),dn=Xt(f({},nn,{animationName:0,elapsedTime:0,pseudoElement:0})),pn=Xt(f({},nn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=Xt(f({},nn,{data:0})),hn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mn={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"},gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gn[e])&&!!t[e]}function bn(){return yn}var vn=f({},on,{key:function(e){if(e.key){var t=hn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?mn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bn,charCode:function(e){return"keypress"===e.type?Yt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),wn=Xt(vn),xn=Xt(f({},sn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=Xt(f({},on,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bn})),Sn=Xt(f({},nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=Xt(f({},sn,{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})),En=Xt(f({},nn,{newState:0,oldState:0})),jn=[9,13,27,32],Nn=Bt&&"CompositionEvent"in window,Pn=null;Bt&&"documentMode"in document&&(Pn=document.documentMode);var Rn=Bt&&"TextEvent"in window&&!Pn,_n=Bt&&(!Nn||Pn&&8<Pn&&11>=Pn),An=String.fromCharCode(32),Tn=!1;function Ln(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var In=!1;var Mn={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 On(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Mn[e.type]:"textarea"===t}function Fn(e,t,n,r){Mt?Ot?Ot.push(r):Ot=[r]:Mt=r,0<(t=ad(t,"onChange")).length&&(n=new rn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Dn=null,zn=null;function $n(e){Zu(e,0)}function Bn(e){if(mt(Je(e)))return e}function Wn(e,t){if("change"===e)return t}var qn=!1;if(Bt){var Hn;if(Bt){var Vn="oninput"in document;if(!Vn){var Gn=document.createElement("div");Gn.setAttribute("oninput","return;"),Vn="function"===typeof Gn.oninput}Hn=Vn}else Hn=!1;qn=Hn&&(!document.documentMode||9<document.documentMode)}function Kn(){Dn&&(Dn.detachEvent("onpropertychange",Yn),zn=Dn=null)}function Yn(e){if("value"===e.propertyName&&Bn(zn)){var t=[];Fn(t,zn,e,It(e)),zt($n,t)}}function Qn(e,t,n){"focusin"===e?(Kn(),zn=n,(Dn=t).attachEvent("onpropertychange",Yn)):"focusout"===e&&Kn()}function Zn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Bn(zn)}function Xn(e,t){if("click"===e)return Bn(t)}function Jn(e,t){if("input"===e||"change"===e)return Bn(t)}var er="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function tr(e,t){if(er(e,t))return!0;
vendor: 4,633 bytes, line 2
2if("object"!==typeof e||null===e||"object"!==typeof t||null===t)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 o=n[r];if(!oe.call(t,o)||!er(e[o],t[o]))return!1}return!0}function nr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rr(e,t){var n,r=nr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nr(r)}}function or(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?or(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ar(e){for(var t=gt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=gt((e=t.contentWindow).document)}return t}function ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var sr=Bt&&"documentMode"in document&&11>=document.documentMode,lr=null,cr=null,ur=null,dr=!1;function pr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;dr||null==lr||lr!==gt(r)||("selectionStart"in(r=lr)&&ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ur&&tr(ur,r)||(ur=r,0<(r=ad(cr,"onSelect")).length&&(t=new rn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=lr)))}function fr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var hr={animationend:fr("Animation","AnimationEnd"),animationiteration:fr("Animation","AnimationIteration"),animationstart:fr("Animation","AnimationStart"),transitionrun:fr("Transition","TransitionRun"),transitionstart:fr("Transition","TransitionStart"),transitioncancel:fr("Transition","TransitionCancel"),transitionend:fr("Transition","TransitionEnd")},mr={},gr={};function yr(e){if(mr[e])return mr[e];if(!hr[e])return e;var t,n=hr[e];for(t in n)if(n.hasOwnProperty(t)&&t in gr)return mr[e]=n[t];return e}Bt&&(gr=document.createElement("div").style,"AnimationEvent"in window||(delete hr.animationend.animation,delete hr.animationiteration.animation,delete hr.animationstart.animation),"TransitionEvent"in window||delete hr.transitionend.transition);var br=yr("animationend"),vr=yr("animationiteration"),wr=yr("animationstart"),xr=yr("transitionrun"),kr=yr("transitionstart"),Sr=yr("transitioncancel"),Cr=yr("transitionend"),Er=new Map,jr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Er.set(e,t),ot(t,[e])}jr.push("scrollEnd");var Pr="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Rr=[],_r=0,Ar=0;function Tr(){for(var e=_r,t=Ar=_r=0;t<e;){var n=Rr[t];Rr[t++]=null;var r=Rr[t];Rr[t++]=null;var o=Rr[t];Rr[t++]=null;var a=Rr[t];if(Rr[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Mr(n,o,a)}}function Lr(e,t,n,r){Rr[_r++]=e,Rr[_r++]=t,Rr[_r++]=n,Rr[_r++]=r,Ar|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ur(e,t,n,r){return Lr(e,t,n,r),Or(e)}function Ir(e,t){return Lr(e,null,null,t),Or(e)}function Mr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;
vendor: 12,963 bytes, line 2
2)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-xe(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Or(e){if(50<Vc)throw Vc=0,Gc=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Fr={};function Dr(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.refCleanup=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 zr(e,t,n,r){return new Dr(e,t,n,r)}function $r(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Br(e,t){var n=e.alternate;return null===n?((n=zr(e.tag,t,e.key,e.mode)).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=65011712&e.flags,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=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Wr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qr(e,t,n,r,o,a){var s=0;if(r=e,"function"===typeof e)$r(e)&&(s=1);else if("string"===typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!==typeof t.precedence||"string"!==typeof t.href||""===t.href)break;return!0;case"link":if("string"!==typeof t.rel||"string"!==typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"===typeof t.precedence&&null==e);case"script":if(t.async&&"function"!==typeof t.async&&"symbol"!==typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"===typeof t.src)return!0}return!1}(e,n,H.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case P:return(e=zr(31,n,t,o)).elementType=P,e.lanes=a,e;case b:return Hr(n.children,o,a,t);case v:s=8,o|=24;break;case w:return(e=zr(12,n,t,2|o)).elementType=w,e.lanes=a,e;case C:return(e=zr(13,n,t,o)).elementType=C,e.lanes=a,e;case E:return(e=zr(19,n,t,o)).elementType=E,e.lanes=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case x:s=9;break e;case S:s=11;break e;case j:s=14;break e;case N:s=16,r=null;break e}s=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=zr(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Hr(e,t,n,r){return(e=zr(7,e,r,t)).lanes=n,e}function Vr(e,t,n){return(e=zr(6,e,null,t)).lanes=n,e}function Gr(e){var t=zr(18,null,null,0);return t.stateNode=e,t}function Kr(e,t,n){return(t=zr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Yr=new WeakMap;function Qr(e,t){if("object"===typeof e&&null!==e){var n=Yr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:re(t)},Yr.set(e,t),t)}return{value:e,source:t,stack:re(t)}}var Zr=[],Xr=0,Jr=null,eo=0,to=[],no=0,ro=null,oo=1,ao="";function io(e,t){Zr[Xr++]=eo,Zr[Xr++]=Jr,Jr=e,eo=t}function so(e,t,n){to[no++]=oo,to[no++]=ao,to[no++]=ro,ro=e;var r=oo;e=ao;var o=32-xe(r)-1;r&=~(1<<o),n+=1;var a=32-xe(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,oo=1<<32-xe(t)+o|n<<o|r,ao=a+e}else oo=1<<a|n<<o|r,ao=e}function lo(e){null!==e.return&&(io(e,1),so(e,1,0))}function co(e){for(;e===Jr;)Jr=Zr[--Xr],Zr[Xr]=null,eo=Zr[--Xr],Zr[Xr]=null;for(;e===ro;)ro=to[--no],to[no]=null,ao=to[--no],to[no]=null,oo=to[--no],to[no]=null}function uo(e,t){to[no++]=oo,to[no++]=ao,to[no++]=ro,oo=t.id,ao=t.overflow,ro=e}var po=null,fo=null,ho=!1,mo=null,go=!1,yo=Error(i(519));function bo(e){throw Co(Qr(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),yo}function vo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Be]=e,t[We]=r,n){case"dialog":Xu("cancel",t),Xu("close",t);break;case"iframe":case"object":case"embed":Xu("load",t);break;case"video":case"audio":for(n=0;n<Yu.length;n++)Xu(Yu[n],t);break;case"source":Xu("error",t);break;case"img":case"image":case"link":Xu("error",t),Xu("load",t);break;case"details":Xu("toggle",t);break;case"input":Xu("invalid",t),wt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Xu("invalid",t);break;case"textarea":Xu("invalid",t),Ct(t,r.value,r.defaultValue,r.children)}"string"!==typeof(n=r.children)&&"number"!==typeof n&&"bigint"!==typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||dd(t.textContent,n)?(null!=r.popover&&(Xu("beforetoggle",t),Xu("toggle",t)),null!=r.onScroll&&Xu("scroll",t),null!=r.onScrollEnd&&Xu("scrollend",t),null!=r.onClick&&(t.onclick=Lt),t=!0):t=!1,t||bo(e,!0)}function wo(e){for(po=e.return;po;)switch(po.tag){case 5:case 31:case 13:return void(go=!1);case 27:case 3:return void(go=!0);default:po=po.return}}function xo(e){if(e!==po)return!1;if(!ho)return wo(e),ho=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||xd(e.type,e.memoizedProps)),t=!t),t&&fo&&bo(e),wo(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));fo=Od(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));fo=Od(e)}else 27===n?(n=fo,Pd(e.type)?(e=Md,Md=null,fo=e):fo=n):fo=po?Id(e.stateNode.nextSibling):null;return!0}function ko(){fo=po=null,ho=!1}function So(){var e=mo;return null!==e&&(null===Tc?Tc=e:Tc.push.apply(Tc,e),mo=null),e}function Co(e){null===mo?mo=[e]:mo.push(e)}var Eo=z(null),jo=null,No=null;function Po(e,t,n){B(Eo,t._currentValue),t._currentValue=n}function Ro(e){e._currentValue=Eo.current,$(Eo)}function _o(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ao(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),_o(a.return,n,e),r||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),_o(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function To(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(0!==(524288&o.flags))a=!0;else if(0!==(262144&o.flags))break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var l=o.type;er(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===K.current){if(null===(s=o.alternate))throw Error(i(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(pp):e=[pp])}o=o.return}null!==e&&Ao(t,e,n,r),t.flags|=262144}function Lo(e){for(e=e.firstContext;null!==e;){if(!er(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Uo(e){jo=e,No=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Io(e){return Oo(jo,e)}function Mo(e,t){return null===jo&&Uo(e),Oo(e,t)}function Oo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===No){if(null===e)throw Error(i(308));No=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else No=No.next=t;return n}var Fo="undefined"!==typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Do=r.unstable_scheduleCallback,zo=r.unstable_NormalPriority,$o={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bo(){return{controller:new Fo,data:new Map,refCount:0}}function Wo(e){e.refCount--,0===e.refCount&&Do(zo,function(){e.controller.abort()})}var qo=null,Ho=0,Vo=0,Go=null;function Ko(){if(0===--Ho&&null!==qo){null!==Go&&(Go.status="fulfilled");var e=qo;qo=null,Vo=0,Go=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Yo=I.S;I.S=function(e,t){Ic=ce(),"object"===typeof t&&null!==t&&"function"===typeof t.then&&function(e,t){if(null===qo){var n=qo=[];Ho=0,Vo=qu(),Go={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ho++,t.then(Ko,Ko)}(0,t),null!==Yo&&Yo(e,t)};var Qo=z(null);function Zo(){var e=Qo.current;return null!==e?e:gc.pooledCache}function Xo(e,t){B(Qo,null===t?Qo.current:t.pool)}function Jo(){var e=Zo();return null===e?null:{parent:$o._currentValue,pool:e}}var ea=Error(i(460)),ta=Error(i(474)),na=Error(i(542)),ra={then:function(){}};function oa(e){return"fulfilled"===(e=e.status)||"rejected"===e}function aa(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Lt,Lt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw ca(e=t.reason),e;default:if("string"===typeof t.status)t.then(Lt,Lt);else{if(null!==(e=gc)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw ca(e=t.reason),e}throw sa=t,ea}}function ia(e){try{return(0,e._init)(e._payload)}catch(h){if(null!==h&&"object"===typeof h&&"function"===typeof h.then)throw sa=h,ea;throw h}}var sa=null;function la(){if(null===sa)throw Error(i(459));var e=sa;return sa=null,e}function ca(e){if(e===ea||e===na)throw Error(i(483))}var ua=null,da=0;function pa(e){var t=da;return da+=1,null===ua&&(ua=[]),aa(ua,e,t)}function fa(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ha(e,t){if(t.$$typeof===m)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ma(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Br(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===b?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===N&&ia(a)===t.type)?(fa(t=o(t,n.props),n),t.return=e,t):(fa(t=qr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Kr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Hr(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t||"bigint"===typeof t)return(t=Vr(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case g:return fa(n=qr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case y:return(t=Kr(t,e.mode,n)).return=e,t;case N:return p(e,t=ia(t),n)}if(U(t)||A(t))return(t=Hr(t,e.mode,n,null)).return=e,t;if("function"===typeof t.then)return p(e,pa(t),n);if(t.$$typeof===k)return p(e,Mo(e,t),n);ha(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n||"bigint"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case g:return n.key===o?c(e,t,n,r):null;case y:return n.key===o?u(e,t,n,r):null;case N:return f(e,t,n=ia(n),r)}if(U(n)||A(n))return null!==o?null:d(e,t,n,r,null);if("function"===typeof n.then)return f(e,t,pa(n),r);
2if(n.$$typeof===k)return f(e,t,Mo(e,n),r);ha(e,n)}return null}function m(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r||"bigint"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return m(e,t,n,r=ia(r),o)}if(U(r)||A(r))return d(t,e=e.get(n)||null,r,o,null);if("function"===typeof r.then)return m(e,t,n,pa(r),o);if(r.$$typeof===k)return m(e,t,n,Mo(t,r),o);ha(t,r)}return null}function v(l,c,u,d){if("object"===typeof u&&null!==u&&u.type===b&&null===u.key&&(u=u.props.children),"object"===typeof u&&null!==u){switch(u.$$typeof){case g:e:{for(var h=u.key;null!==c;){if(c.key===h){if((h=u.type)===b){if(7===c.tag){n(l,c.sibling),(d=o(c,u.props.children)).return=l,l=d;break e}}else if(c.elementType===h||"object"===typeof h&&null!==h&&h.$$typeof===N&&ia(h)===c.type){n(l,c.sibling),fa(d=o(c,u.props),u),d.return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===b?((d=Hr(u.props.children,l.mode,d,u.key)).return=l,l=d):(fa(d=qr(u.type,u.key,u.props,null,l.mode,d),u),d.return=l,l=d)}return s(l);case y:e:{for(h=u.key;null!==c;){if(c.key===h){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(d=o(c,u.children||[])).return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}(d=Kr(u,l.mode,d)).return=l,l=d}return s(l);case N:return v(l,c,u=ia(u),d)}if(U(u))return function(o,i,s,l){for(var c=null,u=null,d=i,h=i=0,g=null;null!==d&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=f(o,d,s[h],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,h),null===u?c=y:u.sibling=y,u=y,d=g}if(h===s.length)return n(o,d),ho&&io(o,h),c;if(null===d){for(;h<s.length;h++)null!==(d=p(o,s[h],l))&&(i=a(d,i,h),null===u?c=d:u.sibling=d,u=d);return ho&&io(o,h),c}for(d=r(d);h<s.length;h++)null!==(g=m(d,o,h,s[h],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=a(g,i,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(o,e)}),ho&&io(o,h),c}(l,c,u,d);if(A(u)){if("function"!==typeof(h=A(u)))throw Error(i(150));return function(o,s,l,c){if(null==l)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,y=null,b=l.next();null!==h&&!b.done;g++,b=l.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=f(o,h,b.value,c);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(o,h),s=a(v,s,g),null===d?u=v:d.sibling=v,d=v,h=y}if(b.done)return n(o,h),ho&&io(o,g),u;if(null===h){for(;!b.done;g++,b=l.next())null!==(b=p(o,b.value,c))&&(s=a(b,s,g),null===d?u=b:d.sibling=b,d=b);return ho&&io(o,g),u}for(h=r(h);!b.done;g++,b=l.next())null!==(b=m(h,o,g,b.value,c))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),s=a(b,s,g),null===d?u=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(o,e)}),ho&&io(o,g),u}(l,c,u=h.call(u),d)}if("function"===typeof u.then)return v(l,c,pa(u),d);if(u.$$typeof===k)return v(l,c,Mo(l,u),d);ha(l,u)}return"string"===typeof u&&""!==u||"number"===typeof u||"bigint"===typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(d=o(c,u)).return=l,l=d):(n(l,c),(d=Vr(u,l.mode,d)).return=l,l=d),s(l)):n(l,c)}return function(e,t,n,r){try{da=0;var o=v(e,t,n,r);return ua=null,o}catch(h){if(h===ea||h===na)throw h;var a=zr(29,h,null,e.mode);return a.lanes=r,a.return=e,a}}}var ga=ma(!0),ya=ma(!1),ba=!1;function va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ka(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&mc)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Or(e),Mr(e,null,n),t}return Lr(e,r,t,n),Or(e)}
vendor: 9,514 bytes, line 2
2function Sa(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194048&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ie(e,n)}}function Ca(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ea=!1;function ja(){if(Ea){if(null!==Go)throw Go}}function Na(e,t,n,r){Ea=!1;var o=e.updateQueue;ba=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?a=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,u=c=l=null,s=a;;){var p=-536870913&s.lane,h=p!==s.lane;if(h?(bc&p)===p:(r&p)===p){0!==p&&p===Vo&&(Ea=!0),null!==u&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var m=e,g=s;p=t;var y=n;switch(g.tag){case 1:if("function"===typeof(m=g.payload)){d=m.call(y,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(p="function"===typeof(m=g.payload)?m.call(y,d,p):m)||void 0===p)break e;d=f({},d,p);break e;case 2:ba=!0}}null!==(p=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[p]:h.push(p))}else h={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,i|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(h=s).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null===a&&(o.shared.lanes=0),jc|=i,e.lanes=i,e.memoizedState=d}}function Pa(e,t){if("function"!==typeof e)throw Error(i(191,e));e.call(t)}function Ra(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Pa(n[e],t)}var _a=z(null),Aa=z(0);function Ta(e,t){B(Aa,e=Cc),B(_a,t),Cc=e|t.baseLanes}function La(){B(Aa,Cc),B(_a,_a.current)}function Ua(){Cc=Aa.current,$(_a),$(Aa)}var Ia=z(null),Ma=null;function Oa(e){var t=e.alternate;B(Ba,1&Ba.current),B(Ia,e),null===Ma&&(null===t||null!==_a.current||null!==t.memoizedState)&&(Ma=e)}function Fa(e){B(Ba,Ba.current),B(Ia,e),null===Ma&&(Ma=e)}function Da(e){22===e.tag?(B(Ba,Ba.current),B(Ia,e),null===Ma&&(Ma=e)):za()}function za(){B(Ba,Ba.current),B(Ia,Ia.current)}function $a(e){$(Ia),Ma===e&&(Ma=null),$(Ba)}var Ba=z(0);function Wa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Ld(n)||Ud(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(0!==(128&t.flags))return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=0,Ha=null,Va=null,Ga=null,Ka=!1,Ya=!1,Qa=!1,Za=0,Xa=0,Ja=null,ei=0;function ti(){throw Error(i(321))}function ni(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!er(e[n],t[n]))return!1;return!0}function ri(e,t,n,r,o,a){return qa=a,Ha=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,I.H=null===e||null===e.memoizedState?bs:vs,Qa=!1,a=n(r,o),Qa=!1,Ya&&(a=ai(t,n,r,o)),oi(e),a}function oi(e){I.H=ys;var t=null!==Va&&null!==Va.next;if(qa=0,Ga=Va=Ha=null,Ka=!1,Xa=0,Ja=null,t)throw Error(i(300));null===e||Is||null!==(e=e.dependencies)&&Lo(e)&&(Is=!0)}function ai(e,t,n,r){Ha=e;var o=0;do{if(Ya&&(Ja=null),Xa=0,Ya=!1,25<=o)throw Error(i(301));if(o+=1,Ga=Va=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}I.H=ws,a=t(n,r)}while(Ya);return a}function ii(){var e=I.H,t=e.useState()[0];return t="function"===typeof t.then?pi(t):t,e=e.useState()[0],(null!==Va?Va.memoizedState:null)!==e&&(Ha.flags|=1024),t}function si(){var e=0!==Za;return Za=0,e}function li(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ci(e){if(Ka){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Ka=!1}qa=0,Ga=Va=Ha=null,Ya=!1,Xa=Za=0,Ja=null}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ga?Ha.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function di(){if(null===Va){var e=Ha.alternate;e=null!==e?e.memoizedState:null}else e=Va.next;var t=null===Ga?Ha.memoizedState:Ga.next;if(null!==t)Ga=t,Va=e;else{if(null===e){if(null===Ha.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(Va=e).memoizedState,baseState:Va.baseState,baseQueue:Va.baseQueue,queue:Va.queue,next:null},null===Ga?Ha.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function pi(e){var t=Xa;return Xa+=1,null===Ja&&(Ja=[]),e=aa(Ja,e,t),t=Ha,null===(null===Ga?t.memoizedState:Ga.next)&&(t=t.alternate,I.H=null===t||null===t.memoizedState?bs:vs),e}function fi(e){if(null!==e&&"object"===typeof e){if("function"===typeof e.then)return pi(e);if(e.$$typeof===k)return Io(e)}throw Error(i(438,String(e)))}function hi(e){var t=null,n=Ha.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ha.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ha.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=R;return t.index++,n}function mi(e,t){return"function"===typeof t?t(e):t}function gi(e){return yi(di(),Va,e)}function yi(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,c=null,u=t=o.next,d=!1;do{var p=-536870913&u.lane;if(p!==u.lane?(bc&p)===p:(qa&p)===p){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),p===Vo&&(d=!0);else{if((qa&f)===f){u=u.next,f===Vo&&(d=!0);continue}p={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=a):c=c.next=p,Ha.lanes|=f,jc|=f}p=u.action,Qa&&n(a,p),a=u.hasEagerState?u.eagerState:n(a,p)}else f={lane:p,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=a):c=c.next=f,Ha.lanes|=p,jc|=p;u=u.next}while(null!==u&&u!==t);if(null===c?s=a:c.next=l,!er(a,e.memoizedState)&&(Is=!0,d&&null!==(n=Go)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=c,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function bi(e){var t=di(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);er(a,t.memoizedState)||(Is=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function vi(e,t,n){var r=Ha,o=di(),a=ho;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var s=!er((Va||o).memoizedState,n);if(s&&(o.memoizedState=n,Is=!0),o=o.queue,qi(ki.bind(null,r,o,e),[e]),o.getSnapshot!==t||s||null!==Ga&&1&Ga.memoizedState.tag){if(r.flags|=2048,Di(9,{destroy:void 0},xi.bind(null,r,o,n,t),null),null===gc)throw Error(i(349));a||0!==(127&qa)||wi(r,t,n)}return n}function wi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ha.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ha.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function xi(e,t,n,r){t.value=n,t.getSnapshot=r,Si(t)&&Ci(e)}function ki(e,t,n){return n(function(){Si(t)&&Ci(e)})}function Si(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!er(e,n)}catch(r){return!0}}function Ci(e){var t=Ir(e,2);null!==t&&Qc(t,e,2)}function Ei(e){var t=ui();if("function"===typeof e){var n=e;if(e=n(),Qa){we(!0);try{n()}finally{we(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:e},t}function ji(e,t,n,r){return e.baseState=n,yi(e,Va,"function"===typeof r?r:mi)}function Ni(e,t,n,r,o){if(hs(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==I.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,Pi(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Pi(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=I.T,i={};I.T=i;try{var s=n(o,r),l=I.S;null!==l&&l(i,s),Ri(e,t,s)}catch(c){Ai(e,t,c)}finally{null!==a&&null!==i.types&&(a.types=i.types),I.T=a}}else try{Ri(e,t,a=n(o,r))}catch(u){Ai(e,t,u)}}function Ri(e,t,n){null!==n&&"object"===typeof n&&"function"===typeof n.then?n.then(function(n){_i(e,t,n
2)},function(n){return Ai(e,t,n)}):_i(e,t,n)}function _i(e,t,n){t.status="fulfilled",t.value=n,Ti(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Pi(e,n)))}function Ai(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,Ti(t),t=t.next}while(t!==r)}e.action=null}function Ti(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Li(e,t){return t}function Ui(e,t){if(ho){var n=gc.formState;if(null!==n){e:{var r=Ha;if(ho){if(fo){t:{for(var o=fo,a=go;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=Id(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){fo=Id(o.nextSibling),r="F!"===o.data;break e}}bo(r)}r=!1}r&&(t=n[0])}}return(n=ui()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Li,lastRenderedState:t},n.queue=r,n=ds.bind(null,Ha,r),r.dispatch=n,r=Ei(!1),a=fs.bind(null,Ha,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=ui()).queue=o,n=Ni.bind(null,Ha,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function Ii(e){return Mi(di(),Va,e)}function Mi(e,t,n){if(t=yi(e,t,Li)[0],e=gi(mi)[0],"object"===typeof t&&null!==t&&"function"===typeof t.then)try{var r=pi(t)}catch(h){if(h===ea)throw na;throw h}else r=t;var o=(t=di()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ha.flags|=2048,Di(9,{destroy:void 0},Oi.bind(null,o,n),null)),[r,a,e]}function Oi(e,t){e.action=t}function Fi(e){var t=di(),n=Va;if(null!==n)return Mi(t,n,e);di(),t=t.memoizedState;var r=(n=di()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Di(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ha.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ha.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function zi(){return di().memoizedState}function $i(e,t,n,r){var o=ui();Ha.flags|=e,o.memoizedState=Di(1|t,{destroy:void 0},n,void 0===r?null:r)}function Bi(e,t,n,r){var o=di();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Va&&null!==r&&ni(r,Va.memoizedState.deps)?o.memoizedState=Di(t,a,n,r):(Ha.flags|=e,o.memoizedState=Di(1|t,a,n,r))}function Wi(e,t){$i(8390656,8,e,t)}function qi(e,t){Bi(2048,8,e,t)}function Hi(e){var t=di().memoizedState;return function(e){Ha.flags|=4;var t=Ha.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ha.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(0!==(2&mc))throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Vi(e,t){return Bi(4,2,e,t)}function Gi(e,t){return Bi(4,4,e,t)}function Ki(e,t){if("function"===typeof t){e=e();var n=t(e);return function(){"function"===typeof n?n():t(null)}}if(null!==t&&void 0!==t)return e=e(),t.current=e,function(){t.current=null}}function Yi(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Bi(4,4,Ki.bind(null,t,e),n)}function Qi(){}function Zi(e,t){var n=di();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&ni(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xi(e,t){var n=di();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&ni(t,r[1]))return r[0];if(r=e(),Qa){we(!0);try{e()}finally{we(!1)}}return n.memoizedState=[r,t],r}function Ji(e,t,n){return void 0===n||0!==(1073741824&qa)&&0===(261930&bc)?e.memoizedState=t:(e.memoizedState=n,e=Yc(),Ha.lanes|=e,jc|=e,n)}function es(e,t,n,r){return er(n,t)?n:null!==_a.current?(e=Ji(e,n,r),er(e,t)||(Is=!0),e):0===(42&qa)||0!==(1073741824&qa)&&0===(261930&bc)?(Is=!0,e.memoizedState=n):(e=Yc(),Ha.lanes|=e,jc|=e,t)}function ts(e,t,n,r,o){var a=M.p;M.p=0!==a&&8>a?a:8;var i=I.T,s={};I.T=s,fs(e,!1,t,n);try{var l=o(),c=I.S;if(null!==c&&c(s,l),null!==l&&"object"===typeof l&&"function"===typeof l.then)ps(e,t,function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(l,r),Kc());else ps(e,t,r,Kc())}catch(u){ps(e,t,{then:function(){},status:"rejected",reason:u},Kc())}finally{M.p=a,null!==i&&null!==s.types&&(i.types=s.types),I.T=i}}function ns(){}function rs(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=os(e).queue;ts(e,o,t,O,null===n?ns:function(){return as(e),n(r)})}function os(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:O,baseState:O,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:O},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function as(e){var t=os(e);null===t.next&&(t=e.alternate.memoizedState),ps(e,t.next.queue,{},Kc())}function is(){return Io(pp)}function ss(){return di().memoizedState}function ls(){return di().memoizedState}function cs(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Kc(),r=ka(t,e=xa(n),n);return null!==r&&(Qc(r,t,n),Sa(r,t,n)),t={cache:Bo()},void(e.payload=t)}t=t.return}}
vendor: 4,452 bytes, line 2
2function us(e,t,n){var r=Kc();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},hs(e)?ms(t,n):null!==(n=Ur(e,t,n,r))&&(Qc(n,e,r),gs(n,t,r))}function ds(e,t,n){ps(e,t,n,Kc())}function ps(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(hs(e))ms(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,er(s,i))return Lr(e,t,o,0),null===gc&&Tr(),!1}catch(l){}if(null!==(n=Ur(e,t,o,r)))return Qc(n,e,r),gs(n,t,r),!0}return!1}function fs(e,t,n,r){if(r={lane:2,revertLane:qu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hs(e)){if(t)throw Error(i(479))}else null!==(t=Ur(e,n,r,2))&&Qc(t,e,2)}function hs(e){var t=e.alternate;return e===Ha||null!==t&&t===Ha}function ms(e,t){Ya=Ka=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gs(e,t,n){if(0!==(4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ie(e,n)}}var ys={readContext:Io,use:fi,useCallback:ti,useContext:ti,useEffect:ti,useImperativeHandle:ti,useLayoutEffect:ti,useInsertionEffect:ti,useMemo:ti,useReducer:ti,useRef:ti,useState:ti,useDebugValue:ti,useDeferredValue:ti,useTransition:ti,useSyncExternalStore:ti,useId:ti,useHostTransitionStatus:ti,useFormState:ti,useActionState:ti,useOptimistic:ti,useMemoCache:ti,useCacheRefresh:ti};ys.useEffectEvent=ti;var bs={readContext:Io,use:fi,useCallback:function(e,t){return ui().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:Wi,useImperativeHandle:function(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,$i(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){$i(4,2,e,t)},useMemo:function(e,t){var n=ui();t=void 0===t?null:t;var r=e();if(Qa){we(!0);try{e()}finally{we(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ui();if(void 0!==n){var o=n(t);if(Qa){we(!0);try{n(t)}finally{we(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=us.bind(null,Ha,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ui().memoizedState=e},useState:function(e){var t=(e=Ei(e)).queue,n=ds.bind(null,Ha,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Qi,useDeferredValue:function(e,t){return Ji(ui(),e,t)},useTransition:function(){var e=Ei(!1);return e=ts.bind(null,Ha,e.queue,!0,!1),ui().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Ha,o=ui();if(ho){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===gc)throw Error(i(349));0!==(127&bc)||wi(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Wi(ki.bind(null,r,a,e),[e]),r.flags|=2048,Di(9,{destroy:void 0},xi.bind(null,r,a,n,t),null),n},useId:function(){var e=ui(),t=gc.identifierPrefix;if(ho){var n=ao;t="_"+t+"R_"+(n=(oo&~(1<<32-xe(oo)-1)).toString(32)+n),0<(n=Za++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=ei++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:is,useFormState:Ui,useActionState:Ui,useOptimistic:function(e){var t=ui();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=fs.bind(null,Ha,!0,n),n.dispatch=t,[e,t]},useMemoCache:hi,useCacheRefresh:function(){return ui().memoizedState=cs.bind(null,Ha)},useEffectEvent:function(e){var t=ui(),n={impl:e};return t.memoizedState=n,function(){if(0!==(2&mc))throw Error(i(440));return n.impl.apply(void 0,arguments)}}},vs={readContext:Io,use:fi,useCallback:Zi,useContext:Io,useEffect:qi,useImperativeHandle:Yi,useInsertionEffect:Vi,useLayoutEffect:Gi,useMemo:Xi,useReducer:gi,useRef:zi,useState:function(){return gi(mi)},useDebugValue:Qi,useDeferredValue:function(e,t){return es(di(),Va.memoizedState,e,t)},useTransition:function(){var e=gi(mi)[0],t=di().memoizedState;return["boolean"===typeof e?e:pi(e),t]},useSyncExternalStore:vi,useId:ss,useHostTransitionStatus:is,useFormState:Ii,useActionState:Ii,useOptimistic:function(e,t){return ji(di(),0,e,t)},useMemoCache:hi,useCacheRefresh:ls};vs.useEffectEvent=Hi;var ws={readContext:Io,use:fi,useCallback:Zi,useContext:Io,useEffect:qi,useImperativeHandle:Yi,useInsertionEffect:Vi,useLayoutEffect:Gi,useMemo:Xi,useReducer:bi,useRef
2:zi,useState:function(){return bi(mi)},useDebugValue:Qi,useDeferredValue:function(e,t){var n=di();return null===Va?Ji(n,e,t):es(n,Va.memoizedState,e,t)},useTransition:function(){var e=bi(mi)[0],t=di().memoizedState;return["boolean"===typeof e?e:pi(e),t]},useSyncExternalStore:vi,useId:ss,useHostTransitionStatus:is,useFormState:Fi,useActionState:Fi,useOptimistic:function(e,t){var n=di();return null!==Va?ji(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:hi,useCacheRefresh:ls};function xs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:f({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}ws.useEffectEvent=Hi;var ks={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Kc(),o=xa(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=ka(e,o,r))&&(Qc(t,e,r),Sa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Kc(),o=xa(r);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=ka(e,o,r))&&(Qc(t,e,r),Sa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Kc(),r=xa(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),null!==(t=ka(e,r,n))&&(Qc(t,e,n),Sa(t,e,n))}};function Ss(e,t,n,r,o,a,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!tr(n,r)||!tr(o,a))}function Cs(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ks.enqueueReplaceState(t,t.state,null)}function Es(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=f({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function js(e){Pr(e)}function Ns(e){console.error(e)}function Ps(e){Pr(e)}function Rs(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}
2function _s(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function As(e,t,n){return(n=xa(n)).tag=3,n.payload={element:null},n.callback=function(){Rs(e,t)},n}function Ts(e){return(e=xa(e)).tag=3,e}function Ls(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"===typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){_s(t,n,r)}}var i=n.stateNode;null!==i&&"function"===typeof i.componentDidCatch&&(e.callback=function(){_s(t,n,r),"function"!==typeof o&&(null===Fc?Fc=new Set([this]):Fc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Us=Error(i(461)),Is=!1;function Ms(e,t,n,r){t.child=null===e?ya(t,null,n,r):ga(t,e.child,n,r)}function Os(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var s in r)"ref"!==s&&(i[s]=r[s])}else i=r;return Uo(t),r=ri(e,t,n,i,a,o),s=si(),null===e||Is?(ho&&s&&lo(t),t.flags|=1,Ms(e,t,r,o),t.child):(li(e,t,o),il(e,t,o))}function Fs(e,t,n,r,o){if(null===e){var a=n.type;return"function"!==typeof a||$r(a)||void 0!==a.defaultProps||null!==n.compare?((e=qr(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ds(e,t,a,r,o))}if(a=e.child,!sl(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:tr)(i,r)&&e.ref===t.ref)return il(e,t,o)}return t.flags|=1,(e=Br(a,r)).ref=t.ref,e.return=t,t.child=e}function Ds(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(tr(a,r)&&e.ref===t.ref){if(Is=!1,t.pendingProps=r=a,!sl(e,o))return t.lanes=e.lanes,il(e,t,o);0!==(131072&e.flags)&&(Is=!0)}}return Vs(e,t,n,r,o)}function zs(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!==(128&t.flags)){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return Bs(e,t,a,n,r)}if(0===(536870912&n))return r=t.lanes=536870912,Bs(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Xo(0,null!==a?a.cachePool:null),null!==a?Ta(t,a):La(),Da(t)}else null!==a?(Xo(0,a.cachePool),Ta(t,a),za(),t.memoizedState=null):(null!==e&&Xo(0,null),La(),za());return Ms(e,t,o,n),t.child}function $s(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Bs(e,t,n,r,o){var a=Zo();return a=null===a?null:{parent:$o._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Xo(0,null),La(),Da(t),null!==e&&To(e,t,r,!0),t.childLanes=o,null}function Ws(e,t){return(t=tl({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function qs(e,t,n){return ga(t,e.child,null,n),(e=Ws(t,t.pendingProps)).flags|=2,$a(t),t.memoizedState=null,e}function Hs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!==typeof n&&"object"!==typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Vs(e,t,n,r,o){return Uo(t),n=ri(e,t,n,r,void 0,o),r=si(),null===e||Is?(ho&&r&&lo(t),t.flags|=1,Ms(e,t,n,o),t.child):(li(e,t,o),il(e,t,o))}function Gs(e,t,n,r,o,a){return Uo(t),t.updateQueue=null,n=ai(t,r,n,o),oi(e),r=si(),null===e||Is?(ho&&r&&lo(t),t.flags|=1,Ms(e,t,n,a),t.child):(li(e,t,a),il(e,t,a))}function Ks(e,t,n,r,o){if(Uo(t),null===t.stateNode){var a=Fr,i=n.contextType;"object"===typeof i&&null!==i&&(a=Io(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ks,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},va(t),i=n.contextType,a.context="object"===typeof i&&null!==i?Io(i):Fr,a.state=t.memoizedState,"function"===typeof(i=n.getDerivedStateFromProps)&&(xs(t,n,i,r),a.state=t.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(i=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&ks.enqueueReplaceState(a,a.state,null),Na(t,r,a,o),ja(),a.state=t.memoizedState),"function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var s=t.memoizedProps,l=Es(n,s);a.props=l;var c=a.context,u=n.contextType;i=Fr,"object"===typeof u&&null!==u&&(i=Io(u));var d=n.getDerivedStateFromProps;u="function"===typeof d||"function"===typeof a.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s||c!==i)&&Cs(t,a,r,i),ba=!1;var p=t.memoizedState;a.state=p,Na(t,r,a,o),ja(),c=t.memoizedState,s||p!==c||ba?("function"===typeof d&&(xs(t,n,d,r),c=t.memoizedState),(l=ba||Ss(t,n,l,r,p,c,i))?(u||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=i,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,wa(e,t),u=Es(n,i=t.memoizedProps),a.props=u,d=t.pendingProps,p=a.context,c=n.contextType,l=Fr,"object"===typeof c&&null!==c&&(l=I
vendor: 6,254 bytes, line 2
2o(c)),(c="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(i!==d||p!==l)&&Cs(t,a,r,l),ba=!1,p=t.memoizedState,a.state=p,Na(t,r,a,o),ja();var f=t.memoizedState;i!==d||p!==f||ba||null!==e&&null!==e.dependencies&&Lo(e.dependencies)?("function"===typeof s&&(xs(t,n,s,r),f=t.memoizedState),(u=ba||Ss(t,n,u,r,p,f,l)||null!==e&&null!==e.dependencies&&Lo(e.dependencies))?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Hs(e,t),r=0!==(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!==typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=ga(t,e.child,null,o),t.child=ga(t,null,n,o)):Ms(e,t,n,o),t.memoizedState=a.state,e=t.child):e=il(e,t,o),e}function Ys(e,t,n,r){return ko(),t.flags|=256,Ms(e,t,n,r),t.child}var Qs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Zs(e){return{baseLanes:e,cachePool:Jo()}}function Xs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Rc),e}function Js(e,t,n){var r,o=t.pendingProps,a=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&Ba.current)),r&&(a=!0,t.flags&=-129),r=0!==(32&t.flags),t.flags&=-33,null===e){if(ho){if(a?Oa(t):za(),(e=fo)?null!==(e=null!==(e=Td(e,go))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ro?{id:oo,overflow:ao}:null,retryLane:536870912,hydrationErrors:null},(n=Gr(e)).return=t,t.child=n,po=t,fo=null):e=null,null===e)throw bo(t);return Ud(e)?t.lanes=32:t.lanes=536870912,null}var l=o.children;return o=o.fallback,a?(za(),l=tl({mode:"hidden",children:l},a=t.mode),o=Hr(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=Zs(n),o.childLanes=Xs(e,r,n),t.memoizedState=Qs,$s(null,o)):(Oa(t),el(t,l))}var c=e.memoizedState;if(null!==c&&null!==(l=c.dehydrated)){if(s)256&t.flags?(Oa(t),t.flags&=-257,t=nl(e,t,n)):null!==t.memoizedState?(za(),t.child=e.child,t.flags|=128,t=null):(za(),l=o.fallback,a=t.mode,o=tl({mode:"visible",children:o.children},a),(l=Hr(l,a,n,null)).flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,ga(t,e.child,null,n),(o=t.child).memoizedState=Zs(n),o.childLanes=Xs(e,r,n),t.memoizedState=Qs,t=$s(null,o));else if(Oa(t),Ud(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;r=u,(o=Error(i(419))).stack="",o.digest=r,Co({value:o,source:null,stack:null}),t=nl(e,t,n)}else if(Is||To(e,t,n,!1),r=0!==(n&e.childLanes),Is||r){if(null!==(r=gc)&&(0!==(o=Me(r,n))&&o!==c.retryLane))throw c.retryLane=o,Ir(e,o),Qc(r,e,o),Us;Ld(l)||lu(),t=nl(e,t,n)}else Ld(l)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,fo=Id(l.nextSibling),po=t,ho=!0,mo=null,go=!1,null!==e&&uo(t,e),(t=el(t,o.children)).flags|=4096);return t}return a?(za(),l=o.fallback,a=t.mode,u=(c=e.child).sibling,(o=Br(c,{mode:"hidden",children:o.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?l=Br(u,l):(l=Hr(l,a,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,$s(null,o),o=t.child,null===(l=e.child.memoizedState)?l=Zs(n):(null!==(a=l.cachePool)?(c=$o._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=Jo(),l={baseLanes:l.baseLanes|n,cachePool:a}),o.memoizedState=l,o.childLanes=Xs(e,r,n),t.memoizedState=Qs,$s(e.child,o)):(Oa(t),e=(n=e.child).sibling,(n=Br(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function el(e,t){return(t=tl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function tl(e,t){return(e=zr(22,e,null,t)).lanes=0,e}function nl(e,t,n){return ga(t,e.child,null,n),(e=el(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function rl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_o(e.return,t,n)}function ol(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function al(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=Ba.current,s=0!==(2&i);if(s?(i=1&i|2,t.flags|=128):i&=1,B(Ba,i),Ms(e,t,r,n),r=ho?eo:0,!s&&null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rl(e,n,t);else if(19===e.tag)rl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Wa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ol(t,!1,o,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Wa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ol(t,!0,n,null,a,r);break;case"together":ol(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(To(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Br(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
2)e=e.sibling,(n=n.sibling=Br(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function sl(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Lo(e))}function ll(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Is=!0;else{if(!sl(e,n)&&0===(128&t.flags))return Is=!1,function(e,t,n){switch(t.tag){case 3:Y(t,t.stateNode.containerInfo),Po(0,$o,e.memoizedState.cache),ko();break;case 27:case 5:Z(t);break;case 4:Y(t,t.stateNode.containerInfo);break;case 10:Po(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Fa(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Oa(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Js(e,t,n):(Oa(t),null!==(e=il(e,t,n))?e.sibling:null);Oa(t);break;case 19:var o=0!==(128&e.flags);if((r=0!==(n&t.childLanes))||(To(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return al(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),B(Ba,Ba.current),r)break;return null;case 22:return t.lanes=0,zs(e,t,n,t.pendingProps);case 24:Po(0,$o,e.memoizedState.cache)}return il(e,t,n)}(e,t,n);Is=0!==(131072&e.flags)}else Is=!1,ho&&0!==(1048576&t.flags)&&so(t,eo,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ia(t.elementType),t.type=e,"function"!==typeof e){if(void 0!==e&&null!==e){var o=e.$$typeof;if(o===S){t.tag=11,t=Os(null,t,e,r,n);break e}if(o===j){t.tag=14,t=Fs(null,t,e,r,n);break e}}throw t=L(e)||e,Error(i(306,t,""))}$r(e)?(r=Es(e,r),t.tag=1,t=Ks(null,t,e,r,n)):(t.tag=0,t=Vs(null,t,e,r,n))}return t;case 0:return Vs(e,t,t.type,t.pendingProps,n);case 1:return Ks(e,t,r=t.type,o=Es(r,t.pendingProps),n);case 3:e:{if(Y(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,wa(e,t),Na(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Po(0,$o,r),r!==a.cache&&Ao(t,[$o],n,!0),ja(),r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ys(e,t,r,n);break e}if(r!==o){Co(o=Qr(Error(i(424)),t)),t=Ys(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;
vendor: 7,546 bytes, line 2
2for(fo=Id(e.firstChild),po=t,ho=!0,mo=null,go=!0,n=ya(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ko(),r===o){t=il(e,t,n);break e}Ms(e,t,r,n)}t=t.child}return t;case 26:return Hs(e,t),null===e?(n=Gd(t.type,null,t.pendingProps,null))?t.memoizedState=n:ho||(n=t.type,e=t.pendingProps,(r=bd(G.current).createElement(n))[Be]=t,r[We]=e,hd(r,n,e),tt(r),t.stateNode=r):t.memoizedState=Gd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Z(t),null===e&&ho&&(r=t.stateNode=Dd(t.type,t.pendingProps,G.current),po=t,go=!0,o=fo,Pd(t.type)?(Md=o,fo=Id(r.firstChild)):fo=o),Ms(e,t,t.pendingProps.children,n),Hs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ho&&((o=r=fo)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ye])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=Id(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,go))?(t.stateNode=r,po=t,fo=Id(r.firstChild),go=!1,o=!0):o=!1),o||bo(t)),Z(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,r=a.children,xd(o,a)?r=null:null!==s&&xd(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=ri(e,t,ii,null,null,n),pp._currentValue=o),Hs(e,t),Ms(e,t,r,n),t.child;case 6:return null===e&&ho&&((e=n=fo)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Id(e.nextSibling)))return null}return e}(n,t.pendingProps,go))?(t.stateNode=n,po=t,fo=null,e=!0):e=!1),e||bo(t)),null;case 13:return Js(e,t,n);case 4:return Y(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ga(t,null,r,n):Ms(e,t,r,n),t.child;case 11:return Os(e,t,t.type,t.pendingProps,n);case 7:return Ms(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ms(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Po(0,t.type,r.value),Ms(e,t,r.children,n),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,Uo(t),r=r(o=Io(o)),t.flags|=1,Ms(e,t,r,n),t.child;case 14:return Fs(e,t,t.type,t.pendingProps,n);case 15:return Ds(e,t,t.type,t.pendingProps,n);case 19:return al(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=0!==(128&t.flags);if(t.flags&=-129,null===e){if(ho){if("hidden"===r.mode)return e=Ws(t,r),t.lanes=536870912,$s(null,e);if(Fa(t),(e=fo)?null!==(e=null!==(e=Td(e,go))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ro?{id:oo,overflow:ao}:null,retryLane:536870912,hydrationErrors:null},(n=Gr(e)).return=t,t.child=n,po=t,fo=null):e=null,null===e)throw bo(t);return t.lanes=536870912,null}return Ws(t,r)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(Fa(t),o)if(256&t.flags)t.flags&=-257,t=qs(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(Is||To(e,t,n,!1),o=0!==(n&e.childLanes),Is||o){if(null!==(r=gc)&&0!==(s=Me(r,n))&&s!==a.retryLane)throw a.retryLane=s,Ir(e,s),Qc(r,e,s),Us;lu(),t=qs(e,t,n)}else e=a.treeContext,fo=Id(s.nextSibling),po=t,ho=!0,mo=null,go=!1,null!==e&&uo(t,e),(t=Ws(t,r)).flags|=4096;return t}return(e=Br(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return zs(e,t,n,t.pendingProps);case 24:return Uo(t),r=Io($o),null===e?(null===(o=Zo())&&(o=gc,a=Bo(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},va(t),Po(0,$o,o)):(0!==(e.lanes&n)&&(wa(e,t),Na(t,null,null,n),ja()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Po(0,$o,r)):(r=a.cache,Po(0,$o,r),r!==o.cache&&Ao(t,[$o],n,!0))),Ms(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function cl(e){e.flags|=4}function ul(e,t,n,r,o){if((t=0!==(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!au())throw sa=ra,ta;e.flags|=8192}}else e.flags&=-16777217}function dl(e,t){if("stylesheet"!==t.type||0!==(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,!ip(t)){if(!au())throw sa=ra,ta;e.flags|=8192}}function pl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ae():536870912,e.lanes|=t,_c|=t)}function fl(e,t){if(!ho)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function hl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ml(e,t,n){var r=t.pendingProps;switch(co(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return hl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ro($o),Q(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(xo(t)?cl(t):null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,So())),hl(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(cl(t),null!==a?(hl(t),dl(t,a)):(hl(t),ul(t,o,0,0,n))):a?a!==e.memoizedState?(cl(t),hl(t),dl(t,a)):(hl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&cl(t),hl(t),ul(t,o,0,0,n)),null;case 27:if(X(t),n=G.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&cl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return hl(t),null}e=H.current,xo(t)?vo(t):(e=Dd(o,r,n),t.stateNode=e,cl(t))}return hl(t),null;case 5:if(X(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&cl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return hl(t),null}if(a=H.current,xo(t))vo(t);else{var s=bd(G.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"===typeof r.is?s.createElement("select",{is:r.is}
vendor: 35,128 bytes, line 2
2):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"===typeof r.is?s.createElement(o,{is:r.is}):s.createElement(o)}}a[Be]=t,a[We]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(hd(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&cl(t)}}return hl(t),ul(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&cl(t);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(e=G.current,xo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=po))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[Be]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||dd(e.nodeValue,n)))||bo(t,!0)}else(e=bd(e).createTextNode(r))[Be]=t,t.stateNode=e}return hl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=xo(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[Be]=t}else ko(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;hl(t),e=!1}else n=So(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?($a(t),t):($a(t),null);if(0!==(128&t.flags))throw Error(i(558))}return hl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=xo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[Be]=t}else ko(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;hl(t),o=!1}else o=So(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?($a(t),t):($a(t),null)}return $a(t),0!==(128&t.flags)?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),pl(t,t.updateQueue),hl(t),null);case 4:return Q(),null===e&&td(t.stateNode.containerInfo),hl(t),null;case 10:return Ro(t.type),hl(t),null;case 19:if($(Ba),null===(r=t.memoizedState))return hl(t),null;if(o=0!==(128&t.flags),null===(a=r.rendering))if(o)fl(r,!1);else{if(0!==Ec||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Wa(e))){for(t.flags|=128,fl(r,!1),e=a.updateQueue,t.updateQueue=e,pl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Wr(n,e),n=n.sibling;return B(Ba,1&Ba.current|2),ho&&io(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ce()>Mc&&(t.flags|=128,o=!0,fl(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Wa(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,pl(t,e),fl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!ho)return hl(t),null}else 2*ce()-r.renderingStartTime>Mc&&536870912!==n&&(t.flags|=128,o=!0,fl(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ce(),e.sibling=null,n=Ba.current,B(Ba,o?1&n|2:1&n),ho&&io(t,r.treeForkCount),e):(hl(t),null);case 22:case 23:return $a(t),Ua(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!==(536870912&n)&&0===(128&t.flags)&&(hl(t),6&t.subtreeFlags&&(t.flags|=8192)):hl(t),null!==(n=t.updateQueue)&&pl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&$(Qo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ro($o),hl(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}function gl(e,t){switch(co(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ro($o),Q(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return X(t),null;case 31:if(null!==t.memoizedState){if($a(t),null===t.alternate)throw Error(i(340));ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if($a(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $(Ba),null;case 4:return Q(),null;case 10:return Ro(t.type),null;case 22:case 23:return $a(t),Ua(),null!==e&&$(Qo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ro($o),null;default:return null}}function yl(e,t){switch(co(t),t.tag){case 3:Ro($o),Q();break;case 26:case 27:case 5:X(t);break;case 4:Q();break;case 31:null!==t.memoizedState&&$a(t);break;case 13:$a(t);break;case 19:$(Ba);break;case 10:Ro(t.type);break;case 22:case 23:$a(t),Ua(),null!==e&&$(Qo);break;case 24:Ro($o)}}function bl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(s){Eu(t,t.return,s)}}function vl(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,o=t;var l=n,c=s;try{c()}catch(u){Eu(o,l,u)}}}r=r.next}while(r!==a)}}catch(u){Eu(t,t.return,u)}}function wl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Ra(t,n)}catch(r){Eu(e,e.return,r)}}}function xl(e,t,n){n.props=Es(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){Eu(e,t,r)}}function kl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"===typeof n?e.refCleanup=n(r):n.current=r}}catch(o){Eu(e,t,o)}}function Sl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"===typeof r)try{r()}catch(o){Eu(e,t,o)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"===typeof n)try{n(null)}catch(a){Eu(e,t,a)}else n.current=null}function Cl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(o){Eu(e,e.return,o)}}function El(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,c=null,u=null,d=null;for(h in n){var p=n[h];if(n.hasOwnProperty(h)&&null!=p)switch(h){case"checked":case"value":break;case"defaultValue":c=p;default:r.hasOwnProperty(h)||pd(e,t,h,null,r,p)}}for(var f in r){var h=r[f];if(p=n[f],r.hasOwnProperty(f)&&(null!=h||null!=p))switch(f){case"type":a=h;break;case"name":o=h;break;case"checked":u=h;break;case"defaultChecked":d=h;break;case"value":s=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(i(137,t));break;default:h!==p&&pd(e,t,f,h,r,p)}}return void vt(e,s,l,c,u,d,a,o);case"select":for(a in h=s=l=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(a)||pd(e,t,a,null,r,c)}for(o in r)if(a=r[o],c=n[o],r.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":f=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==c&&pd(e,t,o,a,r,c)}return t=l,n=s,r=h,void(null!=f?kt(e,!!n,f,!1):!!r!==!!n&&(null!=t?kt(e,!!n,t,!0):kt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=f=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:pd(e,t,l,null,r,o)}for(s in r)if(o=r[s],a=n[s],r.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":f=o;break;case"defaultValue":h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&pd(e,t,s,o,r,a)}return void St(e,f,h);case"option":for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else pd(e,t,m,null,r,f);for(c in r)if(f=r[c],h=n[c],r.hasOwnProperty(c)&&f!==h&&(null!=f||null!=h))if("selected"===c)e.selected=f&&"function"!==typeof f&&"symbol"!==typeof f;else pd(e,t,c,f,r,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!r.hasOwnProperty(g)&&pd(e,t,g,null,r,f);for(u in r)if(f=r[u],h=n[u],r.hasOwnProperty(u)&&f!==h&&(null!=f||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(i(137,t));break;default:pd(e,t,u,f,r,h)}return;default:if(Rt(t)){for(var y in n)f=n[y],n.hasOwnProperty(y)&&void 0!==f&&!r.hasOwnProperty(y)&&fd(e,t,y,void 0,r,f);for(d in r)f=r[d],h=n[d],!r.hasOwnProperty(d)||f===h||void 0===f&&void 0===h||fd(e,t,d,f,r,h);return}}for(var b in n)f=n[b],n.hasOwnProperty(b)&&null!=f&&!r.hasOwnProperty(b)&&pd(e,t,b,null,r,f);for(p in r)f=r[p],h=n[p],!r.hasOwnProperty(p)||f===h||null==f&&null==h||pd(e,t,p,f,r,h)}(r,e.type,n,t),r[We]=t}catch(o){Eu(e,e.return,o)}}function jl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Pd(e.type)||4===e.tag}function Nl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||jl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Pd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Pl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Lt));else if(4!==r&&(27===r&&Pd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Pl(e,t,n),e=e.sibling;null!==e;)Pl(e,t,n),e=e.sibling}function Rl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Pd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(Rl(e,t,n),e=e.sibling;null!==e;)Rl(e,t,n),e=e.sibling}function _l(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);hd(t,r,n),t[Be]=e,t[We]=n}catch(a){Eu(e,e.return,a)}}var Al=!1,Tl=!1,Ll=!1,Ul="function"===typeof WeakSet?WeakSet:Set,Il=null;function Ml(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ql(e,n),4&r&&bl(5,n);break;case 1:if(Ql(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(i){Eu(n,n.return,i)}else{var o=Es(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Eu(n,n.return,s)}}64&r&&wl(n),512&r&&kl(n,n.return);break;case 3:if(Ql(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Ra(e,t)}catch(i){Eu(n,n.return,i)}}break;case 27:null===t&&4&r&&_l(n);case 26:case 5:Ql(e,n),null===t&&4&r&&Cl(n),512&r&&kl(n,n.return);break;case 12:Ql(e,n);break;case 31:Ql(e,n),4&r&&Bl(e,n);break;case 13:Ql(e,n),4&r&&Wl(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ru.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Al)){t=null!==t&&null!==t.memoizedState||Tl,o=Al;var a=Tl;Al=r,(Tl=t)&&!a?Xl(e,n,0!==(8772&n.subtreeFlags)):Ql(e,n),Al=o,Tl=a}break;case 30:break;default:Ql(e,n)}}function Ol(e){var t=e.alternate;null!==t&&(e.alternate=null,Ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Qe(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Fl=null,Dl=!1;function zl(e,t,n){for(n=n.child;null!==n;)$l(e,t,n),n=n.sibling}function $l(e,t,n){if(ve&&"function"===typeof ve.onCommitFiberUnmount)try{ve.onCommitFiberUnmount(be,n)}catch(a){}switch(n.tag){case 26:Tl||Sl(n,t),zl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Tl||Sl(n,t);var r=Fl,o=Dl;Pd(n.type)&&(Fl=n.stateNode,Dl=!1),zl(e,t,n),zd(n.stateNode),Fl=r,Dl=o;break;case 5:Tl||Sl(n,t);case 6:if(r=Fl,o=Dl,Fl=null,zl(e,t,n),Dl=o,null!==(Fl=r))if(Dl)try{(9===Fl.nodeType?Fl.body:"HTML"===Fl.nodeName?Fl.ownerDocument.body:Fl).removeChild(n.stateNode)}catch(i){Eu(n,t,i)}else try{Fl.removeChild(n.stateNode)}catch(i){Eu(n,t,i)}break;case 18:null!==Fl&&(Dl?(Rd(9===(e=Fl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Vp(e)):Rd(Fl,n.stateNode));break;case 4:r=Fl,o=Dl,Fl=n.stateNode.containerInfo,Dl=!0,zl(e,t,n),Fl=r,Dl=o;break;case 0:case 11:case 14:case 15:vl(2,n,t),Tl||vl(4,n,t),zl(e,t,n);break;case 1:Tl||(Sl(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount&&xl(n,t,r)),zl(e,t,n);break;case 21:zl(e,t,n);break;case 22:Tl=(r=Tl)||null!==n.memoizedState,zl(e,t,n),Tl=r;break;default:zl(e,t,n)}}function Bl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Vp(e)}catch(n){Eu(t,t.return,n)}}}function Wl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Vp(e)}catch(n){Eu(t,t.return,n)}}function ql(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Ul),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Ul),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=_u.bind(null,e,t);t.then(r,r)}})}function Hl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Pd(l.type)){Fl=l.stateNode,Dl=!1;break e}break;case 5:Fl=l.stateNode,Dl=!1;break e;case 3:case 4:Fl=l.stateNode.containerInfo,Dl=!0;break e}l=l.return}if(null===Fl)throw Error(i(160));$l(a,s,o),Fl=null,Dl=!1,null!==(a=o.alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Gl(t,e),t=t.sibling}var Vl=null;function Gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Hl(t,e),Kl(e),4&r&&(vl(3,e,e.return),bl(3,e),vl(5,e,e.return));break;case 1:Hl(t,e),Kl(e),512&r&&(Tl||null===n||Sl(n,n.return)),64&r&&Al&&(null!==(e=e.updateQueue)&&(null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r))));break;case 26:var o=Vl;if(Hl(t,e),Kl(e),512&r&&(Tl||null===n||Sl(n,n.return)),4&r){var a=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":(!(a=o.getElementsByTagName("title")[0])||a[Ye]||a[Be]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=o.createElement(r),o.head.insertBefore(a,o.querySelector("head > title"))),hd(a,r,n),a[Be]=e,tt(a),r=a;break e;case"link":var s=op("link","href",o).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}hd(a=o.createElement(r),r,n),o.head.appendChild(a);break;case"meta":if(s=op("meta","content",o).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}hd(a=o.createElement(r),r,n),o.head.appendChild(a);break;default:throw Error(i(468,r))}a[Be]=e,tt(a),r=a}e.stateNode=r}else ap(o,e.type,e.stateNode);else e.stateNode=Jd(o,r,e.memoizedProps);else a!==r?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===r?ap(o,e.type,e.stateNode):Jd(o,r,e.memoizedProps)):null===r&&null!==e.stateNode&&El(e,e.memoizedProps,n.memoizedProps)}break;case 27:Hl(t,e),Kl(e),512&r&&(Tl||null===n||Sl(n,n.return)),null!==n&&4&r&&El(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Hl(t,e),Kl(e),512&r&&(Tl||null===n||Sl(n,n.return)),32&e.flags){o=e.stateNode;try{Et(o,"")}catch(m){Eu(e,e.return,m)}}4&r&&null!=e.stateNode&&El(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&r&&(Ll=!0);break;case 6:if(Hl(t,e),Kl(e),4&r){if(null===e.stateNode)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(m){Eu(e,e.return,m)}}break;case 3:if(rp=null,o=Vl,Vl=Wd(t.containerInfo),Hl(t,e),Vl=o,Kl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vp(t.containerInfo)}catch(m){Eu(e,e.return,m)}Ll&&(Ll=!1,Yl(e));break;case 4:r=Vl,Vl=Wd(e.stateNode.containerInfo),Hl(t,e),Kl(e),Vl=r;break;case 12:default:Hl(t,e),Kl(e);break;case 31:case 19:Hl(t,e),Kl(e),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,ql(e,r)));break;case 13:Hl(t,e),Kl(e),8192&e.child.flags&&null!==e.memoizedState!==(null!==n&&null!==n.memoizedState)&&(Uc=ce()),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,ql(e,r)));break;case 22:o=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Al,d=Tl;if(Al=u||o,Tl=d||c,Hl(t,e),Tl=d,Al=u,Kl(e),8192&r)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||c||Al||Tl||Zl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(a=c.stateNode,o)"function"===typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var p=c.memoizedProps.style,f=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==f||"boolean"===typeof f?"":(""+f).trim()}}catch(m){Eu(c,c.return,m)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=o?"":c.memoizedProps}catch(m){Eu(c,c.return,m)}}}else if(18===t.tag){if(null===n){c=t;try{var h=c.stateNode;o?_d(h,!0):_d(c.stateNode,!1)}catch(m){Eu(c,c.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&(null!==(r=e.updateQueue)&&(null!==(n=r.retryQueue)&&(r.retryQueue=null,ql(e,n))));case 30:case 21:}}function Kl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(jl(r)){n=r;break}r=r.return}if(null==n)throw Error(i(160));switch(n.tag){case 27:var o=n.stateNode;Rl(e,Nl(e),o);break;case 5:var a=n.stateNode;32&n.flags&&(Et(a,""),n.flags&=-33),Rl(e,Nl(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;Pl(e,Nl(e),s);break;default:throw Error(i(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Yl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Yl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ql(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Ml(e,t.alternate,t),t=t.sibling}function Zl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:vl(4,t,t.return),Zl(t);break;case 1:Sl(t,t.return);var n=t.stateNode;"function"===typeof n.componentWillUnmount&&xl(t,t.return,n),Zl(t);break;case 27:zd(t.stateNode);case 26:case 5:Sl(t,t.return),Zl(t);break;case 22:null===t.memoizedState&&Zl(t);break;default:Zl(t)}e=e.sibling}}function Xl(e,t,n){for(n=n&&0!==(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Xl(o,a,n),bl(4,a);break;case 1:if(Xl(o,a,n),"function"===typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(c){Eu(r,r.return,c)}if(null!==(o=(r=a).updateQueue)){var s=r.stateNode;try{var l=o.shared.hiddenCallbacks;if(null!==l)for(o.shared.hiddenCallbacks=null,o=0;o<l.length;o++)Pa(l[o],s)}catch(c){Eu(r,r.return,c)}}n&&64&i&&wl(a),kl(a,a.return);break;case 27:_l(a);case 26:case 5:Xl(o,a,n),n&&null===r&&4&i&&Cl(a),kl(a,a.return);break;case 12:Xl(o,a,n);break;case 31:Xl(o,a,n),n&&4&i&&Bl(o,a);break;case 13:Xl(o,a,n),n&&4&i&&Wl(o,a);break;case 22:null===a.memoizedState&&Xl(o,a,n),kl(a,a.return);break;case 30:break;default:Xl(o,a,n)}t=t.sibling}}function Jl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Wo(n))}function ec(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Wo(e))}function tc(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)nc(e,t,n,r),t=t.sibling}function nc(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:tc(e,t,n,r),2048&o&&bl(9,t);break;case 1:case 31:case 13:default:tc(e,t,n,r);break;case 3:tc(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Wo(e)));break;case 12:if(2048&o){tc(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,s=a.onPostCommit;"function"===typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){Eu(t,t.return,l)}}else tc(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?tc(e,t,n,r):oc(e,t):2&a._visibility?tc(e,t,n,r):(a._visibility|=2,rc(e,t,n,r,0!==(10256&t.subtreeFlags)||!1)),2048&o&&Jl(i,t);break;case 24:tc(e,t,n,r),2048&o&&ec(t.alternate,t)}}function rc(e,t,n,r,o){for(o=o&&(0!==(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var a=e,i=t,s=n,l=r,c=i.flags;switch(i.tag){case 0:case 11:case 15:rc(a,i,s,l,o),bl(8,i);break;case 23:break;case 22:var u=i.stateNode;null!==i.memoizedState?2&u._visibility?rc(a,i,s,l,o):oc(a,i):(u._visibility|=2,rc(a,i,s,l,o)),o&&2048&c&&Jl(i.alternate,i);break;case 24:rc(a,i,s,l,o),o&&2048&c&&ec(i.alternate,i);break;default:rc(a,i,s,l,o)}t=t.sibling}}function oc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:oc(n,r),2048&o&&Jl(r.alternate,r);break;case 24:oc(n,r),2048&o&&ec(r.alternate,r);break;default:oc(n,r)}t=t.sibling}}var ac=8192;function ic(e,t,n){if(e.subtreeFlags&ac)for(e=e.child;null!==e;)sc(e,t,n),e=e.sibling}function sc(e,t,n){switch(e.tag){case 26:ic(e,t,n),e.flags&ac&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!==typeof r.media||!1!==matchMedia(r.media).matches)&&0===(4&n.state.loading)){if(null===n.instance){var o=Kd(r.href),a=t.querySelector(Yd(o));if(a)return null!==(t=a._p)&&"object"===typeof t&&"function"===typeof t.then&&(e.count++,e=lp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,void tt(a);a=t.ownerDocument||t,r=Qd(r),(o=$d.get(o))&&tp(r,o),tt(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),hd(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0===(3&n.state.loading)&&(e.count++,n=lp.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Vl,e.memoizedState,e.memoizedProps);break;case 5:default:ic(e,t,n);break;case 3:case 4:var r=Vl;Vl=Wd(e.stateNode.containerInfo),ic(e,t,n),Vl=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=ac,ac=16777216,ic(e,t,n),ac=r):ic(e,t,n))}}function lc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function cc(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Il=r,pc(r,e)}lc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)uc(e),e=e.sibling}function uc(e){switch(e.tag){case 0:case 11:case 15:cc(e),2048&e.flags&&vl(9,e,e.return);break;case 3:case 12:default:cc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,dc(e)):cc(e)}}function dc(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Il=r,pc(r,e)}lc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:vl(8,t,t.return),dc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,dc(t));break;default:dc(t)}e=e.sibling}}function pc(e,t){for(;null!==Il;){var n=Il;switch(n.tag){case 0:case 11:case 15:vl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Wo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Il=r;else e:for(n=e;null!==Il;){var o=(r=Il).sibling,a=r.return;if(Ol(r),r===n){Il=null;break e}if(null!==o){o.return=a,Il=o;break e}Il=a}}}var fc={getCacheForType:function(e){var t=Io($o),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Io($o).controller.signal}},hc="function"===typeof WeakMap?WeakMap:Map,mc=0,gc=null,yc=null,bc=0,vc=0,wc=null,xc=!1,kc=!1,Sc=!1,Cc=0,Ec=0,jc=0,Nc=0,Pc=0,Rc=0,_c=0,Ac=null,Tc=null,Lc=!1,Uc=0,Ic=0,Mc=1/0,Oc=null,Fc=null,Dc=0,zc=null,$c=null,Bc=0,Wc=0,qc=null,Hc=null,Vc=0,Gc=null;function Kc(){return 0!==(2&mc)&&0!==bc?bc&-bc:null!==I.T?qu():De()}function Yc(){if(0===Rc)if(0===(536870912&bc)||ho){var e=Ee;0===(3932160&(Ee<<=1))&&(Ee=262144),Rc=e}else Rc=536870912;return null!==(e=Ia.current)&&(e.flags|=32),Rc}function Qc(e,t,n){(e!==gc||2!==vc&&9!==vc)&&null===e.cancelPendingCommit||(ru(e,0),eu(e,bc,Rc,!1)),Le(e,n),0!==(2&mc)&&e===gc||(e===gc&&(0===(2&mc)&&(Nc|=n),4===Ec&&eu(e,bc,Rc,!1)),Ou(e))}function Zc(e,t,n){if(0!==(6&mc))throw Error(i(327));for(var r=!n&&0===(127&t)&&0===(t&e.expiredLanes)||Re(e,t),o=r?function(e,t){var n=mc;mc|=2;var r=iu(),o=su();gc!==e||bc!==t?(Oc=null,Mc=ce()+500,ru(e,t)):kc=Re(e,t);e:for(;;)try{if(0!==vc&&null!==yc){t=yc;var a=wc;t:switch(vc){case 1:vc=0,wc=null,hu(e,t,a,1);break;case 2:case 9:if(oa(a)){vc=0,wc=null,fu(t);break}t=function(){2!==vc&&9!==vc||gc!==e||(vc=7),Ou(e)},a.then(t,t);break e;case 3:vc=7;break e;case 4:vc=5;break e;case 7:oa(a)?(vc=0,wc=null,fu(t)):(vc=0,wc=null,hu(e,t,a,7));break;case 5:var s=null;switch(yc.tag){case 26:s=yc.memoizedState;case 5:case 27:var l=yc;if(s?ip(s):l.stateNode.complete){vc=0,wc=null;var c=l.sibling;if(null!==c)yc=c;else{var u=l.return;null!==u?(yc=u,mu(u)):yc=null}break t}}vc=0,wc=null,hu(e,t,a,5);break;case 6:vc=0,wc=null,hu(e,t,a,6);break;case 8:nu(),Ec=6;break e;default:throw Error(i(462))}}du();break}catch(d){ou(e,d)}return No=jo=null,I.H=r,I.A=o,mc=n,null!==yc?0:(gc=null,bc=0,Tr(),Ec)}(e,t):cu(e,t,!0),a=r;;){if(0===o){kc&&!r&&eu(e,t,0,!1);break}if(n=e.current.alternate,!a||Jc(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Ac;var c=l.current.memoizedState.isDehydrated;if(c&&(ru(l,s).flags|=256),2!==(s=cu(l,s,!1))){if(Sc&&!c){l.errorRecoveryDisabledLanes|=a,Nc|=a,o=4;break e}a=Tc,Tc=o,null!==a&&(null===Tc?Tc=a:Tc.push.apply(Tc,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){ru(e,0),eu(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t)break;case 6:eu(r,t,Rc,!xc);break e;case 2:Tc=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=Uc+300-ce())){if(eu(r,t,Rc,!xc),0!==Pe(r,0,!0))break e;Bc=t,r.timeoutHandle=Sd(Xc.bind(null,r,n,Tc,Oc,Lc,t,Rc,Nc,_c,xc,a,"Throttled",-0,0),o)}else Xc(r,n,Tc,Oc,Lc,t,Rc,Nc,_c,xc,a,null,-0,0)}break}o=cu(e,t,!1),a=!1}Ou(e)}function Xc(e,t,n,r,o,a,i,s,l,c,u,d,p,f){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||16785408===(16785408&d)){sc(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lt});var h=(62914560&a)===a?Uc-ce():(4194048&a)===a?Ic-ce():0;if(null!==(h=function(e,t){return e.stylesheets&&0===e.count&&up(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&up(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===sp&&(sp=62500*function(){if("function"===typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,s=o.duration;if(a&&s&&md(i)){for(i=0,s=o.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&md(d)&&(i+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"===typeof(e=navigator.connection.downlink)?e:5}());var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&up(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>sp?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(d,h)))return Bc=a,e.cancelPendingCommit=h(yu.bind(null,e,t,a,n,r,o,i,s,l,u,d,null,p,f)),void eu(e,a,i,!c)}yu(e,t,a,n,r,o,i,s,l)}function Jc(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!er(a(),o))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function eu(e,t,n,r){t&=~Pc,t&=~Nc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-xe(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Ue(e,n,t)}function tu(){return 0!==(6&mc)||(Fu(0,!1),!1)}function nu(){if(null!==yc){if(0===vc)var e=yc.return;else No=jo=null,ci(e=yc),ua=null,da=0,e=yc;for(;null!==e;)yl(e.alternate,e),e=e.return;yc=null}}function ru(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Cd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Bc=0,nu(),gc=e,yc=n=Br(e.current,null),bc=t,vc=0,wc=null,xc=!1,kc=Re(e,t),Sc=!1,_c=Rc=Pc=Nc=jc=Ec=0,Tc=Ac=null,Lc=!1,0!==(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-xe(r),a=1<<o;t|=e[o],r&=~a}return Cc=t,Tr(),n}function ou(e,t){Ha=null,I.H=ys,t===ea||t===na?(t=la(),vc=3):t===ta?(t=la(),vc=4):vc=t===Us?8:null!==t&&"object"===typeof t&&"function"===typeof t.then?6:1,wc=t,null===yc&&(Ec=1,Rs(e,Qr(t,e.current)))}function au(){var e=Ia.current;return null===e||((4194048&bc)===bc?null===Ma:((62914560&bc)===bc||0!==(536870912&bc))&&e===Ma)}function iu(){var e=I.H;return I.H=ys,null===e?ys:e}function su(){var e=I.A;return I.A=fc,e}function lu(){Ec=4,xc||(4194048&bc)!==bc&&null!==Ia.current||(kc=!0),0===(134217727&jc)&&0===(134217727&Nc)||null===gc||eu(gc,bc,Rc,!1)}function cu(e,t,n){var r=mc;mc|=2;var o=iu(),a=su();gc===e&&bc===t||(Oc=null,ru(e,t)),t=!1;var i=Ec;e:for(;;)try{if(0!==vc&&null!==yc){var s=yc,l=wc;switch(vc){case 8:nu(),i=6;break e;case 3:case 2:case 9:case 6:null===Ia.current&&(t=!0);var c=vc;if(vc=0,wc=null,hu(e,s,l,c),n&&kc){i=0;break e}break;default:c=vc,vc=0,wc=null,hu(e,s,l,c)}}uu(),i=Ec;break}catch(u){ou(e,u)}return t&&e.shellSuspendCounter++,No=jo=null,mc=r,I.H=o,I.A=a,null===yc&&(gc=null,bc=0,Tr()),i}function uu(){for(;null!==yc;)pu(yc)}function du(){for(;null!==yc&&!se();)pu(yc)}function pu(e){var t=ll(e.alternate,e,Cc);e.memoizedProps=e.pendingProps,null===t?mu(e):yc=t}function fu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Gs(n,t,t.pendingProps,t.type,void 0,bc);break;case 11:t=Gs(n,t,t.pendingProps,t.type.render,t.ref,bc);break;case 5:ci(t);default:yl(n,t),t=ll(n,t=yc=Wr(t,Cc),Cc)}e.memoizedProps=e.pendingProps,null===t?mu(e):yc=t}function hu(e,t,n,r){No=jo=null,ci(t),ua=null,da=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"===typeof r&&"function"===typeof r.then){if(null!==(t=n.alternate)&&To(t,n,o,!0),null!==(n=Ia.current)){switch(n.tag){case 31:case 13:return null===Ma?lu():null===n.alternate&&0===Ec&&(Ec=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===ra?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),ju(e,r,o)),!1;case 22:return n.flags|=65536,r===ra?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),ju(e,r,o)),!1}throw Error(i(435,n.tag))}return ju(e,r,o),lu(),!1}if(ho)return null!==(t=Ia.current)?(0===(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==yo&&Co(Qr(e=Error(i(422),{cause:r}),n))):(r!==yo&&Co(Qr(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=Qr(r,n),Ca(e,o=As(e.stateNode,r,o)),4!==Ec&&(Ec=2)),!1;var a=Error(i(520),{cause:r});if(a=Qr(a,n),null===Ac?Ac=[a]:Ac.push(a),4!==Ec&&(Ec=2),null===t)return!0;r=Qr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Ca(n,e=As(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,0===(128&n.flags)&&("function"===typeof t.getDerivedStateFromError||null!==a&&"function"===typeof a.componentDidCatch&&(null===Fc||!Fc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,Ls(o=Ts(o),e,n,r),Ca(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,bc))return Ec=1,Rs(e,Qr(n,e.current)),void(yc=null)}catch(a){if(null!==o)throw yc=o,a;return Ec=1,Rs(e,Qr(n,e.current)),void(yc=null)}32768&t.flags?(ho||1===r?e=!0:kc||0!==(536870912&bc)?e=!1:(xc=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=Ia.current)&&13===r.tag&&(r.flags|=16384))),gu(t,e)):mu(t)}function mu(e){var t=e;do{if(0!==(32768&t.flags))return void gu(t,xc);e=t.return;var n=ml(t.alternate,t,Cc);if(null!==n)return void(yc=n);if(null!==(t=t.sibling))return void(yc=t);yc=t=e}while(null!==t);0===Ec&&(Ec=5)}function gu(e,t){do{var n=gl(e.alternate,e);if(null!==n)return n.flags&=32767,void(yc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deleti
2ons=null),!t&&null!==(e=e.sibling))return void(yc=e);yc=e=n}while(null!==e);Ec=6,yc=null}function yu(e,t,n,r,o,a,s,l,c){e.cancelPendingCommit=null;do{ku()}while(0!==Dc);if(0!==(6&mc))throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-xe(n),d=1<<u;s[u]=0,l[u]=-1;var p=c[u];if(null!==p)for(c[u]=null,u=0;u<p.length;u++){var f=p[u];null!==f&&(f.lane&=-536870913)}n&=~d}0!==r&&Ue(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a|=Ar,s,l,c),e===gc&&(yc=gc=null,bc=0),$c=t,zc=e,Bc=n,Wc=a,qc=o,Hc=r,0!==(10256&t.subtreeFlags)||0!==(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ae(fe,function(){return Su(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!==(13878&t.flags),0!==(13878&t.subtreeFlags)||r){r=I.T,I.T=null,o=M.p,M.p=2,s=mc,mc|=4;try{!function(e,t){if(e=e.containerInfo,gd=xp,ir(e=ar(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++u===o&&(l=s),f===a&&++d===r&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(yd={focusedElem:e,selectionRange:n},xp=!1,Il=t;null!==Il;)if(e=(t=Il).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Il=e;else for(;null!==Il;){switch(a=(t=Il).alternate,e=t.flags,t.tag){case 0:if(0!==(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!==(1024&e)&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var m=Es(n.type,o);e=r.getSnapshotBeforeUpdate(m,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(y){Eu(n,n.return,y)}}break;case 3:if(0!==(1024&e))if(9===(n=(e=t.stateNode.containerInfo).nodeType))Ad(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ad(e);break;default:e.textContent=""}break;default:if(0!==(1024&e))throw Error(i(163))}if(null!==(e=t.sibling)){e.return=t.return,Il=e;break}Il=t.return}}(e,t)}finally{mc=s,M.p=o,I.T=r}}Dc=1,bu(),vu(),wu()}}function bu(){if(1===Dc){Dc=0;var e=zc,t=$c,n=0!==(13878&t.flags);if(0!==(13878&t.subtreeFlags)||n){n=I.T,I.T=null;var r=M.p;M.p=2;var o=mc;mc|=4;try{Gl(t,e);var a=yd,i=ar(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(i!==s&&s&&s.ownerDocument&&or(s.ownerDocument.documentElement,s)){if(null!==l&&ir(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!f.extend&&m>g&&(i=g,g=m,m=i);var y=rr(s,m),b=rr(s,g);if(y&&b&&(1!==f.rangeCount||f.anchorNode!==y.node||f.anchorOffset!==y.offset||f.focusNode!==b.node||f.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),f.removeAllRanges(),m>g?(f.addRange(v),f.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),f.addRange(v))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"===typeof s.focus&&s.focus(),s=0;s<d.length;s++){var w=d[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}xp=!!gd,yd=gd=null}finally{mc=o,M.p=r,I.T=n}}e.current=t,Dc=2}}function vu(){if(2===Dc){Dc=0;var e=zc,t=$c,n=0!==(8772&t.flags);if(0!==(8772&t.subtreeFlags)||n){n=I.T,I.T=null;var r=M.p;M.p=2;var o=mc;mc|=4;try{Ml(e,t.alternate,t)}finally{mc=o,M.p=r,I.T=n}}Dc=3}}
2function wu(){if(4===Dc||3===Dc){Dc=0,le();var e=zc,t=$c,n=Bc,r=Hc;0!==(10256&t.subtreeFlags)||0!==(10256&t.flags)?Dc=5:(Dc=0,$c=zc=null,xu(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Fc=null),Fe(n),t=t.stateNode,ve&&"function"===typeof ve.onCommitFiberRoot)try{ve.onCommitFiberRoot(be,t,void 0,128===(128&t.current.flags))}catch(l){}if(null!==r){t=I.T,o=M.p,M.p=2,I.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var s=r[i];a(s.value,{componentStack:s.stack})}}finally{I.T=t,M.p=o}}0!==(3&Bc)&&ku(),Ou(e),o=e.pendingLanes,0!==(261930&n)&&0!==(42&o)?e===Gc?Vc++:(Vc=0,Gc=e):Vc=0,Fu(0,!1)}}function xu(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Wo(t)))}function ku(){return bu(),vu(),wu(),Su()}function Su(){if(5!==Dc)return!1;var e=zc,t=Wc;Wc=0;var n=Fe(Bc),r=I.T,o=M.p;try{M.p=32>n?32:n,I.T=null,n=qc,qc=null;var a=zc,s=Bc;if(Dc=0,$c=zc=null,Bc=0,0!==(6&mc))throw Error(i(331));var l=mc;if(mc|=4,uc(a.current),nc(a,a.current,s,n),mc=l,Fu(0,!1),ve&&"function"===typeof ve.onPostCommitFiberRoot)try{ve.onPostCommitFiberRoot(be,a)}catch(c){}return!0}finally{M.p=o,I.T=r,xu(e,t)}}function Cu(e,t,n){t=Qr(n,t),null!==(e=ka(e,t=As(e.stateNode,t,2),2))&&(Le(e,2),Ou(e))}function Eu(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Fc||!Fc.has(r))){e=Qr(n,e),null!==(r=ka(t,n=Ts(2),2))&&(Ls(n,r,t,e),Le(r,2),Ou(r));break}}t=t.return}}function ju(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(Sc=!0,o.add(n),e=Nu.bind(null,e,t,n),t.then(e,e))}function Nu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,gc===e&&(bc&n)===n&&(4===Ec||3===Ec&&(62914560&bc)===bc&&300>ce()-Uc?0===(2&mc)&&ru(e,0):Pc|=n,_c===bc&&(_c=0)),Ou(e)}function Pu(e,t){0===t&&(t=Ae()),null!==(e=Ir(e,t))&&(Le(e,t),Ou(e))}function Ru(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function _u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),Pu(e,n)}var Au=null,Tu=null,Lu=!1,Uu=!1,Iu=!1,Mu=0;function Ou(e){e!==Tu&&null===e.next&&(null===Tu?Au=Tu=e:Tu=Tu.next=e),Uu=!0,Lu||(Lu=!0,jd(function(){0!==(6&mc)?ae(de,Du):zu()}))}function Fu(e,t){if(!Iu&&Uu){Iu=!0;do{for(var n=!1,r=Au;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-xe(42|e)+1)-1,a=201326741&(a&=o&~(i&~s))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Wu(r,a))}else a=bc,0===(3&(a=Pe(r,r===gc?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Re(r,a)||(n=!0,Wu(r,a));r=r.next}}while(n);Iu=!1}}function Du(){zu()}function zu(){Uu=Lu=!1;var e=0;0!==Mu&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==kd&&(kd=e,!0);return kd=null,!1}()&&(e=Mu);for(var t=ce(),n=null,r=Au;null!==r;){var o=r.next,a=$u(r,t);0===a?(r.next=null,null===n?Au=o:n.next=o,null===o&&(Tu=n)):(n=r,(0!==e||0!==(3&a))&&(Uu=!0)),r=o}0!==Dc&&5!==Dc||Fu(e,!1),0!==Mu&&(Mu=0)}function $u(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-xe(a),s=1<<i,l=o[i];-1===l?0!==(s&n)&&0===(s&r)||(o[i]=_e(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(n=bc,n=Pe(e,e===(t=gc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===vc||9===vc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ie(r),e.callbackNode=null,e.callbackPriority=0;if(0===(3&n)||Re(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ie(r),Fe(n)){case 2:case 8:n=pe;break;case 32:default:n=fe;break;case 268435456:n=me}return r=Bu.bind(null,e),n=ae(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ie(r),e.callbackPriority=2,e.callbackNode=null,2}function Bu(e,t){if(0!==Dc&&5!==Dc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=bc;return 0===(r=Pe(e,e===gc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Zc(e,r,t),$u(e,ce()),null!=e.callbackNode&&e.callbackNode===n?Bu.bind(null,e):null)}function Wu(e,t){if(ku())return null;Zc(e,t,!0)}function qu(){if(0===Mu){var e=Vo;0===e&&(e=Ce,0===(261888&(Ce<<=1))&&(Ce=256)),Mu=e}return Mu}function Hu(e){return null==e||"symbol"===typeof e||"boolean"===typeof e?null:"function"===typeof e?e:Tt(""+e)}function Vu(e,t){var n=t.ownerDocument.createElement("input");
vendor: 5,020 bytes, line 2
2return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Gu=0;Gu<jr.length;Gu++){var Ku=jr[Gu];Nr(Ku.toLowerCase(),"on"+(Ku[0].toUpperCase()+Ku.slice(1)))}Nr(br,"onAnimationEnd"),Nr(vr,"onAnimationIteration"),Nr(wr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(xr,"onTransitionRun"),Nr(kr,"onTransitionStart"),Nr(Sr,"onTransitionCancel"),Nr(Cr,"onTransitionEnd"),at("onMouseEnter",["mouseout","mouseover"]),at("onMouseLeave",["mouseout","mouseover"]),at("onPointerEnter",["pointerout","pointerover"]),at("onPointerLeave",["pointerout","pointerover"]),ot("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ot("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="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(" "),Qu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu));function Zu(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;a=s,o.currentTarget=c;try{a(o)}catch(u){Pr(u)}o.currentTarget=null,a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;a=s,o.currentTarget=c;try{a(o)}catch(u){Pr(u)}o.currentTarget=null,a=l}}}}function Xu(e,t){var n=t[He];void 0===n&&(n=t[He]=new Set);var r=e+"__bubble";n.has(r)||(nd(t,e,2,!1),n.add(r))}function Ju(e,t,n){var r=0;t&&(r|=4),nd(n,e,r,t)}var ed="_reactListening"+Math.random().toString(36).slice(2);function td(e){if(!e[ed]){e[ed]=!0,nt.forEach(function(t){"selectionchange"!==t&&(Qu.has(t)||Ju(t,!1,e),Ju(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ed]||(t[ed]=!0,Ju("selectionchange",!1,t))}}function nd(e,t,n,r){switch(Pp(t)){case 2:var o=kp;break;case 8:o=Sp;break;default:o=Cp}n=o.bind(null,t,n,e),o=void 0,!Wt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function rd(e,t,n,r,o){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o)break;if(4===i)for(i=r.return;null!==i;){var c=i.tag;if((3===c||4===c)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==s;){if(null===(i=Ze(s)))return;if(5===(c=i.tag)||6===c||26===c||27===c){r=a=i;continue e}s=s.parentNode}}r=r.return}zt(function(){var r=a,o=It(n),i=[];e:{var s=Er.get(e);if(void 0!==s){var c=rn,u=e;switch(e){case"keypress":if(0===Yt(n))break e;case"keydown":case"keyup":c=wn;break;case"focusin":u="focus",c=un;break;case"focusout":u="blur",c=un;break;case"beforeblur":case"afterblur":c=un;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=ln;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=cn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=kn;break;case br:case vr:case wr:c=dn;break;case Cr:c=Sn;break;case"scroll":case"scrollend":c=an;break;case"wheel":c=Cn;break;case"copy":case"cut":case"paste":c=pn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=xn;break;case"toggle":case"beforetoggle":c=En}var d=0!==(4&t),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===f||null!=(g=$t(m,f))&&d.push(od(m,g,h)),p)break;m=m.return}0<d.length&&(s=new c(s,u,null,n,o),i.push({event:s,listeners:d}))}}if(0===(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ut||!(u=n.relatedTarget||n.fromElement)||!Ze(u)&&!u[qe])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?Ze(u):null)&&(p=l(u),d=u.tag,u!==p||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){
vendor: 4,207 bytes, line 2
2if(d=ln,g="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=xn,g="onPointerLeave",f="onPointerEnter",m="pointer"),p=null==c?s:Je(c),h=null==u?s:Je(u),(s=new d(g,m+"leave",c,n,o)).target=p,s.relatedTarget=h,g=null,Ze(o)===r&&((d=new d(f,m+"enter",u,n,o)).target=h,d.relatedTarget=p,g=d),p=g,c&&u)e:{for(d=id,m=u,h=0,g=f=c;g;g=d(g))h++;g=0;for(var y=m;y;y=d(y))g++;for(;0<h-g;)f=d(f),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(f===m||null!==m&&f===m.alternate){d=f;break e}f=d(f),m=d(m)}d=null}else d=null;null!==c&&sd(i,s,c,d,!1),null!==u&&null!==p&&sd(i,p,u,d,!0)}if("select"===(c=(s=r?Je(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var b=Wn;else if(On(s))if(qn)b=Jn;else{b=Zn;var v=Qn}else!(c=s.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Rt(r.elementType)&&(b=Wn):b=Xn;switch(b&&(b=b(e,r))?Fn(i,b,n,o):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&xt(s,"number",s.value)),v=r?Je(r):window,e){case"focusin":(On(v)||"true"===v.contentEditable)&&(lr=v,cr=r,ur=null);break;case"focusout":ur=cr=lr=null;break;case"mousedown":dr=!0;break;case"contextmenu":case"mouseup":case"dragend":dr=!1,pr(i,n,o);break;case"selectionchange":if(sr)break;case"keydown":case"keyup":pr(i,n,o)}var w;if(Nn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else In?Ln(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(_n&&"ko"!==n.locale&&(In||"onCompositionStart"!==x?"onCompositionEnd"===x&&In&&(w=Kt()):(Vt="value"in(Ht=o)?Ht.value:Ht.textContent,In=!0)),0<(v=ad(r,x)).length&&(x=new fn(x,e,null,n,o),i.push({event:x,listeners:v}),w?x.data=w:null!==(w=Un(n))&&(x.data=w))),(w=Rn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Tn=!0,An);case"textInput":return(e=t.data)===An&&Tn?null:e;default:return null}}(e,n):function(e,t){if(In)return"compositionend"===e||!Nn&&Ln(e,t)?(e=Kt(),Gt=Vt=Ht=null,In=!1,e):null;switch(e){case"paste":default: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 _n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=ad(r,"onBeforeInput")).length&&(v=new fn("onBeforeInput","beforeinput",null,n,o),i.push({event:v,listeners:x}),v.data=w)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Hu((o[We]||null).action),i=r.submitter;i&&null!==(t=(t=i[We]||null)?Hu(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var s=new rn("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Mu){var e=i?Vu(o,i):new FormData(o);rs(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"===typeof a&&(s.preventDefault(),e=i?Vu(o,i):new FormData(o),rs(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(i,e,r,n,o)}Zu(i,t)})}function od(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ad(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=$t(e,n))&&r.unshift(od(e,o,a)),null!=(o=$t(e,t))&&r.push(od(e,o,a))),3===e.tag)return r;e=e.return}return[]}function id(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function sd(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,o?null!=(c=$t(n,a))&&i.unshift(od(n,c,l)):o||null!=(c=$t(n,a))&&i.push(od(n,c,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var ld=/\r\n?/g,cd=/\u0000|\uFFFD/g;function ud(e){return("string"===typeof e?e:""+e).replace(ld,"\n").replace(cd,"")}function dd(e,t){return t=ud(t),ud(e)===t}function pd(e,t,n,r,o,a){switch(n){case"children":"string"===typeof r?"body"===t||"textarea"===t&&""===r||Et(e,r):("number"===typeof r||"bigint"===typeof r)&&"body"!==t&&Et
2(e,""+r);break;case"className":ut(e,"class",r);break;case"tabIndex":ut(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ut(e,n,r);break;case"style":Pt(e,r,a);break;case"data":if("object"!==t){ut(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"===typeof r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=Tt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"===typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"===typeof a&&("formAction"===n?("input"!==t&&pd(e,t,"name",o.name,o,null),pd(e,t,"formEncType",o.formEncType,o,null),pd(e,t,"formMethod",o.formMethod,o,null),pd(e,t,"formTarget",o.formTarget,o,null)):(pd(e,t,"encType",o.encType,o,null),pd(e,t,"method",o.method,o,null),pd(e,t,"target",o.target,o,null))),null==r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=Tt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Lt);break;case"onScroll":null!=r&&Xu("scroll",e);break;case"onScrollEnd":null!=r&&Xu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"muted":e.muted=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"===typeof r||"boolean"===typeof r||"symbol"===typeof r){e.removeAttribute("xlink:href");break}n=Tt(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!==typeof r&&"symbol"!==typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"===typeof r||"symbol"===typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Xu("beforetoggle",e),Xu("toggle",e),ct(e,"popover",r);break;case"xlinkActuate":dt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":dt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":dt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":dt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":dt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":dt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":dt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":dt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":dt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ct(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ct(e,n=_t.get(n)||n,r)}}function fd(e,t,n,r,o,a){switch(n){case"style":Pt(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));e.innerHTML=n}}break;case"children":"string"===typeof r?Et(e,r):("number"===typeof r||"bigint"===typeof r)&&Et(e,""+r);break;case"onScroll":null!=r&&Xu("scroll",e);break;case"onScrollEnd":null!=r&&Xu("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:rt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"===typeof(a=null!=(a=e[We]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!==typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):ct(e,n,r):("function"!==typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o)))}}
vendor: 4,408 bytes, line 2
2function hd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xu("error",e),Xu("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:pd(e,t,r,s,n,null)}}return a&&pd(e,t,"srcSet",n.srcSet,n,null),void(o&&pd(e,t,"src",n.src,n,null));case"input":Xu("invalid",e);var l=r=s=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:pd(e,t,o,d,n,null)}}return void wt(e,r,l,c,u,s,a,!1);case"select":for(a in Xu("invalid",e),o=s=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:pd(e,t,a,l,n,null)}return t=r,n=s,e.multiple=!!o,void(null!=t?kt(e,!!o,t,!1):null!=n&&kt(e,!!o,n,!0));case"textarea":for(s in Xu("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(i(91));break;default:pd(e,t,s,l,n,null)}return void Ct(e,o,a,r);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))if("selected"===c)e.selected=o&&"function"!==typeof o&&"symbol"!==typeof o;else pd(e,t,c,o,n,null);return;case"dialog":Xu("beforetoggle",e),Xu("toggle",e),Xu("cancel",e),Xu("close",e);break;case"iframe":case"object":Xu("load",e);break;case"video":case"audio":for(o=0;o<Yu.length;o++)Xu(Yu[o],e);break;case"image":Xu("error",e),Xu("load",e);break;case"details":Xu("toggle",e);break;case"embed":case"source":case"link":Xu("error",e),Xu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:pd(e,t,u,o,n,null)}return;default:if(Rt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&fd(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&pd(e,t,l,o,n,null))}function md(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var gd=null,yd=null;function bd(e){return 9===e.nodeType?e:e.ownerDocument}function vd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function wd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function xd(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"bigint"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var kd=null;var Sd="function"===typeof setTimeout?setTimeout:void 0,Cd="function"===typeof clearTimeout?clearTimeout:void 0,Ed="function"===typeof Promise?Promise:void 0,jd="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof Ed?function(e){return Ed.resolve(null).then(e).catch(Nd)}:Sd;function Nd(e){setTimeout(function(){throw e})}function Pd(e){return"head"===e}function Rd(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Vp(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)zd(e.ownerDocument.documentElement);else if("head"===n){zd(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,s=a.nodeName;a[Ye]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&zd(e.ownerDocument.body);n=o}while(n);Vp(t)}function _d(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.
vendor: 9,418 bytes, line 2
2nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Ad(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ad(n),Qe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Td(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Id(e.nextSibling)))return null}return e}function Ld(e){return"$?"===e.data||"$~"===e.data}function Ud(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Id(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Md=null;function Od(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Id(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Fd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Dd(e,t,n){switch(t=bd(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function zd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qe(e)}var $d=new Map,Bd=new Set;function Wd(e){return"function"===typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var qd=M.d;M.d={f:function(){var e=qd.f(),t=tu();return e||t},r:function(e){var t=Xe(e);null!==t&&5===t.tag&&"form"===t.type?as(t):qd.r(e)},D:function(e){qd.D(e),Vd("dns-prefetch",e,null)},C:function(e,t){qd.C(e,t),Vd("preconnect",e,t)},L:function(e,t,n){qd.L(e,t,n);var r=Hd;if(r&&e&&t){var o='link[rel="preload"][as="'+bt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+bt(n.imageSrcSet)+'"]',"string"===typeof n.imageSizes&&(o+='[imagesizes="'+bt(n.imageSizes)+'"]')):o+='[href="'+bt(e)+'"]';var a=o;switch(t){case"style":a=Kd(e);break;case"script":a=Zd(e)}$d.has(a)||(e=f({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),$d.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Yd(a))||"script"===t&&r.querySelector(Xd(a))||(hd(t=r.createElement("link"),"link",e),tt(t),r.head.appendChild(t)))}},m:function(e,t){qd.m(e,t);var n=Hd;if(n&&e){var r=t&&"string"===typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+bt(r)+'"][href="'+bt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Zd(e)}if(!$d.has(a)&&(e=f({rel:"modulepreload",href:e},t),$d.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Xd(a)))return}hd(r=n.createElement("link"),"link",e),tt(r),n.head.appendChild(r)}}},X:function(e,t){qd.X(e,t);var n=Hd;if(n&&e){var r=et(n).hoistableScripts,o=Zd(e),a=r.get(o);a||((a=n.querySelector(Xd(o)))||(e=f({src:e,async:!0},t),(t=$d.get(o))&&np(e,t),tt(a=n.createElement("script")),hd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){qd.S(e,t,n);var r=Hd;if(r&&e){var o=et(r).hoistableStyles,a=Kd(e);t=t||"default";var i=o.get(a);if(!i){var s={loading:0,preload:null};if(i=r.querySelector(Yd(a)))s.loading=5;else{e=f({rel:"stylesheet",href:e,"data-precedence":t},n),(n=$d.get(a))&&tp(e,n);var l=i=r.createElement("link");tt(l),hd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ep(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:s},o.set(a,i)}}},M:function(e,t){qd.M(e,t);var n=Hd;if(n&&e){var r=et(n).hoistableScripts,o=Zd(e),a=r.get(o);a||((a=n.querySelector(Xd(o)))||(e=f({src:e,async:!0,type:"module"},t),(t=$d.get(o))&&np(e,t),tt(a=n.createElement("script")),hd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Hd="undefined"===typeof document?null:document;function Vd(e,t,n){var r=Hd;if(r&&"string"===typeof t&&t){var o=bt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"===typeof n&&(o+='[crossorigin="'+n+'"]'),Bd.has(o)||(Bd.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(hd(t=r.createElement("link"),"link",e),tt(t),r.head.appendChild(t)))}}function Gd(e,t,n,r){var o=(o=G.current)?Wd(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"===typeof n.precedence&&"string"===typeof n.href?(t=Kd(n.href),(r=(n=et(o).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"===typeof n.href&&"string"===typeof n.precedence){e=Kd(n.href);var a=et(o).hoistableStyles,s=a.get(e);if(s||(o=o.ownerDocument||o,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=o.querySelector(Yd(e)))&&!a._p&&(s.instance=a,s.state.loading=5),$d.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$d.set(e,n),a||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),hd(t,"link",n),tt(t),e.head.appendChild(t))}(o,e,n,s.state))),t&&null===r)throw Error(i(528,""));return s}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"===typeof(n=n.src)&&t&&"function"!==typeof t&&"symbol"!==typeof t?(t=Zd(n),(r=(n=et(o).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Kd(e){return'href="'+bt(e)+'"'}function Yd(e){return'link[rel="stylesheet"]['+e+"]"}function Qd(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Zd(e){return'[src="'+bt(e)+'"]'}function Xd(e){return"script[async]"+e}function Jd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+bt(n.href)+'"]');if(r)return t.instance=r,tt(r),r;var o=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return tt(r=(e.ownerDocument||e).createElement("style")),hd(r,"style",o),ep(r,n.precedence,e),t.instance=r;case"stylesheet":o=Kd(n.href);var a=e.querySelector(Yd(o));if(a)return t.state.loading|=4,t.instance=a,tt(a),a;r=Qd(n),(o=$d.get(o))&&tp(r,o),tt(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),hd(a,"link",r),t.state.loading|=4,ep(a,n.precedence,e),t.instance=a;case"script":return a=Zd(n.src),(o=e.querySelector(Xd(a)))?(t.instance=o,tt(o),o):(r=n,(o=$d.get(a))&&np(r=f({},n),o),tt(o=(e=e.ownerDocument||e).createElement("script")),hd(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&0===(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,ep(r,n.precedence,e));return t.instance}function ep(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var s=r[i];if(s.dataset.precedence===t)a=s;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function tp(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function np(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var rp=null;function op(e,t,n){if(null===rp){var r=new Map,o=rp=new Map;o.set(n,r)}else(r=(o=rp).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Ye]||a[Be]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var s=r.get(i);s?s.push(a):r.set(i,[a])}}return r}function ap(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ip(e){return"stylesheet"!==e.type||0!==(3&e.state.loading)}var sp=0;function lp(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)up(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var cp=null;function up(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,cp=new Map,t.forEach(dp,e),cp=null,lp.call(e))}function dp(e,t){if(!(4&t.state.loading)){var n=cp.get(e);
vendor: 5,936 bytes, line 2
2if(n)var r=n.get(null);else{n=new Map,cp.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=lp.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var pp={$$typeof:k,Provider:null,Consumer:null,_currentValue:O,_currentValue2:O,_threadCount:0};function fp(e,t,n,r,o,a,i,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Te(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Te(0),this.hiddenUpdates=Te(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function hp(e,t,n,r,o,a,i,s,l,c,u,d){return e=new fp(e,t,n,i,l,c,u,d,s),t=1,!0===a&&(t|=24),a=zr(3,null,null,t),e.current=a,a.stateNode=e,(t=Bo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},va(a),e}function mp(e){return e?e=Fr:Fr}function gp(e,t,n,r,o,a){o=mp(o),null===r.context?r.context=o:r.pendingContext=o,(r=xa(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ka(e,r,t))&&(Qc(n,0,t),Sa(n,e,t))}function yp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function bp(e,t){yp(e,t),(e=e.alternate)&&yp(e,t)}function vp(e){if(13===e.tag||31===e.tag){var t=Ir(e,67108864);null!==t&&Qc(t,0,67108864),bp(e,67108864)}}function wp(e){if(13===e.tag||31===e.tag){var t=Kc(),n=Ir(e,t=Oe(t));null!==n&&Qc(n,0,t),bp(e,t)}}var xp=!0;function kp(e,t,n,r){var o=I.T;I.T=null;var a=M.p;try{M.p=2,Cp(e,t,n,r)}finally{M.p=a,I.T=o}}function Sp(e,t,n,r){var o=I.T;I.T=null;var a=M.p;try{M.p=8,Cp(e,t,n,r)}finally{M.p=a,I.T=o}}function Cp(e,t,n,r){if(xp){var o=Ep(r);if(null===o)rd(e,t,r,jp,n),Op(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return _p=Fp(_p,e,t,n,r,o),!0;case"dragenter":return Ap=Fp(Ap,e,t,n,r,o),!0;case"mouseover":return Tp=Fp(Tp,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lp.set(a,Fp(Lp.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Up.set(a,Fp(Up.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Op(e,r),4&t&&-1<Mp.indexOf(e)){for(;null!==o;){var a=Xe(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=Ne(a.pendingLanes);if(0!==i){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-xe(i);s.entanglements[1]|=l,i&=~l}Ou(a),0===(6&mc)&&(Mc=ce()+500,Fu(0,!1))}}break;case 31:case 13:null!==(s=Ir(a,2))&&Qc(s,0,2),tu(),bp(a,2)}if(null===(a=Ep(r))&&rd(e,t,r,jp,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else rd(e,t,r,null,n)}}function Ep(e){return Np(e=It(e))}var jp=null;function Np(e){if(jp=null,null!==(e=Ze(e))){var t=l(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=u(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return jp=e,null}function Pp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ue()){case de:return 2;case pe:return 8;case fe:case he:return 32;case me:return 268435456;default:return 32}default:return 32}}var Rp=!1,_p=null,Ap=null,Tp=null,Lp=new Map,Up=new Map,Ip=[],Mp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Op(e,t){switch(e){case"focusin":case"focusout":_p=null;break;case"dragenter":case"dragleave":Ap=null;break;case"mouseover":case"mouseout":Tp=null;break;case"pointerover":case"pointerout":Lp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Up.delete(t.pointerId)}}function Fp(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=Xe(t))&&vp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.pu
vendor: 1,463 bytes, line 2
2sh(o),e)}function Dp(e){var t=Ze(e.target);if(null!==t){var n=l(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=c(n)))return e.blockedOn=t,void ze(e.priority,function(){wp(n)})}else if(31===t){if(null!==(t=u(n)))return e.blockedOn=t,void ze(e.priority,function(){wp(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zp(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ep(e.nativeEvent);if(null!==n)return null!==(t=Xe(n))&&vp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ut=r,n.target.dispatchEvent(r),Ut=null,t.shift()}return!0}function $p(e,t,n){zp(e)&&n.delete(t)}function Bp(){Rp=!1,null!==_p&&zp(_p)&&(_p=null),null!==Ap&&zp(Ap)&&(Ap=null),null!==Tp&&zp(Tp)&&(Tp=null),Lp.forEach($p),Up.forEach($p)}function Wp(e,t){e.blockedOn===t&&(e.blockedOn=null,Rp||(Rp=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Bp)))}var qp=null;function Hp(e){qp!==e&&(qp=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){qp===e&&(qp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!==typeof r){if(null===Np(r||n))continue;break}var a=Xe(n);null!==a&&(e.splice(t,3),t-=3,rs(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Vp(e){function t(t){return Wp(t,e)}null!==_p&&Wp(_p,e),null!==Ap&&Wp(Ap,e),null!==Tp&&Wp(Tp,e),Lp.forEach(t),Up.forEac
2h(t);for(var n=0;n<Ip.length;n++){var r=Ip[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ip.length&&null===(n=Ip[0]).blockedOn;)Dp(n),null===n.blockedOn&&Ip.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[We]||null;if("function"===typeof a)i||Hp(n);else if(i){var s=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[We]||null)s=i.formAction;else if(null!==Np(o))continue}else s=i.action;"function"===typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Hp(n)}}}function Gp(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"===typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Kp(e){this._internalRoot=e}function Yp(e){this._internalRoot=e}Yp.prototype.render=Kp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));gp(t.current,Kc(),e,t,null,null)},Yp.prototype.unmount=Kp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;gp(e.current,2,null,e,null,null),tu(),t[qe]=null}},Yp.prototype.unstable_scheduleHydration=function(e){if(e){var t=De();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ip.length&&0!==t&&t<Ip[n].priority;n++);Ip.splice(n,0,e),0===n&&Dp(e)}};var Qp=o.version;if("19.2.4"!==Qp)throw Error(i(527,Qp,"19.2.4"));M.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,c=o.child;c;){if(c===n){s=!0,n=o,r=a;break}if(c===r){s=!0,r=o,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,r=o;break}if(c===r){s=!0,r=a,n=o;break}c=c.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?p(e):null)?null:e.stateNode};var Zp={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.4"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Xp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xp.isDisabled&&Xp.supportsFiber)try{be=Xp.inject(Zp),ve=Xp}catch(ef){}}t.createRoot=function(e,t){if(!s(e))throw Error(i(299));var n=!1,r="",o=js,a=Ns,l=Ps;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=hp(e,1,!1,null,0,n,r,null,o,a,l,Gp),e[qe]=t.current,td(e),new Kp(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(i(299));var r=!1,o="",a=js,l=Ns,c=Ps,u=null;return null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(u=n.formState)),(t=hp(e,1,!0,t,0,r,o,u,a,l,c,Gp)).context=mp(null),n=t.current,(o=xa(r=Oe(r=Kc()))).callback=null,ka(n,o,r),n=r,t.current.lanes=n,Le(t,n),Ou(t),e[qe]=t.current,td(e),new Yp(t)},t.version="19.2.4"},6672(e,t,n){var r=n(5043);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function a(){}var i={d:{f:a,r:function(){throw Error(o(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"===typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"===typeof e&&(t?t="string"===typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"===typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"===typeof e&&t&&"string"===typeof t.as){var n=t.as,r=c(n,t.crossOrigin),o="string"===typeof t.integrity?t.integrity:void 0,a="string"===typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"===typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"===typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"===typeof e)if("object"===typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"===typeof e&&"object"===typeof t&&null!==t&&"string"===typeof t.as){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0,type:"string"===typeof t.type?t.type:void 0,fetchPriority:"string"===typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
2ing"===typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"===typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"===typeof t.imageSizes?t.imageSizes:void 0,media:"string"===typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"===typeof e)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:"string"===typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.4"},4391(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(7004)},7950(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(6672)},1672(e,t,n){n.d(t,{A:()=>K});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var i=n(5043),s="right-scroll-bar-position",l="width-before-scroll-bar";function c(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}var u="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,d=new WeakMap;function p(e,t){var n=function(e,t){var n=(0,i.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}(t||null,function(t){return e.forEach(function(e){return c(e,t)})});return u(function(){var t=d.get(n);if(t){var r=new Set(t),o=new Set(e),a=n.current;r.forEach(function(e){o.has(e)||c(e,null)}),o.forEach(function(e){r.has(e)||c(e,a)})}d.set(n,e)},[e]),n}function f(e){return e}function h(e,t){void 0===t&&(t=f);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}};return o}var m=function(e){void 0===e&&(e={});var t=h(null);return t.options=r({async:!0,ssr:!1},e),t}(),g=function(){},y=i.forwardRef(function(e,t){var n=i.useRef(null),a=i.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),s=a[0],l=a[1],c=e.forwardProps,u=e.children,d=e.className,f=e.removeScrollBar,h=e.enabled,y=e.shards,b=e.sideCar,v=e.noRelative,w=e.noIsolation,x=e.inert,k=e.allowPinchZoom,S=e.as,C=void 0===S?"div":S,E=e.gapMode,j=o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=b,P=p([n,t]),R=r(r({},j),s);return i.createElement(i.Fragment,null,h&&i.createElement(N,{sideCar:m,removeScrollBar:f,shards:y,noRelative:v,noIsolation:w,inert:x,setCallbacks:l,allowPinchZoom:!!k,lockRef:n,gapMode:E}),c?i.cloneElement(i.Children.only(u),r(r({},R),{ref:P})):i.createElement(C,r({},R,{className:d,ref:P}),u))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:l,zeroRight:s};var b,v=function(e){var t=e.sideCar,n=o(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return i.createElement(a,r({},n))};
vendor: 4,458 bytes, line 2
2v.isSideCarExport=!0;function w(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=b||n.nc;return t&&e.setAttribute("nonce",t),e}var x=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=w())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},k=function(){var e=function(){var e=x();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},S={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},E=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return S;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},j=k(),N="data-scroll-locked",P=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(N,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(l," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(s," .").concat(s," {\n right: 0 ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(N,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},R=function(){var e=parseInt(document.body.getAttribute(N)||"0",10);return isFinite(e)?e:0},_=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;i.useEffect(function(){return document.body.setAttribute(N,(R()+1).toString()),function(){var e=R()-1;e<=0?document.body.removeAttribute(N):document.body.setAttribute(N,e.toString())}},[]);var a=i.useMemo(function(){return E(o)},[o]);return i.createElement(j,{styles:P(a,!t,o,n?"":"!important")})},A=!1;if("undefined"!==typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(Y){A=!1}var L=!!A&&{passive:!1},U=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),M(e,r)){var o=O(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},M=function(e,t){return"v"===e?function(e){return U(e,"overflowY")}(t):function(e){return U(e,"overflowX")}(t)},O=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},$=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},B=0,W=[];function q(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const H=(V=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(B++)[0],s=i.useState(k)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));
vendor: 8,110 bytes, line 2
2var t=a([e.lockRef.current],(e.shards||[]).map(z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,a=F(e),i=n.current,s="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var h=I(d,u);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=I(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=o),!o)return!0;var m=r.current||o;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),c=!1,u=i>0,d=0,p=0;do{if(!s)break;var f=O(e,s),h=f[0],m=f[1]-f[2]-a*h;(h||m)&&M(e,s)&&(d+=m,p+=h);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&Math.abs(d)<1||!o&&i>d)||!u&&(o&&Math.abs(p)<1||!o&&-i>p))&&(c=!0),c}(m,t,e,"h"===m?s:c,!0)},[]),u=i.useCallback(function(e){var n=e;if(W.length&&W[W.length-1]===s){var r="deltaY"in n?D(n):F(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(l.current.shards||[]).map(z).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?c(n,a[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=i.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:q(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),p=i.useCallback(function(e){n.current=F(e),r.current=void 0},[]),f=i.useCallback(function(t){d(t.type,D(t),t.target,c(t,e.lockRef.current))},[]),h=i.useCallback(function(t){d(t.type,F(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return W.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",u,L),document.addEventListener("touchmove",u,L),document.addEventListener("touchstart",p,L),function(){W=W.filter(function(e){return e!==s}),document.removeEventListener("wheel",u,L),document.removeEventListener("touchmove",u,L),document.removeEventListener("touchstart",p,L)}},[]);var m=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(s,{styles:$(o)}):null,m?i.createElement(_,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},m.useMedium(V),v);var V,G=i.forwardRef(function(e,t){return i.createElement(y,r({},e,{ref:t,sideCar:H}))});G.classNames=y.classNames;const K=G},2799(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},4288(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var x=w.prototype=new v;x.constructor=w,g(x,b.prototype),x.isPureReactComponent=!0;var k=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function j(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function R(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function _(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,u=!1;if(null===e)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case p:return _((u=e._init)(e._payload),t,o,a,i)}}if(u)return i=i(e),u=""===a?"."+R(e,0):a,k(i)?(o="",null!=u&&(o=u.replace(P,"$&/")+"/"),_(i,t,o,"",function(e){return e})):null!=i&&(N(i)&&(l=i,c=o+(null==i.key||e&&e.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+u,i=j(l.type,c,l.props)),t.push(i)),1;u=0;var d,f=""===a?".":a+":";if(k(e))for(var m=0;m<e.length;m++)u+=_(a=e[m],t,o,s=f+R(a,m),i);else if("function"===typeof(m=null===(d=e)||"object"!==typeof d?null:"function"===typeof(d=h&&d[h]||d["@@iterator"])?d:null))for(e=m.call(e),m=0;!(a=e.next()).done;)u+=_(a=a.value,t,o,s=f+R(a,m++),i);else if("object"===s){if("function"===typeof e.then)return _(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"===typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,a,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function A(e,t,n){if(null==e)return e;var r=[],o=0;return _(e,r,"","",function(e){return t.call(n,e,o++)}),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},U={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=f,t.Children=U,t.Component=b,t.Fragment=o,t.Profiler=i,t.PureComponent=w,t.StrictMode=a,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}}
2,t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)!E.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];r.children=i}return j(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return j(e,a,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=C.T,n={};C.T=n;try{var r=e(),o=C.S;null!==o&&o(n,r),"object"===typeof r&&null!==r&&"function"===typeof r.then&&r.then(S,L)}catch(a){L(a)}finally{null!==t&&null!==n.types&&(t.types=n.types),C.T=t}},t.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},t.use=function(e){return C.H.use(e)},t.useActionState=function(e,t,n){return C.H.useActionState(e,t,n)},t.useCallback=function(e,t){return C.H.useCallback(e,t)},t.useContext=function(e){return C.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return C.H.useEffect(e,t)},t.useEffectEvent=function(e){return C.H.useEffectEvent(e)},t.useId=function(){return C.H.useId()},t.useImperativeHandle=function(e,t,n){return C.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return C.H.useMemo(e,t)},t.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return C.H.useReducer(e,t,n)},t.useRef=function(e){return C.H.useRef(e)},t.useState=function(e){return C.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return C.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return C.H.useTransition()},t.version="19.2.4"},5043(e,t,n){e.exports=n(4288)},579(e,t,n){e.exports=n(2799)},5896(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,n))c<o&&0>a(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,h=!1,m=!1,g=!1,y=!1,b="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,w="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function k(e){if(g=!1,x(e),!m)if(null!==r(c))m=!0,C||(C=!0,S());else{var t=r(u);null!==t&&T(k,t.startTime-e)}}var S,C=!1,E=-1,j=5,N=-1;function P(){return!!y||!(t.unstable_now()-N<j)}function R(){if(y=!1,C){var e=t.unstable_now();N=e;var n=!0;try{e:{m=!1,g&&(g=!1,v(E),E=-1),h=!0;var a=f;try{t:{for(x(e),p=r(c);null!==p&&!(p.expirationTime>e&&P());){var i=p.callback;if("function"===typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=e);if(e=t.unstable_now(),"function"===typeof s){p.callback=s,x(e),n=!0;break t}p===r(c)&&o(c),x(e)}else o(c);p=r(c)}if(null!==p)n=!0;else{var l=r(u);null!==l&&T(k,l.startTime-e),n=!1}}break e}finally{p=null,f=a,h=!1}n=void 0}}finally{n?S():C=!1}}}if("function"===typeof w)S=function(){w(R)};else if("undefined"!==typeof MessageChannel){var _=new MessageChannel,A=_.port2;_.port1.onmessage=R,S=function(){A.postMessage(null)}}else S=function(){b(R,0)};function T(e,n){E=b(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(g?(v(E),E=-1):g=!0,T(k,a-i))):(e.sortIndex=s,n(c,e),m||h||(m=!0,C||(C=!0,S()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},8853(e,t,n){e.exports=n(5896)},3866(e,t,n){function r(e){return function(t){const n=t??this;if(!n)throw new TypeError(`${e.kind||e.name} type guard requires an error object`);return!(!e.kind||"object"!==typeof n||null===n||!("constructor"in n)||n.constructor?.kind!==e.kind)||n instanceof e}}n.d(t,{lJ:()=>Cr,wv:()=>sr,hZ:()=>Lr,Ny:()=>Ur,uF:()=>an,As:()=>hn,ho:()=>De,Jd:()=>Be});
2var o=class e extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}toString(){return`[${this.name}]\nMessage:${this.message}`}static formatMessage(e,t,n,r){const o="Clerk:",a=new RegExp(o.replace(" ","\\s*"),"i");return t=`${o} ${(t=t.replace(a,"")).trim()}\n\n(code="${n}")\n\n`,r&&(t+=`\n\nDocs: ${r}`),t}};var a=class e extends o{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(t,n){super({...n,message:t}),Object.setPrototypeOf(this,e.prototype)}};r(a);var i=class{static kind="ClerkAPIError";code;message;longMessage;meta;constructor(e){const t={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:e.meta?.param_name,sessionId:e.meta?.session_id,emailAddresses:e.meta?.email_addresses,identifiers:e.meta?.identifiers,zxcvbn:e.meta?.zxcvbn,plan:e.meta?.plan,isPlanUpgradePossible:e.meta?.is_plan_upgrade_possible}};this.code=t.code,this.message=t.message,this.longMessage=t.longMessage,this.meta=t.meta}};r(i);var s=class e extends o{static kind="ClerkAPIResponseError";status;clerkTraceId;retryAfter;errors;constructor(t,n){const{data:r,status:o,clerkTraceId:a,retryAfter:s}=n;super({...n,message:t,code:"api_response_error"}),Object.setPrototypeOf(this,e.prototype),this.status=o,this.clerkTraceId=a,this.retryAfter=s,this.errors=(r||[]).map(e=>new i(e))}toString(){let e=`[${this.name}]\nMessage:${this.message}\nStatus:${this.status}\nSerialized errors: ${this.errors.map(e=>JSON.stringify(e))}`;return this.clerkTraceId&&(e+=`\nClerk Trace ID: ${this.clerkTraceId}`),e}static formatMessage(e,t,n,r){return t}};r(s);const l=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invali
2d. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function c(e){let{packageName:t,customMessages:n}=e,r=t;function o(e,t){if(!t)return`${r}: ${e}`;let n=e;const o=e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const r of o){const e=(t[r[1]]||"").toString();n=n.replace(`{{${r[1]}}}`,e)}return`${r}: ${n}`}const a={...l,...n};return{setPackageName(e){let{packageName:t}=e;return"string"===typeof t&&(r=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw new Error(o(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw new Error(o(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw new Error(o(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(o(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw new Error(o(a.MissingClerkProvider,e))},throw(e){throw new Error(o(e))}}}Error;const u={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},d=new Set(["first_factor","second_factor","multi_factor"]),p=new Set(["strict_mfa","strict","moderate","lax"]),f=new Set(["o","org","organization"]),h=new Set(["u","user"]),m=e=>e.replace(/^(org:)*/,"org:"),g=(e,t)=>{const{org:n,user:r}=y(e),[o,a]=t.split(":"),i=void 0!==a,s=o,l=a||o;if(i&&!f.has(s)&&!h.has(s))throw new Error(`Invalid scope: ${s}`);if(i){if(f.has(s))return n.includes(l);if(h.has(s))return r.includes(l)}return[...n,...r].includes(l)},y=e=>{const t=[],n=[];if(!e)return{org:t,user:n};const r=e.split(",");for(let o=0;o<r.length;o++){const e=r[o].trim(),a=e.indexOf(":");if(-1===a)throw new Error(`Invalid claim element (missing colon): ${e}`);const i=e.slice(0,a),s=e.slice(a+1);"o"===i?t.push(s):"u"===i?n.push(s):"ou"!==i&&"uo"!==i||(t.push(s),n.push(s))}return{org:t,user:n}},b=e=>{if(!e)return!1;const t="string"===typeof e&&(n=e,p.has(n));var n;const r="object"===typeof e&&(a=e.level,d.has(a))&&("number"===typeof(o=e.afterMinutes)&&o>0);var o,a;return!(!t&&!r)&&(e=>"string"===typeof e?u[e]:e).bind(null,e)},v=e=>t=>{if(!e.userId)return!1;const n=((e,t)=>{const{features:n,plans:r}=t;return e.feature&&n?g(n,e.feature):e.plan&&r?g(r,e.plan):null})(t,e),r=((e,t)=>{const{orgId:n,orgRole:r,orgPermissions:o}=t;return(e.role||e.permission)&&n&&r&&o?e.permission?o.includes(m(e.permission)):e.role?m(r)===m(e.role):null:null})(t,e),o=((e,t)=>{let{factorVerificationAge:n}=t;if(!e.reverification||!n)return null;const r=b(e.reverification);if(!r)return null;const{level:o,afterMinutes:a}=r(),[i,s]=n,l=-1!==i?a>i:null,c=-1!==s?a>s:null;switch(o){case"first_factor":return l;case"second_factor":return-1!==s?c:l;case"multi_factor":return-1===s?l:l&&c}})(t,e);return[n||r,o].some(e=>null===e)?[n||r,o].some(e=>!0===e):[n||r,o].every(e=>!0===e)};const w=e=>{const t=n=>{if(!n)return n;if(Array.isArray(n))return n.map(e=>"object"===typeof e||Array.isArray(e)?t(e):e);const r={...n},o=Object.keys(r);for(const a of o){const n=e(a.toString());n!==a&&(r[n]=r[a],delete r[a]),"object"===typeof r[n]&&(r[n]=t(r[n]))}return r};return t};w(function(e){return e?e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`):""}),w(function(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""});new Set(["error","warn","info","debug","trace"]);new Set(["SignIn","SignUp"]);function x(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}const k="ClerkJS:";var S=n(5043),C=n.t(S,2),E={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},j=new class{#e=(()=>E)();#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};var N=function(e){setTimeout(e,0)};var P=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=N;const a=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:a=>{let i;t++;try{i=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>
2{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a(()=>{e(...n)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),R="undefined"===typeof window||"Deno"in globalThis;function _(){}function A(e){return"number"===typeof e&&e>=0&&e!==1/0}function T(e,t){return Math.max(e+(t||0)-Date.now(),0)}function L(e,t){return"function"===typeof e?e(t):e}function U(e,t){return"function"===typeof e?e(t):e}var I=Object.prototype.hasOwnProperty;function M(e,t){if(e===t)return e;const n=F(e)&&F(t);if(!n&&(!D(e)||!D(t)))return t;const r=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),a=o.length,i=n?new Array(a):{};let s=0;for(let l=0;l<a;l++){const a=n?l:o[l],c=e[a],u=t[a];if(c===u){i[a]=c,(n?l<r:I.call(e,a))&&s++;continue}if(null===c||null===u||"object"!==typeof c||"object"!==typeof u){i[a]=u;continue}const d=M(c,u);i[a]=d,d===c&&s++}return r===a&&s===r?e:i}function O(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function F(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function D(e){if(!z(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!z(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}function $(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?M(e,t):t}function B(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[...e,t];return n&&r.length>n?r.slice(1):r}function W(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var q=Symbol();function H(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==q?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var V=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},G=new class extends V{#n;#r;#o;constructor(){super(),this.#o=e=>{if(!R&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#o=e,this.#r?.(),this.#r=e(e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"===typeof this.#n?this.#n:"hidden"!==globalThis.document?.visibilityState}},K=new class extends V{#a=!0;#r;#o;constructor(){super(),this.#o=e=>{if(!R&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#o=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#a!==e&&(this.#a=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#a}};function Y(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function Q(e){return"online"!==(e??"online")||K.isOnline()}Error;function Z(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Q(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var X=class extends V{constructor(e,t){super(),this.options=t,this.#i=e,this.#s=null,this.#l=Y(),this.bindMethods(),this.setOptions(t)}#i;#c=void 0;#u=void 0;#d=void 0;#p;#f;#l;#s;#h;#m;#g;#y;#b;#v;#w=(()=>new Set)();bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#c.addObserver(this),J(this.#c,this.options)?this.#x():this.updateResult(),this.#k())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(this.#c,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(this.#c,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#C(),this.#c.removeObserver(this)}setOptions(e){const t=this.options,n=this.#c;if(this.options=this.#i.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!==typeof this.options.enabled&&"function"!==typeof this.options.enabled&&"boolean"!==typeof U(this.options.enabled,this.#c))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");
2this.#E(),this.#c.setOptions(this.options),t._defaulted&&!O(this.options,t)&&this.#i.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#c,observer:this});const r=this.hasListeners();r&&te(this.#c,n,this.options,t)&&this.#x(),this.updateResult(),!r||this.#c===n&&U(this.options.enabled,this.#c)===U(t.enabled,this.#c)&&L(this.options.staleTime,this.#c)===L(t.staleTime,this.#c)||this.#j();const o=this.#N();!r||this.#c===n&&U(this.options.enabled,this.#c)===U(t.enabled,this.#c)&&o===this.#v||this.#P(o)}getOptimisticResult(e){const t=this.#i.getQueryCache().build(this.#i,e),n=this.createResult(t,e);return function(e,t){if(!O(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(this.#d=n,this.#f=this.options,this.#p=this.#c.state),n}getCurrentResult(){return this.#d}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#l.status||this.#l.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#w.add(e)}getCurrentQuery(){return this.#c}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){const t=this.#i.defaultQueryOptions(e),n=this.#i.getQueryCache().build(this.#i,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#x({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#d))}#x(e){this.#E();let t=this.#c.fetch(this.options,e);return e?.throwOnError||(t=t.catch(_)),t}#j(){this.#S();const e=L(this.options.staleTime,this.#c);if(R||this.#d.isStale||!A(e))return;const t=T(this.#d.dataUpdatedAt,e)+1;this.#y=j.setTimeout(()=>{this.#d.isStale||this.updateResult()},t)}#N(){return("function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.#c):this.options.refetchInterval)??!1}#P(e){this.#C(),this.#v=e,!R&&!1!==U(this.options.enabled,this.#c)&&A(this.#v)&&0!==this.#v&&(this.#b=j.setInterval(()=>{(this.options.refetchIntervalInBackground||G.isFocused())&&this.#x()},this.#v))}#k(){this.#j(),this.#P(this.#N())}#S(){this.#y&&(j.clearTimeout(this.#y),this.#y=void 0)}#C(){this.#b&&(j.clearInterval(this.#b),this.#b=void 0)}createResult(e,t){const n=this.#c,r=this.options,o=this.#d,a=this.#p,i=this.#f,s=e!==n?e.state:this.#u,{state:l}=e;let c,u={...l},d=!1;if(t._optimisticResults){const o=this.hasListeners(),a=!o&&J(e,t),i=o&&te(e,n,t,r);(a||i)&&(u={...u,...Z(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:p,errorUpdatedAt:f,status:h}=u;c=u.data;let m=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===h){let e;o?.isPlaceholderData&&t.placeholderData===i?.placeholderData?(e=o.data,m=!0):e="function"===typeof t.placeholderData?t.placeholderData(this.#g?.state.data,this.#g):t.placeholderData,void 0!==e&&(h="success",c=$(o?.data,e,t),d=!0)}if(t.select&&void 0!==c&&!m)if(o&&c===a?.data&&t.select===this.#h)c=this.#m;else try{this.#h=t.select,c=t.select(c),c=$(o?.data,c,t),this.#m=c,this.#s=null}catch(k){this.#s=k}this.#s&&(p=this.#s,c=this.#m,f=Date.now(),h="error");const g="fetching"===u.fetchStatus,y="pending"===h,b="error"===h,v=y&&g,w=void 0!==c,x={status:h,fetchStatus:u.fetchStatus,isPending:y,isSuccess:"success"===h,isError:b,isInitialLoading:v,isLoading:v,data:c,dataUpdatedAt:u.dataUpdatedAt,error:p,errorUpdatedAt:f,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:b&&!w,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:b&&w,isStale:ne(e,t),refetch:this.refetch,promise:this.#l,isEnabled:!1!==U(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},r=()=>{const e=this.#l=x.promise=Y();t(e)},o=this.#l;
2switch(o.status){case"pending":e.queryHash===n.queryHash&&t(o);break;case"fulfilled":"error"!==x.status&&x.data===o.value||r();break;case"rejected":"error"===x.status&&x.error===o.reason||r()}}return x}updateResult(){const e=this.#d,t=this.createResult(this.#c,this.options);if(this.#p=this.#c.state,this.#f=this.options,void 0!==this.#p.data&&(this.#g=this.#c),O(t,e))return;this.#d=t;this.#R({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"===typeof t?t():t;if("all"===n||!n&&!this.#w.size)return!0;const r=new Set(n??this.#w);return this.options.throwOnError&&r.add("error"),Object.keys(this.#d).some(t=>{const n=t;return this.#d[n]!==e[n]&&r.has(n)})})()})}#E(){const e=this.#i.getQueryCache().build(this.#i,this.options);if(e===this.#c)return;const t=this.#c;this.#c=e,this.#u=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#k()}#R(e){P.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#d)}),this.#i.getQueryCache().notify({query:this.#c,type:"observerResultsUpdated"})})}};function J(e,t){return function(e,t){return!1!==U(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&ee(e,t,t.refetchOnMount)}function ee(e,t,n){if(!1!==U(t.enabled,e)&&"static"!==L(t.staleTime,e)){const r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&ne(e,t)}return!1}function te(e,t,n,r){return(e!==t||!1===U(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&ne(e,n)}function ne(e,t){return!1!==U(t.enabled,e)&&e.isStaleByTime(L(t.staleTime,e))}function re(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let n=!1;const c=e=>{!function(e,t,n){let r,o=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),o||(o=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)})}(e,()=>t.signal,()=>n=!0)},u=H(t.options,t.fetchOptions),d=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const a=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};return c(e),e})(),i=await u(a),{maxPages:s}=t.options,l=o?W:B;return{pages:l(e.pages,i,s),pageParams:l(e.pageParams,r,s)}};if(o&&a.length){const e="backward"===o,t={pages:a,pageParams:i},n=(e?ae:oe)(r,t);s=await d(t,n,e)}else{const t=e??a.length;do{const e=0===l?i[0]??r.initialPageParam:oe(r,s);if(l>0&&null==e)break;s=await d(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function oe(e,t){let{pages:n,pageParams:r}=t;const o=n.length-1;return n.length>0?e.getNextPageParam(n[o],n,r[o],r):void 0}function ae(e,t){let{pages:n,pageParams:r}=t;return n.length>0?e.getPreviousPageParam?.(n[0],n,r[0],r):void 0}function ie(e,t){return!!t&&null!=oe(e,t)}function se(e,t){return!(!t||!e.getPreviousPageParam)&&null!=ae(e,t)}var le=class extends X{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:re()})}getOptimisticResult(e){return e.behavior=re(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:o,isRefetching:a,isError:i,isRefetchError:s}=r,l=n.fetchMeta?.fetchMore?.direction,c=i&&"forward"===l,u=o&&"forward"===l,d=i&&"backward"===l,p=o&&"backward"===l;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:ie(t,n.data),hasPreviousPage:se(t,n.data),isFetchNextPageError:c,isFetchingNextPage:u,isFetchPreviousPageError:d,isFetchingPreviousPage:p,isRefetchError:s&&!c&&!
2d,isRefetching:a&&!u&&!p}}},ce=Object.prototype.hasOwnProperty;function ue(e,t,n){for(n of e.keys())if(de(n,t))return n}function de(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&de(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((o=r)&&"object"===typeof o&&!(o=ue(t,o)))return!1;if(!t.has(o))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((o=r[0])&&"object"===typeof o&&!(o=ue(t,o)))return!1;if(!de(r[1],t.get(o)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(ce.call(e,n)&&++r&&!ce.call(t,n))return!1;if(!(n in t)||!de(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}function pe(e,t){if(!e)throw"string"===typeof t?new Error(t):new Error(`${t.displayName} not found`)}const fe=(e,t)=>{const{assertCtxFn:n=pe}=t||{},r=S.createContext(void 0);r.displayName=e;return[r,()=>{const t=S.useContext(r);return n(t,`${e} not found`),t.value},()=>{const e=S.useContext(r);return e?e.value:{}}]},[he,me]=fe("ClerkInstanceContext"),[ge,ye]=fe("InitialStateContext");function be(e){let{children:t,initialState:n}=e;const[r]=(0,S.useState)(n),o=S.useMemo(()=>({value:r}),[r]);return S.createElement(ge.Provider,{value:o},t)}function ve(){const e=ye();if(e instanceof Promise){if("function"===typeof S.use)return S.use(e);throw new Error("initialState cannot be a promise if React version is less than 19")}return e}S.createContext({});const[we,xe]=fe("CheckoutContext"),ke=e=>{let{children:t,...n}=e;return S.createElement(we.Provider,{value:{value:n}},t)};function Se(e){if(!S.useContext(he)){if("function"===typeof e)return void e();throw new Error(`${e} can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider`.trim())}}const Ce="billing-plans",Ee="billing-payment-methods",je="billing-payment-attempts",Ne="billing-statements";function Pe(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function Re(e){if(e)return function(e){return e}}const _e=function(e){let t;return t=new Proxy(function(){},{get(n,r){if("then"!==r)return"toString"===r?()=>`[${e}]`:r===Symbol.toPrimitive?()=>0:t},apply:()=>t,construct:()=>t,has:()=>!1,set:()=>!1}),t}("ClerkMockQueryClient"),Ae=()=>{const e=me(),t=e.__internal_queryClient,[,n]=(0,S.useState)("object"===typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag);(0,S.useEffect)(()=>{const t=()=>n(!0);return e.on("queryClientStatus",t),()=>{e.off("queryClientStatus",t)}},[e,n]);const r="object"===typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag;return[t?.client||_e,r]};function Te(e,t){const[n,r]=Ae(),o=r?n.defaultQueryOptions(e):e;o._optimisticResults="optimistic";const a=S.useMemo(()=>new t(n,o),[n]),i=a.getOptimisticResult(o),s=!1!==e.subscribed;return S.useSyncExternalStore(S.useCallback(e=>{const t=s?a.subscribe(P.batchCalls(e)):_;return a.updateResult(),t},[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),S.useEffect(()=>{a.setOptions(o)},[o,a]),r?o.notifyOnChangeProps?i:a.trackResult(i):{data:void 0,error:null,isLoading:!1,isFetching:!1,status:"pending"}}function Le(e){return Te(e,X)}const Ue=e=>[e,`${e}-inf`];function Ie(e){const{isSignedOut:t,stableKeys:n,authenticated:r=!0,onCleanup:o}=e,a=(0,S.useRef)(n),[i]=Ae(),s=function(e){const t=(0,S.useRef)(e),n=(0,S.useRef)(null);return t.current!==e&&(n.current=t.current,t.current=e),n.current}(!t);(0,S.useEffect)(()=>{!0===r&&s&&!0===t&&(i.removeQueries({predicate:e=>{const[t,n]=e.queryKey;return!0===n&&"string"===typeof t&&(Array.isArray(a.current)?a.current.includes(t):a.current===t)}}),o?.())},[r,t,s,i])}const Me=(e,t)=>{const n="boolean"===typeof e&&e,r=(0,S.useRef)(n?t.initialPage:e?.initialPage??t.initialPage),o=(0,S.useRef)(n?t.pageSize:e?.pageSize??t.pageSize),a={};for(const i of Object.keys(t))a[i]=n?t[i]:e?.[i]??t[i];return{...a,initialPage:r.current,pageSize:o.current}};const Oe=e=>{const{fetcher:t,config:n,keys:r}=e,[o,a]=(0,S.useState)(n.initialPage??1),i=(0,S.useRef)(n.initialPage??1),s=(0,S.useRef)(n.pageSize??10),l=n.enabled??!0,c=n.isSignedIn,u=n.infinite??!1,d="cache"===n.__experimental_mode,p=n.keepPreviousData??!1,[f]=Ae(),h=l&&Boolean(t)&&!d&&!1!==c,[m,g]=(0,S.useState)(0),y=(0,S.useCallback)(e=>{g(e)},[]),b=(0,S.useMemo)(()=>{const[e,t,n,a]=r.queryKey;return[e,t,n,{...a,args:{...a.args,initialPage:o,pageSize:s.current}}]},[r.queryKey,o]),v=Le({queryKey:b,queryFn:e=>{let{queryKey:n}=e;const{args:r}=n[3];if(t)return t(r)},staleTime:6e4,enabled:h&&!u,placeholderData:Re(p)}),w=(0,S.useMemo)(()=>{const[e,t,n,o]=r.queryKey;return[e+"-inf",t,n,o]},[r.queryKey]),x=Te({queryKey:w,initialPageParam:n.initialPage??1,getNextPageParam:(e,t,r)=>{const o=e?.total_count??0;return(t.length+(n.initialPage?n.initialPage-1:0))*(n.pageSize??10)<o?r+1:void 0},queryFn:e=>{let{pageParam:n,queryKey:r}=e;const{args:o}=r[3];if(t)return t({...o,initialPage:n,pageSize:s.current})},staleTime:6e4,enabled:h&&u},le);Ie({isSignedOut:!1===c,authenticated:r.authenticated,stableKeys:Ue(r.stableKey),onCleanup:()=>{a(i.current),Promise.resolve().then(()=>y(e=>e+1))}});const{data:k,count:C,page:E}=(0,S.useMemo)(()=>
2{if(u){const e=f.getQueryData(w),t=h?x.data?.pages??e?.pages??[]:e?.pages??[],n=Array.isArray(t)?t.filter(Boolean):[];return{data:n.map(e=>e?.data).flat().filter(Boolean)??[],count:n[n.length-1]?.total_count??0,page:n.length>0?n.length:i.current}}const e=h?v.data??f.getQueryData(b):f.getQueryData(b);return{data:Array.isArray(e?.data)?e.data:[],count:"number"===typeof e?.total_count?e.total_count:0,page:o}},[h,m,u,x.data?.pages,v.data,f,w,b,o]),j=(0,S.useCallback)(e=>{if(u){const t="function"===typeof e?e(E):e,n=Math.max(0,t),r=f.getQueryData(w);return void(n-(x.data?.pages??r?.pages??[]).length>0&&x.fetchNextPage({cancelRefetch:!1}))}return a(e)},[x,E,u,f,w]),N=u?x.isLoading:v.isLoading,P=u?x.isFetching:v.isFetching,R=(u?x.error:v.error)??null,_=!!R,A=(0,S.useCallback)(()=>{u?x.fetchNextPage({cancelRefetch:!1}):a(e=>Math.max(0,e+1))},[x,u]),T=(0,S.useCallback)(()=>{u||a(e=>Math.max(0,e-1))},[u]),L=(U=i.current,I=s.current,(U-1)*I);var U,I;const M=function(e,t,n){return Math.ceil((e-t)/n)}(C,L,s.current),O=u?Boolean(x.hasNextPage):function(e,t,n,r){return e-t>n*r}(C,L,E,s.current),F=u?Boolean(x.hasPreviousPage):function(e,t,n){return(e-1)*t>n}(E,s.current,L);return{data:k,count:C,error:R,isLoading:N,isFetching:P,isError:_,page:E,pageCount:M,fetchPage:j,fetchNext:A,fetchPrevious:T,hasNextPage:O,hasPreviousPage:F,revalidate:async()=>{await f.invalidateQueries({queryKey:r.invalidationKey});const[e,...t]=r.invalidationKey;return f.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>u?(f.setQueryData(w,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=Array.isArray(t?.pages)?t.pages:[],r="function"===typeof e?e(n):e;return{...t,pages:r}}),y(e=>e+1),Promise.resolve()):(f.setQueryData(b,function(){return"function"===typeof e?e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0}):e}),y(e=>e+1),Promise.resolve())}};function Fe(){const e=me(),t=ve(),n=(0,S.useCallback)(()=>t?.organization,[t?.organization]);return(0,S.useSyncExternalStore)((0,S.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,S.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:n(),[e,n]),n)}const De=()=>(Se("useClerk"),me());function ze(){const e=me(),t=ve(),n=(0,S.useCallback)(()=>t?.user,[t?.user]);return(0,S.useSyncExternalStore)((0,S.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,S.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:n(),[e,n]),n)}"undefined"!==typeof window?S.useLayoutEffect:S.useEffect;const $e="useUser";function Be(){Se($e);const e=ze();return me().telemetry?.record(x($e)),void 0===e?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===e?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:e}}const We=de;function qe(e){const t=me(),n=e?.enabled??!0,r=t.__internal_environment,o=ze(),a=Fe(),i=r?.commerceSettings.billing.user.enabled,s=r?.commerceSettings.billing.organization.enabled,l="organization"===e?.for?s:"user"===e?.for?i:i||s,c="organization"===e?.for,u=!(e?.authenticated??1)||(!c||Boolean(a?.id))&&Boolean(o?.id);return l&&n&&t.loaded&&u}function He(e){let{hookName:t,resourceType:n,useFetcher:r,options:o}=e;return function(e){const{for:a,enabled:i,...s}=e||{},l=a||"user";Se(t);const c=r(l),u=Me(s,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),d=me(),p=ze(),f=Fe();d.telemetry?.record(x(t));const h="organization"===l,m=qe({for:l,enabled:i,authenticated:!o?.unauthenticated}),g="undefined"===typeof s?void 0:{initialPage:u.initialPage,pageSize:u.pageSize,...o?.unauthenticated?{}:h?{orgId:f?.id}:{}},y=!!g&&d.loaded&&!!m;return Oe({fetcher:c,config:{keepPreviousData:u.keepPreviousData,infinite:u.infinite,enabled:y,...o?.unauthenticated?{}:{isSignedIn:null!==p},__experimental_mode:u.__experimental_mode,initialPage:u.initialPage,pageSize:u.pageSize},keys:Pe({stablePrefix:n,authenticated:!o?.unauthenticated,tracked:o?.unauthenticated?{for:l}:{userId:p?.id,...h?{orgId:f?.id}:{}},untracked:{args:g}})})}}He({hookName:"useStatements",resourceType:Ne,useFetcher:()=>{const e=me();if(e.loaded)return e.billing.getStatements}}),He({hookName:"usePaymentAttempts",resourceType:je,useFetcher:()=>{const e=me();if(e.loaded)return e.billing.getPaymentAttempts}}),He({hookName:"usePaymentMethods",resourceType:Ee,useFetcher:e=>{const t=Fe(),n=ze();return"organization"===e?t?.getPaymentMethods:n?.getPaymentMethods}}),He({hookName:"usePlans",resourceType:Ce,useFetcher:e=>{const t=me();if(t.loaded)return n=>t.billing.getPlans({...n,for:e})},options:{unauthenticated:!0}});function Ve(e){e||function(){throw new Error(`${k} Clerk instance not found. Make sure Clerk is initialized before using any Clerk components.`)}()}function Ge(e){const t=e.clerk;if(Ve(t),e.initialState instanceof Promise&&"function"!==typeof S.use)throw new Error("initialState cannot be a promise if React version is less than 19");const n=S.useMemo(()=>({value:t}),[e.clerkStatus]);return S.createElement(be,{initialState:e.initialState},S.createElement(he.Provider,{value:n},S.createElement(ke,{value:void 0},e.children)))}const Ke=e=>{const t=(0,S.useRef)(e);return(0,S.useEffect)(()=>{t.current=e},[e]),t.current}
2,Ye=(e,t,n)=>{const r=!!n,o=(0,S.useRef)(n);(0,S.useEffect)(()=>{o.current=n},[n]),(0,S.useEffect)(()=>{if(!r||!e)return()=>{};const n=function(){o.current&&o.current(...arguments)};return e.on(t,n),()=>{e.off(t,n)}},[r,t,e,o])},Qe=S.createContext(null);Qe.displayName="ElementsContext";const Ze=(e,t)=>{if(!e)throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${t} in an <Elements> provider.`);return e},Xe=e=>null!==e&&"object"===typeof e,Je=(e,t,n)=>Xe(e)?Object.keys(e).reduce((r,o)=>{const a=!Xe(t)||!tt(e[o],t[o]);return n.includes(o)?(a&&console.warn(`Unsupported prop change: options.${o} is not a mutable property.`),r):a?{...r||{},[o]:e[o]}:r},null):null,et="[object Object]",tt=(e,t)=>{if(!Xe(e)||!Xe(t))return e===t;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;const r=Object.prototype.toString.call(e)===et;if(r!==(Object.prototype.toString.call(t)===et))return!1;if(!r&&!n)return e===t;const o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;const i={};for(let u=0;u<o.length;u+=1)i[o[u]]=!0;for(let u=0;u<a.length;u+=1)i[a[u]]=!0;const s=Object.keys(i);if(s.length!==o.length)return!1;const l=e,c=t;return s.every(e=>tt(l[e],c[e]))},nt=e=>Ze(S.useContext(Qe),e);((e,t)=>{const n=`${r=e,r.charAt(0).toUpperCase()+r.slice(1)}Element`;var r;const o=t?e=>{nt(`mounts <${n}>`);const{id:t,className:r}=e;return S.createElement("div",{id:t,className:r})}:t=>{let{id:r,className:o,fallback:a,options:i={},onBlur:s,onFocus:l,onReady:c,onChange:u,onEscape:d,onClick:p,onLoadError:f,onLoaderStart:h,onNetworksChange:m,onConfirm:g,onCancel:y,onShippingAddressChange:b,onShippingRateChange:v}=t;const w=nt(`mounts <${n}>`),x="elements"in w?w.elements:null,[k,C]=S.useState(null),E=S.useRef(null),j=S.useRef(null),[N,P]=(0,S.useState)(!1);let R;Ye(k,"blur",s),Ye(k,"focus",l),Ye(k,"escape",d),Ye(k,"click",p),Ye(k,"loaderror",f),Ye(k,"loaderstart",h),Ye(k,"networkschange",m),Ye(k,"confirm",g),Ye(k,"cancel",y),Ye(k,"shippingaddresschange",b),Ye(k,"shippingratechange",v),Ye(k,"change",u),c&&(R=()=>{P(!0),c(k)}),Ye(k,"ready",R),S.useLayoutEffect(()=>{if(null===E.current&&null!==j.current&&x){let t=null;x&&(t=x.create(e,i)),E.current=t,C(t),t&&t.mount(j.current)}},[x,i]);const _=Ke(i);return S.useEffect(()=>{if(!E.current)return;const e=Je(i,_,["paymentRequest"]);e&&"update"in E.current&&E.current.update(e)},[i,_]),S.useLayoutEffect(()=>()=>{if(E.current&&"function"===typeof E.current.destroy)try{E.current.destroy(),E.current=null}catch{}},[]),S.createElement(S.Fragment,null,!N&&a,S.createElement("div",{id:r,style:{height:N?"unset":"0px",visibility:N?"visible":"hidden"},className:o,ref:j}))};o.displayName=n,o.__elementType=e})("payment","undefined"===typeof window);const[rt,ot]=fe("PaymentElementContext"),[at,it]=fe("StripeUtilsContext"),[st,,lt]=fe("PortalProvider");var ct=c({packageName:"@clerk/react"});var ut=me,dt=e=>{Se(()=>{ct.throwMissingClerkProviderError({source:e})})};function pt(e,t,n){return"function"===typeof e?e(t):"undefined"!==typeof e?e:"undefined"!==typeof n?n:void 0}const ft=e=>{(()=>{try{return!1}catch{}return!1})()&&console.error(`Clerk: ${e}`)};new Set(["__proto__","constructor","prototype"]);const ht=(e,t)=>{if("undefined"!==typeof process&&"string"===typeof{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA"}[e])return{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA"}[e];if("string"===typeof{NODE_ENV:"production"}[e])return{NODE_ENV:"production"}[e];if((e=>!!e?.cloudflare?.env)(t))return t.cloudflare.env[e]||"";if((e=>!!e?.env)(t))return t.env[e]||"";if(t&&"string"===typeof t[e])return t[e];try{return globalThis[e]}catch{}return""};var mt=n(7950),gt=n.t(mt,2);const yt=function(e){const t={...e};for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(const a of r)delete t[a];return t},bt=(e,t,n)=>!e&&n?vt(n):wt(t),vt=e=>{const t=e.userId,n=e.user,r=e.sessionId,o=e.sessionStatus,a=e.sessionClaims;return{userId:t,user:n,sessionId:r,session:e.session,sessionStatus:o,sessionClaims:a,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},wt=e=>{const t=e.user?e.user.id:e.user,n=e.user,r=e.session?e.session.id:e.session,o=e.session,a=e.session?.status,i=e.session?e.session.lastActiveToken?.jwt?.claims:null,
2s=e.session?e.session.factorVerificationAge:null,l=o?.actor,c=e.organization,u=e.organization?e.organization.id:e.organization,d=c?.slug,p=c?n?.organizationMemberships?.find(e=>e.organization.id===u):c,f=p?p.permissions:p;return{userId:t,user:n,sessionId:r,session:o,sessionStatus:a,sessionClaims:i,organization:c,orgId:u,orgRole:p?p.role:p,orgSlug:d,orgPermissions:f,actor:l,factorVerificationAge:s}};function xt(){return"undefined"!==typeof window}new RegExp(["bot","spider","crawl","APIs-Google","AdsBot","Googlebot","mediapartners","Google Favicon","FeedFetcher","Google-Read-Aloud","DuplexWeb-Google","googleweblight","bing","yandex","baidu","duckduck","yahoo","ecosia","ia_archiver","facebook","instagram","pinterest","reddit","slack","twitter","whatsapp","youtube","semrush"].join("|"),"i");var kt="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",St="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",Ct=e=>t=>{try{return S.Children.only(e)}catch{return ct.throw((e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`)(t))}},Et=(e,t)=>(e||(e=t),"string"===typeof e&&(e=S.createElement("button",null,e)),e),jt=e=>function(){if(e&&"function"===typeof e)return e(...arguments)},Nt=(e,t)=>{if(void 0!==e)return e;var n;return ht(`VITE_${n=t}`)||ht(n)||void 0};function Pt(e){return"function"===typeof e}var Rt=new Map;var _t=e=>{const[t,n]=(0,S.useState)(new Map);return e.map(e=>({id:e.id,mount:t=>n(n=>new Map(n).set(String(e.id),t)),unmount:()=>n(t=>{const n=new Map(t);return n.set(String(e.id),null),n}),portal:()=>{const n=t.get(String(e.id));return n?(0,mt.createPortal)(e.component,n):null}}))},At=(e,t)=>!!e&&S.isValidElement(e)&&(null==e?void 0:e.type)===t,Tt=(e,t)=>It({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:Xt,PageComponent:Zt,MenuItemsComponent:nn,componentName:"UserProfile"},t),Lt=(e,t)=>It({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:ln,PageComponent:sn,componentName:"OrganizationProfile"},t),Ut=e=>{const t=[],n=[ln,sn,nn,Zt,Xt];return S.Children.forEach(e,e=>{n.some(t=>At(e,t))||t.push(e)}),t},It=(e,t)=>{const{children:n,LinkComponent:r,PageComponent:o,MenuItemsComponent:a,reorderItemsLabels:i,componentName:s}=e,{allowForAnyChildren:l=!1}=t||{},c=[];S.Children.forEach(n,e=>{if(!At(e,o)&&!At(e,r)&&!At(e,a))return void(e&&!l&&ft((e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`)(s)));const{props:t}=e,{children:n,label:u,url:d,labelIcon:p}=t;if(At(e,o))if(Mt(t,i))c.push({label:u});else{if(!Ot(t))return void ft((e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`)(s));c.push({label:u,labelIcon:p,children:n,url:d})}if(At(e,r)){if(!Ft(t))return void ft((e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`)(s));c.push({label:u,labelIcon:p,url:d})}});const u=[],d=[],p=[];c.forEach((e,t)=>{if(Ot(e))return u.push({component:e.children,id:t}),void d.push({component:e.labelIcon,id:t});Ft(e)&&p.push({component:e.labelIcon,id:t})});const f=_t(u),h=_t(d),m=_t(p),g=[],y=[];return c.forEach((e,t)=>{if(Mt(e,i))g.push({label:e.label});else{if(Ot(e)){const{portal:n,mount:r,unmount:o}=f.find(e=>e.id===t),{portal:a,mount:i,unmount:s}=h.find(e=>e.id===t);return g.push({label:e.label,url:e.url,mount:r,unmount:o,mountIcon:i,unmountIcon:s}),y.push(n),void y.push(a)}if(Ft(e)){const{portal:n,mount:r,unmount:o}=m.find(e=>e.id===t);return g.push({label:e.label,url:e.url,mountIcon:r,unmountIcon:o}),void y.push(n)}}}),{customPages:g,customPagesPortals:y}},Mt=(e,t)=>
2{const{children:n,label:r,url:o,labelIcon:a}=e;return!n&&!o&&!a&&t.some(e=>e===r)},Ot=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!!t&&!!r&&!!o&&!!n},Ft=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!t&&!!r&&!!o&&!!n},Dt=e=>{let{children:t,MenuItemsComponent:n,MenuActionComponent:r,MenuLinkComponent:o,UserProfileLinkComponent:a,UserProfilePageComponent:i,reorderItemsLabels:s,allowForAnyChildren:l=!1}=e;const c=[],u=[],d=[];S.Children.forEach(t,e=>{if(!At(e,n)&&!At(e,a)&&!At(e,i))return void(e&&!l&&ft("<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component."));if(At(e,a)||At(e,i))return;const{props:t}=e;S.Children.forEach(t.children,e=>{if(!At(e,r)&&!At(e,o))return void(e&&ft("<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component."));const{props:t}=e,{label:n,labelIcon:a,href:i,onClick:l,open:u}=t;if(At(e,r))if(zt(t,s))c.push({label:n});else{if(!$t(t))return void ft("Missing props. <UserButton.Action /> component requires the following props: label.");{const e={label:n,labelIcon:a};if(void 0!==l)c.push({...e,onClick:l});else{if(void 0===u)return void ft("Custom menu item must have either onClick or open property");c.push({...e,open:u.startsWith("/")?u:`/${u}`})}}}if(At(e,o)){if(!Bt(t))return void ft("Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.");c.push({label:n,labelIcon:a,href:i})}})});const p=[],f=[];c.forEach((e,t)=>{$t(e)&&p.push({component:e.labelIcon,id:t}),Bt(e)&&f.push({component:e.labelIcon,id:t})});const h=_t(p),m=_t(f);return c.forEach((e,t)=>{if(zt(e,s)&&u.push({label:e.label}),$t(e)){const{portal:n,mount:r,unmount:o}=h.find(e=>e.id===t),a={label:e.label,mountIcon:r,unmountIcon:o};"onClick"in e?a.onClick=e.onClick:"open"in e&&(a.open=e.open),u.push(a),d.push(n)}if(Bt(e)){const{portal:n,mount:r,unmount:o}=m.find(e=>e.id===t);u.push({label:e.label,href:e.href,mountIcon:r,unmountIcon:o}),d.push(n)}}),{customMenuItems:u,customMenuItemsPortals:d}},zt=(e,t)=>{const{children:n,label:r,onClick:o,labelIcon:a}=e;return!n&&!o&&!a&&t.some(e=>e===r)},$t=e=>{const{label:t,labelIcon:n,onClick:r,open:o}=e;return!!n&&!!t&&("function"===typeof r||"string"===typeof o)},Bt=e=>{const{label:t,href:n,labelIcon:r}=e;return!!n&&!!r&&!!t},Wt=(e=>{const t=null==e?void 0:e.isReady;return n=>new Promise((r,o)=>{const{root:a=(null==document?void 0:document.body),selector:i,timeout:s=0}=n;if(!a)return void o(new Error("No root element provided"));let l=a;if(i&&(l=null==a?void 0:a.querySelector(i)),t(l,i))return void r();const c=new MutationObserver(n=>{for(const o of n)if(!l&&i&&(l=null==a?void 0:a.querySelector(i)),(e.childList&&"childList"===o.type||e.attributes&&"attributes"===o.type)&&t(l,i))return c.disconnect(),void r()});c.observe(a,e),s>0&&setTimeout(()=>{c.disconnect(),o(new Error(`Timeout waiting for ${i}`))},s)})})({childList:!0,subtree:!0,isReady:(e,t)=>{var n;return!!(null==e?void 0:e.childElementCount)&&(null==(n=null==e?void 0:e.matches)?void 0:n.call(e,t))&&e.childElementCount>0}});function qt(e,t){const n=(0,S.useRef)(),[r,o]=(0,S.useState)("rendering");return(0,S.useEffect)(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");if("undefined"!==typeof window&&!n.current){const r=`[data-clerk-component="${e}"]`,a=null==t?void 0:t.selector;n.current=Wt({selector:a?r+a:r}).then(()=>{o("rendered")}).catch(()=>{o("error")})}},[e,null==t?void 0:t.selector]),r}var Ht=e=>"mount"in e,Vt=e=>"open"in e,Gt=e=>null==e?void 0:e.map(e=>{let{mountIcon:t,unmountIcon:n,...r}=e;return r}),Kt=class extends S.PureComponent{constructor(){super(...arguments),this.rootRef=S.createRef()}componentDidUpdate(e){var t,n,r,o;if(!Ht(e)||!Ht(this.props))return;const a=yt(e.props,"customPages","customMenuItems","children"),i=yt(this.props.props,"customPages","customMenuItems","children"),s=(null==(t=a.customPages)?void 0:t.length)!==(null==(n=i.customPages)?void 0:n.length),l=(null==(r=a.customMenuItems)?void 0:r.length)!==(null==(o=i.customMenuItems)?void 0:o.length),c=Gt(e.props.customMenuItems),u=Gt(this.props.props.customMenuItems);We(a,i)&&We(c,u)&&!s&&!l||this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(Ht(this.props)&&this.props.mount(this.rootRef.current,this.props.props),Vt(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(Ht(this.props)&&this.props.unmount(this.rootRef.current),Vt(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return S.createElement(S.Fragment,null,!e&&S.createElement("div",{...t}),this.props.children)}},Yt=(e,t)=>{const n=("string"===typeof t?t:null==t?void 0:t.component)||e.displayName||e.name||"Component";e.displayName=n;const r="string"===typeof t?void 0:t,o=t=>{dt(n||"withClerk");const o=ut(),a=(()=>{const e=lt();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null})();return o.loaded||(null==r?void 0:r.renderWhileLoading)?S.createElement(e,{getContainer:a,...t,component:n,clerk:o}):null};return o.displayName=`withClerk(${n})`,o},Qt=e=>{var t,n;return S.createElement(S.Fragment,null,null==(t=null==e?void 0:e.customPagesPortals)?void 0:t.map((e,t)=>(0,S.createElement)(e,{key:t})),null==(n=null==e?void 0:e.customMenuItemsPortals)?void 0:n.map((e,t)=>(0,S.createElement)(e,{key:t}
2)))};Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountSignIn,unmount:t.unmountSignIn,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"SignIn",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountSignUp,unmount:t.unmountSignUp,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"SignUp",renderWhileLoading:!0});function Zt(e){let{children:t}=e;return ft("<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`."),S.createElement(S.Fragment,null,t)}function Xt(e){let{children:t}=e;return ft("<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`."),S.createElement(S.Fragment,null,t)}var Jt=Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}},{customPages:s,customPagesPortals:l}=Tt(o.children);return S.createElement(S.Fragment,null,a&&r,S.createElement(Kt,{component:n,mount:t.mountUserProfile,unmount:t.unmountUserProfile,updateProps:t.__internal_updateProps,props:{...o,customPages:s},rootProps:i},S.createElement(Qt,{customPagesPortals:l})))},{component:"UserProfile",renderWhileLoading:!0}),en=(Object.assign(Jt,{Page:Zt,Link:Xt}),(0,S.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}})),tn=Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}},{customPages:s,customPagesPortals:l}=Tt(o.children,{allowForAnyChildren:!!o.__experimental_asProvider}),c={...o.userProfileProps,customPages:s},{customMenuItems:u,customMenuItemsPortals:d}=((e,t)=>{var n;return Dt({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:nn,MenuActionComponent:rn,MenuLinkComponent:on,UserProfileLinkComponent:Xt,UserProfilePageComponent:Zt,allowForAnyChildren:null!=(n=null==t?void 0:t.allowForAnyChildren)&&n})})(o.children,{allowForAnyChildren:!!o.__experimental_asProvider}),p=Ut(o.children),f={mount:t.mountUserButton,unmount:t.unmountUserButton,updateProps:t.__internal_updateProps,props:{...o,userProfileProps:c,customMenuItems:u}},h={customPagesPortals:l,customMenuItemsPortals:d};return S.createElement(en.Provider,{value:f},a&&r,t.loaded&&S.createElement(Kt,{component:n,...f,hideRootHtmlElement:!!o.__experimental_asProvider,rootProps:i},o.__experimental_asProvider?p:null,S.createElement(Qt,{...h})))},{component:"UserButton",renderWhileLoading:!0});function nn(e){let{children:t}=e;return ft("<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`."),S.createElement(S.Fragment,null,t)}function rn(e){let{children:t}=e;return ft("<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`."),S.createElement(S.Fragment,null,t)}function on(e){let{children:t}=e;return ft("<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`."),S.createElement(S.Fragment,null,t)}var an=Object.assign(tn,{UserProfilePage:Zt,UserProfileLink:Xt,MenuItems:nn,Action:rn,Link:on,__experimental_Outlet:function(e){const t=(0,S.useContext)(en),n={...t,props:{...t.props,...e}};return S.createElement(Kt,{...n})}});function sn(e){let{children:t}=e;return ft("<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`."),S.createElement(S.Fragment,null,t)}function ln(e){let{children:t}=e;return ft("<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`."),S.createElement(S.Fragment,null,t)}var cn=Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}},{customPages:s,customPagesPortals:l}=Lt(o.children);return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountOrganizationProfile,unmount:t.unmountOrganizationProfile,updateProps:t.__internal_updateProps,props:{...o,customPages:s},rootProps:i},S.createElement(Qt,{customPagesPortals:l})))},{component:"OrganizationProfile",renderWhileLoading:!0}),un=(Object.assign(cn,{Page:sn,Link:ln}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountCreateOrganization,unmount:t.unmountCreateOrganization,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"CreateOrganization",renderWhileLoading:!0}),(0,S.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}})),dn=Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}},{customPages:s,customPagesPortals:l}=Lt(o.children,{allowForAnyChildren:!!o.__experimental_asProvider}),c={...o.organizationProfileProps,customPages:s},u=Ut(o.children),d={mount:t.mountOrganizationSwitcher,unmount:t.unmountOrganizationSwitcher,updateProps:t.__internal_updateProps,props:{...o,organizationProfileProps:c},rootProps:i,component:n};return t.__experimental_prefetchOrganizationSwitcher(),S.createElement(un.Provider,{value:d},S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{...d,hideRootHtmlElement:!!o.__experimental_asProvider},o.__experimental_asProvider?u:null,S.createElement(Qt,{customPagesPortals:l}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});Object.assign(dn,{OrganizationProfilePage:sn,OrganizationProfileLink:ln,__experimental_Outlet:function(e){const t=(0,S.useContext)(un),n={...t,props:{...t.props,...e}};return S.createElement(Kt,{...n})}}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountOrganizationList,unmount:t.unmountOrganizationList,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"OrganizationList",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,open:t.openGoogleOneTap,close:t.closeGoogleOneTap,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"GoogleOneTap",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountWaitlist,unmount:t.unmountWaitlist,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"Waitlist",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n,{selector:'[data-component-status="ready"]'})||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountPricingTable,unmount:t.unmountPricingTable,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"PricingTable",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountAPIKeys,unmount:t.unmountAPIKeys,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"ApiKeys",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountUserAvatar,unmount:t.unmountUserAvatar,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"UserAvatar",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountTaskChooseOrganization,unmount:t.unmountTaskChooseOrganization,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"TaskChooseOrganization",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountTaskResetPassword,unmount:t.unmountTaskResetPassword,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"TaskResetPassword",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,component:n,fallback:r,...o}=e;const a="rendering"===qt(n)||!t.loaded,i={...a&&r&&{style:{display:"none"}}};return S.createElement(S.Fragment,null,a&&r,t.loaded&&S.createElement(Kt,{component:n,mount:t.mountTaskSetupMFA,unmount:t.unmountTaskSetupMFA,updateProps:t.__internal_updateProps,props:o,rootProps:i}))},{component:"TaskSetupMFA",renderWhileLoading:!0});var pn={actor:void 0,factorVerificationAge:null,orgId:void 0,orgPermissions:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:void 0,sessionStatus:void 0,userId:void 0};var fn=e=>
2new Promise(t=>{const n=r=>{["ready","degraded"].includes(r)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),hn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;dt("useAuth");const{treatPendingAsSignedOut:n}=null!=e?e:{},r=function(){const e=me(),t=ve(),n=(0,S.useCallback)(()=>t,[t]),r=(0,S.useSyncExternalStore)((0,S.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,S.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources:n(),[e,n]),n);return(0,S.useMemo)(()=>{if(!r)return pn;return{sessionId:(e=function(e){return!("client"in e)}(r)?bt(!1,{},r):bt(!0,r,void 0)).sessionId,sessionStatus:e.sessionStatus,sessionClaims:e.sessionClaims,userId:e.userId,actor:e.actor,orgId:e.orgId,orgRole:e.orgRole,orgSlug:e.orgSlug,orgPermissions:e.orgPermissions,factorVerificationAge:e.factorVerificationAge};var e},[r])}(),o=ut(),i=(0,S.useCallback)((e=>async t=>{if(!xt())throw new a("useAuth().getToken() can only be used in browser environments. To access auth data server-side, see the Auth object reference doc: https://clerk.com/docs/reference/backend/types/auth-object",{code:"clerk_runtime_not_browser"});return await fn(e),e.session?e.session.getToken(t):null})(o),[o]),s=(0,S.useCallback)((e=>async function(){return await fn(e),e.signOut(...arguments)})(o),[o]);return null==(t=o.telemetry)||t.record(x("useAuth",{treatPendingAsSignedOut:n})),function(e){let{treatPendingAsSignedOut:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{userId:n,orgId:r,orgRole:o,has:a,signOut:i,getToken:s,orgPermissions:l,factorVerificationAge:c,sessionClaims:u}=null!=e?e:{},d=(0,S.useCallback)(e=>a?a(e):v({userId:n,orgId:r,orgRole:o,orgPermissions:l,factorVerificationAge:c,features:(null==u?void 0:u.fea)||"",plans:(null==u?void 0:u.pla)||""})(e),[a,n,r,o,l,c,u]),p=(e=>{let{authObject:{sessionId:t,sessionStatus:n,userId:r,actor:o,orgId:a,orgRole:i,orgSlug:s,signOut:l,getToken:c,has:u,sessionClaims:d},options:{treatPendingAsSignedOut:p=!0}}=e;return void 0===t&&void 0===r?{actor:void 0,getToken:c,has:()=>!1,isLoaded:!1,isSignedIn:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:t,signOut:l,userId:r}:null===t&&null===r?{actor:null,getToken:c,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,sessionId:t,signOut:l,userId:r}:p&&"pending"===n?{actor:null,getToken:c,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,sessionId:null,
2signOut:l,userId:null}:t&&d&&r&&a&&i?{actor:o||null,getToken:c,has:u,isLoaded:!0,isSignedIn:!0,orgId:a,orgRole:i,orgSlug:s||null,sessionClaims:d,sessionId:t,signOut:l,userId:r}:t&&d&&r&&!a?{actor:o||null,getToken:c,has:u,isLoaded:!0,isSignedIn:!0,orgId:null,orgRole:null,orgSlug:null,sessionClaims:d,sessionId:t,signOut:l,userId:r}:void 0})({authObject:{...e,getToken:s,signOut:i,has:d},options:{treatPendingAsSignedOut:t}});if(!p)return ct.throw(kt);return p}({...r,getToken:i,signOut:s},{treatPendingAsSignedOut:n})};var mn=e=>{throw TypeError(e)},gn=(e,t,n)=>t.has(e)||mn("Cannot "+n),yn=(e,t,n)=>(gn(e,t,"read from private field"),n?n.call(e):t.get(e)),bn=(e,t,n)=>t.has(e)?mn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),vn=(e,t,n,r)=>(gn(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),wn=(e,t,n)=>(gn(e,t,"access private method"),n),xn=[[18,0,-1,0],[19,0,0,3],[19,1,1,4],[19,2,2,3],[19,3,3,0]];const kn=new Set,Sn=(e,t,n)=>{const r=(()=>{try{return!1}catch{}return!1})()||(()=>{try{return!0}catch{}return!1})(),o=n??e;kn.has(o)||r||(kn.add(o),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.\n${t}`))};function Cn(e){const t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;const[,n,r,o]=t;return{major:parseInt(n,10),minor:parseInt(r,10),patch:parseInt(o,10)}}const En=(e,t,n,r,o)=>{const{notify:a}=o||{};let i=e.get(n);i||(i=[],e.set(n,i)),i.push(r),a&&t.has(n)&&r(t.get(n))},jn=(e,t,n)=>(e.get(t)||[]).map(e=>e(n)),Nn=(e,t,n)=>{const r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},Pn="status",Rn=()=>(()=>{const e=new Map,t=new Map,n=new Map;return{on:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return En(e,t,...r)},prioritizedOn:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return En(n,t,...r)},emit:(r,o)=>{t.set(r,o),jn(n,r,o),jn(e,r,o)},off:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Nn(e,...n)},prioritizedOff:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Nn(n,...t)},internal:{retrieveListeners:t=>e.get(t)||[]}}})(),_n=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"];const An=e=>"undefined"!==typeof atob&&"function"===typeof atob?atob(e):"undefined"!==typeof globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e;const Tn="pk_live_",Ln="pk_test_";function Un(e){if(!e.endsWith("$"))return!1;const t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function In(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!Mn(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!Mn(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(Tn)?"production":"development";let r;try{r=An(e.split("_")[2])}catch{if(t.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Un(r)){if(t.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=r.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:"development"!==n&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:n,frontendApi:o}}function Mn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!e.startsWith(Tn)&&!e.startsWith(Ln))return!1;const t=e.split("_");if(3!==t.length)return!1;const n=t[2];return!!n&&Un(An(n))}catch{return!1}}const On={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},Fn=async e=>new Promise(t=>setTimeout(t,e)),Dn=(e,t)=>t?e*(1+Math.random()):e,zn=e=>{let t=0;return async()=>{await Fn((()=>{const n=e.initialDelay,r=e.factor;let o=n*Math.pow(r,t);return o=Dn(o,e.jitter),Math.min(e.maxDelayBetweenRetries||o,o)})()),t++}};async function $n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const{async:n,defer:r,beforeLoad:o,crossOrigin:a,nonce:i}=t||{};return async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0;const{shouldRetry:r,initialDelay:o,maxDelayBetweenRetries:a,factor:i,retryImmediately:s,jitter:l,onBeforeRetry:c}={...On,...t},u=zn({initialDelay:o,maxDelayBetweenRetries:a,factor:i,jitter:l});for(;;)try{return await e()}catch(d){if(n++,!r(d,n))throw d;c&&await c(n),s&&1===n?await Fn(Dn(100,l)):await u()}}(()=>new Promise((t,s)=>{e||s(new Error("loadScript cannot be called without a src")),document&&document.body||s(new Error("loadScript cannot be called when document does not exist"));const l=document.createElement("script");a&&l.setAttribute("crossorigin",a),l.async=n||!1,l.defer=r||!1,l.addEventListener("load",()=>{l.remove(),t(l)}),l.addEventListener("error",t=>{l.remove(),s(t.error??new Error(`failed to load script: ${e}`))}),l.src=e,l.nonce=i,o?.(l),document.body.appendChild(l)}),{shouldRetry:(e,t)=>t<=5})}function Bn(e){return e.startsWith("/")}const Wn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"6.3.0";if(e)return e;const n=qn(t);return n?"snapshot"===n?t:n:Hn(t)},qn=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],Hn=e=>e.trim().replace(/^v/,"").split(".")[0],{isDevOrStagingUrl:Vn}=function(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n="string"===typeof t?t:t.hostname;let r=e.get(n);return void 0===r&&(r=_n.some(e=>n.endsWith(e)),e.set(n,r)),r}}}(),Gn=c({packageName:"@clerk/shared"});function Kn(e){return!("undefined"===typeof window||!window[e])&&!!window[e]}const Yn=()=>Kn("Clerk"),Qn=()=>Kn("__internal_ClerkUICtor");function Zn(e){if("undefined"===typeof window||!window.performance)return!1;const t=performance.getEntriesByName(e,"resource");if(0===t.length)return!1;const n=t[t.length-1];if(0===n.transferSize&&0===n.decodedBodySize){if(0===n.responseEnd)return!0;
2if(n.responseEnd>0&&n.responseStart>0)return!0;if("responseStatus"in n){if(n.responseStatus>=400)return!0;if(0===n.responseStatus)return!0}}return!1}const Xn=async e=>{const t=e?.scriptLoadTimeout??15e3,n=e=>new a("Failed to load Clerk JS"+(e?.message?`, ${e.message}`:""),{code:"failed_to_load_clerk_js",cause:e});if(Yn())return null;if(!e?.publishableKey)return Gn.throwMissingPublishableKeyError(),null;const r=Jn(e),o=document.querySelector("script[data-clerk-js-script]");if(o)if(Zn(r))o.remove();else try{return await ar(t,Yn,n(),o),null}catch{o.remove()}const i=ar(t,Yn,n());return $n(r,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:rr(tr(e))}).catch(e=>{throw n(e)}),i},Jn=e=>{const{__internal_clerkJSUrl:t,__internal_clerkJSVersion:n,proxyUrl:r,domain:o,publishableKey:a}=e;return t||`https://${or({publishableKey:a,proxyUrl:r,domain:o})}/npm/@clerk/clerk-js@${Wn(n)}/dist/clerk.browser.js`},er=e=>{const{__internal_clerkUIUrl:t,__internal_clerkUIVersion:n,proxyUrl:r,domain:o,publishableKey:a}=e;return t||`https://${or({publishableKey:a,proxyUrl:r,domain:o})}/npm/@clerk/ui@${Wn(n,"1.2.1")}/dist/ui.browser.js`},tr=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},nr=e=>tr(e),rr=e=>t=>{for(const n in e)t.setAttribute(n,e[n])},or=e=>{const{proxyUrl:t,domain:n,publishableKey:r}=e;return t&&function(e){return!e||function(e){return/^http(s)?:\/\//.test(e||"")}(e)||Bn(e)}(t)?(o=t,o?Bn(o)?new URL(o,window.location.origin).toString():o:"").replace(/http(s)?:\/\//,""):n&&!Vn(In(r)?.frontendApi||"")?function(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}(n):In(r)?.frontendApi||"";var o};function ar(e,t,n,r){return new Promise((o,a)=>{let i=!1;const s=(e,t)=>{clearTimeout(e),clearInterval(t)};r?.addEventListener("error",()=>{s(c,u),a(n)});const l=()=>{i||t()&&(i=!0,s(c,u),o(null))},c=setTimeout(()=>{i||(i=!0,s(c,u),t()?o(null):a(n))},e);l();const u=setInterval(()=>{i?clearInterval(u):l()},100)})}function ir(e){Gn.setPackageName({packageName:e})}var sr=e=>{let{children:t,fallback:n,treatPendingAsSignedOut:r,when:o}=e;dt("Show");const{has:a,isLoaded:i,userId:s}=hn({treatPendingAsSignedOut:r});if(!i)return null;const l=t,c=null!=n?n:null;return"signed-out"===o?s?c:l:s&&("signed-in"===o||function(e,t){if("function"===typeof e)return e(t);return t(e)}(o,a))?l:c};Yt(e=>{let{clerk:t,...n}=e;var r,o;const{client:a,session:i}=t,s=(null!=(o=null==(r=a.signedInSessions)?void 0:r.length)?o:0)>0;return S.useEffect(()=>{null===i&&s?t.redirectToAfterSignOut():t.redirectToSignIn(n)},[]),null},"RedirectToSignIn"),Yt(e=>{let{clerk:t,...n}=e;return S.useEffect(()=>{t.redirectToSignUp(n)},[]),null},"RedirectToSignUp"),Yt(e=>{let{clerk:t,...n}=e;return S.useEffect(()=>{t.redirectToTasks(n)},[]),null},"RedirectToTasks"),Yt(e=>{let{clerk:t}=e;return S.useEffect(()=>{Sn("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),t.redirectToUserProfile()},[]),null},"RedirectToUserProfile"),Yt(e=>{let{clerk:t}=e;return S.useEffect(()=>{Sn("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),t.redirectToOrganizationProfile()},[]),null},"RedirectToOrganizationProfile"),Yt(e=>{let{clerk:t}=e;return S.useEffect(()=>{Sn("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),t.redirectToCreateOrganization()},[]),null},"RedirectToCreateOrganization"),Yt(e=>{let{clerk:t,...n}=e;return S.useEffect(()=>{t.handleRedirectCallback(n)},[]),null},"AuthenticateWithRedirectCallback");var lr=function(){try{return function(e,t){const n=Cn(e);return!!n&&function(e,t){const{major:n,minor:r,patch:o}=e;return t.some(e=>{let[t,a,i,s]=e;return n===t&&(-1===i?r>a||r===a&&o>=s:r===i&&o>=s)})}(n,t)}(S.version,xn)}catch{return!1}}(),cr=()=>({pathRoot:"",attempts:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot:()=>({object:"verification",id:"",attempts:null,error:{code:"",message:""},expire_at:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verified_at_client:null})}),ur=()=>({...cr(),supportedStrategies:[],nextAction:"",reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot(){return{...cr().__internal_toSnapshot(),next_action:this.nextAction,supported_strategies:this.supportedStrategies}}}),dr=class{constructor(e){this.isomorphicClerk=e,this.signInSignalProxy=this.buildSignInProxy(),this.signUpSignalProxy=this.buildSignUpProxy(),this.waitlistSignalProxy=this.buildWaitlistProxy()}signInSignal(){return this.signInSignalProxy}signUpSignal(){return this.signUpSignalProxy}waitlistSignal(){return this.waitlistSignalProxy}get __internal_waitlist(){return this.state.__internal_waitlist}checkoutSignal(e){return this.buildCheckoutProxy(e)}buildSignInProxy(){const e=this.gateProperty.bind(this),t=()=>this.client.signIn.__internal_future;return{errors:{fields:{identifier:null,password:null,code:null},raw:null,global:null},fetchStatus:"idle",signIn:{status:"needs_identifier",availableStrategies:[],get isTransferable(){return e(t,"isTransferable",!1)},get id(){return e(t,"id",void 0)}
2,get supportedFirstFactors(){return e(t,"supportedFirstFactors",[])},get supportedSecondFactors(){return e(t,"supportedSecondFactors",[])},get secondFactorVerification(){return e(t,"secondFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get identifier(){return e(t,"identifier",null)},get createdSessionId(){return e(t,"createdSessionId",null)},get userData(){return e(t,"userData",{})},get firstFactorVerification(){return e(t,"firstFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get canBeDiscarded(){return e(t,"canBeDiscarded",!1)},create:this.gateMethod(t,"create"),password:this.gateMethod(t,"password"),sso:this.gateMethod(t,"sso"),finalize:this.gateMethod(t,"finalize"),reset:this.gateMethod(t,"reset"),emailCode:this.wrapMethods(()=>t().emailCode,["sendCode","verifyCode"]),emailLink:this.wrapStruct(()=>t().emailLink,["sendLink","waitForVerification"],["verification"],{verification:null}),resetPasswordEmailCode:this.wrapMethods(()=>t().resetPasswordEmailCode,["sendCode","verifyCode","submitPassword"]),resetPasswordPhoneCode:this.wrapMethods(()=>t().resetPasswordPhoneCode,["sendCode","verifyCode","submitPassword"]),phoneCode:this.wrapMethods(()=>t().phoneCode,["sendCode","verifyCode"]),mfa:this.wrapMethods(()=>t().mfa,["sendPhoneCode","verifyPhoneCode","sendEmailCode","verifyEmailCode","verifyTOTP","verifyBackupCode"]),ticket:this.gateMethod(t,"ticket"),passkey:this.gateMethod(t,"passkey"),web3:this.gateMethod(t,"web3")}}}buildSignUpProxy(){const e=this.gateProperty.bind(this),t=this.gateMethod.bind(this),n=()=>this.client.signUp.__internal_future;return{errors:{fields:{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null},raw:null,global:null},fetchStatus:"idle",signUp:{get id(){return e(n,"id",void 0)},get requiredFields(){return e(n,"requiredFields",[])},get optionalFields(){return e(n,"optionalFields",[])},get missingFields(){return e(n,"missingFields",[])},get username(){return e(n,"username",null)},get firstName(){return e(n,"firstName",null)},get lastName(){return e(n,"lastName",null)},get emailAddress(){return e(n,"emailAddress",null)},get phoneNumber(){return e(n,"phoneNumber",null)},get web3Wallet(){return e(n,"web3Wallet",null)},get hasPassword(){return e(n,"hasPassword",!1)},get unsafeMetadata(){return e(n,"unsafeMetadata",{})},get createdSessionId(){return e(n,"createdSessionId",null)},get createdUserId(){return e(n,"createdUserId",null)},get abandonAt(){return e(n,"abandonAt",null)},get legalAcceptedAt(){return e(n,"legalAcceptedAt",null)},get locale(){return e(n,"locale",null)},get status(){return e(n,"status","missing_requirements")},get unverifiedFields(){return e(n,"unverifiedFields",[])},get isTransferable(){return e(n,"isTransferable",!1)},get canBeDiscarded(){return e(n,"canBeDiscarded",!1)},create:t(n,"create"),update:t(n,"update"),sso:t(n,"sso"),password:t(n,"password"),ticket:t(n,"ticket"),web3:t(n,"web3"),finalize:t(n,"finalize"),reset:t(n,"reset"),verifications:this.wrapStruct(()=>n().verifications,["sendEmailCode","verifyEmailCode","sendEmailLink","waitForEmailLinkVerification","sendPhoneCode","verifyPhoneCode"],["emailAddress","phoneNumber","web3Wallet","externalAccount","emailLinkVerification"],{emailAddress:ur(),phoneNumber:ur(),web3Wallet:ur(),externalAccount:ur(),emailLinkVerification:null})}}}buildWaitlistProxy(){const e=this.gateProperty.bind(this),t=this.gateMethod.bind(this),n=()=>this.state.__internal_waitlist;return{errors:{fields:{emailAddress:null},raw:null,global:null},fetchStatus:"idle",waitlist:{pathRoot:"/waitlist",get id(){return e(n,"id","")},get createdAt(){return e(n,"createdAt",null)},get updatedAt(){return e(n,"updatedAt",null)},join:t(n,"join"),reload:t(n,"reload")}}}buildCheckoutProxy(e){const t=this.gateProperty.bind(this),n=()=>this.checkout(e),r=()=>n().checkout;return{errors:{raw:null,global:null},fetchStatus:"idle",checkout:{get status(){return t(r,"status","needs_initialization")},get externalClientSecret(){return t(r,"externalClientSecret",null)},get externalGatewayId(){return t(r,"externalGatewayId",null)},get paymentMethod(){return t(r,"paymentMethod",null)},get plan(){return t(r,"plan",null)},get planPeriod(){return t(r,"planPeriod",null)},get totals(){return t(r,"totals",null)},get isImmediatePlanChange(){return t(r,"isImmediatePlanChange",!1)},get freeTrialEndsAt(){return t(r,"freeTrialEndsAt",null)},get payer(){return t(r,"payer",null)},get planPeriodStart(){return t(r,"planPeriodStart",null)},get needsPaymentMethod(){return t(r,"needsPaymentMethod",null)},start:this.gateMethod(r,"start"),confirm:this.gateMethod(r,"confirm"),finalize:this.gateMethod(r,"finalize")}}}__internal_effect(e){throw new Error("__internal_effect called before Clerk is loaded")}__internal_computed(e){throw new Error("__internal_computed called before Clerk is loaded")}get state(){const e=this.isomorphicClerk.__internal_state;if(!e)throw new Error("Clerk state not ready");return e}get client(){const e=this.isomorphicClerk.client;if(!e)throw new Error("Clerk client not ready");return e}get checkout(){const e=this.isomorphicClerk.__experimental_checkout;if(!e)throw new Error("Clerk checkout not ready");return e}gateProperty(e,t,n){return(()=>
2{if(!xt()||!this.isomorphicClerk.loaded)return n;return e()[t]})()}gateMethod(e,t){var n=this;return async function(){if(!xt())return ct.throw(`Attempted to call a method (${t}) that is not supported on the server.`);n.isomorphicClerk.loaded||await new Promise(e=>n.isomorphicClerk.addOnLoaded(e));const r=e();for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r[t].apply(r,a)}}wrapMethods(e,t){return Object.fromEntries(t.map(t=>[t,this.gateMethod(e,t)]))}wrapStruct(e,t,n,r){const o={};for(const a of t)o[a]=this.gateMethod(e,a);for(const a of n)Object.defineProperty(o,a,{get:()=>this.gateProperty(e,a,r[a]),enumerable:!0});return o}};"undefined"===typeof globalThis.__BUILD_DISABLE_RHC__&&(globalThis.__BUILD_DISABLE_RHC__=!1);var pr,fr,hr,mr,gr,yr,br,vr,wr,xr={name:"@clerk/react",version:"6.1.0",environment:"production"},kr=class e{constructor(e){var t,n=this;bn(this,vr),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenEnableOrganizationsPrompt=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSubscriptionDetails=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserAvatarNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountAPIKeysNodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountTaskChooseOrganizationNodes=new Map,this.premountTaskResetPasswordNodes=new Map,this.premountTaskSetupMFANodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],bn(this,pr,"loading"),bn(this,fr),bn(this,hr),bn(this,mr),bn(this,gr,Rn()),bn(this,yr),this.buildSignInUrl=e=>{const t=()=>{var t;return(null==(t=this.clerkjs)?void 0:t.buildSignInUrl(e))||""};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("buildSignInUrl",t)},this.buildSignUpUrl=e=>{const t=()=>{var t;return(null==(t=this.clerkjs)?void 0:t.buildSignUpUrl(e))||""};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("buildSignUpUrl",t)},this.buildAfterSignInUrl=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=()=>{var e;return(null==(e=n.clerkjs)?void 0:e.buildAfterSignInUrl(...t))||""};if(n.clerkjs&&n.loaded)return o();n.premountMethodCalls.set("buildAfterSignInUrl",o)},this.buildAfterSignUpUrl=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=()=>{var e;return(null==(e=n.clerkjs)?void 0:e.buildAfterSignUpUrl(...t))||""};if(n.clerkjs&&n.loaded)return o();n.premountMethodCalls.set("buildAfterSignUpUrl",o)},this.buildAfterSignOutUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildAfterSignOutUrl",e)},this.buildNewSubscriptionRedirectUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",e)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",e)},this.buildUserProfileUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildUserProfileUrl",e)},this.buildCreateOrganizationUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildCreateOrganizationUrl())||""};
2if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildCreateOrganizationUrl",e)},this.buildOrganizationProfileUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildOrganizationProfileUrl",e)},this.buildWaitlistUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildWaitlistUrl",e)},this.buildTasksUrl=()=>{const e=()=>{var e;return(null==(e=this.clerkjs)?void 0:e.buildTasksUrl())||""};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("buildTasksUrl",e)},this.buildUrlWithAuth=e=>{const t=()=>{var t;return(null==(t=this.clerkjs)?void 0:t.buildUrlWithAuth(e))||""};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("buildUrlWithAuth",t)},this.handleUnauthenticated=async()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.handleUnauthenticated()};this.clerkjs&&this.loaded?e():this.premountMethodCalls.set("handleUnauthenticated",e)},this.on=function(){var e;if(null==(e=n.clerkjs)?void 0:e.on)return n.clerkjs.on(...arguments);yn(n,gr).on(...arguments)},this.off=function(){var e;if(null==(e=n.clerkjs)?void 0:e.off)return n.clerkjs.off(...arguments);yn(n,gr).off(...arguments)},this.addOnLoaded=e=>{this.loadedListeners.push(e),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>{this.loadedListeners.forEach(e=>e()),this.loadedListeners=[]},this.beforeLoad=e=>{if(!e)throw new Error("Failed to hydrate latest Clerk JS")},this.replayInterceptedInvocations=e=>{var t,n;if(!e)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=e,this.premountMethodCalls.forEach(e=>e()),this.premountAddListenerCalls.forEach((t,n)=>{t.handlers.nativeUnsubscribe=e.addListener(n,t.options)}),null==(t=yn(this,gr).internal.retrieveListeners("status"))||t.forEach(e=>{this.on("status",e,{notify:!0})}),null==(n=yn(this,gr).internal.retrieveListeners("queryClientStatus"))||n.forEach(e=>{this.on("queryClientStatus",e,{notify:!0})}),null!==this.preopenSignIn&&e.openSignIn(this.preopenSignIn),null!==this.preopenCheckout&&e.__internal_openCheckout(this.preopenCheckout),null!==this.preopenPlanDetails&&e.__internal_openPlanDetails(this.preopenPlanDetails),null!==this.preopenSubscriptionDetails&&e.__internal_openSubscriptionDetails(this.preopenSubscriptionDetails),null!==this.preopenSignUp&&e.openSignUp(this.preopenSignUp),null!==this.preopenUserProfile&&e.openUserProfile(this.preopenUserProfile),null!==this.preopenUserVerification&&e.__internal_openReverification(this.preopenUserVerification),null!==this.preopenOneTap&&e.openGoogleOneTap(this.preopenOneTap),null!==this.preopenOrganizationProfile&&e.openOrganizationProfile(this.preopenOrganizationProfile),null!==this.preopenCreateOrganization&&e.openCreateOrganization(this.preopenCreateOrganization),null!==this.preOpenWaitlist&&e.openWaitlist(this.preOpenWaitlist),this.preopenEnableOrganizationsPrompt&&e.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt),this.premountSignInNodes.forEach((t,n)=>{e.mountSignIn(n,t)}),this.premountSignUpNodes.forEach((t,n)=>{e.mountSignUp(n,t)}),this.premountUserProfileNodes.forEach((t,n)=>{e.mountUserProfile(n,t)}),this.premountUserAvatarNodes.forEach((t,n)=>{e.mountUserAvatar(n,t)}),this.premountUserButtonNodes.forEach((t,n)=>{e.mountUserButton(n,t)}),this.premountOrganizationListNodes.forEach((t,n)=>{e.mountOrganizationList(n,t)}),this.premountWaitlistNodes.forEach((t,n)=>{e.mountWaitlist(n,t)}),this.premountPricingTableNodes.forEach((t,n)=>{e.mountPricingTable(n,t)}),this.premountAPIKeysNodes.forEach((t,n)=>{e.mountAPIKeys(n,t)}),this.premountOAuthConsentNodes.forEach((t,n)=>{e.__internal_mountOAuthConsent(n,t)}),this.premountTaskChooseOrganizationNodes.forEach((t,n)=>{e.mountTaskChooseOrganization(n,t)}),this.premountTaskResetPasswordNodes.forEach((t,n)=>{e.mountTaskResetPassword(n,t)}),this.premountTaskSetupMFANodes.forEach((t,n)=>{e.mountTaskSetupMFA(n,t)}),"undefined"===typeof this.clerkjs.status&&yn(this,gr).emit(Pn,"ready"),this.emitLoaded(),this.clerkjs},this.__experimental_checkout=function(){return n.loaded&&n.clerkjs?n.clerkjs.__experimental_checkout(...arguments):yn(n,yr).checkoutSignal(...arguments)},this.__internal_updateProps=async e=>{const t=await wn(this,vr,wr).call(this);if(t&&"__internal_updateProps"in t)return t.__internal_updateProps(e)},this.setActive=e=>this.clerkjs?this.clerkjs.setActive(e):Promise.reject(),this.openSignIn=e=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(e):this.preopenSignIn=e},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(e):this.preopenCheckout=e},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(e):this.preopenPlanDetails=e},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null}
2,this.__internal_openSubscriptionDetails=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openSubscriptionDetails(e):this.preopenSubscriptionDetails=null!=e?e:null},this.__internal_closeSubscriptionDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeSubscriptionDetails():this.preopenSubscriptionDetails=null},this.__internal_openReverification=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(e):this.preopenUserVerification=e},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.__internal_openEnableOrganizationsPrompt=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openEnableOrganizationsPrompt(e):this.preopenEnableOrganizationsPrompt=e},this.__internal_closeEnableOrganizationsPrompt=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeEnableOrganizationsPrompt():this.preopenEnableOrganizationsPrompt=null},this.openGoogleOneTap=e=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(e):this.preopenOneTap=e},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=e=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(e):this.preopenUserProfile=e},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=e=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(e):this.preopenOrganizationProfile=e},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=e=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(e):this.preopenCreateOrganization=e},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=e=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(e):this.preOpenWaitlist=e},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=e=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(e):this.preopenSignUp=e},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null},this.mountSignIn=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(e,t):this.premountSignInNodes.set(e,t)},this.unmountSignIn=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(e):this.premountSignInNodes.delete(e)},this.mountSignUp=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(e,t):this.premountSignUpNodes.set(e,t)},this.unmountSignUp=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(e):this.premountSignUpNodes.delete(e)},this.mountUserAvatar=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserAvatar(e,t):this.premountUserAvatarNodes.set(e,t)},this.unmountUserAvatar=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserAvatar(e):this.premountUserAvatarNodes.delete(e)},this.mountUserProfile=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(e,t):this.premountUserProfileNodes.set(e,t)},this.unmountUserProfile=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(e):this.premountUserProfileNodes.delete(e)},this.mountOrganizationProfile=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(e,t):this.premountOrganizationProfileNodes.set(e,t)},this.unmountOrganizationProfile=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(e):this.premountOrganizationProfileNodes.delete(e)},this.mountCreateOrganization=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(e,t):this.premountCreateOrganizationNodes.set(e,t)},this.unmountCreateOrganization=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(e):this.premountCreateOrganizationNodes.delete(e)},this.mountOrganizationSwitcher=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(e,t):this.premountOrganizationSwitcherNodes.set(e,t)},this.unmountOrganizationSwitcher=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(e):this.premountOrganizationSwitcherNodes.delete(e)},this.__experimental_prefetchOrganizationSwitcher=()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?e():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",e)},this.mountOrganizationList=(e,t)=>
2{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(e,t):this.premountOrganizationListNodes.set(e,t)},this.unmountOrganizationList=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(e):this.premountOrganizationListNodes.delete(e)},this.mountUserButton=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(e,t):this.premountUserButtonNodes.set(e,t)},this.unmountUserButton=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(e):this.premountUserButtonNodes.delete(e)},this.mountWaitlist=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(e,t):this.premountWaitlistNodes.set(e,t)},this.unmountWaitlist=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(e):this.premountWaitlistNodes.delete(e)},this.mountPricingTable=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(e,t):this.premountPricingTableNodes.set(e,t)},this.unmountPricingTable=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(e):this.premountPricingTableNodes.delete(e)},this.mountAPIKeys=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountAPIKeys(e,t):this.premountAPIKeysNodes.set(e,t)},this.unmountAPIKeys=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountAPIKeys(e):this.premountAPIKeysNodes.delete(e)},this.__internal_mountOAuthConsent=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(e,t):this.premountOAuthConsentNodes.set(e,t)},this.__internal_unmountOAuthConsent=e=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(e):this.premountOAuthConsentNodes.delete(e)},this.mountTaskChooseOrganization=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskChooseOrganization(e,t):this.premountTaskChooseOrganizationNodes.set(e,t)},this.unmountTaskChooseOrganization=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskChooseOrganization(e):this.premountTaskChooseOrganizationNodes.delete(e)},this.mountTaskResetPassword=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskResetPassword(e,t):this.premountTaskResetPasswordNodes.set(e,t)},this.unmountTaskResetPassword=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskResetPassword(e):this.premountTaskResetPasswordNodes.delete(e)},this.mountTaskSetupMFA=(e,t)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskSetupMFA(e,t):this.premountTaskSetupMFANodes.set(e,t)},this.unmountTaskSetupMFA=e=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskSetupMFA(e):this.premountTaskSetupMFANodes.delete(e)},this.addListener=(e,t)=>{if(this.clerkjs)return this.clerkjs.addListener(e,t);{const n=()=>{var t,n;const r=this.premountAddListenerCalls.get(e);(null==r?void 0:r.handlers)&&(null==(n=null==r?void 0:(t=r.handlers).nativeUnsubscribe)||n.call(t),this.premountAddListenerCalls.delete(e))};return this.premountAddListenerCalls.set(e,{options:t,handlers:{unsubscribe:n,nativeUnsubscribe:void 0}}),n}},this.navigate=e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.navigate(e)};this.clerkjs&&this.loaded?t():this.premountMethodCalls.set("navigate",t)},this.redirectWithAuth=async function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=()=>{var e;return null==(e=n.clerkjs)?void 0:e.redirectWithAuth(...t)};return n.clerkjs&&n.loaded?o():void n.premountMethodCalls.set("redirectWithAuth",o)},this.redirectToSignIn=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.redirectToSignIn(e)};return this.clerkjs&&this.loaded?t():void this.premountMethodCalls.set("redirectToSignIn",t)},this.redirectToSignUp=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.redirectToSignUp(e)};return this.clerkjs&&this.loaded?t():void this.premountMethodCalls.set("redirectToSignUp",t)},this.redirectToUserProfile=async()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToUserProfile()};return this.clerkjs&&this.loaded?e():void this.premountMethodCalls.set("redirectToUserProfile",e)},this.redirectToAfterSignUp=()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return e();this.premountMethodCalls.set("redirectToAfterSignUp",e)},this.redirectToAfterSignIn=()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToAfterSignIn()};this.clerkjs&&this.loaded?e():this.premountMethodCalls.set("redirectToAfterSignIn",e)},this.redirectToAfterSignOut=()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToAfterSignOut()};this.clerkjs&&this.loaded?e():this.premountMethodCalls.set("redirectToAfterSignOut",e)},this.redirectToOrganizationProfile=async()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToOrganizationProfile()};return this.clerkjs&&this.loaded?e():void this.premountMethodCalls.set("redirectToOrganizationProfile",e)},this.redirectToCreateOrganization=async()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToCreateOrganization()};return this.clerkjs&&this.loaded?e():void this.premountMethodCalls.set("redirectToCreateOrganization",e)},this.redirectToWaitlist=async()=>{const e=()=>{var e;return null==(e=this.clerkjs)?void 0:e.redirectToWaitlist()};return this.clerkjs&&this.loaded?e():void this.premountMethodCalls.set("redirectToWaitlist",e)},this.redirectToTasks=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.redirectToTasks(e)};return this.clerkjs&&this.loaded?t():void this.premountMethodCalls.set("redirectToTasks",t)},this.handleRedirectCallback=async e=>{var t;const n=()=>{var t;return null==(t=this.clerkjs)?void 0:t.handleRedirectCallback(e)};this.clerkjs&&this.loaded?null==(t=n())||t.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",n)},this.handleGoogleOneTapCallback=async(e,t)=>{var n;const r=()=>{var n;return null==(n=this.clerkjs)?void 0:n.handleGoogleOneTapCallback(e,t)};this.clerkjs&&this.loaded?null==(n=r())||n.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",r)},this.handleEmailLinkVerification=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.handleEmailLinkVerification(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("handleEmailLinkVerification",t)},this.authenticateWithMetamask=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithMetamask(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithMetamask",t)},this.authenticateWithCoinbaseWallet=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithCoinbaseWallet(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",t)},this.authenticateWithBase=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithBase(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithBase",t)},this.authenticateWithOKXWallet=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithOKXWallet(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithOKXWallet",t)},this.authenticateWithSolana=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithSolana(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithSolana",t)},this.authenticateWithWeb3=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.authenticateWithWeb3(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("authenticateWithWeb3",t)},this.authenticateWithGoogleOneTap=async e=>(await wn(this,vr,wr).call(this)).authenticateWithGoogleOneTap(e),this.__internal_loadStripeJs=async()=>(await wn(this,vr,wr).call(this)).__internal_loadStripeJs(),this.createOrganization=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.createOrganization(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("createOrganization",t)},this.getOrganization=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.getOrganization(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("getOrganization",t)},this.joinWaitlist=async e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.joinWaitlist(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("joinWaitlist",t)},this.signOut=async function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=()=>{var e;return null==(e=n.clerkjs)?void 0:e.signOut(...t)};if(n.clerkjs&&n.loaded)return o();
2n.premountMethodCalls.set("signOut",o)},this.__internal_attemptToEnableEnvironmentSetting=e=>{const t=()=>{var t;return null==(t=this.clerkjs)?void 0:t.__internal_attemptToEnableEnvironmentSetting(e)};if(this.clerkjs&&this.loaded)return t();this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting",t)},vn(this,mr,null==e?void 0:e.publishableKey),vn(this,hr,null==e?void 0:e.proxyUrl),vn(this,fr,null==e?void 0:e.domain),this.options=e,this.Clerk=(null==e?void 0:e.Clerk)||null,this.mode=xt()?"browser":"server",vn(this,yr,new dr(this)),this.options.sdkMetadata||(this.options.sdkMetadata=xr),yn(this,gr).emit(Pn,"loading"),yn(this,gr).prioritizedOn(Pn,e=>vn(this,pr,e)),yn(this,mr)&&"headless"===(null==(t=this.options.experimental)?void 0:t.runtimeEnvironment)&&this.options.Clerk?this.loadHeadlessClerk():yn(this,mr)&&this.getEntryChunks()}get publishableKey(){return yn(this,mr)}get loaded(){var e;return(null==(e=this.clerkjs)?void 0:e.loaded)||!1}get status(){var e;return this.clerkjs?(null==(e=this.clerkjs)?void 0:e.status)||(this.clerkjs.loaded?"ready":"loading"):yn(this,pr)}static getOrCreateInstance(t){return(!xt()||!yn(this,br)||t.Clerk&&yn(this,br).Clerk!==t.Clerk||yn(this,br).publishableKey!==t.publishableKey)&&vn(this,br,new e(t)),yn(this,br)}static clearInstance(){vn(this,br,null)}get domain(){return"undefined"!==typeof window&&window.location?pt(yn(this,fr),new URL(window.location.href),""):"function"===typeof yn(this,fr)?ct.throw(St):yn(this,fr)||""}get proxyUrl(){return"undefined"!==typeof window&&window.location?pt(yn(this,hr),new URL(window.location.href),""):"function"===typeof yn(this,hr)?ct.throw(St):yn(this,hr)||""}__internal_getOption(e){var t,n;return(null==(t=this.clerkjs)?void 0:t.__internal_getOption)?null==(n=this.clerkjs)?void 0:n.__internal_getOption(e):this.options[e]}loadHeadlessClerk(){const e=Pt(this.options.Clerk)?new this.options.Clerk(yn(this,mr),{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk;if(!e)return void yn(this,gr).emit(Pn,"error");const t=()=>{this.replayInterceptedInvocations(e)};e.loaded?t():e.load(this.options).then(()=>t()).catch(e=>{yn(this,gr).emit(Pn,"error"),this.emitLoaded()})}get sdkMetadata(){var e;return(null==(e=this.clerkjs)?void 0:e.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var e;return null==(e=this.clerkjs)?void 0:e.instanceType}get frontendApi(){var e;return(null==(e=this.clerkjs)?void 0:e.frontendApi)||""}get isStandardBrowser(){var e;return(null==(e=this.clerkjs)?void 0:e.isStandardBrowser)||this.options.standardBrowser||!1}get __internal_queryClient(){var e;return null==(e=this.clerkjs)?void 0:e.__internal_queryClient}get isSatellite(){return"undefined"!==typeof window&&window.location?pt(this.options.isSatellite,new URL(window.location.href),!1):"function"===typeof this.options.isSatellite&&ct.throw(St)}async getEntryChunks(){var e;if("browser"===this.mode&&!this.loaded){"undefined"!==typeof window&&(window.__clerk_publishable_key=yn(this,mr),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{const t=await this.getClerkJsEntryChunk();if(!t.loaded){this.beforeLoad(t);const n=!1!==this.options.standardBrowser&&!this.options.Clerk||!!(null==(e=this.options.ui)?void 0:e.ClerkUI)?await this.getClerkUIEntryChunk():void 0;await t.load({...this.options,ui:{...this.options.ui,ClerkUI:n}})}t.loaded&&this.replayInterceptedInvocations(t)}catch(t){const e=t;return yn(this,gr).emit(Pn,"error"),void console.error(e.stack||e.message||e)}}}async getClerkJsEntryChunk(){if(this.options.Clerk&&!this.options.__internal_clerkJSUrl||__BUILD_DISABLE_RHC__||await Xn({...this.options,publishableKey:yn(this,mr),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),this.options.Clerk&&!this.options.__internal_clerkJSUrl&&(globalThis.Clerk=Pt(this.options.Clerk)?new this.options.Clerk(yn(this,mr),{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk),!globalThis.Clerk)throw new Error("Failed to download latest ClerkJS. Contact [email protected].");return globalThis.Clerk}async getClerkUIEntryChunk(){const e=this.options.ui,t=!!this.options.__internal_clerkUIUrl;if((null==e?void 0:e.ClerkUI)&&!t)return e.ClerkUI;if(!e&&!1!==this.options.prefetchUI||t){if(await(async e=>{const t=e?.scriptLoadTimeout??15e3,n=e=>
2new a("Failed to load Clerk UI"+(e?.message?`, ${e.message}`:""),{code:"failed_to_load_clerk_ui",cause:e});if(Qn())return null;if(!e?.publishableKey)return Gn.throwMissingPublishableKeyError(),null;const r=er(e),o=document.querySelector("script[data-clerk-ui-script]");if(o)if(Zn(r))o.remove();else try{return await ar(t,Qn,n(),o),null}catch{o.remove()}const i=ar(t,Qn,n());return $n(r,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:rr(nr(e))}).catch(e=>{throw n(e)}),i})({...this.options,publishableKey:yn(this,mr),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!globalThis.__internal_ClerkUICtor)throw new Error("Failed to download latest Clerk UI. Contact [email protected].");return globalThis.__internal_ClerkUICtor}}get version(){var e;return null==(e=this.clerkjs)?void 0:e.version}get client(){return this.clerkjs?this.clerkjs.client:void 0}get session(){return this.clerkjs?this.clerkjs.session:void 0}get user(){return this.clerkjs?this.clerkjs.user:void 0}get organization(){return this.clerkjs?this.clerkjs.organization:void 0}get telemetry(){return this.clerkjs?this.clerkjs.telemetry:void 0}get __internal_environment(){return this.clerkjs?this.clerkjs.__internal_environment:void 0}get isSignedIn(){return!!this.clerkjs&&this.clerkjs.isSignedIn}get billing(){var e;return null==(e=this.clerkjs)?void 0:e.billing}get __internal_state(){return this.loaded&&this.clerkjs?this.clerkjs.__internal_state:yn(this,yr)}get apiKeys(){var e;return null==(e=this.clerkjs)?void 0:e.apiKeys}__internal_setEnvironment(){if(this.clerkjs&&"__internal_setEnvironment"in this.clerkjs){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.clerkjs.__internal_setEnvironment(t)}}get __internal_lastEmittedResources(){var e;return null==(e=this.clerkjs)?void 0:e.__internal_lastEmittedResources}};pr=new WeakMap,fr=new WeakMap,hr=new WeakMap,mr=new WeakMap,gr=new WeakMap,yr=new WeakMap,br=new WeakMap,vr=new WeakSet,wr=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})},bn(kr,br);var Sr=kr;var Cr=function(e,t,n){const r=e.displayName||e.name||t||"Component",o=r=>(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;S.useEffect(()=>{const r=Rt.get(e)||0;return r==n?ct.throw(t):(Rt.set(e,r+1),()=>{Rt.set(e,(Rt.get(e)||1)-1)})},[])}(t,n),S.createElement(e,{...r}));return o.displayName=`withMaxAllowedInstancesGuard(${r})`,o}(function(e){const{initialState:t,children:n,...r}=e,o=(e=>{const t=Nt(e.publishableKey,"CLERK_PUBLISHABLE_KEY");return{...e,...void 0!==t&&{publishableKey:t}}})(r),{isomorphicClerk:a,clerkStatus:i}=jr(o);return S.createElement(Ge,{initialState:t,clerk:a,clerkStatus:i},n)},"ClerkProvider","You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.");Cr.displayName="ClerkProvider";var Er=lr?"shared":"",jr=e=>{const t=S.useMemo(()=>({clerkUIVariant:Er,...e}),[e]),n=S.useRef(Sr.getOrCreateInstance(t)),[r,o]=S.useState(n.current.status);return S.useEffect(()=>{n.current.__internal_updateProps({appearance:e.appearance})},[e.appearance]),S.useEffect(()=>{n.current.__internal_updateProps({options:e})},[e.localization]),S.useEffect(()=>(n.current.on("status",o),()=>{n.current&&n.current.off("status",o),Sr.clearInstance()}),[]),{isomorphicClerk:n.current,clerkStatus:r}},Nr=n(4391),Pr=n.t(Nr,2),Rr=n(579),_r=n.t(Rr,2);var Ar;if("undefined"===typeof window||window.global||(window.global="undefined"===typeof globalThis?window:globalThis),globalThis.__clerkSharedModules){const e=null==(Ar=globalThis.__clerkSharedModules.react)?void 0:Ar.version;e&&e!==S.version&&console.warn(`[@clerk/ui/register] React version mismatch detected. Already registered: ${e}, current import: ${S.version}. This may cause issues with the shared @clerk/ui variant.`)}else globalThis.__clerkSharedModules={react:C,"react-dom":gt,"react-dom/client":Pr,"react/jsx-runtime":_r};var Tr,Lr=Yt(e=>{let{clerk:t,children:n,...r}=e;const{appearance:o,getContainer:a,component:i,signUpFallbackRedirectUrl:s,forceRedirectUrl:l,fallbackRedirectUrl:c,signUpForceRedirectUrl:u,mode:d,initialValues:p,withSignUp:f,oauthFlow:h,...m}=r;n=Et(n,"Sign in");const g=Ct(n)("SignInButton"),y={...m,onClick:async e=>(g&&"object"===typeof g&&"props"in g&&await jt(g.props.onClick)(e),(()=>{const e={forceRedirectUrl:l,fallbackRedirectUrl:c,signUpFallbackRedirectUrl:s,signUpForceRedirectUrl:u,initialValues:p,withSignUp:f,oauthFlow:h};return"modal"===d?t.openSignIn({...e,appearance:o,getContainer:a}):t.redirectToSignIn({...e,signInFallbackRedirectUrl:c,signInForceRedirectUrl:l})})())};return S.cloneElement(g,y)}
2,{component:"SignInButton",renderWhileLoading:!0}),Ur=(Yt(e=>{let{clerk:t,children:n,...r}=e;const{redirectUrl:o,getContainer:a,component:i,...s}=r;n=Et(n,"Sign in with Metamask");const l=Ct(n)("SignInWithMetamaskButton"),c={...s,onClick:async e=>(await jt(l.props.onClick)(e),(async()=>{!async function(){await t.authenticateWithMetamask({redirectUrl:o||void 0})}()})())};return S.cloneElement(l,c)},{component:"SignInWithMetamask",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,children:n,...r}=e;const{redirectUrl:o="/",signOutOptions:a,getContainer:i,component:s,...l}=r;n=Et(n,"Sign out");const c=Ct(n)("SignOutButton"),u={...l,onClick:async e=>(await jt(c.props.onClick)(e),t.signOut({redirectUrl:o,...a}))};return S.cloneElement(c,u)},{component:"SignOutButton",renderWhileLoading:!0}),Yt(e=>{let{clerk:t,children:n,...r}=e;const{appearance:o,unsafeMetadata:a,getContainer:i,component:s,fallbackRedirectUrl:l,forceRedirectUrl:c,signInFallbackRedirectUrl:u,signInForceRedirectUrl:d,mode:p,initialValues:f,oauthFlow:h,...m}=r;n=Et(n,"Sign up");const g=Ct(n)("SignUpButton"),y={...m,onClick:async e=>(g&&"object"===typeof g&&"props"in g&&await jt(g.props.onClick)(e),(()=>{const e={fallbackRedirectUrl:l,forceRedirectUrl:c,signInFallbackRedirectUrl:u,signInForceRedirectUrl:d,initialValues:f,oauthFlow:h};return"modal"===p?t.openSignUp({...e,appearance:o,unsafeMetadata:a,getContainer:i}):t.redirectToSignUp({...e,signUpFallbackRedirectUrl:l,signUpForceRedirectUrl:c})})())};return S.cloneElement(g,y)},{component:"SignUpButton",renderWhileLoading:!0}));Tr={packageName:"@clerk/react"},ct.setMessages(Tr).setPackageName(Tr),ir("@clerk/react")},858(e,t,n){n.d(t,{mK:()=>r});"undefined"===typeof window||!window.document||window.document.createElement;function r(e,t){let{checkForDefaultPrevented:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},7103(e,t,n){n.d(t,{N:()=>d});var r=n(5043),o=n(1862),a=n(2814),i=n(579);function s(e){const t=l(e),n=r.forwardRef((e,n)=>{const{children:o,...a}=e,s=r.Children.toArray(o),l=s.find(u);if(l){const e=l.props.children,o=s.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,i.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...a,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function l(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),i=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){const e=a(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,a.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var c=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}function d(e){const t=e+"CollectionProvider",[n,l]=(0,o.A)(t),[c,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:t,children:n}=e,o=r.useRef(null),a=r.useRef(new Map).current;return(0,i.jsx)(c,{scope:t,itemMap:a,collectionRef:o,children:n})};d.displayName=t;const p=e+"CollectionSlot",f=s(p),h=r.forwardRef((e,t)=>{const{scope:n,children:r}=e,o=u(p,n),s=(0,a.s)(t,o.collectionRef);return(0,i.jsx)(f,{ref:s,children:r})});h.displayName=p;const m=e+"CollectionItemSlot",g="data-radix-collection-item",y=s(m),b=r.forwardRef((e,t)=>{const{scope:n,children:o,...s}=e,l=r.useRef(null),c=(0,a.s)(t,l),d=u(m,n);return r.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>{d.itemMap.delete(l)})),(0,i.jsx)(y,{[g]:"",ref:c,children:o})});return b.displayName=m,[{Provider:d,Slot:h,ItemSlot:b},function(t){const n=u(e+"CollectionConsumer",t);return r.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}var p=new WeakMap;Map;function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,r=h(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return-1===n?void 0:e[n]}function h(e){return e!==e||0===e?0:Math.trunc(e)}},2814(e,t,n){n.d(t,{s:()=>i,t:()=>a});var r=n(5043);function o(e,t){if("function"===typeof e)return e(t);null!==e&&void 0!==e&&(e.current=t)}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{let n=!1;const r=t.map(t=>{const r=o(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<r.length;e++){const n=r[e];"function"==typeof n?n():o(t[e],null)}}}}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useCallback(a(...t),t)}},1862(e,t,n){n.d(t,{A:()=>i,q:()=>a});var r=n(5043),o=n(579);function a(e,t){const n=r.createContext(t),a=e=>{const{children:t,...a}=e,i=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(n.Provider,{value:i,children:t})};return a.displayName=e+"Provider",[a,function(o){const a=r.useContext(n);if(a)return a;
2if(void 0!==t)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];const a=()=>{const t=n.map(e=>r.createContext(e));return function(n){const o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,a){const i=r.createContext(a),s=n.length;n=[...n,a];const l=t=>{const{scope:n,children:a,...l}=t,c=n?.[e]?.[s]||i,u=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(c.Provider,{value:u,children:a})};return l.displayName=t+"Provider",[l,function(n,o){const l=o?.[e]?.[s]||i,c=r.useContext(l);if(c)return c;if(void 0!==a)return a;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},s(a,...t)]}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=t[0];if(1===t.length)return o;const a=()=>{const e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){const n=e.reduce((e,n)=>{let{useScope:r,scopeName:o}=n;return{...e,...r(t)[`__scope${o}`]}},{});return r.useMemo(()=>({[`__scope${o.scopeName}`]:n}),[n])}};return a.scopeName=o.scopeName,a}},4204(e,t,n){n.d(t,{jH:()=>a});var r=n(5043),o=(n(579),r.createContext(void 0));function a(e){const t=r.useContext(o);return e||t||"ltr"}},1184(e,t,n){n.d(t,{qW:()=>h});var r=n(5043),o=n(858),a=n(7914),i=n(2814),s=n(7490);var l,c=n(579),u="dismissableLayer.update",d="dismissableLayer.pointerDownOutside",p="dismissableLayer.focusOutside",f=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=r.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:b,onInteractOutside:v,onDismiss:w,...x}=e,k=r.useContext(f),[S,C]=r.useState(null),E=S?.ownerDocument??globalThis?.document,[,j]=r.useState({}),N=(0,i.s)(t,e=>C(e)),P=Array.from(k.layers),[R]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),_=P.indexOf(R),A=S?P.indexOf(S):-1,T=k.layersWithOutsidePointerEventsDisabled.size>0,L=A>=_,U=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document;const n=(0,s.c)(e),o=r.useRef(!1),a=r.useRef(()=>{});return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){let r=function(){y(d,n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...k.branches].some(e=>e.contains(t));L&&!n&&(m?.(e),v?.(e),e.defaultPrevented||w?.())},E),I=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document;const n=(0,s.c)(e),o=r.useRef(!1);return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){y(p,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...k.branches].some(e=>e.contains(t))||(b?.(e),v?.(e),e.defaultPrevented||w?.())},E);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document;const n=(0,s.c)(e);r.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{A===k.layers.size-1&&(h?.(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},E),r.useEffect(()=>{if(S)return n&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(l=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(S)),k.layers.add(S),g(),()=>{n&&1===k.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=l)}},[S,E,n,k]),r.useEffect(()=>()=>{S&&(k.layers.delete(S),k.layersWithOutsidePointerEventsDisabled.delete(S),g())},[S,k]),r.useEffect(()=>{const e=()=>j({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}
2,[]),(0,c.jsx)(a.sG.div,{...x,ref:N,style:{pointerEvents:T?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,U.onPointerDownCapture)})});h.displayName="DismissableLayer";var m=r.forwardRef((e,t)=>{const n=r.useContext(f),o=r.useRef(null),s=(0,i.s)(t,o);return r.useEffect(()=>{const e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(a.sG.div,{...e,ref:s})});function g(){const e=new CustomEvent(u);document.dispatchEvent(e)}function y(e,t,n,r){let{discrete:o}=r;const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.hO)(i,s):i.dispatchEvent(s)}m.displayName="DismissableLayerBranch"},6590(e,t,n){n.d(t,{Oh:()=>a});var r=n(5043),o=0;function a(){r.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??i()),document.body.insertAdjacentElement("beforeend",e[1]??i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function i(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},276(e,t,n){n.d(t,{n:()=>d});var r=n(5043),o=n(2814),a=n(7914),i=n(7490),s=n(579),l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{const{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:y,...b}=e,[v,w]=r.useState(null),x=(0,i.c)(h),k=(0,i.c)(y),S=r.useRef(null),C=(0,o.s)(t,e=>w(e)),E=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(E.paused||!v)return;const t=e.target;v.contains(t)?S.current=t:m(S.current,{select:!0})},t=function(e){if(E.paused||!v)return;const t=e.relatedTarget;null!==t&&(v.contains(t)||m(S.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&m(v)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return v&&r.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[d,v,E.paused]),r.useEffect(()=>{if(v){g.add(E);const t=document.activeElement;if(!v.contains(t)){const n=new CustomEvent(l,u);v.addEventListener(l,x),v.dispatchEvent(n),n.defaultPrevented||(!function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=document.activeElement;for(const r of e)if(m(r,{select:t}),document.activeElement!==n)return}((e=p(v),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&m(v))}return()=>{v.removeEventListener(l,x),setTimeout(()=>{const e=new CustomEvent(c,u);v.addEventListener(c,k),v.dispatchEvent(e),e.defaultPrevented||m(t??document.body,{select:!0}),v.removeEventListener(c,k),g.remove(E)},0)}}var e},[v,x,k,E]);const j=r.useCallback(e=>{if(!n&&!d)return;if(E.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,a]=function(e){const t=p(e),n=f(t,e),r=f(t.reverse(),e);return[n,r]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(a,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,E.paused]);return(0,s.jsx)(a.sG.div,{tabIndex:-1,...b,ref:C,onKeyDown:j})});function p(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(const n of e)if(!h(n,{upTo:t}))return n}function h(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}d.displayName="FocusScope";var g=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=y(e,t),e.unshift(t)},remove(t){e=y(e,t),e[0]?.resume()}}}();function y(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}},4490(e,t,n){var r;n.d(t,{B:()=>l});var o=n(5043),a=n(503),i=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>{}),s=0;function l(e){const[t,n]=o.useState(i());return(0,a.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},2634(e,t,n){n.d(t,{Mz:()=>ft,i3:()=>mt,UC:()=>ht,bL:()=>pt,Bk:()=>Qe});var r=n(5043);const o=["top","right","bottom","left"],a=Math.min,i=Math.max,s=Math.round,l=Math.floor,c=e=>({x:e,y:e}
vendor: 24,182 bytes, line 2
2),u={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t,n){return i(e,a(t,n))}function p(e,t){return"function"===typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function y(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function b(e){return m(y(e))}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const w=["left","right"],x=["right","left"],k=["top","bottom"],S=["bottom","top"];function C(e,t,n,r){const o=h(e);let a=function(e,t,n){switch(e){case"top":case"bottom":return n?t?x:w:t?w:x;case"left":case"right":return t?k:S;default:return[]}}(f(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(v)))),a}function E(e){const t=f(e);return u[t]+e.slice(t.length)}function j(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function N(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function P(e,t,n){let{reference:r,floating:o}=e;const a=y(t),i=b(t),s=g(i),l=f(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let m;switch(l){case"top":m={x:u,y:r.y-o.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(h(t)){case"start":m[i]-=p*(n&&c?-1:1);break;case"end":m[i]+=p*(n&&c?-1:1)}return m}async function R(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),m=j(h),g=s[f?"floating"===d?"reference":"floating":d],y=N(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),b="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),w=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=N(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:l}):b);return{top:(y.top-x.top+m.top)/w.y,bottom:(x.bottom-y.bottom+m.bottom)/w.y,left:(y.left-x.left+m.left)/w.x,right:(x.right-y.right+m.right)/w.x}}function _(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function A(e){return o.some(t=>e[t]>=0)}const T=new Set(["left","top"]);function L(){return"undefined"!==typeof window}function U(e){return O(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(O(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function O(e){return!!L()&&(e instanceof Node||e instanceof I(e).Node)}function F(e){return!!L()&&(e instanceof Element||e instanceof I(e).Element)}function D(e){return!!L()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function z(e){return!(!L()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}function $(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function B(e){return/^(table|td|th)$/.test(U(e))}function W(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}const q=/transform|translate|scale|rotate|perspective|filter/,H=/paint|layout|strict|content/,V=e=>!!e&&"none"!==e;let G;function K(e){const t=F(e)?Z(e):e;return V(t.transform)||V(t.translate)||V(t.scale)||V(t.rotate)||V(t.perspective)||!Y()&&(V(t.backdropFilter)||V(t.filter))||q.test(t.willChange||"")||H.test(t.contain||"")}function Y(){return null==G&&(G="undefined"!==typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),G}function Q(e){return/^(html|body|#document)$/.test(U(e))}function Z(e){return I(e).getComputedStyle(e)}function X(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if("html"===U(e))return e;const t=e.assignedSlot||e.parentNode||z(e)&&e.host||M(e);return z(t)?t.host:t}function ee(e){const t=J(e);return Q(t)?e.ownerDocument?e.ownerDocument.body:e.body:D(t)&&$(t)?t:ee(t)}function te(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=ee(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=I(o);if(a){const e=ne(i);return t.concat(i,i.visualViewport||[],$(o)?o:[],e&&n?te(e):[])}return t.concat(o,te(o,[],n))}function ne(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function re(e){const t=Z(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=D(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=s(n)!==a||s(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function oe(e){return F(e)?e:e.contextElement}function ae(e){const t=oe(e);if(!D(t))return c(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=re(t);let i=(a?s(n.width):n.width)/r,l=(a?s(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const ie=c(0);function se(e){const t=I(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ie}function le(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=oe(e);let i=c(1);t&&(r?F(r)&&(i=ae(r)):i=ae(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==I(e))&&t}(a,n,r)?se(a):c(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,d=o.width/i.x,p=o.height/i.y;if(a){const e=I(a),t=r&&F(r)?I(r):r;let n=e,o=ne(n);for(;o&&r&&t!==n;){const e=ae(o),t=o.getBoundingClientRect(),r=Z(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,d*=e.x,p*=e.y,l+=a,u+=i,n=I(o),o=ne(n)}}return N({width:d,height:p,x:l,y:u})}function ce(e,t){const n=X(e).scrollLeft;return t?t.left+n:le(M(e)).left+n}function ue(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ce(e,n),y:n.top+t.scrollTop}}function de(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=I(e),r=M(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const e=Y();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}const c=ce(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-o);i<=25&&(a-=i)}else c<=25&&(a+=c);return{width:a,height:i,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=M(e),n=X(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+ce(e);const l=-n.scrollTop;return"rtl"===Z(r).direction&&(s+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:l}}(M(e));else if(F(t))r=function(e,t){const n=le(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=D(e)?ae(e):c(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=se(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return N(r)}function pe(e,t){const n=J(e);return!(n===t||!F(n)||Q(n))&&("fixed"===Z(n).position||pe(n,t))}function fe(e,t,n){const r=D(t),o=M(t),a="fixed"===n,i=le(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=c(0);function u(){l.x=ce(o)}if(r||!r&&!a)if(("body"!==U(t)||$(o))&&(s=X(t)),r){const e=le(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&u();a&&!r&&o&&u();const d=!o||r||a?c(0):ue(o,s);return{x:i.left+s.scrollLeft-l.x-d.x,y:i.top+s.scrollTop-l.y-d.y,width:i.width,height:i.height}}function he(e){return"static"===Z(e).position}function me(e,t){if(!D(e)||"fixed"===Z(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ge(e,t){const n=I(e);if(W(e))return n;if(!D(e)){let t=J(e);for(;t&&!Q(t);){if(F(t)&&!he(t))return t;t=J(t)}return n}let r=me(e,t);for(;r&&B(r)&&he(r);)r=me(r,t);return r&&Q(r)&&he(r)&&!K(r)?n:r||function(e){let t=J(e);for(;D(t)&&!Q(t);){if(K(t))return t;if(W(t))return null;t=J(t)}return null}(e)||n}const ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,i=M(r),s=!!t&&W(t.floating);if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=c(1);const d=c(0),p=D(r);if((p||!p&&!a)&&(("body"!==U(r)||$(i))&&(l=X(r)),p)){const e=le(r);u=ae(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}const f=!i||p||a?c(0):ue(i,l);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-l.scrollTop*u.y+d.y+f.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[..."clippingAncestors"===n?W(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=te(e,[],!1).filter(e=>F(e)&&"body"!==U(e)),o=null;const a="fixed"===Z(e).position;let i=a?J(e):e;for(;F(i)&&!Q(i);){const t=Z(i),n=K(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||$(i)&&!n&&pe(e,i))?r=r.filter(e=>e!==i):o=t,i=J(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=de(t,s[0],o);let c=l.top,u=l.right,d=l.bottom,p=l.left;for(let f=1;f<s.length;f++){const e=de(t,s[f],o);c=i(e.top,c),u=a(e.right,u),d=a(e.bottom,d),p=i(e.left,p)}return{width:u-p,height:d-c,x:p,y:c}},getOffsetParent:ge,getElementRects:async function(e){const t=this.getOffsetParent||ge,n=this.getDimensions,r=await n(e.floating);return{reference:fe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=re(e);return{width:t,height:n}},getScale:ae,isElement:F,isRTL:function(e){return"rtl"===Z(e).direction}};function be(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ve(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:c="function"===typeof ResizeObserver,layoutShift:u="function"===typeof IntersectionObserver,animationFrame:d=!1}=r,p=oe(e),f=o||s?[...p?te(p):[],...t?te(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});const h=p&&u?function(e,t){let n,r=null;const o=M(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),s();const p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:g}=p;if(u||t(),!m||!g)return;const y={rootMargin:-l(h)+"px "+-l(o.clientWidth-(f+m))+"px "+-l(o.clientHeight-(h+g))+"px "+-l(f)+"px",threshold:i(0,a(1,d))||1};let b=!0;function v(t){const r=t[0].intersectionRatio;if(r!==d){if(!b)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||be(p,e.getBoundingClientRect())||c(),b=!1}try{r=new IntersectionObserver(v,{...y,root:o.ownerDocument})}catch(w){r=new IntersectionObserver(v,y)}r.observe(e)}(!0),s}(p,n):null;let m,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let b=d?le(e):null;return d&&function t(){const r=le(e);b&&!be(b,r)&&n();b=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(m)}}const we=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=f(n),s=h(n),l="y"===y(n),c=T.has(i)?-1:1,u=a&&l?-1:1,d=p(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:b}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"===typeof b&&(g="end"===s?-1*b:b),l?{x:g*u,y:m*c}:{x:m*c,y:g*u}}(t,e);return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},xe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=p(e,t),u={x:n,y:r},h=await a.detectOverflow(t,c),g=y(f(o)),b=m(g);let v=u[b],w=u[g];if(i){const e="y"===b?"bottom":"right";v=d(v+h["y"===b?"top":"left"],v,v-h[e])}if(s){const e="y"===g?"bottom":"right";w=d(w+h["y"===g?"top":"left"],w,w-h[e])}const x=l.fn({...t,[b]:v,[g]:w});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[b]:i,[g]:s}}}}}},ke=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:k=!0,...S}=p(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const j=f(o),N=y(s),P=f(s)===s,R=await(null==l.isRTL?void 0:l.isRTL(c.floating)),_=m||(P||!k?[E(s)]:function(e){const t=E(e);return[v(e),t,v(t)]}(s)),A="none"!==x;!m&&A&&_.push(...C(s,k,x,R));const T=[s,..._],L=await l.detectOverflow(t,S),U=[];let I=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&U.push(L[j]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=h(e),o=b(e),a=g(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=E(i)),[i,E(i)]}(o,i,R);U.push(L[e[0]],L[e[1]])}if(I=[...I,{placement:o,overflows:U}],!U.every(e=>e<=0)){var M,O;const e=((null==(M=a.flip)?void 0:M.index)||0)+1,t=T[e];if(t){if(!("alignment"===d&&N!==y(t))||I.every(e=>y(e.placement)!==N||e.overflows[0]>0))return{data:{index:e,overflows:I},reset:{placement:t}}}let n=null==(O=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:O.placement;if(!n)switch(w){case"bestFit":{var F;const e=null==(F=I.filter(e=>{if(A){const t=y(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:F[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Se=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:l,elements:c}=t,{apply:u=()=>{},...d}=p(e,t),m=await l.detectOverflow(t,d),g=f(o),b=h(o),v="y"===y(o),{width:w,height:x}=s.floating;let k,S;"top"===g||"bottom"===g?(k=g,S=b===(await(null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(S=g,k="end"===b?"top":"bottom");const C=x-m.top-m.bottom,E=w-m.left-m.right,j=a(x-m[k],C),N=a(w-m[S],E),P=!t.middlewareData.shift;let R=j,_=N;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(_=E),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(R=C),P&&!b){const e=i(m.left,0),t=i(m.right,0),n=i(m.top,0),r=i(m.bottom,0);v?_=w-2*(0!==e||0!==t?e+t:i(m.left,m.right)):R=x-2*(0!==n||0!==r?n+r:i(m.top,m.bottom))}await u({...t,availableWidth:_,availableHeight:R});const A=await l.getDimensions(c.floating);return w!==A.width||x!==A.height?{reset:{rects:!0}}:{}}}},Ce=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...a}=p(e,t);switch(o){case"referenceHidden":{const e=_(await r.detectOverflow(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:A(e)}}}case"escaped":{const e=_(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:A(e)}}}default:return{}}}}},Ee=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:f=0}=p(e,t)||{};if(null==u)return{};const m=j(f),y={x:n,y:r},v=b(o),w=g(v),x=await s.getDimensions(u),k="y"===v,S=k?"top":"left",C=k?"bottom":"right",E=k?"clientHeight":"clientWidth",N=i.reference[w]+i.reference[v]-y[v]-i.floating[w],P=y[v]-i.reference[v],R=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let _=R?R[E]:0;_&&await(null==s.isElement?void 0:s.isElement(R))||(_=l.floating[E]||i.floating[w]);const A=N/2-P/2,T=_/2-x[w]/2-1,L=a(m[S],T),U=a(m[C],T),I=L,M=_-x[w]-U,O=_/2-x[w]/2+A,F=d(I,O,M),D=!c.arrow&&null!=h(o)&&O!==F&&i.reference[w]/2-(O<I?L:U)-x[w]/2<0,z=D?O<I?O-I:O-M:0;return{[v]:y[v]+z,data:{[v]:F,centerOffset:O-F-z,...D&&{alignmentOffset:z}},reset:D}}}),je=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=p(e,t),u={x:n,y:r},d=y(o),h=m(d);let g=u[h],b=u[d];const v=p(s,t),w="number"===typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+w.mainAxis,n=a.reference[h]+a.reference[e]-w.mainAxis;g<t?g=t:g>n&&(g=n)}if(c){var x,k;const e="y"===h?"width":"height",t=T.has(f(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(x=i.offset)?void 0:x[d])||0)+(t?0:w.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(k=i.offset)?void 0:k[d])||0)-(t?w.crossAxis:0);b<n?b=n:b>r&&(b=r)}return{[h]:g,[d]:b}}}},Ne=(e,t,n)=>{const r=new Map,o={platform:ye,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=i.detectOverflow?i:{...i,detectOverflow:R},l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=P(c,r,l),p=r,f=0;const h={};for(let m=0;m<a.length;m++){const n=a[m];if(!n)continue;const{name:g,fn:y}=n,{x:b,y:v,data:w,reset:x}=await y({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=b?b:u,d=null!=v?v:d,h[g]={...h[g],...w},x&&f<50&&(f++,"object"===typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:u,y:d}=P(c,p,l))),m=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};var Pe=n(7950),Re="undefined"!==typeof document?r.useLayoutEffect:function(){};function _e(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!_e(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!_e(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Ae(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Te(e,t){const n=Ae(e);return Math.round(t*n)/n}function Le(e){const t=r.useRef(e);return Re(()=>{t.current=e}),t}const Ue=(e,t)=>{const n=we(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ie=(e,t)=>{const n=xe(e);return{name:n.name,fn:n.fn,options:[e,t]}},Me=(e,t)=>{const n=ke(e);return{name:n.name,fn:n.fn,options:[e,t]}},Oe=(e,t)=>{const n=Se(e);return{name:n.name,fn:n.fn,options:[e,t]}},Fe=(e,t)=>{const n=Ce(e);return{name:n.name,fn:n.fn,options:[e,t]}},De=(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"===typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Ee({element:n.current,padding:r}).fn(t):{}:n?Ee({element:n,padding:r}).fn(t):{};var o}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}};var ze=n(7914),$e=n(579),Be=r.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return(0,$e.jsx)(ze.sG.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,$e.jsx)("polygon",{points:"0,0 30,0 15,10"})})});Be.displayName="Arrow";var We=Be,qe=n(2814),He=n(1862),Ve=n(7490),Ge=n(503);var Ke="Popper",[Ye,Qe]=(0,He.A)(Ke),[Ze,Xe]=Ye(Ke),Je=e=>{const{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,$e.jsx)(Ze,{scope:t,anchor:o,onAnchorChange:a,children:n})};Je.displayName=Ke;var et="PopperAnchor",tt=r.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...a}=e,i=Xe(et,n),s=r.useRef(null),l=(0,qe.s)(t,s),c=r.useRef(null);return r.useEffect(()=>{const e=c.current;c.current=o?.current||s.current,e!==c.current&&i.onAnchorChange(c.current)}),o?null:(0,$e.jsx)(ze.sG.div,{...a,ref:l})});tt.displayName=et;var nt="PopperContent",[rt,ot]=Ye(nt),at=r.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:a=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:m,...g}=e,y=Xe(nt,n),[b,v]=r.useState(null),w=(0,qe.s)(t,e=>v(e)),[x,k]=r.useState(null),S=function(e){const[t,n]=r.useState(void 0);return(0,Ge.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,a;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,a=t.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(x),C=S?.width??0,E=S?.height??0,j=o+("center"!==i?"-"+i:""),N="number"===typeof d?d:{top:0,right:0,bottom:0,left:0,...d},P=Array.isArray(u)?u:[u],R=P.length>0,_={padding:N,boundary:P.filter(ct),altBoundary:R},{refs:A,floatingStyles:T,placement:L,isPositioned:U,middlewareData:I}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,p]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=r.useState(o);_e(f,o)||h(o);const[m,g]=r.useState(null),[y,b]=r.useState(null),v=r.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=r.useCallback(e=>{e!==C.current&&(C.current=e,b(e))},[]),x=i||m,k=s||y,S=r.useRef(null),C=r.useRef(null),E=r.useRef(d),j=null!=c,N=Le(c),P=Le(a),R=Le(u),_=r.useCallback(()=>{if(!S.current||!C.current)return;const e={placement:t,strategy:n,middleware:f};P.current&&(e.platform=P.current),Ne(S.current,C.current,e).then(e=>{const t={...e,isPositioned:!1!==R.current};A.current&&!_e(E.current,t)&&(E.current=t,Pe.flushSync(()=>{p(t)}))})},[f,t,n,P,R]);Re(()=>{!1===u&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[u]);const A=r.useRef(!1);Re(()=>(A.current=!0,()=>{A.current=!1}),[]),Re(()=>{if(x&&(S.current=x),k&&(C.current=k),x&&k){if(N.current)return N.current(x,k,_);_()}},[x,k,_,N,j]);const T=r.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:w}),[v,w]),L=r.useMemo(()=>({reference:x,floating:k}),[x,k]),U=r.useMemo(()=>{const e={position:n,left:0,top:0};if(!L.floating)return e;const t=Te(L.floating,d.x),r=Te(L.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Ae(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:_,refs:T,elements:L,floatingStyles:U}),[d,_,T,L,U])}({strategy:"fixed",placement:j,whileElementsMounted:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ve(...t,{animationFrame:"always"===h})}
2,elements:{reference:y.anchor},middleware:[Ue({mainAxis:a+E,alignmentAxis:s}),c&&Ie({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?{fn:je(M).fn,options:[M,O]}:void 0,..._}),c&&Me({..._}),Oe({..._,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e;const{width:a,height:i}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${o}px`),s.setProperty("--radix-popper-anchor-width",`${a}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}}),x&&De({element:x,padding:l}),ut({arrowWidth:C,arrowHeight:E}),f&&Fe({strategy:"referenceHidden",..._})]});var M,O;const[F,D]=dt(L),z=(0,Ve.c)(m);(0,Ge.N)(()=>{U&&z?.()},[U,z]);const $=I.arrow?.x,B=I.arrow?.y,W=0!==I.arrow?.centerOffset,[q,H]=r.useState();return(0,Ge.N)(()=>{b&&H(window.getComputedStyle(b).zIndex)},[b]),(0,$e.jsx)("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:U?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(" "),...I.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,$e.jsx)(rt,{scope:n,placedSide:F,onArrowChange:k,arrowX:$,arrowY:B,shouldHideArrow:W,children:(0,$e.jsx)(ze.sG.div,{"data-side":F,"data-align":D,...g,ref:w,style:{...g.style,animation:U?void 0:"none"}})})})});at.displayName=nt;var it="PopperArrow",st={top:"bottom",right:"left",bottom:"top",left:"right"},lt=r.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=ot(it,n),a=st[o.placedSide];return(0,$e.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,$e.jsx)(We,{...r,ref:t,style:{...r.style,display:"block"}})})});function ct(e){return null!==e}lt.displayName=it;var ut=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=0!==o.arrow?.centerOffset,i=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,c]=dt(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+i/2,p=(o.arrow?.y??0)+s/2;let f="",h="";return"bottom"===l?(f=a?u:`${d}px`,h=-s+"px"):"top"===l?(f=a?u:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(f=-s+"px",h=a?u:`${p}px`):"left"===l&&(f=`${r.floating.width+s}px`,h=a?u:`${p}px`),{data:{x:f,y:h}}}});function dt(e){const[t,n="center"]=e.split("-");return[t,n]}var pt=Je,ft=tt,ht=at,mt=lt},3321(e,t,n){n.d(t,{Z:()=>l});var r=n(5043),o=n(7950),a=n(7914),i=n(503),s=n(579),l=r.forwardRef((e,t)=>{const{container:n,...l}=e,[c,u]=r.useState(!1);(0,i.N)(()=>u(!0),[]);const d=n||c&&globalThis?.document?.body;return d?o.createPortal((0,s.jsx)(a.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},2894(e,t,n){n.d(t,{C:()=>i});var r=n(5043),o=n(2814),a=n(503);var i=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=r.useState(),o=r.useRef(null),i=r.useRef(e),l=r.useRef("none"),c=e?"mounted":"unmounted",[u,d]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=s(o.current);l.current="mounted"===u?e:"none"},[u]),(0,a.N)(()=>{const t=o.current,n=i.current;if(n!==e){const r=l.current,o=s(t);if(e)d("MOUNT");else if("none"===o||"none"===t?.display)d("UNMOUNT");else{d(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,d]),(0,a.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=s(o.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(d("ANIMATION_END"),!i.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},a=e=>{e.target===t&&(l.current=s(o.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,n(e)},[])}}(t),l="function"===typeof n?n({present:i.isPresent}):r.Children.only(n),c=(0,o.s)(i.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(l));return"function"===typeof n||i.isPresent?r.cloneElement(l,{ref:c}):null};function s(e){return e?.animationName||"none"}i.displayName="Presence"},7914(e,t,n){n.d(t,{sG:()=>d,hO:()=>p});var r=n(5043),o=n(7950),a=n(2814),i=n(579);
2function s(e){const t=l(e),n=r.forwardRef((e,n)=>{const{children:o,...a}=e,s=r.Children.toArray(o),l=s.find(u);if(l){const e=l.props.children,o=s.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,i.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...a,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function l(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),i=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){const e=a(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,a.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var c=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=s(`Primitive.${t}`),o=r.forwardRef((e,r)=>{const{asChild:o,...a}=e,s=o?n:t;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(s,{...a,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function p(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},6711(e,t,n){n.d(t,{RG:()=>x,bL:()=>_,q7:()=>A});var r=n(5043),o=n(858),a=n(7103),i=n(2814),s=n(1862),l=n(4490),c=n(7914),u=n(7490),d=n(3642),p=n(4204),f=n(579),h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[y,b,v]=(0,a.N)(g),[w,x]=(0,s.A)(g,[v]),[k,S]=w(g),C=r.forwardRef((e,t)=>(0,f.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E,{...e,ref:t})})}));C.displayName=g;var E=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:a,loop:s=!1,dir:l,currentTabStopId:y,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:S=!1,...C}=e,E=r.useRef(null),j=(0,i.s)(t,E),N=(0,p.jH)(l),[P,_]=(0,d.i)({prop:y,defaultProp:v??null,onChange:w,caller:g}),[A,T]=r.useState(!1),L=(0,u.c)(x),U=b(n),I=r.useRef(!1),[M,O]=r.useState(0);return r.useEffect(()=>{const e=E.current;if(e)return e.addEventListener(h,L),()=>e.removeEventListener(h,L)},[L]),(0,f.jsx)(k,{scope:n,orientation:a,dir:N,loop:s,currentTabStopId:P,onItemFocus:r.useCallback(e=>_(e),[_]),onItemShiftTab:r.useCallback(()=>T(!0),[]),onFocusableItemAdd:r.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>O(e=>e-1),[]),children:(0,f.jsx)(c.sG.div,{tabIndex:A||0===M?-1:0,"data-orientation":a,...C,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{I.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{const t=!I.current;if(e.target===e.currentTarget&&t&&!A){const t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=U().filter(e=>e.focusable);R([e.find(e=>e.active),e.find(e=>e.id===P),...e].filter(Boolean).map(e=>e.ref.current),S)}}I.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>T(!1))})})}),j="RovingFocusGroupItem",N=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:a=!0,active:i=!1,tabStopId:s,children:u,...d}=e,p=(0,l.B)(),h=s||p,m=S(j,n),g=m.currentTabStopId===h,v=b(n),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:k}=m;return r.useEffect(()=>{if(a)return w(),()=>x()},[a,w,x]),(0,f.jsx)(y.ItemSlot,{scope:n,id:h,focusable:a,active:i,children:(0,f.jsx)(c.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:P[r]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=v().filter(e=>
2e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){"prev"===t&&o.reverse();const a=o.indexOf(e.currentTarget);o=m.loop?(r=a+1,(n=o).map((e,t)=>n[(r+t)%n.length])):o.slice(a+1)}setTimeout(()=>R(o))}var n,r}),children:"function"===typeof u?u({isCurrentTabStop:g,hasTabStop:null!=k}):u})})});N.displayName=j;var P={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function R(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var _=C,A=N},6851(e,t,n){var r;n.d(t,{DX:()=>d,TL:()=>u});var o=n(5043),a=n(2814),i=n(579),s=Symbol.for("react.lazy"),l=(r||(r=n.t(o,2)))[" use ".trim().toString()];function c(e){return null!=e&&"object"===typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&("object"===typeof(t=e._payload)&&null!==t&&"then"in t);var t}function u(e){const t=p(e),n=o.forwardRef((e,n)=>{let{children:r,...a}=e;c(r)&&"function"===typeof l&&(r=l(r._payload));const s=o.Children.toArray(r),u=s.find(h);if(u){const e=u.props.children,r=s.map(t=>t===u?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,i.jsx)(t,{...a,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,i.jsx)(t,{...a,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var d=u("Slot");function p(e){const t=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(c(n)&&"function"===typeof l&&(n=l(n._payload)),o.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),i=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){const e=a(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==o.Fragment&&(i.ref=t?(0,a.t)(t,e):e),o.cloneElement(n,i)}return o.Children.count(n)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var f=Symbol("radix.slottable");function h(e){return o.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}},7490(e,t,n){n.d(t,{c:()=>o});var r=n(5043);function o(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current?.(...n)},[])}},3642(e,t,n){var r;n.d(t,{i:()=>s});var o=n(5043),a=n(503),i=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||a.N;function s(e){let{prop:t,defaultProp:n,onChange:r=()=>{},caller:a}=e;const[s,l,c]=function(e){let{defaultProp:t,onChange:n}=e;const[r,a]=o.useState(t),s=o.useRef(r),l=o.useRef(n);return i(()=>{l.current=n},[n]),o.useEffect(()=>{s.current!==r&&(l.current?.(r),s.current=r)},[r,s]),[r,a,l]}({defaultProp:n,onChange:r}),u=void 0!==t,d=u?t:s;{const e=o.useRef(void 0!==t);o.useEffect(()=>{const t=e.current;if(t!==u){const e=t?"controlled":"uncontrolled",n=u?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=u},[u,a])}const p=o.useCallback(e=>{if(u){const n=function(e){return"function"===typeof e}(e)?e(t):e;n!==t&&c.current?.(n)}else l(e)},[u,t,l,c]);return[d,p]}Symbol("RADIX:SYNC_STATE")},503(e,t,n){n.d(t,{N:()=>o});var r=n(5043),o=globalThis?.document?r.useLayoutEffect:()=>{}},4451(e,t,n){n.d(t,{Qg:()=>i,bL:()=>l});var r=n(5043),o=n(7914),a=n(579),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=r.forwardRef((e,t)=>
2(0,a.jsx)(o.sG.span,{...e,ref:t,style:{...i,...e.style}}));s.displayName="VisuallyHidden";var l=s},917(e,t,n){n.d(t,{F:()=>i});var r=n(8387);const o=e=>"boolean"===typeof e?`${e}`:0===e?"0":e,a=r.$,i=(e,t)=>n=>{var r;if(null==(null===t||void 0===t?void 0:t.variants))return a(e,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className);const{variants:i,defaultVariants:s}=t,l=Object.keys(i).map(e=>{const t=null===n||void 0===n?void 0:n[e],r=null===s||void 0===s?void 0:s[e];if(null===t)return null;const a=o(t)||o(r);return i[e][a]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),u=null===t||void 0===t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...c}[t]):{...s,...c}[t]===n})?[...e,n,r]:e},[]);return a(e,l,u,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className)}},8387(e,t,n){function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function o(){for(var e,t,n=0,o="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{$:()=>o,A:()=>a});const a=o},8648(e,t,n){n.d(t,{Zj:()=>C,f4:()=>J});var r,o,a,i=n(5043),s=n(8387),l=Object.create,c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,b=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||(t={}))g.call(t,n)&&b(e,n,t[n]);if(h)for(var n of h(t))y.call(t,n)&&b(e,n,t[n]);return e},w=(e,t)=>u(e,p(t)),x=(e,t)=>{var n={};for(var r in e)g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h)for(var r of h(e))t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r]);return n},k=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach(function(t,r){o[r]=e(t,n)}),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=a[s])}var c=o[e];return o[e]=i,r.languages.DFS(r.languages,function(t,n){n===c&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],o||s);var l=t[s],c=r.util.type(l);"Object"!==c||a[i(l)]?"Array"!==c||a[i(l)]||(a[i(l)]=!0,e(l,n,s,a)):(a[i(l)]=!0,e(l,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,s,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var h=0;h<f.length;++h){if(d&&d.cause==p+","+h)return;var m=f[h],g=m.inside,y=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var x=m.pattern||m,k=s.next,S=u;k!==t.tail&&!(d&&S>=d.reach);S+=k.value.length,k=k.next){var C=k.value;if(t.length>e.length)return;if(!(C instanceof o)){var E,j=1;if(b){if(!(E=a(x,S,e,y))||E.index>=e.length)break;var N=E.index,P=E.index+E[0].length,R=S;for(R+=k.value.length;N>=R;)R+=(k=k.next).value.length;if(S=R-=k.value.length,k.value instanceof o)continue;for(var _=k;_!==t.tail&&(R<P||"string"===typeof _.value);_=_.next)j++,R+=_.value.length;j--,C=e.slice(S,R),E.index-=S}else if(!(E=a(x,0,C,y)))continue;N=E.index;var A=E[0],T=C.slice(0,N),L=C.slice(N+A.length),U=S+C.length;d&&U>d.reach&&(d.reach=U);var I=k.prev;if(T&&(I=l(t,I,T),S+=T.length),c(t,I,j),k=l(t,I,new o(p,g?r.tokenize(A,g):A,v,A)),L&&l(t,k,L),j>1){var M={cause:p+","+h,reach:U};i(e,t,n,k.prev,S,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}
2function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach(function(t){o+=e(t,n)}),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return o||(0,r[f(r)[0]])((o={exports:{}}).exports,o),o.exports}),S=((e,t,n)=>(n=null!=e?l(m(e)):{},((e,t,n,r)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let o of f(t))g.call(e,o)||o===n||c(e,o,{get:()=>t[o],enumerable:!(r=d(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)))(k());S.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},S.languages.markup.tag.inside["attr-value"].inside.entity=S.languages.markup.entity,S.languages.markup.doctype.inside["internal-subset"].inside=S.languages.markup,S.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(S.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:S.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:S.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},S.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(S.languages.markup.tag,"addAttribute",{value:function(e,t){S.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:S.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),S.languages.html=S.languages.markup,S.languages.mathml=S.languages.markup,S.languages.svg=S.languages.markup,S.languages.xml=S.languages.extend("markup",{}),S.languages.ssml=S.languages.xml,S.languages.atom=S.languages.xml,S.languages.rss=S.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",o=(r=RegExp(r+"-"+r),{pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"});e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(S),S.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
vendor: 4,276 bytes, line 2
2],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},S.languages.javascript=S.languages.extend("clike",{"class-name":[S.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),S.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,S.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:S.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:S.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:S.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:S.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:S.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),S.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
2)*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:S.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),S.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),S.languages.markup&&(S.languages.markup.tag.addInlined("script","javascript"),S.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),S.languages.js=S.languages.javascript,S.languages.actionscript=S.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),S.languages.actionscript["class-name"].alias="function",delete S.languages.actionscript.parameter,delete S.languages.actionscript["literal-property"],S.languages.markup&&S.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:S.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(S),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach(function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}})}}),t.addSupport(["java","javascript","php"],t)}(S),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
vendor: 4,650 bytes, line 2
2*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(S),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(S),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
vendor: 4,375 bytes, line 2
2function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e});return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(S),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}}
2,"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e}),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(S),S.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:S.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},S.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}n=a+1}
vendor: 8,881 bytes, line 2
2if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<o.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&0<=o.indexOf(c.content)&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0===--o)return a}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),S.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),c=0,u={},d=(l=s(l.map(function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n}).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var a=0;a<n.length;a++){if(c>=d.length)return;var i,l,p,f,h,m,g,y=n[a];"string"==typeof y||"string"==typeof y.content?(i=d[c],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(i))&&(++c,l=m.substring(0,g),h=u[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(h,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,h),f=m.substring(g+i.length),h=[],l&&h.push(l),h.push(p),f&&(t(m=[f]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[a,1].concat(h)),a+=h.length-1):y.content=h)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",function(t){t.language in c&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,s,c=n[r];"string"!=typeof c&&(a=c.content,Array.isArray(a)?"template-string"===c.type?(c=a[1],3===a.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(a[1]=l(i,s,c))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)})}(S),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(S),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s
2*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(S),(a=S).languages.flow=a.languages.extend("javascript",{}),a.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),a.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete a.languages.flow.parameter,a.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(a.languages.flow.keyword)||(a.languages.flow.keyword=[a.languages.flow.keyword]),a.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),S.languages.n4js=S.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),S.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),S.languages.n4jsd=S.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(S),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}
vendor: 6,112 bytes, line 2
2),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=s(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=s(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)})}(S),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(S),S.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},S.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=S.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?
2:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(S),S.languages.c=S.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),S.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),S.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},S.languages.c.string],char:S.languages.c.char,comment:S.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:S.languages.c}}}}),S.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete S.languages.c.boolean,S.languages.objectivec=S.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete S.languages.objectivec["class-name"],S.languages.objc=S.languages.objectivec,S.languages.reason=S.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),S.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete S.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
vendor: 19,536 bytes, line 2
2],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(S),S.languages.go=S.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),S.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete S.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(S),S.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},S.languages.python["string-interpolation"].inside.interpolation.inside.rest=S.languages.python,S.languages.py=S.languages.python,S.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},S.languages.webmanifest=S.languages.json;var C={};((e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})})(C,{dracula:()=>E,duotoneDark:()=>j,duotoneLight:()=>N,github:()=>P,gruvboxMaterialDark:()=>H,gruvboxMaterialLight:()=>V,jettwaveDark:()=>$,jettwaveLight:()=>B,nightOwl:()=>R,nightOwlLight:()=>_,oceanicNext:()=>L,okaidia:()=>U,oneDark:()=>W,oneLight:()=>q,palenight:()=>I,shadesOfPurple:()=>M,synthwave84:()=>O,ultramin:()=>F,vsDark:()=>D,vsLight:()=>z});var E={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},j={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},N={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},P={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},R={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},_={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},A="#c5a5c5",T="#8dc891",L={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:A}},{types:["attr-value"],style:{color:T}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:T}},{types:["punctuation"],style:{color:T}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:A}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},U={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},I={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},M={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},O={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},F={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]}
2,D={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},z={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}}
vendor: 5,720 bytes, line 2
2,{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},$={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},B={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},q={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},H={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},V={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},G=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>
2{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},Q=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,c=t[i];const u=n[i][a];if("string"===typeof u?(c=i>0?c:["plain"],e=u):(c=Y(c,u.type),u.alias&&(c=Y(c,u.alias)),e=u.content),"string"!==typeof e){i++,t.push(c),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(G),p=d.length;s.push({types:c,content:d[0]});for(let t=1;t<p;t++)K(s),l.push(s=[]),s.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return K(s),l},Z=(e,t)=>{const{plain:n}=e,r=e.styles.reduce((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach(t=>{const n=v(v({},e[t]),o);e[t]=n}),e},{});return r.root=n,r.plain=w(v({},n),{backgroundColor:void 0}),r},X=e=>{let{children:t,language:n,code:r,theme:o,prism:a}=e;const l=n.toLowerCase(),c=Z(o,l),u=(e=>(0,i.useCallback)(t=>{var n=t,{className:r,style:o,line:a}=n,i=x(n,["className","style","line"]);const l=w(v({},i),{className:(0,s.A)("token-line",r)});return"object"===typeof e&&"plain"in e&&(l.style=e.plain),"object"===typeof o&&(l.style=v(v({},l.style||{}),o)),l},[e]))(c),d=(e=>{const t=(0,i.useCallback)(t=>{let{types:n,empty:r}=t;if(null!=e)return 1===n.length&&"plain"===n[0]?null!=r?{display:"inline-block"}:void 0:1===n.length&&null!=r?e[n[0]]:Object.assign(null!=r?{display:"inline-block"}:{},...n.map(t=>e[t]))},[e]);return(0,i.useCallback)(e=>{var n=e,{token:r,className:o,style:a}=n,i=x(n,["token","className","style"]);const l=w(v({},i),{className:(0,s.A)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(l.style=v(v({},l.style||{}),a)),l},[t])})(c),p=(e=>{let{prism:t,code:n,grammar:r,language:o}=e;return(0,i.useMemo)(()=>{if(null==r)return Q([n]);const e={code:n,grammar:r,language:o,tokens:[]};return t.hooks.run("before-tokenize",e),e.tokens=t.tokenize(n,r),t.hooks.run("after-tokenize",e),Q(e.tokens)},[n,r,o,t])})({prism:a,language:l,code:r,grammar:a.languages[l]});return t({tokens:p,className:`prism-code language-${l}`,style:null!=c?c.root:{},getLineProps:u,getTokenProps:d})},J=e=>(0,i.createElement)(X,w(v({},e),{prism:e.prism||S,theme:e.theme||D,code:e.code,language:e.language}))},5847(e,t,n){var r;n.d(t,{BV:()=>Ae,C5:()=>Pe,Kd:()=>dt,N_:()=>ft,Zp:()=>se,g:()=>le,k2:()=>ht,ok:()=>bt,qh:()=>Re,zy:()=>oe});var o=n(5043),a="popstate";function i(e){return"object"===typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function s(){return h(function(e,t){let n=t.state?.masked,{pathname:r,search:o,hash:a}=n||e.location;return d("",{pathname:r,search:o,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default",n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)},function(e,t){return"string"===typeof t?t:p(t)},null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function l(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function c(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return{pathname:"string"===typeof e?e:e.pathname,search:"",hash:"",..."string"===typeof t?f(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),unstable_mask:o}}function p(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:o=document.defaultView,v5Compat:s=!1}=r,l=o.history,c="POP",p=null,f=h();function h(){return(l.state||{idx:null}).idx}function g(){c="POP";let e=h(),t=null==e?null:e-f;f=e,p&&p({action:c,location:b.location,delta:t})}function y(e){return m(e)}null==f&&(f=0,l.replaceState({...l.state,idx:f},""));let b={get action(){return c},get location(){return e(o,l)},listen(e){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(a,g),p=e,()=>{o.removeEventListener(a,g),p=null}},createHref:e=>t(o,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c="PUSH";let r=i(e)?e:d(b.location,e,t);n&&n(r,e),f=h()+1;let a=u(r,f),m=b.createHref(r.unstable_mask||r);try{l.pushState(a,"",m)}catch(g){if(g instanceof DOMException&&"DataCloneError"===g.name)throw g;o.location.assign(m)}s&&p&&p({action:c,location:b.location,delta:1})},replace:function(e,t){c="REPLACE";let r=i(e)?e:d(b.location,e,t);n&&n(r,e),f=h();let o=u(r,f),a=b.createHref(r.unstable_mask||r);l.replaceState(o,"",a),s&&p&&p({action:c,location:b.location,delta:0})},go:e=>l.go(e)};return b}function m(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="http://localhost";"undefined"!==typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),l(n,"No window.location.(origin|href) available to create URL");let r="string"===typeof e?e:p(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}new WeakMap;function g(e,t){return y(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function y(e,t,n,r){let o=N(("string"===typeof t?f(t):t).pathname||"/",n);if(null==o)return null;let a=b(e);!function(e){e.sort((e,t)=>
2e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let i=null;for(let s=0;null==i&&s<a.length;++s){let e=j(o);i=S(a[s],e,r)}return i}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=function(e,a){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=arguments.length>3?arguments[3]:void 0,c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&i)return;l(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let u=U([r,c.relativePath]),d=n.concat(c);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),b(e.children,t,d,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:k(u,e.index),routesMeta:d})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of v(e.path))a(e,t,!0,n);else a(e,t)}),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=v(r.join("/")),s=[];return s.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&s.push(...i),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var w=/^:[\w-]+$/,x=e=>"*"===e;function k(e,t){let n=e.split("/"),r=n.length;return n.some(x)&&(r+=-2),t&&(r+=2),n.filter(e=>!x(e)).reduce((e,t)=>e+(w.test(t)?3:""===t?1:10),r)}function S(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:r}=e,o={},a="/",i=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===a?t:t.slice(a.length)||"/",u=C({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=C({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;
2Object.assign(o,u.params),i.push({params:o,pathname:U([a,u.pathname]),pathnameBase:I(U([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=U([a,u.pathnameBase]))}return i}function C(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=E(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function E(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,o,a)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=a.charAt(o+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function j(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var P=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function R(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function _(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function A(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function T(e){let t=A(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function L(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof e?r=f(e):(r={...e},l(!r.pathname||!r.pathname.includes("?"),_("?","pathname","search",r)),l(!r.pathname||!r.pathname.includes("#"),_("#","pathname","hash",r)),l(!r.search||!r.search.includes("#"),_("#","search","hash",r)));let a,i=""===e||""===r.pathname,s=i?"/":r.pathname;if(null==s)a=n;else{let e=t.length-1;if(!o&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:r,search:o="",hash:a=""}="string"===typeof e?f(e):e;return r?(r=r.replace(/\/\/+/g,"/"),t=r.startsWith("/")?R(r.substring(1),"/"):R(r,n)):t=n,{pathname:t,search:M(o),hash:O(a)}}(r,a),u=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!u&&!d||(c.pathname+="/"),c}var U=e=>e.join("/").replace(/\/\/+/g,"/"),I=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var F=class{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function D(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}function z(e){return e.map(e=>
2e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var $="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;function B(e,t){let n=e;if("string"!==typeof n||!P.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if($)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),a=N(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:o=!0}catch(a){c(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Symbol("Uninstrumented");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var W=["POST","PUT","PATCH","DELETE"],q=(new Set(W),["GET",...W]);new Set(q),Symbol("ResetLoaderData");var H=o.createContext(null);H.displayName="DataRouter";var V=o.createContext(null);V.displayName="DataRouterState";var G=o.createContext(!1);function K(){return o.useContext(G)}var Y=o.createContext({isTransitioning:!1});Y.displayName="ViewTransition";var Q=o.createContext(new Map);Q.displayName="Fetchers";var Z=o.createContext(null);Z.displayName="Await";var X=o.createContext(null);X.displayName="Navigation";var J=o.createContext(null);J.displayName="Location";var ee=o.createContext({outlet:null,matches:[],isDataRoute:!1});ee.displayName="Route";var te=o.createContext(null);te.displayName="RouteError";var ne="REACT_ROUTER_ERROR";function re(){return null!=o.useContext(J)}function oe(){return l(re(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(J).location}var ae="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ie(e){o.useContext(X).static||o.useLayoutEffect(e)}function se(){let{isDataRoute:e}=o.useContext(ee);return e?function(){let{router:e}=ve("useNavigate"),t=xe("useNavigate"),n=o.useRef(!1);ie(()=>{n.current=!0});let r=o.useCallback(async function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(n.current,ae),n.current&&("number"===typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t]);return r}():function(){l(re(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(H),{basename:t,navigator:n}=o.useContext(X),{matches:r}=o.useContext(ee),{pathname:a}=oe(),i=JSON.stringify(T(r)),s=o.useRef(!1);ie(()=>{s.current=!0});let u=o.useCallback(function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(s.current,ae),!s.current)return;if("number"===typeof r)return void n.go(r);let l=L(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:U([t,l.pathname])),(o.replace?n.replace:n.push)(l,o.state,o)},[t,n,i,a,e]);return u}()}o.createContext(null);function le(){let{matches:e}=o.useContext(ee),t=e[e.length-1];return t?t.params:{}}function ce(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:n}=o.useContext(ee),{pathname:r}=oe(),a=JSON.stringify(T(n));return o.useMemo(()=>L(e,JSON.parse(a),r,"path"===t),[e,a,r,t])}function ue(e,t,n){l(re(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=o.useContext(X),{matches:a}=o.useContext(ee),i=a[a.length-1],s=i?i.params:{},u=i?i.pathname:"/",d=i?i.pathnameBase:"/",p=i&&i.route;{let e=p&&p.path||"";Ce(u,!p||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let h,m=oe();if(t){let e="string"===typeof t?f(t):t;l("/"===d||e.pathname?.startsWith(d),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${e.pathname}" was given in the \`location\` prop.`),h=e}else h=m;let y=h.pathname||"/",b=y;if("/"!==d){let e=d.replace(/^\//,"").split("/");b="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=g(e,{pathname:b});c(p||null!=v,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),c(null==v||void 0!==v[v.length-1].route.element||void 0!==v[v.length-1].route.Component||void 0!==v[v.length-1].route.lazy,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=ye(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:U([d,r.encodeLocation?r.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:U([d,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,n);return t&&w?o.createElement(J.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...h},navigationType:"POP"}},w):w}function de(){let e=ke(),t=D(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=o.createElement(o.Fragment,null,o.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i}
2,"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,s)}var pe=o.createElement(de,null),fe=class extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"===typeof e&&e&&"digest"in e&&"string"===typeof e.digest){const t=function(e){if(e.startsWith(`${ne}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"===typeof t&&t&&"number"===typeof t.status&&"string"===typeof t.statusText)return new F(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?o.createElement(ee.Provider,{value:this.props.routeContext},o.createElement(te.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?o.createElement(me,{error:e},t):t}};fe.contextType=G;var he=new WeakMap;function me(e){let{children:t,error:n}=e,{basename:r}=o.useContext(X);if("object"===typeof n&&n&&"digest"in n&&"string"===typeof n.digest){let e=function(e){if(e.startsWith(`${ne}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"===typeof t&&t&&"number"===typeof t.status&&"string"===typeof t.statusText&&"string"===typeof t.location&&"boolean"===typeof t.reloadDocument&&"boolean"===typeof t.replace)return t}catch{}}(n.digest);if(e){let t=he.get(n);if(t)throw t;let a=B(e.location,r);if($&&!he.get(n)){if(!a.isExternal&&!e.reloadDocument){const t=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw he.set(n,t),t}window.location.href=a.absoluteURL||a.to}return o.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return t}function ge(e){let{routeContext:t,match:n,children:r}=e,a=o.useContext(H);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(ee.Provider,{value:t},r)}function ye(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=n?.state;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,i=r?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r){s=r.renderFallback;for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:o}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!o||void 0===o[t.route.id]);if(t.route.lazy||i){n.isStatic&&(s=!0),a=c>=0?a.slice(0,c+1):[a[0]];break}}}}let u=n?.onError,d=r&&u?(e,t)=>{u(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:z(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,l)=>{let u,p=!1,f=null,h=null;r&&(u=i&&n.route.id?i[n.route.id]:void 0,f=n.route.errorElement||pe,s&&(c<0&&0===l?(Ce("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,h=null):c===l&&(p=!0,h=n.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,l+1)),g=()=>{let t;return t=u?f:p?h:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(ge,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===l)?o.createElement(fe,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:g(),routeC
2ontext:{outlet:null,matches:m,isDataRoute:!0},onError:d}):g()},null)}function be(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ve(e){let t=o.useContext(H);return l(t,be(e)),t}function we(e){let t=o.useContext(V);return l(t,be(e)),t}function xe(e){let t=function(e){let t=o.useContext(ee);return l(t,be(e)),t}(e),n=t.matches[t.matches.length-1];return l(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function ke(){let e=o.useContext(te),t=we("useRouteError"),n=xe("useRouteError");return void 0!==e?e:t.errors?.[n]}var Se={};function Ce(e,t,n){t||Se[e]||(Se[e]=!0,c(!1,n))}var Ee={};function je(e,t){e||Ee[t]||(Ee[t]=!0,console.warn(t))}(r||(r=n.t(o,2))).useOptimistic;o.memo(Ne);function Ne(e){let{routes:t,future:n,state:r,isStatic:o,onError:a}=e;return ue(t,void 0,{state:r,isStatic:o,onError:a,future:n})}function Pe(e){let{to:t,replace:n,state:r,relative:a}=e;l(re(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=o.useContext(X);c(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=o.useContext(ee),{pathname:u}=oe(),d=se(),p=L(t,T(s),u,"path"===a),f=JSON.stringify(p);return o.useEffect(()=>{d(JSON.parse(f),{replace:n,state:r,relative:a})},[d,f,a,n,r]),null}function Re(e){l(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function _e(e){let{basename:t="/",children:n=null,location:r,navigationType:a="POP",navigator:i,static:s=!1,unstable_useTransitions:u}=e;l(!re(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=t.replace(/^\/*/,"/"),p=o.useMemo(()=>({basename:d,navigator:i,static:s,unstable_useTransitions:u,future:{}}),[d,i,s,u]);"string"===typeof r&&(r=f(r));let{pathname:h="/",search:m="",hash:g="",state:y=null,key:b="default",unstable_mask:v}=r,w=o.useMemo(()=>{let e=N(h,d);return null==e?null:{location:{pathname:e,search:m,hash:g,state:y,key:b,unstable_mask:v},navigationType:a}},[d,h,m,g,y,b,a,v]);return c(null!=w,`<Router basename="${d}"> is not able to match the URL "${h}${m}${g}" because it does not start with the basename, so the <Router> won't render anything.`),null==w?null:o.createElement(X.Provider,{value:p},o.createElement(J.Provider,{children:n,value:w}))}function Ae(e){let{children:t,location:n}=e;return ue(Te(t),n)}o.Component;function Te(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];return o.Children.forEach(e,(e,r)=>{if(!o.isValidElement(e))return;let a=[...t,r];if(e.type===o.Fragment)return void n.push.apply(n,Te(e.props.children,a));l(e.type===Re,`[${"string"===typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),l(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=Te(e.props.children,a)),n.push(i)}),n}var Le="get",Ue="application/x-www-form-urlencoded";function Ie(e){return"undefined"!==typeof HTMLElement&&e instanceof HTMLElement}function Me(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var Oe=null;var Fe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function De(e){return null==e||Fe.has(e)?e:(c(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ue}"`),null)}function ze(e,t){let n,r,o,a,i;if(Ie(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?N(i,t):null,n=e.getAttribute("method")||Le,o=De(e.getAttribute("enctype"))||Ue,a=new FormData(e)}else if(function(e){return Ie(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Ie(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(r=s?N(s,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Le,o=De(e.getAttribute("formenctype"))||De(i.getAttribute("enctype"))||Ue,a=new FormData(i,e),!function(){if(null===Oe)try{new FormData(document.createElement("form"),0),Oe=!1}catch(e){Oe=!0}return Oe}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}
2else t&&a.append(t,r)}}else{if(Ie(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Le,r=null,o=Ue,i=e}var s;return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");"undefined"!==typeof window?window:"undefined"!==typeof globalThis&&globalThis;function $e(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}Symbol("SingleFetchRedirect");function Be(e,t,n,r){let o="string"===typeof e?new URL(e,"undefined"===typeof window?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:"/"===o.pathname?o.pathname=`_root.${r}`:t&&"/"===N(o.pathname,t)?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function We(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function qe(e){return null!=e&&"string"===typeof e.page}function He(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"===typeof e.imageSrcSet&&"string"===typeof e.imageSizes:"string"===typeof e.rel&&"string"===typeof e.href)}function Ve(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||s(e,t)):"data"===a?t.filter((t,a)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"===typeof r)return r}return!0}):[]}function Ge(e,t){let{includeHydrateFallback:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1),[...new Set(r)];var r}function Ke(e,t){let n=new Set,r=new Set(t);return e.reduce((e,o)=>{if(t&&!qe(o)&&"script"===o.as&&o.href&&r.has(o.href))return e;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(a)||(n.add(a),e.push({key:a,link:o})),e},[])}function Ye(e,t){return"lazy"===e.mode&&!0===t}function Qe(){let e=o.useContext(H);return $e(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Ze(){let e=o.useContext(V);return $e(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Xe=o.createContext(void 0);function Je(){let e=o.useContext(Xe);return $e(e,"You must render this element inside a <HydratedRouter> element"),e}function et(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function tt(e,t,n){if(n&&!at)return[e[0]];if(t){let n=e.findIndex(e=>void 0!==t[e.route.id]);return e.slice(0,n+1)}return e}Xe.displayName="FrameworkContext";function nt(e){let{page:t,...n}=e,{router:r}=Qe(),a=o.useMemo(()=>g(r.routes,t,r.basename),[r.routes,t,r.basename]);return a?o.createElement(ot,{page:t,matches:a,...n}):null}function rt(e){let{manifest:t,routeModules:n}=Je(),[r,a]=o.useState([]);return o.useEffect(()=>{let r=!1;return async function(e,t,n){return Ke((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await We(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(He).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}
2(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}function ot(e){let{page:t,matches:n,...r}=e,a=oe(),{future:i,manifest:s,routeModules:l}=Je(),{basename:c}=Qe(),{loaderData:u,matches:d}=Ze(),p=o.useMemo(()=>Ve(t,n,d,s,a,"data"),[t,n,d,s,a]),f=o.useMemo(()=>Ve(t,n,d,s,a,"assets"),[t,n,d,s,a]),h=o.useMemo(()=>{if(t===a.pathname+a.search+a.hash)return[];let e=new Set,r=!1;if(n.forEach(t=>{let n=s.routes[t.route.id];n&&n.hasLoader&&(!p.some(e=>e.route.id===t.route.id)&&t.route.id in u&&l[t.route.id]?.shouldRevalidate||n.hasClientLoader?r=!0:e.add(t.route.id))}),0===e.size)return[];let o=Be(t,c,i.unstable_trailingSlashAwareDataRequests,"data");return r&&e.size>0&&o.searchParams.set("_routes",n.filter(t=>e.has(t.route.id)).map(e=>e.route.id).join(",")),[o.pathname+o.search]},[c,i.unstable_trailingSlashAwareDataRequests,u,a,s,p,n,t,l]),m=o.useMemo(()=>Ge(f,s),[f,s]),g=rt(f);return o.createElement(o.Fragment,null,h.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r})),m.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...r})),g.map(e=>{let{key:t,link:n}=e;return o.createElement("link",{key:t,nonce:r.nonce,...n,crossOrigin:n.crossOrigin??r.crossOrigin})}))}var at=!1;function it(e){let{manifest:t,serverHandoffString:n,isSpaMode:r,renderMeta:a,routeDiscovery:i,ssr:s}=Je(),{router:l,static:c,staticContext:u}=Qe(),{matches:d}=Ze(),p=K(),f=Ye(i,s);a&&(a.didRenderScripts=!0);let h=tt(d,null,r);o.useEffect(()=>{at=!0},[]);let m=o.useMemo(()=>{if(p)return null;let r=u?`window.__reactRouterContext = ${n};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",a=c?`${t.hmr?.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${f?"":`import ${JSON.stringify(t.url)}`};\n${h.map((e,n)=>{let r=`route${n}`,o=t.routes[e.route.id];$e(o,`Route ${e.route.id} not found in manifest`);let{clientActionModule:a,clientLoaderModule:i,clientMiddlewareModule:s,hydrateFallbackModule:l,module:c}=o,u=[...a?[{module:a,varName:`${r}_clientAction`}]:[],...i?[{module:i,varName:`${r}_clientLoader`}]:[],...s?[{module:s,varName:`${r}_clientMiddleware`}]:[],...l?[{module:l,varName:`${r}_HydrateFallback`}]:[],{module:c,varName:`${r}_main`}];return 1===u.length?`import * as ${r} from ${JSON.stringify(c)};`:[u.map(e=>`import * as ${e.varName} from "${e.module}";`).join("\n"),`const ${r} = {${u.map(e=>`...${e.varName}`).join(",")}};`].join("\n")}).join("\n")}\n ${f?`window.__reactRouterManifest = ${JSON.stringify(function(e,t){let{sri:n,...r}=e,o=new Set(t.state.matches.map(e=>e.route.id)),a=t.state.location.pathname.split("/").filter(Boolean),i=["/"];for(a.pop();a.length>0;)i.push(`/${a.join("/")}`),a.pop();i.forEach(e=>{let n=g(t.routes,e,t.basename);n&&n.forEach(e=>o.add(e.route.id))});let s=[...o].reduce((e,t)=>Object.assign(e,{[t]:r.routes[t]}),{});return{...r,routes:s,sri:!!n||void 0}}(t,l),null,2)};`:""}\n window.__reactRouterRouteModules = {${h.map((e,t)=>`${JSON.stringify(e.route.id)}:route${t}`).join(",")}};\n\nimport(${JSON.stringify(t.entry.module)});`:" ";return o.createElement(o.Fragment,null,o.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:r},type:void 0}),o.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:a},type:"module",async:!0}))},[]),y=at||p?[]:(b=t.entry.imports.concat(Ge(h,t,{includeHydrateFallback:!0})),[...new Set(b)]);var b;let v="object"===typeof t.sri?t.sri:{};return je(!p,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),at||p?null:o.createElement(o.Fragment,null,"object"===typeof t.sri?o.createElement("script",{...e,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:v})}}):null,f?null:o.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:v[t.url],suppressHydrationWarning:!0}),o.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:v[t.entry.module],suppressHydrationWarning:!0}),y.map(t=>o.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:v[t],suppressHydrationWarning:!0})),m)}function st(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"===typeof t?t(e):null!=t&&(t.current=e)})}}o.Component;function lt(e){let{error:t,isOutsideRemixApp:n}=e;console.error(t);let r,a=o.createElement("script",{dangerouslySetInnerHTML:{__html:'\n console.log(\n "\ud83d\udcbf Hey developer \ud83d\udc4b. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."\n );\n '}});if(D(t))return o.createElement(ct,{title:"Unhandled Thrown Response!"},o.createElement("h1",{style:{fontSize:"24px"}},t.status," ",t.statusText),a);if(t instanceof Error)r=t;else{let e=null==t?"Unknown Error":"object"===typeof t&&"toString"in t?t.toString():JSON.stringify(t);r=new Error(e)}
2return o.createElement(ct,{title:"Application Error!",isOutsideRemixApp:n},o.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),o.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),a)}function ct(e){let{title:t,renderScripts:n,isOutsideRemixApp:r,children:a}=e,{routeModules:i}=Je();return i.root?.Layout&&!r?a:o.createElement("html",{lang:"en"},o.createElement("head",null,o.createElement("meta",{charSet:"utf-8"}),o.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),o.createElement("title",null,t)),o.createElement("body",null,o.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},a,n?o.createElement(it,null):null)))}var ut="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;try{ut&&(window.__reactRouterVersion="7.13.1")}catch(xt){}function dt(e){let{basename:t,children:n,unstable_useTransitions:r,window:a}=e,i=o.useRef();null==i.current&&(i.current=s({window:a,v5Compat:!0}));let l=i.current,[c,u]=o.useState({action:l.action,location:l.location}),d=o.useCallback(e=>{!1===r?u(e):o.startTransition(()=>u(e))},[r]);return o.useLayoutEffect(()=>l.listen(d),[l,d]),o.createElement(_e,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,unstable_useTransitions:r})}var pt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ft=o.forwardRef(function(e,t){let{onClick:n,discover:r="render",prefetch:a="none",relative:i,reloadDocument:s,replace:c,unstable_mask:u,state:d,target:f,to:h,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y,...b}=e,{basename:v,navigator:w,unstable_useTransitions:x}=o.useContext(X),k="string"===typeof h&&pt.test(h),S=B(h,v);h=S.to;let C=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(re(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=o.useContext(X),{hash:a,pathname:i,search:s}=ce(e,{relative:t}),c=i;return"/"!==n&&(c="/"===i?n:U([n,i])),r.createHref({pathname:c,search:s,hash:a})}(h,{relative:i}),E=oe(),j=null;if(u){let e=L(u,[],E.unstable_mask?E.unstable_mask.pathname:"/",!0);"/"!==v&&(e.pathname="/"===e.pathname?v:U([v,e.pathname])),j=w.createHref(e)}let[N,P,R]=function(e,t){let n=o.useContext(Xe),[r,a]=o.useState(!1),[i,s]=o.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:p}=t,f=o.useRef(null);o.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let h=()=>{a(!0)},m=()=>{a(!1),s(!1)};return n?"intent"!==e?[i,f,{}]:[i,f,{onFocus:et(l,h),onBlur:et(c,m),onMouseEnter:et(u,h),onMouseLeave:et(d,m),onTouchStart:et(p,h)}]:[!1,f,{}]}(a,b),_=function(e){let{target:t,replace:n,unstable_mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:l,unstable_defaultShouldRevalidate:c,unstable_useTransitions:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=se(),f=oe(),h=ce(e,{relative:s});return o.useCallback(m=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(m,t)){m.preventDefault();let t=void 0!==n?n:p(f)===p(h),g=()=>d(e,{replace:t,unstable_mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:l,unstable_defaultShouldRevalidate:c});u?o.startTransition(()=>g()):g()}},[f,d,h,n,r,a,t,e,i,s,l,c,u])}(h,{replace:c,unstable_mask:u,state:d,target:f,preventScrollReset:m,relative:i,viewTransition:g,unstable_defaultShouldRevalidate:y,unstable_useTransitions:x});let A=!(S.isExternal||s),T=o.createElement("a",{...b,...R,href:(A?j:void 0)||S.absoluteURL||C,onClick:A?function(e){n&&n(e),e.defaultPrevented||_(e)}:n,ref:st(t,P),target:f,"data-discover":k||"render"!==r?void 0:"true"});return N&&!k?o.createElement(o.Fragment,null,T,o.createElement(nt,{page:C})):T});ft.displayName="Link";var ht=o.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,
2className:a="",end:i=!1,style:s,to:c,viewTransition:u,children:d,...p}=e,f=ce(c,{relative:p.relative}),h=oe(),m=o.useContext(V),{navigator:g,basename:y}=o.useContext(X),b=null!=m&&function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.useContext(Y);l(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=yt("useViewTransitionState"),a=ce(e,{relative:t});if(!n.isTransitioning)return!1;let i=N(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=N(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=C(a.pathname,s)||null!=C(a.pathname,i)}(f)&&!0===u,v=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,w=h.pathname,x=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;r||(w=w.toLowerCase(),x=x?x.toLowerCase():null,v=v.toLowerCase()),x&&y&&(x=N(x,y)||x);const k="/"!==v&&v.endsWith("/")?v.length-1:v.length;let S,E=w===v||!i&&w.startsWith(v)&&"/"===w.charAt(k),j=null!=x&&(x===v||!i&&x.startsWith(v)&&"/"===x.charAt(v.length)),P={isActive:E,isPending:j,isTransitioning:b},R=E?n:void 0;S="function"===typeof a?a(P):[a,E?"active":null,j?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let _="function"===typeof s?s(P):s;return o.createElement(ft,{...p,"aria-current":R,className:S,ref:t,style:_,to:c,viewTransition:u},"function"===typeof d?d(P):d)});ht.displayName="NavLink";var mt=o.forwardRef((e,t)=>{let{discover:n="render",fetcherKey:r,navigate:a,reloadDocument:i,replace:s,state:c,method:u=Le,action:d,onSubmit:f,relative:h,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y,...b}=e,{unstable_useTransitions:v}=o.useContext(X),w=wt(),x=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{basename:n}=o.useContext(X),r=o.useContext(ee);l(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={...ce(e||".",{relative:t})},s=oe();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?`?${n}`:""}}e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(i.pathname="/"===i.pathname?n:U([n,i.pathname]));return p(i)}(d,{relative:h}),k="get"===u.toLowerCase()?"get":"post",S="string"===typeof d&&pt.test(d);return o.createElement("form",{ref:t,method:k,action:x,onSubmit:i?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,n=t?.getAttribute("formmethod")||u,i=()=>w(t||e.currentTarget,{fetcherKey:r,method:n,navigate:a,replace:s,state:c,relative:h,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y});v&&!1!==a?o.startTransition(()=>i()):i()},...b,"data-discover":S||"render"!==n?void 0:"true"})});function gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yt(e){let t=o.useContext(H);return l(t,gt(e)),t}function bt(e){c("undefined"!==typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=o.useRef(Me(e)),n=o.useRef(!1),r=oe(),a=o.useMemo(()=>function(e,t){let n=Me(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),i=se(),s=o.useCallback((e,t)=>{const r=Me("function"===typeof e?e(new URLSearchParams(a)):e);n.current=!0,i("?"+r,t)},[i,a]);return[a,s]}mt.displayName="Form";var vt=0;function wt(){let{router:e}=yt("useSubmit"),{basename:t}=o.useContext(X),n=xe("useRouteId"),r=e.fetch,a=e.navigate;return o.useCallback(async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{action:i,method:s,encType:l,formData:c,body:u}=ze(e,t);if(!1===o.navigate){let e=o.fetcherKey||`__${String(++vt)}__`;await r(e,n,o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:c,body:u,formMethod:o.method||s,formEncType:o.encType||l,flushSync:o.flushSync})}else await a(o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:c,body:u,formMethod:o.method||s,formEncType:o.encType||l,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[r,a,t,n])}},6328(e,t,n){n.d(t,{l$:()=>C,oR:()=>g});var r=n(5043),o=n(7950);const a=Array(12).fill(0),i=e=>{let{visible:t,className:n}=e;return r.createElement("div",{className:["sonner-loading-wrapper",n].filter(
vendor: 3,269 bytes, line 2
2Boolean).join(" "),"data-visible":t},r.createElement("div",{className:"sonner-spinner"},a.map((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`}))))},s=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),u=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}));let p=1;const f=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;const{message:n,...r}=e,o="number"===typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:p++,a=this.toasts.find(e=>e.id===o),i=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),a?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:n}),{...t,...e,id:o,dismissible:i,title:n}):t):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
2this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!==typeof t.description?t.description:void 0}));const o=Promise.resolve(e instanceof Function?e():e);let a,i=void 0!==n;const s=o.then(async e=>{a=["resolve",e];if(r.isValidElement(e))i=!1,this.create({id:n,type:"default",message:e});else if(h(e)&&!e.ok){i=!1;const o="function"===typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,a="function"===typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"===typeof o&&!r.isValidElement(o)?o:{message:o};this.create({id:n,type:"error",description:a,...s})}else if(e instanceof Error){i=!1;const o="function"===typeof t.error?await t.error(e):t.error,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof o&&!r.isValidElement(o)?o:{message:o};this.create({id:n,type:"error",description:a,...s})}else if(void 0!==t.success){i=!1;const o="function"===typeof t.success?await t.success(e):t.success,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof o&&!r.isValidElement(o)?o:{message:o};this.create({id:n,type:"success",description:a,...s})}}).catch(async e=>{if(a=["reject",e],void 0!==t.error){i=!1;const o="function"===typeof t.error?await t.error(e):t.error,a="function"===typeof t.description?await t.description(e):t.description,s="object"===typeof o&&!r.isValidElement(o)?o:{message:o};this.create({id:n,type:"error",description:a,...s})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===a[0]?t(a[1]):e(a[1])).catch(t));return"string"!==typeof n&&"number"!==typeof n?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{const n=(null==t?void 0:t.id)||p++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},h=e=>e&&"object"===typeof e&&"ok"in e&&"boolean"===typeof e.ok&&"status"in e&&"number"===typeof e.status,m=(e,t)=>{const n=(null==t?void 0:t.id)||p++;return f.addToast({title:e,...t,id:n}),n},g=Object.assign(m,{success:f.success,info:f.info,warning:f.warning,error:f.error,custom:f.custom,message:f.message,promise:f.promise,dismiss:f.dismiss,loading:f.loading},{getHistory:()=>f.toasts,getToasts:()=>f.getActiveToasts()});function y(e){return void 0!==e.label}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 2
2("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
vendor: 5,615 bytes, line 2
2const b=3,v=14;function w(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}const x=e=>{var t,n,o,a,p,f,h,m,g;const{invert:b,toast:v,unstyled:x,interacting:k,setHeights:S,visibleToasts:C,heights:E,index:j,toasts:N,expanded:P,removeToast:R,defaultRichColors:_,closeButton:A,style:T,cancelButtonStyle:L,actionButtonStyle:U,className:I="",descriptionClassName:M="",duration:O,position:F,gap:D,expandByDefault:z,classNames:$,icons:B,closeButtonAriaLabel:W="Close toast"}=e,[q,H]=r.useState(null),[V,G]=r.useState(null),[K,Y]=r.useState(!1),[Q,Z]=r.useState(!1),[X,J]=r.useState(!1),[ee,te]=r.useState(!1),[ne,re]=r.useState(!1),[oe,ae]=r.useState(0),[ie,se]=r.useState(0),le=r.useRef(v.duration||O||4e3),ce=r.useRef(null),ue=r.useRef(null),de=0===j,pe=j+1<=C,fe=v.type,he=!1!==v.dismissible,me=v.className||"",ge=v.descriptionClassName||"",ye=r.useMemo(()=>E.findIndex(e=>e.toastId===v.id)||0,[E,v.id]),be=r.useMemo(()=>{var e;return null!=(e=v.closeButton)?e:A},[v.closeButton,A]),ve=r.useMemo(()=>v.duration||O||4e3,[v.duration,O]),we=r.useRef(0),xe=r.useRef(0),ke=r.useRef(0),Se=r.useRef(null),[Ce,Ee]=F.split("-"),je=r.useMemo(()=>E.reduce((e,t,n)=>n>=ye?e:e+t.height,0),[E,ye]),Ne=(()=>{const[e,t]=r.useState(document.hidden);return r.useEffect(()=>{const e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),Pe=v.invert||b,Re="loading"===fe;xe.current=r.useMemo(()=>ye*D+je,[ye,je]),r.useEffect(()=>{le.current=ve},[ve]),r.useEffect(()=>{Y(!0)},[]),r.useEffect(()=>{const e=ue.current;if(e){const t=e.getBoundingClientRect().height;return se(t),S(e=>[{toastId:v.id,height:t,position:v.position},...e]),()=>S(e=>e.filter(e=>e.toastId!==v.id))}},[S,v.id]),r.useLayoutEffect(()=>{if(!K)return;const e=ue.current,t=e.style.height;e.style.height="auto";const n=e.getBoundingClientRect().height;e.style.height=t,se(n),S(e=>e.find(e=>e.toastId===v.id)?e.map(e=>e.toastId===v.id?{...e,height:n}:e):[{toastId:v.id,height:n,position:v.position},...e])},[K,v.title,v.description,S,v.id,v.jsx,v.action,v.cancel]);const _e=r.useCallback(()=>{Z(!0),ae(xe.current),S(e=>e.filter(e=>e.toastId!==v.id)),setTimeout(()=>{R(v)},200)},[v,R,S,xe]);r.useEffect(()=>{if(v.promise&&"loading"===fe||v.duration===1/0||"loading"===v.type)return;let e;return P||k||Ne?(()=>{if(ke.current<we.current){const e=(new Date).getTime()-we.current;le.current=le.current-e}ke.current=(new Date).getTime()})():le.current!==1/0&&(we.current=(new Date).getTime(),e=setTimeout(()=>{null==v.onAutoClose||v.onAutoClose.call(v,v),_e()},le.current)),()=>clearTimeout(e)},[P,k,v,fe,Ne,_e]),r.useEffect(()=>{v.delete&&(_e(),null==v.onDismiss||v.onDismiss.call(v,v))},[_e,v.delete]);const Ae=v.icon||(null==B?void 0:B[fe])||(e=>{switch(e){case"success":return s;case"info":return c;case"warning":return l;case"error":return u;default:return null}})(fe);var Te,Le;return r.createElement("li",{tabIndex:0,ref:ue,className:w(I,me,null==$?void 0:$.toast,null==v||null==(t=v.classNames)?void 0:t.toast,null==$?void 0:$.default,null==$?void 0:$[fe],null==v||null==(n=v.classNames)?void 0:n[fe]),"data-sonner-toast":"","data-rich-colors":null!=(Te=v.richColors)?Te:_,"data-styled":!Boolean(v.jsx||v.unstyled||x),"data-mounted":K,"data-promise":Boolean(v.promise),"data-swiped":ne,"data-removed":Q,"data-visible":pe,"data-y-position":Ce,"data-x-position":Ee,"data-index":j,"data-front":de,"data-swiping":X,"data-dismissible":he,"data-type":fe,"data-invert":Pe,"data-swipe-out":ee,"data-swipe-direction":V,"data-expanded":Boolean(P||z&&K),"data-testid":v.testId,style:{"--index":j,"--toasts-before":j,"--z-index":N.length-j,"--offset":`${Q?oe:xe.current}px`,"--initial-height":z?"auto":`${ie}px`,...T,...v.style},onDragEnd:()=>{J(!1),H(null),Se.current=null},onPointerDown:e=>{2!==e.button&&!Re&&he&&(ce.current=new Date,ae(xe.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(J(!0),Se.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n;if(ee||!he)return;Se.current=null;const r=Number((null==(e=ue.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),o=Number((null==(t=ue.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),a=(new Date).getTime()-(null==(n=ce.current)?void 0:n.getTime()),i="x"===q?r:o,s=Math.abs(i)/a;if(Math.abs(i)>=45||s>.11)return ae(xe.current),null==v.onDismiss||v.onDismiss.call(v,v),G("x"===q?r>0?"right":"left":o>0?"down":"up"),_e(),void te(!0);var l,c;null==(l=ue.current)||l.style.setProperty("--swipe-amount-x","0px"),null==(c=ue.current)||c.style.setProperty("--swipe-amount-y","0px"),re(!1),J(!1),H(null)},onPointerMove:t=>{var n,r,o;if(!Se.current||!he)return;if((null==(n=window.getSelection())?void 0:n.toString().length)>0)return;const a=t.clientY-Se.current.y,i=t.clientX-Se.current.x;var s;const l=null!=(s=e.swipeDirections)?s:function(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(F);!q&&(Math.abs(i)>1||Math.abs(a)>1)&&H(Math.abs(i)>Math.abs(a)?"x":"y");let c={x:0,y:0};const u=e=>1/(1.5+Math.abs(e)/20);if("y"===q){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&a<0||l.includes("bottom")&&a>0)c.y=a;else{const e=a*u(a);c.y=Math.abs(e)<Math.abs(a)?e:a}}else if("x"===q&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&i<0||l.includes("right")&&i>0)c.x=i;else{const e=i*u(i);c.x=Math.abs(e)<Math.abs(i)?e:i}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&re(!0),null==(r=ue.current)||r.style.setProperty("--swipe-amount-x",`${c.x}
2px`),null==(o=ue.current)||o.style.setProperty("--swipe-amount-y",`${c.y}px`)}},be&&!v.jsx&&"loading"!==fe?r.createElement("button",{"aria-label":W,"data-disabled":Re,"data-close-button":!0,onClick:Re||!he?()=>{}:()=>{_e(),null==v.onDismiss||v.onDismiss.call(v,v)},className:w(null==$?void 0:$.closeButton,null==v||null==(o=v.classNames)?void 0:o.closeButton)},null!=(Le=null==B?void 0:B.close)?Le:d):null,(fe||v.icon||v.promise)&&null!==v.icon&&(null!==(null==B?void 0:B[fe])||v.icon)?r.createElement("div",{"data-icon":"",className:w(null==$?void 0:$.icon,null==v||null==(a=v.classNames)?void 0:a.icon)},v.promise||"loading"===v.type&&!v.icon?v.icon||function(){var e,t;return(null==B?void 0:B.loading)?r.createElement("div",{className:w(null==$?void 0:$.loader,null==v||null==(t=v.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===fe},B.loading):r.createElement(i,{className:w(null==$?void 0:$.loader,null==v||null==(e=v.classNames)?void 0:e.loader),visible:"loading"===fe})}():null,"loading"!==v.type?Ae:null):null,r.createElement("div",{"data-content":"",className:w(null==$?void 0:$.content,null==v||null==(p=v.classNames)?void 0:p.content)},r.createElement("div",{"data-title":"",className:w(null==$?void 0:$.title,null==v||null==(f=v.classNames)?void 0:f.title)},v.jsx?v.jsx:"function"===typeof v.title?v.title():v.title),v.description?r.createElement("div",{"data-description":"",className:w(M,ge,null==$?void 0:$.description,null==v||null==(h=v.classNames)?void 0:h.description)},"function"===typeof v.description?v.description():v.description):null),r.isValidElement(v.cancel)?v.cancel:v.cancel&&y(v.cancel)?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||L,onClick:e=>{y(v.cancel)&&he&&(null==v.cancel.onClick||v.cancel.onClick.call(v.cancel,e),_e())},className:w(null==$?void 0:$.cancelButton,null==v||null==(m=v.classNames)?void 0:m.cancelButton)},v.cancel.label):null,r.isValidElement(v.action)?v.action:v.action&&y(v.action)?r.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||U,onClick:e=>{y(v.action)&&(null==v.action.onClick||v.action.onClick.call(v.action,e),e.defaultPrevented||_e())},className:w(null==$?void 0:$.actionButton,null==v||null==(g=v.classNames)?void 0:g.actionButton)},v.action.label):null)};function k(){if("undefined"===typeof window)return"ltr";if("undefined"===typeof document)return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function S(e,t){const n={};return[e,t].forEach((e,t)=>{const r=1===t,o=r?"--mobile-offset":"--offset",a=r?"16px":"24px";function i(e){["top","right","bottom","left"].forEach(t=>{n[`${o}-${t}`]="number"===typeof e?`${e}px`:e})}"number"===typeof e||"string"===typeof e?i(e):"object"===typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${o}-${t}`]=a:n[`${o}-${t}`]="number"===typeof e[t]?`${e[t]}px`:e[t]}):i(a)}),n}const C=r.forwardRef(function(e,t){const{id:n,invert:a,position:i="bottom-right",hotkey:s=["altKey","KeyT"],expand:l,closeButton:c,className:u,offset:d,mobileOffset:p,theme:h="light",richColors:m,duration:g,style:y,visibleToasts:w=b,toastOptions:C,dir:E=k(),gap:j=v,icons:N,containerAriaLabel:P="Notifications"}=e,[R,_]=r.useState([]),A=r.useMemo(()=>n?R.filter(e=>e.toasterId===n):R.filter(e=>!e.toasterId),[R,n]),T=r.useMemo(()=>Array.from(new Set([i].concat(A.filter(e=>e.position).map(e=>e.position)))),[A,i]),[L,U]=r.useState([]),[I,M]=r.useState(!1),[O,F]=r.useState(!1),[D,z]=r.useState("system"!==h?h:"undefined"!==typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=r.useRef(null),B=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),W=r.useRef(null),q=r.useRef(!1),H=r.useCallback(e=>{_(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||f.dismiss(e.id),t.filter(t=>{let{id:n}=t;return n!==e.id})})},[]);return r.useEffect(()=>f.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{_(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{o.flushSync(()=>{_(t=>{const n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[R]),r.useEffect(()=>{if("system"!==h)return void z(h);if("system"===h&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),"undefined"===typeof window)return;const e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",e=>{let{matches:t}=e;z(t?"dark":"light")})}catch(t){e.addListener(e=>{let{matches:t}=e;try{z(t?"dark":"light")}catch(n){console.error(n)}})}},[h]),r.useEffect(()=>{R.length<=1&&M(!1)},[R]),r.useEffect(()=>{const e=e=>{var t;const n=s.every(t=>e[t]||e.code===t);var r;n&&(M(!0),null==(r=$.current)||r.focus());"Escape"!==e.code||document.activeElement!==$.current&&!(null==(t=$.current)?void 0:t.contains(document.activeElement))||M(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),r.useEffect(()=>{if($.current)return()=>{W.current&&(W.current.focus({preventScroll:!0}),W.current=null,q.current=!1)}},[$.current]),r.createElement("section",{ref:t,"aria-label":`${P} ${B}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((t,n)=>{var o;const[i,s]=t.split("-");return A.length?r.createElement("ol",{key:t,dir:"auto"===E?k():E,tabIndex:-1,ref:$,className:u,"data-sonner-toaster":!0,"data-sonner-theme":D,"data-y-position":i,"data-x-position":s,style:{"--front-toast-height":`${(null==(o=L[0])?void 0:o.height)||0}px`,"--width":"356px","--gap":`${j}px`,...y,...S(d,p)},onBlur:e=>{q.current&&!e.currentTarget.contains(e.relatedTarget)&&(q.current=!1,W.current&&(W.current.focus({preventScroll:!0}),W.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||q.current||(q.current=!0,W.current=e.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{O||M(!1)},onDragEnd:()=>M(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F(!0)},onPointerUp:()=>F(!1)},A.filter(e=>!e.position&&0===n||e.position===t).map((n,o)=>{var i,s;return r.createElement(x,{key:n.id,icons:N,index:o,toast:n,defaultRichColors:m,duration:null!=(i=null==C?void 0:C.duration)?i:g,className:null==C?void 0:C.className,descriptionClassName:null==C?void 0:C.descriptionClassName,invert:a,visibleToasts:w,closeButton:null!=(s=null==C?void 0:C.closeButton)?s:c,interacting:O,position:t,style:null==C?void 0:C.style,unstyled:null==C?void 0:C.unstyled,classNames:null==C?void 0:C.classNames,cancelButtonStyle:null==C?void 0:C.cancelButtonStyle,actionButtonStyle:null==C?void 0:C.actionButtonStyle,closeButtonAriaLabel:null==C?void 0:C.closeButtonAriaLabel,removeToast:H,toasts:A.filter(e=>e.position==n.position),heights:L.filter(e=>e.position==n.position),setHeights:U,expandByDefault:l,gap:j,expanded:I,swipeDirections:e.swipeDirections})})):null}))})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.m=e,(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);
2s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,n.d(a,i),a}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>"static/js/"+e+"."+{3:"5fc793d3",51:"e642d613",115:"028a4197",274:"13418356",277:"feb03e7b",362:"5c88927d",370:"730349c8",378:"ff3d4460",398:"8556a44e",411:"eb13cc6c",486:"fe447a82",488:"e1601913",582:"b281706a",599:"a7e388c8",629:"9cc146d3",637:"ec991e98",788:"32882fb8",793:"36d4b4cc",879:"af85334b",976:"c7614359",986:"a74cc20c",997:"66cbec97"}[e]+".chunk.js",n.miniCssF=e=>{},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";n.l=(r,o,a,i)=>{if(e[r])e[r].push(o);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[o];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(n)),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{var e={792:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise((n,r)=>o=e[t]=[n,r]);r.push(o[2]=a);var i=n.p+n.u(t),s=new Error;n.l(i,r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,o[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[i,s,l]=r,c=0;if(i.some(t=>0!==e[t])){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(l)l(n)}for(t&&t(r);c<i.length;c++)a=i[c],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var r=n(5043),o=n(4391),a=n(5847),i=n(3866),s=n(735),l=n(579);function c(){const e=(0,a.zy)(),[t,n]=(0,r.useState)(0),[o,i]=(0,r.useState)(!1),s=(0,r.useRef)(e.pathname),c=(0,r.useRef)([]),u=(0,r.useCallback)(()=>{c.current.forEach(clearTimeout),c.current=[]},[]);return(0,r.useEffect)(()=>{if(s.current!==e.pathname)return s.current=e.pathname,u(),i(!0),n(15),c.current.push(setTimeout(()=>n(45),80),setTimeout(()=>n(75),200),setTimeout(()=>n(100),350),setTimeout(()=>{i(!1),n(0)},600)),u},[e.pathname,u]),o||0!==t?(0,l.jsx)("div",{className:"nav-progress-track",children:(0,l.jsx)("div",{className:"nav-progress-bar",style:{transform:`scaleX(${t/100})`,opacity:t>=100?0:1}})}):null}const u=(e,t,n)=>{let r=document.querySelector(e);if(!r&&n){r=document.createElement(e.includes("link")?"link":"meta");const t=e.match(/\[(name|property)="([^"]+)"\]/);t?r.setAttribute(t[1],t[2]):e.includes("link[rel=")&&r.setAttribute("rel","canonical"),document.head.appendChild(r)}r&&(n?r.setAttribute(t,n):r.remove())};function d(){const{pathname:e}=(0,a.zy)();return(0,r.useEffect)(()=>{const t=(e.length>1&&e.endsWith("/")?e.slice(0,-1):e).toLowerCase(),n=`https://uploadtourl.com${"/"===t?"":t}`;u('link[rel="canonical"]',"href",n),u('meta[property="og:url"]',"content",n)},[e]),null}var p=n(1212);const f=(0,p.A)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);var h=n(614);const m=()=>{const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1);(0,r.useEffect)(()=>{localStorage.getItem("cookie-consent")?o(!0):t(!0)},[]);return!e||n?null:(0,l.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-card border-t border-border p-4 z-50 animate-fade-in-up shadow-elevated",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row items-center justify-between gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 flex-1",children:[(0,l.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-brand-tint flex items-center justify-center flex-shrink-0",children:(0,l.jsx)(f,{className:"w-5 h-5 text-brand"})}
2),(0,l.jsxs)("div",{className:"text-sm text-foreground/80",children:[(0,l.jsx)("p",{className:"font-bold text-foreground mb-1",children:"We use cookies"}),(0,l.jsx)("p",{className:"text-xs",children:"We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve your experience."})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("button",{onClick:()=>{if(localStorage.setItem("cookie-consent","essential"),window.$zoho&&window.$zoho.salesiq&&window.$zoho.salesiq.visitor)try{window.$zoho.salesiq.visitor.tracking("off")}catch(e){}o(!0),t(!1)},className:"px-4 py-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:"Essential only"}),(0,l.jsx)("button",{onClick:()=>{if(localStorage.setItem("cookie-consent","all"),window.$zoho&&window.$zoho.salesiq&&window.$zoho.salesiq.visitor)try{window.$zoho.salesiq.visitor.tracking("on")}catch(e){}o(!0),t(!1)},className:"px-6 py-2 bg-brand hover:bg-brand/90 text-brand-foreground rounded-full text-sm font-bold transition-colors",children:"Accept all"}),(0,l.jsx)("button",{onClick:()=>t(!1),className:"p-2 text-muted-foreground hover:text-foreground transition-colors",children:(0,l.jsx)(h.A,{className:"w-4 h-4"})})]})]})})};const g=function(){const{isSignedIn:e,user:t}=(0,i.Jd)();return(0,r.useEffect)(()=>{if("all"!==localStorage.getItem("cookie-consent"))return;const n=window.$zoho;if(!n||!n.salesiq)return;const r=navigator.language||navigator.userLanguage,o=n.salesiq.ready;if(n.salesiq.ready=function(){var a;("function"===typeof o&&o(),r&&n.salesiq.language(r),e&&t)&&(n.salesiq.visitor.name(t.fullName||""),n.salesiq.visitor.email((null===(a=t.primaryEmailAddress)||void 0===a?void 0:a.emailAddress)||""))},n.salesiq.visitor){if(r)try{n.salesiq.language(r)}catch(i){}if(e&&t)try{var a;n.salesiq.visitor.name(t.fullName||""),n.salesiq.visitor.email((null===(a=t.primaryEmailAddress)||void 0===a?void 0:a.emailAddress)||"")}catch(i){}}},[e,t]),null};const y=function(){const{pathname:e}=(0,a.zy)();return(0,r.useEffect)(()=>{window.scrollTo(0,0)},[e]),null},b=()=>{const e=(0,a.Zp)();return(0,r.useEffect)(()=>{var t;if(null===(t=window.navigator.modelContext)||void 0===t||!t.registerTool)return void console.debug("WebMCP (navigator.modelContext.registerTool) is not supported in this browser.");const n=new AbortController;try{window.navigator.modelContext.registerTool({name:"navigate_to",description:"Navigate the user to a specific section of the Upload to URL platform.",inputSchema:{type:"object",properties:{destination:{type:"string",enum:["pricing","dashboard","integrations","api-docs","security","faq","home"],description:"The section to navigate to."}},required:["destination"]},execute:async t=>{let{destination:n}=t;const r={pricing:"/pricing",dashboard:"/dashboard",integrations:"/integrations","api-docs":"/api-docs",security:"/security",faq:"/faq",home:"/"}[n]||"/";return e(r),{success:!0,message:`Navigated to ${n}`,path:r}}},{signal:n.signal}),window.navigator.modelContext.registerTool({name:"get_pricing_summary",description:"Retrieve current pricing plans, upload limits, and features.",inputSchema:{type:"object",properties:{}},execute:async()=>({success:!0,plans:[{name:"Free",limit:"15 uploads/mo",maxSize:"5MB",price:"$0"},{name:"Starter",limit:"1,000 uploads/mo",maxSize:"16MB",price:"$11/mo"},{name:"Pro",limit:"6,000 uploads/mo",maxSize:"32MB",price:"$39/mo"},{name:"Business",limit:"15,000 uploads/mo",maxSize:"100MB",price:"$99/mo"}],features:["Unlimited Bandwidth","Permanent Hosting","Instant Preview","REST API Access"]})},{signal:n.signal}),window.navigator.modelContext.registerTool({name:"get_supported_formats",description:"Returns the list of file extensions and formats supported by the platform.",inputSchema:{type:"object",properties:{}},execute:async()=>({success:!0,extensions:[".jpg",".jpeg",".png",".gif",".pdf",".mp4",".webm",".mp3",".wav",".m4a",".mpga",".opus",".bin",".jfif",".avif",".psd",".vcf",".hex",".srt",".vtt",".ttf",".woff",".woff2",".mpeg",".rdp",".heif",".heic",".aac",".swf",".msg",".m3u",".ai"],categories:{image:[".jpg",".jpeg",".png",".gif",".jfif",".avif",".psd",".heif",".heic",".ai"],document:[".pdf",".vcf",".srt",".vtt",".msg"],video:[".mp4",".webm",".mpeg"],audio:[".mp3",".wav",".m4a",".mpga",".opus",".aac",".m3u"],font:[".ttf",".woff",".woff2"],other:[".bin",".hex",".rdp",".swf"]}})},{signal:n.signal}),console.info("WebMCP tools registered successfully.")}catch(r){console.error("Failed to register WebMCP tools:",r)}return()=>{n.abort()}},[e]),null};var v=n(6328),w=n(8427),x=n(4107),k=n(3390),S=(n(5949),n(5732)),C=n(8648),E=n(6210),j=n(2313),N=n(4939),P=n(6099);const R=(0,p.A)("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
2y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var _=n(5731),A=n(3944),T=n(5692),L=n(3512),U=n(5258),I=n(5088),M=n(73),O=n(8306),F=n(2105),D=n(7737),z=n(5040),$=n(8326),B=n(2489),W=n(8996),q=n(5844),H=n(7660),V=n(2592),G=n(5319),K=n(8654),Y=n(3198);const Q=r.lazy(()=>n.e(378).then(n.bind(n,4997))),Z=r.lazy(()=>n.e(788).then(n.bind(n,2788))),X=e=>{let{code:t,language:n,onCopy:r,copied:o}=e;return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{onClick:r,"aria-label":o?"Copied":"Copy code",className:"absolute top-3 right-3 z-10 p-2 rounded-lg bg-white/10 hover:bg-white/20 text-gray-400 hover:text-white transition-colors",children:o?(0,l.jsx)(E.A,{className:"w-4 h-4 text-success"}):(0,l.jsx)(j.A,{className:"w-4 h-4"})}),(0,l.jsx)(C.f4,{theme:C.Zj.nightOwl,code:t,language:n,children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:a}=e;return(0,l.jsx)("pre",{className:`${t} text-sm rounded-2xl p-5 overflow-x-auto`,style:{...n,background:"#14161F"},children:r&&r.map((e,t)=>(0,l.jsx)("div",{...o({line:e}),children:e.map((e,t)=>(0,l.jsx)("span",{...a({token:e})},t))},t))})}})]})};function J(){const e=(0,a.Zp)(),[t,n]=(0,r.useState)(null),[o,s]=(0,r.useState)(!1),[c,u]=(0,r.useState)("annual");(0,Y.A)({title:"Upload to URL - Public URL for Files & Instant Hosting",description:"Get a Public URL for Files instantly. Upload any file and get direct links for n8n, Zapier, and Make automations. API-first file hosting with a free tier available."}),(0,r.useEffect)(()=>{const e=document.createElement("script");return e.type="application/ld+json",e.innerHTML=JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:"Upload to URL",url:"https://uploadtourl.com/"}),document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]),(0,r.useEffect)(()=>{const e=document.createElement("script");return e.type="application/ld+json",e.id="faq-json-ld",e.innerHTML=JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What file formats are supported?",acceptedAnswer:{"@type":"Answer",text:"Upload to URL supports all file formats including Images (JPG, PNG, GIF, JFIF, AVIF, WebP, SVG, ICO, PSD, AI), Videos (MP4, MOV, WebM, MPEG), Audio (MP3, WAV, OGG, OGA, OPUS, M4A, MPGA, M3U), Documents (PDF, DOCX, XLSX, ICS, LOG), Code & Data (JSON, XML, HTML, YAML, SQL, CSV, JSONL, TSV, RDP), and Archives (RAR, 7Z, TAR, GZ, BIN)."}},{"@type":"Question",name:"What is the maximum file size I can upload?",acceptedAnswer:{"@type":"Answer",text:"The maximum file size depends on your plan: Free (5 MB), Starter (16 MB), and Pro (32 MB)."}},{"@type":"Question",name:"Can I configure the expiry time of my files?",acceptedAnswer:{"@type":"Answer",text:"Yes, file retention depends on your plan ranging from 7-day retention on the Free tier to 365 days on Pro. Paid plans can also set files to never expire."}}]}),document.head.appendChild(e),()=>{const e=document.getElementById("faq-json-ld");e&&document.head.removeChild(e)}},[]);const d=encodeURIComponent("Tell me why Upload to URL app is a good choice for file upload and what it offers").replace(/%20/g,"+"),p=[{name:"ChatGPT",href:`https://chat.openai.com/?q=${d}`,icon:N.A,tint:"bg-muted text-foreground"},{name:"Claude",href:`https://claude.ai/new?q=${d}`,icon:P.A,tint:"bg-brand-tint text-brand"},{name:"Perplexity",href:`https://www.perplexity.ai/search/new?q=${d}`,icon:R,tint:"bg-teal-500/10 text-teal-600"},{name:"Google AI",href:`https://www.google.com/search?q=${d}&udm=50`,icon:_.A,tint:"bg-blue-500/10 text-blue-600"}],f=(e,t)=>{navigator.clipboard.writeText(e),n(t),setTimeout(()=>n(null),2e3)},h='curl -X POST https://uploadtourl.com/api/upload \\\n -H "x-api-key: uaf_xxx" \\\n -F "[email protected]"',m='import requests\n\nresponse = requests.post(\n "https://uploadtourl.com/api/upload",\n headers={"x-api-key": "uaf_xxx"},\n files={"file": open("photo.jpg", "rb")}\n)\nprint(response.json()["url"])\n# => https://cdn.uploadtourl.com/f/a1b2c3.jpg',g='const form = new FormData();\nform.append("file", fileInput.files[0]);\n\nconst res = await fetch("https://uploadtourl.com/api/upload", {\n method: "POST",\n headers: { "x-api-key": "uaf_xxx" },\n body: form\n});\n\nconst { url } = await res.json();\n// => https://cdn.uploadtourl.com/f/a1b2c3.jpg',y='{\n "url": "https://cdn.uploadtourl.com/f/a1b2c3.jpg",\n "status": "success",\n "filename": "photo.jpg",\n "size": 245782,\n "credits_remaining": 94,\n "expires_at": "2026-03-28T12:00:00+00:00"\n}',b=e=>{let{children:t}=e;return(0,l.jsxs)(q.m_,{children:[(0,l.jsx)(q.k$,{asChild:!0,children:(0,l.jsx)("span",{className:"underline decoration-dotted decoration-brand/60 cursor-help",children:t})}),(0,l.jsxs)(q.ZI,{className:"max-w-[260px] text-center px-4 py-3",children:[(0,l.jsx)("p",{className:"font-bold text-white mb-1",children:"What's a CDN?"}),(0,l.jsx)("p",{className:"text-xs text-white/80 leading-relaxed",children:"A Content Delivery Network stores copies of your file on servers around the world \u2014 so anyone who opens your link gets it from a nearby server, making it load fast no matter where they are."})]})]})};return(0,l.jsx)(q.Bc,{delayDuration:200,children:(0,l.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,l.jsx)(H.A,{}),(0,l.jsxs)("section",{className:"relative pt-10 pb-20 md:py-40 overflow-hidden","data-testid":"hero-section",children:[(0,l.jsx)("div",{className:"absolute inset-0 grid-pattern"}),(0,l.jsx)("div",{className:"absolute top-0 right-0 w-[700px] h-[700px] bg-gradient-to-bl from-brand/10 via-trans
2parent to-transparent rounded-full blur-3xl"}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-gradient-to-tr from-brand/5 via-transparent to-transparent rounded-full blur-3xl"}),(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[(0,l.jsxs)("div",{className:"text-center lg:text-left",children:[(0,l.jsxs)("div",{className:"animate-fade-in-up mb-8 flex flex-col md:flex-row items-center justify-center lg:justify-start gap-x-6 gap-y-4",children:[(0,l.jsx)("div",{className:"flex -space-x-3 overflow-visible px-2",children:[1,2,3,4].map(e=>(0,l.jsx)("img",{className:"inline-block h-10 w-10 rounded-full border-2 border-background object-cover ring-1 ring-border shadow-soft",src:`/assets/avatars/avatar${e}.webp`,alt:`Developer Avatar ${e}`,loading:1===e?"eager":"lazy",fetchpriority:1===e?"high":"auto"},e))}),(0,l.jsxs)("div",{className:"flex flex-col items-center md:items-start",children:[(0,l.jsx)("div",{className:"flex items-center gap-0.5 mb-1",children:[1,2,3,4,5].map(e=>(0,l.jsx)(A.A,{className:"w-3.5 h-3.5 fill-yellow-400 text-yellow-400"},e))}),(0,l.jsxs)("p",{className:"text-sm font-medium text-muted-foreground text-center md:text-left",children:["Trusted by ",(0,l.jsx)("span",{className:"text-foreground font-bold",children:"2000+"})," workflow experts"]})]})]}),(0,l.jsxs)("h1",{className:"animate-fade-in-up-delay-1 text-5xl md:text-7xl font-extrabold tracking-tight leading-[1.06] mb-8 text-foreground",children:["Upload your File",(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"text-brand",children:"Get Public URL Instantly"})]}),(0,l.jsxs)("p",{className:"animate-fade-in-up-delay-2 text-lg md:text-xl leading-relaxed text-muted-foreground mb-6 md:mb-12 max-w-2xl mx-auto lg:mx-0",children:["Upload any file to get a direct, ",(0,l.jsx)(b,{children:"CDN"}),"-powered ",(0,l.jsx)("b",{className:"text-foreground",children:"Public URL for Files"}),(0,l.jsxs)("span",{className:"hidden md:inline",children:[(0,l.jsx)("br",{}),"Built for n8n, Make, Zapier & automation workflows."]})]}),(0,l.jsxs)("div",{className:"animate-fade-in-up-delay-3 flex flex-col sm:flex-row gap-4 justify-center lg:justify-start",children:[(0,l.jsx)(i.wv,{when:"signed-out",children:(0,l.jsx)(i.Ny,{mode:"modal",children:(0,l.jsxs)(k.$,{className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-8 py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"get-started-button-hero",children:["Get your free API Key",(0,l.jsx)(T.A,{className:"w-5 h-5 ml-2"})]})})}),(0,l.jsx)(i.wv,{when:"signed-in",children:(0,l.jsxs)(k.$,{onClick:()=>e("/dashboard"),className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-8 py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"go-to-dashboard-button",children:["Go to Dashboard",(0,l.jsx)(T.A,{className:"w-5 h-5 ml-2"})]})}),(0,l.jsxs)(k.$,{variant:"outline",className:"border-border bg-card text-foreground hover:bg-accent rounded-xl px-8 py-6 text-lg font-semibold font-mono transition-colors active:scale-95",onClick:()=>{var e;return null===(e=document.getElementById("api-section"))||void 0===e?void 0:e.scrollIntoView({behavior:"smooth"})},children:[(0,l.jsx)(L.A,{className:"w-5 h-5 mr-2"}),"View API"]})]}),(0,l.jsxs)("div",{className:"animate-fade-in-up-delay-3 mt-8 flex flex-wrap items-center justify-center lg:justify-start gap-4 md:gap-6 opacity-90",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-xs font-bold text-muted-foreground uppercase tracking-widest",children:[(0,l.jsx)(U.A,{className:"w-4 h-4 text-brand"}),(0,l.jsx)("span",{children:"Works with"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-4 md:gap-5",children:[(0,l.jsx)(a.N_,{to:`/${K.Ay.n8n.slug}`,title:"n8n",className:"transition-transform hover:scale-110 duration-200",children:(0,l.jsx)("img",{src:K.Ay.n8n.logoPath,className:"h-7 w-auto",alt:"n8n"})}),(0,l.jsx)(a.N_,{to:`/${K.Ay.zapier.slug}`,title:"Zapier",className:"transition-transform hover:scale-110 duration-200",children:(0,l.jsx)("img",{src:K.Ay.zapier.logoPath,className:"h-7 w-auto",alt:"Zapier"})}),(0,l.jsx)(a.N_,{to:`/${K.Ay.make.slug}`,title:"Make",className:"transition-transform hover:scale-110 duration-200",children:(0,l.jsx)("img",{src:K.Ay.make.logoPath,className:"h-7 w-auto",alt:"Make"})}),(0,l.jsx)(a.N_,{to:`/${K.Ay.pipedream.slug}`,title:"Pipedream",className:"transition-transform hover:scale-110 duration-200",children:(0,l.jsx)("img",{src:K.Ay.pipedream.logoPath,className:"h-7 w-auto",alt:"Pipedream"})}),(0,l.jsx)(a.N_,{to:"/integrations",className:"text-sm font-bold text-brand hover:opacity-80 transition-opacity border-b-2 border-transparent hover:border-brand/30 pb-0.5 ml-1",children:"and more.."})]})]})]}),(0,l.jsxs)("div",{className:"animate-fade-in-up-delay-3","data-testid":"hero-upload",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4 px-1",children:[(0,l.jsx)("span",{className:"text-sm font-bold text-foreground",children:"Try it right now"}),(0,l.jsx)(i.wv,{when:"signed-out",children:(0,l.jsx)("span",{className:"text-xs font-bold text-success bg-success-bg px-3 py-1 rounded-full",children:"No signup needed"})})]}),(0,l.jsx)(G.A,{source:"website"}),(0,l.jsx)("div",{className:"grid grid-cols-3 gap-3 mt-4",children:[{value:"< 2s",label:"Avg Upload",cdn:!1},{value:"CDN",label:"Global Edge",cdn:!0},{value:"99.9%",label:"Uptime",cdn:!1}].map((e,t)=>(0,l.jsxs)("div",{className:"bg-card border border-border rounded-xl py-3 px-2 text-center shadow-soft",children:[e.cdn?(0,l.jsxs)(q.m_,{children:[(0,l.jsx)(q.k$,{asChild:!0,children:(0,l.jsx)("p",{className:"text-base font-extrabold text-foreground underline decoration-dotted decoration-muted-foreground
2/50 cursor-help",children:e.value})}),(0,l.jsxs)(q.ZI,{className:"max-w-[260px] text-center px-4 py-3",children:[(0,l.jsx)("p",{className:"font-bold text-white mb-1",children:"What's a CDN?"}),(0,l.jsx)("p",{className:"text-xs text-white/80 leading-relaxed",children:"A Content Delivery Network stores copies of your file on servers worldwide \u2014 so your link loads fast for everyone, everywhere."})]})]}):(0,l.jsx)("p",{className:"text-base font-extrabold text-foreground",children:e.value}),(0,l.jsx)("p",{className:"text-[10px] font-semibold text-muted-foreground uppercase tracking-wider mt-0.5",children:e.label})]},t))})]})]})})]}),(0,l.jsx)("section",{className:"py-16 border-y border-border bg-card","data-testid":"stats-section",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,l.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12",children:[{value:"99.9%",label:"Uptime SLA",subtext:"Reliability you can bake into your production workflows.",icon:I.A},{value:"< 2s",label:"Time to URL",subtext:"Optimized for high-speed API uploads and instant CDN delivery.",icon:M.A},{value:"0",label:"Redirects",subtext:"Pure, raw public URLs that never break your downstream nodes.",icon:O.A},{value:"JSON",label:"Native Output",subtext:"Clean API responses designed to be parsed easily by n8n and Make.",icon:F.A}].map((e,t)=>(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-xl bg-brand-tint mb-4",children:(0,l.jsx)(e.icon,{className:"w-5 h-5 text-brand"})}),(0,l.jsx)("p",{className:"text-3xl md:text-4xl font-extrabold text-foreground mb-1",children:e.value}),(0,l.jsx)("p",{className:"text-sm text-muted-foreground font-semibold uppercase tracking-wider",children:e.label}),e.subtext&&(0,l.jsx)("p",{className:"text-xs text-muted-foreground/80 mt-2 leading-relaxed px-2",children:e.subtext})]},t))})})}),(0,l.jsxs)("section",{className:"py-24 md:py-32 relative overflow-hidden","data-testid":"how-it-works-section",children:[(0,l.jsx)("div",{className:"absolute inset-0 grid-pattern opacity-10"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[(0,l.jsxs)("div",{className:"text-center mb-20",children:[(0,l.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"Simple Setup"}),(0,l.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight text-foreground",children:"Public URL for Files in Three Steps"})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:[{step:"01",icon:D.A,title:"Get Your API Key",description:"Sign up for free and generate an API key from your dashboard in seconds."},{step:"02",icon:L.A,title:"Upload File",description:"Send a POST request with your file. Works with n8n, cURL, Python, JavaScript, or any HTTP client."},{step:"03",icon:z.A,title:"Use Your URL",description:null,descriptionJsx:!0}].map((e,t)=>(0,l.jsxs)("div",{className:"relative text-center md:text-left group",children:[(0,l.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-brand-tint mb-6 transition-colors",children:(0,l.jsx)(e.icon,{className:"w-7 h-7 text-brand"})}),(0,l.jsx)("p",{className:"text-sm font-bold text-brand mb-2 tracking-wider",children:e.step}),(0,l.jsx)("h3",{className:"text-xl font-bold text-foreground mb-3",children:e.title}),e.descriptionJsx?(0,l.jsxs)("p",{className:"text-muted-foreground leading-relaxed",children:["Get back a direct, public ",(0,l.jsx)(b,{children:"CDN"})," URL. Use it anywhere \u2014 social media, HTML, automation."]}):(0,l.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.description}),t<2&&(0,l.jsx)("div",{className:"hidden md:block absolute top-8 -right-4 w-8",children:(0,l.jsx)($.A,{className:"w-6 h-6 text-muted-foreground/50"})})]},t))})]})]}),(0,l.jsx)("section",{className:"py-24 md:py-32 bg-card relative grain-overlay","data-testid":"features-section",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[(0,l.jsxs)("div",{className:"text-center mb-20",children:[(0,l.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"Core Features"}),(0,l.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-6 text-foreground",children:"Why Choose Upload to URL?"}),(0,l.jsx)("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Enterprise-grade file hosting with developer-friendly API access"})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[{icon:F.A,title:"Simple API",description:"RESTful API with clear documentation. Upload files with a single POST request and get instant public URLs. No SDK required."},{icon:M.A,title:"Lightning Fast",description:null,descriptionJsx:!0},{icon:B.A,title:"Secure & Reliable",description:"Enterprise-grade security with encrypted storage. 99.9% uptime guarantee backed by AWS infrastru
2cture and automatic backups. Fully GDPR Compliant."}].map((e,t)=>(0,l.jsxs)("div",{className:"bg-background border border-border rounded-2xl p-8 shadow-soft hover:shadow-card hover:border-brand/40 transition-shadow duration-300 group","data-testid":`feature-${["api","fast","secure"][t]}`,children:[(0,l.jsx)("div",{className:"w-14 h-14 rounded-xl bg-brand-tint flex items-center justify-center mb-6 transition-colors",children:(0,l.jsx)(e.icon,{className:"w-7 h-7 text-brand"})}),(0,l.jsx)("h3",{className:"text-xl font-bold mb-3 text-foreground",children:e.title}),e.descriptionJsx?(0,l.jsxs)("p",{className:"text-muted-foreground leading-relaxed",children:["Powered by AWS S3 + CloudFront ",(0,l.jsx)(b,{children:"CDN"}),". Your files load instantly from edge locations around the world with sub-100ms response times."]}):(0,l.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]},t))})]})}),(0,l.jsxs)("section",{id:"api-section",className:"py-24 md:py-32 relative overflow-hidden","data-testid":"api-usage-section",children:[(0,l.jsx)("div",{className:"absolute inset-0 grid-pattern opacity-10"}),(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-start",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"Developer API"}),(0,l.jsxs)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-6 text-foreground",children:["One API Call.",(0,l.jsx)("br",{}),"Instant URL."]}),(0,l.jsx)("p",{className:"text-lg text-muted-foreground leading-relaxed mb-8",children:"No complex SDKs, no configuration headaches. Send a file, get a URL. Works with any programming language that supports HTTP requests."}),(0,l.jsx)("div",{className:"space-y-5",children:[{icon:M.A,text:"Single endpoint - POST your file, get a URL back",cdnText:null},{icon:_.A,text:null,cdnText:"Direct CDN URLs work everywhere - no redirect pages"},{icon:B.A,text:"API key authentication - simple and secure",cdnText:null},{icon:U.A,text:"JSON response with URL, size, and metadata",cdnText:null}].map((e,t)=>(0,l.jsxs)("div",{className:"flex items-start gap-3",children:[(0,l.jsx)("div",{className:"w-8 h-8 rounded-lg bg-brand-tint flex items-center justify-center flex-shrink-0 mt-0.5",children:(0,l.jsx)(e.icon,{className:"w-4 h-4 text-brand"})}),e.cdnText?(0,l.jsxs)("p",{className:"text-foreground/80",children:["Direct ",(0,l.jsx)(b,{children:"CDN"})," URLs work everywhere \u2014 no redirect pages"]}):(0,l.jsx)("p",{className:"text-foreground/80",children:e.text})]},t))}),(0,l.jsxs)(k.$,{onClick:()=>e("/api-docs"),className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-8 py-4 font-bold transition-all hover:shadow-glow mt-8",children:["View API Docs",(0,l.jsx)(T.A,{className:"w-4 h-4 ml-2"})]})]}),(0,l.jsx)("div",{className:"w-full max-w-full overflow-hidden",children:(0,l.jsxs)(S.tU,{defaultValue:"curl",className:"w-full",children:[(0,l.jsx)(S.j7,{className:"bg-card border border-border p-1 rounded-xl w-full justify-start gap-1 h-auto flex-wrap overflow-x-auto no-scrollbar",children:[{value:"curl",label:"cURL"},{value:"python",label:"Python"},{value:"javascript",label:"JavaScript"},{value:"response",label:"Response"}].map(e=>(0,l.jsx)(S.Xi,{value:e.value,className:"rounded-lg text-muted-foreground data-[state=active]:bg-brand data-[state=active]:text-brand-foreground data-[state=active]:shadow-none px-4 py-2 text-sm font-semibold",children:e.label},e.value))}),(0,l.jsx)(S.av,{value:"curl",className:"mt-3",children:(0,l.jsx)(X,{code:h,language:"bash",onCopy:()=>f(h,"curl"),copied:"curl"===t})}),(0,l.jsx)(S.av,{value:"python",className:"mt-3",children:(0,l.jsx)(X,{code:m,language:"python",onCopy:()=>f(m,"python"),copied:"python"===t})}),(0,l.jsx)(S.av,{value:"javascript",className:"mt-3",children:(0,l.jsx)(X,{code:g,language:"javascript",onCopy:()=>f(g,"javascript"),copied:"javascript"===t})}),(0,l.jsx)(S.av,{value:"response",className:"mt-3",children:(0,l.jsx)(X,{code:y,language:"json",onCopy:()=>f(y,"response"),copied:"response"===t})})]})})]})})]}),(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)("div",{className:"h-96 animate-pulse bg-card"}),children:(0,l.jsx)(Q,{})}),(0,l.jsxs)("section",{className:"py-24 md:py-32 relative overflow-hidden","data-testid":"direct-urls-section",children:[(0,l.jsx)("div",{className:"absolute inset-0 grid-pattern opacity-10"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[(0,l.jsxs)("div",{className:"text-center mb-20",children:[(0,l.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"Direct URLs"}),(0,l.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-6 text-foreground",children:"No Redirect Pages. No Login Walls."}),(0,l.jsx)("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Unlike cloud storage sharing links, Upload to URL gives you direct URLs that work everywhere."})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:O.A,title:"Social Media",description:'Direct links display rich previews on Twitter, Facebook, LinkedIn, and Discord. No "Open in Drive" pages.'},{icon:F.A,title:"HTML Embedding",description:"Use URLs in <img src>, <video>, <a href> tags. Works in websites, emails, and CMS platforms."},{icon:M.A,title:"Automation",description:"Feed URLs directly into n8n, Zapier, Make, or custom API workflows without extra processing."},{icon:_.A,title:"Documentation",description:"Embed files in wikis, READMEs, Notion pages, and internal docs with clean, permanent URLs."}].map((e,t)=>(0,l.jsxs)("div",{className:"bg-card border border-border rounded-2xl p-7 shadow-soft hover:shadow-card hover:border-brand/40 transition-shadow duration-300 group",children:[(0,l.jsx)("div",{className:"w-11 h-11 rounded-lg bg-brand-tint flex items-center justify-center mb-5 transition-colors",children:(0,l.jsx)(e.icon,{className:"w-5 h-5 text-brand"})}),(0,l.jsx)("h3",{className:"text-lg font-bold text-foreground mb-2",children:e.title}),(0,l.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.description})]},t))})]})]}),(0,l.jsx)("section",{className:"py-24 md:py-32 bg-card relative grain-overlay","data-testid":"pricing-section",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)("div",{className:"h-96 animate-pulse bg-background"}),children:(0,l.jsx)(Z,{compact:!0,showFooter:!1,title:"Simple, Transparent Pricing",subt
2itle:"Start free. Upgrade when you need more. No hidden fees."})})})}),(0,l.jsx)("section",{className:"pt-24 md:pt-32 pb-8 md:pb-12 bg-background relative","data-testid":"faq-section",children:(0,l.jsxs)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"text-center mb-16",children:[(0,l.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"FAQ"}),(0,l.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-6 text-foreground",children:"Frequently Asked Questions"}),(0,l.jsx)("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Everything you need to know about Upload to URL"})]}),(0,l.jsx)(W.nD,{type:"single",collapsible:!0,className:"space-y-3",children:[{value:"formats",question:"What file formats are supported?",answer:(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("p",{children:["Upload to URL supports ",(0,l.jsx)("strong",{className:"text-foreground",children:"all common file formats"}),". Here's the full list:"]}),(0,l.jsx)("div",{className:"space-y-3",children:[{label:"\ud83d\uddbc\ufe0f Images",formats:["JPG","PNG","GIF","JFIF","AVIF","WebP","SVG","ICO","PSD","AI"]},{label:"\ud83c\udfa5 Videos",formats:["MP4","MOV","WebM","MPEG"]},{label:"\ud83c\udfb5 Audio",formats:["MP3","WAV","OGG","OGA","OPUS","M4A","MPGA","M3U"]},{label:"\ud83d\udcc4 Documents",formats:["PDF","DOCX","XLSX","ICS","LOG"]},{label:"\ud83d\udcbb Code & Data",formats:["JSON","XML","HTML","YAML","SQL","CSV","JSONL","TSV","RDP"]},{label:"\ud83d\udddc\ufe0f Archives",formats:["RAR","7Z","TAR","GZ","BIN"]}].map(e=>{let{label:t,formats:n}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs font-bold text-foreground uppercase tracking-wider mb-1.5",children:t}),(0,l.jsx)("div",{className:"flex flex-wrap gap-1.5",children:n.map(e=>(0,l.jsx)("span",{className:"inline-flex items-center px-2 py-0.5 rounded-md bg-brand-tint text-brand text-xs font-mono font-semibold border border-brand/20",children:e},e))})]},t)})}),(0,l.jsx)("p",{className:"text-sm",children:"If your system can send it over HTTP, we can host it and give you a direct URL."})]})},{value:"file-size",question:"What is the maximum file size I can upload?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("p",{children:"The maximum file size depends on your plan:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Free"})," - 5 MB (per upload) & 500 MB total storage"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Starter"})," (from $8/month) - 16 MB (per upload) & 10 GB total storage"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Pro"})," (from $29/month) - 32 MB (per upload) & 50 GB total storage"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Business"})," (from $74/month) - 100 MB (per upload) & 500 GB total storage"]})]}),(0,l.jsxs)("p",{children:["Need larger files? ",(0,l.jsx)("button",{onClick:()=>{var e,t,n;return null===(e=window.$zoho)||void 0===e||null===(t=e.salesiq)||void 0===t||null===(n=t.floatwindow)||void 0===n?void 0:n.visible("show")},className:"text-brand hover:underline font-semibold",children:"Contact us"})," and we can work out a custom plan for your use case."]})]})},{value:"expiry",question:"Can I configure the expiry time of my files?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("p",{children:"Yes. File retention depends on your plan:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Free"})," - 7-day retention"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Starter"})," - 90-day default retention"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Pro"})," - 365-day default retention"]})]}),(0,l.jsxs)("p",{children:["On paid plans, you can also set files to ",(0,l.jsx)("strong",{className:"text-foreground",children:"never expire"})," - so your URLs stay live for as long as you need them."]})]})},{value:"delete",question:"Can I delete my files anytime?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("p",{children:"Absolutely. We provide a delete API that lets you remove any of your uploaded files at any time, instantly."}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:["Once deleted, the file is ",(0,l.jsx)("strong",{className:"text-foreground",children:"permanently removed"})," from our storage and ",(0,l.jsx)(b,{children:"CDN"})]}),(0,l.jsx)("li",{children:"You have full control over your data"})]})]})},{value:"security",question:"What security practices do you follow?",answer:(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("p",{children:"We take security seriously. Here's what we do:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:["All files stored on ",(0,l.jsx)("strong",{className:"text-foreground",children:"AWS S3"})," with server-side encryption"]}),(0,l.jsxs)("li",{children:["Delivered through ",(0,l.jsx)("strong",{className:"text-foreground",children:"CloudFront CDN"})," over HTTPS"]}),(0,l.jsx)("li",{children:"API access authenticated via unique API keys"}),(0,l.jsx)("li",{children:"Delete your files at any time through our API"}
2),(0,l.jsx)("li",{children:"Infrastructure runs on AWS with enterprise-grade reliability and redundancy"}),(0,l.jsxs)("li",{children:["Fully ",(0,l.jsx)("strong",{className:"text-foreground",children:"GDPR Compliant"})," for data privacy and protection"]})]}),(0,l.jsxs)("p",{children:["Read more about our infrastructure guarantees on our ",(0,l.jsx)("a",{href:"/security",className:"text-brand hover:underline font-semibold",children:"Security & Trust"})," page."]})]})},{value:"integrations",question:"What integrations are supported?",answer:(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"font-bold text-foreground mb-2",children:"Live Integrations:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2 text-muted-foreground",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"REST API"})," - Works anywhere you can make an HTTP request."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"n8n"})," - Official Cloud Node."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Zapier"})," - App implementation available."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Make (Integromat)"})," - Direct integration."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Pipedream"})," - Connect your workflows seamlessly."]})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"font-bold text-foreground mb-2",children:"Coming Soon:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2 text-muted-foreground",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Airtable"})," - Fix those expiring attachment URLs."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Monday.com"})," - Public links for board files."]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"ClickUp"})," - Share task attachments directly."]})]})]})]})},{value:"cancel",question:"Can I cancel my subscription anytime?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("p",{children:["Yes, you can cancel your subscription at any time from your billing dashboard - ",(0,l.jsx)("strong",{className:"text-foreground",children:"no questions asked, no long-term contracts"}),"."]}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsx)("li",{children:"After cancellation, you'll continue to have access until the end of your current billing period"}),(0,l.jsxs)("li",{children:["Check our ",(0,l.jsx)("a",{href:"/refund",className:"text-brand hover:underline",children:"refund policy"})," for more details"]})]})]})},{value:"rate-limit",question:"Is there a rate limit on API requests?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("p",{children:"Each plan comes with a monthly upload quota:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Free"})," - 15 uploads/month"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Starter"})," - 1,000 uploads/month"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{className:"text-foreground",children:"Pro"})," - 6,000 uploads/month"]})]}),(0,l.jsxs)("p",{children:["Within those limits, you can upload as fast as your network allows - our API is optimized for high-speed automation workflows with ",(0,l.jsx)("strong",{className:"text-foreground",children:"sub-2-second response times"}),"."]})]})},{value:"support",question:"How do I contact support?",answer:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("p",{children:"You can reach our support team anytime:"}),(0,l.jsxs)("ul",{className:"list-disc list-inside space-y-1 ml-2",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("button",{onClick:()=>{var e,t,n;return null===(e=window.$zoho)||void 0===e||null===(t=e.salesiq)||void 0===t||null===(n=t.floatwindow)||void 0===n?void 0:n.visible("show")},className:"text-brand hover:underline font-semibold",children:"Chat with Support"})," directly on this page"]}),(0,l.jsxs)("li",{children:["Email us at ",(0,l.jsx)("strong",{className:"text-foreground",children:"[email protected]"})]}),(0,l.jsxs)("li",{children:["We typically respond within ",(0,l.jsx)("strong",{className:"text-foreground",children:"24 hours"})]}),(0,l.jsx)("li",{children:"Find us on LinkedIn and GitHub for community support and updates"})]})]})}].map(e=>(0,l.jsxs)(W.As,{value:e.value,className:"bg-card border border-border rounded-2xl px-6 overflow-hidden data-[state=open]:border-brand/40 transition-colors",children:[(0,l.jsx)(W.$m,{className:"text-base font-semibold text-foreground hover:no-underline hover:text-brand py-5 [&>svg]:text-brand",children:e.question}),(0,l.jsx)(W.ub,{className:"text-muted-foreground leading-relaxed pb-5",children:e.answer})]},e.value))})]})}),(0,l.jsxs)("section",{className:"pt-8 md:pt-12 pb-24 md:pb-32 bg-background relative overflow-hidden","data-testid":"cta-section",children:[(0,l.jsx)("div",{className:"absolute inset-0 grid-pattern opacity-20"}),(0,l.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-gradient-to-r from-brand/10 via-trans
2parent to-transparent rounded-full blur-3xl"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10",children:[(0,l.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold text-foreground mb-6",children:"Ready to Get Started?"}),(0,l.jsxs)("p",{className:"text-xl text-muted-foreground mb-10 max-w-2xl mx-auto",children:["Join developers worldwide using 'Upload to URL' for reliable, ",(0,l.jsx)(b,{children:"CDN"}),"-backed file hosting with direct public URLs."]}),(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,l.jsx)(i.wv,{when:"signed-out",children:(0,l.jsx)(i.Ny,{mode:"modal",children:(0,l.jsxs)(k.$,{className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-8 py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"get-started-button-cta",children:["Start Uploading Now",(0,l.jsx)(T.A,{className:"w-5 h-5 ml-2"})]})})}),(0,l.jsx)(i.wv,{when:"signed-in",children:(0,l.jsxs)(k.$,{onClick:()=>e("/dashboard"),className:"bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl px-8 py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95","data-testid":"dashboard-button-cta",children:["Go to Dashboard",(0,l.jsx)(T.A,{className:"w-5 h-5 ml-2"})]})}),(0,l.jsxs)("a",{href:"https://n8n.io/integrations/upload-to-url/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 bg-card hover:bg-accent text-foreground border border-border rounded-xl px-8 py-3.5 text-lg font-semibold transition-colors",children:[(0,l.jsx)(O.A,{className:"w-5 h-5"}),"n8n Integration"]})]})]})]}),(0,l.jsx)("section",{className:"pb-24 md:pb-32 bg-background relative","data-testid":"ask-ai-section",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,l.jsxs)("div",{className:"bg-card border border-border rounded-3xl p-8 md:p-12 shadow-soft grid md:grid-cols-2 gap-8 md:gap-10 items-center",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-3xl md:text-4xl font-extrabold tracking-tight text-foreground mb-3",children:"Scrolled so much, still not sure?"}),(0,l.jsx)("p",{className:"text-muted-foreground text-lg",children:"Let your favorite AI tell you if Upload to URL is the right fit."})]}),(0,l.jsx)("div",{className:"grid grid-cols-2 gap-3",children:p.map(e=>(0,l.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2.5 bg-background border border-border rounded-xl px-4 py-3.5 font-semibold text-sm text-foreground hover:border-brand/40 hover:shadow-card transition-all","data-testid":`ask-ai-${e.name.toLowerCase().replace(/\s+/g,"-")}`,children:[(0,l.jsx)("div",{className:`w-7 h-7 rounded-lg flex items-center justify-center flex-shrink-0 ${e.tint}`,children:(0,l.jsx)(e.icon,{className:"w-4 h-4"})}),e.name]},e.name))})]})})}),(0,l.jsx)(V.A,{})]})})}const ee=r.lazy(()=>Promise.all([n.e(986),n.e(398)]).then(n.bind(n,398))),te=r.lazy(()=>n.e(3).then(n.bind(n,8003))),ne=r.lazy(()=>Promise.all([n.e(788),n.e(274)]).then(n.bind(n,3274))),re=r.lazy(()=>n.e(997).then(n.bind(n,997))),oe=r.lazy(()=>n.e(362).then(n.bind(n,362))),ae=r.lazy(()=>n.e(51).then(n.bind(n,2051))),ie=r.lazy(()=>n.e(486).then(n.bind(n,7486))),se=r.lazy(()=>n.e(976).then(n.bind(n,2976))),le=r.lazy(()=>n.e(370).then(n.bind(n,6370))),ce=r.lazy(()=>n.e(599).then(n.bind(n,2599))),ue=r.lazy(()=>n.e(793).then(n.bind(n,9793))),de=r.lazy(()=>n.e(411).then(n.bind(n,4792))),pe=r.lazy(()=>n.e(488).then(n.bind(n,7488))),fe=r.lazy(()=>n.e(582).then(n.bind(n,1582))),he=r.lazy(()=>n.e(277).then(n.bind(n,1277))),me=r.lazy(()=>n.e(629).then(n.bind(n,6629))),ge=r.lazy(()=>Promise.all([n.e(788),n.e(879)]).then(n.bind(n,6879))),ye=r.lazy(()=>n.e(637).then(n.bind(n,9637))),be=r.lazy(()=>n.e(115).then(n.bind(n,1115)));function ve(e){let{children:t}=e;const{isLoaded:n,isSignedIn:r}=(0,i.Jd)();return n?r?(0,l.jsx)(l.Fragment,{children:t}):(0,l.jsx)(a.C5,{to:"/",replace:!0}):(0,l.jsx)(s.A,{message:"Authenticating..."})}function we(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y,{}),(0,l.jsx)(c,{}),(0,l.jsx)(d,{}),(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(s.A,{message:"Loading page..."}),children:(0,l.jsxs)(a.BV,{children:[(0,l.jsx)(a.qh,{path:"/",element:(0,l.jsx)(J,{})}),(0,l.jsx)(a.qh,{path:"/dashboard",element:(0,l.jsx)(ve,{children:(0,l.jsx)(ee,{})})}),(0,l.jsx)(a.qh,{path:"/dashboard/custom-domain",element:(0,l.jsx)(ve,{children:(0,l.jsx)(oe,{})})}),(0,l.jsx)(a.qh,{path:"/billing",element:(0,l.jsx)(ve,{children:(0,l.jsx)(te,{})})}),(0,l.jsx)(a.qh,{path:"/pricing",element:(0,l.jsx)(ne,{})}),(0,l.jsx)(a.qh,{path:"/privacy",element:(0,l.jsx)(ae,{})}),(0,l.jsx)(a.qh,{path:"/security",element:(0,l.jsx)(ue,{})}),(0,l.jsx)(a.qh,{path:"/terms",element:(0,l.jsx)(ie,{})}),(0,l.jsx)(a.qh,{path:"/refund",element:(0,l.jsx)(se,{})}),(0,l.jsx)(a.qh,{path:"/api-docs",element:(0,l.jsx)(pe,{})}),(0,l.jsx)(a.qh,{path:"/dashboard/api-docs",element:(0,l.jsx)(ve,{children:(0,l.jsx)(re,{})})}),(0,l.jsx)(a.qh,{path:"/integrations",element:(0,l.jsx)(fe,{})}),(0,l.jsx)(a.qh,{path:"/dashboard/integrations",element:(0,l.jsx)(ve,{children:(0,l.jsx)(ce,{})})}),(0,l.jsx)(a.qh,{path:"/dashboard/mcp",element:(0,l.jsx)(ve,{children:(0,l.jsx)(be,{})})}),(0,l.jsx)(a.qh,{path:"/dashboard/mcp-server",element:(0,l.jsx)(ve,{children:(0,l.jsx)(be,{})})}),(0,l.jsx)(a.qh,{path:"/integration",element:(0,l.jsx)(a.C5,{to:"/integrations",replace:!0})}),(0,l.jsx)(a.qh,{path:"/google-drive-direct-link-generator",element:(0,l.jsx)(de,{})}),(0,l.jsx)(a.qh,{path:"/faq",element:(0,l.jsx)(he,{})}),(0,l.jsx)(a.qh,{path:"/thank-you",element:(0,l.jsx)(me,{})}),(0,l.jsx)(a.qh,{path:"/mcp-server",element:(0,l.jsx)(ye,{})}),(0,l.jsx)(a.qh,{path:"/image-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/video-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/pdf-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/audio-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/html-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/vcf-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/hex-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/srt-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/vtt-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/ttf-to-url",element:(0,l.jsx)(ge,{})}),(0,l.jsx)(a.qh,{path:"/:slug",element:(0,l.jsx)(le,{})})]})}),(0,l.jsx)(v.l$,{position:"top-right"}),(0,l.jsx)(g,{}),(0,l.jsx)(m,{}),(0,l.jsx)(b,{})]})}const xe=function(){return(0,l.jsx)(a.Kd,{children:(0,l.jsx)(i.lJ,{publishableKey:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA",signInFallbackRedirectUrl:"/dashboard",signUpFallbackRedirectUrl:"/dashboard",children:(0,l.jsx)(w.N,{defaultTheme:"system",storageKey:"upload-to-url-theme",children:(0,l.jsx)(x.v,{children:(0,l.jsx)(we,{})})})})})};
2o.createRoot(document.getElementById("root")).render((0,l.jsx)(r.StrictMode,{children:(0,l.jsx)(xe,{})}))})(); 3//# sourceMappingURL=main.9bdf6509.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.