var pre=Object.defineProperty;var hre=(e,t,n)=>t in e?pre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ne=(e,t,n)=>(hre(e,typeof t!="symbol"?t+"":t,n),n);function JGe(){import("data:text/javascript,")}function mre(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const zM=Object.prototype.toString;function GM(e){switch(zM.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return $l(e,Error)}}function ap(e,t){return zM.call(e)===`[object ${t}]`}function WM(e){return ap(e,"ErrorEvent")}function iI(e){return ap(e,"DOMError")}function gre(e){return ap(e,"DOMException")}function Rl(e){return ap(e,"String")}function Jx(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function eC(e){return e===null||Jx(e)||typeof e!="object"&&typeof e!="function"}function Ef(e){return ap(e,"Object")}function Uy(e){return typeof Event<"u"&&$l(e,Event)}function vre(e){return typeof Element<"u"&&$l(e,Element)}function yre(e){return ap(e,"RegExp")}function zy(e){return Boolean(e&&e.then&&typeof e.then=="function")}function bre(e){return Ef(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function $l(e,t){try{return e instanceof t}catch(n){return!1}}function jM(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function of(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function oI(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const i=e[r];try{jM(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(o){n.push("[value cannot be serialized]")}}return n.join(t)}function Ere(e,t,n=!1){return Rl(e)?yre(t)?t.test(e):Rl(t)?n?e===t:e.includes(t):!1:!1}function f1(e,t=[],n=!1){return t.some(r=>Ere(e,r,n))}function Tre(e,t,n=250,r,i,o,a){if(!o.exception||!o.exception.values||!a||!$l(a.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=_re(A_(e,t,i,a.originalException,r,o.exception.values,s,0),n))}function A_(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let l=[...o];if($l(r[i],Error)){aI(a,s);const c=e(t,r[i]),d=l.length;sI(c,i,d,s),l=A_(e,t,n,r[i],i,[c,...l],c,d)}return Array.isArray(r.errors)&&r.errors.forEach((c,d)=>{if($l(c,Error)){aI(a,s);const p=e(t,c),h=l.length;sI(p,`errors[${d}]`,h,s),l=A_(e,t,n,c,i,[p,...l],p,h)}}),l}function aI(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function sI(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function _re(e,t){return e.map(n=>(n.value&&(n.value=of(n.value,t)),n))}const bn=globalThis;function tC(e,t,n){const r=n||bn,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const af=bn,Sre=80;function Tf(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let c;const d=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||Sre;for(;n&&o++<r&&(c=xre(n,d),!(c==="html"||o>1&&a+i.length*l+c.length>=p));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(s)}catch(n){return"<unknown>"}}function xre(e,t){const n=e,r=[];let i,o,a,s,l;if(!n||!n.tagName)return"";if(af.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter(p=>n.getAttribute(p)).map(p=>[p,n.getAttribute(p)]):null;if(c&&c.length)c.forEach(p=>{r.push(`[${p[0]}="${p[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Rl(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);const d=["aria-label","type","name","title","alt"];for(l=0;l<d.length;l++)a=d[l],s=n.getAttribute(a),s&&r.push(`[${a}="${s}"]`);return r.join("")}function Cre(){try{return af.document.location.href}catch(e){return""}}function wre(e){return af.document&&af.document.querySelector?af.document.querySelector(e):null}function VM(e){if(!af.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const sp=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Are="Sentry Logger ",I_=["debug","info","warn","error","log","assert","trace"],T9={};function S0(e){if(!("console"in bn))return e();const t=bn.console,n={},r=Object.keys(T9);r.forEach(i=>{const o=T9[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function Ire(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return sp?I_.forEach(n=>{t[n]=(...r)=>{e&&S0(()=>{bn.console[n](`${Are}[${n}]:`,...r)})}}):I_.forEach(n=>{t[n]=()=>{}}),t}const Ye=Ire(),Rre=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Pre(e){return e==="http"||e==="https"}function Gy(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${a}`}function Ore(e){const t=Rre.exec(e);if(!t){S0(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",o,a="",s]=t.slice(1);let l="",c=s;const d=c.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),c=d.pop()),c){const p=c.match(/^\d+/);p&&(c=p[0])}return KM({host:o,pass:i,path:l,projectId:c,port:a,protocol:n,publicKey:r})}function KM(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function kre(e){if(!sp)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(Ye.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?Pre(r)?t&&isNaN(parseInt(t,10))?(Ye.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(Ye.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(Ye.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Nre(e){const t=typeof e=="string"?Ore(e):KM(e);if(!(!t||!kre(t)))return t}class Ns extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function pi(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&qM(i,r),e[t]=i}function ss(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){sp&&Ye.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function qM(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ss(e,"__sentry_original__",t)}catch(n){}}function nC(e){return e.__sentry_original__}function Dre(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function YM(e){if(GM(e))return{message:e.message,name:e.name,stack:e.stack,...uI(e)};if(Uy(e)){const t={type:e.type,target:lI(e.target),currentTarget:lI(e.currentTarget),...uI(e)};return typeof CustomEvent<"u"&&$l(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function lI(e){try{return vre(e)?Tf(e):Object.prototype.toString.call(e)}catch(t){return"<unknown>"}}function uI(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Lre(e,t=40){const n=Object.keys(YM(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return of(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:of(i,t)}return""}function Bi(e){return R_(e,new Map)}function R_(e,t){if(Mre(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=R_(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(R_(i,t))}),r}return e}function Mre(e){if(!Ef(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch(t){return!0}}const XM=50,lp="?",cI=/\(error: (.*)\)/,dI=/captureMessage|captureException/;function QM(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{const o=[],a=n.split(`
`);for(let s=r;s<a.length;s++){const l=a[s];if(l.length>1024)continue;const c=cI.test(l)?l.replace(cI,"$1"):l;if(!c.match(/\S*Error: /)){for(const d of t){const p=d(c);if(p){o.push(p);break}}if(o.length>=XM+i)break}}return Fre(o.slice(i))}}function $re(e){return Array.isArray(e)?QM(...e):e}function Fre(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),dI.test(t[t.length-1].function||"")&&(t.pop(),dI.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,XM).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||lp}))}const EE="<anonymous>";function Fl(e){try{return!e||typeof e!="function"?EE:e.name||EE}catch(t){return EE}}const O5={},fI={};function U1(e,t){O5[e]=O5[e]||[],O5[e].push(t)}function z1(e,t){fI[e]||(t(),fI[e]=!0)}function es(e,t){const n=e&&O5[e];if(!!n)for(const r of n)try{r(t)}catch(i){sp&&Ye.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Fl(r)}
Error:`,i)}}function Bre(e){const t="console";U1(t,e),z1(t,Hre)}function Hre(){"console"in bn&&I_.forEach(function(e){e in bn.console&&pi(bn.console,e,function(t){return T9[e]=t,function(...n){es("console",{args:n,level:e});const i=T9[e];i&&i.apply(bn.console,n)}})})}const P_=bn;function ZM(){if(!("fetch"in P_))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function O_(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ure(){if(typeof EdgeRuntime=="string")return!0;if(!ZM())return!1;if(O_(P_.fetch))return!0;let e=!1;const t=P_.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=O_(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){sp&&Ye.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const JM=1e3;function x0(){return Date.now()/JM}function zre(){const{performance:e}=bn;if(!e||!e.now)return x0;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/JM}const uo=zre(),Ca=(()=>{const{performance:e}=bn;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,a=e.timing&&e.timing.navigationStart,l=typeof a=="number"?Math.abs(a+n-r):t,c=l<t;return o||c?i<=l?e.timeOrigin:a:r})();function e$(e){const t="fetch";U1(t,e),z1(t,Gre)}function Gre(){!Ure()||pi(bn,"fetch",function(e){return function(...t){const{method:n,url:r}=Wre(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:uo()*1e3};return es("fetch",{...i}),e.apply(bn,t).then(o=>{const a={...i,endTimestamp:uo()*1e3,response:o};return es("fetch",a),o},o=>{const a={...i,endTimestamp:uo()*1e3,error:o};throw es("fetch",a),o})}})}function k_(e,t){return!!e&&typeof e=="object"&&!!e[t]}function pI(e){return typeof e=="string"?e:e?k_(e,"url")?e.url:e.toString?e.toString():"":""}function Wre(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:pI(n),method:k_(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:pI(t),method:k_(t,"method")?String(t.method).toUpperCase():"GET"}}let hv=null;function t$(e){const t="error";U1(t,e),z1(t,jre)}function jre(){hv=bn.onerror,bn.onerror=function(e,t,n,r,i){return es("error",{column:r,error:i,line:n,msg:e,url:t}),hv&&!hv.__SENTRY_LOADER__?hv.apply(this,arguments):!1},bn.onerror.__SENTRY_INSTRUMENTED__=!0}let mv=null;function n$(e){const t="unhandledrejection";U1(t,e),z1(t,Vre)}function Vre(){mv=bn.onunhandledrejection,bn.onunhandledrejection=function(e){return es("unhandledrejection",e),mv&&!mv.__SENTRY_LOADER__?mv.apply(this,arguments):!0},bn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Kre(){return"npm"}function qre(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let o=0;o<t.length;o++)if(t[o]===i)return!0;return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function tr(){const e=bn,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function r$(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Xc(e){const{message:t,event_id:n}=e;if(t)return t;const r=r$(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function N_(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function Rm(e,t){const n=r$(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const o={...i&&i.data,...t.data};n.mechanism.data=o}}function hI(e){if(e&&e.__sentry_captured__)return!0;try{ss(e,"__sentry_captured__",!0)}catch(t){}return!1}function i$(e){return Array.isArray(e)?e:[e]}function Su(e,t=100,n=1/0){try{return D_("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function o$(e,t=3,n=100*1024){const r=Su(e,t);return Zre(r)>n?o$(e,t-1,n):r}function D_(e,t,n=1/0,r=1/0,i=qre()){const[o,a]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!Number.isNaN(t))return t;const s=Yre(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return s.replace("object ","");if(o(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const m=c.toJSON();return D_("",m,l-1,r,i)}catch(m){}const d=Array.isArray(t)?[]:{};let p=0;const h=YM(t);for(const m in h){if(!Object.prototype.hasOwnProperty.call(h,m))continue;if(p>=r){d[m]="[MaxProperties ~]";break}const v=h[m];d[m]=D_(m,v,l-1,r,i),p++}return a(t),d}function Yre(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(jM(t))return"[VueViewModel]";if(bre(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Fl(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=Xre(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Xre(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function Qre(e){return~-encodeURI(e).split(/%..|./).length}function Zre(e){return Qre(JSON.stringify(e))}var El;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(El||(El={}));function T1(e){return new sa(t=>{t(e)})}function _9(e){return new sa((t,n)=>{n(e)})}class sa{constructor(t){sa.prototype.__init.call(this),sa.prototype.__init2.call(this),sa.prototype.__init3.call(this),sa.prototype.__init4.call(this),this._state=El.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new sa((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(a){i(a)}},o=>{if(!n)i(o);else try{r(n(o))}catch(a){i(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new sa((n,r)=>{let i,o;return this.then(a=>{o=!1,i=a,t&&t()},a=>{o=!0,i=a,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult(El.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(El.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===El.PENDING){if(zy(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===El.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===El.RESOLVED&&n[1](this._value),this._state===El.REJECTED&&n[2](this._value),n[0]=!0)})}}}function Jre(e){const t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]}function i(a){if(!n())return _9(new Ns("Not adding Promise because buffer limit was reached."));const s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function o(a){return new sa((s,l)=>{let c=t.length;if(!c)return s(!0);const d=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(p=>{T1(p).then(()=>{--c||(clearTimeout(d),s(!0))},l)})})}return{$:t,add:i,drain:o}}function p1(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const eie=["fatal","error","warning","log","info","debug"];function tie(e){return e==="warn"?"warning":eie.includes(e)?e:"log"}const L_="baggage",a$="sentry-",nie=/^sentry-/,rie=8192;function iie(e){const t=oie(e);if(!t)return;const n=Object.entries(t).reduce((r,[i,o])=>{if(i.match(nie)){const a=i.slice(a$.length);r[a]=o}return r},{});if(Object.keys(n).length>0)return n}function s$(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${a$}${r}`]=i),n),{});return aie(t)}function oie(e){if(!(!e||!Rl(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=mI(n);for(const i of Object.keys(r))t[i]=r[i];return t},{}):mI(e)}function mI(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function aie(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=i===0?o:`${t},${o}`;return a.length>rie?(sp&&Ye.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):a},"")}const sie=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function lie(e){if(!e)return;const t=e.match(sie);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function uie(e,t){const n=lie(e),r=iie(t),{traceId:i,parentSpanId:o,parentSampled:a}=n||{};return n?{traceId:i||tr(),parentSpanId:o||tr().substring(16),spanId:tr().substring(16),sampled:a,dsc:r||{}}:{traceId:i||tr(),spanId:tr().substring(16)}}function rC(e=tr(),t=tr().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function up(e,t=[]){return[e,t]}function cie(e,t){const[n,r]=e;return[n,[...r,t]]}function gI(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function M_(e){return bn.__SENTRY__&&bn.__SENTRY__.encodePolyfill?bn.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function die(e){const[t,n]=e;let r=JSON.stringify(t);function i(o){typeof r=="string"?r=typeof o=="string"?r+o:[M_(r),o]:r.push(typeof o=="string"?M_(o):o)}for(const o of n){const[a,s]=o;if(i(`
${JSON.stringify(a)}
`),typeof s=="string"||s instanceof Uint8Array)i(s);else{let l;try{l=JSON.stringify(s)}catch(c){l=JSON.stringify(Su(s))}i(l)}}return typeof r=="string"?r:fie(r)}function fie(e){const t=e.reduce((i,o)=>i+o.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function pie(e){return[{type:"span"},e]}function hie(e){const t=typeof e.data=="string"?M_(e.data):e.data;return[Bi({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const mie={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function vI(e){return mie[e]}function l$(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function gie(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Gy(r)},...i&&{trace:Bi({...i})}}}function vie(e,t,n){const r=[{type:"client_report"},{timestamp:n||x0(),discarded_events:e}];return up(t?{dsn:t}:{},[r])}const yie=60*1e3;function bie(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?yie:r-t}function Eie(e,t){return e[t]||e.all||0}function Tie(e,t,n=Date.now()){return Eie(e,t)>n}function _ie(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const s of o.trim().split(",")){const[l,c,,,d]=s.split(":",5),p=parseInt(l,10),h=(isNaN(p)?60:p)*1e3;if(!c)i.all=r+h;else for(const m of c.split(";"))m==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(i[m]=r+h):i[m]=r+h}else a?i.all=r+bie(a,r):t===429&&(i.all=r+60*1e3);return i}function Sie(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...a)=>n.call(t,...a)),t=void 0)}return n}const gv=bn;function xie(){const e=gv.chrome,t=e&&e.app&&e.app.runtime,n="history"in gv&&!!gv.history.pushState&&!!gv.history.replaceState;return!t&&n}const ln=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function G1(){return Wy(bn),bn}function Wy(e){return e.__SENTRY__||(e.__SENTRY__={extensions:{}}),e.__SENTRY__}function Cie(e){const t=uo(),n={sid:tr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Aie(n)};return e&&_f(n,e),n}function _f(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||uo(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:tr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function wie(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),_f(e,n)}function Aie(e){return Bi({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const $_="_sentrySpan";function Pm(e,t){t?ss(e,$_,t):delete e[$_]}function S9(e){return e[$_]}const Iie=100;class iC{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=yI()}clone(){const t=new iC;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Pm(t,S9(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&_f(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,i]=n instanceof tc?[n.getScopeData(),n.getRequestSession()]:Ef(n)?[t,t.requestSession]:[],{tags:o,extra:a,user:s,contexts:l,level:c,fingerprint:d=[],propagationContext:p}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),c&&(this._level=c),d.length&&(this._fingerprint=d),p&&(this._propagationContext=p),i&&(this._requestSession=i),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Pm(this,void 0),this._attachments=[],this._propagationContext=yI(),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Iie;if(r<=0)return this;const i={timestamp:x0(),...t},o=this._breadcrumbs;return o.push(i),this._breadcrumbs=o.length>r?o.slice(-r):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:S9(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:tr();if(!this._client)return Ye.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r&&r.event_id?r.event_id:tr();if(!this._client)return Ye.warn("No client configured on scope - will not capture message!"),i;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:tr();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(Ye.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const tc=iC;function yI(){return{traceId:tr(),spanId:tr().substring(16)}}function Rie(){return tC("defaultCurrentScope",()=>new tc)}function Pie(){return tC("defaultIsolationScope",()=>new tc)}function _r(){const e=G1();return C0(e).getCurrentScope()}function Yl(){const e=G1();return C0(e).getIsolationScope()}function Oie(){return tC("globalScope",()=>new tc)}function u$(...e){const t=G1(),n=C0(t);if(e.length===2){const[r,i]=e;return r?n.withSetScope(r,i):n.withScope(i)}return n.withScope(e[0])}function Nn(){return _r().getClient()}class kie{constructor(t,n){let r;t?r=t:r=new tc;let i;n?i=n:i=new tc,this._stack=[{scope:r}],this._isolationScope=i}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(i){throw this._popScope(),i}return zy(r)?r.then(i=>(this._popScope(),i),i=>{throw this._popScope(),i}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}_popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}}function Sf(){const e=G1(),t=Wy(e);return t.hub||(t.hub=new kie(Rie(),Pie())),t.hub}function Nie(e){return Sf().withScope(e)}function Die(e,t){const n=Sf();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function bI(e){return Sf().withScope(()=>e(Sf().getIsolationScope()))}function Lie(){return{withIsolationScope:bI,withScope:Nie,withSetScope:Die,withSetIsolationScope:(e,t)=>bI(t),getCurrentScope:()=>Sf().getScope(),getIsolationScope:()=>Sf().getIsolationScope()}}function C0(e){const t=Wy(e);return t.acs?t.acs:Lie()}const Pu="sentry.source",c$="sentry.sample_rate",Om="sentry.op",zi="sentry.origin",F_="sentry.idle_span_finish_reason",oC="sentry.measurement_unit",aC="sentry.measurement_value",Mie="sentry.profile_id",d$="sentry.exclusive_time",$ie=0,f$=1,Yr=2;function Fie(e){if(e<400&&e>=100)return{code:f$};if(e>=400&&e<500)switch(e){case 401:return{code:Yr,message:"unauthenticated"};case 403:return{code:Yr,message:"permission_denied"};case 404:return{code:Yr,message:"not_found"};case 409:return{code:Yr,message:"already_exists"};case 413:return{code:Yr,message:"failed_precondition"};case 429:return{code:Yr,message:"resource_exhausted"};case 499:return{code:Yr,message:"cancelled"};default:return{code:Yr,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Yr,message:"unimplemented"};case 503:return{code:Yr,message:"unavailable"};case 504:return{code:Yr,message:"deadline_exceeded"};default:return{code:Yr,message:"internal_error"}}return{code:Yr,message:"unknown_error"}}function p$(e,t){e.setAttribute("http.response.status_code",t);const n=Fie(t);n.message!=="unknown_error"&&e.setStatus(n)}const sC="production",h$="_frozenDsc";function EI(e,t){ss(e,h$,t)}function jy(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=Bi({environment:n.environment||sC,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function W1(e){const t=Nn();if(!t)return{};const n=jy(kn(e).trace_id||"",t),r=co(e);if(!r)return n;const i=r[h$];if(i)return i;const o=kn(r),a=o.data||{},s=a[c$];s!=null&&(n.sample_rate=`${s}`);const l=a[Pu];return l&&l!=="url"&&(n.transaction=o.description),n.sampled=String(j1(r)),t.emit("createDsc",n),n}const m$=0,g$=1;function Bie(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:a,origin:s}=kn(e);return Bi({parent_span_id:o,span_id:t,trace_id:n,data:r,op:i,status:a,origin:s})}function Hie(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=kn(e);return Bi({parent_span_id:r,span_id:t,trace_id:n})}function v$(e){const{traceId:t,spanId:n}=e.spanContext(),r=j1(e);return rC(t,n,r)}function h1(e){return typeof e=="number"?TI(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?TI(e.getTime()):uo()}function TI(e){return e>9999999999?e/1e3:e}function kn(e){if(zie(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(Uie(e)){const{attributes:r,startTime:i,name:o,endTime:a,parentSpanId:s,status:l}=e;return Bi({span_id:t,trace_id:n,data:r,description:o,parent_span_id:s,start_timestamp:h1(i),timestamp:h1(a)||void 0,status:y$(l),op:r[Om],origin:r[zi],_metrics_summary:void 0})}return{span_id:t,trace_id:n}}catch(t){return{}}}function Uie(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function zie(e){return typeof e.getSpanJSON=="function"}function j1(e){const{traceFlags:t}=e.spanContext();return t===g$}function y$(e){if(!(!e||e.code===$ie))return e.code===f$?"ok":e.message||"unknown_error"}const Ou="_sentryChildSpans",B_="_sentryRootSpan";function b$(e,t){const n=e[B_]||e;ss(t,B_,n),e[Ou]&&e[Ou].size<1e3?e[Ou].add(t):ss(e,Ou,new Set([t]))}function Gie(e,t){e[Ou]&&e[Ou].delete(t)}function k5(e){const t=new Set;function n(r){if(!t.has(r)&&j1(r)){t.add(r);const i=r[Ou]?Array.from(r[Ou]):[];for(const o of i)n(o)}}return n(e),Array.from(t)}function co(e){return e[B_]||e}function Pa(){const e=G1(),t=C0(e);return t.getActiveSpan?t.getActiveSpan():S9(_r())}let _I=!1;function Wie(){_I||(_I=!0,t$(H_),n$(H_))}function H_(){const e=Pa(),t=e&&co(e);if(t){const n="internal_error";ln&&Ye.log(`[Tracing] Root span: ${n} -> Global error occured`),t.setStatus({code:Yr,message:n})}}H_.tag="sentry_tracingErrorCallback";const E$="_sentryScope",T$="_sentryIsolationScope";function jie(e,t,n){e&&(ss(e,T$,n),ss(e,E$,t))}function SI(e){return{scope:e[E$],isolationScope:e[T$]}}function nc(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||Vie();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}function Vie(){const e=Nn();return e&&e.getOptions()}class cp{constructor(t={}){this._traceId=t.traceId||tr(),this._spanId=t.spanId||tr().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:m$}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}}function Kie(e){if(!ln)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=kn(e),{spanId:i}=e.spanContext(),o=j1(e),a=co(e),s=a===e,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&c.push(`parent ID: ${r}`),!s){const{op:d,description:p}=kn(a);c.push(`root ID: ${a.spanContext().spanId}`),d&&c.push(`root op: ${d}`),p&&c.push(`root description: ${p}`)}Ye.log(`${l}
  ${c.join(`
  `)}`)}function qie(e){if(!ln)return;const{description:t="< unknown name >",op:n="< unknown op >"}=kn(e),{spanId:r}=e.spanContext(),o=co(e)===e,a=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;Ye.log(a)}function _$(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){ln&&Ye.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function Yie(e,t){if(!nc(e))return[!1];let n;typeof e.tracesSampler=="function"?n=e.tracesSampler(t):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"?n=e.tracesSampleRate:n=1;const r=_$(n);return r===void 0?(ln&&Ye.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(ln&&Ye.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,r]):(ln&&Ye.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,r])}function Xie(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Qie(e,t,n,r){const i=l$(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Gy(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return up(o,[a])}function Zie(e,t,n,r){const i=l$(n),o=e.type&&e.type!=="replay_event"?e.type:"event";Xie(e,n&&n.sdk);const a=gie(e,i,r,t);return delete e.sdkProcessingMetadata,up(a,[[{type:o},e]])}function Jie(e,t){function n(l){return!!l.trace_id&&!!l.public_key}const r=W1(e[0]),i={sent_at:new Date().toISOString(),...n(r)&&{trace:r}},o=t&&t.getOptions().beforeSendSpan,a=o?l=>o(kn(l)):l=>kn(l),s=[];for(const l of e){const c=a(l);c&&s.push(pie(c))}return up(i,s)}function eoe(e,t,n){const r=Pa(),i=r&&co(r);i&&i.addEvent(e,{[aC]:t,[oC]:n})}function xI(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},i=r[oC],o=r[aC];typeof i=="string"&&typeof o=="number"&&(t[n.name]={value:o,unit:i})}),t}class lC{constructor(t={}){this._traceId=t.traceId||tr(),this._spanId=t.spanId||tr().substring(16),this._startTime=t.startTimestamp||uo(),this._attributes={},this.setAttributes({[zi]:"manual",[Om]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?g$:m$}}setAttribute(t,n){n===void 0?delete this._attributes[t]:this._attributes[t]=n}setAttributes(t){Object.keys(t).forEach(n=>this.setAttribute(n,t[n]))}updateStartTime(t){this._startTime=h1(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=h1(t),qie(this),this._onSpanEnded())}getSpanJSON(){return Bi({data:this._attributes,description:this._name,op:this._attributes[Om],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:y$(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[zi],_metrics_summary:void 0,profile_id:this._attributes[Mie],exclusive_time:this._attributes[d$],measurements:xI(this._events),is_segment:this._isStandaloneSpan&&co(this)===this||void 0,segment_id:this._isStandaloneSpan?co(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){ln&&Ye.log("[Tracing] Adding an event to span:",t);const i=CI(n)?n:r||uo(),o=CI(n)?{}:n||{},a={name:t,time:h1(i),attributes:o};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=Nn();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===co(this)))return;if(this._isStandaloneSpan){noe(Jie([this],t));return}const r=this._convertSpanToTransaction();r&&(SI(this).scope||_r()).captureEvent(r)}_convertSpanToTransaction(){if(!wI(kn(this)))return;this._name||(ln&&Ye.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=SI(this),i=(t||_r()).getClient()||Nn();if(this._sampled!==!0){ln&&Ye.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),i&&i.recordDroppedEvent("sample_rate","transaction");return}const a=k5(this).filter(p=>p!==this&&!toe(p)).map(p=>kn(p)).filter(wI),s=this._attributes[Pu],l={contexts:{trace:Bie(this)},spans:a,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...Bi({dynamicSamplingContext:W1(this)})},_metrics_summary:void 0,...s&&{transaction_info:{source:s}}},c=xI(this._events);return c&&Object.keys(c).length&&(ln&&Ye.log("[Measurements] Adding measurements to transaction",JSON.stringify(c,void 0,2)),l.measurements=c),l}}function CI(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function wI(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function toe(e){return e instanceof lC&&e.isStandaloneSpan()}function noe(e){const t=Nn();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}const r=t.getTransport();r&&r.send(e).then(null,i=>{ln&&Ye.error("Error while sending span:",i)})}const S$="__SENTRY_SUPPRESS_TRACING__";function V1(e){const t=x$();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=ooe(e),r=e.scope||_r(),i=soe(r);return e.onlyIfParent&&!i?new cp:ioe({parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function roe(e,t){const n=x$();return n.withActiveSpan?n.withActiveSpan(e,t):u$(r=>(Pm(r,e||void 0),t(r)))}function ioe({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){if(!nc())return new cp;const i=Yl();let o;if(e&&!n)o=aoe(e,r,t),b$(e,o);else if(e){const a=W1(e),{traceId:s,spanId:l}=e.spanContext(),c=j1(e);o=AI({traceId:s,parentSpanId:l,...t},r,c),EI(o,a)}else{const{traceId:a,dsc:s,parentSpanId:l,sampled:c}={...i.getPropagationContext(),...r.getPropagationContext()};o=AI({traceId:a,parentSpanId:l,...t},r,c),s&&EI(o,s)}return Kie(o),jie(o,r,i),o}function ooe(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=h1(e.startTime),delete r.startTime,r}return n}function x$(){const e=G1();return C0(e)}function AI(e,t,n){const r=Nn(),i=r&&r.getOptions()||{},{name:o="",attributes:a}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[S$]?[!1]:Yie(i,{name:o,parentSampled:n,attributes:a,transactionContext:{name:o,parentSampled:n}}),c=new lC({...e,attributes:{[Pu]:"custom",...e.attributes},sampled:s});return l!==void 0&&c.setAttribute(c$,l),r&&r.emit("spanStart",c),c}function aoe(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),o=t.getScopeData().sdkProcessingMetadata[S$]?!1:j1(e),a=o?new lC({...n,parentSpanId:r,traceId:i,sampled:o}):new cp({traceId:i});b$(e,a);const s=Nn();return s&&(s.emit("spanStart",a),n.endTimestamp&&s.emit("spanEnd",a)),a}function soe(e){const t=S9(e);if(!t)return;const n=Nn();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?co(t):t}const N5={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},loe="heartbeatFailed",uoe="idleTimeout",coe="finalTimeout",doe="externalFinish";function C$(e,t={}){const n=new Map;let r=!1,i,o=doe,a=!t.disableAutoFinish;const{idleTimeout:s=N5.idleTimeout,finalTimeout:l=N5.finalTimeout,childSpanTimeout:c=N5.childSpanTimeout,beforeSpanEnd:d}=t,p=Nn();if(!p||!nc())return new cp;const h=_r(),m=Pa(),v=foe(e);function y(A=uo()){const R=k5(v).filter(Y=>Y!==v);if(!R.length){v.end(A);return}const N=R.map(Y=>kn(Y).timestamp).filter(Y=>!!Y),F=N.length?Math.max(...N):void 0,L=h1(A),H=kn(v).start_timestamp,j=Math.min(H?H+l/1e3:1/0,Math.max(H||-1/0,Math.min(L,F||1/0)));v.end(j)}function x(){i&&(clearTimeout(i),i=void 0)}function b(A){x(),i=setTimeout(()=>{!r&&n.size===0&&a&&(o=uoe,y(A))},s)}function _(A){i=setTimeout(()=>{!r&&a&&(o=loe,y(A))},c)}function S(A){x(),n.set(A,!0);const R=uo();_(R+c/1e3)}function C(A){if(n.has(A)&&n.delete(A),n.size===0){const R=uo();b(R+s/1e3)}}function O(){r=!0,n.clear(),d&&d(v),Pm(h,m);const A=kn(v),{timestamp:R,start_timestamp:N}=A;if(!R||!N)return;(A.data||{})[F_]||v.setAttribute(F_,o),Ye.log(`[Tracing] Idle span "${A.op}" finished`);const L=k5(v).filter(j=>j!==v);let H=0;L.forEach(j=>{j.isRecording()&&(j.setStatus({code:Yr,message:"cancelled"}),j.end(R),ln&&Ye.log("[Tracing] Cancelling span since span ended early",JSON.stringify(j,void 0,2)));const Y=kn(j),{timestamp:K=0,start_timestamp:Z=0}=Y,ne=Z<=R,oe=(l+s)/1e3,z=K-Z<oe;if(ln){const Q=JSON.stringify(j,void 0,2);ne?z||Ye.log("[Tracing] Discarding span since it finished after idle span final timeout",Q):Ye.log("[Tracing] Discarding span since it happened after idle span was finished",Q)}(!z||!ne)&&(Gie(v,j),H++)}),H>0&&v.setAttribute("sentry.idle_span_discarded_spans",H)}return p.on("spanStart",A=>{if(r||A===v||!!kn(A).timestamp)return;k5(v).includes(A)&&S(A.spanContext().spanId)}),p.on("spanEnd",A=>{r||(C(A.spanContext().spanId),A===v&&O())}),p.on("idleSpanEnableAutoFinish",A=>{A===v&&(a=!0,b(),n.size&&_())}),t.disableAutoFinish||b(),setTimeout(()=>{r||(v.setStatus({code:Yr,message:"deadline_exceeded"}),o=coe,y())},l),v}function foe(e){const t=V1(e);return Pm(_r(),t),ln&&Ye.log("[Tracing] Started span is an idle span"),t}function U_(e,t,n,r=0){return new sa((i,o)=>{const a=e[r];if(t===null||typeof a!="function")i(t);else{const s=a({...t},n);ln&&a.id&&s===null&&Ye.log(`Event processor "${a.id}" dropped event`),zy(s)?s.then(l=>U_(e,l,n,r+1).then(i)).then(null,o):U_(e,s,n,r+1).then(i).then(null,o)}})}function poe(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;hoe(e,t),r&&voe(e,r),yoe(e,n),moe(e,i),goe(e,o)}function II(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:d,attachments:p,propagationContext:h,transactionName:m,span:v}=t;Zp(e,"extra",n),Zp(e,"tags",r),Zp(e,"user",i),Zp(e,"contexts",o),Zp(e,"sdkProcessingMetadata",s),a&&(e.level=a),m&&(e.transactionName=m),v&&(e.span=v),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function Zp(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function hoe(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=Bi(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=Bi(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const d=Bi(i);d&&Object.keys(d).length&&(e.user={...d,...e.user});const p=Bi(o);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),a&&(e.level=a),s&&e.type!=="transaction"&&(e.transaction=s)}function moe(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function goe(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function voe(e,t){e.contexts={trace:Hie(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:W1(t),...e.sdkProcessingMetadata};const n=co(t),r=kn(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function yoe(e,t){e.fingerprint=e.fingerprint?i$(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function boe(e,t,n,r,i,o){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||tr(),timestamp:t.timestamp||x0()},c=n.integrations||e.integrations.map(x=>x.name);Eoe(l,e),Soe(l,c),t.type===void 0&&Toe(l,e.stackParser);const d=Coe(r,n.captureContext);n.mechanism&&Rm(l,n.mechanism);const p=i?i.getEventProcessors():[],h=Oie().getScopeData();if(o){const x=o.getScopeData();II(h,x)}if(d){const x=d.getScopeData();II(h,x)}const m=[...n.attachments||[],...h.attachments];m.length&&(n.attachments=m),poe(l,h);const v=[...p,...h.eventProcessors];return U_(v,l,n).then(x=>(x&&_oe(x),typeof a=="number"&&a>0?xoe(x,a,s):x))}function Eoe(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:sC),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=of(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=of(a.value,o));const s=e.request;s&&s.url&&(s.url=of(s.url,o))}const RI=new WeakMap;function Toe(e,t){const n=bn._sentryDebugIds;if(!n)return;let r;const i=RI.get(t);i?r=i:(r=new Map,RI.set(t,r));const o=Object.keys(n).reduce((a,s)=>{let l;const c=r.get(s);c?l=c:(l=t(s),r.set(s,l));for(let d=l.length-1;d>=0;d--){const p=l[d];if(p.filename){a[p.filename]=n[s];break}}return a},{});try{e.exception.values.forEach(a=>{a.stacktrace.frames.forEach(s=>{s.filename&&(s.debug_id=o[s.filename])})})}catch(a){}}function _oe(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch(r){}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function Soe(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function xoe(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:Su(i.data,t,n)}}))},...e.user&&{user:Su(e.user,t,n)},...e.contexts&&{contexts:Su(e.contexts,t,n)},...e.extra&&{extra:Su(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Su(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>({...i,...i.data&&{data:Su(i.data,t,n)}}))),r}function Coe(e,t){if(!t)return e;const n=e?e.clone():new tc;return n.update(t),n}function woe(e){if(!!e)return Aoe(e)?{captureContext:e}:Roe(e)?{captureContext:e}:e}function Aoe(e){return e instanceof tc||typeof e=="function"}const Ioe=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Roe(e){return Object.keys(e).some(t=>Ioe.includes(t))}function Poe(e,t){return _r().captureException(e,woe(t))}function w$(e,t){return _r().captureEvent(e,t)}function PI(e){const t=Nn(),n=Yl(),r=_r(),{release:i,environment:o=sC}=t&&t.getOptions()||{},{userAgent:a}=bn.navigator||{},s=Cie({release:i,environment:o,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&l.status==="ok"&&_f(l,{status:"exited"}),A$(),n.setSession(s),r.setSession(s),s}function A$(){const e=Yl(),t=_r(),n=t.getSession()||e.getSession();n&&wie(n),I$(),e.setSession(),t.setSession()}function I$(){const e=Yl(),t=_r(),n=Nn(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function OI(e=!1){if(e){A$();return}I$()}const Ooe="7";function koe(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Noe(e){return`${koe(e)}${e.projectId}/envelope/`}function Doe(e,t){return Dre({sentry_key:e.publicKey,sentry_version:Ooe,...t&&{sentry_client:`${t.name}/${t.version}`}})}function Loe(e,t,n){return t||`${Noe(e)}?${Doe(e,n)}`}const kI=[];function Moe(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function $oe(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=i$(n(t)):r=t;const i=Moe(r),o=Boe(i,a=>a.name==="Debug");if(o!==-1){const[a]=i.splice(o,1);i.push(a)}return i}function Foe(e,t){const n={};return t.forEach(r=>{r&&R$(e,r,n)}),n}function NI(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function R$(e,t,n){if(n[t.name]){ln&&Ye.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,kI.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),kI.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,o)=>r(i,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),i=Object.assign((o,a)=>r(o,a,e),{id:t.name});e.addEventProcessor(i)}ln&&Ye.log(`Integration installed: ${t.name}`)}function Boe(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}const DI="Not capturing exception because it's already been captured.";class Hoe{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=Nre(t.dsn):ln&&Ye.warn("No DSN provided, client will not send events."),this._dsn){const n=Loe(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){const i=tr();if(hI(t))return ln&&Ye.log(DI),i;const o={event_id:i,...n};return this._process(this.eventFromException(t,o).then(a=>this._captureEvent(a,o,r))),o.event_id}captureMessage(t,n,r,i){const o={event_id:tr(),...r},a=Jx(t)?t:String(t),s=eC(t)?this.eventFromMessage(a,n,o):this.eventFromException(t,o);return this._process(s.then(l=>this._captureEvent(l,o,i))),o.event_id}captureEvent(t,n,r){const i=tr();if(n&&n.originalException&&hI(n.originalException))return ln&&Ye.log(DI),i;const o={event_id:i,...n},s=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,o,s||r)),o.event_id}captureSession(t){typeof t.release!="string"?ln&&Ye.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),_f(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i))):T1(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];R$(this,t,this._integrations),n||NI(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=Zie(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=cie(r,hie(o));const i=this.sendEnvelope(r);i&&i.then(o=>this.emit("afterSendEvent",t,o),null)}sendSession(t){const n=Qie(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=`${t}:${n}`;ln&&Ye.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(ln&&Ye.error("Error while sending event:",n),n)):(ln&&Ye.error("Transport disabled"),T1({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Foe(this,t),NI(this,t)}_updateSessionFromEvent(t,n){let r=!1,i=!1;const o=n.exception&&n.exception.values;if(o){i=!0;for(const l of o){const c=l.mechanism;if(c&&c.handled===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(_f(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new sa(n=>{let r=0;const i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,i=Yl()){const o=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a.length>0&&(n.integrations=a),this.emit("preprocessEvent",t,n),t.type||i.setLastEventId(t.event_id||n.event_id),boe(o,t,n,r,this,i).then(s=>{if(s===null)return s;const l={...i.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(s.contexts&&s.contexts.trace)&&l){const{traceId:d,spanId:p,parentSpanId:h,dsc:m}=l;s.contexts={trace:Bi({trace_id:d,span_id:p,parent_span_id:h}),...s.contexts};const v=m||jy(d,this);s.sdkProcessingMetadata={dynamicSamplingContext:v,...s.sdkProcessingMetadata}}return s})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(ln){const o=i;o.logLevel==="log"?Ye.log(o.message):Ye.warn(o)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:o}=i,a=O$(t),s=P$(t),l=t.type||"error",c=`before send for type \`${l}\``,d=typeof o>"u"?void 0:_$(o);if(s&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),_9(new Ns(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const p=l==="replay_event"?"replay":l,m=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,m).then(v=>{if(v===null)throw this.recordDroppedEvent("event_processor",p,t),new Ns("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return v;const x=zoe(i,v,n);return Uoe(x,c)}).then(v=>{if(v===null)throw this.recordDroppedEvent("before_send",p,t),new Ns(`${c} returned \`null\`, will not send event.`,"log");const y=r&&r.getSession();!a&&y&&this._updateSessionFromEvent(y,v);const x=v.transaction_info;if(a&&x&&v.transaction!==t.transaction){const b="custom";v.transaction_info={...x,source:b}}return this.sendEvent(v,n),v}).then(null,v=>{throw v instanceof Ns?v:(this.captureException(v,{data:{__sentry__:!0},originalException:v}),new Ns(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${v}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function Uoe(e,t){const n=`${t} must return \`null\` or a valid event.`;if(zy(e))return e.then(r=>{if(!Ef(r)&&r!==null)throw new Ns(n);return r},r=>{throw new Ns(`${t} rejected with ${r}`)});if(!Ef(e)&&e!==null)throw new Ns(n);return e}function zoe(e,t,n){const{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:o}=e;if(P$(t)&&r)return r(t,n);if(O$(t)){if(t.spans&&o){const a=[];for(const s of t.spans){const l=o(s);l&&a.push(l)}t.spans=a}if(i)return i(t,n)}return t}function P$(e){return e.type===void 0}function O$(e){return e.type==="transaction"}function Goe(e,t){t.debug===!0&&(ln?Ye.enable():S0(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),_r().update(t.initialScope);const r=new e(t);Woe(r),r.init()}function Woe(e){_r().setClient(e),joe(e)}function joe(e){const t=Wy(G1());t.hub&&typeof t.hub.getStackTop=="function"&&(t.hub.getStackTop().client=e)}const Voe=64;function Koe(e,t,n=Jre(e.bufferSize||Voe)){let r={};const i=a=>n.drain(a);function o(a){const s=[];if(gI(a,(p,h)=>{const m=vI(h);if(Tie(r,m)){const v=LI(p,h);e.recordDroppedEvent("ratelimit_backoff",m,v)}else s.push(p)}),s.length===0)return T1({});const l=up(a[0],s),c=p=>{gI(l,(h,m)=>{const v=LI(h,m);e.recordDroppedEvent(p,vI(m),v)})},d=()=>t({body:die(l)}).then(p=>(p.statusCode!==void 0&&(p.statusCode<200||p.statusCode>=300)&&ln&&Ye.warn(`Sentry responded with status code ${p.statusCode} to sent event.`),r=_ie(r,p),p),p=>{throw c("network_error"),p});return n.add(d).then(p=>p,p=>{if(p instanceof Ns)return ln&&Ye.error("Skipped sending event because buffer is full."),c("queue_overflow"),T1({});throw p})}return{send:o,flush:i}}function LI(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const MI="8.2.1";function k$(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:MI})),version:MI}),e._metadata=i}const qoe=100;function _1(e,t){const n=Nn(),r=Yl();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=qoe}=n.getOptions();if(o<=0)return;const s={timestamp:x0(),...e},l=i?S0(()=>i(s,t)):s;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,o))}let $I;const Yoe="FunctionToString",FI=new WeakMap,Xoe=()=>({name:Yoe,setupOnce(){$I=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=nC(this),n=FI.has(Nn())&&t!==void 0?t:this;return $I.apply(n,e)}}catch(e){}},setup(e){FI.set(e,!0)}}),Qoe=Xoe,Zoe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],Joe="InboundFilters",eae=(e={})=>({name:Joe,processEvent(t,n,r){const i=r.getOptions(),o=nae(e,i);return rae(t,o)?null:t}}),tae=eae;function nae(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Zoe],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function rae(e,t){return t.ignoreInternal&&uae(e)?(ln&&Ye.warn(`Event dropped due to being internal Sentry Error.
Event: ${Xc(e)}`),!0):iae(e,t.ignoreErrors)?(ln&&Ye.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${Xc(e)}`),!0):oae(e,t.ignoreTransactions)?(ln&&Ye.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${Xc(e)}`),!0):aae(e,t.denyUrls)?(ln&&Ye.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${Xc(e)}.
Url: ${x9(e)}`),!0):sae(e,t.allowUrls)?!1:(ln&&Ye.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${Xc(e)}.
Url: ${x9(e)}`),!0)}function iae(e,t){return e.type||!t||!t.length?!1:lae(e).some(n=>f1(n,t))}function oae(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?f1(n,t):!1}function aae(e,t){if(!t||!t.length)return!1;const n=x9(e);return n?f1(n,t):!1}function sae(e,t){if(!t||!t.length)return!0;const n=x9(e);return n?f1(n,t):!0}function lae(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(r){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}function uae(e){try{return e.exception.values[0].type==="SentryError"}catch(t){}return!1}function cae(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function x9(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?cae(t):null}catch(t){return ln&&Ye.error(`Cannot extract url for event ${Xc(e)}`),null}}const dae="Dedupe",fae=()=>{let e;return{name:dae,processEvent(t){if(t.type)return t;try{if(hae(t,e))return ln&&Ye.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}},pae=fae;function hae(e,t){return t?!!(mae(e,t)||gae(e,t)):!1}function mae(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!D$(e,t)||!N$(e,t))}function gae(e,t){const n=BI(t),r=BI(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!D$(e,t)||!N$(e,t))}function N$(e,t){let n=HI(e),r=HI(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0}function D$(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch(i){return!1}}function BI(e){return e.exception&&e.exception.values&&e.exception.values[0]}function HI(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}function vae(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;const o=nc()&&t(e.fetchData.url);if(e.endTimestamp&&o){const v=e.fetchData.__span;if(!v)return;const y=r[v];y&&(Eae(y,e),delete r[v]);return}const a=_r(),s=Nn(),{method:l,url:c}=e.fetchData,d=bae(c),p=d?p1(d).host:void 0,h=!!Pa(),m=o&&h?V1({name:`${l} ${c}`,attributes:{url:c,type:"fetch","http.method":l,"http.url":d,"server.address":p,[zi]:i,[Om]:"http.client"}}):new cp;if(e.fetchData.__span=m.spanContext().spanId,r[m.spanContext().spanId]=m,n(e.fetchData.url)&&s){const v=e.args[0];e.args[1]=e.args[1]||{};const y=e.args[1];y.headers=yae(v,s,a,y,nc()&&h?m:void 0)}return m}function yae(e,t,n,r,i){const o=Yl(),{traceId:a,spanId:s,sampled:l,dsc:c}={...o.getPropagationContext(),...n.getPropagationContext()},d=i?v$(i):rC(a,s,l),p=s$(c||(i?W1(i):jy(a,t))),h=r.headers||(typeof Request<"u"&&$l(e,Request)?e.headers:void 0);if(h)if(typeof Headers<"u"&&$l(h,Headers)){const m=new Headers(h);return m.append("sentry-trace",d),p&&m.append(L_,p),m}else if(Array.isArray(h)){const m=[...h,["sentry-trace",d]];return p&&m.push([L_,p]),m}else{const m="baggage"in h?h.baggage:void 0,v=[];return Array.isArray(m)?v.push(...m):m&&v.push(m),p&&v.push(p),{...h,"sentry-trace":d,baggage:v.length>0?v.join(","):void 0}}else return{"sentry-trace":d,baggage:p}}function bae(e){try{return new URL(e).href}catch(t){return}}function Eae(e,t){if(t.response){p$(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus({code:Yr,message:"internal_error"});e.end()}const Lt=bn;let z_=0;function L$(){return z_>0}function Tae(){z_++,setTimeout(()=>{z_--})}function xf(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(nC(e))return e}catch(i){return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const o=i.map(a=>xf(a,t));return e.apply(this,o)}catch(o){throw Tae(),u$(a=>{a.addEventProcessor(s=>(t.mechanism&&(N_(s,void 0,void 0),Rm(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),Poe(o)}),o}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch(i){}qM(r,e),ss(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch(i){}return r}const Hi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function uC(e,t){const n=cC(e,t),r={type:t&&t.name,value:wae(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function _ae(e,t,n,r){const i=Nn(),o=i&&i.getOptions().normalizeDepth,a=Oae(t),s={__serialized__:o$(t,o)};if(a)return{exception:{values:[uC(e,a)]},extra:s};const l={exception:{values:[{type:Uy(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Rae(t,{isUnhandledRejection:r})}]},extra:s};if(n){const c=cC(e,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function TE(e,t){return{exception:{values:[uC(e,t)]}}}function cC(e,t){const n=t.stacktrace||t.stack||"",r=xae(t),i=Cae(t);try{return e(n,r,i)}catch(o){}return[]}const Sae=/Minified React error #\d+;/i;function xae(e){return e&&Sae.test(e.message)?1:0}function Cae(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function wae(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Aae(e,t,n,r){const i=n&&n.syntheticException||void 0,o=dC(e,t,i,r);return Rm(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),T1(o)}function Iae(e,t,n="info",r,i){const o=r&&r.syntheticException||void 0,a=G_(e,t,o,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),T1(a)}function dC(e,t,n,r,i){let o;if(WM(t)&&t.error)return TE(e,t.error);if(iI(t)||gre(t)){const a=t;if("stack"in t)o=TE(e,t);else{const s=a.name||(iI(a)?"DOMError":"DOMException"),l=a.message?`${s}: ${a.message}`:s;o=G_(e,l,n,r),N_(o,l)}return"code"in a&&(o.tags={...o.tags,"DOMException.code":`${a.code}`}),o}return GM(t)?TE(e,t):Ef(t)||Uy(t)?(o=_ae(e,t,n,i),Rm(o,{synthetic:!0}),o):(o=G_(e,t,n,r),N_(o,`${t}`,void 0),Rm(o,{synthetic:!0}),o)}function G_(e,t,n,r){const i={};if(r&&n){const o=cC(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}if(Jx(t)){const{__sentry_template_string__:o,__sentry_template_values__:a}=t;return i.logentry={message:o,params:a},i}return i.message=t,i}function Rae(e,{isUnhandledRejection:t}){const n=Lre(e),r=t?"promise rejection":"exception";return WM(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Uy(e)?`Event \`${Pae(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Pae(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}function Oae(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}function kae(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:Gy(r)}},o=Nae(e);return up(i,[o])}function Nae(e){return[{type:"user_report"},e]}class Dae extends Hoe{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=Lt.SENTRY_SDK_SOURCE||Kre();k$(n,"browser",["browser"],r),super(n),n.sendClientReports&&Lt.document&&Lt.document.addEventListener("visibilitychange",()=>{Lt.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return Aae(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return Iae(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Hi&&Ye.warn("SDK not enabled, will not capture user feedback.");return}const n=kae(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){Hi&&Ye.log("No outcomes to send");return}if(!this._dsn){Hi&&Ye.log("No dsn provided, will not send outcomes");return}Hi&&Ye.log("Sending outcomes:",t);const n=vie(t,this._options.tunnel&&Gy(this._dsn));this.sendEnvelope(n)}}let Ph;function Lae(){if(Ph)return Ph;if(O_(Lt.fetch))return Ph=Lt.fetch.bind(Lt);const e=Lt.document;let t=Lt.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){Hi&&Ye.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}try{return Ph=t.bind(Lt)}catch(n){}}function UI(){Ph=void 0}function Mae(e,t=Lae()){let n=0,r=0;function i(o){const a=o.body.length;n+=a,r++;const s={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return UI(),_9("No fetch implementation available");try{return t(e.url,s).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return UI(),n-=a,r--,_9(l)}}return Koe(e,i)}const $ae=30,Fae=50;function M$(e,t,n,r){const i={filename:e,function:t==="<anonymous>"?lp:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const Bae=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Hae=/\((\S*)(?::(\d+))(?::(\d+))\)/,Uae=e=>{const t=Bae.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const o=Hae.exec(t[2]);o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3])}const[r,i]=$$(t[1]||lp,t[2]);return M$(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},zae=[$ae,Uae],Gae=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Wae=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,jae=e=>{const t=Gae.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=Wae.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],i=t[1]||lp;return[i,r]=$$(i,r),M$(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Vae=[Fae,jae],Kae=[zae,Vae],qae=QM(...Kae),$$=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:lp,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ha=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Yae=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",dp=(e,t,n,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&(o=t.value-(i||0),(o||i===void 0)&&(i=t.value,t.delta=o,t.rating=Yae(t.value,n),e(t)))}},Vt=bn,Xae=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Vy=()=>Vt.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Ky=()=>{const e=Vy();return e&&e.activationStart||0},fp=(e,t)=>{const n=Vy();let r="navigate";return n&&(Vt.document&&Vt.document.prerendering||Ky()>0?r="prerender":Vt.document&&Vt.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:Xae(),navigationType:r}},K1=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(r){}},qy=e=>{const t=n=>{(n.type==="pagehide"||Vt.document&&Vt.document.visibilityState==="hidden")&&e(n)};Vt.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},fC=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let km=-1;const Qae=()=>{km=Vt.document.visibilityState==="hidden"&&!Vt.document.prerendering?0:1/0},C9=e=>{Vt.document.visibilityState==="hidden"&&km>-1&&(km=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("visibilitychange",C9,!0),removeEventListener("prerenderingchange",C9,!0))},Zae=()=>{addEventListener("visibilitychange",C9,!0),addEventListener("prerenderingchange",C9,!0)},Yy=()=>(Vt.document&&km<0&&(Qae(),Zae()),{get firstHiddenTime(){return km}}),w0=e=>{Vt.document&&Vt.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},Jae=[1800,3e3],ese=(e,t={})=>{w0(()=>{const n=Yy(),r=fp("FCP");let i;const a=K1("paint",s=>{s.forEach(l=>{l.name==="first-contentful-paint"&&(a.disconnect(),l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Ky(),0),r.entries.push(l),i(!0)))})});a&&(i=dp(e,r,Jae,t.reportAllChanges))})},tse=[.1,.25],nse=(e,t={})=>{ese(fC(()=>{const n=fp("CLS",0);let r,i=0,o=[];const a=l=>{l.forEach(c=>{if(!c.hadRecentInput){const d=o[0],p=o[o.length-1];i&&c.startTime-p.startTime<1e3&&c.startTime-d.startTime<5e3?(i+=c.value,o.push(c)):(i=c.value,o=[c])}}),i>n.value&&(n.value=i,n.entries=o,r())},s=K1("layout-shift",a);s&&(r=dp(e,n,tse,t.reportAllChanges),qy(()=>{a(s.takeRecords()),r(!0)}),setTimeout(r,0))}))},rse=[100,300],ise=(e,t={})=>{w0(()=>{const n=Yy(),r=fp("FID");let i;const o=l=>{l.startTime<n.firstHiddenTime&&(r.value=l.processingStart-l.startTime,r.entries.push(l),i(!0))},a=l=>{l.forEach(o)},s=K1("first-input",a);i=dp(e,r,rse,t.reportAllChanges),s&&qy(fC(()=>{a(s.takeRecords()),s.disconnect()}))})};let F$=0,_E=1/0,vv=0;const ose=e=>{e.forEach(t=>{t.interactionId&&(_E=Math.min(_E,t.interactionId),vv=Math.max(vv,t.interactionId),F$=vv?(vv-_E)/7+1:0)})};let W_;const ase=()=>W_?F$:performance.interactionCount||0,sse=()=>{"interactionCount"in performance||W_||(W_=K1("event",ose,{type:"event",buffered:!0,durationThreshold:0}))},lse=[200,500],use=0,B$=()=>ase()-use,zI=10,Sl=[],SE={},GI=e=>{const t=Sl[Sl.length-1],n=SE[e.interactionId];if(n||Sl.length<zI||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};SE[r.id]=r,Sl.push(r)}Sl.sort((r,i)=>i.latency-r.latency),Sl.splice(zI).forEach(r=>{delete SE[r.id]})}},cse=()=>{const e=Math.min(Sl.length-1,Math.floor(B$()/50));return Sl[e]},dse=(e,t={})=>{w0(()=>{sse();const n=fp("INP");let r;const i=a=>{a.forEach(l=>{l.interactionId&&GI(l),l.entryType==="first-input"&&!Sl.some(d=>d.entries.some(p=>l.duration===p.duration&&l.startTime===p.startTime))&&GI(l)});const s=cse();s&&s.latency!==n.value&&(n.value=s.latency,n.entries=s.entries,r())},o=K1("event",i,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:40});r=dp(e,n,lse,t.reportAllChanges),o&&("PerformanceEventTiming"in Vt&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),qy(()=>{i(o.takeRecords()),n.value<0&&B$()>0&&(n.value=0,n.entries=[]),r(!0)}))})},fse=[2500,4e3],WI={},pse=(e,t={})=>{w0(()=>{const n=Yy(),r=fp("LCP");let i;const o=s=>{const l=s[s.length-1];l&&l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Ky(),0),r.entries=[l],i())},a=K1("largest-contentful-paint",o);if(a){i=dp(e,r,fse,t.reportAllChanges);const s=fC(()=>{WI[r.id]||(o(a.takeRecords()),a.disconnect(),WI[r.id]=!0,i(!0))});["keydown","click"].forEach(l=>{Vt.document&&addEventListener(l,()=>setTimeout(s,0),!0)}),qy(s)}})},hse=[800,1800],j_=e=>{Vt.document&&Vt.document.prerendering?w0(()=>j_(e)):Vt.document&&Vt.document.readyState!=="complete"?addEventListener("load",()=>j_(e),!0):setTimeout(e,0)},mse=(e,t={})=>{const n=fp("TTFB"),r=dp(e,n,hse,t.reportAllChanges);j_(()=>{const i=Vy();if(i){const o=i.responseStart;if(o<=0||o>performance.now())return;n.value=Math.max(o-Ky(),0),n.entries=[i],r(!0)}})},qh={},w9={};let H$,U$,z$,G$,W$;function gse(e,t=!1){return A0("cls",e,Tse,H$,t)}function vse(e,t=!1){return A0("lcp",e,Sse,z$,t)}function yse(e){return A0("fid",e,_se,U$)}function bse(e){return A0("ttfb",e,xse,G$)}function Ese(e){return A0("inp",e,Cse,W$)}function pC(e,t){return j$(e,t),w9[e]||(wse(e),w9[e]=!0),V$(e,t)}function pp(e,t){const n=qh[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(i){ha&&Ye.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Fl(r)}
Error:`,i)}}function Tse(){return nse(e=>{pp("cls",{metric:e}),H$=e},{reportAllChanges:!0})}function _se(){return ise(e=>{pp("fid",{metric:e}),U$=e})}function Sse(){return pse(e=>{pp("lcp",{metric:e}),z$=e})}function xse(){return mse(e=>{pp("ttfb",{metric:e}),G$=e})}function Cse(){return dse(e=>{pp("inp",{metric:e}),W$=e})}function A0(e,t,n,r,i=!1){j$(e,t);let o;return w9[e]||(o=n(),w9[e]=!0),r&&t({metric:r}),V$(e,t,i?o:void 0)}function wse(e){const t={};e==="event"&&(t.durationThreshold=0),K1(e,n=>{pp(e,{entries:n})},t)}function j$(e,t){qh[e]=qh[e]||[],qh[e].push(t)}function V$(e,t,n){return()=>{n&&n();const r=qh[e];if(!r)return;const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function xE(e){return typeof e=="number"&&isFinite(e)}function Cf(e,t,n,{...r}){const i=kn(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),roe(e,()=>{const o=V1({startTime:t,...r});return o&&o.end(n),o})}function hC(){return Vt&&Vt.addEventListener&&Vt.performance}function Ur(e){return e/1e3}const Ase=2147483647;let jI=0,br={},As,Yh;function Ise(){const e=hC();if(e&&Ca){e.mark&&Vt.performance.mark("sentry-tracing-init");const t=Nse(),n=Ose(),r=kse(),i=Dse();return()=>{t(),n(),r(),i()}}return()=>{}}function Rse(){pC("longtask",({entries:e})=>{for(const t of e){if(!Pa())return;const n=Ur(Ca+t.startTime),r=Ur(t.duration),i=V1({name:"Main UI thread blocked",op:"ui.long-task",startTime:n,attributes:{[zi]:"auto.ui.browser.metrics"}});i&&i.end(n+r)}})}function Pse(){pC("event",({entries:e})=>{for(const t of e){if(!Pa())return;if(t.name==="click"){const n=Ur(Ca+t.startTime),r=Ur(t.duration),i={name:Tf(t.target),op:`ui.interaction.${t.name}`,startTime:n,attributes:{[zi]:"auto.ui.browser.metrics"}},o=VM(t.target);o&&(i.attributes["ui.component_name"]=o);const a=V1(i);a&&a.end(n+r)}}})}function Ose(){return gse(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||(ha&&Ye.log("[Measurements] Adding CLS"),br.cls={value:e.value,unit:""},Yh=t)},!0)}function kse(){return vse(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||(ha&&Ye.log("[Measurements] Adding LCP"),br.lcp={value:e.value,unit:"millisecond"},As=t)},!0)}function Nse(){return yse(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Ur(Ca),r=Ur(t.startTime);ha&&Ye.log("[Measurements] Adding FID"),br.fid={value:e.value,unit:"millisecond"},br["mark.fid"]={value:n+r,unit:"second"}})}function Dse(){return bse(({metric:e})=>{!e.entries[e.entries.length-1]||(ha&&Ye.log("[Measurements] Adding TTFB"),br.ttfb={value:e.value,unit:"millisecond"})})}function Lse(e){const t=hC();if(!t||!Vt.performance.getEntries||!Ca)return;ha&&Ye.log("[Tracing] Adding & adjusting spans using Performance API");const n=Ur(Ca),r=t.getEntries(),{op:i,start_timestamp:o}=kn(e);if(r.slice(jI).forEach(a=>{const s=Ur(a.startTime),l=Ur(a.duration);if(!(i==="navigation"&&o&&n+s<o))switch(a.entryType){case"navigation":{$se(e,a,n);break}case"mark":case"paint":case"measure":{Mse(e,a,s,l,n);const c=Yy(),d=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&d&&(ha&&Ye.log("[Measurements] Adding FP"),br.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&d&&(ha&&Ye.log("[Measurements] Adding FCP"),br.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{Bse(e,a,a.name,s,l,n);break}}}),jI=Math.max(r.length-1,0),Hse(e),i==="pageload"){zse(br),["fcp","fp","lcp"].forEach(s=>{if(!br[s]||!o||n>=o)return;const l=br[s].value,c=n+Ur(l),d=Math.abs((c-o)*1e3),p=d-l;ha&&Ye.log(`[Measurements] Normalized ${s} from ${l} to ${d} (${p})`),br[s].value=d});const a=br["mark.fid"];a&&br.fid&&(Cf(e,a.value,a.value+Ur(br.fid.value),{name:"first input delay",op:"ui.action",attributes:{[zi]:"auto.ui.browser.metrics"}}),delete br["mark.fid"]),"fcp"in br||delete br.cls,Object.keys(br).forEach(s=>{eoe(s,br[s].value,br[s].unit)}),Use(e)}As=void 0,Yh=void 0,br={}}function Mse(e,t,n,r,i){const o=i+n,a=o+r;return Cf(e,o,a,{name:t.name,op:t.entryType,attributes:{[zi]:"auto.resource.browser.metrics"}}),o}function $se(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{yv(e,t,r,n)}),yv(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),yv(e,t,"fetch",n,"cache","domainLookupStart"),yv(e,t,"domainLookup",n,"DNS"),Fse(e,t,n)}function yv(e,t,n,r,i,o){const a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];!s||!a||Cf(e,r+Ur(s),r+Ur(a),{op:"browser",name:i||n,attributes:{[zi]:"auto.ui.browser.metrics"}})}function Fse(e,t,n){t.responseEnd&&(Cf(e,n+Ur(t.requestStart),n+Ur(t.responseEnd),{op:"browser",name:"request",attributes:{[zi]:"auto.ui.browser.metrics"}}),Cf(e,n+Ur(t.responseStart),n+Ur(t.responseEnd),{op:"browser",name:"response",attributes:{[zi]:"auto.ui.browser.metrics"}}))}function Bse(e,t,n,r,i,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=p1(n),s={[zi]:"auto.resource.browser.metrics"};CE(s,t,"transferSize","http.response_transfer_size"),CE(s,t,"encodedBodySize","http.response_content_length"),CE(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(Vt.location.origin);const l=o+r,c=l+i;Cf(e,l,c,{name:n.replace(Vt.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}function Hse(e){const t=Vt.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),xE(n.rtt)&&(br["connection.rtt"]={value:n.rtt,unit:"millisecond"})),xE(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),xE(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function Use(e){As&&(ha&&Ye.log("[Measurements] Adding LCP Data"),As.element&&e.setAttribute("lcp.element",Tf(As.element)),As.id&&e.setAttribute("lcp.id",As.id),As.url&&e.setAttribute("lcp.url",As.url.trim().slice(0,200)),e.setAttribute("lcp.size",As.size)),Yh&&Yh.sources&&(ha&&Ye.log("[Measurements] Adding CLS Data"),Yh.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,Tf(t.node))))}function CE(e,t,n,r){const i=t[n];i!=null&&i<Ase&&(e[r]=i)}function zse(e){const t=Vy();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(ha&&Ye.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const Gse=1e3;let VI,V_,K_;function Wse(e){const t="dom";U1(t,e),z1(t,jse)}function jse(){if(!Vt.document)return;const e=es.bind(null,"dom"),t=KI(e,!0);Vt.document.addEventListener("click",t,!1),Vt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Vt[n]&&Vt[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(pi(r,"addEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},d=c[o]=c[o]||{refCount:0};if(!d.handler){const p=KI(e);d.handler=p,i.call(this,o,p,s)}d.refCount++}catch(l){}return i.call(this,o,a,s)}}),pi(r,"removeEventListener",function(i){return function(o,a,s){if(o==="click"||o=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__||{},d=c[o];d&&(d.refCount--,d.refCount<=0&&(i.call(this,o,d.handler,s),d.handler=void 0,delete c[o]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch(l){}return i.call(this,o,a,s)}}))})}function Vse(e){if(e.type!==V_)return!1;try{if(!e.target||e.target._sentryId!==K_)return!1}catch(t){}return!0}function Kse(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function KI(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=qse(n);if(Kse(n.type,r))return;ss(n,"_sentryCaptured",!0),r&&!r._sentryId&&ss(r,"_sentryId",tr());const i=n.type==="keypress"?"input":n.type;Vse(n)||(e({event:n,name:i,global:t}),V_=n.type,K_=r?r._sentryId:void 0),clearTimeout(VI),VI=Vt.setTimeout(()=>{K_=void 0,V_=void 0},Gse)}}function qse(e){try{return e.target}catch(t){return null}}let bv;function mC(e){const t="history";U1(t,e),z1(t,Yse)}function Yse(){if(!xie())return;const e=Vt.onpopstate;Vt.onpopstate=function(...n){const r=Vt.location.href,i=bv;if(bv=r,es("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch(a){}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const o=bv,a=String(i);bv=a,es("history",{from:o,to:a})}return n.apply(this,r)}}pi(Vt.history,"pushState",t),pi(Vt.history,"replaceState",t)}const Hd="__sentry_xhr_v3__";function K$(e){const t="xhr";U1(t,e),z1(t,Xse)}function Xse(){if(!Vt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;pi(e,"open",function(t){return function(...n){const r=uo()*1e3,i=Rl(n[0])?n[0].toUpperCase():void 0,o=Qse(n[1]);if(!i||!o)return t.apply(this,n);this[Hd]={method:i,url:o,request_headers:{}},i==="POST"&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const s=this[Hd];if(!!s&&this.readyState===4){try{s.status_code=this.status}catch(c){}const l={endTimestamp:uo()*1e3,startTimestamp:r,xhr:this};es("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?pi(this,"onreadystatechange",function(s){return function(...l){return a(),s.apply(this,l)}}):this.addEventListener("readystatechange",a),pi(this,"setRequestHeader",function(s){return function(...l){const[c,d]=l,p=this[Hd];return p&&Rl(c)&&Rl(d)&&(p.request_headers[c.toLowerCase()]=d),s.apply(this,l)}}),t.apply(this,n)}}),pi(e,"send",function(t){return function(...n){const r=this[Hd];if(!r)return t.apply(this,n);n[0]!==void 0&&(r.body=n[0]);const i={startTimestamp:uo()*1e3,xhr:this};return es("xhr",i),t.apply(this,n)}})}function Qse(e){if(Rl(e))return e;try{return e.toString()}catch(t){}}function Zse(){if(hC()&&Ca){const t=Jse();return()=>{t()}}return()=>{}}const qI={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function Jse(){return Ese(({metric:e})=>{const t=Nn();if(!t||e.value==null)return;const n=e.entries.find(S=>S.duration===e.value&&qI[S.name]);if(!n)return;const r=qI[n.name],i=t.getOptions(),o=Ur(Ca+n.startTime),a=Ur(e.value),s=_r(),l=Pa(),c=l?co(l):void 0,d=c?kn(c).description:void 0,p=s.getUser(),h=t.getIntegrationByName("Replay"),m=h&&h.getReplayId(),v=p!==void 0?p.email||p.id||p.ip_address:void 0,y=Sie([s,"access",S=>S.getScopeData,"call",S=>S(),"access",S=>S.contexts,"optionalAccess",S=>S.profile,"optionalAccess",S=>S.profile_id]),x=Tf(n.target),b=Bi({release:i.release,environment:i.environment,transaction:d,[d$]:e.value,user:v||void 0,profile_id:y||void 0,replay_id:m||void 0}),_=V1({name:x,op:`ui.interaction.${r}`,attributes:b,startTime:o,experimental:{standalone:!0}});_.addEvent("inp",{[oC]:"millisecond",[aC]:e.value}),_.end(o+a)})}const Ev=1024,ele="Breadcrumbs",tle=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:ele,setup(n){t.console&&Bre(ole(n)),t.dom&&Wse(ile(n,t.dom)),t.xhr&&K$(ale(n)),t.fetch&&e$(sle(n)),t.history&&mC(lle(n)),t.sentry&&n.on("beforeSendEvent",rle(n))}}},nle=tle;function rle(e){return function(n){Nn()===e&&_1({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Xc(n)},{event:n})}}function ile(e,t){return function(r){if(Nn()!==e)return;let i,o,a=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>Ev&&(Hi&&Ye.warn(`\`dom.maxStringLength\` cannot exceed ${Ev}, but a value of ${s} was configured. Sentry will use ${Ev} instead.`),s=Ev),typeof a=="string"&&(a=[a]);try{const c=r.event,d=ule(c)?c.target:c;i=Tf(d,{keyAttrs:a,maxStringLength:s}),o=VM(d)}catch(c){i="<unknown>"}if(i.length===0)return;const l={category:`ui.${r.name}`,message:i};o&&(l.data={"ui.component_name":o}),_1(l,{event:r.event,name:r.name,global:r.global})}}function ole(e){return function(n){if(Nn()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:tie(n.level),message:oI(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${oI(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;_1(r,{input:n.args,level:n.level})}}function ale(e){return function(n){if(Nn()!==e)return;const{startTimestamp:r,endTimestamp:i}=n,o=n.xhr[Hd];if(!r||!i||!o)return;const{method:a,url:s,status_code:l,body:c}=o,d={method:a,url:s,status_code:l},p={xhr:n.xhr,input:c,startTimestamp:r,endTimestamp:i};_1({category:"xhr",data:d,type:"http"},p)}}function sle(e){return function(n){if(Nn()!==e)return;const{startTimestamp:r,endTimestamp:i}=n;if(!!i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o=n.fetchData,a={data:n.error,input:n.args,startTimestamp:r,endTimestamp:i};_1({category:"fetch",data:o,level:"error",type:"http"},a)}else{const o=n.response,a={...n.fetchData,status_code:o&&o.status},s={input:n.args,response:o,startTimestamp:r,endTimestamp:i};_1({category:"fetch",data:a,type:"http"},s)}}}function lle(e){return function(n){if(Nn()!==e)return;let r=n.from,i=n.to;const o=p1(Lt.location.href);let a=r?p1(r):void 0;const s=p1(i);(!a||!a.path)&&(a=o),o.protocol===s.protocol&&o.host===s.host&&(i=s.relative),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),_1({category:"navigation",data:{from:r,to:i}})}}function ule(e){return!!e&&!!e.target}const cle=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],dle="BrowserApiErrors",fle=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:dle,setupOnce(){t.setTimeout&&pi(Lt,"setTimeout",YI),t.setInterval&&pi(Lt,"setInterval",YI),t.requestAnimationFrame&&pi(Lt,"requestAnimationFrame",hle),t.XMLHttpRequest&&"XMLHttpRequest"in Lt&&pi(XMLHttpRequest.prototype,"send",mle);const n=t.eventTarget;n&&(Array.isArray(n)?n:cle).forEach(gle)}}},ple=fle;function YI(e){return function(...t){const n=t[0];return t[0]=xf(n,{mechanism:{data:{function:Fl(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function hle(e){return function(t){return e.apply(this,[xf(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Fl(e)},handled:!1,type:"instrument"}})])}}function mle(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&pi(n,i,function(o){const a={mechanism:{data:{function:i,handler:Fl(o)},handled:!1,type:"instrument"}},s=nC(o);return s&&(a.mechanism.data.handler=Fl(s)),xf(o,a)})}),e.apply(this,t)}}function gle(e){const t=Lt,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(pi(n,"addEventListener",function(r){return function(i,o,a){try{typeof o.handleEvent=="function"&&(o.handleEvent=xf(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Fl(o),target:e},handled:!1,type:"instrument"}}))}catch(s){}return r.apply(this,[i,xf(o,{mechanism:{data:{function:"addEventListener",handler:Fl(o),target:e},handled:!1,type:"instrument"}}),a])}}),pi(n,"removeEventListener",function(r){return function(i,o,a){const s=o;try{const l=s&&s.__sentry_wrapped__;l&&r.call(this,i,l,a)}catch(l){}return r.call(this,i,s,a)}}))}const vle="GlobalHandlers",yle=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:vle,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Ele(n),XI("onerror")),t.onunhandledrejection&&(Tle(n),XI("onunhandledrejection"))}}},ble=yle;function Ele(e){t$(t=>{const{stackParser:n,attachStacktrace:r}=q$();if(Nn()!==e||L$())return;const{msg:i,url:o,line:a,column:s,error:l}=t,c=xle(dC(n,l||i,void 0,r,!1),o,a,s);c.level="error",w$(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function Tle(e){n$(t=>{const{stackParser:n,attachStacktrace:r}=q$();if(Nn()!==e||L$())return;const i=_le(t),o=eC(i)?Sle(i):dC(n,i,void 0,r,!0);o.level="error",w$(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function _le(e){if(eC(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return e}function Sle(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function xle(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,p=Rl(t)&&t.length>0?t:Cre();return l.length===0&&l.push({colno:c,filename:p,function:lp,in_app:!0,lineno:d}),e}function XI(e){Hi&&Ye.log(`Global Handler attached: ${e}`)}function q$(){const e=Nn();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Cle=()=>({name:"HttpContext",preprocessEvent(e){if(!Lt.navigator&&!Lt.location&&!Lt.document)return;const t=e.request&&e.request.url||Lt.location&&Lt.location.href,{referrer:n}=Lt.document||{},{userAgent:r}=Lt.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}}),wle="cause",Ale=5,Ile="LinkedErrors",Rle=(e={})=>{const t=e.limit||Ale,n=e.key||wle;return{name:Ile,preprocessEvent(r,i,o){const a=o.getOptions();Tre(uC,a.stackParser,a.maxValueLength,n,t,r,i)}}},Ple=Rle;function Ole(e){return[tae(),Qoe(),ple(),nle(),ble(),Ple(),pae(),Cle()]}function kle(e={}){return{...{defaultIntegrations:Ole(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Lt.SENTRY_RELEASE&&Lt.SENTRY_RELEASE.id?Lt.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0},...e}}function Nle(){const e=Lt,t=e&&e.chrome&&e.chrome.runtime&&e.chrome.runtime.id,n=Lt;return!!(n&&n.browser&&n.browser.runtime&&n.browser.runtime.id)||!!t}function Dle(e={}){const t=kle(e);if(Nle()){S0(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Hi&&(ZM()||Ye.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:$re(t.stackParser||qae),integrations:$oe(t),transport:t.transport||Mae};Goe(Dae,n),t.autoSessionTracking&&Lle()}function Lle(){if(typeof Lt.document>"u"){Hi&&Ye.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}PI({ignoreDuration:!0}),OI(),mC(({from:e,to:t})=>{e!==void 0&&e!==t&&(PI({ignoreDuration:!0}),OI())})}const q_={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function Mle(e){const{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:o}={traceFetch:q_.traceFetch,traceXHR:q_.traceXHR,...e},a=typeof r=="function"?r:c=>!0,s=c=>Hle(c,o),l={};t&&e$(c=>{const d=vae(c,a,s,l);if(d){const p=Y$(c.fetchData.url),h=p?p1(p).host:void 0;d.setAttributes({"http.url":p,"server.address":h})}i&&d&&QI(d)}),n&&K$(c=>{const d=Ule(c,a,s,l);i&&d&&QI(d)})}function $le(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function QI(e){const{url:t}=kn(e).data||{};if(!t||typeof t!="string")return;const n=pC("resource",({entries:r})=>{r.forEach(i=>{$le(i)&&i.name.endsWith(t)&&(Ble(i).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function Fle(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Ts(e=0){return((Ca||performance.timeOrigin)+e)/1e3}function Ble(e){const{name:t,version:n}=Fle(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Ca?[...r,["http.request.redirect_start",Ts(e.redirectStart)],["http.request.fetch_start",Ts(e.fetchStart)],["http.request.domain_lookup_start",Ts(e.domainLookupStart)],["http.request.domain_lookup_end",Ts(e.domainLookupEnd)],["http.request.connect_start",Ts(e.connectStart)],["http.request.secure_connection_start",Ts(e.secureConnectionStart)],["http.request.connection_end",Ts(e.connectEnd)],["http.request.request_start",Ts(e.requestStart)],["http.request.response_start",Ts(e.responseStart)],["http.request.response_end",Ts(e.responseEnd)]]:r}function Hle(e,t){const n=Lt.location&&Lt.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(a){return!1}const o=r.origin===i;return t?f1(r.toString(),t)||o&&f1(r.pathname,t):o}else{const r=!!e.match(/^\/(?!\/)/);return t?f1(e,t):r}}function Ule(e,t,n,r){const i=e.xhr,o=i&&i[Hd];if(!i||i.__sentry_own_request__||!o)return;const a=nc()&&t(o.url);if(e.endTimestamp&&a){const h=i.__sentry_xhr_span_id__;if(!h)return;const m=r[h];m&&o.status_code!==void 0&&(p$(m,o.status_code),m.end(),delete r[h]);return}const s=Y$(o.url),l=s?p1(s).host:void 0,c=!!Pa(),d=a&&c?V1({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":s,url:o.url,"server.address":l,[zi]:"auto.http.browser",[Om]:"http.client"}}):new cp;i.__sentry_xhr_span_id__=d.spanContext().spanId,r[i.__sentry_xhr_span_id__]=d;const p=Nn();return i.setRequestHeader&&n(o.url)&&p&&zle(i,p,nc()&&c?d:void 0),d}function zle(e,t,n){const r=_r(),i=Yl(),{traceId:o,spanId:a,sampled:s,dsc:l}={...i.getPropagationContext(),...r.getPropagationContext()},c=n&&nc()?v$(n):rC(o,a,s),d=s$(l||(n?W1(n):jy(o,t)));Gle(e,c,d)}function Gle(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(L_,n)}catch(r){}}function Y$(e){try{return new URL(e,Lt.location.origin).href}catch(t){return}}function Wle(){Lt&&Lt.document?Lt.document.addEventListener("visibilitychange",()=>{const e=Pa();if(!e)return;const t=co(e);if(Lt.document.hidden&&t){const n="cancelled",{op:r,status:i}=kn(t);Hi&&Ye.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),i||t.setStatus({code:Yr,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Hi&&Ye.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const jle="BrowserTracing",Vle={...N5,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...q_},Kle=(e={})=>{Wie();const{enableInp:t,enableLongTask:n,_experiments:{enableInteractions:r},beforeStartSpan:i,idleTimeout:o,finalTimeout:a,childSpanTimeout:s,markBackgroundSpan:l,traceFetch:c,traceXHR:d,shouldCreateSpanForRequest:p,enableHTTPTimings:h,instrumentPageLoad:m,instrumentNavigation:v}={...Vle,...e},y=Ise();t&&Zse(),n&&Rse(),r&&Pse();const x={name:void 0,source:void 0};function b(_,S){const C=S.op==="pageload",O=i?i(S):S,A=O.attributes||{};S.name!==O.name&&(A[Pu]="custom",O.attributes=A),x.name=O.name,x.source=A[Pu];const R=C$(O,{idleTimeout:o,finalTimeout:a,childSpanTimeout:s,disableAutoFinish:C,beforeSpanEnd:F=>{y(),Lse(F)}});function N(){["interactive","complete"].includes(Lt.document.readyState)&&_.emit("idleSpanEnableAutoFinish",R)}return C&&Lt.document&&(Lt.document.addEventListener("readystatechange",()=>{N()}),N()),R}return{name:jle,afterAllSetup(_){let S,C=Lt.location&&Lt.location.href;_.on("startNavigationSpan",O=>{Nn()===_&&(S&&(Hi&&Ye.log(`[Tracing] Finishing current root span with op: ${kn(S).op}`),S.end()),S=b(_,{op:"navigation",...O}))}),_.on("startPageLoadSpan",(O,A={})=>{if(Nn()!==_)return;S&&(Hi&&Ye.log(`[Tracing] Finishing current root span with op: ${kn(S).op}`),S.end());const R=A.sentryTrace||ZI("sentry-trace"),N=A.baggage||ZI("baggage"),F=uie(R,N);_r().setPropagationContext(F),S=b(_,{op:"pageload",...O})}),_.on("spanEnd",O=>{const A=kn(O).op;if(O!==co(O)||A!=="navigation"&&A!=="pageload")return;const R=_r(),N=R.getPropagationContext();R.setPropagationContext({...N,sampled:N.sampled!==void 0?N.sampled:j1(O),dsc:N.dsc||W1(O)})}),Lt.location&&(m&&qle(_,{name:Lt.location.pathname,startTime:Ca?Ca/1e3:void 0,attributes:{[Pu]:"url",[zi]:"auto.pageload.browser"}}),v&&mC(({to:O,from:A})=>{if(A===void 0&&C&&C.indexOf(O)!==-1){C=void 0;return}A!==O&&(C=void 0,Yle(_,{name:Lt.location.pathname,attributes:{[Pu]:"url",[zi]:"auto.navigation.browser"}}))})),l&&Wle(),r&&Xle(o,a,s,x),Mle({traceFetch:c,traceXHR:d,tracePropagationTargets:_.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:p,enableHTTPTimings:h})}}};function qle(e,t,n){e.emit("startPageLoadSpan",t,n),_r().setTransactionName(t.name);const r=Pa();return(r&&kn(r).op)==="pageload"?r:void 0}function Yle(e,t){_r().setPropagationContext(JI()),Yl().setPropagationContext(JI()),e.emit("startNavigationSpan",t),_r().setTransactionName(t.name);const n=Pa();return(n&&kn(n).op)==="navigation"?n:void 0}function ZI(e){const t=wre(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function Xle(e,t,n,r){let i;const o=()=>{const a="ui.action.click",s=Pa(),l=s&&co(s);if(l){const c=kn(l).op;if(["navigation","pageload"].includes(c)){Hi&&Ye.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(i&&(i.setAttribute(F_,"interactionInterrupted"),i.end(),i=void 0),!r.name){Hi&&Ye.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}i=C$({name:r.name,op:a,attributes:{[Pu]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};Lt.document&&addEventListener("click",o,{once:!1,capture:!0})}function JI(){return{traceId:tr(),spanId:tr().substring(16)}}function Qle(e){const t={...e};k$(t,"react"),Dle(t)}var Qc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gC(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var X$={exports:{}},wn={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ni=typeof Symbol=="function"&&Symbol.for,vC=ni?Symbol.for("react.element"):60103,yC=ni?Symbol.for("react.portal"):60106,Qy=ni?Symbol.for("react.fragment"):60107,Zy=ni?Symbol.for("react.strict_mode"):60108,Jy=ni?Symbol.for("react.profiler"):60114,e2=ni?Symbol.for("react.provider"):60109,t2=ni?Symbol.for("react.context"):60110,bC=ni?Symbol.for("react.async_mode"):60111,n2=ni?Symbol.for("react.concurrent_mode"):60111,r2=ni?Symbol.for("react.forward_ref"):60112,i2=ni?Symbol.for("react.suspense"):60113,Zle=ni?Symbol.for("react.suspense_list"):60120,o2=ni?Symbol.for("react.memo"):60115,a2=ni?Symbol.for("react.lazy"):60116,Jle=ni?Symbol.for("react.block"):60121,eue=ni?Symbol.for("react.fundamental"):60117,tue=ni?Symbol.for("react.responder"):60118,nue=ni?Symbol.for("react.scope"):60119;function jo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vC:switch(e=e.type,e){case bC:case n2:case Qy:case Jy:case Zy:case i2:return e;default:switch(e=e&&e.$$typeof,e){case t2:case r2:case a2:case o2:case e2:return e;default:return t}}case yC:return t}}}function Q$(e){return jo(e)===n2}wn.AsyncMode=bC;wn.ConcurrentMode=n2;wn.ContextConsumer=t2;wn.ContextProvider=e2;wn.Element=vC;wn.ForwardRef=r2;wn.Fragment=Qy;wn.Lazy=a2;wn.Memo=o2;wn.Portal=yC;wn.Profiler=Jy;wn.StrictMode=Zy;wn.Suspense=i2;wn.isAsyncMode=function(e){return Q$(e)||jo(e)===bC};wn.isConcurrentMode=Q$;wn.isContextConsumer=function(e){return jo(e)===t2};wn.isContextProvider=function(e){return jo(e)===e2};wn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vC};wn.isForwardRef=function(e){return jo(e)===r2};wn.isFragment=function(e){return jo(e)===Qy};wn.isLazy=function(e){return jo(e)===a2};wn.isMemo=function(e){return jo(e)===o2};wn.isPortal=function(e){return jo(e)===yC};wn.isProfiler=function(e){return jo(e)===Jy};wn.isStrictMode=function(e){return jo(e)===Zy};wn.isSuspense=function(e){return jo(e)===i2};wn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qy||e===n2||e===Jy||e===Zy||e===i2||e===Zle||typeof e=="object"&&e!==null&&(e.$$typeof===a2||e.$$typeof===o2||e.$$typeof===e2||e.$$typeof===t2||e.$$typeof===r2||e.$$typeof===eue||e.$$typeof===tue||e.$$typeof===nue||e.$$typeof===Jle)};wn.typeOf=jo;(function(e){e.exports=wn})(X$);var EC=X$.exports,rue={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},iue={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},oue={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Z$={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TC={};TC[EC.ForwardRef]=oue;TC[EC.Memo]=Z$;function eR(e){return EC.isMemo(e)?Z$:TC[e.$$typeof]||rue}var aue=Object.defineProperty,sue=Object.getOwnPropertyNames,tR=Object.getOwnPropertySymbols,lue=Object.getOwnPropertyDescriptor,uue=Object.getPrototypeOf,nR=Object.prototype;function J$(e,t,n){if(typeof t!="string"){if(nR){var r=uue(t);r&&r!==nR&&J$(e,r,n)}var i=sue(t);tR&&(i=i.concat(tR(t)));for(var o=eR(e),a=eR(t),s=0;s<i.length;++s){var l=i[s];if(!iue[l]&&!(n&&n[l])&&!(a&&a[l])&&!(o&&o[l])){var c=lue(t,l);try{aue(e,l,c)}catch(d){}}}}return e}var rR=J$,T={exports:{}},un={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var I0=Symbol.for("react.element"),cue=Symbol.for("react.portal"),due=Symbol.for("react.fragment"),fue=Symbol.for("react.strict_mode"),pue=Symbol.for("react.profiler"),hue=Symbol.for("react.provider"),mue=Symbol.for("react.context"),gue=Symbol.for("react.forward_ref"),vue=Symbol.for("react.suspense"),yue=Symbol.for("react.memo"),bue=Symbol.for("react.lazy"),iR=Symbol.iterator;function Eue(e){return e===null||typeof e!="object"?null:(e=iR&&e[iR]||e["@@iterator"],typeof e=="function"?e:null)}var eF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tF=Object.assign,nF={};function hp(e,t,n){this.props=e,this.context=t,this.refs=nF,this.updater=n||eF}hp.prototype.isReactComponent={};hp.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};hp.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rF(){}rF.prototype=hp.prototype;function _C(e,t,n){this.props=e,this.context=t,this.refs=nF,this.updater=n||eF}var SC=_C.prototype=new rF;SC.constructor=_C;tF(SC,hp.prototype);SC.isPureReactComponent=!0;var oR=Array.isArray,iF=Object.prototype.hasOwnProperty,xC={current:null},oF={key:!0,ref:!0,__self:!0,__source:!0};function aF(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)iF.call(t,r)&&!oF.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:I0,type:e,key:o,ref:a,props:i,_owner:xC.current}}function Tue(e,t){return{$$typeof:I0,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function CC(e){return typeof e=="object"&&e!==null&&e.$$typeof===I0}function _ue(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var aR=/\/+/g;function wE(e,t){return typeof e=="object"&&e!==null&&e.key!=null?_ue(""+e.key):t.toString(36)}function D5(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case I0:case cue:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+wE(a,0):r,oR(i)?(n="",e!=null&&(n=e.replace(aR,"$&/")+"/"),D5(i,t,n,"",function(c){return c})):i!=null&&(CC(i)&&(i=Tue(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(aR,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",oR(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+wE(o,s);a+=D5(o,t,n,l,i)}else if(l=Eue(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+wE(o,s++),a+=D5(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Tv(e,t,n){if(e==null)return e;var r=[],i=0;return D5(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Sue(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ji={current:null},L5={transition:null},xue={ReactCurrentDispatcher:ji,ReactCurrentBatchConfig:L5,ReactCurrentOwner:xC};un.Children={map:Tv,forEach:function(e,t,n){Tv(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Tv(e,function(){t++}),t},toArray:function(e){return Tv(e,function(t){return t})||[]},only:function(e){if(!CC(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};un.Component=hp;un.Fragment=due;un.Profiler=pue;un.PureComponent=_C;un.StrictMode=fue;un.Suspense=vue;un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xue;un.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=tF({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=xC.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)iF.call(t,l)&&!oF.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:I0,type:e.type,key:i,ref:o,props:r,_owner:a}};un.createContext=function(e){return e={$$typeof:mue,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:hue,_context:e},e.Consumer=e};un.createElement=aF;un.createFactory=function(e){var t=aF.bind(null,e);return t.type=e,t};un.createRef=function(){return{current:null}};un.forwardRef=function(e){return{$$typeof:gue,render:e}};un.isValidElement=CC;un.lazy=function(e){return{$$typeof:bue,_payload:{_status:-1,_result:e},_init:Sue}};un.memo=function(e,t){return{$$typeof:yue,type:e,compare:t===void 0?null:t}};un.startTransition=function(e){var t=L5.transition;L5.transition={};try{e()}finally{L5.transition=t}};un.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};un.useCallback=function(e,t){return ji.current.useCallback(e,t)};un.useContext=function(e){return ji.current.useContext(e)};un.useDebugValue=function(){};un.useDeferredValue=function(e){return ji.current.useDeferredValue(e)};un.useEffect=function(e,t){return ji.current.useEffect(e,t)};un.useId=function(){return ji.current.useId()};un.useImperativeHandle=function(e,t,n){return ji.current.useImperativeHandle(e,t,n)};un.useInsertionEffect=function(e,t){return ji.current.useInsertionEffect(e,t)};un.useLayoutEffect=function(e,t){return ji.current.useLayoutEffect(e,t)};un.useMemo=function(e,t){return ji.current.useMemo(e,t)};un.useReducer=function(e,t,n){return ji.current.useReducer(e,t,n)};un.useRef=function(e){return ji.current.useRef(e)};un.useState=function(e){return ji.current.useState(e)};un.useSyncExternalStore=function(e,t,n){return ji.current.useSyncExternalStore(e,t,n)};un.useTransition=function(){return ji.current.useTransition()};un.version="18.2.0";(function(e){e.exports=un})(T);const jn=Xy(T.exports),S1=mre({__proto__:null,default:jn},[T.exports]);var s2={exports:{}},l2={};/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Cue=T.exports,wue=Symbol.for("react.element"),Aue=Symbol.for("react.fragment"),Iue=Object.prototype.hasOwnProperty,Rue=Cue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Pue={key:!0,ref:!0,__self:!0,__source:!0};function sF(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Iue.call(t,r)&&!Pue.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:wue,type:e,key:o,ref:a,props:i,_owner:Rue.current}}l2.Fragment=Aue;l2.jsx=sF;l2.jsxs=sF;(function(e){e.exports=l2})(s2);const Qt=s2.exports.Fragment,E=s2.exports.jsx,te=s2.exports.jsxs,Oue=Object.freeze(Object.defineProperty({__proto__:null,Fragment:Qt,jsx:E,jsxs:te},Symbol.toStringTag,{value:"Module"}));var Y_={},q1={exports:{}},Vo={},lF={exports:{}},uF={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(z,Q){var J=z.length;z.push(Q);e:for(;0<J;){var M=J-1>>>1,B=z[M];if(0<i(B,Q))z[M]=Q,z[J]=B,J=M;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var Q=z[0],J=z.pop();if(J!==Q){z[0]=J;e:for(var M=0,B=z.length,Pe=B>>>1;M<Pe;){var pe=2*(M+1)-1,me=z[pe],se=pe+1,Ce=z[se];if(0>i(me,J))se<B&&0>i(Ce,me)?(z[M]=Ce,z[se]=J,M=se):(z[M]=me,z[pe]=J,M=pe);else if(se<B&&0>i(Ce,J))z[M]=Ce,z[se]=J,M=se;else break e}}return Q}function i(z,Q){var J=z.sortIndex-Q.sortIndex;return J!==0?J:z.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],d=1,p=null,h=3,m=!1,v=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(z){for(var Q=n(c);Q!==null;){if(Q.callback===null)r(c);else if(Q.startTime<=z)r(c),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(c)}}function C(z){if(y=!1,S(z),!v)if(n(l)!==null)v=!0,ne(O);else{var Q=n(c);Q!==null&&oe(C,Q.startTime-z)}}function O(z,Q){v=!1,y&&(y=!1,b(N),N=-1),m=!0;var J=h;try{for(S(Q),p=n(l);p!==null&&(!(p.expirationTime>Q)||z&&!H());){var M=p.callback;if(typeof M=="function"){p.callback=null,h=p.priorityLevel;var B=M(p.expirationTime<=Q);Q=e.unstable_now(),typeof B=="function"?p.callback=B:p===n(l)&&r(l),S(Q)}else r(l);p=n(l)}if(p!==null)var Pe=!0;else{var pe=n(c);pe!==null&&oe(C,pe.startTime-Q),Pe=!1}return Pe}finally{p=null,h=J,m=!1}}var A=!1,R=null,N=-1,F=5,L=-1;function H(){return!(e.unstable_now()-L<F)}function j(){if(R!==null){var z=e.unstable_now();L=z;var Q=!0;try{Q=R(!0,z)}finally{Q?Y():(A=!1,R=null)}}else A=!1}var Y;if(typeof _=="function")Y=function(){_(j)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,Z=K.port2;K.port1.onmessage=j,Y=function(){Z.postMessage(null)}}else Y=function(){x(j,0)};function ne(z){R=z,A||(A=!0,Y())}function oe(z,Q){N=x(function(){z(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,ne(O))},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(z){switch(h){case 1:case 2:case 3:var Q=3;break;default:Q=h}var J=h;h=Q;try{return z()}finally{h=J}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(z,Q){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var J=h;h=z;try{return Q()}finally{h=J}},e.unstable_scheduleCallback=function(z,Q,J){var M=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?M+J:M):J=M,z){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=J+B,z={id:d++,callback:Q,priorityLevel:z,startTime:J,expirationTime:B,sortIndex:-1},J>M?(z.sortIndex=J,t(c,z),n(l)===null&&z===n(c)&&(y?(b(N),N=-1):y=!0,oe(C,J-M))):(z.sortIndex=B,t(l,z),v||m||(v=!0,ne(O))),z},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(z){var Q=h;return function(){var J=h;h=Q;try{return z.apply(this,arguments)}finally{h=J}}}})(uF);(function(e){e.exports=uF})(lF);/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var cF=T.exports,Go=lF.exports;function Me(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var dF=new Set,Nm={};function Y1(e,t){wf(e,t),wf(e+"Capture",t)}function wf(e,t){for(Nm[e]=t,e=0;e<t.length;e++)dF.add(t[e])}var Bl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),X_=Object.prototype.hasOwnProperty,kue=/^[: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]*$/,sR={},lR={};function Nue(e){return X_.call(lR,e)?!0:X_.call(sR,e)?!1:kue.test(e)?lR[e]=!0:(sR[e]=!0,!1)}function Due(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Lue(e,t,n,r){if(t===null||typeof t>"u"||Due(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Vi(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var vi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vi[e]=new Vi(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vi[t]=new Vi(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vi[e]=new Vi(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vi[e]=new Vi(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){vi[e]=new Vi(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vi[e]=new Vi(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vi[e]=new Vi(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vi[e]=new Vi(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vi[e]=new Vi(e,5,!1,e.toLowerCase(),null,!1,!1)});var wC=/[\-:]([a-z])/g;function AC(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wC,AC);vi[t]=new Vi(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wC,AC);vi[t]=new Vi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wC,AC);vi[t]=new Vi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vi[e]=new Vi(e,1,!1,e.toLowerCase(),null,!1,!1)});vi.xlinkHref=new Vi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vi[e]=new Vi(e,1,!1,e.toLowerCase(),null,!0,!0)});function IC(e,t,n,r){var i=vi.hasOwnProperty(t)?vi[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Lue(t,n,i,r)&&(n=null),r||i===null?Nue(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Xl=cF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_v=Symbol.for("react.element"),Ud=Symbol.for("react.portal"),zd=Symbol.for("react.fragment"),RC=Symbol.for("react.strict_mode"),Q_=Symbol.for("react.profiler"),fF=Symbol.for("react.provider"),pF=Symbol.for("react.context"),PC=Symbol.for("react.forward_ref"),Z_=Symbol.for("react.suspense"),J_=Symbol.for("react.suspense_list"),OC=Symbol.for("react.memo"),xu=Symbol.for("react.lazy"),hF=Symbol.for("react.offscreen"),uR=Symbol.iterator;function Jp(e){return e===null||typeof e!="object"?null:(e=uR&&e[uR]||e["@@iterator"],typeof e=="function"?e:null)}var mr=Object.assign,AE;function Oh(e){if(AE===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);AE=t&&t[1]||""}return`
`+AE+e}var IE=!1;function RE(e,t){if(!e||IE)return"";IE=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
`),o=r.stack.split(`
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=`
`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{IE=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Oh(e):""}function Mue(e){switch(e.tag){case 5:return Oh(e.type);case 16:return Oh("Lazy");case 13:return Oh("Suspense");case 19:return Oh("SuspenseList");case 0:case 2:case 15:return e=RE(e.type,!1),e;case 11:return e=RE(e.type.render,!1),e;case 1:return e=RE(e.type,!0),e;default:return""}}function eS(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zd:return"Fragment";case Ud:return"Portal";case Q_:return"Profiler";case RC:return"StrictMode";case Z_:return"Suspense";case J_:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pF:return(e.displayName||"Context")+".Consumer";case fF:return(e._context.displayName||"Context")+".Provider";case PC:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case OC:return t=e.displayName||null,t!==null?t:eS(e.type)||"Memo";case xu:t=e._payload,e=e._init;try{return eS(e(t))}catch(n){}}return null}function $ue(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return eS(t);case 8:return t===RC?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rc(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fue(e){var t=mF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sv(e){e._valueTracker||(e._valueTracker=Fue(e))}function gF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function A9(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function tS(e,t){var n=t.checked;return mr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function cR(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rc(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vF(e,t){t=t.checked,t!=null&&IC(e,"checked",t,!1)}function nS(e,t){vF(e,t);var n=rc(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?rS(e,t.type,n):t.hasOwnProperty("defaultValue")&&rS(e,t.type,rc(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dR(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function rS(e,t,n){(t!=="number"||A9(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var kh=Array.isArray;function sf(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rc(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function iS(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Me(91));return mr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fR(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Me(92));if(kh(n)){if(1<n.length)throw Error(Me(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rc(n)}}function yF(e,t){var n=rc(t.value),r=rc(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function pR(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function bF(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oS(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?bF(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xv,EF=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xv=xv||document.createElement("div"),xv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dm(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xh={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Bue=["Webkit","ms","Moz","O"];Object.keys(Xh).forEach(function(e){Bue.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xh[t]=Xh[e]})});function TF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xh.hasOwnProperty(e)&&Xh[e]?(""+t).trim():t+"px"}function _F(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=TF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Hue=mr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function aS(e,t){if(t){if(Hue[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Me(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Me(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Me(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Me(62))}}function sS(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var lS=null;function kC(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uS=null,lf=null,uf=null;function hR(e){if(e=O0(e)){if(typeof uS!="function")throw Error(Me(280));var t=e.stateNode;t&&(t=p2(t),uS(e.stateNode,e.type,t))}}function SF(e){lf?uf?uf.push(e):uf=[e]:lf=e}function xF(){if(lf){var e=lf,t=uf;if(uf=lf=null,hR(e),t)for(e=0;e<t.length;e++)hR(t[e])}}function CF(e,t){return e(t)}function wF(){}var PE=!1;function AF(e,t,n){if(PE)return e(t,n);PE=!0;try{return CF(e,t,n)}finally{PE=!1,(lf!==null||uf!==null)&&(wF(),xF())}}function Lm(e,t){var n=e.stateNode;if(n===null)return null;var r=p2(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Me(231,t,typeof n));return n}var cS=!1;if(Bl)try{var eh={};Object.defineProperty(eh,"passive",{get:function(){cS=!0}}),window.addEventListener("test",eh,eh),window.removeEventListener("test",eh,eh)}catch(e){cS=!1}function Uue(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var Qh=!1,I9=null,R9=!1,dS=null,zue={onError:function(e){Qh=!0,I9=e}};function Gue(e,t,n,r,i,o,a,s,l){Qh=!1,I9=null,Uue.apply(zue,arguments)}function Wue(e,t,n,r,i,o,a,s,l){if(Gue.apply(this,arguments),Qh){if(Qh){var c=I9;Qh=!1,I9=null}else throw Error(Me(198));R9||(R9=!0,dS=c)}}function X1(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function IF(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function mR(e){if(X1(e)!==e)throw Error(Me(188))}function jue(e){var t=e.alternate;if(!t){if(t=X1(e),t===null)throw Error(Me(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return mR(i),e;if(o===r)return mR(i),t;o=o.sibling}throw Error(Me(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(Me(189))}}if(n.alternate!==r)throw Error(Me(190))}if(n.tag!==3)throw Error(Me(188));return n.stateNode.current===n?e:t}function RF(e){return e=jue(e),e!==null?PF(e):null}function PF(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=PF(e);if(t!==null)return t;e=e.sibling}return null}var OF=Go.unstable_scheduleCallback,gR=Go.unstable_cancelCallback,Vue=Go.unstable_shouldYield,Kue=Go.unstable_requestPaint,wr=Go.unstable_now,que=Go.unstable_getCurrentPriorityLevel,NC=Go.unstable_ImmediatePriority,kF=Go.unstable_UserBlockingPriority,P9=Go.unstable_NormalPriority,Yue=Go.unstable_LowPriority,NF=Go.unstable_IdlePriority,u2=null,Hs=null;function Xue(e){if(Hs&&typeof Hs.onCommitFiberRoot=="function")try{Hs.onCommitFiberRoot(u2,e,void 0,(e.current.flags&128)===128)}catch(t){}}var ts=Math.clz32?Math.clz32:Jue,Que=Math.log,Zue=Math.LN2;function Jue(e){return e>>>=0,e===0?32:31-(Que(e)/Zue|0)|0}var Cv=64,wv=4194304;function Nh(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function O9(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Nh(s):(o&=a,o!==0&&(r=Nh(o)))}else a=n&~i,a!==0?r=Nh(a):o!==0&&(r=Nh(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ts(t),i=1<<n,r|=e[n],t&=~i;return r}function ece(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tce(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-ts(o),s=1<<a,l=i[a];l===-1?((s&n)===0||(s&r)!==0)&&(i[a]=ece(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}function fS(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function DF(){var e=Cv;return Cv<<=1,(Cv&4194240)===0&&(Cv=64),e}function OE(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function R0(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ts(t),e[t]=n}function nce(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ts(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function DC(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ts(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Cn=0;function LF(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var MF,LC,$F,FF,BF,pS=!1,Av=[],Hu=null,Uu=null,zu=null,Mm=new Map,$m=new Map,Au=[],rce="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vR(e,t){switch(e){case"focusin":case"focusout":Hu=null;break;case"dragenter":case"dragleave":Uu=null;break;case"mouseover":case"mouseout":zu=null;break;case"pointerover":case"pointerout":Mm.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$m.delete(t.pointerId)}}function th(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=O0(t),t!==null&&LC(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ice(e,t,n,r,i){switch(t){case"focusin":return Hu=th(Hu,e,t,n,r,i),!0;case"dragenter":return Uu=th(Uu,e,t,n,r,i),!0;case"mouseover":return zu=th(zu,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Mm.set(o,th(Mm.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,$m.set(o,th($m.get(o)||null,e,t,n,r,i)),!0}return!1}function HF(e){var t=n1(e.target);if(t!==null){var n=X1(t);if(n!==null){if(t=n.tag,t===13){if(t=IF(n),t!==null){e.blockedOn=t,BF(e.priority,function(){$F(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function M5(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hS(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);lS=r,n.target.dispatchEvent(r),lS=null}else return t=O0(n),t!==null&&LC(t),e.blockedOn=n,!1;t.shift()}return!0}function yR(e,t,n){M5(e)&&n.delete(t)}function oce(){pS=!1,Hu!==null&&M5(Hu)&&(Hu=null),Uu!==null&&M5(Uu)&&(Uu=null),zu!==null&&M5(zu)&&(zu=null),Mm.forEach(yR),$m.forEach(yR)}function nh(e,t){e.blockedOn===t&&(e.blockedOn=null,pS||(pS=!0,Go.unstable_scheduleCallback(Go.unstable_NormalPriority,oce)))}function Fm(e){function t(i){return nh(i,e)}if(0<Av.length){nh(Av[0],e);for(var n=1;n<Av.length;n++){var r=Av[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Hu!==null&&nh(Hu,e),Uu!==null&&nh(Uu,e),zu!==null&&nh(zu,e),Mm.forEach(t),$m.forEach(t),n=0;n<Au.length;n++)r=Au[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Au.length&&(n=Au[0],n.blockedOn===null);)HF(n),n.blockedOn===null&&Au.shift()}var cf=Xl.ReactCurrentBatchConfig,k9=!0;function ace(e,t,n,r){var i=Cn,o=cf.transition;cf.transition=null;try{Cn=1,MC(e,t,n,r)}finally{Cn=i,cf.transition=o}}function sce(e,t,n,r){var i=Cn,o=cf.transition;cf.transition=null;try{Cn=4,MC(e,t,n,r)}finally{Cn=i,cf.transition=o}}function MC(e,t,n,r){if(k9){var i=hS(e,t,n,r);if(i===null)UE(e,t,r,N9,n),vR(e,r);else if(ice(i,e,t,n,r))r.stopPropagation();else if(vR(e,r),t&4&&-1<rce.indexOf(e)){for(;i!==null;){var o=O0(i);if(o!==null&&MF(o),o=hS(e,t,n,r),o===null&&UE(e,t,r,N9,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else UE(e,t,r,null,n)}}var N9=null;function hS(e,t,n,r){if(N9=null,e=kC(r),e=n1(e),e!==null)if(t=X1(e),t===null)e=null;else if(n=t.tag,n===13){if(e=IF(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return N9=e,null}function UF(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(que()){case NC:return 1;case kF:return 4;case P9:case Yue:return 16;case NF:return 536870912;default:return 16}default:return 16}}var ku=null,$C=null,$5=null;function zF(){if($5)return $5;var e,t=$C,n=t.length,r,i="value"in ku?ku.value:ku.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return $5=i.slice(e,1<r?1-r:void 0)}function F5(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Iv(){return!0}function bR(){return!1}function Ko(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Iv:bR,this.isPropagationStopped=bR,this}return mr(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Iv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Iv)},persist:function(){},isPersistent:Iv}),t}var mp={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},FC=Ko(mp),P0=mr({},mp,{view:0,detail:0}),lce=Ko(P0),kE,NE,rh,c2=mr({},P0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:BC,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==rh&&(rh&&e.type==="mousemove"?(kE=e.screenX-rh.screenX,NE=e.screenY-rh.screenY):NE=kE=0,rh=e),kE)},movementY:function(e){return"movementY"in e?e.movementY:NE}}),ER=Ko(c2),uce=mr({},c2,{dataTransfer:0}),cce=Ko(uce),dce=mr({},P0,{relatedTarget:0}),DE=Ko(dce),fce=mr({},mp,{animationName:0,elapsedTime:0,pseudoElement:0}),pce=Ko(fce),hce=mr({},mp,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mce=Ko(hce),gce=mr({},mp,{data:0}),TR=Ko(gce),vce={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yce={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"},bce={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ece(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bce[e])?!!t[e]:!1}function BC(){return Ece}var Tce=mr({},P0,{key:function(e){if(e.key){var t=vce[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=F5(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yce[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:BC,charCode:function(e){return e.type==="keypress"?F5(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?F5(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_ce=Ko(Tce),Sce=mr({},c2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_R=Ko(Sce),xce=mr({},P0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:BC}),Cce=Ko(xce),wce=mr({},mp,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ace=Ko(wce),Ice=mr({},c2,{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}),Rce=Ko(Ice),Pce=[9,13,27,32],HC=Bl&&"CompositionEvent"in window,Zh=null;Bl&&"documentMode"in document&&(Zh=document.documentMode);var Oce=Bl&&"TextEvent"in window&&!Zh,GF=Bl&&(!HC||Zh&&8<Zh&&11>=Zh),SR=String.fromCharCode(32),xR=!1;function WF(e,t){switch(e){case"keyup":return Pce.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jF(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gd=!1;function kce(e,t){switch(e){case"compositionend":return jF(t);case"keypress":return t.which!==32?null:(xR=!0,SR);case"textInput":return e=t.data,e===SR&&xR?null:e;default:return null}}function Nce(e,t){if(Gd)return e==="compositionend"||!HC&&WF(e,t)?(e=zF(),$5=$C=ku=null,Gd=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return GF&&t.locale!=="ko"?null:t.data;default:return null}}var Dce={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 CR(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Dce[e.type]:t==="textarea"}function VF(e,t,n,r){SF(r),t=D9(t,"onChange"),0<t.length&&(n=new FC("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Jh=null,Bm=null;function Lce(e){rB(e,0)}function d2(e){var t=Vd(e);if(gF(t))return e}function Mce(e,t){if(e==="change")return t}var KF=!1;if(Bl){var LE;if(Bl){var ME="oninput"in document;if(!ME){var wR=document.createElement("div");wR.setAttribute("oninput","return;"),ME=typeof wR.oninput=="function"}LE=ME}else LE=!1;KF=LE&&(!document.documentMode||9<document.documentMode)}function AR(){Jh&&(Jh.detachEvent("onpropertychange",qF),Bm=Jh=null)}function qF(e){if(e.propertyName==="value"&&d2(Bm)){var t=[];VF(t,Bm,e,kC(e)),AF(Lce,t)}}function $ce(e,t,n){e==="focusin"?(AR(),Jh=t,Bm=n,Jh.attachEvent("onpropertychange",qF)):e==="focusout"&&AR()}function Fce(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return d2(Bm)}function Bce(e,t){if(e==="click")return d2(t)}function Hce(e,t){if(e==="input"||e==="change")return d2(t)}function Uce(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ls=typeof Object.is=="function"?Object.is:Uce;function Hm(e,t){if(ls(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!X_.call(t,i)||!ls(e[i],t[i]))return!1}return!0}function IR(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function RR(e,t){var n=IR(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=IR(n)}}function YF(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?YF(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function XF(){for(var e=window,t=A9();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=A9(e.document)}return t}function UC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function zce(e){var t=XF(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&YF(n.ownerDocument.documentElement,n)){if(r!==null&&UC(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=RR(n,o);var a=RR(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Gce=Bl&&"documentMode"in document&&11>=document.documentMode,Wd=null,mS=null,em=null,gS=!1;function PR(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gS||Wd==null||Wd!==A9(r)||(r=Wd,"selectionStart"in r&&UC(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),em&&Hm(em,r)||(em=r,r=D9(mS,"onSelect"),0<r.length&&(t=new FC("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Wd)))}function Rv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var jd={animationend:Rv("Animation","AnimationEnd"),animationiteration:Rv("Animation","AnimationIteration"),animationstart:Rv("Animation","AnimationStart"),transitionend:Rv("Transition","TransitionEnd")},$E={},QF={};Bl&&(QF=document.createElement("div").style,"AnimationEvent"in window||(delete jd.animationend.animation,delete jd.animationiteration.animation,delete jd.animationstart.animation),"TransitionEvent"in window||delete jd.transitionend.transition);function f2(e){if($E[e])return $E[e];if(!jd[e])return e;var t=jd[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in QF)return $E[e]=t[n];return e}var ZF=f2("animationend"),JF=f2("animationiteration"),eB=f2("animationstart"),tB=f2("transitionend"),nB=new Map,OR="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function dc(e,t){nB.set(e,t),Y1(t,[e])}for(var FE=0;FE<OR.length;FE++){var BE=OR[FE],Wce=BE.toLowerCase(),jce=BE[0].toUpperCase()+BE.slice(1);dc(Wce,"on"+jce)}dc(ZF,"onAnimationEnd");dc(JF,"onAnimationIteration");dc(eB,"onAnimationStart");dc("dblclick","onDoubleClick");dc("focusin","onFocus");dc("focusout","onBlur");dc(tB,"onTransitionEnd");wf("onMouseEnter",["mouseout","mouseover"]);wf("onMouseLeave",["mouseout","mouseover"]);wf("onPointerEnter",["pointerout","pointerover"]);wf("onPointerLeave",["pointerout","pointerover"]);Y1("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Y1("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Y1("onBeforeInput",["compositionend","keypress","textInput","paste"]);Y1("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Y1("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Y1("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dh="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(" "),Vce=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dh));function kR(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Wue(r,t,void 0,e),e.currentTarget=null}function rB(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;kR(i,s,c),o=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;kR(i,s,c),o=l}}}if(R9)throw e=dS,R9=!1,dS=null,e}function Xn(e,t){var n=t[TS];n===void 0&&(n=t[TS]=new Set);var r=e+"__bubble";n.has(r)||(iB(t,e,2,!1),n.add(r))}function HE(e,t,n){var r=0;t&&(r|=4),iB(n,e,r,t)}var Pv="_reactListening"+Math.random().toString(36).slice(2);function Um(e){if(!e[Pv]){e[Pv]=!0,dF.forEach(function(n){n!=="selectionchange"&&(Vce.has(n)||HE(n,!1,e),HE(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Pv]||(t[Pv]=!0,HE("selectionchange",!1,t))}}function iB(e,t,n,r){switch(UF(t)){case 1:var i=ace;break;case 4:i=sce;break;default:i=MC}n=i.bind(null,t,n,e),i=void 0,!cS||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function UE(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=n1(s),a===null)return;if(l=a.tag,l===5||l===6){r=o=a;continue e}s=s.parentNode}}r=r.return}AF(function(){var c=o,d=kC(n),p=[];e:{var h=nB.get(e);if(h!==void 0){var m=FC,v=e;switch(e){case"keypress":if(F5(n)===0)break e;case"keydown":case"keyup":m=_ce;break;case"focusin":v="focus",m=DE;break;case"focusout":v="blur",m=DE;break;case"beforeblur":case"afterblur":m=DE;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=ER;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=cce;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Cce;break;case ZF:case JF:case eB:m=pce;break;case tB:m=Ace;break;case"scroll":m=lce;break;case"wheel":m=Rce;break;case"copy":case"cut":case"paste":m=mce;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=_R}var y=(t&4)!==0,x=!y&&e==="scroll",b=y?h!==null?h+"Capture":null:h;y=[];for(var _=c,S;_!==null;){S=_;var C=S.stateNode;if(S.tag===5&&C!==null&&(S=C,b!==null&&(C=Lm(_,b),C!=null&&y.push(zm(_,C,S)))),x)break;_=_.return}0<y.length&&(h=new m(h,v,null,n,d),p.push({event:h,listeners:y}))}}if((t&7)===0){e:{if(h=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",h&&n!==lS&&(v=n.relatedTarget||n.fromElement)&&(n1(v)||v[Hl]))break e;if((m||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=c,v=v?n1(v):null,v!==null&&(x=X1(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=c),m!==v)){if(y=ER,C="onMouseLeave",b="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(y=_R,C="onPointerLeave",b="onPointerEnter",_="pointer"),x=m==null?h:Vd(m),S=v==null?h:Vd(v),h=new y(C,_+"leave",m,n,d),h.target=x,h.relatedTarget=S,C=null,n1(d)===c&&(y=new y(b,_+"enter",v,n,d),y.target=S,y.relatedTarget=x,C=y),x=C,m&&v)t:{for(y=m,b=v,_=0,S=y;S;S=Td(S))_++;for(S=0,C=b;C;C=Td(C))S++;for(;0<_-S;)y=Td(y),_--;for(;0<S-_;)b=Td(b),S--;for(;_--;){if(y===b||b!==null&&y===b.alternate)break t;y=Td(y),b=Td(b)}y=null}else y=null;m!==null&&NR(p,h,m,y,!1),v!==null&&x!==null&&NR(p,x,v,y,!0)}}e:{if(h=c?Vd(c):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var O=Mce;else if(CR(h))if(KF)O=Hce;else{O=Fce;var A=$ce}else(m=h.nodeName)&&m.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(O=Bce);if(O&&(O=O(e,c))){VF(p,O,n,d);break e}A&&A(e,h,c),e==="focusout"&&(A=h._wrapperState)&&A.controlled&&h.type==="number"&&rS(h,"number",h.value)}switch(A=c?Vd(c):window,e){case"focusin":(CR(A)||A.contentEditable==="true")&&(Wd=A,mS=c,em=null);break;case"focusout":em=mS=Wd=null;break;case"mousedown":gS=!0;break;case"contextmenu":case"mouseup":case"dragend":gS=!1,PR(p,n,d);break;case"selectionchange":if(Gce)break;case"keydown":case"keyup":PR(p,n,d)}var R;if(HC)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Gd?WF(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(GF&&n.locale!=="ko"&&(Gd||N!=="onCompositionStart"?N==="onCompositionEnd"&&Gd&&(R=zF()):(ku=d,$C="value"in ku?ku.value:ku.textContent,Gd=!0)),A=D9(c,N),0<A.length&&(N=new TR(N,e,null,n,d),p.push({event:N,listeners:A}),R?N.data=R:(R=jF(n),R!==null&&(N.data=R)))),(R=Oce?kce(e,n):Nce(e,n))&&(c=D9(c,"onBeforeInput"),0<c.length&&(d=new TR("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:c}),d.data=R))}rB(p,t)})}function zm(e,t,n){return{instance:e,listener:t,currentTarget:n}}function D9(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Lm(e,n),o!=null&&r.unshift(zm(e,o,i)),o=Lm(e,t),o!=null&&r.push(zm(e,o,i))),e=e.return}return r}function Td(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function NR(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&c!==null&&(s=c,i?(l=Lm(n,o),l!=null&&a.unshift(zm(n,l,s))):i||(l=Lm(n,o),l!=null&&a.push(zm(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Kce=/\r\n?/g,qce=/\u0000|\uFFFD/g;function DR(e){return(typeof e=="string"?e:""+e).replace(Kce,`
`).replace(qce,"")}function Ov(e,t,n){if(t=DR(t),DR(e)!==t&&n)throw Error(Me(425))}function L9(){}var vS=null,yS=null;function bS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ES=typeof setTimeout=="function"?setTimeout:void 0,Yce=typeof clearTimeout=="function"?clearTimeout:void 0,LR=typeof Promise=="function"?Promise:void 0,Xce=typeof queueMicrotask=="function"?queueMicrotask:typeof LR<"u"?function(e){return LR.resolve(null).then(e).catch(Qce)}:ES;function Qce(e){setTimeout(function(){throw e})}function zE(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Fm(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Fm(t)}function Gu(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function MR(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var gp=Math.random().toString(36).slice(2),Ds="__reactFiber$"+gp,Gm="__reactProps$"+gp,Hl="__reactContainer$"+gp,TS="__reactEvents$"+gp,Zce="__reactListeners$"+gp,Jce="__reactHandles$"+gp;function n1(e){var t=e[Ds];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hl]||n[Ds]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=MR(e);e!==null;){if(n=e[Ds])return n;e=MR(e)}return t}e=n,n=e.parentNode}return null}function O0(e){return e=e[Ds]||e[Hl],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Vd(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Me(33))}function p2(e){return e[Gm]||null}var _S=[],Kd=-1;function fc(e){return{current:e}}function nr(e){0>Kd||(e.current=_S[Kd],_S[Kd]=null,Kd--)}function Vn(e,t){Kd++,_S[Kd]=e.current,e.current=t}var ic={},Ii=fc(ic),fo=fc(!1),x1=ic;function Af(e,t){var n=e.type.contextTypes;if(!n)return ic;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function po(e){return e=e.childContextTypes,e!=null}function M9(){nr(fo),nr(Ii)}function $R(e,t,n){if(Ii.current!==ic)throw Error(Me(168));Vn(Ii,t),Vn(fo,n)}function oB(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Me(108,$ue(e)||"Unknown",i));return mr({},n,r)}function $9(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ic,x1=Ii.current,Vn(Ii,e),Vn(fo,fo.current),!0}function FR(e,t,n){var r=e.stateNode;if(!r)throw Error(Me(169));n?(e=oB(e,t,x1),r.__reactInternalMemoizedMergedChildContext=e,nr(fo),nr(Ii),Vn(Ii,e)):nr(fo),Vn(fo,n)}var xl=null,h2=!1,GE=!1;function aB(e){xl===null?xl=[e]:xl.push(e)}function e1e(e){h2=!0,aB(e)}function pc(){if(!GE&&xl!==null){GE=!0;var e=0,t=Cn;try{var n=xl;for(Cn=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xl=null,h2=!1}catch(i){throw xl!==null&&(xl=xl.slice(e+1)),OF(NC,pc),i}finally{Cn=t,GE=!1}}return null}var qd=[],Yd=0,F9=null,B9=0,la=[],ua=0,C1=null,wl=1,Al="";function zc(e,t){qd[Yd++]=B9,qd[Yd++]=F9,F9=e,B9=t}function sB(e,t,n){la[ua++]=wl,la[ua++]=Al,la[ua++]=C1,C1=e;var r=wl;e=Al;var i=32-ts(r)-1;r&=~(1<<i),n+=1;var o=32-ts(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,wl=1<<32-ts(t)+i|n<<i|r,Al=o+e}else wl=1<<o|n<<i|r,Al=e}function zC(e){e.return!==null&&(zc(e,1),sB(e,1,0))}function GC(e){for(;e===F9;)F9=qd[--Yd],qd[Yd]=null,B9=qd[--Yd],qd[Yd]=null;for(;e===C1;)C1=la[--ua],la[ua]=null,Al=la[--ua],la[ua]=null,wl=la[--ua],la[ua]=null}var Fo=null,Lo=null,sr=!1,Qa=null;function lB(e,t){var n=ma(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function BR(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Fo=e,Lo=Gu(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Fo=e,Lo=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=C1!==null?{id:wl,overflow:Al}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ma(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Fo=e,Lo=null,!0):!1;default:return!1}}function SS(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xS(e){if(sr){var t=Lo;if(t){var n=t;if(!BR(e,t)){if(SS(e))throw Error(Me(418));t=Gu(n.nextSibling);var r=Fo;t&&BR(e,t)?lB(r,n):(e.flags=e.flags&-4097|2,sr=!1,Fo=e)}}else{if(SS(e))throw Error(Me(418));e.flags=e.flags&-4097|2,sr=!1,Fo=e}}}function HR(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Fo=e}function kv(e){if(e!==Fo)return!1;if(!sr)return HR(e),sr=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bS(e.type,e.memoizedProps)),t&&(t=Lo)){if(SS(e))throw uB(),Error(Me(418));for(;t;)lB(e,t),t=Gu(t.nextSibling)}if(HR(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Me(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Lo=Gu(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Lo=null}}else Lo=Fo?Gu(e.stateNode.nextSibling):null;return!0}function uB(){for(var e=Lo;e;)e=Gu(e.nextSibling)}function If(){Lo=Fo=null,sr=!1}function WC(e){Qa===null?Qa=[e]:Qa.push(e)}var t1e=Xl.ReactCurrentBatchConfig;function Ka(e,t){if(e&&e.defaultProps){t=mr({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var H9=fc(null),U9=null,Xd=null,jC=null;function VC(){jC=Xd=U9=null}function KC(e){var t=H9.current;nr(H9),e._currentValue=t}function CS(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function df(e,t){U9=e,jC=Xd=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ao=!0),e.firstContext=null)}function wa(e){var t=e._currentValue;if(jC!==e)if(e={context:e,memoizedValue:t,next:null},Xd===null){if(U9===null)throw Error(Me(308));Xd=e,U9.dependencies={lanes:0,firstContext:e}}else Xd=Xd.next=e;return t}var r1=null;function qC(e){r1===null?r1=[e]:r1.push(e)}function cB(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,qC(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ul(e,r)}function Ul(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Cu=!1;function YC(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function dB(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wu(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(hn&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ul(e,n)}return i=r.interleaved,i===null?(t.next=t,qC(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ul(e,n)}function B5(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,DC(e,n)}}function UR(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function z9(e,t,n,r){var i=e.updateQueue;Cu=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(o!==null){var p=i.baseState;a=0,d=c=l=null,s=o;do{var h=s.lane,m=s.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,y=s;switch(h=t,m=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){p=v.call(m,p,h);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,h=typeof v=="function"?v.call(m,p,h):v,h==null)break e;p=mr({},p,h);break e;case 2:Cu=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else m={eventTime:m,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=m,l=p):d=d.next=m,a|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(1);if(d===null&&(l=p),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);A1|=a,e.lanes=a,e.memoizedState=p}}function zR(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(Me(191,i));i.call(r)}}}var fB=new cF.Component().refs;function wS(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:mr({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var m2={isMounted:function(e){return(e=e._reactInternals)?X1(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ui(),i=Vu(e),o=Pl(r,i);o.payload=t,n!=null&&(o.callback=n),t=Wu(e,o,i),t!==null&&(ns(t,e,i,r),B5(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ui(),i=Vu(e),o=Pl(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Wu(e,o,i),t!==null&&(ns(t,e,i,r),B5(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ui(),r=Vu(e),i=Pl(n,r);i.tag=2,t!=null&&(i.callback=t),t=Wu(e,i,r),t!==null&&(ns(t,e,r,n),B5(t,e,r))}};function GR(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Hm(n,r)||!Hm(i,o):!0}function pB(e,t,n){var r=!1,i=ic,o=t.contextType;return typeof o=="object"&&o!==null?o=wa(o):(i=po(t)?x1:Ii.current,r=t.contextTypes,o=(r=r!=null)?Af(e,i):ic),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=m2,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function WR(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&m2.enqueueReplaceState(t,t.state,null)}function AS(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fB,YC(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=wa(o):(o=po(t)?x1:Ii.current,i.context=Af(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(wS(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&m2.enqueueReplaceState(i,i.state,null),z9(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function ih(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(Me(309));var r=n.stateNode}if(!r)throw Error(Me(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=i.refs;s===fB&&(s=i.refs={}),a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(Me(284));if(!n._owner)throw Error(Me(290,e))}return e}function Nv(e,t){throw e=Object.prototype.toString.call(t),Error(Me(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jR(e){var t=e._init;return t(e._payload)}function hB(e){function t(b,_){if(e){var S=b.deletions;S===null?(b.deletions=[_],b.flags|=16):S.push(_)}}function n(b,_){if(!e)return null;for(;_!==null;)t(b,_),_=_.sibling;return null}function r(b,_){for(b=new Map;_!==null;)_.key!==null?b.set(_.key,_):b.set(_.index,_),_=_.sibling;return b}function i(b,_){return b=Ku(b,_),b.index=0,b.sibling=null,b}function o(b,_,S){return b.index=S,e?(S=b.alternate,S!==null?(S=S.index,S<_?(b.flags|=2,_):S):(b.flags|=2,_)):(b.flags|=1048576,_)}function a(b){return e&&b.alternate===null&&(b.flags|=2),b}function s(b,_,S,C){return _===null||_.tag!==6?(_=XE(S,b.mode,C),_.return=b,_):(_=i(_,S),_.return=b,_)}function l(b,_,S,C){var O=S.type;return O===zd?d(b,_,S.props.children,C,S.key):_!==null&&(_.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===xu&&jR(O)===_.type)?(C=i(_,S.props),C.ref=ih(b,_,S),C.return=b,C):(C=j5(S.type,S.key,S.props,null,b.mode,C),C.ref=ih(b,_,S),C.return=b,C)}function c(b,_,S,C){return _===null||_.tag!==4||_.stateNode.containerInfo!==S.containerInfo||_.stateNode.implementation!==S.implementation?(_=QE(S,b.mode,C),_.return=b,_):(_=i(_,S.children||[]),_.return=b,_)}function d(b,_,S,C,O){return _===null||_.tag!==7?(_=g1(S,b.mode,C,O),_.return=b,_):(_=i(_,S),_.return=b,_)}function p(b,_,S){if(typeof _=="string"&&_!==""||typeof _=="number")return _=XE(""+_,b.mode,S),_.return=b,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case _v:return S=j5(_.type,_.key,_.props,null,b.mode,S),S.ref=ih(b,null,_),S.return=b,S;case Ud:return _=QE(_,b.mode,S),_.return=b,_;case xu:var C=_._init;return p(b,C(_._payload),S)}if(kh(_)||Jp(_))return _=g1(_,b.mode,S,null),_.return=b,_;Nv(b,_)}return null}function h(b,_,S,C){var O=_!==null?_.key:null;if(typeof S=="string"&&S!==""||typeof S=="number")return O!==null?null:s(b,_,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case _v:return S.key===O?l(b,_,S,C):null;case Ud:return S.key===O?c(b,_,S,C):null;case xu:return O=S._init,h(b,_,O(S._payload),C)}if(kh(S)||Jp(S))return O!==null?null:d(b,_,S,C,null);Nv(b,S)}return null}function m(b,_,S,C,O){if(typeof C=="string"&&C!==""||typeof C=="number")return b=b.get(S)||null,s(_,b,""+C,O);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case _v:return b=b.get(C.key===null?S:C.key)||null,l(_,b,C,O);case Ud:return b=b.get(C.key===null?S:C.key)||null,c(_,b,C,O);case xu:var A=C._init;return m(b,_,S,A(C._payload),O)}if(kh(C)||Jp(C))return b=b.get(S)||null,d(_,b,C,O,null);Nv(_,C)}return null}function v(b,_,S,C){for(var O=null,A=null,R=_,N=_=0,F=null;R!==null&&N<S.length;N++){R.index>N?(F=R,R=null):F=R.sibling;var L=h(b,R,S[N],C);if(L===null){R===null&&(R=F);break}e&&R&&L.alternate===null&&t(b,R),_=o(L,_,N),A===null?O=L:A.sibling=L,A=L,R=F}if(N===S.length)return n(b,R),sr&&zc(b,N),O;if(R===null){for(;N<S.length;N++)R=p(b,S[N],C),R!==null&&(_=o(R,_,N),A===null?O=R:A.sibling=R,A=R);return sr&&zc(b,N),O}for(R=r(b,R);N<S.length;N++)F=m(R,b,N,S[N],C),F!==null&&(e&&F.alternate!==null&&R.delete(F.key===null?N:F.key),_=o(F,_,N),A===null?O=F:A.sibling=F,A=F);return e&&R.forEach(function(H){return t(b,H)}),sr&&zc(b,N),O}function y(b,_,S,C){var O=Jp(S);if(typeof O!="function")throw Error(Me(150));if(S=O.call(S),S==null)throw Error(Me(151));for(var A=O=null,R=_,N=_=0,F=null,L=S.next();R!==null&&!L.done;N++,L=S.next()){R.index>N?(F=R,R=null):F=R.sibling;var H=h(b,R,L.value,C);if(H===null){R===null&&(R=F);break}e&&R&&H.alternate===null&&t(b,R),_=o(H,_,N),A===null?O=H:A.sibling=H,A=H,R=F}if(L.done)return n(b,R),sr&&zc(b,N),O;if(R===null){for(;!L.done;N++,L=S.next())L=p(b,L.value,C),L!==null&&(_=o(L,_,N),A===null?O=L:A.sibling=L,A=L);return sr&&zc(b,N),O}for(R=r(b,R);!L.done;N++,L=S.next())L=m(R,b,N,L.value,C),L!==null&&(e&&L.alternate!==null&&R.delete(L.key===null?N:L.key),_=o(L,_,N),A===null?O=L:A.sibling=L,A=L);return e&&R.forEach(function(j){return t(b,j)}),sr&&zc(b,N),O}function x(b,_,S,C){if(typeof S=="object"&&S!==null&&S.type===zd&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case _v:e:{for(var O=S.key,A=_;A!==null;){if(A.key===O){if(O=S.type,O===zd){if(A.tag===7){n(b,A.sibling),_=i(A,S.props.children),_.return=b,b=_;break e}}else if(A.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===xu&&jR(O)===A.type){n(b,A.sibling),_=i(A,S.props),_.ref=ih(b,A,S),_.return=b,b=_;break e}n(b,A);break}else t(b,A);A=A.sibling}S.type===zd?(_=g1(S.props.children,b.mode,C,S.key),_.return=b,b=_):(C=j5(S.type,S.key,S.props,null,b.mode,C),C.ref=ih(b,_,S),C.return=b,b=C)}return a(b);case Ud:e:{for(A=S.key;_!==null;){if(_.key===A)if(_.tag===4&&_.stateNode.containerInfo===S.containerInfo&&_.stateNode.implementation===S.implementation){n(b,_.sibling),_=i(_,S.children||[]),_.return=b,b=_;break e}else{n(b,_);break}else t(b,_);_=_.sibling}_=QE(S,b.mode,C),_.return=b,b=_}return a(b);case xu:return A=S._init,x(b,_,A(S._payload),C)}if(kh(S))return v(b,_,S,C);if(Jp(S))return y(b,_,S,C);Nv(b,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,_!==null&&_.tag===6?(n(b,_.sibling),_=i(_,S),_.return=b,b=_):(n(b,_),_=XE(S,b.mode,C),_.return=b,b=_),a(b)):n(b,_)}return x}var Rf=hB(!0),mB=hB(!1),k0={},Us=fc(k0),Wm=fc(k0),jm=fc(k0);function i1(e){if(e===k0)throw Error(Me(174));return e}function XC(e,t){switch(Vn(jm,t),Vn(Wm,e),Vn(Us,k0),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oS(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=oS(t,e)}nr(Us),Vn(Us,t)}function Pf(){nr(Us),nr(Wm),nr(jm)}function gB(e){i1(jm.current);var t=i1(Us.current),n=oS(t,e.type);t!==n&&(Vn(Wm,e),Vn(Us,n))}function QC(e){Wm.current===e&&(nr(Us),nr(Wm))}var pr=fc(0);function G9(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var WE=[];function ZC(){for(var e=0;e<WE.length;e++)WE[e]._workInProgressVersionPrimary=null;WE.length=0}var H5=Xl.ReactCurrentDispatcher,jE=Xl.ReactCurrentBatchConfig,w1=0,hr=null,Hr=null,Xr=null,W9=!1,tm=!1,Vm=0,n1e=0;function _i(){throw Error(Me(321))}function JC(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ls(e[n],t[n]))return!1;return!0}function e8(e,t,n,r,i,o){if(w1=o,hr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H5.current=e===null||e.memoizedState===null?a1e:s1e,e=n(r,i),tm){o=0;do{if(tm=!1,Vm=0,25<=o)throw Error(Me(301));o+=1,Xr=Hr=null,t.updateQueue=null,H5.current=l1e,e=n(r,i)}while(tm)}if(H5.current=j9,t=Hr!==null&&Hr.next!==null,w1=0,Xr=Hr=hr=null,W9=!1,t)throw Error(Me(300));return e}function t8(){var e=Vm!==0;return Vm=0,e}function Is(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xr===null?hr.memoizedState=Xr=e:Xr=Xr.next=e,Xr}function Aa(){if(Hr===null){var e=hr.alternate;e=e!==null?e.memoizedState:null}else e=Hr.next;var t=Xr===null?hr.memoizedState:Xr.next;if(t!==null)Xr=t,Hr=e;else{if(e===null)throw Error(Me(310));Hr=e,e={memoizedState:Hr.memoizedState,baseState:Hr.baseState,baseQueue:Hr.baseQueue,queue:Hr.queue,next:null},Xr===null?hr.memoizedState=Xr=e:Xr=Xr.next=e}return Xr}function Km(e,t){return typeof t=="function"?t(e):t}function VE(e){var t=Aa(),n=t.queue;if(n===null)throw Error(Me(311));n.lastRenderedReducer=e;var r=Hr,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=a=null,l=null,c=o;do{var d=c.lane;if((w1&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=p,a=r):l=l.next=p,hr.lanes|=d,A1|=d}c=c.next}while(c!==null&&c!==o);l===null?a=r:l.next=s,ls(r,t.memoizedState)||(ao=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,hr.lanes|=o,A1|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function KE(e){var t=Aa(),n=t.queue;if(n===null)throw Error(Me(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);ls(o,t.memoizedState)||(ao=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function vB(){}function yB(e,t){var n=hr,r=Aa(),i=t(),o=!ls(r.memoizedState,i);if(o&&(r.memoizedState=i,ao=!0),r=r.queue,n8(TB.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Xr!==null&&Xr.memoizedState.tag&1){if(n.flags|=2048,qm(9,EB.bind(null,n,r,i,t),void 0,null),Jr===null)throw Error(Me(349));(w1&30)!==0||bB(n,t,i)}return i}function bB(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=hr.updateQueue,t===null?(t={lastEffect:null,stores:null},hr.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function EB(e,t,n,r){t.value=n,t.getSnapshot=r,_B(t)&&SB(e)}function TB(e,t,n){return n(function(){_B(t)&&SB(e)})}function _B(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ls(e,n)}catch(r){return!0}}function SB(e){var t=Ul(e,1);t!==null&&ns(t,e,1,-1)}function VR(e){var t=Is();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Km,lastRenderedState:e},t.queue=e,e=e.dispatch=o1e.bind(null,hr,e),[t.memoizedState,e]}function qm(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=hr.updateQueue,t===null?(t={lastEffect:null,stores:null},hr.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function xB(){return Aa().memoizedState}function U5(e,t,n,r){var i=Is();hr.flags|=e,i.memoizedState=qm(1|t,n,void 0,r===void 0?null:r)}function g2(e,t,n,r){var i=Aa();r=r===void 0?null:r;var o=void 0;if(Hr!==null){var a=Hr.memoizedState;if(o=a.destroy,r!==null&&JC(r,a.deps)){i.memoizedState=qm(t,n,o,r);return}}hr.flags|=e,i.memoizedState=qm(1|t,n,o,r)}function KR(e,t){return U5(8390656,8,e,t)}function n8(e,t){return g2(2048,8,e,t)}function CB(e,t){return g2(4,2,e,t)}function wB(e,t){return g2(4,4,e,t)}function AB(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function IB(e,t,n){return n=n!=null?n.concat([e]):null,g2(4,4,AB.bind(null,t,e),n)}function r8(){}function RB(e,t){var n=Aa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&JC(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function PB(e,t){var n=Aa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&JC(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function OB(e,t,n){return(w1&21)===0?(e.baseState&&(e.baseState=!1,ao=!0),e.memoizedState=n):(ls(n,t)||(n=DF(),hr.lanes|=n,A1|=n,e.baseState=!0),t)}function r1e(e,t){var n=Cn;Cn=n!==0&&4>n?n:4,e(!0);var r=jE.transition;jE.transition={};try{e(!1),t()}finally{Cn=n,jE.transition=r}}function kB(){return Aa().memoizedState}function i1e(e,t,n){var r=Vu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},NB(e))DB(t,n);else if(n=cB(e,t,n,r),n!==null){var i=Ui();ns(n,e,r,i),LB(n,t,r)}}function o1e(e,t,n){var r=Vu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(NB(e))DB(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,ls(s,a)){var l=t.interleaved;l===null?(i.next=i,qC(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch(c){}finally{}n=cB(e,t,i,r),n!==null&&(i=Ui(),ns(n,e,r,i),LB(n,t,r))}}function NB(e){var t=e.alternate;return e===hr||t!==null&&t===hr}function DB(e,t){tm=W9=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function LB(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,DC(e,n)}}var j9={readContext:wa,useCallback:_i,useContext:_i,useEffect:_i,useImperativeHandle:_i,useInsertionEffect:_i,useLayoutEffect:_i,useMemo:_i,useReducer:_i,useRef:_i,useState:_i,useDebugValue:_i,useDeferredValue:_i,useTransition:_i,useMutableSource:_i,useSyncExternalStore:_i,useId:_i,unstable_isNewReconciler:!1},a1e={readContext:wa,useCallback:function(e,t){return Is().memoizedState=[e,t===void 0?null:t],e},useContext:wa,useEffect:KR,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,U5(4194308,4,AB.bind(null,t,e),n)},useLayoutEffect:function(e,t){return U5(4194308,4,e,t)},useInsertionEffect:function(e,t){return U5(4,2,e,t)},useMemo:function(e,t){var n=Is();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Is();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=i1e.bind(null,hr,e),[r.memoizedState,e]},useRef:function(e){var t=Is();return e={current:e},t.memoizedState=e},useState:VR,useDebugValue:r8,useDeferredValue:function(e){return Is().memoizedState=e},useTransition:function(){var e=VR(!1),t=e[0];return e=r1e.bind(null,e[1]),Is().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hr,i=Is();if(sr){if(n===void 0)throw Error(Me(407));n=n()}else{if(n=t(),Jr===null)throw Error(Me(349));(w1&30)!==0||bB(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,KR(TB.bind(null,r,o,e),[e]),r.flags|=2048,qm(9,EB.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Is(),t=Jr.identifierPrefix;if(sr){var n=Al,r=wl;n=(r&~(1<<32-ts(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vm++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=n1e++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},s1e={readContext:wa,useCallback:RB,useContext:wa,useEffect:n8,useImperativeHandle:IB,useInsertionEffect:CB,useLayoutEffect:wB,useMemo:PB,useReducer:VE,useRef:xB,useState:function(){return VE(Km)},useDebugValue:r8,useDeferredValue:function(e){var t=Aa();return OB(t,Hr.memoizedState,e)},useTransition:function(){var e=VE(Km)[0],t=Aa().memoizedState;return[e,t]},useMutableSource:vB,useSyncExternalStore:yB,useId:kB,unstable_isNewReconciler:!1},l1e={readContext:wa,useCallback:RB,useContext:wa,useEffect:n8,useImperativeHandle:IB,useInsertionEffect:CB,useLayoutEffect:wB,useMemo:PB,useReducer:KE,useRef:xB,useState:function(){return KE(Km)},useDebugValue:r8,useDeferredValue:function(e){var t=Aa();return Hr===null?t.memoizedState=e:OB(t,Hr.memoizedState,e)},useTransition:function(){var e=KE(Km)[0],t=Aa().memoizedState;return[e,t]},useMutableSource:vB,useSyncExternalStore:yB,useId:kB,unstable_isNewReconciler:!1};function Of(e,t){try{var n="",r=t;do n+=Mue(r),r=r.return;while(r);var i=n}catch(o){i=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function qE(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function IS(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var u1e=typeof WeakMap=="function"?WeakMap:Map;function MB(e,t,n){n=Pl(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){K9||(K9=!0,FS=r),IS(e,t)},n}function $B(e,t,n){n=Pl(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){IS(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){IS(e,t),typeof r!="function"&&(ju===null?ju=new Set([this]):ju.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function qR(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new u1e;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=S1e.bind(null,e,t,n),t.then(e,e))}function YR(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function XR(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pl(-1,1),t.tag=2,Wu(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var c1e=Xl.ReactCurrentOwner,ao=!1;function Mi(e,t,n,r){t.child=e===null?mB(t,null,n,r):Rf(t,e.child,n,r)}function QR(e,t,n,r,i){n=n.render;var o=t.ref;return df(t,i),r=e8(e,t,n,r,o,i),n=t8(),e!==null&&!ao?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,zl(e,t,i)):(sr&&n&&zC(t),t.flags|=1,Mi(e,t,r,i),t.child)}function ZR(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!d8(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,FB(e,t,o,r,i)):(e=j5(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Hm,n(a,r)&&e.ref===t.ref)return zl(e,t,i)}return t.flags|=1,e=Ku(o,r),e.ref=t.ref,e.return=t,t.child=e}function FB(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Hm(o,r)&&e.ref===t.ref)if(ao=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(ao=!0);else return t.lanes=e.lanes,zl(e,t,i)}return RS(e,t,n,r,i)}function BB(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Vn(Zd,Po),Po|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Vn(Zd,Po),Po|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Vn(Zd,Po),Po|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Vn(Zd,Po),Po|=r;return Mi(e,t,i,n),t.child}function HB(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function RS(e,t,n,r,i){var o=po(n)?x1:Ii.current;return o=Af(t,o),df(t,i),n=e8(e,t,n,r,o,i),r=t8(),e!==null&&!ao?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,zl(e,t,i)):(sr&&r&&zC(t),t.flags|=1,Mi(e,t,n,i),t.child)}function JR(e,t,n,r,i){if(po(n)){var o=!0;$9(t)}else o=!1;if(df(t,i),t.stateNode===null)z5(e,t),pB(t,n,r),AS(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=wa(c):(c=po(n)?x1:Ii.current,c=Af(t,c));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&WR(t,a,r,c),Cu=!1;var h=t.memoizedState;a.state=h,z9(t,r,a,i),l=t.memoizedState,s!==r||h!==l||fo.current||Cu?(typeof d=="function"&&(wS(t,n,d,r),l=t.memoizedState),(s=Cu||GR(t,n,s,r,h,l,c))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,dB(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ka(t.type,s),a.props=c,p=t.pendingProps,h=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=wa(l):(l=po(n)?x1:Ii.current,l=Af(t,l));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==p||h!==l)&&WR(t,a,r,l),Cu=!1,h=t.memoizedState,a.state=h,z9(t,r,a,i);var v=t.memoizedState;s!==p||h!==v||fo.current||Cu?(typeof m=="function"&&(wS(t,n,m,r),v=t.memoizedState),(c=Cu||GR(t,n,c,r,h,v,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return PS(e,t,n,r,o,i)}function PS(e,t,n,r,i,o){HB(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&FR(t,n,!1),zl(e,t,o);r=t.stateNode,c1e.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Rf(t,e.child,null,o),t.child=Rf(t,null,s,o)):Mi(e,t,s,o),t.memoizedState=r.state,i&&FR(t,n,!0),t.child}function UB(e){var t=e.stateNode;t.pendingContext?$R(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$R(e,t.context,!1),XC(e,t.containerInfo)}function eP(e,t,n,r,i){return If(),WC(i),t.flags|=256,Mi(e,t,n,r),t.child}var OS={dehydrated:null,treeContext:null,retryLane:0};function kS(e){return{baseLanes:e,cachePool:null,transitions:null}}function zB(e,t,n){var r=t.pendingProps,i=pr.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Vn(pr,i&1),e===null)return xS(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=a):o=b2(a,r,0,null),e=g1(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=kS(n),t.memoizedState=OS,e):i8(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return d1e(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Ku(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Ku(s,o):(o=g1(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?kS(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=OS,r}return o=e.child,e=o.sibling,r=Ku(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function i8(e,t){return t=b2({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Dv(e,t,n,r){return r!==null&&WC(r),Rf(t,e.child,null,n),e=i8(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function d1e(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=qE(Error(Me(422))),Dv(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=b2({mode:"visible",children:r.children},i,0,null),o=g1(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Rf(t,e.child,null,a),t.child.memoizedState=kS(a),t.memoizedState=OS,o);if((t.mode&1)===0)return Dv(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(Me(419)),r=qE(o,r,void 0),Dv(e,t,a,r)}if(s=(a&e.childLanes)!==0,ao||s){if(r=Jr,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|a))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ul(e,i),ns(r,e,i,-1))}return c8(),r=qE(Error(Me(421))),Dv(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=x1e.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Lo=Gu(i.nextSibling),Fo=t,sr=!0,Qa=null,e!==null&&(la[ua++]=wl,la[ua++]=Al,la[ua++]=C1,wl=e.id,Al=e.overflow,C1=t),t=i8(t,r.children),t.flags|=4096,t)}function tP(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),CS(e.return,t,n)}function YE(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function GB(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Mi(e,t,r.children,n),r=pr.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tP(e,n,t);else if(e.tag===19)tP(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Vn(pr,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&G9(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),YE(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&G9(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}YE(t,!0,n,null,o);break;case"together":YE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function z5(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function zl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),A1|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(Me(153));if(t.child!==null){for(e=t.child,n=Ku(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ku(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function f1e(e,t,n){switch(t.tag){case 3:UB(t),If();break;case 5:gB(t);break;case 1:po(t.type)&&$9(t);break;case 4:XC(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Vn(H9,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Vn(pr,pr.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?zB(e,t,n):(Vn(pr,pr.current&1),e=zl(e,t,n),e!==null?e.sibling:null);Vn(pr,pr.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return GB(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Vn(pr,pr.current),r)break;return null;case 22:case 23:return t.lanes=0,BB(e,t,n)}return zl(e,t,n)}var WB,NS,jB,VB;WB=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};NS=function(){};jB=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,i1(Us.current);var o=null;switch(n){case"input":i=tS(e,i),r=tS(e,r),o=[];break;case"select":i=mr({},i,{value:void 0}),r=mr({},r,{value:void 0}),o=[];break;case"textarea":i=iS(e,i),r=iS(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=L9)}aS(n,r);var a;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Nm.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Nm.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Xn("scroll",e),o||s===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};VB=function(e,t,n,r){n!==r&&(t.flags|=4)};function oh(e,t){if(!sr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Si(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function p1e(e,t,n){var r=t.pendingProps;switch(GC(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Si(t),null;case 1:return po(t.type)&&M9(),Si(t),null;case 3:return r=t.stateNode,Pf(),nr(fo),nr(Ii),ZC(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(kv(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qa!==null&&(US(Qa),Qa=null))),NS(e,t),Si(t),null;case 5:QC(t);var i=i1(jm.current);if(n=t.type,e!==null&&t.stateNode!=null)jB(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Me(166));return Si(t),null}if(e=i1(Us.current),kv(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ds]=t,r[Gm]=o,e=(t.mode&1)!==0,n){case"dialog":Xn("cancel",r),Xn("close",r);break;case"iframe":case"object":case"embed":Xn("load",r);break;case"video":case"audio":for(i=0;i<Dh.length;i++)Xn(Dh[i],r);break;case"source":Xn("error",r);break;case"img":case"image":case"link":Xn("error",r),Xn("load",r);break;case"details":Xn("toggle",r);break;case"input":cR(r,o),Xn("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Xn("invalid",r);break;case"textarea":fR(r,o),Xn("invalid",r)}aS(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&Ov(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Ov(r.textContent,s,e),i=["children",""+s]):Nm.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Xn("scroll",r)}switch(n){case"input":Sv(r),dR(r,o,!0);break;case"textarea":Sv(r),pR(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=L9)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=bF(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ds]=t,e[Gm]=r,WB(e,t,!1,!1),t.stateNode=e;e:{switch(a=sS(n,r),n){case"dialog":Xn("cancel",e),Xn("close",e),i=r;break;case"iframe":case"object":case"embed":Xn("load",e),i=r;break;case"video":case"audio":for(i=0;i<Dh.length;i++)Xn(Dh[i],e);i=r;break;case"source":Xn("error",e),i=r;break;case"img":case"image":case"link":Xn("error",e),Xn("load",e),i=r;break;case"details":Xn("toggle",e),i=r;break;case"input":cR(e,r),i=tS(e,r),Xn("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=mr({},r,{value:void 0}),Xn("invalid",e);break;case"textarea":fR(e,r),i=iS(e,r),Xn("invalid",e);break;default:i=r}aS(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?_F(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&EF(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Dm(e,l):typeof l=="number"&&Dm(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Nm.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Xn("scroll",e):l!=null&&IC(e,o,l,a))}switch(n){case"input":Sv(e),dR(e,r,!1);break;case"textarea":Sv(e),pR(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rc(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?sf(e,!!r.multiple,o,!1):r.defaultValue!=null&&sf(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=L9)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Si(t),null;case 6:if(e&&t.stateNode!=null)VB(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Me(166));if(n=i1(jm.current),i1(Us.current),kv(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ds]=t,(o=r.nodeValue!==n)&&(e=Fo,e!==null))switch(e.tag){case 3:Ov(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ov(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ds]=t,t.stateNode=r}return Si(t),null;case 13:if(nr(pr),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(sr&&Lo!==null&&(t.mode&1)!==0&&(t.flags&128)===0)uB(),If(),t.flags|=98560,o=!1;else if(o=kv(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(Me(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(Me(317));o[Ds]=t}else If(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Si(t),o=!1}else Qa!==null&&(US(Qa),Qa=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(pr.current&1)!==0?zr===0&&(zr=3):c8())),t.updateQueue!==null&&(t.flags|=4),Si(t),null);case 4:return Pf(),NS(e,t),e===null&&Um(t.stateNode.containerInfo),Si(t),null;case 10:return KC(t.type._context),Si(t),null;case 17:return po(t.type)&&M9(),Si(t),null;case 19:if(nr(pr),o=t.memoizedState,o===null)return Si(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)oh(o,!1);else{if(zr!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=G9(e),a!==null){for(t.flags|=128,oh(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Vn(pr,pr.current&1|2),t.child}e=e.sibling}o.tail!==null&&wr()>kf&&(t.flags|=128,r=!0,oh(o,!1),t.lanes=4194304)}else{if(!r)if(e=G9(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),oh(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!sr)return Si(t),null}else 2*wr()-o.renderingStartTime>kf&&n!==1073741824&&(t.flags|=128,r=!0,oh(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=wr(),t.sibling=null,n=pr.current,Vn(pr,r?n&1|2:n&1),t):(Si(t),null);case 22:case 23:return u8(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Po&1073741824)!==0&&(Si(t),t.subtreeFlags&6&&(t.flags|=8192)):Si(t),null;case 24:return null;case 25:return null}throw Error(Me(156,t.tag))}function h1e(e,t){switch(GC(t),t.tag){case 1:return po(t.type)&&M9(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Pf(),nr(fo),nr(Ii),ZC(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return QC(t),null;case 13:if(nr(pr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Me(340));If()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return nr(pr),null;case 4:return Pf(),null;case 10:return KC(t.type._context),null;case 22:case 23:return u8(),null;case 24:return null;default:return null}}var Lv=!1,xi=!1,m1e=typeof WeakSet=="function"?WeakSet:Set,at=null;function Qd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Er(e,t,r)}else n.current=null}function DS(e,t,n){try{n()}catch(r){Er(e,t,r)}}var nP=!1;function g1e(e,t){if(vS=k9,e=XF(),UC(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(C){n=null;break e}var a=0,s=-1,l=-1,c=0,d=0,p=e,h=null;t:for(;;){for(var m;p!==n||i!==0&&p.nodeType!==3||(s=a+i),p!==o||r!==0&&p.nodeType!==3||(l=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(m=p.firstChild)!==null;)h=p,p=m;for(;;){if(p===e)break t;if(h===n&&++c===i&&(s=a),h===o&&++d===r&&(l=a),(m=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(yS={focusedElem:e,selectionRange:n},k9=!1,at=t;at!==null;)if(t=at,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,at=e;else for(;at!==null;){t=at;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,x=v.memoizedState,b=t.stateNode,_=b.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ka(t.type,y),x);b.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Me(163))}}catch(C){Er(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,at=e;break}at=t.return}return v=nP,nP=!1,v}function nm(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&DS(t,n,o)}i=i.next}while(i!==r)}}function v2(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function LS(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function KB(e){var t=e.alternate;t!==null&&(e.alternate=null,KB(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ds],delete t[Gm],delete t[TS],delete t[Zce],delete t[Jce])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qB(e){return e.tag===5||e.tag===3||e.tag===4}function rP(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qB(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function MS(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=L9));else if(r!==4&&(e=e.child,e!==null))for(MS(e,t,n),e=e.sibling;e!==null;)MS(e,t,n),e=e.sibling}function $S(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($S(e,t,n),e=e.sibling;e!==null;)$S(e,t,n),e=e.sibling}var si=null,Ya=!1;function hu(e,t,n){for(n=n.child;n!==null;)YB(e,t,n),n=n.sibling}function YB(e,t,n){if(Hs&&typeof Hs.onCommitFiberUnmount=="function")try{Hs.onCommitFiberUnmount(u2,n)}catch(s){}switch(n.tag){case 5:xi||Qd(n,t);case 6:var r=si,i=Ya;si=null,hu(e,t,n),si=r,Ya=i,si!==null&&(Ya?(e=si,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):si.removeChild(n.stateNode));break;case 18:si!==null&&(Ya?(e=si,n=n.stateNode,e.nodeType===8?zE(e.parentNode,n):e.nodeType===1&&zE(e,n),Fm(e)):zE(si,n.stateNode));break;case 4:r=si,i=Ya,si=n.stateNode.containerInfo,Ya=!0,hu(e,t,n),si=r,Ya=i;break;case 0:case 11:case 14:case 15:if(!xi&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&((o&2)!==0||(o&4)!==0)&&DS(n,t,a),i=i.next}while(i!==r)}hu(e,t,n);break;case 1:if(!xi&&(Qd(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Er(n,t,s)}hu(e,t,n);break;case 21:hu(e,t,n);break;case 22:n.mode&1?(xi=(r=xi)||n.memoizedState!==null,hu(e,t,n),xi=r):hu(e,t,n);break;default:hu(e,t,n)}}function iP(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new m1e),t.forEach(function(r){var i=C1e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ga(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:si=s.stateNode,Ya=!1;break e;case 3:si=s.stateNode.containerInfo,Ya=!0;break e;case 4:si=s.stateNode.containerInfo,Ya=!0;break e}s=s.return}if(si===null)throw Error(Me(160));YB(o,a,i),si=null,Ya=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){Er(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)XB(t,e),t=t.sibling}function XB(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ga(t,e),_s(e),r&4){try{nm(3,e,e.return),v2(3,e)}catch(y){Er(e,e.return,y)}try{nm(5,e,e.return)}catch(y){Er(e,e.return,y)}}break;case 1:Ga(t,e),_s(e),r&512&&n!==null&&Qd(n,n.return);break;case 5:if(Ga(t,e),_s(e),r&512&&n!==null&&Qd(n,n.return),e.flags&32){var i=e.stateNode;try{Dm(i,"")}catch(y){Er(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&vF(i,o),sS(s,a);var c=sS(s,o);for(a=0;a<l.length;a+=2){var d=l[a],p=l[a+1];d==="style"?_F(i,p):d==="dangerouslySetInnerHTML"?EF(i,p):d==="children"?Dm(i,p):IC(i,d,p,c)}switch(s){case"input":nS(i,o);break;case"textarea":yF(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m!=null?sf(i,!!o.multiple,m,!1):h!==!!o.multiple&&(o.defaultValue!=null?sf(i,!!o.multiple,o.defaultValue,!0):sf(i,!!o.multiple,o.multiple?[]:"",!1))}i[Gm]=o}catch(y){Er(e,e.return,y)}}break;case 6:if(Ga(t,e),_s(e),r&4){if(e.stateNode===null)throw Error(Me(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(y){Er(e,e.return,y)}}break;case 3:if(Ga(t,e),_s(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fm(t.containerInfo)}catch(y){Er(e,e.return,y)}break;case 4:Ga(t,e),_s(e);break;case 13:Ga(t,e),_s(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(s8=wr())),r&4&&iP(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(xi=(c=xi)||d,Ga(t,e),xi=c):Ga(t,e),_s(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(at=e,d=e.child;d!==null;){for(p=at=d;at!==null;){switch(h=at,m=h.child,h.tag){case 0:case 11:case 14:case 15:nm(4,h,h.return);break;case 1:Qd(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){Er(r,n,y)}}break;case 5:Qd(h,h.return);break;case 22:if(h.memoizedState!==null){aP(p);continue}}m!==null?(m.return=h,at=m):aP(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{i=p.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=p.stateNode,l=p.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=TF("display",a))}catch(y){Er(e,e.return,y)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(y){Er(e,e.return,y)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Ga(t,e),_s(e),r&4&&iP(e);break;case 21:break;default:Ga(t,e),_s(e)}}function _s(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(qB(n)){var r=n;break e}n=n.return}throw Error(Me(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Dm(i,""),r.flags&=-33);var o=rP(e);$S(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,s=rP(e);MS(e,s,a);break;default:throw Error(Me(161))}}catch(l){Er(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function v1e(e,t,n){at=e,QB(e)}function QB(e,t,n){for(var r=(e.mode&1)!==0;at!==null;){var i=at,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||Lv;if(!a){var s=i.alternate,l=s!==null&&s.memoizedState!==null||xi;s=Lv;var c=xi;if(Lv=a,(xi=l)&&!c)for(at=i;at!==null;)a=at,l=a.child,a.tag===22&&a.memoizedState!==null?sP(i):l!==null?(l.return=a,at=l):sP(i);for(;o!==null;)at=o,QB(o),o=o.sibling;at=i,Lv=s,xi=c}oP(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,at=o):oP(e)}}function oP(e){for(;at!==null;){var t=at;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:xi||v2(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!xi)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Ka(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&zR(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}zR(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&Fm(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Me(163))}xi||t.flags&512&&LS(t)}catch(h){Er(t,t.return,h)}}if(t===e){at=null;break}if(n=t.sibling,n!==null){n.return=t.return,at=n;break}at=t.return}}function aP(e){for(;at!==null;){var t=at;if(t===e){at=null;break}var n=t.sibling;if(n!==null){n.return=t.return,at=n;break}at=t.return}}function sP(e){for(;at!==null;){var t=at;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{v2(4,t)}catch(l){Er(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Er(t,i,l)}}var o=t.return;try{LS(t)}catch(l){Er(t,o,l)}break;case 5:var a=t.return;try{LS(t)}catch(l){Er(t,a,l)}}}catch(l){Er(t,t.return,l)}if(t===e){at=null;break}var s=t.sibling;if(s!==null){s.return=t.return,at=s;break}at=t.return}}var y1e=Math.ceil,V9=Xl.ReactCurrentDispatcher,o8=Xl.ReactCurrentOwner,ba=Xl.ReactCurrentBatchConfig,hn=0,Jr=null,Nr=null,mi=0,Po=0,Zd=fc(0),zr=0,Ym=null,A1=0,y2=0,a8=0,rm=null,oo=null,s8=0,kf=1/0,Tl=null,K9=!1,FS=null,ju=null,Mv=!1,Nu=null,q9=0,im=0,BS=null,G5=-1,W5=0;function Ui(){return(hn&6)!==0?wr():G5!==-1?G5:G5=wr()}function Vu(e){return(e.mode&1)===0?1:(hn&2)!==0&&mi!==0?mi&-mi:t1e.transition!==null?(W5===0&&(W5=DF()),W5):(e=Cn,e!==0||(e=window.event,e=e===void 0?16:UF(e.type)),e)}function ns(e,t,n,r){if(50<im)throw im=0,BS=null,Error(Me(185));R0(e,n,r),((hn&2)===0||e!==Jr)&&(e===Jr&&((hn&2)===0&&(y2|=n),zr===4&&Iu(e,mi)),ho(e,r),n===1&&hn===0&&(t.mode&1)===0&&(kf=wr()+500,h2&&pc()))}function ho(e,t){var n=e.callbackNode;tce(e,t);var r=O9(e,e===Jr?mi:0);if(r===0)n!==null&&gR(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gR(n),t===1)e.tag===0?e1e(lP.bind(null,e)):aB(lP.bind(null,e)),Xce(function(){(hn&6)===0&&pc()}),n=null;else{switch(LF(r)){case 1:n=NC;break;case 4:n=kF;break;case 16:n=P9;break;case 536870912:n=NF;break;default:n=P9}n=oH(n,ZB.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ZB(e,t){if(G5=-1,W5=0,(hn&6)!==0)throw Error(Me(327));var n=e.callbackNode;if(ff()&&e.callbackNode!==n)return null;var r=O9(e,e===Jr?mi:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Y9(e,r);else{t=r;var i=hn;hn|=2;var o=eH();(Jr!==e||mi!==t)&&(Tl=null,kf=wr()+500,m1(e,t));do try{T1e();break}catch(s){JB(e,s)}while(1);VC(),V9.current=o,hn=i,Nr!==null?t=0:(Jr=null,mi=0,t=zr)}if(t!==0){if(t===2&&(i=fS(e),i!==0&&(r=i,t=HS(e,i))),t===1)throw n=Ym,m1(e,0),Iu(e,r),ho(e,wr()),n;if(t===6)Iu(e,r);else{if(i=e.current.alternate,(r&30)===0&&!b1e(i)&&(t=Y9(e,r),t===2&&(o=fS(e),o!==0&&(r=o,t=HS(e,o))),t===1))throw n=Ym,m1(e,0),Iu(e,r),ho(e,wr()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(Me(345));case 2:Gc(e,oo,Tl);break;case 3:if(Iu(e,r),(r&130023424)===r&&(t=s8+500-wr(),10<t)){if(O9(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ui(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ES(Gc.bind(null,e,oo,Tl),t);break}Gc(e,oo,Tl);break;case 4:if(Iu(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-ts(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=wr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*y1e(r/1960))-r,10<r){e.timeoutHandle=ES(Gc.bind(null,e,oo,Tl),r);break}Gc(e,oo,Tl);break;case 5:Gc(e,oo,Tl);break;default:throw Error(Me(329))}}}return ho(e,wr()),e.callbackNode===n?ZB.bind(null,e):null}function HS(e,t){var n=rm;return e.current.memoizedState.isDehydrated&&(m1(e,t).flags|=256),e=Y9(e,t),e!==2&&(t=oo,oo=n,t!==null&&US(t)),e}function US(e){oo===null?oo=e:oo.push.apply(oo,e)}function b1e(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ls(o(),i))return!1}catch(a){return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Iu(e,t){for(t&=~a8,t&=~y2,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ts(t),r=1<<n;e[n]=-1,t&=~r}}function lP(e){if((hn&6)!==0)throw Error(Me(327));ff();var t=O9(e,0);if((t&1)===0)return ho(e,wr()),null;var n=Y9(e,t);if(e.tag!==0&&n===2){var r=fS(e);r!==0&&(t=r,n=HS(e,r))}if(n===1)throw n=Ym,m1(e,0),Iu(e,t),ho(e,wr()),n;if(n===6)throw Error(Me(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gc(e,oo,Tl),ho(e,wr()),null}function l8(e,t){var n=hn;hn|=1;try{return e(t)}finally{hn=n,hn===0&&(kf=wr()+500,h2&&pc())}}function I1(e){Nu!==null&&Nu.tag===0&&(hn&6)===0&&ff();var t=hn;hn|=1;var n=ba.transition,r=Cn;try{if(ba.transition=null,Cn=1,e)return e()}finally{Cn=r,ba.transition=n,hn=t,(hn&6)===0&&pc()}}function u8(){Po=Zd.current,nr(Zd)}function m1(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Yce(n)),Nr!==null)for(n=Nr.return;n!==null;){var r=n;switch(GC(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&M9();break;case 3:Pf(),nr(fo),nr(Ii),ZC();break;case 5:QC(r);break;case 4:Pf();break;case 13:nr(pr);break;case 19:nr(pr);break;case 10:KC(r.type._context);break;case 22:case 23:u8()}n=n.return}if(Jr=e,Nr=e=Ku(e.current,null),mi=Po=t,zr=0,Ym=null,a8=y2=A1=0,oo=rm=null,r1!==null){for(t=0;t<r1.length;t++)if(n=r1[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}r1=null}return e}function JB(e,t){do{var n=Nr;try{if(VC(),H5.current=j9,W9){for(var r=hr.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}W9=!1}if(w1=0,Xr=Hr=hr=null,tm=!1,Vm=0,o8.current=null,n===null||n.return===null){zr=1,Ym=t,Nr=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=mi,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,p=d.tag;if((d.mode&1)===0&&(p===0||p===11||p===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=YR(a);if(m!==null){m.flags&=-257,XR(m,a,s,o,t),m.mode&1&&qR(o,c,t),t=m,l=c;var v=t.updateQueue;if(v===null){var y=new Set;y.add(l),t.updateQueue=y}else v.add(l);break e}else{if((t&1)===0){qR(o,c,t),c8();break e}l=Error(Me(426))}}else if(sr&&s.mode&1){var x=YR(a);if(x!==null){(x.flags&65536)===0&&(x.flags|=256),XR(x,a,s,o,t),WC(Of(l,s));break e}}o=l=Of(l,s),zr!==4&&(zr=2),rm===null?rm=[o]:rm.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var b=MB(o,l,t);UR(o,b);break e;case 1:s=l;var _=o.type,S=o.stateNode;if((o.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(ju===null||!ju.has(S)))){o.flags|=65536,t&=-t,o.lanes|=t;var C=$B(o,s,t);UR(o,C);break e}}o=o.return}while(o!==null)}nH(n)}catch(O){t=O,Nr===n&&n!==null&&(Nr=n=n.return);continue}break}while(1)}function eH(){var e=V9.current;return V9.current=j9,e===null?j9:e}function c8(){(zr===0||zr===3||zr===2)&&(zr=4),Jr===null||(A1&268435455)===0&&(y2&268435455)===0||Iu(Jr,mi)}function Y9(e,t){var n=hn;hn|=2;var r=eH();(Jr!==e||mi!==t)&&(Tl=null,m1(e,t));do try{E1e();break}catch(i){JB(e,i)}while(1);if(VC(),hn=n,V9.current=r,Nr!==null)throw Error(Me(261));return Jr=null,mi=0,zr}function E1e(){for(;Nr!==null;)tH(Nr)}function T1e(){for(;Nr!==null&&!Vue();)tH(Nr)}function tH(e){var t=iH(e.alternate,e,Po);e.memoizedProps=e.pendingProps,t===null?nH(e):Nr=t,o8.current=null}function nH(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=p1e(n,t,Po),n!==null){Nr=n;return}}else{if(n=h1e(n,t),n!==null){n.flags&=32767,Nr=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{zr=6,Nr=null;return}}if(t=t.sibling,t!==null){Nr=t;return}Nr=t=e}while(t!==null);zr===0&&(zr=5)}function Gc(e,t,n){var r=Cn,i=ba.transition;try{ba.transition=null,Cn=1,_1e(e,t,n,r)}finally{ba.transition=i,Cn=r}return null}function _1e(e,t,n,r){do ff();while(Nu!==null);if((hn&6)!==0)throw Error(Me(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Me(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(nce(e,o),e===Jr&&(Nr=Jr=null,mi=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Mv||(Mv=!0,oH(P9,function(){return ff(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=ba.transition,ba.transition=null;var a=Cn;Cn=1;var s=hn;hn|=4,o8.current=null,g1e(e,n),XB(n,e),zce(yS),k9=!!vS,yS=vS=null,e.current=n,v1e(n),Kue(),hn=s,Cn=a,ba.transition=o}else e.current=n;if(Mv&&(Mv=!1,Nu=e,q9=i),o=e.pendingLanes,o===0&&(ju=null),Xue(n.stateNode),ho(e,wr()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(K9)throw K9=!1,e=FS,FS=null,e;return(q9&1)!==0&&e.tag!==0&&ff(),o=e.pendingLanes,(o&1)!==0?e===BS?im++:(im=0,BS=e):im=0,pc(),null}function ff(){if(Nu!==null){var e=LF(q9),t=ba.transition,n=Cn;try{if(ba.transition=null,Cn=16>e?16:e,Nu===null)var r=!1;else{if(e=Nu,Nu=null,q9=0,(hn&6)!==0)throw Error(Me(331));var i=hn;for(hn|=4,at=e.current;at!==null;){var o=at,a=o.child;if((at.flags&16)!==0){var s=o.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(at=c;at!==null;){var d=at;switch(d.tag){case 0:case 11:case 15:nm(8,d,o)}var p=d.child;if(p!==null)p.return=d,at=p;else for(;at!==null;){d=at;var h=d.sibling,m=d.return;if(KB(d),d===c){at=null;break}if(h!==null){h.return=m,at=h;break}at=m}}}var v=o.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var x=y.sibling;y.sibling=null,y=x}while(y!==null)}}at=o}}if((o.subtreeFlags&2064)!==0&&a!==null)a.return=o,at=a;else e:for(;at!==null;){if(o=at,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:nm(9,o,o.return)}var b=o.sibling;if(b!==null){b.return=o.return,at=b;break e}at=o.return}}var _=e.current;for(at=_;at!==null;){a=at;var S=a.child;if((a.subtreeFlags&2064)!==0&&S!==null)S.return=a,at=S;else e:for(a=_;at!==null;){if(s=at,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:v2(9,s)}}catch(O){Er(s,s.return,O)}if(s===a){at=null;break e}var C=s.sibling;if(C!==null){C.return=s.return,at=C;break e}at=s.return}}if(hn=i,pc(),Hs&&typeof Hs.onPostCommitFiberRoot=="function")try{Hs.onPostCommitFiberRoot(u2,e)}catch(O){}r=!0}return r}finally{Cn=n,ba.transition=t}}return!1}function uP(e,t,n){t=Of(n,t),t=MB(e,t,1),e=Wu(e,t,1),t=Ui(),e!==null&&(R0(e,1,t),ho(e,t))}function Er(e,t,n){if(e.tag===3)uP(e,e,n);else for(;t!==null;){if(t.tag===3){uP(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ju===null||!ju.has(r))){e=Of(n,e),e=$B(t,e,1),t=Wu(t,e,1),e=Ui(),t!==null&&(R0(t,1,e),ho(t,e));break}}t=t.return}}function S1e(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ui(),e.pingedLanes|=e.suspendedLanes&n,Jr===e&&(mi&n)===n&&(zr===4||zr===3&&(mi&130023424)===mi&&500>wr()-s8?m1(e,0):a8|=n),ho(e,t)}function rH(e,t){t===0&&((e.mode&1)===0?t=1:(t=wv,wv<<=1,(wv&130023424)===0&&(wv=4194304)));var n=Ui();e=Ul(e,t),e!==null&&(R0(e,t,n),ho(e,n))}function x1e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rH(e,n)}function C1e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Me(314))}r!==null&&r.delete(t),rH(e,n)}var iH;iH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fo.current)ao=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return ao=!1,f1e(e,t,n);ao=(e.flags&131072)!==0}else ao=!1,sr&&(t.flags&1048576)!==0&&sB(t,B9,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;z5(e,t),e=t.pendingProps;var i=Af(t,Ii.current);df(t,n),i=e8(null,t,r,e,i,n);var o=t8();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,po(r)?(o=!0,$9(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,YC(t),i.updater=m2,t.stateNode=i,i._reactInternals=t,AS(t,r,e,n),t=PS(null,t,r,!0,o,n)):(t.tag=0,sr&&o&&zC(t),Mi(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(z5(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=A1e(r),e=Ka(r,e),i){case 0:t=RS(null,t,r,e,n);break e;case 1:t=JR(null,t,r,e,n);break e;case 11:t=QR(null,t,r,e,n);break e;case 14:t=ZR(null,t,r,Ka(r.type,e),n);break e}throw Error(Me(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ka(r,i),RS(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ka(r,i),JR(e,t,r,i,n);case 3:e:{if(UB(t),e===null)throw Error(Me(387));r=t.pendingProps,o=t.memoizedState,i=o.element,dB(e,t),z9(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Of(Error(Me(423)),t),t=eP(e,t,r,n,i);break e}else if(r!==i){i=Of(Error(Me(424)),t),t=eP(e,t,r,n,i);break e}else for(Lo=Gu(t.stateNode.containerInfo.firstChild),Fo=t,sr=!0,Qa=null,n=mB(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(If(),r===i){t=zl(e,t,n);break e}Mi(e,t,r,n)}t=t.child}return t;case 5:return gB(t),e===null&&xS(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,bS(r,i)?a=null:o!==null&&bS(r,o)&&(t.flags|=32),HB(e,t),Mi(e,t,a,n),t.child;case 6:return e===null&&xS(t),null;case 13:return zB(e,t,n);case 4:return XC(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Rf(t,null,r,n):Mi(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ka(r,i),QR(e,t,r,i,n);case 7:return Mi(e,t,t.pendingProps,n),t.child;case 8:return Mi(e,t,t.pendingProps.children,n),t.child;case 12:return Mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Vn(H9,r._currentValue),r._currentValue=a,o!==null)if(ls(o.value,a)){if(o.children===i.children&&!fo.current){t=zl(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Pl(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),CS(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Me(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),CS(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Mi(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,df(t,n),i=wa(i),r=r(i),t.flags|=1,Mi(e,t,r,n),t.child;case 14:return r=t.type,i=Ka(r,t.pendingProps),i=Ka(r.type,i),ZR(e,t,r,i,n);case 15:return FB(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ka(r,i),z5(e,t),t.tag=1,po(r)?(e=!0,$9(t)):e=!1,df(t,n),pB(t,r,i),AS(t,r,i,n),PS(null,t,r,!0,e,n);case 19:return GB(e,t,n);case 22:return BB(e,t,n)}throw Error(Me(156,t.tag))};function oH(e,t){return OF(e,t)}function w1e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ma(e,t,n,r){return new w1e(e,t,n,r)}function d8(e){return e=e.prototype,!(!e||!e.isReactComponent)}function A1e(e){if(typeof e=="function")return d8(e)?1:0;if(e!=null){if(e=e.$$typeof,e===PC)return 11;if(e===OC)return 14}return 2}function Ku(e,t){var n=e.alternate;return n===null?(n=ma(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function j5(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")d8(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case zd:return g1(n.children,i,o,t);case RC:a=8,i|=8;break;case Q_:return e=ma(12,n,t,i|2),e.elementType=Q_,e.lanes=o,e;case Z_:return e=ma(13,n,t,i),e.elementType=Z_,e.lanes=o,e;case J_:return e=ma(19,n,t,i),e.elementType=J_,e.lanes=o,e;case hF:return b2(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fF:a=10;break e;case pF:a=9;break e;case PC:a=11;break e;case OC:a=14;break e;case xu:a=16,r=null;break e}throw Error(Me(130,e==null?e:typeof e,""))}return t=ma(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function g1(e,t,n,r){return e=ma(7,e,r,t),e.lanes=n,e}function b2(e,t,n,r){return e=ma(22,e,r,t),e.elementType=hF,e.lanes=n,e.stateNode={isHidden:!1},e}function XE(e,t,n){return e=ma(6,e,null,t),e.lanes=n,e}function QE(e,t,n){return t=ma(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I1e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=OE(0),this.expirationTimes=OE(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=OE(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function f8(e,t,n,r,i,o,a,s,l){return e=new I1e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ma(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},YC(o),e}function R1e(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ud,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function aH(e){if(!e)return ic;e=e._reactInternals;e:{if(X1(e)!==e||e.tag!==1)throw Error(Me(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Me(171))}if(e.tag===1){var n=e.type;if(po(n))return oB(e,n,t)}return t}function sH(e,t,n,r,i,o,a,s,l){return e=f8(n,r,!0,e,i,o,a,s,l),e.context=aH(null),n=e.current,r=Ui(),i=Vu(n),o=Pl(r,i),o.callback=t!=null?t:null,Wu(n,o,i),e.current.lanes=i,R0(e,i,r),ho(e,r),e}function E2(e,t,n,r){var i=t.current,o=Ui(),a=Vu(i);return n=aH(n),t.context===null?t.context=n:t.pendingContext=n,t=Pl(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wu(i,t,a),e!==null&&(ns(e,i,a,o),B5(e,i,a)),a}function X9(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function cP(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function p8(e,t){cP(e,t),(e=e.alternate)&&cP(e,t)}function P1e(){return null}var lH=typeof reportError=="function"?reportError:function(e){console.error(e)};function h8(e){this._internalRoot=e}T2.prototype.render=h8.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Me(409));E2(e,t,null,null)};T2.prototype.unmount=h8.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;I1(function(){E2(null,e,null,null)}),t[Hl]=null}};function T2(e){this._internalRoot=e}T2.prototype.unstable_scheduleHydration=function(e){if(e){var t=FF();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Au.length&&t!==0&&t<Au[n].priority;n++);Au.splice(n,0,e),n===0&&HF(e)}};function m8(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _2(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dP(){}function O1e(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=X9(a);o.call(c)}}var a=sH(t,r,e,0,null,!1,!1,"",dP);return e._reactRootContainer=a,e[Hl]=a.current,Um(e.nodeType===8?e.parentNode:e),I1(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var c=X9(l);s.call(c)}}var l=f8(e,0,!1,null,null,!1,!1,"",dP);return e._reactRootContainer=l,e[Hl]=l.current,Um(e.nodeType===8?e.parentNode:e),I1(function(){E2(t,l,n,r)}),l}function S2(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var s=i;i=function(){var l=X9(a);s.call(l)}}E2(t,a,e,i)}else a=O1e(n,t,e,i,r);return X9(a)}MF=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Nh(t.pendingLanes);n!==0&&(DC(t,n|1),ho(t,wr()),(hn&6)===0&&(kf=wr()+500,pc()))}break;case 13:I1(function(){var r=Ul(e,1);if(r!==null){var i=Ui();ns(r,e,1,i)}}),p8(e,1)}};LC=function(e){if(e.tag===13){var t=Ul(e,134217728);if(t!==null){var n=Ui();ns(t,e,134217728,n)}p8(e,134217728)}};$F=function(e){if(e.tag===13){var t=Vu(e),n=Ul(e,t);if(n!==null){var r=Ui();ns(n,e,t,r)}p8(e,t)}};FF=function(){return Cn};BF=function(e,t){var n=Cn;try{return Cn=e,t()}finally{Cn=n}};uS=function(e,t,n){switch(t){case"input":if(nS(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=p2(r);if(!i)throw Error(Me(90));gF(r),nS(r,i)}}}break;case"textarea":yF(e,n);break;case"select":t=n.value,t!=null&&sf(e,!!n.multiple,t,!1)}};CF=l8;wF=I1;var k1e={usingClientEntryPoint:!1,Events:[O0,Vd,p2,SF,xF,l8]},ah={findFiberByHostInstance:n1,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},N1e={bundleType:ah.bundleType,version:ah.version,rendererPackageName:ah.rendererPackageName,rendererConfig:ah.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Xl.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=RF(e),e===null?null:e.stateNode},findFiberByHostInstance:ah.findFiberByHostInstance||P1e,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var $v=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$v.isDisabled&&$v.supportsFiber)try{u2=$v.inject(N1e),Hs=$v}catch(e){}}Vo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k1e;Vo.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m8(t))throw Error(Me(200));return R1e(e,t,null,n)};Vo.createRoot=function(e,t){if(!m8(e))throw Error(Me(299));var n=!1,r="",i=lH;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=f8(e,1,!1,null,null,n,!1,r,i),e[Hl]=t.current,Um(e.nodeType===8?e.parentNode:e),new h8(t)};Vo.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Me(188)):(e=Object.keys(e).join(","),Error(Me(268,e)));return e=RF(t),e=e===null?null:e.stateNode,e};Vo.flushSync=function(e){return I1(e)};Vo.hydrate=function(e,t,n){if(!_2(t))throw Error(Me(200));return S2(null,e,t,!0,n)};Vo.hydrateRoot=function(e,t,n){if(!m8(e))throw Error(Me(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=lH;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=sH(t,null,e,1,n!=null?n:null,i,!1,o,a),e[Hl]=t.current,Um(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new T2(t)};Vo.render=function(e,t,n){if(!_2(t))throw Error(Me(200));return S2(null,e,t,!1,n)};Vo.unmountComponentAtNode=function(e){if(!_2(e))throw Error(Me(40));return e._reactRootContainer?(I1(function(){S2(null,null,e,!1,function(){e._reactRootContainer=null,e[Hl]=null})}),!0):!1};Vo.unstable_batchedUpdates=l8;Vo.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!_2(n))throw Error(Me(200));if(e==null||e._reactInternals===void 0)throw Error(Me(38));return S2(e,t,n,!1,r)};Vo.version="18.2.0-next-9e3b772b8-20220608";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Vo})(q1);const Lh=Xy(q1.exports);var fP=q1.exports;Y_.createRoot=fP.createRoot,Y_.hydrateRoot=fP.hydrateRoot;/**
 * @license
 * Copyright 2017 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *//**
 * @license
 * Copyright 2017 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const uH=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=i&63|128):(i&64512)===55296&&r+1<e.length&&(e.charCodeAt(r+1)&64512)===56320?(i=65536+((i&1023)<<10)+(e.charCodeAt(++r)&1023),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128)}return t},D1e=function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const o=e[n++];t[r++]=String.fromCharCode((i&31)<<6|o&63)}else if(i>239&&i<365){const o=e[n++],a=e[n++],s=e[n++],l=((i&7)<<18|(o&63)<<12|(a&63)<<6|s&63)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(l&1023))}else{const o=e[n++],a=e[n++];t[r++]=String.fromCharCode((i&15)<<12|(o&63)<<6|a&63)}}return t.join("")},cH={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const o=e[i],a=i+1<e.length,s=a?e[i+1]:0,l=i+2<e.length,c=l?e[i+2]:0,d=o>>2,p=(o&3)<<4|s>>4;let h=(s&15)<<2|c>>6,m=c&63;l||(m=64,a||(h=64)),r.push(n[d],n[p],n[h],n[m])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(uH(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):D1e(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const o=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const c=i<e.length?n[e.charAt(i)]:64;++i;const p=i<e.length?n[e.charAt(i)]:64;if(++i,o==null||s==null||c==null||p==null)throw Error();const h=o<<2|s>>4;if(r.push(h),c!==64){const m=s<<4&240|c>>2;if(r.push(m),p!==64){const v=c<<6&192|p;r.push(v)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},L1e=function(e){const t=uH(e);return cH.encodeByteArray(t,!0)},dH=function(e){return L1e(e).replace(/\./g,"")},M1e=function(e){try{return cH.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function $1e(){const e=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof e=="object"&&e.id!==void 0}function fH(){try{return typeof indexedDB=="object"}catch(e){return!1}}function pH(){return new Promise((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var o;t(((o=i.error)===null||o===void 0?void 0:o.message)||"")}}catch(n){t(n)}})}function F1e(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}function B1e(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
 * @license
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const H1e=()=>B1e().__FIREBASE_DEFAULTS__,U1e=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},z1e=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(n){return}const t=e&&M1e(e[1]);return t&&JSON.parse(t)},G1e=()=>{try{return H1e()||U1e()||z1e()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},W1e=()=>{var e;return(e=G1e())===null||e===void 0?void 0:e.config};/**
 * @license
 * Copyright 2017 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class j1e{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,r)=>{n?this.reject(n):this.resolve(r),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,r))}}}/**
 * @license
 * Copyright 2017 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const V1e="FirebaseError";class Q1 extends Error{constructor(t,n,r){super(n),this.code=t,this.customData=r,this.name=V1e,Object.setPrototypeOf(this,Q1.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,x2.prototype.create)}}class x2{constructor(t,n,r){this.service=t,this.serviceName=n,this.errors=r}create(t,...n){const r=n[0]||{},i=`${this.service}/${t}`,o=this.errors[t],a=o?K1e(o,r):"Error",s=`${this.serviceName}: ${a} (${i}).`;return new Q1(i,s,r)}}function K1e(e,t){return e.replace(q1e,(n,r)=>{const i=t[r];return i!=null?String(i):`<${r}?>`})}const q1e=/\{\$([^}]+)}/g;function Q9(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const o=e[i],a=t[i];if(pP(o)&&pP(a)){if(!Q9(o,a))return!1}else if(o!==a)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function pP(e){return e!==null&&typeof e=="object"}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Y1e=1e3,X1e=2,Q1e=4*60*60*1e3,Z1e=.5;function hP(e,t=Y1e,n=X1e){const r=t*Math.pow(n,e),i=Math.round(Z1e*r*(Math.random()-.5)*2);return Math.min(Q1e,r+i)}/**
 * @license
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function hH(e){return e&&e._delegate?e._delegate:e}class oc{constructor(t,n,r){this.name=t,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Wc="[DEFAULT]";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class J1e{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const r=new j1e;if(this.instancesDeferred.set(n,r),this.isInitialized(n)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:n});i&&r.resolve(i)}catch(i){}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const r=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),i=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(o){if(i)return null;throw o}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(tde(t))try{this.getOrInitializeService({instanceIdentifier:Wc})}catch(n){}for(const[n,r]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(n);try{const o=this.getOrInitializeService({instanceIdentifier:i});r.resolve(o)}catch(o){}}}}clearInstance(t=Wc){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=Wc){return this.instances.has(t)}getOptions(t=Wc){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:r,options:n});for(const[o,a]of this.instancesDeferred.entries()){const s=this.normalizeInstanceIdentifier(o);r===s&&a.resolve(i)}return i}onInit(t,n){var r;const i=this.normalizeInstanceIdentifier(n),o=(r=this.onInitCallbacks.get(i))!==null&&r!==void 0?r:new Set;o.add(t),this.onInitCallbacks.set(i,o);const a=this.instances.get(i);return a&&t(a,i),()=>{o.delete(t)}}invokeOnInitCallbacks(t,n){const r=this.onInitCallbacks.get(n);if(!!r)for(const i of r)try{i(t,n)}catch(o){}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:ede(t),options:n}),this.instances.set(t,r),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch(i){}return r||null}normalizeInstanceIdentifier(t=Wc){return this.component?this.component.multipleInstances?t:Wc:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function ede(e){return e===Wc?void 0:e}function tde(e){return e.instantiationMode==="EAGER"}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class nde{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new J1e(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/**
 * @license
 * Copyright 2017 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */var Zn;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(Zn||(Zn={}));const rde={debug:Zn.DEBUG,verbose:Zn.VERBOSE,info:Zn.INFO,warn:Zn.WARN,error:Zn.ERROR,silent:Zn.SILENT},ide=Zn.INFO,ode={[Zn.DEBUG]:"log",[Zn.VERBOSE]:"log",[Zn.INFO]:"info",[Zn.WARN]:"warn",[Zn.ERROR]:"error"},ade=(e,t,...n)=>{if(t<e.logLevel)return;const r=new Date().toISOString(),i=ode[t];if(i)console[i](`[${r}]  ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class mH{constructor(t){this.name=t,this._logLevel=ide,this._logHandler=ade,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in Zn))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?rde[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,Zn.DEBUG,...t),this._logHandler(this,Zn.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,Zn.VERBOSE,...t),this._logHandler(this,Zn.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,Zn.INFO,...t),this._logHandler(this,Zn.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,Zn.WARN,...t),this._logHandler(this,Zn.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,Zn.ERROR,...t),this._logHandler(this,Zn.ERROR,...t)}}const sde=(e,t)=>t.some(n=>e instanceof n);let mP,gP;function lde(){return mP||(mP=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ude(){return gP||(gP=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const gH=new WeakMap,zS=new WeakMap,vH=new WeakMap,ZE=new WeakMap,g8=new WeakMap;function cde(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",o),e.removeEventListener("error",a)},o=()=>{n(qu(e.result)),i()},a=()=>{r(e.error),i()};e.addEventListener("success",o),e.addEventListener("error",a)});return t.then(n=>{n instanceof IDBCursor&&gH.set(n,e)}).catch(()=>{}),g8.set(t,e),t}function dde(e){if(zS.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",a),e.removeEventListener("abort",a)},o=()=>{n(),i()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",o),e.addEventListener("error",a),e.addEventListener("abort",a)});zS.set(e,t)}let GS={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return zS.get(e);if(t==="objectStoreNames")return e.objectStoreNames||vH.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return qu(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function fde(e){GS=e(GS)}function pde(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const r=e.call(JE(this),t,...n);return vH.set(r,t.sort?t.sort():[t]),qu(r)}:ude().includes(e)?function(...t){return e.apply(JE(this),t),qu(gH.get(this))}:function(...t){return qu(e.apply(JE(this),t))}}function hde(e){return typeof e=="function"?pde(e):(e instanceof IDBTransaction&&dde(e),sde(e,lde())?new Proxy(e,GS):e)}function qu(e){if(e instanceof IDBRequest)return cde(e);if(ZE.has(e))return ZE.get(e);const t=hde(e);return t!==e&&(ZE.set(e,t),g8.set(t,e)),t}const JE=e=>g8.get(e);function yH(e,t,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){const a=indexedDB.open(e,t),s=qu(a);return r&&a.addEventListener("upgradeneeded",l=>{r(qu(a.result),l.oldVersion,l.newVersion,qu(a.transaction))}),n&&a.addEventListener("blocked",()=>n()),s.then(l=>{o&&l.addEventListener("close",()=>o()),i&&l.addEventListener("versionchange",()=>i())}).catch(()=>{}),s}const mde=["get","getKey","getAll","getAllKeys","count"],gde=["put","add","delete","clear"],eT=new Map;function vP(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(eT.get(t))return eT.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=gde.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||mde.includes(n)))return;const o=async function(a,...s){const l=this.transaction(a,i?"readwrite":"readonly");let c=l.store;return r&&(c=c.index(s.shift())),(await Promise.all([c[n](...s),i&&l.done]))[0]};return eT.set(t,o),o}fde(e=>({...e,get:(t,n,r)=>vP(t,n)||e.get(t,n,r),has:(t,n)=>!!vP(t,n)||e.has(t,n)}));/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class vde{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(yde(n)){const r=n.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(n=>n).join(" ")}}function yde(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const WS="@firebase/app",yP="0.9.0";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const R1=new mH("@firebase/app"),bde="@firebase/app-compat",Ede="@firebase/analytics-compat",Tde="@firebase/analytics",_de="@firebase/app-check-compat",Sde="@firebase/app-check",xde="@firebase/auth",Cde="@firebase/auth-compat",wde="@firebase/database",Ade="@firebase/database-compat",Ide="@firebase/functions",Rde="@firebase/functions-compat",Pde="@firebase/installations",Ode="@firebase/installations-compat",kde="@firebase/messaging",Nde="@firebase/messaging-compat",Dde="@firebase/performance",Lde="@firebase/performance-compat",Mde="@firebase/remote-config",$de="@firebase/remote-config-compat",Fde="@firebase/storage",Bde="@firebase/storage-compat",Hde="@firebase/firestore",Ude="@firebase/firestore-compat",zde="firebase";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const jS="[DEFAULT]",Gde={[WS]:"fire-core",[bde]:"fire-core-compat",[Tde]:"fire-analytics",[Ede]:"fire-analytics-compat",[Sde]:"fire-app-check",[_de]:"fire-app-check-compat",[xde]:"fire-auth",[Cde]:"fire-auth-compat",[wde]:"fire-rtdb",[Ade]:"fire-rtdb-compat",[Ide]:"fire-fn",[Rde]:"fire-fn-compat",[Pde]:"fire-iid",[Ode]:"fire-iid-compat",[kde]:"fire-fcm",[Nde]:"fire-fcm-compat",[Dde]:"fire-perf",[Lde]:"fire-perf-compat",[Mde]:"fire-rc",[$de]:"fire-rc-compat",[Fde]:"fire-gcs",[Bde]:"fire-gcs-compat",[Hde]:"fire-fst",[Ude]:"fire-fst-compat","fire-js":"fire-js",[zde]:"fire-js-all"};/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Z9=new Map,VS=new Map;function Wde(e,t){try{e.container.addComponent(t)}catch(n){R1.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function P1(e){const t=e.name;if(VS.has(t))return R1.debug(`There were multiple attempts to register component ${t}.`),!1;VS.set(t,e);for(const n of Z9.values())Wde(n,e);return!0}function C2(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const jde={["no-app"]:"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",["bad-app-name"]:"Illegal App name: '{$appName}",["duplicate-app"]:"Firebase App named '{$appName}' already exists with different options or config",["app-deleted"]:"Firebase App named '{$appName}' already deleted",["no-options"]:"Need to provide options, when not being deployed to hosting via source.",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance.",["invalid-log-argument"]:"First argument to `onLog` must be null or a function.",["idb-open"]:"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.",["idb-get"]:"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.",["idb-set"]:"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.",["idb-delete"]:"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},Yu=new x2("app","Firebase",jde);/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class Vde{constructor(t,n,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new oc("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw Yu.create("app-deleted",{appName:this._name})}}function bH(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const r=Object.assign({name:jS,automaticDataCollectionEnabled:!1},t),i=r.name;if(typeof i!="string"||!i)throw Yu.create("bad-app-name",{appName:String(i)});if(n||(n=W1e()),!n)throw Yu.create("no-options");const o=Z9.get(i);if(o){if(Q9(n,o.options)&&Q9(r,o.config))return o;throw Yu.create("duplicate-app",{appName:i})}const a=new nde(i);for(const l of VS.values())a.addComponent(l);const s=new Vde(n,r,a);return Z9.set(i,s),s}function Kde(e=jS){const t=Z9.get(e);if(!t&&e===jS)return bH();if(!t)throw Yu.create("no-app",{appName:e});return t}function Xu(e,t,n){var r;let i=(r=Gde[e])!==null&&r!==void 0?r:e;n&&(i+=`-${n}`);const o=i.match(/\s|\//),a=t.match(/\s|\//);if(o||a){const s=[`Unable to register library "${i}" with version "${t}":`];o&&s.push(`library name "${i}" contains illegal characters (whitespace or "/")`),o&&a&&s.push("and"),a&&s.push(`version name "${t}" contains illegal characters (whitespace or "/")`),R1.warn(s.join(" "));return}P1(new oc(`${i}-version`,()=>({library:i,version:t}),"VERSION"))}/**
 * @license
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const qde="firebase-heartbeat-database",Yde=1,Xm="firebase-heartbeat-store";let tT=null;function EH(){return tT||(tT=yH(qde,Yde,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(Xm)}}}).catch(e=>{throw Yu.create("idb-open",{originalErrorMessage:e.message})})),tT}async function Xde(e){try{return(await EH()).transaction(Xm).objectStore(Xm).get(TH(e))}catch(t){if(t instanceof Q1)R1.warn(t.message);else{const n=Yu.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});R1.warn(n.message)}}}async function bP(e,t){try{const r=(await EH()).transaction(Xm,"readwrite");return await r.objectStore(Xm).put(t,TH(e)),r.done}catch(n){if(n instanceof Q1)R1.warn(n.message);else{const r=Yu.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});R1.warn(r.message)}}}function TH(e){return`${e.name}!${e.options.appId}`}/**
 * @license
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Qde=1024,Zde=30*24*60*60*1e3;class Jde{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new tfe(n),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=EP();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some(i=>i.date===r)))return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(i=>{const o=new Date(i.date).valueOf();return Date.now()-o<=Zde}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=EP(),{heartbeatsToSend:n,unsentEntries:r}=efe(this._heartbeatsCache.heartbeats),i=dH(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function EP(){return new Date().toISOString().substring(0,10)}function efe(e,t=Qde){const n=[];let r=e.slice();for(const i of e){const o=n.find(a=>a.agent===i.agent);if(o){if(o.dates.push(i.date),TP(n)>t){o.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),TP(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}class tfe{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return fH()?pH().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await Xde(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return bP(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return bP(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...t.heartbeats]})}else return}}function TP(e){return dH(JSON.stringify({version:2,heartbeats:e})).length}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function nfe(e){P1(new oc("platform-logger",t=>new vde(t),"PRIVATE")),P1(new oc("heartbeat",t=>new Jde(t),"PRIVATE")),Xu(WS,yP,e),Xu(WS,yP,"esm2017"),Xu("fire-js","")}nfe("");const _H="@firebase/installations",v8="0.6.0";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const SH=1e4,xH=`w:${v8}`,CH="FIS_v2",rfe="https://firebaseinstallations.googleapis.com/v1",ife=60*60*1e3,ofe="installations",afe="Installations";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const sfe={["missing-app-config-values"]:'Missing App configuration value: "{$valueName}"',["not-registered"]:"Firebase Installation is not registered.",["installation-not-found"]:"Firebase Installation not found.",["request-failed"]:'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',["app-offline"]:"Could not process request. Application offline.",["delete-pending-registration"]:"Can't delete installation while there is a pending registration request."},O1=new x2(ofe,afe,sfe);function wH(e){return e instanceof Q1&&e.code.includes("request-failed")}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function AH({projectId:e}){return`${rfe}/projects/${e}/installations`}function IH(e){return{token:e.token,requestStatus:2,expiresIn:ufe(e.expiresIn),creationTime:Date.now()}}async function RH(e,t){const r=(await t.json()).error;return O1.create("request-failed",{requestName:e,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})}function PH({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function lfe(e,{refreshToken:t}){const n=PH(e);return n.append("Authorization",cfe(t)),n}async function OH(e){const t=await e();return t.status>=500&&t.status<600?e():t}function ufe(e){return Number(e.replace("s","000"))}function cfe(e){return`${CH} ${e}`}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function dfe({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const r=AH(e),i=PH(e),o=t.getImmediate({optional:!0});if(o){const c=await o.getHeartbeatsHeader();c&&i.append("x-firebase-client",c)}const a={fid:n,authVersion:CH,appId:e.appId,sdkVersion:xH},s={method:"POST",headers:i,body:JSON.stringify(a)},l=await OH(()=>fetch(r,s));if(l.ok){const c=await l.json();return{fid:c.fid||n,registrationStatus:2,refreshToken:c.refreshToken,authToken:IH(c.authToken)}}else throw await RH("Create Installation",l)}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function kH(e){return new Promise(t=>{setTimeout(t,e)})}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function ffe(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const pfe=/^[cdef][\w-]{21}$/,KS="";function hfe(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=mfe(e);return pfe.test(n)?n:KS}catch(e){return KS}}function mfe(e){return ffe(e).substr(0,22)}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function w2(e){return`${e.appName}!${e.appId}`}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const NH=new Map;function DH(e,t){const n=w2(e);LH(n,t),gfe(n,t)}function LH(e,t){const n=NH.get(e);if(!!n)for(const r of n)r(t)}function gfe(e,t){const n=vfe();n&&n.postMessage({key:e,fid:t}),yfe()}let o1=null;function vfe(){return!o1&&"BroadcastChannel"in self&&(o1=new BroadcastChannel("[Firebase] FID Change"),o1.onmessage=e=>{LH(e.data.key,e.data.fid)}),o1}function yfe(){NH.size===0&&o1&&(o1.close(),o1=null)}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const bfe="firebase-installations-database",Efe=1,k1="firebase-installations-store";let nT=null;function y8(){return nT||(nT=yH(bfe,Efe,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(k1)}}})),nT}async function J9(e,t){const n=w2(e),i=(await y8()).transaction(k1,"readwrite"),o=i.objectStore(k1),a=await o.get(n);return await o.put(t,n),await i.done,(!a||a.fid!==t.fid)&&DH(e,t.fid),t}async function MH(e){const t=w2(e),r=(await y8()).transaction(k1,"readwrite");await r.objectStore(k1).delete(t),await r.done}async function A2(e,t){const n=w2(e),i=(await y8()).transaction(k1,"readwrite"),o=i.objectStore(k1),a=await o.get(n),s=t(a);return s===void 0?await o.delete(n):await o.put(s,n),await i.done,s&&(!a||a.fid!==s.fid)&&DH(e,s.fid),s}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function b8(e){let t;const n=await A2(e.appConfig,r=>{const i=Tfe(r),o=_fe(e,i);return t=o.registrationPromise,o.installationEntry});return n.fid===KS?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}function Tfe(e){const t=e||{fid:hfe(),registrationStatus:0};return $H(t)}function _fe(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const i=Promise.reject(O1.create("app-offline"));return{installationEntry:t,registrationPromise:i}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=Sfe(e,n);return{installationEntry:n,registrationPromise:r}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:xfe(e)}:{installationEntry:t}}async function Sfe(e,t){try{const n=await dfe(e,t);return J9(e.appConfig,n)}catch(n){throw wH(n)&&n.customData.serverCode===409?await MH(e.appConfig):await J9(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function xfe(e){let t=await _P(e.appConfig);for(;t.registrationStatus===1;)await kH(100),t=await _P(e.appConfig);if(t.registrationStatus===0){const{installationEntry:n,registrationPromise:r}=await b8(e);return r||n}return t}function _P(e){return A2(e,t=>{if(!t)throw O1.create("installation-not-found");return $H(t)})}function $H(e){return Cfe(e)?{fid:e.fid,registrationStatus:0}:e}function Cfe(e){return e.registrationStatus===1&&e.registrationTime+SH<Date.now()}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function wfe({appConfig:e,heartbeatServiceProvider:t},n){const r=Afe(e,n),i=lfe(e,n),o=t.getImmediate({optional:!0});if(o){const c=await o.getHeartbeatsHeader();c&&i.append("x-firebase-client",c)}const a={installation:{sdkVersion:xH,appId:e.appId}},s={method:"POST",headers:i,body:JSON.stringify(a)},l=await OH(()=>fetch(r,s));if(l.ok){const c=await l.json();return IH(c)}else throw await RH("Generate Auth Token",l)}function Afe(e,{fid:t}){return`${AH(e)}/${t}/authTokens:generate`}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function E8(e,t=!1){let n;const r=await A2(e.appConfig,o=>{if(!FH(o))throw O1.create("not-registered");const a=o.authToken;if(!t&&Pfe(a))return o;if(a.requestStatus===1)return n=Ife(e,t),o;{if(!navigator.onLine)throw O1.create("app-offline");const s=kfe(o);return n=Rfe(e,s),s}});return n?await n:r.authToken}async function Ife(e,t){let n=await SP(e.appConfig);for(;n.authToken.requestStatus===1;)await kH(100),n=await SP(e.appConfig);const r=n.authToken;return r.requestStatus===0?E8(e,t):r}function SP(e){return A2(e,t=>{if(!FH(t))throw O1.create("not-registered");const n=t.authToken;return Nfe(n)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function Rfe(e,t){try{const n=await wfe(e,t),r=Object.assign(Object.assign({},t),{authToken:n});return await J9(e.appConfig,r),n}catch(n){if(wH(n)&&(n.customData.serverCode===401||n.customData.serverCode===404))await MH(e.appConfig);else{const r=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await J9(e.appConfig,r)}throw n}}function FH(e){return e!==void 0&&e.registrationStatus===2}function Pfe(e){return e.requestStatus===2&&!Ofe(e)}function Ofe(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+ife}function kfe(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function Nfe(e){return e.requestStatus===1&&e.requestTime+SH<Date.now()}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function Dfe(e){const t=e,{installationEntry:n,registrationPromise:r}=await b8(t);return r?r.catch(console.error):E8(t).catch(console.error),n.fid}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function Lfe(e,t=!1){const n=e;return await Mfe(n),(await E8(n,t)).token}async function Mfe(e){const{registrationPromise:t}=await b8(e);t&&await t}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function $fe(e){if(!e||!e.options)throw rT("App Configuration");if(!e.name)throw rT("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw rT(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function rT(e){return O1.create("missing-app-config-values",{valueName:e})}/**
 * @license
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const BH="installations",Ffe="installations-internal",Bfe=e=>{const t=e.getProvider("app").getImmediate(),n=$fe(t),r=C2(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:r,_delete:()=>Promise.resolve()}},Hfe=e=>{const t=e.getProvider("app").getImmediate(),n=C2(t,BH).getImmediate();return{getId:()=>Dfe(n),getToken:i=>Lfe(n,i)}};function Ufe(){P1(new oc(BH,Bfe,"PUBLIC")),P1(new oc(Ffe,Hfe,"PRIVATE"))}Ufe();Xu(_H,v8);Xu(_H,v8,"esm2017");/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const ey="analytics",zfe="firebase_id",Gfe="origin",Wfe=60*1e3,jfe="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",HH="https://www.googletagmanager.com/gtag/js";/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Bo=new mH("@firebase/analytics");/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function UH(e){return Promise.all(e.map(t=>t.catch(n=>n)))}function Vfe(e,t){const n=document.createElement("script");n.src=`${HH}?l=${e}&id=${t}`,n.async=!0,document.head.appendChild(n)}function Kfe(e){let t=[];return Array.isArray(window[e])?t=window[e]:window[e]=t,t}async function qfe(e,t,n,r,i,o){const a=r[i];try{if(a)await t[a];else{const l=(await UH(n)).find(c=>c.measurementId===i);l&&await t[l.appId]}}catch(s){Bo.error(s)}e("config",i,o)}async function Yfe(e,t,n,r,i){try{let o=[];if(i&&i.send_to){let a=i.send_to;Array.isArray(a)||(a=[a]);const s=await UH(n);for(const l of a){const c=s.find(p=>p.measurementId===l),d=c&&t[c.appId];if(d)o.push(d);else{o=[];break}}}o.length===0&&(o=Object.values(t)),await Promise.all(o),e("event",r,i||{})}catch(o){Bo.error(o)}}function Xfe(e,t,n,r){async function i(o,a,s){try{o==="event"?await Yfe(e,t,n,a,s):o==="config"?await qfe(e,t,n,r,a,s):o==="consent"?e("consent","update",s):e("set",a)}catch(l){Bo.error(l)}}return i}function Qfe(e,t,n,r,i){let o=function(...a){window[r].push(arguments)};return window[i]&&typeof window[i]=="function"&&(o=window[i]),window[i]=Xfe(o,e,t,n),{gtagCore:o,wrappedGtag:window[i]}}function Zfe(e){const t=window.document.getElementsByTagName("script");for(const n of Object.values(t))if(n.src&&n.src.includes(HH)&&n.src.includes(e))return n;return null}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const Jfe={["already-exists"]:"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.",["already-initialized"]:"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.",["already-initialized-settings"]:"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.",["interop-component-reg-failed"]:"Firebase Analytics Interop Component failed to instantiate: {$reason}",["invalid-analytics-context"]:"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}",["indexeddb-unavailable"]:"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}",["fetch-throttle"]:"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.",["config-fetch-failed"]:"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}",["no-api-key"]:'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',["no-app-id"]:'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'},Ea=new x2("analytics","Analytics",Jfe);/**
 * @license
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */const epe=30,tpe=1e3;class npe{constructor(t={},n=tpe){this.throttleMetadata=t,this.intervalMillis=n}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,n){this.throttleMetadata[t]=n}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}}const zH=new npe;function rpe(e){return new Headers({Accept:"application/json","x-goog-api-key":e})}async function ipe(e){var t;const{appId:n,apiKey:r}=e,i={method:"GET",headers:rpe(r)},o=jfe.replace("{app-id}",n),a=await fetch(o,i);if(a.status!==200&&a.status!==304){let s="";try{const l=await a.json();!((t=l.error)===null||t===void 0)&&t.message&&(s=l.error.message)}catch(l){}throw Ea.create("config-fetch-failed",{httpStatus:a.status,responseMessage:s})}return a.json()}async function ope(e,t=zH,n){const{appId:r,apiKey:i,measurementId:o}=e.options;if(!r)throw Ea.create("no-app-id");if(!i){if(o)return{measurementId:o,appId:r};throw Ea.create("no-api-key")}const a=t.getThrottleMetadata(r)||{backoffCount:0,throttleEndTimeMillis:Date.now()},s=new lpe;return setTimeout(async()=>{s.abort()},n!==void 0?n:Wfe),GH({appId:r,apiKey:i,measurementId:o},a,s,t)}async function GH(e,{throttleEndTimeMillis:t,backoffCount:n},r,i=zH){var o;const{appId:a,measurementId:s}=e;try{await ape(r,t)}catch(l){if(s)return Bo.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${s} provided in the "measurementId" field in the local Firebase config. [${l==null?void 0:l.message}]`),{appId:a,measurementId:s};throw l}try{const l=await ipe(e);return i.deleteThrottleMetadata(a),l}catch(l){const c=l;if(!spe(c)){if(i.deleteThrottleMetadata(a),s)return Bo.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${s} provided in the "measurementId" field in the local Firebase config. [${c==null?void 0:c.message}]`),{appId:a,measurementId:s};throw l}const d=Number((o=c==null?void 0:c.customData)===null||o===void 0?void 0:o.httpStatus)===503?hP(n,i.intervalMillis,epe):hP(n,i.intervalMillis),p={throttleEndTimeMillis:Date.now()+d,backoffCount:n+1};return i.setThrottleMetadata(a,p),Bo.debug(`Calling attemptFetch again in ${d} millis`),GH(e,p,r,i)}}function ape(e,t){return new Promise((n,r)=>{const i=Math.max(t-Date.now(),0),o=setTimeout(n,i);e.addEventListener(()=>{clearTimeout(o),r(Ea.create("fetch-throttle",{throttleEndTimeMillis:t}))})})}function spe(e){if(!(e instanceof Q1)||!e.customData)return!1;const t=Number(e.customData.httpStatus);return t===429||t===500||t===503||t===504}class lpe{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach(t=>t())}}async function upe(e,t,n,r,i){if(i&&i.global){e("event",n,r);return}else{const o=await t,a=Object.assign(Object.assign({},r),{send_to:o});e("event",n,a)}}/**
 * @license
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */async function cpe(){if(fH())try{await pH()}catch(e){return Bo.warn(Ea.create("indexeddb-unavailable",{errorInfo:e==null?void 0:e.toString()}).message),!1}else return Bo.warn(Ea.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;return!0}async function dpe(e,t,n,r,i,o,a){var s;const l=ope(e);l.then(m=>{n[m.measurementId]=m.appId,e.options.measurementId&&m.measurementId!==e.options.measurementId&&Bo.warn(`The measurement ID in the local Firebase config (${e.options.measurementId}) does not match the measurement ID fetched from the server (${m.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(m=>Bo.error(m)),t.push(l);const c=cpe().then(m=>{if(m)return r.getId()}),[d,p]=await Promise.all([l,c]);Zfe(o)||Vfe(o,d.measurementId),i("js",new Date);const h=(s=a==null?void 0:a.config)!==null&&s!==void 0?s:{};return h[Gfe]="firebase",h.update=!0,p!=null&&(h[zfe]=p),i("config",d.measurementId,h),d.measurementId}/**
 * @license
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */class fpe{constructor(t){this.app=t}_delete(){return delete om[this.app.options.appId],Promise.resolve()}}let om={},xP=[];const CP={};let iT="dataLayer",ppe="gtag",wP,WH,AP=!1;function hpe(){const e=[];if($1e()&&e.push("This is a browser extension environment."),F1e()||e.push("Cookies are not available."),e.length>0){const t=e.map((r,i)=>`(${i+1}) ${r}`).join(" "),n=Ea.create("invalid-analytics-context",{errorInfo:t});Bo.warn(n.message)}}function mpe(e,t,n){hpe();const r=e.options.appId;if(!r)throw Ea.create("no-app-id");if(!e.options.apiKey)if(e.options.measurementId)Bo.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${e.options.measurementId} provided in the "measurementId" field in the local Firebase config.`);else throw Ea.create("no-api-key");if(om[r]!=null)throw Ea.create("already-exists",{id:r});if(!AP){Kfe(iT);const{wrappedGtag:o,gtagCore:a}=Qfe(om,xP,CP,iT,ppe);WH=o,wP=a,AP=!0}return om[r]=dpe(e,xP,CP,t,wP,iT,n),new fpe(e)}function gpe(e=Kde()){e=hH(e);const t=C2(e,ey);return t.isInitialized()?t.getImmediate():vpe(e)}function vpe(e,t={}){const n=C2(e,ey);if(n.isInitialized()){const i=n.getImmediate();if(Q9(t,n.getOptions()))return i;throw Ea.create("already-initialized")}return n.initialize({options:t})}function jH(e,t,n,r){e=hH(e),upe(WH,om[e.app.options.appId],t,n,r).catch(i=>Bo.error(i))}const IP="@firebase/analytics",RP="0.9.0";function ype(){P1(new oc(ey,(t,{options:n})=>{const r=t.getProvider("app").getImmediate(),i=t.getProvider("installations-internal").getImmediate();return mpe(r,i,n)},"PUBLIC")),P1(new oc("analytics-internal",e,"PRIVATE")),Xu(IP,RP),Xu(IP,RP,"esm2017");function e(t){try{const n=t.getProvider(ey).getImmediate();return{logEvent:(r,i,o)=>jH(n,r,i,o)}}catch(n){throw Ea.create("interop-component-reg-failed",{reason:n})}}}ype();var bpe="firebase",Epe="9.15.0";/**
 * @license
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */Xu(bpe,Epe,"app");var Qm={exports:{}};/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",p=1,h=2,m=4,v=1,y=2,x=1,b=2,_=4,S=8,C=16,O=32,A=64,R=128,N=256,F=512,L=30,H="...",j=800,Y=16,K=1,Z=2,ne=3,oe=1/0,z=9007199254740991,Q=17976931348623157e292,J=0/0,M=4294967295,B=M-1,Pe=M>>>1,pe=[["ary",R],["bind",x],["bindKey",b],["curry",S],["curryRight",C],["flip",F],["partial",O],["partialRight",A],["rearg",N]],me="[object Arguments]",se="[object Array]",Ce="[object AsyncFunction]",ke="[object Boolean]",Ee="[object Date]",Qe="[object DOMException]",Re="[object Error]",tt="[object Function]",ut="[object GeneratorFunction]",rt="[object Map]",Fe="[object Number]",Bt="[object Null]",je="[object Object]",ie="[object Promise]",ce="[object Proxy]",he="[object RegExp]",Ae="[object Set]",Ge="[object String]",Xe="[object Symbol]",ue="[object Undefined]",ve="[object WeakMap]",De="[object WeakSet]",Le="[object ArrayBuffer]",U="[object DataView]",V="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",Ve="[object Int16Array]",qe="[object Int32Array]",Je="[object Uint8Array]",Tt="[object Uint8ClampedArray]",en="[object Uint16Array]",Kt="[object Uint32Array]",Ot=/\b__p \+= '';/g,ir=/\b(__p \+=) '' \+/g,Kn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rn=/&(?:amp|lt|gt|quot|#39);/g,Hn=/[&<>"']/g,Lr=RegExp(Rn.source),Ar=RegExp(Hn.source),jr=/<%-([\s\S]+?)%>/g,gs=/<%([\s\S]+?)%>/g,$a=/<%=([\s\S]+?)%>/g,iu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nl=/^\w*$/,bo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Eo=/[\\^$.*+?()[\]{}|]/g,rl=RegExp(Eo.source),Gt=/^\s+/,Ir=/\s/,gr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fa=/\{\n\/\* \[wrapped with (.+)\] \*/,Ic=/,? & /,vs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,we=/[()=,{}\[\]\/\s]/,be=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,wt=/\w*$/,En=/^[-+]0x[0-9a-f]+$/i,Sr=/^0b[01]+$/i,cr=/^\[object .+?Constructor\]$/,Yi=/^0o[0-7]+$/i,ad=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vr=/($^)/,oX=/['\n\r\u2028\u2029\\]/g,Ag="\\ud800-\\udfff",aX="\\u0300-\\u036f",sX="\\ufe20-\\ufe2f",lX="\\u20d0-\\u20ff",Nw=aX+sX+lX,Dw="\\u2700-\\u27bf",Lw="a-z\\xdf-\\xf6\\xf8-\\xff",uX="\\xac\\xb1\\xd7\\xf7",cX="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dX="\\u2000-\\u206f",fX=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Mw="A-Z\\xc0-\\xd6\\xd8-\\xde",$w="\\ufe0e\\ufe0f",Fw=uX+cX+dX+fX,c4="['\u2019]",pX="["+Ag+"]",Bw="["+Fw+"]",Ig="["+Nw+"]",Hw="\\d+",hX="["+Dw+"]",Uw="["+Lw+"]",zw="[^"+Ag+Fw+Hw+Dw+Lw+Mw+"]",d4="\\ud83c[\\udffb-\\udfff]",mX="(?:"+Ig+"|"+d4+")",Gw="[^"+Ag+"]",f4="(?:\\ud83c[\\udde6-\\uddff]){2}",p4="[\\ud800-\\udbff][\\udc00-\\udfff]",sd="["+Mw+"]",Ww="\\u200d",jw="(?:"+Uw+"|"+zw+")",gX="(?:"+sd+"|"+zw+")",Vw="(?:"+c4+"(?:d|ll|m|re|s|t|ve))?",Kw="(?:"+c4+"(?:D|LL|M|RE|S|T|VE))?",qw=mX+"?",Yw="["+$w+"]?",vX="(?:"+Ww+"(?:"+[Gw,f4,p4].join("|")+")"+Yw+qw+")*",yX="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bX="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Xw=Yw+qw+vX,EX="(?:"+[hX,f4,p4].join("|")+")"+Xw,TX="(?:"+[Gw+Ig+"?",Ig,f4,p4,pX].join("|")+")",_X=RegExp(c4,"g"),SX=RegExp(Ig,"g"),h4=RegExp(d4+"(?="+d4+")|"+TX+Xw,"g"),xX=RegExp([sd+"?"+Uw+"+"+Vw+"(?="+[Bw,sd,"$"].join("|")+")",gX+"+"+Kw+"(?="+[Bw,sd+jw,"$"].join("|")+")",sd+"?"+jw+"+"+Vw,sd+"+"+Kw,bX,yX,Hw,EX].join("|"),"g"),CX=RegExp("["+Ww+Ag+Nw+$w+"]"),wX=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,AX=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],IX=-1,qn={};qn[V]=qn[fe]=qn[de]=qn[Ve]=qn[qe]=qn[Je]=qn[Tt]=qn[en]=qn[Kt]=!0,qn[me]=qn[se]=qn[Le]=qn[ke]=qn[U]=qn[Ee]=qn[Re]=qn[tt]=qn[rt]=qn[Fe]=qn[je]=qn[he]=qn[Ae]=qn[Ge]=qn[ve]=!1;var Un={};Un[me]=Un[se]=Un[Le]=Un[U]=Un[ke]=Un[Ee]=Un[V]=Un[fe]=Un[de]=Un[Ve]=Un[qe]=Un[rt]=Un[Fe]=Un[je]=Un[he]=Un[Ae]=Un[Ge]=Un[Xe]=Un[Je]=Un[Tt]=Un[en]=Un[Kt]=!0,Un[Re]=Un[tt]=Un[ve]=!1;var RX={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},PX={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},OX={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},kX={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},NX=parseFloat,DX=parseInt,Qw=typeof Qc=="object"&&Qc&&Qc.Object===Object&&Qc,LX=typeof self=="object"&&self&&self.Object===Object&&self,ri=Qw||LX||Function("return this")(),m4=t&&!t.nodeType&&t,Rc=m4&&!0&&e&&!e.nodeType&&e,Zw=Rc&&Rc.exports===m4,g4=Zw&&Qw.process,Yo=function(){try{var ee=Rc&&Rc.require&&Rc.require("util").types;return ee||g4&&g4.binding&&g4.binding("util")}catch(ge){}}(),Jw=Yo&&Yo.isArrayBuffer,e7=Yo&&Yo.isDate,t7=Yo&&Yo.isMap,n7=Yo&&Yo.isRegExp,r7=Yo&&Yo.isSet,i7=Yo&&Yo.isTypedArray;function To(ee,ge,le){switch(le.length){case 0:return ee.call(ge);case 1:return ee.call(ge,le[0]);case 2:return ee.call(ge,le[0],le[1]);case 3:return ee.call(ge,le[0],le[1],le[2])}return ee.apply(ge,le)}function MX(ee,ge,le,it){for(var Mt=-1,vn=ee==null?0:ee.length;++Mt<vn;){var Mr=ee[Mt];ge(it,Mr,le(Mr),ee)}return it}function Xo(ee,ge){for(var le=-1,it=ee==null?0:ee.length;++le<it&&ge(ee[le],le,ee)!==!1;);return ee}function $X(ee,ge){for(var le=ee==null?0:ee.length;le--&&ge(ee[le],le,ee)!==!1;);return ee}function o7(ee,ge){for(var le=-1,it=ee==null?0:ee.length;++le<it;)if(!ge(ee[le],le,ee))return!1;return!0}function ou(ee,ge){for(var le=-1,it=ee==null?0:ee.length,Mt=0,vn=[];++le<it;){var Mr=ee[le];ge(Mr,le,ee)&&(vn[Mt++]=Mr)}return vn}function Rg(ee,ge){var le=ee==null?0:ee.length;return!!le&&ld(ee,ge,0)>-1}function v4(ee,ge,le){for(var it=-1,Mt=ee==null?0:ee.length;++it<Mt;)if(le(ge,ee[it]))return!0;return!1}function or(ee,ge){for(var le=-1,it=ee==null?0:ee.length,Mt=Array(it);++le<it;)Mt[le]=ge(ee[le],le,ee);return Mt}function au(ee,ge){for(var le=-1,it=ge.length,Mt=ee.length;++le<it;)ee[Mt+le]=ge[le];return ee}function y4(ee,ge,le,it){var Mt=-1,vn=ee==null?0:ee.length;for(it&&vn&&(le=ee[++Mt]);++Mt<vn;)le=ge(le,ee[Mt],Mt,ee);return le}function FX(ee,ge,le,it){var Mt=ee==null?0:ee.length;for(it&&Mt&&(le=ee[--Mt]);Mt--;)le=ge(le,ee[Mt],Mt,ee);return le}function b4(ee,ge){for(var le=-1,it=ee==null?0:ee.length;++le<it;)if(ge(ee[le],le,ee))return!0;return!1}var BX=E4("length");function HX(ee){return ee.split("")}function UX(ee){return ee.match(vs)||[]}function a7(ee,ge,le){var it;return le(ee,function(Mt,vn,Mr){if(ge(Mt,vn,Mr))return it=vn,!1}),it}function Pg(ee,ge,le,it){for(var Mt=ee.length,vn=le+(it?1:-1);it?vn--:++vn<Mt;)if(ge(ee[vn],vn,ee))return vn;return-1}function ld(ee,ge,le){return ge===ge?JX(ee,ge,le):Pg(ee,s7,le)}function zX(ee,ge,le,it){for(var Mt=le-1,vn=ee.length;++Mt<vn;)if(it(ee[Mt],ge))return Mt;return-1}function s7(ee){return ee!==ee}function l7(ee,ge){var le=ee==null?0:ee.length;return le?_4(ee,ge)/le:J}function E4(ee){return function(ge){return ge==null?n:ge[ee]}}function T4(ee){return function(ge){return ee==null?n:ee[ge]}}function u7(ee,ge,le,it,Mt){return Mt(ee,function(vn,Mr,Ln){le=it?(it=!1,vn):ge(le,vn,Mr,Ln)}),le}function GX(ee,ge){var le=ee.length;for(ee.sort(ge);le--;)ee[le]=ee[le].value;return ee}function _4(ee,ge){for(var le,it=-1,Mt=ee.length;++it<Mt;){var vn=ge(ee[it]);vn!==n&&(le=le===n?vn:le+vn)}return le}function S4(ee,ge){for(var le=-1,it=Array(ee);++le<ee;)it[le]=ge(le);return it}function WX(ee,ge){return or(ge,function(le){return[le,ee[le]]})}function c7(ee){return ee&&ee.slice(0,h7(ee)+1).replace(Gt,"")}function _o(ee){return function(ge){return ee(ge)}}function x4(ee,ge){return or(ge,function(le){return ee[le]})}function $p(ee,ge){return ee.has(ge)}function d7(ee,ge){for(var le=-1,it=ee.length;++le<it&&ld(ge,ee[le],0)>-1;);return le}function f7(ee,ge){for(var le=ee.length;le--&&ld(ge,ee[le],0)>-1;);return le}function jX(ee,ge){for(var le=ee.length,it=0;le--;)ee[le]===ge&&++it;return it}var VX=T4(RX),KX=T4(PX);function qX(ee){return"\\"+kX[ee]}function YX(ee,ge){return ee==null?n:ee[ge]}function ud(ee){return CX.test(ee)}function XX(ee){return wX.test(ee)}function QX(ee){for(var ge,le=[];!(ge=ee.next()).done;)le.push(ge.value);return le}function C4(ee){var ge=-1,le=Array(ee.size);return ee.forEach(function(it,Mt){le[++ge]=[Mt,it]}),le}function p7(ee,ge){return function(le){return ee(ge(le))}}function su(ee,ge){for(var le=-1,it=ee.length,Mt=0,vn=[];++le<it;){var Mr=ee[le];(Mr===ge||Mr===d)&&(ee[le]=d,vn[Mt++]=le)}return vn}function Og(ee){var ge=-1,le=Array(ee.size);return ee.forEach(function(it){le[++ge]=it}),le}function ZX(ee){var ge=-1,le=Array(ee.size);return ee.forEach(function(it){le[++ge]=[it,it]}),le}function JX(ee,ge,le){for(var it=le-1,Mt=ee.length;++it<Mt;)if(ee[it]===ge)return it;return-1}function eQ(ee,ge,le){for(var it=le+1;it--;)if(ee[it]===ge)return it;return it}function cd(ee){return ud(ee)?nQ(ee):BX(ee)}function Ba(ee){return ud(ee)?rQ(ee):HX(ee)}function h7(ee){for(var ge=ee.length;ge--&&Ir.test(ee.charAt(ge)););return ge}var tQ=T4(OX);function nQ(ee){for(var ge=h4.lastIndex=0;h4.test(ee);)++ge;return ge}function rQ(ee){return ee.match(h4)||[]}function iQ(ee){return ee.match(xX)||[]}var oQ=function ee(ge){ge=ge==null?ri:dd.defaults(ri.Object(),ge,dd.pick(ri,AX));var le=ge.Array,it=ge.Date,Mt=ge.Error,vn=ge.Function,Mr=ge.Math,Ln=ge.Object,w4=ge.RegExp,aQ=ge.String,Qo=ge.TypeError,kg=le.prototype,sQ=vn.prototype,fd=Ln.prototype,Ng=ge["__core-js_shared__"],Dg=sQ.toString,Sn=fd.hasOwnProperty,lQ=0,m7=function(){var u=/[^.]+$/.exec(Ng&&Ng.keys&&Ng.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),Lg=fd.toString,uQ=Dg.call(Ln),cQ=ri._,dQ=w4("^"+Dg.call(Sn).replace(Eo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mg=Zw?ge.Buffer:n,lu=ge.Symbol,$g=ge.Uint8Array,g7=Mg?Mg.allocUnsafe:n,Fg=p7(Ln.getPrototypeOf,Ln),v7=Ln.create,y7=fd.propertyIsEnumerable,Bg=kg.splice,b7=lu?lu.isConcatSpreadable:n,Fp=lu?lu.iterator:n,Pc=lu?lu.toStringTag:n,Hg=function(){try{var u=Lc(Ln,"defineProperty");return u({},"",{}),u}catch(f){}}(),fQ=ge.clearTimeout!==ri.clearTimeout&&ge.clearTimeout,pQ=it&&it.now!==ri.Date.now&&it.now,hQ=ge.setTimeout!==ri.setTimeout&&ge.setTimeout,Ug=Mr.ceil,zg=Mr.floor,A4=Ln.getOwnPropertySymbols,mQ=Mg?Mg.isBuffer:n,E7=ge.isFinite,gQ=kg.join,vQ=p7(Ln.keys,Ln),$r=Mr.max,Ei=Mr.min,yQ=it.now,bQ=ge.parseInt,T7=Mr.random,EQ=kg.reverse,I4=Lc(ge,"DataView"),Bp=Lc(ge,"Map"),R4=Lc(ge,"Promise"),pd=Lc(ge,"Set"),Hp=Lc(ge,"WeakMap"),Up=Lc(Ln,"create"),Gg=Hp&&new Hp,hd={},TQ=Mc(I4),_Q=Mc(Bp),SQ=Mc(R4),xQ=Mc(pd),CQ=Mc(Hp),Wg=lu?lu.prototype:n,zp=Wg?Wg.valueOf:n,_7=Wg?Wg.toString:n;function D(u){if(vr(u)&&!Ft(u)&&!(u instanceof an)){if(u instanceof Zo)return u;if(Sn.call(u,"__wrapped__"))return SA(u)}return new Zo(u)}var md=function(){function u(){}return function(f){if(!dr(f))return{};if(v7)return v7(f);u.prototype=f;var g=new u;return u.prototype=n,g}}();function jg(){}function Zo(u,f){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=n}D.templateSettings={escape:jr,evaluate:gs,interpolate:$a,variable:"",imports:{_:D}},D.prototype=jg.prototype,D.prototype.constructor=D,Zo.prototype=md(jg.prototype),Zo.prototype.constructor=Zo;function an(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function wQ(){var u=new an(this.__wrapped__);return u.__actions__=Xi(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=Xi(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=Xi(this.__views__),u}function AQ(){if(this.__filtered__){var u=new an(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function IQ(){var u=this.__wrapped__.value(),f=this.__dir__,g=Ft(u),w=f<0,k=g?u.length:0,$=HZ(0,k,this.__views__),G=$.start,X=$.end,re=X-G,Te=w?X:G-1,xe=this.__iteratees__,Ie=xe.length,Ze=0,dt=Ei(re,this.__takeCount__);if(!g||!w&&k==re&&dt==re)return V7(u,this.__actions__);var At=[];e:for(;re--&&Ze<dt;){Te+=f;for(var Wt=-1,It=u[Te];++Wt<Ie;){var tn=xe[Wt],cn=tn.iteratee,Co=tn.type,Ni=cn(It);if(Co==Z)It=Ni;else if(!Ni){if(Co==K)continue e;break e}}At[Ze++]=It}return At}an.prototype=md(jg.prototype),an.prototype.constructor=an;function Oc(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var w=u[f];this.set(w[0],w[1])}}function RQ(){this.__data__=Up?Up(null):{},this.size=0}function PQ(u){var f=this.has(u)&&delete this.__data__[u];return this.size-=f?1:0,f}function OQ(u){var f=this.__data__;if(Up){var g=f[u];return g===l?n:g}return Sn.call(f,u)?f[u]:n}function kQ(u){var f=this.__data__;return Up?f[u]!==n:Sn.call(f,u)}function NQ(u,f){var g=this.__data__;return this.size+=this.has(u)?0:1,g[u]=Up&&f===n?l:f,this}Oc.prototype.clear=RQ,Oc.prototype.delete=PQ,Oc.prototype.get=OQ,Oc.prototype.has=kQ,Oc.prototype.set=NQ;function il(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var w=u[f];this.set(w[0],w[1])}}function DQ(){this.__data__=[],this.size=0}function LQ(u){var f=this.__data__,g=Vg(f,u);if(g<0)return!1;var w=f.length-1;return g==w?f.pop():Bg.call(f,g,1),--this.size,!0}function MQ(u){var f=this.__data__,g=Vg(f,u);return g<0?n:f[g][1]}function $Q(u){return Vg(this.__data__,u)>-1}function FQ(u,f){var g=this.__data__,w=Vg(g,u);return w<0?(++this.size,g.push([u,f])):g[w][1]=f,this}il.prototype.clear=DQ,il.prototype.delete=LQ,il.prototype.get=MQ,il.prototype.has=$Q,il.prototype.set=FQ;function ol(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var w=u[f];this.set(w[0],w[1])}}function BQ(){this.size=0,this.__data__={hash:new Oc,map:new(Bp||il),string:new Oc}}function HQ(u){var f=iv(this,u).delete(u);return this.size-=f?1:0,f}function UQ(u){return iv(this,u).get(u)}function zQ(u){return iv(this,u).has(u)}function GQ(u,f){var g=iv(this,u),w=g.size;return g.set(u,f),this.size+=g.size==w?0:1,this}ol.prototype.clear=BQ,ol.prototype.delete=HQ,ol.prototype.get=UQ,ol.prototype.has=zQ,ol.prototype.set=GQ;function kc(u){var f=-1,g=u==null?0:u.length;for(this.__data__=new ol;++f<g;)this.add(u[f])}function WQ(u){return this.__data__.set(u,l),this}function jQ(u){return this.__data__.has(u)}kc.prototype.add=kc.prototype.push=WQ,kc.prototype.has=jQ;function Ha(u){var f=this.__data__=new il(u);this.size=f.size}function VQ(){this.__data__=new il,this.size=0}function KQ(u){var f=this.__data__,g=f.delete(u);return this.size=f.size,g}function qQ(u){return this.__data__.get(u)}function YQ(u){return this.__data__.has(u)}function XQ(u,f){var g=this.__data__;if(g instanceof il){var w=g.__data__;if(!Bp||w.length<i-1)return w.push([u,f]),this.size=++g.size,this;g=this.__data__=new ol(w)}return g.set(u,f),this.size=g.size,this}Ha.prototype.clear=VQ,Ha.prototype.delete=KQ,Ha.prototype.get=qQ,Ha.prototype.has=YQ,Ha.prototype.set=XQ;function S7(u,f){var g=Ft(u),w=!g&&$c(u),k=!g&&!w&&pu(u),$=!g&&!w&&!k&&bd(u),G=g||w||k||$,X=G?S4(u.length,aQ):[],re=X.length;for(var Te in u)(f||Sn.call(u,Te))&&!(G&&(Te=="length"||k&&(Te=="offset"||Te=="parent")||$&&(Te=="buffer"||Te=="byteLength"||Te=="byteOffset")||ul(Te,re)))&&X.push(Te);return X}function x7(u){var f=u.length;return f?u[H4(0,f-1)]:n}function QQ(u,f){return ov(Xi(u),Nc(f,0,u.length))}function ZQ(u){return ov(Xi(u))}function P4(u,f,g){(g!==n&&!Ua(u[f],g)||g===n&&!(f in u))&&al(u,f,g)}function Gp(u,f,g){var w=u[f];(!(Sn.call(u,f)&&Ua(w,g))||g===n&&!(f in u))&&al(u,f,g)}function Vg(u,f){for(var g=u.length;g--;)if(Ua(u[g][0],f))return g;return-1}function JQ(u,f,g,w){return uu(u,function(k,$,G){f(w,k,g(k),G)}),w}function C7(u,f){return u&&bs(f,Kr(f),u)}function eZ(u,f){return u&&bs(f,Zi(f),u)}function al(u,f,g){f=="__proto__"&&Hg?Hg(u,f,{configurable:!0,enumerable:!0,value:g,writable:!0}):u[f]=g}function O4(u,f){for(var g=-1,w=f.length,k=le(w),$=u==null;++g<w;)k[g]=$?n:dE(u,f[g]);return k}function Nc(u,f,g){return u===u&&(g!==n&&(u=u<=g?u:g),f!==n&&(u=u>=f?u:f)),u}function Jo(u,f,g,w,k,$){var G,X=f&p,re=f&h,Te=f&m;if(g&&(G=k?g(u,w,k,$):g(u)),G!==n)return G;if(!dr(u))return u;var xe=Ft(u);if(xe){if(G=zZ(u),!X)return Xi(u,G)}else{var Ie=Ti(u),Ze=Ie==tt||Ie==ut;if(pu(u))return Y7(u,X);if(Ie==je||Ie==me||Ze&&!k){if(G=re||Ze?{}:hA(u),!X)return re?OZ(u,eZ(G,u)):PZ(u,C7(G,u))}else{if(!Un[Ie])return k?u:{};G=GZ(u,Ie,X)}}$||($=new Ha);var dt=$.get(u);if(dt)return dt;$.set(u,G),GA(u)?u.forEach(function(It){G.add(Jo(It,f,g,It,u,$))}):UA(u)&&u.forEach(function(It,tn){G.set(tn,Jo(It,f,g,tn,u,$))});var At=Te?re?Q4:X4:re?Zi:Kr,Wt=xe?n:At(u);return Xo(Wt||u,function(It,tn){Wt&&(tn=It,It=u[tn]),Gp(G,tn,Jo(It,f,g,tn,u,$))}),G}function tZ(u){var f=Kr(u);return function(g){return w7(g,u,f)}}function w7(u,f,g){var w=g.length;if(u==null)return!w;for(u=Ln(u);w--;){var k=g[w],$=f[k],G=u[k];if(G===n&&!(k in u)||!$(G))return!1}return!0}function A7(u,f,g){if(typeof u!="function")throw new Qo(a);return Xp(function(){u.apply(n,g)},f)}function Wp(u,f,g,w){var k=-1,$=Rg,G=!0,X=u.length,re=[],Te=f.length;if(!X)return re;g&&(f=or(f,_o(g))),w?($=v4,G=!1):f.length>=i&&($=$p,G=!1,f=new kc(f));e:for(;++k<X;){var xe=u[k],Ie=g==null?xe:g(xe);if(xe=w||xe!==0?xe:0,G&&Ie===Ie){for(var Ze=Te;Ze--;)if(f[Ze]===Ie)continue e;re.push(xe)}else $(f,Ie,w)||re.push(xe)}return re}var uu=eA(ys),I7=eA(N4,!0);function nZ(u,f){var g=!0;return uu(u,function(w,k,$){return g=!!f(w,k,$),g}),g}function Kg(u,f,g){for(var w=-1,k=u.length;++w<k;){var $=u[w],G=f($);if(G!=null&&(X===n?G===G&&!xo(G):g(G,X)))var X=G,re=$}return re}function rZ(u,f,g,w){var k=u.length;for(g=Ut(g),g<0&&(g=-g>k?0:k+g),w=w===n||w>k?k:Ut(w),w<0&&(w+=k),w=g>w?0:jA(w);g<w;)u[g++]=f;return u}function R7(u,f){var g=[];return uu(u,function(w,k,$){f(w,k,$)&&g.push(w)}),g}function ii(u,f,g,w,k){var $=-1,G=u.length;for(g||(g=jZ),k||(k=[]);++$<G;){var X=u[$];f>0&&g(X)?f>1?ii(X,f-1,g,w,k):au(k,X):w||(k[k.length]=X)}return k}var k4=tA(),P7=tA(!0);function ys(u,f){return u&&k4(u,f,Kr)}function N4(u,f){return u&&P7(u,f,Kr)}function qg(u,f){return ou(f,function(g){return cl(u[g])})}function Dc(u,f){f=du(f,u);for(var g=0,w=f.length;u!=null&&g<w;)u=u[Es(f[g++])];return g&&g==w?u:n}function O7(u,f,g){var w=f(u);return Ft(u)?w:au(w,g(u))}function Oi(u){return u==null?u===n?ue:Bt:Pc&&Pc in Ln(u)?BZ(u):ZZ(u)}function D4(u,f){return u>f}function iZ(u,f){return u!=null&&Sn.call(u,f)}function oZ(u,f){return u!=null&&f in Ln(u)}function aZ(u,f,g){return u>=Ei(f,g)&&u<$r(f,g)}function L4(u,f,g){for(var w=g?v4:Rg,k=u[0].length,$=u.length,G=$,X=le($),re=1/0,Te=[];G--;){var xe=u[G];G&&f&&(xe=or(xe,_o(f))),re=Ei(xe.length,re),X[G]=!g&&(f||k>=120&&xe.length>=120)?new kc(G&&xe):n}xe=u[0];var Ie=-1,Ze=X[0];e:for(;++Ie<k&&Te.length<re;){var dt=xe[Ie],At=f?f(dt):dt;if(dt=g||dt!==0?dt:0,!(Ze?$p(Ze,At):w(Te,At,g))){for(G=$;--G;){var Wt=X[G];if(!(Wt?$p(Wt,At):w(u[G],At,g)))continue e}Ze&&Ze.push(At),Te.push(dt)}}return Te}function sZ(u,f,g,w){return ys(u,function(k,$,G){f(w,g(k),$,G)}),w}function jp(u,f,g){f=du(f,u),u=yA(u,f);var w=u==null?u:u[Es(ta(f))];return w==null?n:To(w,u,g)}function k7(u){return vr(u)&&Oi(u)==me}function lZ(u){return vr(u)&&Oi(u)==Le}function uZ(u){return vr(u)&&Oi(u)==Ee}function Vp(u,f,g,w,k){return u===f?!0:u==null||f==null||!vr(u)&&!vr(f)?u!==u&&f!==f:cZ(u,f,g,w,Vp,k)}function cZ(u,f,g,w,k,$){var G=Ft(u),X=Ft(f),re=G?se:Ti(u),Te=X?se:Ti(f);re=re==me?je:re,Te=Te==me?je:Te;var xe=re==je,Ie=Te==je,Ze=re==Te;if(Ze&&pu(u)){if(!pu(f))return!1;G=!0,xe=!1}if(Ze&&!xe)return $||($=new Ha),G||bd(u)?dA(u,f,g,w,k,$):$Z(u,f,re,g,w,k,$);if(!(g&v)){var dt=xe&&Sn.call(u,"__wrapped__"),At=Ie&&Sn.call(f,"__wrapped__");if(dt||At){var Wt=dt?u.value():u,It=At?f.value():f;return $||($=new Ha),k(Wt,It,g,w,$)}}return Ze?($||($=new Ha),FZ(u,f,g,w,k,$)):!1}function dZ(u){return vr(u)&&Ti(u)==rt}function M4(u,f,g,w){var k=g.length,$=k,G=!w;if(u==null)return!$;for(u=Ln(u);k--;){var X=g[k];if(G&&X[2]?X[1]!==u[X[0]]:!(X[0]in u))return!1}for(;++k<$;){X=g[k];var re=X[0],Te=u[re],xe=X[1];if(G&&X[2]){if(Te===n&&!(re in u))return!1}else{var Ie=new Ha;if(w)var Ze=w(Te,xe,re,u,f,Ie);if(!(Ze===n?Vp(xe,Te,v|y,w,Ie):Ze))return!1}}return!0}function N7(u){if(!dr(u)||KZ(u))return!1;var f=cl(u)?dQ:cr;return f.test(Mc(u))}function fZ(u){return vr(u)&&Oi(u)==he}function pZ(u){return vr(u)&&Ti(u)==Ae}function hZ(u){return vr(u)&&dv(u.length)&&!!qn[Oi(u)]}function D7(u){return typeof u=="function"?u:u==null?Ji:typeof u=="object"?Ft(u)?$7(u[0],u[1]):M7(u):nI(u)}function $4(u){if(!Yp(u))return vQ(u);var f=[];for(var g in Ln(u))Sn.call(u,g)&&g!="constructor"&&f.push(g);return f}function mZ(u){if(!dr(u))return QZ(u);var f=Yp(u),g=[];for(var w in u)w=="constructor"&&(f||!Sn.call(u,w))||g.push(w);return g}function F4(u,f){return u<f}function L7(u,f){var g=-1,w=Qi(u)?le(u.length):[];return uu(u,function(k,$,G){w[++g]=f(k,$,G)}),w}function M7(u){var f=J4(u);return f.length==1&&f[0][2]?gA(f[0][0],f[0][1]):function(g){return g===u||M4(g,u,f)}}function $7(u,f){return tE(u)&&mA(f)?gA(Es(u),f):function(g){var w=dE(g,u);return w===n&&w===f?fE(g,u):Vp(f,w,v|y)}}function Yg(u,f,g,w,k){u!==f&&k4(f,function($,G){if(k||(k=new Ha),dr($))gZ(u,f,G,g,Yg,w,k);else{var X=w?w(rE(u,G),$,G+"",u,f,k):n;X===n&&(X=$),P4(u,G,X)}},Zi)}function gZ(u,f,g,w,k,$,G){var X=rE(u,g),re=rE(f,g),Te=G.get(re);if(Te){P4(u,g,Te);return}var xe=$?$(X,re,g+"",u,f,G):n,Ie=xe===n;if(Ie){var Ze=Ft(re),dt=!Ze&&pu(re),At=!Ze&&!dt&&bd(re);xe=re,Ze||dt||At?Ft(X)?xe=X:xr(X)?xe=Xi(X):dt?(Ie=!1,xe=Y7(re,!0)):At?(Ie=!1,xe=X7(re,!0)):xe=[]:Qp(re)||$c(re)?(xe=X,$c(X)?xe=VA(X):(!dr(X)||cl(X))&&(xe=hA(re))):Ie=!1}Ie&&(G.set(re,xe),k(xe,re,w,$,G),G.delete(re)),P4(u,g,xe)}function F7(u,f){var g=u.length;if(!!g)return f+=f<0?g:0,ul(f,g)?u[f]:n}function B7(u,f,g){f.length?f=or(f,function($){return Ft($)?function(G){return Dc(G,$.length===1?$[0]:$)}:$}):f=[Ji];var w=-1;f=or(f,_o(Ct()));var k=L7(u,function($,G,X){var re=or(f,function(Te){return Te($)});return{criteria:re,index:++w,value:$}});return GX(k,function($,G){return RZ($,G,g)})}function vZ(u,f){return H7(u,f,function(g,w){return fE(u,w)})}function H7(u,f,g){for(var w=-1,k=f.length,$={};++w<k;){var G=f[w],X=Dc(u,G);g(X,G)&&Kp($,du(G,u),X)}return $}function yZ(u){return function(f){return Dc(f,u)}}function B4(u,f,g,w){var k=w?zX:ld,$=-1,G=f.length,X=u;for(u===f&&(f=Xi(f)),g&&(X=or(u,_o(g)));++$<G;)for(var re=0,Te=f[$],xe=g?g(Te):Te;(re=k(X,xe,re,w))>-1;)X!==u&&Bg.call(X,re,1),Bg.call(u,re,1);return u}function U7(u,f){for(var g=u?f.length:0,w=g-1;g--;){var k=f[g];if(g==w||k!==$){var $=k;ul(k)?Bg.call(u,k,1):G4(u,k)}}return u}function H4(u,f){return u+zg(T7()*(f-u+1))}function bZ(u,f,g,w){for(var k=-1,$=$r(Ug((f-u)/(g||1)),0),G=le($);$--;)G[w?$:++k]=u,u+=g;return G}function U4(u,f){var g="";if(!u||f<1||f>z)return g;do f%2&&(g+=u),f=zg(f/2),f&&(u+=u);while(f);return g}function qt(u,f){return iE(vA(u,f,Ji),u+"")}function EZ(u){return x7(Ed(u))}function TZ(u,f){var g=Ed(u);return ov(g,Nc(f,0,g.length))}function Kp(u,f,g,w){if(!dr(u))return u;f=du(f,u);for(var k=-1,$=f.length,G=$-1,X=u;X!=null&&++k<$;){var re=Es(f[k]),Te=g;if(re==="__proto__"||re==="constructor"||re==="prototype")return u;if(k!=G){var xe=X[re];Te=w?w(xe,re,X):n,Te===n&&(Te=dr(xe)?xe:ul(f[k+1])?[]:{})}Gp(X,re,Te),X=X[re]}return u}var z7=Gg?function(u,f){return Gg.set(u,f),u}:Ji,_Z=Hg?function(u,f){return Hg(u,"toString",{configurable:!0,enumerable:!1,value:hE(f),writable:!0})}:Ji;function SZ(u){return ov(Ed(u))}function ea(u,f,g){var w=-1,k=u.length;f<0&&(f=-f>k?0:k+f),g=g>k?k:g,g<0&&(g+=k),k=f>g?0:g-f>>>0,f>>>=0;for(var $=le(k);++w<k;)$[w]=u[w+f];return $}function xZ(u,f){var g;return uu(u,function(w,k,$){return g=f(w,k,$),!g}),!!g}function Xg(u,f,g){var w=0,k=u==null?w:u.length;if(typeof f=="number"&&f===f&&k<=Pe){for(;w<k;){var $=w+k>>>1,G=u[$];G!==null&&!xo(G)&&(g?G<=f:G<f)?w=$+1:k=$}return k}return z4(u,f,Ji,g)}function z4(u,f,g,w){var k=0,$=u==null?0:u.length;if($===0)return 0;f=g(f);for(var G=f!==f,X=f===null,re=xo(f),Te=f===n;k<$;){var xe=zg((k+$)/2),Ie=g(u[xe]),Ze=Ie!==n,dt=Ie===null,At=Ie===Ie,Wt=xo(Ie);if(G)var It=w||At;else Te?It=At&&(w||Ze):X?It=At&&Ze&&(w||!dt):re?It=At&&Ze&&!dt&&(w||!Wt):dt||Wt?It=!1:It=w?Ie<=f:Ie<f;It?k=xe+1:$=xe}return Ei($,B)}function G7(u,f){for(var g=-1,w=u.length,k=0,$=[];++g<w;){var G=u[g],X=f?f(G):G;if(!g||!Ua(X,re)){var re=X;$[k++]=G===0?0:G}}return $}function W7(u){return typeof u=="number"?u:xo(u)?J:+u}function So(u){if(typeof u=="string")return u;if(Ft(u))return or(u,So)+"";if(xo(u))return _7?_7.call(u):"";var f=u+"";return f=="0"&&1/u==-oe?"-0":f}function cu(u,f,g){var w=-1,k=Rg,$=u.length,G=!0,X=[],re=X;if(g)G=!1,k=v4;else if($>=i){var Te=f?null:LZ(u);if(Te)return Og(Te);G=!1,k=$p,re=new kc}else re=f?[]:X;e:for(;++w<$;){var xe=u[w],Ie=f?f(xe):xe;if(xe=g||xe!==0?xe:0,G&&Ie===Ie){for(var Ze=re.length;Ze--;)if(re[Ze]===Ie)continue e;f&&re.push(Ie),X.push(xe)}else k(re,Ie,g)||(re!==X&&re.push(Ie),X.push(xe))}return X}function G4(u,f){return f=du(f,u),u=yA(u,f),u==null||delete u[Es(ta(f))]}function j7(u,f,g,w){return Kp(u,f,g(Dc(u,f)),w)}function Qg(u,f,g,w){for(var k=u.length,$=w?k:-1;(w?$--:++$<k)&&f(u[$],$,u););return g?ea(u,w?0:$,w?$+1:k):ea(u,w?$+1:0,w?k:$)}function V7(u,f){var g=u;return g instanceof an&&(g=g.value()),y4(f,function(w,k){return k.func.apply(k.thisArg,au([w],k.args))},g)}function W4(u,f,g){var w=u.length;if(w<2)return w?cu(u[0]):[];for(var k=-1,$=le(w);++k<w;)for(var G=u[k],X=-1;++X<w;)X!=k&&($[k]=Wp($[k]||G,u[X],f,g));return cu(ii($,1),f,g)}function K7(u,f,g){for(var w=-1,k=u.length,$=f.length,G={};++w<k;){var X=w<$?f[w]:n;g(G,u[w],X)}return G}function j4(u){return xr(u)?u:[]}function V4(u){return typeof u=="function"?u:Ji}function du(u,f){return Ft(u)?u:tE(u,f)?[u]:_A(Tn(u))}var CZ=qt;function fu(u,f,g){var w=u.length;return g=g===n?w:g,!f&&g>=w?u:ea(u,f,g)}var q7=fQ||function(u){return ri.clearTimeout(u)};function Y7(u,f){if(f)return u.slice();var g=u.length,w=g7?g7(g):new u.constructor(g);return u.copy(w),w}function K4(u){var f=new u.constructor(u.byteLength);return new $g(f).set(new $g(u)),f}function wZ(u,f){var g=f?K4(u.buffer):u.buffer;return new u.constructor(g,u.byteOffset,u.byteLength)}function AZ(u){var f=new u.constructor(u.source,wt.exec(u));return f.lastIndex=u.lastIndex,f}function IZ(u){return zp?Ln(zp.call(u)):{}}function X7(u,f){var g=f?K4(u.buffer):u.buffer;return new u.constructor(g,u.byteOffset,u.length)}function Q7(u,f){if(u!==f){var g=u!==n,w=u===null,k=u===u,$=xo(u),G=f!==n,X=f===null,re=f===f,Te=xo(f);if(!X&&!Te&&!$&&u>f||$&&G&&re&&!X&&!Te||w&&G&&re||!g&&re||!k)return 1;if(!w&&!$&&!Te&&u<f||Te&&g&&k&&!w&&!$||X&&g&&k||!G&&k||!re)return-1}return 0}function RZ(u,f,g){for(var w=-1,k=u.criteria,$=f.criteria,G=k.length,X=g.length;++w<G;){var re=Q7(k[w],$[w]);if(re){if(w>=X)return re;var Te=g[w];return re*(Te=="desc"?-1:1)}}return u.index-f.index}function Z7(u,f,g,w){for(var k=-1,$=u.length,G=g.length,X=-1,re=f.length,Te=$r($-G,0),xe=le(re+Te),Ie=!w;++X<re;)xe[X]=f[X];for(;++k<G;)(Ie||k<$)&&(xe[g[k]]=u[k]);for(;Te--;)xe[X++]=u[k++];return xe}function J7(u,f,g,w){for(var k=-1,$=u.length,G=-1,X=g.length,re=-1,Te=f.length,xe=$r($-X,0),Ie=le(xe+Te),Ze=!w;++k<xe;)Ie[k]=u[k];for(var dt=k;++re<Te;)Ie[dt+re]=f[re];for(;++G<X;)(Ze||k<$)&&(Ie[dt+g[G]]=u[k++]);return Ie}function Xi(u,f){var g=-1,w=u.length;for(f||(f=le(w));++g<w;)f[g]=u[g];return f}function bs(u,f,g,w){var k=!g;g||(g={});for(var $=-1,G=f.length;++$<G;){var X=f[$],re=w?w(g[X],u[X],X,g,u):n;re===n&&(re=u[X]),k?al(g,X,re):Gp(g,X,re)}return g}function PZ(u,f){return bs(u,eE(u),f)}function OZ(u,f){return bs(u,fA(u),f)}function Zg(u,f){return function(g,w){var k=Ft(g)?MX:JQ,$=f?f():{};return k(g,u,Ct(w,2),$)}}function gd(u){return qt(function(f,g){var w=-1,k=g.length,$=k>1?g[k-1]:n,G=k>2?g[2]:n;for($=u.length>3&&typeof $=="function"?(k--,$):n,G&&ki(g[0],g[1],G)&&($=k<3?n:$,k=1),f=Ln(f);++w<k;){var X=g[w];X&&u(f,X,w,$)}return f})}function eA(u,f){return function(g,w){if(g==null)return g;if(!Qi(g))return u(g,w);for(var k=g.length,$=f?k:-1,G=Ln(g);(f?$--:++$<k)&&w(G[$],$,G)!==!1;);return g}}function tA(u){return function(f,g,w){for(var k=-1,$=Ln(f),G=w(f),X=G.length;X--;){var re=G[u?X:++k];if(g($[re],re,$)===!1)break}return f}}function kZ(u,f,g){var w=f&x,k=qp(u);function $(){var G=this&&this!==ri&&this instanceof $?k:u;return G.apply(w?g:this,arguments)}return $}function nA(u){return function(f){f=Tn(f);var g=ud(f)?Ba(f):n,w=g?g[0]:f.charAt(0),k=g?fu(g,1).join(""):f.slice(1);return w[u]()+k}}function vd(u){return function(f){return y4(eI(JA(f).replace(_X,"")),u,"")}}function qp(u){return function(){var f=arguments;switch(f.length){case 0:return new u;case 1:return new u(f[0]);case 2:return new u(f[0],f[1]);case 3:return new u(f[0],f[1],f[2]);case 4:return new u(f[0],f[1],f[2],f[3]);case 5:return new u(f[0],f[1],f[2],f[3],f[4]);case 6:return new u(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new u(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var g=md(u.prototype),w=u.apply(g,f);return dr(w)?w:g}}function NZ(u,f,g){var w=qp(u);function k(){for(var $=arguments.length,G=le($),X=$,re=yd(k);X--;)G[X]=arguments[X];var Te=$<3&&G[0]!==re&&G[$-1]!==re?[]:su(G,re);if($-=Te.length,$<g)return sA(u,f,Jg,k.placeholder,n,G,Te,n,n,g-$);var xe=this&&this!==ri&&this instanceof k?w:u;return To(xe,this,G)}return k}function rA(u){return function(f,g,w){var k=Ln(f);if(!Qi(f)){var $=Ct(g,3);f=Kr(f),g=function(X){return $(k[X],X,k)}}var G=u(f,g,w);return G>-1?k[$?f[G]:G]:n}}function iA(u){return ll(function(f){var g=f.length,w=g,k=Zo.prototype.thru;for(u&&f.reverse();w--;){var $=f[w];if(typeof $!="function")throw new Qo(a);if(k&&!G&&rv($)=="wrapper")var G=new Zo([],!0)}for(w=G?w:g;++w<g;){$=f[w];var X=rv($),re=X=="wrapper"?Z4($):n;re&&nE(re[0])&&re[1]==(R|S|O|N)&&!re[4].length&&re[9]==1?G=G[rv(re[0])].apply(G,re[3]):G=$.length==1&&nE($)?G[X]():G.thru($)}return function(){var Te=arguments,xe=Te[0];if(G&&Te.length==1&&Ft(xe))return G.plant(xe).value();for(var Ie=0,Ze=g?f[Ie].apply(this,Te):xe;++Ie<g;)Ze=f[Ie].call(this,Ze);return Ze}})}function Jg(u,f,g,w,k,$,G,X,re,Te){var xe=f&R,Ie=f&x,Ze=f&b,dt=f&(S|C),At=f&F,Wt=Ze?n:qp(u);function It(){for(var tn=arguments.length,cn=le(tn),Co=tn;Co--;)cn[Co]=arguments[Co];if(dt)var Ni=yd(It),wo=jX(cn,Ni);if(w&&(cn=Z7(cn,w,k,dt)),$&&(cn=J7(cn,$,G,dt)),tn-=wo,dt&&tn<Te){var Cr=su(cn,Ni);return sA(u,f,Jg,It.placeholder,g,cn,Cr,X,re,Te-tn)}var za=Ie?g:this,fl=Ze?za[u]:u;return tn=cn.length,X?cn=JZ(cn,X):At&&tn>1&&cn.reverse(),xe&&re<tn&&(cn.length=re),this&&this!==ri&&this instanceof It&&(fl=Wt||qp(fl)),fl.apply(za,cn)}return It}function oA(u,f){return function(g,w){return sZ(g,u,f(w),{})}}function ev(u,f){return function(g,w){var k;if(g===n&&w===n)return f;if(g!==n&&(k=g),w!==n){if(k===n)return w;typeof g=="string"||typeof w=="string"?(g=So(g),w=So(w)):(g=W7(g),w=W7(w)),k=u(g,w)}return k}}function q4(u){return ll(function(f){return f=or(f,_o(Ct())),qt(function(g){var w=this;return u(f,function(k){return To(k,w,g)})})})}function tv(u,f){f=f===n?" ":So(f);var g=f.length;if(g<2)return g?U4(f,u):f;var w=U4(f,Ug(u/cd(f)));return ud(f)?fu(Ba(w),0,u).join(""):w.slice(0,u)}function DZ(u,f,g,w){var k=f&x,$=qp(u);function G(){for(var X=-1,re=arguments.length,Te=-1,xe=w.length,Ie=le(xe+re),Ze=this&&this!==ri&&this instanceof G?$:u;++Te<xe;)Ie[Te]=w[Te];for(;re--;)Ie[Te++]=arguments[++X];return To(Ze,k?g:this,Ie)}return G}function aA(u){return function(f,g,w){return w&&typeof w!="number"&&ki(f,g,w)&&(g=w=n),f=dl(f),g===n?(g=f,f=0):g=dl(g),w=w===n?f<g?1:-1:dl(w),bZ(f,g,w,u)}}function nv(u){return function(f,g){return typeof f=="string"&&typeof g=="string"||(f=na(f),g=na(g)),u(f,g)}}function sA(u,f,g,w,k,$,G,X,re,Te){var xe=f&S,Ie=xe?G:n,Ze=xe?n:G,dt=xe?$:n,At=xe?n:$;f|=xe?O:A,f&=~(xe?A:O),f&_||(f&=~(x|b));var Wt=[u,f,k,dt,Ie,At,Ze,X,re,Te],It=g.apply(n,Wt);return nE(u)&&bA(It,Wt),It.placeholder=w,EA(It,u,f)}function Y4(u){var f=Mr[u];return function(g,w){if(g=na(g),w=w==null?0:Ei(Ut(w),292),w&&E7(g)){var k=(Tn(g)+"e").split("e"),$=f(k[0]+"e"+(+k[1]+w));return k=(Tn($)+"e").split("e"),+(k[0]+"e"+(+k[1]-w))}return f(g)}}var LZ=pd&&1/Og(new pd([,-0]))[1]==oe?function(u){return new pd(u)}:vE;function lA(u){return function(f){var g=Ti(f);return g==rt?C4(f):g==Ae?ZX(f):WX(f,u(f))}}function sl(u,f,g,w,k,$,G,X){var re=f&b;if(!re&&typeof u!="function")throw new Qo(a);var Te=w?w.length:0;if(Te||(f&=~(O|A),w=k=n),G=G===n?G:$r(Ut(G),0),X=X===n?X:Ut(X),Te-=k?k.length:0,f&A){var xe=w,Ie=k;w=k=n}var Ze=re?n:Z4(u),dt=[u,f,g,w,k,xe,Ie,$,G,X];if(Ze&&XZ(dt,Ze),u=dt[0],f=dt[1],g=dt[2],w=dt[3],k=dt[4],X=dt[9]=dt[9]===n?re?0:u.length:$r(dt[9]-Te,0),!X&&f&(S|C)&&(f&=~(S|C)),!f||f==x)var At=kZ(u,f,g);else f==S||f==C?At=NZ(u,f,X):(f==O||f==(x|O))&&!k.length?At=DZ(u,f,g,w):At=Jg.apply(n,dt);var Wt=Ze?z7:bA;return EA(Wt(At,dt),u,f)}function uA(u,f,g,w){return u===n||Ua(u,fd[g])&&!Sn.call(w,g)?f:u}function cA(u,f,g,w,k,$){return dr(u)&&dr(f)&&($.set(f,u),Yg(u,f,n,cA,$),$.delete(f)),u}function MZ(u){return Qp(u)?n:u}function dA(u,f,g,w,k,$){var G=g&v,X=u.length,re=f.length;if(X!=re&&!(G&&re>X))return!1;var Te=$.get(u),xe=$.get(f);if(Te&&xe)return Te==f&&xe==u;var Ie=-1,Ze=!0,dt=g&y?new kc:n;for($.set(u,f),$.set(f,u);++Ie<X;){var At=u[Ie],Wt=f[Ie];if(w)var It=G?w(Wt,At,Ie,f,u,$):w(At,Wt,Ie,u,f,$);if(It!==n){if(It)continue;Ze=!1;break}if(dt){if(!b4(f,function(tn,cn){if(!$p(dt,cn)&&(At===tn||k(At,tn,g,w,$)))return dt.push(cn)})){Ze=!1;break}}else if(!(At===Wt||k(At,Wt,g,w,$))){Ze=!1;break}}return $.delete(u),$.delete(f),Ze}function $Z(u,f,g,w,k,$,G){switch(g){case U:if(u.byteLength!=f.byteLength||u.byteOffset!=f.byteOffset)return!1;u=u.buffer,f=f.buffer;case Le:return!(u.byteLength!=f.byteLength||!$(new $g(u),new $g(f)));case ke:case Ee:case Fe:return Ua(+u,+f);case Re:return u.name==f.name&&u.message==f.message;case he:case Ge:return u==f+"";case rt:var X=C4;case Ae:var re=w&v;if(X||(X=Og),u.size!=f.size&&!re)return!1;var Te=G.get(u);if(Te)return Te==f;w|=y,G.set(u,f);var xe=dA(X(u),X(f),w,k,$,G);return G.delete(u),xe;case Xe:if(zp)return zp.call(u)==zp.call(f)}return!1}function FZ(u,f,g,w,k,$){var G=g&v,X=X4(u),re=X.length,Te=X4(f),xe=Te.length;if(re!=xe&&!G)return!1;for(var Ie=re;Ie--;){var Ze=X[Ie];if(!(G?Ze in f:Sn.call(f,Ze)))return!1}var dt=$.get(u),At=$.get(f);if(dt&&At)return dt==f&&At==u;var Wt=!0;$.set(u,f),$.set(f,u);for(var It=G;++Ie<re;){Ze=X[Ie];var tn=u[Ze],cn=f[Ze];if(w)var Co=G?w(cn,tn,Ze,f,u,$):w(tn,cn,Ze,u,f,$);if(!(Co===n?tn===cn||k(tn,cn,g,w,$):Co)){Wt=!1;break}It||(It=Ze=="constructor")}if(Wt&&!It){var Ni=u.constructor,wo=f.constructor;Ni!=wo&&"constructor"in u&&"constructor"in f&&!(typeof Ni=="function"&&Ni instanceof Ni&&typeof wo=="function"&&wo instanceof wo)&&(Wt=!1)}return $.delete(u),$.delete(f),Wt}function ll(u){return iE(vA(u,n,wA),u+"")}function X4(u){return O7(u,Kr,eE)}function Q4(u){return O7(u,Zi,fA)}var Z4=Gg?function(u){return Gg.get(u)}:vE;function rv(u){for(var f=u.name+"",g=hd[f],w=Sn.call(hd,f)?g.length:0;w--;){var k=g[w],$=k.func;if($==null||$==u)return k.name}return f}function yd(u){var f=Sn.call(D,"placeholder")?D:u;return f.placeholder}function Ct(){var u=D.iteratee||mE;return u=u===mE?D7:u,arguments.length?u(arguments[0],arguments[1]):u}function iv(u,f){var g=u.__data__;return VZ(f)?g[typeof f=="string"?"string":"hash"]:g.map}function J4(u){for(var f=Kr(u),g=f.length;g--;){var w=f[g],k=u[w];f[g]=[w,k,mA(k)]}return f}function Lc(u,f){var g=YX(u,f);return N7(g)?g:n}function BZ(u){var f=Sn.call(u,Pc),g=u[Pc];try{u[Pc]=n;var w=!0}catch($){}var k=Lg.call(u);return w&&(f?u[Pc]=g:delete u[Pc]),k}var eE=A4?function(u){return u==null?[]:(u=Ln(u),ou(A4(u),function(f){return y7.call(u,f)}))}:yE,fA=A4?function(u){for(var f=[];u;)au(f,eE(u)),u=Fg(u);return f}:yE,Ti=Oi;(I4&&Ti(new I4(new ArrayBuffer(1)))!=U||Bp&&Ti(new Bp)!=rt||R4&&Ti(R4.resolve())!=ie||pd&&Ti(new pd)!=Ae||Hp&&Ti(new Hp)!=ve)&&(Ti=function(u){var f=Oi(u),g=f==je?u.constructor:n,w=g?Mc(g):"";if(w)switch(w){case TQ:return U;case _Q:return rt;case SQ:return ie;case xQ:return Ae;case CQ:return ve}return f});function HZ(u,f,g){for(var w=-1,k=g.length;++w<k;){var $=g[w],G=$.size;switch($.type){case"drop":u+=G;break;case"dropRight":f-=G;break;case"take":f=Ei(f,u+G);break;case"takeRight":u=$r(u,f-G);break}}return{start:u,end:f}}function UZ(u){var f=u.match(Fa);return f?f[1].split(Ic):[]}function pA(u,f,g){f=du(f,u);for(var w=-1,k=f.length,$=!1;++w<k;){var G=Es(f[w]);if(!($=u!=null&&g(u,G)))break;u=u[G]}return $||++w!=k?$:(k=u==null?0:u.length,!!k&&dv(k)&&ul(G,k)&&(Ft(u)||$c(u)))}function zZ(u){var f=u.length,g=new u.constructor(f);return f&&typeof u[0]=="string"&&Sn.call(u,"index")&&(g.index=u.index,g.input=u.input),g}function hA(u){return typeof u.constructor=="function"&&!Yp(u)?md(Fg(u)):{}}function GZ(u,f,g){var w=u.constructor;switch(f){case Le:return K4(u);case ke:case Ee:return new w(+u);case U:return wZ(u,g);case V:case fe:case de:case Ve:case qe:case Je:case Tt:case en:case Kt:return X7(u,g);case rt:return new w;case Fe:case Ge:return new w(u);case he:return AZ(u);case Ae:return new w;case Xe:return IZ(u)}}function WZ(u,f){var g=f.length;if(!g)return u;var w=g-1;return f[w]=(g>1?"& ":"")+f[w],f=f.join(g>2?", ":" "),u.replace(gr,`{
/* [wrapped with `+f+`] */
`)}function jZ(u){return Ft(u)||$c(u)||!!(b7&&u&&u[b7])}function ul(u,f){var g=typeof u;return f=f==null?z:f,!!f&&(g=="number"||g!="symbol"&&ad.test(u))&&u>-1&&u%1==0&&u<f}function ki(u,f,g){if(!dr(g))return!1;var w=typeof f;return(w=="number"?Qi(g)&&ul(f,g.length):w=="string"&&f in g)?Ua(g[f],u):!1}function tE(u,f){if(Ft(u))return!1;var g=typeof u;return g=="number"||g=="symbol"||g=="boolean"||u==null||xo(u)?!0:nl.test(u)||!iu.test(u)||f!=null&&u in Ln(f)}function VZ(u){var f=typeof u;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?u!=="__proto__":u===null}function nE(u){var f=rv(u),g=D[f];if(typeof g!="function"||!(f in an.prototype))return!1;if(u===g)return!0;var w=Z4(g);return!!w&&u===w[0]}function KZ(u){return!!m7&&m7 in u}var qZ=Ng?cl:bE;function Yp(u){var f=u&&u.constructor,g=typeof f=="function"&&f.prototype||fd;return u===g}function mA(u){return u===u&&!dr(u)}function gA(u,f){return function(g){return g==null?!1:g[u]===f&&(f!==n||u in Ln(g))}}function YZ(u){var f=uv(u,function(w){return g.size===c&&g.clear(),w}),g=f.cache;return f}function XZ(u,f){var g=u[1],w=f[1],k=g|w,$=k<(x|b|R),G=w==R&&g==S||w==R&&g==N&&u[7].length<=f[8]||w==(R|N)&&f[7].length<=f[8]&&g==S;if(!($||G))return u;w&x&&(u[2]=f[2],k|=g&x?0:_);var X=f[3];if(X){var re=u[3];u[3]=re?Z7(re,X,f[4]):X,u[4]=re?su(u[3],d):f[4]}return X=f[5],X&&(re=u[5],u[5]=re?J7(re,X,f[6]):X,u[6]=re?su(u[5],d):f[6]),X=f[7],X&&(u[7]=X),w&R&&(u[8]=u[8]==null?f[8]:Ei(u[8],f[8])),u[9]==null&&(u[9]=f[9]),u[0]=f[0],u[1]=k,u}function QZ(u){var f=[];if(u!=null)for(var g in Ln(u))f.push(g);return f}function ZZ(u){return Lg.call(u)}function vA(u,f,g){return f=$r(f===n?u.length-1:f,0),function(){for(var w=arguments,k=-1,$=$r(w.length-f,0),G=le($);++k<$;)G[k]=w[f+k];k=-1;for(var X=le(f+1);++k<f;)X[k]=w[k];return X[f]=g(G),To(u,this,X)}}function yA(u,f){return f.length<2?u:Dc(u,ea(f,0,-1))}function JZ(u,f){for(var g=u.length,w=Ei(f.length,g),k=Xi(u);w--;){var $=f[w];u[w]=ul($,g)?k[$]:n}return u}function rE(u,f){if(!(f==="constructor"&&typeof u[f]=="function")&&f!="__proto__")return u[f]}var bA=TA(z7),Xp=hQ||function(u,f){return ri.setTimeout(u,f)},iE=TA(_Z);function EA(u,f,g){var w=f+"";return iE(u,WZ(w,eJ(UZ(w),g)))}function TA(u){var f=0,g=0;return function(){var w=yQ(),k=Y-(w-g);if(g=w,k>0){if(++f>=j)return arguments[0]}else f=0;return u.apply(n,arguments)}}function ov(u,f){var g=-1,w=u.length,k=w-1;for(f=f===n?w:f;++g<f;){var $=H4(g,k),G=u[$];u[$]=u[g],u[g]=G}return u.length=f,u}var _A=YZ(function(u){var f=[];return u.charCodeAt(0)===46&&f.push(""),u.replace(bo,function(g,w,k,$){f.push(k?$.replace(be,"$1"):w||g)}),f});function Es(u){if(typeof u=="string"||xo(u))return u;var f=u+"";return f=="0"&&1/u==-oe?"-0":f}function Mc(u){if(u!=null){try{return Dg.call(u)}catch(f){}try{return u+""}catch(f){}}return""}function eJ(u,f){return Xo(pe,function(g){var w="_."+g[0];f&g[1]&&!Rg(u,w)&&u.push(w)}),u.sort()}function SA(u){if(u instanceof an)return u.clone();var f=new Zo(u.__wrapped__,u.__chain__);return f.__actions__=Xi(u.__actions__),f.__index__=u.__index__,f.__values__=u.__values__,f}function tJ(u,f,g){(g?ki(u,f,g):f===n)?f=1:f=$r(Ut(f),0);var w=u==null?0:u.length;if(!w||f<1)return[];for(var k=0,$=0,G=le(Ug(w/f));k<w;)G[$++]=ea(u,k,k+=f);return G}function nJ(u){for(var f=-1,g=u==null?0:u.length,w=0,k=[];++f<g;){var $=u[f];$&&(k[w++]=$)}return k}function rJ(){var u=arguments.length;if(!u)return[];for(var f=le(u-1),g=arguments[0],w=u;w--;)f[w-1]=arguments[w];return au(Ft(g)?Xi(g):[g],ii(f,1))}var iJ=qt(function(u,f){return xr(u)?Wp(u,ii(f,1,xr,!0)):[]}),oJ=qt(function(u,f){var g=ta(f);return xr(g)&&(g=n),xr(u)?Wp(u,ii(f,1,xr,!0),Ct(g,2)):[]}),aJ=qt(function(u,f){var g=ta(f);return xr(g)&&(g=n),xr(u)?Wp(u,ii(f,1,xr,!0),n,g):[]});function sJ(u,f,g){var w=u==null?0:u.length;return w?(f=g||f===n?1:Ut(f),ea(u,f<0?0:f,w)):[]}function lJ(u,f,g){var w=u==null?0:u.length;return w?(f=g||f===n?1:Ut(f),f=w-f,ea(u,0,f<0?0:f)):[]}function uJ(u,f){return u&&u.length?Qg(u,Ct(f,3),!0,!0):[]}function cJ(u,f){return u&&u.length?Qg(u,Ct(f,3),!0):[]}function dJ(u,f,g,w){var k=u==null?0:u.length;return k?(g&&typeof g!="number"&&ki(u,f,g)&&(g=0,w=k),rZ(u,f,g,w)):[]}function xA(u,f,g){var w=u==null?0:u.length;if(!w)return-1;var k=g==null?0:Ut(g);return k<0&&(k=$r(w+k,0)),Pg(u,Ct(f,3),k)}function CA(u,f,g){var w=u==null?0:u.length;if(!w)return-1;var k=w-1;return g!==n&&(k=Ut(g),k=g<0?$r(w+k,0):Ei(k,w-1)),Pg(u,Ct(f,3),k,!0)}function wA(u){var f=u==null?0:u.length;return f?ii(u,1):[]}function fJ(u){var f=u==null?0:u.length;return f?ii(u,oe):[]}function pJ(u,f){var g=u==null?0:u.length;return g?(f=f===n?1:Ut(f),ii(u,f)):[]}function hJ(u){for(var f=-1,g=u==null?0:u.length,w={};++f<g;){var k=u[f];w[k[0]]=k[1]}return w}function AA(u){return u&&u.length?u[0]:n}function mJ(u,f,g){var w=u==null?0:u.length;if(!w)return-1;var k=g==null?0:Ut(g);return k<0&&(k=$r(w+k,0)),ld(u,f,k)}function gJ(u){var f=u==null?0:u.length;return f?ea(u,0,-1):[]}var vJ=qt(function(u){var f=or(u,j4);return f.length&&f[0]===u[0]?L4(f):[]}),yJ=qt(function(u){var f=ta(u),g=or(u,j4);return f===ta(g)?f=n:g.pop(),g.length&&g[0]===u[0]?L4(g,Ct(f,2)):[]}),bJ=qt(function(u){var f=ta(u),g=or(u,j4);return f=typeof f=="function"?f:n,f&&g.pop(),g.length&&g[0]===u[0]?L4(g,n,f):[]});function EJ(u,f){return u==null?"":gQ.call(u,f)}function ta(u){var f=u==null?0:u.length;return f?u[f-1]:n}function TJ(u,f,g){var w=u==null?0:u.length;if(!w)return-1;var k=w;return g!==n&&(k=Ut(g),k=k<0?$r(w+k,0):Ei(k,w-1)),f===f?eQ(u,f,k):Pg(u,s7,k,!0)}function _J(u,f){return u&&u.length?F7(u,Ut(f)):n}var SJ=qt(IA);function IA(u,f){return u&&u.length&&f&&f.length?B4(u,f):u}function xJ(u,f,g){return u&&u.length&&f&&f.length?B4(u,f,Ct(g,2)):u}function CJ(u,f,g){return u&&u.length&&f&&f.length?B4(u,f,n,g):u}var wJ=ll(function(u,f){var g=u==null?0:u.length,w=O4(u,f);return U7(u,or(f,function(k){return ul(k,g)?+k:k}).sort(Q7)),w});function AJ(u,f){var g=[];if(!(u&&u.length))return g;var w=-1,k=[],$=u.length;for(f=Ct(f,3);++w<$;){var G=u[w];f(G,w,u)&&(g.push(G),k.push(w))}return U7(u,k),g}function oE(u){return u==null?u:EQ.call(u)}function IJ(u,f,g){var w=u==null?0:u.length;return w?(g&&typeof g!="number"&&ki(u,f,g)?(f=0,g=w):(f=f==null?0:Ut(f),g=g===n?w:Ut(g)),ea(u,f,g)):[]}function RJ(u,f){return Xg(u,f)}function PJ(u,f,g){return z4(u,f,Ct(g,2))}function OJ(u,f){var g=u==null?0:u.length;if(g){var w=Xg(u,f);if(w<g&&Ua(u[w],f))return w}return-1}function kJ(u,f){return Xg(u,f,!0)}function NJ(u,f,g){return z4(u,f,Ct(g,2),!0)}function DJ(u,f){var g=u==null?0:u.length;if(g){var w=Xg(u,f,!0)-1;if(Ua(u[w],f))return w}return-1}function LJ(u){return u&&u.length?G7(u):[]}function MJ(u,f){return u&&u.length?G7(u,Ct(f,2)):[]}function $J(u){var f=u==null?0:u.length;return f?ea(u,1,f):[]}function FJ(u,f,g){return u&&u.length?(f=g||f===n?1:Ut(f),ea(u,0,f<0?0:f)):[]}function BJ(u,f,g){var w=u==null?0:u.length;return w?(f=g||f===n?1:Ut(f),f=w-f,ea(u,f<0?0:f,w)):[]}function HJ(u,f){return u&&u.length?Qg(u,Ct(f,3),!1,!0):[]}function UJ(u,f){return u&&u.length?Qg(u,Ct(f,3)):[]}var zJ=qt(function(u){return cu(ii(u,1,xr,!0))}),GJ=qt(function(u){var f=ta(u);return xr(f)&&(f=n),cu(ii(u,1,xr,!0),Ct(f,2))}),WJ=qt(function(u){var f=ta(u);return f=typeof f=="function"?f:n,cu(ii(u,1,xr,!0),n,f)});function jJ(u){return u&&u.length?cu(u):[]}function VJ(u,f){return u&&u.length?cu(u,Ct(f,2)):[]}function KJ(u,f){return f=typeof f=="function"?f:n,u&&u.length?cu(u,n,f):[]}function aE(u){if(!(u&&u.length))return[];var f=0;return u=ou(u,function(g){if(xr(g))return f=$r(g.length,f),!0}),S4(f,function(g){return or(u,E4(g))})}function RA(u,f){if(!(u&&u.length))return[];var g=aE(u);return f==null?g:or(g,function(w){return To(f,n,w)})}var qJ=qt(function(u,f){return xr(u)?Wp(u,f):[]}),YJ=qt(function(u){return W4(ou(u,xr))}),XJ=qt(function(u){var f=ta(u);return xr(f)&&(f=n),W4(ou(u,xr),Ct(f,2))}),QJ=qt(function(u){var f=ta(u);return f=typeof f=="function"?f:n,W4(ou(u,xr),n,f)}),ZJ=qt(aE);function JJ(u,f){return K7(u||[],f||[],Gp)}function eee(u,f){return K7(u||[],f||[],Kp)}var tee=qt(function(u){var f=u.length,g=f>1?u[f-1]:n;return g=typeof g=="function"?(u.pop(),g):n,RA(u,g)});function PA(u){var f=D(u);return f.__chain__=!0,f}function nee(u,f){return f(u),u}function av(u,f){return f(u)}var ree=ll(function(u){var f=u.length,g=f?u[0]:0,w=this.__wrapped__,k=function($){return O4($,u)};return f>1||this.__actions__.length||!(w instanceof an)||!ul(g)?this.thru(k):(w=w.slice(g,+g+(f?1:0)),w.__actions__.push({func:av,args:[k],thisArg:n}),new Zo(w,this.__chain__).thru(function($){return f&&!$.length&&$.push(n),$}))});function iee(){return PA(this)}function oee(){return new Zo(this.value(),this.__chain__)}function aee(){this.__values__===n&&(this.__values__=WA(this.value()));var u=this.__index__>=this.__values__.length,f=u?n:this.__values__[this.__index__++];return{done:u,value:f}}function see(){return this}function lee(u){for(var f,g=this;g instanceof jg;){var w=SA(g);w.__index__=0,w.__values__=n,f?k.__wrapped__=w:f=w;var k=w;g=g.__wrapped__}return k.__wrapped__=u,f}function uee(){var u=this.__wrapped__;if(u instanceof an){var f=u;return this.__actions__.length&&(f=new an(this)),f=f.reverse(),f.__actions__.push({func:av,args:[oE],thisArg:n}),new Zo(f,this.__chain__)}return this.thru(oE)}function cee(){return V7(this.__wrapped__,this.__actions__)}var dee=Zg(function(u,f,g){Sn.call(u,g)?++u[g]:al(u,g,1)});function fee(u,f,g){var w=Ft(u)?o7:nZ;return g&&ki(u,f,g)&&(f=n),w(u,Ct(f,3))}function pee(u,f){var g=Ft(u)?ou:R7;return g(u,Ct(f,3))}var hee=rA(xA),mee=rA(CA);function gee(u,f){return ii(sv(u,f),1)}function vee(u,f){return ii(sv(u,f),oe)}function yee(u,f,g){return g=g===n?1:Ut(g),ii(sv(u,f),g)}function OA(u,f){var g=Ft(u)?Xo:uu;return g(u,Ct(f,3))}function kA(u,f){var g=Ft(u)?$X:I7;return g(u,Ct(f,3))}var bee=Zg(function(u,f,g){Sn.call(u,g)?u[g].push(f):al(u,g,[f])});function Eee(u,f,g,w){u=Qi(u)?u:Ed(u),g=g&&!w?Ut(g):0;var k=u.length;return g<0&&(g=$r(k+g,0)),fv(u)?g<=k&&u.indexOf(f,g)>-1:!!k&&ld(u,f,g)>-1}var Tee=qt(function(u,f,g){var w=-1,k=typeof f=="function",$=Qi(u)?le(u.length):[];return uu(u,function(G){$[++w]=k?To(f,G,g):jp(G,f,g)}),$}),_ee=Zg(function(u,f,g){al(u,g,f)});function sv(u,f){var g=Ft(u)?or:L7;return g(u,Ct(f,3))}function See(u,f,g,w){return u==null?[]:(Ft(f)||(f=f==null?[]:[f]),g=w?n:g,Ft(g)||(g=g==null?[]:[g]),B7(u,f,g))}var xee=Zg(function(u,f,g){u[g?0:1].push(f)},function(){return[[],[]]});function Cee(u,f,g){var w=Ft(u)?y4:u7,k=arguments.length<3;return w(u,Ct(f,4),g,k,uu)}function wee(u,f,g){var w=Ft(u)?FX:u7,k=arguments.length<3;return w(u,Ct(f,4),g,k,I7)}function Aee(u,f){var g=Ft(u)?ou:R7;return g(u,cv(Ct(f,3)))}function Iee(u){var f=Ft(u)?x7:EZ;return f(u)}function Ree(u,f,g){(g?ki(u,f,g):f===n)?f=1:f=Ut(f);var w=Ft(u)?QQ:TZ;return w(u,f)}function Pee(u){var f=Ft(u)?ZQ:SZ;return f(u)}function Oee(u){if(u==null)return 0;if(Qi(u))return fv(u)?cd(u):u.length;var f=Ti(u);return f==rt||f==Ae?u.size:$4(u).length}function kee(u,f,g){var w=Ft(u)?b4:xZ;return g&&ki(u,f,g)&&(f=n),w(u,Ct(f,3))}var Nee=qt(function(u,f){if(u==null)return[];var g=f.length;return g>1&&ki(u,f[0],f[1])?f=[]:g>2&&ki(f[0],f[1],f[2])&&(f=[f[0]]),B7(u,ii(f,1),[])}),lv=pQ||function(){return ri.Date.now()};function Dee(u,f){if(typeof f!="function")throw new Qo(a);return u=Ut(u),function(){if(--u<1)return f.apply(this,arguments)}}function NA(u,f,g){return f=g?n:f,f=u&&f==null?u.length:f,sl(u,R,n,n,n,n,f)}function DA(u,f){var g;if(typeof f!="function")throw new Qo(a);return u=Ut(u),function(){return--u>0&&(g=f.apply(this,arguments)),u<=1&&(f=n),g}}var sE=qt(function(u,f,g){var w=x;if(g.length){var k=su(g,yd(sE));w|=O}return sl(u,w,f,g,k)}),LA=qt(function(u,f,g){var w=x|b;if(g.length){var k=su(g,yd(LA));w|=O}return sl(f,w,u,g,k)});function MA(u,f,g){f=g?n:f;var w=sl(u,S,n,n,n,n,n,f);return w.placeholder=MA.placeholder,w}function $A(u,f,g){f=g?n:f;var w=sl(u,C,n,n,n,n,n,f);return w.placeholder=$A.placeholder,w}function FA(u,f,g){var w,k,$,G,X,re,Te=0,xe=!1,Ie=!1,Ze=!0;if(typeof u!="function")throw new Qo(a);f=na(f)||0,dr(g)&&(xe=!!g.leading,Ie="maxWait"in g,$=Ie?$r(na(g.maxWait)||0,f):$,Ze="trailing"in g?!!g.trailing:Ze);function dt(Cr){var za=w,fl=k;return w=k=n,Te=Cr,G=u.apply(fl,za),G}function At(Cr){return Te=Cr,X=Xp(tn,f),xe?dt(Cr):G}function Wt(Cr){var za=Cr-re,fl=Cr-Te,rI=f-za;return Ie?Ei(rI,$-fl):rI}function It(Cr){var za=Cr-re,fl=Cr-Te;return re===n||za>=f||za<0||Ie&&fl>=$}function tn(){var Cr=lv();if(It(Cr))return cn(Cr);X=Xp(tn,Wt(Cr))}function cn(Cr){return X=n,Ze&&w?dt(Cr):(w=k=n,G)}function Co(){X!==n&&q7(X),Te=0,w=re=k=X=n}function Ni(){return X===n?G:cn(lv())}function wo(){var Cr=lv(),za=It(Cr);if(w=arguments,k=this,re=Cr,za){if(X===n)return At(re);if(Ie)return q7(X),X=Xp(tn,f),dt(re)}return X===n&&(X=Xp(tn,f)),G}return wo.cancel=Co,wo.flush=Ni,wo}var Lee=qt(function(u,f){return A7(u,1,f)}),Mee=qt(function(u,f,g){return A7(u,na(f)||0,g)});function $ee(u){return sl(u,F)}function uv(u,f){if(typeof u!="function"||f!=null&&typeof f!="function")throw new Qo(a);var g=function(){var w=arguments,k=f?f.apply(this,w):w[0],$=g.cache;if($.has(k))return $.get(k);var G=u.apply(this,w);return g.cache=$.set(k,G)||$,G};return g.cache=new(uv.Cache||ol),g}uv.Cache=ol;function cv(u){if(typeof u!="function")throw new Qo(a);return function(){var f=arguments;switch(f.length){case 0:return!u.call(this);case 1:return!u.call(this,f[0]);case 2:return!u.call(this,f[0],f[1]);case 3:return!u.call(this,f[0],f[1],f[2])}return!u.apply(this,f)}}function Fee(u){return DA(2,u)}var Bee=CZ(function(u,f){f=f.length==1&&Ft(f[0])?or(f[0],_o(Ct())):or(ii(f,1),_o(Ct()));var g=f.length;return qt(function(w){for(var k=-1,$=Ei(w.length,g);++k<$;)w[k]=f[k].call(this,w[k]);return To(u,this,w)})}),lE=qt(function(u,f){var g=su(f,yd(lE));return sl(u,O,n,f,g)}),BA=qt(function(u,f){var g=su(f,yd(BA));return sl(u,A,n,f,g)}),Hee=ll(function(u,f){return sl(u,N,n,n,n,f)});function Uee(u,f){if(typeof u!="function")throw new Qo(a);return f=f===n?f:Ut(f),qt(u,f)}function zee(u,f){if(typeof u!="function")throw new Qo(a);return f=f==null?0:$r(Ut(f),0),qt(function(g){var w=g[f],k=fu(g,0,f);return w&&au(k,w),To(u,this,k)})}function Gee(u,f,g){var w=!0,k=!0;if(typeof u!="function")throw new Qo(a);return dr(g)&&(w="leading"in g?!!g.leading:w,k="trailing"in g?!!g.trailing:k),FA(u,f,{leading:w,maxWait:f,trailing:k})}function Wee(u){return NA(u,1)}function jee(u,f){return lE(V4(f),u)}function Vee(){if(!arguments.length)return[];var u=arguments[0];return Ft(u)?u:[u]}function Kee(u){return Jo(u,m)}function qee(u,f){return f=typeof f=="function"?f:n,Jo(u,m,f)}function Yee(u){return Jo(u,p|m)}function Xee(u,f){return f=typeof f=="function"?f:n,Jo(u,p|m,f)}function Qee(u,f){return f==null||w7(u,f,Kr(f))}function Ua(u,f){return u===f||u!==u&&f!==f}var Zee=nv(D4),Jee=nv(function(u,f){return u>=f}),$c=k7(function(){return arguments}())?k7:function(u){return vr(u)&&Sn.call(u,"callee")&&!y7.call(u,"callee")},Ft=le.isArray,ete=Jw?_o(Jw):lZ;function Qi(u){return u!=null&&dv(u.length)&&!cl(u)}function xr(u){return vr(u)&&Qi(u)}function tte(u){return u===!0||u===!1||vr(u)&&Oi(u)==ke}var pu=mQ||bE,nte=e7?_o(e7):uZ;function rte(u){return vr(u)&&u.nodeType===1&&!Qp(u)}function ite(u){if(u==null)return!0;if(Qi(u)&&(Ft(u)||typeof u=="string"||typeof u.splice=="function"||pu(u)||bd(u)||$c(u)))return!u.length;var f=Ti(u);if(f==rt||f==Ae)return!u.size;if(Yp(u))return!$4(u).length;for(var g in u)if(Sn.call(u,g))return!1;return!0}function ote(u,f){return Vp(u,f)}function ate(u,f,g){g=typeof g=="function"?g:n;var w=g?g(u,f):n;return w===n?Vp(u,f,n,g):!!w}function uE(u){if(!vr(u))return!1;var f=Oi(u);return f==Re||f==Qe||typeof u.message=="string"&&typeof u.name=="string"&&!Qp(u)}function ste(u){return typeof u=="number"&&E7(u)}function cl(u){if(!dr(u))return!1;var f=Oi(u);return f==tt||f==ut||f==Ce||f==ce}function HA(u){return typeof u=="number"&&u==Ut(u)}function dv(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=z}function dr(u){var f=typeof u;return u!=null&&(f=="object"||f=="function")}function vr(u){return u!=null&&typeof u=="object"}var UA=t7?_o(t7):dZ;function lte(u,f){return u===f||M4(u,f,J4(f))}function ute(u,f,g){return g=typeof g=="function"?g:n,M4(u,f,J4(f),g)}function cte(u){return zA(u)&&u!=+u}function dte(u){if(qZ(u))throw new Mt(o);return N7(u)}function fte(u){return u===null}function pte(u){return u==null}function zA(u){return typeof u=="number"||vr(u)&&Oi(u)==Fe}function Qp(u){if(!vr(u)||Oi(u)!=je)return!1;var f=Fg(u);if(f===null)return!0;var g=Sn.call(f,"constructor")&&f.constructor;return typeof g=="function"&&g instanceof g&&Dg.call(g)==uQ}var cE=n7?_o(n7):fZ;function hte(u){return HA(u)&&u>=-z&&u<=z}var GA=r7?_o(r7):pZ;function fv(u){return typeof u=="string"||!Ft(u)&&vr(u)&&Oi(u)==Ge}function xo(u){return typeof u=="symbol"||vr(u)&&Oi(u)==Xe}var bd=i7?_o(i7):hZ;function mte(u){return u===n}function gte(u){return vr(u)&&Ti(u)==ve}function vte(u){return vr(u)&&Oi(u)==De}var yte=nv(F4),bte=nv(function(u,f){return u<=f});function WA(u){if(!u)return[];if(Qi(u))return fv(u)?Ba(u):Xi(u);if(Fp&&u[Fp])return QX(u[Fp]());var f=Ti(u),g=f==rt?C4:f==Ae?Og:Ed;return g(u)}function dl(u){if(!u)return u===0?u:0;if(u=na(u),u===oe||u===-oe){var f=u<0?-1:1;return f*Q}return u===u?u:0}function Ut(u){var f=dl(u),g=f%1;return f===f?g?f-g:f:0}function jA(u){return u?Nc(Ut(u),0,M):0}function na(u){if(typeof u=="number")return u;if(xo(u))return J;if(dr(u)){var f=typeof u.valueOf=="function"?u.valueOf():u;u=dr(f)?f+"":f}if(typeof u!="string")return u===0?u:+u;u=c7(u);var g=Sr.test(u);return g||Yi.test(u)?DX(u.slice(2),g?2:8):En.test(u)?J:+u}function VA(u){return bs(u,Zi(u))}function Ete(u){return u?Nc(Ut(u),-z,z):u===0?u:0}function Tn(u){return u==null?"":So(u)}var Tte=gd(function(u,f){if(Yp(f)||Qi(f)){bs(f,Kr(f),u);return}for(var g in f)Sn.call(f,g)&&Gp(u,g,f[g])}),KA=gd(function(u,f){bs(f,Zi(f),u)}),pv=gd(function(u,f,g,w){bs(f,Zi(f),u,w)}),_te=gd(function(u,f,g,w){bs(f,Kr(f),u,w)}),Ste=ll(O4);function xte(u,f){var g=md(u);return f==null?g:C7(g,f)}var Cte=qt(function(u,f){u=Ln(u);var g=-1,w=f.length,k=w>2?f[2]:n;for(k&&ki(f[0],f[1],k)&&(w=1);++g<w;)for(var $=f[g],G=Zi($),X=-1,re=G.length;++X<re;){var Te=G[X],xe=u[Te];(xe===n||Ua(xe,fd[Te])&&!Sn.call(u,Te))&&(u[Te]=$[Te])}return u}),wte=qt(function(u){return u.push(n,cA),To(qA,n,u)});function Ate(u,f){return a7(u,Ct(f,3),ys)}function Ite(u,f){return a7(u,Ct(f,3),N4)}function Rte(u,f){return u==null?u:k4(u,Ct(f,3),Zi)}function Pte(u,f){return u==null?u:P7(u,Ct(f,3),Zi)}function Ote(u,f){return u&&ys(u,Ct(f,3))}function kte(u,f){return u&&N4(u,Ct(f,3))}function Nte(u){return u==null?[]:qg(u,Kr(u))}function Dte(u){return u==null?[]:qg(u,Zi(u))}function dE(u,f,g){var w=u==null?n:Dc(u,f);return w===n?g:w}function Lte(u,f){return u!=null&&pA(u,f,iZ)}function fE(u,f){return u!=null&&pA(u,f,oZ)}var Mte=oA(function(u,f,g){f!=null&&typeof f.toString!="function"&&(f=Lg.call(f)),u[f]=g},hE(Ji)),$te=oA(function(u,f,g){f!=null&&typeof f.toString!="function"&&(f=Lg.call(f)),Sn.call(u,f)?u[f].push(g):u[f]=[g]},Ct),Fte=qt(jp);function Kr(u){return Qi(u)?S7(u):$4(u)}function Zi(u){return Qi(u)?S7(u,!0):mZ(u)}function Bte(u,f){var g={};return f=Ct(f,3),ys(u,function(w,k,$){al(g,f(w,k,$),w)}),g}function Hte(u,f){var g={};return f=Ct(f,3),ys(u,function(w,k,$){al(g,k,f(w,k,$))}),g}var Ute=gd(function(u,f,g){Yg(u,f,g)}),qA=gd(function(u,f,g,w){Yg(u,f,g,w)}),zte=ll(function(u,f){var g={};if(u==null)return g;var w=!1;f=or(f,function($){return $=du($,u),w||(w=$.length>1),$}),bs(u,Q4(u),g),w&&(g=Jo(g,p|h|m,MZ));for(var k=f.length;k--;)G4(g,f[k]);return g});function Gte(u,f){return YA(u,cv(Ct(f)))}var Wte=ll(function(u,f){return u==null?{}:vZ(u,f)});function YA(u,f){if(u==null)return{};var g=or(Q4(u),function(w){return[w]});return f=Ct(f),H7(u,g,function(w,k){return f(w,k[0])})}function jte(u,f,g){f=du(f,u);var w=-1,k=f.length;for(k||(k=1,u=n);++w<k;){var $=u==null?n:u[Es(f[w])];$===n&&(w=k,$=g),u=cl($)?$.call(u):$}return u}function Vte(u,f,g){return u==null?u:Kp(u,f,g)}function Kte(u,f,g,w){return w=typeof w=="function"?w:n,u==null?u:Kp(u,f,g,w)}var XA=lA(Kr),QA=lA(Zi);function qte(u,f,g){var w=Ft(u),k=w||pu(u)||bd(u);if(f=Ct(f,4),g==null){var $=u&&u.constructor;k?g=w?new $:[]:dr(u)?g=cl($)?md(Fg(u)):{}:g={}}return(k?Xo:ys)(u,function(G,X,re){return f(g,G,X,re)}),g}function Yte(u,f){return u==null?!0:G4(u,f)}function Xte(u,f,g){return u==null?u:j7(u,f,V4(g))}function Qte(u,f,g,w){return w=typeof w=="function"?w:n,u==null?u:j7(u,f,V4(g),w)}function Ed(u){return u==null?[]:x4(u,Kr(u))}function Zte(u){return u==null?[]:x4(u,Zi(u))}function Jte(u,f,g){return g===n&&(g=f,f=n),g!==n&&(g=na(g),g=g===g?g:0),f!==n&&(f=na(f),f=f===f?f:0),Nc(na(u),f,g)}function ene(u,f,g){return f=dl(f),g===n?(g=f,f=0):g=dl(g),u=na(u),aZ(u,f,g)}function tne(u,f,g){if(g&&typeof g!="boolean"&&ki(u,f,g)&&(f=g=n),g===n&&(typeof f=="boolean"?(g=f,f=n):typeof u=="boolean"&&(g=u,u=n)),u===n&&f===n?(u=0,f=1):(u=dl(u),f===n?(f=u,u=0):f=dl(f)),u>f){var w=u;u=f,f=w}if(g||u%1||f%1){var k=T7();return Ei(u+k*(f-u+NX("1e-"+((k+"").length-1))),f)}return H4(u,f)}var nne=vd(function(u,f,g){return f=f.toLowerCase(),u+(g?ZA(f):f)});function ZA(u){return pE(Tn(u).toLowerCase())}function JA(u){return u=Tn(u),u&&u.replace(Zt,VX).replace(SX,"")}function rne(u,f,g){u=Tn(u),f=So(f);var w=u.length;g=g===n?w:Nc(Ut(g),0,w);var k=g;return g-=f.length,g>=0&&u.slice(g,k)==f}function ine(u){return u=Tn(u),u&&Ar.test(u)?u.replace(Hn,KX):u}function one(u){return u=Tn(u),u&&rl.test(u)?u.replace(Eo,"\\$&"):u}var ane=vd(function(u,f,g){return u+(g?"-":"")+f.toLowerCase()}),sne=vd(function(u,f,g){return u+(g?" ":"")+f.toLowerCase()}),lne=nA("toLowerCase");function une(u,f,g){u=Tn(u),f=Ut(f);var w=f?cd(u):0;if(!f||w>=f)return u;var k=(f-w)/2;return tv(zg(k),g)+u+tv(Ug(k),g)}function cne(u,f,g){u=Tn(u),f=Ut(f);var w=f?cd(u):0;return f&&w<f?u+tv(f-w,g):u}function dne(u,f,g){u=Tn(u),f=Ut(f);var w=f?cd(u):0;return f&&w<f?tv(f-w,g)+u:u}function fne(u,f,g){return g||f==null?f=0:f&&(f=+f),bQ(Tn(u).replace(Gt,""),f||0)}function pne(u,f,g){return(g?ki(u,f,g):f===n)?f=1:f=Ut(f),U4(Tn(u),f)}function hne(){var u=arguments,f=Tn(u[0]);return u.length<3?f:f.replace(u[1],u[2])}var mne=vd(function(u,f,g){return u+(g?"_":"")+f.toLowerCase()});function gne(u,f,g){return g&&typeof g!="number"&&ki(u,f,g)&&(f=g=n),g=g===n?M:g>>>0,g?(u=Tn(u),u&&(typeof f=="string"||f!=null&&!cE(f))&&(f=So(f),!f&&ud(u))?fu(Ba(u),0,g):u.split(f,g)):[]}var vne=vd(function(u,f,g){return u+(g?" ":"")+pE(f)});function yne(u,f,g){return u=Tn(u),g=g==null?0:Nc(Ut(g),0,u.length),f=So(f),u.slice(g,g+f.length)==f}function bne(u,f,g){var w=D.templateSettings;g&&ki(u,f,g)&&(f=n),u=Tn(u),f=pv({},f,w,uA);var k=pv({},f.imports,w.imports,uA),$=Kr(k),G=x4(k,$),X,re,Te=0,xe=f.interpolate||Vr,Ie="__p += '",Ze=w4((f.escape||Vr).source+"|"+xe.source+"|"+(xe===$a?ht:Vr).source+"|"+(f.evaluate||Vr).source+"|$","g"),dt="//# sourceURL="+(Sn.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++IX+"]")+`
`;u.replace(Ze,function(It,tn,cn,Co,Ni,wo){return cn||(cn=Co),Ie+=u.slice(Te,wo).replace(oX,qX),tn&&(X=!0,Ie+=`' +
__e(`+tn+`) +
'`),Ni&&(re=!0,Ie+=`';
`+Ni+`;
__p += '`),cn&&(Ie+=`' +
((__t = (`+cn+`)) == null ? '' : __t) +
'`),Te=wo+It.length,It}),Ie+=`';
`;var At=Sn.call(f,"variable")&&f.variable;if(!At)Ie=`with (obj) {
`+Ie+`
}
`;else if(we.test(At))throw new Mt(s);Ie=(re?Ie.replace(Ot,""):Ie).replace(ir,"$1").replace(Kn,"$1;"),Ie="function("+(At||"obj")+`) {
`+(At?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(X?", __e = _.escape":"")+(re?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Ie+`return __p
}`;var Wt=tI(function(){return vn($,dt+"return "+Ie).apply(n,G)});if(Wt.source=Ie,uE(Wt))throw Wt;return Wt}function Ene(u){return Tn(u).toLowerCase()}function Tne(u){return Tn(u).toUpperCase()}function _ne(u,f,g){if(u=Tn(u),u&&(g||f===n))return c7(u);if(!u||!(f=So(f)))return u;var w=Ba(u),k=Ba(f),$=d7(w,k),G=f7(w,k)+1;return fu(w,$,G).join("")}function Sne(u,f,g){if(u=Tn(u),u&&(g||f===n))return u.slice(0,h7(u)+1);if(!u||!(f=So(f)))return u;var w=Ba(u),k=f7(w,Ba(f))+1;return fu(w,0,k).join("")}function xne(u,f,g){if(u=Tn(u),u&&(g||f===n))return u.replace(Gt,"");if(!u||!(f=So(f)))return u;var w=Ba(u),k=d7(w,Ba(f));return fu(w,k).join("")}function Cne(u,f){var g=L,w=H;if(dr(f)){var k="separator"in f?f.separator:k;g="length"in f?Ut(f.length):g,w="omission"in f?So(f.omission):w}u=Tn(u);var $=u.length;if(ud(u)){var G=Ba(u);$=G.length}if(g>=$)return u;var X=g-cd(w);if(X<1)return w;var re=G?fu(G,0,X).join(""):u.slice(0,X);if(k===n)return re+w;if(G&&(X+=re.length-X),cE(k)){if(u.slice(X).search(k)){var Te,xe=re;for(k.global||(k=w4(k.source,Tn(wt.exec(k))+"g")),k.lastIndex=0;Te=k.exec(xe);)var Ie=Te.index;re=re.slice(0,Ie===n?X:Ie)}}else if(u.indexOf(So(k),X)!=X){var Ze=re.lastIndexOf(k);Ze>-1&&(re=re.slice(0,Ze))}return re+w}function wne(u){return u=Tn(u),u&&Lr.test(u)?u.replace(Rn,tQ):u}var Ane=vd(function(u,f,g){return u+(g?" ":"")+f.toUpperCase()}),pE=nA("toUpperCase");function eI(u,f,g){return u=Tn(u),f=g?n:f,f===n?XX(u)?iQ(u):UX(u):u.match(f)||[]}var tI=qt(function(u,f){try{return To(u,n,f)}catch(g){return uE(g)?g:new Mt(g)}}),Ine=ll(function(u,f){return Xo(f,function(g){g=Es(g),al(u,g,sE(u[g],u))}),u});function Rne(u){var f=u==null?0:u.length,g=Ct();return u=f?or(u,function(w){if(typeof w[1]!="function")throw new Qo(a);return[g(w[0]),w[1]]}):[],qt(function(w){for(var k=-1;++k<f;){var $=u[k];if(To($[0],this,w))return To($[1],this,w)}})}function Pne(u){return tZ(Jo(u,p))}function hE(u){return function(){return u}}function One(u,f){return u==null||u!==u?f:u}var kne=iA(),Nne=iA(!0);function Ji(u){return u}function mE(u){return D7(typeof u=="function"?u:Jo(u,p))}function Dne(u){return M7(Jo(u,p))}function Lne(u,f){return $7(u,Jo(f,p))}var Mne=qt(function(u,f){return function(g){return jp(g,u,f)}}),$ne=qt(function(u,f){return function(g){return jp(u,g,f)}});function gE(u,f,g){var w=Kr(f),k=qg(f,w);g==null&&!(dr(f)&&(k.length||!w.length))&&(g=f,f=u,u=this,k=qg(f,Kr(f)));var $=!(dr(g)&&"chain"in g)||!!g.chain,G=cl(u);return Xo(k,function(X){var re=f[X];u[X]=re,G&&(u.prototype[X]=function(){var Te=this.__chain__;if($||Te){var xe=u(this.__wrapped__),Ie=xe.__actions__=Xi(this.__actions__);return Ie.push({func:re,args:arguments,thisArg:u}),xe.__chain__=Te,xe}return re.apply(u,au([this.value()],arguments))})}),u}function Fne(){return ri._===this&&(ri._=cQ),this}function vE(){}function Bne(u){return u=Ut(u),qt(function(f){return F7(f,u)})}var Hne=q4(or),Une=q4(o7),zne=q4(b4);function nI(u){return tE(u)?E4(Es(u)):yZ(u)}function Gne(u){return function(f){return u==null?n:Dc(u,f)}}var Wne=aA(),jne=aA(!0);function yE(){return[]}function bE(){return!1}function Vne(){return{}}function Kne(){return""}function qne(){return!0}function Yne(u,f){if(u=Ut(u),u<1||u>z)return[];var g=M,w=Ei(u,M);f=Ct(f),u-=M;for(var k=S4(w,f);++g<u;)f(g);return k}function Xne(u){return Ft(u)?or(u,Es):xo(u)?[u]:Xi(_A(Tn(u)))}function Qne(u){var f=++lQ;return Tn(u)+f}var Zne=ev(function(u,f){return u+f},0),Jne=Y4("ceil"),ere=ev(function(u,f){return u/f},1),tre=Y4("floor");function nre(u){return u&&u.length?Kg(u,Ji,D4):n}function rre(u,f){return u&&u.length?Kg(u,Ct(f,2),D4):n}function ire(u){return l7(u,Ji)}function ore(u,f){return l7(u,Ct(f,2))}function are(u){return u&&u.length?Kg(u,Ji,F4):n}function sre(u,f){return u&&u.length?Kg(u,Ct(f,2),F4):n}var lre=ev(function(u,f){return u*f},1),ure=Y4("round"),cre=ev(function(u,f){return u-f},0);function dre(u){return u&&u.length?_4(u,Ji):0}function fre(u,f){return u&&u.length?_4(u,Ct(f,2)):0}return D.after=Dee,D.ary=NA,D.assign=Tte,D.assignIn=KA,D.assignInWith=pv,D.assignWith=_te,D.at=Ste,D.before=DA,D.bind=sE,D.bindAll=Ine,D.bindKey=LA,D.castArray=Vee,D.chain=PA,D.chunk=tJ,D.compact=nJ,D.concat=rJ,D.cond=Rne,D.conforms=Pne,D.constant=hE,D.countBy=dee,D.create=xte,D.curry=MA,D.curryRight=$A,D.debounce=FA,D.defaults=Cte,D.defaultsDeep=wte,D.defer=Lee,D.delay=Mee,D.difference=iJ,D.differenceBy=oJ,D.differenceWith=aJ,D.drop=sJ,D.dropRight=lJ,D.dropRightWhile=uJ,D.dropWhile=cJ,D.fill=dJ,D.filter=pee,D.flatMap=gee,D.flatMapDeep=vee,D.flatMapDepth=yee,D.flatten=wA,D.flattenDeep=fJ,D.flattenDepth=pJ,D.flip=$ee,D.flow=kne,D.flowRight=Nne,D.fromPairs=hJ,D.functions=Nte,D.functionsIn=Dte,D.groupBy=bee,D.initial=gJ,D.intersection=vJ,D.intersectionBy=yJ,D.intersectionWith=bJ,D.invert=Mte,D.invertBy=$te,D.invokeMap=Tee,D.iteratee=mE,D.keyBy=_ee,D.keys=Kr,D.keysIn=Zi,D.map=sv,D.mapKeys=Bte,D.mapValues=Hte,D.matches=Dne,D.matchesProperty=Lne,D.memoize=uv,D.merge=Ute,D.mergeWith=qA,D.method=Mne,D.methodOf=$ne,D.mixin=gE,D.negate=cv,D.nthArg=Bne,D.omit=zte,D.omitBy=Gte,D.once=Fee,D.orderBy=See,D.over=Hne,D.overArgs=Bee,D.overEvery=Une,D.overSome=zne,D.partial=lE,D.partialRight=BA,D.partition=xee,D.pick=Wte,D.pickBy=YA,D.property=nI,D.propertyOf=Gne,D.pull=SJ,D.pullAll=IA,D.pullAllBy=xJ,D.pullAllWith=CJ,D.pullAt=wJ,D.range=Wne,D.rangeRight=jne,D.rearg=Hee,D.reject=Aee,D.remove=AJ,D.rest=Uee,D.reverse=oE,D.sampleSize=Ree,D.set=Vte,D.setWith=Kte,D.shuffle=Pee,D.slice=IJ,D.sortBy=Nee,D.sortedUniq=LJ,D.sortedUniqBy=MJ,D.split=gne,D.spread=zee,D.tail=$J,D.take=FJ,D.takeRight=BJ,D.takeRightWhile=HJ,D.takeWhile=UJ,D.tap=nee,D.throttle=Gee,D.thru=av,D.toArray=WA,D.toPairs=XA,D.toPairsIn=QA,D.toPath=Xne,D.toPlainObject=VA,D.transform=qte,D.unary=Wee,D.union=zJ,D.unionBy=GJ,D.unionWith=WJ,D.uniq=jJ,D.uniqBy=VJ,D.uniqWith=KJ,D.unset=Yte,D.unzip=aE,D.unzipWith=RA,D.update=Xte,D.updateWith=Qte,D.values=Ed,D.valuesIn=Zte,D.without=qJ,D.words=eI,D.wrap=jee,D.xor=YJ,D.xorBy=XJ,D.xorWith=QJ,D.zip=ZJ,D.zipObject=JJ,D.zipObjectDeep=eee,D.zipWith=tee,D.entries=XA,D.entriesIn=QA,D.extend=KA,D.extendWith=pv,gE(D,D),D.add=Zne,D.attempt=tI,D.camelCase=nne,D.capitalize=ZA,D.ceil=Jne,D.clamp=Jte,D.clone=Kee,D.cloneDeep=Yee,D.cloneDeepWith=Xee,D.cloneWith=qee,D.conformsTo=Qee,D.deburr=JA,D.defaultTo=One,D.divide=ere,D.endsWith=rne,D.eq=Ua,D.escape=ine,D.escapeRegExp=one,D.every=fee,D.find=hee,D.findIndex=xA,D.findKey=Ate,D.findLast=mee,D.findLastIndex=CA,D.findLastKey=Ite,D.floor=tre,D.forEach=OA,D.forEachRight=kA,D.forIn=Rte,D.forInRight=Pte,D.forOwn=Ote,D.forOwnRight=kte,D.get=dE,D.gt=Zee,D.gte=Jee,D.has=Lte,D.hasIn=fE,D.head=AA,D.identity=Ji,D.includes=Eee,D.indexOf=mJ,D.inRange=ene,D.invoke=Fte,D.isArguments=$c,D.isArray=Ft,D.isArrayBuffer=ete,D.isArrayLike=Qi,D.isArrayLikeObject=xr,D.isBoolean=tte,D.isBuffer=pu,D.isDate=nte,D.isElement=rte,D.isEmpty=ite,D.isEqual=ote,D.isEqualWith=ate,D.isError=uE,D.isFinite=ste,D.isFunction=cl,D.isInteger=HA,D.isLength=dv,D.isMap=UA,D.isMatch=lte,D.isMatchWith=ute,D.isNaN=cte,D.isNative=dte,D.isNil=pte,D.isNull=fte,D.isNumber=zA,D.isObject=dr,D.isObjectLike=vr,D.isPlainObject=Qp,D.isRegExp=cE,D.isSafeInteger=hte,D.isSet=GA,D.isString=fv,D.isSymbol=xo,D.isTypedArray=bd,D.isUndefined=mte,D.isWeakMap=gte,D.isWeakSet=vte,D.join=EJ,D.kebabCase=ane,D.last=ta,D.lastIndexOf=TJ,D.lowerCase=sne,D.lowerFirst=lne,D.lt=yte,D.lte=bte,D.max=nre,D.maxBy=rre,D.mean=ire,D.meanBy=ore,D.min=are,D.minBy=sre,D.stubArray=yE,D.stubFalse=bE,D.stubObject=Vne,D.stubString=Kne,D.stubTrue=qne,D.multiply=lre,D.nth=_J,D.noConflict=Fne,D.noop=vE,D.now=lv,D.pad=une,D.padEnd=cne,D.padStart=dne,D.parseInt=fne,D.random=tne,D.reduce=Cee,D.reduceRight=wee,D.repeat=pne,D.replace=hne,D.result=jte,D.round=ure,D.runInContext=ee,D.sample=Iee,D.size=Oee,D.snakeCase=mne,D.some=kee,D.sortedIndex=RJ,D.sortedIndexBy=PJ,D.sortedIndexOf=OJ,D.sortedLastIndex=kJ,D.sortedLastIndexBy=NJ,D.sortedLastIndexOf=DJ,D.startCase=vne,D.startsWith=yne,D.subtract=cre,D.sum=dre,D.sumBy=fre,D.template=bne,D.times=Yne,D.toFinite=dl,D.toInteger=Ut,D.toLength=jA,D.toLower=Ene,D.toNumber=na,D.toSafeInteger=Ete,D.toString=Tn,D.toUpper=Tne,D.trim=_ne,D.trimEnd=Sne,D.trimStart=xne,D.truncate=Cne,D.unescape=wne,D.uniqueId=Qne,D.upperCase=Ane,D.upperFirst=pE,D.each=OA,D.eachRight=kA,D.first=AA,gE(D,function(){var u={};return ys(D,function(f,g){Sn.call(D.prototype,g)||(u[g]=f)}),u}(),{chain:!1}),D.VERSION=r,Xo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){D[u].placeholder=D}),Xo(["drop","take"],function(u,f){an.prototype[u]=function(g){g=g===n?1:$r(Ut(g),0);var w=this.__filtered__&&!f?new an(this):this.clone();return w.__filtered__?w.__takeCount__=Ei(g,w.__takeCount__):w.__views__.push({size:Ei(g,M),type:u+(w.__dir__<0?"Right":"")}),w},an.prototype[u+"Right"]=function(g){return this.reverse()[u](g).reverse()}}),Xo(["filter","map","takeWhile"],function(u,f){var g=f+1,w=g==K||g==ne;an.prototype[u]=function(k){var $=this.clone();return $.__iteratees__.push({iteratee:Ct(k,3),type:g}),$.__filtered__=$.__filtered__||w,$}}),Xo(["head","last"],function(u,f){var g="take"+(f?"Right":"");an.prototype[u]=function(){return this[g](1).value()[0]}}),Xo(["initial","tail"],function(u,f){var g="drop"+(f?"":"Right");an.prototype[u]=function(){return this.__filtered__?new an(this):this[g](1)}}),an.prototype.compact=function(){return this.filter(Ji)},an.prototype.find=function(u){return this.filter(u).head()},an.prototype.findLast=function(u){return this.reverse().find(u)},an.prototype.invokeMap=qt(function(u,f){return typeof u=="function"?new an(this):this.map(function(g){return jp(g,u,f)})}),an.prototype.reject=function(u){return this.filter(cv(Ct(u)))},an.prototype.slice=function(u,f){u=Ut(u);var g=this;return g.__filtered__&&(u>0||f<0)?new an(g):(u<0?g=g.takeRight(-u):u&&(g=g.drop(u)),f!==n&&(f=Ut(f),g=f<0?g.dropRight(-f):g.take(f-u)),g)},an.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},an.prototype.toArray=function(){return this.take(M)},ys(an.prototype,function(u,f){var g=/^(?:filter|find|map|reject)|While$/.test(f),w=/^(?:head|last)$/.test(f),k=D[w?"take"+(f=="last"?"Right":""):f],$=w||/^find/.test(f);!k||(D.prototype[f]=function(){var G=this.__wrapped__,X=w?[1]:arguments,re=G instanceof an,Te=X[0],xe=re||Ft(G),Ie=function(tn){var cn=k.apply(D,au([tn],X));return w&&Ze?cn[0]:cn};xe&&g&&typeof Te=="function"&&Te.length!=1&&(re=xe=!1);var Ze=this.__chain__,dt=!!this.__actions__.length,At=$&&!Ze,Wt=re&&!dt;if(!$&&xe){G=Wt?G:new an(this);var It=u.apply(G,X);return It.__actions__.push({func:av,args:[Ie],thisArg:n}),new Zo(It,Ze)}return At&&Wt?u.apply(this,X):(It=this.thru(Ie),At?w?It.value()[0]:It.value():It)})}),Xo(["pop","push","shift","sort","splice","unshift"],function(u){var f=kg[u],g=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",w=/^(?:pop|shift)$/.test(u);D.prototype[u]=function(){var k=arguments;if(w&&!this.__chain__){var $=this.value();return f.apply(Ft($)?$:[],k)}return this[g](function(G){return f.apply(Ft(G)?G:[],k)})}}),ys(an.prototype,function(u,f){var g=D[f];if(g){var w=g.name+"";Sn.call(hd,w)||(hd[w]=[]),hd[w].push({name:f,func:g})}}),hd[Jg(n,b).name]=[{name:"wrapper",func:n}],an.prototype.clone=wQ,an.prototype.reverse=AQ,an.prototype.value=IQ,D.prototype.at=ree,D.prototype.chain=iee,D.prototype.commit=oee,D.prototype.next=aee,D.prototype.plant=lee,D.prototype.reverse=uee,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=cee,D.prototype.first=D.prototype.head,Fp&&(D.prototype[Fp]=see),D},dd=oQ();Rc?((Rc.exports=dd)._=dd,m4._=dd):ri._=dd}).call(Qc)})(Qm,Qm.exports);const ae=Qm.exports;function dn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error(typeof e=="number"?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var Tpe={};function T8(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:Tpe}var _pe=Object.assign,ty=Object.getOwnPropertyDescriptor,Ol=Object.defineProperty,N0=Object.prototype,qS=[];Object.freeze(qS);var _8={};Object.freeze(_8);var Spe=typeof Proxy<"u",xpe=Object.toString();function VH(){Spe||dn("Proxy not available")}function KH(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var Jd=function(){};function us(e){return typeof e=="function"}function N1(e){var t=typeof e;switch(t){case"string":case"symbol":case"number":return!0}return!1}function I2(e){return e!==null&&typeof e=="object"}function Gl(e){if(!I2(e))return!1;var t=Object.getPrototypeOf(e);if(t==null)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n.toString()===xpe}function qH(e){var t=e==null?void 0:e.constructor;return t?t.name==="GeneratorFunction"||t.displayName==="GeneratorFunction":!1}function D0(e,t,n){Ol(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function YH(e,t,n){Ol(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function hc(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(r){return I2(r)&&r[n]===!0}}function vp(e){return e instanceof Map}function L0(e){return e instanceof Set}var XH=typeof Object.getOwnPropertySymbols<"u";function Cpe(e){var t=Object.keys(e);if(!XH)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(r){return N0.propertyIsEnumerable.call(e,r)})):t}var Nf=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:XH?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function QH(e){return e===null?null:typeof e=="object"?""+e:e}function kl(e,t){return N0.hasOwnProperty.call(e,t)}var wpe=Object.getOwnPropertyDescriptors||function(t){var n={};return Nf(t).forEach(function(r){n[r]=ty(t,r)}),n};function PP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S8(e,t,n){return t&&PP(e.prototype,t),n&&PP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Df(){return Df=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Df.apply(this,arguments)}function ZH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,YS(e,t)}function YS(e,t){return YS=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},YS(e,t)}function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ape(e,t){if(!!e){if(typeof e=="string")return OP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OP(e,t)}}function OP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ef(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ape(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Fs=Symbol("mobx-stored-annotations");function zs(e){function t(n,r){M0(n,r,e)}return Object.assign(t,e)}function M0(e,t,n){kl(e,Fs)||D0(e,Fs,Df({},e[Fs])),Mpe(n)||(e[Fs][t]=n)}function Ipe(e){return kl(e,Fs)||D0(e,Fs,Df({},e[Fs])),e[Fs]}var kt=Symbol("mobx administration"),$0=function(){function e(n){n===void 0&&(n="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=gn.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=n}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(r){return r()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(r){return r()})},t.reportObserved=function(){return EU(this)},t.reportChanged=function(){so(),TU(this),lo()},t.toString=function(){return this.name_},e}(),x8=hc("Atom",$0);function JH(e,t,n){t===void 0&&(t=Jd),n===void 0&&(n=Jd);var r=new $0(e);return t!==Jd&&Dhe(r,t),n!==Jd&&PU(r,n),r}function Rpe(e,t){return e===t}function Ppe(e,t){return O8(e,t)}function Ope(e,t){return O8(e,t,1)}function kpe(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Lf={identity:Rpe,structural:Ppe,default:kpe,shallow:Ope};function Mf(e,t,n){return I8(e)?e:Array.isArray(e)?di.array(e,{name:n}):Gl(e)?di.object(e,void 0,{name:n}):vp(e)?di.map(e,{name:n}):L0(e)?di.set(e,{name:n}):typeof e=="function"&&!A8(e)&&!oy(e)?qH(e)?e0(e):Jm(n,e):e}function Npe(e,t,n){if(e==null||Bf(e)||W0(e)||gc(e)||Z1(e))return e;if(Array.isArray(e))return di.array(e,{name:n,deep:!1});if(Gl(e))return di.object(e,void 0,{name:n,deep:!1});if(vp(e))return di.map(e,{name:n,deep:!1});if(L0(e))return di.set(e,{name:n,deep:!1})}function R2(e){return e}function Dpe(e,t){return O8(e,t)?t:e}var Lpe="override";function Mpe(e){return e.annotationType_===Lpe}function F0(e,t){return{annotationType_:e,options_:t,make_:$pe,extend_:Fpe}}function $pe(e,t,n,r){var i;if((i=this.options_)!=null&&i.bound)return this.extend_(e,t,n,!1)===null?0:1;if(r===e.target_)return this.extend_(e,t,n,!1)===null?0:2;if(A8(n.value))return 1;var o=eU(e,this,t,n,!1);return Ol(r,t,o),2}function Fpe(e,t,n,r){var i=eU(e,this,t,n);return e.defineProperty_(t,i,r)}function Bpe(e,t,n,r){t.annotationType_,r.value}function eU(e,t,n,r,i){var o,a,s,l,c,d,p;i===void 0&&(i=Ke.safeDescriptors),Bpe(e,t,n,r);var h=r.value;if((o=t.options_)!=null&&o.bound){var m;h=h.bind((m=e.proxy_)!=null?m:e.target_)}return{value:$f((a=(s=t.options_)==null?void 0:s.name)!=null?a:n.toString(),h,(l=(c=t.options_)==null?void 0:c.autoAction)!=null?l:!1,(d=t.options_)!=null&&d.bound?(p=e.proxy_)!=null?p:e.target_:void 0),configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function tU(e,t){return{annotationType_:e,options_:t,make_:Hpe,extend_:Upe}}function Hpe(e,t,n,r){var i;if(r===e.target_)return this.extend_(e,t,n,!1)===null?0:2;if((i=this.options_)!=null&&i.bound&&(!kl(e.target_,t)||!oy(e.target_[t]))&&this.extend_(e,t,n,!1)===null)return 0;if(oy(n.value))return 1;var o=nU(e,this,t,n,!1,!1);return Ol(r,t,o),2}function Upe(e,t,n,r){var i,o=nU(e,this,t,n,(i=this.options_)==null?void 0:i.bound);return e.defineProperty_(t,o,r)}function zpe(e,t,n,r){t.annotationType_,r.value}function nU(e,t,n,r,i,o){o===void 0&&(o=Ke.safeDescriptors),zpe(e,t,n,r);var a=r.value;if(oy(a)||(a=e0(a)),i){var s;a=a.bind((s=e.proxy_)!=null?s:e.target_),a.isMobXFlow=!0}return{value:a,configurable:o?e.isPlainObject_:!0,enumerable:!1,writable:!o}}function C8(e,t){return{annotationType_:e,options_:t,make_:Gpe,extend_:Wpe}}function Gpe(e,t,n){return this.extend_(e,t,n,!1)===null?0:1}function Wpe(e,t,n,r){return jpe(e,this,t,n),e.defineComputedProperty_(t,Df({},this.options_,{get:n.get,set:n.set}),r)}function jpe(e,t,n,r){t.annotationType_,r.get}function P2(e,t){return{annotationType_:e,options_:t,make_:Vpe,extend_:Kpe}}function Vpe(e,t,n){return this.extend_(e,t,n,!1)===null?0:1}function Kpe(e,t,n,r){var i,o;return qpe(e,this),e.defineObservableProperty_(t,n.value,(i=(o=this.options_)==null?void 0:o.enhancer)!=null?i:Mf,r)}function qpe(e,t,n,r){t.annotationType_}var Ype="true",Xpe=rU();function rU(e){return{annotationType_:Ype,options_:e,make_:Qpe,extend_:Zpe}}function Qpe(e,t,n,r){var i,o;if(n.get)return O2.make_(e,t,n,r);if(n.set){var a=$f(t.toString(),n.set);return r===e.target_?e.defineProperty_(t,{configurable:Ke.safeDescriptors?e.isPlainObject_:!0,set:a})===null?0:2:(Ol(r,t,{configurable:!0,set:a}),2)}if(r!==e.target_&&typeof n.value=="function"){var s;if(qH(n.value)){var l,c=(l=this.options_)!=null&&l.autoBind?e0.bound:e0;return c.make_(e,t,n,r)}var d=(s=this.options_)!=null&&s.autoBind?Jm.bound:Jm;return d.make_(e,t,n,r)}var p=((i=this.options_)==null?void 0:i.deep)===!1?di.ref:di;if(typeof n.value=="function"&&(o=this.options_)!=null&&o.autoBind){var h;n.value=n.value.bind((h=e.proxy_)!=null?h:e.target_)}return p.make_(e,t,n,r)}function Zpe(e,t,n,r){var i,o;if(n.get)return O2.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:Ke.safeDescriptors?e.isPlainObject_:!0,set:$f(t.toString(),n.set)},r);if(typeof n.value=="function"&&(i=this.options_)!=null&&i.autoBind){var a;n.value=n.value.bind((a=e.proxy_)!=null?a:e.target_)}var s=((o=this.options_)==null?void 0:o.deep)===!1?di.ref:di;return s.extend_(e,t,n,r)}var Jpe="observable",ehe="observable.ref",the="observable.shallow",nhe="observable.struct",iU={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(iU);function Fv(e){return e||iU}var oU=P2(Jpe),rhe=P2(ehe,{enhancer:R2}),ihe=P2(the,{enhancer:Npe}),ohe=P2(nhe,{enhancer:Dpe}),aU=zs(oU);function Bv(e){return e.deep===!0?Mf:e.deep===!1?R2:she(e.defaultDecorator)}function ahe(e){var t;return e?(t=e.defaultDecorator)!=null?t:rU(e):void 0}function she(e){var t,n;return e&&(t=(n=e.options_)==null?void 0:n.enhancer)!=null?t:Mf}function sU(e,t,n){if(N1(t)){M0(e,t,oU);return}return I8(e)?e:Gl(e)?di.object(e,t,n):Array.isArray(e)?di.array(e,t):vp(e)?di.map(e,t):L0(e)?di.set(e,t):typeof e=="object"&&e!==null?e:di.box(e,t)}Object.assign(sU,aU);var lhe={box:function(t,n){var r=Fv(n);return new v1(t,Bv(r),r.name,!0,r.equals)},array:function(t,n){var r=Fv(n);return(Ke.useProxies===!1||r.proxy===!1?sme:Zhe)(t,Bv(r),r.name)},map:function(t,n){var r=Fv(n);return new FU(t,Bv(r),r.name)},set:function(t,n){var r=Fv(n);return new UU(t,Bv(r),r.name)},object:function(t,n,r){return kU(Ke.useProxies===!1||(r==null?void 0:r.proxy)===!1?j0({},r):qhe({},r),t,n)},ref:zs(rhe),shallow:zs(ihe),deep:aU,struct:zs(ohe)},di=_pe(sU,lhe),lU="computed",uhe="computed.struct",uU=C8(lU),che=C8(uhe,{equals:Lf.structural}),O2=function(t,n){if(N1(n))return M0(t,n,uU);if(Gl(t))return zs(C8(lU,t));var r=Gl(n)?n:{};return r.get=t,r.name||(r.name=t.name||""),new Zm(r)};Object.assign(O2,uU);O2.struct=zs(che);var kP,NP,ny=0,dhe=1,fhe=(kP=(NP=ty(function(){},"name"))==null?void 0:NP.configurable)!=null?kP:!1,DP={value:"action",configurable:!0,writable:!1,enumerable:!1};function $f(e,t,n,r){n===void 0&&(n=!1);function i(){return cU(e,n,t,r||this,arguments)}return i.isMobxAction=!0,fhe&&(DP.value=e,Object.defineProperty(i,"name",DP)),i}function cU(e,t,n,r,i){var o=phe(e,t);try{return n.apply(r,i)}catch(a){throw o.error_=a,a}finally{hhe(o)}}function phe(e,t,n,r){var i=!1,o=0,a=Ke.trackingDerivation,s=!t||!a;so();var l=Ke.allowStateChanges;s&&(yp(),l=B0(!0));var c=w8(!0),d={runAsAction_:s,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:c,notifySpy_:i,startTime_:o,actionId_:dhe++,parentActionId_:ny};return ny=d.actionId_,d}function hhe(e){ny!==e.actionId_&&dn(30),ny=e.parentActionId_,e.error_!==void 0&&(Ke.suppressReactionErrors=!0),H0(e.prevAllowStateChanges_),am(e.prevAllowStateReads_),lo(),e.runAsAction_&&Qu(e.prevDerivation_),Ke.suppressReactionErrors=!1}function dU(e,t){var n=B0(e);try{return t()}finally{H0(n)}}function B0(e){var t=Ke.allowStateChanges;return Ke.allowStateChanges=e,t}function H0(e){Ke.allowStateChanges=e}var fU;fU=Symbol.toPrimitive;var v1=function(e){ZH(t,e);function t(r,i,o,a,s){var l;return o===void 0&&(o="ObservableValue"),s===void 0&&(s=Lf.default),l=e.call(this,o)||this,l.enhancer=void 0,l.name_=void 0,l.equals=void 0,l.hasUnreportedChange_=!1,l.interceptors_=void 0,l.changeListeners_=void 0,l.value_=void 0,l.dehancer=void 0,l.enhancer=i,l.name_=o,l.equals=s,l.value_=i(r,void 0,o),l}var n=t.prototype;return n.dehanceValue=function(i){return this.dehancer!==void 0?this.dehancer(i):i},n.set=function(i){this.value_,i=this.prepareNewValue_(i),i!==Ke.UNCHANGED&&this.setNewValue_(i)},n.prepareNewValue_=function(i){if(fa(this)){var o=pa(this,{object:this,type:Gs,newValue:i});if(!o)return Ke.UNCHANGED;i=o.newValue}return i=this.enhancer(i,this.value_,this.name_),this.equals(this.value_,i)?Ke.UNCHANGED:i},n.setNewValue_=function(i){var o=this.value_;this.value_=i,this.reportChanged(),rs(this)&&is(this,{type:Gs,object:this,newValue:i,oldValue:o})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(i){return z0(this,i)},n.observe_=function(i,o){return o&&i({observableKind:"value",debugObjectName:this.name_,object:this,type:Gs,newValue:this.value_,oldValue:void 0}),G0(this,i)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return QH(this.get())},n[fU]=function(){return this.valueOf()},t}($0),mhe=hc("ObservableValue",v1),pU;pU=Symbol.toPrimitive;var Zm=function(){function e(n){this.dependenciesState_=gn.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=gn.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new ry(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=y1.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||dn(31),this.derivation=n.get,this.name_=n.name||"ComputedValue",n.set&&(this.setter_=$f("ComputedValue-setter",n.set)),this.equals_=n.equals||(n.compareStructural||n.struct?Lf.structural:Lf.default),this.scope_=n.context,this.requiresReaction_=n.requiresReaction,this.keepAlive_=!!n.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){Ehe(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(r){return r()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(r){return r()})},t.get=function(){if(this.isComputing_&&dn(32,this.name_,this.derivation),Ke.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)XS(this)&&(this.warnAboutUntrackedRead_(),so(),this.value_=this.computeValue_(!1),lo());else if(EU(this),XS(this)){var r=Ke.trackingContext;this.keepAlive_&&!r&&(Ke.trackingContext=this),this.trackAndCompute()&&bhe(this),Ke.trackingContext=r}var i=this.value_;if(V5(i))throw i.cause;return i},t.set=function(r){if(this.setter_){this.isRunningSetter_&&dn(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,r)}finally{this.isRunningSetter_=!1}}else dn(34,this.name_)},t.trackAndCompute=function(){var r=this.value_,i=this.dependenciesState_===gn.NOT_TRACKING_,o=this.computeValue_(!0),a=i||V5(r)||V5(o)||!this.equals_(r,o);return a&&(this.value_=o),a},t.computeValue_=function(r){this.isComputing_=!0;var i=B0(!1),o;if(r)o=hU(this,this.derivation,this.scope_);else if(Ke.disableErrorBoundaries===!0)o=this.derivation.call(this.scope_);else try{o=this.derivation.call(this.scope_)}catch(a){o=new ry(a)}return H0(i),this.isComputing_=!1,o},t.suspend_=function(){this.keepAlive_||(QS(this),this.value_=void 0)},t.observe_=function(r,i){var o=this,a=!0,s=void 0;return Rhe(function(){var l=o.get();if(!a||i){var c=yp();r({observableKind:"computed",debugObjectName:o.name_,type:Gs,object:o,newValue:l,oldValue:s}),Qu(c)}a=!1,s=l})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return QH(this.get())},t[pU]=function(){return this.valueOf()},e}(),U0=hc("ComputedValue",Zm),gn;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(gn||(gn={}));var y1;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(y1||(y1={}));var ry=function(t){this.cause=void 0,this.cause=t};function V5(e){return e instanceof ry}function XS(e){switch(e.dependenciesState_){case gn.UP_TO_DATE_:return!1;case gn.NOT_TRACKING_:case gn.STALE_:return!0;case gn.POSSIBLY_STALE_:{for(var t=w8(!0),n=yp(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(U0(a)){if(Ke.disableErrorBoundaries)a.get();else try{a.get()}catch(s){return Qu(n),am(t),!0}if(e.dependenciesState_===gn.STALE_)return Qu(n),am(t),!0}}return gU(e),Qu(n),am(t),!1}}}function hU(e,t,n){var r=w8(!0);gU(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++Ke.runId;var i=Ke.trackingDerivation;Ke.trackingDerivation=e,Ke.inBatch++;var o;if(Ke.disableErrorBoundaries===!0)o=t.call(n);else try{o=t.call(n)}catch(a){o=new ry(a)}return Ke.inBatch--,Ke.trackingDerivation=i,ghe(e),am(r),o}function ghe(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=gn.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];s.diffValue_===0&&(s.diffValue_=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];l.diffValue_===0&&yU(l,e),l.diffValue_=0}for(;i--;){var c=n[i];c.diffValue_===1&&(c.diffValue_=0,yhe(c,e))}r!==gn.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function QS(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)yU(t[n],e);e.dependenciesState_=gn.NOT_TRACKING_}function mU(e){var t=yp();try{return e()}finally{Qu(t)}}function yp(){var e=Ke.trackingDerivation;return Ke.trackingDerivation=null,e}function Qu(e){Ke.trackingDerivation=e}function w8(e){var t=Ke.allowStateReads;return Ke.allowStateReads=e,t}function am(e){Ke.allowStateReads=e}function gU(e){if(e.dependenciesState_!==gn.UP_TO_DATE_){e.dependenciesState_=gn.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=gn.UP_TO_DATE_}}var K5=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},q5=!0,vU=!1,Ke=function(){var e=T8();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(q5=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new K5().version&&(q5=!1),q5?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new K5):(setTimeout(function(){vU||dn(35)},1),new K5)}();function vhe(){if((Ke.pendingReactions.length||Ke.inBatch||Ke.isRunningReactions)&&dn(36),vU=!0,q5){var e=T8();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),Ke=new K5}}function yhe(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function yU(e,t){e.observers_.delete(t),e.observers_.size===0&&bU(e)}function bU(e){e.isPendingUnobservation_===!1&&(e.isPendingUnobservation_=!0,Ke.pendingUnobservations.push(e))}function so(){Ke.inBatch++}function lo(){if(--Ke.inBatch===0){_U();for(var e=Ke.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,n.observers_.size===0&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Zm&&n.suspend_())}Ke.pendingUnobservations=[]}}function EU(e){var t=Ke.trackingDerivation;return t!==null?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&Ke.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(e.observers_.size===0&&Ke.inBatch>0&&bU(e),!1)}function TU(e){e.lowestObserverState_!==gn.STALE_&&(e.lowestObserverState_=gn.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===gn.UP_TO_DATE_&&t.onBecomeStale_(),t.dependenciesState_=gn.STALE_}))}function bhe(e){e.lowestObserverState_!==gn.STALE_&&(e.lowestObserverState_=gn.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===gn.POSSIBLY_STALE_?t.dependenciesState_=gn.STALE_:t.dependenciesState_===gn.UP_TO_DATE_&&(e.lowestObserverState_=gn.UP_TO_DATE_)}))}function Ehe(e){e.lowestObserverState_===gn.UP_TO_DATE_&&(e.lowestObserverState_=gn.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===gn.UP_TO_DATE_&&(t.dependenciesState_=gn.POSSIBLY_STALE_,t.onBecomeStale_())}))}var Ff=function(){function e(n,r,i,o){n===void 0&&(n="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=gn.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=y1.NONE,this.name_=n,this.onInvalidate_=r,this.errorHandler_=i,this.requiresObservable_=o}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Ke.pendingReactions.push(this),_U())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){so(),this.isScheduled_=!1;var r=Ke.trackingContext;if(Ke.trackingContext=this,XS(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(i){this.reportExceptionInDerivation_(i)}}Ke.trackingContext=r,lo()}},t.track=function(r){if(!this.isDisposed_){so(),this.isRunning_=!0;var i=Ke.trackingContext;Ke.trackingContext=this;var o=hU(this,r,void 0);Ke.trackingContext=i,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&QS(this),V5(o)&&this.reportExceptionInDerivation_(o.cause),lo()}},t.reportExceptionInDerivation_=function(r){var i=this;if(this.errorHandler_){this.errorHandler_(r,this);return}if(Ke.disableErrorBoundaries)throw r;var o="[mobx] uncaught error in '"+this+"'";Ke.suppressReactionErrors||console.error(o,r),Ke.globalReactionErrorHandlers.forEach(function(a){return a(r,i)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(so(),QS(this),lo()))},t.getDisposer_=function(){var r=this.dispose.bind(this);return r[kt]=this,r},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(r){r===void 0&&(r=!1),jhe(this,r)},e}(),The=100,ZS=function(t){return t()};function _U(){Ke.inBatch>0||Ke.isRunningReactions||ZS(_he)}function _he(){Ke.isRunningReactions=!0;for(var e=Ke.pendingReactions,t=0;e.length>0;){++t===The&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}Ke.isRunningReactions=!1}var iy=hc("Reaction",Ff);function She(e){var t=ZS;ZS=function(r){return e(function(){return t(r)})}}function sm(){return!1}function xhe(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var SU="action",Che="action.bound",xU="autoAction",whe="autoAction.bound",CU="<unnamed action>",wU=F0(SU),Ahe=F0(Che,{bound:!0}),AU=F0(xU,{autoAction:!0}),Ihe=F0(whe,{autoAction:!0,bound:!0});function IU(e){var t=function(r,i){if(us(r))return $f(r.name||CU,r,e);if(us(i))return $f(r,i,e);if(N1(i))return M0(r,i,e?AU:wU);if(N1(r))return zs(F0(e?xU:SU,{name:r,autoAction:e}))};return t}var $i=IU(!1);Object.assign($i,wU);var Jm=IU(!0);Object.assign(Jm,AU);$i.bound=zs(Ahe);Jm.bound=zs(Ihe);function Pr(e){return cU(e.name||CU,!1,e,this,void 0)}function A8(e){return us(e)&&e.isMobxAction===!0}function Rhe(e,t){var n,r;t===void 0&&(t=_8);var i=(n=(r=t)==null?void 0:r.name)!=null?n:"Autorun",o=!t.scheduler&&!t.delay,a;if(o)a=new Ff(i,function(){this.track(c)},t.onError,t.requiresObservable);else{var s=RU(t),l=!1;a=new Ff(i,function(){l||(l=!0,s(function(){l=!1,a.isDisposed_||a.track(c)}))},t.onError,t.requiresObservable)}function c(){e(a)}return a.schedule_(),a.getDisposer_()}var Phe=function(t){return t()};function RU(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Phe}function Gi(e,t,n){var r;n===void 0&&(n=_8);var i=(r=n.name)!=null?r:"Reaction",o=$i(i,n.onError?Ohe(n.onError,t):t),a=!n.scheduler&&!n.delay,s=RU(n),l=!0,c=!1,d,p,h=n.compareStructural?Lf.structural:n.equals||Lf.default,m=new Ff(i,function(){l||a?v():c||(c=!0,s(v))},n.onError,n.requiresObservable);function v(){if(c=!1,!m.isDisposed_){var y=!1;m.track(function(){var x=dU(!1,function(){return e(m)});y=l||!h(d,x),p=d,d=x}),(l&&n.fireImmediately||!l&&y)&&o(d,p,m),l=!1}}return m.schedule_(),m.getDisposer_()}function Ohe(e,t){return function(){try{return t.apply(this,arguments)}catch(n){e.call(this,n)}}}var khe="onBO",Nhe="onBUO";function Dhe(e,t,n){return OU(khe,e,t,n)}function PU(e,t,n){return OU(Nhe,e,t,n)}function OU(e,t,n,r){var i=typeof r=="function"?ac(t,n):ac(t),o=us(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var s=i[a];s&&(s.delete(o),s.size===0&&delete i[a])}}var Lhe="never",Hv="always",Mhe="observed";function $he(e){e.isolateGlobalState===!0&&vhe();var t=e.useProxies,n=e.enforceActions;if(t!==void 0&&(Ke.useProxies=t===Hv?!0:t===Lhe?!1:typeof Proxy<"u"),t==="ifavailable"&&(Ke.verifyProxies=!0),n!==void 0){var r=n===Hv?Hv:n===Mhe;Ke.enforceActions=r,Ke.allowStateChanges=!(r===!0||r===Hv)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(i){i in e&&(Ke[i]=!!e[i])}),Ke.allowStateReads=!Ke.observableRequiresReaction,e.reactionScheduler&&She(e.reactionScheduler)}function kU(e,t,n,r){var i=wpe(t),o=j0(e,r)[kt];so();try{Nf(i).forEach(function(a){o.extend_(a,i[a],n&&a in n?n[a]:!0)})}finally{lo()}return e}function Fhe(e,t){return NU(ac(e,t))}function NU(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=Bhe(e.observing_).map(NU)),t}function Bhe(e){return Array.from(new Set(e))}var Hhe=0;function DU(){this.message="FLOW_CANCELLED"}DU.prototype=Object.create(Error.prototype);var LP=tU("flow"),Uhe=tU("flow.bound",{bound:!0}),e0=Object.assign(function(t,n){if(N1(n))return M0(t,n,LP);var r=t,i=r.name||"<unnamed flow>",o=function(){var s=this,l=arguments,c=++Hhe,d=$i(i+" - runid: "+c+" - init",r).apply(s,l),p,h=void 0,m=new Promise(function(v,y){var x=0;p=y;function b(C){h=void 0;var O;try{O=$i(i+" - runid: "+c+" - yield "+x++,d.next).call(d,C)}catch(A){return y(A)}S(O)}function _(C){h=void 0;var O;try{O=$i(i+" - runid: "+c+" - yield "+x++,d.throw).call(d,C)}catch(A){return y(A)}S(O)}function S(C){if(us(C==null?void 0:C.then)){C.then(S,y);return}return C.done?v(C.value):(h=Promise.resolve(C.value),h.then(b,_))}b(void 0)});return m.cancel=$i(i+" - runid: "+c+" - cancel",function(){try{h&&MP(h);var v=d.return(void 0),y=Promise.resolve(v.value);y.then(Jd,Jd),MP(y),p(new DU)}catch(x){p(x)}}),m};return o.isMobXFlow=!0,o},LP);e0.bound=zs(Uhe);function MP(e){us(e.cancel)&&e.cancel()}function oy(e){return(e==null?void 0:e.isMobXFlow)===!0}function zhe(e,t){return e?t!==void 0?Bf(e)?e[kt].values_.has(t):!1:Bf(e)||!!e[kt]||x8(e)||iy(e)||U0(e):!1}function I8(e){return zhe(e)}function Ghe(e){if(Bf(e))return e[kt].ownKeys_();dn(38)}function Uv(e,t,n){return e.set(t,n),n}function Nd(e,t){if(e==null||typeof e!="object"||e instanceof Date||!I8(e))return e;if(mhe(e)||U0(e))return Nd(e.get(),t);if(t.has(e))return t.get(e);if(W0(e)){var n=Uv(t,e,new Array(e.length));return e.forEach(function(a,s){n[s]=Nd(a,t)}),n}if(Z1(e)){var r=Uv(t,e,new Set);return e.forEach(function(a){r.add(Nd(a,t))}),r}if(gc(e)){var i=Uv(t,e,new Map);return e.forEach(function(a,s){i.set(s,Nd(a,t))}),i}else{var o=Uv(t,e,{});return Ghe(e).forEach(function(a){N0.propertyIsEnumerable.call(e,a)&&(o[a]=Nd(e[a],t))}),o}}function Whe(e,t){return Nd(e,new Map)}function jhe(){dn("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[n.length-1]=="boolean"&&(e=n.pop());var i=Vhe(n);if(!i)return dn("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===y1.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?y1.BREAK:y1.LOG}function Vhe(e){switch(e.length){case 0:return Ke.trackingDerivation;case 1:return ac(e[0]);case 2:return ac(e[0],e[1])}}function Cl(e,t){t===void 0&&(t=void 0),so();try{return e.apply(t)}finally{lo()}}function _d(e){return e[kt]}var Khe={has:function(t,n){return _d(t).has_(n)},get:function(t,n){return _d(t).get_(n)},set:function(t,n,r){var i;return N1(n)?(i=_d(t).set_(n,r,!0))!=null?i:!0:!1},deleteProperty:function(t,n){var r;return N1(n)?(r=_d(t).delete_(n,!0))!=null?r:!0:!1},defineProperty:function(t,n,r){var i;return(i=_d(t).defineProperty_(n,r))!=null?i:!0},ownKeys:function(t){return _d(t).ownKeys_()},preventExtensions:function(t){dn(13)}};function qhe(e,t){var n,r;return VH(),e=j0(e,t),(r=(n=e[kt]).proxy_)!=null?r:n.proxy_=new Proxy(e,Khe)}function fa(e){return e.interceptors_!==void 0&&e.interceptors_.length>0}function z0(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),KH(function(){var r=n.indexOf(t);r!==-1&&n.splice(r,1)})}function pa(e,t){var n=yp();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i<o&&(t=r[i](t),t&&!t.type&&dn(14),!!t);i++);return t}finally{Qu(n)}}function rs(e){return e.changeListeners_!==void 0&&e.changeListeners_.length>0}function G0(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),KH(function(){var r=n.indexOf(t);r!==-1&&n.splice(r,1)})}function is(e,t){var n=yp(),r=e.changeListeners_;if(!!r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);Qu(n)}}function Yhe(e,t,n){var r=j0(e,n)[kt];so();try{var i;(i=t)!=null||(t=Ipe(e)),Nf(t).forEach(function(o){return r.make_(o,t[o])})}finally{lo()}return e}var aT=Symbol("mobx-keys");function Oa(e,t,n){if(Gl(e))return kU(e,e,t,n);var r=j0(e,n)[kt];if(!e[aT]){var i=Object.getPrototypeOf(e),o=new Set([].concat(Nf(e),Nf(i)));o.delete("constructor"),o.delete(kt),D0(i,aT,o)}so();try{e[aT].forEach(function(a){return r.make_(a,t&&a in t?t[a]:!0)})}finally{lo()}return e}var $P="splice",Gs="update",Xhe=1e4,Qhe={get:function(t,n){var r=t[kt];return n===kt?r:n==="length"?r.getArrayLength_():typeof n=="string"&&!isNaN(n)?r.get_(parseInt(n)):kl(ay,n)?ay[n]:t[n]},set:function(t,n,r){var i=t[kt];return n==="length"&&i.setArrayLength_(r),typeof n=="symbol"||isNaN(n)?t[n]=r:i.set_(parseInt(n),r),!0},preventExtensions:function(){dn(15)}},R8=function(){function e(n,r,i,o){n===void 0&&(n="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=i,this.legacyMode_=o,this.atom_=new $0(n),this.enhancer_=function(a,s){return r(a,s,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.dehanceValues_=function(r){return this.dehancer!==void 0&&r.length>0?r.map(this.dehancer):r},t.intercept_=function(r){return z0(this,r)},t.observe_=function(r,i){return i===void 0&&(i=!1),i&&r({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),G0(this,r)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(r){(typeof r!="number"||isNaN(r)||r<0)&&dn("Out of range: "+r);var i=this.values_.length;if(r!==i)if(r>i){for(var o=new Array(r-i),a=0;a<r-i;a++)o[a]=void 0;this.spliceWithArray_(i,0,o)}else this.spliceWithArray_(r,i-r)},t.updateArrayLength_=function(r,i){r!==this.lastKnownLength_&&dn(16),this.lastKnownLength_+=i,this.legacyMode_&&i>0&&jU(r+i+1)},t.spliceWithArray_=function(r,i,o){var a=this;this.atom_;var s=this.values_.length;if(r===void 0?r=0:r>s?r=s:r<0&&(r=Math.max(0,s+r)),arguments.length===1?i=s-r:i==null?i=0:i=Math.max(0,Math.min(i,s-r)),o===void 0&&(o=qS),fa(this)){var l=pa(this,{object:this.proxy_,type:$P,index:r,removedCount:i,added:o});if(!l)return qS;i=l.removedCount,o=l.added}if(o=o.length===0?o:o.map(function(p){return a.enhancer_(p,void 0)}),this.legacyMode_){var c=o.length-i;this.updateArrayLength_(s,c)}var d=this.spliceItemsIntoValues_(r,i,o);return(i!==0||o.length!==0)&&this.notifyArraySplice_(r,o,d),this.dehanceValues_(d)},t.spliceItemsIntoValues_=function(r,i,o){if(o.length<Xhe){var a;return(a=this.values_).splice.apply(a,[r,i].concat(o))}else{var s=this.values_.slice(r,r+i),l=this.values_.slice(r+i);this.values_.length+=o.length-i;for(var c=0;c<o.length;c++)this.values_[r+c]=o[c];for(var d=0;d<l.length;d++)this.values_[r+o.length+d]=l[d];return s}},t.notifyArrayChildUpdate_=function(r,i,o){var a=!this.owned_&&sm(),s=rs(this),l=s||a?{observableKind:"array",object:this.proxy_,type:Gs,debugObjectName:this.atom_.name_,index:r,newValue:i,oldValue:o}:null;this.atom_.reportChanged(),s&&is(this,l)},t.notifyArraySplice_=function(r,i,o){var a=!this.owned_&&sm(),s=rs(this),l=s||a?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:$P,index:r,removed:o,added:i,removedCount:o.length,addedCount:i.length}:null;this.atom_.reportChanged(),s&&is(this,l)},t.get_=function(r){if(this.legacyMode_&&r>=this.values_.length){console.warn("[mobx] Out of bounds read: "+r);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[r])},t.set_=function(r,i){var o=this.values_;if(this.legacyMode_&&r>o.length&&dn(17,r,o.length),r<o.length){this.atom_;var a=o[r];if(fa(this)){var s=pa(this,{type:Gs,object:this.proxy_,index:r,newValue:i});if(!s)return;i=s.newValue}i=this.enhancer_(i,a);var l=i!==a;l&&(o[r]=i,this.notifyArrayChildUpdate_(r,i,a))}else{for(var c=new Array(r+1-o.length),d=0;d<c.length-1;d++)c[d]=void 0;c[c.length-1]=i,this.spliceWithArray_(o.length,0,c)}},e}();function Zhe(e,t,n,r){n===void 0&&(n="ObservableArray"),r===void 0&&(r=!1),VH();var i=new R8(n,t,r,!1);YH(i.values_,kt,i);var o=new Proxy(i.values_,Qhe);if(i.proxy_=o,e&&e.length){var a=B0(!0);i.spliceWithArray_(0,0,e),H0(a)}return o}var ay={clear:function(){return this.splice(0)},replace:function(t){var n=this[kt];return n.spliceWithArray_(0,n.values_.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=this[kt];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(t);case 2:return a.spliceWithArray_(t,n)}return a.spliceWithArray_(t,n,i)},spliceWithArray:function(t,n,r){return this[kt].spliceWithArray_(t,n,r)},push:function(){for(var t=this[kt],n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.spliceWithArray_(t.values_.length,0,r),t.values_.length},pop:function(){return this.splice(Math.max(this[kt].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[kt],n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.spliceWithArray_(0,0,r),t.values_.length},reverse:function(){return Ke.trackingDerivation&&dn(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Ke.trackingDerivation&&dn(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var n=this[kt],r=n.dehanceValues_(n.values_).indexOf(t);return r>-1?(this.splice(r,1),!0):!1}};Wr("concat",Ql);Wr("flat",Ql);Wr("includes",Ql);Wr("indexOf",Ql);Wr("join",Ql);Wr("lastIndexOf",Ql);Wr("slice",Ql);Wr("toString",Ql);Wr("toLocaleString",Ql);Wr("every",mc);Wr("filter",mc);Wr("find",mc);Wr("findIndex",mc);Wr("flatMap",mc);Wr("forEach",mc);Wr("map",mc);Wr("some",mc);Wr("reduce",LU);Wr("reduceRight",LU);function Wr(e,t){typeof Array.prototype[e]=="function"&&(ay[e]=t(e))}function Ql(e){return function(){var t=this[kt];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function mc(e){return function(t,n){var r=this,i=this[kt];i.atom_.reportObserved();var o=i.dehanceValues_(i.values_);return o[e](function(a,s){return t.call(n,a,s,r)})}}function LU(e){return function(){var t=this,n=this[kt];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(o,a,s){return i(o,a,s,t)},r[e].apply(r,arguments)}}var Jhe=hc("ObservableArrayAdministration",R8);function W0(e){return I2(e)&&Jhe(e[kt])}var MU,$U,eme={},Du="add",sy="delete";MU=Symbol.iterator;$U=Symbol.toStringTag;var FU=function(){function e(n,r,i){var o=this;r===void 0&&(r=Mf),i===void 0&&(i="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[kt]=eme,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=r,this.name_=i,us(Map)||dn(18),this.keysAtom_=JH("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,dU(!0,function(){o.merge(n)})}var t=e.prototype;return t.has_=function(r){return this.data_.has(r)},t.has=function(r){var i=this;if(!Ke.trackingDerivation)return this.has_(r);var o=this.hasMap_.get(r);if(!o){var a=o=new v1(this.has_(r),R2,"ObservableMap.key?",!1);this.hasMap_.set(r,a),PU(a,function(){return i.hasMap_.delete(r)})}return o.get()},t.set=function(r,i){var o=this.has_(r);if(fa(this)){var a=pa(this,{type:o?Gs:Du,object:this,newValue:i,name:r});if(!a)return this;i=a.newValue}return o?this.updateValue_(r,i):this.addValue_(r,i),this},t.delete=function(r){var i=this;if(this.keysAtom_,fa(this)){var o=pa(this,{type:sy,object:this,name:r});if(!o)return!1}if(this.has_(r)){var a=sm(),s=rs(this),l=s||a?{observableKind:"map",debugObjectName:this.name_,type:sy,object:this,oldValue:this.data_.get(r).value_,name:r}:null;return Cl(function(){var c;i.keysAtom_.reportChanged(),(c=i.hasMap_.get(r))==null||c.setNewValue_(!1);var d=i.data_.get(r);d.setNewValue_(void 0),i.data_.delete(r)}),s&&is(this,l),!0}return!1},t.updateValue_=function(r,i){var o=this.data_.get(r);if(i=o.prepareNewValue_(i),i!==Ke.UNCHANGED){var a=sm(),s=rs(this),l=s||a?{observableKind:"map",debugObjectName:this.name_,type:Gs,object:this,oldValue:o.value_,name:r,newValue:i}:null;o.setNewValue_(i),s&&is(this,l)}},t.addValue_=function(r,i){var o=this;this.keysAtom_,Cl(function(){var c,d=new v1(i,o.enhancer_,"ObservableMap.key",!1);o.data_.set(r,d),i=d.value_,(c=o.hasMap_.get(r))==null||c.setNewValue_(!0),o.keysAtom_.reportChanged()});var a=sm(),s=rs(this),l=s||a?{observableKind:"map",debugObjectName:this.name_,type:Du,object:this,name:r,newValue:i}:null;s&&is(this,l)},t.get=function(r){return this.has(r)?this.dehanceValue_(this.data_.get(r).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var r=this,i=this.keys();return t0({next:function(){var a=i.next(),s=a.done,l=a.value;return{done:s,value:s?void 0:r.get(l)}}})},t.entries=function(){var r=this,i=this.keys();return t0({next:function(){var a=i.next(),s=a.done,l=a.value;return{done:s,value:s?void 0:[l,r.get(l)]}}})},t[MU]=function(){return this.entries()},t.forEach=function(r,i){for(var o=ef(this),a;!(a=o()).done;){var s=a.value,l=s[0],c=s[1];r.call(i,c,l,this)}},t.merge=function(r){var i=this;return gc(r)&&(r=new Map(r)),Cl(function(){Gl(r)?Cpe(r).forEach(function(o){return i.set(o,r[o])}):Array.isArray(r)?r.forEach(function(o){var a=o[0],s=o[1];return i.set(a,s)}):vp(r)?(r.constructor!==Map&&dn(19,r),r.forEach(function(o,a){return i.set(a,o)})):r!=null&&dn(20,r)}),this},t.clear=function(){var r=this;Cl(function(){mU(function(){for(var i=ef(r.keys()),o;!(o=i()).done;){var a=o.value;r.delete(a)}})})},t.replace=function(r){var i=this;return Cl(function(){for(var o=tme(r),a=new Map,s=!1,l=ef(i.data_.keys()),c;!(c=l()).done;){var d=c.value;if(!o.has(d)){var p=i.delete(d);if(p)s=!0;else{var h=i.data_.get(d);a.set(d,h)}}}for(var m=ef(o.entries()),v;!(v=m()).done;){var y=v.value,x=y[0],b=y[1],_=i.data_.has(x);if(i.set(x,b),i.data_.has(x)){var S=i.data_.get(x);a.set(x,S),_||(s=!0)}}if(!s)if(i.data_.size!==a.size)i.keysAtom_.reportChanged();else for(var C=i.data_.keys(),O=a.keys(),A=C.next(),R=O.next();!A.done;){if(A.value!==R.value){i.keysAtom_.reportChanged();break}A=C.next(),R=O.next()}i.data_=a}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(r,i){return G0(this,r)},t.intercept_=function(r){return z0(this,r)},S8(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:$U,get:function(){return"Map"}}]),e}(),gc=hc("ObservableMap",FU);function tme(e){if(vp(e)||gc(e))return e;if(Array.isArray(e))return new Map(e);if(Gl(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}else return dn(21,e)}var BU,HU,nme={};BU=Symbol.iterator;HU=Symbol.toStringTag;var UU=function(){function e(n,r,i){r===void 0&&(r=Mf),i===void 0&&(i="ObservableSet"),this.name_=void 0,this[kt]=nme,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=i,us(Set)||dn(22),this.atom_=JH(this.name_),this.enhancer_=function(o,a){return r(o,a,i)},n&&this.replace(n)}var t=e.prototype;return t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.clear=function(){var r=this;Cl(function(){mU(function(){for(var i=ef(r.data_.values()),o;!(o=i()).done;){var a=o.value;r.delete(a)}})})},t.forEach=function(r,i){for(var o=ef(this),a;!(a=o()).done;){var s=a.value;r.call(i,s,s,this)}},t.add=function(r){var i=this;if(this.atom_,fa(this)){var o=pa(this,{type:Du,object:this,newValue:r});if(!o)return this}if(!this.has(r)){Cl(function(){i.data_.add(i.enhancer_(r,void 0)),i.atom_.reportChanged()});var a=!1,s=rs(this),l=s||a?{observableKind:"set",debugObjectName:this.name_,type:Du,object:this,newValue:r}:null;s&&is(this,l)}return this},t.delete=function(r){var i=this;if(fa(this)){var o=pa(this,{type:sy,object:this,oldValue:r});if(!o)return!1}if(this.has(r)){var a=!1,s=rs(this),l=s||a?{observableKind:"set",debugObjectName:this.name_,type:sy,object:this,oldValue:r}:null;return Cl(function(){i.atom_.reportChanged(),i.data_.delete(r)}),s&&is(this,l),!0}return!1},t.has=function(r){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(r))},t.entries=function(){var r=0,i=Array.from(this.keys()),o=Array.from(this.values());return t0({next:function(){var s=r;return r+=1,s<o.length?{value:[i[s],o[s]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var r=this,i=0,o=Array.from(this.data_.values());return t0({next:function(){return i<o.length?{value:r.dehanceValue_(o[i++]),done:!1}:{done:!0}}})},t.replace=function(r){var i=this;return Z1(r)&&(r=new Set(r)),Cl(function(){Array.isArray(r)?(i.clear(),r.forEach(function(o){return i.add(o)})):L0(r)?(i.clear(),r.forEach(function(o){return i.add(o)})):r!=null&&dn("Cannot initialize set from "+r)}),this},t.observe_=function(r,i){return G0(this,r)},t.intercept_=function(r){return z0(this,r)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[BU]=function(){return this.values()},S8(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:HU,get:function(){return"Set"}}]),e}(),Z1=hc("ObservableSet",UU),FP=Object.create(null),BP="remove",zU=function(){function e(n,r,i,o){r===void 0&&(r=new Map),o===void 0&&(o=Xpe),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=n,this.values_=r,this.name_=i,this.defaultAnnotation_=o,this.keysAtom_=new $0("ObservableObject.keys"),this.isPlainObject_=Gl(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(r){return this.values_.get(r).get()},t.setObservablePropValue_=function(r,i){var o=this.values_.get(r);if(o instanceof Zm)return o.set(i),!0;if(fa(this)){var a=pa(this,{type:Gs,object:this.proxy_||this.target_,name:r,newValue:i});if(!a)return null;i=a.newValue}if(i=o.prepareNewValue_(i),i!==Ke.UNCHANGED){var s=rs(this),l=!1,c=s||l?{type:Gs,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:o.value_,name:r,newValue:i}:null;o.setNewValue_(i),s&&is(this,c)}return!0},t.get_=function(r){return Ke.trackingDerivation&&!kl(this.target_,r)&&this.has_(r),this.target_[r]},t.set_=function(r,i,o){return o===void 0&&(o=!1),kl(this.target_,r)?this.values_.has(r)?this.setObservablePropValue_(r,i):o?Reflect.set(this.target_,r,i):(this.target_[r]=i,!0):this.extend_(r,{value:i,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,o)},t.has_=function(r){if(!Ke.trackingDerivation)return r in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var i=this.pendingKeys_.get(r);return i||(i=new v1(r in this.target_,R2,"ObservableObject.key?",!1),this.pendingKeys_.set(r,i)),i.get()},t.make_=function(r,i){if(i===!0&&(i=this.defaultAnnotation_),i!==!1){if(!(r in this.target_)){var o;if((o=this.target_[Fs])!=null&&o[r])return;dn(1,i.annotationType_,this.name_+"."+r.toString())}for(var a=this.target_;a&&a!==N0;){var s=ty(a,r);if(s){var l=i.make_(this,r,s,a);if(l===0)return;if(l===1)break}a=Object.getPrototypeOf(a)}UP(this,i,r)}},t.extend_=function(r,i,o,a){if(a===void 0&&(a=!1),o===!0&&(o=this.defaultAnnotation_),o===!1)return this.defineProperty_(r,i,a);var s=o.extend_(this,r,i,a);return s&&UP(this,o,r),s},t.defineProperty_=function(r,i,o){o===void 0&&(o=!1);try{so();var a=this.delete_(r);if(!a)return a;if(fa(this)){var s=pa(this,{object:this.proxy_||this.target_,name:r,type:Du,newValue:i.value});if(!s)return null;var l=s.newValue;i.value!==l&&(i=Df({},i,{value:l}))}if(o){if(!Reflect.defineProperty(this.target_,r,i))return!1}else Ol(this.target_,r,i);this.notifyPropertyAddition_(r,i.value)}finally{lo()}return!0},t.defineObservableProperty_=function(r,i,o,a){a===void 0&&(a=!1);try{so();var s=this.delete_(r);if(!s)return s;if(fa(this)){var l=pa(this,{object:this.proxy_||this.target_,name:r,type:Du,newValue:i});if(!l)return null;i=l.newValue}var c=HP(r),d={configurable:Ke.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:c.get,set:c.set};if(a){if(!Reflect.defineProperty(this.target_,r,d))return!1}else Ol(this.target_,r,d);var p=new v1(i,o,"ObservableObject.key",!1);this.values_.set(r,p),this.notifyPropertyAddition_(r,p.value_)}finally{lo()}return!0},t.defineComputedProperty_=function(r,i,o){o===void 0&&(o=!1);try{so();var a=this.delete_(r);if(!a)return a;if(fa(this)){var s=pa(this,{object:this.proxy_||this.target_,name:r,type:Du,newValue:void 0});if(!s)return null}i.name||(i.name="ObservableObject.key"),i.context=this.proxy_||this.target_;var l=HP(r),c={configurable:Ke.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:l.get,set:l.set};if(o){if(!Reflect.defineProperty(this.target_,r,c))return!1}else Ol(this.target_,r,c);this.values_.set(r,new Zm(i)),this.notifyPropertyAddition_(r,void 0)}finally{lo()}return!0},t.delete_=function(r,i){if(i===void 0&&(i=!1),!kl(this.target_,r))return!0;if(fa(this)){var o=pa(this,{object:this.proxy_||this.target_,name:r,type:BP});if(!o)return null}try{var a,s;so();var l=rs(this),c=!1,d=this.values_.get(r),p=void 0;if(!d&&(l||c)){var h;p=(h=ty(this.target_,r))==null?void 0:h.value}if(i){if(!Reflect.deleteProperty(this.target_,r))return!1}else delete this.target_[r];if(d&&(this.values_.delete(r),d instanceof v1&&(p=d.value_),TU(d)),this.keysAtom_.reportChanged(),(a=this.pendingKeys_)==null||(s=a.get(r))==null||s.set(r in this.target_),l||c){var m={type:BP,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:p,name:r};l&&is(this,m)}}finally{lo()}return!0},t.observe_=function(r,i){return G0(this,r)},t.intercept_=function(r){return z0(this,r)},t.notifyPropertyAddition_=function(r,i){var o,a,s=rs(this),l=!1;if(s||l){var c=s||l?{type:Du,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:r,newValue:i}:null;s&&is(this,c)}(o=this.pendingKeys_)==null||(a=o.get(r))==null||a.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Nf(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function j0(e,t){var n;if(kl(e,kt))return e;var r=(n=t==null?void 0:t.name)!=null?n:"ObservableObject",i=new zU(e,new Map,String(r),ahe(t));return D0(e,kt,i),e}var rme=hc("ObservableObjectAdministration",zU);function HP(e){return FP[e]||(FP[e]={get:function(){return this[kt].getObservablePropValue_(e)},set:function(n){return this[kt].setObservablePropValue_(e,n)}})}function Bf(e){return I2(e)?rme(e[kt]):!1}function UP(e,t,n){var r;(r=e.target_[Fs])==null||delete r[n]}var ime=WU(0),sT=0,GU=function(){};function ome(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):e.prototype.__proto__!==void 0?e.prototype.__proto__=t:e.prototype=t}ome(GU,Array.prototype);var P8=function(e,t,n){ZH(r,e);function r(o,a,s,l){var c;s===void 0&&(s="ObservableArray"),l===void 0&&(l=!1),c=e.call(this)||this;var d=new R8(s,a,l,!0);if(d.proxy_=oT(c),YH(oT(c),kt,d),o&&o.length){var p=B0(!0);c.spliceWithArray(0,0,o),H0(p)}return Object.defineProperty(oT(c),"0",ime),c}var i=r.prototype;return i.concat=function(){this[kt].atom_.reportObserved();for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return Array.prototype.concat.apply(this.slice(),s.map(function(c){return W0(c)?c.slice():c}))},i[n]=function(){var o=this,a=0;return t0({next:function(){return a<o.length?{value:o[a++],done:!1}:{done:!0,value:void 0}}})},S8(r,[{key:"length",get:function(){return this[kt].getArrayLength_()},set:function(a){this[kt].setArrayLength_(a)}},{key:t,get:function(){return"Array"}}]),r}(GU,Symbol.toStringTag,Symbol.iterator);Object.entries(ay).forEach(function(e){var t=e[0],n=e[1];t!=="concat"&&D0(P8.prototype,t,n)});function WU(e){return{enumerable:!1,configurable:!0,get:function(){return this[kt].get_(e)},set:function(n){this[kt].set_(e,n)}}}function ame(e){Ol(P8.prototype,""+e,WU(e))}function jU(e){if(e>sT){for(var t=sT;t<e+100;t++)ame(t);sT=e}}jU(1e3);function sme(e,t,n){return new P8(e,t,n)}function ac(e,t){if(typeof e=="object"&&e!==null){if(W0(e))return t!==void 0&&dn(23),e[kt].atom_;if(Z1(e))return e[kt];if(gc(e)){if(t===void 0)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||dn(25,t,JS(e)),n}if(Bf(e)){if(!t)return dn(26);var r=e[kt].values_.get(t);return r||dn(27,t,JS(e)),r}if(x8(e)||U0(e)||iy(e))return e}else if(us(e)&&iy(e[kt]))return e[kt];dn(28)}function VU(e,t){if(e||dn(29),t!==void 0)return VU(ac(e,t));if(x8(e)||U0(e)||iy(e)||gc(e)||Z1(e))return e;if(e[kt])return e[kt];dn(24,e)}function JS(e,t){var n;if(t!==void 0)n=ac(e,t);else{if(A8(e))return e.name;Bf(e)||gc(e)||Z1(e)?n=VU(e):n=ac(e)}return n.name_}var zP=N0.toString;function O8(e,t,n){return n===void 0&&(n=-1),ex(e,t,n)}function ex(e,t,n,r,i){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var o=typeof e;if(o!=="function"&&o!=="object"&&typeof t!="object")return!1;var a=zP.call(e);if(a!==zP.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++;break}e=GP(e),t=GP(t);var s=a==="[object Array]";if(!s){if(typeof e!="object"||typeof t!="object")return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(us(l)&&l instanceof l&&us(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(n===0)return!1;n<0&&(n=-1),r=r||[],i=i||[];for(var d=r.length;d--;)if(r[d]===e)return i[d]===t;if(r.push(e),i.push(t),s){if(d=e.length,d!==t.length)return!1;for(;d--;)if(!ex(e[d],t[d],n-1,r,i))return!1}else{var p=Object.keys(e),h;if(d=p.length,Object.keys(t).length!==d)return!1;for(;d--;)if(h=p[d],!(kl(t,h)&&ex(e[h],t[h],n-1,r,i)))return!1}return r.pop(),i.pop(),!0}function GP(e){return W0(e)?e.slice():vp(e)||gc(e)||L0(e)||Z1(e)?Array.from(e.entries()):e}function t0(e){return e[Symbol.iterator]=lme,e}function lme(){return this}["Symbol","Map","Set"].forEach(function(e){var t=T8();typeof t[e]>"u"&&dn("MobX requires global '"+e+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:xhe,extras:{getDebugName:JS},$mobx:kt});let zv;const ume=new Uint8Array(16);function cme(){if(!zv&&(zv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!zv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zv(ume)}const ai=[];for(let e=0;e<256;++e)ai.push((e+256).toString(16).slice(1));function dme(e,t=0){return(ai[e[t+0]]+ai[e[t+1]]+ai[e[t+2]]+ai[e[t+3]]+"-"+ai[e[t+4]]+ai[e[t+5]]+"-"+ai[e[t+6]]+ai[e[t+7]]+"-"+ai[e[t+8]]+ai[e[t+9]]+"-"+ai[e[t+10]]+ai[e[t+11]]+ai[e[t+12]]+ai[e[t+13]]+ai[e[t+14]]+ai[e[t+15]]).toLowerCase()}const fme=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),WP={randomUUID:fme};function pme(e,t,n){if(WP.randomUUID&&!t&&!e)return WP.randomUUID();e=e||{};const r=e.random||(e.rng||cme)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return dme(r)}class ds{constructor(t="UnnamedStore",n=!1){Ne(this,"_state",0);this.name=t,this.reinitializable=n,Oa(this)}get initialized(){return this._state===2}get initializing(){return this._state===1}async waitTillInitialized(t){if(this._state!==2){if(this._state===1)return await new Promise(n=>{let r,i;t&&t>0&&(i=setTimeout(()=>{typeof r=="function"&&(r(),Qm.exports.reject(new Error(`${this.name}: Initializtion timed out`)))},t)),r=Gi(()=>this._state,o=>{o===2&&(r(),i&&clearTimeout(i),n())})});this._state=2}}async startInitialize(t){return this.initialized&&!this.reinitializable?!1:this.initializing?(await this.waitTillInitialized(t),!1):(this._state=1,!0)}finishInitialize(){if(!this.initialized){if(this.initializing){this._state=2;return}throw new Error(`${this.name}: not initialized`)}}}var Mn=(e=>(e.PictureEnterBottom="picture-enter-bottom",e.PictureLeaveBottom="picture-leave-bottom",e.PictureEnterTop="picture-enter-top",e.PictureLeaveTop="picture-leave-top",e.PictureCenter="picture-center",e.ChangeLanguage="change-language",e.ChangeStartLocation="change-start-location",e.ChangeDestinationLocation="change-destination-location",e.ToggleWheelchair="toggle-wheelchair",e.SwapStartDestination="swap-start-destination",e.ClickWasInstructionHelpful="click-was-instruction-helpful",e.ClickStarRating="click-star-rating",e.SubmitShareEmail="submit-share-email",e.ToggleUseShortLink="toggle-use-short-link",e.ToggleBlockStartingPosition="toggle-block-starting-position",e.PressCopyLink="press-copy-link",e.PressStoreLink="press-store-link",e.BecomesIdle="becomes-idle",e.BecomesVisible="becomes-visible",e.SessionStart="session-start",e.RouteChange="route-change",e.RouteReset="route-reset",e.StopLoaded="stop-loaded",e))(Mn||{});const jP="prod-R2024-04.2".match(/^prod/)?"prod":"prod-R2024-04.2";class hme{constructor(){Ne(this,"_base",new ds("AnalyticsStore"));Ne(this,"_analytics");Ne(this,"_sessionUUID");Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get sessionUUID(){return this._sessionUUID}setSessionUUID(t){localStorage.setItem("sessionUUID",t),this._sessionUUID=t}async initialize(t){if(!await this._base.startInitialize())return;bH(t),this._analytics=gpe();let n=localStorage.getItem("sessionUUID");ae.isEmpty(n)&&(n=pme()),this.setSessionUUID(n),this._base.finishInitialize()}log(t,n={}){this._analytics||console.warn("Analytics not initialized");const r=ae.merge({sessionUUID:this._sessionUUID,timestamp:Date.now(),env:jP},ae.omitBy(n,ae.isNil));jP&&this._analytics&&jH(this._analytics,t,r),console.debug("Analytics Event:",t,r)}}const Ru=new hme;var _n=(e=>(e.Get="GET",e.Post="POST",e.Patch="PATCH",e.Put="PUT",e.Delete="DELETE",e))(_n||{});const qr=e=>encodeURIComponent(JSON.stringify(e));class xn{static setupRequest({method:t,path:n,data:r}){const i=n.startsWith("/")?`/api${n}`:n,o=new AbortController;setTimeout(()=>o.abort(),15e3);const a={method:t,signal:o.signal,body:r?JSON.stringify(r):void 0};return{requestUrl:i,options:a}}static async loadData(t){const{requestUrl:n,options:r}=this.setupRequest(t);r.headers={"Content-Type":"application/json"};const i=await fetch(n,r);if(!i.ok)throw new Error(i.statusText);return i.json()}static async loadText(t){const{requestUrl:n,options:r}=this.setupRequest(t),i=await fetch(n,r);if(!i.ok)throw new Error(i.statusText);return i.text()}}class bt{static async getBuildingById(t){const n=qr({include:"buildingMobileLanguages"}),r=`/Buildings/${t}?filter=${n}`;return xn.loadData({method:_n.Get,path:r})}static async getBuildingNamesById(t){const r=`/Buildings?filter=${qr({where:{id:{inq:t}},fields:["id","name"]})}`;return xn.loadData({method:_n.Get,path:r})}}Ne(bt,"getAllLanguages",async()=>{const n=`/Languages?filter=${qr({include:"languageNameTranslations"})}`;return xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getDefaultDestinations",async()=>{const n=`/Default_Destinations?filter=${qr({include:["defaultDestinationNames","destinationBuildings"]})}`;return await xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getDefaultCategories",async()=>{const n=`/Default_Categories?filter=${qr({include:"defaultCategoryNames"})}`;return xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getDestinationCategoriesByBuildingId",async t=>{const r=`/Destination_Categories?filter=${qr({where:{building_id:t}})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getDestinationCategoriesForBuilding",async t=>{const r=`/Building_Categories?filter=${qr({where:{building_id:t},include:["category","names"]})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getFloorPlansByBuildingId",async t=>{const n=`/Buildings/${t}/floorPlans`;return await xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getConnectionsByBuildingId",async t=>{const r=`/Connections?filter=${qr({where:{buildingId:t},fields:["id","nodeIdFrom","nodeIdTo","timerEnabled","timerId","adIconId"],include:"adIcon"})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getNodesByBuildingId",async t=>{const n=qr({include:["names","destinations"]}),r=`/Buildings/${t}/models/Node?filter=${n}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getNodeDestinations",async t=>{const r=`/NodeDestinations?filter=${qr({where:{buildingId:t},include:[{node:"photo"},{destination:"defaultDestinationNames"}]})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getDestinationNodesByBuildingId",async t=>{const n=`/Buildings/destination-nodes?buildingId=${t}&v=2`;return await xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getCrossRefferencesByBuildingId",async t=>{const r=`/CrossReferences?filter=${qr({where:{buildingId:t},include:["followupLocation"]})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getZonesByBuildingId",async t=>{const n=qr({include:["floorPlanZones"]}),r=`/Buildings/${t}/zones?filter=${n}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getDistanceMatrixByBuildingId",async(t,n)=>{const r=new URLSearchParams(ae.omitBy({isWheelChair:n?"1":void 0},ae.isNil)).toString(),i=`/Buildings/${t}/distanceMatrix${r?"?"+r:""}`;return await xn.loadText({method:_n.Get,path:i})}),Ne(bt,"getTranslations",async()=>{const n=`/Default_Uis?filter=${qr({include:["defaultUiNames"]})}`;return await xn.loadData({method:_n.Get,path:n})}),Ne(bt,"fetchPathFinder",async(t,n)=>{const{buildingId:r,nodeFrom:i,nodeTo:o,routeLang:a,WheelChair:s,channel:l,homepage:c,followups:d,showFollowup:p,skipRegisterFirst:h}=t;if(!r||!i||!o||i===o)return;const[m,v]=ae.split(i,"-"),[y,x]=ae.split(o,"-"),b=ae.omitBy({buildingId:r,routeLang:a,isWheelchair:s,channel:l,homepage:c||void 0,nodeFrom:m,destinationFrom:v,nodeTo:y,destinationTo:x,isPhotoRoute:"true",sessionUUID:n,multiNode:(d==null?void 0:d.length)||p&&!h},ae.isNil),_="/Buildings/pathfinder?"+new URLSearchParams(b).toString();return await xn.loadData({method:_n.Get,path:_})}),Ne(bt,"getPhotoById",async t=>{const n=`/Photos/${t}`;return await xn.loadData({method:_n.Get,path:n})}),Ne(bt,"getShortLink",async t=>{const n=`https://tinyurl.com/api-create.php?url=${encodeURIComponent(t)}`;return await xn.loadText({method:_n.Get,path:n})}),Ne(bt,"sendEmail",async t=>{const n="/Buildings/pathfinder/email";return await xn.loadData({method:_n.Post,path:n,data:t})}),Ne(bt,"patchStatistic",async(t,n)=>{const r=`/Statistics/${t}`;return await xn.loadData({method:_n.Patch,path:r,data:n})}),Ne(bt,"getGettingToSettingById",async t=>{const n=qr({include:["organisation","reportFirstTemplate","config",{relation:"address",scope:{include:"names"}}]}),r=`/GettingToSettings/${t}?filter=${n}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"getGettingToSettings",async t=>{const r=`/GettingToSettings?filter=${qr({where:{facilityLocationId:t.facilityLocationId,buildingId:t.buildingId,destinationId:t.destinationId},include:["organisation","reportFirstTemplate","config",{relation:"address",scope:{include:"names"}}]})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"resolveBuildingId",async t=>{const n={where:{buildingId:{inq:t.buildings}}};t.facilityLocationId&&(n.where.facilityLocationId=t.facilityLocationId),t.destinationId&&(n.where.destinationId=t.destinationId);const r=`/GettingToSettings?filter=${qr(n)}`;return await xn.loadData({method:_n.Get,path:r}).then(i=>{var o;return(o=i[0])==null?void 0:o.buildingId})}),Ne(bt,"getEmailTemplates",async t=>{const r=`/EmailTemplates?filter=${qr({where:{buildingId:t,type:"route-link"}})}`;return await xn.loadData({method:_n.Get,path:r})}),Ne(bt,"patchGettingToStatistic",async t=>{const n="/GettingToStatistics";if(!t.id)return await xn.loadData({method:_n.Post,path:n,data:t});const r=qr({id:t.id});return await xn.loadData({method:_n.Post,path:`${n}/upsertWithWhere?where=${r}`,data:t})}),Ne(bt,"generateShortLink",async(t,n)=>{const r=`/Buildings/short-url?buildingId=${t}&url=${encodeURIComponent(n)}`;return await xn.loadText({method:_n.Post,path:r})}),Ne(bt,"getShortLinkById",async t=>{const n=`/Buildings/short-url/${t}`;return await xn.loadText({method:_n.Get,path:n})});var wi=(e=>(e.Car="car",e.PublicTransport="public",e.Taxi="taxi",e.Bicycle="bicycle",e))(wi||{}),Lu=(e=>(e.Button="proceed-to-button",e.LocationCode="location-code",e.QrWeb="scan-qr-web",e.QrNative="scan-qr-native",e))(Lu||{});const mme=1e8;class Y5{constructor(t,n){this.x=t,this.y=n}}function Mh(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function $h(e,t,n){const r=(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y);return r===0?0:r>0?1:2}function gme(e,t,n,r){const i=$h(e,t,n),o=$h(e,t,r),a=$h(n,r,e),s=$h(n,r,t);return!!(i!==o&&a!==s||i===0&&Mh(e,n,t)||o===0&&Mh(e,r,t)||a===0&&Mh(n,e,r)||s===0&&Mh(n,t,r))}function VP(e,t,n){if(t<3)return!1;const r=new Y5(mme,n.y);let i=0,o=0;do{const a=(o+1)%t;if(gme(e[o],e[a],n,r)){if($h(e[o],n,e[a])===0)return Mh(e[o],n,e[a]);i++}o=a}while(o!==0);return i%2===1}var os=(e=>(e.QRHome="QRHome",e.PortalEmail="Portal-Email",e.LinkCopy="LinkCopy",e.AppIntScreen="AppIntScreen",e.ReversedRoute="ReversedRoute",e.CMSPhotoRoute="CMSPhotoRoute",e.CMSReversedRoute="CMSReversedRoute",e.FollowUp="FollowUp",e))(os||{});class vme{constructor(){Ne(this,"_base",new ds("QueryParamStore"));Ne(this,"_params",{});Ne(this,"_navigate");Ne(this,"_initialParams",{});Oa(this),Gi(()=>this._url,(t,n)=>{if(this._base.initialized&&t!==n){const r=new URL(t);this._navigate&&this._navigate({pathname:r.pathname,search:r.search},{replace:!0})}})}get initialParams(){return this._initialParams}get params(){return Object.freeze(Object.assign({},this._params))}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}async initialize(t){if(t&&(this._navigate=t),!await this._base.startInitialize())return;const n=new URLSearchParams(window.location.search),r=this.transform(n);this.setQueryParams(r),this._initialParams=Object.freeze({...r}),Gi(()=>this._params.buildingId,()=>{this._initialParams=Object.freeze(ae.omit(this._initialParams,"nodeFrom","nodeTo","routeLang"))}),this._base.finishInitialize()}setQueryParams(t){this._params=ae.omitBy(t,n=>ae.isArray(n)?ae.isEmpty(n):ae.isNil(n))}updateQueryParams(t){this._params=ae.omitBy({...this._params,...t},n=>ae.isArray(n)?ae.isEmpty(n):ae.isNil(n))}getURLWithChannel(t){const n=ae.omitBy({...this._params,channel:t},ae.isNil),r=new URL(window.location.origin+window.location.pathname);return r.search=new URLSearchParams(n).toString(),r}get _url(){if(!this._base.initialized)return"";const t=new URL(window.location.origin+window.location.pathname),n=ae.omitBy(this._params,ae.isNil),r=new URLSearchParams(n);return n.MultiBuilding&&r.set("MultiBuilding",n.MultiBuilding.join(";")),ae.isEmpty(n.followups)||r.set("followups",n.followups.join(";")),ae.isEmpty(n.loadedFollowups)||r.set("loadedFollowups",n.loadedFollowups.join(";")),ae.isEmpty(n.buildings)||r.set("buildings",n.buildings.join(";")),t.search=r.toString(),t.href}transform(t){var n,r,i,o,a,s;return{buildingId:ae.toNumber((n=t.get("buildingId"))!=null?n:"")||void 0,nodeFrom:t.get("nodeFrom")||void 0,nodeTo:t.get("nodeTo")||void 0,routeLang:t.get("routeLang")||void 0,WheelChair:t.get("WheelChair")==="true"||void 0,channel:t.get("channel")||void 0,homepage:t.get("homepage")==="true"||void 0,fixStart:t.get("fixStart")==="true"||void 0,MultiBuilding:((r=t.get("MultiBuilding"))==null?void 0:r.split(";").map(ae.trim).map(ae.toNumber))||void 0,facilityLocationId:t.get("facilityLocationId")||void 0,destinationId:t.get("destinationId")||void 0,followups:((i=t.get("followups"))==null?void 0:i.split(";").map(ae.trim))||void 0,loadedFollowups:((o=t.get("loadedFollowups"))==null?void 0:o.split(";").map(ae.trim))||void 0,showFollowup:t.get("showFollowup")==="true"||void 0,skipRegisterFirst:t.get("skipRegisterFirst")==="true"||void 0,buildings:((a=t.get("buildings"))==null?void 0:a.split(";").map(ae.toNumber))||void 0,appId:ae.toNumber((s=t.get("appId"))!=null?s:"")||void 0,embed:t.get("embed")||void 0,tidy:t.get("tidy")==="true"||void 0}}}const vt=new vme;class yme{constructor(){Ne(this,"_base",new ds("BuildingStore"));Ne(this,"_loading",!1);Ne(this,"_floorplans",{});Ne(this,"_connections",{});Ne(this,"_nodes",{});Ne(this,"_zones",[]);Ne(this,"_photos",{});Ne(this,"_buildingNames",[]);Ne(this,"_selectedBuilding");Ne(this,"building");Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get buildingNames(){return this._buildingNames}get selectedBuilding(){return this._buildingNames.find(t=>t.id===+(vt.params.buildingId||0))||null}selectBuilding(t){vt.updateQueryParams({buildingId:t.id})}get floorPlans(){return this._floorplans}get connections(){return this._connections}get nodes(){return this._nodes}get zones(){return this._zones}get photos(){return this._photos}get loading(){return this._loading}get buildingLanguages(){return this.building?ae.chain([...this.building.buildingMobileLanguages.map(t=>t.ietf),this.building.lang]).filter(ae.identity).uniq().value():[]}get logoURL(){if(!this.building)return"";const n=`/api/Storages/building-${this.building.id}/download/${this.building.buildingLogo}`;try{return new URL(n).toString()}catch(r){return location.origin+n}}get defaultLanguage(){var t,n,r,i,o,a,s;return((t=this.building)==null?void 0:t.lang)||((r=ae.find((n=this.building)==null?void 0:n.buildingMobileLanguages,{default:!0}))==null?void 0:r.ietf)||((o=ae.find((i=this.building)==null?void 0:i.buildingMobileLanguages,{ietf:"en"}))==null?void 0:o.ietf)||((s=ae.first((a=this.building)==null?void 0:a.buildingMobileLanguages))==null?void 0:s.ietf)||"en"}getPhotoURL(t){const n=this._photos[t];return n?`/api/Storages/building-${n.buildingId}/download/${n.file}`:void 0}getZoneForNode(t){return this._zones.find(n=>{if(!(n!=null&&n.polygon)||!n.floorPlanZones.some(s=>s.floorPlanId===t.floorPlanId))return!1;const r=n.polygon[0],i=new Y5(t.x,t.y);return!(!VP(r.map(s=>new Y5(s[0],s[1])),r.length,i)||n.polygon.slice(1).some(s=>VP(s.map(l=>new Y5(l[0],l[1])),s.length,i)))})}async initialize(){if(!await this._base.startInitialize())return;await vt.initialize();const{buildingId:t,buildings:n,MultiBuilding:r,facilityLocationId:i,destinationId:o}=vt.params;if(!t&&!ae.isEmpty(n)&&(i||o)){const a=await bt.resolveBuildingId(vt.params);if(a)vt.updateQueryParams({buildingId:a,buildings:void 0});else return this._base.finishInitialize()}ae.isEmpty(r)||(this._base.reinitializable=!0,this.getMultiBuildingNames(r)),await this.getBuildingById(vt.params.buildingId),Gi(()=>vt.params.buildingId,a=>this.initialize()),this._base.finishInitialize()}async getBuildingById(t){if(!t){this.building=void 0;return}this._loading=!0;try{const[n,r,i,o,a]=await Promise.all([bt.getBuildingById(t),bt.getFloorPlansByBuildingId(t),bt.getConnectionsByBuildingId(t),bt.getNodesByBuildingId(t),bt.getZonesByBuildingId(t)]),s=await Promise.all(a.filter(l=>l.image).map(l=>bt.getPhotoById(l.image)));Pr(()=>{this.building=n,this._floorplans=ae.keyBy(r,"id"),this._connections=ae.keyBy(i,"id"),this._nodes=ae.keyBy(o,"id"),this._zones=a,ae.merge(this._photos,ae.keyBy(s,"id"))})}catch(n){console.error(n)}finally{Pr(()=>{this._loading=!1})}}async getMultiBuildingNames(t){const n=await bt.getBuildingNamesById(t);Pr(()=>{this._buildingNames=n.map(r=>({id:r.id,label:r.name})),this._selectedBuilding=this._buildingNames.find(r=>r.id===vt.params.buildingId)})}}const yn=new yme;class bme{constructor(){Ne(this,"_base",new ds("LanguageStore"));Ne(this,"_selectedLanguage");Ne(this,"languages",[]);Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get selectedLanguage(){return this._selectedLanguage}get availableLanguages(){return yn.initialized?yn.buildingLanguages.map(t=>{const n=ae.find(this.languages,{ietf:t});return n&&{id:t,label:n.language_name||n.english_name||n.ietf,iso:n.country_iso2}}).filter(ae.identity):[]}async initialize(){!await this._base.startInitialize()||(await Promise.all([vt.initialize(),yn.initialize(),this.getLanguages()]),this.selectLanguage(vt.params.routeLang),Gi(()=>yn.building,async()=>{this.selectLanguage(vt.params.routeLang)}),this._base.finishInitialize())}selectLanguage(t){const n=ae.find(this.availableLanguages,{id:t})||ae.find(this.availableLanguages,{id:yn.defaultLanguage})||{id:"en",label:"English",iso:"us"};this._selectedLanguage=n!=null?n:"en",vt.updateQueryParams({routeLang:n.id})}async getLanguages(){try{const t=await bt.getAllLanguages();Pr(()=>{this.languages=t})}catch(t){console.error(t)}}}const ga=new bme,kw=class{constructor(){Ne(this,"_base",new ds("TranslatonStore"));Ne(this,"_translations",{});Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}format(t,n={}){return ae.template(t)({...this._extractVariables(t),...n})}getTranslation(t,n={}){var o;const r=((o=ga.selectedLanguage)==null?void 0:o.id)||"en",i=ae.get(this._translations,[t.id,r,"name"])||ae.get(this._translations,[t.id,"en","name"])||t.default;return this.format(i,n)}async initialize(){if(!!await this._base.startInitialize()){try{await vt.initialize();const t=await bt.getTranslations();Pr(()=>{this._translations=ae.chain(t).keyBy("id").mapValues(n=>ae.keyBy(n.defaultUiNames,"lang")).value()})}catch(t){console.log(t)}this._base.finishInitialize()}}_extractVariables(t){return ae.chain(t.match(ae.templateSettings.interpolate)).map(n=>ae.trim(n.replace(kw._notVarName,""))).zipObject().value()}};let X5=kw;Ne(X5,"_notVarName",new RegExp(/[^A-Za-z]/,"g"));const lm=new X5,Pt={PhotoRoutePage:{FrequentlyUsed:{id:273,default:"Frequently used"},OtherDestinations:{id:274,default:"Other destinations"},SuggestionQuestion:{id:276,default:"What's the next?"},ReverseRouteLink:{id:251,default:"Reverse route"},ProceedTo:{id:342,default:"Proceed to <%= name %>"},Controls:{FromLabel:{id:87,default:"From"},FromPlaceholder:{id:55,default:"Select starting point"},ToLabel:{id:88,default:"To"},ToPlaceholder:{id:85,default:"Select destination"},stopLabel:{id:358,default:"Stop <%= count %>"},stopPlaceHolder:{id:359,default:"Select stop"},ShowRouteLabel:{id:277,default:"Show Route"},EndDestinationChangeWarning:{id:278,default:"Are you sure about changing the destination during the navigaion? A new route will be calculated immediately."},StartDestinationChangeWarning:{id:338,default:"Are you sure about changing the starting point during the navigaion? A new route will be calculated immediately."},EmptyStopWarning:{id:360,default:"Cannot leave empty stop in the middle"},ConsecutiveStopWarning:{id:361,default:"Consecutive stops cannot be the same"},CancelLabel:{id:203,default:"Cancel"},EndRouteWarning:{id:337,default:"Are you sure you want to abort the route?"},YesLabel:{id:16,default:"Yes"}},HomePage:{UseShortLink:{id:279,default:"Use short lnk"},ScanQRHint:{id:180,default:"Open your smartphone\u2019s camera and point it at the QR code"},QREnableHint:{id:280,default:"Load route to enable QR"},FixStartLabel:{id:281,default:"Block starting position"},UseShortLinkLabel:{id:282,default:"Use short link"},ChannelLabel:{id:283,default:"Channel"},EmailLabel:{id:284,default:"Email"},ShowQRTooltip:{id:285,default:"Show QR Code"},ShowSettingsTooltip:{id:286,default:"Share route"},ShowEmailPreviewTooltip:{id:287,default:"Show preview"},SendEmailTooltip:{id:288,default:"Send email"},EmailSent:{id:339,default:"Email sent successfully"},InvalidEmailsFound:{id:340,default:"Invalid emails found"}},Messages:{PathNotFound:{id:249,default:"No route could be found from selected starting point and selected end point"},NoDestinationSelected:{id:289,default:`Please, select your starting 
 location and the destination`},StartPointSelected:{id:290,default:"Your starting point has been located."},SelectDestination:{id:291,default:"Please, select your destination"},ClickShowRoute:{id:292,default:`Click Show route to start 
 navigation`},ScrollDown:{id:293,default:"Scroll down to start"},ApprochingDestination:{id:295,default:"Approaching your destination"},DestinationOnLeft:{id:296,default:"Destination on left"},DestinationOnRight:{id:297,default:"Destination on right"},DestinationAhead:{id:298,default:"Destination straight ahead"},PathErrorSameDestination:{id:336,default:"The path cannot be found because the starting point and the destination are at the same location"},OkGotIt:{id:119,default:"Ok, got it"},ScrollToNext:{id:355,default:"Scroll down for next navigation step"}},Progress:{EstimatedTime:{id:299,default:"Estimated time"},CurrentProgress:{id:300,default:"Current progress"}},PathRating:{Question:{id:138,default:"Did you find your destination without asking somebody for direction?"},PositiveAnswer:{id:16,default:"Yes"},NegativeAnswer:{id:17,default:"No"},ThankYouMessage:{id:301,default:"Thank you for the feedback!"},FeedbackPlaceholder:{id:302,default:"Can you tell us what went wrong?"},StarRatingQuestion:{id:357,default:"How would you rate your experience with our app?"}},NextStopPrompts:{LocationCodeHeader:{id:343,default:"Enter location code"},LocationCodeDescription:{id:344,default:"A valid location code is necessary for receiving navigation directions to your appointment. This code is provided at the check-in desk or at the kiosk."},LocationCodePlaceholder:{id:345,default:"Enter code"},ScanQRheader:{id:20,default:"Scan QR code"},ScanQRWebDescription:{id:346,default:"Scan the QR code on the terminal (kiosk, check-in desk) for navigation instructions to your appointment."},ScanQRButton:{id:66,default:"Scan"},ScanQRNativeDescription:{id:347,default:`Scan the QR code on the terminal (kiosk, check-in desk) for navigation instructions to your appointment.

To scan a QR code, use the camera function on your phone.`},InvalidLocationCode:{id:348,default:"Invalid location code. Please, check the code and try again."},SameDestinationError:{id:349,default:"You are already at this location."}}},GettingToPage:{Labels:{Arrival:{id:303,default:"Arrival at Hospital"},Parking:{id:304,default:"Parking"},Entrance:{id:305,default:"Entrance"},MyAppointment:{id:306,default:"My Appointment"},DrivingDirection:{id:307,default:"Recommended Driving Direction"},ShowRoute:{id:308,default:"Show Route Instructions"},ProceedToAppointment:{id:353,default:"Proceed to Appointment"}},Headers:{CommingBy:{id:309,default:"I am comming by"},VisitingAddress:{id:310,default:"Visiting Address"},EnterAt:{id:311,default:"Enter the Hospital at"},RecommendedParking:{id:312,default:"Recommended Parking"},DroppOffPoint:{id:264,default:"Drop off / Enter at"}},TransportModes:{Car:{id:313,default:"Car"},Public:{id:314,default:"Public Transport"},Taxi:{id:315,default:"Taxi"},Bicycle:{id:316,default:"Bicycle"}},Messages:{AlternativeParking:{id:317,default:"Alternative parking"},SaveParking:{id:318,default:"Please, select where you parked the car"},SelectParking:{id:319,default:"Select Parking"},NeedParking:{id:322,default:"Do you want to park the car?"},SelectArrival:{id:323,default:"Select Arrival Mode"},Note:{id:324,default:"Note"},FirstReportAt:{id:325,default:"You will be guided via <%= name %>"},PageHeader:{id:326,default:"How to get to your appointment"},HowToArriveBy:{id:327,default:"How to arrive by <%= mode %>?"},AddressPlaceholder:{id:341,default:"The address will be displayed when you specify your travel modality"},LocationPrompts:{PreferSigns:{id:320,default:"If you prefer to find your way by following the signage:"},ToDestDirect:{id:321,default:"Follow the directions to **<%= location %>** in order to arrive at your appointment."},AfterReportFirstInstruction:{id:350,default:"Once you arrive there, you will be provided with instructions on how to arrive at your appointment."},ToDestThroughReportFirst:{id:351,default:"Follow the directions indicated by **<%= location %>** to reach <%= destination %>. This step is essential and kindly requested to be followed."},ToDestAfterReportFirst:{id:352,default:"After completing your initial step, proceed by following the directions to **<%= location %>** in order to arrive at your appointment."},toDestWithOnlyDestLocaionId:{id:356,default:"After reporting first at **<%= reportFirst %>**, follow the directions to **<%= destination %>** in order to arrive at your appointment."}}}},Misc:{Closed:{id:328,default:"Closed"},To:{id:88,default:"To"},Minutes:{id:329,default:"Minutes"},DistanceHintMeters:{id:330,default:"After <%= distance %> meters"},DistanceHintFeet:{id:331,default:"After <%= distance %> feet"},Channel:{id:332,default:"Channel"},Email:{id:333,default:"Email"},Location:{id:275,default:"Locations <%= nodeId %>"},End:{id:334,default:"End"},Floor:{id:102,default:"Floor"},Zone:{id:335,default:"Zone"},Submit:{id:231,default:"Submit"}}},KP=Pt.Misc.Location;class Eme{constructor(){Ne(this,"_base",new ds("DestinationStore"));Ne(this,"_categories",{});Ne(this,"_destinationCategories",{});Ne(this,"_crossRefferences",{});Ne(this,"_destinationNodes",[]);Ne(this,"_start");Ne(this,"_nodeDestinations",[]);Ne(this,"_stops",[]);Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get startDestination(){const[t,n]=ae.split(this._start,"-").map(ae.toNumber),r=ae.omitBy({nodeId:t,destinationId:n},ae.isNil);return ae.find(this.destinations,r)||(this._start?{id:this._start,label:lm.getTranslation(KP,{nodeId:this._start})}:void 0)}get endDestination(){return this.stops[0]}get stops(){return this._stops.map(t=>{if(!t)return;const[n,r]=ae.split(t,"-").map(ae.toNumber),i=ae.omitBy({nodeId:n,destinationId:r},ae.isNil);return ae.find(this.destinations,i)||{id:t,label:lm.getTranslation(KP,{nodeId:t})}})}get destinations(){var n;const t=((n=ga.selectedLanguage)==null?void 0:n.id)||"en";return ae.chain(Whe(this._destinationNodes)).map(r=>r.nodeIds.map(i=>{var h,m;const o=ae.get(r.name,t,[]).join(", "),a=[i,r.destinationId].filter(ae.identity).join("-"),s=(h=ae.find(this._nodeDestinations,{nodeId:i}))==null?void 0:h.node,l=ae.chain(this._crossRefferences).values().filter({nodeId:i}).map(v=>v.followupLocation).flatMap().map(({nodeId:v,destinationId:y})=>ae.filter([v,y],ae.identity).join("-")).flatMap().value(),c=this._destinationCategories[r.destinationId],d=c?this._categories[c.category_id]:this._categories[20],p=s!=null&&s.popular?!(s.popularDestinationId&&s.popularDestinationId!==r.destinationId):!1;return{id:a,nodeId:i,destinationId:r.destinationId,label:o||lm.getTranslation(Pt.Misc.Location,{nodeId:a}),search:((m=r.keywords[t])!=null?m:[]).join(", "),popular:p,followUps:l,closed:s?r.closedNodeIds.includes(s==null?void 0:s.id):!1,node:s,category:{id:d==null?void 0:d.id,iconId:d==null?void 0:d.iconId,name:(d==null?void 0:d.names[t])||(d==null?void 0:d.names.en),order:d==null?void 0:d.order,locationId:c==null?void 0:c.locationId,destinationTypeId:c==null?void 0:c.destinationTypeId}}})).flatMap().filter(r=>!!(r!=null&&r.node)).orderBy(["popular","label"],["desc","asc"]).value()}get destinationMap(){return ae.keyBy(this.destinations,"id")}async initialize(){var i,o,a,s;if(!await this._base.startInitialize())return;await Promise.all([yn.initialize(),ga.initialize(),vt.initialize()]);const t=(i=yn.building)==null?void 0:i.id;t&&await Promise.all([this.getBuildingData(t)]);const[n,r]=((o=vt.params.nodeFrom)!=null?o:"").split("-");this.setStartDestination(n,r),this._stops=[vt.params.nodeTo,...(a=vt.params.loadedFollowups)!=null?a:[],...(s=vt.params.followups)!=null?s:[]],Gi(()=>yn.building,async(l,c)=>{!l||(c&&c.id!==l.id&&(this.setStartDestination(0,0),this._stops=[]),await this.getBuildingData(l.id))}),Gi(()=>this.stops,async l=>{const[c,...d]=l.filter((h,m)=>h&&h!==l[m-1]),p=ae.map(d,"id").filter(ae.identity);vt.updateQueryParams({nodeTo:c==null?void 0:c.id,followups:p,loadedFollowups:[]})}),this._base.finishInitialize()}setStartDestination(t,n){var r,i;this._start=ae.filter([t,n],ae.identity).join("-")||void 0,((r=this.startDestination)==null?void 0:r.id)!==vt.params.nodeFrom&&vt.updateQueryParams({nodeFrom:(i=this.startDestination)==null?void 0:i.id})}setEndDestination(t,n){this._stops[0]=ae.filter([t,n],ae.identity).join("-")}insertStop(t){t===void 0?this._stops.push(void 0):this._stops.splice(t,0,void 0)}removeStop(t){t===void 0?this._stops.pop():this._stops.splice(t,1)}setStops(t){this._stops=t}setStop(t,n){const r=this._stops[t-1]||this._start,i=this._stops[t+1];r&&r===n||i&&i===n||(this._stops[t]=n)}async getBuildingData(t){if(!t)return;const[n,r,i,o,a]=await Promise.all([bt.getDestinationCategoriesByBuildingId(t),bt.getDestinationNodesByBuildingId(t),bt.getCrossRefferencesByBuildingId(t),bt.getNodeDestinations(t),bt.getDestinationCategoriesForBuilding(t)]);Pr(()=>{this._destinationCategories=ae.keyBy(n,"destination_id"),this._crossRefferences=ae.keyBy(i,"id"),this._destinationNodes=r,this._nodeDestinations=o,this._categories=ae.chain(a).map(s=>({id:parseInt(s.category_id),iconId:s.icon_id,order:s.order,names:ae.mapValues(ae.keyBy(s.names,"lang"),"name")})).mapKeys("id").value()})}}const ui=new Eme;class Tme{constructor(){Ne(this,"_base",new ds("AppointmentStore"));Ne(this,"_settings");Ne(this,"_currentStep");Ne(this,"_transportMode");Ne(this,"_needParking",!0);Ne(this,"_statistics");Ne(this,"_savedParking");Oa(this,{changeTransportMode:$i.bound})}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get currentStep(){var t;return(t=this._currentStep)!=null?t:"arrival"}get settings(){return this._settings}get transportMode(){return this._transportMode}get needParking(){return this._needParking}get savedParking(){return this._savedParking}get config(){var r,i;const{config:t}=(r=this._settings)!=null?r:{};if(!(t!=null&&t.modalities))return;const n=(i=t.modalities)!=null?i:{};return Object.keys(n).reduce((o,a)=>({...o,[a]:n[a].map(({parkingId:s,entranceId:l})=>({parking:ui.destinationMap[s!=null?s:""],entrance:ui.destinationMap[l!=null?l:""]}))}),{})}get address(){var o;const{settings:t}=this;if(!t||!t.address)return;const n=t==null?void 0:t.address,r=n==null?void 0:n.names.reduce((a,s)=>(a[s.lang]=s.name,a),{}),i=((o=ga.selectedLanguage)==null?void 0:o.id)||"en";return{...n,label:r[i]||r.en||n.shortTitle||Object.values(r)[0]}}get suggestedEntrance(){var a,s,l,c,d,p,h,m,v,y,x,b,_,S,C;const{transportMode:t,needParking:n,settings:r}=this,i=(a=this.config)==null?void 0:a[t],o=(s=this._savedParking)==null?void 0:s.id;return t!==wi.Car?(c=(l=i==null?void 0:i[0])==null?void 0:l.entrance)!=null?c:r==null?void 0:r.pedestrianEntrance:n?o?(C=(S=(b=i==null?void 0:i.find(O=>{var A;return((A=O.parking)==null?void 0:A.id)===o}))==null?void 0:b.entrance)!=null?S:(_=i==null?void 0:i[0])==null?void 0:_.entrance)!=null?C:r==null?void 0:r.preferredEntrance:null:(x=(h=(p=(d=this.config)==null?void 0:d[wi.Taxi])==null?void 0:p[0])==null?void 0:h.entrance)!=null?x:(y=(v=(m=this.config)==null?void 0:m[wi.PublicTransport])==null?void 0:v[0])==null?void 0:y.entrance}get steps(){const t=["arrival","parking","entrance","appointment"];return this.transportMode!==wi.Car||!this.needParking?t.filter(n=>n!=="parking"):t}get reportFirstTemplate(){var i,o,a,s;const{settings:t}=this;if(vt.params.skipRegisterFirst||(t==null?void 0:t.directAccess)||!(t!=null&&t.firstReport)||!t.reportFirstTemplate)return;const n=(i=t.reportFirstTemplate.template)!=null?i:{},r=(a=n[((o=ga.selectedLanguage)==null?void 0:o.id)||"en"])!=null?a:n.en;return lm.format(r,{reportFirst:t.firstReport.label,destination:(s=t.destination)==null?void 0:s.label})}setCurrentStep(t){this.steps.includes(t)&&(this._currentStep=t)}changeTransportMode(t){this._transportMode=t}changeNeedParking(t){this._needParking=t}chagneSavedParking(t){this._savedParking=t}async initialize(){!await this._base.startInitialize()||(await ui.initialize(),await this._loadData(vt.params),Gi(()=>({destinations:ui.destinations,settings:this._settings}),(t,n)=>{t.settings&&!ae.isEqual(t,n)&&this._populateSetting()}),this._base.finishInitialize())}async saveStatistics(t){var i,o;if(!this._settings)return;const n=this._settings;let r=this._statistics;r?r=await bt.patchGettingToStatistic({id:r.id,...t}):r=await bt.patchGettingToStatistic({buildingId:n==null?void 0:n.buildingId,nodeId:(i=n==null?void 0:n.destination)==null?void 0:i.nodeId,destinationId:ae.toNumber((o=n==null?void 0:n.destination)==null?void 0:o.destinationId),routeLang:vt.params.routeLang,channel:vt.params.channel,facilityLocationId:n==null?void 0:n.facilityLocationId,sessionUUID:Ru.sessionUUID,...t}),Pr(()=>this._statistics=r)}async _loadData(t){const r=(t.appId?[await bt.getGettingToSettingById(t.appId)]:await bt.getGettingToSettings(t))[0];!r||(Pr(()=>this._settings=r),this._populateSetting(),this.saveStatistics({}))}_populateSetting(){const t=this._settings;!t||Pr(()=>{Object.assign(t,{preferredParking:t.preferredParkingId?this._findDestination(t.preferredParkingId):void 0,alternativeParking:t.alternativeParkingId?this._findDestination(t.alternativeParkingId):void 0,preferredEntrance:t.preferredEntranceId?this._findDestination(t.preferredEntranceId):void 0,alternativeEntrance:t.alternativeEntranceId?this._findDestination(t.alternativeEntranceId):void 0,pedestrianEntrance:t.pedestrianEntranceId?this._findDestination(t.pedestrianEntranceId):void 0,destination:t.destinationId?this._findDestination(t.destinationId):void 0,firstReport:t.firstReportId?this._findDestination(t.firstReportId):void 0})})}_findDestination(t){const[n,r]=typeof t=="number"?[t]:t.split("-").map(i=>parseInt(i));if(!(!n&&!r))return ui.destinations.find(i=>i.nodeId===n&&(r?r===i.destinationId:!0))}}const tx=new Tme;class _me{constructor(t){Ne(this,"_dm");Ne(this,"_nodes",{});Ne(this,"_len",0);const n=t.split(`
`).map(o=>ae.trim(o,",")).filter(o=>o.length>0),r=n[0].split(",").map(ae.toNumber);r.forEach((o,a)=>this._nodes[o]=a),this._len=r.length;const i=ae.chain(n).slice(1).map(o=>o.split(",")).flatMap().map(ae.toNumber).value();this._dm=Uint16Array.from(i)}lookup(t,n){var a;const r=this._nodes[t],i=this._nodes[n],o=this._len*r+i;return(a=this._dm)==null?void 0:a.at(o)}}class Sme{constructor(){Ne(this,"_base",new ds("DistanceMatrixStore"));Ne(this,"_cache",{});Ne(this,"_dm");Ne(this,"_loading");Oa(this,{lookup:$i.bound})}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get loading(){return this._loading}async initialize(){var r;if(!await this._base.startInitialize())return;await yn.initialize();const t=(r=yn.building)==null?void 0:r.id,n=vt.params.WheelChair;t&&await this._loadDM(t,n),Gi(()=>{var i;return{buildingId:(i=yn.building)==null?void 0:i.id,wheelchair:vt.params.WheelChair}},({buildingId:i,wheelchair:o})=>i&&this._loadDM(i,o)),this._base.finishInitialize()}lookup(t,n){if(!this._dm)throw new Error("Distance Matrix not loaded");return this._dm.lookup(t,n)||NaN}async _loadDM(t,n){const r=JSON.stringify({buildingId:t,wheelchair:n});if(this._loading=!0,!this._cache[r]){const i=await bt.getDistanceMatrixByBuildingId(t,n);this._cache[r]=new _me(i)}Pr(()=>{this._dm=this._cache[r],this._loading=!1})}}const xme=new Sme;var V0={},Cme=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},KU={},qo={};let k8;const wme=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];qo.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};qo.getSymbolTotalCodewords=function(t){return wme[t]};qo.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};qo.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');k8=t};qo.isKanjiModeEnabled=function(){return typeof k8<"u"};qo.toSJIS=function(t){return k8(t)};var k2={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch(o){return i}}})(k2);function qU(){this.buffer=[],this.length=0}qU.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Ame=qU;function K0(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}K0.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};K0.prototype.get=function(e,t){return this.data[e*this.size+t]};K0.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};K0.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Ime=K0,YU={};(function(e){const t=qo.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,o=t(r),a=o===145?26:Math.ceil((o-13)/(2*i-2))*2,s=[o-7];for(let l=1;l<i-1;l++)s[l]=s[l-1]-a;return s.push(6),s.reverse()},e.getPositions=function(r){const i=[],o=e.getRowColCoords(r),a=o.length;for(let s=0;s<a;s++)for(let l=0;l<a;l++)s===0&&l===0||s===0&&l===a-1||s===a-1&&l===0||i.push([o[s],o[l]]);return i}})(YU);var XU={};const Rme=qo.getSymbolSize,qP=7;XU.getPositions=function(t){const n=Rme(t);return[[0,0],[n-qP,0],[0,n-qP]]};var QU={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let a=0,s=0,l=0,c=null,d=null;for(let p=0;p<o;p++){s=l=0,c=d=null;for(let h=0;h<o;h++){let m=i.get(p,h);m===c?s++:(s>=5&&(a+=t.N1+(s-5)),c=m,s=1),m=i.get(h,p),m===d?l++:(l>=5&&(a+=t.N1+(l-5)),d=m,l=1)}s>=5&&(a+=t.N1+(s-5)),l>=5&&(a+=t.N1+(l-5))}return a},e.getPenaltyN2=function(i){const o=i.size;let a=0;for(let s=0;s<o-1;s++)for(let l=0;l<o-1;l++){const c=i.get(s,l)+i.get(s,l+1)+i.get(s+1,l)+i.get(s+1,l+1);(c===4||c===0)&&a++}return a*t.N2},e.getPenaltyN3=function(i){const o=i.size;let a=0,s=0,l=0;for(let c=0;c<o;c++){s=l=0;for(let d=0;d<o;d++)s=s<<1&2047|i.get(c,d),d>=10&&(s===1488||s===93)&&a++,l=l<<1&2047|i.get(d,c),d>=10&&(l===1488||l===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let o=0;const a=i.data.length;for(let l=0;l<a;l++)o+=i.data[l];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function n(r,i,o){switch(r){case e.Patterns.PATTERN000:return(i+o)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(i+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return i*o%2+i*o%3===0;case e.Patterns.PATTERN110:return(i*o%2+i*o%3)%2===0;case e.Patterns.PATTERN111:return(i*o%3+(i+o)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(i,o){const a=o.size;for(let s=0;s<a;s++)for(let l=0;l<a;l++)o.isReserved(l,s)||o.xor(l,s,n(i,l,s))},e.getBestMask=function(i,o){const a=Object.keys(e.Patterns).length;let s=0,l=1/0;for(let c=0;c<a;c++){o(c),e.applyMask(c,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(c,i),d<l&&(l=d,s=c)}return s}})(QU);var N2={};const Mu=k2,Gv=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Wv=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];N2.getBlocksCount=function(t,n){switch(n){case Mu.L:return Gv[(t-1)*4+0];case Mu.M:return Gv[(t-1)*4+1];case Mu.Q:return Gv[(t-1)*4+2];case Mu.H:return Gv[(t-1)*4+3];default:return}};N2.getTotalCodewordsCount=function(t,n){switch(n){case Mu.L:return Wv[(t-1)*4+0];case Mu.M:return Wv[(t-1)*4+1];case Mu.Q:return Wv[(t-1)*4+2];case Mu.H:return Wv[(t-1)*4+3];default:return}};var ZU={},D2={};const um=new Uint8Array(512),ly=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)um[n]=t,ly[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)um[n]=um[n-255]})();D2.log=function(t){if(t<1)throw new Error("log("+t+")");return ly[t]};D2.exp=function(t){return um[t]};D2.mul=function(t,n){return t===0||n===0?0:um[ly[t]+ly[n]]};(function(e){const t=D2;e.mul=function(r,i){const o=new Uint8Array(r.length+i.length-1);for(let a=0;a<r.length;a++)for(let s=0;s<i.length;s++)o[a+s]^=t.mul(r[a],i[s]);return o},e.mod=function(r,i){let o=new Uint8Array(r);for(;o.length-i.length>=0;){const a=o[0];for(let l=0;l<i.length;l++)o[l]^=t.mul(i[l],a);let s=0;for(;s<o.length&&o[s]===0;)s++;o=o.slice(s)}return o},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let o=0;o<r;o++)i=e.mul(i,new Uint8Array([1,t.exp(o)]));return i}})(ZU);const JU=ZU;function N8(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}N8.prototype.initialize=function(t){this.degree=t,this.genPoly=JU.generateECPolynomial(this.degree)};N8.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const r=JU.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const o=new Uint8Array(this.degree);return o.set(r,i),o}return r};var Pme=N8,ez={},vc={},D8={};D8.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var tl={};const tz="[0-9]+",Ome="[A-Z $%*+\\-./:]+";let n0="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n0=n0.replace(/u/g,"\\u");const kme="(?:(?![A-Z0-9 $%*+\\-./:]|"+n0+`)(?:.|[\r
]))+`;tl.KANJI=new RegExp(n0,"g");tl.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");tl.BYTE=new RegExp(kme,"g");tl.NUMERIC=new RegExp(tz,"g");tl.ALPHANUMERIC=new RegExp(Ome,"g");const Nme=new RegExp("^"+n0+"$"),Dme=new RegExp("^"+tz+"$"),Lme=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");tl.testKanji=function(t){return Nme.test(t)};tl.testNumeric=function(t){return Dme.test(t)};tl.testAlphanumeric=function(t){return Lme.test(t)};(function(e){const t=D8,n=tl;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,a){if(e.isValid(o))return o;try{return r(o)}catch(s){return a}}})(vc);(function(e){const t=qo,n=N2,r=k2,i=vc,o=D8,a=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,s=t.getBCHDigit(a);function l(h,m,v){for(let y=1;y<=40;y++)if(m<=e.getCapacity(y,v,h))return y}function c(h,m){return i.getCharCountIndicator(h,m)+4}function d(h,m){let v=0;return h.forEach(function(y){const x=c(y.mode,m);v+=x+y.getBitsLength()}),v}function p(h,m){for(let v=1;v<=40;v++)if(d(h,v)<=e.getCapacity(v,m,i.MIXED))return v}e.from=function(m,v){return o.isValid(m)?parseInt(m,10):v},e.getCapacity=function(m,v,y){if(!o.isValid(m))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=i.BYTE);const x=t.getSymbolTotalCodewords(m),b=n.getTotalCodewordsCount(m,v),_=(x-b)*8;if(y===i.MIXED)return _;const S=_-c(y,m);switch(y){case i.NUMERIC:return Math.floor(S/10*3);case i.ALPHANUMERIC:return Math.floor(S/11*2);case i.KANJI:return Math.floor(S/13);case i.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(m,v){let y;const x=r.from(v,r.M);if(Array.isArray(m)){if(m.length>1)return p(m,x);if(m.length===0)return 1;y=m[0]}else y=m;return l(y.mode,y.getLength(),x)},e.getEncodedBits=function(m){if(!o.isValid(m)||m<7)throw new Error("Invalid QR Code version");let v=m<<12;for(;t.getBCHDigit(v)-s>=0;)v^=a<<t.getBCHDigit(v)-s;return m<<12|v}})(ez);var nz={};const nx=qo,rz=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,Mme=1<<14|1<<12|1<<10|1<<4|1<<1,YP=nx.getBCHDigit(rz);nz.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;nx.getBCHDigit(i)-YP>=0;)i^=rz<<nx.getBCHDigit(i)-YP;return(r<<10|i)^Mme};var iz={};const $me=vc;function Hf(e){this.mode=$me.NUMERIC,this.data=e.toString()}Hf.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Hf.prototype.getLength=function(){return this.data.length};Hf.prototype.getBitsLength=function(){return Hf.getBitsLength(this.data.length)};Hf.prototype.write=function(t){let n,r,i;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),i=parseInt(r,10),t.put(i,10);const o=this.data.length-n;o>0&&(r=this.data.substr(n),i=parseInt(r,10),t.put(i,o*3+1))};var Fme=Hf;const Bme=vc,lT=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Uf(e){this.mode=Bme.ALPHANUMERIC,this.data=e}Uf.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Uf.prototype.getLength=function(){return this.data.length};Uf.prototype.getBitsLength=function(){return Uf.getBitsLength(this.data.length)};Uf.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=lT.indexOf(this.data[n])*45;r+=lT.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(lT.indexOf(this.data[n]),6)};var Hme=Uf,Ume=function(t){for(var n=[],r=t.length,i=0;i<r;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&r>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-56320+65536,i+=1)}if(o<128){n.push(o);continue}if(o<2048){n.push(o>>6|192),n.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){n.push(o>>12|224),n.push(o>>6&63|128),n.push(o&63|128);continue}if(o>=65536&&o<=1114111){n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(o&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const zme=Ume,Gme=vc;function zf(e){this.mode=Gme.BYTE,typeof e=="string"&&(e=zme(e)),this.data=new Uint8Array(e)}zf.getBitsLength=function(t){return t*8};zf.prototype.getLength=function(){return this.data.length};zf.prototype.getBitsLength=function(){return zf.getBitsLength(this.data.length)};zf.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var Wme=zf;const jme=vc,Vme=qo;function Gf(e){this.mode=jme.KANJI,this.data=e}Gf.getBitsLength=function(t){return t*13};Gf.prototype.getLength=function(){return this.data.length};Gf.prototype.getBitsLength=function(){return Gf.getBitsLength(this.data.length)};Gf.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=Vme.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var Kme=Gf,oz={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,i){var o={},a={};a[r]=0;var s=t.PriorityQueue.make();s.push(r,0);for(var l,c,d,p,h,m,v,y,x;!s.empty();){l=s.pop(),c=l.value,p=l.cost,h=n[c]||{};for(d in h)h.hasOwnProperty(d)&&(m=h[d],v=p+m,y=a[d],x=typeof a[d]>"u",(x||y>v)&&(a[d]=v,s.push(d,v),o[d]=c))}if(typeof i<"u"&&typeof a[i]>"u"){var b=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(b)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],o=r;o;)i.push(o),n[o],o=n[o];return i.reverse(),i},find_path:function(n,r,i){var o=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(oz);(function(e){const t=vc,n=Fme,r=Hme,i=Wme,o=Kme,a=tl,s=qo,l=oz.exports;function c(b){return unescape(encodeURIComponent(b)).length}function d(b,_,S){const C=[];let O;for(;(O=b.exec(S))!==null;)C.push({data:O[0],index:O.index,mode:_,length:O[0].length});return C}function p(b){const _=d(a.NUMERIC,t.NUMERIC,b),S=d(a.ALPHANUMERIC,t.ALPHANUMERIC,b);let C,O;return s.isKanjiModeEnabled()?(C=d(a.BYTE,t.BYTE,b),O=d(a.KANJI,t.KANJI,b)):(C=d(a.BYTE_KANJI,t.BYTE,b),O=[]),_.concat(S,C,O).sort(function(R,N){return R.index-N.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function h(b,_){switch(_){case t.NUMERIC:return n.getBitsLength(b);case t.ALPHANUMERIC:return r.getBitsLength(b);case t.KANJI:return o.getBitsLength(b);case t.BYTE:return i.getBitsLength(b)}}function m(b){return b.reduce(function(_,S){const C=_.length-1>=0?_[_.length-1]:null;return C&&C.mode===S.mode?(_[_.length-1].data+=S.data,_):(_.push(S),_)},[])}function v(b){const _=[];for(let S=0;S<b.length;S++){const C=b[S];switch(C.mode){case t.NUMERIC:_.push([C,{data:C.data,mode:t.ALPHANUMERIC,length:C.length},{data:C.data,mode:t.BYTE,length:C.length}]);break;case t.ALPHANUMERIC:_.push([C,{data:C.data,mode:t.BYTE,length:C.length}]);break;case t.KANJI:_.push([C,{data:C.data,mode:t.BYTE,length:c(C.data)}]);break;case t.BYTE:_.push([{data:C.data,mode:t.BYTE,length:c(C.data)}])}}return _}function y(b,_){const S={},C={start:{}};let O=["start"];for(let A=0;A<b.length;A++){const R=b[A],N=[];for(let F=0;F<R.length;F++){const L=R[F],H=""+A+F;N.push(H),S[H]={node:L,lastCount:0},C[H]={};for(let j=0;j<O.length;j++){const Y=O[j];S[Y]&&S[Y].node.mode===L.mode?(C[Y][H]=h(S[Y].lastCount+L.length,L.mode)-h(S[Y].lastCount,L.mode),S[Y].lastCount+=L.length):(S[Y]&&(S[Y].lastCount=L.length),C[Y][H]=h(L.length,L.mode)+4+t.getCharCountIndicator(L.mode,_))}}O=N}for(let A=0;A<O.length;A++)C[O[A]].end=0;return{map:C,table:S}}function x(b,_){let S;const C=t.getBestModeForData(b);if(S=t.from(_,C),S!==t.BYTE&&S.bit<C.bit)throw new Error('"'+b+'" cannot be encoded with mode '+t.toString(S)+`.
 Suggested mode is: `+t.toString(C));switch(S===t.KANJI&&!s.isKanjiModeEnabled()&&(S=t.BYTE),S){case t.NUMERIC:return new n(b);case t.ALPHANUMERIC:return new r(b);case t.KANJI:return new o(b);case t.BYTE:return new i(b)}}e.fromArray=function(_){return _.reduce(function(S,C){return typeof C=="string"?S.push(x(C,null)):C.data&&S.push(x(C.data,C.mode)),S},[])},e.fromString=function(_,S){const C=p(_,s.isKanjiModeEnabled()),O=v(C),A=y(O,S),R=l.find_path(A.map,"start","end"),N=[];for(let F=1;F<R.length-1;F++)N.push(A.table[R[F]].node);return e.fromArray(m(N))},e.rawSplit=function(_){return e.fromArray(p(_,s.isKanjiModeEnabled()))}})(iz);const L2=qo,uT=k2,qme=Ame,Yme=Ime,Xme=YU,Qme=XU,rx=QU,ix=N2,Zme=Pme,uy=ez,Jme=nz,e0e=vc,cT=iz;function t0e(e,t){const n=e.size,r=Qme.getPositions(t);for(let i=0;i<r.length;i++){const o=r[i][0],a=r[i][1];for(let s=-1;s<=7;s++)if(!(o+s<=-1||n<=o+s))for(let l=-1;l<=7;l++)a+l<=-1||n<=a+l||(s>=0&&s<=6&&(l===0||l===6)||l>=0&&l<=6&&(s===0||s===6)||s>=2&&s<=4&&l>=2&&l<=4?e.set(o+s,a+l,!0,!0):e.set(o+s,a+l,!1,!0))}}function n0e(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function r0e(e,t){const n=Xme.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],o=n[r][1];for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a===-2||a===2||s===-2||s===2||a===0&&s===0?e.set(i+a,o+s,!0,!0):e.set(i+a,o+s,!1,!0)}}function i0e(e,t){const n=e.size,r=uy.getEncodedBits(t);let i,o,a;for(let s=0;s<18;s++)i=Math.floor(s/3),o=s%3+n-8-3,a=(r>>s&1)===1,e.set(i,o,a,!0),e.set(o,i,a,!0)}function dT(e,t,n){const r=e.size,i=Jme.getEncodedBits(t,n);let o,a;for(o=0;o<15;o++)a=(i>>o&1)===1,o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(r-15+o,8,a,!0),o<8?e.set(8,r-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(r-8,8,1,!0)}function o0e(e,t){const n=e.size;let r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let l=0;l<2;l++)if(!e.isReserved(i,s-l)){let c=!1;a<t.length&&(c=(t[a]>>>o&1)===1),e.set(i,s-l,c),o--,o===-1&&(a++,o=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function a0e(e,t,n){const r=new qme;n.forEach(function(l){r.put(l.mode.bit,4),r.put(l.getLength(),e0e.getCharCountIndicator(l.mode,e)),l.write(r)});const i=L2.getSymbolTotalCodewords(e),o=ix.getTotalCodewordsCount(e,t),a=(i-o)*8;for(r.getLengthInBits()+4<=a&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const s=(a-r.getLengthInBits())/8;for(let l=0;l<s;l++)r.put(l%2?17:236,8);return s0e(r,e,t)}function s0e(e,t,n){const r=L2.getSymbolTotalCodewords(t),i=ix.getTotalCodewordsCount(t,n),o=r-i,a=ix.getBlocksCount(t,n),s=r%a,l=a-s,c=Math.floor(r/a),d=Math.floor(o/a),p=d+1,h=c-d,m=new Zme(h);let v=0;const y=new Array(a),x=new Array(a);let b=0;const _=new Uint8Array(e.buffer);for(let R=0;R<a;R++){const N=R<l?d:p;y[R]=_.slice(v,v+N),x[R]=m.encode(y[R]),v+=N,b=Math.max(b,N)}const S=new Uint8Array(r);let C=0,O,A;for(O=0;O<b;O++)for(A=0;A<a;A++)O<y[A].length&&(S[C++]=y[A][O]);for(O=0;O<h;O++)for(A=0;A<a;A++)S[C++]=x[A][O];return S}function l0e(e,t,n,r){let i;if(Array.isArray(e))i=cT.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const d=cT.rawSplit(e);c=uy.getBestVersionForData(d,n)}i=cT.fromString(e,c||40)}else throw new Error("Invalid data");const o=uy.getBestVersionForData(i,n);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=o;else if(t<o)throw new Error(`
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: `+o+`.
`);const a=a0e(t,n,i),s=L2.getSymbolSize(t),l=new Yme(s);return t0e(l,t),n0e(l),r0e(l,t),dT(l,n,0),t>=7&&i0e(l,t),o0e(l,a),isNaN(r)&&(r=rx.getBestMask(l,dT.bind(null,l,n))),rx.applyMask(r,l),dT(l,n,r),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}KU.create=function(t,n){if(typeof t>"u"||t==="")throw new Error("No input text");let r=uT.M,i,o;return typeof n<"u"&&(r=uT.from(n.errorCorrectionLevel,uT.M),i=uy.from(n.version),o=rx.from(n.maskPattern),n.toSJISFunc&&L2.setToSJISFunction(n.toSJISFunc)),l0e(t,i,r,o)};var az={},L8={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,a=r.scale||4;return{width:o,scale:o?4:a,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const o=e.getScale(r,i);return Math.floor((r+i.margin*2)*o)},e.qrToImageData=function(r,i,o){const a=i.modules.size,s=i.modules.data,l=e.getScale(a,o),c=Math.floor((a+o.margin*2)*l),d=o.margin*l,p=[o.color.light,o.color.dark];for(let h=0;h<c;h++)for(let m=0;m<c;m++){let v=(h*c+m)*4,y=o.color.light;if(h>=d&&m>=d&&h<c-d&&m<c-d){const x=Math.floor((h-d)/l),b=Math.floor((m-d)/l);y=p[s[x*a+b]?1:0]}r[v++]=y.r,r[v++]=y.g,r[v++]=y.b,r[v]=y.a}}})(L8);(function(e){const t=L8;function n(i,o,a){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function r(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,a,s){let l=s,c=a;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),a||(c=r()),l=t.getOptions(l);const d=t.getImageWidth(o.modules.size,l),p=c.getContext("2d"),h=p.createImageData(d,d);return t.qrToImageData(h.data,o,l),n(p,c,d),p.putImageData(h,0,0),c},e.renderToDataURL=function(o,a,s){let l=s;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),l||(l={});const c=e.render(o,a,l),d=l.type||"image/png",p=l.rendererOpts||{};return c.toDataURL(d,p.quality)}})(az);var sz={};const u0e=L8;function XP(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function fT(e,t,n){let r=e+t;return typeof n<"u"&&(r+=" "+n),r}function c0e(e,t,n){let r="",i=0,o=!1,a=0;for(let s=0;s<e.length;s++){const l=Math.floor(s%t),c=Math.floor(s/t);!l&&!o&&(o=!0),e[s]?(a++,s>0&&l>0&&e[s-1]||(r+=o?fT("M",l+n,.5+c+n):fT("m",i,0),i=0,o=!1),l+1<t&&e[s+1]||(r+=fT("h",a),a=0)):i++}return r}sz.render=function(t,n,r){const i=u0e.getOptions(n),o=t.modules.size,a=t.modules.data,s=o+i.margin*2,l=i.color.light.a?"<path "+XP(i.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",c="<path "+XP(i.color.dark,"stroke")+' d="'+c0e(a,o,i.margin)+'"/>',d='viewBox="0 0 '+s+" "+s+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+d+' shape-rendering="crispEdges">'+l+c+`</svg>
`;return typeof r=="function"&&r(null,h),h};const d0e=Cme,ox=KU,lz=az,f0e=sz;function M8(e,t,n,r,i){const o=[].slice.call(arguments,1),a=o.length,s=typeof o[a-1]=="function";if(!s&&!d0e())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(i=n,n=t,t=r=void 0):a===3&&(t.getContext&&typeof i>"u"?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(n=t,t=r=void 0):a===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(l,c){try{const d=ox.create(n,r);l(e(d,t,r))}catch(d){c(d)}})}try{const l=ox.create(n,r);i(null,e(l,t,r))}catch(l){i(l)}}V0.create=ox.create;V0.toCanvas=M8.bind(null,lz.render);V0.toDataURL=M8.bind(null,lz.renderToDataURL);V0.toString=M8.bind(null,function(e,t,n){return f0e.render(e,n)});const uz=e=>{const t=/^([\w.%+-]+)@([\w-]+\.)+([\w]{2,})$/i,n=e.match(t);return!!n&&n.length>0},p0e=`
Welcome to <%= buildingName %>,

<br />

Please use the link below for direction to: **<%= destination %>**

<br />

[<%= link %>](<%= link %>)

<br />
Kind Regards, <br />
<%= buildingName %>
`;class h0e{constructor(){Ne(this,"_base",new ds("HomePageStore"));Ne(this,"_loading",!1);Ne(this,"_error");Ne(this,"_qr");Ne(this,"_useShortLink",!1);Ne(this,"_sendingEmail",!1);Ne(this,"_emails",[]);Ne(this,"_emailTemplates",{});Oa(this,{updateQRCode:$i.bound})}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get loading(){return this._loading}get qr(){return this._qr}get error(){return this._error}get useShortLink(){return this._useShortLink}get sendingEmail(){return this._sendingEmail}get emails(){return this._emails}get emailTemplate(){var n;return ae.get(this._emailTemplates,[((n=ga.selectedLanguage)==null?void 0:n.id)||"en","template"])||p0e}renderTemplate(t){var i,o,a;const n=this.emailTemplate,r=ae.chain(n.match(ae.templateSettings.interpolate)).map(s=>ae.trim(s.replace(new RegExp(/[^A-Za-z]/,"g"),""))).zipObject().value();return ae.template(n)({...r,buildingId:(i=yn.building)==null?void 0:i.id,buildingName:(o=yn.building)==null?void 0:o.name,link:t,destination:(a=ui.endDestination)==null?void 0:a.label})}setEmails(t){t.some(n=>!uz(n))||(this._emails=t)}async initialize(){var t;!await this._base.startInitialize()||(await Promise.all([vt.initialize(),yn.initialize(),ga.initialize(),ui.initialize()]),(t=yn.building)!=null&&t.id&&await this.loadTemplate(yn.building.id),this.updateQRCode(),Gi(()=>this.localURL,async()=>{await this.updateQRCode()}),Gi(()=>yn.building,async n=>{!n||await this.loadTemplate(n.id)}),this._base.finishInitialize())}toggleUseShortLink(t){this._useShortLink=t!=null?t:!this._useShortLink}get localURL(){const{WheelChair:t,buildingId:n,fixStart:r,nodeFrom:i,nodeTo:o,routeLang:a,MultiBuilding:s,followups:l,loadedFollowups:c}=vt.params,d=new URL(`${location.origin}${location.pathname}`),p=ae.omitBy({buildingId:n==null?void 0:n.toString(),nodeFrom:i,nodeTo:o,routeLang:a,WheelChair:t?"true":void 0,fixStart:r?"true":void 0,channel:void 0,MultiBuilding:s?s.join(";"):void 0,followups:l?l.join(";"):void 0,loadedFollowups:c?c.join(";"):void 0},ae.isNil),h=new URLSearchParams(p);return d.search="?"+h.toString(),d.href}async getShortLink(t){const n=new URL(this.localURL);return t&&n.searchParams.set("channel",t),bt.getShortLink(n.href).catch(r=>(this._error=ae.get(r,"message","Error generating short link"),""))}async loadTemplate(t){const n=await bt.getEmailTemplates(t);Pr(()=>{this._emailTemplates=ae.keyBy(n,"languageIETF")})}async updateQRCode(){var i;this._loading=!0;const t=new URL(this.localURL);t.searchParams.set("channel",os.QRHome);const n=await bt.generateShortLink((i=yn.building)==null?void 0:i.id,t.href);let r;try{r=await V0.toDataURL(n,{margin:0,errorCorrectionLevel:"quartile"})}catch(o){console.log("Error generating QR code",o),this._error="Error generating QR code"}Pr(()=>{this._qr=r,this._loading=!1})}async sendEmail(t,n){var i;if(this._sendingEmail=!0,!yn.building)return;const r={email:{buildingId:(i=yn.building)==null?void 0:i.id,content:t,address:n}};try{await bt.sendEmail(r),this._error=void 0}catch(o){console.log("Error sending email",o),this._error="Error sending email"}Pr(()=>{this._sendingEmail=!1})}}const m0e=new h0e,cz=window.self!==window.top;function Wf(e){return`/modern//${Qm.exports.trimStart(e,"/")}`}const g0e=new RegExp("((?<angle>\\d+)\\.png)$|(?<file>[-_.\\w\\d]+.png)$");class v0e{constructor(){Ne(this,"_base",new ds("PathFinderStore"));Ne(this,"_loading",!1);Ne(this,"_path");Ne(this,"_error");Ne(this,"_progress");Ne(this,"_userRated");Ne(this,"_userRating");Ne(this,"_starRating");Ne(this,"_loadedStops",[]);Ne(this,"_currentPathIndex",0);Oa(this,{setProgressPosition:$i.bound,loadPrimaryPath:$i.bound,syncStops:$i.bound,setCurrentPathIndex:$i.bound,loadStopById:$i.bound})}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get loading(){return this._loading}get path(){return this._path}get currentPath(){return this.paths[this._currentPathIndex]}get currentPathIndex(){return this._currentPathIndex}get error(){return this._error}get userRated(){return this._userRated}get userRating(){return this._userRating}get starRating(){return this._starRating}get progressPosition(){var t;return(t=this._progress)!=null?t:0}get progress(){const t=this.currentPath;if(!t)return 0;const r=t.data.slice(0,t.data.length-1).map(s=>s.pathLength),i=ae.sum(r),o=this._progress&&this._progress>0?this._progress-1:0,a=ae.sum(r.slice(0,o))||0;return this._progress?Math.round(a/i*100):0}get estimatedTime(){const t=this.currentPath;if(!t)return 0;const r=t.data.slice(0,t.data.length-1).map(d=>d.pathLength),i=ae.sum(r),o=r.map(d=>d/i),a=t.time*60,s=o.map(d=>d*a),l=this._progress&&this._progress>0?this._progress-1:0,c=ae.sum(s.slice(0,l));return Math.round((a-c)/60)||0}get paths(){return this._path?[this._path,...this._loadedStops]:[]}get nextStop(){const t=ae.first(vt.params.followups);return t?ui.destinationMap[t]:void 0}setCurrentPathIndex(t){const n=ae.clamp(t,0,this.paths.length-1);n!==this._currentPathIndex&&(this._currentPathIndex=n,this._progress=0)}setProgressPosition(t){this._progress=t}setUserRating(t){if(!!this._path)return this._userRating=t,this._userRated=!!t,bt.patchStatistic(this._path.statisticId,{found:t==="yes"?!0:t==="no"?!1:null})}setFeedback(t){return this._path?bt.patchStatistic(this._path.statisticId,{feedback:t}):Promise.reject("No route seelcted")}setStarRating(t){if(!!this._path)return this._starRating=t,bt.patchStatistic(this._path.statisticId,{rating:t})}loadStopById(t){var r;const n=(r=vt.params.loadedFollowups)!=null?r:[];Pr(()=>{vt.updateQueryParams({loadedFollowups:[...n,t],showFollowup:void 0})})}loadNextStop(){var n,r,i;const t=(n=this.nextStop)==null?void 0:n.id;!t||vt.updateQueryParams({loadedFollowups:[...(r=vt.params.loadedFollowups)!=null?r:[],t],followups:(i=vt.params.followups)==null?void 0:i.slice(1)})}async initialize(){!await this._base.startInitialize()||(await Promise.all([vt.initialize(),yn.initialize(),ui.initialize()]),Gi(()=>{const t=vt.params;return{WheelChair:t.WheelChair,routeLang:t.routeLang,start:t.nodeFrom,end:t.nodeTo}},(t,n,r)=>{(t.WheelChair!==n.WheelChair||t.routeLang!==n.routeLang||t.start!==n.start||t.end!==n.end)&&this.loadPrimaryPath()}),Gi(()=>vt.params.loadedFollowups,(t,n)=>{ae.isEqual(t,n)||this.syncStops()}),this.loadPrimaryPath(),this._base.finishInitialize())}async loadPrimaryPath(){var a,s,l,c,d;const{nodeFrom:t,nodeTo:n}=vt.params;if(!t||!n){this._path=void 0;return}const r=ui.destinationMap[t],i=ui.destinationMap[n];if((r==null?void 0:r.id)===(i==null?void 0:i.id)){this._error="Same start and end",this._path=void 0;return}Pr(()=>{this._path=void 0,this._error=void 0,this._progress=void 0,this._userRated=void 0,this._userRating=void 0,this._starRating=void 0,this._loadedStops=[],this._currentPathIndex=0,this._loading=!0}),vt.updateQueryParams({loadedFollowups:void 0,followups:[...(a=vt.params.loadedFollowups)!=null?a:[],...(s=vt.params.followups)!=null?s:[]]});const o=await this.fetchPath(t,n,Mn.RouteChange);if(o){const p=((c=(l=tx.settings)==null?void 0:l.firstReport)==null?void 0:c.id)===((d=ui.destinationMap[n])==null?void 0:d.id)?tx.reportFirstTemplate:void 0;Pr(()=>{const h=this._processPath(o);h.data[h.data.length-1].reportInstruction=p,this._path={...h,from:ui.destinationMap[t],to:ui.destinationMap[n]}})}Pr(()=>{this._loading=!1})}async syncStops(){var i;if(!this._path)return;this._loading=!0;const t=ae.keyBy(this._loadedStops,"to.id"),n=[this._path.to.id,...(i=vt.params.loadedFollowups)!=null?i:[]],r=[];for(let o=1;o<n.length;o++){const a=n[o-1],s=n[o];t[s]?r.push(Promise.resolve(t[s])):r.push(this.fetchPath(a,s,Mn.StopLoaded,!0))}try{const o=await Promise.all(r);Pr(()=>{this._loadedStops=o.filter(Boolean)})}catch(o){this._error="Error loading stops"}Pr(()=>{this._loading=!1})}async fetchPath(t,n,r,i){try{const o=Date.now(),a={...vt.params,nodeFrom:t,nodeTo:n,channel:i?os.FollowUp:vt.params.channel},s=await bt.fetchPathFinder(a,Ru.sessionUUID),l=Date.now();if(s)return vt.updateQueryParams({channel:cz?os.CMSPhotoRoute:void 0}),Ru.log(r,{sessionUUID:s.sessionUUID,timestamp:o,from:vt.params.nodeFrom,to:vt.params.nodeTo,loadTime:l-o,statisticId:s.statisticId,distance:s.distance,photoCount:s.data.length,buiildingId:s.buildingId}),Ru.sessionUUID||Ru.setSessionUUID(s.sessionUUID),{from:ui.destinationMap[t],to:ui.destinationMap[n],...this._processPath(s)}}catch(o){Pr(()=>{this._error="No route found between selected destinations"})}}reset({removeFollowups:t=!1,logAnalytics:n=!1}={}){var r,i;this._path&&n&&Ru.log(Mn.RouteReset,{from:vt.params.nodeFrom,to:vt.params.nodeTo,statisticId:this._path.statisticId}),this._path=void 0,this._error=void 0,this._progress=void 0,this._userRated=void 0,this._userRating=void 0,this._starRating=void 0,this._loadedStops=[],this._loading=!1,t?vt.updateQueryParams({loadedFollowups:void 0,followups:void 0}):vt.updateQueryParams({loadedFollowups:void 0,followups:[...(r=vt.params.loadedFollowups)!=null?r:[],...(i=vt.params.followups)!=null?i:[]]})}_processPath(t){var o;const n=yn.connections,r=yn.nodes,i={...t,isMetricUnit:((o=yn.building)==null?void 0:o.default_unit)==="metrics",data:t.data.map(a=>{var v,y;const s=n[a.connectionId],l=r[s.nodeIdFrom],c=r[s.nodeIdTo],d=l.floorPlanId!==c.floorPlanId?void 0:yn.floorPlans[l.floorPlanId],p=yn.getZoneForNode(l),h={...a,connection:{nodeFrom:l,nodeTo:c,...s},floor:d,zone:p&&{...p,url:p.image?yn.getPhotoURL(p==null?void 0:p.image):void 0}},m=(v=a.icon)==null?void 0:v.match(g0e);if((y=m==null?void 0:m.groups)!=null&&y.angle){let x=+m.groups.angle;x>=10&&x<=60?x=60:x>=170&&x<=190?x=180:x>=300&&x<=350&&(x=300),h.angle=x&&(x+180)%360}return h.file=m?m[0]:void 0,h})};return ae.chain(i.data).groupBy(a=>a.connectionId).forEach(a=>{a=a.sort((s,l)=>l.count-s.count),a.slice(1).forEach(s=>s.advertisementI18n=[])}).value(),i}}const y0e=new v0e;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}function $e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function dz(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var b0e=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,E0e=dz(function(e){return b0e.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function T0e(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function _0e(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var S0e=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(_0e(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=T0e(i);try{o.insertRule(r,o.cssRules.length)}catch(a){}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),zt="-ms-",Nl="-moz-",ct="-webkit-",cy="comm",D1="rule",q0="decl",x0e="@media",fz="@import",C0e="@supports",M2="@keyframes",w0e=Math.abs,$2=String.fromCharCode,A0e=Object.assign;function pz(e,t){return Jn(e,0)^45?(((t<<2^Jn(e,0))<<2^Jn(e,1))<<2^Jn(e,2))<<2^Jn(e,3):0}function hz(e){return e.trim()}function _l(e,t){return(e=t.exec(e))?e[0]:e}function ot(e,t,n){return e.replace(t,n)}function pf(e,t){return e.indexOf(t)}function Jn(e,t){return e.charCodeAt(t)|0}function jf(e,t,n){return e.slice(t,n)}function ca(e){return e.length}function $8(e){return e.length}function jv(e,t){return t.push(e),e}function mz(e,t){return e.map(t).join("")}var F2=1,Vf=1,gz=0,vo=0,Or=0,bp="";function B2(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:F2,column:Vf,length:a,return:""}}function Ls(e,t){return A0e(B2("",null,null,"",null,null,0),e,{length:-e.length},t)}function I0e(){return Or}function R0e(){return Or=vo>0?Jn(bp,--vo):0,Vf--,Or===10&&(Vf=1,F2--),Or}function Ho(){return Or=vo<gz?Jn(bp,vo++):0,Vf++,Or===10&&(Vf=1,F2++),Or}function Ws(){return Jn(bp,vo)}function Q5(){return vo}function Y0(e,t){return jf(bp,e,t)}function r0(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vz(e){return F2=Vf=1,gz=ca(bp=e),vo=0,[]}function yz(e){return bp="",e}function Z5(e){return hz(Y0(vo-1,ax(e===91?e+2:e===40?e+1:e)))}function P0e(e){for(;(Or=Ws())&&Or<33;)Ho();return r0(e)>2||r0(Or)>3?"":" "}function O0e(e,t){for(;--t&&Ho()&&!(Or<48||Or>102||Or>57&&Or<65||Or>70&&Or<97););return Y0(e,Q5()+(t<6&&Ws()==32&&Ho()==32))}function ax(e){for(;Ho();)switch(Or){case e:return vo;case 34:case 39:e!==34&&e!==39&&ax(Or);break;case 40:e===41&&ax(e);break;case 92:Ho();break}return vo}function k0e(e,t){for(;Ho()&&e+Or!==47+10;)if(e+Or===42+42&&Ws()===47)break;return"/*"+Y0(t,vo-1)+"*"+$2(e===47?e:Ho())}function N0e(e){for(;!r0(Ws());)Ho();return Y0(e,vo)}function bz(e){return yz(J5("",null,null,null,[""],e=vz(e),0,[0],e))}function J5(e,t,n,r,i,o,a,s,l){for(var c=0,d=0,p=a,h=0,m=0,v=0,y=1,x=1,b=1,_=0,S="",C=i,O=o,A=r,R=S;x;)switch(v=_,_=Ho()){case 40:if(v!=108&&Jn(R,p-1)==58){pf(R+=ot(Z5(_),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:R+=Z5(_);break;case 9:case 10:case 13:case 32:R+=P0e(v);break;case 92:R+=O0e(Q5()-1,7);continue;case 47:switch(Ws()){case 42:case 47:jv(D0e(k0e(Ho(),Q5()),t,n),l);break;default:R+="/"}break;case 123*y:s[c++]=ca(R)*b;case 125*y:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+d:m>0&&ca(R)-p&&jv(m>32?ZP(R+";",r,n,p-1):ZP(ot(R," ","")+";",r,n,p-2),l);break;case 59:R+=";";default:if(jv(A=QP(R,t,n,c,d,i,s,S,C=[],O=[],p),o),_===123)if(d===0)J5(R,t,A,A,C,o,p,s,O);else switch(h===99&&Jn(R,3)===110?100:h){case 100:case 109:case 115:J5(e,A,A,r&&jv(QP(e,A,A,0,0,i,s,S,i,C=[],p),O),i,O,p,s,r?C:O);break;default:J5(R,A,A,A,[""],O,0,s,O)}}c=d=m=0,y=b=1,S=R="",p=a;break;case 58:p=1+ca(R),m=v;default:if(y<1){if(_==123)--y;else if(_==125&&y++==0&&R0e()==125)continue}switch(R+=$2(_),_*y){case 38:b=d>0?1:(R+="\f",-1);break;case 44:s[c++]=(ca(R)-1)*b,b=1;break;case 64:Ws()===45&&(R+=Z5(Ho())),h=Ws(),d=p=ca(S=R+=N0e(Q5())),_++;break;case 45:v===45&&ca(R)==2&&(y=0)}}return o}function QP(e,t,n,r,i,o,a,s,l,c,d){for(var p=i-1,h=i===0?o:[""],m=$8(h),v=0,y=0,x=0;v<r;++v)for(var b=0,_=jf(e,p+1,p=w0e(y=a[v])),S=e;b<m;++b)(S=hz(y>0?h[b]+" "+_:ot(_,/&\f/g,h[b])))&&(l[x++]=S);return B2(e,t,n,i===0?D1:s,l,c,d)}function D0e(e,t,n){return B2(e,t,n,cy,$2(I0e()),jf(e,2,-2),0)}function ZP(e,t,n,r){return B2(e,t,n,q0,jf(e,0,r),jf(e,r+1,-1),r)}function Ez(e,t,n){switch(pz(e,t)){case 5103:return ct+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ct+e+e;case 4789:return Nl+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ct+e+Nl+e+zt+e+e;case 5936:switch(Jn(e,t+11)){case 114:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ct+e+zt+e+e;case 6165:return ct+e+zt+"flex-"+e+e;case 5187:return ct+e+ot(e,/(\w+).+(:[^]+)/,ct+"box-$1$2"+zt+"flex-$1$2")+e;case 5443:return ct+e+zt+"flex-item-"+ot(e,/flex-|-self/g,"")+(_l(e,/flex-|baseline/)?"":zt+"grid-row-"+ot(e,/flex-|-self/g,""))+e;case 4675:return ct+e+zt+"flex-line-pack"+ot(e,/align-content|flex-|-self/g,"")+e;case 5548:return ct+e+zt+ot(e,"shrink","negative")+e;case 5292:return ct+e+zt+ot(e,"basis","preferred-size")+e;case 6060:return ct+"box-"+ot(e,"-grow","")+ct+e+zt+ot(e,"grow","positive")+e;case 4554:return ct+ot(e,/([^-])(transform)/g,"$1"+ct+"$2")+e;case 6187:return ot(ot(ot(e,/(zoom-|grab)/,ct+"$1"),/(image-set)/,ct+"$1"),e,"")+e;case 5495:case 3959:return ot(e,/(image-set\([^]*)/,ct+"$1$`$1");case 4968:return ot(ot(e,/(.+:)(flex-)?(.*)/,ct+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ct+e+e;case 4200:if(!_l(e,/flex-|baseline/))return zt+"grid-column-align"+jf(e,t)+e;break;case 2592:case 3360:return zt+ot(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,_l(r.props,/grid-\w+-end/)})?~pf(e+(n=n[t].value),"span")?e:zt+ot(e,"-start","")+e+zt+"grid-row-span:"+(~pf(n,"span")?_l(n,/\d+/):+_l(n,/\d+/)-+_l(e,/\d+/))+";":zt+ot(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return _l(r.props,/grid-\w+-start/)})?e:zt+ot(ot(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ot(e,/(.+)-inline(.+)/,ct+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ca(e)-1-t>6)switch(Jn(e,t+1)){case 109:if(Jn(e,t+4)!==45)break;case 102:return ot(e,/(.+:)(.+)-([^]+)/,"$1"+ct+"$2-$3$1"+Nl+(Jn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pf(e,"stretch")?Ez(ot(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ot(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,a,s,l,c){return zt+i+":"+o+c+(a?zt+i+"-span:"+(s?l:+l-+o)+c:"")+e});case 4949:if(Jn(e,t+6)===121)return ot(e,":",":"+ct)+e;break;case 6444:switch(Jn(e,Jn(e,14)===45?18:11)){case 120:return ot(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ct+(Jn(e,14)===45?"inline-":"")+"box$3$1"+ct+"$2$3$1"+zt+"$2box$3")+e;case 100:return ot(e,":",":"+zt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ot(e,"scroll-","scroll-snap-")+e}return e}function js(e,t){for(var n="",r=$8(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function L0e(e,t,n,r){switch(e.type){case fz:case q0:return e.return=e.return||e.value;case cy:return"";case M2:return e.return=e.value+"{"+js(e.children,r)+"}";case D1:e.value=e.props.join(",")}return ca(n=js(e.children,r))?e.return=e.value+"{"+n+"}":""}function M0e(e){var t=$8(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function $0e(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tz(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case q0:e.return=Ez(e.value,e.length,n);return;case M2:return js([Ls(e,{value:ot(e.value,"@","@"+ct)})],r);case D1:if(e.length)return mz(e.props,function(i){switch(_l(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return js([Ls(e,{props:[ot(i,/:(read-\w+)/,":"+Nl+"$1")]})],r);case"::placeholder":return js([Ls(e,{props:[ot(i,/:(plac\w+)/,":"+ct+"input-$1")]}),Ls(e,{props:[ot(i,/:(plac\w+)/,":"+Nl+"$1")]}),Ls(e,{props:[ot(i,/:(plac\w+)/,zt+"input-$1")]})],r)}return""})}}var F0e=function(t,n,r){for(var i=0,o=0;i=o,o=Ws(),i===38&&o===12&&(n[r]=1),!r0(o);)Ho();return Y0(t,vo)},B0e=function(t,n){var r=-1,i=44;do switch(r0(i)){case 0:i===38&&Ws()===12&&(n[r]=1),t[r]+=F0e(vo-1,n,r);break;case 2:t[r]+=Z5(i);break;case 4:if(i===44){t[++r]=Ws()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=$2(i)}while(i=Ho());return t},H0e=function(t,n){return yz(B0e(vz(t),n))},JP=new WeakMap,U0e=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!JP.get(r))&&!i){JP.set(t,!0);for(var o=[],a=H0e(n,o),s=r.props,l=0,c=0;l<a.length;l++)for(var d=0;d<s.length;d++,c++)t.props[c]=o[l]?a[l].replace(/&\f/g,s[d]):s[d]+" "+a[l]}}},z0e=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function _z(e,t){switch(pz(e,t)){case 5103:return ct+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ct+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ct+e+Nl+e+zt+e+e;case 6828:case 4268:return ct+e+zt+e+e;case 6165:return ct+e+zt+"flex-"+e+e;case 5187:return ct+e+ot(e,/(\w+).+(:[^]+)/,ct+"box-$1$2"+zt+"flex-$1$2")+e;case 5443:return ct+e+zt+"flex-item-"+ot(e,/flex-|-self/,"")+e;case 4675:return ct+e+zt+"flex-line-pack"+ot(e,/align-content|flex-|-self/,"")+e;case 5548:return ct+e+zt+ot(e,"shrink","negative")+e;case 5292:return ct+e+zt+ot(e,"basis","preferred-size")+e;case 6060:return ct+"box-"+ot(e,"-grow","")+ct+e+zt+ot(e,"grow","positive")+e;case 4554:return ct+ot(e,/([^-])(transform)/g,"$1"+ct+"$2")+e;case 6187:return ot(ot(ot(e,/(zoom-|grab)/,ct+"$1"),/(image-set)/,ct+"$1"),e,"")+e;case 5495:case 3959:return ot(e,/(image-set\([^]*)/,ct+"$1$`$1");case 4968:return ot(ot(e,/(.+:)(flex-)?(.*)/,ct+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ct+e+e;case 4095:case 3583:case 4068:case 2532:return ot(e,/(.+)-inline(.+)/,ct+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ca(e)-1-t>6)switch(Jn(e,t+1)){case 109:if(Jn(e,t+4)!==45)break;case 102:return ot(e,/(.+:)(.+)-([^]+)/,"$1"+ct+"$2-$3$1"+Nl+(Jn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pf(e,"stretch")?_z(ot(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Jn(e,t+1)!==115)break;case 6444:switch(Jn(e,ca(e)-3-(~pf(e,"!important")&&10))){case 107:return ot(e,":",":"+ct)+e;case 101:return ot(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ct+(Jn(e,14)===45?"inline-":"")+"box$3$1"+ct+"$2$3$1"+zt+"$2box$3")+e}break;case 5936:switch(Jn(e,t+11)){case 114:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ct+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ct+e+zt+e+e}return e}var G0e=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case q0:t.return=_z(t.value,t.length);break;case M2:return js([Ls(t,{value:ot(t.value,"@","@"+ct)})],i);case D1:if(t.length)return mz(t.props,function(o){switch(_l(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return js([Ls(t,{props:[ot(o,/:(read-\w+)/,":"+Nl+"$1")]})],i);case"::placeholder":return js([Ls(t,{props:[ot(o,/:(plac\w+)/,":"+ct+"input-$1")]}),Ls(t,{props:[ot(o,/:(plac\w+)/,":"+Nl+"$1")]}),Ls(t,{props:[ot(o,/:(plac\w+)/,zt+"input-$1")]})],i)}return""})}},W0e=[G0e],H2=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var x=y.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||W0e,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var x=y.getAttribute("data-emotion").split(" "),b=1;b<x.length;b++)o[x[b]]=!0;s.push(y)});var l,c=[U0e,z0e];{var d,p=[L0e,$0e(function(y){d.insert(y)})],h=M0e(c.concat(i,p)),m=function(x){return js(bz(x),h)};l=function(x,b,_,S){d=_,m(x?x+"{"+b.styles+"}":b.styles),S&&(v.inserted[b.name]=!0)}}var v={key:n,sheet:new S0e({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return v.sheet.hydrate(s),v},j0e=!0;function V0e(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Sz=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||j0e===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},xz=function(t,n,r){Sz(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function K0e(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var q0e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Y0e=/[A-Z]|^ms/g,X0e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Cz=function(t){return t.charCodeAt(1)===45},eO=function(t){return t!=null&&typeof t!="boolean"},pT=dz(function(e){return Cz(e)?e:e.replace(Y0e,"-$&").toLowerCase()}),tO=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(X0e,function(r,i,o){return Os={name:i,styles:o,next:Os},i})}return q0e[t]!==1&&!Cz(t)&&typeof n=="number"&&n!==0?n+"px":n};function i0(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Os={name:n.name,styles:n.styles,next:Os},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Os={name:r.name,styles:r.styles,next:Os},r=r.next;var i=n.styles+";";return i}return Q0e(e,t,n)}case"function":{if(e!==void 0){var o=Os,a=n(e);return Os=o,i0(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Q0e(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=i0(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object")t!=null&&t[a]!==void 0?r+=o+"{"+t[a]+"}":eO(a)&&(r+=pT(o)+":"+tO(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)eO(a[s])&&(r+=pT(o)+":"+tO(o,a[s])+";");else{var l=i0(e,t,a);switch(o){case"animation":case"animationName":{r+=pT(o)+":"+l+";";break}default:r+=o+"{"+l+"}"}}}return r}var nO=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Os,F8=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Os=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=i0(r,n,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=i0(r,n,t[s]),i&&(o+=a[s]);nO.lastIndex=0;for(var l="",c;(c=nO.exec(o))!==null;)l+="-"+c[1];var d=K0e(o)+l;return{name:d,styles:o,next:Os}},Z0e=function(t){return t()},wz=S1["useInsertionEffect"]?S1["useInsertionEffect"]:!1,J0e=wz||Z0e,rO=wz||T.exports.useLayoutEffect,Az=T.exports.createContext(typeof HTMLElement<"u"?H2({key:"css"}):null),Iz=Az.Provider,Rz=function(t){return T.exports.forwardRef(function(n,r){var i=T.exports.useContext(Az);return t(n,i,r)})},B8=T.exports.createContext({}),ege=Rz(function(e,t){var n=e.styles,r=F8([n],void 0,T.exports.useContext(B8)),i=T.exports.useRef();return rO(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),rO(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&xz(t,r.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function Kf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return F8(t)}var yc=function(){var t=Kf.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},tge=E0e,nge=function(t){return t!=="theme"},iO=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?tge:nge},oO=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},rge=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Sz(n,r,i),J0e(function(){return xz(n,r,i)}),null},ige=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=oO(t,n,r),l=s||iO(i),c=!l("as");return function(){var d=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{p.push(d[0][0]);for(var h=d.length,m=1;m<h;m++)p.push(d[m],d[0][m])}var v=Rz(function(y,x,b){var _=c&&y.as||i,S="",C=[],O=y;if(y.theme==null){O={};for(var A in y)O[A]=y[A];O.theme=T.exports.useContext(B8)}typeof y.className=="string"?S=V0e(x.registered,C,y.className):y.className!=null&&(S=y.className+" ");var R=F8(p.concat(C),x.registered,O);S+=x.key+"-"+R.name,a!==void 0&&(S+=" "+a);var N=c&&s===void 0?iO(_):l,F={};for(var L in y)c&&L==="as"||N(L)&&(F[L]=y[L]);return F.className=S,F.ref=b,T.exports.createElement(T.exports.Fragment,null,T.exports.createElement(rge,{cache:x,serialized:R,isStringTag:typeof _=="string"}),T.exports.createElement(_,F))});return v.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=i,v.__emotion_styles=p,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return"."+a}}),v.withComponent=function(y,x){return e(y,P({},n,x,{shouldForwardProp:oO(v,x,!0)})).apply(void 0,p)},v}},oge=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],sx=ige.bind();oge.forEach(function(e){sx[e]=sx(e)});const age=sx;var Nt={exports:{}},sge="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lge=sge,uge=lge;function Pz(){}function Oz(){}Oz.resetWarningCache=Pz;var cge=function(){function e(r,i,o,a,s,l){if(l!==uge){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Oz,resetWarningCache:Pz};return n.PropTypes=n,n};Nt.exports=cge();const dge=H2({key:"css",prepend:!0});function fge(e){const{injectFirst:t,children:n}=e;return t?E(Iz,{value:dge,children:n}):n}function pge(e){return e==null||Object.keys(e).length===0}function cm(e){const{styles:t,defaultTheme:n={}}=e;return E(ege,{styles:typeof t=="function"?i=>t(pge(i)?n:i):t})}/** @license MUI v5.10.16
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function kz(e,t){return age(e,t)}const hge=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},mge={},gge=mge;function Fh(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Ai(e,t,n={clone:!0}){const r=n.clone?P({},e):e;return Fh(e)&&Fh(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Fh(t[i])&&i in e&&Fh(e[i])?r[i]=Ai(e[i],t[i],n):r[i]=t[i])}),r}function Wl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Se(e){if(typeof e!="string")throw new Error(Wl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function lx(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function U2(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function vge(e,t){return()=>null}function dm(e,t){return T.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Tr(e){return e&&e.ownerDocument||document}function Ys(e){return Tr(e).defaultView||window}function yge(e,t){return()=>null}function o0(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const bge=typeof window<"u"?T.exports.useLayoutEffect:T.exports.useEffect,Wo=bge;let aO=0;function Ege(e){const[t,n]=T.exports.useState(e),r=e||t;return T.exports.useEffect(()=>{t==null&&(aO+=1,n(`mui-${aO}`))},[t]),r}const sO=S1["useId"];function X0(e){if(sO!==void 0){const t=sO();return e!=null?e:t}return Ege(e)}function Tge(e,t,n,r,i){return null}function Dl({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=T.exports.useRef(e!==void 0),[o,a]=T.exports.useState(t),s=i?e:o,l=T.exports.useCallback(c=>{i||a(c)},[]);return[s,l]}function Zr(e){const t=T.exports.useRef(e);return Wo(()=>{t.current=e}),T.exports.useCallback((...n)=>(0,t.current)(...n),[])}function Fn(...e){return T.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{o0(n,t)})},e)}let z2=!0,ux=!1,lO;const _ge={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Sge(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&_ge[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function xge(e){e.metaKey||e.altKey||e.ctrlKey||(z2=!0)}function hT(){z2=!1}function Cge(){this.visibilityState==="hidden"&&ux&&(z2=!0)}function wge(e){e.addEventListener("keydown",xge,!0),e.addEventListener("mousedown",hT,!0),e.addEventListener("pointerdown",hT,!0),e.addEventListener("touchstart",hT,!0),e.addEventListener("visibilitychange",Cge,!0)}function Age(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return z2||Sge(t)}function Q0(){const e=T.exports.useCallback(i=>{i!=null&&wge(i.ownerDocument)},[]),t=T.exports.useRef(!1);function n(){return t.current?(ux=!0,window.clearTimeout(lO),lO=window.setTimeout(()=>{ux=!1},100),t.current=!1,!0):!1}function r(i){return Age(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Nz(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Ige={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Rge=Ige;function Dz(e,t){const n=P({},t);return Object.keys(e).forEach(r=>{n[r]===void 0&&(n[r]=e[r])}),n}function Et(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,a)=>(a&&(o.push(t(a)),n&&n[a]&&o.push(n[a])),o),[]).join(" ")}),r}const uO=e=>e,Pge=()=>{let e=uO;return{configure(t){e=t},generate(t){return e(t)},reset(){e=uO}}},Oge=Pge(),H8=Oge,kge={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function pt(e,t,n="Mui"){const r=kge[t];return r?`${n}-${r}`:`${H8.generate(e)}-${t}`}function mt(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=pt(e,i,n)}),r}function hf(e,t){return t?Ai(e,t,{clone:!1}):e}const U8={xs:0,sm:600,md:900,lg:1200,xl:1536},cx={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${U8[e]}px)`};function Ri(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||cx;return t.reduce((a,s,l)=>(a[o.up(o.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const o=r.breakpoints||cx;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||U8).indexOf(s)!==-1){const l=o.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function Nge(e){const t=n=>{const r=n.theme||{},i=e(n),o=r.breakpoints||cx,a=o.keys.reduce((s,l)=>(n[l]&&(s=s||{},s[o.up(l)]=e(P({theme:r},n[l]))),s),null);return hf(i,a)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl",...e.filterProps],t}function Lz(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function Mz(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function z8(e,...t){const n=Lz(e),r=[n,...t].reduce((i,o)=>Ai(i,o),{});return Mz(Object.keys(n),r)}function Dge(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o<e.length&&(n[i]=!0)}):r.forEach(i=>{e[i]!=null&&(n[i]=!0)}),n}function as({values:e,breakpoints:t,base:n}){const r=n||Dge(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function qf(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function dx(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=qf(e,n)||r,t&&(i=t(i,r)),i}function st(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=qf(l,r)||{};return Ri(a,s,p=>{let h=dx(c,i,p);return p===h&&typeof p=="string"&&(h=dx(c,i,`${t}${p==="default"?"":Se(p)}`,p)),n===!1?h:{[n]:h}})};return o.propTypes={},o.filterProps=[t],o}function Zl(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?hf(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Lge(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Mge={m:"margin",p:"padding"},$ge={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},cO={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Fge=Lge(e=>{if(e.length>2)if(cO[e])e=cO[e];else return[e];const[t,n]=e.split(""),r=Mge[t],i=$ge[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),G8=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],W8=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],$z=[...G8,...W8];function Ep(e,t,n,r){var i;const o=(i=qf(e,t,!1))!=null?i:n;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function Z0(e){return Ep(e,"spacing",8)}function bc(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Fz(e,t){return n=>e.reduce((r,i)=>(r[i]=bc(t,n),r),{})}function Bge(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=Fge(n),o=Fz(i,r),a=e[n];return Ri(e,a,o)}function j8(e,t){const n=Z0(e.theme);return Object.keys(e).map(r=>Bge(e,t,r,n)).reduce(hf,{})}function V8(e){return j8(e,G8)}V8.propTypes={};V8.filterProps=G8;function K8(e){return j8(e,W8)}K8.propTypes={};K8.filterProps=W8;function J0(e){return j8(e,$z)}J0.propTypes={};J0.filterProps=$z;function eg(e){return typeof e!="number"?e:`${e}px solid`}const Bz=st({prop:"border",themeKey:"borders",transform:eg}),Hz=st({prop:"borderTop",themeKey:"borders",transform:eg}),Uz=st({prop:"borderRight",themeKey:"borders",transform:eg}),zz=st({prop:"borderBottom",themeKey:"borders",transform:eg}),Gz=st({prop:"borderLeft",themeKey:"borders",transform:eg}),Wz=st({prop:"borderColor",themeKey:"palette"}),jz=st({prop:"borderTopColor",themeKey:"palette"}),Vz=st({prop:"borderRightColor",themeKey:"palette"}),Kz=st({prop:"borderBottomColor",themeKey:"palette"}),qz=st({prop:"borderLeftColor",themeKey:"palette"}),G2=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ep(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:bc(t,r)});return Ri(e,e.borderRadius,n)}return null};G2.propTypes={};G2.filterProps=["borderRadius"];const Hge=Zl(Bz,Hz,Uz,zz,Gz,Wz,jz,Vz,Kz,qz,G2),q8=Hge,Uge=st({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),zge=st({prop:"display"}),Gge=st({prop:"overflow"}),Wge=st({prop:"textOverflow"}),jge=st({prop:"visibility"}),Vge=st({prop:"whiteSpace"}),Y8=Zl(Uge,zge,Gge,Wge,jge,Vge),Yz=st({prop:"flexBasis"}),Xz=st({prop:"flexDirection"}),Qz=st({prop:"flexWrap"}),Zz=st({prop:"justifyContent"}),Jz=st({prop:"alignItems"}),eG=st({prop:"alignContent"}),tG=st({prop:"order"}),nG=st({prop:"flex"}),rG=st({prop:"flexGrow"}),iG=st({prop:"flexShrink"}),oG=st({prop:"alignSelf"}),aG=st({prop:"justifyItems"}),sG=st({prop:"justifySelf"}),Kge=Zl(Yz,Xz,Qz,Zz,Jz,eG,tG,nG,rG,iG,oG,aG,sG),X8=Kge,W2=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ep(e.theme,"spacing",8),n=r=>({gap:bc(t,r)});return Ri(e,e.gap,n)}return null};W2.propTypes={};W2.filterProps=["gap"];const j2=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ep(e.theme,"spacing",8),n=r=>({columnGap:bc(t,r)});return Ri(e,e.columnGap,n)}return null};j2.propTypes={};j2.filterProps=["columnGap"];const V2=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ep(e.theme,"spacing",8),n=r=>({rowGap:bc(t,r)});return Ri(e,e.rowGap,n)}return null};V2.propTypes={};V2.filterProps=["rowGap"];const lG=st({prop:"gridColumn"}),uG=st({prop:"gridRow"}),cG=st({prop:"gridAutoFlow"}),dG=st({prop:"gridAutoColumns"}),fG=st({prop:"gridAutoRows"}),pG=st({prop:"gridTemplateColumns"}),hG=st({prop:"gridTemplateRows"}),mG=st({prop:"gridTemplateAreas"}),gG=st({prop:"gridArea"}),qge=Zl(W2,j2,V2,lG,uG,cG,dG,fG,pG,hG,mG,gG),Q8=qge;function Z8(e,t){return t==="grey"?t:e}const vG=st({prop:"color",themeKey:"palette",transform:Z8}),yG=st({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Z8}),bG=st({prop:"backgroundColor",themeKey:"palette",transform:Z8}),Yge=Zl(vG,yG,bG),J8=Yge,EG=st({prop:"position"}),TG=st({prop:"zIndex",themeKey:"zIndex"}),_G=st({prop:"top"}),SG=st({prop:"right"}),xG=st({prop:"bottom"}),CG=st({prop:"left"}),e3=Zl(EG,TG,_G,SG,xG,CG),Xge=st({prop:"boxShadow",themeKey:"shadows"}),t3=Xge;function Ec(e){return e<=1&&e!==0?`${e*100}%`:e}const wG=st({prop:"width",transform:Ec}),n3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||U8[n]||Ec(n)}};return Ri(e,e.maxWidth,t)}return null};n3.filterProps=["maxWidth"];const AG=st({prop:"minWidth",transform:Ec}),IG=st({prop:"height",transform:Ec}),RG=st({prop:"maxHeight",transform:Ec}),PG=st({prop:"minHeight",transform:Ec}),Qge=st({prop:"size",cssProperty:"width",transform:Ec}),Zge=st({prop:"size",cssProperty:"height",transform:Ec}),OG=st({prop:"boxSizing"}),Jge=Zl(wG,n3,AG,IG,RG,PG,OG),r3=Jge,kG=st({prop:"fontFamily",themeKey:"typography"}),NG=st({prop:"fontSize",themeKey:"typography"}),DG=st({prop:"fontStyle",themeKey:"typography"}),LG=st({prop:"fontWeight",themeKey:"typography"}),MG=st({prop:"letterSpacing"}),$G=st({prop:"textTransform"}),FG=st({prop:"lineHeight"}),BG=st({prop:"textAlign"}),HG=st({prop:"typography",cssProperty:!1,themeKey:"typography"}),eve=Zl(HG,kG,NG,DG,LG,MG,FG,BG,$G),i3=eve,dO={borders:q8.filterProps,display:Y8.filterProps,flexbox:X8.filterProps,grid:Q8.filterProps,positions:e3.filterProps,palette:J8.filterProps,shadows:t3.filterProps,sizing:r3.filterProps,spacing:J0.filterProps,typography:i3.filterProps},UG={borders:q8,display:Y8,flexbox:X8,grid:Q8,positions:e3,palette:J8,shadows:t3,sizing:r3,spacing:J0,typography:i3},zG=Object.keys(dO).reduce((e,t)=>(dO[t].forEach(n=>{e[n]=UG[t]}),e),{});function tve(e,t,n){const r={[e]:t,theme:n},i=zG[e];return i?i(r):{[e]:t}}function nve(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function rve(e,t){return typeof e=="function"?e(t):e}function GG(e=UG){const t=Object.keys(e).reduce((i,o)=>(e[o].filterProps.forEach(a=>{i[a]=e[o]}),i),{});function n(i,o,a){const s={[i]:o,theme:a},l=t[i];return l?l(s):{[i]:o}}function r(i){const{sx:o,theme:a={}}=i||{};if(!o)return null;function s(l){let c=l;if(typeof l=="function")c=l(a);else if(typeof l!="object")return l;if(!c)return null;const d=Lz(a.breakpoints),p=Object.keys(d);let h=d;return Object.keys(c).forEach(m=>{const v=rve(c[m],a);if(v!=null)if(typeof v=="object")if(t[m])h=hf(h,n(m,v,a));else{const y=Ri({theme:a},v,x=>({[m]:x}));nve(y,v)?h[m]=r({sx:v,theme:a}):h=hf(h,y)}else h=hf(h,n(m,v,a))}),Mz(p,h)}return Array.isArray(o)?o.map(s):s(o)}return r}const WG=GG();WG.filterProps=["sx"];const K2=WG,ive=["sx"],ove=e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{zG[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function J1(e){const{sx:t}=e,n=$e(e,ive),{systemProps:r,otherProps:i}=ove(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...a)=>{const s=t(...a);return Fh(s)?P({},r,s):r}:o=P({},r,t),P({},i,{sx:o})}function ave(e){return({theme:t})=>K2({sx:e,theme:t})}function jG(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=jG(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function He(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=jG(e))&&(r&&(r+=" "),r+=t);return r}const sve=["values","unit","step"],lve=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>P({},n,{[r.key]:r.val}),{})};function VG(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=$e(e,sve),o=lve(t),a=Object.keys(o);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function c(h,m){const v=a.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:m)-r/100}${n})`}function d(h){return a.indexOf(h)+1<a.length?c(h,a[a.indexOf(h)+1]):s(h)}function p(h){const m=a.indexOf(h);return m===0?s(a[1]):m===a.length-1?l(a[m]):c(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return P({keys:a,values:o,up:s,down:l,between:c,only:d,not:p,unit:n},i)}const uve={borderRadius:4},KG=uve;function qG(e=8){if(e.mui)return e;const t=Z0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}const cve=["breakpoints","palette","spacing","shape"];function ed(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,a=$e(e,cve),s=VG(n),l=qG(i);let c=Ai({breakpoints:s,direction:"ltr",components:{},palette:P({mode:"light"},r),spacing:l,shape:P({},KG,o)},a);return c=t.reduce((d,p)=>Ai(d,p),c),c}const dve=T.exports.createContext(null),YG=dve;function XG(){return T.exports.useContext(YG)}const fve=typeof Symbol=="function"&&Symbol.for,pve=fve?Symbol.for("mui.nested"):"__THEME_NESTED__";function hve(e,t){return typeof t=="function"?t(e):P({},e,t)}function mve(e){const{children:t,theme:n}=e,r=XG(),i=T.exports.useMemo(()=>{const o=r===null?n:hve(r,n);return o!=null&&(o[pve]=r!==null),o},[n,r]);return E(YG.Provider,{value:i,children:t})}function gve(e){return Object.keys(e).length===0}function q2(e=null){const t=XG();return!t||gve(t)?e:t}const vve=ed();function Tp(e=vve){return q2(e)}const yve=["className","component"];function o3(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r,styleFunctionSx:i=K2}=e,o=kz("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(i);return T.exports.forwardRef(function(l,c){const d=Tp(t),p=J1(l),{className:h,component:m="div"}=p,v=$e(p,yve);return E(o,P({as:m,ref:c,className:He(h,r?r(n):n),theme:d},v))})}const bve=o3(),QG=bve,Eve=["variant"];function fO(e){return e.length===0}function ZG(e){const{variant:t}=e,n=$e(e,Eve);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=fO(r)?e[i]:Se(e[i]):r+=`${fO(r)?i:Se(i)}${Se(e[i].toString())}`}),r}const Tve=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],_ve=["theme"],Sve=["theme"];function sh(e){return Object.keys(e).length===0}function xve(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Cve=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,wve=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const o=ZG(i.props);r[o]=i.style}),r},Ave=(e,t,n,r)=>{var i,o;const{ownerState:a={}}=e,s=[],l=n==null||(i=n.components)==null||(o=i[r])==null?void 0:o.variants;return l&&l.forEach(c=>{let d=!0;Object.keys(c.props).forEach(p=>{a[p]!==c.props[p]&&e[p]!==c.props[p]&&(d=!1)}),d&&s.push(t[ZG(c.props)])}),s};function mf(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const JG=ed();function a3(e={}){const{defaultTheme:t=JG,rootShouldForwardProp:n=mf,slotShouldForwardProp:r=mf,styleFunctionSx:i=K2}=e,o=a=>{const s=sh(a.theme)?t:a.theme;return i(P({},a,{theme:s}))};return o.__mui_systemSx=!0,(a,s={})=>{hge(a,C=>C.filter(O=>!(O!=null&&O.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:d,skipSx:p,overridesResolver:h}=s,m=$e(s,Tve),v=d!==void 0?d:c&&c!=="Root"||!1,y=p||!1;let x,b=mf;c==="Root"?b=n:c?b=r:xve(a)&&(b=void 0);const _=kz(a,P({shouldForwardProp:b,label:x},m)),S=(C,...O)=>{const A=O?O.map(L=>typeof L=="function"&&L.__emotion_real!==L?H=>{let{theme:j}=H,Y=$e(H,_ve);return L(P({theme:sh(j)?t:j},Y))}:L):[];let R=C;l&&h&&A.push(L=>{const H=sh(L.theme)?t:L.theme,j=Cve(l,H);if(j){const Y={};return Object.entries(j).forEach(([K,Z])=>{Y[K]=typeof Z=="function"?Z(P({},L,{theme:H})):Z}),h(L,Y)}return null}),l&&!v&&A.push(L=>{const H=sh(L.theme)?t:L.theme;return Ave(L,wve(l,H),H,l)}),y||A.push(o);const N=A.length-O.length;if(Array.isArray(C)&&N>0){const L=new Array(N).fill("");R=[...C,...L],R.raw=[...C.raw,...L]}else typeof C=="function"&&C.__emotion_real!==C&&(R=L=>{let{theme:H}=L,j=$e(L,Sve);return C(P({theme:sh(H)?t:H},j))});return _(R,...A)};return _.withConfig&&(S.withConfig=_.withConfig),S}}const Ive=a3(),Y2=Ive;function s3(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Dz(t.components[n].defaultProps,r)}function tg({props:e,name:t,defaultTheme:n}){const r=Tp(n);return s3({theme:r,name:t,props:e})}function l3(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function eW(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Rve(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Xs(e){if(e.type)return e;if(e.charAt(0)==="#")return Xs(eW(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Wl(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(Wl(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const Pve=e=>{const t=Xs(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};function ng(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Ove(e){if(e.indexOf("#")===0)return e;const{values:t}=Xs(e);return`#${t.map((n,r)=>Rve(r===3?Math.round(255*n):n)).join("")}`}function tW(e){e=Xs(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=(c,d=(c+n/30)%12)=>i-o*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),ng({type:s,values:l})}function dy(e){e=Xs(e);let t=e.type==="hsl"||e.type==="hsla"?Xs(tW(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function nW(e,t){const n=dy(e),r=dy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Yt(e,t){return e=Xs(e),t=l3(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ng(e)}function L1(e,t){if(e=Xs(e),t=l3(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ng(e)}function M1(e,t){if(e=Xs(e),t=l3(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ng(e)}function rW(e,t=.15){return dy(e)>.5?L1(e,t):M1(e,t)}const kve={};function Nve(e){const t=Tp();return E(B8.Provider,{value:typeof t=="object"?t:kve,children:e.children})}function iW(e){const{children:t,theme:n}=e;return E(mve,{theme:n,children:E(Nve,{children:t})})}const Dve=(e,t,n,r=[])=>{let i=e;t.forEach((o,a)=>{a===t.length-1?Array.isArray(i)?i[Number(o)]=n:i&&typeof i=="object"&&(i[o]=n):i&&typeof i=="object"&&(i[o]||(i[o]=r.includes(o)?[]:{}),i=i[o])})},Lve=(e,t,n)=>{function r(i,o=[],a=[]){Object.entries(i).forEach(([s,l])=>{(!n||n&&!n([...o,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...o,s],Array.isArray(l)?[...a,s]:a):t([...o,s],l,a))})}r(e)},Mve=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function pO(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},o={};return Lve(e,(a,s,l)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(a,s))){const c=`--${n?`${n}-`:""}${a.join("-")}`;Object.assign(i,{[c]:Mve(a,s)}),Dve(o,a,`var(${c})`,l)}},a=>a[0]==="vars"),{css:i,vars:o}}const u3="mode",c3="color-scheme",oW="data-color-scheme";function $ve(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:i=u3,colorSchemeStorageKey:o=c3,attribute:a=oW,colorSchemeNode:s="document.documentElement"}=e||{};return E("script",{dangerouslySetInnerHTML:{__html:`(function() { try {
        var mode = localStorage.getItem('${i}') || '${t}';
        var cssColorScheme = mode;
        var colorScheme = '';
        if (mode === 'system') {
          // handle system mode
          var mql = window.matchMedia('(prefers-color-scheme: dark)');
          if (mql.matches) {
            cssColorScheme = 'dark';
            colorScheme = localStorage.getItem('${o}-dark') || '${r}';
          } else {
            cssColorScheme = 'light';
            colorScheme = localStorage.getItem('${o}-light') || '${n}';
          }
        }
        if (mode === 'light') {
          colorScheme = localStorage.getItem('${o}-light') || '${n}';
        }
        if (mode === 'dark') {
          colorScheme = localStorage.getItem('${o}-dark') || '${r}';
        }
        if (colorScheme) {
          ${s}.setAttribute('${a}', colorScheme);
        }
      } catch (e) {} })();`}},"mui-color-scheme-init")}function hO(e){if(typeof window<"u"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function aW(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function Fve(e){return aW(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function mT(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function Bve(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:o=u3,colorSchemeStorageKey:a=c3,storageWindow:s=typeof window>"u"?void 0:window}=e,l=i.join(","),[c,d]=T.exports.useState(()=>{const x=mT(o,t),b=mT(`${a}-light`,n),_=mT(`${a}-dark`,r);return{mode:x,systemMode:hO(x),lightColorScheme:b,darkColorScheme:_}}),p=Fve(c),h=T.exports.useCallback(x=>{d(b=>{if(x===b.mode)return b;const _=x||t;try{localStorage.setItem(o,_)}catch(S){}return P({},b,{mode:_,systemMode:hO(_)})})},[o,t]),m=T.exports.useCallback(x=>{x?typeof x=="string"?x&&!l.includes(x)?console.error(`\`${x}\` does not exist in \`theme.colorSchemes\`.`):d(b=>{const _=P({},b);return aW(b,S=>{try{localStorage.setItem(`${a}-${S}`,x)}catch(C){}S==="light"&&(_.lightColorScheme=x),S==="dark"&&(_.darkColorScheme=x)}),_}):d(b=>{const _=P({},b),S=x.light===null?n:x.light,C=x.dark===null?r:x.dark;if(S)if(!l.includes(S))console.error(`\`${S}\` does not exist in \`theme.colorSchemes\`.`);else{_.lightColorScheme=S;try{localStorage.setItem(`${a}-light`,S)}catch(O){}}if(C)if(!l.includes(C))console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`);else{_.darkColorScheme=C;try{localStorage.setItem(`${a}-dark`,C)}catch(O){}}return _}):d(b=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch(_){}return P({},b,{lightColorScheme:n,darkColorScheme:r})})},[l,a,n,r]),v=T.exports.useCallback(x=>{c.mode==="system"&&d(b=>P({},b,{systemMode:x!=null&&x.matches?"dark":"light"}))},[c.mode]),y=T.exports.useRef(v);return y.current=v,T.exports.useEffect(()=>{const x=(..._)=>y.current(..._),b=window.matchMedia("(prefers-color-scheme: dark)");return b.addListener(x),x(b),()=>b.removeListener(x)},[]),T.exports.useEffect(()=>{const x=b=>{const _=b.newValue;typeof b.key=="string"&&b.key.startsWith(a)&&(!_||l.match(_))&&(b.key.endsWith("light")&&m({light:_}),b.key.endsWith("dark")&&m({dark:_})),b.key===o&&(!_||["light","dark","system"].includes(_))&&h(_||t)};if(s)return s.addEventListener("storage",x),()=>s.removeEventListener("storage",x)},[m,h,o,a,l,t,s]),P({},c,{colorScheme:p,setMode:h,setColorScheme:m})}const Hve=["colorSchemes","components","cssVarPrefix"],Uve="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function zve(e){const{theme:t={},attribute:n=oW,modeStorageKey:r=u3,colorSchemeStorageKey:i=c3,defaultMode:o="light",defaultColorScheme:a,disableTransitionOnChange:s=!1,shouldSkipGeneratingVar:l,resolveTheme:c,excludeVariablesFromRoot:d}=e;(!t.colorSchemes||typeof a=="string"&&!t.colorSchemes[a]||typeof a=="object"&&!t.colorSchemes[a==null?void 0:a.light]||typeof a=="object"&&!t.colorSchemes[a==null?void 0:a.dark])&&console.error(`MUI: \`${a}\` does not exist in \`theme.colorSchemes\`.`);const p=T.exports.createContext(void 0),h=()=>{const b=T.exports.useContext(p);if(!b)throw new Error(Wl(19));return b};function m({children:b,theme:_=t,modeStorageKey:S=r,colorSchemeStorageKey:C=i,attribute:O=n,defaultMode:A=o,defaultColorScheme:R=a,disableTransitionOnChange:N=s,storageWindow:F=typeof window>"u"?void 0:window,documentNode:L=typeof document>"u"?void 0:document,colorSchemeNode:H=typeof document>"u"?void 0:document.documentElement,colorSchemeSelector:j=":root",shouldSkipGeneratingVar:Y=l}){const K=T.exports.useRef(!1),{colorSchemes:Z={},components:ne={},cssVarPrefix:oe}=_,z=$e(_,Hve),Q=Object.keys(Z),J=typeof R=="string"?R:R.light,M=typeof R=="string"?R:R.dark,{mode:B,setMode:Pe,systemMode:pe,lightColorScheme:me,darkColorScheme:se,colorScheme:Ce,setColorScheme:ke}=Bve({supportedColorSchemes:Q,defaultLightColorScheme:J,defaultDarkColorScheme:M,modeStorageKey:S,colorSchemeStorageKey:C,defaultMode:A,storageWindow:F}),Ee=(()=>B||(A==="system"?o:A))(),Qe=(()=>Ce||(Ee==="dark"?M:J))(),{css:Re,vars:tt}=pO(z,{prefix:oe,shouldSkipGeneratingVar:Y}),ut=P({},z,{components:ne,colorSchemes:Z,cssVarPrefix:oe,vars:tt,getColorSchemeSelector:je=>`[${O}="${je}"] &`}),rt={},Fe={};Object.entries(Z).forEach(([je,ie])=>{const{css:ce,vars:he}=pO(ie,{prefix:oe,shouldSkipGeneratingVar:Y});ut.vars=Ai(ut.vars,he),je===Qe&&(Object.keys(ie).forEach(Ge=>{ie[Ge]&&typeof ie[Ge]=="object"?ut[Ge]=P({},ut[Ge],ie[Ge]):ut[Ge]=ie[Ge]}),ut.palette&&(ut.palette.colorScheme=je));const Ae=(()=>typeof R=="string"?R:A==="dark"?R.dark:R.light)();if(je===Ae){if(d){const Ge={};d(oe).forEach(Xe=>{Ge[Xe]=ce[Xe],delete ce[Xe]}),rt[`[${O}="${je}"]`]=Ge}rt[`${j}, [${O}="${je}"]`]=ce}else Fe[`${j===":root"?"":j}[${O}="${je}"]`]=ce}),T.exports.useEffect(()=>{Ce&&H&&H.setAttribute(O,Ce)},[Ce,O,H]),T.exports.useEffect(()=>{let je;if(N&&K.current&&L){const ie=L.createElement("style");ie.appendChild(L.createTextNode(Uve)),L.head.appendChild(ie),window.getComputedStyle(L.body),je=setTimeout(()=>{L.head.removeChild(ie)},1)}return()=>{clearTimeout(je)}},[Ce,N,L]),T.exports.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const Bt=T.exports.useMemo(()=>({mode:B,systemMode:pe,setMode:Pe,lightColorScheme:me,darkColorScheme:se,colorScheme:Ce,setColorScheme:ke,allColorSchemes:Q}),[Q,Ce,se,me,B,ke,Pe,pe]);return te(p.Provider,{value:Bt,children:[E(cm,{styles:{[j]:Re}}),E(cm,{styles:rt}),E(cm,{styles:Fe}),E(iW,{theme:c?c(ut):ut,children:b})]})}const v=typeof a=="string"?a:a.light,y=typeof a=="string"?a:a.dark;return{CssVarsProvider:m,useColorScheme:h,getInitColorSchemeScript:b=>$ve(P({attribute:n,colorSchemeStorageKey:i,defaultMode:o,defaultLightColorScheme:v,defaultDarkColorScheme:y,modeStorageKey:r},b))}}function Gve(e=""){function t(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))/)?`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${e?`${e}-`:""}${r}${t(...i)})`}const Wve=["className","component","disableGutters","fixed","maxWidth","classes"],jve=ed(),Vve=Y2("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Se(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),Kve=e=>tg({props:e,name:"MuiContainer",defaultTheme:jve}),qve=(e,t)=>{const n=l=>pt(t,l),{classes:r,fixed:i,disableGutters:o,maxWidth:a}=e,s={root:["root",a&&`maxWidth${Se(String(a))}`,i&&"fixed",o&&"disableGutters"]};return Et(s,n,r)};function d3(e={}){const{createStyledComponent:t=Vve,useThemeProps:n=Kve,componentName:r="MuiContainer"}=e,i=t(({theme:a,ownerState:s})=>P({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}),({theme:a,ownerState:s})=>s.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const d=c,p=a.breakpoints.values[d];return p!==0&&(l[a.breakpoints.up(d)]={maxWidth:`${p}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:s})=>P({},s.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[a.breakpoints.up(s.maxWidth)]:{maxWidth:`${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`}}));return T.exports.forwardRef(function(s,l){const c=n(s),{className:d,component:p="div",disableGutters:h=!1,fixed:m=!1,maxWidth:v="lg"}=c,y=$e(c,Wve),x=P({},c,{component:p,disableGutters:h,fixed:m,maxWidth:v}),b=qve(x,r);return E(i,P({as:p,ownerState:x,className:He(b.root,d),ref:l},y))})}const Yve=d3(),Xve=Yve;function Qve(e){return pt("MuiContainer",e)}const Zve=mt("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),Jve=Zve,e5e=(e,t)=>e.filter(n=>t.includes(n)),_p=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((i,o)=>{n((a,s)=>{o<=e.keys.length-1&&(o===0?Object.assign(a,s):a[e.up(e.keys[o])]=s)},i)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:e5e(e.keys,Object.keys(t))).forEach(o=>{if(e.keys.indexOf(o)!==-1){const a=t[o];a!==void 0&&n((s,l)=>{r===o?Object.assign(s,l):s[e.up(o)]=l},a)}}):(typeof t=="number"||typeof t=="string")&&n((i,o)=>{Object.assign(i,o)},t)},t5e=({theme:e,ownerState:t})=>{const n={};return _p(e.breakpoints,t.gridSize,(r,i)=>{let o={};i===!0&&(o={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(o={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / var(--Grid-columns)${t.nested&&t.container?" + var(--Grid-columnSpacing)":""})`}),r(n,o)}),n},n5e=({theme:e,ownerState:t})=>{const n={};return _p(e.breakpoints,t.gridOffset,(r,i)=>{let o={};i==="auto"&&(o={marginLeft:"auto"}),typeof i=="number"&&(o={marginLeft:i===0?"0px":`calc(100% * ${i} / var(--Grid-columns))`}),r(n,o)}),n},r5e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={"--Grid-columns":12};return _p(e.breakpoints,t.columns,(r,i)=>{r(n,{"--Grid-columns":i})}),n},i5e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _p(e.breakpoints,t.rowSpacing,(r,i)=>{var o;r(n,{"--Grid-rowSpacing":typeof i=="string"?i:(o=e.spacing)==null?void 0:o.call(e,i)})}),n},o5e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _p(e.breakpoints,t.columnSpacing,(r,i)=>{var o;r(n,{"--Grid-columnSpacing":typeof i=="string"?i:(o=e.spacing)==null?void 0:o.call(e,i)})}),n},a5e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return _p(e.breakpoints,t.direction,(r,i)=>{r(n,{flexDirection:i})}),n},s5e=({ownerState:e})=>P({minWidth:0,boxSizing:"border-box"},e.container?P({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:"calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)"},e.disableEqualOverflow&&{margin:"calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)"},e.nested?P({padding:"calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)"},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:"calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))"}):{"--Grid-nested-rowSpacing":"var(--Grid-rowSpacing)","--Grid-nested-columnSpacing":"var(--Grid-columnSpacing)"}):P({padding:"calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)"},e.disableEqualOverflow&&{padding:"calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))"})),l5e=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},u5e=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([i,o])=>{n(o)&&r.push(`spacing-${i}-${String(o)}`)}),r}return[]},c5e=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],d5e=["className","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow"],f5e=ed(),p5e=Y2("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function h5e(e){return tg({props:e,name:"MuiGrid",defaultTheme:f5e})}function sW(e={}){const{createStyledComponent:t=p5e,useThemeProps:n=h5e,componentName:r="MuiGrid"}=e,i=T.exports.createContext(!1),o=T.exports.createContext(void 0),a=(c,d)=>{const{container:p,direction:h,spacing:m,wrap:v,gridSize:y}=c,x={root:["root",p&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...c5e(h),...l5e(y),...p?u5e(m,d.breakpoints.keys[0]):[]]};return Et(x,b=>pt(r,b),{})},s=t(r5e,o5e,i5e,t5e,a5e,s5e,n5e);return T.exports.forwardRef(function(d,p){var h,m,v,y,x,b,_,S;const C=Tp(),O=n(d),A=J1(O),R=T.exports.useContext(i),N=T.exports.useContext(o),{className:F,columns:L=12,container:H=!1,component:j="div",direction:Y="row",wrap:K="wrap",spacing:Z=0,rowSpacing:ne=Z,columnSpacing:oe=Z,disableEqualOverflow:z}=A,Q=$e(A,d5e);let J=z;R&&z!==void 0&&(J=d.disableEqualOverflow);const M={},B={},Pe={};Object.entries(Q).forEach(([Re,tt])=>{C.breakpoints.values[Re]!==void 0?M[Re]=tt:C.breakpoints.values[Re.replace("Offset","")]!==void 0?B[Re.replace("Offset","")]=tt:Pe[Re]=tt});const pe=(h=d.columns)!=null?h:R?void 0:L,me=(m=d.spacing)!=null?m:R?void 0:Z,se=(v=(y=d.rowSpacing)!=null?y:d.spacing)!=null?v:R?void 0:ne,Ce=(x=(b=d.columnSpacing)!=null?b:d.spacing)!=null?x:R?void 0:oe,ke=P({},A,{nested:R,columns:pe,container:H,direction:Y,wrap:K,spacing:me,rowSpacing:se,columnSpacing:Ce,gridSize:M,gridOffset:B,disableEqualOverflow:(_=(S=J)!=null?S:N)!=null?_:!1,parentDisableEqualOverflow:N}),Ee=a(ke,C);let Qe=E(s,P({ref:p,as:j,ownerState:ke,className:He(Ee.root,F)},Pe));return R||(Qe=E(i.Provider,{value:!0,children:Qe})),J!==void 0&&J!==(N!=null?N:!1)&&(Qe=E(o.Provider,{value:J,children:Qe})),Qe})}const m5e=sW(),g5e=m5e;function v5e(e){return pt("MuiGrid",e)}const y5e=[0,1,2,3,4,5,6,7,8,9,10],b5e=["column-reverse","column","row-reverse","row"],E5e=["nowrap","wrap-reverse","wrap"],lh=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],T5e=mt("MuiGrid",["root","container","item",...y5e.map(e=>`spacing-xs-${e}`),...b5e.map(e=>`direction-xs-${e}`),...E5e.map(e=>`wrap-xs-${e}`),...lh.map(e=>`grid-xs-${e}`),...lh.map(e=>`grid-sm-${e}`),...lh.map(e=>`grid-md-${e}`),...lh.map(e=>`grid-lg-${e}`),...lh.map(e=>`grid-xl-${e}`)]),_5e=T5e,S5e=["component","direction","spacing","divider","children","className"],x5e=ed(),C5e=Y2("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function w5e(e){return tg({props:e,name:"MuiStack",defaultTheme:x5e})}function A5e(e,t){const n=T.exports.Children.toArray(e).filter(Boolean);return n.reduce((r,i,o)=>(r.push(i),o<n.length-1&&r.push(T.exports.cloneElement(t,{key:`separator-${o}`})),r),[])}const I5e=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],R5e=({ownerState:e,theme:t})=>{let n=P({display:"flex",flexDirection:"column"},Ri({theme:t},as({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Z0(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),o=as({values:e.direction,base:i}),a=as({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,d)=>{if(!o[l]){const h=c>0?o[d[c-1]]:"column";o[l]=h}}),n=Ai(n,Ri({theme:t},a,(l,c)=>({"& > :not(style) + :not(style)":{margin:0,[`margin${I5e(c?o[c]:e.direction)}`]:bc(r,l)}})))}return n=z8(t.breakpoints,n),n};function lW(e={}){const{createStyledComponent:t=C5e,useThemeProps:n=w5e,componentName:r="MuiStack"}=e,i=()=>Et({root:["root"]},l=>pt(r,l),{}),o=t(R5e);return T.exports.forwardRef(function(l,c){const d=n(l),p=J1(d),{component:h="div",direction:m="column",spacing:v=0,divider:y,children:x,className:b}=p,_=$e(p,S5e),S={direction:m,spacing:v},C=i();return E(o,P({as:h,ownerState:S,ref:c,className:He(C.root,b)},_,{children:y?A5e(x,y):x}))})}const P5e=lW(),uW=P5e;function O5e(e){return pt("MuiStack",e)}const k5e=mt("MuiStack",["root"]),N5e=k5e,D5e=Object.freeze(Object.defineProperty({__proto__:null,css:Kf,keyframes:yc,GlobalStyles:cm,StyledEngineProvider:fge,borders:q8,breakpoints:Nge,handleBreakpoints:Ri,mergeBreakpointsInOrder:z8,unstable_resolveBreakpointValues:as,compose:Zl,display:Y8,flexbox:X8,grid:Q8,palette:J8,positions:e3,shadows:t3,sizing:r3,spacing:J0,style:st,getPath:qf,getStyleValue:dx,typography:i3,unstable_styleFunctionSx:K2,unstable_createStyleFunctionSx:GG,unstable_extendSxProp:J1,experimental_sx:ave,unstable_getThemeValue:tve,Box:QG,createBox:o3,createStyled:a3,styled:Y2,createTheme:ed,createBreakpoints:VG,createSpacing:qG,shape:KG,useThemeProps:tg,getThemeProps:s3,useTheme:Tp,useThemeWithoutDefault:q2,ThemeProvider:iW,unstable_createCssVarsProvider:zve,unstable_createGetCssVar:Gve,responsivePropType:gge,createContainer:d3,Container:Xve,Unstable_Grid:g5e,Stack:uW,border:Bz,borderTop:Hz,borderRight:Uz,borderBottom:zz,borderLeft:Gz,borderColor:Wz,borderTopColor:jz,borderRightColor:Vz,borderBottomColor:Kz,borderLeftColor:qz,borderRadius:G2,flexBasis:Yz,flexDirection:Xz,flexWrap:Qz,justifyContent:Zz,alignItems:Jz,alignContent:eG,order:tG,flex:nG,flexGrow:rG,flexShrink:iG,alignSelf:oG,justifyItems:aG,justifySelf:sG,gap:W2,columnGap:j2,rowGap:V2,gridColumn:lG,gridRow:uG,gridAutoFlow:cG,gridAutoColumns:dG,gridAutoRows:fG,gridTemplateColumns:pG,gridTemplateRows:hG,gridTemplateAreas:mG,gridArea:gG,color:vG,bgcolor:yG,backgroundColor:bG,position:EG,zIndex:TG,top:_G,right:SG,bottom:xG,left:CG,width:wG,maxWidth:n3,minWidth:AG,height:IG,maxHeight:RG,minHeight:PG,sizeWidth:Qge,sizeHeight:Zge,boxSizing:OG,createUnaryUnit:Ep,createUnarySpacing:Z0,getValue:bc,getStyleFromPropValue:Fz,margin:V8,padding:K8,fontFamily:kG,fontSize:NG,fontStyle:DG,fontWeight:LG,letterSpacing:MG,textTransform:$G,lineHeight:FG,textAlign:BG,typographyVariant:HG,shouldForwardProp:mf,systemDefaultTheme:JG,hexToRgb:eW,decomposeColor:Xs,colorChannel:Pve,recomposeColor:ng,rgbToHex:Ove,hslToRgb:tW,getLuminance:dy,getContrastRatio:nW,alpha:Yt,darken:L1,lighten:M1,emphasize:rW,containerClasses:Jve,getContainerUtilityClass:Qve,createGrid:sW,gridClasses:_5e,getGridUtilityClass:v5e,createStack:lW,stackClasses:N5e,getStackUtilityClass:O5e},Symbol.toStringTag,{value:"Module"}));function L5e(e,t){return P({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const M5e={black:"#000",white:"#fff"},a0=M5e,$5e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},F5e=$5e,B5e={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Sd=B5e,H5e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},xd=H5e,U5e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},uh=U5e,z5e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Cd=z5e,G5e={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},wd=G5e,W5e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},jc=W5e,j5e=["mode","contrastThreshold","tonalOffset"],mO={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a0.white,default:a0.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},gT={text:{primary:a0.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a0.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function gO(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=M1(e.main,i):t==="dark"&&(e.dark=L1(e.main,o)))}function V5e(e="light"){return e==="dark"?{main:Cd[200],light:Cd[50],dark:Cd[400]}:{main:Cd[700],light:Cd[400],dark:Cd[800]}}function K5e(e="light"){return e==="dark"?{main:Sd[200],light:Sd[50],dark:Sd[400]}:{main:Sd[500],light:Sd[300],dark:Sd[700]}}function q5e(e="light"){return e==="dark"?{main:xd[500],light:xd[300],dark:xd[700]}:{main:xd[700],light:xd[400],dark:xd[800]}}function Y5e(e="light"){return e==="dark"?{main:wd[400],light:wd[300],dark:wd[700]}:{main:wd[700],light:wd[500],dark:wd[900]}}function X5e(e="light"){return e==="dark"?{main:jc[400],light:jc[300],dark:jc[700]}:{main:jc[800],light:jc[500],dark:jc[900]}}function Q5e(e="light"){return e==="dark"?{main:uh[400],light:uh[300],dark:uh[700]}:{main:"#ed6c02",light:uh[500],dark:uh[900]}}function Z5e(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=$e(e,j5e),o=e.primary||V5e(t),a=e.secondary||K5e(t),s=e.error||q5e(t),l=e.info||Y5e(t),c=e.success||X5e(t),d=e.warning||Q5e(t);function p(y){return nW(y,gT.text.primary)>=n?gT.text.primary:mO.text.primary}const h=({color:y,name:x,mainShade:b=500,lightShade:_=300,darkShade:S=700})=>{if(y=P({},y),!y.main&&y[b]&&(y.main=y[b]),!y.hasOwnProperty("main"))throw new Error(Wl(11,x?` (${x})`:"",b));if(typeof y.main!="string")throw new Error(Wl(12,x?` (${x})`:"",JSON.stringify(y.main)));return gO(y,"light",_,r),gO(y,"dark",S,r),y.contrastText||(y.contrastText=p(y.main)),y},m={dark:gT,light:mO};return Ai(P({common:P({},a0),mode:t,primary:h({color:o,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:c,name:"success"}),grey:F5e,contrastThreshold:n,getContrastText:p,augmentColor:h,tonalOffset:r},m[t]),i)}const J5e=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function e9e(e){return Math.round(e*1e5)/1e5}const vO={textTransform:"uppercase"},yO='"Roboto", "Helvetica", "Arial", sans-serif';function t9e(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=yO,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:p}=n,h=$e(n,J5e),m=i/14,v=p||(b=>`${b/c*m}rem`),y=(b,_,S,C,O)=>P({fontFamily:r,fontWeight:b,fontSize:v(_),lineHeight:S},r===yO?{letterSpacing:`${e9e(C/_)}em`}:{},O,d),x={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,vO),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,vO)};return Ai(P({htmlFontSize:c,pxToRem:v,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},x),h,{clone:!1})}const n9e=.2,r9e=.14,i9e=.12;function ar(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${n9e})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${r9e})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${i9e})`].join(",")}const o9e=["none",ar(0,2,1,-1,0,1,1,0,0,1,3,0),ar(0,3,1,-2,0,2,2,0,0,1,5,0),ar(0,3,3,-2,0,3,4,0,0,1,8,0),ar(0,2,4,-1,0,4,5,0,0,1,10,0),ar(0,3,5,-1,0,5,8,0,0,1,14,0),ar(0,3,5,-1,0,6,10,0,0,1,18,0),ar(0,4,5,-2,0,7,10,1,0,2,16,1),ar(0,5,5,-3,0,8,10,1,0,3,14,2),ar(0,5,6,-3,0,9,12,1,0,3,16,2),ar(0,6,6,-3,0,10,14,1,0,4,18,3),ar(0,6,7,-4,0,11,15,1,0,4,20,3),ar(0,7,8,-4,0,12,17,2,0,5,22,4),ar(0,7,8,-4,0,13,19,2,0,5,24,4),ar(0,7,9,-4,0,14,21,2,0,5,26,4),ar(0,8,9,-5,0,15,22,2,0,6,28,5),ar(0,8,10,-5,0,16,24,2,0,6,30,5),ar(0,8,11,-5,0,17,26,2,0,6,32,5),ar(0,9,11,-5,0,18,28,2,0,7,34,6),ar(0,9,12,-6,0,19,29,2,0,7,36,6),ar(0,10,13,-6,0,20,31,3,0,8,38,7),ar(0,10,13,-6,0,21,33,3,0,8,40,7),ar(0,10,14,-6,0,22,35,3,0,8,42,7),ar(0,11,14,-7,0,23,36,3,0,9,44,8),ar(0,11,15,-7,0,24,38,3,0,9,46,8)],a9e=o9e,s9e=["duration","easing","delay"],l9e={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cW={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bO(e){return`${Math.round(e)}ms`}function u9e(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function c9e(e){const t=P({},l9e,e.easing),n=P({},cW,e.duration);return P({getAutoHeightDuration:u9e,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0}=o;return $e(o,s9e),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:bO(a)} ${s} ${typeof l=="string"?l:bO(l)}`).join(",")}},e,{easing:t,duration:n})}const d9e={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},f9e=d9e,p9e=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function f3(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,a=$e(e,p9e);if(e.vars)throw new Error(Wl(18));const s=Z5e(r),l=ed(e);let c=Ai(l,{mixins:L5e(l.breakpoints,n),palette:s,shadows:a9e.slice(),typography:t9e(s,o),transitions:c9e(i),zIndex:P({},f9e)});return c=Ai(c,a),c=t.reduce((d,p)=>Ai(d,p),c),c}function h9e(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function m9e(e){return parseFloat(e)}const g9e=f3(),X2=g9e;function Dn(){return Tp(X2)}function St({props:e,name:t}){return tg({props:e,name:t,defaultTheme:X2})}const fs=e=>mf(e)&&e!=="classes",p3=mf,v9e=a3({defaultTheme:X2,rootShouldForwardProp:fs}),ye=v9e,y9e=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},EO=y9e,b9e={palette:{background:{default:"#EEEEEE",surface0:"#E7E7E7",surface1:"#C5C5C5",surface2:"#D9D9D9",surface3:"#F5F5F5",surface4:"#FAFAFA"},primary:{main:"#FFB74D",contrastText:"#000"},text:{secondary:"#979696",secondaryDark:"#545454",primaryLight:"#444343"},error:{main:"#AE0C0C"}},shape:{borderRadius:5},spacing:1,arrows:{type:"2d","2d":{color:"#FFB74D",bgColor:"#ffffff",outlineColor:"#ffffff",bgOpacity:.25,tilt:65},"3d":{color:"#FF7F00"}},appointment:{threshold:50},categories:{hideThreshold:10},elevator:{buttonColor:"#000",buttonOpacity:.5,textColor:"#fff"},nextStopPromptType:Lu.Button,flags:{ca:"ca"},scrollInstigator:{timeout:null},userFeedback:{routeFeedback:!0,ratingFeedback:!1},stops:{disabled:!1,limit:2}},TO=(e={},t=!1)=>{var r,i,o;e=ae.merge({},e,{arrows:{"2d":{color:(i=(r=e.palette)==null?void 0:r.primary)==null?void 0:i.main,...((o=e.arrows)==null?void 0:o["2d"])||{}}}});const n=f3(ae.merge({},b9e,e,{direction:t?"rtl":"ltr"}));return n.shadows=["none","0 1px 2px rgba(0, 0, 0, 0.25)","0 4px 4px rgba(0, 0, 0, 0.25)",...n.shadows.slice(3)],n};class E9e{constructor(){Ne(this,"_base",new ds("ThemesStore"));Ne(this,"_themes",{});Ne(this,"_default",TO());Ne(this,"_theme");Oa(this)}get initialized(){return this._base.initialized}get initializing(){return this._base.initializing}get availableThemes(){return ae.map(this._themes,(t,n)=>n)}get theme(){return this._theme||this._default}get rtl(){var n;const t=ga.selectedLanguage;return!!((n=ga.languages.find(r=>r.ietf===(t==null?void 0:t.id)))!=null&&n.rtl)}async initialize(){!await this._base.startInitialize()||(await Promise.all([yn.initialize(),ga.initialize()]),this.loadThemes(yn.building),Gi(()=>yn.building,t=>this.loadThemes(t)),Gi(()=>ga.selectedLanguage,()=>{this.changeTheme(this._theme)}),this._base.finishInitialize())}loadThemes(t){if(!t||ae.isEmpty(t.theme)){this._themes={},this.changeTheme();return}this._themes=t.theme,ae.each(this._themes,(n,r)=>{ae.set(n,"palette.mode",r)}),this.changeTheme(ae.values(this._themes)[0])}changeTheme(t){this._theme=TO(t,this.rtl)}}const T9e=new E9e,dW={queryParams:vt,buildings:yn,themes:T9e,languages:ga,destinations:ui,distanceMatrix:xme,pathfinder:y0e,translations:lm,homepage:m0e,analytics:Ru,appointments:tx},gt=T.exports.createContext(dW);if(!T.exports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Yhe)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function _9e(e){e()}function S9e(e){e||(e=_9e),$he({reactionScheduler:e})}function x9e(e){return Fhe(e)}var _O=typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry;function fW(e){var t={reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+C9e};return t}var C9e=1e4,w9e=1e4;function A9e(e){var t=new Map,n=1,r=new e(function(o){var a=t.get(o);a&&(a.reaction.dispose(),t.delete(o))});return{addReactionToTrack:function(i,o,a){var s=n++;return r.register(a,s,i),i.current=fW(o),i.current.finalizationRegistryCleanupToken=s,t.set(s,i.current),i.current},recordReactionAsCommitted:function(i){r.unregister(i),i.current&&i.current.finalizationRegistryCleanupToken&&t.delete(i.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}var I9e=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function R9e(){var e=new Set,t;function n(){t&&(clearTimeout(t),s())}function r(){var l,c;if(e.size>0){try{for(var d=I9e(e),p=d.next();!p.done;p=d.next()){var h=p.value,m=h.current;m&&(m.reaction.dispose(),h.current=null)}}catch(v){l={error:v}}finally{try{p&&!p.done&&(c=d.return)&&c.call(d)}finally{if(l)throw l.error}}e.clear()}t&&(clearTimeout(t),t=void 0)}function i(){t===void 0&&(t=setTimeout(s,w9e))}function o(l){e.add(l),i()}function a(l){e.delete(l)}function s(){t=void 0;var l=Date.now();e.forEach(function(c){var d=c.current;d&&l>=d.cleanAt&&(d.reaction.dispose(),c.current=null,e.delete(c))}),e.size>0&&i()}return{addReactionToTrack:function(l,c,d){return l.current=fW(c),o(l),l.current},recordReactionAsCommitted:a,forceCleanupTimerToRunNowForTests:n,resetCleanupScheduleForTests:r}}var pW=_O?A9e(_O):R9e(),P9e=pW.addReactionToTrack,O9e=pW.recordReactionAsCommitted,SO=globalThis&&globalThis.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function xO(e){return"observer".concat(e)}var k9e=function(){function e(){}return e}();function N9e(){return new k9e}function D9e(e,t){t===void 0&&(t="observed");var n=SO(jn.useState(N9e),1),r=n[0],i=SO(jn.useState(),2),o=i[1],a=function(){return o([])},s=jn.useRef(null);if(!s.current)var l=new Ff(xO(t),function(){c.mounted?a():c.changedBeforeMount=!0}),c=P9e(s,l,r);var d=s.current.reaction;jn.useDebugValue(d,x9e),jn.useEffect(function(){return O9e(s),s.current?(s.current.mounted=!0,s.current.changedBeforeMount&&(s.current.changedBeforeMount=!1,a())):(s.current={reaction:new Ff(xO(t),function(){a()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},a()),function(){s.current.reaction.dispose(),s.current=null}},[]);var p,h;if(d.track(function(){try{p=e()}catch(m){h=m}}),h)throw h;return p}var hW=typeof Symbol=="function"&&Symbol.for,CO=hW?Symbol.for("react.forward_ref"):typeof T.exports.forwardRef=="function"&&T.exports.forwardRef(function(e){return null}).$$typeof,wO=hW?Symbol.for("react.memo"):typeof T.exports.memo=="function"&&T.exports.memo(function(e){return null}).$$typeof;function xt(e,t){var n;if(wO&&e.$$typeof===wO)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var r=(n=t==null?void 0:t.forwardRef)!==null&&n!==void 0?n:!1,i=e,o=e.displayName||e.name;if(CO&&e.$$typeof===CO&&(r=!0,i=e.render,typeof i!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a=function(s,l){return D9e(function(){return i(s,l)},o)};return o!==""&&(a.displayName=o),e.contextTypes&&(a.contextTypes=e.contextTypes),r&&(a=T.exports.forwardRef(a)),a=T.exports.memo(a),M9e(e,a),a}var L9e={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function M9e(e,t){Object.keys(e).forEach(function(n){L9e[n]||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}globalThis&&globalThis.__read;S9e(q1.exports.unstable_batchedUpdates);/**
 * @remix-run/router v1.0.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fr.apply(this,arguments)}var Br;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Br||(Br={}));const AO="popstate";function $9e(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return b1("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:cs(i)}return B9e(t,n,null,e)}function F9e(){return Math.random().toString(36).substr(2,8)}function IO(e){return{usr:e.state,key:e.key}}function b1(e,t,n,r){return n===void 0&&(n=null),fr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Jl(t):t,{state:n,key:t&&t.key||r||F9e()})}function cs(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 Jl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function s0(e){let t=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:"unknown://unknown",n=typeof e=="string"?e:cs(e);return new URL(n,t)}function B9e(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Br.Pop,l=null;function c(){s=Br.Pop,l&&l({action:s,location:h.location})}function d(m,v){s=Br.Push;let y=b1(h.location,m,v);n&&n(y,m);let x=IO(y),b=h.createHref(y);try{a.pushState(x,"",b)}catch(_){i.location.assign(b)}o&&l&&l({action:s,location:h.location})}function p(m,v){s=Br.Replace;let y=b1(h.location,m,v);n&&n(y,m);let x=IO(y),b=h.createHref(y);a.replaceState(x,"",b),o&&l&&l({action:s,location:h.location})}let h={get action(){return s},get location(){return e(i,a)},listen(m){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(AO,c),l=m,()=>{i.removeEventListener(AO,c),l=null}},createHref(m){return t(i,m)},encodeLocation(m){let v=s0(cs(m));return fr({},m,{pathname:v.pathname,search:v.search,hash:v.hash})},push:d,replace:p,go(m){return a.go(m)}};return h}var ci;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ci||(ci={}));function H9e(e){return e.index===!0}function mW(e,t,n){return t===void 0&&(t=[]),n===void 0&&(n=new Set),e.map((r,i)=>{let o=[...t,i],a=typeof r.id=="string"?r.id:o.join("-");return on(r.index!==!0||!r.children,"Cannot specify children on an index route"),on(!n.has(a),'Found a route id collision on id "'+a+`".  Route id's must be globally unique within Data Router usages`),n.add(a),H9e(r)?fr({},r,{id:a}):fr({},r,{id:a,children:r.children?mW(r.children,o,n):void 0})})}function Bh(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Jl(t):t,i=vW(r.pathname||"/",n);if(i==null)return null;let o=gW(e);U9e(o);let a=null;for(let s=0;a==null&&s<o.length;++s)a=X9e(o[s],J9e(i));return a}function gW(e,t,n,r){return t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=""),e.forEach((i,o)=>{let a={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(on(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=Ll([r,a.relativePath]),l=n.concat(a);i.children&&i.children.length>0&&(on(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),gW(i.children,t,l,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:q9e(s,i.index),routesMeta:l})}),t}function U9e(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Y9e(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const z9e=/^:\w+$/,G9e=3,W9e=2,j9e=1,V9e=10,K9e=-2,RO=e=>e==="*";function q9e(e,t){let n=e.split("/"),r=n.length;return n.some(RO)&&(r+=K9e),t&&(r+=W9e),n.filter(i=>!RO(i)).reduce((i,o)=>i+(z9e.test(o)?G9e:o===""?j9e:V9e),r)}function Y9e(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function X9e(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;a<n.length;++a){let s=n[a],l=a===n.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Q9e({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c);if(!d)return null;Object.assign(r,d.params);let p=s.route;o.push({params:r,pathname:Ll([i,d.pathname]),pathnameBase:rye(Ll([i,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(i=Ll([i,d.pathnameBase]))}return o}function Q9e(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Z9e(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((c,d,p)=>{if(d==="*"){let h=s[p]||"";a=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}return c[d]=eye(s[p]||"",d),c},{}),pathname:o,pathnameBase:a,pattern:e}}function Z9e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),h3(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(a,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function J9e(e){try{return decodeURI(e)}catch(t){return h3(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function eye(e,t){try{return decodeURIComponent(e)}catch(n){return h3(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function vW(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)||"/"}function on(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function h3(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function tye(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Jl(e):e;return{pathname:n?n.startsWith("/")?n:nye(n,t):t,search:iye(r),hash:oye(i)}}function nye(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function vT(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 Q2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function m3(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Jl(e):(i=fr({},e),on(!i.pathname||!i.pathname.includes("?"),vT("?","pathname","search",i)),on(!i.pathname||!i.pathname.includes("#"),vT("#","pathname","hash",i)),on(!i.search||!i.search.includes("#"),vT("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(r||a==null)s=n;else{let p=t.length-1;if(a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),p-=1;i.pathname=h.join("/")}s=p>=0?t[p]:"/"}let l=tye(i,s),c=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const Ll=e=>e.join("/").replace(/\/\/+/g,"/"),rye=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iye=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,oye=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class PO extends Error{}class aye{constructor(t){this.pendingKeys=new Set,this.subscriber=void 0,on(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((i,o)=>n=o),this.controller=new AbortController;let r=()=>n(new PO("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(t).reduce((i,o)=>{let[a,s]=o;return Object.assign(i,{[a]:this.trackPromise(a,s)})},{})}trackPromise(t,n){if(!(n instanceof Promise))return n;this.pendingKeys.add(t);let r=Promise.race([n,this.abortPromise]).then(i=>this.onSettle(r,t,null,i),i=>this.onSettle(r,t,i));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(t,n,r,i){if(this.controller.signal.aborted&&r instanceof PO)return this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>r}),Promise.reject(r);this.pendingKeys.delete(n),this.done&&this.unlistenAbortSignal();const o=this.subscriber;return r?(Object.defineProperty(t,"_error",{get:()=>r}),o&&o(!1),Promise.reject(r)):(Object.defineProperty(t,"_data",{get:()=>i}),o&&o(!1),i)}subscribe(t){this.subscriber=t}cancel(){this.controller.abort(),this.pendingKeys.forEach((n,r)=>this.pendingKeys.delete(r));let t=this.subscriber;t&&t(!0)}async resolveData(t){let n=!1;if(!this.done){let r=()=>this.cancel();t.addEventListener("abort",r),n=await new Promise(i=>{this.subscribe(o=>{t.removeEventListener("abort",r),(o||this.done)&&i(o)})})}return n}get done(){return this.pendingKeys.size===0}get unwrappedData(){return on(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,n)=>{let[r,i]=n;return Object.assign(t,{[r]:lye(i)})},{})}}function sye(e){return e instanceof Promise&&e._tracked===!0}function lye(e){if(!sye(e))return e;if(e._error)throw e._error;return e._data}class Sp{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function yW(e){return e instanceof Sp}const yT={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},uye={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},cye=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dye=!cye;function fye(e){on(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t=mW(e.routes),n=null,r=new Set,i=null,o=null,a=null,s=!1,l=Bh(t,e.history.location,e.basename),c=null;if(l==null){let{matches:ie,route:ce,error:he}=LO(t);l=ie,c={[ce.id]:he}}let d=!l.some(ie=>ie.route.loader)||e.hydrationData!=null,p,h={historyAction:e.history.action,location:e.history.location,matches:l,initialized:d,navigation:yT,restoreScrollPosition:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||c,fetchers:new Map},m=Br.Pop,v=!1,y,x=!1,b=!1,_=[],S=[],C=new Map,O=0,A=-1,R=new Map,N=new Set,F=new Map,L=new Map;function H(){return n=e.history.listen(ie=>{let{action:ce,location:he}=ie;return z(ce,he)}),h.initialized||z(Br.Pop,h.location),p}function j(){n&&n(),r.clear(),y&&y.abort(),h.fetchers.forEach((ie,ce)=>Ee(ce))}function Y(ie){return r.add(ie),()=>r.delete(ie)}function K(ie){h=fr({},h,ie),r.forEach(ce=>ce(h))}function Z(ie,ce){var he;let Ae=h.actionData!=null&&h.navigation.formMethod!=null&&h.navigation.state==="loading"&&((he=h.navigation.formAction)==null?void 0:he.split("?")[0])===ie.pathname,Ge=ce.loaderData?{loaderData:ET(h.loaderData,ce.loaderData,ce.matches||[])}:{};K(fr({},Ae?{}:{actionData:null},ce,Ge,{historyAction:m,location:ie,initialized:!0,navigation:yT,revalidation:"idle",restoreScrollPosition:h.navigation.formData?!1:je(ie,ce.matches||h.matches),preventScrollReset:v})),x||m===Br.Pop||(m===Br.Push?e.history.push(ie,ie.state):m===Br.Replace&&e.history.replace(ie,ie.state)),m=Br.Pop,v=!1,x=!1,b=!1,_=[],S=[]}async function ne(ie,ce){if(typeof ie=="number"){e.history.go(ie);return}let{path:he,submission:Ae,error:Ge}=OO(ie,ce),Xe=b1(h.location,he,ce&&ce.state);Xe=e.history.encodeLocation(Xe);let ue=(ce&&ce.replace)===!0||Ae!=null?Br.Replace:Br.Push,ve=ce&&"preventScrollReset"in ce?ce.preventScrollReset===!0:void 0;return await z(ue,Xe,{submission:Ae,pendingError:Ge,preventScrollReset:ve,replace:ce&&ce.replace})}function oe(){if(Ce(),K({revalidation:"loading"}),h.navigation.state!=="submitting"){if(h.navigation.state==="idle"){z(h.historyAction,h.location,{startUninterruptedRevalidation:!0});return}z(m||h.historyAction,h.navigation.location,{overrideNavigation:h.navigation})}}async function z(ie,ce,he){y&&y.abort(),y=null,m=ie,x=(he&&he.startUninterruptedRevalidation)===!0,Bt(h.location,h.matches),v=(he&&he.preventScrollReset)===!0;let Ae=he&&he.overrideNavigation,Ge=Bh(t,ce,e.basename);if(!Ge){let{matches:V,route:fe,error:de}=LO(t);rt(),Z(ce,{matches:V,loaderData:{},errors:{[fe.id]:de}});return}if(yye(h.location,ce)){Z(ce,{matches:Ge});return}y=new AbortController;let Xe=dh(ce,y.signal,he&&he.submission),ue,ve;if(he&&he.pendingError)ve={[tf(Ge).route.id]:he.pendingError};else if(he&&he.submission){let V=await Q(Xe,ce,he.submission,Ge,{replace:he.replace});if(V.shortCircuited)return;ue=V.pendingActionData,ve=V.pendingActionError,Ae=fr({state:"loading",location:ce},he.submission)}let{shortCircuited:De,loaderData:Le,errors:U}=await J(Xe,ce,Ge,Ae,he&&he.submission,he&&he.replace,ue,ve);De||(y=null,Z(ce,{matches:Ge,loaderData:Le,errors:U}))}async function Q(ie,ce,he,Ae,Ge){Ce();let Xe=fr({state:"submitting",location:ce},he);K({navigation:Xe});let ue,ve=HO(Ae,ce);if(!ve.route.action)ue=MO(ce);else if(ue=await ch("action",ie,ve,Ae,p.basename),ie.signal.aborted)return{shortCircuited:!0};if(gf(ue)){let De=fr({state:"loading",location:b1(h.location,ue.location)},he);return await me(ue,De,Ge&&Ge.replace),{shortCircuited:!0}}if(fm(ue)){let De=tf(Ae,ve.route.id);return(Ge&&Ge.replace)!==!0&&(m=Br.Push),{pendingActionError:{[De.route.id]:ue.error}}}if(a1(ue))throw new Error("defer() is not supported in actions");return{pendingActionData:{[ve.route.id]:ue.data}}}async function J(ie,ce,he,Ae,Ge,Xe,ue,ve){let De=Ae;De||(De={state:"loading",location:ce,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0});let[Le,U]=kO(h,he,Ge,ce,b,_,S,ue,ve,F);if(rt(en=>!(he&&he.some(Kt=>Kt.route.id===en))||Le&&Le.some(Kt=>Kt.route.id===en)),Le.length===0&&U.length===0)return Z(ce,{matches:he,loaderData:ET(h.loaderData,{},he),errors:ve||null,actionData:ue||null}),{shortCircuited:!0};x||(U.forEach(en=>{let[Kt]=en,Ot=h.fetchers.get(Kt),ir={state:"loading",data:Ot&&Ot.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};h.fetchers.set(Kt,ir)}),K(fr({navigation:De,actionData:ue||h.actionData||null},U.length>0?{fetchers:new Map(h.fetchers)}:{}))),A=++O,U.forEach(en=>{let[Kt]=en;return C.set(Kt,y)});let{results:V,loaderResults:fe,fetcherResults:de}=await se(h.matches,he,Le,U,ie);if(ie.signal.aborted)return{shortCircuited:!0};U.forEach(en=>{let[Kt]=en;return C.delete(Kt)});let Ve=$O(V);if(Ve){let en=bT(h,Ve);return await me(Ve,en,Xe),{shortCircuited:!0}}let{loaderData:qe,errors:Je}=DO(h,he,Le,fe,ve,U,de,L);L.forEach((en,Kt)=>{en.subscribe(Ot=>{(Ot||en.done)&&L.delete(Kt)})}),tt();let Tt=ut(A);return fr({loaderData:qe,errors:Je},Tt||U.length>0?{fetchers:new Map(h.fetchers)}:{})}function M(ie){return h.fetchers.get(ie)||uye}function B(ie,ce,he,Ae){if(dye)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");C.has(ie)&&Qe(ie);let Ge=Bh(t,he,e.basename);if(!Ge){ke(ie,ce,new Sp(404,"Not Found",null));return}let{path:Xe,submission:ue}=OO(he,Ae,!0),ve=HO(Ge,Xe);if(ue){Pe(ie,ce,Xe,ve,Ge,ue);return}F.set(ie,[Xe,ve,Ge]),pe(ie,ce,Xe,ve,Ge)}async function Pe(ie,ce,he,Ae,Ge,Xe){if(Ce(),F.delete(ie),!Ae.route.action){let{error:Ar}=MO(he);ke(ie,ce,Ar);return}let ue=h.fetchers.get(ie),ve=fr({state:"submitting"},Xe,{data:ue&&ue.data});h.fetchers.set(ie,ve),K({fetchers:new Map(h.fetchers)});let De=new AbortController,Le=dh(he,De.signal,Xe);C.set(ie,De);let U=await ch("action",Le,Ae,Ge,p.basename);if(Le.signal.aborted){C.get(ie)===De&&C.delete(ie);return}if(gf(U)){C.delete(ie),N.add(ie);let Ar=fr({state:"loading"},Xe,{data:void 0});h.fetchers.set(ie,Ar),K({fetchers:new Map(h.fetchers)});let jr=fr({state:"loading",location:b1(h.location,U.location)},Xe);await me(U,jr);return}if(fm(U)){ke(ie,ce,U.error);return}a1(U)&&on(!1,"defer() is not supported in actions");let V=h.navigation.location||h.location,fe=dh(V,De.signal),de=h.navigation.state!=="idle"?Bh(t,h.navigation.location,e.basename):h.matches;on(de,"Didn't find any matches after fetcher action");let Ve=++O;R.set(ie,Ve);let qe=fr({state:"loading",data:U.data},Xe);h.fetchers.set(ie,qe);let[Je,Tt]=kO(h,de,Xe,V,b,_,S,{[Ae.route.id]:U.data},void 0,F);Tt.filter(Ar=>{let[jr]=Ar;return jr!==ie}).forEach(Ar=>{let[jr]=Ar,gs=h.fetchers.get(jr),$a={state:"loading",data:gs&&gs.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};h.fetchers.set(jr,$a),C.set(jr,De)}),K({fetchers:new Map(h.fetchers)});let{results:en,loaderResults:Kt,fetcherResults:Ot}=await se(h.matches,de,Je,Tt,fe);if(De.signal.aborted)return;R.delete(ie),C.delete(ie),Tt.forEach(Ar=>{let[jr]=Ar;return C.delete(jr)});let ir=$O(en);if(ir){let Ar=bT(h,ir);await me(ir,Ar);return}let{loaderData:Kn,errors:Rn}=DO(h,h.matches,Je,Kt,void 0,Tt,Ot,L),Hn={state:"idle",data:U.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};h.fetchers.set(ie,Hn);let Lr=ut(Ve);h.navigation.state==="loading"&&Ve>A?(on(m,"Expected pending action"),y&&y.abort(),Z(h.navigation.location,{matches:de,loaderData:Kn,errors:Rn,fetchers:new Map(h.fetchers)})):(K(fr({errors:Rn,loaderData:ET(h.loaderData,Kn,de)},Lr?{fetchers:new Map(h.fetchers)}:{})),b=!1)}async function pe(ie,ce,he,Ae,Ge){let Xe=h.fetchers.get(ie),ue={state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,data:Xe&&Xe.data};h.fetchers.set(ie,ue),K({fetchers:new Map(h.fetchers)});let ve=new AbortController,De=dh(he,ve.signal);C.set(ie,ve);let Le=await ch("loader",De,Ae,Ge,p.basename);if(a1(Le)&&(Le=await _W(Le,De.signal,!0)||Le),C.get(ie)===ve&&C.delete(ie),De.signal.aborted)return;if(gf(Le)){let V=bT(h,Le);await me(Le,V);return}if(fm(Le)){let V=tf(h.matches,ce);h.fetchers.delete(ie),K({fetchers:new Map(h.fetchers),errors:{[V.route.id]:Le.error}});return}on(!a1(Le),"Unhandled fetcher deferred data");let U={state:"idle",data:Le.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};h.fetchers.set(ie,U),K({fetchers:new Map(h.fetchers)})}async function me(ie,ce,he){ie.revalidate&&(b=!0),on(ce.location,"Expected a location on the redirect navigation"),y=null;let Ae=he===!0?Br.Replace:Br.Push;await z(Ae,ce.location,{overrideNavigation:ce})}async function se(ie,ce,he,Ae,Ge){let Xe=await Promise.all([...he.map(De=>ch("loader",Ge,De,ce,p.basename)),...Ae.map(De=>{let[,Le,U,V]=De;return ch("loader",dh(Le,Ge.signal),U,V,p.basename)})]),ue=Xe.slice(0,he.length),ve=Xe.slice(he.length);return await Promise.all([FO(ie,he,ue,Ge.signal,!1,h.loaderData),FO(ie,Ae.map(De=>{let[,,Le]=De;return Le}),ve,Ge.signal,!0)]),{results:Xe,loaderResults:ue,fetcherResults:ve}}function Ce(){b=!0,_.push(...rt()),F.forEach((ie,ce)=>{C.has(ce)&&(S.push(ce),Qe(ce))})}function ke(ie,ce,he){let Ae=tf(h.matches,ce);Ee(ie),K({errors:{[Ae.route.id]:he},fetchers:new Map(h.fetchers)})}function Ee(ie){C.has(ie)&&Qe(ie),F.delete(ie),R.delete(ie),N.delete(ie),h.fetchers.delete(ie)}function Qe(ie){let ce=C.get(ie);on(ce,"Expected fetch controller: "+ie),ce.abort(),C.delete(ie)}function Re(ie){for(let ce of ie){let Ae={state:"idle",data:M(ce).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};h.fetchers.set(ce,Ae)}}function tt(){let ie=[];for(let ce of N){let he=h.fetchers.get(ce);on(he,"Expected fetcher: "+ce),he.state==="loading"&&(N.delete(ce),ie.push(ce))}Re(ie)}function ut(ie){let ce=[];for(let[he,Ae]of R)if(Ae<ie){let Ge=h.fetchers.get(he);on(Ge,"Expected fetcher: "+he),Ge.state==="loading"&&(Qe(he),R.delete(he),ce.push(he))}return Re(ce),ce.length>0}function rt(ie){let ce=[];return L.forEach((he,Ae)=>{(!ie||ie(Ae))&&(he.cancel(),ce.push(Ae),L.delete(Ae))}),ce}function Fe(ie,ce,he){if(i=ie,a=ce,o=he||(Ae=>Ae.key),!s&&h.navigation===yT){s=!0;let Ae=je(h.location,h.matches);Ae!=null&&K({restoreScrollPosition:Ae})}return()=>{i=null,a=null,o=null}}function Bt(ie,ce){if(i&&o&&a){let he=ce.map(Ge=>BO(Ge,h.loaderData)),Ae=o(ie,he)||ie.key;i[Ae]=a()}}function je(ie,ce){if(i&&o&&a){let he=ce.map(Xe=>BO(Xe,h.loaderData)),Ae=o(ie,he)||ie.key,Ge=i[Ae];if(typeof Ge=="number")return Ge}return null}return p={get basename(){return e.basename},get state(){return h},get routes(){return t},initialize:H,subscribe:Y,enableScrollRestoration:Fe,navigate:ne,fetch:B,revalidate:oe,createHref:ie=>e.history.createHref(ie),getFetcher:M,deleteFetcher:Ee,dispose:j,_internalFetchControllers:C,_internalActiveDeferreds:L},p}const pye=new Set(["POST","PUT","PATCH","DELETE"]);[...pye];function OO(e,t,n){n===void 0&&(n=!1);let r=typeof e=="string"?e:cs(e);if(!t||!("formMethod"in t)&&!("formData"in t))return{path:r};if(t.formMethod!=null&&t.formMethod!=="get")return{path:r,submission:{formMethod:t.formMethod,formAction:TW(r),formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:t.formData}};if(!t.formData)return{path:r};let i=Jl(r);try{let o=EW(t.formData);n&&i.search&&SW(i.search)&&o.append("index",""),i.search="?"+o}catch(o){return{path:r,error:new Sp(400,"Bad Request","Cannot submit binary form data using GET")}}return{path:cs(i)}}function bT(e,t){let{formMethod:n,formAction:r,formEncType:i,formData:o}=e.navigation;return{state:"loading",location:b1(e.location,t.location),formMethod:n||void 0,formAction:r||void 0,formEncType:i||void 0,formData:o||void 0}}function hye(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function kO(e,t,n,r,i,o,a,s,l,c){let d=l?Object.values(l)[0]:s?Object.values(s)[0]:null,p=l?Object.keys(l)[0]:void 0,m=hye(t,p).filter((y,x)=>y.route.loader!=null&&(mye(e.loaderData,e.matches[x],y)||o.some(b=>b===y.route.id)||NO(e.location,e.matches[x],n,r,y,i,d))),v=[];return c&&c.forEach((y,x)=>{let[b,_,S]=y;a.includes(x)?v.push([x,b,_,S]):i&&NO(b,_,n,b,_,i,d)&&v.push([x,b,_,S])}),[m,v]}function mye(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function bW(e,t){let n=e.route.path;return e.pathname!==t.pathname||n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function NO(e,t,n,r,i,o,a){let s=s0(e),l=t.params,c=s0(r),d=i.params,p=bW(t,i)||s.toString()===c.toString()||s.search!==c.search||o;if(i.route.shouldRevalidate){let h=i.route.shouldRevalidate(fr({currentUrl:s,currentParams:l,nextUrl:c,nextParams:d},n,{actionResult:a,defaultShouldRevalidate:p}));if(typeof h=="boolean")return h}return p}async function ch(e,t,n,r,i,o,a){o===void 0&&(o=!1),a===void 0&&(a=!1);let s,l,c,d=new Promise((h,m)=>c=m),p=()=>c();t.signal.addEventListener("abort",p);try{let h=n.route[e];on(h,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),l=await Promise.race([h({request:t,params:n.params}),d])}catch(h){s=ci.error,l=h}finally{t.signal.removeEventListener("abort",p)}if(l instanceof Response){let h=l.status;if(h>=300&&h<=399){let y=l.headers.get("Location");on(y,"Redirects returned/thrown from loaders/actions must have a Location header");let x=r.slice(0,r.indexOf(n)+1),b=Q2(x).map(C=>C.pathnameBase),_=s0(t.url).pathname,S=m3(y,b,_);if(on(cs(S),"Unable to resolve redirect location: "+l.headers.get("Location")),i){let C=S.pathname;S.pathname=C==="/"?i:Ll([i,C])}if(y=cs(S),o)throw l.headers.set("Location",y),l;return{type:ci.redirect,status:h,location:y,revalidate:l.headers.get("X-Remix-Revalidate")!==null}}if(a)throw{type:s||ci.data,response:l};let m,v=l.headers.get("Content-Type");return v&&v.startsWith("application/json")?m=await l.json():m=await l.text(),s===ci.error?{type:s,error:new Sp(h,l.statusText,m),headers:l.headers}:{type:ci.data,data:m,statusCode:l.status,headers:l.headers}}return s===ci.error?{type:s,error:l}:l instanceof aye?{type:ci.deferred,deferredData:l}:{type:ci.data,data:l}}function dh(e,t,n){let r=s0(TW(e)).toString(),i={signal:t};if(n){let{formMethod:o,formEncType:a,formData:s}=n;i.method=o.toUpperCase(),i.body=a==="application/x-www-form-urlencoded"?EW(s):s}return new Request(r,i)}function EW(e){let t=new URLSearchParams;for(let[n,r]of e.entries())on(typeof r=="string",'File inputs are not supported with encType "application/x-www-form-urlencoded", please use "multipart/form-data" instead.'),t.append(n,r);return t}function gye(e,t,n,r,i){let o={},a=null,s,l=!1,c={};return n.forEach((d,p)=>{let h=t[p].route.id;if(on(!gf(d),"Cannot handle redirect results in processLoaderData"),fm(d)){let m=tf(e,h),v=d.error;r&&(v=Object.values(r)[0],r=void 0),a=Object.assign(a||{},{[m.route.id]:v}),l||(l=!0,s=yW(d.error)?d.error.status:500),d.headers&&(c[h]=d.headers)}else a1(d)?(i&&i.set(h,d.deferredData),o[h]=d.deferredData.data):(o[h]=d.data,d.statusCode!=null&&d.statusCode!==200&&!l&&(s=d.statusCode),d.headers&&(c[h]=d.headers))}),r&&(a=r),{loaderData:o,errors:a,statusCode:s||200,loaderHeaders:c}}function DO(e,t,n,r,i,o,a,s){let{loaderData:l,errors:c}=gye(t,n,r,i,s);for(let d=0;d<o.length;d++){let[p,,h]=o[d];on(a!==void 0&&a[d]!==void 0,"Did not find corresponding fetcher result");let m=a[d];if(fm(m)){let v=tf(e.matches,h.route.id);c&&c[v.route.id]||(c=fr({},c,{[v.route.id]:m.error})),e.fetchers.delete(p)}else{if(gf(m))throw new Error("Unhandled fetcher revalidation redirect");if(a1(m))throw new Error("Unhandled fetcher deferred data");{let v={state:"idle",data:m.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0};e.fetchers.set(p,v)}}}return{loaderData:l,errors:c}}function ET(e,t,n){let r=fr({},t);return n.forEach(i=>{let o=i.route.id;t[o]===void 0&&e[o]!==void 0&&(r[o]=e[o])}),r}function tf(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function vye(e,t,n){let r=e.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-"+t+"-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:r}],route:r,error:new Sp(t,n,null)}}function LO(e){return vye(e,404,"Not Found")}function MO(e){let t=typeof e=="string"?e:cs(e);return console.warn("You're trying to submit to a route that does not have an action.  To fix this, please add an `action` function to the route for "+("["+t+"]")),{type:ci.error,error:new Sp(405,"Method Not Allowed","")}}function $O(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(gf(n))return n}}function TW(e){let t=typeof e=="string"?Jl(e):e;return cs(fr({},t,{hash:""}))}function yye(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash!==t.hash}function a1(e){return e.type===ci.deferred}function fm(e){return e.type===ci.error}function gf(e){return(e&&e.type)===ci.redirect}async function FO(e,t,n,r,i,o){for(let a=0;a<n.length;a++){let s=n[a],l=t[a],c=e.find(p=>p.route.id===l.route.id),d=c!=null&&!bW(c,l)&&(o&&o[l.route.id])!==void 0;a1(s)&&(i||d)&&await _W(s,r,i).then(p=>{p&&(n[a]=p||n[a])})}}async function _W(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ci.data,data:e.deferredData.unwrappedData}}catch(i){return{type:ci.error,error:i}}return{type:ci.data,data:e.deferredData.data}}}function SW(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function BO(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function HO(e,t){let n=typeof t=="string"?Jl(t).search:t.search;if(e[e.length-1].route.index&&SW(n||""))return e[e.length-1];let r=Q2(e);return r[r.length-1]}/**
 * React Router v6.4.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function fy(){return fy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fy.apply(this,arguments)}function bye(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const Eye=typeof Object.is=="function"?Object.is:bye,{useState:Tye,useEffect:_ye,useLayoutEffect:Sye,useDebugValue:xye}=S1;function Cye(e,t,n){const r=t(),[{inst:i},o]=Tye({inst:{value:r,getSnapshot:t}});return Sye(()=>{i.value=r,i.getSnapshot=t,TT(i)&&o({inst:i})},[e,r,t]),_ye(()=>(TT(i)&&o({inst:i}),e(()=>{TT(i)&&o({inst:i})})),[e]),xye(r),r}function TT(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!Eye(n,r)}catch(r){return!0}}function wye(e,t,n){return t()}const Aye=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iye=!Aye,Rye=Iye?wye:Cye,Pye="useSyncExternalStore"in S1?(e=>e.useSyncExternalStore)(S1):Rye,Oye=T.exports.createContext(null),xW=T.exports.createContext(null),g3=T.exports.createContext(null),v3=T.exports.createContext(null),Z2=T.exports.createContext(null),td=T.exports.createContext({outlet:null,matches:[]}),CW=T.exports.createContext(null);function kye(e,t){let{relative:n}=t===void 0?{}:t;rg()||on(!1);let{basename:r,navigator:i}=T.exports.useContext(v3),{hash:o,pathname:a,search:s}=wW(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:Ll([r,a])),i.createHref({pathname:l,search:s,hash:o})}function rg(){return T.exports.useContext(Z2)!=null}function ig(){return rg()||on(!1),T.exports.useContext(Z2).location}function J2(){rg()||on(!1);let{basename:e,navigator:t}=T.exports.useContext(v3),{matches:n}=T.exports.useContext(td),{pathname:r}=ig(),i=JSON.stringify(Q2(n).map(s=>s.pathnameBase)),o=T.exports.useRef(!1);return T.exports.useEffect(()=>{o.current=!0}),T.exports.useCallback(function(s,l){if(l===void 0&&(l={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=m3(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:Ll([e,c.pathname])),(l.replace?t.replace:t.push)(c,l.state,l)},[e,t,i,r])}const Nye=T.exports.createContext(null);function Dye(e){let t=T.exports.useContext(td).outlet;return t&&E(Nye.Provider,{value:e,children:t})}function Lye(){let{matches:e}=T.exports.useContext(td),t=e[e.length-1];return t?t.params:{}}function wW(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=T.exports.useContext(td),{pathname:i}=ig(),o=JSON.stringify(Q2(r).map(a=>a.pathnameBase));return T.exports.useMemo(()=>m3(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Mye(e,t){rg()||on(!1);let n=T.exports.useContext(g3),{matches:r}=T.exports.useContext(td),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let s=ig(),l;if(t){var c;let v=typeof t=="string"?Jl(t):t;a==="/"||((c=v.pathname)==null?void 0:c.startsWith(a))||on(!1),l=v}else l=s;let d=l.pathname||"/",p=a==="/"?d:d.slice(a.length)||"/",h=Bh(e,{pathname:p}),m=Hye(h&&h.map(v=>Object.assign({},v,{params:Object.assign({},o,v.params),pathname:Ll([a,v.pathname]),pathnameBase:v.pathnameBase==="/"?a:Ll([a,v.pathnameBase])})),r,n||void 0);return t&&m?E(Z2.Provider,{value:{location:fy({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:Br.Pop},children:m}):m}function $ye(){let e=AW(),t=yW(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)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return te(Qt,{children:[E("h2",{children:"Unhandled Thrown Error!"}),E("h3",{style:{fontStyle:"italic"},children:t}),n?E("pre",{style:i,children:n}):null,E("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),te("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",E("code",{style:o,children:"errorElement"})," props on\xA0",E("code",{style:o,children:"<Route>"})]})]})}class Fye extends T.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?E(CW.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function Bye(e){let{routeContext:t,match:n,children:r}=e,i=T.exports.useContext(Oye);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),E(td.Provider,{value:t,children:r})}function Hye(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(a=>a.route.id&&(i==null?void 0:i[a.route.id]));o>=0||on(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,a,s)=>{let l=a.route.id?i==null?void 0:i[a.route.id]:null,c=n?a.route.errorElement||E($ye,{}):null,d=()=>E(Bye,{match:a,routeContext:{outlet:o,matches:t.concat(r.slice(0,s+1))},children:l?c:a.route.element!==void 0?a.route.element:o});return n&&(a.route.errorElement||s===0)?E(Fye,{location:n.location,component:c,error:l,children:d()}):d()},null)}var UO;(function(e){e.UseRevalidator="useRevalidator"})(UO||(UO={}));var fx;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(fx||(fx={}));function Uye(e){let t=T.exports.useContext(g3);return t||on(!1),t}function AW(){var e;let t=T.exports.useContext(CW),n=Uye(fx.UseRouteError),r=T.exports.useContext(td),i=r.matches[r.matches.length-1];return t||(r||on(!1),i.route.id||on(!1),(e=n.errors)==null?void 0:e[i.route.id])}function zye(e){let{fallbackElement:t,router:n}=e,r=Pye(n.subscribe,()=>n.state,()=>n.state),i=T.exports.useMemo(()=>({createHref:n.createHref,go:a=>n.navigate(a),push:(a,s,l)=>n.navigate(a,{state:s,preventScrollReset:l==null?void 0:l.preventScrollReset}),replace:(a,s,l)=>n.navigate(a,{replace:!0,state:s,preventScrollReset:l==null?void 0:l.preventScrollReset})}),[n]),o=n.basename||"/";return E(xW.Provider,{value:{router:n,navigator:i,static:!1,basename:o},children:E(g3.Provider,{value:r,children:E(jye,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:i,children:n.state.initialized?E(Vye,{}):t})})})}function Gye(e){return Dye(e.context)}function Wye(e){on(!1)}function jye(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Br.Pop,navigator:o,static:a=!1}=e;rg()&&on(!1);let s=t.replace(/^\/*/,"/"),l=T.exports.useMemo(()=>({basename:s,navigator:o,static:a}),[s,o,a]);typeof r=="string"&&(r=Jl(r));let{pathname:c="/",search:d="",hash:p="",state:h=null,key:m="default"}=r,v=T.exports.useMemo(()=>{let y=vW(c,s);return y==null?null:{pathname:y,search:d,hash:p,state:h,key:m}},[s,c,d,p,h,m]);return v==null?null:E(v3.Provider,{value:l,children:E(Z2.Provider,{children:n,value:{location:v,navigationType:i}})})}function Vye(e){let{children:t,location:n}=e,r=T.exports.useContext(xW),i=r&&!t?r.router.routes:px(t);return Mye(i,n)}var zO;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(zO||(zO={}));new Promise(()=>{});function px(e,t){t===void 0&&(t=[]);let n=[];return T.exports.Children.forEach(e,(r,i)=>{if(!T.exports.isValidElement(r))return;if(r.type===T.exports.Fragment){n.push.apply(n,px(r.props.children,t));return}r.type!==Wye&&on(!1),!r.props.index||!r.props.children||on(!1);let o=[...t,i],a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(a.children=px(r.props.children,o)),n.push(a)}),n}function IW(e){return e.map(t=>{let n=fy({},t);return n.hasErrorBoundary==null&&(n.hasErrorBoundary=n.errorElement!=null),n.children&&(n.children=IW(n.children)),n})}/**
 * React Router DOM v6.4.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Kye(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function qye(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Yye(e,t){return e.button===0&&(!t||t==="_self")&&!qye(e)}const Xye=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Qye(e,t){var n;return fye({basename:t==null?void 0:t.basename,history:$9e({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||((n=window)==null?void 0:n.__staticRouterHydrationData),routes:IW(e)}).initialize()}const GO=T.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:d}=t,p=Kye(t,Xye),h=kye(c,{relative:i}),m=Zye(c,{replace:a,state:s,target:l,preventScrollReset:d,relative:i});function v(y){r&&r(y),y.defaultPrevented||m(y)}return E("a",{...p,href:h,onClick:o?r:v,ref:n,target:l})});var WO;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(WO||(WO={}));var jO;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jO||(jO={}));function Zye(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=J2(),l=ig(),c=wW(e,{relative:a});return T.exports.useCallback(d=>{if(Yye(d,n)){d.preventDefault();let p=r!==void 0?r:cs(l)===cs(c);s(e,{replace:p,state:i,preventScrollReset:o,relative:a})}},[l,s,c,r,i,n,e,o,a])}const Jye={apiKey:"AIzaSyC4rRPainqRmiK66HcoXlRNghTaxN2eFrg",authDomain:"eyedog.firebaseapp.com",databaseURL:"https://eyedog.firebaseio.com",projectId:"eyedog",storageBucket:"eyedog.appspot.com",messagingSenderId:"223420933897",appId:"1:223420933897:web:ef1e2114d56f53211295d8",measurementId:"G-69Z5K8CH9V"},e2e=e=>{const t=T.exports.useCallback(()=>{e.call(document,document.visibilityState==="visible")},[]);T.exports.useEffect(()=>(document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)),[])},t2e=f3(),n2e=o3({defaultTheme:t2e,defaultClassName:"MuiBox-root",generateClassName:H8.generate}),Oe=n2e;var RW={};const r2e=gC(D5e);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.ThemeProvider}});var t=r2e})(RW);const i2e=Xy(RW);function Vs(e){return typeof e=="string"}function Hh(e,t,n){return e===void 0||Vs(e)?t:P({},t,{ownerState:P({},t.ownerState,n)})}function o2e(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function hx(e,t){return typeof e=="function"?e(t):e}function VO(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function a2e(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const m=He(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),v=P({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),y=P({},n,i,r);return m.length>0&&(y.className=m),Object.keys(v).length>0&&(y.style=v),{props:y,internalRef:void 0}}const a=o2e(P({},i,r)),s=VO(r),l=VO(i),c=t(a),d=He(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),p=P({},c==null?void 0:c.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),h=P({},c,n,l,s);return d.length>0&&(h.className=d),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:c.ref}}const s2e=["elementType","externalSlotProps","ownerState"];function qa(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i}=e,o=$e(e,s2e),a=hx(r,i),{props:s,internalRef:l}=a2e(P({},o,{externalSlotProps:a})),c=Fn(l,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return Hh(n,P({},s,{ref:c}),i)}function KO(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function PW(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:o,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:c})=>{let d=a?l.trim():l;n&&(d=d.toLowerCase()),t&&(d=KO(d));const p=d?s.filter(h=>{let m=(o||c)(h);return n&&(m=m.toLowerCase()),t&&(m=KO(m)),i==="start"?m.indexOf(d)===0:m.indexOf(d)>-1}):s;return typeof r=="number"?p.slice(0,r):p}}function _T(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const l2e=PW(),qO=5,u2e=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function c2e(e){const{unstable_isActiveElementInListbox:t=u2e,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:i=!1,autoSelect:o=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:d=e.multiple?[]:null,disableClearable:p=!1,disableCloseOnSelect:h=!1,disabled:m,disabledItemsFocusable:v=!1,disableListWrap:y=!1,filterOptions:x=l2e,filterSelectedOptions:b=!1,freeSolo:_=!1,getOptionDisabled:S,getOptionLabel:C=we=>{var be;return(be=we.label)!=null?be:we},groupBy:O,handleHomeEndKeys:A=!e.freeSolo,id:R,includeInputInList:N=!1,inputValue:F,isOptionEqualToValue:L=(we,be)=>we===be,multiple:H=!1,onChange:j,onClose:Y,onHighlightChange:K,onInputChange:Z,onOpen:ne,open:oe,openOnFocus:z=!1,options:Q,readOnly:J=!1,selectOnFocus:M=!e.freeSolo,value:B}=e,Pe=X0(R);let pe=C;pe=we=>{const be=C(we);return typeof be!="string"?String(be):be};const me=T.exports.useRef(!1),se=T.exports.useRef(!0),Ce=T.exports.useRef(null),ke=T.exports.useRef(null),[Ee,Qe]=T.exports.useState(null),[Re,tt]=T.exports.useState(-1),ut=i?0:-1,rt=T.exports.useRef(ut),[Fe,Bt]=Dl({controlled:B,default:d,name:c}),[je,ie]=Dl({controlled:F,default:"",name:c,state:"inputValue"}),[ce,he]=T.exports.useState(!1),Ae=T.exports.useCallback((we,be)=>{if(!(H?Fe.length<be.length:be!==null)&&!s)return;let wt;if(H)wt="";else if(be==null)wt="";else{const En=pe(be);wt=typeof En=="string"?En:""}je!==wt&&(ie(wt),Z&&Z(we,wt,"reset"))},[pe,je,H,Z,ie,s,Fe]),Ge=T.exports.useRef();T.exports.useEffect(()=>{const we=Fe!==Ge.current;Ge.current=Fe,!(ce&&!we)&&(_&&!we||Ae(null,Fe))},[Fe,Ae,ce,Ge,_]);const[Xe,ue]=Dl({controlled:oe,default:!1,name:c,state:"open"}),[ve,De]=T.exports.useState(!0),Le=!H&&Fe!=null&&je===pe(Fe),U=Xe&&!J,V=U?x(Q.filter(we=>!(b&&(H?Fe:[Fe]).some(be=>be!==null&&L(we,be)))),{inputValue:Le&&ve?"":je,getOptionLabel:pe}):[],fe=Xe&&V.length>0&&!J,de=Zr(we=>{we===-1?Ce.current.focus():Ee.querySelector(`[data-tag-index="${we}"]`).focus()});T.exports.useEffect(()=>{H&&Re>Fe.length-1&&(tt(-1),de(-1))},[Fe,H,Re,de]);function Ve(we,be){if(!ke.current||we===-1)return-1;let ht=we;for(;;){if(be==="next"&&ht===V.length||be==="previous"&&ht===-1)return-1;const wt=ke.current.querySelector(`[data-option-index="${ht}"]`),En=v?!1:!wt||wt.disabled||wt.getAttribute("aria-disabled")==="true";if(wt&&!wt.hasAttribute("tabindex")||En)ht+=be==="next"?1:-1;else return ht}}const qe=Zr(({event:we,index:be,reason:ht="auto"})=>{if(rt.current=be,be===-1?Ce.current.removeAttribute("aria-activedescendant"):Ce.current.setAttribute("aria-activedescendant",`${Pe}-option-${be}`),K&&K(we,be===-1?null:V[be],ht),!ke.current)return;const wt=ke.current.querySelector(`[role="option"].${n}-focused`);wt&&(wt.classList.remove(`${n}-focused`),wt.classList.remove(`${n}-focusVisible`));const En=ke.current.parentElement.querySelector('[role="listbox"]');if(!En)return;if(be===-1){En.scrollTop=0;return}const Sr=ke.current.querySelector(`[data-option-index="${be}"]`);if(!!Sr&&(Sr.classList.add(`${n}-focused`),ht==="keyboard"&&Sr.classList.add(`${n}-focusVisible`),En.scrollHeight>En.clientHeight&&ht!=="mouse")){const cr=Sr,Yi=En.clientHeight+En.scrollTop,ad=cr.offsetTop+cr.offsetHeight;ad>Yi?En.scrollTop=ad-En.clientHeight:cr.offsetTop-cr.offsetHeight*(O?1.3:0)<En.scrollTop&&(En.scrollTop=cr.offsetTop-cr.offsetHeight*(O?1.3:0))}}),Je=Zr(({event:we,diff:be,direction:ht="next",reason:wt="auto"})=>{if(!U)return;const Sr=Ve((()=>{const cr=V.length-1;if(be==="reset")return ut;if(be==="start")return 0;if(be==="end")return cr;const Yi=rt.current+be;return Yi<0?Yi===-1&&N?-1:y&&rt.current!==-1||Math.abs(be)>1?0:cr:Yi>cr?Yi===cr+1&&N?-1:y||Math.abs(be)>1?cr:0:Yi})(),ht);if(qe({index:Sr,reason:wt,event:we}),r&&be!=="reset")if(Sr===-1)Ce.current.value=je;else{const cr=pe(V[Sr]);Ce.current.value=cr,cr.toLowerCase().indexOf(je.toLowerCase())===0&&je.length>0&&Ce.current.setSelectionRange(je.length,cr.length)}}),Tt=T.exports.useCallback(()=>{if(!U)return;const we=H?Fe[0]:Fe;if(V.length===0||we==null){Je({diff:"reset"});return}if(!!ke.current){if(we!=null){const be=V[rt.current];if(H&&be&&_T(Fe,wt=>L(be,wt))!==-1)return;const ht=_T(V,wt=>L(wt,we));ht===-1?Je({diff:"reset"}):qe({index:ht});return}if(rt.current>=V.length-1){qe({index:V.length-1});return}qe({index:rt.current})}},[V.length,H?!1:Fe,b,Je,qe,U,je,H]),en=Zr(we=>{o0(ke,we),we&&Tt()});T.exports.useEffect(()=>{Tt()},[Tt]);const Kt=we=>{Xe||(ue(!0),De(!0),ne&&ne(we))},Ot=(we,be)=>{!Xe||(ue(!1),Y&&Y(we,be))},ir=(we,be,ht,wt)=>{if(H){if(Fe.length===be.length&&Fe.every((En,Sr)=>En===be[Sr]))return}else if(Fe===be)return;j&&j(we,be,ht,wt),Bt(be)},Kn=T.exports.useRef(!1),Rn=(we,be,ht="selectOption",wt="options")=>{let En=ht,Sr=be;if(H){Sr=Array.isArray(Fe)?Fe.slice():[];const cr=_T(Sr,Yi=>L(be,Yi));cr===-1?Sr.push(be):wt!=="freeSolo"&&(Sr.splice(cr,1),En="removeOption")}Ae(we,Sr),ir(we,Sr,En,{option:be}),!h&&(!we||!we.ctrlKey&&!we.metaKey)&&Ot(we,En),(a===!0||a==="touch"&&Kn.current||a==="mouse"&&!Kn.current)&&Ce.current.blur()};function Hn(we,be){if(we===-1)return-1;let ht=we;for(;;){if(be==="next"&&ht===Fe.length||be==="previous"&&ht===-1)return-1;const wt=Ee.querySelector(`[data-tag-index="${ht}"]`);if(!wt||!wt.hasAttribute("tabindex")||wt.disabled||wt.getAttribute("aria-disabled")==="true")ht+=be==="next"?1:-1;else return ht}}const Lr=(we,be)=>{if(!H)return;je===""&&Ot(we,"toggleInput");let ht=Re;Re===-1?je===""&&be==="previous"&&(ht=Fe.length-1):(ht+=be==="next"?1:-1,ht<0&&(ht=0),ht===Fe.length&&(ht=-1)),ht=Hn(ht,be),tt(ht),de(ht)},Ar=we=>{me.current=!0,ie(""),Z&&Z(we,"","clear"),ir(we,H?[]:null,"clear")},jr=we=>be=>{if(we.onKeyDown&&we.onKeyDown(be),!be.defaultMuiPrevented&&(Re!==-1&&["ArrowLeft","ArrowRight"].indexOf(be.key)===-1&&(tt(-1),de(-1)),be.which!==229))switch(be.key){case"Home":U&&A&&(be.preventDefault(),Je({diff:"start",direction:"next",reason:"keyboard",event:be}));break;case"End":U&&A&&(be.preventDefault(),Je({diff:"end",direction:"previous",reason:"keyboard",event:be}));break;case"PageUp":be.preventDefault(),Je({diff:-qO,direction:"previous",reason:"keyboard",event:be}),Kt(be);break;case"PageDown":be.preventDefault(),Je({diff:qO,direction:"next",reason:"keyboard",event:be}),Kt(be);break;case"ArrowDown":be.preventDefault(),Je({diff:1,direction:"next",reason:"keyboard",event:be}),Kt(be);break;case"ArrowUp":be.preventDefault(),Je({diff:-1,direction:"previous",reason:"keyboard",event:be}),Kt(be);break;case"ArrowLeft":Lr(be,"previous");break;case"ArrowRight":Lr(be,"next");break;case"Enter":if(rt.current!==-1&&U){const ht=V[rt.current],wt=S?S(ht):!1;if(be.preventDefault(),wt)return;Rn(be,ht,"selectOption"),r&&Ce.current.setSelectionRange(Ce.current.value.length,Ce.current.value.length)}else _&&je!==""&&Le===!1&&(H&&be.preventDefault(),Rn(be,je,"createOption","freeSolo"));break;case"Escape":U?(be.preventDefault(),be.stopPropagation(),Ot(be,"escape")):l&&(je!==""||H&&Fe.length>0)&&(be.preventDefault(),be.stopPropagation(),Ar(be));break;case"Backspace":if(H&&!J&&je===""&&Fe.length>0){const ht=Re===-1?Fe.length-1:Re,wt=Fe.slice();wt.splice(ht,1),ir(be,wt,"removeOption",{option:Fe[ht]})}break;case"Delete":if(H&&!J&&je===""&&Fe.length>0&&Re!==-1){const ht=Re,wt=Fe.slice();wt.splice(ht,1),ir(be,wt,"removeOption",{option:Fe[ht]})}break}},gs=we=>{he(!0),z&&!me.current&&Kt(we)},$a=we=>{if(t(ke)){Ce.current.focus();return}he(!1),se.current=!0,me.current=!1,o&&rt.current!==-1&&U?Rn(we,V[rt.current],"blur"):o&&_&&je!==""?Rn(we,je,"blur","freeSolo"):s&&Ae(we,Fe),Ot(we,"blur")},iu=we=>{const be=we.target.value;je!==be&&(ie(be),De(!1),Z&&Z(we,be,"input")),be===""?!p&&!H&&ir(we,null,"clear"):Kt(we)},nl=we=>{qe({event:we,index:Number(we.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},bo=()=>{Kn.current=!0},Eo=we=>{const be=Number(we.currentTarget.getAttribute("data-option-index"));Rn(we,V[be],"selectOption"),Kn.current=!1},rl=we=>be=>{const ht=Fe.slice();ht.splice(we,1),ir(be,ht,"removeOption",{option:Fe[we]})},Gt=we=>{Xe?Ot(we,"toggleInput"):Kt(we)},Ir=we=>{we.target.getAttribute("id")!==Pe&&we.preventDefault()},gr=()=>{Ce.current.focus(),M&&se.current&&Ce.current.selectionEnd-Ce.current.selectionStart===0&&Ce.current.select(),se.current=!1},Fa=we=>{(je===""||!Xe)&&Gt(we)};let Ic=_&&je.length>0;Ic=Ic||(H?Fe.length>0:Fe!==null);let vs=V;return O&&(vs=V.reduce((we,be,ht)=>{const wt=O(be);return we.length>0&&we[we.length-1].group===wt?we[we.length-1].options.push(be):we.push({key:ht,index:ht,group:wt,options:[be]}),we},[])),m&&ce&&$a(),{getRootProps:(we={})=>P({"aria-owns":fe?`${Pe}-listbox`:null},we,{onKeyDown:jr(we),onMouseDown:Ir,onClick:gr}),getInputLabelProps:()=>({id:`${Pe}-label`,htmlFor:Pe}),getInputProps:()=>({id:Pe,value:je,onBlur:$a,onFocus:gs,onChange:iu,onMouseDown:Fa,"aria-activedescendant":U?"":null,"aria-autocomplete":r?"both":"list","aria-controls":fe?`${Pe}-listbox`:void 0,"aria-expanded":fe,autoComplete:"off",ref:Ce,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Ar}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Gt}),getTagProps:({index:we})=>P({key:we,"data-tag-index":we,tabIndex:-1},!J&&{onDelete:rl(we)}),getListboxProps:()=>({role:"listbox",id:`${Pe}-listbox`,"aria-labelledby":`${Pe}-label`,ref:en,onMouseDown:we=>{we.preventDefault()}}),getOptionProps:({index:we,option:be})=>{const ht=(H?Fe:[Fe]).some(En=>En!=null&&L(be,En)),wt=S?S(be):!1;return{key:pe(be),tabIndex:-1,role:"option",id:`${Pe}-option-${we}`,onMouseOver:nl,onClick:Eo,onTouchStart:bo,"data-option-index":we,"aria-disabled":wt,"aria-selected":ht}},id:Pe,inputValue:je,value:Fe,dirty:Ic,popupOpen:U,focused:ce||Re!==-1,anchorEl:Ee,setAnchorEl:Qe,focusedTag:Re,groupedOptions:vs}}function YO(e){return e.substring(2).toLowerCase()}function d2e(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function f2e(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:o="onTouchEnd"}=e,a=T.exports.useRef(!1),s=T.exports.useRef(null),l=T.exports.useRef(!1),c=T.exports.useRef(!1);T.exports.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const d=Fn(t.ref,s),p=Zr(v=>{const y=c.current;c.current=!1;const x=Tr(s.current);if(!l.current||!s.current||"clientX"in v&&d2e(v,x))return;if(a.current){a.current=!1;return}let b;v.composedPath?b=v.composedPath().indexOf(s.current)>-1:b=!x.documentElement.contains(v.target)||s.current.contains(v.target),!b&&(n||!y)&&i(v)}),h=v=>y=>{c.current=!0;const x=t.props[v];x&&x(y)},m={ref:d};return o!==!1&&(m[o]=h(o)),T.exports.useEffect(()=>{if(o!==!1){const v=YO(o),y=Tr(s.current),x=()=>{a.current=!0};return y.addEventListener(v,p),y.addEventListener("touchmove",x),()=>{y.removeEventListener(v,p),y.removeEventListener("touchmove",x)}}},[p,o]),r!==!1&&(m[r]=h(r)),T.exports.useEffect(()=>{if(r!==!1){const v=YO(r),y=Tr(s.current);return y.addEventListener(v,p),()=>{y.removeEventListener(v,p)}}},[p,r]),E(T.exports.Fragment,{children:T.exports.cloneElement(t,m)})}const p2e=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function h2e(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function m2e(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function g2e(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||m2e(e))}function v2e(e){const t=[],n=[];return Array.from(e.querySelectorAll(p2e)).forEach((r,i)=>{const o=h2e(r);o===-1||!g2e(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function y2e(){return!0}function b2e(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=v2e,isEnabled:a=y2e,open:s}=e,l=T.exports.useRef(),c=T.exports.useRef(null),d=T.exports.useRef(null),p=T.exports.useRef(null),h=T.exports.useRef(null),m=T.exports.useRef(!1),v=T.exports.useRef(null),y=Fn(t.ref,v),x=T.exports.useRef(null);T.exports.useEffect(()=>{!s||!v.current||(m.current=!n)},[n,s]),T.exports.useEffect(()=>{if(!s||!v.current)return;const S=Tr(v.current);return v.current.contains(S.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),m.current&&v.current.focus()),()=>{i||(p.current&&p.current.focus&&(l.current=!0,p.current.focus()),p.current=null)}},[s]),T.exports.useEffect(()=>{if(!s||!v.current)return;const S=Tr(v.current),C=R=>{const{current:N}=v;if(N!==null){if(!S.hasFocus()||r||!a()||l.current){l.current=!1;return}if(!N.contains(S.activeElement)){if(R&&h.current!==R.target||S.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let H=[];if((S.activeElement===c.current||S.activeElement===d.current)&&(H=o(v.current)),H.length>0){var F,L;const j=Boolean(((F=x.current)==null?void 0:F.shiftKey)&&((L=x.current)==null?void 0:L.key)==="Tab"),Y=H[0],K=H[H.length-1];j?K.focus():Y.focus()}else N.focus()}}},O=R=>{x.current=R,!(r||!a()||R.key!=="Tab")&&S.activeElement===v.current&&R.shiftKey&&(l.current=!0,d.current.focus())};S.addEventListener("focusin",C),S.addEventListener("keydown",O,!0);const A=setInterval(()=>{S.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(A),S.removeEventListener("focusin",C),S.removeEventListener("keydown",O,!0)}},[n,r,i,a,s,o]);const b=S=>{p.current===null&&(p.current=S.relatedTarget),m.current=!0,h.current=S.target;const C=t.props.onFocus;C&&C(S)},_=S=>{p.current===null&&(p.current=S.relatedTarget),m.current=!0};return te(T.exports.Fragment,{children:[E("div",{tabIndex:s?0:-1,onFocus:_,ref:c,"data-testid":"sentinelStart"}),T.exports.cloneElement(t,{ref:y,onFocus:b}),E("div",{tabIndex:s?0:-1,onFocus:_,ref:d,"data-testid":"sentinelEnd"})]})}var mo="top",Ia="bottom",Ra="right",go="left",y3="auto",og=[mo,Ia,Ra,go],Yf="start",l0="end",E2e="clippingParents",OW="viewport",fh="popper",T2e="reference",XO=og.reduce(function(e,t){return e.concat([t+"-"+Yf,t+"-"+l0])},[]),kW=[].concat(og,[y3]).reduce(function(e,t){return e.concat([t,t+"-"+Yf,t+"-"+l0])},[]),_2e="beforeRead",S2e="read",x2e="afterRead",C2e="beforeMain",w2e="main",A2e="afterMain",I2e="beforeWrite",R2e="write",P2e="afterWrite",O2e=[_2e,S2e,x2e,C2e,w2e,A2e,I2e,R2e,P2e];function Qs(e){return e?(e.nodeName||"").toLowerCase():null}function ka(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $1(e){var t=ka(e).Element;return e instanceof t||e instanceof Element}function Ta(e){var t=ka(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function b3(e){if(typeof ShadowRoot>"u")return!1;var t=ka(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function k2e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Ta(o)||!Qs(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function N2e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!Ta(i)||!Qs(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const D2e={name:"applyStyles",enabled:!0,phase:"write",fn:k2e,effect:N2e,requires:["computeStyles"]};function Ks(e){return e.split("-")[0]}var E1=Math.max,py=Math.min,Xf=Math.round;function mx(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function NW(){return!/^((?!chrome|android).)*safari/i.test(mx())}function Qf(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ta(e)&&(i=e.offsetWidth>0&&Xf(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Xf(r.height)/e.offsetHeight||1);var a=$1(e)?ka(e):window,s=a.visualViewport,l=!NW()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,p=r.width/i,h=r.height/o;return{width:p,height:h,top:d,right:c+p,bottom:d+h,left:c,x:c,y:d}}function E3(e){var t=Qf(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function DW(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&b3(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function jl(e){return ka(e).getComputedStyle(e)}function L2e(e){return["table","td","th"].indexOf(Qs(e))>=0}function Tc(e){return(($1(e)?e.ownerDocument:e.document)||window.document).documentElement}function eb(e){return Qs(e)==="html"?e:e.assignedSlot||e.parentNode||(b3(e)?e.host:null)||Tc(e)}function QO(e){return!Ta(e)||jl(e).position==="fixed"?null:e.offsetParent}function M2e(e){var t=/firefox/i.test(mx()),n=/Trident/i.test(mx());if(n&&Ta(e)){var r=jl(e);if(r.position==="fixed")return null}var i=eb(e);for(b3(i)&&(i=i.host);Ta(i)&&["html","body"].indexOf(Qs(i))<0;){var o=jl(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ag(e){for(var t=ka(e),n=QO(e);n&&L2e(n)&&jl(n).position==="static";)n=QO(n);return n&&(Qs(n)==="html"||Qs(n)==="body"&&jl(n).position==="static")?t:n||M2e(e)||t}function T3(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pm(e,t,n){return E1(e,py(t,n))}function $2e(e,t,n){var r=pm(e,t,n);return r>n?n:r}function LW(){return{top:0,right:0,bottom:0,left:0}}function MW(e){return Object.assign({},LW(),e)}function $W(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var F2e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,MW(typeof t!="number"?t:$W(t,og))};function B2e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Ks(n.placement),l=T3(s),c=[go,Ra].indexOf(s)>=0,d=c?"height":"width";if(!(!o||!a)){var p=F2e(i.padding,n),h=E3(o),m=l==="y"?mo:go,v=l==="y"?Ia:Ra,y=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],x=a[l]-n.rects.reference[l],b=ag(o),_=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,S=y/2-x/2,C=p[m],O=_-h[d]-p[v],A=_/2-h[d]/2+S,R=pm(C,A,O),N=l;n.modifiersData[r]=(t={},t[N]=R,t.centerOffset=R-A,t)}}function H2e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!DW(t.elements.popper,i)||(t.elements.arrow=i))}const U2e={name:"arrow",enabled:!0,phase:"main",fn:B2e,effect:H2e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zf(e){return e.split("-")[1]}var z2e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G2e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Xf(t*i)/i||0,y:Xf(n*i)/i||0}}function ZO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=a.x,m=h===void 0?0:h,v=a.y,y=v===void 0?0:v,x=typeof d=="function"?d({x:m,y}):{x:m,y};m=x.x,y=x.y;var b=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),S=go,C=mo,O=window;if(c){var A=ag(n),R="clientHeight",N="clientWidth";if(A===ka(n)&&(A=Tc(n),jl(A).position!=="static"&&s==="absolute"&&(R="scrollHeight",N="scrollWidth")),A=A,i===mo||(i===go||i===Ra)&&o===l0){C=Ia;var F=p&&A===O&&O.visualViewport?O.visualViewport.height:A[R];y-=F-r.height,y*=l?1:-1}if(i===go||(i===mo||i===Ia)&&o===l0){S=Ra;var L=p&&A===O&&O.visualViewport?O.visualViewport.width:A[N];m-=L-r.width,m*=l?1:-1}}var H=Object.assign({position:s},c&&z2e),j=d===!0?G2e({x:m,y}):{x:m,y};if(m=j.x,y=j.y,l){var Y;return Object.assign({},H,(Y={},Y[C]=_?"0":"",Y[S]=b?"0":"",Y.transform=(O.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",Y))}return Object.assign({},H,(t={},t[C]=_?y+"px":"",t[S]=b?m+"px":"",t.transform="",t))}function W2e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Ks(t.placement),variation:Zf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ZO(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ZO(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const j2e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:W2e,data:{}};var Vv={passive:!0};function V2e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=ka(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",n.update,Vv)}),s&&l.addEventListener("resize",n.update,Vv),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Vv)}),s&&l.removeEventListener("resize",n.update,Vv)}}const K2e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V2e,data:{}};var q2e={left:"right",right:"left",bottom:"top",top:"bottom"};function e9(e){return e.replace(/left|right|bottom|top/g,function(t){return q2e[t]})}var Y2e={start:"end",end:"start"};function JO(e){return e.replace(/start|end/g,function(t){return Y2e[t]})}function _3(e){var t=ka(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function S3(e){return Qf(Tc(e)).left+_3(e).scrollLeft}function X2e(e,t){var n=ka(e),r=Tc(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=NW();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+S3(e),y:l}}function Q2e(e){var t,n=Tc(e),r=_3(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=E1(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=E1(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+S3(e),l=-r.scrollTop;return jl(i||n).direction==="rtl"&&(s+=E1(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function x3(e){var t=jl(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function FW(e){return["html","body","#document"].indexOf(Qs(e))>=0?e.ownerDocument.body:Ta(e)&&x3(e)?e:FW(eb(e))}function hm(e,t){var n;t===void 0&&(t=[]);var r=FW(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=ka(r),a=i?[o].concat(o.visualViewport||[],x3(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(hm(eb(a)))}function gx(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Z2e(e,t){var n=Qf(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ek(e,t,n){return t===OW?gx(X2e(e,n)):$1(t)?Z2e(t,n):gx(Q2e(Tc(e)))}function J2e(e){var t=hm(eb(e)),n=["absolute","fixed"].indexOf(jl(e).position)>=0,r=n&&Ta(e)?ag(e):e;return $1(r)?t.filter(function(i){return $1(i)&&DW(i,r)&&Qs(i)!=="body"}):[]}function ebe(e,t,n,r){var i=t==="clippingParents"?J2e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var d=ek(e,c,r);return l.top=E1(d.top,l.top),l.right=py(d.right,l.right),l.bottom=py(d.bottom,l.bottom),l.left=E1(d.left,l.left),l},ek(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function BW(e){var t=e.reference,n=e.element,r=e.placement,i=r?Ks(r):null,o=r?Zf(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case mo:l={x:a,y:t.y-n.height};break;case Ia:l={x:a,y:t.y+t.height};break;case Ra:l={x:t.x+t.width,y:s};break;case go:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?T3(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case Yf:l[c]=l[c]-(t[d]/2-n[d]/2);break;case l0:l[c]=l[c]+(t[d]/2-n[d]/2);break}}return l}function u0(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?E2e:s,c=n.rootBoundary,d=c===void 0?OW:c,p=n.elementContext,h=p===void 0?fh:p,m=n.altBoundary,v=m===void 0?!1:m,y=n.padding,x=y===void 0?0:y,b=MW(typeof x!="number"?x:$W(x,og)),_=h===fh?T2e:fh,S=e.rects.popper,C=e.elements[v?_:h],O=ebe($1(C)?C:C.contextElement||Tc(e.elements.popper),l,d,a),A=Qf(e.elements.reference),R=BW({reference:A,element:S,strategy:"absolute",placement:i}),N=gx(Object.assign({},S,R)),F=h===fh?N:A,L={top:O.top-F.top+b.top,bottom:F.bottom-O.bottom+b.bottom,left:O.left-F.left+b.left,right:F.right-O.right+b.right},H=e.modifiersData.offset;if(h===fh&&H){var j=H[i];Object.keys(L).forEach(function(Y){var K=[Ra,Ia].indexOf(Y)>=0?1:-1,Z=[mo,Ia].indexOf(Y)>=0?"y":"x";L[Y]+=j[Z]*K})}return L}function tbe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?kW:l,d=Zf(r),p=d?s?XO:XO.filter(function(v){return Zf(v)===d}):og,h=p.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=p);var m=h.reduce(function(v,y){return v[y]=u0(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[Ks(y)],v},{});return Object.keys(m).sort(function(v,y){return m[v]-m[y]})}function nbe(e){if(Ks(e)===y3)return[];var t=e9(e);return[JO(e),t,JO(t)]}function rbe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,y=n.allowedAutoPlacements,x=t.options.placement,b=Ks(x),_=b===x,S=l||(_||!v?[e9(x)]:nbe(x)),C=[x].concat(S).reduce(function(pe,me){return pe.concat(Ks(me)===y3?tbe(t,{placement:me,boundary:d,rootBoundary:p,padding:c,flipVariations:v,allowedAutoPlacements:y}):me)},[]),O=t.rects.reference,A=t.rects.popper,R=new Map,N=!0,F=C[0],L=0;L<C.length;L++){var H=C[L],j=Ks(H),Y=Zf(H)===Yf,K=[mo,Ia].indexOf(j)>=0,Z=K?"width":"height",ne=u0(t,{placement:H,boundary:d,rootBoundary:p,altBoundary:h,padding:c}),oe=K?Y?Ra:go:Y?Ia:mo;O[Z]>A[Z]&&(oe=e9(oe));var z=e9(oe),Q=[];if(o&&Q.push(ne[j]<=0),s&&Q.push(ne[oe]<=0,ne[z]<=0),Q.every(function(pe){return pe})){F=H,N=!1;break}R.set(H,Q)}if(N)for(var J=v?3:1,M=function(me){var se=C.find(function(Ce){var ke=R.get(Ce);if(ke)return ke.slice(0,me).every(function(Ee){return Ee})});if(se)return F=se,"break"},B=J;B>0;B--){var Pe=M(B);if(Pe==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}const ibe={name:"flip",enabled:!0,phase:"main",fn:rbe,requiresIfExists:["offset"],data:{_skip:!1}};function tk(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function nk(e){return[mo,Ra,Ia,go].some(function(t){return e[t]>=0})}function obe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=u0(t,{elementContext:"reference"}),s=u0(t,{altBoundary:!0}),l=tk(a,r),c=tk(s,i,o),d=nk(l),p=nk(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}const abe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:obe};function sbe(e,t,n){var r=Ks(e),i=[go,mo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[go,Ra].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function lbe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=kW.reduce(function(d,p){return d[p]=sbe(p,t.rects,o),d},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const ube={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lbe};function cbe(e){var t=e.state,n=e.name;t.modifiersData[n]=BW({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const dbe={name:"popperOffsets",enabled:!0,phase:"read",fn:cbe,data:{}};function fbe(e){return e==="x"?"y":"x"}function pbe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,m=h===void 0?!0:h,v=n.tetherOffset,y=v===void 0?0:v,x=u0(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:d}),b=Ks(t.placement),_=Zf(t.placement),S=!_,C=T3(b),O=fbe(C),A=t.modifiersData.popperOffsets,R=t.rects.reference,N=t.rects.popper,F=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,L=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(!!A){if(o){var Y,K=C==="y"?mo:go,Z=C==="y"?Ia:Ra,ne=C==="y"?"height":"width",oe=A[C],z=oe+x[K],Q=oe-x[Z],J=m?-N[ne]/2:0,M=_===Yf?R[ne]:N[ne],B=_===Yf?-N[ne]:-R[ne],Pe=t.elements.arrow,pe=m&&Pe?E3(Pe):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:LW(),se=me[K],Ce=me[Z],ke=pm(0,R[ne],pe[ne]),Ee=S?R[ne]/2-J-ke-se-L.mainAxis:M-ke-se-L.mainAxis,Qe=S?-R[ne]/2+J+ke+Ce+L.mainAxis:B+ke+Ce+L.mainAxis,Re=t.elements.arrow&&ag(t.elements.arrow),tt=Re?C==="y"?Re.clientTop||0:Re.clientLeft||0:0,ut=(Y=H==null?void 0:H[C])!=null?Y:0,rt=oe+Ee-ut-tt,Fe=oe+Qe-ut,Bt=pm(m?py(z,rt):z,oe,m?E1(Q,Fe):Q);A[C]=Bt,j[C]=Bt-oe}if(s){var je,ie=C==="x"?mo:go,ce=C==="x"?Ia:Ra,he=A[O],Ae=O==="y"?"height":"width",Ge=he+x[ie],Xe=he-x[ce],ue=[mo,go].indexOf(b)!==-1,ve=(je=H==null?void 0:H[O])!=null?je:0,De=ue?Ge:he-R[Ae]-N[Ae]-ve+L.altAxis,Le=ue?he+R[Ae]+N[Ae]-ve-L.altAxis:Xe,U=m&&ue?$2e(De,he,Le):pm(m?De:Ge,he,m?Le:Xe);A[O]=U,j[O]=U-he}t.modifiersData[r]=j}}const hbe={name:"preventOverflow",enabled:!0,phase:"main",fn:pbe,requiresIfExists:["offset"]};function mbe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function gbe(e){return e===ka(e)||!Ta(e)?_3(e):mbe(e)}function vbe(e){var t=e.getBoundingClientRect(),n=Xf(t.width)/e.offsetWidth||1,r=Xf(t.height)/e.offsetHeight||1;return n!==1||r!==1}function ybe(e,t,n){n===void 0&&(n=!1);var r=Ta(t),i=Ta(t)&&vbe(t),o=Tc(t),a=Qf(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Qs(t)!=="body"||x3(o))&&(s=gbe(t)),Ta(t)?(l=Qf(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=S3(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function bbe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Ebe(e){var t=bbe(e);return O2e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Tbe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _be(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var rk={placement:"bottom",modifiers:[],strategy:"absolute"};function ik(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Sbe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?rk:i;return function(s,l,c){c===void 0&&(c=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},rk,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},p=[],h=!1,m={state:d,setOptions:function(b){var _=typeof b=="function"?b(d.options):b;y(),d.options=Object.assign({},o,d.options,_),d.scrollParents={reference:$1(s)?hm(s):s.contextElement?hm(s.contextElement):[],popper:hm(l)};var S=Ebe(_be([].concat(r,d.options.modifiers)));return d.orderedModifiers=S.filter(function(C){return C.enabled}),v(),m.update()},forceUpdate:function(){if(!h){var b=d.elements,_=b.reference,S=b.popper;if(!!ik(_,S)){d.rects={reference:ybe(_,ag(S),d.options.strategy==="fixed"),popper:E3(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(L){return d.modifiersData[L.name]=Object.assign({},L.data)});for(var C=0;C<d.orderedModifiers.length;C++){if(d.reset===!0){d.reset=!1,C=-1;continue}var O=d.orderedModifiers[C],A=O.fn,R=O.options,N=R===void 0?{}:R,F=O.name;typeof A=="function"&&(d=A({state:d,options:N,name:F,instance:m})||d)}}}},update:Tbe(function(){return new Promise(function(x){m.forceUpdate(),x(d)})}),destroy:function(){y(),h=!0}};if(!ik(s,l))return m;m.setOptions(c).then(function(x){!h&&c.onFirstUpdate&&c.onFirstUpdate(x)});function v(){d.orderedModifiers.forEach(function(x){var b=x.name,_=x.options,S=_===void 0?{}:_,C=x.effect;if(typeof C=="function"){var O=C({state:d,name:b,instance:m,options:S}),A=function(){};p.push(O||A)}})}function y(){p.forEach(function(x){return x()}),p=[]}return m}}var xbe=[K2e,dbe,j2e,D2e,ube,ibe,hbe,U2e,abe],Cbe=Sbe({defaultModifiers:xbe});function wbe(e){return typeof e=="function"?e():e}const Abe=T.exports.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[a,s]=T.exports.useState(null),l=Fn(T.exports.isValidElement(r)?r.ref:null,n);return Wo(()=>{o||s(wbe(i)||document.body)},[i,o]),Wo(()=>{if(a&&!o)return o0(n,a),()=>{o0(n,null)}},[n,a,o]),o?T.exports.isValidElement(r)?T.exports.cloneElement(r,{ref:l}):r:E(T.exports.Fragment,{children:a&&q1.exports.createPortal(r,a)})}),HW=Abe;function Ibe(e){return pt("MuiPopperUnstyled",e)}mt("MuiPopperUnstyled",["root"]);const Rbe=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],Pbe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Obe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function vx(e){return typeof e=="function"?e():e}const kbe=()=>Et({root:["root"]},Ibe,{}),Nbe={},Dbe=T.exports.forwardRef(function(t,n){var r;const{anchorEl:i,children:o,component:a,direction:s,disablePortal:l,modifiers:c,open:d,ownerState:p,placement:h,popperOptions:m,popperRef:v,slotProps:y={},slots:x={},TransitionProps:b}=t,_=$e(t,Rbe),S=T.exports.useRef(null),C=Fn(S,n),O=T.exports.useRef(null),A=Fn(O,v),R=T.exports.useRef(A);Wo(()=>{R.current=A},[A]),T.exports.useImperativeHandle(v,()=>O.current,[]);const N=Obe(h,s),[F,L]=T.exports.useState(N);T.exports.useEffect(()=>{O.current&&O.current.forceUpdate()}),Wo(()=>{if(!i||!d)return;const Z=z=>{L(z.placement)};vx(i);let ne=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:z})=>{Z(z)}}];c!=null&&(ne=ne.concat(c)),m&&m.modifiers!=null&&(ne=ne.concat(m.modifiers));const oe=Cbe(vx(i),S.current,P({placement:N},m,{modifiers:ne}));return R.current(oe),()=>{oe.destroy(),R.current(null)}},[i,l,c,d,m,N]);const H={placement:F};b!==null&&(H.TransitionProps=b);const j=kbe(),Y=(r=a!=null?a:x.root)!=null?r:"div",K=qa({elementType:Y,externalSlotProps:y.root,externalForwardedProps:_,additionalProps:{role:"tooltip",ref:C},ownerState:P({},t,p),className:j.root});return E(Y,P({},K,{children:typeof o=="function"?o(H):o}))}),Lbe=T.exports.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:p="bottom",popperOptions:h=Nbe,popperRef:m,style:v,transition:y=!1}=t,x=$e(t,Pbe),[b,_]=T.exports.useState(!0),S=()=>{_(!1)},C=()=>{_(!0)};if(!l&&!d&&(!y||b))return null;const O=o||(r?Tr(vx(r)).body:void 0);return E(HW,{disablePortal:s,container:O,children:E(Dbe,P({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:y?!b:d,placement:p,popperOptions:h,popperRef:m},x,{style:P({position:"fixed",top:0,left:0,display:!d&&l&&(!y||b)?"none":null},v),TransitionProps:y?{in:d,onEnter:S,onExited:C}:null,children:i}))})}),Mbe=Lbe;function $be(e){const t=Tr(e);return t.body===e?Ys(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function mm(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ok(e){return parseInt(Ys(e).getComputedStyle(e).paddingRight,10)||0}function Fbe(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function ak(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,l=!Fbe(a);s&&l&&mm(a,i)})}function ST(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function Bbe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if($be(r)){const a=Nz(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ok(r)+a}px`;const s=Tr(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${ok(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const a=r.parentElement,s=Ys(r);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function Hbe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Ube{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&mm(t.modalRef,!1);const i=Hbe(n);ak(n,t.mount,t.modalRef,i,!0);const o=ST(this.containers,a=>a.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=ST(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=Bbe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=ST(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&mm(t.modalRef,n),ak(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&mm(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function zbe(e){return pt("MuiModal",e)}mt("MuiModal",["root","hidden"]);const Gbe=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Wbe=e=>{const{open:t,exited:n,classes:r}=e;return Et({root:["root",!t&&n&&"hidden"]},zbe,r)};function jbe(e){return typeof e=="function"?e():e}function Vbe(e){return e.children?e.children.props.hasOwnProperty("in"):!1}const Kbe=new Ube,qbe=T.exports.forwardRef(function(t,n){var r,i;const{children:o,classes:a,closeAfterTransition:s=!1,component:l,container:c,disableAutoFocus:d=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:h=!1,disablePortal:m=!1,disableRestoreFocus:v=!1,disableScrollLock:y=!1,hideBackdrop:x=!1,keepMounted:b=!1,manager:_=Kbe,onBackdropClick:S,onClose:C,onKeyDown:O,open:A,onTransitionEnter:R,onTransitionExited:N,slotProps:F={},slots:L={}}=t,H=$e(t,Gbe),[j,Y]=T.exports.useState(!0),K=T.exports.useRef({}),Z=T.exports.useRef(null),ne=T.exports.useRef(null),oe=Fn(ne,n),z=Vbe(t),Q=(r=t["aria-hidden"])!=null?r:!0,J=()=>Tr(Z.current),M=()=>(K.current.modalRef=ne.current,K.current.mountNode=Z.current,K.current),B=()=>{_.mount(M(),{disableScrollLock:y}),ne.current.scrollTop=0},Pe=Zr(()=>{const ie=jbe(c)||J().body;_.add(M(),ie),ne.current&&B()}),pe=T.exports.useCallback(()=>_.isTopModal(M()),[_]),me=Zr(ie=>{Z.current=ie,ie&&(A&&pe()?B():mm(ne.current,Q))}),se=T.exports.useCallback(()=>{_.remove(M(),Q)},[_,Q]);T.exports.useEffect(()=>()=>{se()},[se]),T.exports.useEffect(()=>{A?Pe():(!z||!s)&&se()},[A,se,z,s,Pe]);const Ce=P({},t,{classes:a,closeAfterTransition:s,disableAutoFocus:d,disableEnforceFocus:p,disableEscapeKeyDown:h,disablePortal:m,disableRestoreFocus:v,disableScrollLock:y,exited:j,hideBackdrop:x,keepMounted:b}),ke=Wbe(Ce),Ee=()=>{Y(!1),R&&R()},Qe=()=>{Y(!0),N&&N(),s&&se()},Re=ie=>{ie.target===ie.currentTarget&&(S&&S(ie),C&&C(ie,"backdropClick"))},tt=ie=>{O&&O(ie),!(ie.key!=="Escape"||!pe())&&(h||(ie.stopPropagation(),C&&C(ie,"escapeKeyDown")))},ut={};o.props.tabIndex===void 0&&(ut.tabIndex="-1"),z&&(ut.onEnter=lx(Ee,o.props.onEnter),ut.onExited=lx(Qe,o.props.onExited));const rt=(i=l!=null?l:L.root)!=null?i:"div",Fe=qa({elementType:rt,externalSlotProps:F.root,externalForwardedProps:H,additionalProps:{ref:oe,role:"presentation",onKeyDown:tt},className:ke.root,ownerState:Ce}),Bt=L.backdrop,je=qa({elementType:Bt,externalSlotProps:F.backdrop,additionalProps:{"aria-hidden":!0,onClick:Re,open:A},className:ke.backdrop,ownerState:Ce});return!b&&!A&&(!z||j)?null:E(HW,{ref:me,container:c,disablePortal:m,children:te(rt,P({},Fe,{children:[!x&&Bt?E(Bt,P({},je)):null,E(b2e,{disableEnforceFocus:p,disableAutoFocus:d,disableRestoreFocus:v,isEnabled:pe,open:A,children:T.exports.cloneElement(o,ut)})]}))})}),Ybe=qbe;function Uh(e){return pt("MuiSlider",e)}const Xbe=mt("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]),t9=Xbe,Qbe=e=>{const{open:t}=e;return{offset:He(t&&t9.valueLabelOpen),circle:t9.valueLabelCircle,label:t9.valueLabelLabel}};function UW(e){const{children:t,className:n,value:r}=e,i=Qbe(e);return T.exports.cloneElement(t,{className:He(t.props.className)},te(T.exports.Fragment,{children:[t.props.children,E("span",{className:He(i.offset,n),"aria-hidden":!0,children:E("span",{className:i.circle,children:E("span",{className:i.label,children:r})})})]}))}const Zbe=2;function zW(e,t){return e-t}function ph(e,t,n){return e==null?t:Math.min(Math.max(t,e),n)}function sk(e,t){var n;const{index:r}=(n=e.reduce((i,o,a)=>{const s=Math.abs(t-o);return i===null||s<i.distance||s===i.distance?{distance:s,index:a}:i},null))!=null?n:{};return r}function Kv(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const i=n.changedTouches[r];if(i.identifier===t.current)return{x:i.clientX,y:i.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function hy(e,t,n){return(e-t)*100/(n-t)}function Jbe(e,t,n){return(n-t)*e+t}function e4e(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function t4e(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(e4e(t)))}function lk({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(zW)}function qv({sliderRef:e,activeIndex:t,setActive:n}){var r,i;const o=Tr(e.current);if(!((r=e.current)!=null&&r.contains(o.activeElement))||Number(o==null||(i=o.activeElement)==null?void 0:i.getAttribute("data-index"))!==t){var a;(a=e.current)==null||a.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}const n4e={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},r4e=e=>e;let Yv;function xT(){return Yv===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Yv=CSS.supports("touch-action","none"):Yv=!0),Yv}function i4e(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:a=!1,max:s=100,min:l=0,name:c,onChange:d,onChangeCommitted:p,orientation:h="horizontal",ref:m,scale:v=r4e,step:y=1,tabIndex:x,value:b}=e,_=T.exports.useRef(),[S,C]=T.exports.useState(-1),[O,A]=T.exports.useState(-1),[R,N]=T.exports.useState(!1),F=T.exports.useRef(0),[L,H]=Dl({controlled:b,default:n!=null?n:l,name:"Slider"}),j=d&&((ue,ve,De)=>{const Le=ue.nativeEvent||ue,U=new Le.constructor(Le.type,Le);Object.defineProperty(U,"target",{writable:!0,value:{value:ve,name:c}}),d(U,ve,De)}),Y=Array.isArray(L);let K=Y?L.slice().sort(zW):[L];K=K.map(ue=>ph(ue,l,s));const Z=a===!0&&y!==null?[...Array(Math.floor((s-l)/y)+1)].map((ue,ve)=>({value:l+y*ve})):a||[],ne=Z.map(ue=>ue.value),{isFocusVisibleRef:oe,onBlur:z,onFocus:Q,ref:J}=Q0(),[M,B]=T.exports.useState(-1),Pe=T.exports.useRef(),pe=Fn(J,Pe),me=Fn(m,pe),se=ue=>ve=>{var De;const Le=Number(ve.currentTarget.getAttribute("data-index"));Q(ve),oe.current===!0&&B(Le),A(Le),ue==null||(De=ue.onFocus)==null||De.call(ue,ve)},Ce=ue=>ve=>{var De;z(ve),oe.current===!1&&B(-1),A(-1),ue==null||(De=ue.onBlur)==null||De.call(ue,ve)};Wo(()=>{if(r&&Pe.current.contains(document.activeElement)){var ue;(ue=document.activeElement)==null||ue.blur()}},[r]),r&&S!==-1&&C(-1),r&&M!==-1&&B(-1);const ke=ue=>ve=>{var De;(De=ue.onChange)==null||De.call(ue,ve);const Le=Number(ve.currentTarget.getAttribute("data-index")),U=K[Le],V=ne.indexOf(U);let fe=ve.target.valueAsNumber;if(Z&&y==null&&(fe=fe<U?ne[V-1]:ne[V+1]),fe=ph(fe,l,s),Z&&y==null){const de=ne.indexOf(K[Le]);fe=fe<K[Le]?ne[de-1]:ne[de+1]}if(Y){i&&(fe=ph(fe,K[Le-1]||-1/0,K[Le+1]||1/0));const de=fe;fe=lk({values:K,newValue:fe,index:Le});let Ve=Le;i||(Ve=fe.indexOf(de)),qv({sliderRef:Pe,activeIndex:Ve})}H(fe),B(Le),j&&j(ve,fe,Le),p&&p(ve,fe)},Ee=T.exports.useRef();let Qe=h;o&&h==="horizontal"&&(Qe+="-reverse");const Re=({finger:ue,move:ve=!1})=>{const{current:De}=Pe,{width:Le,height:U,bottom:V,left:fe}=De.getBoundingClientRect();let de;Qe.indexOf("vertical")===0?de=(V-ue.y)/U:de=(ue.x-fe)/Le,Qe.indexOf("-reverse")!==-1&&(de=1-de);let Ve;if(Ve=Jbe(de,l,s),y)Ve=t4e(Ve,y,l);else{const Je=sk(ne,Ve);Ve=ne[Je]}Ve=ph(Ve,l,s);let qe=0;if(Y){ve?qe=Ee.current:qe=sk(K,Ve),i&&(Ve=ph(Ve,K[qe-1]||-1/0,K[qe+1]||1/0));const Je=Ve;Ve=lk({values:K,newValue:Ve,index:qe}),i&&ve||(qe=Ve.indexOf(Je),Ee.current=qe)}return{newValue:Ve,activeIndex:qe}},tt=Zr(ue=>{const ve=Kv(ue,_);if(!ve)return;if(F.current+=1,ue.type==="mousemove"&&ue.buttons===0){ut(ue);return}const{newValue:De,activeIndex:Le}=Re({finger:ve,move:!0});qv({sliderRef:Pe,activeIndex:Le,setActive:C}),H(De),!R&&F.current>Zbe&&N(!0),j&&De!==L&&j(ue,De,Le)}),ut=Zr(ue=>{const ve=Kv(ue,_);if(N(!1),!ve)return;const{newValue:De}=Re({finger:ve,move:!0});C(-1),ue.type==="touchend"&&A(-1),p&&p(ue,De),_.current=void 0,Fe()}),rt=Zr(ue=>{if(r)return;xT()||ue.preventDefault();const ve=ue.changedTouches[0];ve!=null&&(_.current=ve.identifier);const De=Kv(ue,_);if(De!==!1){const{newValue:U,activeIndex:V}=Re({finger:De});qv({sliderRef:Pe,activeIndex:V,setActive:C}),H(U),j&&j(ue,U,V)}F.current=0;const Le=Tr(Pe.current);Le.addEventListener("touchmove",tt),Le.addEventListener("touchend",ut)}),Fe=T.exports.useCallback(()=>{const ue=Tr(Pe.current);ue.removeEventListener("mousemove",tt),ue.removeEventListener("mouseup",ut),ue.removeEventListener("touchmove",tt),ue.removeEventListener("touchend",ut)},[ut,tt]);T.exports.useEffect(()=>{const{current:ue}=Pe;return ue.addEventListener("touchstart",rt,{passive:xT()}),()=>{ue.removeEventListener("touchstart",rt,{passive:xT()}),Fe()}},[Fe,rt]),T.exports.useEffect(()=>{r&&Fe()},[r,Fe]);const Bt=ue=>ve=>{var De;if((De=ue.onMouseDown)==null||De.call(ue,ve),r||ve.defaultPrevented||ve.button!==0)return;ve.preventDefault();const Le=Kv(ve,_);if(Le!==!1){const{newValue:V,activeIndex:fe}=Re({finger:Le});qv({sliderRef:Pe,activeIndex:fe,setActive:C}),H(V),j&&j(ve,V,fe)}F.current=0;const U=Tr(Pe.current);U.addEventListener("mousemove",tt),U.addEventListener("mouseup",ut)},je=hy(Y?K[0]:l,l,s),ie=hy(K[K.length-1],l,s)-je,ce=(ue={})=>{const ve={onMouseDown:Bt(ue||{})},De=P({},ue,ve);return P({ref:me},De)},he=ue=>ve=>{var De;(De=ue.onMouseOver)==null||De.call(ue,ve);const Le=Number(ve.currentTarget.getAttribute("data-index"));A(Le)},Ae=ue=>ve=>{var De;(De=ue.onMouseLeave)==null||De.call(ue,ve),A(-1)};return{active:S,axis:Qe,axisProps:n4e,dragging:R,focusedThumbIndex:M,getHiddenInputProps:(ue={})=>{var ve;const De={onChange:ke(ue||{}),onFocus:se(ue||{}),onBlur:Ce(ue||{})},Le=P({},ue,De);return P({tabIndex:x,"aria-labelledby":t,"aria-orientation":h,"aria-valuemax":v(s),"aria-valuemin":v(l),name:c,type:"range",min:e.min,max:e.max,step:(ve=e.step)!=null?ve:void 0,disabled:r},Le,{style:P({},Rge,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:ce,getThumbProps:(ue={})=>{const ve={onMouseOver:he(ue||{}),onMouseLeave:Ae(ue||{})};return P({},ue,ve)},marks:Z,open:O,range:Y,trackLeap:ie,trackOffset:je,values:K}}const o4e=["aria-label","aria-valuetext","aria-labelledby","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","slotProps","slots"],uk=e=>e,a4e=e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:o,classes:a}=e;return Et({root:["root",t&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},Uh,a)},s4e=({children:e})=>e,l4e=T.exports.forwardRef(function(t,n){var r,i,o,a,s,l,c;const{"aria-label":d,"aria-valuetext":p,"aria-labelledby":h,className:m,component:v,classes:y,disableSwap:x=!1,disabled:b=!1,getAriaLabel:_,getAriaValueText:S,marks:C=!1,max:O=100,min:A=0,orientation:R="horizontal",scale:N=uk,step:F=1,track:L="normal",valueLabelDisplay:H="off",valueLabelFormat:j=uk,isRtl:Y=!1,slotProps:K={},slots:Z={}}=t,ne=$e(t,o4e),oe=P({},t,{marks:C,classes:y,disabled:b,isRtl:Y,max:O,min:A,orientation:R,scale:N,step:F,track:L,valueLabelDisplay:H,valueLabelFormat:j}),{axisProps:z,getRootProps:Q,getHiddenInputProps:J,getThumbProps:M,open:B,active:Pe,axis:pe,range:me,focusedThumbIndex:se,dragging:Ce,marks:ke,values:Ee,trackOffset:Qe,trackLeap:Re}=i4e(P({},oe,{ref:n}));oe.marked=ke.length>0&&ke.some(V=>V.label),oe.dragging=Ce,oe.focusedThumbIndex=se;const tt=a4e(oe),ut=(r=v!=null?v:Z.root)!=null?r:"span",rt=qa({elementType:ut,getSlotProps:Q,externalSlotProps:K.root,externalForwardedProps:ne,ownerState:oe,className:[tt.root,m]}),Fe=(i=Z.rail)!=null?i:"span",Bt=qa({elementType:Fe,externalSlotProps:K.rail,ownerState:oe,className:tt.rail}),je=(o=Z.track)!=null?o:"span",ie=qa({elementType:je,externalSlotProps:K.track,additionalProps:{style:P({},z[pe].offset(Qe),z[pe].leap(Re))},ownerState:oe,className:tt.track}),ce=(a=Z.thumb)!=null?a:"span",he=qa({elementType:ce,getSlotProps:M,externalSlotProps:K.thumb,ownerState:oe}),Ae=(s=Z.valueLabel)!=null?s:UW,Ge=qa({elementType:Ae,externalSlotProps:K.valueLabel,ownerState:oe}),Xe=(l=Z.mark)!=null?l:"span",ue=qa({elementType:Xe,externalSlotProps:K.mark,ownerState:oe,className:tt.mark}),ve=(c=Z.markLabel)!=null?c:"span",De=qa({elementType:ve,externalSlotProps:K.markLabel,ownerState:oe}),Le=Z.input||"input",U=qa({elementType:Le,getSlotProps:J,externalSlotProps:K.input,ownerState:oe});return te(ut,P({},rt,{children:[E(Fe,P({},Bt)),E(je,P({},ie)),ke.filter(V=>V.value>=A&&V.value<=O).map((V,fe)=>{const de=hy(V.value,A,O),Ve=z[pe].offset(de);let qe;return L===!1?qe=Ee.indexOf(V.value)!==-1:qe=L==="normal"&&(me?V.value>=Ee[0]&&V.value<=Ee[Ee.length-1]:V.value<=Ee[0])||L==="inverted"&&(me?V.value<=Ee[0]||V.value>=Ee[Ee.length-1]:V.value>=Ee[0]),te(T.exports.Fragment,{children:[E(Xe,P({"data-index":fe},ue,!Vs(Xe)&&{markActive:qe},{style:P({},Ve,ue.style),className:He(ue.className,qe&&tt.markActive)})),V.label!=null?E(ve,P({"aria-hidden":!0,"data-index":fe},De,!Vs(ve)&&{markLabelActive:qe},{style:P({},Ve,De.style),className:He(tt.markLabel,De.className,qe&&tt.markLabelActive),children:V.label})):null]},fe)}),Ee.map((V,fe)=>{const de=hy(V,A,O),Ve=z[pe].offset(de),qe=H==="off"?s4e:Ae;return E(T.exports.Fragment,{children:E(qe,P({},!Vs(qe)&&{valueLabelFormat:j,valueLabelDisplay:H,value:typeof j=="function"?j(N(V),fe):j,index:fe,open:B===fe||Pe===fe||H==="on",disabled:b},Ge,{className:He(tt.valueLabel,Ge.className),children:E(ce,P({"data-index":fe,"data-focusvisible":se===fe},he,{className:He(tt.thumb,he.className,Pe===fe&&tt.active,se===fe&&tt.focusVisible),style:P({},Ve,{pointerEvents:x&&Pe!==fe?"none":void 0},he.style),children:E(Le,P({"data-index":fe,"aria-label":_?_(fe):d,"aria-valuenow":N(V),"aria-labelledby":h,"aria-valuetext":S?S(N(V),fe):p,value:Ee[fe]},U))}))}))},fe)})]}))}),u4e=l4e,c4e=["onChange","maxRows","minRows","style","value"];function Xv(e,t){return parseInt(e[t],10)||0}const d4e={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function ck(e){return e==null||Object.keys(e).length===0}const f4e=T.exports.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s}=t,l=$e(t,c4e),{current:c}=T.exports.useRef(s!=null),d=T.exports.useRef(null),p=Fn(n,d),h=T.exports.useRef(null),m=T.exports.useRef(0),[v,y]=T.exports.useState({}),x=T.exports.useCallback(()=>{const O=d.current,R=Ys(O).getComputedStyle(O);if(R.width==="0px")return{};const N=h.current;N.style.width=R.width,N.value=O.value||t.placeholder||"x",N.value.slice(-1)===`
`&&(N.value+=" ");const F=R["box-sizing"],L=Xv(R,"padding-bottom")+Xv(R,"padding-top"),H=Xv(R,"border-bottom-width")+Xv(R,"border-top-width"),j=N.scrollHeight;N.value="x";const Y=N.scrollHeight;let K=j;o&&(K=Math.max(Number(o)*Y,K)),i&&(K=Math.min(Number(i)*Y,K)),K=Math.max(K,Y);const Z=K+(F==="border-box"?L+H:0),ne=Math.abs(K-j)<=1;return{outerHeightStyle:Z,overflow:ne}},[i,o,t.placeholder]),b=(O,A)=>{const{outerHeightStyle:R,overflow:N}=A;return m.current<20&&(R>0&&Math.abs((O.outerHeightStyle||0)-R)>1||O.overflow!==N)?(m.current+=1,{overflow:N,outerHeightStyle:R}):O},_=T.exports.useCallback(()=>{const O=x();ck(O)||y(A=>b(A,O))},[x]),S=()=>{const O=x();ck(O)||q1.exports.flushSync(()=>{y(A=>b(A,O))})};T.exports.useEffect(()=>{const O=U2(()=>{m.current=0,d.current&&S()}),A=Ys(d.current);A.addEventListener("resize",O);let R;return typeof ResizeObserver<"u"&&(R=new ResizeObserver(O),R.observe(d.current)),()=>{O.clear(),A.removeEventListener("resize",O),R&&R.disconnect()}}),Wo(()=>{_()}),T.exports.useEffect(()=>{m.current=0},[s]);const C=O=>{m.current=0,c||_(),r&&r(O)};return te(T.exports.Fragment,{children:[E("textarea",P({value:s,onChange:C,ref:p,rows:o,style:P({height:v.outerHeightStyle,overflow:v.overflow?"hidden":null},a)},l)),E("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:h,tabIndex:-1,style:P({},d4e.shadow,a,{padding:0})})]})}),p4e=f4e;function h4e(e){return pt("MuiTypography",e)}mt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const m4e=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],g4e=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${Se(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Et(s,h4e,a)},v4e=ye("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Se(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>P({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),dk={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y4e={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},b4e=e=>y4e[e]||e,E4e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiTypography"}),i=b4e(r.color),o=J1(P({},r,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:d=!1,paragraph:p=!1,variant:h="body1",variantMapping:m=dk}=o,v=$e(o,m4e),y=P({},o,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:d,paragraph:p,variant:h,variantMapping:m}),x=l||(p?"p":m[h]||dk[h])||"span",b=g4e(y);return E(v4e,P({as:x,ref:n,ownerState:y,className:He(b.root,s)},v))}),nt=E4e;function Qv(){const e=AW();return te(Oe,{sx:{display:"flex",flexDirection:"column",alignItems:"center",paddingTop:16},children:[E(nt,{variant:"h3",textAlign:"center",color:"error",children:e.status===404?"404 Page not found!":"Something went wrong!"}),E(nt,{variant:"h5",textAlign:"center",color:"error.light",children:e.statusText||e.message})]})}var yx={exports:{}};/*!
 * CSSJanus. https://github.com/cssjanus/cssjanus
 *
 * Copyright 2014 Trevor Parscal
 * Copyright 2010 Roan Kattouw
 * Copyright 2008 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */(function(e,t){var n;function r(o,a){var s=[],l=0;function c(p){return s.push(p),a}function d(){return s[l++]}return{tokenize:function(p){return p.replace(o,c)},detokenize:function(p){return p.replace(new RegExp("("+a+")","g"),d)}}}function i(){var o="`TMP`",a="`NOFLIP_SINGLE`",s="`NOFLIP_CLASS`",l="`COMMENT`",c="[^\\u0020-\\u007e]",d="(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)",p="(?:[0-9]*\\.[0-9]+|[0-9]+)",h="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",m="direction\\s*:\\s*",v="[!#$%&*-~]",y=`['"]?\\s*`,x="(^|[^a-zA-Z])",b="[^\\}]*?",_="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",S="\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/",C="(?:"+d+"|\\\\[^\\r\\n\\f0-9a-f])",O="(?:[_a-z]|"+c+"|"+C+")",A="(?:[_a-z0-9-]|"+c+"|"+C+")",R="-?"+O+A+"*",N=p+"(?:\\s*"+h+"|"+R+")?",F="((?:-?"+N+")|(?:inherit|auto))",L="((?:margin|padding|border-width)\\s*:\\s*)",H="((?:-color|border-style)\\s*:\\s*)",j="(#?"+A+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",Y="(?:"+v+"|"+c+"|"+C+")*?",K="(?![a-zA-Z])",Z="(?!("+A+`|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|"[^"]*"|`+l+")*?{)",ne="(?!"+Y+y+"\\))",oe="(?="+Y+y+"\\))",z="(\\s*(?:!important\\s*)?[;}])",Q=/`TMP`/g,J=new RegExp(S,"gi"),M=new RegExp("("+_+Z+"[^;}]+;?)","gi"),B=new RegExp("("+_+b+"})","gi"),Pe=new RegExp("("+m+")ltr","gi"),pe=new RegExp("("+m+")rtl","gi"),me=new RegExp(x+"(left)"+K+ne+Z,"gi"),se=new RegExp(x+"(right)"+K+ne+Z,"gi"),Ce=new RegExp(x+"(left)"+oe,"gi"),ke=new RegExp(x+"(right)"+oe,"gi"),Ee=new RegExp(x+"(ltr)"+oe,"gi"),Qe=new RegExp(x+"(rtl)"+oe,"gi"),Re=new RegExp(x+"([ns]?)e-resize","gi"),tt=new RegExp(x+"([ns]?)w-resize","gi"),ut=new RegExp(L+F+"(\\s+)"+F+"(\\s+)"+F+"(\\s+)"+F+z,"gi"),rt=new RegExp(H+j+"(\\s+)"+j+"(\\s+)"+j+"(\\s+)"+j+z,"gi"),Fe=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+N+")","gi"),Bt=new RegExp("(background-position-x\\s*:\\s*)(-?"+p+"%)","gi"),je=new RegExp("(border-radius\\s*:\\s*)"+F+"(?:(?:\\s+"+F+")(?:\\s+"+F+")?(?:\\s+"+F+")?)?(?:(?:(?:\\s*\\/\\s*)"+F+")(?:\\s+"+F+")?(?:\\s+"+F+")?(?:\\s+"+F+")?)?"+z,"gi"),ie=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+F,"gi"),ce=new RegExp("(text-shadow\\s*:\\s*)"+F+"(\\s*)"+j,"gi"),he=new RegExp("(text-shadow\\s*:\\s*)"+j+"(\\s*)"+F,"gi"),Ae=new RegExp("(text-shadow\\s*:\\s*)"+F,"gi"),Ge=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+F+"(\\s*\\))","gi"),Xe=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+F+"((?:\\s*,\\s*"+F+"){0,2}\\s*\\))","gi");function ue(de,Ve,qe){var Je,Tt;return qe.slice(-1)==="%"&&(Je=qe.indexOf("."),Je!==-1?(Tt=qe.length-Je-2,qe=100-parseFloat(qe),qe=qe.toFixed(Tt)+"%"):qe=100-parseFloat(qe)+"%"),Ve+qe}function ve(de){switch(de.length){case 4:de=[de[1],de[0],de[3],de[2]];break;case 3:de=[de[1],de[0],de[1],de[2]];break;case 2:de=[de[1],de[0]];break;case 1:de=[de[0]];break}return de.join(" ")}function De(de,Ve){var qe,Je=[].slice.call(arguments),Tt=Je.slice(2,6).filter(function(Ot){return Ot}),en=Je.slice(6,10).filter(function(Ot){return Ot}),Kt=Je[10]||"";return en.length?qe=ve(Tt)+" / "+ve(en):qe=ve(Tt),Ve+qe+Kt}function Le(de){return parseFloat(de)===0?de:de[0]==="-"?de.slice(1):"-"+de}function U(de,Ve,qe){return Ve+Le(qe)}function V(de,Ve,qe,Je,Tt){return Ve+qe+Le(Je)+Tt}function fe(de,Ve,qe,Je,Tt){return Ve+qe+Je+Le(Tt)}return{transform:function(de,Ve){var qe=new r(M,a),Je=new r(B,s),Tt=new r(J,l);return de=Tt.tokenize(Je.tokenize(qe.tokenize(de.replace("`","%60")))),Ve.transformDirInUrl&&(de=de.replace(Ee,"$1"+o).replace(Qe,"$1ltr").replace(Q,"rtl")),Ve.transformEdgeInUrl&&(de=de.replace(Ce,"$1"+o).replace(ke,"$1left").replace(Q,"right")),de=de.replace(Pe,"$1"+o).replace(pe,"$1ltr").replace(Q,"rtl").replace(me,"$1"+o).replace(se,"$1left").replace(Q,"right").replace(Re,"$1$2"+o).replace(tt,"$1$2e-resize").replace(Q,"w-resize").replace(je,De).replace(ie,U).replace(ce,fe).replace(he,fe).replace(Ae,U).replace(Ge,V).replace(Xe,V).replace(ut,"$1$2$3$8$5$6$7$4$9").replace(rt,"$1$2$3$8$5$6$7$4$9").replace(Fe,ue).replace(Bt,ue),de=qe.detokenize(Je.detokenize(Tt.detokenize(de))),de}}}n=new i,e.exports?t.transform=function(o,a,s){var l;return typeof a=="object"?l=a:(l={},typeof a=="boolean"&&(l.transformDirInUrl=a),typeof s=="boolean"&&(l.transformEdgeInUrl=s)),n.transform(o,l)}:typeof window<"u"&&(window.cssjanus=n)})(yx,yx.exports);const T4e=yx.exports;function GW(e,t,n){switch(e.type){case fz:case q0:case cy:return e.return=e.return||e.value;case D1:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(i){i.type===cy&&(i.children=i.value)})}var r=js(Array.prototype.concat(e.children),GW);return ca(r)?e.return=e.value+"{"+r+"}":""}function WW(e,t,n,r){if(e.type===M2||e.type===C0e||e.type===D1&&(!e.parent||e.parent.type===x0e||e.parent.type===D1)){var i=T4e.transform(GW(e));e.children=i?bz(i)[0].children:[],e.return=""}}Object.defineProperty(WW,"name",{value:"stylisRTLPlugin"});const _4e=H2({key:"muirtl",stylisPlugins:[Tz,WW]}),S4e=H2({key:"muiltr",stylisPlugins:[Tz]}),x4e=xt(({children:e})=>{const{themes:t}=T.exports.useContext(gt);return T.exports.useEffect(()=>{document.dir=t.rtl?"rtl":"ltr"},[t.rtl]),E(Iz,{value:t.rtl?_4e:S4e,children:e})}),C4e=xt(()=>{const{buildings:e}=T.exports.useContext(gt);return T.exports.useEffect(()=>{var t,n;document.title=(n=(t=e.building)==null?void 0:t.name)!=null?n:"Eyedog Cloud"},[e.building]),null});function w4e(e){return pt("MuiCircularProgress",e)}mt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const A4e=["className","color","disableShrink","size","style","thickness","value","variant"];let tb=e=>e,fk,pk,hk,mk;const mu=44,I4e=yc(fk||(fk=tb`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),R4e=yc(pk||(pk=tb`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),P4e=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${Se(r)}`],svg:["svg"],circle:["circle",`circle${Se(n)}`,i&&"circleDisableShrink"]};return Et(o,w4e,t)},O4e=ye("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Se(n.color)}`]]}})(({ownerState:e,theme:t})=>P({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Kf(hk||(hk=tb`
      animation: ${0} 1.4s linear infinite;
    `),I4e)),k4e=ye("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),N4e=ye("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Se(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>P({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Kf(mk||(mk=tb`
      animation: ${0} 1.4s ease-in-out infinite;
    `),R4e)),D4e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:d=0,variant:p="indeterminate"}=r,h=$e(r,A4e),m=P({},r,{color:o,disableShrink:a,size:s,thickness:c,value:d,variant:p}),v=P4e(m),y={},x={},b={};if(p==="determinate"){const _=2*Math.PI*((mu-c)/2);y.strokeDasharray=_.toFixed(3),b["aria-valuenow"]=Math.round(d),y.strokeDashoffset=`${((100-d)/100*_).toFixed(3)}px`,x.transform="rotate(-90deg)"}return E(O4e,P({className:He(v.root,i),style:P({width:s,height:s},x,l),ownerState:m,ref:n,role:"progressbar"},b,h,{children:E(k4e,{className:v.svg,ownerState:m,viewBox:`${mu/2} ${mu/2} ${mu} ${mu}`,children:E(N4e,{className:v.circle,style:y,ownerState:m,cx:mu,cy:mu,r:(mu-c)/2,fill:"none",strokeWidth:c})})}))}),nd=D4e,L4e=()=>E(Oe,{sx:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:E(nd,{size:36})}),M4e=d3({createStyledComponent:ye("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Se(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>St({props:e,name:"MuiContainer"})}),eu=M4e,C3=xt(()=>{var a,s,l,c;const{buildings:e,queryParams:t}=T.exports.useContext(gt),n=Dn(),r=t.params.tidy,i=location.pathname.includes("photo-route")?(s=(a=n.tidy)==null?void 0:a.photoRoute)==null?void 0:s.showLogo:(c=(l=n.tidy)==null?void 0:l.gettingTo)==null?void 0:c.showLogo,o=T.exports.useMemo(()=>{const{sizeType:d,height:p,width:h}=n.logo||{},m={maxWidth:"100%",maxHeight:120};return d==="fixed-size"&&(m.height=p||void 0,m.width=h||void 0),m},[n.logo]);return e.logoURL?E(Oe,{sx:{mt:11,mb:17,"& img":{mx:"auto",...o,display:i||!r?"block":"none",objectFit:"contain"}},children:E("img",{src:e.logoURL,alt:"logo"})}):null}),$4e=({id:e,params:t,breakLine:n})=>{const{translations:r}=T.exports.useContext(gt),i=r.getTranslation(e,t);return n?E(Qt,{children:i.split(`
`).map((o,a,s)=>te(T.exports.Fragment,{children:[o,a<s.length-1&&E("br",{})]},a))}):E(Qt,{children:i})},Rt=xt($4e);var ps={};const F4e=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];ps.REPLACEMENT_CHARACTER="\uFFFD";ps.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};ps.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};ps.isSurrogate=function(e){return e>=55296&&e<=57343};ps.isSurrogatePair=function(e){return e>=56320&&e<=57343};ps.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};ps.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};ps.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||F4e.indexOf(e)>-1};var w3={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const Dd=ps,CT=w3,Fc=Dd.CODE_POINTS,B4e=1<<16;class H4e{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=B4e}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(Dd.isSurrogatePair(n))return this.pos++,this._addGap(),Dd.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Fc.EOF;return this._err(CT.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Fc.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===Fc.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===Fc.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Fc.LINE_FEED):(this.skipNextNewLine=!1,Dd.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===Fc.LINE_FEED||t===Fc.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Dd.isControlCodePoint(t)?this._err(CT.controlCharacterInInputStream):Dd.isUndefinedCodePoint(t)&&this._err(CT.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}var U4e=H4e,z4e=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const G4e=U4e,Pn=ps,s1=z4e,_e=w3,W=Pn.CODE_POINTS,Bc=Pn.CODE_POINT_SEQUENCES,W4e={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},jW=1<<0,VW=1<<1,KW=1<<2,j4e=jW|VW|KW,nn="DATA_STATE",Ld="RCDATA_STATE",zh="RAWTEXT_STATE",bl="SCRIPT_DATA_STATE",qW="PLAINTEXT_STATE",gk="TAG_OPEN_STATE",vk="END_TAG_OPEN_STATE",wT="TAG_NAME_STATE",yk="RCDATA_LESS_THAN_SIGN_STATE",bk="RCDATA_END_TAG_OPEN_STATE",Ek="RCDATA_END_TAG_NAME_STATE",Tk="RAWTEXT_LESS_THAN_SIGN_STATE",_k="RAWTEXT_END_TAG_OPEN_STATE",Sk="RAWTEXT_END_TAG_NAME_STATE",xk="SCRIPT_DATA_LESS_THAN_SIGN_STATE",Ck="SCRIPT_DATA_END_TAG_OPEN_STATE",wk="SCRIPT_DATA_END_TAG_NAME_STATE",Ak="SCRIPT_DATA_ESCAPE_START_STATE",Ik="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Wa="SCRIPT_DATA_ESCAPED_STATE",Rk="SCRIPT_DATA_ESCAPED_DASH_STATE",AT="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",Zv="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",Pk="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",Ok="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",kk="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",pl="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",Nk="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",Dk="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",Jv="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",Lk="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Ss="BEFORE_ATTRIBUTE_NAME_STATE",e5="ATTRIBUTE_NAME_STATE",IT="AFTER_ATTRIBUTE_NAME_STATE",RT="BEFORE_ATTRIBUTE_VALUE_STATE",t5="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",n5="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",r5="ATTRIBUTE_VALUE_UNQUOTED_STATE",PT="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",gu="SELF_CLOSING_START_TAG_STATE",hh="BOGUS_COMMENT_STATE",Mk="MARKUP_DECLARATION_OPEN_STATE",$k="COMMENT_START_STATE",Fk="COMMENT_START_DASH_STATE",vu="COMMENT_STATE",Bk="COMMENT_LESS_THAN_SIGN_STATE",Hk="COMMENT_LESS_THAN_SIGN_BANG_STATE",Uk="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",zk="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",i5="COMMENT_END_DASH_STATE",o5="COMMENT_END_STATE",Gk="COMMENT_END_BANG_STATE",Wk="DOCTYPE_STATE",a5="BEFORE_DOCTYPE_NAME_STATE",s5="DOCTYPE_NAME_STATE",jk="AFTER_DOCTYPE_NAME_STATE",Vk="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",Kk="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",OT="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",kT="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",NT="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",qk="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Yk="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Xk="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",mh="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",gh="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",DT="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",hl="BOGUS_DOCTYPE_STATE",l5="CDATA_SECTION_STATE",Qk="CDATA_SECTION_BRACKET_STATE",Zk="CDATA_SECTION_END_STATE",Ad="CHARACTER_REFERENCE_STATE",Jk="NAMED_CHARACTER_REFERENCE_STATE",eN="AMBIGUOS_AMPERSAND_STATE",tN="NUMERIC_CHARACTER_REFERENCE_STATE",nN="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",rN="DECIMAL_CHARACTER_REFERENCE_START_STATE",iN="HEXADEMICAL_CHARACTER_REFERENCE_STATE",oN="DECIMAL_CHARACTER_REFERENCE_STATE",vh="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Yn(e){return e===W.SPACE||e===W.LINE_FEED||e===W.TABULATION||e===W.FORM_FEED}function gm(e){return e>=W.DIGIT_0&&e<=W.DIGIT_9}function ja(e){return e>=W.LATIN_CAPITAL_A&&e<=W.LATIN_CAPITAL_Z}function Vc(e){return e>=W.LATIN_SMALL_A&&e<=W.LATIN_SMALL_Z}function Eu(e){return Vc(e)||ja(e)}function LT(e){return Eu(e)||gm(e)}function YW(e){return e>=W.LATIN_CAPITAL_A&&e<=W.LATIN_CAPITAL_F}function XW(e){return e>=W.LATIN_SMALL_A&&e<=W.LATIN_SMALL_F}function V4e(e){return gm(e)||YW(e)||XW(e)}function n9(e){return e+32}function yr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function yu(e){return String.fromCharCode(n9(e))}function aN(e,t){const n=s1[++e];let r=++e,i=r+n-1;for(;r<=i;){const o=r+i>>>1,a=s1[o];if(a<t)r=o+1;else if(a>t)i=o-1;else return s1[o+n]}return-1}class zn{constructor(){this.preprocessor=new G4e,this.tokenQueue=[],this.allowCDATA=!1,this.state=nn,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:zn.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,o=!0;const a=t.length;let s=0,l=n,c;for(;s<a;s++){if(s>0&&(l=this._consume(),i++),l===W.EOF){o=!1;break}if(c=t[s],l!==c&&(r||l!==n9(c))){o=!1;break}}if(!o)for(;i--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Bc.SCRIPT_STRING.length)return!1;for(let t=0;t<this.tempBuff.length;t++)if(this.tempBuff[t]!==Bc.SCRIPT_STRING[t])return!1;return!0}_createStartTagToken(){this.currentToken={type:zn.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:zn.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:zn.COMMENT_TOKEN,data:""}}_createDoctypeToken(t){this.currentToken={type:zn.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n}}_createEOFToken(){this.currentToken={type:zn.EOF_TOKEN}}_createAttr(t){this.currentAttr={name:t,value:""}}_leaveAttrName(t){zn.getTokenAttr(this.currentToken,this.currentAttr.name)===null?this.currentToken.attrs.push(this.currentAttr):this._err(_e.duplicateAttribute),this.state=t}_leaveAttrValue(t){this.state=t}_emitCurrentToken(){this._emitCurrentCharacterToken();const t=this.currentToken;this.currentToken=null,t.type===zn.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===zn.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(_e.endTagWithAttributes),t.selfClosing&&this._err(_e.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=zn.CHARACTER_TOKEN;Yn(t)?n=zn.WHITESPACE_CHARACTER_TOKEN:t===W.NULL&&(n=zn.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,yr(t))}_emitSeveralCodePoints(t){for(let n=0;n<t.length;n++)this._emitCodePoint(t[n])}_emitChars(t){this._appendCharToCurrentCharacterToken(zn.CHARACTER_TOKEN,t)}_matchNamedCharacterReference(t){let n=null,r=1,i=aN(0,t);for(this.tempBuff.push(t);i>-1;){const o=s1[i],a=o<j4e;a&&o&jW&&(n=o&VW?[s1[++i],s1[++i]]:[s1[++i]],r=0);const l=this._consume();if(this.tempBuff.push(l),r++,l===W.EOF)break;a?i=o&KW?aN(i,l):-1:i=l===o?++i:-1}for(;r--;)this.tempBuff.pop(),this._unconsume();return n}_isCharacterReferenceInAttribute(){return this.returnState===t5||this.returnState===n5||this.returnState===r5}_isCharacterReferenceAttributeQuirk(t){if(!t&&this._isCharacterReferenceInAttribute()){const n=this._consume();return this._unconsume(),n===W.EQUALS_SIGN||LT(n)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let t=0;t<this.tempBuff.length;t++)this.currentAttr.value+=yr(this.tempBuff[t]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[nn](t){this.preprocessor.dropParsedChunk(),t===W.LESS_THAN_SIGN?this.state=gk:t===W.AMPERSAND?(this.returnState=nn,this.state=Ad):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitCodePoint(t)):t===W.EOF?this._emitEOFToken():this._emitCodePoint(t)}[Ld](t){this.preprocessor.dropParsedChunk(),t===W.AMPERSAND?(this.returnState=Ld,this.state=Ad):t===W.LESS_THAN_SIGN?this.state=yk:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?this._emitEOFToken():this._emitCodePoint(t)}[zh](t){this.preprocessor.dropParsedChunk(),t===W.LESS_THAN_SIGN?this.state=Tk:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?this._emitEOFToken():this._emitCodePoint(t)}[bl](t){this.preprocessor.dropParsedChunk(),t===W.LESS_THAN_SIGN?this.state=xk:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?this._emitEOFToken():this._emitCodePoint(t)}[qW](t){this.preprocessor.dropParsedChunk(),t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?this._emitEOFToken():this._emitCodePoint(t)}[gk](t){t===W.EXCLAMATION_MARK?this.state=Mk:t===W.SOLIDUS?this.state=vk:Eu(t)?(this._createStartTagToken(),this._reconsumeInState(wT)):t===W.QUESTION_MARK?(this._err(_e.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(hh)):t===W.EOF?(this._err(_e.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(_e.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(nn))}[vk](t){Eu(t)?(this._createEndTagToken(),this._reconsumeInState(wT)):t===W.GREATER_THAN_SIGN?(this._err(_e.missingEndTagName),this.state=nn):t===W.EOF?(this._err(_e.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(_e.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(hh))}[wT](t){Yn(t)?this.state=Ss:t===W.SOLIDUS?this.state=gu:t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):ja(t)?this.currentToken.tagName+=yu(t):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.tagName+=Pn.REPLACEMENT_CHARACTER):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=yr(t)}[yk](t){t===W.SOLIDUS?(this.tempBuff=[],this.state=bk):(this._emitChars("<"),this._reconsumeInState(Ld))}[bk](t){Eu(t)?(this._createEndTagToken(),this._reconsumeInState(Ek)):(this._emitChars("</"),this._reconsumeInState(Ld))}[Ek](t){if(ja(t))this.currentToken.tagName+=yu(t),this.tempBuff.push(t);else if(Vc(t))this.currentToken.tagName+=yr(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Yn(t)){this.state=Ss;return}if(t===W.SOLIDUS){this.state=gu;return}if(t===W.GREATER_THAN_SIGN){this.state=nn,this._emitCurrentToken();return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Ld)}}[Tk](t){t===W.SOLIDUS?(this.tempBuff=[],this.state=_k):(this._emitChars("<"),this._reconsumeInState(zh))}[_k](t){Eu(t)?(this._createEndTagToken(),this._reconsumeInState(Sk)):(this._emitChars("</"),this._reconsumeInState(zh))}[Sk](t){if(ja(t))this.currentToken.tagName+=yu(t),this.tempBuff.push(t);else if(Vc(t))this.currentToken.tagName+=yr(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Yn(t)){this.state=Ss;return}if(t===W.SOLIDUS){this.state=gu;return}if(t===W.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=nn;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(zh)}}[xk](t){t===W.SOLIDUS?(this.tempBuff=[],this.state=Ck):t===W.EXCLAMATION_MARK?(this.state=Ak,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(bl))}[Ck](t){Eu(t)?(this._createEndTagToken(),this._reconsumeInState(wk)):(this._emitChars("</"),this._reconsumeInState(bl))}[wk](t){if(ja(t))this.currentToken.tagName+=yu(t),this.tempBuff.push(t);else if(Vc(t))this.currentToken.tagName+=yr(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Yn(t)){this.state=Ss;return}else if(t===W.SOLIDUS){this.state=gu;return}else if(t===W.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=nn;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(bl)}}[Ak](t){t===W.HYPHEN_MINUS?(this.state=Ik,this._emitChars("-")):this._reconsumeInState(bl)}[Ik](t){t===W.HYPHEN_MINUS?(this.state=AT,this._emitChars("-")):this._reconsumeInState(bl)}[Wa](t){t===W.HYPHEN_MINUS?(this.state=Rk,this._emitChars("-")):t===W.LESS_THAN_SIGN?this.state=Zv:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[Rk](t){t===W.HYPHEN_MINUS?(this.state=AT,this._emitChars("-")):t===W.LESS_THAN_SIGN?this.state=Zv:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.state=Wa,this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Wa,this._emitCodePoint(t))}[AT](t){t===W.HYPHEN_MINUS?this._emitChars("-"):t===W.LESS_THAN_SIGN?this.state=Zv:t===W.GREATER_THAN_SIGN?(this.state=bl,this._emitChars(">")):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.state=Wa,this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Wa,this._emitCodePoint(t))}[Zv](t){t===W.SOLIDUS?(this.tempBuff=[],this.state=Pk):Eu(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(kk)):(this._emitChars("<"),this._reconsumeInState(Wa))}[Pk](t){Eu(t)?(this._createEndTagToken(),this._reconsumeInState(Ok)):(this._emitChars("</"),this._reconsumeInState(Wa))}[Ok](t){if(ja(t))this.currentToken.tagName+=yu(t),this.tempBuff.push(t);else if(Vc(t))this.currentToken.tagName+=yr(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Yn(t)){this.state=Ss;return}if(t===W.SOLIDUS){this.state=gu;return}if(t===W.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=nn;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Wa)}}[kk](t){Yn(t)||t===W.SOLIDUS||t===W.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?pl:Wa,this._emitCodePoint(t)):ja(t)?(this.tempBuff.push(n9(t)),this._emitCodePoint(t)):Vc(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(Wa)}[pl](t){t===W.HYPHEN_MINUS?(this.state=Nk,this._emitChars("-")):t===W.LESS_THAN_SIGN?(this.state=Jv,this._emitChars("<")):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[Nk](t){t===W.HYPHEN_MINUS?(this.state=Dk,this._emitChars("-")):t===W.LESS_THAN_SIGN?(this.state=Jv,this._emitChars("<")):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.state=pl,this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=pl,this._emitCodePoint(t))}[Dk](t){t===W.HYPHEN_MINUS?this._emitChars("-"):t===W.LESS_THAN_SIGN?(this.state=Jv,this._emitChars("<")):t===W.GREATER_THAN_SIGN?(this.state=bl,this._emitChars(">")):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.state=pl,this._emitChars(Pn.REPLACEMENT_CHARACTER)):t===W.EOF?(this._err(_e.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=pl,this._emitCodePoint(t))}[Jv](t){t===W.SOLIDUS?(this.tempBuff=[],this.state=Lk,this._emitChars("/")):this._reconsumeInState(pl)}[Lk](t){Yn(t)||t===W.SOLIDUS||t===W.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Wa:pl,this._emitCodePoint(t)):ja(t)?(this.tempBuff.push(n9(t)),this._emitCodePoint(t)):Vc(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(pl)}[Ss](t){Yn(t)||(t===W.SOLIDUS||t===W.GREATER_THAN_SIGN||t===W.EOF?this._reconsumeInState(IT):t===W.EQUALS_SIGN?(this._err(_e.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=e5):(this._createAttr(""),this._reconsumeInState(e5)))}[e5](t){Yn(t)||t===W.SOLIDUS||t===W.GREATER_THAN_SIGN||t===W.EOF?(this._leaveAttrName(IT),this._unconsume()):t===W.EQUALS_SIGN?this._leaveAttrName(RT):ja(t)?this.currentAttr.name+=yu(t):t===W.QUOTATION_MARK||t===W.APOSTROPHE||t===W.LESS_THAN_SIGN?(this._err(_e.unexpectedCharacterInAttributeName),this.currentAttr.name+=yr(t)):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentAttr.name+=Pn.REPLACEMENT_CHARACTER):this.currentAttr.name+=yr(t)}[IT](t){Yn(t)||(t===W.SOLIDUS?this.state=gu:t===W.EQUALS_SIGN?this.state=RT:t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(e5)))}[RT](t){Yn(t)||(t===W.QUOTATION_MARK?this.state=t5:t===W.APOSTROPHE?this.state=n5:t===W.GREATER_THAN_SIGN?(this._err(_e.missingAttributeValue),this.state=nn,this._emitCurrentToken()):this._reconsumeInState(r5))}[t5](t){t===W.QUOTATION_MARK?this.state=PT:t===W.AMPERSAND?(this.returnState=t5,this.state=Ad):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentAttr.value+=Pn.REPLACEMENT_CHARACTER):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yr(t)}[n5](t){t===W.APOSTROPHE?this.state=PT:t===W.AMPERSAND?(this.returnState=n5,this.state=Ad):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentAttr.value+=Pn.REPLACEMENT_CHARACTER):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yr(t)}[r5](t){Yn(t)?this._leaveAttrValue(Ss):t===W.AMPERSAND?(this.returnState=r5,this.state=Ad):t===W.GREATER_THAN_SIGN?(this._leaveAttrValue(nn),this._emitCurrentToken()):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentAttr.value+=Pn.REPLACEMENT_CHARACTER):t===W.QUOTATION_MARK||t===W.APOSTROPHE||t===W.LESS_THAN_SIGN||t===W.EQUALS_SIGN||t===W.GRAVE_ACCENT?(this._err(_e.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=yr(t)):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yr(t)}[PT](t){Yn(t)?this._leaveAttrValue(Ss):t===W.SOLIDUS?this._leaveAttrValue(gu):t===W.GREATER_THAN_SIGN?(this._leaveAttrValue(nn),this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):(this._err(_e.missingWhitespaceBetweenAttributes),this._reconsumeInState(Ss))}[gu](t){t===W.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInTag),this._emitEOFToken()):(this._err(_e.unexpectedSolidusInTag),this._reconsumeInState(Ss))}[hh](t){t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.data+=Pn.REPLACEMENT_CHARACTER):this.currentToken.data+=yr(t)}[Mk](t){this._consumeSequenceIfMatch(Bc.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=$k):this._consumeSequenceIfMatch(Bc.DOCTYPE_STRING,t,!1)?this.state=Wk:this._consumeSequenceIfMatch(Bc.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=l5:(this._err(_e.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=hh):this._ensureHibernation()||(this._err(_e.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(hh))}[$k](t){t===W.HYPHEN_MINUS?this.state=Fk:t===W.GREATER_THAN_SIGN?(this._err(_e.abruptClosingOfEmptyComment),this.state=nn,this._emitCurrentToken()):this._reconsumeInState(vu)}[Fk](t){t===W.HYPHEN_MINUS?this.state=o5:t===W.GREATER_THAN_SIGN?(this._err(_e.abruptClosingOfEmptyComment),this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(vu))}[vu](t){t===W.HYPHEN_MINUS?this.state=i5:t===W.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=Bk):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.data+=Pn.REPLACEMENT_CHARACTER):t===W.EOF?(this._err(_e.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=yr(t)}[Bk](t){t===W.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=Hk):t===W.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(vu)}[Hk](t){t===W.HYPHEN_MINUS?this.state=Uk:this._reconsumeInState(vu)}[Uk](t){t===W.HYPHEN_MINUS?this.state=zk:this._reconsumeInState(i5)}[zk](t){t!==W.GREATER_THAN_SIGN&&t!==W.EOF&&this._err(_e.nestedComment),this._reconsumeInState(o5)}[i5](t){t===W.HYPHEN_MINUS?this.state=o5:t===W.EOF?(this._err(_e.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(vu))}[o5](t){t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):t===W.EXCLAMATION_MARK?this.state=Gk:t===W.HYPHEN_MINUS?this.currentToken.data+="-":t===W.EOF?(this._err(_e.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(vu))}[Gk](t){t===W.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=i5):t===W.GREATER_THAN_SIGN?(this._err(_e.incorrectlyClosedComment),this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(vu))}[Wk](t){Yn(t)?this.state=a5:t===W.GREATER_THAN_SIGN?this._reconsumeInState(a5):t===W.EOF?(this._err(_e.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(a5))}[a5](t){Yn(t)||(ja(t)?(this._createDoctypeToken(yu(t)),this.state=s5):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this._createDoctypeToken(Pn.REPLACEMENT_CHARACTER),this.state=s5):t===W.GREATER_THAN_SIGN?(this._err(_e.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(yr(t)),this.state=s5))}[s5](t){Yn(t)?this.state=jk:t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):ja(t)?this.currentToken.name+=yu(t):t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.name+=Pn.REPLACEMENT_CHARACTER):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=yr(t)}[jk](t){Yn(t)||(t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Bc.PUBLIC_STRING,t,!1)?this.state=Vk:this._consumeSequenceIfMatch(Bc.SYSTEM_STRING,t,!1)?this.state=Yk:this._ensureHibernation()||(this._err(_e.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl)))}[Vk](t){Yn(t)?this.state=Kk:t===W.QUOTATION_MARK?(this._err(_e.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=OT):t===W.APOSTROPHE?(this._err(_e.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=kT):t===W.GREATER_THAN_SIGN?(this._err(_e.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl))}[Kk](t){Yn(t)||(t===W.QUOTATION_MARK?(this.currentToken.publicId="",this.state=OT):t===W.APOSTROPHE?(this.currentToken.publicId="",this.state=kT):t===W.GREATER_THAN_SIGN?(this._err(_e.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl)))}[OT](t){t===W.QUOTATION_MARK?this.state=NT:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.publicId+=Pn.REPLACEMENT_CHARACTER):t===W.GREATER_THAN_SIGN?(this._err(_e.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=yr(t)}[kT](t){t===W.APOSTROPHE?this.state=NT:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.publicId+=Pn.REPLACEMENT_CHARACTER):t===W.GREATER_THAN_SIGN?(this._err(_e.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=yr(t)}[NT](t){Yn(t)?this.state=qk:t===W.GREATER_THAN_SIGN?(this.state=nn,this._emitCurrentToken()):t===W.QUOTATION_MARK?(this._err(_e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=mh):t===W.APOSTROPHE?(this._err(_e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=gh):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl))}[qk](t){Yn(t)||(t===W.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=nn):t===W.QUOTATION_MARK?(this.currentToken.systemId="",this.state=mh):t===W.APOSTROPHE?(this.currentToken.systemId="",this.state=gh):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl)))}[Yk](t){Yn(t)?this.state=Xk:t===W.QUOTATION_MARK?(this._err(_e.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=mh):t===W.APOSTROPHE?(this._err(_e.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=gh):t===W.GREATER_THAN_SIGN?(this._err(_e.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl))}[Xk](t){Yn(t)||(t===W.QUOTATION_MARK?(this.currentToken.systemId="",this.state=mh):t===W.APOSTROPHE?(this.currentToken.systemId="",this.state=gh):t===W.GREATER_THAN_SIGN?(this._err(_e.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=nn,this._emitCurrentToken()):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(hl)))}[mh](t){t===W.QUOTATION_MARK?this.state=DT:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.systemId+=Pn.REPLACEMENT_CHARACTER):t===W.GREATER_THAN_SIGN?(this._err(_e.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=yr(t)}[gh](t){t===W.APOSTROPHE?this.state=DT:t===W.NULL?(this._err(_e.unexpectedNullCharacter),this.currentToken.systemId+=Pn.REPLACEMENT_CHARACTER):t===W.GREATER_THAN_SIGN?(this._err(_e.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=yr(t)}[DT](t){Yn(t)||(t===W.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=nn):t===W.EOF?(this._err(_e.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(_e.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(hl)))}[hl](t){t===W.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=nn):t===W.NULL?this._err(_e.unexpectedNullCharacter):t===W.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[l5](t){t===W.RIGHT_SQUARE_BRACKET?this.state=Qk:t===W.EOF?(this._err(_e.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[Qk](t){t===W.RIGHT_SQUARE_BRACKET?this.state=Zk:(this._emitChars("]"),this._reconsumeInState(l5))}[Zk](t){t===W.GREATER_THAN_SIGN?this.state=nn:t===W.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(l5))}[Ad](t){this.tempBuff=[W.AMPERSAND],t===W.NUMBER_SIGN?(this.tempBuff.push(t),this.state=tN):LT(t)?this._reconsumeInState(Jk):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Jk](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[W.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===W.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(_e.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=eN}[eN](t){LT(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=yr(t):this._emitCodePoint(t):(t===W.SEMICOLON&&this._err(_e.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[tN](t){this.charRefCode=0,t===W.LATIN_SMALL_X||t===W.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=nN):this._reconsumeInState(rN)}[nN](t){V4e(t)?this._reconsumeInState(iN):(this._err(_e.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[rN](t){gm(t)?this._reconsumeInState(oN):(this._err(_e.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[iN](t){YW(t)?this.charRefCode=this.charRefCode*16+t-55:XW(t)?this.charRefCode=this.charRefCode*16+t-87:gm(t)?this.charRefCode=this.charRefCode*16+t-48:t===W.SEMICOLON?this.state=vh:(this._err(_e.missingSemicolonAfterCharacterReference),this._reconsumeInState(vh))}[oN](t){gm(t)?this.charRefCode=this.charRefCode*10+t-48:t===W.SEMICOLON?this.state=vh:(this._err(_e.missingSemicolonAfterCharacterReference),this._reconsumeInState(vh))}[vh](){if(this.charRefCode===W.NULL)this._err(_e.nullCharacterReference),this.charRefCode=W.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(_e.characterReferenceOutsideUnicodeRange),this.charRefCode=W.REPLACEMENT_CHARACTER;else if(Pn.isSurrogate(this.charRefCode))this._err(_e.surrogateCharacterReference),this.charRefCode=W.REPLACEMENT_CHARACTER;else if(Pn.isUndefinedCodePoint(this.charRefCode))this._err(_e.noncharacterCharacterReference);else if(Pn.isControlCodePoint(this.charRefCode)||this.charRefCode===W.CARRIAGE_RETURN){this._err(_e.controlCharacterReference);const t=W4e[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}zn.CHARACTER_TOKEN="CHARACTER_TOKEN";zn.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";zn.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";zn.START_TAG_TOKEN="START_TAG_TOKEN";zn.END_TAG_TOKEN="END_TAG_TOKEN";zn.COMMENT_TOKEN="COMMENT_TOKEN";zn.DOCTYPE_TOKEN="DOCTYPE_TOKEN";zn.EOF_TOKEN="EOF_TOKEN";zn.HIBERNATION_TOKEN="HIBERNATION_TOKEN";zn.MODE={DATA:nn,RCDATA:Ld,RAWTEXT:zh,SCRIPT_DATA:bl,PLAINTEXT:qW};zn.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var nb=zn,hs={};const MT=hs.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};hs.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};hs.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const Ue=hs.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};hs.SPECIAL_ELEMENTS={[MT.HTML]:{[Ue.ADDRESS]:!0,[Ue.APPLET]:!0,[Ue.AREA]:!0,[Ue.ARTICLE]:!0,[Ue.ASIDE]:!0,[Ue.BASE]:!0,[Ue.BASEFONT]:!0,[Ue.BGSOUND]:!0,[Ue.BLOCKQUOTE]:!0,[Ue.BODY]:!0,[Ue.BR]:!0,[Ue.BUTTON]:!0,[Ue.CAPTION]:!0,[Ue.CENTER]:!0,[Ue.COL]:!0,[Ue.COLGROUP]:!0,[Ue.DD]:!0,[Ue.DETAILS]:!0,[Ue.DIR]:!0,[Ue.DIV]:!0,[Ue.DL]:!0,[Ue.DT]:!0,[Ue.EMBED]:!0,[Ue.FIELDSET]:!0,[Ue.FIGCAPTION]:!0,[Ue.FIGURE]:!0,[Ue.FOOTER]:!0,[Ue.FORM]:!0,[Ue.FRAME]:!0,[Ue.FRAMESET]:!0,[Ue.H1]:!0,[Ue.H2]:!0,[Ue.H3]:!0,[Ue.H4]:!0,[Ue.H5]:!0,[Ue.H6]:!0,[Ue.HEAD]:!0,[Ue.HEADER]:!0,[Ue.HGROUP]:!0,[Ue.HR]:!0,[Ue.HTML]:!0,[Ue.IFRAME]:!0,[Ue.IMG]:!0,[Ue.INPUT]:!0,[Ue.LI]:!0,[Ue.LINK]:!0,[Ue.LISTING]:!0,[Ue.MAIN]:!0,[Ue.MARQUEE]:!0,[Ue.MENU]:!0,[Ue.META]:!0,[Ue.NAV]:!0,[Ue.NOEMBED]:!0,[Ue.NOFRAMES]:!0,[Ue.NOSCRIPT]:!0,[Ue.OBJECT]:!0,[Ue.OL]:!0,[Ue.P]:!0,[Ue.PARAM]:!0,[Ue.PLAINTEXT]:!0,[Ue.PRE]:!0,[Ue.SCRIPT]:!0,[Ue.SECTION]:!0,[Ue.SELECT]:!0,[Ue.SOURCE]:!0,[Ue.STYLE]:!0,[Ue.SUMMARY]:!0,[Ue.TABLE]:!0,[Ue.TBODY]:!0,[Ue.TD]:!0,[Ue.TEMPLATE]:!0,[Ue.TEXTAREA]:!0,[Ue.TFOOT]:!0,[Ue.TH]:!0,[Ue.THEAD]:!0,[Ue.TITLE]:!0,[Ue.TR]:!0,[Ue.TRACK]:!0,[Ue.UL]:!0,[Ue.WBR]:!0,[Ue.XMP]:!0},[MT.MATHML]:{[Ue.MI]:!0,[Ue.MO]:!0,[Ue.MN]:!0,[Ue.MS]:!0,[Ue.MTEXT]:!0,[Ue.ANNOTATION_XML]:!0},[MT.SVG]:{[Ue.TITLE]:!0,[Ue.FOREIGN_OBJECT]:!0,[Ue.DESC]:!0}};const QW=hs,ze=QW.TAG_NAMES,On=QW.NAMESPACES;function sN(e){switch(e.length){case 1:return e===ze.P;case 2:return e===ze.RB||e===ze.RP||e===ze.RT||e===ze.DD||e===ze.DT||e===ze.LI;case 3:return e===ze.RTC;case 6:return e===ze.OPTION;case 8:return e===ze.OPTGROUP}return!1}function K4e(e){switch(e.length){case 1:return e===ze.P;case 2:return e===ze.RB||e===ze.RP||e===ze.RT||e===ze.DD||e===ze.DT||e===ze.LI||e===ze.TD||e===ze.TH||e===ze.TR;case 3:return e===ze.RTC;case 5:return e===ze.TBODY||e===ze.TFOOT||e===ze.THEAD;case 6:return e===ze.OPTION;case 7:return e===ze.CAPTION;case 8:return e===ze.OPTGROUP||e===ze.COLGROUP}return!1}function u5(e,t){switch(e.length){case 2:if(e===ze.TD||e===ze.TH)return t===On.HTML;if(e===ze.MI||e===ze.MO||e===ze.MN||e===ze.MS)return t===On.MATHML;break;case 4:if(e===ze.HTML)return t===On.HTML;if(e===ze.DESC)return t===On.SVG;break;case 5:if(e===ze.TABLE)return t===On.HTML;if(e===ze.MTEXT)return t===On.MATHML;if(e===ze.TITLE)return t===On.SVG;break;case 6:return(e===ze.APPLET||e===ze.OBJECT)&&t===On.HTML;case 7:return(e===ze.CAPTION||e===ze.MARQUEE)&&t===On.HTML;case 8:return e===ze.TEMPLATE&&t===On.HTML;case 13:return e===ze.FOREIGN_OBJECT&&t===On.SVG;case 14:return e===ze.ANNOTATION_XML&&t===On.MATHML}return!1}class q4e{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===ze.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===On.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===On.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===ze.H1||t===ze.H2||t===ze.H3||t===ze.H4||t===ze.H5||t===ze.H6&&n===On.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===ze.TD||t===ze.TH&&n===On.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==ze.TABLE&&this.currentTagName!==ze.TEMPLATE&&this.currentTagName!==ze.HTML||this.treeAdapter.getNamespaceURI(this.current)!==On.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==ze.TBODY&&this.currentTagName!==ze.TFOOT&&this.currentTagName!==ze.THEAD&&this.currentTagName!==ze.TEMPLATE&&this.currentTagName!==ze.HTML||this.treeAdapter.getNamespaceURI(this.current)!==On.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==ze.TR&&this.currentTagName!==ze.TEMPLATE&&this.currentTagName!==ze.HTML||this.treeAdapter.getNamespaceURI(this.current)!==On.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===ze.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===ze.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===On.HTML)return!0;if(u5(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===ze.H1||n===ze.H2||n===ze.H3||n===ze.H4||n===ze.H5||n===ze.H6)&&r===On.HTML)return!0;if(u5(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===On.HTML)return!0;if((r===ze.UL||r===ze.OL)&&i===On.HTML||u5(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===On.HTML)return!0;if(r===ze.BUTTON&&i===On.HTML||u5(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===On.HTML){if(r===t)return!0;if(r===ze.TABLE||r===ze.TEMPLATE||r===ze.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===On.HTML){if(n===ze.TBODY||n===ze.THEAD||n===ze.TFOOT)return!0;if(n===ze.TABLE||n===ze.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===On.HTML){if(r===t)return!0;if(r!==ze.OPTION&&r!==ze.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;sN(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;K4e(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;sN(this.currentTagName)&&this.currentTagName!==t;)this.pop()}}var Y4e=q4e;const c5=3;class Xa{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=c5){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let a=this.length-1;a>=0;a--){const s=this.entries[a];if(s.type===Xa.MARKER_ENTRY)break;const l=s.element,c=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===o&&c.length===r&&n.push({idx:a,attrs:c})}}return n.length<c5?[]:n}_ensureNoahArkCondition(t){const n=this._getNoahArkConditionCandidates(t);let r=n.length;if(r){const i=this.treeAdapter.getAttrList(t),o=i.length,a=Object.create(null);for(let s=0;s<o;s++){const l=i[s];a[l.name]=l.value}for(let s=0;s<o;s++)for(let l=0;l<r;l++){const c=n[l].attrs[s];if(a[c.name]!==c.value&&(n.splice(l,1),r--),n.length<c5)return}for(let s=r-1;s>=c5-1;s--)this.entries.splice(n[s].idx,1),this.length--}}insertMarker(){this.entries.push({type:Xa.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:Xa.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:Xa.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===Xa.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===Xa.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===Xa.ELEMENT_ENTRY&&r.element===t)return r}return null}}Xa.MARKER_ENTRY="MARKER_ENTRY";Xa.ELEMENT_ENTRY="ELEMENT_ENTRY";var X4e=Xa;class ZW{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}}ZW.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i<e.__mixins.length;i++)if(e.__mixins[i].constructor===t)return e.__mixins[i];const r=new t(e,n);return e.__mixins.push(r),r};var tu=ZW;const Q4e=tu;class Z4e extends Q4e{constructor(t){super(t),this.preprocessor=t,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(t,n){return{advance(){const r=this.pos+1,i=this.html[r];return t.isEol&&(t.isEol=!1,t.line++,t.lineStartPos=r),(i===`
`||i==="\r"&&this.html[r+1]!==`
`)&&(t.isEol=!0),t.col=r-t.lineStartPos+1,t.offset=t.droppedBufferSize+r,n.advance.call(this)},retreat(){n.retreat.call(this),t.isEol=!1,t.col=this.pos-t.lineStartPos+1},dropParsedChunk(){const r=this.pos;n.dropParsedChunk.call(this);const i=r-this.pos;t.lineStartPos-=i,t.droppedBufferSize+=i,t.offset=t.droppedBufferSize+this.pos}}}}var JW=Z4e;const lN=tu,$T=nb,J4e=JW;class eEe extends lN{constructor(t){super(t),this.tokenizer=t,this.posTracker=lN.install(t.preprocessor,J4e),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const t=this.tokenizer.currentToken,n=this.tokenizer.currentAttr;t.location.attrs||(t.location.attrs=Object.create(null)),t.location.attrs[n.name]=this.currentAttrLocation}_getOverriddenMethods(t,n){const r={_createStartTagToken(){n._createStartTagToken.call(this),this.currentToken.location=t.ctLoc},_createEndTagToken(){n._createEndTagToken.call(this),this.currentToken.location=t.ctLoc},_createCommentToken(){n._createCommentToken.call(this),this.currentToken.location=t.ctLoc},_createDoctypeToken(i){n._createDoctypeToken.call(this,i),this.currentToken.location=t.ctLoc},_createCharacterToken(i,o){n._createCharacterToken.call(this,i,o),this.currentCharacterToken.location=t.ctLoc},_createEOFToken(){n._createEOFToken.call(this),this.currentToken.location=t._getCurrentLocation()},_createAttr(i){n._createAttr.call(this,i),t.currentAttrLocation=t._getCurrentLocation()},_leaveAttrName(i){n._leaveAttrName.call(this,i),t._attachCurrentAttrLocationInfo()},_leaveAttrValue(i){n._leaveAttrValue.call(this,i),t._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const i=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentToken.type===$T.EOF_TOKEN?(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset):(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col+1,i.endOffset=t.posTracker.offset+1),n._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const i=this.currentCharacterToken&&this.currentCharacterToken.location;i&&i.endOffset===-1&&(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col,i.endOffset=t.posTracker.offset),n._emitCurrentCharacterToken.call(this)}};return Object.keys($T.MODE).forEach(i=>{const o=$T.MODE[i];r[o]=function(a){t.ctLoc=t._getCurrentLocation(),n[o].call(this,a)}}),r}}var ej=eEe;const tEe=tu;class nEe extends tEe{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}}var rEe=nEe;const FT=tu,uN=nb,iEe=ej,oEe=rEe,aEe=hs,BT=aEe.TAG_NAMES;class sEe extends FT{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,o=this.treeAdapter.getTagName(t),a=n.type===uN.END_TAG_TOKEN&&o===n.tagName,s={};a?(s.endTag=Object.assign({},i),s.endLine=i.endLine,s.endCol=i.endCol,s.endOffset=i.endOffset):(s.endLine=i.startLine,s.endCol=i.startCol,s.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const o=FT.install(this.tokenizer,iEe);t.posTracker=o.posTracker,FT.install(this.openElements,oEe,{onItemPop:function(a){t._setEndLocation(a,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===uN.END_TAG_TOKEN&&(r.tagName===BT.HTML||r.tagName===BT.BODY&&this.openElements.hasInScope(BT.BODY)))for(let o=this.openElements.stackTop;o>=0;o--){const a=this.openElements.items[o];if(this.treeAdapter.getTagName(a)===r.tagName){t._setEndLocation(a,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),o=i.length;for(let a=0;a<o;a++){const s=i[a];if(this.treeAdapter.isDocumentTypeNode(s)){this.treeAdapter.setNodeSourceCodeLocation(s,r.location);break}}},_attachElementToTree(r){t._setStartLocation(r),t.lastStartTagToken=null,n._attachElementToTree.call(this,r)},_appendElement(r,i){t.lastStartTagToken=r,n._appendElement.call(this,r,i)},_insertElement(r,i){t.lastStartTagToken=r,n._insertElement.call(this,r,i)},_insertTemplate(r){t.lastStartTagToken=r,n._insertTemplate.call(this,r);const i=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(i,null)},_insertFakeRootElement(){n._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(r,i){n._appendCommentNode.call(this,r,i);const o=this.treeAdapter.getChildNodes(i),a=o[o.length-1];this.treeAdapter.setNodeSourceCodeLocation(a,r.location)},_findFosterParentingLocation(){return t.lastFosterParentingLocation=n._findFosterParentingLocation.call(this),t.lastFosterParentingLocation},_insertCharacters(r){n._insertCharacters.call(this,r);const i=this._shouldFosterParentOnInsertion(),o=i&&t.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,a=this.treeAdapter.getChildNodes(o),s=i&&t.lastFosterParentingLocation.beforeElement?a.indexOf(t.lastFosterParentingLocation.beforeElement)-1:a.length-1,l=a[s];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:d,endCol:p,endOffset:h}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:d,endCol:p,endOffset:h})}else this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}}}}var lEe=sEe;const uEe=tu;class cEe extends uEe{constructor(t,n){super(t),this.posTracker=null,this.onParseError=n.onParseError}_setErrorLocation(t){t.startLine=t.endLine=this.posTracker.line,t.startCol=t.endCol=this.posTracker.col,t.startOffset=t.endOffset=this.posTracker.offset}_reportError(t){const n={code:t,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(n),this.onParseError(n)}_getOverriddenMethods(t){return{_err(n){t._reportError(n)}}}}var A3=cEe;const dEe=A3,fEe=JW,pEe=tu;class hEe extends dEe{constructor(t,n){super(t,n),this.posTracker=pEe.install(t,fEe),this.lastErrOffset=-1}_reportError(t){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(t))}}var mEe=hEe;const gEe=A3,vEe=mEe,yEe=tu;class bEe extends gEe{constructor(t,n){super(t,n);const r=yEe.install(t.preprocessor,vEe,n);this.posTracker=r.posTracker}}var EEe=bEe;const TEe=A3,_Ee=EEe,SEe=ej,cN=tu;class xEe extends TEe{constructor(t,n){super(t,n),this.opts=n,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(t){this.ctLoc&&(t.startLine=this.ctLoc.startLine,t.startCol=this.ctLoc.startCol,t.startOffset=this.ctLoc.startOffset,t.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,t.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,t.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),cN.install(this.tokenizer,_Ee,t.opts),cN.install(this.tokenizer,SEe)},_processInputToken(r){t.ctLoc=r.location,n._processInputToken.call(this,r)},_err(r,i){t.locBeforeToken=i&&i.beforeToken,t._reportError(r)}}}}var CEe=xEe,fn={};const{DOCUMENT_MODE:wEe}=hs;fn.createDocument=function(){return{nodeName:"#document",mode:wEe.NO_QUIRKS,childNodes:[]}};fn.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};fn.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}};fn.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const tj=function(e){return{nodeName:"#text",value:e,parentNode:null}},nj=fn.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},AEe=fn.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};fn.setTemplateContent=function(e,t){e.content=t};fn.getTemplateContent=function(e){return e.content};fn.setDocumentType=function(e,t,n,r){let i=null;for(let o=0;o<e.childNodes.length;o++)if(e.childNodes[o].nodeName==="#documentType"){i=e.childNodes[o];break}i?(i.name=t,i.publicId=n,i.systemId=r):nj(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})};fn.setDocumentMode=function(e,t){e.mode=t};fn.getDocumentMode=function(e){return e.mode};fn.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}};fn.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if(n.nodeName==="#text"){n.value+=t;return}}nj(e,tj(t))};fn.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&r.nodeName==="#text"?r.value+=t:AEe(e,tj(t),n)};fn.adoptAttributes=function(e,t){const n=[];for(let r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(let r=0;r<t.length;r++)n.indexOf(t[r].name)===-1&&e.attrs.push(t[r])};fn.getFirstChild=function(e){return e.childNodes[0]};fn.getChildNodes=function(e){return e.childNodes};fn.getParentNode=function(e){return e.parentNode};fn.getAttrList=function(e){return e.attrs};fn.getTagName=function(e){return e.tagName};fn.getNamespaceURI=function(e){return e.namespaceURI};fn.getTextNodeContent=function(e){return e.value};fn.getCommentNodeContent=function(e){return e.data};fn.getDocumentTypeNodeName=function(e){return e.name};fn.getDocumentTypeNodePublicId=function(e){return e.publicId};fn.getDocumentTypeNodeSystemId=function(e){return e.systemId};fn.isTextNode=function(e){return e.nodeName==="#text"};fn.isCommentNode=function(e){return e.nodeName==="#comment"};fn.isDocumentTypeNode=function(e){return e.nodeName==="#documentType"};fn.isElementNode=function(e){return!!e.tagName};fn.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t};fn.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation};fn.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)};var IEe=function(t,n){return n=n||Object.create(null),[t,n].reduce((r,i)=>(Object.keys(i).forEach(o=>{r[o]=i[o]}),r),Object.create(null))},rb={};const{DOCUMENT_MODE:Id}=hs,rj="html",REe="about:legacy-compat",PEe="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ij=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],OEe=ij.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),kEe=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],oj=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],NEe=oj.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function dN(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function fN(e,t){for(let n=0;n<t.length;n++)if(e.indexOf(t[n])===0)return!0;return!1}rb.isConforming=function(e){return e.name===rj&&e.publicId===null&&(e.systemId===null||e.systemId===REe)};rb.getDocumentMode=function(e){if(e.name!==rj)return Id.QUIRKS;const t=e.systemId;if(t&&t.toLowerCase()===PEe)return Id.QUIRKS;let n=e.publicId;if(n!==null){if(n=n.toLowerCase(),kEe.indexOf(n)>-1)return Id.QUIRKS;let r=t===null?OEe:ij;if(fN(n,r))return Id.QUIRKS;if(r=t===null?oj:NEe,fN(n,r))return Id.LIMITED_QUIRKS}return Id.NO_QUIRKS};rb.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+dN(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+dN(n)),r};var _c={};const HT=nb,I3=hs,_t=I3.TAG_NAMES,li=I3.NAMESPACES,r9=I3.ATTRS,pN={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEe="definitionurl",LEe="definitionURL",MEe={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},$Ee={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:li.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:li.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:li.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:li.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:li.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:li.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:li.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:li.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:li.XML},"xml:space":{prefix:"xml",name:"space",namespace:li.XML},xmlns:{prefix:"",name:"xmlns",namespace:li.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:li.XMLNS}},FEe=_c.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},BEe={[_t.B]:!0,[_t.BIG]:!0,[_t.BLOCKQUOTE]:!0,[_t.BODY]:!0,[_t.BR]:!0,[_t.CENTER]:!0,[_t.CODE]:!0,[_t.DD]:!0,[_t.DIV]:!0,[_t.DL]:!0,[_t.DT]:!0,[_t.EM]:!0,[_t.EMBED]:!0,[_t.H1]:!0,[_t.H2]:!0,[_t.H3]:!0,[_t.H4]:!0,[_t.H5]:!0,[_t.H6]:!0,[_t.HEAD]:!0,[_t.HR]:!0,[_t.I]:!0,[_t.IMG]:!0,[_t.LI]:!0,[_t.LISTING]:!0,[_t.MENU]:!0,[_t.META]:!0,[_t.NOBR]:!0,[_t.OL]:!0,[_t.P]:!0,[_t.PRE]:!0,[_t.RUBY]:!0,[_t.S]:!0,[_t.SMALL]:!0,[_t.SPAN]:!0,[_t.STRONG]:!0,[_t.STRIKE]:!0,[_t.SUB]:!0,[_t.SUP]:!0,[_t.TABLE]:!0,[_t.TT]:!0,[_t.U]:!0,[_t.UL]:!0,[_t.VAR]:!0};_c.causesExit=function(e){const t=e.tagName;return t===_t.FONT&&(HT.getTokenAttr(e,r9.COLOR)!==null||HT.getTokenAttr(e,r9.SIZE)!==null||HT.getTokenAttr(e,r9.FACE)!==null)?!0:BEe[t]};_c.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===DEe){e.attrs[t].name=LEe;break}};_c.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=MEe[e.attrs[t].name];n&&(e.attrs[t].name=n)}};_c.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=$Ee[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}};_c.adjustTokenSVGTagName=function(e){const t=FEe[e.tagName];t&&(e.tagName=t)};function HEe(e,t){return t===li.MATHML&&(e===_t.MI||e===_t.MO||e===_t.MN||e===_t.MS||e===_t.MTEXT)}function UEe(e,t,n){if(t===li.MATHML&&e===_t.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===r9.ENCODING){const i=n[r].value.toLowerCase();return i===pN.TEXT_HTML||i===pN.APPLICATION_XML}}return t===li.SVG&&(e===_t.FOREIGN_OBJECT||e===_t.DESC||e===_t.TITLE)}_c.isIntegrationPoint=function(e,t,n,r){return!!((!r||r===li.HTML)&&UEe(e,t,n)||(!r||r===li.MATHML)&&HEe(e,t))};const q=nb,zEe=Y4e,hN=X4e,GEe=lEe,WEe=CEe,mN=tu,jEe=fn,VEe=IEe,gN=rb,Ms=_c,gi=w3,KEe=ps,rd=hs,I=rd.TAG_NAMES,lt=rd.NAMESPACES,aj=rd.ATTRS,qEe={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:jEe},sj="hidden",YEe=8,XEe=3,lj="INITIAL_MODE",R3="BEFORE_HTML_MODE",ib="BEFORE_HEAD_MODE",xp="IN_HEAD_MODE",uj="IN_HEAD_NO_SCRIPT_MODE",ob="AFTER_HEAD_MODE",qs="IN_BODY_MODE",my="TEXT_MODE",Ci="IN_TABLE_MODE",cj="IN_TABLE_TEXT_MODE",ab="IN_CAPTION_MODE",sg="IN_COLUMN_GROUP_MODE",_a="IN_TABLE_BODY_MODE",Vl="IN_ROW_MODE",sb="IN_CELL_MODE",P3="IN_SELECT_MODE",O3="IN_SELECT_IN_TABLE_MODE",gy="IN_TEMPLATE_MODE",k3="AFTER_BODY_MODE",lb="IN_FRAMESET_MODE",dj="AFTER_FRAMESET_MODE",fj="AFTER_AFTER_BODY_MODE",pj="AFTER_AFTER_FRAMESET_MODE",QEe={[I.TR]:Vl,[I.TBODY]:_a,[I.THEAD]:_a,[I.TFOOT]:_a,[I.CAPTION]:ab,[I.COLGROUP]:sg,[I.TABLE]:Ci,[I.BODY]:qs,[I.FRAMESET]:lb},ZEe={[I.CAPTION]:Ci,[I.COLGROUP]:Ci,[I.TBODY]:Ci,[I.TFOOT]:Ci,[I.THEAD]:Ci,[I.COL]:sg,[I.TR]:_a,[I.TD]:Vl,[I.TH]:Vl},vN={[lj]:{[q.CHARACTER_TOKEN]:bh,[q.NULL_CHARACTER_TOKEN]:bh,[q.WHITESPACE_CHARACTER_TOKEN]:sn,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:lTe,[q.START_TAG_TOKEN]:bh,[q.END_TAG_TOKEN]:bh,[q.EOF_TOKEN]:bh},[R3]:{[q.CHARACTER_TOKEN]:vm,[q.NULL_CHARACTER_TOKEN]:vm,[q.WHITESPACE_CHARACTER_TOKEN]:sn,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:uTe,[q.END_TAG_TOKEN]:cTe,[q.EOF_TOKEN]:vm},[ib]:{[q.CHARACTER_TOKEN]:ym,[q.NULL_CHARACTER_TOKEN]:ym,[q.WHITESPACE_CHARACTER_TOKEN]:sn,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:d5,[q.START_TAG_TOKEN]:dTe,[q.END_TAG_TOKEN]:fTe,[q.EOF_TOKEN]:ym},[xp]:{[q.CHARACTER_TOKEN]:bm,[q.NULL_CHARACTER_TOKEN]:bm,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:d5,[q.START_TAG_TOKEN]:Qr,[q.END_TAG_TOKEN]:id,[q.EOF_TOKEN]:bm},[uj]:{[q.CHARACTER_TOKEN]:Em,[q.NULL_CHARACTER_TOKEN]:Em,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:d5,[q.START_TAG_TOKEN]:pTe,[q.END_TAG_TOKEN]:hTe,[q.EOF_TOKEN]:Em},[ob]:{[q.CHARACTER_TOKEN]:Tm,[q.NULL_CHARACTER_TOKEN]:Tm,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:d5,[q.START_TAG_TOKEN]:mTe,[q.END_TAG_TOKEN]:gTe,[q.EOF_TOKEN]:Tm},[qs]:{[q.CHARACTER_TOKEN]:f5,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:yo,[q.END_TAG_TOKEN]:N3,[q.EOF_TOKEN]:gl},[my]:{[q.CHARACTER_TOKEN]:eo,[q.NULL_CHARACTER_TOKEN]:eo,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:sn,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:sn,[q.END_TAG_TOKEN]:KTe,[q.EOF_TOKEN]:qTe},[Ci]:{[q.CHARACTER_TOKEN]:vl,[q.NULL_CHARACTER_TOKEN]:vl,[q.WHITESPACE_CHARACTER_TOKEN]:vl,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:D3,[q.END_TAG_TOKEN]:L3,[q.EOF_TOKEN]:gl},[cj]:{[q.CHARACTER_TOKEN]:i_e,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:r_e,[q.COMMENT_TOKEN]:Eh,[q.DOCTYPE_TOKEN]:Eh,[q.START_TAG_TOKEN]:Eh,[q.END_TAG_TOKEN]:Eh,[q.EOF_TOKEN]:Eh},[ab]:{[q.CHARACTER_TOKEN]:f5,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:o_e,[q.END_TAG_TOKEN]:a_e,[q.EOF_TOKEN]:gl},[sg]:{[q.CHARACTER_TOKEN]:vy,[q.NULL_CHARACTER_TOKEN]:vy,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:s_e,[q.END_TAG_TOKEN]:l_e,[q.EOF_TOKEN]:gl},[_a]:{[q.CHARACTER_TOKEN]:vl,[q.NULL_CHARACTER_TOKEN]:vl,[q.WHITESPACE_CHARACTER_TOKEN]:vl,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:u_e,[q.END_TAG_TOKEN]:c_e,[q.EOF_TOKEN]:gl},[Vl]:{[q.CHARACTER_TOKEN]:vl,[q.NULL_CHARACTER_TOKEN]:vl,[q.WHITESPACE_CHARACTER_TOKEN]:vl,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:d_e,[q.END_TAG_TOKEN]:f_e,[q.EOF_TOKEN]:gl},[sb]:{[q.CHARACTER_TOKEN]:f5,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:p_e,[q.END_TAG_TOKEN]:h_e,[q.EOF_TOKEN]:gl},[P3]:{[q.CHARACTER_TOKEN]:eo,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:hj,[q.END_TAG_TOKEN]:mj,[q.EOF_TOKEN]:gl},[O3]:{[q.CHARACTER_TOKEN]:eo,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:m_e,[q.END_TAG_TOKEN]:g_e,[q.EOF_TOKEN]:gl},[gy]:{[q.CHARACTER_TOKEN]:f5,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:v_e,[q.END_TAG_TOKEN]:y_e,[q.EOF_TOKEN]:gj},[k3]:{[q.CHARACTER_TOKEN]:yy,[q.NULL_CHARACTER_TOKEN]:yy,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:sTe,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:b_e,[q.END_TAG_TOKEN]:E_e,[q.EOF_TOKEN]:yh},[lb]:{[q.CHARACTER_TOKEN]:sn,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:T_e,[q.END_TAG_TOKEN]:__e,[q.EOF_TOKEN]:yh},[dj]:{[q.CHARACTER_TOKEN]:sn,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:eo,[q.COMMENT_TOKEN]:Fr,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:S_e,[q.END_TAG_TOKEN]:x_e,[q.EOF_TOKEN]:yh},[fj]:{[q.CHARACTER_TOKEN]:i9,[q.NULL_CHARACTER_TOKEN]:i9,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:yN,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:C_e,[q.END_TAG_TOKEN]:i9,[q.EOF_TOKEN]:yh},[pj]:{[q.CHARACTER_TOKEN]:sn,[q.NULL_CHARACTER_TOKEN]:sn,[q.WHITESPACE_CHARACTER_TOKEN]:Hc,[q.COMMENT_TOKEN]:yN,[q.DOCTYPE_TOKEN]:sn,[q.START_TAG_TOKEN]:w_e,[q.END_TAG_TOKEN]:sn,[q.EOF_TOKEN]:yh}};class JEe{constructor(t){this.options=VEe(qEe,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&mN.install(this,GEe),this.options.onParseError&&mN.install(this,WEe,{onParseError:this.options.onParseError})}parse(t){const n=this.treeAdapter.createDocument();return this._bootstrap(n,null),this.tokenizer.write(t,!0),this._runParsingLoop(null),n}parseFragment(t,n){n||(n=this.treeAdapter.createElement(I.TEMPLATE,lt.HTML,[]));const r=this.treeAdapter.createElement("documentmock",lt.HTML,[]);this._bootstrap(r,n),this.treeAdapter.getTagName(n)===I.TEMPLATE&&this._pushTmplInsertionMode(gy),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(t,!0),this._runParsingLoop(null);const i=this.treeAdapter.getFirstChild(r),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,o),o}_bootstrap(t,n){this.tokenizer=new q(this.options),this.stopped=!1,this.insertionMode=lj,this.originalInsertionMode="",this.document=t,this.fragmentContext=n,this.headElement=null,this.formElement=null,this.openElements=new zEe(this.document,this.treeAdapter),this.activeFormattingElements=new hN(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(t){for(;!this.stopped;){this._setupTokenizerCDATAMode();const n=this.tokenizer.getNextToken();if(n.type===q.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.type===q.WHITESPACE_CHARACTER_TOKEN&&n.chars[0]===`
`)){if(n.chars.length===1)continue;n.chars=n.chars.substr(1)}if(this._processInputToken(n),t&&this.pendingScript)break}}runParsingLoopForCurrentChunk(t,n){if(this._runParsingLoop(n),n&&this.pendingScript){const r=this.pendingScript;this.pendingScript=null,n(r);return}t&&t()}_setupTokenizerCDATAMode(){const t=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=t&&t!==this.document&&this.treeAdapter.getNamespaceURI(t)!==lt.HTML&&!this._isIntegrationPoint(t)}_switchToTextParsing(t,n){this._insertElement(t,lt.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=my}switchToPlaintextParsing(){this.insertionMode=my,this.originalInsertionMode=qs,this.tokenizer.state=q.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;do{if(this.treeAdapter.getTagName(t)===I.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}while(t)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===lt.HTML){const t=this.treeAdapter.getTagName(this.fragmentContext);t===I.TITLE||t===I.TEXTAREA?this.tokenizer.state=q.MODE.RCDATA:t===I.STYLE||t===I.XMP||t===I.IFRAME||t===I.NOEMBED||t===I.NOFRAMES||t===I.NOSCRIPT?this.tokenizer.state=q.MODE.RAWTEXT:t===I.SCRIPT?this.tokenizer.state=q.MODE.SCRIPT_DATA:t===I.PLAINTEXT&&(this.tokenizer.state=q.MODE.PLAINTEXT)}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";this.treeAdapter.setDocumentType(this.document,n,r,i)}_attachElementToTree(t){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(n,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r),this.openElements.push(r)}_insertFakeElement(t){const n=this.treeAdapter.createElement(t,lt.HTML,[]);this._attachElementToTree(n),this.openElements.push(n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,lt.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n),this.openElements.push(n)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(I.HTML,lt.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r)}_insertCharacters(t){if(this._shouldFosterParentOnInsertion())this._fosterParentText(t.chars);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(n,t.chars)}}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_shouldProcessTokenInForeignContent(t){const n=this._getAdjustedCurrentElement();if(!n||n===this.document)return!1;const r=this.treeAdapter.getNamespaceURI(n);if(r===lt.HTML||this.treeAdapter.getTagName(n)===I.ANNOTATION_XML&&r===lt.MATHML&&t.type===q.START_TAG_TOKEN&&t.tagName===I.SVG)return!1;const i=t.type===q.CHARACTER_TOKEN||t.type===q.NULL_CHARACTER_TOKEN||t.type===q.WHITESPACE_CHARACTER_TOKEN;return(t.type===q.START_TAG_TOKEN&&t.tagName!==I.MGLYPH&&t.tagName!==I.MALIGNMARK||i)&&this._isIntegrationPoint(n,lt.MATHML)||(t.type===q.START_TAG_TOKEN||i)&&this._isIntegrationPoint(n,lt.HTML)?!1:t.type!==q.EOF_TOKEN}_processToken(t){vN[this.insertionMode][t.type](this,t)}_processTokenInBodyMode(t){vN[qs][t.type](this,t)}_processTokenInForeignContent(t){t.type===q.CHARACTER_TOKEN?I_e(this,t):t.type===q.NULL_CHARACTER_TOKEN?A_e(this,t):t.type===q.WHITESPACE_CHARACTER_TOKEN?eo(this,t):t.type===q.COMMENT_TOKEN?Fr(this,t):t.type===q.START_TAG_TOKEN?R_e(this,t):t.type===q.END_TAG_TOKEN&&P_e(this,t)}_processInputToken(t){this._shouldProcessTokenInForeignContent(t)?this._processTokenInForeignContent(t):this._processToken(t),t.type===q.START_TAG_TOKEN&&t.selfClosing&&!t.ackSelfClosing&&this._err(gi.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(t,n){const r=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t),o=this.treeAdapter.getAttrList(t);return Ms.isIntegrationPoint(r,i,o,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.length;if(t){let n=t,r=null;do if(n--,r=this.activeFormattingElements.entries[n],r.type===hN.MARKER_ENTRY||this.openElements.contains(r.element)){n++;break}while(n>0);for(let i=n;i<t;i++)r=this.activeFormattingElements.entries[i],this._insertElement(r.token,this.treeAdapter.getNamespaceURI(r.element)),r.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Vl}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(I.P),this.openElements.popUntilTagNamePopped(I.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop,n=!1;t>=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),o=QEe[i];if(o){this.insertionMode=o;break}else if(!n&&(i===I.TD||i===I.TH)){this.insertionMode=sb;break}else if(!n&&i===I.HEAD){this.insertionMode=xp;break}else if(i===I.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===I.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===I.HTML){this.insertionMode=this.headElement?ob:ib;break}else if(n){this.insertionMode=qs;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===I.TEMPLATE)break;if(i===I.TABLE){this.insertionMode=O3;return}}this.insertionMode=P3}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===I.TABLE||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),o=this.treeAdapter.getNamespaceURI(r);if(i===I.TEMPLATE&&o===lt.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===I.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return rd.SPECIAL_ELEMENTS[r][n]}}var eTe=JEe;function tTe(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Va(e,t),n}function nTe(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function rTe(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const s=e.activeFormattingElements.getElementEntry(a),l=s&&o>=XEe;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=iTe(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function iTe(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function oTe(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===I.TEMPLATE&&i===lt.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function aTe(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function wu(e,t){let n;for(let r=0;r<YEe&&(n=tTe(e,t),!!n);r++){const i=nTe(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;const o=rTe(e,i,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),oTe(e,a,o),aTe(e,i,n)}}function sn(){}function d5(e){e._err(gi.misplacedDoctype)}function Fr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function sTe(e,t){e._appendCommentNode(t,e.openElements.items[0])}function yN(e,t){e._appendCommentNode(t,e.document)}function eo(e,t){e._insertCharacters(t)}function yh(e){e.stopped=!0}function lTe(e,t){e._setDocumentType(t);const n=t.forceQuirks?rd.DOCUMENT_MODE.QUIRKS:gN.getDocumentMode(t);gN.isConforming(t)||e._err(gi.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=R3}function bh(e,t){e._err(gi.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,rd.DOCUMENT_MODE.QUIRKS),e.insertionMode=R3,e._processToken(t)}function uTe(e,t){t.tagName===I.HTML?(e._insertElement(t,lt.HTML),e.insertionMode=ib):vm(e,t)}function cTe(e,t){const n=t.tagName;(n===I.HTML||n===I.HEAD||n===I.BODY||n===I.BR)&&vm(e,t)}function vm(e,t){e._insertFakeRootElement(),e.insertionMode=ib,e._processToken(t)}function dTe(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.HEAD?(e._insertElement(t,lt.HTML),e.headElement=e.openElements.current,e.insertionMode=xp):ym(e,t)}function fTe(e,t){const n=t.tagName;n===I.HEAD||n===I.BODY||n===I.HTML||n===I.BR?ym(e,t):e._err(gi.endTagWithoutMatchingOpenElement)}function ym(e,t){e._insertFakeElement(I.HEAD),e.headElement=e.openElements.current,e.insertionMode=xp,e._processToken(t)}function Qr(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.BASE||n===I.BASEFONT||n===I.BGSOUND||n===I.LINK||n===I.META?(e._appendElement(t,lt.HTML),t.ackSelfClosing=!0):n===I.TITLE?e._switchToTextParsing(t,q.MODE.RCDATA):n===I.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,q.MODE.RAWTEXT):(e._insertElement(t,lt.HTML),e.insertionMode=uj):n===I.NOFRAMES||n===I.STYLE?e._switchToTextParsing(t,q.MODE.RAWTEXT):n===I.SCRIPT?e._switchToTextParsing(t,q.MODE.SCRIPT_DATA):n===I.TEMPLATE?(e._insertTemplate(t,lt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=gy,e._pushTmplInsertionMode(gy)):n===I.HEAD?e._err(gi.misplacedStartTagForHeadElement):bm(e,t)}function id(e,t){const n=t.tagName;n===I.HEAD?(e.openElements.pop(),e.insertionMode=ob):n===I.BODY||n===I.BR||n===I.HTML?bm(e,t):n===I.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==I.TEMPLATE&&e._err(gi.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(I.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(gi.endTagWithoutMatchingOpenElement)}function bm(e,t){e.openElements.pop(),e.insertionMode=ob,e._processToken(t)}function pTe(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.BASEFONT||n===I.BGSOUND||n===I.HEAD||n===I.LINK||n===I.META||n===I.NOFRAMES||n===I.STYLE?Qr(e,t):n===I.NOSCRIPT?e._err(gi.nestedNoscriptInHead):Em(e,t)}function hTe(e,t){const n=t.tagName;n===I.NOSCRIPT?(e.openElements.pop(),e.insertionMode=xp):n===I.BR?Em(e,t):e._err(gi.endTagWithoutMatchingOpenElement)}function Em(e,t){const n=t.type===q.EOF_TOKEN?gi.openElementsLeftAfterEof:gi.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=xp,e._processToken(t)}function mTe(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.BODY?(e._insertElement(t,lt.HTML),e.framesetOk=!1,e.insertionMode=qs):n===I.FRAMESET?(e._insertElement(t,lt.HTML),e.insertionMode=lb):n===I.BASE||n===I.BASEFONT||n===I.BGSOUND||n===I.LINK||n===I.META||n===I.NOFRAMES||n===I.SCRIPT||n===I.STYLE||n===I.TEMPLATE||n===I.TITLE?(e._err(gi.abandonedHeadElementChild),e.openElements.push(e.headElement),Qr(e,t),e.openElements.remove(e.headElement)):n===I.HEAD?e._err(gi.misplacedStartTagForHeadElement):Tm(e,t)}function gTe(e,t){const n=t.tagName;n===I.BODY||n===I.HTML||n===I.BR?Tm(e,t):n===I.TEMPLATE?id(e,t):e._err(gi.endTagWithoutMatchingOpenElement)}function Tm(e,t){e._insertFakeElement(I.BODY),e.insertionMode=qs,e._processToken(t)}function Hc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function f5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function vTe(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function yTe(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function bTe(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,lt.HTML),e.insertionMode=lb)}function ml(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML)}function ETe(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===I.H1||n===I.H2||n===I.H3||n===I.H4||n===I.H5||n===I.H6)&&e.openElements.pop(),e._insertElement(t,lt.HTML)}function bN(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function TTe(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML),n||(e.formElement=e.openElements.current))}function _Te(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],o=e.treeAdapter.getTagName(i);let a=null;if(n===I.LI&&o===I.LI?a=I.LI:(n===I.DD||n===I.DT)&&(o===I.DD||o===I.DT)&&(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==I.ADDRESS&&o!==I.DIV&&o!==I.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML)}function STe(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML),e.tokenizer.state=q.MODE.PLAINTEXT}function xTe(e,t){e.openElements.hasInScope(I.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(I.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML),e.framesetOk=!1}function CTe(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(I.A);n&&(wu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Rd(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wTe(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(I.NOBR)&&(wu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,lt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function EN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function ATe(e,t){e.treeAdapter.getDocumentMode(e.document)!==rd.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML),e.framesetOk=!1,e.insertionMode=Ci}function Md(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ITe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lt.HTML);const n=q.getTokenAttr(t,aj.TYPE);(!n||n.toLowerCase()!==sj)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function TN(e,t){e._appendElement(t,lt.HTML),t.ackSelfClosing=!0}function RTe(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._appendElement(t,lt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function PTe(e,t){t.tagName=I.IMG,Md(e,t)}function OTe(e,t){e._insertElement(t,lt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=q.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=my}function kTe(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,q.MODE.RAWTEXT)}function NTe(e,t){e.framesetOk=!1,e._switchToTextParsing(t,q.MODE.RAWTEXT)}function _N(e,t){e._switchToTextParsing(t,q.MODE.RAWTEXT)}function DTe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML),e.framesetOk=!1,e.insertionMode===Ci||e.insertionMode===ab||e.insertionMode===_a||e.insertionMode===Vl||e.insertionMode===sb?e.insertionMode=O3:e.insertionMode=P3}function SN(e,t){e.openElements.currentTagName===I.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML)}function xN(e,t){e.openElements.hasInScope(I.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,lt.HTML)}function LTe(e,t){e.openElements.hasInScope(I.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(I.RTC),e._insertElement(t,lt.HTML)}function MTe(e,t){e.openElements.hasInButtonScope(I.P)&&e._closePElement(),e._insertElement(t,lt.HTML)}function $Te(e,t){e._reconstructActiveFormattingElements(),Ms.adjustTokenMathMLAttrs(t),Ms.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,lt.MATHML):e._insertElement(t,lt.MATHML),t.ackSelfClosing=!0}function FTe(e,t){e._reconstructActiveFormattingElements(),Ms.adjustTokenSVGAttrs(t),Ms.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,lt.SVG):e._insertElement(t,lt.SVG),t.ackSelfClosing=!0}function ra(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lt.HTML)}function yo(e,t){const n=t.tagName;switch(n.length){case 1:n===I.I||n===I.S||n===I.B||n===I.U?Rd(e,t):n===I.P?ml(e,t):n===I.A?CTe(e,t):ra(e,t);break;case 2:n===I.DL||n===I.OL||n===I.UL?ml(e,t):n===I.H1||n===I.H2||n===I.H3||n===I.H4||n===I.H5||n===I.H6?ETe(e,t):n===I.LI||n===I.DD||n===I.DT?_Te(e,t):n===I.EM||n===I.TT?Rd(e,t):n===I.BR?Md(e,t):n===I.HR?RTe(e,t):n===I.RB?xN(e,t):n===I.RT||n===I.RP?LTe(e,t):n!==I.TH&&n!==I.TD&&n!==I.TR&&ra(e,t);break;case 3:n===I.DIV||n===I.DIR||n===I.NAV?ml(e,t):n===I.PRE?bN(e,t):n===I.BIG?Rd(e,t):n===I.IMG||n===I.WBR?Md(e,t):n===I.XMP?kTe(e,t):n===I.SVG?FTe(e,t):n===I.RTC?xN(e,t):n!==I.COL&&ra(e,t);break;case 4:n===I.HTML?vTe(e,t):n===I.BASE||n===I.LINK||n===I.META?Qr(e,t):n===I.BODY?yTe(e,t):n===I.MAIN||n===I.MENU?ml(e,t):n===I.FORM?TTe(e,t):n===I.CODE||n===I.FONT?Rd(e,t):n===I.NOBR?wTe(e,t):n===I.AREA?Md(e,t):n===I.MATH?$Te(e,t):n===I.MENU?MTe(e,t):n!==I.HEAD&&ra(e,t);break;case 5:n===I.STYLE||n===I.TITLE?Qr(e,t):n===I.ASIDE?ml(e,t):n===I.SMALL?Rd(e,t):n===I.TABLE?ATe(e,t):n===I.EMBED?Md(e,t):n===I.INPUT?ITe(e,t):n===I.PARAM||n===I.TRACK?TN(e,t):n===I.IMAGE?PTe(e,t):n!==I.FRAME&&n!==I.TBODY&&n!==I.TFOOT&&n!==I.THEAD&&ra(e,t);break;case 6:n===I.SCRIPT?Qr(e,t):n===I.CENTER||n===I.FIGURE||n===I.FOOTER||n===I.HEADER||n===I.HGROUP||n===I.DIALOG?ml(e,t):n===I.BUTTON?xTe(e,t):n===I.STRIKE||n===I.STRONG?Rd(e,t):n===I.APPLET||n===I.OBJECT?EN(e,t):n===I.KEYGEN?Md(e,t):n===I.SOURCE?TN(e,t):n===I.IFRAME?NTe(e,t):n===I.SELECT?DTe(e,t):n===I.OPTION?SN(e,t):ra(e,t);break;case 7:n===I.BGSOUND?Qr(e,t):n===I.DETAILS||n===I.ADDRESS||n===I.ARTICLE||n===I.SECTION||n===I.SUMMARY?ml(e,t):n===I.LISTING?bN(e,t):n===I.MARQUEE?EN(e,t):n===I.NOEMBED?_N(e,t):n!==I.CAPTION&&ra(e,t);break;case 8:n===I.BASEFONT?Qr(e,t):n===I.FRAMESET?bTe(e,t):n===I.FIELDSET?ml(e,t):n===I.TEXTAREA?OTe(e,t):n===I.TEMPLATE?Qr(e,t):n===I.NOSCRIPT?e.options.scriptingEnabled?_N(e,t):ra(e,t):n===I.OPTGROUP?SN(e,t):n!==I.COLGROUP&&ra(e,t);break;case 9:n===I.PLAINTEXT?STe(e,t):ra(e,t);break;case 10:n===I.BLOCKQUOTE||n===I.FIGCAPTION?ml(e,t):ra(e,t);break;default:ra(e,t)}}function BTe(e){e.openElements.hasInScope(I.BODY)&&(e.insertionMode=k3)}function HTe(e,t){e.openElements.hasInScope(I.BODY)&&(e.insertionMode=k3,e._processToken(t))}function bu(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function UTe(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(I.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(I.FORM):e.openElements.remove(n))}function zTe(e){e.openElements.hasInButtonScope(I.P)||e._insertFakeElement(I.P),e._closePElement()}function GTe(e){e.openElements.hasInListItemScope(I.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(I.LI),e.openElements.popUntilTagNamePopped(I.LI))}function WTe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function jTe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function CN(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function VTe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(I.BR),e.openElements.pop(),e.framesetOk=!1}function Va(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function N3(e,t){const n=t.tagName;switch(n.length){case 1:n===I.A||n===I.B||n===I.I||n===I.S||n===I.U?wu(e,t):n===I.P?zTe(e):Va(e,t);break;case 2:n===I.DL||n===I.UL||n===I.OL?bu(e,t):n===I.LI?GTe(e):n===I.DD||n===I.DT?WTe(e,t):n===I.H1||n===I.H2||n===I.H3||n===I.H4||n===I.H5||n===I.H6?jTe(e):n===I.BR?VTe(e):n===I.EM||n===I.TT?wu(e,t):Va(e,t);break;case 3:n===I.BIG?wu(e,t):n===I.DIR||n===I.DIV||n===I.NAV||n===I.PRE?bu(e,t):Va(e,t);break;case 4:n===I.BODY?BTe(e):n===I.HTML?HTe(e,t):n===I.FORM?UTe(e):n===I.CODE||n===I.FONT||n===I.NOBR?wu(e,t):n===I.MAIN||n===I.MENU?bu(e,t):Va(e,t);break;case 5:n===I.ASIDE?bu(e,t):n===I.SMALL?wu(e,t):Va(e,t);break;case 6:n===I.CENTER||n===I.FIGURE||n===I.FOOTER||n===I.HEADER||n===I.HGROUP||n===I.DIALOG?bu(e,t):n===I.APPLET||n===I.OBJECT?CN(e,t):n===I.STRIKE||n===I.STRONG?wu(e,t):Va(e,t);break;case 7:n===I.ADDRESS||n===I.ARTICLE||n===I.DETAILS||n===I.SECTION||n===I.SUMMARY||n===I.LISTING?bu(e,t):n===I.MARQUEE?CN(e,t):Va(e,t);break;case 8:n===I.FIELDSET?bu(e,t):n===I.TEMPLATE?id(e,t):Va(e,t);break;case 10:n===I.BLOCKQUOTE||n===I.FIGCAPTION?bu(e,t):Va(e,t);break;default:Va(e,t)}}function gl(e,t){e.tmplInsertionModeStackTop>-1?gj(e,t):e.stopped=!0}function KTe(e,t){t.tagName===I.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function qTe(e,t){e._err(gi.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function vl(e,t){const n=e.openElements.currentTagName;n===I.TABLE||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=cj,e._processToken(t)):oa(e,t)}function YTe(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,lt.HTML),e.insertionMode=ab}function XTe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lt.HTML),e.insertionMode=sg}function QTe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.COLGROUP),e.insertionMode=sg,e._processToken(t)}function ZTe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lt.HTML),e.insertionMode=_a}function JTe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.TBODY),e.insertionMode=_a,e._processToken(t)}function e_e(e,t){e.openElements.hasInTableScope(I.TABLE)&&(e.openElements.popUntilTagNamePopped(I.TABLE),e._resetInsertionMode(),e._processToken(t))}function t_e(e,t){const n=q.getTokenAttr(t,aj.TYPE);n&&n.toLowerCase()===sj?e._appendElement(t,lt.HTML):oa(e,t),t.ackSelfClosing=!0}function n_e(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,lt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function D3(e,t){const n=t.tagName;switch(n.length){case 2:n===I.TD||n===I.TH||n===I.TR?JTe(e,t):oa(e,t);break;case 3:n===I.COL?QTe(e,t):oa(e,t);break;case 4:n===I.FORM?n_e(e,t):oa(e,t);break;case 5:n===I.TABLE?e_e(e,t):n===I.STYLE?Qr(e,t):n===I.TBODY||n===I.TFOOT||n===I.THEAD?ZTe(e,t):n===I.INPUT?t_e(e,t):oa(e,t);break;case 6:n===I.SCRIPT?Qr(e,t):oa(e,t);break;case 7:n===I.CAPTION?YTe(e,t):oa(e,t);break;case 8:n===I.COLGROUP?XTe(e,t):n===I.TEMPLATE?Qr(e,t):oa(e,t);break;default:oa(e,t)}}function L3(e,t){const n=t.tagName;n===I.TABLE?e.openElements.hasInTableScope(I.TABLE)&&(e.openElements.popUntilTagNamePopped(I.TABLE),e._resetInsertionMode()):n===I.TEMPLATE?id(e,t):n!==I.BODY&&n!==I.CAPTION&&n!==I.COL&&n!==I.COLGROUP&&n!==I.HTML&&n!==I.TBODY&&n!==I.TD&&n!==I.TFOOT&&n!==I.TH&&n!==I.THEAD&&n!==I.TR&&oa(e,t)}function oa(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function r_e(e,t){e.pendingCharacterTokens.push(t)}function i_e(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Eh(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)oa(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function o_e(e,t){const n=t.tagName;n===I.CAPTION||n===I.COL||n===I.COLGROUP||n===I.TBODY||n===I.TD||n===I.TFOOT||n===I.TH||n===I.THEAD||n===I.TR?e.openElements.hasInTableScope(I.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(I.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ci,e._processToken(t)):yo(e,t)}function a_e(e,t){const n=t.tagName;n===I.CAPTION||n===I.TABLE?e.openElements.hasInTableScope(I.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(I.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ci,n===I.TABLE&&e._processToken(t)):n!==I.BODY&&n!==I.COL&&n!==I.COLGROUP&&n!==I.HTML&&n!==I.TBODY&&n!==I.TD&&n!==I.TFOOT&&n!==I.TH&&n!==I.THEAD&&n!==I.TR&&N3(e,t)}function s_e(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.COL?(e._appendElement(t,lt.HTML),t.ackSelfClosing=!0):n===I.TEMPLATE?Qr(e,t):vy(e,t)}function l_e(e,t){const n=t.tagName;n===I.COLGROUP?e.openElements.currentTagName===I.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ci):n===I.TEMPLATE?id(e,t):n!==I.COL&&vy(e,t)}function vy(e,t){e.openElements.currentTagName===I.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ci,e._processToken(t))}function u_e(e,t){const n=t.tagName;n===I.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,lt.HTML),e.insertionMode=Vl):n===I.TH||n===I.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(I.TR),e.insertionMode=Vl,e._processToken(t)):n===I.CAPTION||n===I.COL||n===I.COLGROUP||n===I.TBODY||n===I.TFOOT||n===I.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ci,e._processToken(t)):D3(e,t)}function c_e(e,t){const n=t.tagName;n===I.TBODY||n===I.TFOOT||n===I.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ci):n===I.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ci,e._processToken(t)):(n!==I.BODY&&n!==I.CAPTION&&n!==I.COL&&n!==I.COLGROUP||n!==I.HTML&&n!==I.TD&&n!==I.TH&&n!==I.TR)&&L3(e,t)}function d_e(e,t){const n=t.tagName;n===I.TH||n===I.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,lt.HTML),e.insertionMode=sb,e.activeFormattingElements.insertMarker()):n===I.CAPTION||n===I.COL||n===I.COLGROUP||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR?e.openElements.hasInTableScope(I.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_a,e._processToken(t)):D3(e,t)}function f_e(e,t){const n=t.tagName;n===I.TR?e.openElements.hasInTableScope(I.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_a):n===I.TABLE?e.openElements.hasInTableScope(I.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_a,e._processToken(t)):n===I.TBODY||n===I.TFOOT||n===I.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(I.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_a,e._processToken(t)):(n!==I.BODY&&n!==I.CAPTION&&n!==I.COL&&n!==I.COLGROUP||n!==I.HTML&&n!==I.TD&&n!==I.TH)&&L3(e,t)}function p_e(e,t){const n=t.tagName;n===I.CAPTION||n===I.COL||n===I.COLGROUP||n===I.TBODY||n===I.TD||n===I.TFOOT||n===I.TH||n===I.THEAD||n===I.TR?(e.openElements.hasInTableScope(I.TD)||e.openElements.hasInTableScope(I.TH))&&(e._closeTableCell(),e._processToken(t)):yo(e,t)}function h_e(e,t){const n=t.tagName;n===I.TD||n===I.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Vl):n===I.TABLE||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==I.BODY&&n!==I.CAPTION&&n!==I.COL&&n!==I.COLGROUP&&n!==I.HTML&&N3(e,t)}function hj(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.OPTION?(e.openElements.currentTagName===I.OPTION&&e.openElements.pop(),e._insertElement(t,lt.HTML)):n===I.OPTGROUP?(e.openElements.currentTagName===I.OPTION&&e.openElements.pop(),e.openElements.currentTagName===I.OPTGROUP&&e.openElements.pop(),e._insertElement(t,lt.HTML)):n===I.INPUT||n===I.KEYGEN||n===I.TEXTAREA||n===I.SELECT?e.openElements.hasInSelectScope(I.SELECT)&&(e.openElements.popUntilTagNamePopped(I.SELECT),e._resetInsertionMode(),n!==I.SELECT&&e._processToken(t)):(n===I.SCRIPT||n===I.TEMPLATE)&&Qr(e,t)}function mj(e,t){const n=t.tagName;if(n===I.OPTGROUP){const r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===I.OPTION&&i===I.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===I.OPTGROUP&&e.openElements.pop()}else n===I.OPTION?e.openElements.currentTagName===I.OPTION&&e.openElements.pop():n===I.SELECT&&e.openElements.hasInSelectScope(I.SELECT)?(e.openElements.popUntilTagNamePopped(I.SELECT),e._resetInsertionMode()):n===I.TEMPLATE&&id(e,t)}function m_e(e,t){const n=t.tagName;n===I.CAPTION||n===I.TABLE||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR||n===I.TD||n===I.TH?(e.openElements.popUntilTagNamePopped(I.SELECT),e._resetInsertionMode(),e._processToken(t)):hj(e,t)}function g_e(e,t){const n=t.tagName;n===I.CAPTION||n===I.TABLE||n===I.TBODY||n===I.TFOOT||n===I.THEAD||n===I.TR||n===I.TD||n===I.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(I.SELECT),e._resetInsertionMode(),e._processToken(t)):mj(e,t)}function v_e(e,t){const n=t.tagName;if(n===I.BASE||n===I.BASEFONT||n===I.BGSOUND||n===I.LINK||n===I.META||n===I.NOFRAMES||n===I.SCRIPT||n===I.STYLE||n===I.TEMPLATE||n===I.TITLE)Qr(e,t);else{const r=ZEe[n]||qs;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}}function y_e(e,t){t.tagName===I.TEMPLATE&&id(e,t)}function gj(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(I.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function b_e(e,t){t.tagName===I.HTML?yo(e,t):yy(e,t)}function E_e(e,t){t.tagName===I.HTML?e.fragmentContext||(e.insertionMode=fj):yy(e,t)}function yy(e,t){e.insertionMode=qs,e._processToken(t)}function T_e(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.FRAMESET?e._insertElement(t,lt.HTML):n===I.FRAME?(e._appendElement(t,lt.HTML),t.ackSelfClosing=!0):n===I.NOFRAMES&&Qr(e,t)}function __e(e,t){t.tagName===I.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==I.FRAMESET&&(e.insertionMode=dj))}function S_e(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.NOFRAMES&&Qr(e,t)}function x_e(e,t){t.tagName===I.HTML&&(e.insertionMode=pj)}function C_e(e,t){t.tagName===I.HTML?yo(e,t):i9(e,t)}function i9(e,t){e.insertionMode=qs,e._processToken(t)}function w_e(e,t){const n=t.tagName;n===I.HTML?yo(e,t):n===I.NOFRAMES&&Qr(e,t)}function A_e(e,t){t.chars=KEe.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function I_e(e,t){e._insertCharacters(t),e.framesetOk=!1}function R_e(e,t){if(Ms.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==lt.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===lt.MATHML?Ms.adjustTokenMathMLAttrs(t):r===lt.SVG&&(Ms.adjustTokenSVGTagName(t),Ms.adjustTokenSVGAttrs(t)),Ms.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function P_e(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===lt.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const ub=vj("start"),M3=vj("end");function vj(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const yj=function(e){if(e==null)return D_e;if(typeof e=="string")return N_e(e);if(typeof e=="object")return Array.isArray(e)?O_e(e):k_e(e);if(typeof e=="function")return cb(e);throw new Error("Expected function, string, or object as test")};function O_e(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=yj(e[n]);return cb(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].call(this,...i))return!0;return!1}}function k_e(e){return cb(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function N_e(e){return cb(t);function t(n){return n&&n.type===e}}function cb(e){return t;function t(...n){return Boolean(e.call(this,...n))}}function D_e(){return!0}const L_e=!0,M_e="skip",wN=!1,$_e=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=yj(t),o=r?-1:1;a(e,null,[])();function a(s,l,c){const d=typeof s=="object"&&s!==null?s:{};let p;return typeof d.type=="string"&&(p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0,Object.defineProperty(h,"name",{value:"node ("+(d.type+(p?"<"+p+">":""))+")"})),h;function h(){let m=[],v,y,x;if((!t||i(s,l,c[c.length-1]||null))&&(m=F_e(n(s,c)),m[0]===wN))return m;if(s.children&&m[0]!==M_e)for(y=(r?s.children.length:-1)+o,x=c.concat(s);y>-1&&y<s.children.length;){if(v=a(s.children[y],y,x)(),v[0]===wN)return v;y=typeof v[1]=="number"?v[1]:y+o}return m}}};function F_e(e){return Array.isArray(e)?e:typeof e=="number"?[L_e,e]:[e]}const db=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),$_e(e,t,i,r);function i(o,a){const s=a[a.length-1];return n(o,s?s.children.indexOf(o):null,s)}};class lg{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}lg.prototype.property={};lg.prototype.normal={};lg.prototype.space=null;function bj(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new lg(n,r,t)}function c0(e){return e.toLowerCase()}class Na{constructor(t,n){this.property=t,this.attribute=n}}Na.prototype.space=null;Na.prototype.boolean=!1;Na.prototype.booleanish=!1;Na.prototype.overloadedBoolean=!1;Na.prototype.number=!1;Na.prototype.commaSeparated=!1;Na.prototype.spaceSeparated=!1;Na.prototype.commaOrSpaceSeparated=!1;Na.prototype.mustUseProperty=!1;Na.prototype.defined=!1;let B_e=0;const jt=od(),Rr=od(),Ej=od(),Be=od(),Qn=od(),vf=od(),Ao=od();function od(){return 2**++B_e}const bx=Object.freeze(Object.defineProperty({__proto__:null,boolean:jt,booleanish:Rr,overloadedBoolean:Ej,number:Be,spaceSeparated:Qn,commaSeparated:vf,commaOrSpaceSeparated:Ao},Symbol.toStringTag,{value:"Module"})),UT=Object.keys(bx);class $3 extends Na{constructor(t,n,r,i){let o=-1;if(super(t,n),AN(this,"space",i),typeof r=="number")for(;++o<UT.length;){const a=UT[o];AN(this,UT[o],(r&bx[a])===bx[a])}}}$3.prototype.defined=!0;function AN(e,t,n){n&&(e[t]=n)}const H_e={}.hasOwnProperty;function Cp(e){const t={},n={};let r;for(r in e.properties)if(H_e.call(e.properties,r)){const i=e.properties[r],o=new $3(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[c0(r)]=r,n[c0(o.attribute)]=r}return new lg(t,n,e.space)}const Tj=Cp({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),_j=Cp({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Sj(e,t){return t in e?e[t]:t}function xj(e,t){return Sj(e,t.toLowerCase())}const Cj=Cp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:xj,properties:{xmlns:null,xmlnsXLink:null}}),wj=Cp({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rr,ariaAutoComplete:null,ariaBusy:Rr,ariaChecked:Rr,ariaColCount:Be,ariaColIndex:Be,ariaColSpan:Be,ariaControls:Qn,ariaCurrent:null,ariaDescribedBy:Qn,ariaDetails:null,ariaDisabled:Rr,ariaDropEffect:Qn,ariaErrorMessage:null,ariaExpanded:Rr,ariaFlowTo:Qn,ariaGrabbed:Rr,ariaHasPopup:null,ariaHidden:Rr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qn,ariaLevel:Be,ariaLive:null,ariaModal:Rr,ariaMultiLine:Rr,ariaMultiSelectable:Rr,ariaOrientation:null,ariaOwns:Qn,ariaPlaceholder:null,ariaPosInSet:Be,ariaPressed:Rr,ariaReadOnly:Rr,ariaRelevant:null,ariaRequired:Rr,ariaRoleDescription:Qn,ariaRowCount:Be,ariaRowIndex:Be,ariaRowSpan:Be,ariaSelected:Rr,ariaSetSize:Be,ariaSort:null,ariaValueMax:Be,ariaValueMin:Be,ariaValueNow:Be,ariaValueText:null,role:null}}),U_e=Cp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:xj,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:vf,acceptCharset:Qn,accessKey:Qn,action:null,allow:null,allowFullScreen:jt,allowPaymentRequest:jt,allowUserMedia:jt,alt:null,as:null,async:jt,autoCapitalize:null,autoComplete:Qn,autoFocus:jt,autoPlay:jt,capture:jt,charSet:null,checked:jt,cite:null,className:Qn,cols:Be,colSpan:null,content:null,contentEditable:Rr,controls:jt,controlsList:Qn,coords:Be|vf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:jt,defer:jt,dir:null,dirName:null,disabled:jt,download:Ej,draggable:Rr,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:jt,formTarget:null,headers:Qn,height:Be,hidden:jt,high:Be,href:null,hrefLang:null,htmlFor:Qn,httpEquiv:Qn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:jt,itemId:null,itemProp:Qn,itemRef:Qn,itemScope:jt,itemType:Qn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:jt,low:Be,manifest:null,max:null,maxLength:Be,media:null,method:null,min:null,minLength:Be,multiple:jt,muted:jt,name:null,nonce:null,noModule:jt,noValidate:jt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:jt,optimum:Be,pattern:null,ping:Qn,placeholder:null,playsInline:jt,poster:null,preload:null,readOnly:jt,referrerPolicy:null,rel:Qn,required:jt,reversed:jt,rows:Be,rowSpan:Be,sandbox:Qn,scope:null,scoped:jt,seamless:jt,selected:jt,shape:null,size:Be,sizes:null,slot:null,span:Be,spellCheck:Rr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Be,step:null,style:null,tabIndex:Be,target:null,title:null,translate:null,type:null,typeMustMatch:jt,useMap:null,value:Rr,width:Be,wrap:null,align:null,aLink:null,archive:Qn,axis:null,background:null,bgColor:null,border:Be,borderColor:null,bottomMargin:Be,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:jt,declare:jt,event:null,face:null,frame:null,frameBorder:null,hSpace:Be,leftMargin:Be,link:null,longDesc:null,lowSrc:null,marginHeight:Be,marginWidth:Be,noResize:jt,noHref:jt,noShade:jt,noWrap:jt,object:null,profile:null,prompt:null,rev:null,rightMargin:Be,rules:null,scheme:null,scrolling:Rr,standby:null,summary:null,text:null,topMargin:Be,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Be,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:jt,disableRemotePlayback:jt,prefix:null,property:null,results:Be,security:null,unselectable:null}}),z_e=Cp({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Sj,properties:{about:Ao,accentHeight:Be,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Be,amplitude:Be,arabicForm:null,ascent:Be,attributeName:null,attributeType:null,azimuth:Be,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Be,by:null,calcMode:null,capHeight:Be,className:Qn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Be,diffuseConstant:Be,direction:null,display:null,dur:null,divisor:Be,dominantBaseline:null,download:jt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Be,enableBackground:null,end:null,event:null,exponent:Be,externalResourcesRequired:null,fill:null,fillOpacity:Be,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:vf,g2:vf,glyphName:vf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Be,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Be,horizOriginX:Be,horizOriginY:Be,id:null,ideographic:Be,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Be,k:Be,k1:Be,k2:Be,k3:Be,k4:Be,kernelMatrix:Ao,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Be,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Be,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Be,overlineThickness:Be,paintOrder:null,panose1:null,path:null,pathLength:Be,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Be,pointsAtY:Be,pointsAtZ:Be,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ao,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ao,rev:Ao,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ao,requiredFeatures:Ao,requiredFonts:Ao,requiredFormats:Ao,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Be,specularExponent:Be,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Be,strikethroughThickness:Be,string:null,stroke:null,strokeDashArray:Ao,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Be,strokeOpacity:Be,strokeWidth:null,style:null,surfaceScale:Be,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ao,tabIndex:Be,tableValues:null,target:null,targetX:Be,targetY:Be,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ao,to:null,transform:null,u1:null,u2:null,underlinePosition:Be,underlineThickness:Be,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Be,values:null,vAlphabetic:Be,vMathematical:Be,vectorEffect:null,vHanging:Be,vIdeographic:Be,version:null,vertAdvY:Be,vertOriginX:Be,vertOriginY:Be,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Be,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),G_e=/^data[-\w.:]+$/i,IN=/-[a-z]/g,W_e=/[A-Z]/g;function fb(e,t){const n=c0(t);let r=t,i=Na;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&G_e.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(IN,V_e);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!IN.test(o)){let a=o.replace(W_e,j_e);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=$3}return new i(r,t)}function j_e(e){return"-"+e.toLowerCase()}function V_e(e){return e.charAt(1).toUpperCase()}const RN={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ug=bj([_j,Tj,Cj,wj,U_e],"html"),wp=bj([_j,Tj,Cj,wj,z_e],"svg"),PN=/[#.]/g;function K_e(e,t){const n=e||"",r={};let i=0,o,a;for(;i<n.length;){PN.lastIndex=i;const s=PN.exec(n),l=n.slice(i,s?s.index:n.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),s&&(o=s[0],i++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function ON(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Aj(e){return e.join(" ").trim()}function kN(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);const a=n.slice(i,r).trim();(a||!o)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function Ij(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const q_e=new Set(["menu","submit","reset","button"]),Ex={}.hasOwnProperty;function Rj(e,t,n){const r=n&&Z_e(n);return function(o,a,...s){let l=-1,c;if(o==null)c={type:"root",children:[]},s.unshift(a);else if(c=K_e(o,t),c.tagName=c.tagName.toLowerCase(),r&&Ex.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Y_e(a,c.tagName)){let d;for(d in a)Ex.call(a,d)&&X_e(e,c.properties,d,a[d])}else s.unshift(a);for(;++l<s.length;)Tx(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}}function Y_e(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?q_e.has(e.type.toLowerCase()):!("value"in e)}function X_e(e,t,n,r){const i=fb(e,n);let o=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=ON(r):i.commaSeparated?a=kN(r):i.commaOrSpaceSeparated?a=ON(kN(r).join(" ")):a=NN(i,i.property,r):Array.isArray(r)?a=r.concat():a=i.property==="style"?Q_e(r):String(r);if(Array.isArray(a)){const s=[];for(;++o<a.length;)s[o]=NN(i,i.property,a[o]);a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function Tx(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Tx(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Tx(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function NN(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||c0(n)===c0(t)))return!0}return n}function Q_e(e){const t=[];let n;for(n in e)Ex.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function Z_e(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const J_e=Rj(ug,"div"),eSe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],tSe=Rj(wp,"g",eSe);function nSe(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:i,toOffset:o};function i(a){let s=-1;if(typeof a=="number"&&a>-1&&a<n[n.length-1]){for(;++s<n.length;)if(n[s]>a)return{line:s+1,column:a-(s>0?n[s-1]:0)+1,offset:a}}return{line:void 0,column:void 0,offset:void 0}}function o(a){const s=a&&a.line,l=a&&a.column;if(typeof s=="number"&&typeof l=="number"&&!Number.isNaN(s)&&!Number.isNaN(l)&&s-1 in n){const c=(n[s-2]||0)+l-1||0;if(c>-1&&c<n[n.length-1])return c}return-1}}const d0={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Pj={}.hasOwnProperty,rSe=Object.prototype;function iSe(e,t){const n=t||{};let r,i;return sSe(n)?(i=n,r={}):(i=n.file||void 0,r=n),F3({schema:r.space==="svg"?wp:ug,file:i,verbose:r.verbose,location:!1},e)}function F3(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},o9(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Oj(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const o=String(e.file),a=nSe(o),s=a.toPoint(0),l=a.toPoint(o.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},o9(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},o9(e,r,n),n}default:return n=oSe(e,t),n}}function Oj(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=F3(e,t[n]);return r}function oSe(e,t){const n=e.schema;e.schema=t.namespaceURI===d0.svg?wp:ug;let r=-1;const i={};for(;++r<t.attrs.length;){const s=t.attrs[r],l=(s.prefix?s.prefix+":":"")+s.name;Pj.call(rSe,l)||(i[l]=s.value)}const a=(e.schema.space==="svg"?tSe:J_e)(t.tagName,i,Oj(e,t.childNodes));if(o9(e,t,a),a.tagName==="template"){const s=t,l=s.sourceCodeLocation,c=l&&l.startTag&&nf(l.startTag),d=l&&l.endTag&&nf(l.endTag),p=F3(e,s.content);c&&d&&e.file&&(p.position={start:c.end,end:d.start}),a.content=p}return e.schema=n,a}function o9(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=aSe(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function aSe(e,t,n){const r=nf(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const o={};let a;if(n.attrs)for(a in n.attrs)Pj.call(n.attrs,a)&&(o[fb(e.schema,a).property]=nf(n.attrs[a]));t.data={position:{opening:nf(n.startTag),closing:n.endTag?nf(n.endTag):null,properties:o}}}}return r}function nf(e){const t=DN({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=DN({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function DN(e){return e.line&&e.column?e:void 0}function sSe(e){return"messages"in e}const LN={}.hasOwnProperty;function kj(e,t){const n=t||{};function r(i,...o){let a=r.invalid;const s=r.handlers;if(i&&LN.call(i,e)){const l=String(i[e]);a=LN.call(s,l)?s[l]:r.unknown}if(a)return a.call(this,i,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const lSe={}.hasOwnProperty,Nj=kj("type",{handlers:{root:cSe,element:mSe,text:pSe,comment:hSe,doctype:fSe}});function uSe(e,t){const n=t&&typeof t=="object"?t.space:t;return Nj(e,n==="svg"?wp:ug)}function cSe(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=B3(e.children,n,t),Ap(e,n),n}function dSe(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=B3(e.children,n,t),Ap(e,n),n}function fSe(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return Ap(e,t),t}function pSe(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return Ap(e,t),t}function hSe(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return Ap(e,t),t}function mSe(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=wp);const i=[];let o;if(e.properties){for(o in e.properties)if(o!=="children"&&lSe.call(e.properties,o)){const s=gSe(r,o,e.properties[o]);s&&i.push(s)}}const a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:d0[r.space],childNodes:[],parentNode:void 0};return a.childNodes=B3(e.children,a,r),Ap(e,a),e.tagName==="template"&&e.content&&(a.content=dSe(e.content,r)),a}function gSe(e,t,n){const r=fb(e,t);if(n==null||n===!1||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Ij(n):Aj(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const o=i.name.indexOf(":");o<0?i.prefix="":(i.name=i.name.slice(o+1),i.prefix=r.attribute.slice(0,o)),i.namespace=d0[r.space]}return i}function B3(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const o=Nj(e[r],n);o.parentNode=t,i.push(o)}return i}function Ap(e,t){const n=e.position;n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const vSe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],ySe="IN_TEMPLATE_MODE",bSe="DATA_STATE",ESe="CHARACTER_TOKEN",TSe="START_TAG_TOKEN",_Se="END_TAG_TOKEN",SSe="COMMENT_TOKEN",xSe="DOCTYPE_TOKEN",CSe={sourceCodeLocationInfo:!0,scriptingEnabled:!1},Dj=function(e,t,n){let r=-1;const i=new eTe(CSe),o=kj("type",{handlers:{root:y,element:x,text:b,comment:S,doctype:_,raw:C},unknown:RSe});let a,s,l,c,d;if(OSe(t)&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)o.handlers[n.passThrough[r]]=O;const p=iSe(PSe(e)?m():h(),t);if(a&&db(p,"comment",(R,N,F)=>{const L=R;if(L.value.stitch&&F!==null&&N!==null)return F.children[N]=L.value.stitch,N}),e.type!=="root"&&p.type==="root"&&p.children.length===1)return p.children[0];return p;function h(){const R={nodeName:"template",tagName:"template",attrs:[],namespaceURI:d0.html,childNodes:[]},N={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:d0.html,childNodes:[]},F={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(N,R),i._pushTmplInsertionMode(ySe),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,d=s.__mixins[0],c=d.posTracker,o(e),A(),i._adoptNodes(N.childNodes[0],F),F}function m(){const R=i.treeAdapter.createDocument();if(i._bootstrap(R,void 0),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,d=s.__mixins[0],c=d.posTracker,o(e),A(),R}function v(R){let N=-1;if(R)for(;++N<R.length;)o(R[N])}function y(R){v(R.children)}function x(R){A(),i._processInputToken(wSe(R)),v(R.children),vSe.includes(R.tagName)||(A(),i._processInputToken(ISe(R)))}function b(R){A(),i._processInputToken({type:ESe,chars:R.value,location:rf(R)})}function _(R){A(),i._processInputToken({type:xSe,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:rf(R)})}function S(R){A(),i._processInputToken({type:SSe,data:R.value,location:rf(R)})}function C(R){const N=ub(R),F=N.line||1,L=N.column||1,H=N.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!d)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=-L+1,c.droppedBufferSize=H,c.offset=0,c.col=1,c.line=F,d.currentAttrLocation=void 0,d.ctLoc=rf(R),s.write(R.value),i._runParsingLoop(null),(s.state==="NAMED_CHARACTER_REFERENCE_STATE"||s.state==="NUMERIC_CHARACTER_REFERENCE_END_STATE")&&(l.lastChunkWritten=!0,s[s.state](s._consume()))}function O(R){a=!0;let N;"children"in R?N={...R,children:Dj({type:"root",children:R.children},t,n).children}:N={...R},S({type:"comment",value:{stitch:N}})}function A(){if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const R=s.currentCharacterToken;R&&(R.location.endLine=c.line,R.location.endCol=c.col+1,R.location.endOffset=c.offset+1,i._processInputToken(R)),s.tokenQueue=[],s.state=bSe,s.returnState="",s.charRefCode=-1,s.tempBuff=[],s.lastStartTagName="",s.consumedAfterSnapshot=-1,s.active=!1,s.currentCharacterToken=void 0,s.currentToken=void 0,s.currentAttr=void 0}};function wSe(e){const t=Object.assign(rf(e));return t.startTag=Object.assign({},t),{type:TSe,tagName:e.tagName,selfClosing:!1,attrs:ASe(e),location:t}}function ASe(e){return uSe({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function ISe(e){const t=Object.assign(rf(e));return t.startTag=Object.assign({},t),{type:_Se,tagName:e.tagName,attrs:[],location:t}}function RSe(e){throw new Error("Cannot compile `"+e.type+"` node")}function PSe(e){const t=e.type==="root"?e.children[0]:e;return Boolean(t&&(t.type==="doctype"||t.type==="element"&&t.tagName==="html"))}function rf(e){const t=ub(e),n=M3(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function OSe(e){return Boolean(e&&!("message"in e&&"messages"in e))}function by(e={}){return(t,n)=>Dj(t,n,e)}const $t=(e,t)=>{var o;const{translations:n,languages:r}=T.exports.useContext(gt);return T.exports.useMemo(()=>n.getTranslation(e,t),[(o=r.selectedLanguage)==null?void 0:o.id])};var H3={},rr={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(rr);var zT={};function kSe(e){return pt("MuiSvgIcon",e)}mt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const NSe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],DSe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Se(t)}`,`fontSize${Se(n)}`]};return Et(i,kSe,r)},LSe=ye("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Se(n.color)}`],t[`fontSize${Se(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,a,s,l,c,d,p,h,m,v,y,x,b,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(o=i.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(s=a.pxToRem)==null?void 0:s.call(a,20))||"1.25rem",medium:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((d=e.typography)==null||(p=d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}[t.fontSize],color:(h=(m=(e.vars||e).palette)==null||(v=m[t.color])==null?void 0:v.main)!=null?h:{action:(y=(e.vars||e).palette)==null||(x=y.action)==null?void 0:x.active,disabled:(b=(e.vars||e).palette)==null||(_=b.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),Lj=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:h="0 0 24 24"}=r,m=$e(r,NSe),v=P({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:h}),y={};d||(y.viewBox=h);const x=DSe(v);return te(LSe,P({as:s,className:He(x.root,o),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},y,m,{ownerState:v,children:[i,p?E("title",{children:p}):null]}))});Lj.muiName="SvgIcon";const Zs=Lj;function Sc(e,t){function n(r,i){return E(Zs,P({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Zs.muiName,T.exports.memo(T.exports.forwardRef(n))}const MSe={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
`)),H8.configure(e)}},$Se=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:MSe,capitalize:Se,createChainedFunction:lx,createSvgIcon:Sc,debounce:U2,deprecatedPropType:vge,isMuiElement:dm,ownerDocument:Tr,ownerWindow:Ys,requirePropFactory:yge,setRef:o0,unstable_useEnhancedEffect:Wo,unstable_useId:X0,unsupportedProp:Tge,useControlled:Dl,useEventCallback:Zr,useForkRef:Fn,useIsFocusVisible:Q0},Symbol.toStringTag,{value:"Module"})),FSe=gC($Se);var MN;function lr(){return MN||(MN=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=FSe}(zT)),zT}const ur=gC(Oue);var BSe=rr.exports;Object.defineProperty(H3,"__esModule",{value:!0});var pb=H3.default=void 0,HSe=BSe(lr()),USe=ur,zSe=(0,HSe.default)((0,USe.jsx)("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutlineOutlined");pb=H3.default=zSe;function _x(e,t){return _x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},_x(e,t)}function hb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_x(e,t)}const $N={disabled:!1},Ey=jn.createContext(null);var GSe=function(t){return t.scrollTop},Gh="unmounted",Kc="exited",qc="entering",$d="entered",Sx="exiting",nu=function(e){hb(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Kc,o.appearStatus=qc):l=$d:r.unmountOnExit||r.mountOnEnter?l=Gh:l=Kc,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Gh?{status:Kc}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==qc&&a!==$d&&(o=qc):(a===qc||a===$d)&&(o=Sx)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===qc){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Lh.findDOMNode(this);a&&GSe(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Kc&&this.setState({status:Gh})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Lh.findDOMNode(this),s],c=l[0],d=l[1],p=this.getTimeouts(),h=s?p.appear:p.enter;if(!i&&!a||$N.disabled){this.safeSetState({status:$d},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:qc},function(){o.props.onEntering(c,d),o.onTransitionEnd(h,function(){o.safeSetState({status:$d},function(){o.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Lh.findDOMNode(this);if(!o||$N.disabled){this.safeSetState({status:Kc},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Sx},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Kc},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Lh.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Gh)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=$e(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E(Ey.Provider,{value:null,children:typeof a=="function"?a(i,s):jn.cloneElement(jn.Children.only(a),s)})},t}(jn.Component);nu.contextType=Ey;nu.propTypes={};function Pd(){}nu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pd,onEntering:Pd,onEntered:Pd,onExit:Pd,onExiting:Pd,onExited:Pd};nu.UNMOUNTED=Gh;nu.EXITED=Kc;nu.ENTERING=qc;nu.ENTERED=$d;nu.EXITING=Sx;const mb=nu;function WSe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U3(e,t){var n=function(o){return t&&T.exports.isValidElement(o)?t(o):o},r=Object.create(null);return e&&T.exports.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function jSe(e,t){e=e||{},t=t||{};function n(d){return d in t?t[d]:e[d]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var a,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var c=r[l][a];s[r[l][a]]=n(c)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}function l1(e,t,n){return n[t]!=null?n[t]:e.props[t]}function VSe(e,t){return U3(e.children,function(n){return T.exports.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:l1(n,"appear",e),enter:l1(n,"enter",e),exit:l1(n,"exit",e)})})}function KSe(e,t,n){var r=U3(e.children),i=jSe(t,r);return Object.keys(i).forEach(function(o){var a=i[o];if(!!T.exports.isValidElement(a)){var s=o in t,l=o in r,c=t[o],d=T.exports.isValidElement(c)&&!c.props.in;l&&(!s||d)?i[o]=T.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:l1(a,"exit",e),enter:l1(a,"enter",e)}):!l&&s&&!d?i[o]=T.exports.cloneElement(a,{in:!1}):l&&s&&T.exports.isValidElement(c)&&(i[o]=T.exports.cloneElement(a,{onExited:n.bind(null,a),in:c.props.in,exit:l1(a,"exit",e),enter:l1(a,"enter",e)}))}}),i}var qSe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},YSe={component:"div",childFactory:function(t){return t}},z3=function(e){hb(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=o.handleExited.bind(WSe(o));return o.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},o}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,o){var a=o.children,s=o.handleExited,l=o.firstRender;return{children:l?VSe(i,s):KSe(i,a,s),firstRender:!1}},n.handleExited=function(i,o){var a=U3(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(s){var l=P({},s.children);return delete l[i.key],{children:l}}))},n.render=function(){var i=this.props,o=i.component,a=i.childFactory,s=$e(i,["component","childFactory"]),l=this.state.contextValue,c=qSe(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,o===null?E(Ey.Provider,{value:l,children:c}):E(Ey.Provider,{value:l,children:E(o,{...s,children:c})})},t}(jn.Component);z3.propTypes={};z3.defaultProps=YSe;const XSe=z3;function QSe(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:c}=e,[d,p]=T.exports.useState(!1),h=He(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},v=He(n.child,d&&n.childLeaving,r&&n.childPulsate);return!s&&!d&&p(!0),T.exports.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,c);return()=>{clearTimeout(y)}}},[l,s,c]),E("span",{className:h,style:m,children:E("span",{className:v})})}const ZSe=mt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),aa=ZSe,JSe=["center","classes","className"];let gb=e=>e,FN,BN,HN,UN;const xx=550,exe=80,txe=yc(FN||(FN=gb`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),nxe=yc(BN||(BN=gb`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),rxe=yc(HN||(HN=gb`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),ixe=ye("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),oxe=ye(QSe,{name:"MuiTouchRipple",slot:"Ripple"})(UN||(UN=gb`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),aa.rippleVisible,txe,xx,({theme:e})=>e.transitions.easing.easeInOut,aa.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,aa.child,aa.childLeaving,nxe,xx,({theme:e})=>e.transitions.easing.easeInOut,aa.childPulsate,rxe,({theme:e})=>e.transitions.easing.easeInOut),axe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=r,s=$e(r,JSe),[l,c]=T.exports.useState([]),d=T.exports.useRef(0),p=T.exports.useRef(null);T.exports.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const h=T.exports.useRef(!1),m=T.exports.useRef(null),v=T.exports.useRef(null),y=T.exports.useRef(null);T.exports.useEffect(()=>()=>{clearTimeout(m.current)},[]);const x=T.exports.useCallback(C=>{const{pulsate:O,rippleX:A,rippleY:R,rippleSize:N,cb:F}=C;c(L=>[...L,E(oxe,{classes:{ripple:He(o.ripple,aa.ripple),rippleVisible:He(o.rippleVisible,aa.rippleVisible),ripplePulsate:He(o.ripplePulsate,aa.ripplePulsate),child:He(o.child,aa.child),childLeaving:He(o.childLeaving,aa.childLeaving),childPulsate:He(o.childPulsate,aa.childPulsate)},timeout:xx,pulsate:O,rippleX:A,rippleY:R,rippleSize:N},d.current)]),d.current+=1,p.current=F},[o]),b=T.exports.useCallback((C={},O={},A=()=>{})=>{const{pulsate:R=!1,center:N=i||O.pulsate,fakeElement:F=!1}=O;if((C==null?void 0:C.type)==="mousedown"&&h.current){h.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(h.current=!0);const L=F?null:y.current,H=L?L.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,Y,K;if(N||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)j=Math.round(H.width/2),Y=Math.round(H.height/2);else{const{clientX:Z,clientY:ne}=C.touches&&C.touches.length>0?C.touches[0]:C;j=Math.round(Z-H.left),Y=Math.round(ne-H.top)}if(N)K=Math.sqrt((2*H.width**2+H.height**2)/3),K%2===0&&(K+=1);else{const Z=Math.max(Math.abs((L?L.clientWidth:0)-j),j)*2+2,ne=Math.max(Math.abs((L?L.clientHeight:0)-Y),Y)*2+2;K=Math.sqrt(Z**2+ne**2)}C!=null&&C.touches?v.current===null&&(v.current=()=>{x({pulsate:R,rippleX:j,rippleY:Y,rippleSize:K,cb:A})},m.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},exe)):x({pulsate:R,rippleX:j,rippleY:Y,rippleSize:K,cb:A})},[i,x]),_=T.exports.useCallback(()=>{b({},{pulsate:!0})},[b]),S=T.exports.useCallback((C,O)=>{if(clearTimeout(m.current),(C==null?void 0:C.type)==="touchend"&&v.current){v.current(),v.current=null,m.current=setTimeout(()=>{S(C,O)});return}v.current=null,c(A=>A.length>0?A.slice(1):A),p.current=O},[]);return T.exports.useImperativeHandle(n,()=>({pulsate:_,start:b,stop:S}),[_,b,S]),E(ixe,P({className:He(aa.root,o.root,a),ref:y},s,{children:E(XSe,{component:null,exit:!0,children:l})}))}),sxe=axe;function lxe(e){return pt("MuiButtonBase",e)}const uxe=mt("MuiButtonBase",["root","disabled","focusVisible"]),cxe=uxe,dxe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],fxe=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Et({root:["root",t&&"disabled",n&&"focusVisible"]},lxe,i);return n&&r&&(a.root+=` ${r}`),a},pxe=ye("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${cxe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),hxe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:h=!1,LinkComponent:m="a",onBlur:v,onClick:y,onContextMenu:x,onDragLeave:b,onFocus:_,onFocusVisible:S,onKeyDown:C,onKeyUp:O,onMouseDown:A,onMouseLeave:R,onMouseUp:N,onTouchEnd:F,onTouchMove:L,onTouchStart:H,tabIndex:j=0,TouchRippleProps:Y,touchRippleRef:K,type:Z}=r,ne=$e(r,dxe),oe=T.exports.useRef(null),z=T.exports.useRef(null),Q=Fn(z,K),{isFocusVisibleRef:J,onFocus:M,onBlur:B,ref:Pe}=Q0(),[pe,me]=T.exports.useState(!1);c&&pe&&me(!1),T.exports.useImperativeHandle(i,()=>({focusVisible:()=>{me(!0),oe.current.focus()}}),[]);const[se,Ce]=T.exports.useState(!1);T.exports.useEffect(()=>{Ce(!0)},[]);const ke=se&&!d&&!c;T.exports.useEffect(()=>{pe&&h&&!d&&se&&z.current.pulsate()},[d,h,pe,se]);function Ee(V,fe,de=p){return Zr(Ve=>(fe&&fe(Ve),!de&&z.current&&z.current[V](Ve),!0))}const Qe=Ee("start",A),Re=Ee("stop",x),tt=Ee("stop",b),ut=Ee("stop",N),rt=Ee("stop",V=>{pe&&V.preventDefault(),R&&R(V)}),Fe=Ee("start",H),Bt=Ee("stop",F),je=Ee("stop",L),ie=Ee("stop",V=>{B(V),J.current===!1&&me(!1),v&&v(V)},!1),ce=Zr(V=>{oe.current||(oe.current=V.currentTarget),M(V),J.current===!0&&(me(!0),S&&S(V)),_&&_(V)}),he=()=>{const V=oe.current;return l&&l!=="button"&&!(V.tagName==="A"&&V.href)},Ae=T.exports.useRef(!1),Ge=Zr(V=>{h&&!Ae.current&&pe&&z.current&&V.key===" "&&(Ae.current=!0,z.current.stop(V,()=>{z.current.start(V)})),V.target===V.currentTarget&&he()&&V.key===" "&&V.preventDefault(),C&&C(V),V.target===V.currentTarget&&he()&&V.key==="Enter"&&!c&&(V.preventDefault(),y&&y(V))}),Xe=Zr(V=>{h&&V.key===" "&&z.current&&pe&&!V.defaultPrevented&&(Ae.current=!1,z.current.stop(V,()=>{z.current.pulsate(V)})),O&&O(V),y&&V.target===V.currentTarget&&he()&&V.key===" "&&!V.defaultPrevented&&y(V)});let ue=l;ue==="button"&&(ne.href||ne.to)&&(ue=m);const ve={};ue==="button"?(ve.type=Z===void 0?"button":Z,ve.disabled=c):(!ne.href&&!ne.to&&(ve.role="button"),c&&(ve["aria-disabled"]=c));const De=Fn(n,Pe,oe),Le=P({},r,{centerRipple:o,component:l,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:h,tabIndex:j,focusVisible:pe}),U=fxe(Le);return te(pxe,P({as:ue,className:He(U.root,s),ownerState:Le,onBlur:ie,onClick:y,onContextMenu:Re,onFocus:ce,onKeyDown:Ge,onKeyUp:Xe,onMouseDown:Qe,onMouseLeave:rt,onMouseUp:ut,onDragLeave:tt,onTouchEnd:Bt,onTouchMove:je,onTouchStart:Fe,ref:De,tabIndex:c?-1:j,type:Z},ve,ne,{children:[a,ke?E(sxe,P({ref:Q,center:o},Y)):null]}))}),F1=hxe;function mxe(e){return pt("MuiButton",e)}const gxe=mt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),p5=gxe,vxe=T.exports.createContext({}),yxe=vxe,bxe=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Exe=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${Se(t)}`,`size${Se(i)}`,`${o}Size${Se(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Se(i)}`],endIcon:["endIcon",`iconSize${Se(i)}`]},l=Et(s,mxe,a);return P({},a,l)},Mj=e=>P({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Txe=ye(F1,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Se(n.color)}`],t[`size${Se(n.size)}`],t[`${n.variant}Size${Se(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return P({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":P({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":P({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${p5.focusVisible}`]:P({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${p5.disabled}`]:P({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Yt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${p5.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${p5.disabled}`]:{boxShadow:"none"}}),_xe=ye("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Se(n.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Mj(e))),Sxe=ye("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Se(n.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Mj(e))),xxe=T.exports.forwardRef(function(t,n){const r=T.exports.useContext(yxe),i=Dz(r,t),o=St({props:i,name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:c,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:h=!1,endIcon:m,focusVisibleClassName:v,fullWidth:y=!1,size:x="medium",startIcon:b,type:_,variant:S="text"}=o,C=$e(o,bxe),O=P({},o,{color:s,component:l,disabled:d,disableElevation:p,disableFocusRipple:h,fullWidth:y,size:x,type:_,variant:S}),A=Exe(O),R=b&&E(_xe,{className:A.startIcon,ownerState:O,children:b}),N=m&&E(Sxe,{className:A.endIcon,ownerState:O,children:m});return te(Txe,P({ownerState:O,className:He(r.className,A.root,c),component:l,disabled:d,focusRipple:!h,focusVisibleClassName:He(A.focusVisible,v),ref:n,type:_},C,{classes:A,children:[R,a,N]}))}),Dr=xxe;function Cxe(e){return pt("MuiDivider",e)}const zN=mt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),wxe=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Axe=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:l}=e;return Et({root:["root",t&&"absolute",l,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Cxe,r)},Ixe=ye("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>P({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Yt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>P({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>P({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>P({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),Rxe=ye("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>P({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Pxe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:a,component:s=o?"div":"hr",flexItem:l=!1,light:c=!1,orientation:d="horizontal",role:p=s!=="hr"?"separator":void 0,textAlign:h="center",variant:m="fullWidth"}=r,v=$e(r,wxe),y=P({},r,{absolute:i,component:s,flexItem:l,light:c,orientation:d,role:p,textAlign:h,variant:m}),x=Axe(y);return E(Ixe,P({as:s,className:He(x.root,a),role:p,ref:n,ownerState:y},v,{children:o?E(Rxe,{className:x.wrapper,ownerState:y,children:o}):null}))}),Za=Pxe;function Oxe(e){return pt("MuiLink",e)}const kxe=mt("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Nxe=kxe,$j={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Dxe=e=>$j[e]||e,Lxe=({theme:e,ownerState:t})=>{const n=Dxe(t.color),r=qf(e,`palette.${n}`,!1)||t.color,i=qf(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Yt(r,.4)},Mxe=Lxe,$xe=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Fxe=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${Se(i)}`,n==="button"&&"button",r&&"focusVisible"]};return Et(o,Oxe,t)},Bxe=ye(nt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Se(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>P({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&P({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:Mxe({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Nxe.focusVisible}`]:{outline:"auto"}})),Hxe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:d="always",variant:p="inherit",sx:h}=r,m=$e(r,$xe),{isFocusVisibleRef:v,onBlur:y,onFocus:x,ref:b}=Q0(),[_,S]=T.exports.useState(!1),C=Fn(n,b),O=F=>{y(F),v.current===!1&&S(!1),s&&s(F)},A=F=>{x(F),v.current===!0&&S(!0),l&&l(F)},R=P({},r,{color:o,component:a,focusVisible:_,underline:d,variant:p}),N=Fxe(R);return E(Bxe,P({color:o,className:He(N.root,i),classes:c,component:a,onBlur:O,onFocus:A,ref:C,ownerState:R,variant:p,sx:[...Object.keys($j).includes(o)?[]:[{color:o}],...Array.isArray(h)?h:[h]]},m))}),Uxe=Hxe,GN=["http","https","mailto","tel"];function zxe(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++i<GN.length;){const o=GN[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return i=t.indexOf("?"),i!==-1&&r>i||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var Fj=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};function _m(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?WN(e.position):"start"in e||"end"in e?WN(e):"line"in e||"column"in e?Cx(e):""}function Cx(e){return jN(e&&e.line)+":"+jN(e&&e.column)}function WN(e){return Cx(e&&e.start)+"-"+Cx(e&&e.end)}function jN(e){return e&&typeof e=="number"?e:1}class Da extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=_m(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Da.prototype.file="";Da.prototype.name="";Da.prototype.reason="";Da.prototype.message="";Da.prototype.stack="";Da.prototype.fatal=null;Da.prototype.column=null;Da.prototype.line=null;Da.prototype.source=null;Da.prototype.ruleId=null;Da.prototype.position=null;const Rs={basename:Gxe,dirname:Wxe,extname:jxe,join:Vxe,sep:"/"};function Gxe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');cg(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Wxe(e){if(cg(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function jxe(e){cg(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Vxe(...e){let t=-1,n;for(;++t<e.length;)cg(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Kxe(n)}function Kxe(e){cg(e);const t=e.charCodeAt(0)===47;let n=qxe(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function qxe(e,t){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=e.length;){if(a<e.length)s=e.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function cg(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Yxe={cwd:Xxe};function Xxe(){return"/"}function wx(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Qxe(e){if(typeof e=="string")e=new URL(e);else if(!wx(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Zxe(e)}function Zxe(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const GT=["history","path","basename","stem","extname","dirname"];class Bj{constructor(t){let n;t?typeof t=="string"||Fj(t)?n={value:t}:wx(t)?n={path:t}:n=t:n={},this.data={},this.messages=[],this.history=[],this.cwd=Yxe.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<GT.length;){const o=GT[r];o in n&&n[o]!==void 0&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)GT.includes(i)||(this[i]=n[i])}get path(){return this.history[this.history.length-1]}set path(t){wx(t)&&(t=Qxe(t)),jT(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?Rs.dirname(this.path):void 0}set dirname(t){VN(this.basename,"dirname"),this.path=Rs.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?Rs.basename(this.path):void 0}set basename(t){jT(t,"basename"),WT(t,"basename"),this.path=Rs.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?Rs.extname(this.path):void 0}set extname(t){if(WT(t,"extname"),VN(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Rs.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?Rs.basename(this.path,this.extname):void 0}set stem(t){jT(t,"stem"),WT(t,"stem"),this.path=Rs.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t)}message(t,n,r){const i=new Da(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=null,i}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}}function WT(e,t){if(e&&e.includes(Rs.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Rs.sep+"`")}function jT(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function VN(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function KN(e){if(e)throw e}var a9=Object.prototype.hasOwnProperty,Hj=Object.prototype.toString,qN=Object.defineProperty,YN=Object.getOwnPropertyDescriptor,XN=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Hj.call(t)==="[object Array]"},QN=function(t){if(!t||Hj.call(t)!=="[object Object]")return!1;var n=a9.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&a9.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||a9.call(t,i)},ZN=function(t,n){qN&&n.name==="__proto__"?qN(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},JN=function(t,n){if(n==="__proto__")if(a9.call(t,n)){if(YN)return YN(t,n).value}else return;return t[n]},eD=function e(){var t,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,d=!1;for(typeof s=="boolean"&&(d=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=JN(s,n),i=JN(t,n),s!==i&&(d&&i&&(QN(i)||(o=XN(i)))?(o?(o=!1,a=r&&XN(r)?r:[]):a=r&&QN(r)?r:{},ZN(s,{name:n,newValue:e(d,a,i)})):typeof i<"u"&&ZN(s,{name:n,newValue:i}));return s};function Ax(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Jxe(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...i);function s(l,...c){const d=e[++o];let p=-1;if(l){a(l);return}for(;++p<i.length;)(c[p]===null||c[p]===void 0)&&(c[p]=i[p]);i=c,d?eCe(d,s)(...c):a(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function eCe(e,t){let n;return r;function r(...a){const s=e.length>a.length;let l;s&&a.push(i);try{l=e.apply(this,a)}catch(c){const d=c;if(s&&n)throw d;return i(d)}s||(l instanceof Promise?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,t(a,...s))}function o(a){i(null,a)}}const tCe=zj().freeze(),Uj={}.hasOwnProperty;function zj(){const e=Jxe(),t=[];let n={},r,i=-1;return o.data=a,o.Parser=void 0,o.Compiler=void 0,o.freeze=s,o.attachers=t,o.use=l,o.parse=c,o.stringify=d,o.run=p,o.runSync=h,o.process=m,o.processSync=v,o;function o(){const y=zj();let x=-1;for(;++x<t.length;)y.use(...t[x]);return y.data(eD(!0,{},n)),y}function a(y,x){return typeof y=="string"?arguments.length===2?(qT("data",r),n[y]=x,o):Uj.call(n,y)&&n[y]||null:y?(qT("data",r),n=y,o):n}function s(){if(r)return o;for(;++i<t.length;){const[y,...x]=t[i];if(x[0]===!1)continue;x[0]===!0&&(x[0]=void 0);const b=y.call(o,...x);typeof b=="function"&&e.use(b)}return r=!0,i=Number.POSITIVE_INFINITY,o}function l(y,...x){let b;if(qT("use",r),y!=null)if(typeof y=="function")O(y,...x);else if(typeof y=="object")Array.isArray(y)?C(y):S(y);else throw new TypeError("Expected usable value, not `"+y+"`");return b&&(n.settings=Object.assign(n.settings||{},b)),o;function _(A){if(typeof A=="function")O(A);else if(typeof A=="object")if(Array.isArray(A)){const[R,...N]=A;O(R,...N)}else S(A);else throw new TypeError("Expected usable value, not `"+A+"`")}function S(A){C(A.plugins),A.settings&&(b=Object.assign(b||{},A.settings))}function C(A){let R=-1;if(A!=null)if(Array.isArray(A))for(;++R<A.length;){const N=A[R];_(N)}else throw new TypeError("Expected a list of plugins, not `"+A+"`")}function O(A,R){let N=-1,F;for(;++N<t.length;)if(t[N][0]===A){F=t[N];break}F?(Ax(F[1])&&Ax(R)&&(R=eD(!0,F[1],R)),F[1]=R):t.push([...arguments])}}function c(y){o.freeze();const x=Th(y),b=o.Parser;return VT("parse",b),tD(b,"parse")?new b(String(x),x).parse():b(String(x),x)}function d(y,x){o.freeze();const b=Th(x),_=o.Compiler;return KT("stringify",_),nD(y),tD(_,"compile")?new _(y,b).compile():_(y,b)}function p(y,x,b){if(nD(y),o.freeze(),!b&&typeof x=="function"&&(b=x,x=void 0),!b)return new Promise(_);_(null,b);function _(S,C){e.run(y,Th(x),O);function O(A,R,N){R=R||y,A?C(A):S?S(R):b(null,R,N)}}}function h(y,x){let b,_;return o.run(y,x,S),rD("runSync","run",_),b;function S(C,O){KN(C),b=O,_=!0}}function m(y,x){if(o.freeze(),VT("process",o.Parser),KT("process",o.Compiler),!x)return new Promise(b);b(null,x);function b(_,S){const C=Th(y);o.run(o.parse(C),C,(A,R,N)=>{if(A||!R||!N)O(A);else{const F=o.stringify(R,N);F==null||(iCe(F)?N.value=F:N.result=F),O(A,N)}});function O(A,R){A||!R?S(A):_?_(R):x(null,R)}}}function v(y){let x;o.freeze(),VT("processSync",o.Parser),KT("processSync",o.Compiler);const b=Th(y);return o.process(b,_),rD("processSync","process",x),b;function _(S){x=!0,KN(S)}}}function tD(e,t){return typeof e=="function"&&e.prototype&&(nCe(e.prototype)||t in e.prototype)}function nCe(e){let t;for(t in e)if(Uj.call(e,t))return!0;return!1}function VT(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function KT(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function qT(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nD(e){if(!Ax(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function rD(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Th(e){return rCe(e)?e:new Bj(e)}function rCe(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function iCe(e){return typeof e=="string"||Fj(e)}function oCe(e,t){var{includeImageAlt:n=!0}=t||{};return Gj(e,n)}function Gj(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&iD(e.children,t)||Array.isArray(e)&&iD(e,t))||""}function iD(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=Gj(e[r],t);return n.join("")}function Js(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),[].splice.apply(e,a),o+=1e4,t+=1e4}function da(e,t){return e.length>0?(Js(e,e.length,0,t),e):t}const oD={}.hasOwnProperty;function aCe(e){const t={};let n=-1;for(;++n<e.length;)sCe(t,e[n]);return t}function sCe(e,t){let n;for(n in t){const i=(oD.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;for(a in o){oD.call(i,a)||(i[a]=[]);const s=o[a];lCe(i[a],Array.isArray(s)?s:s?[s]:[])}}}function lCe(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Js(e,0,0,r)}const uCe=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,$s=xc(/[A-Za-z]/),Ix=xc(/\d/),cCe=xc(/[\dA-Fa-f]/),Mo=xc(/[\dA-Za-z]/),dCe=xc(/[!-/:-@[-`{-~]/),aD=xc(/[#-'*+\--9=?A-Z^-~]/);function Rx(e){return e!==null&&(e<32||e===127)}function Sa(e){return e!==null&&(e<0||e===32)}function Dt(e){return e!==null&&e<-2}function kr(e){return e===-2||e===-1||e===32}const fCe=xc(/\s/),pCe=xc(uCe);function xc(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function $n(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return kr(l)?(e.enter(n),s(l)):t(l)}function s(l){return kr(l)&&o++<i?(e.consume(l),s):(e.exit(n),t(l))}}const hCe={tokenize:mCe};function mCe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),$n(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Dt(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}const gCe={tokenize:vCe},sD={tokenize:yCe};function vCe(e){const t=this,n=[];let r=0,i,o,a;return s;function s(S){if(r<n.length){const C=n[r];return t.containerState=C[1],e.attempt(C[0].continuation,l,c)(S)}return c(S)}function l(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&_();const C=t.events.length;let O=C,A;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){A=t.events[O][1].end;break}b(r);let R=C;for(;R<t.events.length;)t.events[R][1].end=Object.assign({},A),R++;return Js(t.events,O+1,0,t.events.slice(C)),t.events.length=R,c(S)}return s(S)}function c(S){if(r===n.length){if(!i)return h(S);if(i.currentConstruct&&i.currentConstruct.concrete)return v(S);t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(sD,d,p)(S)}function d(S){return i&&_(),b(r),h(S)}function p(S){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,v(S)}function h(S){return t.containerState={},e.attempt(sD,m,v)(S)}function m(S){return r++,n.push([t.currentConstruct,t.containerState]),h(S)}function v(S){if(S===null){i&&_(),b(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i}),y(S)}function y(S){if(S===null){x(e.exit("chunkFlow"),!0),b(0),e.consume(S);return}return Dt(S)?(e.consume(S),x(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(S),y)}function x(S,C){const O=t.sliceStream(S);if(C&&O.push(null),S.previous=o,o&&(o.next=S),o=S,i.defineSkip(S.start),i.write(O),t.parser.lazy[S.start.line]){let A=i.events.length;for(;A--;)if(i.events[A][1].start.offset<a&&(!i.events[A][1].end||i.events[A][1].end.offset>a))return;const R=t.events.length;let N=R,F,L;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(F){L=t.events[N][1].end;break}F=!0}for(b(r),A=R;A<t.events.length;)t.events[A][1].end=Object.assign({},L),A++;Js(t.events,N+1,0,t.events.slice(R)),t.events.length=A}}function b(S){let C=n.length;for(;C-- >S;){const O=n[C];t.containerState=O[1],O[0].exit.call(t,e)}n.length=S}function _(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yCe(e,t,n){return $n(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function lD(e){if(e===null||Sa(e)||fCe(e))return 1;if(pCe(e))return 2}function G3(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Px={name:"attention",tokenize:ECe,resolveAll:bCe};function bCe(e,t){let n=-1,r,i,o,a,s,l,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);uD(p,-l),uD(h,l),a={type:l>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=da(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=da(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),c=da(c,G3(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=da(c,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=da(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Js(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function ECe(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=lD(r);let o;return a;function a(l){return e.enter("attentionSequence"),o=l,s(l)}function s(l){if(l===o)return e.consume(l),s;const c=e.exit("attentionSequence"),d=lD(l),p=!d||d===2&&i||n.includes(l),h=!i||i===2&&d||n.includes(r);return c._open=Boolean(o===42?p:p&&(i||!h)),c._close=Boolean(o===42?h:h&&(d||!p)),t(l)}}function uD(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const TCe={name:"autolink",tokenize:_Ce};function _Ce(e,t,n){let r=1;return i;function i(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(v){return $s(v)?(e.consume(v),a):aD(v)?c(v):n(v)}function a(v){return v===43||v===45||v===46||Mo(v)?s(v):c(v)}function s(v){return v===58?(e.consume(v),l):(v===43||v===45||v===46||Mo(v))&&r++<32?(e.consume(v),s):c(v)}function l(v){return v===62?(e.exit("autolinkProtocol"),m(v)):v===null||v===32||v===60||Rx(v)?n(v):(e.consume(v),l)}function c(v){return v===64?(e.consume(v),r=0,d):aD(v)?(e.consume(v),c):n(v)}function d(v){return Mo(v)?p(v):n(v)}function p(v){return v===46?(e.consume(v),r=0,d):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",m(v)):h(v)}function h(v){return(v===45||Mo(v))&&r++<63?(e.consume(v),v===45?h:p):n(v)}function m(v){return e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t}}const vb={tokenize:SCe,partial:!0};function SCe(e,t,n){return $n(e,r,"linePrefix");function r(i){return i===null||Dt(i)?t(i):n(i)}}const Wj={name:"blockQuote",tokenize:xCe,continuation:{tokenize:CCe},exit:wCe};function xCe(e,t,n){const r=this;return i;function i(a){if(a===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return kr(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function CCe(e,t,n){return $n(e,e.attempt(Wj,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wCe(e){e.exit("blockQuote")}const jj={name:"characterEscape",tokenize:ACe};function ACe(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return dCe(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const cD=document.createElement("i");function W3(e){const t="&"+e+";";cD.innerHTML=t;const n=cD.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const Vj={name:"characterReference",tokenize:ICe};function ICe(e,t,n){const r=this;let i=0,o,a;return s;function s(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,a=Mo,d(p))}function c(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=cCe,d):(e.enter("characterReferenceValue"),o=7,a=Ix,d(p))}function d(p){let h;return p===59&&i?(h=e.exit("characterReferenceValue"),a===Mo&&!W3(r.sliceSerialize(h))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):a(p)&&i++<o?(e.consume(p),d):n(p)}}const dD={name:"codeFenced",tokenize:RCe,concrete:!0};function RCe(e,t,n){const r=this,i={tokenize:O,partial:!0},o={tokenize:C,partial:!0},a=this.events[this.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let l=0,c;return d;function d(A){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c=A,p(A)}function p(A){return A===c?(e.consume(A),l++,p):(e.exit("codeFencedFenceSequence"),l<3?n(A):$n(e,h,"whitespace")(A))}function h(A){return A===null||Dt(A)?x(A):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===null||Sa(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$n(e,v,"whitespace")(A)):A===96&&A===c?n(A):(e.consume(A),m)}function v(A){return A===null||Dt(A)?x(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(A))}function y(A){return A===null||Dt(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),x(A)):A===96&&A===c?n(A):(e.consume(A),y)}function x(A){return e.exit("codeFencedFence"),r.interrupt?t(A):b(A)}function b(A){return A===null?S(A):Dt(A)?e.attempt(o,e.attempt(i,S,s?$n(e,b,"linePrefix",s+1):b),S)(A):(e.enter("codeFlowValue"),_(A))}function _(A){return A===null||Dt(A)?(e.exit("codeFlowValue"),b(A)):(e.consume(A),_)}function S(A){return e.exit("codeFenced"),t(A)}function C(A,R,N){const F=this;return L;function L(j){return A.enter("lineEnding"),A.consume(j),A.exit("lineEnding"),H}function H(j){return F.parser.lazy[F.now().line]?N(j):R(j)}}function O(A,R,N){let F=0;return $n(A,L,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(Y){return A.enter("codeFencedFence"),A.enter("codeFencedFenceSequence"),H(Y)}function H(Y){return Y===c?(A.consume(Y),F++,H):F<l?N(Y):(A.exit("codeFencedFenceSequence"),$n(A,j,"whitespace")(Y))}function j(Y){return Y===null||Dt(Y)?(A.exit("codeFencedFence"),R(Y)):N(Y)}}}const YT={name:"codeIndented",tokenize:OCe},PCe={tokenize:kCe,partial:!0};function OCe(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),$n(e,o,"linePrefix",4+1)(c)}function o(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Dt(c)?e.attempt(PCe,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Dt(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function kCe(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Dt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):$n(e,o,"linePrefix",4+1)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Dt(a)?i(a):n(a)}}const NCe={name:"codeText",tokenize:MCe,resolve:DCe,previous:LCe};function DCe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function LCe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function MCe(e,t,n){let r=0,i,o;return a;function a(p){return e.enter("codeText"),e.enter("codeTextSequence"),s(p)}function s(p){return p===96?(e.consume(p),r++,s):(e.exit("codeTextSequence"),l(p))}function l(p){return p===null?n(p):p===96?(o=e.enter("codeTextSequence"),i=0,d(p)):p===32?(e.enter("space"),e.consume(p),e.exit("space"),l):Dt(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(p))}function c(p){return p===null||p===32||p===96||Dt(p)?(e.exit("codeTextData"),l(p)):(e.consume(p),c)}function d(p){return p===96?(e.consume(p),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(o.type="codeTextData",c(p))}}function Kj(e){const t={};let n=-1,r,i,o,a,s,l,c;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,$Ce(e,n)),n=t[n],c=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(a=e[o],a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),a[1].type="lineEnding",i=o);i&&(r[1].end=Object.assign({},e[i][1].start),s=e.slice(i,n),s.unshift(r),Js(e,i,n-i+1,s))}}return!c}function $Ce(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let d,p,h=-1,m=n,v=0,y=0;const x=[y];for(;m;){for(;e[++i][1]!==m;);o.push(i),m._tokenizer||(d=r.sliceStream(m),m.next||d.push(null),p&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=n;++h<s.length;)s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(y=h+1,x.push(y),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):x.pop(),h=x.length;h--;){const b=s.slice(x[h],x[h+1]),_=o.pop();l.unshift([_,_+b.length-1]),Js(e,_,2,b)}for(h=-1;++h<l.length;)c[v+l[h][0]]=v+l[h][1],v+=l[h][1]-l[h][0]-1;return c}const FCe={tokenize:UCe,resolve:HCe},BCe={tokenize:zCe,partial:!0};function HCe(e){return Kj(e),e}function UCe(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):Dt(s)?e.check(BCe,a,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function zCe(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),$n(e,o,"linePrefix")}function o(a){if(a===null||Dt(a))return n(a);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function qj(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return p;function p(b){return b===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(b),e.exit(o),h):b===null||b===41||Rx(b)?n(b):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),y(b))}function h(b){return b===62?(e.enter(o),e.consume(b),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===62?(e.exit("chunkString"),e.exit(s),h(b)):b===null||b===60||Dt(b)?n(b):(e.consume(b),b===92?v:m)}function v(b){return b===60||b===62||b===92?(e.consume(b),m):m(b)}function y(b){return b===40?++d>c?n(b):(e.consume(b),y):b===41?d--?(e.consume(b),y):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(b)):b===null||Sa(b)?d?n(b):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(b)):Rx(b)?n(b):(e.consume(b),b===92?x:y)}function x(b){return b===40||b===41||b===92?(e.consume(b),y):y(b)}}function Yj(e,t,n,r,i,o){const a=this;let s=0,l;return c;function c(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(o),d}function d(m){return m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs||s>999?n(m):m===93?(e.exit(o),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Dt(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||Dt(m)||s++>999?(e.exit("chunkString"),d(m)):(e.consume(m),l=l||!kr(m),m===92?h:p)}function h(m){return m===91||m===92||m===93?(e.consume(m),s++,p):p(m)}}function Xj(e,t,n,r,i,o){let a;return s;function s(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),a=h===40?41:h,l}function l(h){return h===a?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),c(h))}function c(h){return h===a?(e.exit(o),l(a)):h===null?n(h):Dt(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),$n(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===a||h===null||Dt(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?p:d)}function p(h){return h===a||h===92?(e.consume(h),d):d(h)}}function Sm(e,t){let n;return r;function r(i){return Dt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):kr(i)?$n(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function yf(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const GCe={name:"definition",tokenize:jCe},WCe={tokenize:VCe,partial:!0};function jCe(e,t,n){const r=this;let i;return o;function o(l){return e.enter("definition"),Yj.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function a(l){return i=yf(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),Sm(e,qj(e,e.attempt(WCe,$n(e,s,"whitespace"),$n(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||Dt(l)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(l)):n(l)}}function VCe(e,t,n){return r;function r(a){return Sa(a)?Sm(e,i)(a):n(a)}function i(a){return a===34||a===39||a===40?Xj(e,$n(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a):n(a)}function o(a){return a===null||Dt(a)?t(a):n(a)}}const KCe={name:"hardBreakEscape",tokenize:qCe};function qCe(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),i}function i(o){return Dt(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}const YCe={name:"headingAtx",tokenize:QCe,resolve:XCe};function XCe(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Js(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function QCe(e,t,n){const r=this;let i=0;return o;function o(d){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&i++<6?(e.consume(d),a):d===null||Sa(d)?(e.exit("atxHeadingSequence"),r.interrupt?t(d):s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||Dt(d)?(e.exit("atxHeading"),t(d)):kr(d)?$n(e,s,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||Sa(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),c)}}const ZCe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],fD=["pre","script","style","textarea"],JCe={name:"htmlFlow",tokenize:n8e,resolveTo:t8e,concrete:!0},e8e={tokenize:r8e,partial:!0};function t8e(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function n8e(e,t,n){const r=this;let i,o,a,s,l;return c;function c(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),d}function d(B){return B===33?(e.consume(B),p):B===47?(e.consume(B),v):B===63?(e.consume(B),i=3,r.interrupt?t:Q):$s(B)?(e.consume(B),a=String.fromCharCode(B),o=!0,y):n(B)}function p(B){return B===45?(e.consume(B),i=2,h):B===91?(e.consume(B),i=5,a="CDATA[",s=0,m):$s(B)?(e.consume(B),i=4,r.interrupt?t:Q):n(B)}function h(B){return B===45?(e.consume(B),r.interrupt?t:Q):n(B)}function m(B){return B===a.charCodeAt(s++)?(e.consume(B),s===a.length?r.interrupt?t:H:m):n(B)}function v(B){return $s(B)?(e.consume(B),a=String.fromCharCode(B),y):n(B)}function y(B){return B===null||B===47||B===62||Sa(B)?B!==47&&o&&fD.includes(a.toLowerCase())?(i=1,r.interrupt?t(B):H(B)):ZCe.includes(a.toLowerCase())?(i=6,B===47?(e.consume(B),x):r.interrupt?t(B):H(B)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(B):o?_(B):b(B)):B===45||Mo(B)?(e.consume(B),a+=String.fromCharCode(B),y):n(B)}function x(B){return B===62?(e.consume(B),r.interrupt?t:H):n(B)}function b(B){return kr(B)?(e.consume(B),b):F(B)}function _(B){return B===47?(e.consume(B),F):B===58||B===95||$s(B)?(e.consume(B),S):kr(B)?(e.consume(B),_):F(B)}function S(B){return B===45||B===46||B===58||B===95||Mo(B)?(e.consume(B),S):C(B)}function C(B){return B===61?(e.consume(B),O):kr(B)?(e.consume(B),C):_(B)}function O(B){return B===null||B===60||B===61||B===62||B===96?n(B):B===34||B===39?(e.consume(B),l=B,A):kr(B)?(e.consume(B),O):(l=null,R(B))}function A(B){return B===null||Dt(B)?n(B):B===l?(e.consume(B),N):(e.consume(B),A)}function R(B){return B===null||B===34||B===39||B===60||B===61||B===62||B===96||Sa(B)?C(B):(e.consume(B),R)}function N(B){return B===47||B===62||kr(B)?_(B):n(B)}function F(B){return B===62?(e.consume(B),L):n(B)}function L(B){return kr(B)?(e.consume(B),L):B===null||Dt(B)?H(B):n(B)}function H(B){return B===45&&i===2?(e.consume(B),Z):B===60&&i===1?(e.consume(B),ne):B===62&&i===4?(e.consume(B),J):B===63&&i===3?(e.consume(B),Q):B===93&&i===5?(e.consume(B),z):Dt(B)&&(i===6||i===7)?e.check(e8e,J,j)(B):B===null||Dt(B)?j(B):(e.consume(B),H)}function j(B){return e.exit("htmlFlowData"),Y(B)}function Y(B){return B===null?M(B):Dt(B)?e.attempt({tokenize:K,partial:!0},Y,M)(B):(e.enter("htmlFlowData"),H(B))}function K(B,Pe,pe){return me;function me(Ce){return B.enter("lineEnding"),B.consume(Ce),B.exit("lineEnding"),se}function se(Ce){return r.parser.lazy[r.now().line]?pe(Ce):Pe(Ce)}}function Z(B){return B===45?(e.consume(B),Q):H(B)}function ne(B){return B===47?(e.consume(B),a="",oe):H(B)}function oe(B){return B===62&&fD.includes(a.toLowerCase())?(e.consume(B),J):$s(B)&&a.length<8?(e.consume(B),a+=String.fromCharCode(B),oe):H(B)}function z(B){return B===93?(e.consume(B),Q):H(B)}function Q(B){return B===62?(e.consume(B),J):B===45&&i===2?(e.consume(B),Q):H(B)}function J(B){return B===null||Dt(B)?(e.exit("htmlFlowData"),M(B)):(e.consume(B),J)}function M(B){return e.exit("htmlFlow"),t(B)}}function r8e(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(vb,t,n)}}const i8e={name:"htmlText",tokenize:o8e};function o8e(e,t,n){const r=this;let i,o,a,s;return l;function l(M){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(M),c}function c(M){return M===33?(e.consume(M),d):M===47?(e.consume(M),R):M===63?(e.consume(M),O):$s(M)?(e.consume(M),L):n(M)}function d(M){return M===45?(e.consume(M),p):M===91?(e.consume(M),o="CDATA[",a=0,x):$s(M)?(e.consume(M),C):n(M)}function p(M){return M===45?(e.consume(M),h):n(M)}function h(M){return M===null||M===62?n(M):M===45?(e.consume(M),m):v(M)}function m(M){return M===null||M===62?n(M):v(M)}function v(M){return M===null?n(M):M===45?(e.consume(M),y):Dt(M)?(s=v,z(M)):(e.consume(M),v)}function y(M){return M===45?(e.consume(M),J):v(M)}function x(M){return M===o.charCodeAt(a++)?(e.consume(M),a===o.length?b:x):n(M)}function b(M){return M===null?n(M):M===93?(e.consume(M),_):Dt(M)?(s=b,z(M)):(e.consume(M),b)}function _(M){return M===93?(e.consume(M),S):b(M)}function S(M){return M===62?J(M):M===93?(e.consume(M),S):b(M)}function C(M){return M===null||M===62?J(M):Dt(M)?(s=C,z(M)):(e.consume(M),C)}function O(M){return M===null?n(M):M===63?(e.consume(M),A):Dt(M)?(s=O,z(M)):(e.consume(M),O)}function A(M){return M===62?J(M):O(M)}function R(M){return $s(M)?(e.consume(M),N):n(M)}function N(M){return M===45||Mo(M)?(e.consume(M),N):F(M)}function F(M){return Dt(M)?(s=F,z(M)):kr(M)?(e.consume(M),F):J(M)}function L(M){return M===45||Mo(M)?(e.consume(M),L):M===47||M===62||Sa(M)?H(M):n(M)}function H(M){return M===47?(e.consume(M),J):M===58||M===95||$s(M)?(e.consume(M),j):Dt(M)?(s=H,z(M)):kr(M)?(e.consume(M),H):J(M)}function j(M){return M===45||M===46||M===58||M===95||Mo(M)?(e.consume(M),j):Y(M)}function Y(M){return M===61?(e.consume(M),K):Dt(M)?(s=Y,z(M)):kr(M)?(e.consume(M),Y):H(M)}function K(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),i=M,Z):Dt(M)?(s=K,z(M)):kr(M)?(e.consume(M),K):(e.consume(M),i=void 0,oe)}function Z(M){return M===i?(e.consume(M),ne):M===null?n(M):Dt(M)?(s=Z,z(M)):(e.consume(M),Z)}function ne(M){return M===62||M===47||Sa(M)?H(M):n(M)}function oe(M){return M===null||M===34||M===39||M===60||M===61||M===96?n(M):M===62||Sa(M)?H(M):(e.consume(M),oe)}function z(M){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),$n(e,Q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Q(M){return e.enter("htmlTextData"),s(M)}function J(M){return M===62?(e.consume(M),e.exit("htmlTextData"),e.exit("htmlText"),t):n(M)}}const j3={name:"labelEnd",tokenize:d8e,resolveTo:c8e,resolveAll:u8e},a8e={tokenize:f8e},s8e={tokenize:p8e},l8e={tokenize:h8e};function u8e(e){let t=-1,n;for(;++t<e.length;)n=e[t][1],(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++);return e}function c8e(e,t){let n=e.length,r=0,i,o,a,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[a][1].end)},d={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return s=[["enter",l,t],["enter",c,t]],s=da(s,e.slice(o+1,o+r+3)),s=da(s,[["enter",d,t]]),s=da(s,G3(t.parser.constructs.insideSpan.null,e.slice(o+r+4,a-3),t)),s=da(s,[["exit",d,t],e[a-2],e[a-1],["exit",c,t]]),s=da(s,e.slice(a+1)),s=da(s,[["exit",l,t]]),Js(e,o,e.length,s),e}function d8e(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(d){return o?o._inactive?c(d):(a=r.parser.defined.includes(yf(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),l):n(d)}function l(d){return d===40?e.attempt(a8e,t,a?t:c)(d):d===91?e.attempt(s8e,t,a?e.attempt(l8e,t,c):c)(d):a?t(d):c(d)}function c(d){return o._balanced=!0,n(d)}}function f8e(e,t,n){return r;function r(l){return e.enter("resource"),e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),Sm(e,i)}function i(l){return l===41?s(l):qj(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(l)}function o(l){return Sa(l)?Sm(e,a)(l):s(l)}function a(l){return l===34||l===39||l===40?Xj(e,Sm(e,s),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(l):s(l)}function s(l){return l===41?(e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),e.exit("resource"),t):n(l)}}function p8e(e,t,n){const r=this;return i;function i(a){return Yj.call(r,e,o,n,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(yf(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}}function h8e(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const m8e={name:"labelStartImage",tokenize:g8e,resolveAll:j3.resolveAll};function g8e(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const v8e={name:"labelStartLink",tokenize:y8e,resolveAll:j3.resolveAll};function y8e(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const XT={name:"lineEnding",tokenize:b8e};function b8e(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),$n(e,t,"linePrefix")}}const s9={name:"thematicBreak",tokenize:E8e};function E8e(e,t,n){let r=0,i;return o;function o(l){return e.enter("thematicBreak"),i=l,a(l)}function a(l){return l===i?(e.enter("thematicBreakSequence"),s(l)):kr(l)?$n(e,a,"whitespace")(l):r<3||l!==null&&!Dt(l)?n(l):(e.exit("thematicBreak"),t(l))}function s(l){return l===i?(e.consume(l),r++,s):(e.exit("thematicBreakSequence"),a(l))}}const to={name:"list",tokenize:S8e,continuation:{tokenize:x8e},exit:w8e},T8e={tokenize:A8e,partial:!0},_8e={tokenize:C8e,partial:!0};function S8e(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(m){const v=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Ix(m)){if(r.containerState.type||(r.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(s9,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return Ix(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(vb,r.interrupt?n:d,e.attempt(T8e,h,p))}function d(m){return r.containerState.initialBlankLine=!0,o++,h(m)}function p(m){return kr(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),h):n(m)}function h(m){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function x8e(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vb,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$n(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!kr(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(_8e,t,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,$n(e,e.attempt(to,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function C8e(e,t,n){const r=this;return $n(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function w8e(e){e.exit(this.containerState.type)}function A8e(e,t,n){const r=this;return $n(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){const a=r.events[r.events.length-1];return!kr(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const pD={name:"setextUnderline",tokenize:R8e,resolveTo:I8e};function I8e(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function R8e(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if(r.events[i][1].type!=="lineEnding"&&r.events[i][1].type!=="linePrefix"&&r.events[i][1].type!=="content"){a=r.events[i][1].type==="paragraph";break}return s;function s(d){return!r.parser.lazy[r.now().line]&&(r.interrupt||a)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=d,l(d)):n(d)}function l(d){return d===o?(e.consume(d),l):(e.exit("setextHeadingLineSequence"),$n(e,c,"lineSuffix")(d))}function c(d){return d===null||Dt(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}const P8e={tokenize:O8e};function O8e(e){const t=this,n=e.attempt(vb,r,e.attempt(this.parser.constructs.flowInitial,i,$n(e,e.attempt(this.parser.constructs.flow,i,e.attempt(FCe,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const k8e={resolveAll:Zj()},N8e=Qj("string"),D8e=Qj("text");function Qj(e){return{tokenize:t,resolveAll:Zj(e==="text"?L8e:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,s);return a;function a(d){return c(d)?o(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),o(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const p=i[d];let h=-1;if(p)for(;++h<p.length;){const m=p[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Zj(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function L8e(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,a=-1,s=0,l;for(;o--;){const c=i[o];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(c===-2)l=!0,s++;else if(c!==-1){o++;break}}if(s){const c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function M8e(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[];const l={consume:_,enter:S,exit:C,attempt:R(O),check:R(A),interrupt:R(A,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:h,now:v,defineSkip:y,write:p};let d=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function p(H){return a=da(a,H),x(),a[a.length-1]!==null?[]:(N(t,0),c.events=G3(o,c.events,c),c.events)}function h(H,j){return F8e(m(H),j)}function m(H){return $8e(a,H)}function v(){return Object.assign({},r)}function y(H){i[H.line]=H.column,L()}function x(){let H;for(;r._index<a.length;){const j=a[r._index];if(typeof j=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<j.length;)b(j.charCodeAt(r._bufferIndex));else b(j)}}function b(H){d=d(H)}function _(H){Dt(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,L()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=H}function S(H,j){const Y=j||{};return Y.type=H,Y.start=v(),c.events.push(["enter",Y,c]),s.push(Y),Y}function C(H){const j=s.pop();return j.end=v(),c.events.push(["exit",j,c]),j}function O(H,j){N(H,j.from)}function A(H,j){j.restore()}function R(H,j){return Y;function Y(K,Z,ne){let oe,z,Q,J;return Array.isArray(K)?B(K):"tokenize"in K?B([K]):M(K);function M(se){return Ce;function Ce(ke){const Ee=ke!==null&&se[ke],Qe=ke!==null&&se.null,Re=[...Array.isArray(Ee)?Ee:Ee?[Ee]:[],...Array.isArray(Qe)?Qe:Qe?[Qe]:[]];return B(Re)(ke)}}function B(se){return oe=se,z=0,se.length===0?ne:Pe(se[z])}function Pe(se){return Ce;function Ce(ke){return J=F(),Q=se,se.partial||(c.currentConstruct=se),se.name&&c.parser.constructs.disable.null.includes(se.name)?me():se.tokenize.call(j?Object.assign(Object.create(c),j):c,l,pe,me)(ke)}}function pe(se){return H(Q,J),Z}function me(se){return J.restore(),++z<oe.length?Pe(oe[z]):ne}}}function N(H,j){H.resolveAll&&!o.includes(H)&&o.push(H),H.resolve&&Js(c.events,j,c.events.length-j,H.resolve(c.events.slice(j),c)),H.resolveTo&&(c.events=H.resolveTo(c.events,c))}function F(){const H=v(),j=c.previous,Y=c.currentConstruct,K=c.events.length,Z=Array.from(s);return{restore:ne,from:K};function ne(){r=H,c.previous=j,c.currentConstruct=Y,c.events.length=K,s=Z,L()}}function L(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function $8e(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;return n===i?a=[e[n].slice(r,o)]:(a=e.slice(n,i),r>-1&&(a[0]=a[0].slice(r)),o>0&&a.push(e[i].slice(0,o))),a}function F8e(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
`;break}case-3:{a=`\r
`;break}case-2:{a=t?" ":"	";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}const B8e={[42]:to,[43]:to,[45]:to,[48]:to,[49]:to,[50]:to,[51]:to,[52]:to,[53]:to,[54]:to,[55]:to,[56]:to,[57]:to,[62]:Wj},H8e={[91]:GCe},U8e={[-2]:YT,[-1]:YT,[32]:YT},z8e={[35]:YCe,[42]:s9,[45]:[pD,s9],[60]:JCe,[61]:pD,[95]:s9,[96]:dD,[126]:dD},G8e={[38]:Vj,[92]:jj},W8e={[-5]:XT,[-4]:XT,[-3]:XT,[33]:m8e,[38]:Vj,[42]:Px,[60]:[TCe,i8e],[91]:v8e,[92]:[KCe,jj],[93]:j3,[95]:Px,[96]:NCe},j8e={null:[Px,k8e]},V8e={null:[42,95]},K8e={null:[]},q8e=Object.freeze(Object.defineProperty({__proto__:null,document:B8e,contentInitial:H8e,flowInitial:U8e,flow:z8e,string:G8e,text:W8e,insideSpan:j8e,attentionMarkers:V8e,disable:K8e},Symbol.toStringTag,{value:"Module"}));function Y8e(e={}){const t=aCe([q8e].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(hCe),document:r(gCe),flow:r(P8e),string:r(N8e),text:r(D8e)};return n;function r(i){return o;function o(a){return M8e(n,i,a)}}}const hD=/[\0\t\n\r]/g;function X8e(){let e=1,t="",n=!0,r;return i;function i(o,a,s){const l=[];let c,d,p,h,m;for(o=t+o.toString(a),p=0,t="",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(hD.lastIndex=p,c=hD.exec(o),h=c&&c.index!==void 0?c.index:o.length,m=o.charCodeAt(h),!c){t=o.slice(p);break}if(m===10&&p===h&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),p<h&&(l.push(o.slice(p,h)),e+=h-p),m){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}p=h+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function Q8e(e){for(;!Kj(e););return e}function Jj(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCharCode(n)}const Z8e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function J8e(e){return e.replace(Z8e,e3e)}function e3e(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Jj(n.slice(o?2:1),o?16:10)}return W3(n)||e}const Ox={}.hasOwnProperty,t3e=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),n3e(n)(Q8e(Y8e(n).document().write(X8e()(e,t,!0))))};function n3e(e={}){const t=eV({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Ae),autolinkProtocol:j,autolinkEmail:j,atxHeading:l(je),blockQuote:l(tt),characterEscape:j,characterReference:j,codeFenced:l(ut),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(ut,c),codeText:l(rt,c),codeTextData:j,data:j,codeFlowValue:j,definition:l(Fe),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(Bt),hardBreakEscape:l(ie),hardBreakTrailing:l(ie),htmlFlow:l(ce,c),htmlFlowData:j,htmlText:l(ce,c),htmlTextData:j,image:l(he),label:c,link:l(Ae),listItem:l(Xe),listItemValue:y,listOrdered:l(Ge,v),listUnordered:l(Ge),paragraph:l(ue),reference:se,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(je),strong:l(ve),thematicBreak:l(Le)},exit:{atxHeading:p(),atxHeadingSequence:N,autolink:p(),autolinkEmail:Re,autolinkProtocol:Qe,blockQuote:p(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:ke,characterReferenceMarkerNumeric:ke,characterReferenceValue:Ee,codeFenced:p(S),codeFencedFence:_,codeFencedFenceInfo:x,codeFencedFenceMeta:b,codeFlowValue:Y,codeIndented:p(C),codeText:p(z),codeTextData:Y,data:Y,definition:p(),definitionDestinationString:R,definitionLabelString:O,definitionTitleString:A,emphasis:p(),hardBreakEscape:p(Z),hardBreakTrailing:p(Z),htmlFlow:p(ne),htmlFlowData:Y,htmlText:p(oe),htmlTextData:Y,image:p(J),label:B,labelText:M,lineEnding:K,link:p(Q),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:Ce,resourceDestinationString:Pe,resourceTitleString:pe,resource:me,setextHeading:p(H),setextHeadingLineSequence:L,setextHeadingText:F,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),n={};return r;function r(U){let V={type:"root",children:[]};const fe=[V],de=[],Ve=[],qe={stack:fe,tokenStack:de,config:t,enter:d,exit:h,buffer:c,resume:m,setData:o,getData:a};let Je=-1;for(;++Je<U.length;)if(U[Je][1].type==="listOrdered"||U[Je][1].type==="listUnordered")if(U[Je][0]==="enter")Ve.push(Je);else{const Tt=Ve.pop();Je=i(U,Tt,Je)}for(Je=-1;++Je<U.length;){const Tt=t[U[Je][0]];Ox.call(Tt,U[Je][1].type)&&Tt[U[Je][1].type].call(Object.assign({sliceSerialize:U[Je][2].sliceSerialize},qe),U[Je][1])}if(de.length>0){const Tt=de[de.length-1];(Tt[1]||mD).call(qe,void 0,Tt[0])}for(V.position={start:s(U.length>0?U[0][1].start:{line:1,column:1,offset:0}),end:s(U.length>0?U[U.length-2][1].end:{line:1,column:1,offset:0})},Je=-1;++Je<t.transforms.length;)V=t.transforms[Je](V)||V;return V}function i(U,V,fe){let de=V-1,Ve=-1,qe=!1,Je,Tt,en,Kt;for(;++de<=fe;){const Ot=U[de];if(Ot[1].type==="listUnordered"||Ot[1].type==="listOrdered"||Ot[1].type==="blockQuote"?(Ot[0]==="enter"?Ve++:Ve--,Kt=void 0):Ot[1].type==="lineEndingBlank"?Ot[0]==="enter"&&(Je&&!Kt&&!Ve&&!en&&(en=de),Kt=void 0):Ot[1].type==="linePrefix"||Ot[1].type==="listItemValue"||Ot[1].type==="listItemMarker"||Ot[1].type==="listItemPrefix"||Ot[1].type==="listItemPrefixWhitespace"||(Kt=void 0),!Ve&&Ot[0]==="enter"&&Ot[1].type==="listItemPrefix"||Ve===-1&&Ot[0]==="exit"&&(Ot[1].type==="listUnordered"||Ot[1].type==="listOrdered")){if(Je){let ir=de;for(Tt=void 0;ir--;){const Kn=U[ir];if(Kn[1].type==="lineEnding"||Kn[1].type==="lineEndingBlank"){if(Kn[0]==="exit")continue;Tt&&(U[Tt][1].type="lineEndingBlank",qe=!0),Kn[1].type="lineEnding",Tt=ir}else if(!(Kn[1].type==="linePrefix"||Kn[1].type==="blockQuotePrefix"||Kn[1].type==="blockQuotePrefixWhitespace"||Kn[1].type==="blockQuoteMarker"||Kn[1].type==="listItemIndent"))break}en&&(!Tt||en<Tt)&&(Je._spread=!0),Je.end=Object.assign({},Tt?U[Tt][1].start:Ot[1].end),U.splice(Tt||de,0,["exit",Je,Ot[2]]),de++,fe++}Ot[1].type==="listItemPrefix"&&(Je={type:"listItem",_spread:!1,start:Object.assign({},Ot[1].start)},U.splice(de,0,["enter",Je,Ot[2]]),de++,fe++,en=void 0,Kt=!0)}}return U[V][1]._spread=qe,fe}function o(U,V){n[U]=V}function a(U){return n[U]}function s(U){return{line:U.line,column:U.column,offset:U.offset}}function l(U,V){return fe;function fe(de){d.call(this,U(de),de),V&&V.call(this,de)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(U,V,fe){return this.stack[this.stack.length-1].children.push(U),this.stack.push(U),this.tokenStack.push([V,fe]),U.position={start:s(V.start)},U}function p(U){return V;function V(fe){U&&U.call(this,fe),h.call(this,fe)}}function h(U,V){const fe=this.stack.pop(),de=this.tokenStack.pop();if(de)de[0].type!==U.type&&(V?V.call(this,U,de[0]):(de[1]||mD).call(this,U,de[0]));else throw new Error("Cannot close `"+U.type+"` ("+_m({start:U.start,end:U.end})+"): it\u2019s not open");return fe.position.end=s(U.end),fe}function m(){return oCe(this.stack.pop())}function v(){o("expectingFirstListItemValue",!0)}function y(U){if(a("expectingFirstListItemValue")){const V=this.stack[this.stack.length-2];V.start=Number.parseInt(this.sliceSerialize(U),10),o("expectingFirstListItemValue")}}function x(){const U=this.resume(),V=this.stack[this.stack.length-1];V.lang=U}function b(){const U=this.resume(),V=this.stack[this.stack.length-1];V.meta=U}function _(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function S(){const U=this.resume(),V=this.stack[this.stack.length-1];V.value=U.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function C(){const U=this.resume(),V=this.stack[this.stack.length-1];V.value=U.replace(/(\r?\n|\r)$/g,"")}function O(U){const V=this.resume(),fe=this.stack[this.stack.length-1];fe.label=V,fe.identifier=yf(this.sliceSerialize(U)).toLowerCase()}function A(){const U=this.resume(),V=this.stack[this.stack.length-1];V.title=U}function R(){const U=this.resume(),V=this.stack[this.stack.length-1];V.url=U}function N(U){const V=this.stack[this.stack.length-1];if(!V.depth){const fe=this.sliceSerialize(U).length;V.depth=fe}}function F(){o("setextHeadingSlurpLineEnding",!0)}function L(U){const V=this.stack[this.stack.length-1];V.depth=this.sliceSerialize(U).charCodeAt(0)===61?1:2}function H(){o("setextHeadingSlurpLineEnding")}function j(U){const V=this.stack[this.stack.length-1];let fe=V.children[V.children.length-1];(!fe||fe.type!=="text")&&(fe=De(),fe.position={start:s(U.start)},V.children.push(fe)),this.stack.push(fe)}function Y(U){const V=this.stack.pop();V.value+=this.sliceSerialize(U),V.position.end=s(U.end)}function K(U){const V=this.stack[this.stack.length-1];if(a("atHardBreak")){const fe=V.children[V.children.length-1];fe.position.end=s(U.end),o("atHardBreak");return}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(V.type)&&(j.call(this,U),Y.call(this,U))}function Z(){o("atHardBreak",!0)}function ne(){const U=this.resume(),V=this.stack[this.stack.length-1];V.value=U}function oe(){const U=this.resume(),V=this.stack[this.stack.length-1];V.value=U}function z(){const U=this.resume(),V=this.stack[this.stack.length-1];V.value=U}function Q(){const U=this.stack[this.stack.length-1];a("inReference")?(U.type+="Reference",U.referenceType=a("referenceType")||"shortcut",delete U.url,delete U.title):(delete U.identifier,delete U.label),o("referenceType")}function J(){const U=this.stack[this.stack.length-1];a("inReference")?(U.type+="Reference",U.referenceType=a("referenceType")||"shortcut",delete U.url,delete U.title):(delete U.identifier,delete U.label),o("referenceType")}function M(U){const V=this.stack[this.stack.length-2],fe=this.sliceSerialize(U);V.label=J8e(fe),V.identifier=yf(fe).toLowerCase()}function B(){const U=this.stack[this.stack.length-1],V=this.resume(),fe=this.stack[this.stack.length-1];o("inReference",!0),fe.type==="link"?fe.children=U.children:fe.alt=V}function Pe(){const U=this.resume(),V=this.stack[this.stack.length-1];V.url=U}function pe(){const U=this.resume(),V=this.stack[this.stack.length-1];V.title=U}function me(){o("inReference")}function se(){o("referenceType","collapsed")}function Ce(U){const V=this.resume(),fe=this.stack[this.stack.length-1];fe.label=V,fe.identifier=yf(this.sliceSerialize(U)).toLowerCase(),o("referenceType","full")}function ke(U){o("characterReferenceType",U.type)}function Ee(U){const V=this.sliceSerialize(U),fe=a("characterReferenceType");let de;fe?(de=Jj(V,fe==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):de=W3(V);const Ve=this.stack.pop();Ve.value+=de,Ve.position.end=s(U.end)}function Qe(U){Y.call(this,U);const V=this.stack[this.stack.length-1];V.url=this.sliceSerialize(U)}function Re(U){Y.call(this,U);const V=this.stack[this.stack.length-1];V.url="mailto:"+this.sliceSerialize(U)}function tt(){return{type:"blockquote",children:[]}}function ut(){return{type:"code",lang:null,meta:null,value:""}}function rt(){return{type:"inlineCode",value:""}}function Fe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Bt(){return{type:"emphasis",children:[]}}function je(){return{type:"heading",depth:void 0,children:[]}}function ie(){return{type:"break"}}function ce(){return{type:"html",value:""}}function he(){return{type:"image",title:null,url:"",alt:null}}function Ae(){return{type:"link",title:null,url:"",children:[]}}function Ge(U){return{type:"list",ordered:U.type==="listOrdered",start:null,spread:U._spread,children:[]}}function Xe(U){return{type:"listItem",spread:U._spread,checked:null,children:[]}}function ue(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function De(){return{type:"text",value:""}}function Le(){return{type:"thematicBreak"}}}function eV(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?eV(e,r):r3e(e,r)}return e}function r3e(e,t){let n;for(n in t)if(Ox.call(t,n)){const r=n==="canContainEols"||n==="transforms",o=(Ox.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),a=t[n];a&&(r?e[n]=[...o,...a]:Object.assign(o,a))}}function mD(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+_m({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+_m({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+_m({start:t.start,end:t.end})+") is still open")}function i3e(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return t3e(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var Gr=function(e,t,n){var r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r};const l9={}.hasOwnProperty;function o3e(e,t){const n=t.data||{};return"value"in t&&!(l9.call(n,"hName")||l9.call(n,"hProperties")||l9.call(n,"hChildren"))?e.augment(t,Gr("text",t.value)):e(t,"div",Pi(e,t))}function tV(e,t,n){const r=t&&t.type;let i;if(!r)throw new Error("Expected node, got `"+t+"`");return l9.call(e.handlers,r)?i=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?i=a3e:i=e.unknownHandler,(typeof i=="function"?i:o3e)(e,t,n)}function a3e(e,t){return"children"in t?{...t,children:Pi(e,t)}:t}function Pi(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=tV(e,r[i],t);if(o){if(i&&r[i-1].type==="break"&&(!Array.isArray(o)&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&o.type==="element")){const a=o.children[0];a&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function s3e(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const gD={}.hasOwnProperty;function l3e(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return db(e,"definition",r=>{const i=vD(r.identifier);i&&!gD.call(t,i)&&(t[i]=r)}),n;function n(r){const i=vD(r);return i&&gD.call(t,i)?t[i]:null}}function vD(e){return String(e||"").toUpperCase()}function Ip(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(o===37&&Mo(e.charCodeAt(n+1))&&Mo(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Il(e,t){const n=[];let r=-1;for(t&&n.push(Gr("text",`
`));++r<e.length;)r&&n.push(Gr("text",`
`)),n.push(e[r]);return t&&e.length>0&&n.push(Gr("text",`
`)),n}function u3e(e){let t=-1;const n=[];for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;const i=Pi(e,r),o=String(r.identifier),a=Ip(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const p={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};s>1&&p.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(p)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const p=c.children[c.children.length-1];p&&p.type==="text"?p.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const d={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:Il(i,!0)};r.position&&(d.position=r.position),n.push(d)}return n.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[Gr("text",e.footnoteLabel)]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:Il(n,!0)},{type:"text",value:`
`}]}}function c3e(e,t){return e(t,"blockquote",Il(Pi(e,t),!0))}function d3e(e,t){return[e(t,"br"),Gr("text",`
`)]}function f3e(e,t){const n=t.value?t.value+`
`:"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);const o=e(t,"code",i,[Gr("text",n)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])}function p3e(e,t){return e(t,"del",Pi(e,t))}function h3e(e,t){return e(t,"em",Pi(e,t))}function nV(e,t){const n=String(t.identifier),r=Ip(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[Gr("text",String(o))])])}function m3e(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},nV(e,{type:"footnoteReference",identifier:i,position:t.position})}function g3e(e,t){return e(t,"h"+t.depth,Pi(e,t))}function v3e(e,t){return e.dangerous?e.augment(t,Gr("raw",t.value)):null}function rV(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return Gr("text","!["+t.alt+r);const i=Pi(e,t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift(Gr("text","["));const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push(Gr("text",r)),i}function y3e(e,t){const n=e.definition(t.identifier);if(!n)return rV(e,t);const r={src:Ip(n.url||""),alt:t.alt};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"img",r)}function b3e(e,t){const n={src:Ip(t.url),alt:t.alt};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"img",n)}function E3e(e,t){return e(t,"code",[Gr("text",t.value.replace(/\r?\n|\r/g," "))])}function T3e(e,t){const n=e.definition(t.identifier);if(!n)return rV(e,t);const r={href:Ip(n.url||"")};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"a",r,Pi(e,t))}function _3e(e,t){const n={href:Ip(t.url)};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"a",n,Pi(e,t))}function S3e(e,t,n){const r=Pi(e,t),i=n?x3e(n):iV(t),o={},a=[];if(typeof t.checked=="boolean"){let c;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?c=r[0]:(c=e(null,"p",[]),r.unshift(c)),c.children.length>0&&c.children.unshift(Gr("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(i||s!==0||c.type!=="element"||c.tagName!=="p")&&a.push(Gr("text",`
`)),c.type==="element"&&c.tagName==="p"&&!i?a.push(...c.children):a.push(c)}const l=r[r.length-1];return l&&(i||!("tagName"in l)||l.tagName!=="p")&&a.push(Gr("text",`
`)),e(t,"li",o,a)}function x3e(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=iV(n[r]);return Boolean(t)}function iV(e){const t=e.spread;return t==null?e.children.length>1:t}function C3e(e,t){const n={},r=t.ordered?"ol":"ul",i=Pi(e,t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<i.length;){const a=i[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,Il(i,!0))}function w3e(e,t){return e(t,"p",Pi(e,t))}function A3e(e,t){return e.augment(t,Gr("root",Il(Pi(e,t))))}function I3e(e,t){return e(t,"strong",Pi(e,t))}function R3e(e,t){const n=t.children;let r=-1;const i=t.align||[],o=[];for(;++r<n.length;){const a=n[r].children,s=r===0?"th":"td",l=[];let c=-1;const d=t.align?i.length:a.length;for(;++c<d;){const p=a[c];l.push(e(p,s,{align:i[c]},p?Pi(e,p):[]))}o[r]=e(n[r],"tr",Il(l,!0))}return e(t,"table",Il([e(o[0].position,"thead",Il([o[0]],!0))].concat(o[1]?e({start:ub(o[1]),end:M3(o[o.length-1])},"tbody",Il(o.slice(1),!0)):[]),!0))}const yD=9,bD=32;function P3e(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(ED(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(ED(t.slice(i),i>0,!1)),o.join("")}function ED(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===yD||o===bD;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===yD||o===bD;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function O3e(e,t){return e.augment(t,Gr("text",P3e(String(t.value))))}function k3e(e,t){return e(t,"hr")}const N3e={blockquote:c3e,break:d3e,code:f3e,delete:p3e,emphasis:h3e,footnoteReference:nV,footnote:m3e,heading:g3e,html:v3e,imageReference:y3e,image:b3e,inlineCode:E3e,linkReference:T3e,link:_3e,listItem:S3e,list:C3e,paragraph:w3e,root:A3e,strong:I3e,table:R3e,text:O3e,thematicBreak:k3e,toml:h5,yaml:h5,definition:h5,footnoteDefinition:h5};function h5(){return null}const D3e={}.hasOwnProperty;function L3e(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.definition=l3e(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers={...N3e,...n.handlers},a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,db(e,"footnoteDefinition",s=>{const l=String(s.identifier).toUpperCase();D3e.call(i,l)||(i[l]=s)}),a;function o(s,l){if(s&&"data"in s&&s.data){const c=s.data;c.hName&&(l.type!=="element"&&(l={type:"element",tagName:"",properties:{},children:[]}),l.tagName=c.hName),l.type==="element"&&c.hProperties&&(l.properties={...l.properties,...c.hProperties}),"children"in l&&l.children&&c.hChildren&&(l.children=c.hChildren)}if(s){const c="type"in s?s:{position:s};s3e(c)||(l.position={start:ub(c),end:M3(c)})}return l}function a(s,l,c,d){return Array.isArray(c)&&(d=c,c={}),o(s,{type:"element",tagName:l,properties:c||{},children:d||[]})}}function oV(e,t){const n=L3e(e,t),r=tV(n,e,null),i=u3e(n);return i&&r.children.push(Gr("text",`
`),i),Array.isArray(r)?{type:"root",children:r}:r}const M3e=function(e,t){return e&&"run"in e?F3e(e,t):B3e(e||t)},$3e=M3e;function F3e(e,t){return(n,r,i)=>{e.run(oV(n,t),r,o=>{i(o)})}}function B3e(e){return t=>oV(t,e)}function H3e(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{db(t,"element",(n,r,i)=>{const o=i;let a;if(e.allowedElements?a=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(n.tagName)),!a&&e.allowElement&&typeof r=="number"&&(a=!e.allowElement(n,r,o)),a&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var aV={exports:{}},An={};/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var V3=Symbol.for("react.element"),K3=Symbol.for("react.portal"),yb=Symbol.for("react.fragment"),bb=Symbol.for("react.strict_mode"),Eb=Symbol.for("react.profiler"),Tb=Symbol.for("react.provider"),_b=Symbol.for("react.context"),U3e=Symbol.for("react.server_context"),Sb=Symbol.for("react.forward_ref"),xb=Symbol.for("react.suspense"),Cb=Symbol.for("react.suspense_list"),wb=Symbol.for("react.memo"),Ab=Symbol.for("react.lazy"),z3e=Symbol.for("react.offscreen"),sV;sV=Symbol.for("react.module.reference");function La(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case V3:switch(e=e.type,e){case yb:case Eb:case bb:case xb:case Cb:return e;default:switch(e=e&&e.$$typeof,e){case U3e:case _b:case Sb:case Ab:case wb:case Tb:return e;default:return t}}case K3:return t}}}An.ContextConsumer=_b;An.ContextProvider=Tb;An.Element=V3;An.ForwardRef=Sb;An.Fragment=yb;An.Lazy=Ab;An.Memo=wb;An.Portal=K3;An.Profiler=Eb;An.StrictMode=bb;An.Suspense=xb;An.SuspenseList=Cb;An.isAsyncMode=function(){return!1};An.isConcurrentMode=function(){return!1};An.isContextConsumer=function(e){return La(e)===_b};An.isContextProvider=function(e){return La(e)===Tb};An.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===V3};An.isForwardRef=function(e){return La(e)===Sb};An.isFragment=function(e){return La(e)===yb};An.isLazy=function(e){return La(e)===Ab};An.isMemo=function(e){return La(e)===wb};An.isPortal=function(e){return La(e)===K3};An.isProfiler=function(e){return La(e)===Eb};An.isStrictMode=function(e){return La(e)===bb};An.isSuspense=function(e){return La(e)===xb};An.isSuspenseList=function(e){return La(e)===Cb};An.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===yb||e===Eb||e===bb||e===xb||e===Cb||e===z3e||typeof e=="object"&&e!==null&&(e.$$typeof===Ab||e.$$typeof===wb||e.$$typeof===Tb||e.$$typeof===_b||e.$$typeof===Sb||e.$$typeof===sV||e.getModuleId!==void 0)};An.typeOf=La;(function(e){e.exports=An})(aV);const G3e=Xy(aV.exports);function W3e(e){var t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}var TD=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,j3e=/\n/g,V3e=/^\s*/,K3e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,q3e=/^:\s*/,Y3e=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,X3e=/^[;\s]*/,Q3e=/^\s+|\s+$/g,Z3e=`
`,_D="/",SD="*",Zc="",J3e="comment",e6e="declaration",t6e=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(v){var y=v.match(j3e);y&&(n+=y.length);var x=v.lastIndexOf(Z3e);r=~x?v.length-x:r+v.length}function o(){var v={line:n,column:r};return function(y){return y.position=new a(v),c(),y}}function a(v){this.start=v,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(v){var y=new Error(t.source+":"+n+":"+r+": "+v);if(y.reason=v,y.filename=t.source,y.line=n,y.column=r,y.source=e,!t.silent)throw y}function l(v){var y=v.exec(e);if(!!y){var x=y[0];return i(x),e=e.slice(x.length),y}}function c(){l(V3e)}function d(v){var y;for(v=v||[];y=p();)y!==!1&&v.push(y);return v}function p(){var v=o();if(!(_D!=e.charAt(0)||SD!=e.charAt(1))){for(var y=2;Zc!=e.charAt(y)&&(SD!=e.charAt(y)||_D!=e.charAt(y+1));)++y;if(y+=2,Zc===e.charAt(y-1))return s("End of comment missing");var x=e.slice(2,y-2);return r+=2,i(x),e=e.slice(y),r+=2,v({type:J3e,comment:x})}}function h(){var v=o(),y=l(K3e);if(!!y){if(p(),!l(q3e))return s("property missing ':'");var x=l(Y3e),b=v({type:e6e,property:xD(y[0].replace(TD,Zc)),value:x?xD(x[0].replace(TD,Zc)):Zc});return l(X3e),b}}function m(){var v=[];d(v);for(var y;y=h();)y!==!1&&(v.push(y),d(v));return v}return c(),m()};function xD(e){return e?e.replace(Q3e,Zc):Zc}var n6e=t6e;function r6e(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=n6e(e),o=typeof t=="function",a,s,l=0,c=i.length;l<c;l++)r=i[l],a=r.property,s=r.value,o?t(a,s,r):s&&(n||(n={}),n[a]=s);return n}var i6e=r6e;const kx={}.hasOwnProperty,o6e=new Set(["table","thead","tbody","tfoot","tr"]);function lV(e,t){const n=[];let r=-1,i;for(;++r<t.children.length;)i=t.children[r],i.type==="element"?n.push(a6e(e,i,r,t)):i.type==="text"?(t.type!=="element"||!o6e.has(t.tagName)||!W3e(i))&&n.push(i.value):i.type==="raw"&&!e.options.skipHtml&&n.push(i.value);return n}function a6e(e,t,n,r){const i=e.options,o=e.schema,a=t.tagName,s={};let l=o,c;if(o.space==="html"&&a==="svg"&&(l=wp,e.schema=l),t.properties)for(c in t.properties)kx.call(t.properties,c)&&l6e(s,c,t.properties[c],e);(a==="ol"||a==="ul")&&e.listDepth++;const d=lV(e,t);(a==="ol"||a==="ul")&&e.listDepth--,e.schema=o;const p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&kx.call(i.components,a)?i.components[a]:a,m=typeof h=="string"||h===jn.Fragment;if(!G3e.isValidElementType(h))throw new TypeError(`Component for name \`${a}\` not defined or is not renderable`);if(s.key=[a,p.start.line,p.start.column,n].join("-"),a==="a"&&i.linkTarget&&(s.target=typeof i.linkTarget=="function"?i.linkTarget(String(s.href||""),t.children,typeof s.title=="string"?s.title:null):i.linkTarget),a==="a"&&i.transformLinkUri&&(s.href=i.transformLinkUri(String(s.href||""),t.children,typeof s.title=="string"?s.title:null)),!m&&a==="code"&&r.type==="element"&&r.tagName!=="pre"&&(s.inline=!0),!m&&(a==="h1"||a==="h2"||a==="h3"||a==="h4"||a==="h5"||a==="h6")&&(s.level=Number.parseInt(a.charAt(1),10)),a==="img"&&i.transformImageUri&&(s.src=i.transformImageUri(String(s.src||""),String(s.alt||""),typeof s.title=="string"?s.title:null)),!m&&a==="li"&&r.type==="element"){const v=s6e(t);s.checked=v&&v.properties?Boolean(v.properties.checked):null,s.index=QT(r,t),s.ordered=r.tagName==="ol"}return!m&&(a==="ol"||a==="ul")&&(s.ordered=a==="ol",s.depth=e.listDepth),(a==="td"||a==="th")&&(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),m||(s.isHeader=a==="th")),!m&&a==="tr"&&r.type==="element"&&(s.isHeader=Boolean(r.tagName==="thead")),i.sourcePos&&(s["data-sourcepos"]=d6e(p)),!m&&i.rawSourcePos&&(s.sourcePosition=t.position),!m&&i.includeElementIndex&&(s.index=QT(r,t),s.siblingCount=QT(r)),m||(s.node=t),d.length>0?jn.createElement(h,s,d):jn.createElement(h,s)}function s6e(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function QT(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function l6e(e,t,n,r){const i=fb(r.schema,t);let o=n;o==null||o!==o||(Array.isArray(o)&&(o=i.commaSeparated?Ij(o):Aj(o)),i.property==="style"&&typeof o=="string"&&(o=u6e(o)),i.space&&i.property?e[kx.call(RN,i.property)?RN[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function u6e(e){const t={};try{i6e(e,n)}catch(r){}return t;function n(r,i){const o=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;t[o.replace(/-([a-z])/g,c6e)]=i}}function c6e(e,t){return t.toUpperCase()}function d6e(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}const CD={}.hasOwnProperty,f6e="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",m5={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function sc(e){for(const o in m5)if(CD.call(m5,o)&&CD.call(e,o)){const a=m5[o];console.warn(`[react-markdown] Warning: please ${a.to?`use \`${a.to}\` instead of`:"remove"} \`${o}\` (see <${f6e}#${a.id}> for more info)`),delete m5[o]}const t=tCe().use(i3e).use(e.remarkPlugins||[]).use($3e,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(H3e,e),n=new Bj;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=E(Qt,{children:lV({options:e,schema:ug,listDepth:0},r)});return e.className&&(i=E("div",{className:e.className,children:i})),i}sc.defaultProps={transformLinkUri:zxe};sc.propTypes={children:Nt.exports.string,className:Nt.exports.string,allowElement:Nt.exports.func,allowedElements:Nt.exports.arrayOf(Nt.exports.string),disallowedElements:Nt.exports.arrayOf(Nt.exports.string),unwrapDisallowed:Nt.exports.bool,remarkPlugins:Nt.exports.arrayOf(Nt.exports.oneOfType([Nt.exports.object,Nt.exports.func,Nt.exports.arrayOf(Nt.exports.oneOfType([Nt.exports.bool,Nt.exports.string,Nt.exports.object,Nt.exports.func,Nt.exports.arrayOf(Nt.exports.any)]))])),rehypePlugins:Nt.exports.arrayOf(Nt.exports.oneOfType([Nt.exports.object,Nt.exports.func,Nt.exports.arrayOf(Nt.exports.oneOfType([Nt.exports.bool,Nt.exports.string,Nt.exports.object,Nt.exports.func,Nt.exports.arrayOf(Nt.exports.any)]))])),sourcePos:Nt.exports.bool,rawSourcePos:Nt.exports.bool,skipHtml:Nt.exports.bool,includeElementIndex:Nt.exports.bool,transformLinkUri:Nt.exports.oneOfType([Nt.exports.func,Nt.exports.bool]),linkTarget:Nt.exports.oneOfType([Nt.exports.func,Nt.exports.string]),transformImageUri:Nt.exports.func,components:Nt.exports.object};const p6e=()=>E("path",{d:"M14 12.9114C13.1666 12.9114 12.4583 12.616 11.875 12.0253C11.2916 11.4346 10.9999 10.7173 10.9999 9.87342C10.9999 9.02954 11.2916 8.31224 11.875 7.72152C12.4583 7.1308 13.1666 6.83544 14 6.83544C14.8333 6.83544 15.5416 7.1308 16.125 7.72152C16.7083 8.31224 17 9.02954 17 9.87342C17 10.7173 16.7083 11.4346 16.125 12.0253C15.5416 12.616 14.8333 12.9114 14 12.9114ZM14 11.3924C14.4333 11.3924 14.7916 11.2447 15.075 10.9494C15.3583 10.654 15.5 10.2954 15.5 9.87342C15.5 9.4346 15.3583 9.07173 15.075 8.78481C14.7916 8.49789 14.4333 8.35443 14 8.35443C13.5833 8.35443 13.2291 8.49789 12.9375 8.78481C12.6458 9.07173 12.5 9.4346 12.5 9.87342C12.5 10.2954 12.6458 10.654 12.9375 10.9494C13.2291 11.2447 13.5833 11.3924 14 11.3924ZM7.99999 20V17.0633C7.99999 16.7089 8.08332 16.3755 8.24998 16.0633C8.41665 15.7511 8.64998 15.5021 8.94998 15.3165C9.41664 15.0295 9.89997 14.7806 10.3999 14.5696C10.9 14.3587 11.4167 14.1857 11.95 14.0506L14 16.7342L16.05 14.0506C16.5833 14.1857 17.0958 14.3587 17.5874 14.5696C18.0791 14.7806 18.5583 15.0295 19.0249 15.3165C19.3249 15.5021 19.5624 15.7511 19.7374 16.0633C19.9125 16.3755 20 16.7089 20 17.0633V20H7.99999ZM9.49998 18.481H13.4249L11.375 15.7975C11.0416 15.9325 10.7166 16.0802 10.3999 16.2405C10.0833 16.4008 9.78331 16.5738 9.49998 16.7595V18.481ZM14.575 18.481H18.5V16.7595C18.2167 16.5738 17.9208 16.4008 17.6124 16.2405C17.3041 16.0802 16.9833 15.9325 16.65 15.7975L14.575 18.481ZM1.5 18.2278C1.08333 18.2278 0.729166 18.0802 0.437499 17.7848C0.145833 17.4895 0 17.1308 0 16.7089V1.51899C0 1.09705 0.145833 0.738397 0.437499 0.443038C0.729166 0.147679 1.08333 0 1.5 0H16.5C16.9166 0 17.2708 0.147679 17.5625 0.443038C17.8542 0.738397 17.9999 1.09705 17.9999 1.51899V7.77215C17.8166 7.4346 17.6 7.12236 17.3499 6.83544C17.1 6.54852 16.8166 6.29536 16.5 6.07595V1.51899H1.5V16.7089H6.49999V18.2278H1.5ZM3.99999 5.56962H12.5249C12.7583 5.48523 13 5.42194 13.25 5.37975C13.5 5.33755 13.75 5.31646 14 5.31646V4.05063H3.99999V5.56962ZM3.99999 9.87342H9.49998C9.49998 9.62025 9.52082 9.36287 9.56248 9.10127C9.60415 8.83966 9.66665 8.59072 9.74998 8.35443H3.99999V9.87342ZM3.99999 14.1772H7.94998C8.23332 13.9578 8.53332 13.7764 8.84999 13.6329C9.16665 13.4895 9.49165 13.3502 9.82499 13.2152V12.6582H3.99999V14.1772ZM1.5 16.7089V1.51899V6.07595V5.31646V16.7089Z"});var q3={},h6e=rr.exports;Object.defineProperty(q3,"__esModule",{value:!0});var uV=q3.default=void 0,m6e=h6e(lr()),g6e=ur,v6e=(0,m6e.default)((0,g6e.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");uV=q3.default=v6e;const y6e=["component","direction","spacing","divider","children"];function b6e(e,t){const n=T.exports.Children.toArray(e).filter(Boolean);return n.reduce((r,i,o)=>(r.push(i),o<n.length-1&&r.push(T.exports.cloneElement(t,{key:`separator-${o}`})),r),[])}const E6e=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],T6e=({ownerState:e,theme:t})=>{let n=P({display:"flex",flexDirection:"column"},Ri({theme:t},as({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Z0(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),o=as({values:e.direction,base:i}),a=as({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,d)=>{if(!o[l]){const h=c>0?o[d[c-1]]:"column";o[l]=h}}),n=Ai(n,Ri({theme:t},a,(l,c)=>({"& > :not(style) + :not(style)":{margin:0,[`margin${E6e(c?o[c]:e.direction)}`]:bc(r,l)}})))}return n=z8(t.breakpoints,n),n},_6e=ye("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>[t.root]})(T6e),S6e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiStack"}),i=J1(r),{component:o="div",direction:a="column",spacing:s=0,divider:l,children:c}=i,d=$e(i,y6e);return E(_6e,P({as:o,ownerState:{direction:a,spacing:s},ref:n},d,{children:l?b6e(c,l):c}))}),Wi=S6e,Y3=T.exports.createContext({}),B1=({children:e,...t})=>E(Oe,{sx:{px:20,mt:20},children:E(Y3.Provider,{value:t,children:e})});B1.displayName="Section";const Jf=xt(({children:e})=>{const{active:t,disabled:n}=T.exports.useContext(Y3);return te(Oe,{sx:r=>({marginInlineStart:10,mt:10,px:15,pt:6,pb:16,borderLeft:t?`1px dashed ${r.palette.primary.main}`:"none",borderLeftColor:n?"background.surface1":void 0,position:"relative","::before":n&&{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,opacity:.65,bgcolor:"white",zIndex:10}}),children:[t&&E(Zs,{sx:{position:"absolute",bottom:0,left:0,color:n?"background.surface1":"primary.main",transform:r=>r.direction==="ltr"?"rotate(-90deg) translate(-50%, -50%)":"rotate(-90deg) translate(50%, 50%)",width:20,height:20,zIndex:20},children:E(uV,{})}),e]})}),ep=({title:e,icon:t})=>{const{disabled:n}=T.exports.useContext(Y3);return te(Wi,{direction:"row",spacing:10,alignItems:"center",children:[E(Zs,{sx:{color:n?"background.surface2":"primary.main",fontSize:25,height:25,width:25},viewBox:"0 0 25 25",children:E(t,{fontSize:"inherit"})}),E(nt,{fontWeight:500,fontSize:14,lineHeight:16/14,color:n?"background.surface1":"text.primaryLight",children:e})]})},Ib=Pt.GettingToPage,x6e=Ib.Labels.ShowRoute,C6e=Ib.Labels.ProceedToAppointment,w6e=Ib.Messages.FirstReportAt,Od=Ib.Messages.LocationPrompts,cV=xt(()=>{var L,H,j,Y,K,Z,ne,oe,z,Q,J,M,B,Pe;const{appointments:e,queryParams:t,destinations:n,buildings:r}=T.exports.useContext(gt),i=ig(),o=Dn(),a=e.settings,s=(L=r.building)==null?void 0:L.signageEnabled,l=ae.get((H=r.building)==null?void 0:H.signagePrefix,t.params.routeLang||"en",""),c=T.exports.useMemo(()=>{var pe,me;return(me=(pe=i.pathname.match(new RegExp("^(?<theme>\\/modern|\\/classic)")))==null?void 0:pe.groups)==null?void 0:me.theme},[i.pathname]),d=(j=e.settings)!=null&&j.directAccess||(Y=e.settings)==null?void 0:Y.firstReport,p=e.suggestedEntrance,h=d||(a==null?void 0:a.destination),m=t.params.skipRegisterFirst,v=T.exports.useCallback(pe=>[l,pe].filter(ae.identity).join(" "),[l]),y=$t(C6e),x=$t(Od.PreferSigns),b=$t(Od.ToDestDirect,{location:v((Z=(K=a==null?void 0:a.destination)==null?void 0:K.category)==null?void 0:Z.locationId)}),_=$t(Od.ToDestThroughReportFirst,{location:v((ne=d==null?void 0:d.category)==null?void 0:ne.locationId),destination:d==null?void 0:d.label}),S=$t(Od.ToDestAfterReportFirst,{location:v((z=(oe=a==null?void 0:a.destination)==null?void 0:oe.category)==null?void 0:z.locationId)}),C=$t(Od.AfterReportFirstInstruction),O=$t(Od.toDestWithOnlyDestLocaionId,{reportFirst:d==null?void 0:d.label,destination:v((J=(Q=a==null?void 0:a.destination)==null?void 0:Q.category)==null?void 0:J.locationId)}),A=T.exports.useMemo(()=>{var me,se,Ce;if(!s||!((se=(me=a==null?void 0:a.destination)==null?void 0:me.category)!=null&&se.locationId))return[];const pe=[x];return!d||m?pe.push(b):!m&&!((Ce=d.category)!=null&&Ce.locationId)?pe.push(O):(pe.push(_),o.nextStopPromptType===Lu.Button?pe.push(S):pe.push(C)),pe},[m,o.nextStopPromptType,s,d,x,b,_,S,C,O]),R=T.exports.useMemo(()=>{var se,Ce;const pe=!m&&d?(se=a==null?void 0:a.destination)==null?void 0:se.id:void 0,me=o.nextStopPromptType===Lu.Button;return ae.omitBy({buildingId:(Ce=t.params.buildingId)==null?void 0:Ce.toString(),nodeFrom:p==null?void 0:p.id,nodeTo:h==null?void 0:h.id,routeLang:t.params.routeLang,channel:os.AppIntScreen,followups:pe&&me?[pe]:void 0,showFollowup:pe&&!me?"true":void 0,appId:(a==null?void 0:a.id)||void 0,tidy:t.params.tidy},ae.isNil)},[d,p,h,c,o.nextStopPromptType,m,a==null?void 0:a.id]),N=T.exports.useMemo(()=>{const pe=new URL(window.location.href);pe.pathname=`${c||""}/photo-route`;const me=new URLSearchParams(R);return pe.search=me.toString(),pe},[d,p,h,c]),F=T.exports.useCallback(pe=>{N&&N&&t.setQueryParams(R),p&&n.setStartDestination(p.nodeId,p.destinationId),h&&n.setEndDestination(h.nodeId,h.destinationId),pe&&e.saveStatistics(pe)},[N,p,h,R]);return te(B1,{disabled:e.transportMode==="car"&&!e.savedParking&&e.needParking,children:[E(ep,{title:y,icon:p6e}),te(Jf,{children:[E(Oe,{sx:{paddingInlineStart:14,paddingineEnd:12,py:9,bgcolor:"background.surface4"},children:a!=null&&a.disablePhotoLink?E(nt,{lineHeight:20/14,fontSize:14,color:"text.primaryLight",children:(M=a==null?void 0:a.destination)==null?void 0:M.label}):E(Uxe,{fontWeight:500,lineHeight:20/14,fontFamily:"Roboto",sx:{cursor:"pointer"},component:GO,to:{pathname:N.pathname,search:N.search},onClick:()=>F({routeOpened:!0}),children:(B=a==null?void 0:a.destination)==null?void 0:B.label})}),!(a!=null&&a.disablePhotoLink)&&E(Dr,{variant:"contained",sx:{fontSize:13,lineHeight:15/13,textTransform:"none",py:9,mt:15},disableElevation:!0,LinkComponent:GO,to:{pathname:N.pathname,search:N.search},onClick:()=>F({routeOpened:!0}),children:E(Rt,{id:x6e})}),!m&&d&&te(Oe,{sx:{mt:18,display:"flex",alignItems:"center"},children:[E(pb,{sx:{fontSize:18}}),E(nt,{ml:12,lineHeight:16/14,color:"text.primaryLight",children:E(Rt,{id:w6e,params:{name:(Pe=a==null?void 0:a.firstReport)==null?void 0:Pe.label}})})]}),s&&A.length>0&&te(Qt,{children:[E(Za,{sx:{mt:30,mb:20}}),E(eu,{maxWidth:"sm",children:A.map((pe,me)=>te(Qt,{children:[E(sc,{components:{p:A6e},skipHtml:!1,linkTarget:"_blank",rehypePlugins:[by],children:pe},me),E("br",{})]}))})]})]})]})});cV.displayName="AppointmentSection";const A6e=ye(nt)(({theme:e})=>({paddingInlineEnd:10,color:e.palette.text.secondaryDark,textAlign:"center",lineHeight:20/14})),g5=Pt.GettingToPage.TransportModes,I6e=[{id:wi.Car,i18n:g5.Car},{id:wi.PublicTransport,i18n:g5.Public},{id:wi.Taxi,i18n:g5.Taxi},{id:wi.Bicycle,i18n:g5.Bicycle}];function dV(){const{translations:e,languages:t}=T.exports.useContext(gt),n=Dn();return T.exports.useMemo(()=>I6e.filter(i=>ae.get(n,["modalities",i.id])!==!1).map(i=>({...i,label:e.getTranslation(i.i18n)})),[t.selectedLanguage,n.modalities])}const R6e=()=>te(Qt,{children:[E("path",{d:"M10 0L0 6.18921L2.69858e-05 9.56522L10 3.43845L20 9.56522V6.18921L10 0Z"}),E("path",{d:"M11.8182 7.82611H8.18182V20H11.8182V7.82611Z"}),E("path",{d:"M16.3636 12.1739H3.63637V15.6521H16.3636V12.1739Z"})]}),Rb=Pt.GettingToPage,P6e=Rb.Headers.VisitingAddress,O6e=Rb.Labels.DrivingDirection,k6e=Rb.Messages.HowToArriveBy,N6e=Rb.Messages.AddressPlaceholder,fV=xt(()=>{var y,x,b,_;const{appointments:e,buildings:t,languages:n,translations:r}=T.exports.useContext(gt),i=dV(),o=$t(P6e),a=e.settings,s=a==null?void 0:a.address,l=((y=n.selectedLanguage)==null?void 0:y.id)||"en",c=T.exports.useMemo(()=>i.find(S=>S.id===e.transportMode),[e.transportMode,i]),d=T.exports.useMemo(()=>{var C;const S=((C=t.building)==null?void 0:C.transportInstructions)&&(c==null?void 0:c.id)&&t.building.transportInstructions[c.id];return{primary:ae.get(S,["primary",l],""),secondary:ae.get(S,["secondary",l],""),photo:ae.get(S,"photo","")}},[c,l]),p=T.exports.useMemo(()=>s&&`https://www.google.com/maps/search/?api=1&query=${s.latitude},${s.longitude}`,[s]),h=T.exports.useMemo(()=>{var C,O;const S=r.format(((C=e==null?void 0:e.address)==null?void 0:C.label)||"",{suite:(O=a==null?void 0:a.suite)!=null?O:""});return(S==null?void 0:S.split(`
`))||[]},[(x=e==null?void 0:e.address)==null?void 0:x.label]),m=a==null?void 0:a.organisation,v=((b=m==null?void 0:m.names)==null?void 0:b[l])||(m==null?void 0:m.name)||"";return te(B1,{disabled:!c,active:!!c,children:[E(ep,{title:o,icon:R6e}),te(Jf,{children:[c?te(nt,{fontSize:14,lineHeight:22/14,px:18,py:12,bgcolor:c?"background.surface4":"background.surface3",children:[v&&te(Qt,{children:[v,E("br",{})]}),(a==null?void 0:a.buildingName)&&te(Qt,{children:[a.buildingName,E("br",{})]}),h.map((S,C)=>te("span",{children:[S,E("br",{})]},C))]}):E(nt,{px:18,fontSize:13,lineHeight:20/13,color:"text.secondary",children:E(Rt,{id:N6e})}),p&&e.transportMode===wi.Car&&E(Dr,{LinkComponent:"a",href:p,target:"_blank",variant:"outlined",sx:S=>({mt:16,textTransform:"none",px:15,py:8,fontSize:14,lineHeight:16/14,boxSizing:"border-box"}),children:E(Rt,{id:O6e})}),c&&c.id!==wi.Car&&(d.primary||d.secondary)&&te(Qt,{children:[te(Oe,{sx:{mt:36,display:"flex",alignItems:"center"},children:[E(pb,{sx:{fontSize:18}}),E(nt,{ml:12,lineHeight:16/14,children:E(Rt,{id:k6e,params:{mode:c.label.toLowerCase()}})})]}),te(Oe,{mt:10,color:"text.primaryLight",bgcolor:"background.paper",px:16,py:12,children:[E(nt,{fontSize:13,lineHeight:20/13,children:E(sc,{skipHtml:!1,linkTarget:"_blank",rehypePlugins:[by],children:d.primary})}),d.photo&&E(Oe,{sx:{"& img":{display:"block",marginTop:12,width:"100%",objectFit:"contain",marginInline:"auto"}},children:E("img",{src:`/api/storages/building-${(_=t.building)==null?void 0:_.id}/download/${d.photo}`,alt:""})}),E(nt,{fontSize:13,lineHeight:20/13,mt:16,children:E(sc,{skipHtml:!1,linkTarget:"_blank",rehypePlugins:[by],children:d.secondary})})]})]})]})]})});fV.displayName="ArrivalSection";const D6e=()=>E("path",{d:"M19.5 0.5C19.1667 0.166666 18.7778 -1.0685e-07 18.3333 -1.45705e-07L10.25 -8.52372e-07L10.25 1.66667L18.3333 1.66667L18.3333 18.3333L10.25 18.3333L10.25 20L18.3333 20C18.7778 20 19.1667 19.8333 19.5 19.5C19.8333 19.1667 20 18.7778 20 18.3333L20 1.66667C20 1.22222 19.8333 0.833334 19.5 0.5ZM6.88889 13.8056L8.08333 15L12.9167 10.1667L8.02778 5.27778L6.83333 6.47222L9.66667 9.30556L9.34938e-07 9.30555L7.89233e-07 10.9722L9.72222 10.9722L6.88889 13.8056Z"});var X3={},L6e=rr.exports;Object.defineProperty(X3,"__esModule",{value:!0});var dg=X3.default=void 0,M6e=L6e(lr()),$6e=ur,F6e=(0,M6e.default)((0,$6e.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");dg=X3.default=F6e;var Q3={},B6e=rr.exports;Object.defineProperty(Q3,"__esModule",{value:!0});var pV=Q3.default=void 0,H6e=B6e(lr()),U6e=ur,z6e=(0,H6e.default)((0,U6e.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}),"Photo");pV=Q3.default=z6e;function G6e(e){return pt("MuiIconButton",e)}const W6e=mt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),j6e=W6e,V6e=["edge","children","className","color","disabled","disableFocusRipple","size"],K6e=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${Se(r)}`,i&&`edge${Se(i)}`,`size${Se(o)}`]};return Et(a,G6e,t)},q6e=ye(F1,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Se(n.color)}`],n.edge&&t[`edge${Se(n.edge)}`],t[`size${Se(n.size)}`]]}})(({theme:e,ownerState:t})=>P({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return P({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&P({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":P({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${j6e.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Y6e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:d="medium"}=r,p=$e(r,V6e),h=P({},r,{edge:i,color:s,disabled:l,disableFocusRipple:c,size:d}),m=K6e(h);return E(q6e,P({className:He(m.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,ownerState:h},p,{children:o}))}),lc=Y6e,Z3=e=>e.scrollTop;function uc(e,t){var n,r;const{timeout:i,easing:o,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:a.transitionDelay}}const X6e=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Q6e={entering:{opacity:1},entered:{opacity:1}},Z6e=T.exports.forwardRef(function(t,n){const r=Dn(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:p,onEntering:h,onExit:m,onExited:v,onExiting:y,style:x,timeout:b=i,TransitionComponent:_=mb}=t,S=$e(t,X6e),C=T.exports.useRef(null),O=Fn(C,s.ref,n),A=K=>Z=>{if(K){const ne=C.current;Z===void 0?K(ne):K(ne,Z)}},R=A(h),N=A((K,Z)=>{Z3(K);const ne=uc({style:x,timeout:b,easing:l},{mode:"enter"});K.style.webkitTransition=r.transitions.create("opacity",ne),K.style.transition=r.transitions.create("opacity",ne),d&&d(K,Z)}),F=A(p),L=A(y),H=A(K=>{const Z=uc({style:x,timeout:b,easing:l},{mode:"exit"});K.style.webkitTransition=r.transitions.create("opacity",Z),K.style.transition=r.transitions.create("opacity",Z),m&&m(K)}),j=A(v);return E(_,P({appear:a,in:c,nodeRef:C,onEnter:N,onEntered:F,onEntering:R,onExit:H,onExited:j,onExiting:L,addEndListener:K=>{o&&o(C.current,K)},timeout:b},S,{children:(K,Z)=>T.exports.cloneElement(s,P({style:P({opacity:0,visibility:K==="exited"&&!c?"hidden":void 0},Q6e[K],x,s.props.style),ref:O},Z))}))}),hV=Z6e;function J6e(e){return pt("MuiBackdrop",e)}mt("MuiBackdrop",["root","invisible"]);const ewe=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],twe=e=>{const{classes:t,invisible:n}=e;return Et({root:["root",n&&"invisible"]},J6e,t)},nwe=ye("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>P({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),rwe=T.exports.forwardRef(function(t,n){var r,i,o;const a=St({props:t,name:"MuiBackdrop"}),{children:s,component:l="div",components:c={},componentsProps:d={},className:p,invisible:h=!1,open:m,slotProps:v={},slots:y={},transitionDuration:x,TransitionComponent:b=hV}=a,_=$e(a,ewe),S=P({},a,{component:l,invisible:h}),C=twe(S),O=(r=v.root)!=null?r:d.root;return E(b,P({in:m,timeout:x},_,{children:E(nwe,P({"aria-hidden":!0},O,{as:(i=(o=y.root)!=null?o:c.Root)!=null?i:l,className:He(C.root,p,O==null?void 0:O.className),ownerState:P({},S,O==null?void 0:O.ownerState),classes:C,ref:n,children:s}))}))}),J3=rwe,iwe=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],owe=e=>e.classes,awe=ye("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>P({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),swe=ye(J3,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),lwe=T.exports.forwardRef(function(t,n){var r,i,o,a,s,l;const c=St({name:"MuiModal",props:t}),{BackdropComponent:d=swe,BackdropProps:p,closeAfterTransition:h=!1,children:m,component:v,components:y={},componentsProps:x={},disableAutoFocus:b=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:S=!1,disablePortal:C=!1,disableRestoreFocus:O=!1,disableScrollLock:A=!1,hideBackdrop:R=!1,keepMounted:N=!1,slotProps:F,slots:L,theme:H}=c,j=$e(c,iwe),[Y,K]=T.exports.useState(!0),Z={closeAfterTransition:h,disableAutoFocus:b,disableEnforceFocus:_,disableEscapeKeyDown:S,disablePortal:C,disableRestoreFocus:O,disableScrollLock:A,hideBackdrop:R,keepMounted:N},ne=P({},c,Z,{exited:Y}),oe=owe(ne),z=(r=(i=L==null?void 0:L.root)!=null?i:y.Root)!=null?r:awe,Q=(o=(a=L==null?void 0:L.backdrop)!=null?a:y.Backdrop)!=null?o:d,J=(s=F==null?void 0:F.root)!=null?s:x.root,M=(l=F==null?void 0:F.backdrop)!=null?l:x.backdrop;return E(Ybe,P({slots:{root:z,backdrop:Q},slotProps:{root:()=>P({},hx(J,ne),!Vs(z)&&{as:v,theme:H}),backdrop:()=>P({},p,hx(M,ne))},onTransitionEnter:()=>K(!1),onTransitionExited:()=>K(!0),ref:n},j,{classes:oe},Z,{children:m}))}),Pb=lwe,mV=({imgSrc:e,title:t})=>{const[n,r]=T.exports.useState(!1);return E(Qt,{children:te(Oe,{sx:{mt:11,paddingInlineStart:14,paddingInlineEnd:12,paddingTop:10,paddingBottom:9,bgcolor:"background.surface3",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[E(nt,{lineHeight:20/14,fontSize:14,color:"text.primaryLight",children:t}),e&&te(Qt,{children:[E(lc,{onClick:()=>r(!0),sx:{p:0},children:E(Zs,{color:"primary",viewBox:"0 0 20 20",sx:{height:20,width:20},children:E(pV,{})})}),E(Pb,{open:n,onClose:()=>r(!1),children:te(Oe,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:20,boxShadow:20,bgcolor:"background.paper",borderRadius:1},children:[te(Wi,{direction:"row",alignItems:"center",justifyContent:"space-between",mb:13,children:[E(nt,{fontSize:16,lineHeight:22/16,fontWeight:500,color:"text.primaryLight",children:t}),E(lc,{sx:{p:0},onClick:()=>r(!1),children:E(dg,{sx:{fontSize:20,color:"text.primaryLight"}})})]}),E("img",{style:{display:"block",width:"100%",maxWidth:400,minWidth:300},src:e,alt:t})]})})]})]})})},gV=xt(()=>{var s,l;const{appointments:e}=T.exports.useContext(gt),t=$t(Pt.GettingToPage.Headers.EnterAt),n=$t(Pt.GettingToPage.Headers.DroppOffPoint),r=e.settings,i=e.suggestedEntrance,o=e.transportMode,a=e.needParking;return te(B1,{active:!0,disabled:o===wi.Car&&!e.savedParking&&a,children:[E(ep,{title:o===wi.Taxi||o===wi.Car&&!a?n:t,icon:D6e}),E(Jf,{children:E(mV,{imgSrc:((s=i==null?void 0:i.node.photo)==null?void 0:s.file)&&`/api/Storages/building-${r==null?void 0:r.buildingId}/download/${(l=i==null?void 0:i.node.photo)==null?void 0:l.file}`,title:(i==null?void 0:i.label)||"-"})})]})});gV.displayName="EntranceSection";function Rp({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const uwe=T.exports.createContext(void 0),Ob=uwe;function Cc(){return T.exports.useContext(Ob)}function cwe(e){return E(cm,P({},e,{defaultTheme:X2}))}function wD(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function e6(e,t=!1){return e&&(wD(e.value)&&e.value!==""||t&&wD(e.defaultValue)&&e.defaultValue!=="")}function dwe(e){return e.startAdornment}function fwe(e){return pt("MuiInputBase",e)}const pwe=mt("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Bs=pwe,hwe=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],kb=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Se(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Nb=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},mwe=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:d,readOnly:p,size:h,startAdornment:m,type:v}=e,y={root:["root",`color${Se(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",h==="small"&&"sizeSmall",d&&"multiline",m&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",d&&"inputMultiline",h==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",o&&"inputAdornedEnd",p&&"readOnly"]};return Et(y,fwe,t)},Db=ye("div",{name:"MuiInputBase",slot:"Root",overridesResolver:kb})(({theme:e,ownerState:t})=>P({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Bs.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&P({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Lb=ye("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Nb})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=P({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return P({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Bs.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Bs.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),gwe=E(cwe,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),vwe=T.exports.forwardRef(function(t,n){var r;const i=St({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:d={},defaultValue:p,disabled:h,disableInjectingGlobalStyles:m,endAdornment:v,fullWidth:y=!1,id:x,inputComponent:b="input",inputProps:_={},inputRef:S,maxRows:C,minRows:O,multiline:A=!1,name:R,onBlur:N,onChange:F,onClick:L,onFocus:H,onKeyDown:j,onKeyUp:Y,placeholder:K,readOnly:Z,renderSuffix:ne,rows:oe,slotProps:z={},slots:Q={},startAdornment:J,type:M="text",value:B}=i,Pe=$e(i,hwe),pe=_.value!=null?_.value:B,{current:me}=T.exports.useRef(pe!=null),se=T.exports.useRef(),Ce=T.exports.useCallback(U=>{},[]),ke=Fn(se,S,_.ref,Ce),[Ee,Qe]=T.exports.useState(!1),Re=Cc(),tt=Rp({props:i,muiFormControl:Re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tt.focused=Re?Re.focused:Ee,T.exports.useEffect(()=>{!Re&&h&&Ee&&(Qe(!1),N&&N())},[Re,h,Ee,N]);const ut=Re&&Re.onFilled,rt=Re&&Re.onEmpty,Fe=T.exports.useCallback(U=>{e6(U)?ut&&ut():rt&&rt()},[ut,rt]);Wo(()=>{me&&Fe({value:pe})},[pe,Fe,me]);const Bt=U=>{if(tt.disabled){U.stopPropagation();return}H&&H(U),_.onFocus&&_.onFocus(U),Re&&Re.onFocus?Re.onFocus(U):Qe(!0)},je=U=>{N&&N(U),_.onBlur&&_.onBlur(U),Re&&Re.onBlur?Re.onBlur(U):Qe(!1)},ie=(U,...V)=>{if(!me){const fe=U.target||se.current;if(fe==null)throw new Error(Wl(1));Fe({value:fe.value})}_.onChange&&_.onChange(U,...V),F&&F(U,...V)};T.exports.useEffect(()=>{Fe(se.current)},[]);const ce=U=>{se.current&&U.currentTarget===U.target&&se.current.focus(),L&&L(U)};let he=b,Ae=_;A&&he==="input"&&(oe?Ae=P({type:void 0,minRows:oe,maxRows:oe},Ae):Ae=P({type:void 0,maxRows:C,minRows:O},Ae),he=p4e);const Ge=U=>{Fe(U.animationName==="mui-auto-fill-cancel"?se.current:{value:"x"})};T.exports.useEffect(()=>{Re&&Re.setAdornedStart(Boolean(J))},[Re,J]);const Xe=P({},i,{color:tt.color||"primary",disabled:tt.disabled,endAdornment:v,error:tt.error,focused:tt.focused,formControl:Re,fullWidth:y,hiddenLabel:tt.hiddenLabel,multiline:A,size:tt.size,startAdornment:J,type:M}),ue=mwe(Xe),ve=Q.root||c.Root||Db,De=z.root||d.root||{},Le=Q.input||c.Input||Lb;return Ae=P({},Ae,(r=z.input)!=null?r:d.input),te(T.exports.Fragment,{children:[!m&&gwe,te(ve,P({},De,!Vs(ve)&&{ownerState:P({},Xe,De.ownerState)},{ref:n,onClick:ce},Pe,{className:He(ue.root,De.className,l),children:[J,E(Ob.Provider,{value:null,children:E(Le,P({ownerState:Xe,"aria-invalid":tt.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:p,disabled:tt.disabled,id:x,onAnimationStart:Ge,name:R,placeholder:K,readOnly:Z,required:tt.required,rows:oe,value:pe,onKeyDown:j,onKeyUp:Y,type:M},Ae,!Vs(Le)&&{as:he,ownerState:P({},Xe,Ae.ownerState)},{ref:ke,className:He(ue.input,Ae.className),onBlur:je,onChange:ie,onFocus:Bt}))}),v,ne?ne(P({},tt,{startAdornment:J})):null]}))]})}),t6=vwe;function ywe(e){return pt("MuiFilledInput",e)}const bwe=P({},Bs,mt("MuiFilledInput",["root","underline","input"])),ks=bwe,Ewe=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Twe=e=>{const{classes:t,disableUnderline:n}=e,i=Et({root:["root",!n&&"underline"],input:["input"]},ywe,t);return P({},t,i)},_we=ye(Db,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...kb(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return P({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${ks.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${ks.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ks.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ks.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ks.disabled}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ks.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&P({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),Swe=ye(Lb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Nb})(({theme:e,ownerState:t})=>P({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),vV=T.exports.forwardRef(function(t,n){var r,i,o,a;const s=St({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:d=!1,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:v={},type:y="text"}=s,x=$e(s,Ewe),b=P({},s,{fullWidth:d,inputComponent:p,multiline:h,type:y}),_=Twe(s),S={root:{ownerState:b},input:{ownerState:b}},C=(m!=null?m:c)?Ai(m!=null?m:c,S):S,O=(r=(i=v.root)!=null?i:l.Root)!=null?r:_we,A=(o=(a=v.input)!=null?a:l.Input)!=null?o:Swe;return E(t6,P({slots:{root:O,input:A},componentsProps:C,fullWidth:d,inputComponent:p,multiline:h,ref:n,type:y},x,{classes:_}))});vV.muiName="Input";const n6=vV;function xwe(e){return pt("MuiListItemIcon",e)}const Cwe=mt("MuiListItemIcon",["root","alignItemsFlexStart"]),AD=Cwe,wwe=T.exports.createContext({}),Ml=wwe,Awe=["className"],Iwe=e=>{const{alignItems:t,classes:n}=e;return Et({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},xwe,n)},Rwe=ye("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>P({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),Pwe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiListItemIcon"}),{className:i}=r,o=$e(r,Awe),a=T.exports.useContext(Ml),s=P({},r,{alignItems:a.alignItems}),l=Iwe(s);return E(Rwe,P({className:He(l.root,i),ownerState:s,ref:n},o))}),Owe=Pwe;function kwe(e){return pt("MuiListItemText",e)}const Nwe=mt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ty=Nwe,Dwe=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Lwe=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e;return Et({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},kwe,t)},Mwe=ye("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ty.primary}`]:t.primary},{[`& .${Ty.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>P({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),$we=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:d,secondaryTypographyProps:p}=r,h=$e(r,Dwe),{dense:m}=T.exports.useContext(Ml);let v=l!=null?l:i,y=d;const x=P({},r,{disableTypography:a,inset:s,primary:!!v,secondary:!!y,dense:m}),b=Lwe(x);return v!=null&&v.type!==nt&&!a&&(v=E(nt,P({variant:m?"body2":"body1",className:b.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:v}))),y!=null&&y.type!==nt&&!a&&(y=E(nt,P({variant:"body2",className:b.secondary,color:"text.secondary",display:"block"},p,{children:y}))),te(Mwe,P({className:He(b.root,o),ownerState:x,ref:n},h,{children:[v,y]}))}),Fwe=$we;function Bwe(e){return pt("MuiMenuItem",e)}const Hwe=mt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),_h=Hwe,Uwe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],zwe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Gwe=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:a}=e,l=Et({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},Bwe,a);return P({},a,l)},Wwe=ye(F1,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:zwe})(({theme:e,ownerState:t})=>P({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_h.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_h.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_h.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${_h.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_h.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${zN.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${zN.inset}`]:{marginLeft:52},[`& .${Ty.root}`]:{marginTop:0,marginBottom:0},[`& .${Ty.inset}`]:{paddingLeft:36},[`& .${AD.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&P({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${AD.root} svg`]:{fontSize:"1.25rem"}}))),jwe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:p,className:h}=r,m=$e(r,Uwe),v=T.exports.useContext(Ml),y=T.exports.useMemo(()=>({dense:a||v.dense||!1,disableGutters:l}),[v.dense,a,l]),x=T.exports.useRef(null);Wo(()=>{i&&x.current&&x.current.focus()},[i]);const b=P({},r,{dense:y.dense,divider:s,disableGutters:l}),_=Gwe(r),S=Fn(x,n);let C;return r.disabled||(C=p!==void 0?p:-1),E(Ml.Provider,{value:y,children:E(Wwe,P({ref:S,role:d,tabIndex:C,component:o,focusVisibleClassName:He(_.focusVisible,c),className:He(_.root,h)},m,{ownerState:b,classes:_}))})}),Vwe=jwe;var Kwe={exports:{}},In={};/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r6=Symbol.for("react.element"),i6=Symbol.for("react.portal"),Mb=Symbol.for("react.fragment"),$b=Symbol.for("react.strict_mode"),Fb=Symbol.for("react.profiler"),Bb=Symbol.for("react.provider"),Hb=Symbol.for("react.context"),qwe=Symbol.for("react.server_context"),Ub=Symbol.for("react.forward_ref"),zb=Symbol.for("react.suspense"),Gb=Symbol.for("react.suspense_list"),Wb=Symbol.for("react.memo"),jb=Symbol.for("react.lazy"),Ywe=Symbol.for("react.offscreen"),yV;yV=Symbol.for("react.module.reference");function Ma(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case r6:switch(e=e.type,e){case Mb:case Fb:case $b:case zb:case Gb:return e;default:switch(e=e&&e.$$typeof,e){case qwe:case Hb:case Ub:case jb:case Wb:case Bb:return e;default:return t}}case i6:return t}}}In.ContextConsumer=Hb;In.ContextProvider=Bb;In.Element=r6;In.ForwardRef=Ub;In.Fragment=Mb;In.Lazy=jb;In.Memo=Wb;In.Portal=i6;In.Profiler=Fb;In.StrictMode=$b;In.Suspense=zb;In.SuspenseList=Gb;In.isAsyncMode=function(){return!1};In.isConcurrentMode=function(){return!1};In.isContextConsumer=function(e){return Ma(e)===Hb};In.isContextProvider=function(e){return Ma(e)===Bb};In.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===r6};In.isForwardRef=function(e){return Ma(e)===Ub};In.isFragment=function(e){return Ma(e)===Mb};In.isLazy=function(e){return Ma(e)===jb};In.isMemo=function(e){return Ma(e)===Wb};In.isPortal=function(e){return Ma(e)===i6};In.isProfiler=function(e){return Ma(e)===Fb};In.isStrictMode=function(e){return Ma(e)===$b};In.isSuspense=function(e){return Ma(e)===zb};In.isSuspenseList=function(e){return Ma(e)===Gb};In.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Mb||e===Fb||e===$b||e===zb||e===Gb||e===Ywe||typeof e=="object"&&e!==null&&(e.$$typeof===jb||e.$$typeof===Wb||e.$$typeof===Bb||e.$$typeof===Hb||e.$$typeof===Ub||e.$$typeof===yV||e.getModuleId!==void 0)};In.typeOf=Ma;(function(e){e.exports=In})(Kwe);function Xwe(e){return pt("MuiList",e)}mt("MuiList",["root","padding","dense","subheader"]);const Qwe=["children","className","component","dense","disablePadding","subheader"],Zwe=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Et({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},Xwe,t)},Jwe=ye("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>P({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),e7e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,d=$e(r,Qwe),p=T.exports.useMemo(()=>({dense:s}),[s]),h=P({},r,{component:a,dense:s,disablePadding:l}),m=Zwe(h);return E(Ml.Provider,{value:p,children:te(Jwe,P({as:a,className:He(m.root,o),ref:n,ownerState:h},d,{children:[c,i]}))})}),t7e=e7e,n7e=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ZT(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ID(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function bV(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function Sh(e,t,n,r,i,o){let a=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!bV(s,o)||l)s=i(e,s,n);else return s.focus(),!0}return!1}const r7e=T.exports.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:p="selectedMenu"}=t,h=$e(t,n7e),m=T.exports.useRef(null),v=T.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wo(()=>{i&&m.current.focus()},[i]),T.exports.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(S,C)=>{const O=!m.current.style.width;if(S.clientHeight<m.current.clientHeight&&O){const A=`${Nz(Tr(S))}px`;m.current.style[C.direction==="rtl"?"paddingLeft":"paddingRight"]=A,m.current.style.width=`calc(100% + ${A})`}return m.current}}),[]);const y=S=>{const C=m.current,O=S.key,A=Tr(C).activeElement;if(O==="ArrowDown")S.preventDefault(),Sh(C,A,c,l,ZT);else if(O==="ArrowUp")S.preventDefault(),Sh(C,A,c,l,ID);else if(O==="Home")S.preventDefault(),Sh(C,null,c,l,ZT);else if(O==="End")S.preventDefault(),Sh(C,null,c,l,ID);else if(O.length===1){const R=v.current,N=O.toLowerCase(),F=performance.now();R.keys.length>0&&(F-R.lastTime>500?(R.keys=[],R.repeating=!0,R.previousKeyMatched=!0):R.repeating&&N!==R.keys[0]&&(R.repeating=!1)),R.lastTime=F,R.keys.push(N);const L=A&&!R.repeating&&bV(A,R);R.previousKeyMatched&&(L||Sh(C,A,!1,l,ZT,R))?S.preventDefault():R.previousKeyMatched=!1}d&&d(S)},x=Fn(m,n);let b=-1;T.exports.Children.forEach(a,(S,C)=>{!T.exports.isValidElement(S)||S.props.disabled||(p==="selectedMenu"&&S.props.selected||b===-1)&&(b=C)});const _=T.exports.Children.map(a,(S,C)=>{if(C===b){const O={};return o&&(O.autoFocus=!0),S.props.tabIndex===void 0&&p==="selectedMenu"&&(O.tabIndex=0),T.exports.cloneElement(S,O)}return S});return E(t7e,P({role:"menu",ref:x,className:s,onKeyDown:y,tabIndex:i?0:-1},h,{children:_}))}),i7e=r7e;function o7e(e){return pt("MuiPaper",e)}mt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const a7e=["className","component","elevation","square","variant"],s7e=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Et(o,o7e,i)},l7e=ye("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return P({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&P({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Yt("#fff",EO(t.elevation))}, ${Yt("#fff",EO(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),u7e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,c=$e(r,a7e),d=P({},r,{component:o,elevation:a,square:s,variant:l}),p=s7e(d);return E(l7e,P({as:o,ownerState:d,className:He(p.root,i),ref:n},c))}),ru=u7e,c7e=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Nx(e){return`scale(${e}, ${e**2})`}const d7e={entering:{opacity:1,transform:Nx(1)},entered:{opacity:1,transform:"none"}},JT=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),EV=T.exports.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:c,onEntering:d,onExit:p,onExited:h,onExiting:m,style:v,timeout:y="auto",TransitionComponent:x=mb}=t,b=$e(t,c7e),_=T.exports.useRef(),S=T.exports.useRef(),C=Dn(),O=T.exports.useRef(null),A=Fn(O,o.ref,n),R=Z=>ne=>{if(Z){const oe=O.current;ne===void 0?Z(oe):Z(oe,ne)}},N=R(d),F=R((Z,ne)=>{Z3(Z);const{duration:oe,delay:z,easing:Q}=uc({style:v,timeout:y,easing:a},{mode:"enter"});let J;y==="auto"?(J=C.transitions.getAutoHeightDuration(Z.clientHeight),S.current=J):J=oe,Z.style.transition=[C.transitions.create("opacity",{duration:J,delay:z}),C.transitions.create("transform",{duration:JT?J:J*.666,delay:z,easing:Q})].join(","),l&&l(Z,ne)}),L=R(c),H=R(m),j=R(Z=>{const{duration:ne,delay:oe,easing:z}=uc({style:v,timeout:y,easing:a},{mode:"exit"});let Q;y==="auto"?(Q=C.transitions.getAutoHeightDuration(Z.clientHeight),S.current=Q):Q=ne,Z.style.transition=[C.transitions.create("opacity",{duration:Q,delay:oe}),C.transitions.create("transform",{duration:JT?Q:Q*.666,delay:JT?oe:oe||Q*.333,easing:z})].join(","),Z.style.opacity=0,Z.style.transform=Nx(.75),p&&p(Z)}),Y=R(h),K=Z=>{y==="auto"&&(_.current=setTimeout(Z,S.current||0)),r&&r(O.current,Z)};return T.exports.useEffect(()=>()=>{clearTimeout(_.current)},[]),E(x,P({appear:i,in:s,nodeRef:O,onEnter:F,onEntered:L,onEntering:N,onExit:j,onExited:Y,onExiting:H,addEndListener:K,timeout:y==="auto"?null:y},b,{children:(Z,ne)=>T.exports.cloneElement(o,P({style:P({opacity:0,transform:Nx(.75),visibility:Z==="exited"&&!s?"hidden":void 0},d7e[Z],v,o.props.style),ref:A},ne))}))});EV.muiSupportAuto=!0;const f0=EV;function f7e(e){return pt("MuiPopover",e)}mt("MuiPopover",["root","paper"]);const p7e=["onEntering"],h7e=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function RD(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function PD(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function OD(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function e_(e){return typeof e=="function"?e():e}const m7e=e=>{const{classes:t}=e;return Et({root:["root"],paper:["paper"]},f7e,t)},g7e=ye(Pb,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),v7e=ye(ru,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),y7e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:d,container:p,elevation:h=8,marginThreshold:m=16,open:v,PaperProps:y={},transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:b=f0,transitionDuration:_="auto",TransitionProps:{onEntering:S}={}}=r,C=$e(r.TransitionProps,p7e),O=$e(r,h7e),A=T.exports.useRef(),R=Fn(A,y.ref),N=P({},r,{anchorOrigin:a,anchorReference:l,elevation:h,marginThreshold:m,PaperProps:y,transformOrigin:x,TransitionComponent:b,transitionDuration:_,TransitionProps:C}),F=m7e(N),L=T.exports.useCallback(()=>{if(l==="anchorPosition")return s;const J=e_(o),B=(J&&J.nodeType===1?J:Tr(A.current).body).getBoundingClientRect();return{top:B.top+RD(B,a.vertical),left:B.left+PD(B,a.horizontal)}},[o,a.horizontal,a.vertical,s,l]),H=T.exports.useCallback(J=>({vertical:RD(J,x.vertical),horizontal:PD(J,x.horizontal)}),[x.horizontal,x.vertical]),j=T.exports.useCallback(J=>{const M={width:J.offsetWidth,height:J.offsetHeight},B=H(M);if(l==="none")return{top:null,left:null,transformOrigin:OD(B)};const Pe=L();let pe=Pe.top-B.vertical,me=Pe.left-B.horizontal;const se=pe+M.height,Ce=me+M.width,ke=Ys(e_(o)),Ee=ke.innerHeight-m,Qe=ke.innerWidth-m;if(pe<m){const Re=pe-m;pe-=Re,B.vertical+=Re}else if(se>Ee){const Re=se-Ee;pe-=Re,B.vertical+=Re}if(me<m){const Re=me-m;me-=Re,B.horizontal+=Re}else if(Ce>Qe){const Re=Ce-Qe;me-=Re,B.horizontal+=Re}return{top:`${Math.round(pe)}px`,left:`${Math.round(me)}px`,transformOrigin:OD(B)}},[o,l,L,H,m]),[Y,K]=T.exports.useState(v),Z=T.exports.useCallback(()=>{const J=A.current;if(!J)return;const M=j(J);M.top!==null&&(J.style.top=M.top),M.left!==null&&(J.style.left=M.left),J.style.transformOrigin=M.transformOrigin,K(!0)},[j]),ne=(J,M)=>{S&&S(J,M),Z()},oe=()=>{K(!1)};T.exports.useEffect(()=>{v&&Z()}),T.exports.useImperativeHandle(i,()=>v?{updatePosition:()=>{Z()}}:null,[v,Z]),T.exports.useEffect(()=>{if(!v)return;const J=U2(()=>{Z()}),M=Ys(o);return M.addEventListener("resize",J),()=>{J.clear(),M.removeEventListener("resize",J)}},[o,v,Z]);let z=_;_==="auto"&&!b.muiSupportAuto&&(z=void 0);const Q=p||(o?Tr(e_(o)).body:void 0);return E(g7e,P({BackdropProps:{invisible:!0},className:He(F.root,d),container:Q,open:v,ref:n,ownerState:N},O,{children:E(b,P({appear:!0,in:v,onEntering:ne,onExited:oe,timeout:z},C,{children:E(v7e,P({elevation:h},y,{ref:R,className:He(F.paper,y.className)},Y?void 0:{style:P({},y.style,{opacity:0})},{ownerState:N,children:c}))}))}))}),b7e=y7e;function E7e(e){return pt("MuiMenu",e)}mt("MuiMenu",["root","paper","list"]);const T7e=["onEntering"],_7e=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],S7e={vertical:"top",horizontal:"right"},x7e={vertical:"top",horizontal:"left"},C7e=e=>{const{classes:t}=e;return Et({root:["root"],paper:["paper"],list:["list"]},E7e,t)},w7e=ye(b7e,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),A7e=ye(ru,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),I7e=ye(i7e,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),R7e=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:o,disableAutoFocusItem:a=!1,MenuListProps:s={},onClose:l,open:c,PaperProps:d={},PopoverClasses:p,transitionDuration:h="auto",TransitionProps:{onEntering:m}={},variant:v="selectedMenu"}=r,y=$e(r.TransitionProps,T7e),x=$e(r,_7e),b=Dn(),_=b.direction==="rtl",S=P({},r,{autoFocus:i,disableAutoFocusItem:a,MenuListProps:s,onEntering:m,PaperProps:d,transitionDuration:h,TransitionProps:y,variant:v}),C=C7e(S),O=i&&!a&&c,A=T.exports.useRef(null),R=(L,H)=>{A.current&&A.current.adjustStyleForScrollbar(L,b),m&&m(L,H)},N=L=>{L.key==="Tab"&&(L.preventDefault(),l&&l(L,"tabKeyDown"))};let F=-1;return T.exports.Children.map(o,(L,H)=>{!T.exports.isValidElement(L)||L.props.disabled||(v==="selectedMenu"&&L.props.selected||F===-1)&&(F=H)}),E(w7e,P({classes:p,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?S7e:x7e,PaperProps:P({component:A7e},d,{classes:P({},d.classes,{root:C.paper})}),className:C.root,open:c,ref:n,transitionDuration:h,TransitionProps:P({onEntering:R},y),ownerState:S},x,{children:E(I7e,P({onKeyDown:N,actions:A,autoFocus:i&&(F===-1||a),autoFocusItem:O,variant:v},s,{className:He(C.list,s.className),children:o}))}))}),P7e=R7e;function O7e(e){return pt("MuiNativeSelect",e)}const k7e=mt("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),o6=k7e,N7e=["className","disabled","IconComponent","inputRef","variant"],D7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o}=e,a={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${Se(n)}`,o&&"iconOpen",r&&"disabled"]};return Et(a,O7e,t)},TV=({ownerState:e,theme:t})=>P({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":P({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${o6.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),L7e=ye("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:fs,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${o6.multiple}`]:t.multiple}]}})(TV),_V=({ownerState:e,theme:t})=>P({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${o6.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),M7e=ye("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Se(n.variant)}`],n.open&&t.iconOpen]}})(_V),$7e=T.exports.forwardRef(function(t,n){const{className:r,disabled:i,IconComponent:o,inputRef:a,variant:s="standard"}=t,l=$e(t,N7e),c=P({},t,{disabled:i,variant:s}),d=D7e(c);return te(T.exports.Fragment,{children:[E(L7e,P({ownerState:c,className:He(d.select,r),disabled:i,ref:a||n},l)),t.multiple?null:E(M7e,{as:o,ownerState:c,className:d.icon})]})}),F7e=$7e;function B7e(e){return pt("MuiSelect",e)}const H7e=mt("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),v5=H7e;var kD;const U7e=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],z7e=ye("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${v5.select}`]:t.select},{[`&.${v5.select}`]:t[n.variant]},{[`&.${v5.multiple}`]:t.multiple}]}})(TV,{[`&.${v5.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),G7e=ye("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Se(n.variant)}`],n.open&&t.iconOpen]}})(_V),W7e=ye("input",{shouldForwardProp:e=>p3(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ND(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function j7e(e){return e==null||typeof e=="string"&&!e.trim()}const V7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o}=e,a={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${Se(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Et(a,B7e,t)},K7e=T.exports.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:o,autoWidth:a,children:s,className:l,defaultOpen:c,defaultValue:d,disabled:p,displayEmpty:h,IconComponent:m,inputRef:v,labelId:y,MenuProps:x={},multiple:b,name:_,onBlur:S,onChange:C,onClose:O,onFocus:A,onOpen:R,open:N,readOnly:F,renderValue:L,SelectDisplayProps:H={},tabIndex:j,value:Y,variant:K="standard"}=t,Z=$e(t,U7e),[ne,oe]=Dl({controlled:Y,default:d,name:"Select"}),[z,Q]=Dl({controlled:N,default:c,name:"Select"}),J=T.exports.useRef(null),M=T.exports.useRef(null),[B,Pe]=T.exports.useState(null),{current:pe}=T.exports.useRef(N!=null),[me,se]=T.exports.useState(),Ce=Fn(n,v),ke=T.exports.useCallback(U=>{M.current=U,U&&Pe(U)},[]);T.exports.useImperativeHandle(Ce,()=>({focus:()=>{M.current.focus()},node:J.current,value:ne}),[ne]),T.exports.useEffect(()=>{c&&z&&B&&!pe&&(se(a?null:B.clientWidth),M.current.focus())},[B,a]),T.exports.useEffect(()=>{o&&M.current.focus()},[o]),T.exports.useEffect(()=>{if(!y)return;const U=Tr(M.current).getElementById(y);if(U){const V=()=>{getSelection().isCollapsed&&M.current.focus()};return U.addEventListener("click",V),()=>{U.removeEventListener("click",V)}}},[y]);const Ee=(U,V)=>{U?R&&R(V):O&&O(V),pe||(se(a?null:B.clientWidth),Q(U))},Qe=U=>{U.button===0&&(U.preventDefault(),M.current.focus(),Ee(!0,U))},Re=U=>{Ee(!1,U)},tt=T.exports.Children.toArray(s),ut=U=>{const V=tt.map(de=>de.props.value).indexOf(U.target.value);if(V===-1)return;const fe=tt[V];oe(fe.props.value),C&&C(U,fe)},rt=U=>V=>{let fe;if(!!V.currentTarget.hasAttribute("tabindex")){if(b){fe=Array.isArray(ne)?ne.slice():[];const de=ne.indexOf(U.props.value);de===-1?fe.push(U.props.value):fe.splice(de,1)}else fe=U.props.value;if(U.props.onClick&&U.props.onClick(V),ne!==fe&&(oe(fe),C)){const de=V.nativeEvent||V,Ve=new de.constructor(de.type,de);Object.defineProperty(Ve,"target",{writable:!0,value:{value:fe,name:_}}),C(Ve,U)}b||Ee(!1,V)}},Fe=U=>{F||[" ","ArrowUp","ArrowDown","Enter"].indexOf(U.key)!==-1&&(U.preventDefault(),Ee(!0,U))},Bt=B!==null&&z,je=U=>{!Bt&&S&&(Object.defineProperty(U,"target",{writable:!0,value:{value:ne,name:_}}),S(U))};delete Z["aria-invalid"];let ie,ce;const he=[];let Ae=!1;(e6({value:ne})||h)&&(L?ie=L(ne):Ae=!0);const Ge=tt.map((U,V,fe)=>{if(!T.exports.isValidElement(U))return null;let de;if(b){if(!Array.isArray(ne))throw new Error(Wl(2));de=ne.some(qe=>ND(qe,U.props.value)),de&&Ae&&he.push(U.props.children)}else de=ND(ne,U.props.value),de&&Ae&&(ce=U.props.children);if(U.props.value===void 0)return T.exports.cloneElement(U,{"aria-readonly":!0,role:"option"});const Ve=()=>{if(ne)return de;const qe=fe.find(Je=>Je.props.value!==void 0&&Je.props.disabled!==!0);return U===qe?!0:de};return T.exports.cloneElement(U,{"aria-selected":de?"true":"false",onClick:rt(U),onKeyUp:qe=>{qe.key===" "&&qe.preventDefault(),U.props.onKeyUp&&U.props.onKeyUp(qe)},role:"option",selected:fe[0].props.value===void 0||fe[0].props.disabled===!0?Ve():de,value:void 0,"data-value":U.props.value})});Ae&&(b?he.length===0?ie=null:ie=he.reduce((U,V,fe)=>(U.push(V),fe<he.length-1&&U.push(", "),U),[]):ie=ce);let Xe=me;!a&&pe&&B&&(Xe=B.clientWidth);let ue;typeof j<"u"?ue=j:ue=p?null:0;const ve=H.id||(_?`mui-component-select-${_}`:void 0),De=P({},t,{variant:K,value:ne,open:Bt}),Le=V7e(De);return te(T.exports.Fragment,{children:[E(z7e,P({ref:ke,tabIndex:ue,role:"button","aria-disabled":p?"true":void 0,"aria-expanded":Bt?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[y,ve].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Fe,onMouseDown:p||F?null:Qe,onBlur:je,onFocus:A},H,{ownerState:De,className:He(H.className,Le.select,l),id:ve,children:j7e(ie)?kD||(kD=E("span",{className:"notranslate",children:"\u200B"})):ie})),E(W7e,P({value:Array.isArray(ne)?ne.join(","):ne,name:_,ref:J,"aria-hidden":!0,onChange:ut,tabIndex:-1,disabled:p,className:Le.nativeInput,autoFocus:o,ownerState:De},Z)),E(G7e,{as:m,className:Le.icon,ownerState:De}),E(P7e,P({id:`menu-${_||""}`,anchorEl:B,open:Bt,onClose:Re,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},x,{MenuListProps:P({"aria-labelledby":y,role:"listbox",disableListWrap:!0},x.MenuListProps),PaperProps:P({},x.PaperProps,{style:P({minWidth:Xe},x.PaperProps!=null?x.PaperProps.style:null)}),children:Ge}))]})}),q7e=K7e,SV=Sc(E("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Y7e(e){return pt("MuiInput",e)}const X7e=P({},Bs,mt("MuiInput",["root","underline","input"])),u1=X7e,Q7e=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Z7e=e=>{const{classes:t,disableUnderline:n}=e,i=Et({root:["root",!n&&"underline"],input:["input"]},Y7e,t);return P({},t,i)},J7e=ye(Db,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...kb(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),P({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${u1.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${u1.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${u1.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${u1.disabled}:before`]:{borderBottomStyle:"dotted"}})}),eAe=ye(Lb,{name:"MuiInput",slot:"Input",overridesResolver:Nb})({}),xV=T.exports.forwardRef(function(t,n){var r,i,o,a;const s=St({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:d,fullWidth:p=!1,inputComponent:h="input",multiline:m=!1,slotProps:v,slots:y={},type:x="text"}=s,b=$e(s,Q7e),_=Z7e(s),C={root:{ownerState:{disableUnderline:l}}},O=(v!=null?v:d)?Ai(v!=null?v:d,C):C,A=(r=(i=y.root)!=null?i:c.Root)!=null?r:J7e,R=(o=(a=y.input)!=null?a:c.Input)!=null?o:eAe;return E(t6,P({slots:{root:A,input:R},slotProps:O,fullWidth:p,inputComponent:h,multiline:m,ref:n,type:x},b,{classes:_}))});xV.muiName="Input";const CV=xV;var DD;const tAe=["children","classes","className","label","notched"],nAe=ye("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),rAe=ye("legend")(({ownerState:e,theme:t})=>P({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&P({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function iAe(e){const{className:t,label:n,notched:r}=e,i=$e(e,tAe),o=n!=null&&n!=="",a=P({},e,{notched:r,withLabel:o});return E(nAe,P({"aria-hidden":!0,className:t,ownerState:a},i,{children:E(rAe,{ownerState:a,children:o?E("span",{children:n}):DD||(DD=E("span",{className:"notranslate",children:"\u200B"}))})}))}function oAe(e){return pt("MuiOutlinedInput",e)}const aAe=P({},Bs,mt("MuiOutlinedInput",["root","notchedOutline","input"])),Ps=aAe,sAe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],lAe=e=>{const{classes:t}=e,r=Et({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oAe,t);return P({},t,r)},uAe=ye(Db,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:kb})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return P({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ps.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ps.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Ps.focused} .${Ps.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Ps.error} .${Ps.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ps.disabled} .${Ps.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&P({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),cAe=ye(iAe,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),dAe=ye(Lb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Nb})(({theme:e,ownerState:t})=>P({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),wV=T.exports.forwardRef(function(t,n){var r,i,o,a,s;const l=St({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:d=!1,inputComponent:p="input",label:h,multiline:m=!1,notched:v,slots:y={},type:x="text"}=l,b=$e(l,sAe),_=lAe(l),S=Cc(),C=Rp({props:l,muiFormControl:S,states:["required"]}),O=P({},l,{color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:S,fullWidth:d,hiddenLabel:C.hiddenLabel,multiline:m,size:C.size,type:x}),A=(r=(i=y.root)!=null?i:c.Root)!=null?r:uAe,R=(o=(a=y.input)!=null?a:c.Input)!=null?o:dAe;return E(t6,P({slots:{root:A,input:R},renderSuffix:N=>E(cAe,{ownerState:O,className:_.notchedOutline,label:h!=null&&h!==""&&C.required?s||(s=te(T.exports.Fragment,{children:[h,"\xA0","*"]})):h,notched:typeof v<"u"?v:Boolean(N.startAdornment||N.filled||N.focused)}),fullWidth:d,inputComponent:p,multiline:m,ref:n,type:x},b,{classes:P({},_,{notchedOutline:null})}))});wV.muiName="Input";const AV=wV;var LD,MD;const fAe=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],pAe=e=>{const{classes:t}=e;return t},a6={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>fs(e)&&e!=="variant",slot:"Root"},hAe=ye(CV,a6)(""),mAe=ye(AV,a6)(""),gAe=ye(n6,a6)(""),IV=T.exports.forwardRef(function(t,n){const r=St({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:d=SV,id:p,input:h,inputProps:m,label:v,labelId:y,MenuProps:x,multiple:b=!1,native:_=!1,onClose:S,onOpen:C,open:O,renderValue:A,SelectDisplayProps:R,variant:N="outlined"}=r,F=$e(r,fAe),L=_?F7e:q7e,H=Cc(),Y=Rp({props:r,muiFormControl:H,states:["variant"]}).variant||N,K=h||{standard:LD||(LD=E(hAe,{})),outlined:E(mAe,{label:v}),filled:MD||(MD=E(gAe,{}))}[Y],Z=P({},r,{variant:Y,classes:a}),ne=pAe(Z),oe=Fn(n,K.ref);return E(T.exports.Fragment,{children:T.exports.cloneElement(K,P({inputComponent:L,inputProps:P({children:o,IconComponent:d,variant:Y,type:void 0,multiple:b},_?{id:p}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:y,MenuProps:x,onClose:S,onOpen:C,open:O,renderValue:A,SelectDisplayProps:P({id:p},R)},m,{classes:m?Ai(ne,m.classes):ne},h?h.props.inputProps:{})},b&&_&&Y==="outlined"?{notched:!0}:{},{ref:oe,className:He(K.props.className,s)},!h&&{variant:Y},F))})});IV.muiName="Select";const RV=IV,$D=({src:e,alt:t})=>E(Owe,{sx:{height:21,width:35,minWidth:"unset","& img":{display:"block",height:"100%",width:"100%",objectFit:"cover"}},children:E("img",{src:e,alt:t})}),vAe=T.exports.forwardRef((e,t)=>E(n6,{...e,hiddenLabel:!0,sx:{borderRadius:0,backgroundColor:"background.surface3","&::before":{borderBottomColor:"background.surface2"},"& .MuiFilledInput-input":{minHeight:21,height:21,pt:10}}})),yAe=()=>{const{languages:e,appointments:t}=T.exports.useContext(gt),n=Dn(),r=e.selectedLanguage,i=T.exports.useCallback(o=>{const a=ae.get(n,["flags",o.id],o.iso);return Wf(`/flags/${a.toLowerCase()}.svg`)},[e.availableLanguages,n.flags]);return E(Oe,{children:E(RV,{variant:"filled",value:(r==null?void 0:r.id)||null,input:E(vAe,{}),size:"small",renderValue:o=>r?E($D,{src:i(r),alt:r.label}):null,onChange:o=>{e.selectLanguage(o.target.value),t.saveStatistics({routeLang:o.target.value})},children:e.availableLanguages.map(o=>te(Vwe,{value:o.id,children:[E($D,{src:i(o),alt:o.label}),E(Fwe,{sx:{paddingInlineStart:10},children:o.label})]},o.id))})})},bAe=xt(yAe),EAe=()=>E("path",{d:"M10.4062 19.3125V12.2188L12.1875 6.96875C12.2292 6.82292 12.3125 6.69792 12.4375 6.59375C12.5625 6.48958 12.7396 6.4375 12.9688 6.4375H22.4375C22.6667 6.4375 22.8385 6.48437 22.9531 6.57812C23.0677 6.67188 23.1562 6.80208 23.2188 6.96875L25 12.2188V19.3125C25 19.5 24.9323 19.6615 24.7969 19.7969C24.6615 19.9323 24.5 20 24.3125 20H23.625C23.4375 20 23.276 19.9323 23.1406 19.7969C23.0052 19.6615 22.9375 19.5 22.9375 19.3125V17.9062H12.4688V19.3125C12.4688 19.5 12.401 19.6615 12.2656 19.7969C12.1302 19.9323 11.9688 20 11.7812 20H11.0938C10.9062 20 10.7448 19.9323 10.6094 19.7969C10.474 19.6615 10.4062 19.5 10.4062 19.3125ZM12.0625 11.2812H23.3438L22.1562 7.6875H13.25L12.0625 11.2812ZM11.6562 12.5312V16.6562V12.5312ZM13.75 15.8437C14.1042 15.8437 14.3958 15.7292 14.625 15.5C14.8542 15.2708 14.9688 14.9792 14.9688 14.625C14.9688 14.2708 14.8542 13.9792 14.625 13.75C14.3958 13.5208 14.1042 13.4062 13.75 13.4062C13.3958 13.4062 13.1042 13.5208 12.875 13.75C12.6458 13.9792 12.5312 14.2708 12.5312 14.625C12.5312 14.9792 12.6458 15.2708 12.875 15.5C13.1042 15.7292 13.3958 15.8437 13.75 15.8437ZM21.6562 15.8437C22.0104 15.8437 22.3021 15.7292 22.5312 15.5C22.7604 15.2708 22.875 14.9792 22.875 14.625C22.875 14.2708 22.7604 13.9792 22.5312 13.75C22.3021 13.5208 22.0104 13.4062 21.6562 13.4062C21.3021 13.4062 21.0104 13.5208 20.7812 13.75C20.5521 13.9792 20.4375 14.2708 20.4375 14.625C20.4375 14.9792 20.5521 15.2708 20.7812 15.5C21.0104 15.7292 21.3021 15.8437 21.6562 15.8437ZM2.625 20V19.3438L4.40625 17.5625C3.21875 17.5625 2.1875 17.2031 1.3125 16.4844C0.4375 15.7656 0 14.8438 0 13.7188V3.46875C0 2.09375 0.541667 1.17188 1.625 0.703125C2.70833 0.234375 4.85417 0 8.0625 0C11.0417 0 13.1302 0.255209 14.3281 0.765625C15.526 1.27604 16.125 2.17708 16.125 3.46875V5.5H14.25V3.09375H1.875V11.5H9.46875V20H2.625ZM3.46875 14.9375C3.82292 14.9375 4.11458 14.8229 4.34375 14.5938C4.57292 14.3646 4.6875 14.0729 4.6875 13.7188C4.6875 13.3646 4.57292 13.0729 4.34375 12.8438C4.11458 12.6146 3.82292 12.5 3.46875 12.5C3.11458 12.5 2.82292 12.6146 2.59375 12.8438C2.36458 13.0729 2.25 13.3646 2.25 13.7188C2.25 14.0729 2.36458 14.3646 2.59375 14.5938C2.82292 14.8229 3.11458 14.9375 3.46875 14.9375ZM11.6562 16.6562H23.75V12.5312H11.6562V16.6562Z"});function TAe(e){return pt("PrivateSwitchBase",e)}mt("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const _Ae=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],SAe=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${Se(i)}`],input:["input"]};return Et(o,TAe,t)},xAe=ye(F1)(({ownerState:e})=>P({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),CAe=ye("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),wAe=T.exports.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:d=!1,icon:p,id:h,inputProps:m,inputRef:v,name:y,onBlur:x,onChange:b,onFocus:_,readOnly:S,required:C,tabIndex:O,type:A,value:R}=t,N=$e(t,_Ae),[F,L]=Dl({controlled:i,default:Boolean(s),name:"SwitchBase",state:"checked"}),H=Cc(),j=Q=>{_&&_(Q),H&&H.onFocus&&H.onFocus(Q)},Y=Q=>{x&&x(Q),H&&H.onBlur&&H.onBlur(Q)},K=Q=>{if(Q.nativeEvent.defaultPrevented)return;const J=Q.target.checked;L(J),b&&b(Q,J)};let Z=l;H&&typeof Z>"u"&&(Z=H.disabled);const ne=A==="checkbox"||A==="radio",oe=P({},t,{checked:F,disabled:Z,disableFocusRipple:c,edge:d}),z=SAe(oe);return te(xAe,P({component:"span",className:He(z.root,a),centerRipple:!0,focusRipple:!c,disabled:Z,tabIndex:null,role:void 0,onFocus:j,onBlur:Y,ownerState:oe,ref:n},N,{children:[E(CAe,P({autoFocus:r,checked:i,defaultChecked:s,className:z.input,disabled:Z,id:ne&&h,name:y,onChange:K,readOnly:S,ref:v,required:C,ownerState:oe,tabIndex:O,type:A},A==="checkbox"&&R===void 0?{}:{value:R},m)),F?o:p]}))}),AAe=wAe;function IAe(e){return pt("MuiSwitch",e)}const RAe=mt("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Li=RAe,PAe=["className","color","edge","size","sx"],OAe=e=>{const{classes:t,edge:n,size:r,color:i,checked:o,disabled:a}=e,s={root:["root",n&&`edge${Se(n)}`,`size${Se(r)}`],switchBase:["switchBase",`color${Se(i)}`,o&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Et(s,IAe,t);return P({},t,l)},kAe=ye("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Se(n.edge)}`],t[`size${Se(n.size)}`]]}})(({ownerState:e})=>P({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${Li.thumb}`]:{width:16,height:16},[`& .${Li.switchBase}`]:{padding:4,[`&.${Li.checked}`]:{transform:"translateX(16px)"}}})),NAe=ye(AAe,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Li.input}`]:t.input},n.color!=="default"&&t[`color${Se(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Li.checked}`]:{transform:"translateX(20px)"},[`&.${Li.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Li.checked} + .${Li.track}`]:{opacity:.5},[`&.${Li.disabled} + .${Li.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Li.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>P({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Li.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Li.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?M1(e.palette[t.color].main,.62):L1(e.palette[t.color].main,.55)}`}},[`&.${Li.checked} + .${Li.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),DAe=ye("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),LAe=ye("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),MAe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiSwitch"}),{className:i,color:o="primary",edge:a=!1,size:s="medium",sx:l}=r,c=$e(r,PAe),d=P({},r,{color:o,edge:a,size:s}),p=OAe(d),h=E(LAe,{className:p.thumb,ownerState:d});return te(kAe,{className:He(p.root,i),sx:l,ownerState:d,children:[E(NAe,P({type:"checkbox",icon:h,checkedIcon:h,ref:n,ownerState:d},c,{classes:P({},p,{root:p.switchBase})})),E(DAe,{className:p.track,ownerState:d})]})}),$Ae=MAe,s6=ye(e=>E($Ae,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e}))(({theme:e})=>({width:52,height:28,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(24px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:e.palette.success.light,border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:24,height:24},"& .MuiSwitch-track":{borderRadius:28/2,backgroundColor:e.palette.background.surface2,opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}})),FAe=["components","componentsProps","slots","slotProps"],BAe=ye(Mbe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),HAe=T.exports.forwardRef(function(t,n){var r;const i=q2(),o=St({props:t,name:"MuiPopper"}),{components:a,componentsProps:s,slots:l,slotProps:c}=o,d=$e(o,FAe),p=(r=l==null?void 0:l.root)!=null?r:a==null?void 0:a.Root;return E(BAe,P({direction:i==null?void 0:i.direction,slots:{root:p},slotProps:c!=null?c:s},d,{ref:n}))}),Vb=HAe;function UAe(e){return pt("MuiListSubheader",e)}mt("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const zAe=["className","color","component","disableGutters","disableSticky","inset"],GAe=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,a={root:["root",n!=="default"&&`color${Se(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return Et(a,UAe,t)},WAe=ye("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Se(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>P({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),jAe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=r,d=$e(r,zAe),p=P({},r,{color:o,component:a,disableGutters:s,disableSticky:l,inset:c}),h=GAe(p);return E(WAe,P({as:a,className:He(h.root,i),ref:n,ownerState:p},d))}),PV=jAe,VAe=Sc(E("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function KAe(e){return pt("MuiChip",e)}const qAe=mt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),mn=qAe,YAe=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],XAe=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,n&&"disabled",`size${Se(r)}`,`color${Se(i)}`,s&&"clickable",s&&`clickableColor${Se(i)}`,a&&"deletable",a&&`deletableColor${Se(i)}`,`${l}${Se(i)}`],label:["label",`label${Se(r)}`],avatar:["avatar",`avatar${Se(r)}`,`avatarColor${Se(i)}`],icon:["icon",`icon${Se(r)}`,`iconColor${Se(o)}`],deleteIcon:["deleteIcon",`deleteIcon${Se(r)}`,`deleteIconColor${Se(i)}`,`deleteIcon${Se(l)}Color${Se(i)}`]};return Et(c,KAe,t)},QAe=ye("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${mn.avatar}`]:t.avatar},{[`& .${mn.avatar}`]:t[`avatar${Se(s)}`]},{[`& .${mn.avatar}`]:t[`avatarColor${Se(r)}`]},{[`& .${mn.icon}`]:t.icon},{[`& .${mn.icon}`]:t[`icon${Se(s)}`]},{[`& .${mn.icon}`]:t[`iconColor${Se(i)}`]},{[`& .${mn.deleteIcon}`]:t.deleteIcon},{[`& .${mn.deleteIcon}`]:t[`deleteIcon${Se(s)}`]},{[`& .${mn.deleteIcon}`]:t[`deleteIconColor${Se(r)}`]},{[`& .${mn.deleteIcon}`]:t[`deleteIcon${Se(l)}Color${Se(r)}`]},t.root,t[`size${Se(s)}`],t[`color${Se(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${Se(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${Se(r)}`],t[l],t[`${l}${Se(r)}`]]}})(({theme:e,ownerState:t})=>{const n=Yt(e.palette.text.primary,.26),r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return P({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${mn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${mn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${mn.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${mn.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${mn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${mn.icon}`]:P({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&P({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${mn.deleteIcon}`]:P({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Yt(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Yt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${mn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:Yt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${mn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>P({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.hoverOpacity}))`:Yt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${mn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity+e.vars.palette.action.focusOpacity}))`:Yt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${mn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>P({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${mn.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${mn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${mn.avatar}`]:{marginLeft:4},[`& .${mn.avatarSmall}`]:{marginLeft:2},[`& .${mn.icon}`]:{marginLeft:4},[`& .${mn.iconSmall}`]:{marginLeft:2},[`& .${mn.deleteIcon}`]:{marginRight:5},[`& .${mn.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Yt(e.palette[t.color].main,.7)}`,[`&.${mn.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Yt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${mn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Yt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${mn.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Yt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),ZAe=ye("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Se(r)}`]]}})(({ownerState:e})=>P({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function FD(e){return e.key==="Backspace"||e.key==="Delete"}const JAe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:d=!1,icon:p,label:h,onClick:m,onDelete:v,onKeyDown:y,onKeyUp:x,size:b="medium",variant:_="filled",tabIndex:S,skipFocusWhenDisabled:C=!1}=r,O=$e(r,YAe),A=T.exports.useRef(null),R=Fn(A,n),N=Q=>{Q.stopPropagation(),v&&v(Q)},F=Q=>{Q.currentTarget===Q.target&&FD(Q)&&Q.preventDefault(),y&&y(Q)},L=Q=>{Q.currentTarget===Q.target&&(v&&FD(Q)?v(Q):Q.key==="Escape"&&A.current&&A.current.blur()),x&&x(Q)},H=a!==!1&&m?!0:a,j=H||v?F1:l||"div",Y=P({},r,{component:j,disabled:d,size:b,color:s,iconColor:T.exports.isValidElement(p)&&p.props.color||s,onDelete:!!v,clickable:H,variant:_}),K=XAe(Y),Z=j===F1?P({component:l||"div",focusVisibleClassName:K.focusVisible},v&&{disableRipple:!0}):{};let ne=null;v&&(ne=c&&T.exports.isValidElement(c)?T.exports.cloneElement(c,{className:He(c.props.className,K.deleteIcon),onClick:N}):E(VAe,{className:He(K.deleteIcon),onClick:N}));let oe=null;i&&T.exports.isValidElement(i)&&(oe=T.exports.cloneElement(i,{className:He(K.avatar,i.props.className)}));let z=null;return p&&T.exports.isValidElement(p)&&(z=T.exports.cloneElement(p,{className:He(K.icon,p.props.className)})),te(QAe,P({as:j,className:He(K.root,o),disabled:H&&d?!0:void 0,onClick:m,onKeyDown:F,onKeyUp:L,ref:R,tabIndex:C&&d?-1:S,ownerState:Y},Z,O,{children:[oe||z,E(ZAe,{className:He(K.label),ownerState:Y,children:h}),ne]}))}),OV=JAe,kV=Sc(E("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function eIe(e){return pt("MuiAutocomplete",e)}const tIe=mt("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),rn=tIe;var BD,HD;const nIe=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],rIe=e=>{const{classes:t,disablePortal:n,focused:r,fullWidth:i,hasClearIcon:o,hasPopupIcon:a,inputFocused:s,popupOpen:l,size:c}=e,d={root:["root",r&&"focused",i&&"fullWidth",o&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag",`tagSize${Se(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",l&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Et(d,eIe,t)},iIe=ye("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:o,inputFocused:a,size:s}=n;return[{[`& .${rn.tag}`]:t.tag},{[`& .${rn.tag}`]:t[`tagSize${Se(s)}`]},{[`& .${rn.inputRoot}`]:t.inputRoot},{[`& .${rn.input}`]:t.input},{[`& .${rn.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})(({ownerState:e})=>P({[`&.${rn.focused} .${rn.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${rn.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${rn.tag}`]:P({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${rn.inputRoot}`]:{flexWrap:"wrap",[`.${rn.hasPopupIcon}&, .${rn.hasClearIcon}&`]:{paddingRight:26+4},[`.${rn.hasPopupIcon}.${rn.hasClearIcon}&`]:{paddingRight:52+4},[`& .${rn.input}`]:{width:0,minWidth:30}},[`& .${u1.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${u1.root}.${Bs.sizeSmall}`]:{[`& .${u1.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Ps.root}`]:{padding:9,[`.${rn.hasPopupIcon}&, .${rn.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${rn.hasPopupIcon}.${rn.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${rn.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${rn.endAdornment}`]:{right:9}},[`& .${Ps.root}.${Bs.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${rn.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${ks.root}`]:{paddingTop:19,paddingLeft:8,[`.${rn.hasPopupIcon}&, .${rn.hasClearIcon}&`]:{paddingRight:26+4+9},[`.${rn.hasPopupIcon}.${rn.hasClearIcon}&`]:{paddingRight:52+4+9},[`& .${ks.input}`]:{padding:"7px 4px"},[`& .${rn.endAdornment}`]:{right:9}},[`& .${ks.root}.${Bs.sizeSmall}`]:{paddingBottom:1,[`& .${ks.input}`]:{padding:"2.5px 4px"}},[`& .${Bs.hiddenLabel}`]:{paddingTop:8},[`& .${rn.input}`]:P({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),oIe=ye("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),aIe=ye(lc,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),sIe=ye(lc,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>P({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>P({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),lIe=ye(Vb,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${rn.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>P({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),uIe=ye(ru,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>P({},e.typography.body1,{overflow:"auto"})),cIe=ye("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),dIe=ye("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),fIe=ye("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${rn.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${rn.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${rn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rn.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${rn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),pIe=ye(PV,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),hIe=ye("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${rn.option}`]:{paddingLeft:24}}),mIe=T.exports.forwardRef(function(t,n){var r,i,o,a;const s=St({props:t,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:c=!1,autoSelect:d=!1,blurOnSelect:p=!1,ChipProps:h,className:m,clearIcon:v=BD||(BD=E(kV,{fontSize:"small"})),clearOnBlur:y=!s.freeSolo,clearOnEscape:x=!1,clearText:b="Clear",closeText:_="Close",componentsProps:S={},defaultValue:C=s.multiple?[]:null,disableClearable:O=!1,disableCloseOnSelect:A=!1,disabled:R=!1,disabledItemsFocusable:N=!1,disableListWrap:F=!1,disablePortal:L=!1,filterSelectedOptions:H=!1,forcePopupIcon:j="auto",freeSolo:Y=!1,fullWidth:K=!1,getLimitTagsText:Z=Gt=>`+${Gt}`,getOptionLabel:ne=Gt=>{var Ir;return(Ir=Gt.label)!=null?Ir:Gt},groupBy:oe,handleHomeEndKeys:z=!s.freeSolo,includeInputInList:Q=!1,limitTags:J=-1,ListboxComponent:M="ul",ListboxProps:B,loading:Pe=!1,loadingText:pe="Loading\u2026",multiple:me=!1,noOptionsText:se="No options",openOnFocus:Ce=!1,openText:ke="Open",PaperComponent:Ee=ru,PopperComponent:Qe=Vb,popupIcon:Re=HD||(HD=E(SV,{})),readOnly:tt=!1,renderGroup:ut,renderInput:rt,renderOption:Fe,renderTags:Bt,selectOnFocus:je=!s.freeSolo,size:ie="medium",slotProps:ce={}}=s,he=$e(s,nIe),{getRootProps:Ae,getInputProps:Ge,getInputLabelProps:Xe,getPopupIndicatorProps:ue,getClearProps:ve,getTagProps:De,getListboxProps:Le,getOptionProps:U,value:V,dirty:fe,id:de,popupOpen:Ve,focused:qe,focusedTag:Je,anchorEl:Tt,setAnchorEl:en,inputValue:Kt,groupedOptions:Ot}=c2e(P({},s,{componentName:"Autocomplete"})),ir=!O&&!R&&fe&&!tt,Kn=(!Y||j===!0)&&j!==!1,Rn=P({},s,{disablePortal:L,focused:qe,fullWidth:K,hasClearIcon:ir,hasPopupIcon:Kn,inputFocused:Je===-1,popupOpen:Ve,size:ie}),Hn=rIe(Rn);let Lr;if(me&&V.length>0){const Gt=Ir=>P({className:Hn.tag,disabled:R},De(Ir));Bt?Lr=Bt(V,Gt,Rn):Lr=V.map((Ir,gr)=>E(OV,P({label:ne(Ir),size:ie},Gt({index:gr}),h)))}if(J>-1&&Array.isArray(Lr)){const Gt=Lr.length-J;!qe&&Gt>0&&(Lr=Lr.splice(0,J),Lr.push(E("span",{className:Hn.tag,children:Z(Gt)},Lr.length)))}const jr=ut||(Gt=>te("li",{children:[E(pIe,{className:Hn.groupLabel,ownerState:Rn,component:"div",children:Gt.group}),E(hIe,{className:Hn.groupUl,ownerState:Rn,children:Gt.children})]},Gt.key)),$a=Fe||((Gt,Ir)=>E("li",P({},Gt,{children:ne(Ir)}))),iu=(Gt,Ir)=>{const gr=U({option:Gt,index:Ir});return $a(P({},gr,{className:Hn.option}),Gt,{selected:gr["aria-selected"],inputValue:Kt})},nl=(r=ce.clearIndicator)!=null?r:S.clearIndicator,bo=(i=ce.paper)!=null?i:S.paper,Eo=(o=ce.popper)!=null?o:S.popper,rl=(a=ce.popupIndicator)!=null?a:S.popupIndicator;return te(T.exports.Fragment,{children:[E(iIe,P({ref:n,className:He(Hn.root,m),ownerState:Rn},Ae(he),{children:rt({id:de,disabled:R,fullWidth:!0,size:ie==="small"?"small":void 0,InputLabelProps:Xe(),InputProps:P({ref:en,className:Hn.inputRoot,startAdornment:Lr},(ir||Kn)&&{endAdornment:te(oIe,{className:Hn.endAdornment,ownerState:Rn,children:[ir?E(aIe,P({},ve(),{"aria-label":b,title:b,ownerState:Rn},nl,{className:He(Hn.clearIndicator,nl==null?void 0:nl.className),children:v})):null,Kn?E(sIe,P({},ue(),{disabled:R,"aria-label":Ve?_:ke,title:Ve?_:ke,ownerState:Rn},rl,{className:He(Hn.popupIndicator,rl==null?void 0:rl.className),children:Re})):null]})}),inputProps:P({className:Hn.input,disabled:R,readOnly:tt},Ge())})})),Tt?E(lIe,P({as:Qe,disablePortal:L,style:{width:Tt?Tt.clientWidth:null},ownerState:Rn,role:"presentation",anchorEl:Tt,open:Ve},Eo,{className:He(Hn.popper,Eo==null?void 0:Eo.className),children:te(uIe,P({ownerState:Rn,as:Ee},bo,{className:He(Hn.paper,bo==null?void 0:bo.className),children:[Pe&&Ot.length===0?E(cIe,{className:Hn.loading,ownerState:Rn,children:pe}):null,Ot.length===0&&!Y&&!Pe?E(dIe,{className:Hn.noOptions,ownerState:Rn,role:"presentation",onMouseDown:Gt=>{Gt.preventDefault()},children:se}):null,Ot.length>0?E(fIe,P({as:M,className:Hn.listbox,ownerState:Rn},Le(),B,{children:Ot.map((Gt,Ir)=>oe?jr({key:Gt.key,group:Gt.group,children:Gt.options.map((gr,Fa)=>iu(gr,Gt.index+Fa))}):iu(Gt,Ir))})):null]}))})):null]})}),fg=mIe;function gIe(e){return pt("MuiListItem",e)}const vIe=mt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Fd=vIe,yIe=mt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),bIe=yIe;function EIe(e){return pt("MuiListItemSecondaryAction",e)}mt("MuiListItemSecondaryAction",["root","disableGutters"]);const TIe=["className"],_Ie=e=>{const{disableGutters:t,classes:n}=e;return Et({root:["root",t&&"disableGutters"]},EIe,n)},SIe=ye("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>P({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),NV=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=r,o=$e(r,TIe),a=T.exports.useContext(Ml),s=P({},r,{disableGutters:a.disableGutters}),l=_Ie(s);return E(SIe,P({className:He(l.root,i),ownerState:s,ref:n},o))});NV.muiName="ListItemSecondaryAction";const xIe=NV,CIe=["className"],wIe=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],AIe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},IIe=e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:o,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:d}=e;return Et({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},gIe,r)},RIe=ye("div",{name:"MuiListItem",slot:"Root",overridesResolver:AIe})(({theme:e,ownerState:t})=>P({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&P({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${bIe.root}`]:{paddingRight:48}},{[`&.${Fd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Fd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Fd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Fd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Fd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Yt(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),PIe=ye("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),OIe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:a=!1,children:s,className:l,component:c,components:d={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m}={},dense:v=!1,disabled:y=!1,disableGutters:x=!1,disablePadding:b=!1,divider:_=!1,focusVisibleClassName:S,secondaryAction:C,selected:O=!1,slotProps:A={},slots:R={}}=r,N=$e(r.ContainerProps,CIe),F=$e(r,wIe),L=T.exports.useContext(Ml),H=T.exports.useMemo(()=>({dense:v||L.dense||!1,alignItems:i,disableGutters:x}),[i,L.dense,v,x]),j=T.exports.useRef(null);Wo(()=>{o&&j.current&&j.current.focus()},[o]);const Y=T.exports.Children.toArray(s),K=Y.length&&dm(Y[Y.length-1],["ListItemSecondaryAction"]),Z=P({},r,{alignItems:i,autoFocus:o,button:a,dense:H.dense,disabled:y,disableGutters:x,disablePadding:b,divider:_,hasSecondaryAction:K,selected:O}),ne=IIe(Z),oe=Fn(j,n),z=R.root||d.Root||RIe,Q=A.root||p.root||{},J=P({className:He(ne.root,Q.className,l),disabled:y},F);let M=c||"li";return a&&(J.component=c||"div",J.focusVisibleClassName=He(Fd.focusVisible,S),M=F1),K?(M=!J.component&&!c?"div":M,h==="li"&&(M==="li"?M="div":J.component==="li"&&(J.component="div")),E(Ml.Provider,{value:H,children:te(PIe,P({as:h,className:He(ne.container,m),ref:oe,ownerState:Z},N,{children:[E(z,P({},Q,!Vs(z)&&{as:M,ownerState:P({},Z,Q.ownerState)},J,{children:Y})),Y.pop()]}))})):E(Ml.Provider,{value:H,children:te(z,P({},Q,{as:M,ref:oe},!Vs(z)&&{ownerState:P({},Z,Q.ownerState)},J,{children:[Y,C&&E(xIe,{children:C})]}))})}),DV=OIe;function kIe(e){return pt("MuiInputAdornment",e)}const NIe=mt("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),UD=NIe;var zD;const DIe=["children","className","component","disablePointerEvents","disableTypography","position","variant"],LIe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Se(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},MIe=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=e,s={root:["root",n&&"disablePointerEvents",i&&`position${Se(i)}`,a,r&&"hiddenLabel",o&&`size${Se(o)}`]};return Et(s,kIe,t)},$Ie=ye("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:LIe})(({theme:e,ownerState:t})=>P({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${UD.positionStart}&:not(.${UD.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),FIe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:d}=r,p=$e(r,DIe),h=Cc()||{};let m=d;d&&h.variant,h&&!m&&(m=h.variant);const v=P({},r,{hiddenLabel:h.hiddenLabel,size:h.size,disablePointerEvents:s,position:c,variant:m}),y=MIe(v);return E(Ob.Provider,{value:null,children:E($Ie,P({as:a,ownerState:v,className:He(y.root,o),ref:n},p,{children:typeof i=="string"&&!l?E(nt,{color:"text.secondary",children:i}):te(T.exports.Fragment,{children:[c==="start"?zD||(zD=E("span",{className:"notranslate",children:"\u200B"})):null,i]})}))})}),BIe=FIe;function HIe(e){return pt("MuiFormLabel",e)}const UIe=mt("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xm=UIe,zIe=["children","className","color","component","disabled","error","filled","focused","required"],GIe=e=>{const{classes:t,color:n,focused:r,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${Se(n)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Et(l,HIe,t)},WIe=ye("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>P({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>P({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${xm.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${xm.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xm.error}`]:{color:(e.vars||e).palette.error.main}})),jIe=ye("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${xm.error}`]:{color:(e.vars||e).palette.error.main}})),VIe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=r,s=$e(r,zIe),l=Cc(),c=Rp({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),d=P({},r,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),p=GIe(d);return te(WIe,P({as:a,ownerState:d,className:He(p.root,o),ref:n},s,{children:[i,c.required&&te(jIe,{ownerState:d,"aria-hidden":!0,className:p.asterisk,children:["\u2009","*"]})]}))}),KIe=VIe;function qIe(e){return pt("MuiInputLabel",e)}mt("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const YIe=["disableAnimation","margin","shrink","variant","className"],XIe=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=e,c=Et({root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r==="small"&&"sizeSmall",a],asterisk:[s&&"asterisk"]},qIe,t);return P({},t,c)},QIe=ye(KIe,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xm.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>P({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&P({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&P({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&P({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),ZIe=T.exports.forwardRef(function(t,n){const r=St({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:o,className:a}=r,s=$e(r,YIe),l=Cc();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const d=Rp({props:r,muiFormControl:l,states:["size","variant","required"]}),p=P({},r,{disableAnimation:i,formControl:l,shrink:c,size:d.size,variant:d.variant,required:d.required}),h=XIe(p);return E(QIe,P({"data-shrink":c,ownerState:p,ref:n,className:He(h.root,a)},s,{classes:h}))}),JIe=ZIe;function eRe(e){return pt("MuiFormControl",e)}mt("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const tRe=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],nRe=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${Se(n)}`,r&&"fullWidth"]};return Et(i,eRe,t)},rRe=ye("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>P({},t.root,t[`margin${Se(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>P({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),iRe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:d,fullWidth:p=!1,hiddenLabel:h=!1,margin:m="none",required:v=!1,size:y="medium",variant:x="outlined"}=r,b=$e(r,tRe),_=P({},r,{color:a,component:s,disabled:l,error:c,fullWidth:p,hiddenLabel:h,margin:m,required:v,size:y,variant:x}),S=nRe(_),[C,O]=T.exports.useState(()=>{let Y=!1;return i&&T.exports.Children.forEach(i,K=>{if(!dm(K,["Input","Select"]))return;const Z=dm(K,["Select"])?K.props.input:K;Z&&dwe(Z.props)&&(Y=!0)}),Y}),[A,R]=T.exports.useState(()=>{let Y=!1;return i&&T.exports.Children.forEach(i,K=>{!dm(K,["Input","Select"])||e6(K.props,!0)&&(Y=!0)}),Y}),[N,F]=T.exports.useState(!1);l&&N&&F(!1);const L=d!==void 0&&!l?d:N;let H;const j=T.exports.useMemo(()=>({adornedStart:C,setAdornedStart:O,color:a,disabled:l,error:c,filled:A,focused:L,fullWidth:p,hiddenLabel:h,size:y,onBlur:()=>{F(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{F(!0)},registerEffect:H,required:v,variant:x}),[C,a,l,c,A,L,p,h,H,v,y,x]);return E(Ob.Provider,{value:j,children:E(rRe,P({as:s,ownerState:_,className:He(S.root,o),ref:n},b,{children:i}))})}),oRe=iRe;function aRe(e){return pt("MuiFormHelperText",e)}const sRe=mt("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),GD=sRe;var WD;const lRe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],uRe=e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=e,c={root:["root",i&&"disabled",o&&"error",r&&`size${Se(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Et(c,aRe,t)},cRe=ye("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Se(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>P({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${GD.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${GD.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),dRe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=r,s=$e(r,lRe),l=Cc(),c=Rp({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),d=P({},r,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),p=uRe(d);return E(cRe,P({as:a,ownerState:d,className:He(p.root,o),ref:n},s,{children:i===" "?WD||(WD=E("span",{className:"notranslate",children:"\u200B"})):i}))}),fRe=dRe;function pRe(e){return pt("MuiTextField",e)}mt("MuiTextField",["root"]);const hRe=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],mRe={standard:CV,filled:n6,outlined:AV},gRe=e=>{const{classes:t}=e;return Et({root:["root"]},pRe,t)},vRe=ye(oRe,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yRe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:d=!1,error:p=!1,FormHelperTextProps:h,fullWidth:m=!1,helperText:v,id:y,InputLabelProps:x,inputProps:b,InputProps:_,inputRef:S,label:C,maxRows:O,minRows:A,multiline:R=!1,name:N,onBlur:F,onChange:L,onFocus:H,placeholder:j,required:Y=!1,rows:K,select:Z=!1,SelectProps:ne,type:oe,value:z,variant:Q="outlined"}=r,J=$e(r,hRe),M=P({},r,{autoFocus:o,color:l,disabled:d,error:p,fullWidth:m,multiline:R,required:Y,select:Z,variant:Q}),B=gRe(M),Pe={};Q==="outlined"&&(x&&typeof x.shrink<"u"&&(Pe.notched=x.shrink),Pe.label=C),Z&&((!ne||!ne.native)&&(Pe.id=void 0),Pe["aria-describedby"]=void 0);const pe=X0(y),me=v&&pe?`${pe}-helper-text`:void 0,se=C&&pe?`${pe}-label`:void 0,Ce=mRe[Q],ke=E(Ce,P({"aria-describedby":me,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:m,multiline:R,name:N,rows:K,maxRows:O,minRows:A,type:oe,value:z,id:pe,inputRef:S,onBlur:F,onChange:L,onFocus:H,placeholder:j,inputProps:b},Pe,_));return te(vRe,P({className:He(B.root,s),disabled:d,error:p,fullWidth:m,ref:n,required:Y,color:l,variant:Q,ownerState:M},J,{children:[C!=null&&C!==""&&E(JIe,P({htmlFor:pe,id:se},x,{children:C})),Z?E(RV,P({"aria-describedby":me,id:pe,labelId:se,value:z,input:ke},ne,{children:a})):ke,v&&E(fRe,P({id:me},h,{children:v}))]}))}),LV=yRe,wc=ye(({label:e,labelWidth:t,...n})=>{var r,i,o;return E(LV,{variant:"filled",hiddenLabel:!0,fullWidth:!0,...n,value:(r=n.value)!=null?r:"",InputProps:{...(i=n.InputProps)!=null?i:{},startAdornment:te(Qt,{children:[e&&E(BIe,{position:"start",sx:{minWidth:t},children:e}),(o=n.InputProps)==null?void 0:o.startAdornment]})}})},{shouldForwardProp:()=>!0})(({theme:e,label:t})=>({"& .MuiInputBase-root":{borderRadius:0,paddingInlineStart:"14px !important",paddingTop:"0 !important",paddingBottom:"0 !important",backgroundColor:e.palette.background.surface3,"&::before":{borderBottomColor:e.palette.background.surface3}},"& .MuiInputBase-input, .MuiFilledInput-input":{paddingBlock:"12px !important",paddingInlineStart:`${t?12:0}px !important`,paddingInlineEnd:"15px !important",fontSize:"1rem",lineHeight:"1.1428rem",height:"1.1428rem"}})),MV=function(e){return E(fg,{...e,renderInput:t=>E(wc,{variant:"outlined",sx:n=>({"& .MuiInputBase-root":{bgcolor:"white","&:before":{borderColor:"background.surface2"}},"& .MuiInputBase-input::placeholder":{color:n.palette.text.primaryLight,opacity:1}}),...t,placeholder:e.placeholder}),renderOption:(t,n)=>E(DV,{...t,sx:{[`&.${rn.option}`]:{minHeight:"unset"}},children:n.label})})},l6=Pt.GettingToPage,bRe=l6.Headers.CommingBy,ERe=l6.Messages.SelectArrival,TRe=l6.Messages.NeedParking,$V=xt(()=>{const{appointments:e}=T.exports.useContext(gt),t=dV(),n=$t(bRe),r=$t(ERe),i=t.find(o=>o.id===e.transportMode)||null;return te(B1,{active:!!e.transportMode,children:[E(ep,{title:n,icon:EAe}),te(Jf,{children:[E(MV,{options:t,value:i,disableClearable:!0,placeholder:r,onChange:(o,a)=>{e.changeTransportMode(a==null?void 0:a.id),e.saveStatistics({transportMode:a==null?void 0:a.id})},clearOnBlur:!0,blurOnSelect:!0}),e.transportMode===wi.Car&&E(Qt,{children:te(Oe,{sx:{display:"flex",alignItems:"center",mt:20},children:[E(pb,{sx:{fontSize:18}}),E(nt,{ml:12,lineHeight:16/14,children:E(Rt,{id:TRe})}),E(s6,{sx:{marginInlineStart:"auto"},checked:e.needParking,onChange:(o,a)=>e.changeNeedParking(a)})]})})]})]})});$V.displayName="ModalitySection";const _Re=()=>te(Qt,{children:[E("path",{d:"M23.92 6.01C23.72 5.42 23.16 5 22.5 5H11.5C10.84 5 10.29 5.42 10.08 6.01L8 12V20C8 20.55 8.45 21 9 21H10C10.55 21 11 20.55 11 20V19H23V20C23 20.55 23.45 21 24 21H25C25.55 21 26 20.55 26 20V12L23.92 6.01ZM11.5 16C10.67 16 10 15.33 10 14.5C10 13.67 10.67 13 11.5 13C12.33 13 13 13.67 13 14.5C13 15.33 12.33 16 11.5 16ZM22.5 16C21.67 16 21 15.33 21 14.5C21 13.67 21.67 13 22.5 13C23.33 13 24 13.67 24 14.5C24 15.33 23.33 16 22.5 16ZM10 11L11.5 6.5H22.5L24 11H10Z"}),E("path",{d:"M8.5 21L7.75035 21.6618L8.5 22.511L9.24965 21.6618L8.5 21ZM8.5 21C9.24965 21.6618 9.24979 21.6617 9.24994 21.6615L9.25038 21.661L9.25171 21.6595L9.25612 21.6545L9.27185 21.6365L9.32993 21.5696C9.38007 21.5115 9.45256 21.4269 9.54421 21.318C9.72746 21.1004 9.98761 20.7858 10.2991 20.3932C10.9211 19.609 11.752 18.5087 12.5848 17.2459C13.4158 15.9858 14.2605 14.5462 14.9004 13.0849C15.5347 11.6363 16 10.0947 16 8.65C16 4.44285 12.6672 1 8.5 1C4.33276 1 1 4.44285 1 8.65C1 10.0947 1.46526 11.6363 2.0996 13.0849C2.73948 14.5462 3.58421 15.9858 4.41519 17.2459C5.248 18.5087 6.07891 19.609 6.70095 20.3932C7.01239 20.7858 7.27254 21.1004 7.45579 21.318C7.54744 21.4269 7.61993 21.5115 7.67007 21.5696L7.72815 21.6365L7.74388 21.6545L7.74829 21.6595L7.74962 21.661L7.75006 21.6615C7.75021 21.6617 7.75035 21.6618 8.5 21Z",stroke:"white",strokeWidth:"2"}),E("circle",{cx:"8.5",cy:"8.5",r:"2.5",fill:"white"})]}),SRe=()=>E("path",{d:"M3 20V0H10.9121C12.707 0 14.2179 0.620371 15.4451 1.86111C16.6722 3.10185 17.2857 4.62963 17.2857 6.44445C17.2857 8.25926 16.6722 9.78704 15.4451 11.0278C14.2179 12.2685 12.707 12.8889 10.9121 12.8889H6.2967V20H3ZM6.2967 9.55556H10.9121C11.7912 9.55556 12.5238 9.25926 13.1099 8.66667C13.696 8.07407 13.989 7.33333 13.989 6.44445C13.989 5.55556 13.696 4.81482 13.1099 4.22222C12.5238 3.62963 11.7912 3.33333 10.9121 3.33333H6.2967V9.55556Z"}),Kb=Pt.GettingToPage,xRe=Kb.Headers.RecommendedParking,CRe=Kb.Messages.AlternativeParking,wRe=Kb.Messages.SaveParking,ARe=Kb.Messages.SelectParking,IRe=(e,t)=>{localStorage.setItem(`gettingToParking_${e}`,JSON.stringify({id:t.id,date:new Date().toDateString()}))},RRe=e=>{localStorage.removeItem(`gettingToParking_${e}`)},FV=xt(()=>{var c,d,p,h,m;const{appointments:e}=T.exports.useContext(gt),t=$t(xRe),n=$t(wRe),r=$t(ARe),i=e.settings,o=e.config,a=T.exports.useMemo(()=>{var y;const v=ae.uniqBy(o==null?void 0:o.car,"parking.id");return(y=v==null?void 0:v.map(({parking:x})=>x).filter(Boolean))!=null?y:[]},[o==null?void 0:o.car]),s=(c=a[0])!=null?c:i==null?void 0:i.preferredParking,l=(d=a[1])!=null?d:i==null?void 0:i.alternativeParking;return T.exports.useEffect(()=>{var v;e.chagneSavedParking((v=a.find(y=>{var x;return y.id===((x=e.savedParking)==null?void 0:x.id)}))!=null?v:void 0)},[a]),te(Qt,{children:[te(B1,{active:!0,children:[E(ep,{title:t,icon:SRe}),te(Jf,{children:[E(mV,{imgSrc:((p=s==null?void 0:s.node.photo)==null?void 0:p.file)&&`/api/Storages/building-${i==null?void 0:i.buildingId}/download/${(h=s==null?void 0:s.node.photo)==null?void 0:h.file}`,title:s==null?void 0:s.label}),l&&te(nt,{fontSize:13,lineHeight:15/13,fontStyle:"italic",mt:11,color:"text.primaryLight",children:["*",E(Rt,{id:CRe}),": ",l.label]})]})]}),te(B1,{active:!0,children:[E(ep,{title:n,icon:_Re}),E(Jf,{children:E(MV,{sx:{mt:18},placeholder:r,options:a,value:(m=e.savedParking)!=null?m:null,onChange:(v,y)=>(y?IRe(i==null?void 0:i.facilityLocationId,y):RRe(i==null?void 0:i.facilityLocationId),e.chagneSavedParking(y!=null?y:void 0))})})]})]})});FV.displayName="ParkingSection";const PRe=Pt.GettingToPage,ORe=PRe.Messages.PageHeader,jD=xt(()=>{const{appointments:e,destinations:t,queryParams:n,buildings:r}=T.exports.useContext(gt),i=r.building;T.exports.useEffect(()=>{e.initialize()},[]);const o=e.settings;if(T.exports.useEffect(()=>{if(!o)return;const s=n.params,{buildingId:l,facilityLocationId:c,destinationId:d}=o,{routeLang:p,channel:h,skipRegisterFirst:m,tidy:v}=s;n.setQueryParams({buildingId:l,facilityLocationId:c,destinationId:d,routeLang:p,channel:h,skipRegisterFirst:m,tidy:v})},[o]),!i||i.suspended||i.webApp===!1)throw new Error("Page Not found");if(!e.initialized||!t.initialized)return null;if(!o)throw new Error("Invalid Appointment");const a=e.transportMode;return te(eu,{maxWidth:"md",sx:{overflowY:"auto",bgcolor:"background.paper",px:"0 !important",position:"fixed",top:0,left:0,right:0,bottom:0},children:[te(Oe,{minHeight:"4rem",children:[E(Oe,{px:100,children:E(C3,{})}),E(Oe,{sx:{position:"absolute",top:14,right:11},children:E(bAe,{})})]}),E(Oe,{sx:{position:"sticky",top:0,zIndex:1},children:E(nt,{p:12,bgcolor:"primary.main",color:"primary.contrastText",textAlign:"center",fontWeight:700,fontSize:12,lineHeight:14/12,children:E(Rt,{id:ORe})})}),te(Oe,{pb:50,children:[E($V,{}),E(fV,{}),a&&te(Qt,{children:[a===wi.Car&&e.needParking&&E(FV,{}),E(gV,{}),E(cV,{})]})]})]})}),kRe={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},BV=kRe;function NRe(e){return pt("MuiCollapse",e)}mt("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const DRe=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],LRe=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Et(r,NRe,n)},MRe=ye("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>P({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&P({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),$Re=ye("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>P({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),FRe=ye("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>P({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),HV=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:a,collapsedSize:s="0px",component:l,easing:c,in:d,onEnter:p,onEntered:h,onEntering:m,onExit:v,onExited:y,onExiting:x,orientation:b="vertical",style:_,timeout:S=cW.standard,TransitionComponent:C=mb}=r,O=$e(r,DRe),A=P({},r,{orientation:b,collapsedSize:s}),R=LRe(A),N=Dn(),F=T.exports.useRef(),L=T.exports.useRef(null),H=T.exports.useRef(),j=typeof s=="number"?`${s}px`:s,Y=b==="horizontal",K=Y?"width":"height";T.exports.useEffect(()=>()=>{clearTimeout(F.current)},[]);const Z=T.exports.useRef(null),ne=Fn(n,Z),oe=se=>Ce=>{if(se){const ke=Z.current;Ce===void 0?se(ke):se(ke,Ce)}},z=()=>L.current?L.current[Y?"clientWidth":"clientHeight"]:0,Q=oe((se,Ce)=>{L.current&&Y&&(L.current.style.position="absolute"),se.style[K]=j,p&&p(se,Ce)}),J=oe((se,Ce)=>{const ke=z();L.current&&Y&&(L.current.style.position="");const{duration:Ee,easing:Qe}=uc({style:_,timeout:S,easing:c},{mode:"enter"});if(S==="auto"){const Re=N.transitions.getAutoHeightDuration(ke);se.style.transitionDuration=`${Re}ms`,H.current=Re}else se.style.transitionDuration=typeof Ee=="string"?Ee:`${Ee}ms`;se.style[K]=`${ke}px`,se.style.transitionTimingFunction=Qe,m&&m(se,Ce)}),M=oe((se,Ce)=>{se.style[K]="auto",h&&h(se,Ce)}),B=oe(se=>{se.style[K]=`${z()}px`,v&&v(se)}),Pe=oe(y),pe=oe(se=>{const Ce=z(),{duration:ke,easing:Ee}=uc({style:_,timeout:S,easing:c},{mode:"exit"});if(S==="auto"){const Qe=N.transitions.getAutoHeightDuration(Ce);se.style.transitionDuration=`${Qe}ms`,H.current=Qe}else se.style.transitionDuration=typeof ke=="string"?ke:`${ke}ms`;se.style[K]=j,se.style.transitionTimingFunction=Ee,x&&x(se)});return E(C,P({in:d,onEnter:Q,onEntered:M,onEntering:J,onExit:B,onExited:Pe,onExiting:pe,addEndListener:se=>{S==="auto"&&(F.current=setTimeout(se,H.current||0)),i&&i(Z.current,se)},nodeRef:Z,timeout:S==="auto"?null:S},O,{children:(se,Ce)=>E(MRe,P({as:l,className:He(R.root,a,{entered:R.entered,exited:!d&&j==="0px"&&R.hidden}[se]),style:P({[Y?"minWidth":"minHeight"]:j},_),ownerState:P({},A,{state:se}),ref:ne},Ce,{children:E($Re,{ownerState:P({},A,{state:se}),className:R.wrapper,ref:L,children:E(FRe,{ownerState:P({},A,{state:se}),className:R.wrapperInner,children:o})})}))}))});HV.muiSupportAuto=!0;const BRe=HV;function HRe(e){return pt("MuiAlert",e)}const URe=mt("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),VD=URe,zRe=Sc(E("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),GRe=Sc(E("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),WRe=Sc(E("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jRe=Sc(E("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),VRe=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],KRe=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`${t}${Se(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Et(o,HRe,i)},qRe=ye(ru,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Se(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?L1:M1,r=e.palette.mode==="light"?M1:L1,i=t.color||t.severity;return P({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:r(e.palette[i].light,.9),[`& .${VD.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${VD.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette.mode==="dark"?e.palette[i].main:e.palette[i].light}},i&&t.variant==="filled"&&P({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main)}))}),YRe=ye("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),XRe=ye("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),KD=ye("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),qD={success:E(zRe,{fontSize:"inherit"}),warning:E(GRe,{fontSize:"inherit"}),error:E(WRe,{fontSize:"inherit"}),info:E(jRe,{fontSize:"inherit"})},QRe=T.exports.forwardRef(function(t,n){var r,i,o,a,s,l;const c=St({props:t,name:"MuiAlert"}),{action:d,children:p,className:h,closeText:m="Close",color:v,components:y={},componentsProps:x={},icon:b,iconMapping:_=qD,onClose:S,role:C="alert",severity:O="success",slotProps:A={},slots:R={},variant:N="standard"}=c,F=$e(c,VRe),L=P({},c,{color:v,severity:O,variant:N}),H=KRe(L),j=(r=(i=R.closeButton)!=null?i:y.CloseButton)!=null?r:lc,Y=(o=(a=R.closeIcon)!=null?a:y.CloseIcon)!=null?o:kV,K=(s=A.closeButton)!=null?s:x.closeButton,Z=(l=A.closeIcon)!=null?l:x.closeIcon;return te(qRe,P({role:C,elevation:0,ownerState:L,className:He(H.root,h),ref:n},F,{children:[b!==!1?E(YRe,{ownerState:L,className:H.icon,children:b||_[O]||qD[O]}):null,E(XRe,{ownerState:L,className:H.message,children:p}),d!=null?E(KD,{ownerState:L,className:H.action,children:d}):null,d==null&&S?E(KD,{ownerState:L,className:H.action,children:E(j,P({size:"small","aria-label":m,title:m,color:"inherit",onClick:S},K,{children:E(Y,P({fontSize:"small"},Z))}))}):null]}))}),tp=QRe;function ZRe(e){return pt("MuiAlertTitle",e)}mt("MuiAlertTitle",["root"]);const JRe=["className"],ePe=e=>{const{classes:t}=e;return Et({root:["root"]},ZRe,t)},tPe=ye(nt,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),nPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiAlertTitle"}),{className:i}=r,o=$e(r,JRe),a=r,s=ePe(a);return E(tPe,P({gutterBottom:!0,component:"div",ownerState:a,ref:n,className:He(s.root,i)},o))}),rPe=nPe,iPe=e=>!e||!Vs(e),y5=iPe;function oPe(e){return pt("MuiCard",e)}mt("MuiCard",["root"]);const aPe=["className","raised"],sPe=e=>{const{classes:t}=e;return Et({root:["root"]},oPe,t)},lPe=ye(ru,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),uPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,a=$e(r,aPe),s=P({},r,{raised:o}),l=sPe(s);return E(lPe,P({className:He(l.root,i),elevation:o?8:void 0,ref:n,ownerState:s},a))}),UV=uPe;function cPe(e){return pt("MuiDialog",e)}const dPe=mt("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),t_=dPe,fPe=T.exports.createContext({}),zV=fPe,pPe=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],hPe=ye(J3,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),mPe=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${Se(n)}`],paper:["paper",`paperScroll${Se(n)}`,`paperWidth${Se(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Et(a,cPe,t)},gPe=ye(Pb,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),vPe=ye("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Se(n.scroll)}`]]}})(({ownerState:e})=>P({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),yPe=ye(ru,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Se(n.scroll)}`],t[`paperWidth${Se(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>P({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${t_.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${t_.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${t_.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),bPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDialog"}),i=Dn(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:d,className:p,disableEscapeKeyDown:h=!1,fullScreen:m=!1,fullWidth:v=!1,maxWidth:y="sm",onBackdropClick:x,onClose:b,open:_,PaperComponent:S=ru,PaperProps:C={},scroll:O="paper",TransitionComponent:A=hV,transitionDuration:R=o,TransitionProps:N}=r,F=$e(r,pPe),L=P({},r,{disableEscapeKeyDown:h,fullScreen:m,fullWidth:v,maxWidth:y,scroll:O}),H=mPe(L),j=T.exports.useRef(),Y=oe=>{j.current=oe.target===oe.currentTarget},K=oe=>{!j.current||(j.current=null,x&&x(oe),b&&b(oe,"backdropClick"))},Z=X0(s),ne=T.exports.useMemo(()=>({titleId:Z}),[Z]);return E(gPe,P({className:He(H.root,p),closeAfterTransition:!0,components:{Backdrop:hPe},componentsProps:{backdrop:P({transitionDuration:R,as:l},c)},disableEscapeKeyDown:h,onClose:b,open:_,ref:n,onClick:K,ownerState:L},F,{children:E(A,P({appear:!0,in:_,timeout:R,role:"presentation"},N,{children:E(vPe,{className:He(H.container),onMouseDown:Y,ownerState:L,children:E(yPe,P({as:S,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":Z},C,{className:He(H.paper,C.className),ownerState:L,children:E(zV.Provider,{value:ne,children:d})}))})}))}))}),pg=bPe;function EPe(e){return pt("MuiDialogActions",e)}mt("MuiDialogActions",["root","spacing"]);const TPe=["className","disableSpacing"],_Pe=e=>{const{classes:t,disableSpacing:n}=e;return Et({root:["root",!n&&"spacing"]},EPe,t)},SPe=ye("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>P({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),xPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,a=$e(r,TPe),s=P({},r,{disableSpacing:o}),l=_Pe(s);return E(SPe,P({className:He(l.root,i),ownerState:s,ref:n},a))}),u6=xPe;function CPe(e){return pt("MuiDialogContent",e)}mt("MuiDialogContent",["root","dividers"]);function wPe(e){return pt("MuiDialogTitle",e)}const APe=mt("MuiDialogTitle",["root"]),IPe=APe,RPe=["className","dividers"],PPe=e=>{const{classes:t,dividers:n}=e;return Et({root:["root",n&&"dividers"]},CPe,t)},OPe=ye("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>P({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${IPe.root} + &`]:{paddingTop:0}})),kPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=r,a=$e(r,RPe),s=P({},r,{dividers:o}),l=PPe(s);return E(OPe,P({className:He(l.root,i),ownerState:s,ref:n},a))}),c6=kPe;function NPe(e){return pt("MuiDialogContentText",e)}mt("MuiDialogContentText",["root"]);const DPe=["children","className"],LPe=e=>{const{classes:t}=e,r=Et({root:["root"]},NPe,t);return P({},t,r)},MPe=ye(nt,{shouldForwardProp:e=>fs(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$Pe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDialogContentText"}),{className:i}=r,o=$e(r,DPe),a=LPe(o);return E(MPe,P({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:o,className:He(a.root,i)},r,{classes:a}))}),GV=$Pe,FPe=["className","id"],BPe=e=>{const{classes:t}=e;return Et({root:["root"]},wPe,t)},HPe=ye(nt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),UPe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiDialogTitle"}),{className:i,id:o}=r,a=$e(r,FPe),s=r,l=BPe(s),{titleId:c=o}=T.exports.useContext(zV);return E(HPe,P({component:"h2",className:He(l.root,i),ownerState:s,ref:n,variant:"h6",id:c},a))}),WV=UPe,zPe=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function GPe(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Ys(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const c=o.getComputedStyle(t);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function WPe(e){return typeof e=="function"?e():e}function b5(e,t,n){const r=WPe(n),i=GPe(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const jPe=T.exports.forwardRef(function(t,n){const r=Dn(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:d="down",easing:p=i,in:h,onEnter:m,onEntered:v,onEntering:y,onExit:x,onExited:b,onExiting:_,style:S,timeout:C=o,TransitionComponent:O=mb}=t,A=$e(t,zPe),R=T.exports.useRef(null),N=Fn(l.ref,R,n),F=z=>Q=>{z&&(Q===void 0?z(R.current):z(R.current,Q))},L=F((z,Q)=>{b5(d,z,c),Z3(z),m&&m(z,Q)}),H=F((z,Q)=>{const J=uc({timeout:C,style:S,easing:p},{mode:"enter"});z.style.webkitTransition=r.transitions.create("-webkit-transform",P({},J)),z.style.transition=r.transitions.create("transform",P({},J)),z.style.webkitTransform="none",z.style.transform="none",y&&y(z,Q)}),j=F(v),Y=F(_),K=F(z=>{const Q=uc({timeout:C,style:S,easing:p},{mode:"exit"});z.style.webkitTransition=r.transitions.create("-webkit-transform",Q),z.style.transition=r.transitions.create("transform",Q),b5(d,z,c),x&&x(z)}),Z=F(z=>{z.style.webkitTransition="",z.style.transition="",b&&b(z)}),ne=z=>{a&&a(R.current,z)},oe=T.exports.useCallback(()=>{R.current&&b5(d,R.current,c)},[d,c]);return T.exports.useEffect(()=>{if(h||d==="down"||d==="right")return;const z=U2(()=>{R.current&&b5(d,R.current,c)}),Q=Ys(R.current);return Q.addEventListener("resize",z),()=>{z.clear(),Q.removeEventListener("resize",z)}},[d,h,c]),T.exports.useEffect(()=>{h||oe()},[h,oe]),E(O,P({nodeRef:R,onEnter:L,onEntered:j,onEntering:H,onExit:K,onExited:Z,onExiting:Y,addEndListener:ne,appear:s,in:h,timeout:C},A,{children:(z,Q)=>T.exports.cloneElement(l,P({ref:N,style:P({visibility:z==="exited"&&!h?"hidden":void 0},S,l.props.style)},Q))}))}),YD=jPe,VPe=T.exports.createContext(),XD=VPe;function KPe(e){return pt("MuiGrid",e)}const qPe=[0,1,2,3,4,5,6,7,8,9,10],YPe=["column-reverse","column","row-reverse","row"],XPe=["nowrap","wrap-reverse","wrap"],xh=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],p0=mt("MuiGrid",["root","container","item","zeroMinWidth",...qPe.map(e=>`spacing-xs-${e}`),...YPe.map(e=>`direction-xs-${e}`),...XPe.map(e=>`wrap-xs-${e}`),...xh.map(e=>`grid-xs-${e}`),...xh.map(e=>`grid-sm-${e}`),...xh.map(e=>`grid-md-${e}`),...xh.map(e=>`grid-lg-${e}`),...xh.map(e=>`grid-xl-${e}`)]),QPe=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function bf(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function ZPe({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=as({values:t.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return r;const l=`${Math.round(n/s*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const d=e.spacing(t.columnSpacing);if(d!=="0px"){const p=`calc(${l} + ${bf(d)})`;c={flexBasis:p,maxWidth:p}}}o=P({flexBasis:l,flexGrow:0,maxWidth:l},c)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function JPe({theme:e,ownerState:t}){const n=as({values:t.direction,breakpoints:e.breakpoints.values});return Ri({theme:e},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${p0.item}`]={maxWidth:"none"}),i})}function jV({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const r=Object.keys(e).sort((i,o)=>e[i]-e[o]);return r.slice(0,r.indexOf(n))}function eOe({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const o=as({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=jV({breakpoints:e.breakpoints.values,values:o})),i=Ri({theme:e},o,(s,l)=>{var c;const d=e.spacing(s);return d!=="0px"?{marginTop:`-${bf(d)}`,[`& > .${p0.item}`]:{paddingTop:bf(d)}}:(c=a)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${p0.item}`]:{paddingTop:0}}})}return i}function tOe({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const o=as({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=jV({breakpoints:e.breakpoints.values,values:o})),i=Ri({theme:e},o,(s,l)=>{var c;const d=e.spacing(s);return d!=="0px"?{width:`calc(100% + ${bf(d)})`,marginLeft:`-${bf(d)}`,[`& > .${p0.item}`]:{paddingLeft:bf(d)}}:(c=a)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${p0.item}`]:{paddingLeft:0}}})}return i}function nOe(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(i=>{const o=e[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const rOe=ye("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let d=[];r&&(d=nOe(a,c,t));const p=[];return c.forEach(h=>{const m=n[h];m&&p.push(t[`grid-${h}-${String(m)}`])}),[t.root,r&&t.container,o&&t.item,l&&t.zeroMinWidth,...d,i!=="row"&&t[`direction-xs-${String(i)}`],s!=="wrap"&&t[`wrap-xs-${String(s)}`],...p]}})(({ownerState:e})=>P({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),JPe,eOe,tOe,ZPe);function iOe(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const i=e[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const oOe=e=>{const{classes:t,container:n,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];n&&(c=iOe(o,l));const d=[];l.forEach(h=>{const m=e[h];m&&d.push(`grid-${h}-${String(m)}`)});const p={root:["root",n&&"container",i&&"item",s&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...d]};return Et(p,KPe,t)},aOe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiGrid"}),{breakpoints:i}=Dn(),o=J1(r),{className:a,columns:s,columnSpacing:l,component:c="div",container:d=!1,direction:p="row",item:h=!1,rowSpacing:m,spacing:v=0,wrap:y="wrap",zeroMinWidth:x=!1}=o,b=$e(o,QPe),_=m||v,S=l||v,C=T.exports.useContext(XD),O=d?s||12:C,A={},R=P({},b);i.keys.forEach(L=>{b[L]!=null&&(A[L]=b[L],delete R[L])});const N=P({},o,{columns:O,container:d,direction:p,item:h,rowSpacing:_,columnSpacing:S,wrap:y,zeroMinWidth:x,spacing:v},A,{breakpoints:i.keys}),F=oOe(N);return E(XD.Provider,{value:O,children:E(rOe,P({ownerState:N,className:He(F.root,a),as:c,ref:n},R))})}),n_=aOe;function sOe(e,t,n,r,i){const o=typeof window<"u"&&typeof window.matchMedia<"u",[a,s]=T.exports.useState(()=>i&&o?n(e).matches:r?r(e).matches:t);return Wo(()=>{let l=!0;if(!o)return;const c=n(e),d=()=>{l&&s(c.matches)};return d(),c.addListener(d),()=>{l=!1,c.removeListener(d)}},[e,n,o]),a}const VV=S1["useSyncExternalStore"];function lOe(e,t,n,r){const i=T.exports.useCallback(()=>t,[t]),o=T.exports.useMemo(()=>{if(r!==null){const{matches:c}=r(e);return()=>c}return i},[i,e,r]),[a,s]=T.exports.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[i,n,e]);return VV(s,a,o)}function el(e,t={}){const n=q2(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s}=s3({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(VV!==void 0?lOe:sOe)(l,i,o,a,s)}function uOe(e){return pt("MuiSkeleton",e)}mt("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const cOe=["animation","className","component","height","style","variant","width"];let _y=e=>e,QD,ZD,JD,eL;const dOe=e=>{const{classes:t,variant:n,animation:r,hasChildren:i,width:o,height:a}=e;return Et({root:["root",n,r,i&&"withChildren",i&&!o&&"fitContent",i&&!a&&"heightAuto"]},uOe,t)},fOe=yc(QD||(QD=_y`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)),pOe=yc(ZD||(ZD=_y`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)),hOe=ye("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.animation!==!1&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const n=h9e(e.shape.borderRadius)||"px",r=m9e(e.shape.borderRadius);return P({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Yt(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&Kf(JD||(JD=_y`
      animation: ${0} 1.5s ease-in-out 0.5s infinite;
    `),fOe),({ownerState:e,theme:t})=>e.animation==="wave"&&Kf(eL||(eL=_y`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 1.6s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `),pOe,(t.vars||t).palette.action.hover)),mOe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:c="text",width:d}=r,p=$e(r,cOe),h=P({},r,{animation:i,component:a,variant:c,hasChildren:Boolean(p.children)}),m=dOe(h);return E(hOe,P({as:a,ref:n,className:He(m.root,o),ownerState:h},p,{style:P({width:d,height:s},l)}))}),gOe=mOe,vOe=["component","components","componentsProps","color","size","slotProps","slots"],va=P({},t9,mt("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),yOe=ye("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Se(n.color)}`],n.size!=="medium"&&t[`size${Se(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e,ownerState:t})=>P({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},t.orientation==="horizontal"&&P({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},t.size==="small"&&{height:2},t.marked&&{marginBottom:20}),t.orientation==="vertical"&&P({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},t.size==="small"&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${va.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${va.dragging}`]:{[`& .${va.thumb}, & .${va.track}`]:{transition:"none"}}})),bOe=ye("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>P({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},e.orientation==="horizontal"&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},e.orientation==="vertical"&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},e.track==="inverted"&&{opacity:1})),EOe=ye("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?M1(e.palette[t.color].main,.62):L1(e.palette[t.color].main,.5);return P({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{border:"none"},t.orientation==="horizontal"&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},t.orientation==="vertical"&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},t.track===!1&&{display:"none"},t.track==="inverted"&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})}),TOe=ye("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Se(n.color)}`],n.size!=="medium"&&t[`thumbSize${Se(n.size)}`]]}})(({theme:e,ownerState:t})=>P({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{width:12,height:12},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-50%, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":P({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},t.size==="small"&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${va.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:Yt(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${va.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:Yt(e.palette[t.color].main,.16)}`},[`&.${va.disabled}`]:{"&:hover":{boxShadow:"none"}}})),_Oe=ye(UW,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>P({[`&.${va.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},t.orientation==="horizontal"&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},t.orientation==="vertical"&&{right:"30px",top:"24px",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},t.size==="small"&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"})),SOe=ye("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>p3(e)&&e!=="markActive",overridesResolver:(e,t)=>t.mark})(({theme:e,ownerState:t,markActive:n})=>P({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-1px, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8})),xOe=ye("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>p3(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>P({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},t.orientation==="horizontal"&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},t.orientation==="vertical"&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary})),COe=e=>{const{color:t,size:n,classes:r={}}=e;return P({},r,{root:He(r.root,Uh(`color${Se(t)}`),r[`color${Se(t)}`],n&&[Uh(`size${Se(n)}`),r[`size${Se(n)}`]]),thumb:He(r.thumb,Uh(`thumbColor${Se(t)}`),r[`thumbColor${Se(t)}`],n&&[Uh(`thumbSize${Se(n)}`),r[`thumbSize${Se(n)}`]])})},wOe=T.exports.forwardRef(function(t,n){var r,i,o,a,s,l,c,d,p,h,m,v,y,x,b,_,S,C,O,A,R,N,F;const L=St({props:t,name:"MuiSlider"}),j=Dn().direction==="rtl",{component:Y="span",components:K={},componentsProps:Z={},color:ne="primary",size:oe="medium",slotProps:z,slots:Q}=L,J=$e(L,vOe),M=P({},L,{color:ne,size:oe}),B=COe(M),Pe=(r=(i=Q==null?void 0:Q.root)!=null?i:K.Root)!=null?r:yOe,pe=(o=(a=Q==null?void 0:Q.rail)!=null?a:K.Rail)!=null?o:bOe,me=(s=(l=Q==null?void 0:Q.track)!=null?l:K.Track)!=null?s:EOe,se=(c=(d=Q==null?void 0:Q.thumb)!=null?d:K.Thumb)!=null?c:TOe,Ce=(p=(h=Q==null?void 0:Q.valueLabel)!=null?h:K.ValueLabel)!=null?p:_Oe,ke=(m=(v=Q==null?void 0:Q.mark)!=null?v:K.Mark)!=null?m:SOe,Ee=(y=(x=Q==null?void 0:Q.markLabel)!=null?x:K.MarkLabel)!=null?y:xOe,Qe=(b=Q==null?void 0:Q.input)!=null?b:K.Input,Re=(_=z==null?void 0:z.root)!=null?_:Z.root,tt=(S=z==null?void 0:z.rail)!=null?S:Z.rail,ut=(C=z==null?void 0:z.track)!=null?C:Z.track,rt=(O=z==null?void 0:z.thumb)!=null?O:Z.thumb,Fe=(A=z==null?void 0:z.valueLabel)!=null?A:Z.valueLabel,Bt=(R=z==null?void 0:z.mark)!=null?R:Z.mark,je=(N=z==null?void 0:z.markLabel)!=null?N:Z.markLabel,ie=(F=z==null?void 0:z.input)!=null?F:Z.input;return E(u4e,P({},J,{isRtl:j,slots:{root:Pe,rail:pe,track:me,thumb:se,valueLabel:Ce,mark:ke,markLabel:Ee,input:Qe},slotProps:P({},Z,{root:P({},Re,y5(Pe)&&{as:Y,ownerState:P({},Re==null?void 0:Re.ownerState,{color:ne,size:oe})}),rail:tt,thumb:P({},rt,y5(se)&&{ownerState:P({},rt==null?void 0:rt.ownerState,{color:ne,size:oe})}),track:P({},ut,y5(me)&&{ownerState:P({},ut==null?void 0:ut.ownerState,{color:ne,size:oe})}),valueLabel:P({},Fe,y5(Ce)&&{ownerState:P({},Fe==null?void 0:Fe.ownerState,{color:ne,size:oe})}),mark:Bt,markLabel:je,input:ie}),classes:B,ref:n}))}),AOe=wOe;function IOe(e){return pt("MuiSnackbarContent",e)}mt("MuiSnackbarContent",["root","message","action"]);const ROe=["action","className","message","role"],POe=e=>{const{classes:t}=e;return Et({root:["root"],action:["action"],message:["message"]},IOe,t)},OOe=ye(ru,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=rW(e.palette.background.default,t);return P({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),kOe=ye("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),NOe=ye("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),DOe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=r,l=$e(r,ROe),c=r,d=POe(c);return te(OOe,P({role:s,square:!0,elevation:6,className:He(d.root,o),ownerState:c,ref:n},l,{children:[E(kOe,{className:d.message,ownerState:c,children:a}),i?E(NOe,{className:d.action,ownerState:c,children:i}):null]}))}),LOe=DOe;function MOe(e){return pt("MuiSnackbar",e)}mt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const $Oe=["onEnter","onExited"],FOe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],BOe=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${Se(n.vertical)}${Se(n.horizontal)}`]};return Et(r,MOe,t)},HOe=ye("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Se(n.anchorOrigin.vertical)}${Se(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return P({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:P({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),UOe=T.exports.forwardRef(function(t,n){const r=St({props:t,name:"MuiSnackbar"}),i=Dn(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:d,className:p,ClickAwayListenerProps:h,ContentProps:m,disableWindowBlurListener:v=!1,message:y,onBlur:x,onClose:b,onFocus:_,onMouseEnter:S,onMouseLeave:C,open:O,resumeHideDuration:A,TransitionComponent:R=f0,transitionDuration:N=o,TransitionProps:{onEnter:F,onExited:L}={}}=r,H=$e(r.TransitionProps,$Oe),j=$e(r,FOe),Y=P({},r,{anchorOrigin:{vertical:s,horizontal:l}}),K=BOe(Y),Z=T.exports.useRef(),[ne,oe]=T.exports.useState(!0),z=Zr((...Ee)=>{b&&b(...Ee)}),Q=Zr(Ee=>{!b||Ee==null||(clearTimeout(Z.current),Z.current=setTimeout(()=>{z(null,"timeout")},Ee))});T.exports.useEffect(()=>(O&&Q(c),()=>{clearTimeout(Z.current)}),[O,c,Q]);const J=()=>{clearTimeout(Z.current)},M=T.exports.useCallback(()=>{c!=null&&Q(A!=null?A:c*.5)},[c,A,Q]),B=Ee=>{_&&_(Ee),J()},Pe=Ee=>{S&&S(Ee),J()},pe=Ee=>{x&&x(Ee),M()},me=Ee=>{C&&C(Ee),M()},se=Ee=>{b&&b(Ee,"clickaway")},Ce=Ee=>{oe(!0),L&&L(Ee)},ke=(Ee,Qe)=>{oe(!1),F&&F(Ee,Qe)};return T.exports.useEffect(()=>{if(!v&&O)return window.addEventListener("focus",M),window.addEventListener("blur",J),()=>{window.removeEventListener("focus",M),window.removeEventListener("blur",J)}},[v,M,O]),T.exports.useEffect(()=>{if(!O)return;function Ee(Qe){Qe.defaultPrevented||(Qe.key==="Escape"||Qe.key==="Esc")&&b&&b(Qe,"escapeKeyDown")}return document.addEventListener("keydown",Ee),()=>{document.removeEventListener("keydown",Ee)}},[ne,O,b]),!O&&ne?null:E(f2e,P({onClickAway:se},h,{children:E(HOe,P({className:He(K.root,p),onBlur:pe,onFocus:B,onMouseEnter:Pe,onMouseLeave:me,ownerState:Y,ref:n,role:"presentation"},j,{children:E(R,P({appear:!0,in:O,timeout:N,direction:s==="top"?"down":"up",onEnter:ke,onExited:Ce},H,{children:d||E(LOe,P({message:y,action:a},m))}))}))}))}),np=UOe;function zOe(e){return pt("MuiTooltip",e)}const GOe=mt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),$u=GOe,WOe=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function jOe(e){return Math.round(e*1e5)/1e5}const VOe=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${Se(o.split("-")[0])}`],arrow:["arrow"]};return Et(a,zOe,t)},KOe=ye(Vb,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>P({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${$u.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${$u.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${$u.arrow}`]:P({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${$u.arrow}`]:P({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),qOe=ye("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Se(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>P({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Yt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${jOe(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${$u.popper}[data-popper-placement*="left"] &`]:P({transformOrigin:"right center"},t.isRtl?P({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):P({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${$u.popper}[data-popper-placement*="right"] &`]:P({transformOrigin:"left center"},t.isRtl?P({marginRight:"14px"},t.touch&&{marginRight:"24px"}):P({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${$u.popper}[data-popper-placement*="top"] &`]:P({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${$u.popper}[data-popper-placement*="bottom"] &`]:P({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),YOe=ye("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Yt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let E5=!1,r_=null;function T5(e,t){return n=>{t&&t(n),e(n)}}const XOe=T.exports.forwardRef(function(t,n){var r,i,o,a,s,l,c,d,p,h,m,v,y,x,b,_,S,C,O;const A=St({props:t,name:"MuiTooltip"}),{arrow:R=!1,children:N,components:F={},componentsProps:L={},describeChild:H=!1,disableFocusListener:j=!1,disableHoverListener:Y=!1,disableInteractive:K=!1,disableTouchListener:Z=!1,enterDelay:ne=100,enterNextDelay:oe=0,enterTouchDelay:z=700,followCursor:Q=!1,id:J,leaveDelay:M=0,leaveTouchDelay:B=1500,onClose:Pe,onOpen:pe,open:me,placement:se="bottom",PopperComponent:Ce,PopperProps:ke={},slotProps:Ee={},slots:Qe={},title:Re,TransitionComponent:tt=f0,TransitionProps:ut}=A,rt=$e(A,WOe),Fe=Dn(),Bt=Fe.direction==="rtl",[je,ie]=T.exports.useState(),[ce,he]=T.exports.useState(null),Ae=T.exports.useRef(!1),Ge=K||Q,Xe=T.exports.useRef(),ue=T.exports.useRef(),ve=T.exports.useRef(),De=T.exports.useRef(),[Le,U]=Dl({controlled:me,default:!1,name:"Tooltip",state:"open"});let V=Le;const fe=X0(J),de=T.exports.useRef(),Ve=T.exports.useCallback(()=>{de.current!==void 0&&(document.body.style.WebkitUserSelect=de.current,de.current=void 0),clearTimeout(De.current)},[]);T.exports.useEffect(()=>()=>{clearTimeout(Xe.current),clearTimeout(ue.current),clearTimeout(ve.current),Ve()},[Ve]);const qe=Zt=>{clearTimeout(r_),E5=!0,U(!0),pe&&!V&&pe(Zt)},Je=Zr(Zt=>{clearTimeout(r_),r_=setTimeout(()=>{E5=!1},800+M),U(!1),Pe&&V&&Pe(Zt),clearTimeout(Xe.current),Xe.current=setTimeout(()=>{Ae.current=!1},Fe.transitions.duration.shortest)}),Tt=Zt=>{Ae.current&&Zt.type!=="touchstart"||(je&&je.removeAttribute("title"),clearTimeout(ue.current),clearTimeout(ve.current),ne||E5&&oe?ue.current=setTimeout(()=>{qe(Zt)},E5?oe:ne):qe(Zt))},en=Zt=>{clearTimeout(ue.current),clearTimeout(ve.current),ve.current=setTimeout(()=>{Je(Zt)},M)},{isFocusVisibleRef:Kt,onBlur:Ot,onFocus:ir,ref:Kn}=Q0(),[,Rn]=T.exports.useState(!1),Hn=Zt=>{Ot(Zt),Kt.current===!1&&(Rn(!1),en(Zt))},Lr=Zt=>{je||ie(Zt.currentTarget),ir(Zt),Kt.current===!0&&(Rn(!0),Tt(Zt))},Ar=Zt=>{Ae.current=!0;const Vr=N.props;Vr.onTouchStart&&Vr.onTouchStart(Zt)},jr=Tt,gs=en,$a=Zt=>{Ar(Zt),clearTimeout(ve.current),clearTimeout(Xe.current),Ve(),de.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",De.current=setTimeout(()=>{document.body.style.WebkitUserSelect=de.current,Tt(Zt)},z)},iu=Zt=>{N.props.onTouchEnd&&N.props.onTouchEnd(Zt),Ve(),clearTimeout(ve.current),ve.current=setTimeout(()=>{Je(Zt)},B)};T.exports.useEffect(()=>{if(!V)return;function Zt(Vr){(Vr.key==="Escape"||Vr.key==="Esc")&&Je(Vr)}return document.addEventListener("keydown",Zt),()=>{document.removeEventListener("keydown",Zt)}},[Je,V]);const nl=Fn(N.ref,Kn,ie,n);!Re&&Re!==0&&(V=!1);const bo=T.exports.useRef({x:0,y:0}),Eo=T.exports.useRef(),rl=Zt=>{const Vr=N.props;Vr.onMouseMove&&Vr.onMouseMove(Zt),bo.current={x:Zt.clientX,y:Zt.clientY},Eo.current&&Eo.current.update()},Gt={},Ir=typeof Re=="string";H?(Gt.title=!V&&Ir&&!Y?Re:null,Gt["aria-describedby"]=V?fe:null):(Gt["aria-label"]=Ir?Re:null,Gt["aria-labelledby"]=V&&!Ir?fe:null);const gr=P({},Gt,rt,N.props,{className:He(rt.className,N.props.className),onTouchStart:Ar,ref:nl},Q?{onMouseMove:rl}:{}),Fa={};Z||(gr.onTouchStart=$a,gr.onTouchEnd=iu),Y||(gr.onMouseOver=T5(jr,gr.onMouseOver),gr.onMouseLeave=T5(gs,gr.onMouseLeave),Ge||(Fa.onMouseOver=jr,Fa.onMouseLeave=gs)),j||(gr.onFocus=T5(Lr,gr.onFocus),gr.onBlur=T5(Hn,gr.onBlur),Ge||(Fa.onFocus=Lr,Fa.onBlur=Hn));const Ic=T.exports.useMemo(()=>{var Zt;let Vr=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return(Zt=ke.popperOptions)!=null&&Zt.modifiers&&(Vr=Vr.concat(ke.popperOptions.modifiers)),P({},ke.popperOptions,{modifiers:Vr})},[ce,ke]),vs=P({},A,{isRtl:Bt,arrow:R,disableInteractive:Ge,placement:se,PopperComponentProp:Ce,touch:Ae.current}),we=VOe(vs),be=(r=(i=Qe.popper)!=null?i:F.Popper)!=null?r:KOe,ht=(o=(a=(s=Qe.transition)!=null?s:F.Transition)!=null?a:tt)!=null?o:f0,wt=(l=(c=Qe.tooltip)!=null?c:F.Tooltip)!=null?l:qOe,En=(d=(p=Qe.arrow)!=null?p:F.Arrow)!=null?d:YOe,Sr=Hh(be,P({},ke,(h=Ee.popper)!=null?h:L.popper,{className:He(we.popper,ke==null?void 0:ke.className,(m=(v=Ee.popper)!=null?v:L.popper)==null?void 0:m.className)}),vs),cr=Hh(ht,P({},ut,(y=Ee.transition)!=null?y:L.transition),vs),Yi=Hh(wt,P({},(x=Ee.tooltip)!=null?x:L.tooltip,{className:He(we.tooltip,(b=(_=Ee.tooltip)!=null?_:L.tooltip)==null?void 0:b.className)}),vs),ad=Hh(En,P({},(S=Ee.arrow)!=null?S:L.arrow,{className:He(we.arrow,(C=(O=Ee.arrow)!=null?O:L.arrow)==null?void 0:C.className)}),vs);return te(T.exports.Fragment,{children:[T.exports.cloneElement(N,gr),E(be,P({as:Ce!=null?Ce:Vb,placement:se,anchorEl:Q?{getBoundingClientRect:()=>({top:bo.current.y,left:bo.current.x,right:bo.current.x,bottom:bo.current.y,width:0,height:0})}:je,popperRef:Eo,open:je?V:!1,id:fe,transition:!0},Fa,Sr,{popperOptions:Ic,children:({TransitionProps:Zt})=>E(ht,P({timeout:Fe.transitions.duration.shorter},Zt,cr,{"data-foo":"bar",children:te(wt,P({},Yi,{children:[Re,R?E(En,P({},ad,{ref:he})):null]}))}))}))]})}),d6=XOe,QOe=100,u9={scrolling:!1,time:0,directionX:null,directionY:null,speedX:0,speedY:0,totalDistanceX:0,totalDistanceY:0,relativeDistanceX:0,relativeDistanceY:0,positionX:0,positionY:0,prcScrolledX:0,prcScrolledY:0};function ZOe(){return window.scrollX||0}function JOe(){return window.scrollY||0}function eke(e,t){return e>t.positionX?"right":e<t.positionX?"left":null}function tke(e,t){return e>t.positionY?"down":e<t.positionY?"up":null}function nke(e,t){return t.totalDistanceX+Math.abs(e-t.positionX)}function rke(e,t){return t.totalDistanceY+Math.abs(e-t.positionY)}function ike(e,t){return Math.abs(e-t.positionX)}function oke(e,t){return Math.abs(e-t.positionY)}function ake(){const e=document.documentElement.scrollHeight-window.innerHeight;return window.scrollY/e*100}function ske(){const e=document.documentElement.scrollWidth-window.innerWidth;return window.scrollX/e*100}function lke(e){const t={type:"scroll",payload:e},r=new URLSearchParams(window.location.search).get("embed");!r||window.parent.postMessage(t,r)}const uke=(e={})=>{const[t,n]=T.exports.useState(u9),r=T.exports.useRef(u9),i=T.exports.useRef(u9),o=T.exports.useRef(),a=T.exports.useRef(),s=T.exports.useRef(null),l=T.exports.useRef(null);function c(v){o.current||(o.current=v);const y=v-o.current,x=ZOe(),b=JOe(),_=eke(x,i.current),S=tke(b,i.current),C=nke(x,i.current),O=rke(b,i.current),A=ike(x,r.current),R=oke(b,r.current),N=ske(),F=ake(),L=v-(a.current||0),H=(i.current.positionX-x)/Math.max(1,L)*1e3,j=(i.current.positionY-b)/Math.max(1,L)*1e3,Y={...i.current,scrolling:!0,time:y,positionX:x,positionY:b,directionX:_,directionY:S,totalDistanceX:C,totalDistanceY:O,relativeDistanceX:A,relativeDistanceY:R,prcScrolledX:N,prcScrolledY:F,speedX:H,speedY:j};i.current=Y,n(Y),lke(Y),a.current=v,l.current=requestAnimationFrame(c)}function d(){s.current&&clearTimeout(s.current),s.current=setTimeout(m,QOe)}function p(){i.current.scrolling||h(),d()}function h(){r.current={...i.current},l.current=requestAnimationFrame(c),typeof e.onScrollStart=="function"&&e.onScrollStart()}function m(){i.current={...i.current,scrolling:!1,time:0,directionX:null,directionY:null,speedX:0,speedY:0,totalDistanceX:0,totalDistanceY:0,relativeDistanceX:0,relativeDistanceY:0,positionX:0,positionY:0},n(i.current),cancelAnimationFrame(l.current),o.current=null,a.current=null,typeof e.onScrollEnd=="function"&&e.onScrollEnd()}return T.exports.useEffect(()=>(window.addEventListener("scroll",p,{passive:!0}),()=>{clearTimeout(s.current),window.removeEventListener("scroll",p,!0)}),[]),{...t,time:Math.round(t.time),speedX:Math.round(t.speedX),speedY:Math.round(t.speedY),totalDistanceX:Math.round(t.totalDistanceX),totalDistanceY:Math.round(t.totalDistanceY),relativeDistanceX:Math.round(t.relativeDistanceX),relativeDistanceY:Math.round(t.relativeDistanceY),positionX:Math.round(t.positionX),positionY:Math.round(t.positionY)}},KV=T.exports.createContext({scrollData:u9}),cke=xt(({children:e})=>{const t=uke();return E(KV.Provider,{value:{scrollData:t},children:e})}),dke=xt(()=>{const{buildings:e,languages:t}=T.exports.useContext(gt),n=T.exports.useRef(!1),[r,i]=T.exports.useState(!1),o=T.exports.useMemo(()=>{var s,l,c;const a=((s=t.selectedLanguage)==null?void 0:s.id)||"en";return(c=(l=e.building)==null?void 0:l.welcomeTextI18n)==null?void 0:c[a]},[e.building,t.selectedLanguage]);return T.exports.useEffect(()=>{!n.current&&o&&(i(!0),n.current=!0)},[o]),!r||!o?null:E(Pb,{open:!0,children:E(eu,{maxWidth:"sm",sx:{padding:{xs:0},":focus-visible":{outline:"none"}},children:te(Oe,{sx:a=>({backgroundColor:"#AE0C0C",borderRadius:1,p:15,mx:15,mt:35,display:"flex",flexDirection:"column",alignItems:"center",boxShadow:a.shadows[2]}),children:[E(nt,{color:"white",lineHeight:16/14,fontSize:14,textAlign:"center",children:E(sc,{children:o})}),E(Dr,{sx:a=>({backgroundColor:"#980B0B",px:20,py:8,mt:20,fontSize:14,lineHeight:16/14,fontWeight:500,color:"white",boxShadow:a.shadows[2]}),onClick:()=>i(!1),children:"Got it"})]})})})});var f6={},fke=rr.exports;Object.defineProperty(f6,"__esModule",{value:!0});var qV=f6.default=void 0,pke=fke(lr()),tL=ur,hke=(0,pke.default)([(0,tL.jsx)("path",{d:"M6 17.59 7.41 19 12 14.42 16.59 19 18 17.59l-6-6z"},"0"),(0,tL.jsx)("path",{d:"m6 11 1.41 1.41L12 7.83l4.59 4.58L18 11l-6-6z"},"1")],"KeyboardDoubleArrowUp");qV=f6.default=hke;const YV=()=>E("path",{d:"M0 20V18.1538H12V20H0ZM0 13.5385V11.6923H6V13.5385H0ZM0 7.07692V5.23077H6V7.07692H0ZM22.74 20L17.94 15.0769C17.42 15.4872 16.86 15.7949 16.26 16C15.66 16.2051 15.04 16.3077 14.4 16.3077C12.74 16.3077 11.325 15.7077 10.155 14.5077C8.985 13.3077 8.4 11.8564 8.4 10.1539C8.4 8.45128 8.985 7 10.155 5.8C11.325 4.6 12.74 4 14.4 4C16.06 4 17.475 4.6 18.645 5.8C19.815 7 20.4 8.45128 20.4 10.1539C20.4 10.8103 20.3 11.4461 20.1 12.0615C19.9 12.6769 19.6 13.2513 19.2 13.7846L24 18.7077L22.74 20ZM14.4 14.4615C15.56 14.4615 16.55 14.041 17.37 13.2C18.19 12.359 18.6 11.3436 18.6 10.1539C18.6 8.9641 18.19 7.94872 17.37 7.10769C16.55 6.26667 15.56 5.84615 14.4 5.84615C13.24 5.84615 12.25 6.26667 11.43 7.10769C10.61 7.94872 10.2 8.9641 10.2 10.1539C10.2 11.3436 10.61 12.359 11.43 13.2C12.25 14.041 13.24 14.4615 14.4 14.4615Z"});const hg=Pt.PhotoRoutePage.Messages,mke=hg.NoDestinationSelected,gke=hg.ClickShowRoute,vke=hg.ScrollDown,yke=hg.PathNotFound,bke=hg.PathErrorSameDestination,XV=T.exports.memo(()=>te(Qt,{children:[E(Oe,{sx:e=>({display:"flex",height:40,width:40,alignItems:"center",justifyContent:"center",mt:10,color:e.palette.background.surface1}),children:E(Zs,{viewBox:"0 0 24 24",sx:{height:"100%",width:"100%"},children:E(YV,{})})}),E(nt,{variant:"subtitle1",color:"textSecondary",fontSize:15,lineHeight:1.2,mt:17,textAlign:"center",children:E(Rt,{id:mke,breakLine:!0})})]}));XV.displayName="UntilDestinationsSelectedHint";const QV=T.exports.memo(()=>te(Qt,{children:[E(Oe,{sx:e=>({display:"flex",height:36,width:36,fontSize:"3.5rem",alignItems:"center",justifyContent:"center",mt:10,color:e.palette.background.surface1,animation:"up-down 1s infinite alternate"}),children:E(qV,{fontSize:"inherit"})}),E(nt,{variant:"subtitle1",color:"textSecondary",fontSize:15,lineHeight:1.2,mt:17,textAlign:"center",children:E(Rt,{id:gke,breakLine:!0})})]}));QV.displayName="UntilRouteRequestedHint";const ZV=T.exports.memo(()=>E(Wi,{direction:"row",justifyContent:"center",spacing:5,mb:20,children:te(nt,{variant:"subtitle1",color:"textSecondary",fontSize:12,lineHeight:1.5,textAlign:"center",children:["\u25BC ",E(Rt,{id:vke})," \u25BC"]})}));ZV.displayName="PhotoPathLoadedHint";const JV=xt(()=>{var r,i;const{destinations:e}=T.exports.useContext(gt),t=(r=e.startDestination)==null?void 0:r.nodeId,n=(i=e.endDestination)==null?void 0:i.nodeId;return E(Oe,{justifyContent:"center",mb:20,children:E(nt,{variant:"subtitle1",color:"error.light",fontSize:14,lineHeight:1.5,textAlign:"center",px:15,children:E(Rt,{id:t&&n&&t===n?bke:yke})})})});JV.displayName="PhotoPathError";const Eke=()=>E(Oe,{mt:10,mb:20,textAlign:"center",children:E(nd,{size:20})}),Tke=()=>{const{destinations:e,pathfinder:t}=T.exports.useContext(gt);if(t.loading)return E(Eke,{});if(t.error)return E(JV,{});const n=t.path;return te(eu,{disableGutters:!0,sx:{px:15,display:"flex",flexDirection:"column",alignItems:"center"},children:[!n&&e.startDestination&&e.endDestination&&E(QV,{}),!n&&(!e.startDestination||!e.endDestination)&&E(XV,{}),n&&E(ZV,{})]})},_ke=xt(Tke);var p6={},Ske=rr.exports;Object.defineProperty(p6,"__esModule",{value:!0});var eK=p6.default=void 0,xke=Ske(lr()),Cke=ur,wke=(0,xke.default)((0,Cke.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"}),"Replay");eK=p6.default=wke;const Ake=xt(()=>{var c,d;const{destinations:e,analytics:t,queryParams:n,pathfinder:r}=T.exports.useContext(gt),i=$t(Pt.PhotoRoutePage.ReverseRouteLink),o=(c=ae.first(r.paths))==null?void 0:c.from,a=(d=ae.last(r.paths))==null?void 0:d.to,s=T.exports.useCallback(p=>{!o||!a||(typeof p.onClick=="function"&&p.onClick(p),p.channel&&n.updateQueryParams({channel:p.channel,loadedFollowups:void 0,followups:void 0,nodeFrom:a.id,nodeTo:p.id}),e.setStartDestination(a.nodeId,a.destinationId),e.setEndDestination(p.nodeId,p.destinationId))},[o,a]),l=T.exports.useMemo(()=>[...o?[{...o,icon:eK,label:i,channel:cz?os.CMSReversedRoute:os.ReversedRoute,onClick:()=>{t.log(Mn.SwapStartDestination)}}]:[],...e.destinations.filter(p=>{var h;return p.id!==(o==null?void 0:o.id)&&p.id!==(a==null?void 0:a.id)&&((h=a==null?void 0:a.followUps)==null?void 0:h.includes(p.id))}).map(p=>({...p,channel:os.FollowUp}))],[o,a,e.destinations]);return!o||!a?null:te(Oe,{px:12,mt:27,children:[E(nt,{fontWeight:500,lineHeight:16/14,height:26,color:"text.primaryLight",children:E(Rt,{id:Pt.PhotoRoutePage.SuggestionQuestion})}),E(Oe,{display:"inline-flex",flexWrap:"wrap",gap:9,mt:7,children:l.map(p=>E(OV,{variant:"outlined",label:p.label,icon:p.icon&&E(p.icon,{color:"textSecondary"}),onClick:()=>s(p),sx:h=>({fontSize:14,lineHeight:1.1428,color:h.palette.text.secondaryDark,borderRadius:1})},p.id))})]})}),nL=xt(({href:e,store:t,iconSrc:n})=>{const{analytics:r}=T.exports.useContext(gt);return E("a",{href:e,target:"_blank",rel:"noreferrer",onClick:()=>r.log(Mn.PressStoreLink,{store:t}),children:E("img",{src:n,alt:`${t} store link`,style:{width:"135px",height:"40px",display:"block"}})})}),Ike=xt(()=>{var r,i,o;const{buildings:e}=T.exports.useContext(gt),{iTunes:t,googlePlay:n}=(r=e.building)!=null?r:{};return!((i=e.building)!=null&&i.storeLogo)||!t&&!n?null:te(Qt,{children:[E(Za,{sx:a=>({mt:25,mb:25,borderColor:a.palette.background.surface1})}),E(Oe,{px:12,children:((o=e.building)==null?void 0:o.storeLogo)&&(n||t)&&te(Wi,{direction:"row",spacing:11,mb:18,justifyContent:"center",children:[n&&E(nL,{href:n,store:"google",iconSrc:Wf("/vendor/play-store.svg")}),t&&E(nL,{href:t,store:"apple",iconSrc:Wf("/vendor/app-store.svg")})]})})]})});var h6={},Rke=rr.exports;Object.defineProperty(h6,"__esModule",{value:!0});var tK=h6.default=void 0,Pke=Rke(lr()),i_=ur,Oke=(0,Pke.default)([(0,i_.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"0"),(0,i_.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"1"),(0,i_.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-3.5c.73 0 1.39.19 1.97.53.12-.14.86-.98 1.01-1.14-.85-.56-1.87-.89-2.98-.89-1.11 0-2.13.33-2.99.88.97 1.09.01.02 1.01 1.14.59-.33 1.25-.52 1.98-.52z"},"2")],"SentimentDissatisfied");tK=h6.default=Oke;var m6={},kke=rr.exports;Object.defineProperty(m6,"__esModule",{value:!0});var nK=m6.default=void 0,Nke=kke(lr()),Ch=ur,Dke=(0,Nke.default)([(0,Ch.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"0"),(0,Ch.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"1"),(0,Ch.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"2"),(0,Ch.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"3"),(0,Ch.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-2.5c2.33 0 4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2s-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5z"},"4")],"SentimentSatisfiedAlt");nK=m6.default=Dke;var g6={},Lke=rr.exports;Object.defineProperty(g6,"__esModule",{value:!0});var rK=g6.default=void 0,Mke=Lke(lr()),$ke=ur,Fke=(0,Mke.default)((0,$ke.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"}),"StarOutlined");rK=g6.default=Fke;const Pp=Pt.PhotoRoutePage.PathRating,Bke=Pp.FeedbackPlaceholder,Hke=Pp.Question,Uke=Pp.PositiveAnswer,zke=Pp.NegativeAnswer,iK=Pp.ThankYouMessage,Gke=Pp.StarRatingQuestion,rL=xt(({label:e,value:t,icon:n,selected:r})=>{const{pathfinder:i,analytics:o}=T.exports.useContext(gt);return E(Dr,{variant:"contained",disableElevation:!0,startIcon:n,sx:a=>({bgcolor:r?"primary":"background.surface0",color:r?a.palette.primary.contrastText:a.palette.text.secondaryDark,fontSize:14,lineHeight:16/14,py:9,paddingInlineStart:10,paddingInlineEnd:16,["& .MuiButton-startIcon > :nth-of-type(1)"]:{fontSize:25},"&:hover":!r&&{bgcolor:a.palette.background.surface2,color:a.palette.text.primary}}),onClick:()=>{i.setUserRating(t),o.log(Mn.ClickWasInstructionHelpful,{isHelpful:t==="yes"})},children:e})}),Wke=xt(()=>{const{pathfinder:e}=T.exports.useContext(gt),t=$t(Bke),n=T.exports.useRef(null),[r,i]=T.exports.useState(""),[o,a]=T.exports.useState(!1);return T.exports.useEffect(()=>{var s,l;(s=n.current)==null||s.scrollIntoView(),(l=n.current)==null||l.focus()},[]),te(Qt,{children:[E(LV,{placeholder:t,fullWidth:!0,multiline:!0,minRows:4,value:r,inputRef:n,onChange:s=>i(s.target.value),sx:{mt:27,bgcolor:"white",fontSize:14,lineHeight:16/14,"& .MuiInputBase-input::placeholder":{fontStyle:"italic"}}}),E(Wi,{justifyContent:"flex-end",direction:"row",mt:10,children:E(Dr,{variant:"contained",sx:{fontSize:12},disableElevation:!0,disabled:r.length<=3,startIcon:o&&E(nd,{size:14,sx:s=>({color:s.palette.primary.contrastText})}),onClick:()=>{var s;a(!0),(s=e.setFeedback(r))==null||s.then(()=>i("")).finally(()=>a(!1))},children:"Submit"})})]})}),jke=xt(()=>{const{pathfinder:e}=T.exports.useContext(gt),t=e.userRating==="yes",n=e.userRating==="no";return te(Oe,{px:12,children:[E(nt,{fontWeight:500,lineHeight:16/14,color:"text.primaryLight",children:E(Rt,{id:Hke})}),te(Wi,{direction:"row",spacing:10,mt:18,children:[E(rL,{label:E(Rt,{id:Uke}),icon:E(nK,{}),value:"yes",selected:t}),E(rL,{label:E(Rt,{id:zke}),icon:E(tK,{}),value:"no",selected:n})]}),t&&E(nt,{color:"textSecondary",mt:27,textAlign:"center",children:E(Rt,{id:iK})}),n&&E(Wke,{})]})}),Vke=xt(()=>{const{pathfinder:e,analytics:t}=T.exports.useContext(gt),[n,r]=T.exports.useState(!1),i=T.exports.useRef(!1),o=T.exports.useCallback(a=>{e.setStarRating(a),t.log(Mn.ClickStarRating,{rating:a}),i.current||(r(!0),i.current=!0)},[]);return te(Oe,{px:12,mt:18,children:[E(np,{open:n,autoHideDuration:3e3,onClose:()=>r(!1),anchorOrigin:{vertical:"top",horizontal:"right"},children:E(tp,{severity:"success",variant:"filled",onClose:()=>r(!1),children:E(Rt,{id:iK})})}),E(nt,{fontWeight:500,lineHeight:16/14,color:"text.primaryLight",children:E(Rt,{id:Gke})}),E(Wi,{direction:"row",spacing:4,mt:14,fontSize:30,children:Array(5).fill(null).map((a,s)=>{var l;return E(rK,{fontSize:"inherit",onClick:()=>o(s+1),color:s<((l=e.starRating)!=null?l:0)?"primary":"disabled",cursor:"pointer"},s)})})]})}),Kke=xt(()=>{var r,i;const{themes:e,buildings:t}=T.exports.useContext(gt),n=(r=e.theme.userFeedback)!=null?r:{};return((i=t.building)==null?void 0:i.showUserRatings)===!1||n.ratingFeedback===!1&&n.routeFeedback===!1?null:te(Qt,{children:[E(Za,{sx:o=>({mt:27,mb:17,borderColor:o.palette.background.surface1})}),n.routeFeedback&&E(jke,{}),n.ratingFeedback&&E(Vke,{})]})}),mg=Pt.PhotoRoutePage.NextStopPrompts,qke=Pt.Misc.Submit,Yke=mg.LocationCodeHeader,Xke=mg.LocationCodeDescription,Qke=mg.LocationCodePlaceholder,Zke=mg.InvalidLocationCode,Jke=mg.SameDestinationError,eNe=xt(()=>{const{destinations:e,pathfinder:t}=T.exports.useContext(gt),n=$t(Qke),r=$t(Zke),i=$t(Jke),[o,a]=T.exports.useState(""),[s,l]=T.exports.useState(""),c=T.exports.useCallback(()=>l(""),[]),d=T.exports.useCallback(h=>{h.target.value.length<=16&&a(h.target.value.toUpperCase())},[]),p=T.exports.useCallback(h=>{var v,y;const m=e.destinations.find(x=>{var b,_;return((_=(b=x.category)==null?void 0:b.locationId)==null?void 0:_.toUpperCase())===h});if(!m){l(r);return}if((m==null?void 0:m.id)===((y=(v=ae.last(t.paths))==null?void 0:v.to)==null?void 0:y.id)){l(i);return}t.loadStopById(m.id)},[]);return te(Qt,{children:[E(np,{open:!!s,autoHideDuration:3e3,onClose:c,anchorOrigin:{vertical:"top",horizontal:"right"},children:E(tp,{severity:"error",variant:"filled",children:s})}),E(nt,{mt:8,fontWeight:500,fontSize:16,lineHeight:19/16,textAlign:"center",color:"text.primaryLight",children:E(Rt,{id:Yke})}),E(nt,{mt:8,fontSize:12,lineHeight:16/12,textAlign:"center",color:"text.secondary",children:E(Rt,{id:Xke})}),E(wc,{placeholder:n,value:o,onChange:d,sx:{mt:14,border:"1px solid",borderColor:"background.surface2","& .MuiInputBase-input":{textAlign:"center"}}}),E(Dr,{variant:"contained",sx:{mt:14},disabled:!o,onClick:()=>p(o),children:E(Rt,{id:qke})})]})}),oK=Pt.PhotoRoutePage.NextStopPrompts,tNe=oK.ScanQRheader,nNe=oK.ScanQRNativeDescription,rNe=()=>te(Qt,{children:[E(nt,{mt:8,fontWeight:500,fontSize:16,lineHeight:19/16,textAlign:"center",color:"text.primaryLight",children:E(Rt,{id:tNe})}),E(nt,{mt:8,fontSize:12,lineHeight:16/12,textAlign:"center",color:"text.secondary",children:E(Rt,{id:nNe,breakLine:!0})})]}),iNe="modulepreload",oNe=function(e){return"/modern/"+e},iL={},aNe=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=oNe(o),o in iL)return;iL[o]=!0;const a=o.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const p=i[d];if(p.href===o&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":iNe,a||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),a)return new Promise((d,p)=>{c.addEventListener("load",d),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};var v6={},sNe=rr.exports;Object.defineProperty(v6,"__esModule",{value:!0});var y6=v6.default=void 0,lNe=sNe(lr()),uNe=ur,cNe=(0,lNe.default)((0,uNe.jsx)("path",{d:"M3 11h8V3H3v8zm2-6h4v4H5V5zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm8-12v8h8V3h-8zm6 6h-4V5h4v4zm0 10h2v2h-2zm-6-6h2v2h-2zm2 2h2v2h-2zm-2 2h2v2h-2zm2 2h2v2h-2zm2-2h2v2h-2zm0-4h2v2h-2zm2 2h2v2h-2z"}),"QrCode");y6=v6.default=cNe;const dNe=T.exports.lazy(()=>aNe(()=>import("./index.a97d4fed.js"),[])),fNe=Pt.PhotoRoutePage.Controls.CancelLabel,b6=Pt.PhotoRoutePage.NextStopPrompts,pNe=b6.ScanQRheader,hNe=b6.ScanQRWebDescription,mNe=b6.ScanQRButton,gNe=()=>{const e=J2(),[t,n]=T.exports.useReducer(o=>!o,!1),r=T.exports.useCallback(o=>{const a=new URL(o);e(a.pathname)},[]),i=T.exports.useCallback(o=>{console.error("Error scanning qr:",o)},[]);return te(Qt,{children:[E(nt,{mt:8,fontWeight:500,fontSize:16,lineHeight:19/16,textAlign:"center",color:"text.primaryLight",children:E(Rt,{id:pNe})}),E(nt,{mt:8,fontSize:12,lineHeight:16/12,textAlign:"center",color:"text.secondary",children:E(Rt,{id:hNe})}),E(T.exports.Suspense,{children:E(dNe,{onScan:r,onError:i,open:t,onClose:n})}),E(Dr,{variant:"contained",sx:{mt:14,minWidth:120},onClick:n,startIcon:t?E(vNe,{}):E(y6,{}),children:t?E(Rt,{id:fNe}):E(Rt,{id:mNe})})]})},vNe=T.exports.memo(()=>E(nd,{size:20,sx:e=>({color:e.palette.primary.contrastText})})),yNe={[Lu.Button]:()=>null,[Lu.LocationCode]:eNe,[Lu.QrWeb]:gNe,[Lu.QrNative]:rNe},bNe=T.exports.memo(()=>{const e=Dn(),t=el(e.breakpoints.down("sm")),n=yNe[e.nextStopPromptType];return te(eu,{maxWidth:"sm",sx:{mt:t?0:20,mx:"auto",mb:50,px:"20px !important",display:"flex",flexDirection:"column",alignItems:"center"},children:[t&&E(Oe,{sx:{height:30},children:E(Za,{orientation:"vertical"})}),E(n,{})]})});var Dx=new Map,_5=new WeakMap,oL=0,ENe=void 0;function TNe(e){return e?(_5.has(e)||(oL+=1,_5.set(e,oL.toString())),_5.get(e)):"0"}function _Ne(e){return Object.keys(e).sort().filter(function(t){return e[t]!==void 0}).map(function(t){return t+"_"+(t==="root"?TNe(e.root):e[t])}).toString()}function SNe(e){var t=_Ne(e),n=Dx.get(t);if(!n){var r=new Map,i,o=new IntersectionObserver(function(a){a.forEach(function(s){var l,c=s.isIntersecting&&i.some(function(d){return s.intersectionRatio>=d});e.trackVisibility&&typeof s.isVisible>"u"&&(s.isVisible=c),(l=r.get(s.target))==null||l.forEach(function(d){d(c,s)})})},e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},Dx.set(t,n)}return n}function xNe(e,t,n,r){if(n===void 0&&(n={}),r===void 0&&(r=ENe),typeof window.IntersectionObserver>"u"&&r!==void 0){var i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=SNe(n),a=o.id,s=o.observer,l=o.elements,c=l.get(e)||[];return l.has(e)||l.set(e,c),c.push(t),s.observe(e),function(){c.splice(c.indexOf(t),1),c.length===0&&(l.delete(e),s.unobserve(e)),l.size===0&&(s.disconnect(),Dx.delete(a))}}function Lx(e){var t,n=e===void 0?{}:e,r=n.threshold,i=n.delay,o=n.trackVisibility,a=n.rootMargin,s=n.root,l=n.triggerOnce,c=n.skip,d=n.initialInView,p=n.fallbackInView,h=n.onChange,m=T.exports.useState(null),v=m[0],y=m[1],x=T.exports.useRef(),b=T.exports.useState({inView:!!d,entry:void 0}),_=b[0],S=b[1];x.current=h,T.exports.useEffect(function(){if(!(c||!v)){var R;return R=xNe(v,function(N,F){S({inView:N,entry:F}),x.current&&x.current(N,F),F.isIntersecting&&l&&R&&(R(),R=void 0)},{root:s,rootMargin:a,threshold:r,trackVisibility:o,delay:i},p),function(){R&&R()}}},[Array.isArray(r)?r.toString():r,v,s,a,l,c,o,p,i]);var C=(t=_.entry)==null?void 0:t.target,O=T.exports.useRef();!v&&C&&!l&&!c&&O.current!==C&&(O.current=C,S({inView:!!d,entry:void 0}));var A=[y,_.inView,_.entry];return A.ref=A[0],A.inView=A[1],A.entry=A[2],A}function aK(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}const CNe=(e,t=ae.noop)=>{const{scrollData:n}=T.exports.useContext(KV),{ref:r,entry:i,inView:o}=Lx({threshold:.5,skip:!e,initialInView:!1});T.exports.useEffect(()=>{!i||(o?n.directionY==="up"?t(Mn.PictureEnterTop,n):t(Mn.PictureEnterBottom,n):n.directionY==="up"?t(Mn.PictureLeaveBottom,n):t(Mn.PictureLeaveTop,n))},[o]);const{ref:a,entry:s,inView:l}=Lx({threshold:.5,skip:!e,initialInView:!1,rootMargin:"0px 0px -40% 0px"});return T.exports.useEffect(()=>{!s||l&&t(Mn.PictureCenter,n)},[l]),[T.exports.useMemo(()=>aK(r,a),[r,a])]};function wNe(e){const t=Dn(),n=el(t.breakpoints.up("md")),r=el(t.breakpoints.down("sm")),i=T.exports.useMemo(()=>n?3:r?1:2,[n,r]);return{rows:T.exports.useMemo(()=>{const a=[];for(let s=0;s<e.length;s+=i)a.push(e.slice(s,s+i));return a},[i,e]),size:i}}const sK=Pt.PhotoRoutePage.Controls,ANe=sK.FromLabel,INe=sK.ToLabel,RNe=({from:e,to:t})=>te(eu,{maxWidth:"xs",sx:{px:"0px !important",display:"flex",flexDirection:"column",alignItems:"center"},children:[E(Oe,{sx:{height:30},children:E(Za,{orientation:"vertical",color:"textSecondary"})}),E(Za,{orientation:"horizontal",color:"textSecondary",sx:{width:"100%"}}),te(nt,{textAlign:"center",p:15,fontWeight:500,lineHeight:20/14,color:"text.primaryLight",children:[E(Rt,{id:ANe})," ",e,E("br",{}),E(Rt,{id:INe})," ",t]}),E(Za,{orientation:"horizontal",color:"textSecondary",sx:{width:"100%"}}),E(Oe,{sx:{height:30},children:E(Za,{orientation:"vertical",color:"textSecondary"})})]}),PNe=()=>E("path",{d:"M8.66667 21.8182C8.01185 21.8182 7.45815 21.609 7.00556 21.1906C6.55296 20.7722 6.32667 20.2604 6.32667 19.6551H11.0067C11.0067 20.2604 10.7804 20.7722 10.3278 21.1906C9.87519 21.609 9.32148 21.8182 8.66667 21.8182ZM3.98667 17.9993V16.397H13.3467V17.9993H3.98667ZM4.13111 14.768C2.86 14.0024 1.8537 13.0455 1.11222 11.8972C0.370741 10.7489 0 9.45366 0 8.01157C0 5.83955 0.857037 3.96128 2.57111 2.37677C4.28518 0.792255 6.31704 0 8.66667 0C11.0163 0 13.0481 0.792255 14.7622 2.37677C16.4763 3.96128 17.3333 5.83955 17.3333 8.01157C17.3333 9.45366 16.9674 10.7489 16.2356 11.8972C15.5037 13.0455 14.4926 14.0024 13.2022 14.768H4.13111ZM4.76667 13.1657H12.5956C13.52 12.596 14.2519 11.8571 14.7911 10.9492C15.3304 10.0412 15.6 9.06198 15.6 8.01157C15.6 6.24903 14.9211 4.74018 13.5633 3.48503C12.2056 2.22989 10.5733 1.60231 8.66667 1.60231C6.76 1.60231 5.12778 2.22989 3.77 3.48503C2.41222 4.74018 1.73333 6.24903 1.73333 8.01157C1.73333 9.06198 2.00296 10.0412 2.54222 10.9492C3.08148 11.8571 3.82296 12.596 4.76667 13.1657Z"}),lK=T.exports.memo(({text:e,iconUrl:t})=>te(Oe,{sx:n=>({backgroundColor:"background.paper",color:"text.primary",paddingInlineStart:23,paddingInlineEnd:14,py:17,display:"flex"}),children:[t?E(Oe,{sx:{width:21,height:21,display:"flex",alignItems:"center",justifyContent:"center","& img":{width:"100%",height:"100%",objectFit:"contain",display:"block"}},children:E("img",{src:t})}):E(Zs,{children:E(PNe,{})}),E(nt,{component:"div",fontSize:16,lineHeight:19/16,flexGrow:1,sx:{paddingInlineStart:12},children:E(sc,{className:"",children:e})})]}));lK.displayName="AdvertisementI18n";var E6={},ONe=rr.exports;Object.defineProperty(E6,"__esModule",{value:!0});var uK=E6.default=void 0,kNe=ONe(lr()),NNe=ur,DNe=(0,kNe.default)((0,NNe.jsx)("path",{d:"M18 11v2h4v-2h-4zm-2 6.61c.96.71 2.21 1.65 3.2 2.39.4-.53.8-1.07 1.2-1.6-.99-.74-2.24-1.68-3.2-2.4-.4.54-.8 1.08-1.2 1.61zM20.4 5.6c-.4-.53-.8-1.07-1.2-1.6-.99.74-2.24 1.68-3.2 2.4.4.53.8 1.07 1.2 1.6.96-.72 2.21-1.65 3.2-2.4zM4 9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v4h2v-4h1l5 3V6L8 9H4zm11.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34z"}),"Campaign");uK=E6.default=DNe;const cK=T.exports.memo(({focused:e})=>te(Oe,{sx:t=>({backgroundColor:`rgba(0, 0, 0, ${e?.6:.4})`,borderRadius:1,color:t.palette.common.white,pt:8,pb:8,pl:8,pr:12,display:"flex",height:"min-content"}),children:[E(Oe,{sx:{fontSize:16,height:16,width:16,display:"flex",alignItems:"center"},children:E(uK,{color:"inherit",fontSize:"inherit"})}),E(nt,{paragraph:!1,fontSize:14,lineHeight:1.1428,fontWeight:500,color:"inherit",ml:8,textAlign:"center",children:E(Rt,{id:Pt.PhotoRoutePage.Messages.ApprochingDestination})})]}));cK.displayName="ApprochingHintProps";const LNe=({alt:e,file:t})=>{var i,o,a,s;const n=Dn(),r=Wf(`images/${(s=(a=(o=(i=n.arrows)==null?void 0:i["3d"])==null?void 0:o.color)==null?void 0:a.toLowerCase())==null?void 0:s.slice(1)}/${t}`);return E(Oe,{sx:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center","&::before":{content:'""',position:"absolute",height:"100%",width:"100%",bgcolor:"rgba(255, 255, 255, 0.5)",borderRadius:"50%",transform:"rotate3d(1, 0, 0, 60deg)"}},children:E("img",{src:r,alt:e,style:{zIndex:1,width:"60%",display:"block",objectFit:"contain"}})})},aL=()=>te(Qt,{children:[E("path",{id:"container",d:"M41.0306 45.4521V161.225C41.0306 161.456 41.2213 161.646 41.4521 161.646H113.765C113.503 161.903 113.252 162.178 113.015 162.469C111.099 164.819 110.338 167.831 110.826 170.687H41.4521C36.2344 170.687 32 166.443 32 161.235V45.4521C32 40.2344 36.2444 36 41.4521 36H157.235C162.453 36 166.687 40.2444 166.687 45.4521V128.006C164.434 126.816 161.673 126.548 159.262 127.4C158.699 127.599 158.162 127.845 157.656 128.133V45.4521C157.656 45.2213 157.466 45.0306 157.235 45.0306H41.4521C41.2213 45.0306 41.0306 45.2213 41.0306 45.4521Z"}),E("path",{id:"button",d:"M117.707 130.187C116.376 127.652 115.046 125.117 113.717 122.584C112.674 120.597 111.861 118.851 112.052 116.443C112.333 112.951 114.329 109.841 117.61 108.496C120.54 107.292 124.062 107.713 126.661 109.519C128.397 110.724 129.3 112.229 130.263 114.065L131.204 115.858C133.631 111.095 135 105.702 135 99.9898C135 80.6598 119.33 64.9898 100 64.9898C80.67 64.9898 65 80.6598 65 99.9898C65 119.32 80.67 134.99 100 134.99C106.461 134.99 112.513 133.239 117.707 130.187Z"}),E("path",{id:"button-border",d:"M135 99.9898C135 103.398 134.513 106.693 133.604 109.808C133.301 110.847 132.951 111.865 132.557 112.862C132.152 113.885 131.7 114.885 131.204 115.858L130.263 114.065C129.592 112.785 128.95 111.666 128.034 110.697C128.034 110.697 128.034 110.697 128.033 110.696C128.68 109.003 129.178 107.236 129.511 105.411C129.768 104.005 129.927 102.565 129.98 101.096C129.993 100.729 130 100.36 130 99.9898C130 83.4212 116.569 69.9898 100 69.9898C83.4315 69.9898 70 83.4212 70 99.9898C70 116.558 83.4315 129.99 100 129.99C100.24 129.99 100.48 129.987 100.719 129.981C104.304 129.897 107.727 129.186 110.888 127.954C110.888 127.954 110.888 127.953 110.888 127.953C112.453 127.343 113.955 126.605 115.38 125.753C116.155 127.23 116.931 128.709 117.707 130.187C116.748 130.75 115.76 131.269 114.746 131.741C114.245 131.974 113.738 132.196 113.225 132.405C109.144 134.071 104.679 134.99 100 134.99C80.67 134.99 65 119.32 65 99.9898C65 80.6598 80.67 64.9898 100 64.9898C119.33 64.9898 135 80.6598 135 99.9898Z"}),te("g",{id:"hand",children:[E("path",{d:"M144.983 171.339C139.736 161.335 134.478 151.331 129.23 141.327C126.029 135.237 122.828 129.136 119.637 123.045C118.865 121.57 118.072 120.095 117.309 118.61C117.249 118.49 117.169 118.369 117.119 118.239C117.119 118.219 117.099 118.199 117.089 118.179C117.36 118.921 117.069 117.687 117.069 117.647C117.029 117.326 117.049 116.955 117.069 116.624C117.289 114.245 119.186 112.71 121.383 112.821C122.447 112.871 123.581 113.342 124.434 114.115C125.146 114.757 125.487 115.751 125.929 116.593L127.544 119.684C129.631 123.647 131.708 127.621 133.795 131.584C138.05 139.692 142.304 147.799 146.559 155.907C148.064 158.767 152.388 156.238 150.893 153.378C146.95 145.863 142.997 138.337 139.053 130.822C137.087 127.069 135.12 123.326 133.153 119.574L130.263 114.065C129.3 112.229 128.397 110.724 126.661 109.519C124.062 107.713 120.54 107.292 117.61 108.496C114.329 109.841 112.333 112.951 112.052 116.443C111.861 118.851 112.674 120.597 113.717 122.584C116.617 128.113 119.527 133.651 122.427 139.18C126.26 146.485 130.093 153.79 133.926 161.084C136.123 165.259 138.15 169.593 140.528 173.667C140.568 173.727 140.598 173.798 140.629 173.858C142.134 176.717 146.458 174.189 144.963 171.329L144.983 171.339Z"}),E("path",{d:"M143.709 139.822C143.308 138.417 143.448 137.223 144.181 136.019C144.482 135.528 144.963 135.036 145.425 134.745C146.067 134.334 146.468 134.153 147.361 134.053C146.96 134.093 147.522 134.053 147.612 134.063C147.783 134.063 147.963 134.063 148.134 134.073C148.606 134.093 147.592 133.932 148.385 134.093C148.555 134.133 148.726 134.163 148.897 134.213C149.047 134.253 149.79 134.544 149.539 134.424C149.699 134.504 149.86 134.584 150.01 134.675C150 134.675 150.673 135.116 150.382 134.896C151.054 135.407 151.285 135.728 151.626 136.35C153.522 139.822 155.308 143.354 157.145 146.856C157.797 148.1 158.449 149.335 159.101 150.579C159.753 151.823 161.399 152.144 162.533 151.482C163.747 150.769 164.068 149.254 163.436 148.05C161.6 144.548 159.753 141.036 157.917 137.534C157.215 136.2 156.583 134.815 155.81 133.521C153.753 130.049 149.378 128.393 145.505 129.317C140.318 130.551 137.448 136.17 138.873 141.167C139.756 144.267 144.602 142.953 143.709 139.832V139.822Z"}),E("path",{d:"M157.897 137.384C157.717 136.732 157.676 136.33 157.757 135.769C157.837 135.146 158.068 134.595 158.439 134.003C158.66 133.651 158.67 133.651 158.85 133.451C158.971 133.32 159.101 133.19 159.232 133.069C159.553 132.768 159.452 132.859 159.352 132.939C160.054 132.387 160.476 132.216 161.239 132.026C162.894 131.614 164.871 132.206 165.744 133.772C167.54 136.983 169.165 140.294 170.881 143.555C171.503 144.749 172.125 145.933 172.758 147.127C173.39 148.321 175.055 148.692 176.189 148.03C177.403 147.318 177.724 145.803 177.092 144.598C175.346 141.267 173.59 137.926 171.844 134.595C171.222 133.411 170.67 132.166 169.968 131.032C167.811 127.521 163.095 126.046 159.262 127.4C154.626 129.036 151.766 133.902 153.071 138.729C153.914 141.839 158.75 140.525 157.907 137.394L157.897 137.384Z"}),E("path",{d:"M172.567 135.447C171.844 132.708 174.042 129.999 176.872 129.969C178.708 129.949 179.932 130.912 180.745 132.457C182.711 136.2 184.678 139.943 186.635 143.685C187.889 146.073 189.133 148.452 190.387 150.84L193.388 156.559C193.518 156.8 193.638 157.051 193.769 157.292C193.839 157.422 194.08 157.934 193.809 157.322C193.538 156.71 193.749 157.211 193.799 157.382C193.859 157.623 193.929 157.853 194 158.094C194.19 158.837 194.361 159.589 194.501 160.352C194.762 161.757 194.782 161.917 194.893 163.292C195.123 166.041 195.083 168.911 194.602 171.56C193.337 178.594 189.394 184.835 183.354 188.738C177.484 192.531 170.179 194.006 163.295 192.772C159.031 192.009 155.248 190.133 151.325 188.377C146.83 186.36 142.334 184.343 137.849 182.326C133.364 180.31 129.019 178.363 124.594 176.376C122.487 175.433 120.119 174.65 118.162 173.406C117.008 172.674 116.206 171.51 115.855 170.195C115.132 167.436 116.898 164.677 119.617 163.934C121.474 163.432 123.029 164.235 124.765 164.847C127.083 165.67 129.4 166.493 131.708 167.306C134.016 168.118 136.183 168.891 138.421 169.684C139.695 170.135 141.17 169.172 141.512 167.928C141.893 166.543 141.04 165.299 139.756 164.837C134.658 163.031 129.561 161.225 124.474 159.419C120.41 157.974 115.804 159.047 113.015 162.469C110.225 165.891 109.884 170.717 112.282 174.42C113.446 176.226 115.072 177.55 117.018 178.433C119.447 179.537 121.895 180.621 124.333 181.714C134.307 186.19 144.281 190.675 154.265 195.15C162.061 198.652 171.142 199.184 179.23 196.284C187.197 193.424 193.97 187.524 197.341 179.688C200.09 173.306 200.572 166.292 199.408 159.489C199.187 158.215 198.946 156.89 198.515 155.666C197.953 154.091 196.97 152.606 196.197 151.141C194.582 148.07 192.966 144.99 191.351 141.919C189.254 137.926 187.156 133.932 185.059 129.929C183.795 127.521 181.608 125.674 178.868 125.163C174.574 124.37 170.078 126.437 168.252 130.501C167.349 132.507 167.159 134.655 167.72 136.782C168.543 139.903 173.38 138.578 172.557 135.447H172.567Z"})]})]}),MNe=()=>te(Qt,{children:[E("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M81.8671 47.2143C76.6933 45.394 73 40.6123 73 35C73 27.8203 79.0442 22 86.5 22C93.9558 22 100 27.8203 100 35C100 40.4045 96.5752 45.0388 91.7014 47H91.7778C96.7556 47 98 50.9111 98 52.8667V66.7329L132.522 32C133.188 31.3333 134.821 30 136.021 30H179.007C179.34 30 180.706 30.2 183.505 31C187.004 32 197.001 40 198.5 51.5C200 63 196.501 69.5 191.003 75.5C185.504 81.5 179.506 82 178.007 82H153.015L66.0438 169.5C65.544 170 64.2444 171 63.0448 171H19.5592C16.3936 170.667 8.86271 167.9 4.0643 159.5C-1.93372 149 1.00046 138.5 2.49996 135C3.99947 131.5 7.56315 124.5 12.5615 122C12.836 121.863 13.0968 121.731 13.3462 121.606C17.6383 119.447 18.5266 119 26.5569 119H46.0504L70.2421 94.6605C70.5712 92.0259 70.5423 87.5033 70.5095 82.3662C70.4438 72.0758 70.3624 59.3194 73.1111 54.3333C73.3598 53.8821 73.5779 53.4725 73.7773 53.0979C75.437 49.9794 75.8072 49.2839 81.8671 47.2143ZM16.0603 131.5C18.0597 129.5 20.5589 129 21.5585 129H49.0494C50.2491 129 51.2154 128.333 51.5486 128L139.02 40H177.507C179.976 40 180.751 40.6776 182.62 42.3115C183.022 42.6626 183.474 43.0578 184.005 43.5C187.004 46 189.503 53.5 189.003 57C188.503 60.5 188.004 64 184.005 68C180.806 71.2 178.007 71.6667 177.007 71.5H151.516C149.516 71.5 148.017 72.5 147.517 73L60.5457 161H20.5589C17.5598 161 14.061 157 13.0613 155C12.9449 154.767 12.8148 154.52 12.6759 154.257C11.6229 152.26 10.0623 149.301 10.0623 144C10.0623 138 13.5612 134 16.0603 131.5Z"}),E("path",{d:"M140.429 161.571C140.429 161.571 174.429 126.571 174.929 126.071C175.429 125.571 177.067 121.209 174.929 119.071C172.791 116.933 168.929 118.571 167.929 119.071C166.929 119.571 133.429 154.286 133.429 154.286V129.571C133.429 129.571 133.429 124.571 128.429 124.571C123.429 124.571 123.429 129.571 123.429 129.571V166.571C123.429 167.071 123.703 168.845 124.929 170.071C126.233 171.375 128.762 171.571 129.429 171.571H166.429C166.429 171.571 171.429 171.571 171.429 166.571C171.429 161.571 166.429 161.571 166.429 161.571H140.429Z"})]}),$Ne=()=>te(Qt,{children:[E("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M88.3159 47.1484C93.3936 45.2808 97 40.5459 97 35C97 27.8203 90.9558 22 83.5 22C76.0442 22 70 27.8203 70 35C70 40.4045 73.4248 45.0388 78.2986 47H78.2222C73.2444 47 72 50.9111 72 52.8667V92.8918L46.0504 119H26.5569C18.5266 119 17.6389 119.447 13.3468 121.606C13.0973 121.731 12.8362 121.863 12.5615 122C7.56315 124.5 3.99947 131.5 2.49996 135C1.00046 138.5 -1.93372 149 4.0643 159.5C8.86271 167.9 16.3936 170.667 19.5592 171H63.0448C64.2444 171 65.544 170 66.0438 169.5L153.015 82H178.007C179.506 82 185.504 81.5 191.003 75.5C196.501 69.5 200 63 198.5 51.5C197.001 40 187.004 32 183.505 31C180.706 30.2 179.34 30 179.007 30H136.021C134.821 30 133.188 31.3333 132.522 32L99.7206 65.0017C99.2657 63.2485 98.9118 61.7904 98.6022 60.5144L98.6018 60.513C98.0025 58.0435 97.5687 56.2562 96.8889 54.3333C96.7876 54.0468 96.6929 53.7727 96.6022 53.5103C95.3474 49.8785 94.8618 48.4731 88.3159 47.1484ZM16.0603 131.5C18.0597 129.5 20.5589 129 21.5585 129H49.0494C50.2491 129 51.2154 128.333 51.5486 128L139.02 40H177.507C179.976 40 180.751 40.6776 182.62 42.3115C183.022 42.6626 183.475 43.0579 184.005 43.5C187.004 46 189.503 53.5 189.003 57C188.503 60.5 188.004 64 184.005 68C180.806 71.2 178.007 71.6667 177.007 71.5H151.516C149.516 71.5 148.017 72.5 147.517 73L60.5457 161H20.5589C17.5598 161 14.061 157 13.0613 155C12.9449 154.767 12.8148 154.52 12.6759 154.257C11.6229 152.26 10.0623 149.301 10.0623 144C10.0623 138 13.5612 134 16.0603 131.5Z"}),E("path",{d:"M159 128C159 128 125 163 124.5 163.5C124 164 122.362 168.362 124.5 170.5C126.638 172.638 130.5 171 131.5 170.5C132.5 170 166 135.285 166 135.285V160C166 160 166 165 171 165C176 165 176 160 176 160V123C176 122.5 175.726 120.726 174.5 119.5C173.196 118.196 170.667 118 170 118H133C133 118 128 118 128 123C128 128 133 128 133 128H159Z"})]}),FNe=()=>te(Qt,{children:[E("path",{d:"M58.0001 78.5713C58.0001 78.5713 92 43.5713 92.5001 43.0713C93.0001 42.5713 94.6381 38.2091 92.5002 36.0713C90.3624 33.9335 86.5001 35.5713 85.5002 36.0713C84.5003 36.5713 51.0001 71.2861 51.0001 71.2861V46.5713C51.0001 46.5713 51.0001 41.5713 46.0001 41.5713C41.0001 41.5713 41.0001 46.5713 41.0001 46.5713V83.5713C41.0001 84.0713 41.2742 85.8454 42.5001 87.0713C43.8043 88.3755 46.3334 88.5713 47.0001 88.5713H84.0001C84.0001 88.5713 89.0001 88.5713 89.0001 83.5713C89.0001 78.5713 84.0001 78.5713 84.0001 78.5713H58.0001Z"}),E("path",{d:"M0 155V165H49V135H86V105H124V75H161V45H200V35H151V65H114V95H76V125H39V155H0Z"})]}),BNe=()=>te(Qt,{children:[E("path",{d:"M76.5715 45C76.5715 45 42.5715 80 42.0715 80.5C41.5714 81 39.9334 85.3622 42.0713 87.5C44.2092 89.6378 48.0714 88 49.0713 87.5C50.0712 87 83.5715 52.2852 83.5715 52.2852V77C83.5715 77 83.5715 82 88.5715 82C93.5715 82 93.5715 77 93.5715 77V40C93.5715 39.5 93.2973 37.7259 92.0715 36.5C90.7673 35.1958 88.2381 35 87.5715 35H50.5715C50.5715 35 45.5715 35 45.5715 40C45.5715 45 50.5715 45 50.5715 45H76.5715Z"}),E("path",{d:"M0 155V165H49V135H86V105H124V75H161V45H200V35H151V65H114V95H76V125H39V155H0Z"})]}),HNe={"elevator-up.png":aL,"elevator-down.png":aL,"escalator-up.png":$Ne,"escalator-down.png":MNe,"stairs-down.png":FNe,"stairs-up.png":BNe},UNe=/^elevator/gm,zNe=({file:e,floor:t,postfix:n})=>{var l,c,d,p,h;const r=ae.get(HNe,e),i=Dn(),o=T.exports.useMemo(()=>!ae.isNil(e.match(UNe)),[e]),a=(((l=i.arrows)==null?void 0:l.type)==="3d"?(c=i.arrows["3d"])==null?void 0:c.color:(p=(d=i.arrows)==null?void 0:d["2d"])==null?void 0:p.color)||i.palette.primary.main,s=(h=i.elevator)==null?void 0:h.textColor;return r?te(Oe,{position:"absolute",bottom:"22%",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",children:[o&&te(Oe,{position:"absolute",component:"span",sx:{color:s,fontSize:"1.4rem",fontFamily:"sans-serif",fontWeight:700},children:[t,n]}),E(Zs,{height:200,width:200,viewBox:"0 0 200 200",sx:m=>{var v,y;return{height:"100%",width:"100%",fill:a,"& #button":{fill:(v=m.elevator)==null?void 0:v.buttonColor,fillOpacity:(y=m.elevator)==null?void 0:y.buttonOpacity}}},children:E(r,{})})]}):null},GNe=({angle:e})=>E(Oe,{sx:t=>{var n,r,i,o,a,s,l,c,d,p;return{height:"100%",width:"100%",transform:`rotate3d(1, 0, 0, ${((r=(n=t.arrows)==null?void 0:n["2d"])==null?void 0:r.tilt)||0}deg) rotate3d(0, 0, 1, ${e||0}deg)`,"& svg":{width:"100%",height:"100%",display:"block","& circle":{fill:(o=(i=t.arrows)==null?void 0:i["2d"])==null?void 0:o.bgColor,fillOpacity:(s=(a=t.arrows)==null?void 0:a["2d"])==null?void 0:s.bgOpacity},"& path":{fill:(c=(l=t.arrows)==null?void 0:l["2d"])==null?void 0:c.color,stroke:(p=(d=t.arrows)==null?void 0:d["2d"])==null?void 0:p.outlineColor}}}},children:te("svg",{viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"preview-arrow",children:[E("circle",{cx:"64",cy:"64",r:"64"}),E("path",{d:"M58.3131 42.3131L34.6666 65.9595L27.8004 59.0933L64 22.8938L100.2 59.0933L93.3333 65.9595L69.6868 42.3131C69.5438 42.1701 69.3288 42.1273 69.1419 42.2047C68.9551 42.2821 68.8333 42.4644 68.8333 42.6667L68.8333 106.167L59.1666 106.167L59.1666 42.6667C59.1666 42.4644 59.0448 42.2821 58.858 42.2047C58.6711 42.1273 58.4561 42.1701 58.3131 42.3131Z",strokeWidth:1,strokeLinejoin:"round"})]})}),WNe=({angle:e,file:t,nextFloor:n,postfix:r})=>{var o;const i=Dn();return ae.isNil(e)?E(zNe,{file:t,floor:n,postfix:r}):((o=i.arrows)==null?void 0:o.type)==="3d"?E(LNe,{alt:"Direction icon",file:t}):E(GNe,{angle:e})};var T6={},jNe=rr.exports;Object.defineProperty(T6,"__esModule",{value:!0});var dK=T6.default=void 0,VNe=jNe(lr()),KNe=ur,qNe=(0,VNe.default)((0,KNe.jsx)("path",{d:"M11 6.83 9.41 8.41 8 7l4-4 4 4-1.41 1.41L13 6.83V21h-2z"}),"Straight");dK=T6.default=qNe;var _6={},YNe=rr.exports;Object.defineProperty(_6,"__esModule",{value:!0});var fK=_6.default=void 0,XNe=YNe(lr()),QNe=ur,ZNe=(0,XNe.default)((0,QNe.jsx)("path",{d:"M11.66 6V4H6v5.66h2V7.41l5 5V20h2v-7.58c0-.53-.21-1.04-.59-1.41l-5-5h2.25z"}),"TurnSlightLeft");fK=_6.default=ZNe;var S6={},JNe=rr.exports;Object.defineProperty(S6,"__esModule",{value:!0});var pK=S6.default=void 0,eDe=JNe(lr()),tDe=ur,nDe=(0,eDe.default)((0,tDe.jsx)("path",{d:"M12.34 6V4H18v5.66h-2V7.41l-5 5V20H9v-7.58c0-.53.21-1.04.59-1.41l5-5h-2.25z"}),"TurnSlightRight");pK=S6.default=nDe;const x6=Pt.PhotoRoutePage.Messages,rDe=x6.DestinationOnLeft,iDe=x6.DestinationOnRight,oDe=x6.DestinationAhead,hK=T.exports.memo(({focused:e,angle:t})=>te(Oe,{sx:n=>({backgroundColor:`rgba(0, 0, 0, ${e?.6:.4})`,borderRadius:1,color:n.palette.common.white,pt:8,pb:8,pl:8,pr:12,display:"flex",height:"min-content"}),children:[E(Oe,{sx:{fontSize:16,height:16,width:16,display:"flex",alignItems:"center"},children:t<350&&t>180?E(fK,{color:"inherit",fontSize:"inherit"}):t>10&&t<180?E(pK,{color:"inherit",fontSize:"inherit"}):E(dK,{color:"inherit",fontSize:"inherit"})}),E(nt,{paragraph:!1,fontSize:14,lineHeight:16/14,fontWeight:500,color:"inherit",ml:8,children:t<350&&t>180?E(Rt,{id:rDe}):t>10&&t<180?E(Rt,{id:iDe}):E(Rt,{id:oDe})})]}));hK.displayName="DirectionHint";const mK=Pt.Misc,aDe=mK.DistanceHintMeters,sDe=mK.DistanceHintFeet,gK=T.exports.memo(({distance:e,isMetricUnit:t,sx:n})=>E(Oe,{sx:{height:58,color:"inherit"},children:E(Za,{orientation:"vertical",color:"textSecondary",children:E(C6,{distance:e,isMetricUnit:t,sx:n})})}));gK.displayName="DistanceHintColumn";const C6=T.exports.memo(({distance:e,isMetricUnit:t,sx:n})=>E(nt,{fontSize:12,lineHeight:1.5,fontWeight:500,color:"inherit",sx:n,children:E(Rt,{id:t?aDe:sDe,params:{distance:e}})}));C6.displayName="DistanceHintText";const vK=Pt.Misc,lDe=vK.Floor,w6=vK.Zone,yK=T.exports.memo(({path:e})=>{var n,r,i;$t(w6);const t=e.zone;return te(Oe,{sx:o=>({backgroundColor:o.palette.common.white,mr:15,borderRadius:1,position:"relative",flexShrink:0,width:"min-content",overflow:"hidden"}),children:[E(d6,{title:E(nt,{fontSize:12,children:(n=e.floor)==null?void 0:n.name}),arrow:!0,children:te(Oe,{sx:{p:5},children:[E(nt,{fontSize:10,lineHeight:1.2,color:"textSecondary",textTransform:"uppercase",textAlign:"center",children:E(Rt,{id:lDe})}),E(nt,{fontSize:20,lineHeight:23/20,fontWeight:500,textAlign:"center",children:((r=e.floor)==null?void 0:r.shortName)||((i=e.floor)==null?void 0:i.level)})]})}),t&&!t.disabled&&te(Qt,{children:[E(Za,{}),t.showIcon?E(uDe,{zone:t}):t.showLabel?E(cDe,{zone:t}):null]})]})});yK.displayName="ExtraPhotoData";const uDe=T.exports.memo(({zone:e})=>{const t=$t(w6);return e.url?E(d6,{title:te(nt,{fontSize:12,children:[t," ",e.name]}),arrow:!0,children:E(Oe,{sx:{width:"100%",aspectRatio:"1/1"},"aria-label":e.name,children:E(Oe,{sx:{width:"100%",height:"100%",padding:"2px"},children:E("img",{src:e.url,alt:e.name,style:{height:"100%",width:"100%",display:"block",objectFit:"contain"}})})})}):null}),cDe=T.exports.memo(({zone:e})=>{var n,r;const t=$t(w6);return!e.showLabel||!e.label&&!e.color?null:E(d6,{title:te(nt,{fontSize:12,children:[t," ",e.name]}),arrow:!0,children:E(Oe,{sx:{width:"100%",aspectRatio:"1/1"},"aria-label":e.name,children:E(Oe,{sx:{width:"100%",height:"100%"},display:"flex",alignItems:"center",justifyContent:"center",bgcolor:e.color,children:E(nt,{color:(n=e.labelColor)!=null?n:"black",fontSize:((r=e.label)==null?void 0:r.length)===1?22:18,fontWeight:600,lineHeight:1.2,children:e.label})})})})}),bK=T.exports.memo(({instruction:e,secondaryInstruction:t})=>E(Oe,{sx:n=>({textAlign:"center",pt:23,pb:18,px:15,backgroundColor:n.palette.primary.main,color:n.palette.primary.contrastText,height:"100%",borderRadius:"inherit"}),children:te(nt,{fontSize:20,fontWeight:500,lineHeight:23/20,color:"inherit",children:[e,t&&te(Qt,{children:[E("br",{}),t]})]})}));bK.displayName="Instruction";const EK=T.exports.memo(({src:e,alt:t})=>{const[n,r]=T.exports.useState(!1),[i,o]=T.exports.useState(!1);return te(Qt,{children:[E("img",{src:e,alt:t,onLoad:()=>r(!0),onError:()=>o(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:n?"block":"none"}}),!n&&E(Oe,{sx:{width:"100%",paddingTop:"133.416%",position:"relative",borderRadius:"inherit"},children:i?E(Oe,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:E(nt,{fontSize:16,lineHeight:18/16,color:"textSecondary",children:"Image not found"})}):E(gOe,{variant:"rectangular",animation:"pulse",sx:{height:"100%",width:"100%",position:"absolute",top:0,borderRadius:"inherit"}})})]})});EK.displayName="Photo";const TK=T.exports.memo(({index:e})=>E(Oe,{sx:t=>({display:"flex",justifyContent:"center",alignItems:"center",height:24,width:24,flexShrink:0,background:t.palette.primary.main,color:t.palette.primary.contrastText,borderRadius:"50%"}),children:E(nt,{paragraph:!1,fontSize:14,lineHeight:1.1428,fontWeight:700,color:"inherit",component:"span",children:e})}));TK.displayName="PhotoNumber";const dDe=xt(e=>{var _,S,C,O,A,R,N,F;const{data:t,index:n,total:r,isMetricUnit:i,next:o,column:a,isGrid:s,active:l,last:c}=e,{languages:d}=T.exports.useContext(gt),p=T.exports.useRef(null),h=T.exports.useMemo(()=>({content:'""',position:"absolute",display:"block",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",background:"rgba(255, 255, 255, 0.5)",backdropFilter:"blur(2Px)",transition:"opacity ease 0.35s"}),[]),m=(S=t.reportInstruction)!=null?S:(_=t.advertisementI18n.find(L=>{var H;return L.languageIETF===((H=d.selectedLanguage)==null?void 0:H.id)}))==null?void 0:_.text,v=T.exports.useMemo(()=>{var H;const L=(H=t.connection)==null?void 0:H.adIcon;return L&&`/api/storages/icons/download/${L.file}`},[]),y=n===1||n===r,x=((C=t.floor)==null?void 0:C.id)===((O=c.floor)==null?void 0:O.id)&&n<r&&n>=r-2,b=((A=t.floor)==null?void 0:A.id)===((R=c.floor)==null?void 0:R.id)&&n===r-1;return te(Qt,{children:[E(Oe,{sx:L=>({position:"relative",gridRow:"instruction",gridColumnStart:a,gridColumnEnd:a+1,boxShadow:L.shadows[2],borderTopLeftRadius:L.shape.borderRadius,borderTopRightRadius:L.shape.borderRadius,"&::after":{...h,opacity:l?0:1}}),children:E(bK,{instruction:t.instruction,secondaryInstruction:t.secondaryInstruction})}),te(Oe,{ref:p,sx:L=>({position:"relative",boxShadow:L.shadows[2],gridRow:"photo"+(m?"":" / span 2"),borderBottomLeftRadius:y&&!m?L.shape.borderRadius:0,borderBottomRightRadius:y&&!m?L.shape.borderRadius:0,"&::after":{...h,opacity:l?0:1},overflow:"hidden"}),children:[E(EK,{src:t.photo,alt:t.instruction}),te(Oe,{sx:{position:"absolute",top:0,left:0,right:0,display:"flex",justifyContent:"space-between",alignItems:"flex-start",pt:13,pl:19,gap:10,zIndex:10},children:[E(TK,{index:n}),te(Wi,{spacing:7,direction:"column",alignItems:"center",children:[x&&E(cK,{focused:n===r-2}),b&&E(hK,{angle:t.angle,focused:!0})]}),E(yK,{path:t})]}),t.file&&E(Oe,{sx:{position:"absolute",bottom:0,width:"50%",maxHeight:"40%",minHeight:"30%",aspectRatio:"1",left:"25%"},children:E(WNe,{angle:t.angle,file:t.file,nextFloor:t!=null&&t.hideFloorNumber?void 0:((N=o==null?void 0:o.floor)==null?void 0:N.shortName)||((F=o==null?void 0:o.floor)==null?void 0:F.level),postfix:ae.isNil(t.rearSide)?"":t.postfix})})]}),!!m&&E(Oe,{sx:L=>({gridRow:"ad",gridColumnStart:a,gridColumnEnd:a+1,boxShadow:L.shadows[2],borderBottomLeftRadius:y?L.shape.borderRadius:0,borderBottomRightRadius:y?L.shape.borderRadius:0,overflow:"hidden",zIndex:10}),children:E(lK,{text:m,iconUrl:v})}),n>1&&n<r&&s&&E(Oe,{sx:L=>({zIndex:10,gridRow:"distance",gridColumnStart:a,gridColumnEnd:a+1,boxShadow:L.shadows[2],borderBottomLeftRadius:L.shape.borderRadius,borderBottomRightRadius:L.shape.borderRadius,bgcolor:"background.paper",px:15,py:6,textAlign:"center"}),children:E(C6,{isMetricUnit:i,distance:(o==null?void 0:o.pathLength)||0,sx:{color:"text.secondary"}})}),n<r&&!s&&E(Oe,{sx:{gridRow:"distance"},children:E(gK,{isMetricUnit:i,distance:(o==null?void 0:o.pathLength)||0,sx:{color:"text.secondary"}})})]})}),fDe=({path:e,shouldTrack:t,showHeader:n=!0})=>{const r=Dn(),i=el(r.breakpoints.down("sm")),o=T.exports.useRef(null),{size:a,rows:s}=wNe((e==null?void 0:e.data)||[]);return T.exports.useEffect(()=>{i&&e&&o.current&&scrollTo({top:o.current.offsetTop-120,behavior:"smooth"})},[e]),e?te(Qt,{children:[n&&E(RNe,{from:e.from.label,to:e.to.label}),E(uW,{direction:"column",spacing:a>1?20:0,ref:o,children:s.map((l,c)=>E(pDe,{row:l,rowIndex:c,columnCount:a,path:e,firstRow:c===0,lastRow:c===s.length-1,shouldTrack:t},c))})]}):null},pDe=xt(({row:e,rowIndex:t,columnCount:n,path:r,firstRow:i,lastRow:o,shouldTrack:a=!1})=>{const{pathfinder:s}=T.exports.useContext(gt),l=T.exports.useMemo(()=>t*n+e.length,[e,t,n]),c=T.exports.useMemo(()=>t*n,[e,t,n]),d=T.exports.useCallback((y,x)=>{y===Mn.PictureCenter?s.setProgressPosition(l):y===Mn.PictureLeaveBottom&&s.progressPosition===l&&s.setProgressPosition(c),i&&y===Mn.PictureLeaveBottom?s.setCurrentPathIndex(s.currentPathIndex-1):o&&y===Mn.PictureLeaveTop&&s.setCurrentPathIndex(s.currentPathIndex+1),Ru.log(y,{...x,positionNumber:l})},[]),[p]=CNe(a,d),{ref:h,inView:m}=Lx({threshold:.3,skip:!a&&!i}),v=T.exports.useMemo(()=>aK(p,h),[p,h]);return E(QG,{ref:v,sx:{display:"grid",columnGap:20,gridTemplateRows:"[instruction] auto [photo] auto [ad] auto [distance] auto",gridTemplateColumns:`repeat(${n}, 1fr)`},children:e.map((y,x)=>{const b=t*n+x;return E(dDe,{data:y,index:b+1,total:r.data.length,isMetricUnit:r.isMetricUnit,next:r.data[b+1],last:ae.last(r.data),column:x+1,isGrid:n>1,active:m},x)})},t)}),hDe=Pt.PhotoRoutePage,mDe=hDe.ProceedTo,gDe=xt(()=>{var c;const{pathfinder:e,queryParams:t}=T.exports.useContext(gt),{path:n,loading:r,nextStop:i}=e,o=n&&r,a=n&&i&&!r,s=!a&&n&&!r&&t.params.showFollowup,l=n;return te(eu,{maxWidth:"lg",sx:{px:"15px !important"},children:[e.paths.map((d,p)=>E(fDe,{path:d,shouldTrack:e.currentPathIndex===p,showHeader:p!==0},p)),s&&E(bNe,{}),te(Oe,{sx:{mt:24,textAlign:"center"},children:[o&&E(Oe,{mt:10,mb:20,textAlign:"center",children:E(nd,{size:20})}),a&&E(Dr,{variant:"contained",onClick:e.loadNextStop.bind(e),children:E(Rt,{id:mDe,params:{name:(c=e.nextStop)==null?void 0:c.label}})})]}),l&&te(Oe,{mb:25,children:[E(Ake,{}),E(Kke,{}),E(Ike,{})]})]})}),wh={"mail-body":{backgroundColor:"#f2f2f2",paddingBlock:"25px"},"mail-content":{margin:"0 auto",maxWidth:600,minWidth:300,color:"#333333",backgroundColor:"#fff",fontSize:16,fontFamily:"Arial,Helvetica,sans-serif"},"logo-container":{height:90},"logo-img":{marginInline:"auto",display:"block",height:"100%",width:"100%",objectFit:"contain"},"msg-container":{padding:"25px 20px",fontSize:14,lineHeight:18/14}},A6=T.exports.forwardRef(({logo:e,template:t},n)=>E("div",{ref:n,style:wh["mail-body"],children:te("div",{style:wh["mail-content"],children:[E("div",{style:wh["logo-container"],children:E("img",{style:wh["logo-img"],src:e,alt:"logo"})}),E("div",{style:wh["msg-container"],children:E(sc,{skipHtml:!1,linkTarget:"_blank",rehypePlugins:[by],components:{p:({node:r,...i})=>E("p",{...i,style:{margin:"0px !important"}})},children:t||""})})]})}));A6.displayName="EmailTempalte";const vDe=({show:e,onToggle:t})=>{const{buildings:n,destinations:r,homepage:i}=T.exports.useContext(gt),[o,a]=T.exports.useState("");return T.exports.useEffect(()=>{i.getShortLink(os.PortalEmail).then(s=>{a(i.renderTemplate(s))})},[i.localURL,i.emailTemplate,r.endDestination]),te(pg,{open:e,onClose:()=>t(!1),children:[E(WV,{children:"Email Preview"}),E(c6,{children:E(A6,{logo:n.logoURL,template:o})}),E(u6,{children:E(Dr,{onClick:()=>t(!1),children:"Close"})})]})},yDe=xt(vDe),bDe=({disabled:e,loading:t})=>{const{homepage:n,translations:r}=T.exports.useContext(gt);return n.qr?te(Oe,{sx:{height:"100%",textAlign:"center"},children:[te(Oe,{sx:{position:"relative",width:"min-content",mx:"auto"},children:[E("img",{src:n.qr,alt:"qrcode",style:{width:180}}),e&&E(Oe,{sx:{position:"absolute",top:0,bottom:0,left:0,right:0,bgcolor:"rgba(255,255, 255, 0.85)",display:"flex",alignItems:"center",justifyContent:"center"},children:!t&&E(nt,{fontWeight:500,fontSize:16,children:r.getTranslation(Pt.PhotoRoutePage.HomePage.QREnableHint)})})]}),E(nt,{variant:"body2",fontWeight:500,fontSize:12,mt:4,mb:11,sx:i=>({color:e?i.palette.text.disabled:i.palette.text.primaryLight}),children:r.getTranslation(Pt.PhotoRoutePage.HomePage.ScanQRHint)})]}):null},EDe=xt(bDe);var Op={};/**
 * @license React
 * react-dom-server-legacy.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var _K=T.exports;function Ht(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ro=Object.prototype.hasOwnProperty,TDe=/^[: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]*$/,sL={},lL={};function SK(e){return ro.call(lL,e)?!0:ro.call(sL,e)?!1:TDe.test(e)?lL[e]=!0:(sL[e]=!0,!1)}function Ki(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var yi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yi[e]=new Ki(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yi[t]=new Ki(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yi[e]=new Ki(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yi[e]=new Ki(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){yi[e]=new Ki(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yi[e]=new Ki(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yi[e]=new Ki(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yi[e]=new Ki(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yi[e]=new Ki(e,5,!1,e.toLowerCase(),null,!1,!1)});var I6=/[\-:]([a-z])/g;function R6(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(I6,R6);yi[t]=new Ki(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(I6,R6);yi[t]=new Ki(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(I6,R6);yi[t]=new Ki(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yi[e]=new Ki(e,1,!1,e.toLowerCase(),null,!1,!1)});yi.xlinkHref=new Ki("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yi[e]=new Ki(e,1,!1,e.toLowerCase(),null,!0,!0)});var c9={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_De=["Webkit","ms","Moz","O"];Object.keys(c9).forEach(function(e){_De.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),c9[t]=c9[e]})});var SDe=/["'&<>]/;function Fi(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=SDe.exec(e);if(t){var n="",r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==r&&(n+=e.substring(i,r)),i=r+1,n+=t}e=i!==r?n+e.substring(i,r):n}return e}var xDe=/([A-Z])/g,CDe=/^ms-/,Mx=Array.isArray;function yl(e,t){return{insertionMode:e,selectedValue:t}}function wDe(e,t,n){switch(t){case"select":return yl(1,n.value!=null?n.value:n.defaultValue);case"svg":return yl(2,null);case"math":return yl(3,null);case"foreignObject":return yl(1,null);case"table":return yl(4,null);case"thead":case"tbody":case"tfoot":return yl(5,null);case"colgroup":return yl(7,null);case"tr":return yl(6,null)}return 4<=e.insertionMode||e.insertionMode===0?yl(1,null):e}var uL=new Map;function xK(e,t,n){if(typeof n!="object")throw Error(Ht(62));t=!0;for(var r in n)if(ro.call(n,r)){var i=n[r];if(i!=null&&typeof i!="boolean"&&i!==""){if(r.indexOf("--")===0){var o=Fi(r);i=Fi((""+i).trim())}else{o=r;var a=uL.get(o);a!==void 0||(a=Fi(o.replace(xDe,"-$1").toLowerCase().replace(CDe,"-ms-")),uL.set(o,a)),o=a,i=typeof i=="number"?i===0||ro.call(c9,r)?""+i:i+"px":Fi((""+i).trim())}t?(t=!1,e.push(' style="',o,":",i)):e.push(";",o,":",i)}}t||e.push('"')}function Io(e,t,n,r){switch(n){case"style":xK(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"){if(t=yi.hasOwnProperty(n)?yi[n]:null,t!==null){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:r===!0?e.push(" ",n,'=""'):r!==!1&&e.push(" ",n,'="',Fi(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',Fi(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',Fi(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',Fi(r),'"')}}else if(SK(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(" ",n,'="',Fi(r),'"')}}}function d9(e,t,n){if(t!=null){if(n!=null)throw Error(Ht(60));if(typeof t!="object"||!("__html"in t))throw Error(Ht(61));t=t.__html,t!=null&&e.push(""+t)}}function ADe(e){var t="";return _K.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function o_(e,t,n,r){e.push(xs(n));var i=n=null,o;for(o in t)if(ro.call(t,o)){var a=t[o];if(a!=null)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:Io(e,r,o,a)}}return e.push(">"),d9(e,i,n),typeof n=="string"?(e.push(Fi(n)),null):n}var IDe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cL=new Map;function xs(e){var t=cL.get(e);if(t===void 0){if(!IDe.test(e))throw Error(Ht(65,e));t="<"+e,cL.set(e,t)}return t}function RDe(e,t,n,r,i){switch(t){case"select":e.push(xs("select"));var o=null,a=null;for(d in n)if(ro.call(n,d)){var s=n[d];if(s!=null)switch(d){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;case"defaultValue":case"value":break;default:Io(e,r,d,s)}}return e.push(">"),d9(e,a,o),o;case"option":a=i.selectedValue,e.push(xs("option"));var l=s=null,c=null,d=null;for(o in n)if(ro.call(n,o)){var p=n[o];if(p!=null)switch(o){case"children":s=p;break;case"selected":c=p;break;case"dangerouslySetInnerHTML":d=p;break;case"value":l=p;default:Io(e,r,o,p)}}if(a!=null)if(n=l!==null?""+l:ADe(s),Mx(a)){for(r=0;r<a.length;r++)if(""+a[r]===n){e.push(' selected=""');break}}else""+a===n&&e.push(' selected=""');else c&&e.push(' selected=""');return e.push(">"),d9(e,d,s),s;case"textarea":e.push(xs("textarea")),d=a=o=null;for(s in n)if(ro.call(n,s)&&(l=n[s],l!=null))switch(s){case"children":d=l;break;case"value":o=l;break;case"defaultValue":a=l;break;case"dangerouslySetInnerHTML":throw Error(Ht(91));default:Io(e,r,s,l)}if(o===null&&a!==null&&(o=a),e.push(">"),d!=null){if(o!=null)throw Error(Ht(92));if(Mx(d)&&1<d.length)throw Error(Ht(93));o=""+d}return typeof o=="string"&&o[0]===`
`&&e.push(`
`),o!==null&&e.push(Fi(""+o)),null;case"input":e.push(xs("input")),l=d=s=o=null;for(a in n)if(ro.call(n,a)&&(c=n[a],c!=null))switch(a){case"children":case"dangerouslySetInnerHTML":throw Error(Ht(399,"input"));case"defaultChecked":l=c;break;case"defaultValue":s=c;break;case"checked":d=c;break;case"value":o=c;break;default:Io(e,r,a,c)}return d!==null?Io(e,r,"checked",d):l!==null&&Io(e,r,"checked",l),o!==null?Io(e,r,"value",o):s!==null&&Io(e,r,"value",s),e.push("/>"),null;case"menuitem":e.push(xs("menuitem"));for(var h in n)if(ro.call(n,h)&&(o=n[h],o!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(Ht(400));default:Io(e,r,h,o)}return e.push(">"),null;case"title":e.push(xs("title")),o=null;for(p in n)if(ro.call(n,p)&&(a=n[p],a!=null))switch(p){case"children":o=a;break;case"dangerouslySetInnerHTML":throw Error(Ht(434));default:Io(e,r,p,a)}return e.push(">"),o;case"listing":case"pre":e.push(xs(t)),a=o=null;for(l in n)if(ro.call(n,l)&&(s=n[l],s!=null))switch(l){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;default:Io(e,r,l,s)}if(e.push(">"),a!=null){if(o!=null)throw Error(Ht(60));if(typeof a!="object"||!("__html"in a))throw Error(Ht(61));n=a.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
`?e.push(`
`,n):e.push(""+n))}return typeof o=="string"&&o[0]===`
`&&e.push(`
`),o;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(xs(t));for(var m in n)if(ro.call(n,m)&&(o=n[m],o!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(Ht(399,t));default:Io(e,r,m,o)}return e.push("/>"),null;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 o_(e,n,t,r);case"html":return i.insertionMode===0&&e.push("<!DOCTYPE html>"),o_(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return o_(e,n,t,r);e.push(xs(t)),a=o=null;for(c in n)if(ro.call(n,c)&&(s=n[c],s!=null))switch(c){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;case"style":xK(e,r,s);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:SK(c)&&typeof s!="function"&&typeof s!="symbol"&&e.push(" ",c,'="',Fi(s),'"')}return e.push(">"),d9(e,a,o),o}}function dL(e,t,n){if(e.push('<!--$?--><template id="'),n===null)throw Error(Ht(395));return e.push(n),e.push('"></template>')}function PDe(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(Ht(397))}}function ODe(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(Ht(397))}}var kDe=/[<\u2028\u2029]/g;function a_(e){return JSON.stringify(e).replace(kDe,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function NDe(e,t){return t=t===void 0?"":t,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:t+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function fL(e,t,n,r){return n.generateStaticMarkup?(e.push(Fi(t)),!1):(t===""?e=r:(r&&e.push("<!-- -->"),e.push(Fi(t)),e=!0),e)}var Cm=Object.assign,DDe=Symbol.for("react.element"),CK=Symbol.for("react.portal"),wK=Symbol.for("react.fragment"),AK=Symbol.for("react.strict_mode"),IK=Symbol.for("react.profiler"),RK=Symbol.for("react.provider"),PK=Symbol.for("react.context"),OK=Symbol.for("react.forward_ref"),kK=Symbol.for("react.suspense"),NK=Symbol.for("react.suspense_list"),DK=Symbol.for("react.memo"),P6=Symbol.for("react.lazy"),LDe=Symbol.for("react.scope"),MDe=Symbol.for("react.debug_trace_mode"),$De=Symbol.for("react.legacy_hidden"),FDe=Symbol.for("react.default_value"),pL=Symbol.iterator;function $x(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wK:return"Fragment";case CK:return"Portal";case IK:return"Profiler";case AK:return"StrictMode";case kK:return"Suspense";case NK:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case PK:return(e.displayName||"Context")+".Consumer";case RK:return(e._context.displayName||"Context")+".Provider";case OK:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case DK:return t=e.displayName||null,t!==null?t:$x(e.type)||"Memo";case P6:t=e._payload,e=e._init;try{return $x(e(t))}catch(n){}}return null}var LK={};function hL(e,t){if(e=e.contextTypes,!e)return LK;var n={},r;for(r in e)n[r]=t[r];return n}var c1=null;function qb(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(Ht(401))}else{if(n===null)throw Error(Ht(401));qb(e,n)}t.context._currentValue2=t.value}}function MK(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&MK(e)}function $K(e){var t=e.parent;t!==null&&$K(t),e.context._currentValue2=e.value}function FK(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(Ht(402));e.depth===t.depth?qb(e,t):FK(e,t)}function BK(e,t){var n=t.parent;if(n===null)throw Error(Ht(402));e.depth===n.depth?qb(e,n):BK(e,n),t.context._currentValue2=t.value}function Sy(e){var t=c1;t!==e&&(t===null?$K(e):e===null?MK(t):t.depth===e.depth?qb(t,e):t.depth>e.depth?FK(t,e):BK(t,e),c1=e)}var mL={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function gL(e,t,n,r){var i=e.state!==void 0?e.state:null;e.updater=mL,e.props=n,e.state=i;var o={queue:[],replace:!1};e._reactInternals=o;var a=t.contextType;if(e.context=typeof a=="object"&&a!==null?a._currentValue2:r,a=t.getDerivedStateFromProps,typeof a=="function"&&(a=a(n,i),i=a==null?i:Cm({},i,a),e.state=i),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&mL.enqueueReplaceState(e,e.state,null),o.queue!==null&&0<o.queue.length)if(t=o.queue,a=o.replace,o.queue=null,o.replace=!1,a&&t.length===1)e.state=t[0];else{for(o=a?t[0]:e.state,i=!0,a=a?1:0;a<t.length;a++){var s=t[a];s=typeof s=="function"?s.call(e,o,n,r):s,s!=null&&(i?(i=!1,o=Cm({},o,s)):Cm(o,s))}e.state=o}else o.queue=null}var BDe={id:1,overflow:""};function Fx(e,t,n){var r=e.id;e=e.overflow;var i=32-f9(r)-1;r&=~(1<<i),n+=1;var o=32-f9(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-f9(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}var f9=Math.clz32?Math.clz32:zDe,HDe=Math.log,UDe=Math.LN2;function zDe(e){return e>>>=0,e===0?32:31-(HDe(e)/UDe|0)|0}function GDe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var WDe=typeof Object.is=="function"?Object.is:GDe,Kl=null,O6=null,p9=null,Gn=null,Wh=!1,xy=!1,h0=0,Fu=null,Yb=0;function Jc(){if(Kl===null)throw Error(Ht(321));return Kl}function vL(){if(0<Yb)throw Error(Ht(312));return{memoizedState:null,queue:null,next:null}}function k6(){return Gn===null?p9===null?(Wh=!1,p9=Gn=vL()):(Wh=!0,Gn=p9):Gn.next===null?(Wh=!1,Gn=Gn.next=vL()):(Wh=!0,Gn=Gn.next),Gn}function N6(){O6=Kl=null,xy=!1,p9=null,Yb=0,Gn=Fu=null}function HK(e,t){return typeof t=="function"?t(e):t}function yL(e,t,n){if(Kl=Jc(),Gn=k6(),Wh){var r=Gn.queue;if(t=r.dispatch,Fu!==null&&(n=Fu.get(r),n!==void 0)){Fu.delete(r),r=Gn.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return Gn.memoizedState=r,[r,t]}return[Gn.memoizedState,t]}return e=e===HK?typeof t=="function"?t():t:n!==void 0?n(t):t,Gn.memoizedState=e,e=Gn.queue={last:null,dispatch:null},e=e.dispatch=jDe.bind(null,Kl,e),[Gn.memoizedState,e]}function bL(e,t){if(Kl=Jc(),Gn=k6(),t=t===void 0?null:t,Gn!==null){var n=Gn.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!WDe(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Gn.memoizedState=[e,t],e}function jDe(e,t,n){if(25<=Yb)throw Error(Ht(301));if(e===Kl)if(xy=!0,e={action:n,next:null},Fu===null&&(Fu=new Map),n=Fu.get(t),n===void 0)Fu.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function VDe(){throw Error(Ht(394))}function S5(){}var EL={readContext:function(e){return e._currentValue2},useContext:function(e){return Jc(),e._currentValue2},useMemo:bL,useReducer:yL,useRef:function(e){Kl=Jc(),Gn=k6();var t=Gn.memoizedState;return t===null?(e={current:e},Gn.memoizedState=e):t},useState:function(e){return yL(HK,e)},useInsertionEffect:S5,useLayoutEffect:function(){},useCallback:function(e,t){return bL(function(){return e},t)},useImperativeHandle:S5,useEffect:S5,useDebugValue:S5,useDeferredValue:function(e){return Jc(),e},useTransition:function(){return Jc(),[!1,VDe]},useId:function(){var e=O6.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-f9(e)-1)).toString(32)+t;var n=h9;if(n===null)throw Error(Ht(404));return t=h0++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Jc(),t(e._source)},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(Ht(407));return n()}},h9=null,s_=_K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function KDe(e){return console.error(e),null}function jh(){}function qDe(e,t,n,r,i,o,a,s,l){var c=[],d=new Set;return t={destination:null,responseState:t,progressiveChunkSize:r===void 0?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:d,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:i===void 0?KDe:i,onAllReady:o===void 0?jh:o,onShellReady:a===void 0?jh:a,onShellError:s===void 0?jh:s,onFatalError:l===void 0?jh:l},n=Cy(t,0,null,n,!1,!1),n.parentFlushed=!0,e=D6(t,e,null,n,d,LK,null,BDe),c.push(e),t}function D6(e,t,n,r,i,o,a,s){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var c=e.pingedTasks;c.push(l),c.length===1&&GK(e)},blockedBoundary:n,blockedSegment:r,abortSet:i,legacyContext:o,context:a,treeContext:s};return i.add(l),l}function Cy(e,t,n,r,i,o){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function m0(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function wy(e,t){var n=e.onShellError;n(t),n=e.onFatalError,n(t),e.destination!==null?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function TL(e,t,n,r,i){for(Kl={},O6=t,h0=0,e=n(r,i);xy;)xy=!1,h0=0,Yb+=1,Gn=null,e=n(r,i);return N6(),e}function _L(e,t,n,r){var i=n.render(),o=r.childContextTypes;if(o!=null){var a=t.legacyContext;if(typeof n.getChildContext!="function")r=a;else{n=n.getChildContext();for(var s in n)if(!(s in o))throw Error(Ht(108,$x(r)||"Unknown",s));r=Cm({},a,n)}t.legacyContext=r,Oo(e,t,i),t.legacyContext=a}else Oo(e,t,i)}function SL(e,t){if(e&&e.defaultProps){t=Cm({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Bx(e,t,n,r,i){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){i=hL(n,t.legacyContext);var o=n.contextType;o=new n(r,typeof o=="object"&&o!==null?o._currentValue2:i),gL(o,n,r,i),_L(e,t,o,n)}else{o=hL(n,t.legacyContext),i=TL(e,t,n,r,o);var a=h0!==0;if(typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0)gL(i,n,r,o),_L(e,t,i,n);else if(a){r=t.treeContext,t.treeContext=Fx(r,1,0);try{Oo(e,t,i)}finally{t.treeContext=r}}else Oo(e,t,i)}else if(typeof n=="string"){switch(i=t.blockedSegment,o=RDe(i.chunks,n,r,e.responseState,i.formatContext),i.lastPushedText=!1,a=i.formatContext,i.formatContext=wDe(a,n,r),Hx(e,t,o),i.formatContext=a,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push("</",n,">")}i.lastPushedText=!1}else{switch(n){case $De:case MDe:case AK:case IK:case wK:Oo(e,t,r.children);return;case NK:Oo(e,t,r.children);return;case LDe:throw Error(Ht(343));case kK:e:{n=t.blockedBoundary,i=t.blockedSegment,o=r.fallback,r=r.children,a=new Set;var s={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null},l=Cy(e,i.chunks.length,s,i.formatContext,!1,!1);i.children.push(l),i.lastPushedText=!1;var c=Cy(e,0,null,i.formatContext,!1,!1);c.parentFlushed=!0,t.blockedBoundary=s,t.blockedSegment=c;try{if(Hx(e,t,r),e.responseState.generateStaticMarkup||c.lastPushedText&&c.textEmbedded&&c.chunks.push("<!-- -->"),c.status=1,Ay(s,c),s.pendingTasks===0)break e}catch(d){c.status=4,s.forceClientRender=!0,s.errorDigest=m0(e,d)}finally{t.blockedBoundary=n,t.blockedSegment=i}t=D6(e,o,n,l,a,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case OK:if(r=TL(e,t,n.render,r,i),h0!==0){n=t.treeContext,t.treeContext=Fx(n,1,0);try{Oo(e,t,r)}finally{t.treeContext=n}}else Oo(e,t,r);return;case DK:n=n.type,r=SL(n,r),Bx(e,t,n,r,i);return;case RK:if(i=r.children,n=n._context,r=r.value,o=n._currentValue2,n._currentValue2=r,a=c1,c1=r={parent:a,depth:a===null?0:a.depth+1,context:n,parentValue:o,value:r},t.context=r,Oo(e,t,i),e=c1,e===null)throw Error(Ht(403));r=e.parentValue,e.context._currentValue2=r===FDe?e.context._defaultValue:r,e=c1=e.parent,t.context=e;return;case PK:r=r.children,r=r(n._currentValue2),Oo(e,t,r);return;case P6:i=n._init,n=i(n._payload),r=SL(n,r),Bx(e,t,n,r,void 0);return}throw Error(Ht(130,n==null?n:typeof n,""))}}function Oo(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case DDe:Bx(e,t,n.type,n.props,n.ref);return;case CK:throw Error(Ht(257));case P6:var r=n._init;n=r(n._payload),Oo(e,t,n);return}if(Mx(n)){xL(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=pL&&n[pL]||n["@@iterator"],r=typeof r=="function"?r:null),r&&(r=r.call(n))){if(n=r.next(),!n.done){var i=[];do i.push(n.value),n=r.next();while(!n.done);xL(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(Ht(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=fL(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=fL(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function xL(e,t,n){for(var r=n.length,i=0;i<r;i++){var o=t.treeContext;t.treeContext=Fx(o,r,i);try{Hx(e,t,n[i])}finally{t.treeContext=o}}}function Hx(e,t,n){var r=t.blockedSegment.formatContext,i=t.legacyContext,o=t.context;try{return Oo(e,t,n)}catch(l){if(N6(),typeof l=="object"&&l!==null&&typeof l.then=="function"){n=l;var a=t.blockedSegment,s=Cy(e,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=D6(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=i,t.context=o,Sy(o)}else throw t.blockedSegment.formatContext=r,t.legacyContext=i,t.context=o,Sy(o),l}}function YDe(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,zK(this,t,e)}function UK(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,r===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=n===void 0?Error(Ht(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(i){return UK(i,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function Ay(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===1&&Ay(e,n)}else e.completedSegments.push(t)}function zK(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(Ht(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=jh,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&Ay(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(YDe,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(Ay(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function GK(e){if(e.status!==2){var t=c1,n=s_.current;s_.current=EL;var r=h9;h9=e.responseState;try{var i=e.pingedTasks,o;for(o=0;o<i.length;o++){var a=i[o],s=e,l=a.blockedSegment;if(l.status===0){Sy(a.context);try{Oo(s,a,a.node),s.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("<!-- -->"),a.abortSet.delete(a),l.status=1,zK(s,a.blockedBoundary,l)}catch(v){if(N6(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var c=a.ping;v.then(c,c)}else{a.abortSet.delete(a),l.status=4;var d=a.blockedBoundary,p=v,h=m0(s,p);if(d===null?wy(s,p):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=h,d.parentFlushed&&s.clientRenderedBoundaries.push(d))),s.allPendingTasks--,s.allPendingTasks===0){var m=s.onAllReady;m()}}}finally{}}}i.splice(0,o),e.destination!==null&&L6(e,e.destination)}catch(v){m0(e,v),wy(e,v)}finally{h9=r,s_.current=n,n===EL&&Sy(t)}}}function x5(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0;r=n.chunks;var o=0;n=n.children;for(var a=0;a<n.length;a++){for(i=n[a];o<i.index;o++)t.push(r[o]);i=Xb(e,t,i)}for(;o<r.length-1;o++)t.push(r[o]);return o<r.length&&(i=t.push(r[o])),i;default:throw Error(Ht(390))}}function Xb(e,t,n){var r=n.boundary;if(r===null)return x5(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("<!--$!-->"),t.push("<template"),r&&(t.push(' data-dgst="'),r=Fi(r),t.push(r),t.push('"')),t.push("></template>")),x5(e,t,n),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e;if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,o=i.nextSuspenseID++;return i=i.boundaryPrefix+o.toString(16),r=r.id=i,dL(t,e.responseState,r),x5(e,t,n),t.push("<!--/$-->")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),dL(t,e.responseState,r.id),x5(e,t,n),t.push("<!--/$-->");if(e.responseState.generateStaticMarkup||t.push("<!--$-->"),n=r.completedSegments,n.length!==1)throw Error(Ht(391));return Xb(e,t,n[0]),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function CL(e,t,n){return PDe(t,e.responseState,n.formatContext,n.id),Xb(e,t,n),ODe(t,n.formatContext)}function wL(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)WK(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),r===null)throw Error(Ht(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function WK(e,t,n,r){if(r.status===2)return!0;var i=r.id;if(i===-1){if((r.id=n.rootSegmentID)===-1)throw Error(Ht(392));return CL(e,t,r)}return CL(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function L6(e,t){try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){Xb(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var i=e.clientRenderedBoundaries,o;for(o=0;o<i.length;o++){var a=i[o];r=t;var s=e.responseState,l=a.id,c=a.errorDigest,d=a.errorMessage,p=a.errorComponentStack;if(r.push(s.startInlineScript),s.sentClientRenderFunction?r.push('$RX("'):(s.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),l===null)throw Error(Ht(395));if(r.push(l),r.push('"'),c||d||p){r.push(",");var h=a_(c||"");r.push(h)}if(d||p){r.push(",");var m=a_(d||"");r.push(m)}if(p){r.push(",");var v=a_(p);r.push(v)}if(!r.push(")<\/script>")){e.destination=null,o++,i.splice(0,o);return}}i.splice(0,o);var y=e.completedBoundaries;for(o=0;o<y.length;o++)if(!wL(e,t,y[o])){e.destination=null,o++,y.splice(0,o);return}y.splice(0,o);var x=e.partialBoundaries;for(o=0;o<x.length;o++){var b=x[o];e:{i=e,a=t;var _=b.completedSegments;for(s=0;s<_.length;s++)if(!WK(i,a,b,_[s])){s++,_.splice(0,s);var S=!1;break e}_.splice(0,s),S=!0}if(!S){e.destination=null,o++,x.splice(0,o);return}}x.splice(0,o);var C=e.completedBoundaries;for(o=0;o<C.length;o++)if(!wL(e,t,C[o])){e.destination=null,o++,C.splice(0,o);return}C.splice(0,o)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.push(null)}}function XDe(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return UK(r,e,t)}),n.clear(),e.destination!==null&&L6(e,e.destination)}catch(r){m0(e,r),wy(e,r)}}function QDe(){}function jK(e,t,n,r){var i=!1,o=null,a="",s={push:function(c){return c!==null&&(a+=c),!0},destroy:function(c){i=!0,o=c}},l=!1;if(e=qDe(e,NDe(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,QDe,void 0,function(){l=!0},void 0,void 0),GK(e),XDe(e,r),e.status===1)e.status=2,s.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=s;try{L6(e,s)}catch(c){m0(e,c),wy(e,c)}}if(i)throw o;if(!l)throw Error(Ht(426));return a}Op.renderToNodeStream=function(){throw Error(Ht(207))};Op.renderToStaticMarkup=function(e,t){return jK(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};Op.renderToStaticNodeStream=function(){throw Error(Ht(208))};Op.renderToString=function(e,t){return jK(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};Op.version="18.2.0";var M6={};/**
 * @license React
 * react-dom-server.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var VK=T.exports;function Xt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ko=null,No=0;function ft(e,t){if(t.length!==0)if(512<t.length)0<No&&(e.enqueue(new Uint8Array(ko.buffer,0,No)),ko=new Uint8Array(512),No=0),e.enqueue(t);else{var n=ko.length-No;n<t.length&&(n===0?e.enqueue(ko):(ko.set(t.subarray(0,n),No),e.enqueue(ko),t=t.subarray(n)),ko=new Uint8Array(512),No=0),ko.set(t,No),No+=t.length}}function er(e,t){return ft(e,t),!0}function AL(e){ko&&0<No&&(e.enqueue(new Uint8Array(ko.buffer,0,No)),ko=null,No=0)}var KK=new TextEncoder;function Jt(e){return KK.encode(e)}function et(e){return KK.encode(e)}function qK(e,t){typeof e.error=="function"?e.error(t):e.close()}var io=Object.prototype.hasOwnProperty,ZDe=/^[: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]*$/,IL={},RL={};function YK(e){return io.call(RL,e)?!0:io.call(IL,e)?!1:ZDe.test(e)?RL[e]=!0:(IL[e]=!0,!1)}function qi(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var bi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){bi[e]=new qi(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];bi[t]=new qi(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){bi[e]=new qi(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){bi[e]=new qi(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){bi[e]=new qi(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){bi[e]=new qi(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){bi[e]=new qi(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){bi[e]=new qi(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){bi[e]=new qi(e,5,!1,e.toLowerCase(),null,!1,!1)});var $6=/[\-:]([a-z])/g;function F6(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($6,F6);bi[t]=new qi(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($6,F6);bi[t]=new qi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($6,F6);bi[t]=new qi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){bi[e]=new qi(e,1,!1,e.toLowerCase(),null,!1,!1)});bi.xlinkHref=new qi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){bi[e]=new qi(e,1,!1,e.toLowerCase(),null,!0,!0)});var m9={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},JDe=["Webkit","ms","Moz","O"];Object.keys(m9).forEach(function(e){JDe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),m9[t]=m9[e]})});var eLe=/["'&<>]/;function fi(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=eLe.exec(e);if(t){var n="",r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}i!==r&&(n+=e.substring(i,r)),i=r+1,n+=t}e=i!==r?n+e.substring(i,r):n}return e}var tLe=/([A-Z])/g,nLe=/^ms-/,Ux=Array.isArray,rLe=et("<script>"),iLe=et("<\/script>"),oLe=et('<script src="'),aLe=et('<script type="module" src="'),PL=et('" async=""><\/script>'),sLe=/(<\/|<)(s)(cript)/gi;function lLe(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}function uLe(e,t,n,r,i){e=e===void 0?"":e,t=t===void 0?rLe:et('<script nonce="'+fi(t)+'">');var o=[];if(n!==void 0&&o.push(t,Jt((""+n).replace(sLe,lLe)),iLe),r!==void 0)for(n=0;n<r.length;n++)o.push(oLe,Jt(fi(r[n])),PL);if(i!==void 0)for(r=0;r<i.length;r++)o.push(aLe,Jt(fi(i[r])),PL);return{bootstrapChunks:o,startInlineScript:t,placeholderPrefix:et(e+"P:"),segmentPrefix:et(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Cs(e,t){return{insertionMode:e,selectedValue:t}}function cLe(e){return Cs(e==="http://www.w3.org/2000/svg"?2:e==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function dLe(e,t,n){switch(t){case"select":return Cs(1,n.value!=null?n.value:n.defaultValue);case"svg":return Cs(2,null);case"math":return Cs(3,null);case"foreignObject":return Cs(1,null);case"table":return Cs(4,null);case"thead":case"tbody":case"tfoot":return Cs(5,null);case"colgroup":return Cs(7,null);case"tr":return Cs(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Cs(1,null):e}var B6=et("<!-- -->");function OL(e,t,n,r){return t===""?r:(r&&e.push(B6),e.push(Jt(fi(t))),!0)}var kL=new Map,fLe=et(' style="'),NL=et(":"),pLe=et(";");function XK(e,t,n){if(typeof n!="object")throw Error(Xt(62));t=!0;for(var r in n)if(io.call(n,r)){var i=n[r];if(i!=null&&typeof i!="boolean"&&i!==""){if(r.indexOf("--")===0){var o=Jt(fi(r));i=Jt(fi((""+i).trim()))}else{o=r;var a=kL.get(o);a!==void 0||(a=et(fi(o.replace(tLe,"-$1").toLowerCase().replace(nLe,"-ms-"))),kL.set(o,a)),o=a,i=typeof i=="number"?i===0||io.call(m9,r)?Jt(""+i):Jt(i+"px"):Jt(fi((""+i).trim()))}t?(t=!1,e.push(fLe,o,NL,i)):e.push(pLe,o,NL,i)}}t||e.push(e1)}var Tu=et(" "),Bd=et('="'),e1=et('"'),DL=et('=""');function Ro(e,t,n,r){switch(n){case"style":XK(e,t,r);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"){if(t=bi.hasOwnProperty(n)?bi[n]:null,t!==null){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=Jt(t.attributeName),t.type){case 3:r&&e.push(Tu,n,DL);break;case 4:r===!0?e.push(Tu,n,DL):r!==!1&&e.push(Tu,n,Bd,Jt(fi(r)),e1);break;case 5:isNaN(r)||e.push(Tu,n,Bd,Jt(fi(r)),e1);break;case 6:!isNaN(r)&&1<=r&&e.push(Tu,n,Bd,Jt(fi(r)),e1);break;default:t.sanitizeURL&&(r=""+r),e.push(Tu,n,Bd,Jt(fi(r)),e1)}}else if(YK(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(t=n.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(Tu,Jt(n),Bd,Jt(fi(r)),e1)}}}var _u=et(">"),LL=et("/>");function g9(e,t,n){if(t!=null){if(n!=null)throw Error(Xt(60));if(typeof t!="object"||!("__html"in t))throw Error(Xt(61));t=t.__html,t!=null&&e.push(Jt(""+t))}}function hLe(e){var t="";return VK.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var l_=et(' selected=""');function u_(e,t,n,r){e.push(ws(n));var i=n=null,o;for(o in t)if(io.call(t,o)){var a=t[o];if(a!=null)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:Ro(e,r,o,a)}}return e.push(_u),g9(e,i,n),typeof n=="string"?(e.push(Jt(fi(n))),null):n}var c_=et(`
`),mLe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ML=new Map;function ws(e){var t=ML.get(e);if(t===void 0){if(!mLe.test(e))throw Error(Xt(65,e));t=et("<"+e),ML.set(e,t)}return t}var gLe=et("<!DOCTYPE html>");function vLe(e,t,n,r,i){switch(t){case"select":e.push(ws("select"));var o=null,a=null;for(d in n)if(io.call(n,d)){var s=n[d];if(s!=null)switch(d){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;case"defaultValue":case"value":break;default:Ro(e,r,d,s)}}return e.push(_u),g9(e,a,o),o;case"option":a=i.selectedValue,e.push(ws("option"));var l=s=null,c=null,d=null;for(o in n)if(io.call(n,o)){var p=n[o];if(p!=null)switch(o){case"children":s=p;break;case"selected":c=p;break;case"dangerouslySetInnerHTML":d=p;break;case"value":l=p;default:Ro(e,r,o,p)}}if(a!=null)if(n=l!==null?""+l:hLe(s),Ux(a)){for(r=0;r<a.length;r++)if(""+a[r]===n){e.push(l_);break}}else""+a===n&&e.push(l_);else c&&e.push(l_);return e.push(_u),g9(e,d,s),s;case"textarea":e.push(ws("textarea")),d=a=o=null;for(s in n)if(io.call(n,s)&&(l=n[s],l!=null))switch(s){case"children":d=l;break;case"value":o=l;break;case"defaultValue":a=l;break;case"dangerouslySetInnerHTML":throw Error(Xt(91));default:Ro(e,r,s,l)}if(o===null&&a!==null&&(o=a),e.push(_u),d!=null){if(o!=null)throw Error(Xt(92));if(Ux(d)&&1<d.length)throw Error(Xt(93));o=""+d}return typeof o=="string"&&o[0]===`
`&&e.push(c_),o!==null&&e.push(Jt(fi(""+o))),null;case"input":e.push(ws("input")),l=d=s=o=null;for(a in n)if(io.call(n,a)&&(c=n[a],c!=null))switch(a){case"children":case"dangerouslySetInnerHTML":throw Error(Xt(399,"input"));case"defaultChecked":l=c;break;case"defaultValue":s=c;break;case"checked":d=c;break;case"value":o=c;break;default:Ro(e,r,a,c)}return d!==null?Ro(e,r,"checked",d):l!==null&&Ro(e,r,"checked",l),o!==null?Ro(e,r,"value",o):s!==null&&Ro(e,r,"value",s),e.push(LL),null;case"menuitem":e.push(ws("menuitem"));for(var h in n)if(io.call(n,h)&&(o=n[h],o!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(Xt(400));default:Ro(e,r,h,o)}return e.push(_u),null;case"title":e.push(ws("title")),o=null;for(p in n)if(io.call(n,p)&&(a=n[p],a!=null))switch(p){case"children":o=a;break;case"dangerouslySetInnerHTML":throw Error(Xt(434));default:Ro(e,r,p,a)}return e.push(_u),o;case"listing":case"pre":e.push(ws(t)),a=o=null;for(l in n)if(io.call(n,l)&&(s=n[l],s!=null))switch(l){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;default:Ro(e,r,l,s)}if(e.push(_u),a!=null){if(o!=null)throw Error(Xt(60));if(typeof a!="object"||!("__html"in a))throw Error(Xt(61));n=a.__html,n!=null&&(typeof n=="string"&&0<n.length&&n[0]===`
`?e.push(c_,Jt(n)):e.push(Jt(""+n)))}return typeof o=="string"&&o[0]===`
`&&e.push(c_),o;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(ws(t));for(var m in n)if(io.call(n,m)&&(o=n[m],o!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(Xt(399,t));default:Ro(e,r,m,o)}return e.push(LL),null;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 u_(e,n,t,r);case"html":return i.insertionMode===0&&e.push(gLe),u_(e,n,t,r);default:if(t.indexOf("-")===-1&&typeof n.is!="string")return u_(e,n,t,r);e.push(ws(t)),a=o=null;for(c in n)if(io.call(n,c)&&(s=n[c],s!=null))switch(c){case"children":o=s;break;case"dangerouslySetInnerHTML":a=s;break;case"style":XK(e,r,s);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:YK(c)&&typeof s!="function"&&typeof s!="symbol"&&e.push(Tu,Jt(c),Bd,Jt(fi(s)),e1)}return e.push(_u),g9(e,a,o),o}}var yLe=et("</"),bLe=et(">"),ELe=et('<template id="'),TLe=et('"></template>'),_Le=et("<!--$-->"),SLe=et('<!--$?--><template id="'),xLe=et('"></template>'),CLe=et("<!--$!-->"),wLe=et("<!--/$-->"),ALe=et("<template"),ILe=et('"'),RLe=et(' data-dgst="');et(' data-msg="');et(' data-stck="');var PLe=et("></template>");function $L(e,t,n){if(ft(e,SLe),n===null)throw Error(Xt(395));return ft(e,n),er(e,xLe)}var OLe=et('<div hidden id="'),kLe=et('">'),NLe=et("</div>"),DLe=et('<svg aria-hidden="true" style="display:none" id="'),LLe=et('">'),MLe=et("</svg>"),$Le=et('<math aria-hidden="true" style="display:none" id="'),FLe=et('">'),BLe=et("</math>"),HLe=et('<table hidden id="'),ULe=et('">'),zLe=et("</table>"),GLe=et('<table hidden><tbody id="'),WLe=et('">'),jLe=et("</tbody></table>"),VLe=et('<table hidden><tr id="'),KLe=et('">'),qLe=et("</tr></table>"),YLe=et('<table hidden><colgroup id="'),XLe=et('">'),QLe=et("</colgroup></table>");function ZLe(e,t,n,r){switch(n.insertionMode){case 0:case 1:return ft(e,OLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,kLe);case 2:return ft(e,DLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,LLe);case 3:return ft(e,$Le),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,FLe);case 4:return ft(e,HLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,ULe);case 5:return ft(e,GLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,WLe);case 6:return ft(e,VLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,KLe);case 7:return ft(e,YLe),ft(e,t.segmentPrefix),ft(e,Jt(r.toString(16))),er(e,XLe);default:throw Error(Xt(397))}}function JLe(e,t){switch(t.insertionMode){case 0:case 1:return er(e,NLe);case 2:return er(e,MLe);case 3:return er(e,BLe);case 4:return er(e,zLe);case 5:return er(e,jLe);case 6:return er(e,qLe);case 7:return er(e,QLe);default:throw Error(Xt(397))}}var eMe=et('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),tMe=et('$RS("'),nMe=et('","'),rMe=et('")<\/script>'),iMe=et('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),oMe=et('$RC("'),aMe=et('","'),sMe=et('")<\/script>'),lMe=et('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),uMe=et('$RX("'),cMe=et('"'),dMe=et(")<\/script>"),d_=et(","),fMe=/[<\u2028\u2029]/g;function f_(e){return JSON.stringify(e).replace(fMe,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var wm=Object.assign,pMe=Symbol.for("react.element"),QK=Symbol.for("react.portal"),ZK=Symbol.for("react.fragment"),JK=Symbol.for("react.strict_mode"),eq=Symbol.for("react.profiler"),tq=Symbol.for("react.provider"),nq=Symbol.for("react.context"),rq=Symbol.for("react.forward_ref"),iq=Symbol.for("react.suspense"),oq=Symbol.for("react.suspense_list"),aq=Symbol.for("react.memo"),H6=Symbol.for("react.lazy"),hMe=Symbol.for("react.scope"),mMe=Symbol.for("react.debug_trace_mode"),gMe=Symbol.for("react.legacy_hidden"),vMe=Symbol.for("react.default_value"),FL=Symbol.iterator;function zx(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ZK:return"Fragment";case QK:return"Portal";case eq:return"Profiler";case JK:return"StrictMode";case iq:return"Suspense";case oq:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case nq:return(e.displayName||"Context")+".Consumer";case tq:return(e._context.displayName||"Context")+".Provider";case rq:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case aq:return t=e.displayName||null,t!==null?t:zx(e.type)||"Memo";case H6:t=e._payload,e=e._init;try{return zx(e(t))}catch(n){}}return null}var sq={};function BL(e,t){if(e=e.contextTypes,!e)return sq;var n={},r;for(r in e)n[r]=t[r];return n}var d1=null;function Qb(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(Xt(401))}else{if(n===null)throw Error(Xt(401));Qb(e,n)}t.context._currentValue=t.value}}function lq(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&lq(e)}function uq(e){var t=e.parent;t!==null&&uq(t),e.context._currentValue=e.value}function cq(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(Xt(402));e.depth===t.depth?Qb(e,t):cq(e,t)}function dq(e,t){var n=t.parent;if(n===null)throw Error(Xt(402));e.depth===n.depth?Qb(e,n):dq(e,n),t.context._currentValue=t.value}function Iy(e){var t=d1;t!==e&&(t===null?uq(e):e===null?lq(t):t.depth===e.depth?Qb(t,e):t.depth>e.depth?cq(t,e):dq(t,e),d1=e)}var HL={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function UL(e,t,n,r){var i=e.state!==void 0?e.state:null;e.updater=HL,e.props=n,e.state=i;var o={queue:[],replace:!1};e._reactInternals=o;var a=t.contextType;if(e.context=typeof a=="object"&&a!==null?a._currentValue:r,a=t.getDerivedStateFromProps,typeof a=="function"&&(a=a(n,i),i=a==null?i:wm({},i,a),e.state=i),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&HL.enqueueReplaceState(e,e.state,null),o.queue!==null&&0<o.queue.length)if(t=o.queue,a=o.replace,o.queue=null,o.replace=!1,a&&t.length===1)e.state=t[0];else{for(o=a?t[0]:e.state,i=!0,a=a?1:0;a<t.length;a++){var s=t[a];s=typeof s=="function"?s.call(e,o,n,r):s,s!=null&&(i?(i=!1,o=wm({},o,s)):wm(o,s))}e.state=o}else o.queue=null}var yMe={id:1,overflow:""};function Gx(e,t,n){var r=e.id;e=e.overflow;var i=32-v9(r)-1;r&=~(1<<i),n+=1;var o=32-v9(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-v9(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}var v9=Math.clz32?Math.clz32:TMe,bMe=Math.log,EMe=Math.LN2;function TMe(e){return e>>>=0,e===0?32:31-(bMe(e)/EMe|0)|0}function _Me(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var SMe=typeof Object.is=="function"?Object.is:_Me,ql=null,U6=null,y9=null,Wn=null,Vh=!1,Ry=!1,g0=0,Bu=null,Zb=0;function t1(){if(ql===null)throw Error(Xt(321));return ql}function zL(){if(0<Zb)throw Error(Xt(312));return{memoizedState:null,queue:null,next:null}}function z6(){return Wn===null?y9===null?(Vh=!1,y9=Wn=zL()):(Vh=!0,Wn=y9):Wn.next===null?(Vh=!1,Wn=Wn.next=zL()):(Vh=!0,Wn=Wn.next),Wn}function G6(){U6=ql=null,Ry=!1,y9=null,Zb=0,Wn=Bu=null}function fq(e,t){return typeof t=="function"?t(e):t}function GL(e,t,n){if(ql=t1(),Wn=z6(),Vh){var r=Wn.queue;if(t=r.dispatch,Bu!==null&&(n=Bu.get(r),n!==void 0)){Bu.delete(r),r=Wn.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return Wn.memoizedState=r,[r,t]}return[Wn.memoizedState,t]}return e=e===fq?typeof t=="function"?t():t:n!==void 0?n(t):t,Wn.memoizedState=e,e=Wn.queue={last:null,dispatch:null},e=e.dispatch=xMe.bind(null,ql,e),[Wn.memoizedState,e]}function WL(e,t){if(ql=t1(),Wn=z6(),t=t===void 0?null:t,Wn!==null){var n=Wn.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!SMe(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Wn.memoizedState=[e,t],e}function xMe(e,t,n){if(25<=Zb)throw Error(Xt(301));if(e===ql)if(Ry=!0,e={action:n,next:null},Bu===null&&(Bu=new Map),n=Bu.get(t),n===void 0)Bu.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function CMe(){throw Error(Xt(394))}function C5(){}var jL={readContext:function(e){return e._currentValue},useContext:function(e){return t1(),e._currentValue},useMemo:WL,useReducer:GL,useRef:function(e){ql=t1(),Wn=z6();var t=Wn.memoizedState;return t===null?(e={current:e},Wn.memoizedState=e):t},useState:function(e){return GL(fq,e)},useInsertionEffect:C5,useLayoutEffect:function(){},useCallback:function(e,t){return WL(function(){return e},t)},useImperativeHandle:C5,useEffect:C5,useDebugValue:C5,useDeferredValue:function(e){return t1(),e},useTransition:function(){return t1(),[!1,CMe]},useId:function(){var e=U6.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-v9(e)-1)).toString(32)+t;var n=b9;if(n===null)throw Error(Xt(404));return t=g0++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return t1(),t(e._source)},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(Xt(407));return n()}},b9=null,p_=VK.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function wMe(e){return console.error(e),null}function Kh(){}function AMe(e,t,n,r,i,o,a,s,l){var c=[],d=new Set;return t={destination:null,responseState:t,progressiveChunkSize:r===void 0?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:d,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:i===void 0?wMe:i,onAllReady:o===void 0?Kh:o,onShellReady:a===void 0?Kh:a,onShellError:s===void 0?Kh:s,onFatalError:l===void 0?Kh:l},n=Py(t,0,null,n,!1,!1),n.parentFlushed=!0,e=W6(t,e,null,n,d,sq,null,yMe),c.push(e),t}function W6(e,t,n,r,i,o,a,s){e.allPendingTasks++,n===null?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var c=e.pingedTasks;c.push(l),c.length===1&&mq(e)},blockedBoundary:n,blockedSegment:r,abortSet:i,legacyContext:o,context:a,treeContext:s};return i.add(l),l}function Py(e,t,n,r,i,o){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function v0(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Oy(e,t){var n=e.onShellError;n(t),n=e.onFatalError,n(t),e.destination!==null?(e.status=2,qK(e.destination,t)):(e.status=1,e.fatalError=t)}function VL(e,t,n,r,i){for(ql={},U6=t,g0=0,e=n(r,i);Ry;)Ry=!1,g0=0,Zb+=1,Wn=null,e=n(r,i);return G6(),e}function KL(e,t,n,r){var i=n.render(),o=r.childContextTypes;if(o!=null){var a=t.legacyContext;if(typeof n.getChildContext!="function")r=a;else{n=n.getChildContext();for(var s in n)if(!(s in o))throw Error(Xt(108,zx(r)||"Unknown",s));r=wm({},a,n)}t.legacyContext=r,Do(e,t,i),t.legacyContext=a}else Do(e,t,i)}function qL(e,t){if(e&&e.defaultProps){t=wm({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Wx(e,t,n,r,i){if(typeof n=="function")if(n.prototype&&n.prototype.isReactComponent){i=BL(n,t.legacyContext);var o=n.contextType;o=new n(r,typeof o=="object"&&o!==null?o._currentValue:i),UL(o,n,r,i),KL(e,t,o,n)}else{o=BL(n,t.legacyContext),i=VL(e,t,n,r,o);var a=g0!==0;if(typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0)UL(i,n,r,o),KL(e,t,i,n);else if(a){r=t.treeContext,t.treeContext=Gx(r,1,0);try{Do(e,t,i)}finally{t.treeContext=r}}else Do(e,t,i)}else if(typeof n=="string"){switch(i=t.blockedSegment,o=vLe(i.chunks,n,r,e.responseState,i.formatContext),i.lastPushedText=!1,a=i.formatContext,i.formatContext=dLe(a,n,r),jx(e,t,o),i.formatContext=a,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:i.chunks.push(yLe,Jt(n),bLe)}i.lastPushedText=!1}else{switch(n){case gMe:case mMe:case JK:case eq:case ZK:Do(e,t,r.children);return;case oq:Do(e,t,r.children);return;case hMe:throw Error(Xt(343));case iq:e:{n=t.blockedBoundary,i=t.blockedSegment,o=r.fallback,r=r.children,a=new Set;var s={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null},l=Py(e,i.chunks.length,s,i.formatContext,!1,!1);i.children.push(l),i.lastPushedText=!1;var c=Py(e,0,null,i.formatContext,!1,!1);c.parentFlushed=!0,t.blockedBoundary=s,t.blockedSegment=c;try{if(jx(e,t,r),c.lastPushedText&&c.textEmbedded&&c.chunks.push(B6),c.status=1,ky(s,c),s.pendingTasks===0)break e}catch(d){c.status=4,s.forceClientRender=!0,s.errorDigest=v0(e,d)}finally{t.blockedBoundary=n,t.blockedSegment=i}t=W6(e,o,n,l,a,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case rq:if(r=VL(e,t,n.render,r,i),g0!==0){n=t.treeContext,t.treeContext=Gx(n,1,0);try{Do(e,t,r)}finally{t.treeContext=n}}else Do(e,t,r);return;case aq:n=n.type,r=qL(n,r),Wx(e,t,n,r,i);return;case tq:if(i=r.children,n=n._context,r=r.value,o=n._currentValue,n._currentValue=r,a=d1,d1=r={parent:a,depth:a===null?0:a.depth+1,context:n,parentValue:o,value:r},t.context=r,Do(e,t,i),e=d1,e===null)throw Error(Xt(403));r=e.parentValue,e.context._currentValue=r===vMe?e.context._defaultValue:r,e=d1=e.parent,t.context=e;return;case nq:r=r.children,r=r(n._currentValue),Do(e,t,r);return;case H6:i=n._init,n=i(n._payload),r=qL(n,r),Wx(e,t,n,r,void 0);return}throw Error(Xt(130,n==null?n:typeof n,""))}}function Do(e,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case pMe:Wx(e,t,n.type,n.props,n.ref);return;case QK:throw Error(Xt(257));case H6:var r=n._init;n=r(n._payload),Do(e,t,n);return}if(Ux(n)){YL(e,t,n);return}if(n===null||typeof n!="object"?r=null:(r=FL&&n[FL]||n["@@iterator"],r=typeof r=="function"?r:null),r&&(r=r.call(n))){if(n=r.next(),!n.done){var i=[];do i.push(n.value),n=r.next();while(!n.done);YL(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(Xt(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}typeof n=="string"?(r=t.blockedSegment,r.lastPushedText=OL(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText)):typeof n=="number"&&(r=t.blockedSegment,r.lastPushedText=OL(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function YL(e,t,n){for(var r=n.length,i=0;i<r;i++){var o=t.treeContext;t.treeContext=Gx(o,r,i);try{jx(e,t,n[i])}finally{t.treeContext=o}}}function jx(e,t,n){var r=t.blockedSegment.formatContext,i=t.legacyContext,o=t.context;try{return Do(e,t,n)}catch(l){if(G6(),typeof l=="object"&&l!==null&&typeof l.then=="function"){n=l;var a=t.blockedSegment,s=Py(e,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=W6(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=i,t.context=o,Iy(o)}else throw t.blockedSegment.formatContext=r,t.legacyContext=i,t.context=o,Iy(o),l}}function IMe(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,hq(this,t,e)}function pq(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,r===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=n===void 0?Error(Xt(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach(function(i){return pq(i,t,n)}),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(r=t.onAllReady,r()))}function ky(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===1&&ky(e,n)}else e.completedSegments.push(t)}function hq(e,t,n){if(t===null){if(n.parentFlushed){if(e.completedRootSegment!==null)throw Error(Xt(389));e.completedRootSegment=n}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=Kh,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(n.parentFlushed&&n.status===1&&ky(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(IMe,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&n.status===1&&(ky(t,n),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function mq(e){if(e.status!==2){var t=d1,n=p_.current;p_.current=jL;var r=b9;b9=e.responseState;try{var i=e.pingedTasks,o;for(o=0;o<i.length;o++){var a=i[o],s=e,l=a.blockedSegment;if(l.status===0){Iy(a.context);try{Do(s,a,a.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(B6),a.abortSet.delete(a),l.status=1,hq(s,a.blockedBoundary,l)}catch(v){if(G6(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var c=a.ping;v.then(c,c)}else{a.abortSet.delete(a),l.status=4;var d=a.blockedBoundary,p=v,h=v0(s,p);if(d===null?Oy(s,p):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=h,d.parentFlushed&&s.clientRenderedBoundaries.push(d))),s.allPendingTasks--,s.allPendingTasks===0){var m=s.onAllReady;m()}}}finally{}}}i.splice(0,o),e.destination!==null&&j6(e,e.destination)}catch(v){v0(e,v),Oy(e,v)}finally{b9=r,p_.current=n,n===jL&&Iy(t)}}}function w5(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,ft(t,ELe),ft(t,e.placeholderPrefix),e=Jt(r.toString(16)),ft(t,e),er(t,TLe);case 1:n.status=2;var i=!0;r=n.chunks;var o=0;n=n.children;for(var a=0;a<n.length;a++){for(i=n[a];o<i.index;o++)ft(t,r[o]);i=Jb(e,t,i)}for(;o<r.length-1;o++)ft(t,r[o]);return o<r.length&&(i=er(t,r[o])),i;default:throw Error(Xt(390))}}function Jb(e,t,n){var r=n.boundary;if(r===null)return w5(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,er(t,CLe),ft(t,ALe),r&&(ft(t,RLe),ft(t,Jt(fi(r))),ft(t,ILe)),er(t,PLe),w5(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,o=i.nextSuspenseID++;i=et(i.boundaryPrefix+o.toString(16)),r=r.id=i,$L(t,e.responseState,r),w5(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),$L(t,e.responseState,r.id),w5(e,t,n);else{if(er(t,_Le),n=r.completedSegments,n.length!==1)throw Error(Xt(391));Jb(e,t,n[0])}return er(t,wLe)}function XL(e,t,n){return ZLe(t,e.responseState,n.formatContext,n.id),Jb(e,t,n),JLe(t,n.formatContext)}function QL(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)gq(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,ft(t,e.startInlineScript),e.sentCompleteBoundaryFunction?ft(t,oMe):(e.sentCompleteBoundaryFunction=!0,ft(t,iMe)),r===null)throw Error(Xt(395));return n=Jt(n.toString(16)),ft(t,r),ft(t,aMe),ft(t,e.segmentPrefix),ft(t,n),er(t,sMe)}function gq(e,t,n,r){if(r.status===2)return!0;var i=r.id;if(i===-1){if((r.id=n.rootSegmentID)===-1)throw Error(Xt(392));return XL(e,t,r)}return XL(e,t,r),e=e.responseState,ft(t,e.startInlineScript),e.sentCompleteSegmentFunction?ft(t,tMe):(e.sentCompleteSegmentFunction=!0,ft(t,eMe)),ft(t,e.segmentPrefix),i=Jt(i.toString(16)),ft(t,i),ft(t,nMe),ft(t,e.placeholderPrefix),ft(t,i),er(t,rMe)}function j6(e,t){ko=new Uint8Array(512),No=0;try{var n=e.completedRootSegment;if(n!==null&&e.pendingRootTasks===0){Jb(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)ft(t,r[n]);n<r.length&&er(t,r[n])}var i=e.clientRenderedBoundaries,o;for(o=0;o<i.length;o++){var a=i[o];r=t;var s=e.responseState,l=a.id,c=a.errorDigest,d=a.errorMessage,p=a.errorComponentStack;if(ft(r,s.startInlineScript),s.sentClientRenderFunction?ft(r,uMe):(s.sentClientRenderFunction=!0,ft(r,lMe)),l===null)throw Error(Xt(395));ft(r,l),ft(r,cMe),(c||d||p)&&(ft(r,d_),ft(r,Jt(f_(c||"")))),(d||p)&&(ft(r,d_),ft(r,Jt(f_(d||"")))),p&&(ft(r,d_),ft(r,Jt(f_(p)))),er(r,dMe)}i.splice(0,o);var h=e.completedBoundaries;for(o=0;o<h.length;o++)QL(e,t,h[o]);h.splice(0,o),AL(t),ko=new Uint8Array(512),No=0;var m=e.partialBoundaries;for(o=0;o<m.length;o++){var v=m[o];e:{i=e,a=t;var y=v.completedSegments;for(s=0;s<y.length;s++)if(!gq(i,a,v,y[s])){s++,y.splice(0,s);var x=!1;break e}y.splice(0,s),x=!0}if(!x){e.destination=null,o++,m.splice(0,o);return}}m.splice(0,o);var b=e.completedBoundaries;for(o=0;o<b.length;o++)QL(e,t,b[o]);b.splice(0,o)}finally{AL(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function ZL(e,t){try{var n=e.abortableTasks;n.forEach(function(r){return pq(r,e,t)}),n.clear(),e.destination!==null&&j6(e,e.destination)}catch(r){v0(e,r),Oy(e,r)}}M6.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,o,a=new Promise(function(d,p){o=d,i=p}),s=AMe(e,uLe(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),cLe(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,function(){var d=new ReadableStream({type:"bytes",pull:function(p){if(s.status===1)s.status=2,qK(p,s.fatalError);else if(s.status!==2&&s.destination===null){s.destination=p;try{j6(s,p)}catch(h){v0(s,h),Oy(s,h)}}},cancel:function(){ZL(s)}},{highWaterMark:0});d.allReady=a,n(d)},function(d){a.catch(function(){}),r(d)},i);if(t&&t.signal){var l=t.signal,c=function(){ZL(s,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}mq(s)})};M6.version="18.2.0";var kp,vq;kp=Op,vq=M6;kp.version;var RMe=kp.renderToString;kp.renderToStaticMarkup;kp.renderToNodeStream;kp.renderToStaticNodeStream;vq.renderToReadableStream;var V6={},PMe=rr.exports;Object.defineProperty(V6,"__esModule",{value:!0});var yq=V6.default=void 0,OMe=PMe(lr()),kMe=ur,NMe=(0,OMe.default)((0,kMe.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm0 16H5V7h14v12zm-5.5-6c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5zM12 9c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4zm0 6.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"Preview");yq=V6.default=NMe;var K6={},DMe=rr.exports;Object.defineProperty(K6,"__esModule",{value:!0});var bq=K6.default=void 0,LMe=DMe(lr()),MMe=ur,$Me=(0,LMe.default)((0,MMe.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");bq=K6.default=$Me;const Eq=Pt.PhotoRoutePage.HomePage,FMe=Eq.EmailSent,BMe=Eq.InvalidEmailsFound,HMe=xt(({onToggleEmailPreview:e})=>{var b;const{translations:t,homepage:n,pathfinder:r,buildings:i,analytics:o}=T.exports.useContext(gt),[a,s]=T.exports.useState(!1),[l,c]=T.exports.useState(!1),[d,p]=T.exports.useState([]),h=T.exports.useCallback(()=>n.getShortLink(os.PortalEmail),[n.localURL]),m=T.exports.useCallback(async _=>{c(!0);try{const S=await h(),C=n.renderTemplate(S);o.log(Mn.SubmitShareEmail,{link:n.localURL,email:n.emails.join(",")});const O=RMe(E(A6,{logo:i.logoURL,template:C}));await n.sendEmail(O,_.join(",")),n.error||n.setEmails([])}catch(S){console.error(S)}finally{s(!0),c(!1)}},[n,i.logoURL]),v=T.exports.useCallback(_=>{_.preventDefault();const S=_.clipboardData.getData("text/plain").split(/[,;]/).map(A=>A.trim()).filter(ae.identity);if(S.length<=0)return;const[C,O]=ae.partition(S,A=>uz(A));O.length>0&&p(O),C.length>0&&n.setEmails(ae.uniq([...n.emails,...C]))},[n.emails]),y=T.exports.useCallback(()=>{s(!1)},[]),x=T.exports.useCallback(()=>{p([])},[]);return te(Wi,{direction:"row",spacing:5,children:[E(np,{open:a,autoHideDuration:3e3,onClose:y,anchorOrigin:{vertical:"top",horizontal:"right"},children:E(tp,{severity:n.error?"error":"success",variant:"filled",onClose:y,children:(b=n.error)!=null?b:E(Rt,{id:FMe})})}),E(np,{open:d.length>0,onClose:x,anchorOrigin:{vertical:"top",horizontal:"right"},children:te(tp,{severity:"warning",variant:"filled",onClose:x,children:[E(rPe,{children:E(Rt,{id:BMe})}),E("ul",{style:{paddingInlineStart:"0.875rem"},children:d.map((_,S)=>E("li",{children:_},S))})]})}),E(fg,{options:[],multiple:!0,fullWidth:!0,freeSolo:!0,disabled:l,value:n.emails,onChange:(_,S)=>n.setEmails(S),onPaste:v,renderInput:_=>E(wc,{..._,label:"Email",labelWidth:"7ch"})}),E(Dr,{variant:"contained",sx:{px:16,minWidth:50,minHeight:40,alignSelf:"flex-start"},title:t.getTranslation(Pt.PhotoRoutePage.HomePage.SendEmailTooltip),disabled:!r.path||n.emails.length<=0||n.sendingEmail||l,disableElevation:!0,onClick:()=>m(n.emails),children:n.sendingEmail||l?E(nd,{size:16}):E(bq,{})}),E(Dr,{variant:"contained",title:t.getTranslation(Pt.PhotoRoutePage.HomePage.ShowEmailPreviewTooltip),onClick:()=>e(),disableElevation:!0,sx:_=>({px:16,minWidth:50,minHeight:40,alignSelf:"flex-start",color:_.palette.common.black,bgcolor:_.palette.background.surface2,"&:hover":{bgcolor:_.palette.background.surface1}}),children:E(yq,{})})]})});var q6={},UMe=rr.exports;Object.defineProperty(q6,"__esModule",{value:!0});var Tq=q6.default=void 0,zMe=UMe(lr()),GMe=ur,WMe=(0,zMe.default)((0,GMe.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");Tq=q6.default=WMe;var Y6={},jMe=rr.exports;Object.defineProperty(Y6,"__esModule",{value:!0});var _q=Y6.default=void 0,VMe=jMe(lr()),KMe=ur,qMe=(0,VMe.default)((0,KMe.jsx)("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5zm-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3 2 4.27z"}),"LinkOff");_q=Y6.default=qMe;const YMe=()=>{const{translations:e,homepage:t,analytics:n}=T.exports.useContext(gt),[r,i]=T.exports.useState(!1),[o,a]=T.exports.useState(""),[s,l]=T.exports.useState(!1),c=T.exports.useCallback(p=>{i(h=>p!=null?p:!h)},[]),d=T.exports.useCallback(p=>{var h;(h=navigator.clipboard)==null||h.writeText(p).then(()=>{c(!0),n.log(Mn.PressCopyLink,{shortLink:p})})},[]);return T.exports.useEffect(()=>{if(!t.useShortLink){a("");return}l(!0),t.getShortLink(os.LinkCopy).then(p=>{a(p),d(p)}).catch(()=>{a("")}).finally(()=>{l(!1)})},[t.useShortLink,t.localURL]),te(Oe,{display:"flex",alignItems:"center",height:40,children:[E(np,{open:r,autoHideDuration:5e3,anchorOrigin:{vertical:"top",horizontal:"center"},onClose:(p,h)=>h!=="clickaway"&&c(!1),children:E(tp,{onClose:()=>c(!1),severity:"success",sx:{width:"100%"},children:"Link copied to clipboard"})}),te(Oe,{sx:{height:30,fontSize:30,display:"flex",alignItems:"center"},children:[" ",t.useShortLink?E(Tq,{fontSize:"inherit"}):E(_q,{fontSize:"inherit",sx:p=>({color:p.palette.text.secondary})})]}),E(s6,{sx:{ml:5},checked:t.useShortLink||!1,disabled:s,onChange:(p,h)=>{n.log(Mn.ToggleUseShortLink,{previousValue:t.useShortLink,value:h}),t.toggleUseShortLink(h)}}),E(nt,{sx:{ml:18},children:e.getTranslation(Pt.PhotoRoutePage.HomePage.UseShortLinkLabel)}),t.useShortLink&&(s?E(nd,{sx:{ml:10},size:14,color:"success"}):E(nt,{variant:"caption",lineHeight:21/13,ml:10,fontWeight:500,sx:p=>({color:p.palette.success.main,cursor:"pointer"}),onClick:()=>d(o),children:o}))]})},XMe=xt(YMe),QMe=({onToggleEmailPreview:e})=>{var n;const{buildings:t}=T.exports.useContext(gt);return te(Oe,{children:[E(XMe,{}),((n=t.building)==null?void 0:n.email)&&E(Oe,{sx:{mb:20,mt:13},children:E(HMe,{onToggleEmailPreview:e})})]})},ZMe=xt(QMe);var X6={},JMe=rr.exports;Object.defineProperty(X6,"__esModule",{value:!0});var Sq=X6.default=void 0,e$e=JMe(lr()),t$e=ur,n$e=(0,e$e.default)((0,t$e.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}),"Share");Sq=X6.default=n$e;const r$e=({view:e,disabled:t,onChange:n})=>{const{translations:r}=T.exports.useContext(gt),i=T.exports.useMemo(()=>e==="qr",[e]);return E(Dr,{variant:"contained",color:"primary",onClick:()=>{n(i?"settings":"qr")},title:i?r.getTranslation(Pt.PhotoRoutePage.HomePage.ShowSettingsTooltip):r.getTranslation(Pt.PhotoRoutePage.HomePage.ShowQRTooltip),disabled:t,sx:{position:"absolute",top:0,right:0,p:8,minWidth:"unset",borderRadius:"50%"},children:i?E(Sq,{}):E(y6,{})})},i$e=xt(r$e),o$e=()=>{var a;const{pathfinder:e,buildings:t}=T.exports.useContext(gt),[n,r]=T.exports.useState("qr"),[i,o]=T.exports.useState(!1);return te(Oe,{sx:{height:"100%",position:"relative"},children:[E(i$e,{view:n,onChange:r,disabled:!e.path}),n==="qr"&&E(EDe,{disabled:!e.path,loading:e.loading}),n==="settings"&&E(ZMe,{onToggleEmailPreview:()=>o(!0)}),((a=t.building)==null?void 0:a.email)&&E(yDe,{show:i,onToggle:s=>o(s)})]})},a$e=xt(o$e),s$e=xt(()=>{const{buildings:e,pathfinder:t,queryParams:n}=T.exports.useContext(gt);return E(fg,{options:e.buildingNames,fullWidth:!0,disabled:t.loading,clearIcon:!1,autoSelect:!1,selectOnFocus:!0,blurOnSelect:"touch",openOnFocus:!0,disableClearable:!0,isOptionEqualToValue:(r,i)=>r.id===i.id,onChange:(r,i)=>{var o;i.id!==((o=e.building)==null?void 0:o.id)&&e.selectBuilding(i)},value:e.selectedBuilding||null,renderInput:r=>E(wc,{...r})})}),xq=Pt.PhotoRoutePage.Controls,l$e=xq.ShowRouteLabel,u$e=xq.CancelLabel,Q6=T.exports.forwardRef(({onConfirm:e,onClose:t,text:n},r)=>{const[i,o]=T.exports.useState(!1);T.exports.useImperativeHandle(r,()=>({show(){o(!0)},hide(){o(!1)}}),[]);const a=T.exports.useCallback(()=>{o(!1),typeof t=="function"&&t()},[]),s=T.exports.useCallback(()=>{o(!1),typeof e=="function"&&e()},[]);return te(pg,{open:i,onClose:a,PaperProps:{sx:l=>({bgcolor:l.palette.primary.main,color:l.palette.primary.contrastText})},children:[E(c6,{sx:{px:16,pt:20,pb:8},children:E(GV,{color:"primary.contrastText",fontSize:14,lineHeight:16/14,children:n})}),te(u6,{sx:{px:16,pt:0,pb:14},children:[E(Dr,{onClick:a,sx:l=>({color:l.palette.primary.contrastText}),children:E(Rt,{id:u$e})}),E(Dr,{onClick:s,sx:l=>({color:l.palette.primary.contrastText,bgcolor:"rgba(0, 0, 0, 0.06)","&:hover":{bgcolor:"rgba(0, 0, 0, 0.18)"}}),children:E(Rt,{id:l$e})})]})]})});Q6.displayName="ChangeDestinationConfirmationDialog";const JL=e=>{const[t,n]=ae.split(e,":").map(o=>parseInt(o));if(ae.isNil(t)||ae.isNil(n))return"";const r=new Date;return r.setHours(t),r.setMinutes(n),Intl.DateTimeFormat("default",{hour:"numeric",minute:"numeric"}).format(r)};var Cq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Qc,()=>{return n={772:(i,o,a)=>{const s=a(826).remove,l=/[.*+?^${}()|[\]\\]/g,c=/[a-z0-9_]/i,d=/\s+/;i.exports=function(p,h,m){var v,y;y={insideWords:!1,findAllOccurrences:!1,requireMatchAll:!1},v=(v=m)||{},Object.keys(v).forEach(_=>{y[_]=!!v[_]}),m=y;const x=Array.from(p).map(_=>s(_));let b=x.join("");return(h=s(h)).trim().split(d).filter(_=>_.length>0).reduce((_,S)=>{const C=S.length,O=!m.insideWords&&c.test(S[0])?"\\b":"",A=new RegExp(O+S.replace(l,"\\$&"),"i");let R,N;if(R=A.exec(b),m.requireMatchAll&&R===null)return b="",[];for(;R;){N=R.index;const F=C-x.slice(N,N+C).join("").length,L=N-x.slice(0,N).join("").length,H=[N+L,N+C+L+F];if(H[0]!==H[1]&&_.push(H),b=b.slice(0,N)+new Array(C+1).join(" ")+b.slice(N+C),!m.findAllOccurrences)break;R=A.exec(b)}return _},[]).sort((_,S)=>_[0]-S[0])}},826:i=>{var o={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z"},a=Object.keys(o).join("|"),s=new RegExp(a,"g"),l=new RegExp(a,""),c=function(d){return d.replace(s,function(p){return o[p]})};i.exports=c,i.exports.has=function(d){return!!d.match(l)},i.exports.remove=c}},r={},function i(o){var a=r[o];if(a!==void 0)return a.exports;var s=r[o]={exports:{}};return n[o](s,s.exports,i),s.exports}(772);var n,r})})(Cq);const wq=Cq.exports;var Aq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Qc,()=>{return n={705:i=>{i.exports=function(o,a){const s=[];return a.length===0?s.push({text:o,highlight:!1}):a[0][0]>0&&s.push({text:o.slice(0,a[0][0]),highlight:!1}),a.forEach((l,c)=>{const d=l[0],p=l[1];s.push({text:o.slice(d,p),highlight:!0}),c===a.length-1?p<o.length&&s.push({text:o.slice(p,o.length),highlight:!1}):p<a[c+1][0]&&s.push({text:o.slice(p,a[c+1][0]),highlight:!1})}),s}}},r={},function i(o){var a=r[o];if(a!==void 0)return a.exports;var s=r[o]={exports:{}};return n[o](s,s.exports,i),s.exports}(705);var n,r})})(Aq);const Iq=Aq.exports;var Z6={},c$e=rr.exports;Object.defineProperty(Z6,"__esModule",{value:!0});var Rq=Z6.default=void 0,d$e=c$e(lr()),f$e=ur,p$e=(0,d$e.default)((0,f$e.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");Rq=Z6.default=p$e;const h$e=e=>{const[t,n]=T.exports.useState(e),r=T.exports.useCallback(a=>{n(s=>s.includes(a)?s.filter(l=>l!==a):[...s,a])},[n]),i=T.exports.useCallback(()=>{n(e)},[e]),o=T.exports.useCallback(a=>t.includes(a),[t]);return{toggleGroup:r,isGroupOpen:o,resetGroups:i}},m$e=(e=!1)=>T.exports.useMemo(()=>PW({ignoreAccents:!0,ignoreCase:!0,trim:!0,stringify:n=>{var r;return`${e&&((r=n.category)==null?void 0:r.name)||""}__${n.label}__${n.search}`}}),[e]),g$e=(e,t=!1,n)=>T.exports.useMemo(()=>ae.orderBy(e,["popular",t?"category.order":void 0,t?"category.name":void 0,"label",n?i=>n(i.node.id):void 0],["desc","asc","asc","asc","asc"]),[e,t,n]),v$e=({showCategories:e,popularText:t,otherDestinationsText:n})=>r=>{var i;return r.popular?t:e&&((i=r.category)==null?void 0:i.name)||n},y$e=({label:e,labelWidth:t,placeholder:n})=>r=>E(wc,{...r,labelWidth:t!=null?t:40,label:e,placeholder:n}),b$e=({getTimerText:e})=>t=>{if(!t.closed)return t.label;const n=t.node.timerStart,r=t.node.timerEnd;return n&&r?`${t.label} (${e(n,r)})`:t.label},E$e=({getTimerText:e,showKeywords:t,getDistance:n})=>(r,i,{inputValue:o,selected:a})=>{const{timerStart:s,timerEnd:l}=i.node,c=n&&n(i);return T.exports.createElement(DV,{...r,key:i.id,sx:{[`&.${rn.option}`]:{minHeight:"unset",p:0}}},te(Wi,{direction:"row",alignItems:"center",pl:14,pr:15,py:5,flexGrow:1,children:[E(Oe,{sx:{fontSize:20,height:20,width:20,display:"flex",alignItems:"center",flexShrink:0},children:i.popular&&E(Rq,{style:{color:BV[600]}})}),te(Oe,{sx:{pl:14,flexGrow:1},children:[te(Wi,{direction:"row",justifyContent:"space-between",children:[E(Oq,{text:i.label,input:o,selected:a}),!r["aria-disabled"]&&c&&E(Pq,{distance:c})]}),i.closed&&s&&l&&E(nt,{variant:"caption",children:e(s,l)}),t&&E(Nq,{keywords:i.search.split(","),input:o})]})]}))},Pq=T.exports.memo(({distance:e})=>E(nt,{variant:"body2",fontSize:14,fontWeight:500,lineHeight:"1.1428rem",children:e}));Pq.displayName="DestinationDistance";const Oq=T.exports.memo(({text:e,input:t,selected:n})=>{const r=wq(e,t,{insideWords:!0,requireMatchAll:!0}),i=Iq(e,r);return E(nt,{variant:"body2",fontSize:14,lineHeight:"1.1428rem",children:i.map((o,a)=>E(kq,{text:o.text,highlight:!n&&o.highlight&&i.length>1},a))})});Oq.displayName="Label";const kq=T.exports.memo(({text:e,highlight:t})=>E("span",{style:{backgroundColor:t?BV[200]:"transparent"},children:e}));kq.displayName="LabelPart";const Nq=T.exports.memo(({keywords:e,input:t})=>{const r=e.map(i=>[i,wq(i,t,{insideWords:!0})]).map(([i,o])=>Iq(i,o)).filter(i=>i.length>1||i[0].highlight).flat();return E(nt,{variant:"body2",fontSize:12,lineHeight:20/12,sx:{paddingInlineStart:10},children:r.map((i,o)=>E(Dq,{text:i.text,highlight:i.highlight},o))})});Nq.displayName="KeywordList";const Dq=T.exports.memo(({text:e,highlight:t})=>E("span",{style:{fontWeight:t?700:400,color:jc[500]},children:e}));Dq.displayName="Keyword";var J6={},T$e=rr.exports;Object.defineProperty(J6,"__esModule",{value:!0});var Lq=J6.default=void 0,_$e=T$e(lr()),S$e=ur,x$e=(0,_$e.default)((0,S$e.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");Lq=J6.default=x$e;var ew={},C$e=rr.exports;Object.defineProperty(ew,"__esModule",{value:!0});var Mq=ew.default=void 0,w$e=C$e(lr()),A$e=ur,I$e=(0,w$e.default)((0,A$e.jsx)("path",{d:"M19 13H5v-2h14v2z"}),"Remove");Mq=ew.default=I$e;const tw=()=>{var i,o;const{destinations:e,distanceMatrix:t}=T.exports.useContext(gt),n=(o=(i=e.startDestination)==null?void 0:i.node)==null?void 0:o.id;return T.exports.useMemo(()=>t.initialized&&n?t.lookup.bind(null,n):void 0,[n,t.initialized])},R$e=()=>{const{buildings:e}=T.exports.useContext(gt),t=tw();return T.exports.useCallback(r=>{if(!e.building||!t||!r.node.showDisplayDistance)return"";const{unitsPerPixel:i,default_unit:o}=e.building,a=o==="metrics"?"m":"ft",s=t(r.node.id);return`${Math.round(s*i)} ${a}`},[e.building,t])},$q=Pt.PhotoRoutePage,P$e=$q.FrequentlyUsed,O$e=$q.OtherDestinations,k$e=Pt.Misc.Closed,N$e=Pt.Misc.To,e4=T.exports.memo(({label:e,labelWidth:t,placeholder:n,destinations:r,value:i,showDistances:o,hideCategories:a,...s})=>{var B,Pe,pe;const l=tw(),c=R$e(),d=$t(P$e),p=$t(O$e),h=$t(k$e),m=$t(N$e),v=el(me=>me.breakpoints.down("sm")),y=Dn(),x=(B=y.categories)==null?void 0:B.enabled,b=x&&((Pe=y.categories)==null?void 0:Pe.collapsible),S=x&&((pe=y.categories)==null?void 0:pe.fullScreen)&&v,[C,O]=T.exports.useState(""),[A,R]=T.exports.useReducer(me=>!me,!1),N=g$e(r,x,o?l:void 0),F=m$e(x),L=T.exports.useCallback((me,se)=>`${h}: ${JL(me)} ${m} ${JL(se)}`,[h,m]),{toggleGroup:H,isGroupOpen:j,resetGroups:Y}=h$e([d]),K=T.exports.useMemo(()=>v$e({showCategories:x,popularText:d,otherDestinationsText:p}),[x,d,p]),Z=T.exports.useMemo(()=>y$e({label:e,labelWidth:t!=null?t:40,placeholder:n}),[e,t,n]),ne=T.exports.useMemo(()=>b$e({getTimerText:L}),[L]),oe=T.exports.useMemo(()=>E$e({getTimerText:L,showKeywords:!0,getDistance:o?c:void 0}),[S,o,c,L]),z=me=>(C==null?void 0:C.length)>0&&C!==(i==null?void 0:i.label)||j(me);T.exports.useEffect(()=>{S&&!A&&Y()},[A]);const Q=T.exports.useCallback((me,se,Ce,ke)=>{var Ee;S&&R(),(Ee=s.onChange)==null||Ee.call(s,me,se,Ce,ke)},[S]),J=T.exports.useMemo(()=>({paddingBlock:0,maxHeight:S?"100%":"40vh",height:S?"100%":"unset",overflowY:S?"auto":"unset"}),[S]),M=E(fg,{fullWidth:!0,selectOnFocus:!0,autoHighlight:!0,disableClearable:!0,blurOnSelect:!0,handleHomeEndKeys:!0,clearIcon:!1,autoSelect:!1,componentsProps:{popper:{keepMounted:!0}},...s,inputValue:C,options:N,open:S?A:void 0,onInputChange:(me,se)=>O(se),filterOptions:F,onBlur:Y,value:i!=null?i:null,onChange:Q,ListboxProps:{style:J},PopperComponent:S?M$e:void 0,PaperComponent:S?$$e:void 0,isOptionEqualToValue:(me,se)=>me.id===se.id,renderInput:Z,groupBy:a?void 0:K,getOptionLabel:ne,renderOption:oe,renderGroup:me=>te("li",{children:[te(PV,{component:"div",sx:{lineHeight:"40px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",px:S?0:void 0},onClick:()=>H(me.group),children:[me.group,b&&E(Zs,{sx:{ml:1,fontSize:16},children:z(me.group)?E(Mq,{fontSize:"inherit"}):E(Lq,{fontSize:"inherit"})})]}),E(BRe,{in:!b||z(me.group),children:E("ul",{children:me.children})})]},me.key)});return S?te("div",{children:[E(wc,{label:e,labelWidth:t!=null?t:40,placeholder:n,onClick:()=>R(),value:C,disabled:s.disabled}),E(D$e,{open:A,toggleOpen:R,label:n,children:M})]}):M});e4.displayName="DestinationDropdown";const D$e=({children:e,open:t,toggleOpen:n,label:r})=>te(pg,{open:t,onClose:()=>n(),keepMounted:!0,fullScreen:!0,sx:{zIndex:i=>i.zIndex.modal+100},PaperProps:{sx:{p:15,display:"flex"}},children:[te(WV,{fontSize:14,sx:{p:0,mb:10,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[r,E(lc,{"aria-label":"close",onClick:()=>n(),sx:{marginInlineEnd:-9,fontSize:20},children:E(dg,{fontSize:"inherit"})})]}),e]}),L$e=ye("div",{shouldForwardProp:()=>!0})({}),M$e=e=>{const{open:t,disablePortal:n,anchorEl:r,...i}=e;return E(L$e,{...i})},$$e=ye("div",{shouldForwardProp:()=>!0})(()=>({flex:1,marginTop:10,position:"relative",overflow:"hidden"})),nw=Pt.PhotoRoutePage.Controls,F$e=nw.FromLabel,B$e=nw.FromPlaceholder,H$e=nw.StartDestinationChangeWarning,U$e=xt(()=>{const{destinations:e,queryParams:t,pathfinder:n,analytics:r,buildings:i}=T.exports.useContext(gt),o=Dn(),a=el(o.breakpoints.up("sm")),s=T.exports.useRef(null),[l,c]=T.exports.useState(),d=$t(F$e),p=$t(B$e),h=$t(H$e),m=e.startDestination,v=T.exports.useCallback(x=>{r.log(Mn.ChangeStartLocation,{previousValue:m==null?void 0:m.id,value:x.id}),c(void 0),e.setStartDestination(x.nodeId,x.destinationId)},[m]),y=T.exports.useCallback(()=>{c(x=>{x&&v(x)})},[]);return te("div",{children:[E(Q6,{ref:s,onClose:()=>c(void 0),onConfirm:y,text:h}),E(e4,{label:d,placeholder:p,destinations:e.destinations,value:m,disabled:t.params.fixStart||n.loading,onChange:(x,b)=>{var _;b.id!==(m==null?void 0:m.id)&&(n.path&&!a?(c(b),(_=s.current)==null||_.show()):v(b))},getOptionDisabled:x=>{var b;return x.closed||x.id===((b=e.endDestination)==null?void 0:b.id)}})]})}),rw=Pt.PhotoRoutePage.Controls,z$e=rw.ToLabel,G$e=rw.ToPlaceholder,W$e=rw.EndDestinationChangeWarning,j$e=Pt.PhotoRoutePage.Messages.StartPointSelected,V$e=Pt.PhotoRoutePage.Messages.SelectDestination,Fq=xt(T.exports.forwardRef((e,t)=>{const{destinations:n,queryParams:r}=T.exports.useContext(gt),[i,o]=T.exports.useState(!1),[a,s]=T.exports.useState(!1),l=$t(j$e),c=$t(V$e);T.exports.useImperativeHandle(t,()=>({show(){o(!0)},hide(){o(!1),i&&s(!0)}}),[i]),T.exports.useEffect(()=>{n.startDestination&&!n.endDestination?o(!0):(o(!1),i&&s(!0))},[n.startDestination,n.endDestination,i]);const d=T.exports.useCallback(()=>{s(!0),o(!1)},[]);return a||!r.initialParams.nodeFrom||!i?null:E(f0,{in:!0,children:te(Oe,{sx:p=>({position:"absolute",top:"calc(100% + 13px)",left:0,width:"100%",px:14,pt:18,pb:18,borderRadius:1,opacity:1,backgroundColor:p.palette.primary.main,display:"flex",alignItems:"center",color:"primary.contrastText",zIndex:10,transition:p.transitions.create(["opacity"],{duration:p.transitions.duration.standard}),"&::before":{content:'""',display:"block",width:0,height:0,position:"absolute",borderWidth:8,borderStyle:"solid",borderColor:"transparent",borderBottomColor:p.palette.primary.main,top:-14,left:14}}),children:[te(nt,{variant:"body1",fontSize:14,lineHeight:1.1428,flexGrow:1,children:[l,E("br",{}),c]}),E(lc,{sx:{p:0,ml:20,color:"inherit",fontSize:14},onClick:d,children:E(dg,{fontSize:"inherit",preserveAspectRatio:"none"})})]})})}));Fq.displayName="DestinationHint";const K$e=xt(({labelWidth:e})=>{var N;const{destinations:t,pathfinder:n,analytics:r}=T.exports.useContext(gt),i=tw(),o=Dn(),a=el(o.breakpoints.up("sm")),s=T.exports.useRef(null),l=T.exports.useRef(null),c=T.exports.useRef(null),[d,p]=T.exports.useState(),h=$t(z$e),m=$t(G$e),v=$t(W$e),y=t.endDestination,x=T.exports.useCallback(F=>{r.log(Mn.ChangeDestinationLocation,{previousValue:y==null?void 0:y.id,value:F.id}),p(void 0),t.setEndDestination(F.nodeId,F.destinationId)},[]),b=T.exports.useCallback(()=>{p(F=>{F&&x(F)})},[]),_=(N=o.categories)!=null?N:{},S=_.enabled&&_.hideThresholdEnabled,C=_.hideThreshold,O=T.exports.useMemo(()=>t.destinations.map(F=>{var L,H,j,Y;return{...F,popular:F.popular||((H=(L=t.startDestination)==null?void 0:L.followUps)==null?void 0:H.includes(F.id))||!1,disabled:F.closed||F.id===((j=t.startDestination)==null?void 0:j.id)||((Y=F.node)==null?void 0:Y.id)&&i&&!i(F.node.id)||!1}}),[t.destinations,t.startDestination,i]),A=T.exports.useMemo(()=>{if(!S)return O;const F=O.length;return O.filter(j=>!j.disabled).length/F*100>C?O:O.filter(j=>!j.disabled)},[O,S,C]),R=S&&A.length<O.length;return te("div",{ref:s,style:{position:"relative",zIndex:10},children:[E(Fq,{ref:l}),E(Q6,{ref:c,onClose:()=>p(void 0),onConfirm:b,text:v}),E(e4,{label:h,showDistances:!0,placeholder:m,labelWidth:e,destinations:A,disabled:n.loading,value:t.endDestination,hideCategories:R,onChange:(F,L)=>{var H,j;L.id!==((H=t.endDestination)==null?void 0:H.id)&&(n.path&&!a?(p(L),(j=c.current)==null||j.show()):x(L))},onFocus:()=>{var F;return(F=l.current)==null?void 0:F.hide()},getOptionDisabled:F=>F.disabled})]})});var iw={},q$e=rr.exports;Object.defineProperty(iw,"__esModule",{value:!0});var Bq=iw.default=void 0,Y$e=q$e(lr()),X$e=ur,Q$e=(0,Y$e.default)((0,X$e.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");Bq=iw.default=Q$e;function Z$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eM(Object(n),!0).forEach(function(r){Z$e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function no(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var nM=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),h_=function(){return Math.random().toString(36).substring(7).split("").join(".")},rM={INIT:"@@redux/INIT"+h_(),REPLACE:"@@redux/REPLACE"+h_(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h_()}};function J$e(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Hq(e,t,n){var r;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(no(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(no(1));return n(Hq)(e,t)}if(typeof e!="function")throw new Error(no(2));var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(no(3));return o}function p(y){if(typeof y!="function")throw new Error(no(4));if(l)throw new Error(no(5));var x=!0;return c(),s.push(y),function(){if(!!x){if(l)throw new Error(no(6));x=!1,c();var _=s.indexOf(y);s.splice(_,1),a=null}}}function h(y){if(!J$e(y))throw new Error(no(7));if(typeof y.type>"u")throw new Error(no(8));if(l)throw new Error(no(9));try{l=!0,o=i(o,y)}finally{l=!1}for(var x=a=s,b=0;b<x.length;b++){var _=x[b];_()}return y}function m(y){if(typeof y!="function")throw new Error(no(10));i=y,h({type:rM.REPLACE})}function v(){var y,x=p;return y={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(no(11));function S(){_.next&&_.next(d())}S();var C=x(S);return{unsubscribe:C}}},y[nM]=function(){return this},y}return h({type:rM.INIT}),r={dispatch:h,subscribe:p,getState:d,replaceReducer:m},r[nM]=v,r}function iM(e,t){return function(){return t(e.apply(this,arguments))}}function oM(e,t){if(typeof e=="function")return iM(e,t);if(typeof e!="object"||e===null)throw new Error(no(16));var n={};for(var r in e){var i=e[r];typeof i=="function"&&(n[r]=iM(i,t))}return n}function Uq(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function eFe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(){var i=r.apply(void 0,arguments),o=function(){throw new Error(no(15))},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return o=Uq.apply(void 0,s)(i.dispatch),tM(tM({},i),{},{dispatch:o})}}}var zq=jn.createContext(null);function tFe(e){e()}var Gq=tFe,nFe=function(t){return Gq=t},rFe=function(){return Gq};function iFe(){var e=rFe(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var i=t;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=t;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,a=n={callback:i,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){!o||t===null||(o=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}var aM={notify:function(){},get:function(){return[]}};function Wq(e,t){var n,r=aM;function i(p){return l(),r.subscribe(p)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=iFe())}function c(){n&&(n(),n=void 0,r.clear(),r=aM)}var d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:function(){return r}};return d}var jq=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?T.exports.useLayoutEffect:T.exports.useEffect;function oFe(e){var t=e.store,n=e.context,r=e.children,i=T.exports.useMemo(function(){var s=Wq(t);return{store:t,subscription:s}},[t]),o=T.exports.useMemo(function(){return t.getState()},[t]);jq(function(){var s=i.subscription;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==t.getState()&&s.notifyNestedSubs(),function(){s.tryUnsubscribe(),s.onStateChange=null}},[i,o]);var a=n||zq;return E(a.Provider,{value:i,children:r})}var Vq={exports:{}},Bn={};/** @license React v17.0.2
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var t4=60103,n4=60106,gg=60107,vg=60108,yg=60114,bg=60109,Eg=60110,Tg=60112,_g=60113,ow=60120,Sg=60115,xg=60116,Kq=60121,qq=60122,Yq=60117,Xq=60129,Qq=60131;if(typeof Symbol=="function"&&Symbol.for){var oi=Symbol.for;t4=oi("react.element"),n4=oi("react.portal"),gg=oi("react.fragment"),vg=oi("react.strict_mode"),yg=oi("react.profiler"),bg=oi("react.provider"),Eg=oi("react.context"),Tg=oi("react.forward_ref"),_g=oi("react.suspense"),ow=oi("react.suspense_list"),Sg=oi("react.memo"),xg=oi("react.lazy"),Kq=oi("react.block"),qq=oi("react.server.block"),Yq=oi("react.fundamental"),Xq=oi("react.debug_trace_mode"),Qq=oi("react.legacy_hidden")}function ms(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case t4:switch(e=e.type,e){case gg:case yg:case vg:case _g:case ow:return e;default:switch(e=e&&e.$$typeof,e){case Eg:case Tg:case xg:case Sg:case bg:return e;default:return t}}case n4:return t}}}var aFe=bg,sFe=t4,lFe=Tg,uFe=gg,cFe=xg,dFe=Sg,fFe=n4,pFe=yg,hFe=vg,mFe=_g;Bn.ContextConsumer=Eg;Bn.ContextProvider=aFe;Bn.Element=sFe;Bn.ForwardRef=lFe;Bn.Fragment=uFe;Bn.Lazy=cFe;Bn.Memo=dFe;Bn.Portal=fFe;Bn.Profiler=pFe;Bn.StrictMode=hFe;Bn.Suspense=mFe;Bn.isAsyncMode=function(){return!1};Bn.isConcurrentMode=function(){return!1};Bn.isContextConsumer=function(e){return ms(e)===Eg};Bn.isContextProvider=function(e){return ms(e)===bg};Bn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===t4};Bn.isForwardRef=function(e){return ms(e)===Tg};Bn.isFragment=function(e){return ms(e)===gg};Bn.isLazy=function(e){return ms(e)===xg};Bn.isMemo=function(e){return ms(e)===Sg};Bn.isPortal=function(e){return ms(e)===n4};Bn.isProfiler=function(e){return ms(e)===yg};Bn.isStrictMode=function(e){return ms(e)===vg};Bn.isSuspense=function(e){return ms(e)===_g};Bn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gg||e===yg||e===Xq||e===vg||e===_g||e===ow||e===Qq||typeof e=="object"&&e!==null&&(e.$$typeof===xg||e.$$typeof===Sg||e.$$typeof===bg||e.$$typeof===Eg||e.$$typeof===Tg||e.$$typeof===Yq||e.$$typeof===Kq||e[0]===qq)};Bn.typeOf=ms;(function(e){e.exports=Bn})(Vq);var gFe=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],vFe=["reactReduxForwardedRef"],yFe=[],bFe=[null,null];function EFe(e,t){var n=e[1];return[t.payload,n+1]}function sM(e,t,n){jq(function(){return e.apply(void 0,t)},n)}function TFe(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function _Fe(e,t,n,r,i,o,a,s,l,c){if(!!e){var d=!1,p=null,h=function(){if(!d){var y=t.getState(),x,b;try{x=r(y,i.current)}catch(_){b=_,p=_}b||(p=null),x===o.current?a.current||l():(o.current=x,s.current=x,a.current=!0,c({type:"STORE_UPDATED",payload:{error:b}}))}};n.onStateChange=h,n.trySubscribe(),h();var m=function(){if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p};return m}}var SFe=function(){return[null,0]};function xFe(e,t){t===void 0&&(t={});var n=t,r=n.getDisplayName,i=r===void 0?function(S){return"ConnectAdvanced("+S+")"}:r,o=n.methodName,a=o===void 0?"connectAdvanced":o,s=n.renderCountProp,l=s===void 0?void 0:s,c=n.shouldHandleStateChanges,d=c===void 0?!0:c,p=n.storeKey,h=p===void 0?"store":p;n.withRef;var m=n.forwardRef,v=m===void 0?!1:m,y=n.context,x=y===void 0?zq:y,b=$e(n,gFe),_=x;return function(C){var O=C.displayName||C.name||"Component",A=i(O),R=P({},b,{getDisplayName:i,methodName:a,renderCountProp:l,shouldHandleStateChanges:d,storeKey:h,displayName:A,wrappedComponentName:O,WrappedComponent:C}),N=b.pure;function F(K){return e(K.dispatch,R)}var L=N?T.exports.useMemo:function(K){return K()};function H(K){var Z=T.exports.useMemo(function(){var ce=K.reactReduxForwardedRef,he=$e(K,vFe);return[K.context,ce,he]},[K]),ne=Z[0],oe=Z[1],z=Z[2],Q=T.exports.useMemo(function(){return ne&&ne.Consumer&&Vq.exports.isContextConsumer(jn.createElement(ne.Consumer,null))?ne:_},[ne,_]),J=T.exports.useContext(Q),M=Boolean(K.store)&&Boolean(K.store.getState)&&Boolean(K.store.dispatch);Boolean(J)&&Boolean(J.store);var B=M?K.store:J.store,Pe=T.exports.useMemo(function(){return F(B)},[B]),pe=T.exports.useMemo(function(){if(!d)return bFe;var ce=Wq(B,M?null:J.subscription),he=ce.notifyNestedSubs.bind(ce);return[ce,he]},[B,M,J]),me=pe[0],se=pe[1],Ce=T.exports.useMemo(function(){return M?J:P({},J,{subscription:me})},[M,J,me]),ke=T.exports.useReducer(EFe,yFe,SFe),Ee=ke[0],Qe=Ee[0],Re=ke[1];if(Qe&&Qe.error)throw Qe.error;var tt=T.exports.useRef(),ut=T.exports.useRef(z),rt=T.exports.useRef(),Fe=T.exports.useRef(!1),Bt=L(function(){return rt.current&&z===ut.current?rt.current:Pe(B.getState(),z)},[B,Qe,z]);sM(TFe,[ut,tt,Fe,z,Bt,rt,se]),sM(_Fe,[d,B,me,Pe,ut,tt,Fe,rt,se,Re],[B,me,Pe]);var je=T.exports.useMemo(function(){return E(C,{...Bt,ref:oe})},[oe,C,Bt]),ie=T.exports.useMemo(function(){return d?E(Q.Provider,{value:Ce,children:je}):je},[Q,je,Ce]);return ie}var j=N?jn.memo(H):H;if(j.WrappedComponent=C,j.displayName=H.displayName=A,v){var Y=jn.forwardRef(function(Z,ne){return E(j,{...Z,reactReduxForwardedRef:ne})});return Y.displayName=A,Y.WrappedComponent=C,rR(Y,C)}return rR(j,C)}}function lM(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function m_(e,t){if(lM(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!lM(e[n[i]],t[n[i]]))return!1;return!0}function CFe(e,t){var n={},r=function(a){var s=e[a];typeof s=="function"&&(n[a]=function(){return t(s.apply(void 0,arguments))})};for(var i in e)r(i);return n}function aw(e){return function(n,r){var i=e(n,r);function o(){return i}return o.dependsOnOwnProps=!1,o}}function uM(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function Zq(e,t){return function(r,i){i.displayName;var o=function(s,l){return o.dependsOnOwnProps?o.mapToProps(s,l):o.mapToProps(s)};return o.dependsOnOwnProps=!0,o.mapToProps=function(s,l){o.mapToProps=e,o.dependsOnOwnProps=uM(e);var c=o(s,l);return typeof c=="function"&&(o.mapToProps=c,o.dependsOnOwnProps=uM(c),c=o(s,l)),c},o}}function wFe(e){return typeof e=="function"?Zq(e):void 0}function AFe(e){return e?void 0:aw(function(t){return{dispatch:t}})}function IFe(e){return e&&typeof e=="object"?aw(function(t){return CFe(e,t)}):void 0}const RFe=[wFe,AFe,IFe];function PFe(e){return typeof e=="function"?Zq(e):void 0}function OFe(e){return e?void 0:aw(function(){return{}})}const kFe=[PFe,OFe];function NFe(e,t,n){return P({},n,e,t)}function DFe(e){return function(n,r){r.displayName;var i=r.pure,o=r.areMergedPropsEqual,a=!1,s;return function(c,d,p){var h=e(c,d,p);return a?(!i||!o(h,s))&&(s=h):(a=!0,s=h),s}}}function LFe(e){return typeof e=="function"?DFe(e):void 0}function MFe(e){return e?void 0:function(){return NFe}}const $Fe=[LFe,MFe];var FFe=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function BFe(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function HFe(e,t,n,r,i){var o=i.areStatesEqual,a=i.areOwnPropsEqual,s=i.areStatePropsEqual,l=!1,c,d,p,h,m;function v(S,C){return c=S,d=C,p=e(c,d),h=t(r,d),m=n(p,h,d),l=!0,m}function y(){return p=e(c,d),t.dependsOnOwnProps&&(h=t(r,d)),m=n(p,h,d),m}function x(){return e.dependsOnOwnProps&&(p=e(c,d)),t.dependsOnOwnProps&&(h=t(r,d)),m=n(p,h,d),m}function b(){var S=e(c,d),C=!s(S,p);return p=S,C&&(m=n(p,h,d)),m}function _(S,C){var O=!a(C,d),A=!o(S,c,C,d);return c=S,d=C,O&&A?y():O?x():A?b():m}return function(C,O){return l?_(C,O):v(C,O)}}function UFe(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=$e(t,FFe),a=n(e,o),s=r(e,o),l=i(e,o),c=o.pure?HFe:BFe;return c(a,s,l,e,o)}var zFe=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function g_(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(o,a){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+a.wrappedComponentName+".")}}function GFe(e,t){return e===t}function WFe(e){var t=e===void 0?{}:e,n=t.connectHOC,r=n===void 0?xFe:n,i=t.mapStateToPropsFactories,o=i===void 0?kFe:i,a=t.mapDispatchToPropsFactories,s=a===void 0?RFe:a,l=t.mergePropsFactories,c=l===void 0?$Fe:l,d=t.selectorFactory,p=d===void 0?UFe:d;return function(m,v,y,x){x===void 0&&(x={});var b=x,_=b.pure,S=_===void 0?!0:_,C=b.areStatesEqual,O=C===void 0?GFe:C,A=b.areOwnPropsEqual,R=A===void 0?m_:A,N=b.areStatePropsEqual,F=N===void 0?m_:N,L=b.areMergedPropsEqual,H=L===void 0?m_:L,j=$e(b,zFe),Y=g_(m,o,"mapStateToProps"),K=g_(v,s,"mapDispatchToProps"),Z=g_(y,c,"mergeProps");return r(p,P({methodName:"connect",getDisplayName:function(oe){return"Connect("+oe+")"},shouldHandleStateChanges:Boolean(m),initMapStateToProps:Y,initMapDispatchToProps:K,initMergeProps:Z,pure:S,areStatesEqual:O,areOwnPropsEqual:R,areStatePropsEqual:F,areMergedPropsEqual:H},j))}}const Jq=WFe();nFe(q1.exports.unstable_batchedUpdates);function jFe(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function eY(e,t){var n=T.exports.useState(function(){return{inputs:t,result:e()}})[0],r=T.exports.useRef(!0),i=T.exports.useRef(n),o=r.current||Boolean(t&&i.current.inputs&&jFe(t,i.current.inputs)),a=o?i.current:{inputs:t,result:e()};return T.exports.useEffect(function(){r.current=!1,i.current=a},[a]),a.result}function VFe(e,t){return eY(function(){return e},t)}var pn=eY,yt=VFe,KFe=!0,v_="Invariant failed";function qFe(e,t){if(!e){if(KFe)throw new Error(v_);var n=typeof t=="function"?t():t,r=n?"".concat(v_,": ").concat(n):v_;throw new Error(r)}}var Ja=function(t){var n=t.top,r=t.right,i=t.bottom,o=t.left,a=r-o,s=i-n,l={top:n,right:r,bottom:i,left:o,width:a,height:s,x:o,y:n,center:{x:(r+o)/2,y:(i+n)/2}};return l},sw=function(t,n){return{top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}},cM=function(t,n){return{top:t.top+n.top,left:t.left+n.left,bottom:t.bottom-n.bottom,right:t.right-n.right}},YFe=function(t,n){return{top:t.top+n.y,left:t.left+n.x,bottom:t.bottom+n.y,right:t.right+n.x}},y_={top:0,right:0,bottom:0,left:0},lw=function(t){var n=t.borderBox,r=t.margin,i=r===void 0?y_:r,o=t.border,a=o===void 0?y_:o,s=t.padding,l=s===void 0?y_:s,c=Ja(sw(n,i)),d=Ja(cM(n,a)),p=Ja(cM(d,l));return{marginBox:c,borderBox:Ja(n),paddingBox:d,contentBox:p,margin:i,border:a,padding:l}},ia=function(t){var n=t.slice(0,-2),r=t.slice(-2);if(r!=="px")return 0;var i=Number(n);return isNaN(i)&&qFe(!1),i},XFe=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Ny=function(t,n){var r=t.borderBox,i=t.border,o=t.margin,a=t.padding,s=YFe(r,n);return lw({borderBox:s,border:i,margin:o,padding:a})},Dy=function(t,n){return n===void 0&&(n=XFe()),Ny(t,n)},tY=function(t,n){var r={top:ia(n.marginTop),right:ia(n.marginRight),bottom:ia(n.marginBottom),left:ia(n.marginLeft)},i={top:ia(n.paddingTop),right:ia(n.paddingRight),bottom:ia(n.paddingBottom),left:ia(n.paddingLeft)},o={top:ia(n.borderTopWidth),right:ia(n.borderRightWidth),bottom:ia(n.borderBottomWidth),left:ia(n.borderLeftWidth)};return lw({borderBox:t,margin:r,padding:i,border:o})},nY=function(t){var n=t.getBoundingClientRect(),r=window.getComputedStyle(t);return tY(n,r)},dM=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function QFe(e,t){return!!(e===t||dM(e)&&dM(t))}function ZFe(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!QFe(e[n],t[n]))return!1;return!0}function ei(e,t){t===void 0&&(t=ZFe);var n,r=[],i,o=!1;function a(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return o&&n===this&&t(s,r)||(i=e.apply(this,s),o=!0,n=this,r=s),i}return a}var JFe=function(t){var n=[],r=null,i=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];n=s,!r&&(r=requestAnimationFrame(function(){r=null,t.apply(void 0,n)}))};return i.cancel=function(){!r||(cancelAnimationFrame(r),r=null)},i};const y0=JFe;function rY(e,t){}rY.bind(null,"warn");rY.bind(null,"error");function Zu(){}function eBe(e,t){return P({},e,{},t)}function ya(e,t,n){var r=t.map(function(i){var o=eBe(n,i.options);return e.addEventListener(i.eventName,i.fn,o),function(){e.removeEventListener(i.eventName,i.fn,o)}});return function(){r.forEach(function(o){o()})}}var tBe="Invariant failed";function Ly(e){this.message=e}Ly.prototype.toString=function(){return this.message};function We(e,t){if(!e)throw new Ly(tBe)}var nBe=function(e){hb(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o))||this,r.callbacks=null,r.unbind=Zu,r.onWindowError=function(s){var l=r.getCallbacks();l.isDragging()&&l.tryAbort();var c=s.error;c instanceof Ly&&s.preventDefault()},r.getCallbacks=function(){if(!r.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return r.callbacks},r.setCallbacks=function(s){r.callbacks=s},r}var n=t.prototype;return n.componentDidMount=function(){this.unbind=ya(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(i){if(i instanceof Ly){this.setState({});return}throw i},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(jn.Component),rBe=`
  Press space bar to start a drag.
  When dragging you can use the arrow keys to move the item around and escape to cancel.
  Some screen readers may require you to be in focus mode or to use your pass through key
`,My=function(t){return t+1},iBe=function(t){return`
  You have lifted an item in position `+My(t.source.index)+`
`},iY=function(t,n){var r=t.droppableId===n.droppableId,i=My(t.index),o=My(n.index);return r?`
      You have moved the item from position `+i+`
      to position `+o+`
    `:`
    You have moved the item from position `+i+`
    in list `+t.droppableId+`
    to list `+n.droppableId+`
    in position `+o+`
  `},oY=function(t,n,r){var i=n.droppableId===r.droppableId;return i?`
      The item `+t+`
      has been combined with `+r.draggableId:`
      The item `+t+`
      in list `+n.droppableId+`
      has been combined with `+r.draggableId+`
      in list `+r.droppableId+`
    `},oBe=function(t){var n=t.destination;if(n)return iY(t.source,n);var r=t.combine;return r?oY(t.draggableId,t.source,r):"You are over an area that cannot be dropped on"},fM=function(t){return`
  The item has returned to its starting position
  of `+My(t.index)+`
`},aBe=function(t){if(t.reason==="CANCEL")return`
      Movement cancelled.
      `+fM(t.source)+`
    `;var n=t.destination,r=t.combine;return n?`
      You have dropped the item.
      `+iY(t.source,n)+`
    `:r?`
      You have dropped the item.
      `+oY(t.draggableId,t.source,r)+`
    `:`
    The item has been dropped while not over a drop area.
    `+fM(t.source)+`
  `},E9={dragHandleUsageInstructions:rBe,onDragStart:iBe,onDragUpdate:oBe,onDragEnd:aBe},ti={x:0,y:0},hi=function(t,n){return{x:t.x+n.x,y:t.y+n.y}},$o=function(t,n){return{x:t.x-n.x,y:t.y-n.y}},Ju=function(t,n){return t.x===n.x&&t.y===n.y},Np=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},H1=function(t,n,r){var i;return r===void 0&&(r=0),i={},i[t]=n,i[t==="x"?"y":"x"]=r,i},b0=function(t,n){return Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2))},pM=function(t,n){return Math.min.apply(Math,n.map(function(r){return b0(t,r)}))},aY=function(t){return function(n){return{x:t(n.x),y:t(n.y)}}},sBe=function(e,t){var n=Ja({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n},Cg=function(t,n){return{top:t.top+n.y,left:t.left+n.x,bottom:t.bottom+n.y,right:t.right+n.x}},hM=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},lBe={top:0,right:0,bottom:0,left:0},uBe=function(t,n){return n?Cg(t,n.scroll.diff.displacement):t},cBe=function(t,n,r){if(r&&r.increasedBy){var i;return P({},t,(i={},i[n.end]=t[n.end]+r.increasedBy[n.line],i))}return t},dBe=function(t,n){return n&&n.shouldClipSubject?sBe(n.pageMarginBox,t):Ja(t)},rp=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=uBe(t.marginBox,i),a=cBe(o,r,n),s=dBe(a,i);return{page:t,withPlaceholder:n,active:s}},uw=function(e,t){e.frame||We(!1);var n=e.frame,r=$o(t,n.scroll.initial),i=Np(r),o=P({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}}),a=rp({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),s=P({},e,{frame:o,subject:a});return s};function $y(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function cw(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Ac(e,t){if(e.find)return e.find(t);var n=cw(e,t);if(n!==-1)return e[n]}function sY(e){return Array.prototype.slice.call(e)}var lY=ei(function(e){return e.reduce(function(t,n){return t[n.descriptor.id]=n,t},{})}),uY=ei(function(e){return e.reduce(function(t,n){return t[n.descriptor.id]=n,t},{})}),r4=ei(function(e){return $y(e)}),fBe=ei(function(e){return $y(e)}),Dp=ei(function(e,t){var n=fBe(t).filter(function(r){return e===r.descriptor.droppableId}).sort(function(r,i){return r.descriptor.index-i.descriptor.index});return n});function dw(e){return e.at&&e.at.type==="REORDER"?e.at.destination:null}function i4(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}var o4=ei(function(e,t){return t.filter(function(n){return n.descriptor.id!==e.descriptor.id})}),pBe=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;var a=dw(o);if(!a)return null;function s(y){var x={type:"COMBINE",combine:{draggableId:y,droppableId:r.descriptor.id}};return P({},o,{at:x})}var l=o.displaced.all,c=l.length?l[0]:null;if(t)return c?s(c):null;var d=o4(n,i);if(!c){if(!d.length)return null;var p=d[d.length-1];return s(p.descriptor.id)}var h=cw(d,function(y){return y.descriptor.id===c});h===-1&&We(!1);var m=h-1;if(m<0)return null;var v=d[m];return s(v.descriptor.id)},Lp=function(e,t){return e.descriptor.droppableId===t.descriptor.id},cY={point:ti,value:0},E0={invisible:{},visible:{},all:[]},hBe={displaced:E0,displacedBy:cY,at:null},xa=function(e,t){return function(n){return e<=n&&n<=t}},dY=function(e){var t=xa(e.top,e.bottom),n=xa(e.left,e.right);return function(r){var i=t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right);if(i)return!0;var o=t(r.top)||t(r.bottom),a=n(r.left)||n(r.right),s=o&&a;if(s)return!0;var l=r.top<e.top&&r.bottom>e.bottom,c=r.left<e.left&&r.right>e.right,d=l&&c;if(d)return!0;var p=l&&a||c&&o;return p}},mBe=function(e){var t=xa(e.top,e.bottom),n=xa(e.left,e.right);return function(r){var i=t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right);return i}},fw={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},fY={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},gBe=function(e){return function(t){var n=xa(t.top,t.bottom),r=xa(t.left,t.right);return function(i){return e===fw?n(i.top)&&n(i.bottom):r(i.left)&&r(i.right)}}},vBe=function(t,n){var r=n.frame?n.frame.scroll.diff.displacement:ti;return Cg(t,r)},yBe=function(t,n,r){return n.subject.active?r(n.subject.active)(t):!1},bBe=function(t,n,r){return r(n)(t)},pw=function(t){var n=t.target,r=t.destination,i=t.viewport,o=t.withDroppableDisplacement,a=t.isVisibleThroughFrameFn,s=o?vBe(n,r):n;return yBe(s,r,a)&&bBe(s,i,a)},EBe=function(t){return pw(P({},t,{isVisibleThroughFrameFn:dY}))},pY=function(t){return pw(P({},t,{isVisibleThroughFrameFn:mBe}))},TBe=function(t){return pw(P({},t,{isVisibleThroughFrameFn:gBe(t.destination.axis)}))},_Be=function(t,n,r){if(typeof r=="boolean")return r;if(!n)return!0;var i=n.invisible,o=n.visible;if(i[t])return!1;var a=o[t];return a?a.shouldAnimate:!0};function SBe(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return Ja(sw(n,r))}function T0(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce(function(l,c){var d=SBe(c,r),p=c.descriptor.id;l.all.push(p);var h=EBe({target:d,destination:n,viewport:i,withDroppableDisplacement:!0});if(!h)return l.invisible[c.descriptor.id]=!0,l;var m=_Be(p,a,o),v={draggableId:p,shouldAnimate:m};return l.visible[p]=v,l},{all:[],visible:{},invisible:{}})}function xBe(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}function mM(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,o=xBe(t,{inHomeList:n});return{displaced:E0,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Fy(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,c=Lp(t,r);if(s==null)return mM({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var d=Ac(n,function(y){return y.descriptor.index===s});if(!d)return mM({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var p=o4(t,n),h=n.indexOf(d),m=p.slice(h),v=T0({afterDragging:m,destination:r,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l});return{displaced:v,displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function cc(e,t){return Boolean(t.effected[e])}var CBe=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,i=e.combine,o=e.afterCritical;if(!n.isCombineEnabled)return null;var a=i.draggableId,s=r[a],l=s.descriptor.index,c=cc(a,o);return c?t?l:l-1:t?l+1:l},wBe=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var o=i.index,a=t?o+1:o-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index,c=n?l:l+1;return a<s||a>c?null:a},ABe=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,d=s.at;if(d||We(!1),d.type==="REORDER"){var p=wBe({isMovingForward:t,isInHomeList:n,location:d.destination,insideDestination:a});return p==null?null:Fy({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:p})}var h=CBe({isMovingForward:t,destination:o,displaced:s.displaced,draggables:i,combine:d.combine,afterCritical:c});return h==null?null:Fy({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})},IBe=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return cc(r,n)?o?ti:Np(i.point):o?i.point:ti},RBe=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=i4(n);i||We(!1);var o=i.draggableId,a=r[o].page.borderBox.center,s=IBe({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return hi(a,s)},hY=function(t,n){return n.margin[t.start]+n.borderBox[t.size]/2},PBe=function(t,n){return n.margin[t.end]+n.borderBox[t.size]/2},hw=function(t,n,r){return n[t.crossAxisStart]+r.margin[t.crossAxisStart]+r.borderBox[t.crossAxisSize]/2},gM=function(t){var n=t.axis,r=t.moveRelativeTo,i=t.isMoving;return H1(n.line,r.marginBox[n.end]+hY(n,i),hw(n,r.marginBox,i))},vM=function(t){var n=t.axis,r=t.moveRelativeTo,i=t.isMoving;return H1(n.line,r.marginBox[n.start]-PBe(n,i),hw(n,r.marginBox,i))},OBe=function(t){var n=t.axis,r=t.moveInto,i=t.isMoving;return H1(n.line,r.contentBox[n.start]+hY(n,i),hw(n,r.contentBox,i))},kBe=function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,o=e.afterCritical,a=Dp(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return OBe({axis:l,moveInto:i.page,isMoving:s});var c=t.displaced,d=t.displacedBy,p=c.all[0];if(p){var h=r[p];if(cc(p,o))return vM({axis:l,moveRelativeTo:h.page,isMoving:s});var m=Ny(h.page,d.point);return vM({axis:l,moveRelativeTo:m,isMoving:s})}var v=a[a.length-1];if(v.descriptor.id===n.descriptor.id)return s.borderBox.center;if(cc(v.descriptor.id,o)){var y=Ny(v.page,Np(o.displacedBy.point));return gM({axis:l,moveRelativeTo:y,isMoving:s})}return gM({axis:l,moveRelativeTo:v.page,isMoving:s})},Vx=function(e,t){var n=e.frame;return n?hi(t,n.scroll.diff.displacement):t},NBe=function(t){var n=t.impact,r=t.draggable,i=t.droppable,o=t.draggables,a=t.afterCritical,s=r.page.borderBox.center,l=n.at;return!i||!l?s:l.type==="REORDER"?kBe({impact:n,draggable:r,draggables:o,droppable:i,afterCritical:a}):RBe({impact:n,draggables:o,afterCritical:a})},a4=function(e){var t=NBe(e),n=e.droppable,r=n?Vx(n,t):t;return r},mY=function(e,t){var n=$o(t,e.scroll.initial),r=Np(n),i=Ja({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}};return o};function yM(e,t){return e.map(function(n){return t[n]})}function DBe(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}var LBe=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,a=mY(n,hi(n.scroll.current,o)),s=r.frame?uw(r,hi(r.frame.scroll.current,o)):r,l=t.displaced,c=T0({afterDragging:yM(l.all,i),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),d=T0({afterDragging:yM(l.all,i),destination:s,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),p={},h={},m=[l,c,d];l.all.forEach(function(y){var x=DBe(y,m);if(x){h[y]=x;return}p[y]=!0});var v=P({},t,{displaced:{all:l.all,invisible:p,visible:h}});return v},MBe=function(e,t){return hi(e.scroll.diff.displacement,t)},mw=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=e.viewport,i=MBe(r,t),o=$o(i,n.page.borderBox.center);return hi(n.client.borderBox.center,o)},gY=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=a===void 0?!1:a,l=$o(r,t.page.borderBox.center),c=Cg(t.page.borderBox,l),d={target:c,destination:n,withDroppableDisplacement:o,viewport:i};return s?TBe(d):pY(d)},$Be=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var d=Dp(r.descriptor.id,i),p=Lp(n,r),h=pBe({isMovingForward:t,draggable:n,destination:r,insideDestination:d,previousImpact:o})||ABe({isMovingForward:t,isInHomeList:p,draggable:n,draggables:i,destination:r,insideDestination:d,previousImpact:o,viewport:a,afterCritical:c});if(!h)return null;var m=a4({impact:h,draggable:n,droppable:r,draggables:i,afterCritical:c}),v=gY({draggable:n,destination:r,newPageBorderBoxCenter:m,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(v){var y=mw({pageBorderBoxCenter:m,draggable:n,viewport:a});return{clientSelection:y,impact:h,scrollJumpRequest:null}}var x=$o(m,s),b=LBe({impact:h,viewport:a,destination:r,draggables:i,maxScrollChange:x});return{clientSelection:l,impact:b,scrollJumpRequest:x}},Di=function(t){var n=t.subject.active;return n||We(!1),n},FBe=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,o=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=xa(a[s.start],a[s.end]),c=r4(i).filter(function(p){return p!==r}).filter(function(p){return p.isEnabled}).filter(function(p){return Boolean(p.subject.active)}).filter(function(p){return dY(o.frame)(Di(p))}).filter(function(p){var h=Di(p);return t?a[s.crossAxisEnd]<h[s.crossAxisEnd]:h[s.crossAxisStart]<a[s.crossAxisStart]}).filter(function(p){var h=Di(p),m=xa(h[s.start],h[s.end]);return l(h[s.start])||l(h[s.end])||m(a[s.start])||m(a[s.end])}).sort(function(p,h){var m=Di(p)[s.crossAxisStart],v=Di(h)[s.crossAxisStart];return t?m-v:v-m}).filter(function(p,h,m){return Di(p)[s.crossAxisStart]===Di(m[0])[s.crossAxisStart]});if(!c.length)return null;if(c.length===1)return c[0];var d=c.filter(function(p){var h=xa(Di(p)[s.start],Di(p)[s.end]);return h(n[s.line])});return d.length===1?d[0]:d.length>1?d.sort(function(p,h){return Di(p)[s.start]-Di(h)[s.start]})[0]:c.sort(function(p,h){var m=pM(n,hM(Di(p))),v=pM(n,hM(Di(h)));return m!==v?m-v:Di(p)[s.start]-Di(h)[s.start]})[0]},bM=function(t,n){var r=t.page.borderBox.center;return cc(t.descriptor.id,n)?$o(r,n.displacedBy.point):r},BBe=function(t,n){var r=t.page.borderBox;return cc(t.descriptor.id,n)?Cg(r,Np(n.displacedBy.point)):r},HBe=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.insideDestination,o=e.afterCritical,a=i.filter(function(s){return pY({target:BBe(s,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})}).sort(function(s,l){var c=b0(t,Vx(r,bM(s,o))),d=b0(t,Vx(r,bM(l,o)));return c<d?-1:d<c?1:s.descriptor.index-l.descriptor.index});return a[0]||null},wg=ei(function(t,n){var r=n[t.line];return{value:r,point:H1(t.line,r)}}),UBe=function(t,n,r){var i=t.axis;if(t.descriptor.mode==="virtual")return H1(i.line,n[i.line]);var o=t.subject.page.contentBox[i.size],a=Dp(t.descriptor.id,r),s=a.reduce(function(d,p){return d+p.client.marginBox[i.size]},0),l=s+n[i.line],c=l-o;return c<=0?null:H1(i.line,c)},vY=function(t,n){return P({},t,{scroll:P({},t.scroll,{max:n})})},yY=function(t,n,r){var i=t.frame;Lp(n,t)&&We(!1),t.subject.withPlaceholder&&We(!1);var o=wg(t.axis,n.displaceBy).point,a=UBe(t,o,r),s={placeholderSize:o,increasedBy:a,oldFrameMaxScroll:t.frame?t.frame.scroll.max:null};if(!i){var l=rp({page:t.subject.page,withPlaceholder:s,axis:t.axis,frame:t.frame});return P({},t,{subject:l})}var c=a?hi(i.scroll.max,a):i.scroll.max,d=vY(i,c),p=rp({page:t.subject.page,withPlaceholder:s,axis:t.axis,frame:d});return P({},t,{subject:p,frame:d})},zBe=function(t){var n=t.subject.withPlaceholder;n||We(!1);var r=t.frame;if(!r){var i=rp({page:t.subject.page,axis:t.axis,frame:null,withPlaceholder:null});return P({},t,{subject:i})}var o=n.oldFrameMaxScroll;o||We(!1);var a=vY(r,o),s=rp({page:t.subject.page,axis:t.axis,frame:a,withPlaceholder:null});return P({},t,{subject:s,frame:a})},GBe=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:E0,displacedBy:cY,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},d=a4({impact:c,draggable:i,droppable:a,draggables:o,afterCritical:l}),p=Lp(i,a)?a:yY(a,i,o),h=gY({draggable:i,destination:p,newPageBorderBoxCenter:d,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return h?c:null}var m=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),v=function(){var x=n.descriptor.index;return n.descriptor.id===i.descriptor.id||m?x:x+1}(),y=wg(a.axis,i.displaceBy);return Fy({draggable:i,insideDestination:r,destination:a,viewport:s,displacedBy:y,last:E0,index:v})},WBe=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,s=e.viewport,l=e.afterCritical,c=FBe({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:s});if(!c)return null;var d=Dp(c.descriptor.id,o),p=HBe({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:d,afterCritical:l}),h=GBe({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:o,moveRelativeTo:p,insideDestination:d,viewport:s,afterCritical:l});if(!h)return null;var m=a4({impact:h,draggable:r,droppable:c,draggables:o,afterCritical:l}),v=mw({pageBorderBoxCenter:m,draggable:r,viewport:s});return{clientSelection:v,impact:h,scrollJumpRequest:null}},Uo=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},jBe=function(t,n){var r=Uo(t);return r?n[r]:null},VBe=function(e){var t=e.state,n=e.type,r=jBe(t.impact,t.dimensions.droppables),i=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],a=r||o,s=a.axis.direction,l=s==="vertical"&&(n==="MOVE_UP"||n==="MOVE_DOWN")||s==="horizontal"&&(n==="MOVE_LEFT"||n==="MOVE_RIGHT");if(l&&!i)return null;var c=n==="MOVE_DOWN"||n==="MOVE_RIGHT",d=t.dimensions.draggables[t.critical.draggable.id],p=t.current.page.borderBoxCenter,h=t.dimensions,m=h.draggables,v=h.droppables;return l?$Be({isMovingForward:c,previousPageBorderBoxCenter:p,draggable:d,destination:a,draggables:m,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):WBe({isMovingForward:c,previousPageBorderBoxCenter:p,draggable:d,isOver:a,draggables:m,droppables:v,viewport:t.viewport,afterCritical:t.afterCritical})};function Yc(e){return e.phase==="DRAGGING"||e.phase==="COLLECTING"}function bY(e){var t=xa(e.top,e.bottom),n=xa(e.left,e.right);return function(i){return t(i.y)&&n(i.x)}}function KBe(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function qBe(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,i=n.page.borderBox.center,o=r.map(function(a){var s=a.axis,l=H1(a.axis.line,t.center[s.line],a.page.borderBox.center[s.crossAxisLine]);return{id:a.descriptor.id,distance:b0(i,l)}}).sort(function(a,s){return s.distance-a.distance});return o[0]?o[0].id:null}function YBe(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,i=r4(r).filter(function(o){if(!o.isEnabled)return!1;var a=o.subject.active;if(!a||!KBe(t,a))return!1;if(bY(a)(t.center))return!0;var s=o.axis,l=a.center[s.crossAxisLine],c=t[s.crossAxisStart],d=t[s.crossAxisEnd],p=xa(a[s.crossAxisStart],a[s.crossAxisEnd]),h=p(c),m=p(d);return!h&&!m?!0:h?c<l:d>l});return i.length?i.length===1?i[0].descriptor.id:qBe({pageBorderBox:t,draggable:n,candidates:i}):null}var EY=function(t,n){return Ja(Cg(t,n))},XBe=function(e,t){var n=e.frame;return n?EY(t,n.scroll.diff.value):t};function TY(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}function QBe(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}var ZBe=function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,s=e.afterCritical,l=r.axis,c=wg(r.axis,n.displaceBy),d=c.value,p=t[l.start],h=t[l.end],m=o4(n,i),v=Ac(m,function(x){var b=x.descriptor.id,_=x.page.borderBox.center[l.line],S=cc(b,s),C=TY({displaced:o,id:b});return S?C?h<=_:p<_-d:C?h<=_+d:p<_}),y=QBe({draggable:n,closest:v,inHomeList:Lp(n,r)});return Fy({draggable:n,insideDestination:i,destination:r,viewport:a,last:o,displacedBy:c,index:y})},JBe=4,eHe=function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=wg(i.axis,t.displaceBy),c=l.value,d=n[s.start],p=n[s.end],h=o4(t,o),m=Ac(h,function(y){var x=y.descriptor.id,b=y.page.borderBox,_=b[s.size],S=_/JBe,C=cc(x,a),O=TY({displaced:r.displaced,id:x});return C?O?p>b[s.start]+S&&p<b[s.end]-S:d>b[s.start]-c+S&&d<b[s.end]-c-S:O?p>b[s.start]+c+S&&p<b[s.end]+c-S:d>b[s.start]+S&&d<b[s.end]-S});if(!m)return null;var v={displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:m.descriptor.id,droppableId:i.descriptor.id}}};return v},_Y=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,s=e.afterCritical,l=EY(n.page.borderBox,t),c=YBe({pageBorderBox:l,draggable:n,droppables:i});if(!c)return hBe;var d=i[c],p=Dp(d.descriptor.id,r),h=XBe(d,l);return eHe({pageBorderBoxWithDroppableScroll:h,draggable:n,previousImpact:o,destination:d,insideDestination:p,afterCritical:s})||ZBe({pageBorderBoxWithDroppableScroll:h,draggable:n,destination:d,insideDestination:p,last:o.displaced,viewport:a,afterCritical:s})},gw=function(e,t){var n;return P({},e,(n={},n[t.descriptor.id]=t,n))},tHe=function(t){var n=t.previousImpact,r=t.impact,i=t.droppables,o=Uo(n),a=Uo(r);if(!o||o===a)return i;var s=i[o];if(!s.subject.withPlaceholder)return i;var l=zBe(s);return gw(i,l)},nHe=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.previousImpact,o=e.impact,a=tHe({previousImpact:i,impact:o,droppables:r}),s=Uo(o);if(!s)return a;var l=r[s];if(Lp(t,l)||l.subject.withPlaceholder)return a;var c=yY(l,t,n);return gw(a,c)},Am=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,s=i||t.viewport,l=r||t.dimensions,c=n||t.current.client.selection,d=$o(c,t.initial.client.selection),p={offset:d,selection:c,borderBoxCenter:hi(t.initial.client.borderBoxCenter,d)},h={selection:hi(p.selection,s.scroll.current),borderBoxCenter:hi(p.borderBoxCenter,s.scroll.current),offset:hi(p.offset,s.scroll.diff.value)},m={client:p,page:h};if(t.phase==="COLLECTING")return P({phase:"COLLECTING"},t,{dimensions:l,viewport:s,current:m});var v=l.draggables[t.critical.draggable.id],y=o||_Y({pageOffset:h.offset,draggable:v,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:s,afterCritical:t.afterCritical}),x=nHe({draggable:v,impact:y,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables}),b=P({},t,{current:m,dimensions:{draggables:l.draggables,droppables:x},impact:y,viewport:s,scrollJumpRequest:a||null,forceShouldAnimate:a?!1:null});return b};function rHe(e,t){return e.map(function(n){return t[n]})}var SY=function(e){var t=e.impact,n=e.viewport,r=e.draggables,i=e.destination,o=e.forceShouldAnimate,a=t.displaced,s=rHe(a.all,r),l=T0({afterDragging:s,destination:i,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:a});return P({},t,{displaced:l})},xY=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,s=a4({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:a});return mw({pageBorderBoxCenter:s,draggable:n,viewport:o})},CY=function(e){var t=e.state,n=e.dimensions,r=e.viewport;t.movementMode!=="SNAP"&&We(!1);var i=t.impact,o=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,c=s[t.critical.draggable.id],d=Uo(i);d||We(!1);var p=l[d],h=SY({impact:i,viewport:o,destination:p,draggables:s}),m=xY({impact:h,draggable:c,droppable:p,draggables:s,viewport:o,afterCritical:t.afterCritical});return Am({impact:h,clientSelection:m,state:t,dimensions:a,viewport:o})},iHe=function(e){return{index:e.index,droppableId:e.droppableId}},wY=function(e){var t=e.draggable,n=e.home,r=e.draggables,i=e.viewport,o=wg(n.axis,t.displaceBy),a=Dp(n.descriptor.id,r),s=a.indexOf(t);s===-1&&We(!1);var l=a.slice(s+1),c=l.reduce(function(m,v){return m[v.descriptor.id]=!0,m},{}),d={inVirtualList:n.descriptor.mode==="virtual",displacedBy:o,effected:c},p=T0({afterDragging:l,destination:n,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),h={displaced:p,displacedBy:o,at:{type:"REORDER",destination:iHe(t.descriptor)}};return{impact:h,afterCritical:d}},oHe=function(e,t){return{draggables:e.draggables,droppables:gw(e.droppables,t)}},aHe=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=Ny(t.client,n),o=Dy(i,r),a=P({},t,{placeholder:P({},t.placeholder,{client:i}),client:i,page:o});return a},sHe=function(e){var t=e.frame;return t||We(!1),t},lHe=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map(function(o){var a=o.descriptor.droppableId,s=n[a],l=sHe(s),c=l.scroll.diff.value,d=hi(i,c),p=aHe({draggable:o,offset:d,initialWindowScroll:r.scroll.initial});return p})},uHe=function(e){var t=e.state,n=e.published,r=n.modified.map(function(S){var C=t.dimensions.droppables[S.droppableId],O=uw(C,S.scroll);return O}),i=P({},t.dimensions.droppables,{},lY(r)),o=uY(lHe({additions:n.additions,updatedDroppables:i,viewport:t.viewport})),a=P({},t.dimensions.draggables,{},o);n.removals.forEach(function(S){delete a[S]});var s={droppables:i,draggables:a},l=Uo(t.impact),c=l?s.droppables[l]:null,d=s.draggables[t.critical.draggable.id],p=s.droppables[t.critical.droppable.id],h=wY({draggable:d,home:p,draggables:a,viewport:t.viewport}),m=h.impact,v=h.afterCritical,y=c&&c.isCombineEnabled?t.impact:m,x=_Y({pageOffset:t.current.page.offset,draggable:s.draggables[t.critical.draggable.id],draggables:s.draggables,droppables:s.droppables,previousImpact:y,viewport:t.viewport,afterCritical:v}),b=P({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:x,onLiftImpact:m,dimensions:s,afterCritical:v,forceShouldAnimate:!1});if(t.phase==="COLLECTING")return b;var _=P({phase:"DROP_PENDING"},b,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1});return _},Kx=function(t){return t.movementMode==="SNAP"},b_=function(t,n,r){var i=oHe(t.dimensions,n);return!Kx(t)||r?Am({state:t,dimensions:i}):CY({state:t,dimensions:i})};function E_(e){return e.isDragging&&e.movementMode==="SNAP"?P({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var EM={phase:"IDLE",completed:null,shouldFlush:!1},cHe=function(e,t){if(e===void 0&&(e=EM),t.type==="FLUSH")return P({},EM,{shouldFlush:!0});if(t.type==="INITIAL_PUBLISH"){e.phase!=="IDLE"&&We(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,a=n.dimensions,s=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],d={selection:i,borderBoxCenter:l.client.borderBox.center,offset:ti},p={client:d,page:{selection:hi(d.selection,o.scroll.initial),borderBoxCenter:hi(d.selection,o.scroll.initial),offset:hi(d.selection,o.scroll.diff.value)}},h=r4(a.droppables).every(function(Re){return!Re.isFixedOnPage}),m=wY({draggable:l,home:c,draggables:a.draggables,viewport:o}),v=m.impact,y=m.afterCritical,x={phase:"DRAGGING",isDragging:!0,critical:r,movementMode:s,dimensions:a,initial:p,current:p,isWindowScrollAllowed:h,impact:v,afterCritical:y,onLiftImpact:v,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null};return x}if(t.type==="COLLECTION_STARTING"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&We(!1);var b=P({phase:"COLLECTING"},e,{phase:"COLLECTING"});return b}if(t.type==="PUBLISH_WHILE_DRAGGING")return e.phase==="COLLECTING"||e.phase==="DROP_PENDING"||We(!1),uHe({state:e,published:t.payload});if(t.type==="MOVE"){if(e.phase==="DROP_PENDING")return e;Yc(e)||We(!1);var _=t.payload.client;return Ju(_,e.current.client.selection)?e:Am({state:e,clientSelection:_,impact:Kx(e)?e.impact:null})}if(t.type==="UPDATE_DROPPABLE_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="COLLECTING")return E_(e);Yc(e)||We(!1);var S=t.payload,C=S.id,O=S.newScroll,A=e.dimensions.droppables[C];if(!A)return e;var R=uw(A,O);return b_(e,R,!1)}if(t.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(e.phase==="DROP_PENDING")return e;Yc(e)||We(!1);var N=t.payload,F=N.id,L=N.isEnabled,H=e.dimensions.droppables[F];H||We(!1),H.isEnabled===L&&We(!1);var j=P({},H,{isEnabled:L});return b_(e,j,!0)}if(t.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(e.phase==="DROP_PENDING")return e;Yc(e)||We(!1);var Y=t.payload,K=Y.id,Z=Y.isCombineEnabled,ne=e.dimensions.droppables[K];ne||We(!1),ne.isCombineEnabled===Z&&We(!1);var oe=P({},ne,{isCombineEnabled:Z});return b_(e,oe,!0)}if(t.type==="MOVE_BY_WINDOW_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="DROP_ANIMATING")return e;Yc(e)||We(!1),e.isWindowScrollAllowed||We(!1);var z=t.payload.newScroll;if(Ju(e.viewport.scroll.current,z))return E_(e);var Q=mY(e.viewport,z);return Kx(e)?CY({state:e,viewport:Q}):Am({state:e,viewport:Q})}if(t.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Yc(e))return e;var J=t.payload.maxScroll;if(Ju(J,e.viewport.scroll.max))return e;var M=P({},e.viewport,{scroll:P({},e.viewport.scroll,{max:J})});return P({phase:"DRAGGING"},e,{viewport:M})}if(t.type==="MOVE_UP"||t.type==="MOVE_DOWN"||t.type==="MOVE_LEFT"||t.type==="MOVE_RIGHT"){if(e.phase==="COLLECTING"||e.phase==="DROP_PENDING")return e;e.phase!=="DRAGGING"&&We(!1);var B=VBe({state:e,type:t.type});return B?Am({state:e,impact:B.impact,clientSelection:B.clientSelection,scrollJumpRequest:B.scrollJumpRequest}):e}if(t.type==="DROP_PENDING"){var Pe=t.payload.reason;e.phase!=="COLLECTING"&&We(!1);var pe=P({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:Pe});return pe}if(t.type==="DROP_ANIMATE"){var me=t.payload,se=me.completed,Ce=me.dropDuration,ke=me.newHomeClientOffset;e.phase==="DRAGGING"||e.phase==="DROP_PENDING"||We(!1);var Ee={phase:"DROP_ANIMATING",completed:se,dropDuration:Ce,newHomeClientOffset:ke,dimensions:e.dimensions};return Ee}if(t.type==="DROP_COMPLETE"){var Qe=t.payload.completed;return{phase:"IDLE",completed:Qe,shouldFlush:!1}}return e},dHe=function(t){return{type:"BEFORE_INITIAL_CAPTURE",payload:t}},fHe=function(t){return{type:"LIFT",payload:t}},pHe=function(t){return{type:"INITIAL_PUBLISH",payload:t}},hHe=function(t){return{type:"PUBLISH_WHILE_DRAGGING",payload:t}},mHe=function(){return{type:"COLLECTION_STARTING",payload:null}},gHe=function(t){return{type:"UPDATE_DROPPABLE_SCROLL",payload:t}},vHe=function(t){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:t}},yHe=function(t){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:t}},AY=function(t){return{type:"MOVE",payload:t}},bHe=function(t){return{type:"MOVE_BY_WINDOW_SCROLL",payload:t}},EHe=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},THe=function(){return{type:"MOVE_UP",payload:null}},_He=function(){return{type:"MOVE_DOWN",payload:null}},SHe=function(){return{type:"MOVE_RIGHT",payload:null}},xHe=function(){return{type:"MOVE_LEFT",payload:null}},vw=function(){return{type:"FLUSH",payload:null}},CHe=function(t){return{type:"DROP_ANIMATE",payload:t}},yw=function(t){return{type:"DROP_COMPLETE",payload:t}},IY=function(t){return{type:"DROP",payload:t}},wHe=function(t){return{type:"DROP_PENDING",payload:t}},RY=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},AHe=function(e){return function(t){var n=t.getState,r=t.dispatch;return function(i){return function(o){if(o.type!=="LIFT"){i(o);return}var a=o.payload,s=a.id,l=a.clientSelection,c=a.movementMode,d=n();d.phase==="DROP_ANIMATING"&&r(yw({completed:d.completed})),n().phase!=="IDLE"&&We(!1),r(vw()),r(dHe({draggableId:s,movementMode:c}));var p={shouldPublishImmediately:c==="SNAP"},h={draggableId:s,scrollOptions:p},m=e.startPublishing(h),v=m.critical,y=m.dimensions,x=m.viewport;r(pHe({critical:v,dimensions:y,clientSelection:l,movementMode:c,viewport:x}))}}}},IHe=function(e){return function(){return function(t){return function(n){n.type==="INITIAL_PUBLISH"&&e.dragging(),n.type==="DROP_ANIMATE"&&e.dropping(n.payload.completed.result.reason),(n.type==="FLUSH"||n.type==="DROP_COMPLETE")&&e.resting(),t(n)}}}},bw={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},_0={opacity:{drop:0,combining:.7},scale:{drop:.75}},Ew={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Uc=Ew.outOfTheWay+"s "+bw.outOfTheWay,Im={fluid:"opacity "+Uc,snap:"transform "+Uc+", opacity "+Uc,drop:function(t){var n=t+"s "+bw.drop;return"transform "+n+", opacity "+n},outOfTheWay:"transform "+Uc,placeholder:"height "+Uc+", width "+Uc+", margin "+Uc},TM=function(t){return Ju(t,ti)?null:"translate("+t.x+"px, "+t.y+"px)"},qx={moveTo:TM,drop:function(t,n){var r=TM(t);return r?n?r+" scale("+_0.scale.drop+")":r:null}},Yx=Ew.minDropTime,PY=Ew.maxDropTime,RHe=PY-Yx,_M=1500,PHe=.6,OHe=function(e){var t=e.current,n=e.destination,r=e.reason,i=b0(t,n);if(i<=0)return Yx;if(i>=_M)return PY;var o=i/_M,a=Yx+RHe*o,s=r==="CANCEL"?a*PHe:a;return Number(s.toFixed(2))},kHe=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,o=e.afterCritical,a=r.draggables,s=r.droppables,l=Uo(t),c=l?s[l]:null,d=s[n.descriptor.droppableId],p=xY({impact:t,draggable:n,draggables:a,afterCritical:o,droppable:c||d,viewport:i}),h=$o(p,n.client.borderBox.center);return h},NHe=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,i=e.home,o=e.viewport,a=e.onLiftImpact;if(!r.at||n!=="DROP"){var s=SY({draggables:t,impact:a,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:s,didDropInsideDroppable:!1}}if(r.at.type==="REORDER")return{impact:r,didDropInsideDroppable:!0};var l=P({},r,{displaced:E0});return{impact:l,didDropInsideDroppable:!0}},DHe=function(e){var t=e.getState,n=e.dispatch;return function(r){return function(i){if(i.type!=="DROP"){r(i);return}var o=t(),a=i.payload.reason;if(o.phase==="COLLECTING"){n(wHe({reason:a}));return}if(o.phase!=="IDLE"){var s=o.phase==="DROP_PENDING"&&o.isWaiting;s&&We(!1),o.phase==="DRAGGING"||o.phase==="DROP_PENDING"||We(!1);var l=o.critical,c=o.dimensions,d=c.draggables[o.critical.draggable.id],p=NHe({reason:a,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),h=p.impact,m=p.didDropInsideDroppable,v=m?dw(h):null,y=m?i4(h):null,x={index:l.draggable.index,droppableId:l.droppable.id},b={draggableId:d.descriptor.id,type:d.descriptor.type,source:x,reason:a,mode:o.movementMode,destination:v,combine:y},_=kHe({impact:h,draggable:d,dimensions:c,viewport:o.viewport,afterCritical:o.afterCritical}),S={critical:o.critical,afterCritical:o.afterCritical,result:b,impact:h},C=!Ju(o.current.client.offset,_)||Boolean(b.combine);if(!C){n(yw({completed:S}));return}var O=OHe({current:o.current.client.offset,destination:_,reason:a}),A={newHomeClientOffset:_,dropDuration:O,completed:S};n(CHe(A))}}}},OY=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function LHe(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(n){n.target!==window&&n.target!==window.document||e()}}}function MHe(e){var t=e.onWindowScroll;function n(){t(OY())}var r=y0(n),i=LHe(r),o=Zu;function a(){return o!==Zu}function s(){a()&&We(!1),o=ya(window,[i])}function l(){a()||We(!1),r.cancel(),o(),o=Zu}return{start:s,stop:l,isActive:a}}var $He=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},FHe=function(e){var t=MHe({onWindowScroll:function(r){e.dispatch(bHe({newScroll:r}))}});return function(n){return function(r){!t.isActive()&&r.type==="INITIAL_PUBLISH"&&t.start(),t.isActive()&&$He(r)&&t.stop(),n(r)}}},BHe=function(e){var t=!1,n=!1,r=setTimeout(function(){n=!0}),i=function(a){t||n||(t=!0,e(a),clearTimeout(r))};return i.wasCalled=function(){return t},i},HHe=function(){var e=[],t=function(o){var a=cw(e,function(c){return c.timerId===o});a===-1&&We(!1);var s=e.splice(a,1),l=s[0];l.callback()},n=function(o){var a=setTimeout(function(){return t(a)}),s={timerId:a,callback:o};e.push(s)},r=function(){if(!!e.length){var o=[].concat(e);e.length=0,o.forEach(function(a){clearTimeout(a.timerId),a.callback()})}};return{add:n,flush:r}},UHe=function(t,n){return t==null&&n==null?!0:t==null||n==null?!1:t.droppableId===n.droppableId&&t.index===n.index},zHe=function(t,n){return t==null&&n==null?!0:t==null||n==null?!1:t.draggableId===n.draggableId&&t.droppableId===n.droppableId},GHe=function(t,n){if(t===n)return!0;var r=t.draggable.id===n.draggable.id&&t.draggable.droppableId===n.draggable.droppableId&&t.draggable.type===n.draggable.type&&t.draggable.index===n.draggable.index,i=t.droppable.id===n.droppable.id&&t.droppable.type===n.droppable.type;return r&&i},Ah=function(t,n){n()},A5=function(t,n){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:n}},T_=function(t,n,r,i){if(!t){r(i(n));return}var o=BHe(r),a={announce:o};t(n,a),o.wasCalled()||r(i(n))},WHe=function(e,t){var n=HHe(),r=null,i=function(h,m){r&&We(!1),Ah("onBeforeCapture",function(){var v=e().onBeforeCapture;if(v){var y={draggableId:h,mode:m};v(y)}})},o=function(h,m){r&&We(!1),Ah("onBeforeDragStart",function(){var v=e().onBeforeDragStart;v&&v(A5(h,m))})},a=function(h,m){r&&We(!1);var v=A5(h,m);r={mode:m,lastCritical:h,lastLocation:v.source,lastCombine:null},n.add(function(){Ah("onDragStart",function(){return T_(e().onDragStart,v,t,E9.onDragStart)})})},s=function(h,m){var v=dw(m),y=i4(m);r||We(!1);var x=!GHe(h,r.lastCritical);x&&(r.lastCritical=h);var b=!UHe(r.lastLocation,v);b&&(r.lastLocation=v);var _=!zHe(r.lastCombine,y);if(_&&(r.lastCombine=y),!(!x&&!b&&!_)){var S=P({},A5(h,r.mode),{combine:y,destination:v});n.add(function(){Ah("onDragUpdate",function(){return T_(e().onDragUpdate,S,t,E9.onDragUpdate)})})}},l=function(){r||We(!1),n.flush()},c=function(h){r||We(!1),r=null,Ah("onDragEnd",function(){return T_(e().onDragEnd,h,t,E9.onDragEnd)})},d=function(){if(!!r){var h=P({},A5(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});c(h)}};return{beforeCapture:i,beforeStart:o,start:a,update:s,flush:l,drop:c,abort:d}},jHe=function(e,t){var n=WHe(e,t);return function(r){return function(i){return function(o){if(o.type==="BEFORE_INITIAL_CAPTURE"){n.beforeCapture(o.payload.draggableId,o.payload.movementMode);return}if(o.type==="INITIAL_PUBLISH"){var a=o.payload.critical;n.beforeStart(a,o.payload.movementMode),i(o),n.start(a,o.payload.movementMode);return}if(o.type==="DROP_COMPLETE"){var s=o.payload.completed.result;n.flush(),i(o),n.drop(s);return}if(i(o),o.type==="FLUSH"){n.abort();return}var l=r.getState();l.phase==="DRAGGING"&&n.update(l.critical,l.impact)}}}},VHe=function(e){return function(t){return function(n){if(n.type!=="DROP_ANIMATION_FINISHED"){t(n);return}var r=e.getState();r.phase!=="DROP_ANIMATING"&&We(!1),e.dispatch(yw({completed:r.completed}))}}},KHe=function(e){var t=null,n=null;function r(){n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)}return function(i){return function(o){if((o.type==="FLUSH"||o.type==="DROP_COMPLETE"||o.type==="DROP_ANIMATION_FINISHED")&&r(),i(o),o.type==="DROP_ANIMATE"){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var l=e.getState();l.phase==="DROP_ANIMATING"&&e.dispatch(RY())}};n=requestAnimationFrame(function(){n=null,t=ya(window,[a])})}}}},qHe=function(e){return function(){return function(t){return function(n){(n.type==="DROP_COMPLETE"||n.type==="FLUSH"||n.type==="DROP_ANIMATE")&&e.stopPublishing(),t(n)}}}},YHe=function(e){var t=!1;return function(){return function(n){return function(r){if(r.type==="INITIAL_PUBLISH"){t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),e.tryRestoreFocusRecorded();return}if(n(r),!!t){if(r.type==="FLUSH"){t=!1,e.tryRestoreFocusRecorded();return}if(r.type==="DROP_COMPLETE"){t=!1;var i=r.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},XHe=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},QHe=function(e){return function(t){return function(n){return function(r){if(XHe(r)){e.stop(),n(r);return}if(r.type==="INITIAL_PUBLISH"){n(r);var i=t.getState();i.phase!=="DRAGGING"&&We(!1),e.start(i);return}n(r),e.scroll(t.getState())}}}},ZHe=function(e){return function(t){return function(n){if(t(n),n.type==="PUBLISH_WHILE_DRAGGING"){var r=e.getState();r.phase==="DROP_PENDING"&&(r.isWaiting||e.dispatch(IY({reason:r.reason})))}}}},JHe=Uq,eUe=function(e){var t=e.dimensionMarshal,n=e.focusMarshal,r=e.styleMarshal,i=e.getResponders,o=e.announce,a=e.autoScroller;return Hq(cHe,JHe(eFe(IHe(r),qHe(t),AHe(t),DHe,VHe,KHe,ZHe,QHe(a),FHe,YHe(n),jHe(i,o))))},__=function(){return{additions:{},removals:{},modified:{}}};function tUe(e){var t=e.registry,n=e.callbacks,r=__(),i=null,o=function(){i||(n.collectionStarting(),i=requestAnimationFrame(function(){i=null;var d=r,p=d.additions,h=d.removals,m=d.modified,v=Object.keys(p).map(function(b){return t.draggable.getById(b).getDimension(ti)}).sort(function(b,_){return b.descriptor.index-_.descriptor.index}),y=Object.keys(m).map(function(b){var _=t.droppable.getById(b),S=_.callbacks.getScrollWhileDragging();return{droppableId:b,scroll:S}}),x={additions:v,removals:Object.keys(h),modified:y};r=__(),n.publish(x)}))},a=function(d){var p=d.descriptor.id;r.additions[p]=d,r.modified[d.descriptor.droppableId]=!0,r.removals[p]&&delete r.removals[p],o()},s=function(d){var p=d.descriptor;r.removals[p.id]=!0,r.modified[p.droppableId]=!0,r.additions[p.id]&&delete r.additions[p.id],o()},l=function(){!i||(cancelAnimationFrame(i),i=null,r=__())};return{add:a,remove:s,stop:l}}var kY=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,o=$o({x:n,y:t},{x:i,y:r}),a={x:Math.max(0,o.x),y:Math.max(0,o.y)};return a},NY=function(){var e=document.documentElement;return e||We(!1),e},DY=function(){var e=NY(),t=kY({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},nUe=function(){var e=OY(),t=DY(),n=e.y,r=e.x,i=NY(),o=i.clientWidth,a=i.clientHeight,s=r+o,l=n+a,c=Ja({top:n,left:r,right:s,bottom:l}),d={frame:c,scroll:{initial:e,current:e,max:t,diff:{value:ti,displacement:ti}}};return d},rUe=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry,i=nUe(),o=i.scroll.current,a=t.droppable,s=r.droppable.getAllByType(a.type).map(function(p){return p.callbacks.getDimensionAndWatchScroll(o,n)}),l=r.draggable.getAllByType(t.draggable.type).map(function(p){return p.getDimension(o)}),c={draggables:uY(l),droppables:lY(s)},d={dimensions:c,critical:t,viewport:i};return d};function SM(e,t,n){if(n.descriptor.id===t.id||n.descriptor.type!==t.type)return!1;var r=e.droppable.getById(n.descriptor.droppableId);return r.descriptor.mode==="virtual"}var iUe=function(e,t){var n=null,r=tUe({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(m,v){e.droppable.exists(m)||We(!1),n&&t.updateDroppableIsEnabled({id:m,isEnabled:v})},o=function(m,v){!n||(e.droppable.exists(m)||We(!1),t.updateDroppableIsCombineEnabled({id:m,isCombineEnabled:v}))},a=function(m,v){!n||(e.droppable.exists(m)||We(!1),t.updateDroppableScroll({id:m,newScroll:v}))},s=function(m,v){!n||e.droppable.getById(m).callbacks.scroll(v)},l=function(){if(!!n){r.stop();var m=n.critical.droppable;e.droppable.getAllByType(m.type).forEach(function(v){return v.callbacks.dragStopped()}),n.unsubscribe(),n=null}},c=function(m){n||We(!1);var v=n.critical.draggable;m.type==="ADDITION"&&SM(e,v,m.value)&&r.add(m.value),m.type==="REMOVAL"&&SM(e,v,m.value)&&r.remove(m.value)},d=function(m){n&&We(!1);var v=e.draggable.getById(m.draggableId),y=e.droppable.getById(v.descriptor.droppableId),x={draggable:v.descriptor,droppable:y.descriptor},b=e.subscribe(c);return n={critical:x,unsubscribe:b},rUe({critical:x,registry:e,scrollOptions:m.scrollOptions})},p={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:s,updateDroppableScroll:a,startPublishing:d,stopPublishing:l};return p},LY=function(e,t){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP"},oUe=function(e){window.scrollBy(e.x,e.y)},aUe=ei(function(e){return r4(e).filter(function(t){return!(!t.isEnabled||!t.frame)})}),sUe=function(t,n){var r=Ac(aUe(n),function(i){return i.frame||We(!1),bY(i.frame.pageMarginBox)(t)});return r},lUe=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=sUe(t,r);return o},ec={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(t){return Math.pow(t,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},uUe=function(e,t){var n=e[t.size]*ec.startFromPercentage,r=e[t.size]*ec.maxScrollAtPercentage,i={startScrollingFrom:n,maxScrollValueAt:r};return i},MY=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;if(i===0)return 0;var o=r-t,a=o/i;return a},Tw=1,cUe=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return ec.maxPixelScroll;if(e===t.startScrollingFrom)return Tw;var n=MY({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=1-n,i=ec.maxPixelScroll*ec.ease(r);return Math.ceil(i)},xM=ec.durationDampening.accelerateAt,CM=ec.durationDampening.stopDampeningAt,dUe=function(e,t){var n=t,r=CM,i=Date.now(),o=i-n;if(o>=CM)return e;if(o<xM)return Tw;var a=MY({startOfRange:xM,endOfRange:r,current:o}),s=e*ec.ease(a);return Math.ceil(s)},wM=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,o=cUe(t,n);return o===0?0:i?Math.max(dUe(o,r),Tw):o},AM=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=uUe(t,i),s=n[i.end]<n[i.start];return s?wM({distanceToEdge:n[i.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o}):-1*wM({distanceToEdge:n[i.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o})},fUe=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,o=n.width>t.width;return!o&&!i?r:o&&i?null:{x:o?0:r.x,y:i?0:r.y}},pUe=aY(function(e){return e===0?0:e}),$Y=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=AM({container:n,distanceToEdges:a,dragStartTime:t,axis:fw,shouldUseTimeDampening:o}),l=AM({container:n,distanceToEdges:a,dragStartTime:t,axis:fY,shouldUseTimeDampening:o}),c=pUe({x:l,y:s});if(Ju(c,ti))return null;var d=fUe({container:n,subject:r,proposedScroll:c});return d?Ju(d,ti)?null:d:null},hUe=aY(function(e){return e===0?0:e>0?1:-1}),_w=function(){var e=function(n,r){return n<0?n:n>r?n-r:0};return function(t){var n=t.current,r=t.max,i=t.change,o=hi(n,i),a={x:e(o.x,r.x),y:e(o.y,r.y)};return Ju(a,ti)?null:a}}(),FY=function(t){var n=t.max,r=t.current,i=t.change,o={x:Math.max(r.x,n.x),y:Math.max(r.y,n.y)},a=hUe(i),s=_w({max:o,current:r,change:a});return!s||a.x!==0&&s.x===0||a.y!==0&&s.y===0},Sw=function(t,n){return FY({current:t.scroll.current,max:t.scroll.max,change:n})},mUe=function(t,n){if(!Sw(t,n))return null;var r=t.scroll.max,i=t.scroll.current;return _w({current:i,max:r,change:n})},xw=function(t,n){var r=t.frame;return r?FY({current:r.scroll.current,max:r.scroll.max,change:n}):!1},gUe=function(t,n){var r=t.frame;return!r||!xw(t,n)?null:_w({current:r.scroll.current,max:r.scroll.max,change:n})},vUe=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=$Y({dragStartTime:i,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return a&&Sw(t,a)?a:null},yUe=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=$Y({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&xw(t,s)?s:null},IM=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id],l=s.page.marginBox;if(t.isWindowScrollAllowed){var c=t.viewport,d=vUe({dragStartTime:n,viewport:c,subject:l,center:a,shouldUseTimeDampening:r});if(d){i(d);return}}var p=lUe({center:a,destination:Uo(t.impact),droppables:t.dimensions.droppables});if(!!p){var h=yUe({dragStartTime:n,droppable:p,subject:l,center:a,shouldUseTimeDampening:r});h&&o(p.descriptor.id,h)}},bUe=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=y0(t),i=y0(n),o=null,a=function(d){o||We(!1);var p=o,h=p.shouldUseTimeDampening,m=p.dragStartTime;IM({state:d,scrollWindow:r,scrollDroppable:i,dragStartTime:m,shouldUseTimeDampening:h})},s=function(d){o&&We(!1);var p=Date.now(),h=!1,m=function(){h=!0};IM({state:d,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:m,scrollDroppable:m}),o={dragStartTime:p,shouldUseTimeDampening:h},h&&a(d)},l=function(){!o||(r.cancel(),i.cancel(),o=null)};return{start:s,stop:l,scroll:a}},EUe=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,i=function(c,d){var p=hi(c.current.client.selection,d);t({client:p})},o=function(c,d){if(!xw(c,d))return d;var p=gUe(c,d);if(!p)return n(c.descriptor.id,d),null;var h=$o(d,p);n(c.descriptor.id,h);var m=$o(d,h);return m},a=function(c,d,p){if(!c||!Sw(d,p))return p;var h=mUe(d,p);if(!h)return r(p),null;var m=$o(p,h);r(m);var v=$o(p,m);return v},s=function(c){var d=c.scrollJumpRequest;if(!!d){var p=Uo(c.impact);p||We(!1);var h=o(c.dimensions.droppables[p],d);if(!!h){var m=c.viewport,v=a(c.isWindowScrollAllowed,m,h);!v||i(c,v)}}};return s},TUe=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=bUe({scrollWindow:n,scrollDroppable:t}),o=EUe({move:r,scrollWindow:n,scrollDroppable:t}),a=function(c){if(c.phase==="DRAGGING"){if(c.movementMode==="FLUID"){i.scroll(c);return}!c.scrollJumpRequest||o(c)}},s={scroll:a,start:i.start,stop:i.stop};return s},ip="data-rbd",op=function(){var e=ip+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Xx=function(){var e=ip+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),_Ue=function(){var e=ip+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),RM={contextId:ip+"-scroll-container-context-id"},SUe=function(t){return function(n){return"["+n+'="'+t+'"]'}},Ih=function(t,n){return t.map(function(r){var i=r.styles[n];return i?r.selector+" { "+i+" }":""}).join(" ")},xUe="pointer-events: none;",CUe=function(e){var t=SUe(e),n=function(){var s=`
      cursor: -webkit-grab;
      cursor: grab;
    `;return{selector:t(op.contextId),styles:{always:`
          -webkit-touch-callout: none;
          -webkit-tap-highlight-color: rgba(0,0,0,0);
          touch-action: manipulation;
        `,resting:s,dragging:xUe,dropAnimating:s}}}(),r=function(){var s=`
      transition: `+Im.outOfTheWay+`;
    `;return{selector:t(Xx.contextId),styles:{dragging:s,dropAnimating:s,userCancel:s}}}(),i={selector:t(_Ue.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:`
        cursor: grabbing;
        cursor: -webkit-grabbing;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        overflow-anchor: none;
      `}},a=[r,n,i,o];return{always:Ih(a,"always"),resting:Ih(a,"resting"),dragging:Ih(a,"dragging"),dropAnimating:Ih(a,"dropAnimating"),userCancel:Ih(a,"userCancel")}},zo=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?T.exports.useLayoutEffect:T.exports.useEffect,S_=function(){var t=document.querySelector("head");return t||We(!1),t},PM=function(t){var n=document.createElement("style");return t&&n.setAttribute("nonce",t),n.type="text/css",n};function wUe(e,t){var n=pn(function(){return CUe(e)},[e]),r=T.exports.useRef(null),i=T.exports.useRef(null),o=yt(ei(function(p){var h=i.current;h||We(!1),h.textContent=p}),[]),a=yt(function(p){var h=r.current;h||We(!1),h.textContent=p},[]);zo(function(){!r.current&&!i.current||We(!1);var p=PM(t),h=PM(t);return r.current=p,i.current=h,p.setAttribute(ip+"-always",e),h.setAttribute(ip+"-dynamic",e),S_().appendChild(p),S_().appendChild(h),a(n.always),o(n.resting),function(){var m=function(y){var x=y.current;x||We(!1),S_().removeChild(x),y.current=null};m(r),m(i)}},[t,a,o,n.always,n.resting,e]);var s=yt(function(){return o(n.dragging)},[o,n.dragging]),l=yt(function(p){if(p==="DROP"){o(n.dropAnimating);return}o(n.userCancel)},[o,n.dropAnimating,n.userCancel]),c=yt(function(){!i.current||o(n.resting)},[o,n.resting]),d=pn(function(){return{dragging:s,dropping:l,resting:c}},[s,l,c]);return d}var BY=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function s4(e){return e instanceof BY(e).HTMLElement}function AUe(e,t){var n="["+op.contextId+'="'+e+'"]',r=sY(document.querySelectorAll(n));if(!r.length)return null;var i=Ac(r,function(o){return o.getAttribute(op.draggableId)===t});return!i||!s4(i)?null:i}function IUe(e){var t=T.exports.useRef({}),n=T.exports.useRef(null),r=T.exports.useRef(null),i=T.exports.useRef(!1),o=yt(function(h,m){var v={id:h,focus:m};return t.current[h]=v,function(){var x=t.current,b=x[h];b!==v&&delete x[h]}},[]),a=yt(function(h){var m=AUe(e,h);m&&m!==document.activeElement&&m.focus()},[e]),s=yt(function(h,m){n.current===h&&(n.current=m)},[]),l=yt(function(){r.current||!i.current||(r.current=requestAnimationFrame(function(){r.current=null;var h=n.current;h&&a(h)}))},[a]),c=yt(function(h){n.current=null;var m=document.activeElement;!m||m.getAttribute(op.draggableId)===h&&(n.current=h)},[]);zo(function(){return i.current=!0,function(){i.current=!1;var h=r.current;h&&cancelAnimationFrame(h)}},[]);var d=pn(function(){return{register:o,tryRecordFocus:c,tryRestoreFocusRecorded:l,tryShiftRecord:s}},[o,c,l,s]);return d}function RUe(){var e={draggables:{},droppables:{}},t=[];function n(p){return t.push(p),function(){var m=t.indexOf(p);m!==-1&&t.splice(m,1)}}function r(p){t.length&&t.forEach(function(h){return h(p)})}function i(p){return e.draggables[p]||null}function o(p){var h=i(p);return h||We(!1),h}var a={register:function(h){e.draggables[h.descriptor.id]=h,r({type:"ADDITION",value:h})},update:function(h,m){var v=e.draggables[m.descriptor.id];!v||v.uniqueId===h.uniqueId&&(delete e.draggables[m.descriptor.id],e.draggables[h.descriptor.id]=h)},unregister:function(h){var m=h.descriptor.id,v=i(m);!v||h.uniqueId===v.uniqueId&&(delete e.draggables[m],r({type:"REMOVAL",value:h}))},getById:o,findById:i,exists:function(h){return Boolean(i(h))},getAllByType:function(h){return $y(e.draggables).filter(function(m){return m.descriptor.type===h})}};function s(p){return e.droppables[p]||null}function l(p){var h=s(p);return h||We(!1),h}var c={register:function(h){e.droppables[h.descriptor.id]=h},unregister:function(h){var m=s(h.descriptor.id);!m||h.uniqueId===m.uniqueId&&delete e.droppables[h.descriptor.id]},getById:l,findById:s,exists:function(h){return Boolean(s(h))},getAllByType:function(h){return $y(e.droppables).filter(function(m){return m.descriptor.type===h})}};function d(){e.draggables={},e.droppables={},t.length=0}return{draggable:a,droppable:c,subscribe:n,clean:d}}function PUe(){var e=pn(RUe,[]);return T.exports.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var Cw=jn.createContext(null),By=function(){var e=document.body;return e||We(!1),e},OUe={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},kUe=function(t){return"rbd-announcement-"+t};function NUe(e){var t=pn(function(){return kUe(e)},[e]),n=T.exports.useRef(null);T.exports.useEffect(function(){var o=document.createElement("div");return n.current=o,o.id=t,o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true"),P(o.style,OUe),By().appendChild(o),function(){setTimeout(function(){var l=By();l.contains(o)&&l.removeChild(o),o===n.current&&(n.current=null)})}},[t]);var r=yt(function(i){var o=n.current;if(o){o.textContent=i;return}},[]);return r}var DUe=0,LUe={separator:"::"};function ww(e,t){return t===void 0&&(t=LUe),pn(function(){return""+e+t.separator+DUe++},[t.separator,e])}function MUe(e){var t=e.contextId,n=e.uniqueId;return"rbd-hidden-text-"+t+"-"+n}function $Ue(e){var t=e.contextId,n=e.text,r=ww("hidden-text",{separator:"-"}),i=pn(function(){return MUe({contextId:t,uniqueId:r})},[r,t]);return T.exports.useEffect(function(){var a=document.createElement("div");return a.id=i,a.textContent=n,a.style.display="none",By().appendChild(a),function(){var l=By();l.contains(a)&&l.removeChild(a)}},[i,n]),i}var l4=jn.createContext(null);function HY(e){var t=T.exports.useRef(e);return T.exports.useEffect(function(){t.current=e}),t}function FUe(){var e=null;function t(){return Boolean(e)}function n(a){return a===e}function r(a){e&&We(!1);var s={abandon:a};return e=s,s}function i(){e||We(!1),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:n,claim:r,release:i,tryAbandon:o}}var BUe=9,HUe=13,Aw=27,UY=32,UUe=33,zUe=34,GUe=35,WUe=36,jUe=37,VUe=38,KUe=39,qUe=40,I5,YUe=(I5={},I5[HUe]=!0,I5[BUe]=!0,I5),zY=function(e){YUe[e.keyCode]&&e.preventDefault()},u4=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],n=Ac(t,function(r){return"on"+r in document});return n||e}(),GY=0,OM=5;function XUe(e,t){return Math.abs(t.x-e.x)>=OM||Math.abs(t.y-e.y)>=OM}var kM={type:"IDLE"};function QUe(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(a){var s=a.button,l=a.clientX,c=a.clientY;if(s===GY){var d={x:l,y:c},p=r();if(p.type==="DRAGGING"){a.preventDefault(),p.actions.move(d);return}p.type!=="PENDING"&&We(!1);var h=p.point;if(!!XUe(h,d)){a.preventDefault();var m=p.actions.fluidLift(d);i({type:"DRAGGING",actions:m})}}}},{eventName:"mouseup",fn:function(a){var s=r();if(s.type!=="DRAGGING"){t();return}a.preventDefault(),s.actions.drop({shouldBlockNextClick:!0}),n()}},{eventName:"mousedown",fn:function(a){r().type==="DRAGGING"&&a.preventDefault(),t()}},{eventName:"keydown",fn:function(a){var s=r();if(s.type==="PENDING"){t();return}if(a.keyCode===Aw){a.preventDefault(),t();return}zY(a)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){r().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(a){var s=r();if(s.type==="IDLE"&&We(!1),s.actions.shouldRespectForcePress()){t();return}a.preventDefault()}},{eventName:u4,fn:t}]}function ZUe(e){var t=T.exports.useRef(kM),n=T.exports.useRef(Zu),r=pn(function(){return{eventName:"mousedown",fn:function(p){if(!p.defaultPrevented&&p.button===GY&&!(p.ctrlKey||p.metaKey||p.shiftKey||p.altKey)){var h=e.findClosestDraggableId(p);if(!!h){var m=e.tryGetLock(h,a,{sourceEvent:p});if(!!m){p.preventDefault();var v={x:p.clientX,y:p.clientY};n.current(),c(m,v)}}}}}},[e]),i=pn(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(p){if(!p.defaultPrevented){var h=e.findClosestDraggableId(p);if(!!h){var m=e.findOptionsForDraggable(h);!m||m.shouldRespectForcePress||!e.canGetLock(h)||p.preventDefault()}}}}},[e]),o=yt(function(){var p={passive:!1,capture:!0};n.current=ya(window,[i,r],p)},[i,r]),a=yt(function(){var d=t.current;d.type!=="IDLE"&&(t.current=kM,n.current(),o())},[o]),s=yt(function(){var d=t.current;a(),d.type==="DRAGGING"&&d.actions.cancel({shouldBlockNextClick:!0}),d.type==="PENDING"&&d.actions.abort()},[a]),l=yt(function(){var p={capture:!0,passive:!1},h=QUe({cancel:s,completed:a,getPhase:function(){return t.current},setPhase:function(v){t.current=v}});n.current=ya(window,h,p)},[s,a]),c=yt(function(p,h){t.current.type!=="IDLE"&&We(!1),t.current={type:"PENDING",point:h,actions:p},l()},[l]);zo(function(){return o(),function(){n.current()}},[o])}var kd;function JUe(){}var eze=(kd={},kd[zUe]=!0,kd[UUe]=!0,kd[WUe]=!0,kd[GUe]=!0,kd);function tze(e,t){function n(){t(),e.cancel()}function r(){t(),e.drop()}return[{eventName:"keydown",fn:function(o){if(o.keyCode===Aw){o.preventDefault(),n();return}if(o.keyCode===UY){o.preventDefault(),r();return}if(o.keyCode===qUe){o.preventDefault(),e.moveDown();return}if(o.keyCode===VUe){o.preventDefault(),e.moveUp();return}if(o.keyCode===KUe){o.preventDefault(),e.moveRight();return}if(o.keyCode===jUe){o.preventDefault(),e.moveLeft();return}if(eze[o.keyCode]){o.preventDefault();return}zY(o)}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:u4,fn:n}]}function nze(e){var t=T.exports.useRef(JUe),n=pn(function(){return{eventName:"keydown",fn:function(o){if(o.defaultPrevented||o.keyCode!==UY)return;var a=e.findClosestDraggableId(o);if(!a)return;var s=e.tryGetLock(a,d,{sourceEvent:o});if(!s)return;o.preventDefault();var l=!0,c=s.snapLift();t.current();function d(){l||We(!1),l=!1,t.current(),r()}t.current=ya(window,tze(c,d),{capture:!0,passive:!1})}}},[e]),r=yt(function(){var o={passive:!1,capture:!0};t.current=ya(window,[n],o)},[n]);zo(function(){return r(),function(){t.current()}},[r])}var x_={type:"IDLE"},rze=120,ize=.15;function oze(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(n().type!=="DRAGGING"){t();return}i.keyCode===Aw&&i.preventDefault(),t()}},{eventName:u4,fn:t}]}function aze(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(o){var a=r();if(a.type!=="DRAGGING"){t();return}a.hasMoved=!0;var s=o.touches[0],l=s.clientX,c=s.clientY,d={x:l,y:c};o.preventDefault(),a.actions.move(d)}},{eventName:"touchend",fn:function(o){var a=r();if(a.type!=="DRAGGING"){t();return}o.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()}},{eventName:"touchcancel",fn:function(o){if(r().type!=="DRAGGING"){t();return}o.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(o){var a=r();a.type==="IDLE"&&We(!1);var s=o.touches[0];if(!!s){var l=s.force>=ize;if(!!l){var c=a.actions.shouldRespectForcePress();if(a.type==="PENDING"){c&&t();return}if(c){if(a.hasMoved){o.preventDefault();return}t();return}o.preventDefault()}}}},{eventName:u4,fn:t}]}function sze(e){var t=T.exports.useRef(x_),n=T.exports.useRef(Zu),r=yt(function(){return t.current},[]),i=yt(function(m){t.current=m},[]),o=pn(function(){return{eventName:"touchstart",fn:function(m){if(!m.defaultPrevented){var v=e.findClosestDraggableId(m);if(!!v){var y=e.tryGetLock(v,s,{sourceEvent:m});if(!!y){var x=m.touches[0],b=x.clientX,_=x.clientY,S={x:b,y:_};n.current(),p(y,S)}}}}}},[e]),a=yt(function(){var m={capture:!0,passive:!1};n.current=ya(window,[o],m)},[o]),s=yt(function(){var h=t.current;h.type!=="IDLE"&&(h.type==="PENDING"&&clearTimeout(h.longPressTimerId),i(x_),n.current(),a())},[a,i]),l=yt(function(){var h=t.current;s(),h.type==="DRAGGING"&&h.actions.cancel({shouldBlockNextClick:!0}),h.type==="PENDING"&&h.actions.abort()},[s]),c=yt(function(){var m={capture:!0,passive:!1},v={cancel:l,completed:s,getPhase:r},y=ya(window,aze(v),m),x=ya(window,oze(v),m);n.current=function(){y(),x()}},[l,r,s]),d=yt(function(){var m=r();m.type!=="PENDING"&&We(!1);var v=m.actions.fluidLift(m.point);i({type:"DRAGGING",actions:v,hasMoved:!1})},[r,i]),p=yt(function(m,v){r().type!=="IDLE"&&We(!1);var y=setTimeout(d,rze);i({type:"PENDING",point:v,actions:m,longPressTimerId:y}),c()},[c,r,i,d]);zo(function(){return a(),function(){n.current();var v=r();v.type==="PENDING"&&(clearTimeout(v.longPressTimerId),i(x_))}},[r,a,i]),zo(function(){var m=ya(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return m},[])}var lze={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function WY(e,t){if(t==null)return!1;var n=Boolean(lze[t.tagName.toLowerCase()]);if(n)return!0;var r=t.getAttribute("contenteditable");return r==="true"||r===""?!0:t===e?!1:WY(e,t.parentElement)}function uze(e,t){var n=t.target;return s4(n)?WY(e,n):!1}var cze=function(e){return Ja(e.getBoundingClientRect()).center};function dze(e){return e instanceof BY(e).Element}var fze=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],n=Ac(t,function(r){return r in Element.prototype});return n||e}();function jY(e,t){return e==null?null:e[fze](t)?e:jY(e.parentElement,t)}function pze(e,t){return e.closest?e.closest(t):jY(e,t)}function hze(e){return"["+op.contextId+'="'+e+'"]'}function mze(e,t){var n=t.target;if(!dze(n))return null;var r=hze(e),i=pze(n,r);return!i||!s4(i)?null:i}function gze(e,t){var n=mze(e,t);return n?n.getAttribute(op.draggableId):null}function vze(e,t){var n="["+Xx.contextId+'="'+e+'"]',r=sY(document.querySelectorAll(n)),i=Ac(r,function(o){return o.getAttribute(Xx.id)===t});return!i||!s4(i)?null:i}function yze(e){e.preventDefault()}function R5(e){var t=e.expected,n=e.phase,r=e.isLockActive;return e.shouldWarn,!(!r()||t!==n)}function VY(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(i);return!(!o||!o.options.isEnabled||!LY(n.getState(),i))}function bze(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,a=e.forceSensorStop,s=e.sourceEvent,l=VY({lockAPI:t,store:r,registry:i,draggableId:o});if(!l)return null;var c=i.draggable.getById(o),d=vze(n,c.descriptor.id);if(!d||s&&!c.options.canDragInteractiveElements&&uze(d,s))return null;var p=t.claim(a||Zu),h="PRE_DRAG";function m(){return c.options.shouldRespectForcePress}function v(){return t.isActive(p)}function y(A,R){R5({expected:A,phase:h,isLockActive:v,shouldWarn:!0})&&r.dispatch(R())}var x=y.bind(null,"DRAGGING");function b(A){function R(){t.release(),h="COMPLETED"}h!=="PRE_DRAG"&&(R(),h!=="PRE_DRAG"&&We(!1)),r.dispatch(fHe(A.liftActionArgs)),h="DRAGGING";function N(F,L){if(L===void 0&&(L={shouldBlockNextClick:!1}),A.cleanup(),L.shouldBlockNextClick){var H=ya(window,[{eventName:"click",fn:yze,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(H)}R(),r.dispatch(IY({reason:F}))}return P({isActive:function(){return R5({expected:"DRAGGING",phase:h,isLockActive:v,shouldWarn:!1})},shouldRespectForcePress:m,drop:function(L){return N("DROP",L)},cancel:function(L){return N("CANCEL",L)}},A.actions)}function _(A){var R=y0(function(F){x(function(){return AY({client:F})})}),N=b({liftActionArgs:{id:o,clientSelection:A,movementMode:"FLUID"},cleanup:function(){return R.cancel()},actions:{move:R}});return P({},N,{move:R})}function S(){var A={moveUp:function(){return x(THe)},moveRight:function(){return x(SHe)},moveDown:function(){return x(_He)},moveLeft:function(){return x(xHe)}};return b({liftActionArgs:{id:o,clientSelection:cze(d),movementMode:"SNAP"},cleanup:Zu,actions:A})}function C(){var A=R5({expected:"PRE_DRAG",phase:h,isLockActive:v,shouldWarn:!0});A&&t.release()}var O={isActive:function(){return R5({expected:"PRE_DRAG",phase:h,isLockActive:v,shouldWarn:!1})},shouldRespectForcePress:m,fluidLift:_,snapLift:S,abort:C};return O}var Eze=[ZUe,nze,sze];function Tze(e){var t=e.contextId,n=e.store,r=e.registry,i=e.customSensors,o=e.enableDefaultSensors,a=[].concat(o?Eze:[],i||[]),s=T.exports.useState(function(){return FUe()})[0],l=yt(function(_,S){_.isDragging&&!S.isDragging&&s.tryAbandon()},[s]);zo(function(){var _=n.getState(),S=n.subscribe(function(){var C=n.getState();l(_,C),_=C});return S},[s,n,l]),zo(function(){return s.tryAbandon},[s.tryAbandon]);for(var c=yt(function(b){return VY({lockAPI:s,registry:r,store:n,draggableId:b})},[s,r,n]),d=yt(function(b,_,S){return bze({lockAPI:s,registry:r,contextId:t,store:n,draggableId:b,forceSensorStop:_,sourceEvent:S&&S.sourceEvent?S.sourceEvent:null})},[t,s,r,n]),p=yt(function(b){return gze(t,b)},[t]),h=yt(function(b){var _=r.draggable.findById(b);return _?_.options:null},[r.draggable]),m=yt(function(){!s.isClaimed()||(s.tryAbandon(),n.getState().phase!=="IDLE"&&n.dispatch(vw()))},[s,n]),v=yt(s.isClaimed,[s]),y=pn(function(){return{canGetLock:c,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:h,tryReleaseLock:m,isLockClaimed:v}},[c,d,p,h,m,v]),x=0;x<a.length;x++)a[x](y)}var _ze=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function Rh(e){return e.current||We(!1),e.current}function Sze(e){var t=e.contextId,n=e.setCallbacks,r=e.sensors,i=e.nonce,o=e.dragHandleUsageInstructions,a=T.exports.useRef(null),s=HY(e),l=yt(function(){return _ze(s.current)},[s]),c=NUe(t),d=$Ue({contextId:t,text:o}),p=wUe(t,i),h=yt(function(F){Rh(a).dispatch(F)},[]),m=pn(function(){return oM({publishWhileDragging:hHe,updateDroppableScroll:gHe,updateDroppableIsEnabled:vHe,updateDroppableIsCombineEnabled:yHe,collectionStarting:mHe},h)},[h]),v=PUe(),y=pn(function(){return iUe(v,m)},[v,m]),x=pn(function(){return TUe(P({scrollWindow:oUe,scrollDroppable:y.scrollDroppable},oM({move:AY},h)))},[y.scrollDroppable,h]),b=IUe(t),_=pn(function(){return eUe({announce:c,autoScroller:x,dimensionMarshal:y,focusMarshal:b,getResponders:l,styleMarshal:p})},[c,x,y,b,l,p]);a.current=_;var S=yt(function(){var F=Rh(a),L=F.getState();L.phase!=="IDLE"&&F.dispatch(vw())},[]),C=yt(function(){var F=Rh(a).getState();return F.isDragging||F.phase==="DROP_ANIMATING"},[]),O=pn(function(){return{isDragging:C,tryAbort:S}},[C,S]);n(O);var A=yt(function(F){return LY(Rh(a).getState(),F)},[]),R=yt(function(){return Yc(Rh(a).getState())},[]),N=pn(function(){return{marshal:y,focus:b,contextId:t,canLift:A,isMovementAllowed:R,dragHandleUsageInstructionsId:d,registry:v}},[t,y,d,b,A,R,v]);return Tze({contextId:t,store:_,registry:v,customSensors:r,enableDefaultSensors:e.enableDefaultSensors!==!1}),T.exports.useEffect(function(){return S},[S]),E(l4.Provider,{value:N,children:E(oFe,{context:Cw,store:_,children:e.children})})}var xze=0;function Cze(){return pn(function(){return""+xze++},[])}function wze(e){var t=Cze(),n=e.dragHandleUsageInstructions||E9.dragHandleUsageInstructions;return E(nBe,{children:function(r){return E(Sze,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,children:e.children})}})}var KY=function(t){return function(n){return t===n}},Aze=KY("scroll"),Ize=KY("auto"),NM=function(t,n){return n(t.overflowX)||n(t.overflowY)},Rze=function(t){var n=window.getComputedStyle(t),r={overflowX:n.overflowX,overflowY:n.overflowY};return NM(r,Aze)||NM(r,Ize)},Pze=function(){return!1},Oze=function e(t){return t==null?null:t===document.body?Pze()?t:null:t===document.documentElement?null:Rze(t)?t:e(t.parentElement)},Qx=function(e){return{x:e.scrollLeft,y:e.scrollTop}},kze=function e(t){if(!t)return!1;var n=window.getComputedStyle(t);return n.position==="fixed"?!0:e(t.parentElement)},Nze=function(e){var t=Oze(e),n=kze(e);return{closestScrollable:t,isFixedOnPage:n}},Dze=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var m=l.scrollSize,v=l.client,y=kY({scrollHeight:m.scrollHeight,scrollWidth:m.scrollWidth,height:v.paddingBox.height,width:v.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:v,scrollSize:m,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:y,diff:{value:ti,displacement:ti}}}}(),d=o==="vertical"?fw:fY,p=rp({page:s,withPlaceholder:null,axis:d,frame:c}),h={descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:d,isEnabled:n,client:a,page:s,frame:c,subject:p};return h},Lze=function(t,n){var r=nY(t);if(!n||t!==n)return r;var i=r.paddingBox.top-n.scrollTop,o=r.paddingBox.left-n.scrollLeft,a=i+n.scrollHeight,s=o+n.scrollWidth,l={top:i,right:s,bottom:a,left:o},c=sw(l,r.border),d=lw({borderBox:c,margin:r.margin,border:r.border,padding:r.padding});return d},Mze=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,d=Lze(t,c),p=Dy(d,i),h=function(){if(!c)return null;var v=nY(c),y={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:v,page:Dy(v,i),scroll:Qx(c),scrollSize:y,shouldClipSubject:l}}(),m=Dze({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:o,client:d,page:p,closest:h});return m},$ze={passive:!1},Fze={passive:!0},DM=function(e){return e.shouldPublishImmediately?$ze:Fze};function Hy(e){var t=T.exports.useContext(e);return t||We(!1),t}var P5=function(t){return t&&t.env.closestScrollable||null};function Bze(e){var t=T.exports.useRef(null),n=Hy(l4),r=ww("droppable"),i=n.registry,o=n.marshal,a=HY(e),s=pn(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),l=T.exports.useRef(s),c=pn(function(){return ei(function(C,O){t.current||We(!1);var A={x:C,y:O};o.updateDroppableScroll(s.id,A)})},[s.id,o]),d=yt(function(){var C=t.current;return!C||!C.env.closestScrollable?ti:Qx(C.env.closestScrollable)},[]),p=yt(function(){var C=d();c(C.x,C.y)},[d,c]),h=pn(function(){return y0(p)},[p]),m=yt(function(){var C=t.current,O=P5(C);C&&O||We(!1);var A=C.scrollOptions;if(A.shouldPublishImmediately){p();return}h()},[h,p]),v=yt(function(C,O){t.current&&We(!1);var A=a.current,R=A.getDroppableRef();R||We(!1);var N=Nze(R),F={ref:R,descriptor:s,env:N,scrollOptions:O};t.current=F;var L=Mze({ref:R,descriptor:s,env:N,windowScroll:C,direction:A.direction,isDropDisabled:A.isDropDisabled,isCombineEnabled:A.isCombineEnabled,shouldClipSubject:!A.ignoreContainerClipping}),H=N.closestScrollable;return H&&(H.setAttribute(RM.contextId,n.contextId),H.addEventListener("scroll",m,DM(F.scrollOptions))),L},[n.contextId,s,m,a]),y=yt(function(){var C=t.current,O=P5(C);return C&&O||We(!1),Qx(O)},[]),x=yt(function(){var C=t.current;C||We(!1);var O=P5(C);t.current=null,O&&(h.cancel(),O.removeAttribute(RM.contextId),O.removeEventListener("scroll",m,DM(C.scrollOptions)))},[m,h]),b=yt(function(C){var O=t.current;O||We(!1);var A=P5(O);A||We(!1),A.scrollTop+=C.y,A.scrollLeft+=C.x},[]),_=pn(function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:y,dragStopped:x,scroll:b}},[x,v,y,b]),S=pn(function(){return{uniqueId:r,descriptor:s,callbacks:_}},[_,s,r]);zo(function(){return l.current=S.descriptor,i.droppable.register(S),function(){t.current&&x(),i.droppable.unregister(S)}},[_,s,x,S,o,i.droppable]),zo(function(){!t.current||o.updateDroppableIsEnabled(l.current.id,!e.isDropDisabled)},[e.isDropDisabled,o]),zo(function(){!t.current||o.updateDroppableIsCombineEnabled(l.current.id,e.isCombineEnabled)},[e.isCombineEnabled,o])}function C_(){}var LM={width:0,height:0,margin:lBe},Hze=function(t){var n=t.isAnimatingOpenOnMount,r=t.placeholder,i=t.animate;return n||i==="close"?LM:{height:r.client.borderBox.height,width:r.client.borderBox.width,margin:r.client.margin}},Uze=function(t){var n=t.isAnimatingOpenOnMount,r=t.placeholder,i=t.animate,o=Hze({isAnimatingOpenOnMount:n,placeholder:r,animate:i});return{display:r.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?Im.placeholder:null}};function zze(e){var t=T.exports.useRef(null),n=yt(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),r=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.contextId,s=T.exports.useState(e.animate==="open"),l=s[0],c=s[1];T.exports.useEffect(function(){return l?r!=="open"?(n(),c(!1),C_):t.current?C_:(t.current=setTimeout(function(){t.current=null,c(!1)}),n):C_},[r,l,n]);var d=yt(function(h){h.propertyName==="height"&&(i(),r==="close"&&o())},[r,o,i]),p=Uze({isAnimatingOpenOnMount:l,animate:e.animate,placeholder:e.placeholder});return jn.createElement(e.placeholder.tagName,{style:p,"data-rbd-placeholder-context-id":a,onTransitionEnd:d,ref:e.innerRef})}var Gze=jn.memo(zze),Iw=jn.createContext(null),Wze=function(e){hb(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o))||this,r.state={isVisible:Boolean(r.props.on),data:r.props.on,animate:r.props.shouldAnimate&&r.props.on?"open":"none"},r.onClose=function(){r.state.animate==="close"&&r.setState({isVisible:!1})},r}t.getDerivedStateFromProps=function(i,o){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:o.isVisible?{isVisible:!0,data:o.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(i.on),data:i.on,animate:"none"}};var n=t.prototype;return n.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(jn.PureComponent),MM={dragging:5e3,dropAnimating:4500},jze=function(t,n){return n?Im.drop(n.duration):t?Im.snap:Im.fluid},Vze=function(t,n){return t?n?_0.opacity.drop:_0.opacity.combining:null},Kze=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function qze(e){var t=e.dimension,n=t.client,r=e.offset,i=e.combineWith,o=e.dropping,a=Boolean(i),s=Kze(e),l=Boolean(o),c=l?qx.drop(r,a):qx.moveTo(r),d={position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:jze(s,o),transform:c,opacity:Vze(a,l),zIndex:l?MM.dropAnimating:MM.dragging,pointerEvents:"none"};return d}function Yze(e){return{transform:qx.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function Xze(e){return e.type==="DRAGGING"?qze(e):Yze(e)}function Qze(e,t,n){n===void 0&&(n=ti);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=tY(i,r),a=Dy(o,n),s={client:o,tagName:t.tagName.toLowerCase(),display:r.display},l={x:o.marginBox.width,y:o.marginBox.height},c={descriptor:e,placeholder:s,displaceBy:l,client:o,page:a};return c}function Zze(e){var t=ww("draggable"),n=e.descriptor,r=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,a=e.shouldRespectForcePress,s=e.isEnabled,l=pn(function(){return{canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:s}},[o,s,a]),c=yt(function(m){var v=i();return v||We(!1),Qze(n,v,m)},[n,i]),d=pn(function(){return{uniqueId:t,descriptor:n,options:l,getDimension:c}},[n,c,l,t]),p=T.exports.useRef(d),h=T.exports.useRef(!0);zo(function(){return r.draggable.register(p.current),function(){return r.draggable.unregister(p.current)}},[r.draggable]),zo(function(){if(h.current){h.current=!1;return}var m=p.current;p.current=d,r.draggable.update(d,m)},[d,r.draggable])}function Jze(e){e.preventDefault()}function eGe(e){var t=T.exports.useRef(null),n=yt(function(F){t.current=F},[]),r=yt(function(){return t.current},[]),i=Hy(l4),o=i.contextId,a=i.dragHandleUsageInstructionsId,s=i.registry,l=Hy(Iw),c=l.type,d=l.droppableId,p=pn(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}},[e.draggableId,e.index,c,d]),h=e.children,m=e.draggableId,v=e.isEnabled,y=e.shouldRespectForcePress,x=e.canDragInteractiveElements,b=e.isClone,_=e.mapped,S=e.dropAnimationFinished;if(!b){var C=pn(function(){return{descriptor:p,registry:s,getDraggableRef:r,canDragInteractiveElements:x,shouldRespectForcePress:y,isEnabled:v}},[p,s,r,x,y,v]);Zze(C)}var O=pn(function(){return v?{tabIndex:0,role:"button","aria-describedby":a,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:Jze}:null},[o,a,m,v]),A=yt(function(F){_.type==="DRAGGING"&&(!_.dropping||F.propertyName==="transform"&&S())},[S,_]),R=pn(function(){var F=Xze(_),L=_.type==="DRAGGING"&&_.dropping?A:null,H={innerRef:n,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":m,style:F,onTransitionEnd:L},dragHandleProps:O};return H},[o,O,m,_,A,n]),N=pn(function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}},[p.droppableId,p.id,p.index,p.type]);return h(R,_.snapshot,N)}var qY=function(e,t){return e===t},YY=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null},tGe=function(t){return t.combine?t.combine.draggableId:null},nGe=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function rGe(){var e=ei(function(i,o){return{x:i,y:o}}),t=ei(function(i,o,a,s,l){return{isDragging:!0,isClone:o,isDropAnimating:Boolean(l),dropAnimation:l,mode:i,draggingOver:a,combineWith:s,combineTargetFor:null}}),n=ei(function(i,o,a,s,l,c,d){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:l,combineWith:c,mode:o,offset:i,dimension:a,forceShouldAnimate:d,snapshot:t(o,s,l,c,null)}}}),r=function(o,a){if(o.isDragging){if(o.critical.draggable.id!==a.draggableId)return null;var s=o.current.client.offset,l=o.dimensions.draggables[a.draggableId],c=Uo(o.impact),d=nGe(o.impact),p=o.forceShouldAnimate;return n(e(s.x,s.y),o.movementMode,l,a.isClone,c,d,p)}if(o.phase==="DROP_ANIMATING"){var h=o.completed;if(h.result.draggableId!==a.draggableId)return null;var m=a.isClone,v=o.dimensions.draggables[a.draggableId],y=h.result,x=y.mode,b=YY(y),_=tGe(y),S=o.dropDuration,C={duration:S,curve:bw.drop,moveTo:o.newHomeClientOffset,opacity:_?_0.opacity.drop:null,scale:_?_0.scale.drop:null};return{mapped:{type:"DRAGGING",offset:o.newHomeClientOffset,dimension:v,dropping:C,draggingOver:b,combineWith:_,mode:x,forceShouldAnimate:null,snapshot:t(x,m,b,_,C)}}}return null};return r}function XY(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var iGe={mapped:{type:"SECONDARY",offset:ti,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:XY(null)}};function oGe(){var e=ei(function(a,s){return{x:a,y:s}}),t=ei(XY),n=ei(function(a,s,l){return s===void 0&&(s=null),{mapped:{type:"SECONDARY",offset:a,combineTargetFor:s,shouldAnimateDisplacement:l,snapshot:t(s)}}}),r=function(s){return s?n(ti,s,!0):null},i=function(s,l,c,d){var p=c.displaced.visible[s],h=Boolean(d.inVirtualList&&d.effected[s]),m=i4(c),v=m&&m.draggableId===s?l:null;if(!p){if(!h)return r(v);if(c.displaced.invisible[s])return null;var y=Np(d.displacedBy.point),x=e(y.x,y.y);return n(x,v,!0)}if(h)return r(v);var b=c.displacedBy.point,_=e(b.x,b.y);return n(_,v,p.shouldAnimate)},o=function(s,l){if(s.isDragging)return s.critical.draggable.id===l.draggableId?null:i(l.draggableId,s.critical.draggable.id,s.impact,s.afterCritical);if(s.phase==="DROP_ANIMATING"){var c=s.completed;return c.result.draggableId===l.draggableId?null:i(l.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return o}var aGe=function(){var t=rGe(),n=oGe(),r=function(o,a){return t(o,a)||n(o,a)||iGe};return r},sGe={dropAnimationFinished:RY},lGe=Jq(aGe,sGe,null,{context:Cw,pure:!0,areStatePropsEqual:qY})(eGe);function QY(e){var t=Hy(Iw),n=t.isUsingCloneFor;return n===e.draggableId&&!e.isClone?null:E(lGe,{...e})}function uGe(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return E(QY,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r})}function cGe(e){var t=T.exports.useContext(l4);t||We(!1);var n=t.contextId,r=t.isMovementAllowed,i=T.exports.useRef(null),o=T.exports.useRef(null),a=e.children,s=e.droppableId,l=e.type,c=e.mode,d=e.direction,p=e.ignoreContainerClipping,h=e.isDropDisabled,m=e.isCombineEnabled,v=e.snapshot,y=e.useClone,x=e.updateViewportMaxScroll,b=e.getContainerForClone,_=yt(function(){return i.current},[]),S=yt(function(H){i.current=H},[]);yt(function(){return o.current},[]);var C=yt(function(H){o.current=H},[]),O=yt(function(){r()&&x({maxScroll:DY()})},[r,x]);Bze({droppableId:s,type:l,mode:c,direction:d,isDropDisabled:h,isCombineEnabled:m,ignoreContainerClipping:p,getDroppableRef:_});var A=E(Wze,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(H){var j=H.onClose,Y=H.data,K=H.animate;return E(Gze,{placeholder:Y,onClose:j,innerRef:C,animate:K,contextId:n,onTransitionEnd:O})}}),R=pn(function(){return{innerRef:S,placeholder:A,droppableProps:{"data-rbd-droppable-id":s,"data-rbd-droppable-context-id":n}}},[n,s,A,S]),N=y?y.dragging.draggableId:null,F=pn(function(){return{droppableId:s,type:l,isUsingCloneFor:N}},[s,N,l]);function L(){if(!y)return null;var H=y.dragging,j=y.render,Y=E(QY,{draggableId:H.draggableId,index:H.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(K,Z){return j(K,Z,H)}});return Lh.createPortal(Y,b())}return te(Iw.Provider,{value:F,children:[a(R,v),L()]})}var w_=function(t,n){return t===n.droppable.type},$M=function(t,n){return n.draggables[t.draggable.id]},dGe=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},n=P({},t,{shouldAnimatePlaceholder:!1}),r=ei(function(a){return{draggableId:a.id,type:a.type,source:{index:a.index,droppableId:a.droppableId}}}),i=ei(function(a,s,l,c,d,p){var h=d.descriptor.id,m=d.descriptor.droppableId===a;if(m){var v=p?{render:p,dragging:r(d.descriptor)}:null,y={isDraggingOver:l,draggingOverWith:l?h:null,draggingFromThisWith:h,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!1,snapshot:y,useClone:v}}if(!s)return n;if(!c)return t;var x={isDraggingOver:l,draggingOverWith:h,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!0,snapshot:x,useClone:null}}),o=function(s,l){var c=l.droppableId,d=l.type,p=!l.isDropDisabled,h=l.renderClone;if(s.isDragging){var m=s.critical;if(!w_(d,m))return n;var v=$M(m,s.dimensions),y=Uo(s.impact)===c;return i(c,p,y,y,v,h)}if(s.phase==="DROP_ANIMATING"){var x=s.completed;if(!w_(d,x.critical))return n;var b=$M(x.critical,s.dimensions);return i(c,p,YY(x.result)===c,Uo(x.impact)===c,b,h)}if(s.phase==="IDLE"&&s.completed&&!s.shouldFlush){var _=s.completed;if(!w_(d,_.critical))return n;var S=Uo(_.impact)===c,C=Boolean(_.impact.at&&_.impact.at.type==="COMBINE"),O=_.critical.droppable.id===c;return S?C?t:n:O?t:n}return n};return o},fGe={updateViewportMaxScroll:EHe};function pGe(){return document.body||We(!1),document.body}var hGe={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:pGe},ZY=Jq(dGe,fGe,null,{context:Cw,pure:!0,areStatePropsEqual:qY})(cGe);ZY.defaultProps=hGe;const Mp=Pt.PhotoRoutePage.Controls,mGe=Mp.ToLabel,gGe=Mp.ToPlaceholder,vGe=Mp.stopLabel,yGe=Mp.stopPlaceHolder,bGe=Mp.EmptyStopWarning,EGe=Mp.ConsecutiveStopWarning,TGe=xt(()=>{var h,m;const{destinations:e,pathfinder:t}=T.exports.useContext(gt),[n,r]=T.exports.useState(!1),[i,o]=T.exports.useState(null),a=Dn(),s=$t(bGe),l=$t(EGe),c=(m=(h=a.stops)==null?void 0:h.limit)!=null?m:2,d=e.stops,p=T.exports.useCallback(v=>{if(!v.destination)return;r(!1);const y=v.source.index,x=v.destination.index,b=e.stops,_=e.startDestination;if(!b[y]&&x<b.length-1){o(s),r(!0);return}const C=[_,...b],O=C.splice(y+1,1);if(C.splice(x+1,0,...O),C.some((A,R)=>A===C[R-1])){o(l),r(!0);return}e.setStops(C.slice(1).map(A=>A==null?void 0:A.id))},[s,l]);return te(Qt,{children:[te(wze,{onDragEnd:p,children:[E(np,{open:n,autoHideDuration:5e3,onClose:(v,y)=>y==="timeout"&&r(!1),anchorOrigin:{vertical:"top",horizontal:"center"},children:E(tp,{severity:"error",variant:"filled",onClose:()=>r(!1),children:i})}),E(ZY,{droppableId:"stops",type:"group",children:v=>te(Wi,{ref:v.innerRef,...v.droppableProps,spacing:11,children:[d.map((y,x)=>E(uGe,{draggableId:`stop-${x}`,index:x,children:b=>E(Oe,{ref:b.innerRef,...b.draggableProps,children:E(_Ge,{index:x,dragHandleProps:b.dragHandleProps})})},`stop-${x}`)),v.placeholder]})})]}),E(Dr,{variant:"text",color:"primary",disabled:d.length-1>=c||d.some(v=>!v)||t.loading,onClick:()=>{e.insertStop()},children:"Add Stop"})]})}),_Ge=xt(({index:e,dragHandleProps:t})=>{const{destinations:n,pathfinder:r}=T.exports.useContext(gt),i=$t(mGe),o=$t(gGe),a=$t(vGe,{count:e+1}),s=$t(yGe),l=n.stops,c=l[e];return te(Oe,{sx:{display:"flex",position:"relative"},children:[E(e4,{destinations:n.destinations,label:e===l.length-1?i:a,placeholder:e===l.length-1?o:s,disabled:r.loading,value:c,onChange:(d,p)=>{n.setStop(e,p==null?void 0:p.id)},getOptionDisabled:d=>{const p=l[e-1]||n.startDestination,h=l[e+1];return d.closed||!!(p&&p.id===d.id)||!!(h&&h.id===d.id)},popupIcon:E(dg,{fontSize:"small"}),slotProps:{popupIndicator:{onClick:()=>n.removeStop(e),title:"Remove stop",sx:{display:e===0&&l.length<=1?"none":"block",transform:"none"}}}}),E(lc,{...t,size:"small",disableTouchRipple:!0,disabled:r.loading,sx:{position:"absolute",right:"100%",top:"50%",p:2,transform:"translateY(-50%)"},children:E(Bq,{fontSize:"small"})})]})}),SGe=xt(()=>{const{languages:e,pathfinder:t,analytics:n}=T.exports.useContext(gt),r=e.selectedLanguage;return E(fg,{options:e.availableLanguages,sx:{ml:30},fullWidth:!0,disabled:t.loading,clearIcon:!1,autoSelect:!1,selectOnFocus:!0,blurOnSelect:"touch",openOnFocus:!0,disableClearable:!0,isOptionEqualToValue:(i,o)=>i.id===o.id,onChange:(i,o)=>{if(o.id!==(r==null?void 0:r.id))return n.log(Mn.ChangeLanguage,{previousValue:r==null?void 0:r.id,value:o.id}),e.selectLanguage(o.id)},value:r||null,renderInput:i=>E(wc,{...i})})}),JY=Pt.PhotoRoutePage.Progress,xGe=JY.EstimatedTime,CGe=JY.CurrentProgress,wGe=Pt.Misc.Minutes,AGe=()=>{const{pathfinder:e}=T.exports.useContext(gt),t=e.estimatedTime<1?e.progress===100?"0":"< 1":e.estimatedTime;return te(Wi,{direction:"row",justifyContent:"space-between",mx:5,spacing:10,children:[te(Oe,{display:"flex",flexWrap:"wrap",gap:9,children:[te(nt,{component:"span",lineHeight:"14px",variant:"body1",color:"textSecondary",fontSize:12,children:[E(Rt,{id:xGe}),":"]}),te(nt,{component:"span",lineHeight:"14px",variant:"body1",fontSize:12,fontWeight:500,children:[t,"\xA0",E(Rt,{id:wGe})]})]}),te(Oe,{display:"flex",flexWrap:"wrap",gap:4,children:[te(nt,{component:"span",lineHeight:"14px",variant:"body1",color:"textSecondary",fontSize:12,children:[E(Rt,{id:CGe}),":"]}),te(nt,{component:"span",lineHeight:"14px",variant:"body1",fontSize:12,fontWeight:500,children:[e.progress,"\xA0%"]})]})]})},eX=xt(AGe),IGe=Pt.Misc.End,RGe=Pt.PhotoRoutePage.Controls.ShowRouteLabel,PGe=({fullWidth:e=!0,...t})=>{const{pathfinder:n,destinations:r}=T.exports.useContext(gt);return E(Dr,{variant:"contained",fullWidth:e,...t,disabled:!r.startDestination||!r.endDestination||n.loading||r.startDestination.id===r.endDestination.id,onClick:()=>{n.path?n.reset({removeFollowups:!0,logAnalytics:!0}):n.loadPrimaryPath()},color:n.path?"error":"primary",sx:{textTransform:"none",fontSize:"1rem",fontWeight:500,lineHeight:"1.1428",py:8},children:n.path?E(Rt,{id:IGe}):E(Rt,{id:RGe})})},OGe=xt(PGe);var Rw={},kGe=rr.exports;Object.defineProperty(Rw,"__esModule",{value:!0});var tX=Rw.default=void 0,NGe=kGe(lr()),FM=ur,DGe=(0,NGe.default)([(0,FM.jsx)("circle",{cx:"12",cy:"4",r:"2"},"0"),(0,FM.jsx)("path",{d:"M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"},"1")],"Accessible");tX=Rw.default=DGe;const LGe=xt(()=>{const{queryParams:e,pathfinder:t,analytics:n}=T.exports.useContext(gt);return te(Oe,{display:"flex",alignItems:"center",children:[E(Oe,{sx:{fontSize:34,ml:5,height:34,display:"flex",alignItems:"center"},children:E(tX,{fontSize:"inherit"})}),E(s6,{sx:{ml:9},disabled:t.loading,checked:e.params.WheelChair||!1,onChange:(r,i)=>{n.log(Mn.ToggleWheelchair,{previousValue:!i,value:i}),e.updateQueryParams({WheelChair:i||void 0})}})]})}),Pw=xt(()=>{var a;const{destinations:e,pathfinder:t,queryParams:n}=T.exports.useContext(gt),r=Dn(),i=n.params.homepage,o=e.startDestination&&e.endDestination&&!t.loading&&!t.path&&e.startDestination.id!==e.endDestination.id;return te(Oe,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[te(Wi,{spacing:11,sx:{paddingInlineStart:i?20:0},children:[!ae.isEmpty(n.params.MultiBuilding)&&E(s$e,{}),E(U$e,{}),i&&!((a=r.stops)!=null&&a.disabled)?E(TGe,{}):E(K$e,{})]}),te(Wi,{direction:"row",mt:13,mb:30,alignItems:"center",children:[E(Oe,{ml:5,children:E(LGe,{})}),E(SGe,{})]}),o&&E(Oe,{mb:15,children:E(OGe,{})}),E(Za,{sx:s=>({mt:"auto",borderBottomStyle:"dashed",borderBottomWidth:1,borderBottomColor:s.palette.background.surface2})}),E(Oe,{mt:16,mb:18,children:E(eX,{})})]})});Pw.displayName="PathfinderControls";const MGe=ye(AOe,{shouldForwardProp:()=>!0})(({theme:e,value:t,max:n})=>({borderRadius:"0 0 5px 5px",paddingTop:"0 !important",paddingBottom:"0 !important",height:8,display:"block",[`& .${va.thumb}`]:{display:"none"},[`& .${va.track}`]:{borderRadius:t===n?"inherit":"0 0 0 5px",display:t===0?"none":"block"},[`& .${va.rail}`]:{backgroundColor:e.palette.background.surface2},[`& .${va.mark}`]:{height:"100%",width:2,[`&[data-index="${n}"],&[data-index="0"]`]:{display:"none"},color:"rgba(0, 0, 0, 0.08)"}})),nX=xt(()=>{var i;const{pathfinder:e}=T.exports.useContext(gt),[t,n]=T.exports.useState(0),r=((i=e.currentPath)==null?void 0:i.data)||[];return E(MGe,{value:e.progressPosition||0,min:0,max:(r==null?void 0:r.length)||1,marks:!0,step:1,onClick:()=>{t<=((r==null?void 0:r.length)||0)&&n(o=>o+1)}})}),rX=T.exports.memo(T.exports.forwardRef(({fixed:e,isHomePage:t},n)=>E(eu,{disableGutters:!0,maxWidth:t?"lg":"sm",sx:{px:15,pt:16,pb:20,visibility:e?"hidden":"visible",zIndex:10},children:te(UV,{elevation:1,ref:n,children:[te(Oe,{sx:{px:18},children:[E(C3,{}),te(n_,{container:!0,spacing:16,children:[E(n_,{item:!0,xs:12,md:t?6:12,children:E(Pw,{})}),t&&E(n_,{item:!0,xs:12,md:t?6:12,children:E(a$e,{})})]})]}),E(nX,{})]})})));rX.displayName="NormalControls";const Ow=Pt.PhotoRoutePage.Controls,$Ge=Ow.CancelLabel,FGe=Ow.EndRouteWarning,BGe=Ow.YesLabel,HGe=({open:e,onClose:t,onConfirm:n})=>te(pg,{open:e,onClose:t,PaperProps:{sx:r=>({bgcolor:r.palette.primary.main,color:r.palette.primary.contrastText})},children:[E(c6,{sx:{px:16,pt:20,pb:8},children:E(GV,{color:"primary.contrastText",fontSize:14,lineHeight:16/14,children:E(Rt,{id:FGe})})}),te(u6,{sx:{px:16,pt:0,pb:14},children:[E(Dr,{onClick:t,sx:r=>({color:r.palette.primary.contrastText}),children:E(Rt,{id:$Ge})}),E(Dr,{onClick:n,sx:r=>({color:r.palette.primary.contrastText,bgcolor:"rgba(0, 0, 0, 0.06)","&:hover":{bgcolor:"rgba(0, 0, 0, 0.18)"}}),children:E(Rt,{id:BGe})})]})]}),Zx=T.exports.forwardRef(({children:e,...t},n)=>E(eu,{disableGutters:!0,maxWidth:"sm",ref:n,...t,sx:{px:15,pb:20,position:"fixed",top:0,left:0,right:0,zIndex:10,...t.sx||{}},onClick:void 0,children:te(UV,{elevation:2,onClick:t.onClick,sx:{borderTopLeftRadius:0,borderTopRightRadius:0},children:[e,E(nX,{})]})}));Zx.displayName="StickyCard";const UGe=xt(({fixed:e})=>{var b,_,S,C;const{destinations:t,pathfinder:n,queryParams:r}=T.exports.useContext(gt),[i,o]=T.exports.useState(!1),[a,s]=T.exports.useState(!1),l=Dn(),c=el(l.breakpoints.up("sm")),d=$t(Pt.Misc.To),p=r.params.tidy,{showHeaderSearchIcon:h,showHeaderStopButton:m}=(_=(b=l.tidy)==null?void 0:b.photoRoute)!=null?_:{},v=T.exports.useCallback(O=>{O.stopPropagation(),c?x():s(!0)},[c]),y=T.exports.useCallback(()=>{s(!1)},[]),x=()=>{n.reset({removeFollowups:!0,logAnalytics:!0}),t.setEndDestination(0,0),t.setStartDestination(0,0),s(!1)};return T.exports.useEffect(()=>{o(!1)},[e]),te(Qt,{children:[E(HGe,{open:a,onClose:y,onConfirm:x}),E(pg,{open:i,sx:{zIndex:20},onClose:()=>o(!1),children:E(YD,{in:e&&i,timeout:300,children:E(Zx,{sx:{zIndex:20},children:te(Oe,{sx:{px:18},children:[E(C3,{}),E(Pw,{})]})})})}),E(YD,{in:e&&!i,timeout:200,children:E(Zx,{sx:{zIndex:20},onClick:()=>o(!0),children:te(Oe,{sx:{px:9,display:i?"none":"block"},children:[te(Oe,{sx:{display:"flex",mt:15,alignItems:"center"},children:[E(Oe,{sx:O=>({width:40,height:40,display:h||!p?"flex":"none",justifyContent:"center",alignItems:"center",borderTopLeftRadius:5,borderBottomLeftRadius:5,bgcolor:O.palette.primary.main,color:O.palette.primary.contrastText}),children:E(Zs,{viewBox:"0 0 24 24",sx:{height:"20px",width:"30px"},children:E(YV,{})})}),te(Oe,{sx:{flexGrow:1,height:"100%",display:"flex",gap:8,alignItems:"center"},children:[E(wc,{label:d,value:(C=(S=n.currentPath)==null?void 0:S.to)==null?void 0:C.label,sx:{pointerEvents:"none"}}),E(Dr,{variant:"contained",color:"error",sx:{height:32,minWidth:48,display:m||!p?"block":"none"},onClick:v,children:E(Rt,{id:Pt.Misc.End})})]})]}),E(Oe,{mt:12,mb:9,children:E(eX,{})})]})})})]})}),zGe=xt(()=>{const{queryParams:e}=T.exports.useContext(gt),t=T.exports.useRef(null),[n,r]=T.exports.useState(!1),i=e.params.homepage,o=T.exports.useCallback(()=>{if(!t.current)return;const a=t.current.getBoundingClientRect(),s=a.top+a.height,l=i?.18:.25;r(s<a.height*l)},[t.current]);return T.exports.useEffect(()=>(document==null||document.addEventListener("scroll",o,{passive:!0}),()=>document==null?void 0:document.removeEventListener("scroll",o,!0)),[t.current]),te(Qt,{children:[E(rX,{fixed:n,isHomePage:i,ref:t}),E(UGe,{fixed:n})]})}),GGe=xt(()=>{const{buildings:e,languages:t}=T.exports.useContext(gt),{id:n,footerFilename:r,footerURL:i}=e.building||{},o=Dn(),a=el(o.breakpoints.down("sm")),s=window.self!==window.top,l=T.exports.useMemo(()=>r&&`/api/storages/building-${n}/download/${r}`,[r]),c=T.exports.useMemo(()=>{var h,m;const d=(h=e.building)==null?void 0:h.footerMessageI18n,p=(m=t.selectedLanguage)==null?void 0:m.id;return ae.get(d,p)||ae.get(d,"en")},[t.selectedLanguage,e.building]);return a?te(Oe,{pb:s?"50vh":void 0,children:[c&&E(nt,{textAlign:"center",fontSize:13,lineHeight:14/13,mb:15,color:"text.secondaryDark",children:c}),l&&E(Oe,{sx:{width:"100%",mt:15,"& img":{width:"100%",display:"block",objectFit:"contain"}},children:E("a",{href:i,target:"_blank",rel:"noreferrer",children:E("img",{src:l,alt:"Footer ad"})})})]}):null}),iX=Pt.PhotoRoutePage.Messages,WGe=iX.ScrollToNext,jGe=iX.OkGotIt,VGe=T.exports.memo(({open:e,hide:t})=>{const n=T.exports.useRef(),r=T.exports.useRef(null),{themes:i}=T.exports.useContext(gt),o=i.theme.scrollInstigator,a=$t(WGe),s=$t(jGe),l=T.exports.useCallback(c=>{if((o==null?void 0:o.ignoreScroll)&&((c==null?void 0:c.type)==="touchstart"||(c==null?void 0:c.type)==="mousedown")){c==null||c.preventDefault();return}n.current&&(clearTimeout(n.current),n.current=void 0),t()},[o]);return T.exports.useEffect(()=>{var c,d;if(!((o==null?void 0:o.disabled)||!e))return o!=null&&o.timeout&&(n.current=setTimeout(()=>{t()},o.timeout+1e3)),(c=r.current)==null||c.addEventListener("touchstart",l),(d=r.current)==null||d.addEventListener("mousedown",l),()=>{var p,h;n.current&&clearTimeout(n.current),(p=r.current)==null||p.removeEventListener("touchstart",l),(h=r.current)==null||h.removeEventListener("mousedown",l)}},[o,e]),o!=null&&o.disabled?null:e?E(J3,{open:!0,ref:r,sx:{backdropFilter:"blur(2px)",zIndex:c=>c.zIndex.drawer+1,backgroundColor:"rgba(0, 0, 0, 0.75)"},children:te(Oe,{sx:{width:"100%",display:"flex",justifyContent:"center",position:"relative"},children:[E(Oe,{sx:{maxWidth:220},children:E("img",{src:Wf("/images/ScrollInstigator.gif"),alt:"Scroll Screen Icon",style:{width:"100%",height:"auto",objectFit:"contain"}})}),te(Oe,{sx:{position:"absolute",top:"120%",textAlign:"center"},children:[E(nt,{color:"white",fontSize:20,fontWeight:"medium",align:"center",children:a}),E(Dr,{variant:"contained",sx:{mt:8},onTouchStart:c=>{c.stopPropagation(),l()},onClick:c=>{c.stopPropagation(),l()},children:s})]})]})}):E("img",{src:Wf("/images/ScrollInstigator.gif"),alt:"Scroll Screen Icon",style:{display:"none",width:"100%",height:"auto",objectFit:"contain"}})}),KGe=()=>{const{buildings:e,distanceMatrix:t,pathfinder:n,homepage:r,queryParams:i,appointments:o}=T.exports.useContext(gt),a=Dn(),s=el(a.breakpoints.down("sm")),[l,c]=T.exports.useState(!1),d=e.building;if(T.exports.useEffect(()=>(n.reset(),n.initialize(),t.initialize(),i.params.homepage&&r.initialize(),i.params.appId&&o.initialize(),()=>{n.reset()}),[]),!d||d.suspended||d.webApp===!1)throw new Error("Page Not found");return te(Oe,{sx:{overflowY:"auto",overflowX:"hidden",minHeight:"100vh"},children:[E(dke,{}),te(cke,{children:[E(zGe,{}),E(_ke,{}),E(gDe,{})]}),E(VGe,{open:s&&!!n.path&&!l,hide:()=>c(!0)}),!n.loading&&n.path&&E(GGe,{})]})},BM=xt(KGe);const qGe=ae.once(bt.getShortLinkById),HM=xt(()=>{const{queryParams:e}=T.exports.useContext(gt),{id:t}=Lye(),n=J2(),[r,i]=T.exports.useState("");if(T.exports.useEffect(()=>{t&&qGe(t).then(o=>{const a=new URL(location.origin+o);e.setQueryParams(e.transform(a.searchParams)),n({pathname:a.pathname,search:a.search})}).catch(()=>{i("Invalid short link")})},[t]),r)throw new Error(r);return null}),YGe=ae.once((e,t)=>{if(e.queryParams.initialize(t),e.buildings.initialize(),e.languages.initialize(),e.translations.initialize(),e.themes.initialize(),e.destinations.initialize(),e.analytics.initialize(Jye).then(()=>{e.analytics.log(Mn.SessionStart)}),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){const n=document.querySelector('head > meta[name="viewport"]'),r=ae.get(n,"attributes.content.value","").split(",").map(i=>i.trim()).filter(i=>!i.startsWith("user-scalable")&&!i.startsWith("maximum-scale"));r.push("user-scalable=0","maximum-scale=1"),n==null||n.setAttribute("content",r.join(", "))}}),UM=xt(()=>{const e=T.exports.useContext(gt),{themes:t,buildings:n,translations:r,analytics:i}=e,o=J2();e2e(s=>{i.log(s?Mn.BecomesVisible:Mn.BecomesIdle)});const a=window.self!==window.top;if(T.exports.useEffect(()=>YGe(e,o),[]),n.initializing||t.initializing||r.initializing)return E(Oe,{sx:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},children:E(L4e,{})});if(!t.initialized)return null;if(!n.building)throw new Error("Building not found");return E(x4e,{children:te(i2e,{theme:t.theme,children:[E(C4e,{}),E(Oe,{component:"div",sx:{minHeight:"100vh",backgroundColor:a?void 0:"background.default",overflow:"hidden"},children:E(Gye,{})})]})})}),XGe=Qye([{path:"t/:id",element:E(HM,{}),errorElement:E(Qv,{})},{path:"/modern/t/:id",element:E(HM,{}),errorElement:E(Qv,{})},{path:"/",element:E(UM,{}),errorElement:E(Qv,{}),children:[{path:"photo-route",element:E(BM,{})},{path:"getting-to",element:E(jD,{})}]},{path:"/modern",element:E(UM,{}),errorElement:E(Qv,{}),children:[{path:"photo-route",element:E(BM,{})},{path:"getting-to",element:E(jD,{})}]}]);function QGe(){return E(zye,{router:XGe})}console.log("VERSION","36bffb6d");console.log("ENV","prod-R2024-04.2");Qle({environment:"production",dsn:"https://84735ef7f7b86394d34d0e5af581c6d7@o4507266692808704.ingest.de.sentry.io/4507266703818832",integrations:[Kle()],tracesSampleRate:1,tracePropagationTargets:[/^https:\/\/(.*\.)?atobe.app\/api/]});Y_.createRoot(document.getElementById("root")).render(E(jn.StrictMode,{children:E(gt.Provider,{value:dW,children:E(QGe,{})})}));export{Oe as B,pg as D,Qt as F,lc as I,ae as _,JGe as __vite_legacy_guard,te as a,Qc as c,dg as d,Xy as g,E as j,T as r};
