diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2026-07-05 09:37:06 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-05 09:37:06 +0000 |
| commit | debbe39b9365581413a96a0a8e8b2f8f5273a5c9 (patch) | |
| tree | e10fb5316c019d144921ac3299d155e66d59fedf | |
Deploy to GitHub pagesgh-pages
27 files changed, 158 insertions, 0 deletions
@@ -0,0 +1 @@ +yacd.metacubex.one
\ No newline at end of file diff --git a/Twemoji_Mozilla.ttf b/Twemoji_Mozilla.ttf Binary files differnew file mode 100644 index 0000000..9f45178 --- /dev/null +++ b/Twemoji_Mozilla.ttf diff --git a/_headers b/_headers new file mode 100644 index 0000000..877d928 --- /dev/null +++ b/_headers @@ -0,0 +1,12 @@ +# for netlify hosting +# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file + +/* + X-Frame-Options: DENY + X-XSS-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Referrer-Policy: same-origin +/*.css + Cache-Control: public, max-age=31536000, immutable +/*.js + Cache-Control: public, max-age=31536000, immutable diff --git a/apple-touch-icon-precomposed.png b/apple-touch-icon-precomposed.png Binary files differnew file mode 100644 index 0000000..cbb3fcb --- /dev/null +++ b/apple-touch-icon-precomposed.png diff --git a/assets/Twemoji_Mozilla-BSQKJ6aF.ttf b/assets/Twemoji_Mozilla-BSQKJ6aF.ttf Binary files differnew file mode 100644 index 0000000..9f45178 --- /dev/null +++ b/assets/Twemoji_Mozilla-BSQKJ6aF.ttf diff --git a/assets/browser-ponyfill-BaOhONaW.js b/assets/browser-ponyfill-BaOhONaW.js new file mode 100644 index 0000000..3817390 --- /dev/null +++ b/assets/browser-ponyfill-BaOhONaW.js @@ -0,0 +1,2 @@ +import{c as A,g as X}from"./index-CXu7vuwp.js";function J(g,d){for(var b=0;b<d.length;b++){const y=d[b];if(typeof y!="string"&&!Array.isArray(y)){for(const l in y)if(l!=="default"&&!(l in g)){const p=Object.getOwnPropertyDescriptor(y,l);p&&Object.defineProperty(g,l,p.get?p:{enumerable:!0,get:()=>y[l]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}},H;function Z(){return H||(H=1,(function(g,d){var b=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof A<"u"&&A,y=(function(){function p(){this.fetch=!1,this.DOMException=b.DOMException}return p.prototype=b,new p})();(function(p){(function(h){var a=typeof p<"u"&&p||typeof self<"u"&&self||typeof A<"u"&&A||{},u={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function F(e){return e&&DataView.prototype.isPrototypeOf(e)}if(u.arrayBuffer)var q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],C=ArrayBuffer.isView||function(e){return e&&q.indexOf(Object.prototype.toString.call(e))>-1};function v(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function T(e){return typeof e!="string"&&(e=String(e)),e}function B(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return u.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}i.prototype.append=function(e,t){e=v(e),t=T(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},i.prototype.delete=function(e){delete this.map[v(e)]},i.prototype.get=function(e){return e=v(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(v(e))},i.prototype.set=function(e,t){this.map[v(e)]=T(t)},i.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),B(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),B(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),B(e)},u.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);function O(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function D(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function I(e){var t=new FileReader,r=D(t);return t.readAsArrayBuffer(e),r}function M(e){var t=new FileReader,r=D(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),s=n?n[1]:"utf-8";return t.readAsText(e,s),r}function L(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function R(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function U(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:u.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:u.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:u.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u.arrayBuffer&&u.blob&&F(e)?(this._bodyArrayBuffer=R(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||C(e))?this._bodyArrayBuffer=R(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):u.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u.blob&&(this.blob=function(){var e=O(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=O(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(u.blob)return this.blob().then(I);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=O(this);if(e)return e;if(this._bodyBlob)return M(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},u.formData&&(this.formData=function(){return this.text().then(z)}),this.json=function(){return this.text().then(JSON.parse)},this}var N=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(e){var t=e.toUpperCase();return N.indexOf(t)>-1?t:e}function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new i(t.headers)),this.method=k(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(function(){if("AbortController"in a){var o=new AbortController;return o.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var s=/\?/;this.url+=(s.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function z(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),s=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(o))}}),t}function G(e){var t=new i,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(` +`)===0?n.substr(1,n.length):n}).forEach(function(n){var s=n.split(":"),o=s.shift().trim();if(o){var _=s.join(":").trim();try{t.append(o,_)}catch(x){console.warn("Response "+x.message)}}}),t}U.call(w.prototype);function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}U.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var V=[301,302,303,307,308];c.redirect=function(e,t){if(V.indexOf(t)===-1)throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},h.DOMException=a.DOMException;try{new h.DOMException}catch{h.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},h.DOMException.prototype=Object.create(Error.prototype),h.DOMException.prototype.constructor=h.DOMException}function P(e,t){return new Promise(function(r,n){var s=new w(e,t);if(s.signal&&s.signal.aborted)return n(new h.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function _(){o.abort()}o.onload=function(){var f={statusText:o.statusText,headers:G(o.getAllResponseHeaders()||"")};s.url.indexOf("file://")===0&&(o.status<200||o.status>599)?f.status=200:f.status=o.status,f.url="responseURL"in o?o.responseURL:f.headers.get("X-Request-URL");var m="response"in o?o.response:o.responseText;setTimeout(function(){r(new c(m,f))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){n(new h.DOMException("Aborted","AbortError"))},0)};function x(f){try{return f===""&&a.location.href?a.location.href:f}catch{return f}}if(o.open(s.method,x(s.url),!0),s.credentials==="include"?o.withCredentials=!0:s.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(u.blob?o.responseType="blob":u.arrayBuffer&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof i||a.Headers&&t.headers instanceof a.Headers)){var j=[];Object.getOwnPropertyNames(t.headers).forEach(function(f){j.push(v(f)),o.setRequestHeader(f,T(t.headers[f]))}),s.headers.forEach(function(f,m){j.indexOf(m)===-1&&o.setRequestHeader(m,f)})}else s.headers.forEach(function(f,m){o.setRequestHeader(m,f)});s.signal&&(s.signal.addEventListener("abort",_),o.onreadystatechange=function(){o.readyState===4&&s.signal.removeEventListener("abort",_)}),o.send(typeof s._bodyInit>"u"?null:s._bodyInit)})}return P.polyfill=!0,a.fetch||(a.fetch=P,a.Headers=i,a.Request=w,a.Response=c),h.Headers=i,h.Request=w,h.Response=c,h.fetch=P,h})({})})(y),y.fetch.ponyfill=!0,delete y.fetch.polyfill;var l=b.fetch?b:y;d=l.fetch,d.default=l.fetch,d.fetch=l.fetch,d.Headers=l.Headers,d.Request=l.Request,d.Response=l.Response,g.exports=d})(E,E.exports)),E.exports}var S=Z();const K=X(S),W=J({__proto__:null,default:K},[S]);export{W as b}; diff --git a/assets/chart-lib-vQlvG9Ki.js b/assets/chart-lib-vQlvG9Ki.js new file mode 100644 index 0000000..10d34c3 --- /dev/null +++ b/assets/chart-lib-vQlvG9Ki.js @@ -0,0 +1 @@ +import{t as i,a as x,m as W,s as k,n as C,b as F,d as _e,e as L,f as R,h as ce,i as ue,j as re,k as q,l as de,o as fe,p as Ne,q as Ee,r as He,u as qe,v as Ie,C as We,L as Ce,P as Le,w as Qe,x as Fe,y as ve,T as Re,z as Ge,A as Be,B as Xe}from"./index-CXu7vuwp.js";function G(n,e,t){const r=i(n,t?.in);return isNaN(e)?x(t?.in||n,NaN):(e&&r.setDate(r.getDate()+e),r)}function Z(n,e,t){const r=i(n,t?.in);if(isNaN(e))return x(n,NaN);if(!e)return r;const s=r.getDate(),a=x(n,r.getTime());a.setMonth(r.getMonth()+e+1,0);const o=a.getDate();return s>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),s),r)}function z(n,e,t){return x(n,+i(n)+e)}function $e(n,e,t){return z(n,e*W)}function H(n,e){return k(n,{...e,weekStartsOn:1})}function le(n,e){const t=i(n,e?.in),r=t.getFullYear(),s=x(t,0);s.setFullYear(r+1,0,4),s.setHours(0,0,0,0);const a=H(s),o=x(t,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const c=H(o);return t.getTime()>=a.getTime()?r+1:t.getTime()>=c.getTime()?r:r-1}function $(n,e){const t=i(n,e?.in);return t.setHours(0,0,0,0),t}function he(n,e,t){const[r,s]=C(t?.in,n,e),a=$(r),o=$(s),c=+a-F(a),l=+o-F(o);return Math.round((c-l)/_e)}function Ae(n,e){const t=le(n,e),r=x(n,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),H(r)}function Ue(n,e,t){const r=i(n,t?.in);return r.setTime(r.getTime()+e*L),r}function Ze(n,e,t){return Z(n,e*3,t)}function ze(n,e,t){return z(n,e*1e3)}function Ve(n,e,t){return G(n,e*7,t)}function je(n,e,t){return Z(n,e*12,t)}function Ke(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function we(n){return!(!Ke(n)&&typeof n!="number"||isNaN(+i(n)))}function Je(n,e,t){const[r,s]=C(t?.in,n,e);return r.getFullYear()-s.getFullYear()}function me(n,e,t){const[r,s]=C(t?.in,n,e),a=ne(r,s),o=Math.abs(he(r,s));r.setDate(r.getDate()-a*o);const c=+(ne(r,s)===-a),l=a*(o-c);return l===0?0:l}function ne(n,e){const t=n.getFullYear()-e.getFullYear()||n.getMonth()-e.getMonth()||n.getDate()-e.getDate()||n.getHours()-e.getHours()||n.getMinutes()-e.getMinutes()||n.getSeconds()-e.getSeconds()||n.getMilliseconds()-e.getMilliseconds();return t<0?-1:t>0?1:t}function Se(n,e,t){const[r,s]=C(t?.in,n,e),a=(+r-+s)/W;return R(t?.roundingMethod)(a)}function et(n,e,t){const r=ce(n,e)/L;return R(t?.roundingMethod)(r)}function tt(n,e,t){const r=ue(n,e,t)/3;return R(t?.roundingMethod)(r)}function rt(n,e,t){const r=me(n,e,t)/7;return R(t?.roundingMethod)(r)}function nt(n,e,t){const[r,s]=C(t?.in,n,e),a=re(r,s),o=Math.abs(Je(r,s));r.setFullYear(1584),s.setFullYear(1584);const c=re(r,s)===-a,l=a*(o-+c);return l===0?0:l}function st(n,e){const t=i(n,e?.in),r=t.getMonth(),s=r-r%3;return t.setMonth(s,1),t.setHours(0,0,0,0),t}function at(n,e){const t=i(n,e?.in);return t.setDate(1),t.setHours(0,0,0,0),t}function ot(n,e){const t=i(n,e?.in),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}function ye(n,e){const t=i(n,e?.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function it(n,e){const t=i(n,e?.in);return t.setMinutes(59,59,999),t}function ct(n,e){const t=q(),r=t.weekStartsOn??t.locale?.options?.weekStartsOn??0,s=i(n,e?.in),a=s.getDay(),o=(a<r?-7:0)+6-(a-r);return s.setDate(s.getDate()+o),s.setHours(23,59,59,999),s}function ut(n,e){const t=i(n,e?.in);return t.setSeconds(59,999),t}function dt(n,e){const t=i(n,e?.in),r=t.getMonth(),s=r-r%3+3;return t.setMonth(s,0),t.setHours(23,59,59,999),t}function ft(n,e){const t=i(n,e?.in);return t.setMilliseconds(999),t}function lt(n,e){const t=i(n,e?.in);return he(t,ye(t))+1}function ge(n,e){const t=i(n,e?.in),r=+H(t)-+Ae(t);return Math.round(r/de)+1}function V(n,e){const t=i(n,e?.in),r=t.getFullYear(),s=q(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,o=x(e?.in||n,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);const c=k(o,e),l=x(e?.in||n,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const h=k(l,e);return+t>=+c?r+1:+t>=+h?r:r-1}function ht(n,e){const t=q(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??t.firstWeekContainsDate??t.locale?.options?.firstWeekContainsDate??1,s=V(n,e),a=x(e?.in||n,0);return a.setFullYear(s,0,r),a.setHours(0,0,0,0),k(a,e)}function pe(n,e){const t=i(n,e?.in),r=+k(t,e)-+ht(t,e);return Math.round(r/de)+1}function f(n,e){const t=n<0?"-":"",r=Math.abs(n).toString().padStart(e,"0");return t+r}const Y={y(n,e){const t=n.getFullYear(),r=t>0?t:1-t;return f(e==="yy"?r%100:r,e.length)},M(n,e){const t=n.getMonth();return e==="M"?String(t+1):f(t+1,2)},d(n,e){return f(n.getDate(),e.length)},a(n,e){const t=n.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];default:return t==="am"?"a.m.":"p.m."}},h(n,e){return f(n.getHours()%12||12,e.length)},H(n,e){return f(n.getHours(),e.length)},m(n,e){return f(n.getMinutes(),e.length)},s(n,e){return f(n.getSeconds(),e.length)},S(n,e){const t=e.length,r=n.getMilliseconds(),s=Math.trunc(r*Math.pow(10,t-3));return f(s,e.length)}},E={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},se={G:function(n,e,t){const r=n.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});default:return t.era(r,{width:"wide"})}},y:function(n,e,t){if(e==="yo"){const r=n.getFullYear(),s=r>0?r:1-r;return t.ordinalNumber(s,{unit:"year"})}return Y.y(n,e)},Y:function(n,e,t,r){const s=V(n,r),a=s>0?s:1-s;if(e==="YY"){const o=a%100;return f(o,2)}return e==="Yo"?t.ordinalNumber(a,{unit:"year"}):f(a,e.length)},R:function(n,e){const t=le(n);return f(t,e.length)},u:function(n,e){const t=n.getFullYear();return f(t,e.length)},Q:function(n,e,t){const r=Math.ceil((n.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,e,t){const r=Math.ceil((n.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return f(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,e,t){const r=n.getMonth();switch(e){case"M":case"MM":return Y.M(n,e);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(n,e,t){const r=n.getMonth();switch(e){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(n,e,t,r){const s=pe(n,r);return e==="wo"?t.ordinalNumber(s,{unit:"week"}):f(s,e.length)},I:function(n,e,t){const r=ge(n);return e==="Io"?t.ordinalNumber(r,{unit:"week"}):f(r,e.length)},d:function(n,e,t){return e==="do"?t.ordinalNumber(n.getDate(),{unit:"date"}):Y.d(n,e)},D:function(n,e,t){const r=lt(n);return e==="Do"?t.ordinalNumber(r,{unit:"dayOfYear"}):f(r,e.length)},E:function(n,e,t){const r=n.getDay();switch(e){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(n,e,t,r){const s=n.getDay(),a=(s-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return f(a,2);case"eo":return t.ordinalNumber(a,{unit:"day"});case"eee":return t.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(s,{width:"short",context:"formatting"});default:return t.day(s,{width:"wide",context:"formatting"})}},c:function(n,e,t,r){const s=n.getDay(),a=(s-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return f(a,e.length);case"co":return t.ordinalNumber(a,{unit:"day"});case"ccc":return t.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(s,{width:"narrow",context:"standalone"});case"cccccc":return t.day(s,{width:"short",context:"standalone"});default:return t.day(s,{width:"wide",context:"standalone"})}},i:function(n,e,t){const r=n.getDay(),s=r===0?7:r;switch(e){case"i":return String(s);case"ii":return f(s,e.length);case"io":return t.ordinalNumber(s,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(n,e,t){const s=n.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(s,{width:"narrow",context:"formatting"});default:return t.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(n,e,t){const r=n.getHours();let s;switch(r===12?s=E.noon:r===0?s=E.midnight:s=r/12>=1?"pm":"am",e){case"b":case"bb":return t.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(s,{width:"narrow",context:"formatting"});default:return t.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(n,e,t){const r=n.getHours();let s;switch(r>=17?s=E.evening:r>=12?s=E.afternoon:r>=4?s=E.morning:s=E.night,e){case"B":case"BB":case"BBB":return t.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(s,{width:"narrow",context:"formatting"});default:return t.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(n,e,t){if(e==="ho"){let r=n.getHours()%12;return r===0&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return Y.h(n,e)},H:function(n,e,t){return e==="Ho"?t.ordinalNumber(n.getHours(),{unit:"hour"}):Y.H(n,e)},K:function(n,e,t){const r=n.getHours()%12;return e==="Ko"?t.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},k:function(n,e,t){let r=n.getHours();return r===0&&(r=24),e==="ko"?t.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},m:function(n,e,t){return e==="mo"?t.ordinalNumber(n.getMinutes(),{unit:"minute"}):Y.m(n,e)},s:function(n,e,t){return e==="so"?t.ordinalNumber(n.getSeconds(),{unit:"second"}):Y.s(n,e)},S:function(n,e){return Y.S(n,e)},X:function(n,e,t){const r=n.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return oe(r);case"XXXX":case"XX":return _(r);default:return _(r,":")}},x:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"x":return oe(r);case"xxxx":case"xx":return _(r);default:return _(r,":")}},O:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ae(r,":");default:return"GMT"+_(r,":")}},z:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ae(r,":");default:return"GMT"+_(r,":")}},t:function(n,e,t){const r=Math.trunc(+n/1e3);return f(r,e.length)},T:function(n,e,t){return f(+n,e.length)}};function ae(n,e=""){const t=n>0?"-":"+",r=Math.abs(n),s=Math.trunc(r/60),a=r%60;return a===0?t+String(s):t+String(s)+e+f(a,2)}function oe(n,e){return n%60===0?(n>0?"-":"+")+f(Math.abs(n)/60,2):_(n,e)}function _(n,e=""){const t=n>0?"-":"+",r=Math.abs(n),s=f(Math.trunc(r/60),2),a=f(r%60,2);return t+s+e+a}const ie=(n,e)=>{switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},be=(n,e)=>{switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},wt=(n,e)=>{const t=n.match(/(P+)(p+)?/)||[],r=t[1],s=t[2];if(!s)return ie(n,e);let a;switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",ie(r,e)).replace("{{time}}",be(s,e))},A={p:be,P:wt},mt=/^D+$/,yt=/^Y+$/,gt=["D","DD","YY","YYYY"];function xe(n){return mt.test(n)}function De(n){return yt.test(n)}function U(n,e,t){const r=pt(n,e,t);if(console.warn(r),gt.includes(n))throw new RangeError(r)}function pt(n,e,t){const r=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${e}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const bt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dt=/^'([^]*?)'?$/,Tt=/''/g,Mt=/[a-zA-Z]/;function Ot(n,e,t){const r=q(),s=t?.locale??r.locale??fe,a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,c=i(n,t?.in);if(!we(c))throw new RangeError("Invalid time value");let l=e.match(xt).map(w=>{const D=w[0];if(D==="p"||D==="P"){const P=A[D];return P(w,s.formatLong)}return w}).join("").match(bt).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const D=w[0];if(D==="'")return{isToken:!1,value:kt(w)};if(se[D])return{isToken:!0,value:w};if(D.match(Mt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");return{isToken:!1,value:w}});s.localize.preprocessor&&(l=s.localize.preprocessor(c,l));const h={firstWeekContainsDate:a,weekStartsOn:o,locale:s};return l.map(w=>{if(!w.isToken)return w.value;const D=w.value;(!t?.useAdditionalWeekYearTokens&&De(D)||!t?.useAdditionalDayOfYearTokens&&xe(D))&&U(D,e,String(n));const P=se[D[0]];return P(c,D,s.localize,h)}).join("")}function kt(n){const e=n.match(Dt);return e?e[1].replace(Tt,"'"):n}function Yt(){return Object.assign({},q())}function Pt(n,e){const t=i(n,e?.in).getDay();return t===0?7:t}function _t(n,e){const t=Nt(e)?new e(0):x(e,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),t}function Nt(n){return typeof n=="function"&&n.prototype?.constructor===n}const Et=10;class Te{subPriority=0;validate(e,t){return!0}}class Ht extends Te{constructor(e,t,r,s,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=s,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}}class qt extends Te{priority=Et;subPriority=-1;constructor(e,t){super(),this.context=e||(r=>x(t,r))}set(e,t){return t.timestampIsSet?e:x(e,_t(e,this.context))}}class d{run(e,t,r,s){const a=this.parse(e,t,r,s);return a?{setter:new Ht(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}}class It extends d{priority=140;parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const p={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},M={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function b(n,e){return n&&{value:e(n.value),rest:n.rest}}function m(n,e){const t=e.match(n);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function O(n,e){const t=e.match(n);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};const r=t[1]==="+"?1:-1,s=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:r*(s*W+a*L+o*Ne),rest:e.slice(t[0].length)}}function Me(n){return m(p.anyDigitsSigned,n)}function g(n,e){switch(n){case 1:return m(p.singleDigit,e);case 2:return m(p.twoDigits,e);case 3:return m(p.threeDigits,e);case 4:return m(p.fourDigits,e);default:return m(new RegExp("^\\d{1,"+n+"}"),e)}}function v(n,e){switch(n){case 1:return m(p.singleDigitSigned,e);case 2:return m(p.twoDigitsSigned,e);case 3:return m(p.threeDigitsSigned,e);case 4:return m(p.fourDigitsSigned,e);default:return m(new RegExp("^-?\\d{1,"+n+"}"),e)}}function j(n){switch(n){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Oe(n,e){const t=e>0,r=t?e:1-e;let s;if(r<=50)s=n||100;else{const a=r+50,o=Math.trunc(a/100)*100,c=n>=a%100;s=n+o-(c?100:0)}return t?s:1-s}function ke(n){return n%400===0||n%4===0&&n%100!==0}class Wt extends d{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,r){const s=a=>({year:a,isTwoDigitYear:t==="yy"});switch(t){case"y":return b(g(4,e),s);case"yo":return b(r.ordinalNumber(e,{unit:"year"}),s);default:return b(g(t.length,e),s)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){const s=e.getFullYear();if(r.isTwoDigitYear){const o=Oe(r.year,s);return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}const a=!("era"in t)||t.era===1?r.year:1-r.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}class Ct extends d{priority=130;parse(e,t,r){const s=a=>({year:a,isTwoDigitYear:t==="YY"});switch(t){case"Y":return b(g(4,e),s);case"Yo":return b(r.ordinalNumber(e,{unit:"year"}),s);default:return b(g(t.length,e),s)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,s){const a=V(e,s);if(r.isTwoDigitYear){const c=Oe(r.year,a);return e.setFullYear(c,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),k(e,s)}const o=!("era"in t)||t.era===1?r.year:1-r.year;return e.setFullYear(o,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),k(e,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class Lt extends d{priority=130;parse(e,t){return v(t==="R"?4:t.length,e)}set(e,t,r){const s=x(e,0);return s.setFullYear(r,0,4),s.setHours(0,0,0,0),H(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class Qt extends d{priority=130;parse(e,t){return v(t==="u"?4:t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class Ft extends d{priority=120;parse(e,t,r){switch(t){case"Q":case"QQ":return g(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class vt extends d{priority=120;parse(e,t,r){switch(t){case"q":case"qq":return g(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class Rt extends d{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,r){const s=a=>a-1;switch(t){case"M":return b(m(p.month,e),s);case"MM":return b(g(2,e),s);case"Mo":return b(r.ordinalNumber(e,{unit:"month"}),s);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}}class Gt extends d{priority=110;parse(e,t,r){const s=a=>a-1;switch(t){case"L":return b(m(p.month,e),s);case"LL":return b(g(2,e),s);case"Lo":return b(r.ordinalNumber(e,{unit:"month"}),s);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function Bt(n,e,t){const r=i(n,t?.in),s=pe(r,t)-e;return r.setDate(r.getDate()-s*7),i(r,t?.in)}class Xt extends d{priority=100;parse(e,t,r){switch(t){case"w":return m(p.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return g(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,s){return k(Bt(e,r,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function $t(n,e,t){const r=i(n,t?.in),s=ge(r,t)-e;return r.setDate(r.getDate()-s*7),r}class At extends d{priority=100;parse(e,t,r){switch(t){case"I":return m(p.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return g(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){return H($t(e,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const Ut=[31,28,31,30,31,30,31,31,30,31,30,31],Zt=[31,29,31,30,31,30,31,31,30,31,30,31];class zt extends d{priority=90;subPriority=1;parse(e,t,r){switch(t){case"d":return m(p.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return g(t.length,e)}}validate(e,t){const r=e.getFullYear(),s=ke(r),a=e.getMonth();return s?t>=1&&t<=Zt[a]:t>=1&&t<=Ut[a]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class Vt extends d{priority=90;subpriority=1;parse(e,t,r){switch(t){case"D":case"DD":return m(p.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return g(t.length,e)}}validate(e,t){const r=e.getFullYear();return ke(r)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function K(n,e,t){const r=q(),s=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=i(n,t?.in),o=a.getDay(),l=(e%7+7)%7,h=7-s,w=e<0||e>6?e-(o+h)%7:(l+h)%7-(o+h)%7;return G(a,w,t)}class jt extends d{priority=90;parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,s){return e=K(e,r,s),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class Kt extends d{priority=90;parse(e,t,r,s){const a=o=>{const c=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+c};switch(t){case"e":case"ee":return b(g(t.length,e),a);case"eo":return b(r.ordinalNumber(e,{unit:"day"}),a);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,s){return e=K(e,r,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class Jt extends d{priority=90;parse(e,t,r,s){const a=o=>{const c=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+c};switch(t){case"c":case"cc":return b(g(t.length,e),a);case"co":return b(r.ordinalNumber(e,{unit:"day"}),a);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,s){return e=K(e,r,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function St(n,e,t){const r=i(n,t?.in),s=Pt(r,t),a=e-s;return G(r,a,t)}class er extends d{priority=90;parse(e,t,r){const s=a=>a===0?7:a;switch(t){case"i":case"ii":return g(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return b(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return b(r.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return b(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),s);default:return b(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){return e=St(e,r),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class tr extends d{priority=80;parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(j(r),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class rr extends d{priority=80;parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(j(r),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class nr extends d{priority=80;parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(j(r),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class sr extends d{priority=70;parse(e,t,r){switch(t){case"h":return m(p.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return g(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){const s=e.getHours()>=12;return s&&r<12?e.setHours(r+12,0,0,0):!s&&r===12?e.setHours(0,0,0,0):e.setHours(r,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class ar extends d{priority=70;parse(e,t,r){switch(t){case"H":return m(p.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return g(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class or extends d{priority=70;parse(e,t,r){switch(t){case"K":return m(p.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return g(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.getHours()>=12&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class ir extends d{priority=70;parse(e,t,r){switch(t){case"k":return m(p.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return g(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){const s=r<=24?r%24:r;return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class cr extends d{priority=60;parse(e,t,r){switch(t){case"m":return m(p.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return g(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}incompatibleTokens=["t","T"]}class ur extends d{priority=50;parse(e,t,r){switch(t){case"s":return m(p.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return g(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}incompatibleTokens=["t","T"]}class dr extends d{priority=30;parse(e,t){const r=s=>Math.trunc(s*Math.pow(10,-t.length+3));return b(g(t.length,e),r)}set(e,t,r){return e.setMilliseconds(r),e}incompatibleTokens=["t","T"]}class fr extends d{priority=10;parse(e,t){switch(t){case"X":return O(M.basicOptionalMinutes,e);case"XX":return O(M.basic,e);case"XXXX":return O(M.basicOptionalSeconds,e);case"XXXXX":return O(M.extendedOptionalSeconds,e);default:return O(M.extended,e)}}set(e,t,r){return t.timestampIsSet?e:x(e,e.getTime()-F(e)-r)}incompatibleTokens=["t","T","x"]}class lr extends d{priority=10;parse(e,t){switch(t){case"x":return O(M.basicOptionalMinutes,e);case"xx":return O(M.basic,e);case"xxxx":return O(M.basicOptionalSeconds,e);case"xxxxx":return O(M.extendedOptionalSeconds,e);default:return O(M.extended,e)}}set(e,t,r){return t.timestampIsSet?e:x(e,e.getTime()-F(e)-r)}incompatibleTokens=["t","T","X"]}class hr extends d{priority=40;parse(e){return Me(e)}set(e,t,r){return[x(e,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class wr extends d{priority=20;parse(e){return Me(e)}set(e,t,r){return[x(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}const mr={G:new It,y:new Wt,Y:new Ct,R:new Lt,u:new Qt,Q:new Ft,q:new vt,M:new Rt,L:new Gt,w:new Xt,I:new At,d:new zt,D:new Vt,E:new jt,e:new Kt,c:new Jt,i:new er,a:new tr,b:new rr,B:new nr,h:new sr,H:new ar,K:new or,k:new ir,m:new cr,s:new ur,S:new dr,X:new fr,x:new lr,t:new hr,T:new wr},yr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pr=/^'([^]*?)'?$/,br=/''/g,xr=/\S/,Dr=/[a-zA-Z]/;function Tr(n,e,t,r){const s=()=>x(r?.in||t,NaN),a=Yt(),o=r?.locale??a.locale??fe,c=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!e)return n?s():i(t,r?.in);const h={firstWeekContainsDate:c,weekStartsOn:l,locale:o},w=[new qt(r?.in,t)],D=e.match(gr).map(u=>{const y=u[0];if(y in A){const T=A[y];return T(u,o.formatLong)}return u}).join("").match(yr),P=[];for(let u of D){!r?.useAdditionalWeekYearTokens&&De(u)&&U(u,e,n),!r?.useAdditionalDayOfYearTokens&&xe(u)&&U(u,e,n);const y=u[0],T=mr[y];if(T){const{incompatibleTokens:S}=T;if(Array.isArray(S)){const ee=P.find(te=>S.includes(te.token)||te.token===y);if(ee)throw new RangeError(`The format string mustn't contain \`${ee.fullToken}\` and \`${u}\` at the same time`)}else if(T.incompatibleTokens==="*"&&P.length>0)throw new RangeError(`The format string mustn't contain \`${u}\` and any other token at the same time`);P.push({token:y,fullToken:u});const B=T.run(n,u,o.match,h);if(!B)return s();w.push(B.setter),n=B.rest}else{if(y.match(Dr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");if(u==="''"?u="'":y==="'"&&(u=Mr(u)),n.indexOf(u)===0)n=n.slice(u.length);else return s()}}if(n.length>0&&xr.test(n))return s();const Pe=w.map(u=>u.priority).sort((u,y)=>y-u).filter((u,y,T)=>T.indexOf(u)===y).map(u=>w.filter(y=>y.priority===u).sort((y,T)=>T.subPriority-y.subPriority)).map(u=>u[0]);let N=i(t,r?.in);if(isNaN(+N))return s();const J={};for(const u of Pe){if(!u.validate(N,h))return s();const y=u.set(N,J,h);Array.isArray(y)?(N=y[0],Object.assign(J,y[1])):N=y}return N}function Mr(n){return n.match(pr)[1].replace(br,"'")}function Or(n,e){const t=i(n,e?.in);return t.setMinutes(0,0,0),t}function kr(n,e){const t=i(n,e?.in);return t.setSeconds(0,0),t}function Yr(n,e){const t=i(n,e?.in);return t.setMilliseconds(0),t}function Pr(n,e){const t=()=>x(e?.in,NaN),r=e?.additionalDigits??2,s=Hr(n);let a;if(s.date){const h=qr(s.date,r);a=Ir(h.restDateString,h.year)}if(!a||isNaN(+a))return t();const o=+a;let c=0,l;if(s.time&&(c=Wr(s.time),isNaN(c)))return t();if(s.timezone){if(l=Cr(s.timezone),isNaN(l))return t()}else{const h=new Date(o+c),w=i(0,e?.in);return w.setFullYear(h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()),w.setHours(h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()),w}return i(o+c+l,e?.in)}const Q={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},_r=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Nr=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Er=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Hr(n){const e={},t=n.split(Q.dateTimeDelimiter);let r;if(t.length>2)return e;if(/:/.test(t[0])?r=t[0]:(e.date=t[0],r=t[1],Q.timeZoneDelimiter.test(e.date)&&(e.date=n.split(Q.timeZoneDelimiter)[0],r=n.substr(e.date.length,n.length))),r){const s=Q.timezone.exec(r);s?(e.time=r.replace(s[1],""),e.timezone=s[1]):e.time=r}return e}function qr(n,e){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=n.match(t);if(!r)return{year:NaN,restDateString:""};const s=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?s:a*100,restDateString:n.slice((r[1]||r[2]).length)}}function Ir(n,e){if(e===null)return new Date(NaN);const t=n.match(_r);if(!t)return new Date(NaN);const r=!!t[4],s=I(t[1]),a=I(t[2])-1,o=I(t[3]),c=I(t[4]),l=I(t[5])-1;if(r)return Rr(e,c,l)?Lr(e,c,l):new Date(NaN);{const h=new Date(0);return!Fr(e,a,o)||!vr(e,s)?new Date(NaN):(h.setUTCFullYear(e,a,Math.max(s,o)),h)}}function I(n){return n?parseInt(n):1}function Wr(n){const e=n.match(Nr);if(!e)return NaN;const t=X(e[1]),r=X(e[2]),s=X(e[3]);return Gr(t,r,s)?t*W+r*L+s*1e3:NaN}function X(n){return n&&parseFloat(n.replace(",","."))||0}function Cr(n){if(n==="Z")return 0;const e=n.match(Er);if(!e)return 0;const t=e[1]==="+"?-1:1,r=parseInt(e[2]),s=e[3]&&parseInt(e[3])||0;return Br(r,s)?t*(r*W+s*L):NaN}function Lr(n,e,t){const r=new Date(0);r.setUTCFullYear(n,0,4);const s=r.getUTCDay()||7,a=(e-1)*7+t+1-s;return r.setUTCDate(r.getUTCDate()+a),r}const Qr=[31,null,31,30,31,30,31,31,30,31,30,31];function Ye(n){return n%400===0||n%4===0&&n%100!==0}function Fr(n,e,t){return e>=0&&e<=11&&t>=1&&t<=(Qr[e]||(Ye(n)?29:28))}function vr(n,e){return e>=1&&e<=(Ye(n)?366:365)}function Rr(n,e,t){return e>=1&&e<=53&&t>=0&&t<=6}function Gr(n,e,t){return n===24?e===0&&t===0:t>=0&&t<60&&e>=0&&e<60&&n>=0&&n<25}function Br(n,e){return e>=0&&e<=59}const Xr={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};Ee._date.override({_id:"date-fns",formats:function(){return Xr},parse:function(n,e){if(n===null||typeof n>"u")return null;const t=typeof n;return t==="number"||n instanceof Date?n=i(n):t==="string"&&(typeof e=="string"?n=Tr(n,e,new Date,this.options):n=Pr(n,this.options)),we(n)?n.getTime():null},format:function(n,e){return Ot(n,e,this.options)},add:function(n,e,t){switch(t){case"millisecond":return z(n,e);case"second":return ze(n,e);case"minute":return Ue(n,e);case"hour":return $e(n,e);case"day":return G(n,e);case"week":return Ve(n,e);case"month":return Z(n,e);case"quarter":return Ze(n,e);case"year":return je(n,e);default:return n}},diff:function(n,e,t){switch(t){case"millisecond":return ce(n,e);case"second":return Ie(n,e);case"minute":return et(n,e);case"hour":return Se(n,e);case"day":return me(n,e);case"week":return rt(n,e);case"month":return ue(n,e);case"quarter":return tt(n,e);case"year":return nt(n,e);default:return 0}},startOf:function(n,e,t){switch(e){case"second":return Yr(n);case"minute":return kr(n);case"hour":return Or(n);case"day":return $(n);case"week":return k(n);case"isoWeek":return k(n,{weekStartsOn:+t});case"month":return at(n);case"quarter":return st(n);case"year":return ye(n);default:return n}},endOf:function(n,e){switch(e){case"second":return ft(n);case"minute":return ut(n);case"hour":return it(n);case"day":return qe(n);case"week":return ct(n);case"month":return He(n);case"quarter":return dt(n);case"year":return ot(n);default:return n}}});We.register(Ce,Le,Qe,Fe,ve,Re,Ge,Be,Xe);export{We as Chart}; diff --git a/assets/en-C9YYW2qT.js b/assets/en-C9YYW2qT.js new file mode 100644 index 0000000..64f99dd --- /dev/null +++ b/assets/en-C9YYW2qT.js @@ -0,0 +1 @@ +const e={All:"All",Overview:"Overview",Proxies:"Proxies",Rules:"Rules",Conns:"Conns",Config:"Config",Logs:"Logs",Upload:"Upload",Download:"Download","Upload Total":"Upload Total","Download Total":"Download Total","Active Connections":"Active Connections","Memory Usage":"Memory Usage","Pause Refresh":"Pause Refresh","Resume Refresh":"Resume Refresh",close_all_connections:"Close All Connections",close_filter_connections:"Close all connections after filtering",Search:"Search",Sort:"Sort",Up:"Up",Down:"Down","Test Latency":"Test Latency",settings:"settings",general:"General",management:"Management",dashboard:"Dashboard",sort_in_grp:"Sorting in group",hide_unavail_proxies:"Hide unavailable proxies",auto_close_conns:"Automatically close old connections",double_column_layout:"Double column layout",group_by_provider:"Group proxies by provider",order_natural:"Original order in config file",order_latency_asc:"By latency from small to big",order_latency_desc:"By latency from big to small",order_name_asc:"By name alphabetically (A-Z)",order_name_desc:"By name alphabetically (Z-A)",Connections:"Connections",current_backend:"Current Backend",Active:"Active",switch_backend:"Switch backend",Closed:"Closed",switch_theme:"Switch theme",theme:"theme",about:"about",no_logs:"No logs yet, hang tight...",chart_style:"Chart Style",latency_test_url:"Latency Test URL",latency_test_timeout:"Latency Test Timeout",provider_healthcheck_timeout:"Provider Health Check Timeout",latency_test_expected_status:"Expected Status",prefer_backend_test_url:"Prefer group's backend test URL",lang:"Language",proxy_provider:"Proxy Provider",rule_provider:"Rule Provider",update_all_rule_provider:"Update all rule providers",update_all_proxy_provider:"Update all proxy providers",reload_config_file:"Reload config file",restart_core:"Restart core",upgrade_core:"Upgrade core",upgrade_geo:"Upgrade GEO Databases",upgrade_ui:"Upgrade Dashboard UI",update_geo_databases_file:"Update GEO Databases ",flush_fake_ip_pool:"Flush fake-ip data",enable_tun_device:"Enable TUN Device",allow_lan:"Allow LAN",tls_sniffing:"Sniffer",c_host:"Host",c_sni:"Sniff Host",c_process:"Process",c_dl:"DL",c_ul:"UL",c_dl_speed:"DL Speed",c_ul_speed:"UL Speed",c_chains:"Chains",c_rule:"Rule",c_time:"Time",c_source:"Source",c_destination_ip:"Destination IP",c_type:"Type",c_ctrl:"Close",close_all_confirm:"Are you sure you want to close all connections?",close_all_confirm_yes:"I'm sure",close_all_confirm_no:"No",manage_column:"Custom columns",reset_column:"Reset columns",device_name:"Device Tag",delete:"Delete",add_tag:"Add tag",client_tag:"Client tags",sourceip_tip:"Prefix with / for regular expressions, otherwise it's a complete match",disconnect:"Close Connection",internel:"Internal Connection",Clear:"Clear",group_fixed_tip:"This group has a manually fixed selection; run a latency test to release it",rule_entry_count:"{{count}} entries",rule_hit_tip:"Hit {{count}} times, last {{time}}",rule_never_hit:"Never hit",rule_enable:"Enable rule",rule_disable:"Disable rule"};export{e as data}; diff --git a/assets/index-CXu7vuwp.js b/assets/index-CXu7vuwp.js new file mode 100644 index 0000000..9a45dca --- /dev/null +++ b/assets/index-CXu7vuwp.js @@ -0,0 +1,109 @@ +function C4(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const o=Object.getOwnPropertyDescriptor(i,r);o&&Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>i[r]})}}}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 r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();var Ime=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function O4(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}),n}var $y={exports:{}},ic={};var m2;function E4(){if(m2)return ic;m2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,r,o){var a=null;if(o!==void 0&&(a=""+o),r.key!==void 0&&(a=""+r.key),"key"in r){o={};for(var c in r)c!=="key"&&(o[c]=r[c])}else o=r;return r=o.ref,{$$typeof:e,type:i,key:a,ref:r!==void 0?r:null,props:o}}return ic.Fragment=t,ic.jsx=n,ic.jsxs=n,ic}var y2;function R4(){return y2||(y2=1,$y.exports=E4()),$y.exports}var S=R4();const T4="modulepreload",M4=function(e,t){return new URL(e,t).href},v2={},Jo=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){let d=function(h){return Promise.all(h.map(g=>Promise.resolve(g).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const a=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),u=c?.nonce||c?.getAttribute("nonce");r=d(n.map(h=>{if(h=M4(h,i),h in v2)return;v2[h]=!0;const g=h.endsWith(".css"),m=g?'[rel="stylesheet"]':"";if(i)for(let b=a.length-1;b>=0;b--){const w=a[b];if(w.href===h&&(!g||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${h}"]${m}`))return;const y=document.createElement("link");if(y.rel=g?"stylesheet":T4,g||(y.as="script"),y.crossOrigin="",y.href=h,u&&y.setAttribute("nonce",u),document.head.appendChild(y),g)return new Promise((b,w)=>{y.addEventListener("load",b),y.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return r.then(a=>{for(const c of a||[])c.status==="rejected"&&o(c.reason);return t().catch(o)})},xe=e=>typeof e=="string",rc=()=>{let e,t;const n=new Promise((i,r)=>{e=i,t=r});return n.resolve=e,n.reject=t,n},b2=e=>e==null?"":String(e),A4=(e,t,n)=>{e.forEach(i=>{t[i]&&(n[i]=t[i])})},D4=/###/g,x2=e=>e&&e.includes("###")?e.replace(D4,"."):e,S2=e=>!e||xe(e),Ac=(e,t,n)=>{const i=xe(t)?t.split("."):t;let r=0;for(;r<i.length-1;){if(S2(e))return{};const o=x2(i[r]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++r}return S2(e)?{}:{obj:e,k:x2(i[r])}},w2=(e,t,n)=>{const{obj:i,k:r}=Ac(e,t,Object);if(i!==void 0||t.length===1){i[r]=n;return}let o=t[t.length-1],a=t.slice(0,t.length-1),c=Ac(e,a,Object);for(;c.obj===void 0&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),c=Ac(e,a,Object),c?.obj&&typeof c.obj[`${c.k}.${o}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${o}`]=n},P4=(e,t,n,i)=>{const{obj:r,k:o}=Ac(e,t,Object);r[o]=r[o]||[],r[o].push(n)},ph=(e,t)=>{const{obj:n,k:i}=Ac(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,i))return n[i]},j4=(e,t,n)=>{const i=ph(e,n);return i!==void 0?i:ph(t,n)},GA=(e,t,n)=>{for(const i in t)i!=="__proto__"&&i!=="constructor"&&(i in e?xe(e[i])||e[i]instanceof String||xe(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):GA(e[i],t[i],n):e[i]=t[i]);return e},Fo=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),L4={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},N4=e=>xe(e)?e.replace(/[&<>"'\/]/g,t=>L4[t]):e;class k4{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const I4=[" ",",","?","!",";"],z4=new k4(20),$4=(e,t,n)=>{t=t||"",n=n||"";const i=I4.filter(a=>!t.includes(a)&&!n.includes(a));if(i.length===0)return!0;const r=z4.getRegExp(`(${i.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!r.test(e);if(!o){const a=e.indexOf(n);a>0&&!r.test(e.substring(0,a))&&(o=!0)}return o},mb=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const i=t.split(n);let r=e;for(let o=0;o<i.length;){if(!r||typeof r!="object")return;let a,c="";for(let u=o;u<i.length;++u)if(u!==o&&(c+=n),c+=i[u],a=r[c],a!==void 0){if(["string","number","boolean"].includes(typeof a)&&u<i.length-1)continue;o+=u-o+1;break}r=a}return r},Wc=e=>e?.replace(/_/g,"-"),F4={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class gh{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||F4,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,i,r){return r&&!this.debug?null:(xe(t[0])&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new gh(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new gh(this.logger,t)}}var Ai=new gh;class mp{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);const r=this.observers[i].get(n)||0;this.observers[i].set(n,r+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}once(t,n){const i=(...r)=>{n(...r),this.off(t,i)};return this.on(t,i),this}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([r,o])=>{for(let a=0;a<o;a++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,o])=>{for(let a=0;a<o;a++)r(t,...n)})}}class _2 extends mp{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.includes(t)||this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i,r={}){const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ignoreJSONStructure!==void 0?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.includes(".")?c=t.split("."):(c=[t,n],i&&(Array.isArray(i)?c.push(...i):xe(i)&&o?c.push(...i.split(o)):c.push(i)));const u=ph(this.data,c);return!u&&!n&&!i&&t.includes(".")&&(t=c[0],n=c[1],i=c.slice(2).join(".")),u||!a||!xe(i)?u:mb(this.data?.[t]?.[n],i,o)}addResource(t,n,i,r,o={silent:!1}){const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let c=[t,n];i&&(c=c.concat(a?i.split(a):i)),t.includes(".")&&(c=t.split("."),r=n,n=c[1]),this.addNamespaces(n),w2(this.data,c,r),o.silent||this.emit("added",t,n,i,r)}addResources(t,n,i,r={silent:!1}){for(const o in i)(xe(i[o])||Array.isArray(i[o]))&&this.addResource(t,n,o,i[o],{silent:!0});r.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,r,o,a={silent:!1,skipCopy:!1}){let c=[t,n];t.includes(".")&&(c=t.split("."),r=i,i=n,n=c[1]),this.addNamespaces(n);let u=ph(this.data,c)||{};a.skipCopy||(i=JSON.parse(JSON.stringify(i))),r?GA(u,i,o):u={...u,...i},w2(this.data,c,u),a.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var qA={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,r){return e.forEach(o=>{t=this.processors[o]?.process(t,n,i,r)??t}),t}};const YA=Symbol("i18next/PATH_KEY");function B4(){const e=[],t=Object.create(null);let n;return t.get=(i,r)=>(n?.revoke?.(),r===YA?e:(e.push(r),n=Proxy.revocable(i,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function Ca(e,t){const{[YA]:n}=e(B4()),i=t?.keySeparator??".",r=t?.nsSeparator??":";if(n.length>1&&r){const o=t?.ns,a=Array.isArray(o)?o:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${r}${n.slice(1).join(i)}`}return n.join(i)}const Fy=e=>!xe(e)&&typeof e!="boolean"&&typeof e!="number";class mh extends mp{constructor(t,n={}){super(),A4(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ai.create("translator"),this.checkedLoadedFor={}}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const i={...n};if(t==null)return!1;const r=this.resolve(t,i);if(r?.res===void 0)return!1;const o=Fy(r.res);return!(i.returnObjects===!1&&o)}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const a=i&&t.includes(i),c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!$4(t,i,r);if(a&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:xe(o)?[o]:o};const d=t.split(i);(i!==r||i===r&&this.options.ns.includes(d[0]))&&(o=d.shift()),t=d.join(r)}return{key:t,namespaces:xe(o)?[o]:o}}translate(t,n,i){let r=typeof n=="object"?{...n}:n;if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";typeof t=="function"&&(t=Ca(t,{...this.options,...r})),Array.isArray(t)||(t=[String(t)]),t=t.map(B=>typeof B=="function"?Ca(B,{...this.options,...r}):String(B));const o=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:c,namespaces:u}=this.extractFromKey(t[t.length-1],r),d=u[u.length-1];let h=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const g=r.lng||this.language,m=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(g?.toLowerCase()==="cimode")return m?o?{res:`${d}${h}${c}`,usedKey:c,exactUsedKey:c,usedLng:g,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:`${d}${h}${c}`:o?{res:c,usedKey:c,exactUsedKey:c,usedLng:g,usedNS:d,usedParams:this.getUsedParamsDetails(r)}:c;const y=this.resolve(t,r);let b=y?.res;const w=y?.usedKey||c,_=y?.exactUsedKey||c,O=["[object Number]","[object Function]","[object RegExp]"],R=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,M=r.count!==void 0&&!xe(r.count),D=mh.hasDefaultValue(r),P=M?this.pluralResolver.getSuffix(g,r.count,r):"",I=r.ordinal&&M?this.pluralResolver.getSuffix(g,r.count,{ordinal:!1}):"",z=M&&!r.ordinal&&r.count===0,U=z&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${P}`]||r[`defaultValue${I}`]||r.defaultValue;let $=b;T&&!b&&D&&($=U);const W=Fy($),Y=Object.prototype.toString.apply($);if(T&&$&&W&&!O.includes(Y)&&!(xe(R)&&Array.isArray($))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const B=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,$,{...r,ns:u}):`key '${c} (${this.language})' returned an object instead of string.`;return o?(y.res=B,y.usedParams=this.getUsedParamsDetails(r),y):B}if(a){const B=Array.isArray($),H=B?[]:{},L=B?_:w;for(const N in $)if(Object.prototype.hasOwnProperty.call($,N)){const j=`${L}${a}${N}`;D&&!b?H[N]=this.translate(j,{...r,defaultValue:Fy(U)?U[N]:void 0,joinArrays:!1,ns:u}):H[N]=this.translate(j,{...r,joinArrays:!1,ns:u}),H[N]===j&&(H[N]=$[N])}b=H}}else if(T&&xe(R)&&Array.isArray(b))b=b.join(R),b&&(b=this.extendTranslation(b,t,r,i));else{let B=!1,H=!1;!this.isValidLookup(b)&&D&&(B=!0,b=U),this.isValidLookup(b)||(H=!0,b=c);const N=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&H?void 0:b,j=D&&U!==b&&this.options.updateMissing;if(H||B||j){if(this.logger.log(j?"updateKey":"missingKey",g,d,c,j?U:b),a){const k=this.resolve(c,{...r,keySeparator:!1});k&&k.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let V=[];const ie=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ie&&ie[0])for(let k=0;k<ie.length;k++)V.push(ie[k]);else this.options.saveMissingTo==="all"?V=this.languageUtils.toResolveHierarchy(r.lng||this.language):V.push(r.lng||this.language);const ae=(k,J,se)=>{const le=D&&se!==b?se:N;this.options.missingKeyHandler?this.options.missingKeyHandler(k,d,J,le,j,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(k,d,J,le,j,r),this.emit("missingKey",k,d,J,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&M?V.forEach(k=>{const J=this.pluralResolver.getSuffixes(k,r);z&&r[`defaultValue${this.options.pluralSeparator}zero`]&&!J.includes(`${this.options.pluralSeparator}zero`)&&J.push(`${this.options.pluralSeparator}zero`),J.forEach(se=>{ae([k],c+se,r[`defaultValue${se}`]||U)})}):ae(V,c,U))}b=this.extendTranslation(b,t,r,y,i),H&&b===c&&this.options.appendNamespaceToMissingKey&&(b=`${d}${h}${c}`),(H||B)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${h}${c}`:c,B?b:void 0,r))}return o?(y.res=b,y.usedParams=this.getUsedParamsDetails(r),y):b}extendTranslation(t,n,i,r,o){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=xe(t)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const g=t.match(this.interpolator.nestingRegexp);d=g&&g.length}let h=i.replace&&!xe(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,i.lng||this.language||r.usedLng,i),u){const g=t.match(this.interpolator.nestingRegexp),m=g&&g.length;d<m&&(i.nest=!1)}!i.lng&&r&&r.res&&(i.lng=this.language||r.usedLng),i.nest!==!1&&(t=this.interpolator.nest(t,(...g)=>o?.[0]===g[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${n[0]}`),null):this.translate(...g,n),i)),i.interpolation&&this.interpolator.reset()}const a=i.postProcess||this.options.postProcess,c=xe(a)?[a]:a;return t!=null&&c?.length&&i.applyPostProcessor!==!1&&(t=qA.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t,n={}){let i,r,o,a,c;return xe(t)&&(t=[t]),Array.isArray(t)&&(t=t.map(u=>typeof u=="function"?Ca(u,{...this.options,...n}):u)),t.forEach(u=>{if(this.isValidLookup(i))return;const d=this.extractFromKey(u,n),h=d.key;r=h;let g=d.namespaces;this.options.fallbackNS&&(g=g.concat(this.options.fallbackNS));const m=n.count!==void 0&&!xe(n.count),y=m&&!n.ordinal&&n.count===0,b=n.context!==void 0&&(xe(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);g.forEach(_=>{this.isValidLookup(i)||(c=_,!this.checkedLoadedFor[`${w[0]}-${_}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(this.checkedLoadedFor[`${w[0]}-${_}`]=!0,this.logger.warn(`key "${r}" for languages "${w.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(O=>{if(this.isValidLookup(i))return;a=O;const R=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(R,h,O,_,n);else{let M;m&&(M=this.pluralResolver.getSuffix(O,n.count,n));const D=`${this.options.pluralSeparator}zero`,P=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(n.ordinal&&M.startsWith(P)&&R.push(h+M.replace(P,this.options.pluralSeparator)),R.push(h+M),y&&R.push(h+D)),b){const I=`${h}${this.options.contextSeparator||"_"}${n.context}`;R.push(I),m&&(n.ordinal&&M.startsWith(P)&&R.push(I+M.replace(P,this.options.pluralSeparator)),R.push(I+M),y&&R.push(I+D))}}let T;for(;T=R.pop();)this.isValidLookup(i)||(o=T,i=this.getResource(O,_,T,n))}))})}),{res:i,usedKey:r,exactUsedKey:o,usedLng:a,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,i,r):this.resourceStore.getResource(t,n,i,r)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&!xe(t.replace);let r=i?t.replace:t;if(i&&typeof t.count<"u"&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!i){r={...r};for(const o of n)delete r[o]}return r}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&i.startsWith(n)&&t[i]!==void 0)return!0;return!1}}class C2{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ai.create("languageUtils")}getScriptPartFromCode(t){if(t=Wc(t),!t||!t.includes("-"))return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Wc(t),!t||!t.includes("-"))return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(xe(t)&&t.includes("-")){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(t)}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const r=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(r))&&(n=r)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const r=this.getScriptPartFromCode(i);if(this.isSupportedCode(r))return n=r;const o=this.getLanguagePartFromCode(i);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(a=>a===o?!0:!a.includes("-")&&!o.includes("-")?!1:!!(a.includes("-")&&!o.includes("-")&&a.slice(0,a.indexOf("-"))===o||a.startsWith(o)&&o.length>1))}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),xe(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),r=[],o=a=>{a&&(this.isSupportedCode(a)?r.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return xe(t)&&(t.includes("-")||t.includes("_"))?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):xe(t)&&o(this.formatLanguageCode(t)),i.forEach(a=>{r.includes(a)||o(this.formatLanguageCode(a))}),r}}const O2={zero:0,one:1,two:2,few:3,many:4,other:5},E2={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class H4{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Ai.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const i=Wc(t==="dev"?"en":t),r=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:i,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a;try{a=new Intl.PluralRules(i,{type:r})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),E2;if(!t.match(/-|_/))return E2;const u=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(u,n)}return this.pluralRulesCache[o]=a,a}needsPlural(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n,i={}){return this.getSuffixes(t,i).map(r=>`${n}${r}`)}getSuffixes(t,n={}){let i=this.getRule(t,n);return i||(i=this.getRule("dev",n)),i?i.resolvedOptions().pluralCategories.sort((r,o)=>O2[r]-O2[o]).map(r=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r}`):[]}getSuffix(t,n,i={}){const r=this.getRule(t,i);return r?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${r.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,i))}}const R2=(e,t,n,i=".",r=!0)=>{let o=j4(e,t,n);return!o&&r&&xe(n)&&(o=mb(e,n,i),o===void 0&&(o=mb(t,n,i))),o},By=e=>e.replace(/\$/g,"$$$$");class T2{constructor(t={}){this.logger=Ai.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:r,prefix:o,prefixEscaped:a,suffix:c,suffixEscaped:u,formatSeparator:d,unescapeSuffix:h,unescapePrefix:g,nestingPrefix:m,nestingPrefixEscaped:y,nestingSuffix:b,nestingSuffixEscaped:w,nestingOptionsSeparator:_,maxReplaces:O,alwaysFormat:R}=t.interpolation;this.escape=n!==void 0?n:N4,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=r!==void 0?r:!1,this.prefix=o?Fo(o):a||"{{",this.suffix=c?Fo(c):u||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":g||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=m?Fo(m):y||Fo("$t("),this.nestingSuffix=b?Fo(b):w||Fo(")"),this.nestingOptionsSeparator=_||",",this.maxReplaces=O||1e3,this.alwaysFormat=R!==void 0?R:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n?.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,i,r){let o,a,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=y=>{if(!y.includes(this.formatSeparator)){const O=R2(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(O,void 0,i,{...r,...n,interpolationkey:y}):O}const b=y.split(this.formatSeparator),w=b.shift().trim(),_=b.join(this.formatSeparator).trim();return this.format(R2(n,u,w,this.options.keySeparator,this.options.ignoreJSONStructure),_,i,{...r,...n,interpolationkey:w})};this.resetRegExp();const h=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,g=r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>By(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?By(this.escape(y)):By(y)}].forEach(y=>{for(c=0;o=y.regex.exec(t);){const b=o[1].trim();if(a=d(b),a===void 0)if(typeof h=="function"){const _=h(t,o,r);a=xe(_)?_:""}else if(r&&Object.prototype.hasOwnProperty.call(r,b))a="";else if(g){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),a="";else!xe(a)&&!this.useRawValueToEscape&&(a=b2(a));const w=y.safeValue(a);if(t=t.replace(o[0],w),g?(y.regex.lastIndex+=a.length,y.regex.lastIndex-=o[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n,i={}){let r,o,a;const c=(u,d)=>{const h=this.nestingOptionsSeparator;if(!u.includes(h))return u;const g=u.split(new RegExp(`${Fo(h)}[ ]*{`));let m=`{${g[1]}`;u=g[0],m=this.interpolate(m,a);const y=m.match(/'/g),b=m.match(/"/g);((y?.length??0)%2===0&&!b||(b?.length??0)%2!==0)&&(m=m.replace(/'/g,'"'));try{a=JSON.parse(m),d&&(a={...d,...a})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,w),`${u}${h}${m}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,u};for(;r=this.nestingRegexp.exec(t);){let u=[];a={...i},a=a.replace&&!xe(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const d=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),o=n(c.call(this,r[1].trim(),a),a),o&&r[0]===t&&!xe(o))return o;xe(o)||(o=b2(o)),o||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),o=""),u.length&&(o=u.reduce((h,g)=>this.format(h,g,i.lng,{...i,interpolationkey:r[1].trim()}),o.trim())),t=t.replace(r[0],o),this.regexp.lastIndex=0}return t}}const V4=e=>{let t=e.toLowerCase().trim();const n={};if(e.includes("(")){const i=e.split("(");t=i[0].toLowerCase().trim();const r=i[1].slice(0,-1);t==="currency"&&!r.includes(":")?n.currency||(n.currency=r.trim()):t==="relativetime"&&!r.includes(":")?n.range||(n.range=r.trim()):r.split(";").forEach(a=>{if(a){const[c,...u]=a.split(":"),d=u.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();n[h]||(n[h]=d),d==="false"&&(n[h]=!1),d==="true"&&(n[h]=!0),isNaN(d)||(n[h]=parseInt(d,10))}})}return{formatName:t,formatOptions:n}},M2=e=>{const t={};return(n,i,r)=>{let o=r;r&&r.interpolationkey&&r.formatParams&&r.formatParams[r.interpolationkey]&&r[r.interpolationkey]&&(o={...o,[r.interpolationkey]:void 0});const a=i+JSON.stringify(o);let c=t[a];return c||(c=e(Wc(i),r),t[a]=c),c(n)}},U4=e=>(t,n,i)=>e(Wc(n),i)(t);class W4{constructor(t={}){this.logger=Ai.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const i=n.cacheInBuiltFormats?M2:U4;this.formats={number:i((r,o)=>{const a=new Intl.NumberFormat(r,{...o});return c=>a.format(c)}),currency:i((r,o)=>{const a=new Intl.NumberFormat(r,{...o,style:"currency"});return c=>a.format(c)}),datetime:i((r,o)=>{const a=new Intl.DateTimeFormat(r,{...o});return c=>a.format(c)}),relativetime:i((r,o)=>{const a=new Intl.RelativeTimeFormat(r,{...o});return c=>a.format(c,o.range||"day")}),list:i((r,o)=>{const a=new Intl.ListFormat(r,{...o});return c=>a.format(c)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=M2(n)}format(t,n,i,r={}){if(!n||t==null)return t;const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&!o[0].includes(")")&&o.find(c=>c.includes(")"))){const c=o.findIndex(u=>u.includes(")"));o[0]=[o[0],...o.splice(1,c)].join(this.formatSeparator)}return o.reduce((c,u)=>{const{formatName:d,formatOptions:h}=V4(u);if(this.formats[d]){let g=c;try{const m=r?.formatParams?.[r.interpolationkey]||{},y=m.locale||m.lng||r.locale||r.lng||i;g=this.formats[d](c,y,{...h,...r,...m})}catch(m){this.logger.warn(m)}return g}else this.logger.warn(`there was no format function for ${d}`);return c},t)}}const G4=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class q4 extends mp{constructor(t,n,i,r={}){super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=r,this.logger=Ai.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(i,r.backend,r)}queueLoad(t,n,i,r){const o={},a={},c={},u={};return t.forEach(d=>{let h=!0;n.forEach(g=>{const m=`${d}|${g}`;!i.reload&&this.store.hasResourceBundle(d,g)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?a[m]===void 0&&(a[m]=!0):(this.state[m]=1,h=!1,a[m]===void 0&&(a[m]=!0),o[m]===void 0&&(o[m]=!0),u[g]===void 0&&(u[g]=!0)))}),h||(c[d]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,i){const r=t.split("|"),o=r[0],a=r[1];n&&this.emit("failedLoading",o,a,n),!n&&i&&this.store.addResourceBundle(o,a,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&i&&(this.state[t]=0);const c={};this.queue.forEach(u=>{P4(u.loaded,[o],a),G4(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(d=>{c[d]||(c[d]={});const h=u.loaded[d];h.length&&h.forEach(g=>{c[d][g]===void 0&&(c[d][g]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,i,r=0,o=this.retryTimeout,a){if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:r,wait:o,callback:a});return}this.readingCalls++;const c=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const g=this.waitingReads.shift();this.read(g.lng,g.ns,g.fcName,g.tried,g.wait,g.callback)}if(d&&h&&r<this.maxRetries){setTimeout(()=>{this.read(t,n,i,r+1,o*2,a)},o);return}a(d,h)},u=this.backend[i].bind(this.backend);if(u.length===2){try{const d=u(t,n);d&&typeof d.then=="function"?d.then(h=>c(null,h)).catch(c):c(null,d)}catch(d){c(d)}return}return u(t,n,c)}prepareLoading(t,n,i={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();xe(t)&&(t=this.languageUtils.toResolveHierarchy(t)),xe(n)&&(n=[n]);const o=this.queueLoad(t,n,i,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t,n=""){const i=t.split("|"),r=i[0],o=i[1];this.read(r,o,"read",void 0,void 0,(a,c)=>{a&&this.logger.warn(`${n}loading namespace ${o} for language ${r} failed`,a),!a&&c&&this.logger.log(`${n}loaded namespace ${o} for language ${r}`,c),this.loaded(t,a,c)})}saveMissing(t,n,i,r,o,a={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend?.create){const u={...a,isUpdate:o},d=this.backend.create.bind(this.backend);if(d.length<6)try{let h;d.length===5?h=d(t,n,i,r,u):h=d(t,n,i,r),h&&typeof h.then=="function"?h.then(g=>c(null,g)).catch(c):c(null,h)}catch(h){c(h)}else d(t,n,i,r,c,u)}!t||!t[0]||this.store.addResource(t[0],n,i,r)}}}const Hy=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),xe(e[1])&&(t.defaultValue=e[1]),xe(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),A2=e=>(xe(e.ns)&&(e.ns=[e.ns]),xe(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),xe(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),id=()=>{},Y4=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Dc extends mp{constructor(t={},n){if(super(),this.options=A2(t),this.services={},this.logger=Ai,this.modules={external:[]},Y4(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(xe(t.ns)?t.defaultNS=t.ns:t.ns.includes("translation")||(t.defaultNS=t.ns[0]));const i=Hy();this.options={...i,...this.options,...A2(t)},this.options.interpolation={...i.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=i.overloadTranslationOptionHandler);const r=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Ai.init(r(this.modules.logger),this.options):Ai.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=W4;const h=new C2(this.options);this.store=new _2(this.options.resources,this.options);const g=this.services;g.logger=Ai,g.resourceStore=this.store,g.languageUtils=h,g.pluralResolver=new H4(h,{prepend:this.options.pluralSeparator}),d&&(g.formatter=r(d),g.formatter.init&&g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new T2(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new q4(r(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",(m,...y)=>{this.emit(m,...y)}),this.modules.languageDetector&&(g.languageDetector=r(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=r(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new mh(this.services,this.options),this.translator.on("*",(m,...y)=>{this.emit(m,...y)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,n||(n=id),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...h)=>this.store[d](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...h)=>(this.store[d](...h),this)});const c=rc(),u=()=>{const d=(h,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(g),n(h,g)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),c}loadResources(t,n=id){let i=n;const r=xe(t)?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const o=[],a=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(d=>{d!=="cimode"&&(o.includes(d)||o.push(d))})};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>a(u)),this.options.preload?.forEach?.(c=>a(c)),this.services.backendConnector.load(o,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(c)})}else i(null)}reloadResources(t,n,i){const r=rc();return typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),i||(i=id),this.services.backendConnector.reload(t,n,o=>{r.resolve(),i(o)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&qA.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!["cimode","dev"].includes(t)){for(let n=0;n<this.languages.length;n++){const i=this.languages[n];if(!["cimode","dev"].includes(i)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&!this.languages.includes(t)&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const i=rc();this.emit("languageChanging",t);const r=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?this.isLanguageChangingTo===t&&(r(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve((...d)=>this.t(...d)),n&&n(c,(...d)=>this.t(...d))},a=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=xe(c)?c:c&&c[0],d=this.store.hasLanguageSomeTranslations(u)?u:this.services.languageUtils.getBestMatchFromCodes(xe(c)?[c]:c);d&&(this.language||r(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,h=>{o(h,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),i}getFixedT(t,n,i){const r=(o,a,...c)=>{let u;typeof a!="object"?u=this.options.overloadTranslationOptionHandler([o,a].concat(c)):u={...a},u.lng=u.lng||r.lng,u.lngs=u.lngs||r.lngs,u.ns=u.ns||r.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||i||r.keyPrefix);const d={...this.options,...u};typeof u.keyPrefix=="function"&&(u.keyPrefix=Ca(u.keyPrefix,d));const h=this.options.keySeparator||".";let g;return u.keyPrefix&&Array.isArray(o)?g=o.map(m=>(typeof m=="function"&&(m=Ca(m,d)),`${u.keyPrefix}${h}${m}`)):(typeof o=="function"&&(o=Ca(o,d)),g=u.keyPrefix?`${u.keyPrefix}${h}${o}`:o),this.t(g,u)};return xe(t)?r.lng=t:r.lngs=t,r.ns=n,r.keyPrefix=i,r}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const a=(c,u)=>{const d=this.services.backendConnector.state[`${c}|${u}`];return d===-1||d===0||d===2};if(n.precheck){const c=n.precheck(this,a);if(c!==void 0)return c}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(i,t)&&(!r||a(o,t)))}loadNamespaces(t,n){const i=rc();return this.options.ns?(xe(t)&&(t=[t]),t.forEach(r=>{this.options.ns.includes(r)||this.options.ns.push(r)}),this.loadResources(r=>{i.resolve(),n&&n(r)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=rc();xe(t)&&(t=[t]);const r=this.options.preload||[],o=t.filter(a=>!r.includes(a)&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=r.concat(o),this.loadResources(a=>{i.resolve(),n&&n(a)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const r=new Intl.Locale(t);if(r&&r.getTextInfo){const o=r.getTextInfo();if(o&&o.direction)return o.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services?.languageUtils||new C2(Hy());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.includes(i.getLanguagePartFromCode(t))||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const i=new Dc(t,n);return i.createInstance=Dc.createInstance,i}cloneInstance(t={},n=id){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const r={...this.options,...t,isClone:!0},o=new Dc(r);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(c=>{o[c]=this[c]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},i){const c=Object.keys(this.store.data).reduce((u,d)=>(u[d]={...this.store.data[d]},u[d]=Object.keys(u[d]).reduce((h,g)=>(h[g]={...u[d][g]},h),u[d]),u),{});o.store=new _2(c,r),o.services.resourceStore=o.store}if(t.interpolation){const u={...Hy().interpolation,...this.options.interpolation,...t.interpolation},d={...r,interpolation:u};o.services.interpolator=new T2(d)}return o.translator=new mh(o.services,r),o.translator.on("*",(c,...u)=>{o.emit(c,...u)}),o.init(r,n),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Xt=Dc.createInstance();Xt.createInstance;Xt.dir;Xt.init;Xt.loadResources;Xt.reloadResources;Xt.use;Xt.changeLanguage;Xt.getFixedT;Xt.t;Xt.exists;Xt.setDefaultNamespace;Xt.hasLoadedNamespace;Xt.loadNamespaces;Xt.loadLanguages;const{slice:K4,forEach:X4}=[];function Q4(e){return X4.call(K4.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function Z4(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const D2=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,J4=function(e,t){const i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},r=encodeURIComponent(t);let o=`${e}=${r}`;if(i.maxAge>0){const a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(a)}`}if(i.domain){if(!D2.test(i.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${i.domain}`}if(i.path){if(!D2.test(i.path))throw new TypeError("option path is invalid");o+=`; Path=${i.path}`}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${i.expires.toUTCString()}`}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(o+="; Partitioned"),o},P2={create(e,t,n,i){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+n*60*1e3)),i&&(r.domain=i),document.cookie=J4(e,t,r)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let i=0;i<n.length;i++){let r=n[i];for(;r.charAt(0)===" ";)r=r.substring(1,r.length);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var e5={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return P2.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:i,cookieDomain:r,cookieOptions:o}=t;n&&typeof document<"u"&&P2.create(n,e,i,r,o)}},t5={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:i}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const o=i.substring(1).split("&");for(let a=0;a<o.length;a++){const c=o[a].indexOf("=");c>0&&o[a].substring(0,c)===t&&(n=o[a].substring(c+1))}}return n}},n5={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,i;if(typeof window<"u"){const{hash:r}=window.location;if(r&&r.length>2){const o=r.substring(1);if(t){const a=o.split("&");for(let c=0;c<a.length;c++){const u=a[c].indexOf("=");u>0&&a[c].substring(0,u)===t&&(i=a[c].substring(u+1))}}if(i)return i;if(!i&&n>-1){const a=r.match(/\/([a-zA-Z-]*)/g);return Array.isArray(a)?a[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return i}};let ca=null;const j2=()=>{if(ca!==null)return ca;try{if(ca=typeof window<"u"&&window.localStorage!==null,!ca)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{ca=!1}return ca};var i5={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&j2())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&j2()&&window.localStorage.setItem(n,e)}};let ua=null;const L2=()=>{if(ua!==null)return ua;try{if(ua=typeof window<"u"&&window.sessionStorage!==null,!ua)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{ua=!1}return ua};var r5={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&L2())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&L2()&&window.sessionStorage.setItem(n,e)}},o5={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:i,language:r}=navigator;if(n)for(let o=0;o<n.length;o++)t.push(n[o]);i&&t.push(i),r&&t.push(r)}return t.length>0?t:void 0}},s5={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const i=t||(typeof document<"u"?document.documentElement:null);return i&&typeof i.getAttribute=="function"&&(n=i.getAttribute("lang")),n}},a5={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},l5={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,i=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[n]}};let KA=!1;try{document.cookie,KA=!0}catch{}const XA=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];KA||XA.splice(1,1);const c5=()=>({order:XA,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class QA{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=Q4(n,this.options||{},c5()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=r=>r.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(e5),this.addDetector(t5),this.addDetector(i5),this.addDetector(r5),this.addDetector(o5),this.addDetector(s5),this.addDetector(a5),this.addDetector(l5),this.addDetector(n5)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(i=>{if(this.detectors[i]){let r=this.detectors[i].lookup(this.options);r&&typeof r=="string"&&(r=[r]),r&&(n=n.concat(r))}}),n=n.filter(i=>i!=null&&!Z4(i)).map(i=>this.options.convertDetectedLanguage(i)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(i=>{this.detectors[i]&&this.detectors[i].cacheUserLanguage(t,this.options)}))}}QA.type="languageDetector";function yb(e){"@babel/helpers - typeof";return yb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yb(e)}function ZA(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":yb(XMLHttpRequest))==="object"}function u5(e){return!!e&&typeof e.then=="function"}function f5(e){return u5(e)?e:Promise.resolve(e)}var d5=/\{\{(.+?)\}\}/g;function N2(e,t){return e.replace(d5,function(n,i){var r=t[i.trim()];return r??n})}function k2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function I2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k2(Object(n),!0).forEach(function(i){h5(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k2(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function h5(e,t,n){return(t=p5(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p5(e){var t=g5(e,"string");return fs(t)=="symbol"?t:t+""}function g5(e,t){if(fs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(fs(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fs(e){"@babel/helpers - typeof";return fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fs(e)}var lo=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?lo=global.fetch:typeof window<"u"&&window.fetch&&(lo=window.fetch);var Gc;ZA()&&(typeof global<"u"&&global.XMLHttpRequest?Gc=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Gc=window.XMLHttpRequest));var yh;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?yh=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(yh=window.ActiveXObject));typeof lo!="function"&&(lo=void 0);if(!lo&&!Gc&&!yh)try{Jo(()=>import("./browser-ponyfill-BaOhONaW.js").then(e=>e.b),[],import.meta.url).then(function(e){lo=e.default}).catch(function(){})}catch{}var vb=function(t,n){if(n&&fs(n)==="object"){var i="";for(var r in n)i+="&"+encodeURIComponent(r)+"="+encodeURIComponent(n[r]);if(!i)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+i.slice(1)}return t},z2=function(t,n,i,r){var o=function(u){if(!u.ok)return i(u.statusText||"Error",{status:u.status});u.text().then(function(d){i(null,{status:u.status,data:d})}).catch(i)};if(r){var a=r(t,n);if(a instanceof Promise){a.then(o).catch(i);return}}typeof fetch=="function"?fetch(t,n).then(o).catch(i):lo(t,n).then(o).catch(i)},$2=!1,m5=function(t,n,i,r){t.queryStringParams&&(n=vb(n,t.queryStringParams));var o=I2({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),i&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(i):t.requestOptions,c=I2({method:i?"POST":"GET",body:i?t.stringify(i):void 0,headers:o},$2?{}:a),u=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{z2(n,c,r,u)}catch(d){if(!a||Object.keys(a).length===0||!d.message||d.message.indexOf("not implemented")<0)return r(d);try{Object.keys(a).forEach(function(h){delete c[h]}),z2(n,c,r,u),$2=!0}catch(h){r(h)}}},y5=function(t,n,i,r){i&&fs(i)==="object"&&(i=vb("",i).slice(1)),t.queryStringParams&&(n=vb(n,t.queryStringParams));try{var o=Gc?new Gc:new yh("MSXML2.XMLHTTP.3.0");o.open(i?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,i&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var c in a)o.setRequestHeader(c,a[c]);o.onreadystatechange=function(){o.readyState>3&&r(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(i)}catch(u){console&&console.log(u)}},v5=function(t,n,i,r){if(typeof i=="function"&&(r=i,i=void 0),r=r||function(){},lo&&n.indexOf("file:")!==0)return m5(t,n,i,r);if(ZA()||typeof ActiveXObject=="function")return y5(t,n,i,r);r(new Error("No fetch and no xhr implementation found!"))};function Da(e){"@babel/helpers - typeof";return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Da(e)}function F2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Vy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?F2(Object(n),!0).forEach(function(i){JA(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F2(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function b5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x5(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,eD(i.key),i)}}function S5(e,t,n){return t&&x5(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function JA(e,t,n){return(t=eD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eD(e){var t=w5(e,"string");return Da(t)=="symbol"?t:t+""}function w5(e,t){if(Da(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Da(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var _5=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,i,r){return JA({},i,r||"")},parseLoadPayload:function(n,i){},request:v5,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},tD=(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};b5(this,e),this.services=t,this.options=n,this.allOptions=i,this.type="backend",this.init(t,n,i)}return S5(e,[{key:"init",value:function(n){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=Vy(Vy(Vy({},_5()),this.options||{}),r),this.allOptions=o,this.services&&this.options.reloadInterval){var a=setInterval(function(){return i.reload()},this.options.reloadInterval);Da(a)==="object"&&typeof a.unref=="function"&&a.unref()}}},{key:"readMulti",value:function(n,i,r){this._readAny(n,n,i,i,r)}},{key:"read",value:function(n,i,r){this._readAny([n],n,[i],i,r)}},{key:"_readAny",value:function(n,i,r,o,a){var c=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(n,r)),u=f5(u),u.then(function(d){if(!d)return a(null,{});var h=N2(d,{lng:n.join("+"),ns:r.join("+")});c.loadUrl(h,a,i,o)})}},{key:"loadUrl",value:function(n,i,r,o){var a=this,c=typeof r=="string"?[r]:r,u=typeof o=="string"?[o]:o,d=this.options.parseLoadPayload(c,u);this.options.request(this.options,n,d,function(h,g){if(g&&(g.status>=500&&g.status<600||!g.status))return i("failed loading "+n+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return i("failed loading "+n+"; status code: "+g.status,!1);if(!g&&h&&h.message){var m=h.message.toLowerCase(),y=["failed","fetch","network","load"].find(function(_){return m.indexOf(_)>-1});if(y)return i("failed loading "+n+": "+h.message,!0)}if(h)return i(h,!1);var b,w;try{typeof g.data=="string"?b=a.options.parse(g.data,r,o):b=g.data}catch{w="failed parsing "+n+" to json"}if(w)return i(w,!1);i(null,b)})}},{key:"create",value:function(n,i,r,o,a){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var u=this.options.parsePayload(i,r,o),d=0,h=[],g=[];n.forEach(function(m){var y=c.options.addPath;typeof c.options.addPath=="function"&&(y=c.options.addPath(m,i));var b=N2(y,{lng:m,ns:i});c.options.request(c.options,b,u,function(w,_){d+=1,h.push(w),g.push(_),d===n.length&&typeof a=="function"&&a(h,g)})})}}},{key:"reload",value:function(){var n=this,i=this.services,r=i.backendConnector,o=i.languageUtils,a=i.logger,c=r.language;if(!(c&&c.toLowerCase()==="cimode")){var u=[],d=function(g){var m=o.toResolveHierarchy(g);m.forEach(function(y){u.indexOf(y)<0&&u.push(y)})};d(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(h){return d(h)}),u.forEach(function(h){n.allOptions.ns.forEach(function(g){r.read(h,g,"read",null,null,function(m,y){m&&a.warn("loading namespace ".concat(g," for language ").concat(h," failed"),m),!m&&y&&a.log("loaded namespace ".concat(g," for language ").concat(h),y),r.loaded("".concat(h,"|").concat(g),m,y)})})})}}}])})();tD.type="backend";var Uy={exports:{}},Se={};var B2;function C5(){if(B2)return Se;B2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),m=Symbol.iterator;function y(k){return k===null||typeof k!="object"?null:(k=m&&k[m]||k["@@iterator"],typeof k=="function"?k:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,_={};function O(k,J,se){this.props=k,this.context=J,this.refs=_,this.updater=se||b}O.prototype.isReactComponent={},O.prototype.setState=function(k,J){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,J,"setState")},O.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function R(){}R.prototype=O.prototype;function T(k,J,se){this.props=k,this.context=J,this.refs=_,this.updater=se||b}var M=T.prototype=new R;M.constructor=T,w(M,O.prototype),M.isPureReactComponent=!0;var D=Array.isArray;function P(){}var I={H:null,A:null,T:null,S:null},z=Object.prototype.hasOwnProperty;function U(k,J,se){var le=se.ref;return{$$typeof:e,type:k,key:J,ref:le!==void 0?le:null,props:se}}function $(k,J){return U(k.type,J,k.props)}function W(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function Y(k){var J={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(se){return J[se]})}var B=/\/+/g;function H(k,J){return typeof k=="object"&&k!==null&&k.key!=null?Y(""+k.key):J.toString(36)}function L(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(P,P):(k.status="pending",k.then(function(J){k.status==="pending"&&(k.status="fulfilled",k.value=J)},function(J){k.status==="pending"&&(k.status="rejected",k.reason=J)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function N(k,J,se,le,pe){var de=typeof k;(de==="undefined"||de==="boolean")&&(k=null);var Ce=!1;if(k===null)Ce=!0;else switch(de){case"bigint":case"string":case"number":Ce=!0;break;case"object":switch(k.$$typeof){case e:case t:Ce=!0;break;case h:return Ce=k._init,N(Ce(k._payload),J,se,le,pe)}}if(Ce)return pe=pe(k),Ce=le===""?"."+H(k,0):le,D(pe)?(se="",Ce!=null&&(se=Ce.replace(B,"$&/")+"/"),N(pe,J,se,"",function(Bt){return Bt})):pe!=null&&(W(pe)&&(pe=$(pe,se+(pe.key==null||k&&k.key===pe.key?"":(""+pe.key).replace(B,"$&/")+"/")+Ce)),J.push(pe)),1;Ce=0;var Ye=le===""?".":le+":";if(D(k))for(var Ne=0;Ne<k.length;Ne++)le=k[Ne],de=Ye+H(le,Ne),Ce+=N(le,J,se,de,pe);else if(Ne=y(k),typeof Ne=="function")for(k=Ne.call(k),Ne=0;!(le=k.next()).done;)le=le.value,de=Ye+H(le,Ne++),Ce+=N(le,J,se,de,pe);else if(de==="object"){if(typeof k.then=="function")return N(L(k),J,se,le,pe);throw J=String(k),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return Ce}function j(k,J,se){if(k==null)return k;var le=[],pe=0;return N(k,le,"","",function(de){return J.call(se,de,pe++)}),le}function V(k){if(k._status===-1){var J=k._result;J=J(),J.then(function(se){(k._status===0||k._status===-1)&&(k._status=1,k._result=se)},function(se){(k._status===0||k._status===-1)&&(k._status=2,k._result=se)}),k._status===-1&&(k._status=0,k._result=J)}if(k._status===1)return k._result.default;throw k._result}var ie=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},ae={map:j,forEach:function(k,J,se){j(k,function(){J.apply(this,arguments)},se)},count:function(k){var J=0;return j(k,function(){J++}),J},toArray:function(k){return j(k,function(J){return J})||[]},only:function(k){if(!W(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return Se.Activity=g,Se.Children=ae,Se.Component=O,Se.Fragment=n,Se.Profiler=r,Se.PureComponent=T,Se.StrictMode=i,Se.Suspense=u,Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Se.__COMPILER_RUNTIME={__proto__:null,c:function(k){return I.H.useMemoCache(k)}},Se.cache=function(k){return function(){return k.apply(null,arguments)}},Se.cacheSignal=function(){return null},Se.cloneElement=function(k,J,se){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var le=w({},k.props),pe=k.key;if(J!=null)for(de in J.key!==void 0&&(pe=""+J.key),J)!z.call(J,de)||de==="key"||de==="__self"||de==="__source"||de==="ref"&&J.ref===void 0||(le[de]=J[de]);var de=arguments.length-2;if(de===1)le.children=se;else if(1<de){for(var Ce=Array(de),Ye=0;Ye<de;Ye++)Ce[Ye]=arguments[Ye+2];le.children=Ce}return U(k.type,pe,le)},Se.createContext=function(k){return k={$$typeof:a,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:o,_context:k},k},Se.createElement=function(k,J,se){var le,pe={},de=null;if(J!=null)for(le in J.key!==void 0&&(de=""+J.key),J)z.call(J,le)&&le!=="key"&&le!=="__self"&&le!=="__source"&&(pe[le]=J[le]);var Ce=arguments.length-2;if(Ce===1)pe.children=se;else if(1<Ce){for(var Ye=Array(Ce),Ne=0;Ne<Ce;Ne++)Ye[Ne]=arguments[Ne+2];pe.children=Ye}if(k&&k.defaultProps)for(le in Ce=k.defaultProps,Ce)pe[le]===void 0&&(pe[le]=Ce[le]);return U(k,de,pe)},Se.createRef=function(){return{current:null}},Se.forwardRef=function(k){return{$$typeof:c,render:k}},Se.isValidElement=W,Se.lazy=function(k){return{$$typeof:h,_payload:{_status:-1,_result:k},_init:V}},Se.memo=function(k,J){return{$$typeof:d,type:k,compare:J===void 0?null:J}},Se.startTransition=function(k){var J=I.T,se={};I.T=se;try{var le=k(),pe=I.S;pe!==null&&pe(se,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(P,ie)}catch(de){ie(de)}finally{J!==null&&se.types!==null&&(J.types=se.types),I.T=J}},Se.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Se.use=function(k){return I.H.use(k)},Se.useActionState=function(k,J,se){return I.H.useActionState(k,J,se)},Se.useCallback=function(k,J){return I.H.useCallback(k,J)},Se.useContext=function(k){return I.H.useContext(k)},Se.useDebugValue=function(){},Se.useDeferredValue=function(k,J){return I.H.useDeferredValue(k,J)},Se.useEffect=function(k,J){return I.H.useEffect(k,J)},Se.useEffectEvent=function(k){return I.H.useEffectEvent(k)},Se.useId=function(){return I.H.useId()},Se.useImperativeHandle=function(k,J,se){return I.H.useImperativeHandle(k,J,se)},Se.useInsertionEffect=function(k,J){return I.H.useInsertionEffect(k,J)},Se.useLayoutEffect=function(k,J){return I.H.useLayoutEffect(k,J)},Se.useMemo=function(k,J){return I.H.useMemo(k,J)},Se.useOptimistic=function(k,J){return I.H.useOptimistic(k,J)},Se.useReducer=function(k,J,se){return I.H.useReducer(k,J,se)},Se.useRef=function(k){return I.H.useRef(k)},Se.useState=function(k){return I.H.useState(k)},Se.useSyncExternalStore=function(k,J,se){return I.H.useSyncExternalStore(k,J,se)},Se.useTransition=function(){return I.H.useTransition()},Se.version="19.2.7",Se}var H2;function xs(){return H2||(H2=1,Uy.exports=C5()),Uy.exports}var C=xs();const q=Ua(C),Je=C4({__proto__:null,default:q},[C]),O5=(e,t,n,i)=>{const r=[n,{code:t,...i||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(r,"warn","react-i18next::",!0);ds(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...r):console?.warn&&console.warn(...r)},V2={},bb=(e,t,n,i)=>{ds(n)&&V2[n]||(ds(n)&&(V2[n]=new Date),O5(e,t,n,i))},nD=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},xb=(e,t,n)=>{e.loadNamespaces(t,nD(e,n))},U2=(e,t,n,i)=>{if(ds(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return xb(e,n,i);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,nD(e,i))},E5=(e,t,n={})=>!t.languages||!t.languages.length?(bb(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!r(i.isLanguageChangingTo,e))return!1}}),ds=e=>typeof e=="string",R5=e=>typeof e=="object"&&e!==null,T5=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,M5={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},A5=e=>M5[e],D5=e=>e.replace(T5,A5);let Sb={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:D5,transDefaultProps:void 0};const P5=(e={})=>{Sb={...Sb,...e}},j5=()=>Sb;let iD;const L5=e=>{iD=e},N5=()=>iD,k5={type:"3rdParty",init(e){P5(e.options.react),L5(e)}},I5=C.createContext();class z5{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Wy={exports:{}},Gy={};var W2;function $5(){if(W2)return Gy;W2=1;var e=xs();function t(g,m){return g===m&&(g!==0||1/g===1/m)||g!==g&&m!==m}var n=typeof Object.is=="function"?Object.is:t,i=e.useState,r=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function c(g,m){var y=m(),b=i({inst:{value:y,getSnapshot:m}}),w=b[0].inst,_=b[1];return o(function(){w.value=y,w.getSnapshot=m,u(w)&&_({inst:w})},[g,y,m]),r(function(){return u(w)&&_({inst:w}),g(function(){u(w)&&_({inst:w})})},[g]),a(y),y}function u(g){var m=g.getSnapshot;g=g.value;try{var y=m();return!n(g,y)}catch{return!0}}function d(g,m){return m()}var h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:c;return Gy.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h,Gy}var G2;function F5(){return G2||(G2=1,Wy.exports=$5()),Wy.exports}var B5=F5();const H5=(e,t)=>{if(ds(t))return t;if(R5(t)&&ds(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const n=e[e.length-1];return typeof n=="function"?"":n}return e},V5={t:H5,ready:!1},U5=()=>()=>{},yt=(e,t={})=>{const{i18n:n}=t,{i18n:i,defaultNS:r}=C.useContext(I5)||{},o=n||i||N5();o&&!o.reportNamespaces&&(o.reportNamespaces=new z5),o||bb(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const a=C.useMemo(()=>({...j5(),...o?.options?.react,...t}),[o,t]),{useSuspense:c,keyPrefix:u}=a,d=r||o?.options?.defaultNS,h=ds(d)?[d]:d||["translation"],g=C.useMemo(()=>h,h);o?.reportNamespaces?.addUsedNamespaces?.(g);const m=C.useRef(0),y=C.useCallback(U=>{if(!o)return U5;const{bindI18n:$,bindI18nStore:W}=a,Y=()=>{m.current+=1,U()};return $&&o.on($,Y),W&&o.store.on(W,Y),()=>{$&&$.split(" ").forEach(B=>o.off(B,Y)),W&&W.split(" ").forEach(B=>o.store.off(B,Y))}},[o,a]),b=C.useRef(),w=C.useCallback(()=>{if(!o)return V5;const U=!!(o.isInitialized||o.initializedStoreOnce)&&g.every(L=>E5(L,o,a)),$=t.lng||o.language,W=m.current,Y=b.current;if(Y&&Y.ready===U&&Y.lng===$&&Y.keyPrefix===u&&Y.revision===W)return Y;const H={t:o.getFixedT($,a.nsMode==="fallback"?g:g[0],u),ready:U,lng:$,keyPrefix:u,revision:W};return b.current=H,H},[o,g,u,a,t.lng]),[_,O]=C.useState(0),{t:R,ready:T}=B5.useSyncExternalStore(y,w,w);C.useEffect(()=>{if(o&&!T&&!c){const U=()=>O($=>$+1);t.lng?U2(o,t.lng,g,U):xb(o,g,U)}},[o,t.lng,g,T,c,_]);const M=o||{},D=C.useRef(null),P=C.useRef(),I=U=>{const $=Object.getOwnPropertyDescriptors(U);$.__original&&delete $.__original;const W=Object.create(Object.getPrototypeOf(U),$);if(!Object.prototype.hasOwnProperty.call(W,"__original"))try{Object.defineProperty(W,"__original",{value:U,writable:!1,enumerable:!1,configurable:!1})}catch{}return W},z=C.useMemo(()=>{const U=M,$=U?.language;let W=U;U&&(D.current&&D.current.__original===U?P.current!==$?(W=I(U),D.current=W,P.current=$):W=D.current:(W=I(U),D.current=W,P.current=$));const Y=!T&&!c?(...H)=>(bb(o,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),R(...H)):R,B=[Y,W,T];return B.t=Y,B.i18n=W,B.ready=T,B},[R,M,T,M.resolvedLanguage,M.language,M.languages]);if(o&&c&&!T)throw new Promise(U=>{const $=()=>U();t.lng?U2(o,t.lng,g,$):xb(o,g,$)});return z},fa={zh_cn:Jo(()=>import("./zh-cn-BApRBr87.js"),[],import.meta.url),zh_tw:Jo(()=>import("./zh-tw-Djt5t-OR.js"),[],import.meta.url),en:Jo(()=>import("./en-C9YYW2qT.js"),[],import.meta.url),vi:Jo(()=>import("./vi-CVjgWSjt.js"),[],import.meta.url),ru:Jo(()=>import("./ru-B3Riq2iA.js"),[],import.meta.url)};Xt.use(tD).use(k5).use(QA).init({debug:!1,backend:{loadPath:"/__{{lng}}/{{ns}}.json",request:function(e,t,n,i){let r;switch(t){case"/__zh/translation.json":case"/__zh-CN/translation.json":r=fa.zh_cn;break;case"/__zh-TW/translation.json":r=fa.zh_tw;break;case"/__en/translation.json":r=fa.en;break;case"/__vi/translation.json":r=fa.vi;break;case"/__ru/translation.json":r=fa.ru;break;default:r=fa.zh_cn;break}r&&r.then(o=>{i(null,{status:200,data:o.data})})}},supportedLngs:["zh-CN","zh-TW","en","vi","ru"],load:"currentOnly",fallbackLng:"en",interpolation:{escapeValue:!1}});var qy={exports:{}},oc={},Yy={exports:{}},Ky={};var q2;function W5(){return q2||(q2=1,(function(e){function t(N,j){var V=N.length;N.push(j);e:for(;0<V;){var ie=V-1>>>1,ae=N[ie];if(0<r(ae,j))N[ie]=j,N[V]=ae,V=ie;else break e}}function n(N){return N.length===0?null:N[0]}function i(N){if(N.length===0)return null;var j=N[0],V=N.pop();if(V!==j){N[0]=V;e:for(var ie=0,ae=N.length,k=ae>>>1;ie<k;){var J=2*(ie+1)-1,se=N[J],le=J+1,pe=N[le];if(0>r(se,V))le<ae&&0>r(pe,se)?(N[ie]=pe,N[le]=V,ie=le):(N[ie]=se,N[J]=V,ie=J);else if(le<ae&&0>r(pe,V))N[ie]=pe,N[le]=V,ie=le;else break e}}return j}function r(N,j){var V=N.sortIndex-j.sortIndex;return V!==0?V:N.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var u=[],d=[],h=1,g=null,m=3,y=!1,b=!1,w=!1,_=!1,O=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function M(N){for(var j=n(d);j!==null;){if(j.callback===null)i(d);else if(j.startTime<=N)i(d),j.sortIndex=j.expirationTime,t(u,j);else break;j=n(d)}}function D(N){if(w=!1,M(N),!b)if(n(u)!==null)b=!0,P||(P=!0,Y());else{var j=n(d);j!==null&&L(D,j.startTime-N)}}var P=!1,I=-1,z=5,U=-1;function $(){return _?!0:!(e.unstable_now()-U<z)}function W(){if(_=!1,P){var N=e.unstable_now();U=N;var j=!0;try{e:{b=!1,w&&(w=!1,R(I),I=-1),y=!0;var V=m;try{t:{for(M(N),g=n(u);g!==null&&!(g.expirationTime>N&&$());){var ie=g.callback;if(typeof ie=="function"){g.callback=null,m=g.priorityLevel;var ae=ie(g.expirationTime<=N);if(N=e.unstable_now(),typeof ae=="function"){g.callback=ae,M(N),j=!0;break t}g===n(u)&&i(u),M(N)}else i(u);g=n(u)}if(g!==null)j=!0;else{var k=n(d);k!==null&&L(D,k.startTime-N),j=!1}}break e}finally{g=null,m=V,y=!1}j=void 0}}finally{j?Y():P=!1}}}var Y;if(typeof T=="function")Y=function(){T(W)};else if(typeof MessageChannel<"u"){var B=new MessageChannel,H=B.port2;B.port1.onmessage=W,Y=function(){H.postMessage(null)}}else Y=function(){O(W,0)};function L(N,j){I=O(function(){N(e.unstable_now())},j)}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(N){N.callback=null},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_next=function(N){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var V=m;m=j;try{return N()}finally{m=V}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(N,j){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var V=m;m=N;try{return j()}finally{m=V}},e.unstable_scheduleCallback=function(N,j,V){var ie=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?ie+V:ie):V=ie,N){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=V+ae,N={id:h++,callback:j,priorityLevel:N,startTime:V,expirationTime:ae,sortIndex:-1},V>ie?(N.sortIndex=V,t(d,N),n(u)===null&&N===n(d)&&(w?(R(I),I=-1):w=!0,L(D,V-ie))):(N.sortIndex=ae,t(u,N),b||y||(b=!0,P||(P=!0,Y()))),N},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(N){var j=m;return function(){var V=m;m=j;try{return N.apply(this,arguments)}finally{m=V}}}})(Ky)),Ky}var Y2;function G5(){return Y2||(Y2=1,Yy.exports=W5()),Yy.exports}var Xy={exports:{}},Lt={};var K2;function q5(){if(K2)return Lt;K2=1;var e=xs();function t(u){var d="https://react.dev/errors/"+u;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)d+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+u+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},r=Symbol.for("react.portal");function o(u,d,h){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:g==null?null:""+g,children:u,containerInfo:d,implementation:h}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(u,d){if(u==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Lt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Lt.createPortal=function(u,d){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return o(u,d,null,h)},Lt.flushSync=function(u){var d=a.T,h=i.p;try{if(a.T=null,i.p=2,u)return u()}finally{a.T=d,i.p=h,i.d.f()}},Lt.preconnect=function(u,d){typeof u=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,i.d.C(u,d))},Lt.prefetchDNS=function(u){typeof u=="string"&&i.d.D(u)},Lt.preinit=function(u,d){if(typeof u=="string"&&d&&typeof d.as=="string"){var h=d.as,g=c(h,d.crossOrigin),m=typeof d.integrity=="string"?d.integrity:void 0,y=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;h==="style"?i.d.S(u,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:g,integrity:m,fetchPriority:y}):h==="script"&&i.d.X(u,{crossOrigin:g,integrity:m,fetchPriority:y,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Lt.preinitModule=function(u,d){if(typeof u=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var h=c(d.as,d.crossOrigin);i.d.M(u,{crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&i.d.M(u)},Lt.preload=function(u,d){if(typeof u=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var h=d.as,g=c(h,d.crossOrigin);i.d.L(u,h,{crossOrigin:g,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Lt.preloadModule=function(u,d){if(typeof u=="string")if(d){var h=c(d.as,d.crossOrigin);i.d.m(u,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else i.d.m(u)},Lt.requestFormReset=function(u){i.d.r(u)},Lt.unstable_batchedUpdates=function(u,d){return u(d)},Lt.useFormState=function(u,d,h){return a.H.useFormState(u,d,h)},Lt.useFormStatus=function(){return a.H.useHostTransitionStatus()},Lt.version="19.2.7",Lt}var X2;function Vx(){if(X2)return Xy.exports;X2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Xy.exports=q5(),Xy.exports}var Q2;function Y5(){if(Q2)return oc;Q2=1;var e=G5(),t=xs(),n=Vx();function i(s){var l="https://react.dev/errors/"+s;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)l+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+s+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function o(s){var l=s,f=s;if(s.alternate)for(;l.return;)l=l.return;else{s=l;do l=s,(l.flags&4098)!==0&&(f=l.return),s=l.return;while(s)}return l.tag===3?f:null}function a(s){if(s.tag===13){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function c(s){if(s.tag===31){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function u(s){if(o(s)!==s)throw Error(i(188))}function d(s){var l=s.alternate;if(!l){if(l=o(s),l===null)throw Error(i(188));return l!==s?null:s}for(var f=s,p=l;;){var v=f.return;if(v===null)break;var x=v.alternate;if(x===null){if(p=v.return,p!==null){f=p;continue}break}if(v.child===x.child){for(x=v.child;x;){if(x===f)return u(v),s;if(x===p)return u(v),l;x=x.sibling}throw Error(i(188))}if(f.return!==p.return)f=v,p=x;else{for(var E=!1,A=v.child;A;){if(A===f){E=!0,f=v,p=x;break}if(A===p){E=!0,p=v,f=x;break}A=A.sibling}if(!E){for(A=x.child;A;){if(A===f){E=!0,f=x,p=v;break}if(A===p){E=!0,p=x,f=v;break}A=A.sibling}if(!E)throw Error(i(189))}}if(f.alternate!==p)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?s:l}function h(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s;for(s=s.child;s!==null;){if(l=h(s),l!==null)return l;s=s.sibling}return null}var g=Object.assign,m=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),T=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function Y(s){return s===null||typeof s!="object"?null:(s=W&&s[W]||s["@@iterator"],typeof s=="function"?s:null)}var B=Symbol.for("react.client.reference");function H(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===B?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case w:return"Fragment";case O:return"Profiler";case _:return"StrictMode";case D:return"Suspense";case P:return"SuspenseList";case U:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case b:return"Portal";case T:return s.displayName||"Context";case R:return(s._context.displayName||"Context")+".Consumer";case M:var l=s.render;return s=s.displayName,s||(s=l.displayName||l.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case I:return l=s.displayName||null,l!==null?l:H(s.type)||"Memo";case z:l=s._payload,s=s._init;try{return H(s(l))}catch{}}return null}var L=Array.isArray,N=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},ie=[],ae=-1;function k(s){return{current:s}}function J(s){0>ae||(s.current=ie[ae],ie[ae]=null,ae--)}function se(s,l){ae++,ie[ae]=s.current,s.current=l}var le=k(null),pe=k(null),de=k(null),Ce=k(null);function Ye(s,l){switch(se(de,l),se(pe,s),se(le,null),l.nodeType){case 9:case 11:s=(s=l.documentElement)&&(s=s.namespaceURI)?$O(s):0;break;default:if(s=l.tagName,l=l.namespaceURI)l=$O(l),s=FO(l,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}J(le),se(le,s)}function Ne(){J(le),J(pe),J(de)}function Bt(s){s.memoizedState!==null&&se(Ce,s);var l=le.current,f=FO(l,s.type);l!==f&&(se(pe,s),se(le,f))}function bi(s){pe.current===s&&(J(le),J(pe)),Ce.current===s&&(J(Ce),Jl._currentValue=V)}var it,jn;function Ln(s){if(it===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);it=l&&l[1]||"",jn=-1<f.stack.indexOf(` + at`)?" (<anonymous>)":-1<f.stack.indexOf("@")?"@unknown:0:0":""}return` +`+it+s+jn}var wg=!1;function _g(s,l){if(!s||wg)return"";wg=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(l){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(te){var Z=te}Reflect.construct(s,[],oe)}else{try{oe.call()}catch(te){Z=te}s.call(oe.prototype)}}else{try{throw Error()}catch(te){Z=te}(oe=s())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(te){if(te&&Z&&typeof te.stack=="string")return[te.stack,Z.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=p.DetermineComponentFrameRoot(),E=x[0],A=x[1];if(E&&A){var F=E.split(` +`),Q=A.split(` +`);for(v=p=0;p<F.length&&!F[p].includes("DetermineComponentFrameRoot");)p++;for(;v<Q.length&&!Q[v].includes("DetermineComponentFrameRoot");)v++;if(p===F.length||v===Q.length)for(p=F.length-1,v=Q.length-1;1<=p&&0<=v&&F[p]!==Q[v];)v--;for(;1<=p&&0<=v;p--,v--)if(F[p]!==Q[v]){if(p!==1||v!==1)do if(p--,v--,0>v||F[p]!==Q[v]){var ne=` +`+F[p].replace(" at new "," at ");return s.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",s.displayName)),ne}while(1<=p&&0<=v);break}}}finally{wg=!1,Error.prepareStackTrace=f}return(f=s?s.displayName||s.name:"")?Ln(f):""}function tI(s,l){switch(s.tag){case 26:case 27:case 5:return Ln(s.type);case 16:return Ln("Lazy");case 13:return s.child!==l&&l!==null?Ln("Suspense Fallback"):Ln("Suspense");case 19:return Ln("SuspenseList");case 0:case 15:return _g(s.type,!1);case 11:return _g(s.type.render,!1);case 1:return _g(s.type,!0);case 31:return Ln("Activity");default:return""}}function mw(s){try{var l="",f=null;do l+=tI(s,f),f=s,s=s.return;while(s);return l}catch(p){return` +Error generating stack: `+p.message+` +`+p.stack}}var Cg=Object.prototype.hasOwnProperty,Og=e.unstable_scheduleCallback,Eg=e.unstable_cancelCallback,nI=e.unstable_shouldYield,iI=e.unstable_requestPaint,un=e.unstable_now,rI=e.unstable_getCurrentPriorityLevel,yw=e.unstable_ImmediatePriority,vw=e.unstable_UserBlockingPriority,$u=e.unstable_NormalPriority,oI=e.unstable_LowPriority,bw=e.unstable_IdlePriority,sI=e.log,aI=e.unstable_setDisableYieldValue,fl=null,fn=null;function Sr(s){if(typeof sI=="function"&&aI(s),fn&&typeof fn.setStrictMode=="function")try{fn.setStrictMode(fl,s)}catch{}}var dn=Math.clz32?Math.clz32:uI,lI=Math.log,cI=Math.LN2;function uI(s){return s>>>=0,s===0?32:31-(lI(s)/cI|0)|0}var Fu=256,Bu=262144,Hu=4194304;function wo(s){var l=s&42;if(l!==0)return l;switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return s&261888;case 262144:case 524288:case 1048576:case 2097152:return s&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function Vu(s,l,f){var p=s.pendingLanes;if(p===0)return 0;var v=0,x=s.suspendedLanes,E=s.pingedLanes;s=s.warmLanes;var A=p&134217727;return A!==0?(p=A&~x,p!==0?v=wo(p):(E&=A,E!==0?v=wo(E):f||(f=A&~s,f!==0&&(v=wo(f))))):(A=p&~x,A!==0?v=wo(A):E!==0?v=wo(E):f||(f=p&~s,f!==0&&(v=wo(f)))),v===0?0:l!==0&&l!==v&&(l&x)===0&&(x=v&-v,f=l&-l,x>=f||x===32&&(f&4194048)!==0)?l:v}function dl(s,l){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&l)===0}function fI(s,l){switch(s){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function xw(){var s=Hu;return Hu<<=1,(Hu&62914560)===0&&(Hu=4194304),s}function Rg(s){for(var l=[],f=0;31>f;f++)l.push(s);return l}function hl(s,l){s.pendingLanes|=l,l!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function dI(s,l,f,p,v,x){var E=s.pendingLanes;s.pendingLanes=f,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=f,s.entangledLanes&=f,s.errorRecoveryDisabledLanes&=f,s.shellSuspendCounter=0;var A=s.entanglements,F=s.expirationTimes,Q=s.hiddenUpdates;for(f=E&~f;0<f;){var ne=31-dn(f),oe=1<<ne;A[ne]=0,F[ne]=-1;var Z=Q[ne];if(Z!==null)for(Q[ne]=null,ne=0;ne<Z.length;ne++){var te=Z[ne];te!==null&&(te.lane&=-536870913)}f&=~oe}p!==0&&Sw(s,p,0),x!==0&&v===0&&s.tag!==0&&(s.suspendedLanes|=x&~(E&~l))}function Sw(s,l,f){s.pendingLanes|=l,s.suspendedLanes&=~l;var p=31-dn(l);s.entangledLanes|=l,s.entanglements[p]=s.entanglements[p]|1073741824|f&261930}function ww(s,l){var f=s.entangledLanes|=l;for(s=s.entanglements;f;){var p=31-dn(f),v=1<<p;v&l|s[p]&l&&(s[p]|=l),f&=~v}}function _w(s,l){var f=l&-l;return f=(f&42)!==0?1:Tg(f),(f&(s.suspendedLanes|l))!==0?0:f}function Tg(s){switch(s){case 2:s=1;break;case 8:s=4;break;case 32:s=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:s=128;break;case 268435456:s=134217728;break;default:s=0}return s}function Mg(s){return s&=-s,2<s?8<s?(s&134217727)!==0?32:268435456:8:2}function Cw(){var s=j.p;return s!==0?s:(s=window.event,s===void 0?32:c2(s.type))}function Ow(s,l){var f=j.p;try{return j.p=s,l()}finally{j.p=f}}var wr=Math.random().toString(36).slice(2),Tt="__reactFiber$"+wr,Qt="__reactProps$"+wr,Os="__reactContainer$"+wr,Ag="__reactEvents$"+wr,hI="__reactListeners$"+wr,pI="__reactHandles$"+wr,Ew="__reactResources$"+wr,pl="__reactMarker$"+wr;function Dg(s){delete s[Tt],delete s[Qt],delete s[Ag],delete s[hI],delete s[pI]}function Es(s){var l=s[Tt];if(l)return l;for(var f=s.parentNode;f;){if(l=f[Os]||f[Tt]){if(f=l.alternate,l.child!==null||f!==null&&f.child!==null)for(s=qO(s);s!==null;){if(f=s[Tt])return f;s=qO(s)}return l}s=f,f=s.parentNode}return null}function Rs(s){if(s=s[Tt]||s[Os]){var l=s.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return s}return null}function gl(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s.stateNode;throw Error(i(33))}function Ts(s){var l=s[Ew];return l||(l=s[Ew]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function wt(s){s[pl]=!0}var Rw=new Set,Tw={};function _o(s,l){Ms(s,l),Ms(s+"Capture",l)}function Ms(s,l){for(Tw[s]=l,s=0;s<l.length;s++)Rw.add(l[s])}var gI=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Mw={},Aw={};function mI(s){return Cg.call(Aw,s)?!0:Cg.call(Mw,s)?!1:gI.test(s)?Aw[s]=!0:(Mw[s]=!0,!1)}function Uu(s,l,f){if(mI(l))if(f===null)s.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":s.removeAttribute(l);return;case"boolean":var p=l.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){s.removeAttribute(l);return}}s.setAttribute(l,""+f)}}function Wu(s,l,f){if(f===null)s.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(l);return}s.setAttribute(l,""+f)}}function Ii(s,l,f,p){if(p===null)s.removeAttribute(f);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(f);return}s.setAttributeNS(l,f,""+p)}}function Nn(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function Dw(s){var l=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function yI(s,l,f){var p=Object.getOwnPropertyDescriptor(s.constructor.prototype,l);if(!s.hasOwnProperty(l)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var v=p.get,x=p.set;return Object.defineProperty(s,l,{configurable:!0,get:function(){return v.call(this)},set:function(E){f=""+E,x.call(this,E)}}),Object.defineProperty(s,l,{enumerable:p.enumerable}),{getValue:function(){return f},setValue:function(E){f=""+E},stopTracking:function(){s._valueTracker=null,delete s[l]}}}}function Pg(s){if(!s._valueTracker){var l=Dw(s)?"checked":"value";s._valueTracker=yI(s,l,""+s[l])}}function Pw(s){if(!s)return!1;var l=s._valueTracker;if(!l)return!0;var f=l.getValue(),p="";return s&&(p=Dw(s)?s.checked?"true":"false":s.value),s=p,s!==f?(l.setValue(s),!0):!1}function Gu(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}var vI=/[\n"\\]/g;function kn(s){return s.replace(vI,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function jg(s,l,f,p,v,x,E,A){s.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?s.type=E:s.removeAttribute("type"),l!=null?E==="number"?(l===0&&s.value===""||s.value!=l)&&(s.value=""+Nn(l)):s.value!==""+Nn(l)&&(s.value=""+Nn(l)):E!=="submit"&&E!=="reset"||s.removeAttribute("value"),l!=null?Lg(s,E,Nn(l)):f!=null?Lg(s,E,Nn(f)):p!=null&&s.removeAttribute("value"),v==null&&x!=null&&(s.defaultChecked=!!x),v!=null&&(s.checked=v&&typeof v!="function"&&typeof v!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?s.name=""+Nn(A):s.removeAttribute("name")}function jw(s,l,f,p,v,x,E,A){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(s.type=x),l!=null||f!=null){if(!(x!=="submit"&&x!=="reset"||l!=null)){Pg(s);return}f=f!=null?""+Nn(f):"",l=l!=null?""+Nn(l):f,A||l===s.value||(s.value=l),s.defaultValue=l}p=p??v,p=typeof p!="function"&&typeof p!="symbol"&&!!p,s.checked=A?s.checked:!!p,s.defaultChecked=!!p,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(s.name=E),Pg(s)}function Lg(s,l,f){l==="number"&&Gu(s.ownerDocument)===s||s.defaultValue===""+f||(s.defaultValue=""+f)}function As(s,l,f,p){if(s=s.options,l){l={};for(var v=0;v<f.length;v++)l["$"+f[v]]=!0;for(f=0;f<s.length;f++)v=l.hasOwnProperty("$"+s[f].value),s[f].selected!==v&&(s[f].selected=v),v&&p&&(s[f].defaultSelected=!0)}else{for(f=""+Nn(f),l=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,p&&(s[v].defaultSelected=!0);return}l!==null||s[v].disabled||(l=s[v])}l!==null&&(l.selected=!0)}}function Lw(s,l,f){if(l!=null&&(l=""+Nn(l),l!==s.value&&(s.value=l),f==null)){s.defaultValue!==l&&(s.defaultValue=l);return}s.defaultValue=f!=null?""+Nn(f):""}function Nw(s,l,f,p){if(l==null){if(p!=null){if(f!=null)throw Error(i(92));if(L(p)){if(1<p.length)throw Error(i(93));p=p[0]}f=p}f==null&&(f=""),l=f}f=Nn(l),s.defaultValue=f,p=s.textContent,p===f&&p!==""&&p!==null&&(s.value=p),Pg(s)}function Ds(s,l){if(l){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=l;return}}s.textContent=l}var bI=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function kw(s,l,f){var p=l.indexOf("--")===0;f==null||typeof f=="boolean"||f===""?p?s.setProperty(l,""):l==="float"?s.cssFloat="":s[l]="":p?s.setProperty(l,f):typeof f!="number"||f===0||bI.has(l)?l==="float"?s.cssFloat=f:s[l]=(""+f).trim():s[l]=f+"px"}function Iw(s,l,f){if(l!=null&&typeof l!="object")throw Error(i(62));if(s=s.style,f!=null){for(var p in f)!f.hasOwnProperty(p)||l!=null&&l.hasOwnProperty(p)||(p.indexOf("--")===0?s.setProperty(p,""):p==="float"?s.cssFloat="":s[p]="");for(var v in l)p=l[v],l.hasOwnProperty(v)&&f[v]!==p&&kw(s,v,p)}else for(var x in l)l.hasOwnProperty(x)&&kw(s,x,l[x])}function Ng(s){if(s.indexOf("-")===-1)return!1;switch(s){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 xI=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),SI=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function qu(s){return SI.test(""+s)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":s}function zi(){}var kg=null;function Ig(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var Ps=null,js=null;function zw(s){var l=Rs(s);if(l&&(s=l.stateNode)){var f=s[Qt]||null;e:switch(s=l.stateNode,l.type){case"input":if(jg(s,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name),l=f.name,f.type==="radio"&&l!=null){for(f=s;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll('input[name="'+kn(""+l)+'"][type="radio"]'),l=0;l<f.length;l++){var p=f[l];if(p!==s&&p.form===s.form){var v=p[Qt]||null;if(!v)throw Error(i(90));jg(p,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(l=0;l<f.length;l++)p=f[l],p.form===s.form&&Pw(p)}break e;case"textarea":Lw(s,f.value,f.defaultValue);break e;case"select":l=f.value,l!=null&&As(s,!!f.multiple,l,!1)}}}var zg=!1;function $w(s,l,f){if(zg)return s(l,f);zg=!0;try{var p=s(l);return p}finally{if(zg=!1,(Ps!==null||js!==null)&&(Nf(),Ps&&(l=Ps,s=js,js=Ps=null,zw(l),s)))for(l=0;l<s.length;l++)zw(s[l])}}function ml(s,l){var f=s.stateNode;if(f===null)return null;var p=f[Qt]||null;if(p===null)return null;f=p[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(s=s.type,p=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!p;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(i(231,l,typeof f));return f}var $i=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$g=!1;if($i)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){$g=!0}}),window.addEventListener("test",yl,yl),window.removeEventListener("test",yl,yl)}catch{$g=!1}var _r=null,Fg=null,Yu=null;function Fw(){if(Yu)return Yu;var s,l=Fg,f=l.length,p,v="value"in _r?_r.value:_r.textContent,x=v.length;for(s=0;s<f&&l[s]===v[s];s++);var E=f-s;for(p=1;p<=E&&l[f-p]===v[x-p];p++);return Yu=v.slice(s,1<p?1-p:void 0)}function Ku(s){var l=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&l===13&&(s=13)):s=l,s===10&&(s=13),32<=s||s===13?s:0}function Xu(){return!0}function Bw(){return!1}function Zt(s){function l(f,p,v,x,E){this._reactName=f,this._targetInst=v,this.type=p,this.nativeEvent=x,this.target=E,this.currentTarget=null;for(var A in s)s.hasOwnProperty(A)&&(f=s[A],this[A]=f?f(x):x[A]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?Xu:Bw,this.isPropagationStopped=Bw,this}return g(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Xu)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Xu)},persist:function(){},isPersistent:Xu}),l}var Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qu=Zt(Co),vl=g({},Co,{view:0,detail:0}),wI=Zt(vl),Bg,Hg,bl,Zu=g({},vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ug,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==bl&&(bl&&s.type==="mousemove"?(Bg=s.screenX-bl.screenX,Hg=s.screenY-bl.screenY):Hg=Bg=0,bl=s),Bg)},movementY:function(s){return"movementY"in s?s.movementY:Hg}}),Hw=Zt(Zu),_I=g({},Zu,{dataTransfer:0}),CI=Zt(_I),OI=g({},vl,{relatedTarget:0}),Vg=Zt(OI),EI=g({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),RI=Zt(EI),TI=g({},Co,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),MI=Zt(TI),AI=g({},Co,{data:0}),Vw=Zt(AI),DI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},PI={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"},jI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function LI(s){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(s):(s=jI[s])?!!l[s]:!1}function Ug(){return LI}var NI=g({},vl,{key:function(s){if(s.key){var l=DI[s.key]||s.key;if(l!=="Unidentified")return l}return s.type==="keypress"?(s=Ku(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?PI[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ug,charCode:function(s){return s.type==="keypress"?Ku(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?Ku(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),kI=Zt(NI),II=g({},Zu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uw=Zt(II),zI=g({},vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ug}),$I=Zt(zI),FI=g({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),BI=Zt(FI),HI=g({},Zu,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),VI=Zt(HI),UI=g({},Co,{newState:0,oldState:0}),WI=Zt(UI),GI=[9,13,27,32],Wg=$i&&"CompositionEvent"in window,xl=null;$i&&"documentMode"in document&&(xl=document.documentMode);var qI=$i&&"TextEvent"in window&&!xl,Ww=$i&&(!Wg||xl&&8<xl&&11>=xl),Gw=" ",qw=!1;function Yw(s,l){switch(s){case"keyup":return GI.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kw(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Ls=!1;function YI(s,l){switch(s){case"compositionend":return Kw(l);case"keypress":return l.which!==32?null:(qw=!0,Gw);case"textInput":return s=l.data,s===Gw&&qw?null:s;default:return null}}function KI(s,l){if(Ls)return s==="compositionend"||!Wg&&Yw(s,l)?(s=Fw(),Yu=Fg=_r=null,Ls=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Ww&&l.locale!=="ko"?null:l.data;default:return null}}var XI={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 Xw(s){var l=s&&s.nodeName&&s.nodeName.toLowerCase();return l==="input"?!!XI[s.type]:l==="textarea"}function Qw(s,l,f,p){Ps?js?js.push(p):js=[p]:Ps=p,l=Hf(l,"onChange"),0<l.length&&(f=new Qu("onChange","change",null,f,p),s.push({event:f,listeners:l}))}var Sl=null,wl=null;function QI(s){jO(s,0)}function Ju(s){var l=gl(s);if(Pw(l))return s}function Zw(s,l){if(s==="change")return l}var Jw=!1;if($i){var Gg;if($i){var qg="oninput"in document;if(!qg){var e_=document.createElement("div");e_.setAttribute("oninput","return;"),qg=typeof e_.oninput=="function"}Gg=qg}else Gg=!1;Jw=Gg&&(!document.documentMode||9<document.documentMode)}function t_(){Sl&&(Sl.detachEvent("onpropertychange",n_),wl=Sl=null)}function n_(s){if(s.propertyName==="value"&&Ju(wl)){var l=[];Qw(l,wl,s,Ig(s)),$w(QI,l)}}function ZI(s,l,f){s==="focusin"?(t_(),Sl=l,wl=f,Sl.attachEvent("onpropertychange",n_)):s==="focusout"&&t_()}function JI(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ju(wl)}function ez(s,l){if(s==="click")return Ju(l)}function tz(s,l){if(s==="input"||s==="change")return Ju(l)}function nz(s,l){return s===l&&(s!==0||1/s===1/l)||s!==s&&l!==l}var hn=typeof Object.is=="function"?Object.is:nz;function _l(s,l){if(hn(s,l))return!0;if(typeof s!="object"||s===null||typeof l!="object"||l===null)return!1;var f=Object.keys(s),p=Object.keys(l);if(f.length!==p.length)return!1;for(p=0;p<f.length;p++){var v=f[p];if(!Cg.call(l,v)||!hn(s[v],l[v]))return!1}return!0}function i_(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function r_(s,l){var f=i_(s);s=0;for(var p;f;){if(f.nodeType===3){if(p=s+f.textContent.length,s<=l&&p>=l)return{node:f,offset:l-s};s=p}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=i_(f)}}function o_(s,l){return s&&l?s===l?!0:s&&s.nodeType===3?!1:l&&l.nodeType===3?o_(s,l.parentNode):"contains"in s?s.contains(l):s.compareDocumentPosition?!!(s.compareDocumentPosition(l)&16):!1:!1}function s_(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var l=Gu(s.document);l instanceof s.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)s=l.contentWindow;else break;l=Gu(s.document)}return l}function Yg(s){var l=s&&s.nodeName&&s.nodeName.toLowerCase();return l&&(l==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||l==="textarea"||s.contentEditable==="true")}var iz=$i&&"documentMode"in document&&11>=document.documentMode,Ns=null,Kg=null,Cl=null,Xg=!1;function a_(s,l,f){var p=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Xg||Ns==null||Ns!==Gu(p)||(p=Ns,"selectionStart"in p&&Yg(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Cl&&_l(Cl,p)||(Cl=p,p=Hf(Kg,"onSelect"),0<p.length&&(l=new Qu("onSelect","select",null,l,f),s.push({event:l,listeners:p}),l.target=Ns)))}function Oo(s,l){var f={};return f[s.toLowerCase()]=l.toLowerCase(),f["Webkit"+s]="webkit"+l,f["Moz"+s]="moz"+l,f}var ks={animationend:Oo("Animation","AnimationEnd"),animationiteration:Oo("Animation","AnimationIteration"),animationstart:Oo("Animation","AnimationStart"),transitionrun:Oo("Transition","TransitionRun"),transitionstart:Oo("Transition","TransitionStart"),transitioncancel:Oo("Transition","TransitionCancel"),transitionend:Oo("Transition","TransitionEnd")},Qg={},l_={};$i&&(l_=document.createElement("div").style,"AnimationEvent"in window||(delete ks.animationend.animation,delete ks.animationiteration.animation,delete ks.animationstart.animation),"TransitionEvent"in window||delete ks.transitionend.transition);function Eo(s){if(Qg[s])return Qg[s];if(!ks[s])return s;var l=ks[s],f;for(f in l)if(l.hasOwnProperty(f)&&f in l_)return Qg[s]=l[f];return s}var c_=Eo("animationend"),u_=Eo("animationiteration"),f_=Eo("animationstart"),rz=Eo("transitionrun"),oz=Eo("transitionstart"),sz=Eo("transitioncancel"),d_=Eo("transitionend"),h_=new Map,Zg="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Zg.push("scrollEnd");function ei(s,l){h_.set(s,l),_o(l,[s])}var ef=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},In=[],Is=0,Jg=0;function tf(){for(var s=Is,l=Jg=Is=0;l<s;){var f=In[l];In[l++]=null;var p=In[l];In[l++]=null;var v=In[l];In[l++]=null;var x=In[l];if(In[l++]=null,p!==null&&v!==null){var E=p.pending;E===null?v.next=v:(v.next=E.next,E.next=v),p.pending=v}x!==0&&p_(f,v,x)}}function nf(s,l,f,p){In[Is++]=s,In[Is++]=l,In[Is++]=f,In[Is++]=p,Jg|=p,s.lanes|=p,s=s.alternate,s!==null&&(s.lanes|=p)}function em(s,l,f,p){return nf(s,l,f,p),rf(s)}function Ro(s,l){return nf(s,null,null,l),rf(s)}function p_(s,l,f){s.lanes|=f;var p=s.alternate;p!==null&&(p.lanes|=f);for(var v=!1,x=s.return;x!==null;)x.childLanes|=f,p=x.alternate,p!==null&&(p.childLanes|=f),x.tag===22&&(s=x.stateNode,s===null||s._visibility&1||(v=!0)),s=x,x=x.return;return s.tag===3?(x=s.stateNode,v&&l!==null&&(v=31-dn(f),s=x.hiddenUpdates,p=s[v],p===null?s[v]=[l]:p.push(l),l.lane=f|536870912),x):null}function rf(s){if(50<Gl)throw Gl=0,cy=null,Error(i(185));for(var l=s.return;l!==null;)s=l,l=s.return;return s.tag===3?s.stateNode:null}var zs={};function az(s,l,f,p){this.tag=s,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pn(s,l,f,p){return new az(s,l,f,p)}function tm(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Fi(s,l){var f=s.alternate;return f===null?(f=pn(s.tag,l,s.key,s.mode),f.elementType=s.elementType,f.type=s.type,f.stateNode=s.stateNode,f.alternate=s,s.alternate=f):(f.pendingProps=l,f.type=s.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=s.flags&65011712,f.childLanes=s.childLanes,f.lanes=s.lanes,f.child=s.child,f.memoizedProps=s.memoizedProps,f.memoizedState=s.memoizedState,f.updateQueue=s.updateQueue,l=s.dependencies,f.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},f.sibling=s.sibling,f.index=s.index,f.ref=s.ref,f.refCleanup=s.refCleanup,f}function g_(s,l){s.flags&=65011714;var f=s.alternate;return f===null?(s.childLanes=0,s.lanes=l,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=f.childLanes,s.lanes=f.lanes,s.child=f.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=f.memoizedProps,s.memoizedState=f.memoizedState,s.updateQueue=f.updateQueue,s.type=f.type,l=f.dependencies,s.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),s}function of(s,l,f,p,v,x){var E=0;if(p=s,typeof s=="function")tm(s)&&(E=1);else if(typeof s=="string")E=d4(s,f,le.current)?26:s==="html"||s==="head"||s==="body"?27:5;else e:switch(s){case U:return s=pn(31,f,l,v),s.elementType=U,s.lanes=x,s;case w:return To(f.children,v,x,l);case _:E=8,v|=24;break;case O:return s=pn(12,f,l,v|2),s.elementType=O,s.lanes=x,s;case D:return s=pn(13,f,l,v),s.elementType=D,s.lanes=x,s;case P:return s=pn(19,f,l,v),s.elementType=P,s.lanes=x,s;default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case T:E=10;break e;case R:E=9;break e;case M:E=11;break e;case I:E=14;break e;case z:E=16,p=null;break e}E=29,f=Error(i(130,s===null?"null":typeof s,"")),p=null}return l=pn(E,f,l,v),l.elementType=s,l.type=p,l.lanes=x,l}function To(s,l,f,p){return s=pn(7,s,p,l),s.lanes=f,s}function nm(s,l,f){return s=pn(6,s,null,l),s.lanes=f,s}function m_(s){var l=pn(18,null,null,0);return l.stateNode=s,l}function im(s,l,f){return l=pn(4,s.children!==null?s.children:[],s.key,l),l.lanes=f,l.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},l}var y_=new WeakMap;function zn(s,l){if(typeof s=="object"&&s!==null){var f=y_.get(s);return f!==void 0?f:(l={value:s,source:l,stack:mw(l)},y_.set(s,l),l)}return{value:s,source:l,stack:mw(l)}}var $s=[],Fs=0,sf=null,Ol=0,$n=[],Fn=0,Cr=null,xi=1,Si="";function Bi(s,l){$s[Fs++]=Ol,$s[Fs++]=sf,sf=s,Ol=l}function v_(s,l,f){$n[Fn++]=xi,$n[Fn++]=Si,$n[Fn++]=Cr,Cr=s;var p=xi;s=Si;var v=32-dn(p)-1;p&=~(1<<v),f+=1;var x=32-dn(l)+v;if(30<x){var E=v-v%5;x=(p&(1<<E)-1).toString(32),p>>=E,v-=E,xi=1<<32-dn(l)+v|f<<v|p,Si=x+s}else xi=1<<x|f<<v|p,Si=s}function rm(s){s.return!==null&&(Bi(s,1),v_(s,1,0))}function om(s){for(;s===sf;)sf=$s[--Fs],$s[Fs]=null,Ol=$s[--Fs],$s[Fs]=null;for(;s===Cr;)Cr=$n[--Fn],$n[Fn]=null,Si=$n[--Fn],$n[Fn]=null,xi=$n[--Fn],$n[Fn]=null}function b_(s,l){$n[Fn++]=xi,$n[Fn++]=Si,$n[Fn++]=Cr,xi=l.id,Si=l.overflow,Cr=s}var Mt=null,Xe=null,Ae=!1,Or=null,Bn=!1,sm=Error(i(519));function Er(s){var l=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw El(zn(l,s)),sm}function x_(s){var l=s.stateNode,f=s.type,p=s.memoizedProps;switch(l[Tt]=s,l[Qt]=p,f){case"dialog":Re("cancel",l),Re("close",l);break;case"iframe":case"object":case"embed":Re("load",l);break;case"video":case"audio":for(f=0;f<Yl.length;f++)Re(Yl[f],l);break;case"source":Re("error",l);break;case"img":case"image":case"link":Re("error",l),Re("load",l);break;case"details":Re("toggle",l);break;case"input":Re("invalid",l),jw(l,p.value,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name,!0);break;case"select":Re("invalid",l);break;case"textarea":Re("invalid",l),Nw(l,p.value,p.defaultValue,p.children)}f=p.children,typeof f!="string"&&typeof f!="number"&&typeof f!="bigint"||l.textContent===""+f||p.suppressHydrationWarning===!0||IO(l.textContent,f)?(p.popover!=null&&(Re("beforetoggle",l),Re("toggle",l)),p.onScroll!=null&&Re("scroll",l),p.onScrollEnd!=null&&Re("scrollend",l),p.onClick!=null&&(l.onclick=zi),l=!0):l=!1,l||Er(s,!0)}function S_(s){for(Mt=s.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:Bn=!1;return;case 27:case 3:Bn=!0;return;default:Mt=Mt.return}}function Bs(s){if(s!==Mt)return!1;if(!Ae)return S_(s),Ae=!0,!1;var l=s.tag,f;if((f=l!==3&&l!==27)&&((f=l===5)&&(f=s.type,f=!(f!=="form"&&f!=="button")||Cy(s.type,s.memoizedProps)),f=!f),f&&Xe&&Er(s),S_(s),l===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(i(317));Xe=GO(s)}else if(l===31){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(i(317));Xe=GO(s)}else l===27?(l=Xe,Fr(s.type)?(s=My,My=null,Xe=s):Xe=l):Xe=Mt?Vn(s.stateNode.nextSibling):null;return!0}function Mo(){Xe=Mt=null,Ae=!1}function am(){var s=Or;return s!==null&&(nn===null?nn=s:nn.push.apply(nn,s),Or=null),s}function El(s){Or===null?Or=[s]:Or.push(s)}var lm=k(null),Ao=null,Hi=null;function Rr(s,l,f){se(lm,l._currentValue),l._currentValue=f}function Vi(s){s._currentValue=lm.current,J(lm)}function cm(s,l,f){for(;s!==null;){var p=s.alternate;if((s.childLanes&l)!==l?(s.childLanes|=l,p!==null&&(p.childLanes|=l)):p!==null&&(p.childLanes&l)!==l&&(p.childLanes|=l),s===f)break;s=s.return}}function um(s,l,f,p){var v=s.child;for(v!==null&&(v.return=s);v!==null;){var x=v.dependencies;if(x!==null){var E=v.child;x=x.firstContext;e:for(;x!==null;){var A=x;x=v;for(var F=0;F<l.length;F++)if(A.context===l[F]){x.lanes|=f,A=x.alternate,A!==null&&(A.lanes|=f),cm(x.return,f,s),p||(E=null);break e}x=A.next}}else if(v.tag===18){if(E=v.return,E===null)throw Error(i(341));E.lanes|=f,x=E.alternate,x!==null&&(x.lanes|=f),cm(E,f,s),E=null}else E=v.child;if(E!==null)E.return=v;else for(E=v;E!==null;){if(E===s){E=null;break}if(v=E.sibling,v!==null){v.return=E.return,E=v;break}E=E.return}v=E}}function Hs(s,l,f,p){s=null;for(var v=l,x=!1;v!==null;){if(!x){if((v.flags&524288)!==0)x=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var E=v.alternate;if(E===null)throw Error(i(387));if(E=E.memoizedProps,E!==null){var A=v.type;hn(v.pendingProps.value,E.value)||(s!==null?s.push(A):s=[A])}}else if(v===Ce.current){if(E=v.alternate,E===null)throw Error(i(387));E.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(s!==null?s.push(Jl):s=[Jl])}v=v.return}s!==null&&um(l,s,f,p),l.flags|=262144}function af(s){for(s=s.firstContext;s!==null;){if(!hn(s.context._currentValue,s.memoizedValue))return!0;s=s.next}return!1}function Do(s){Ao=s,Hi=null,s=s.dependencies,s!==null&&(s.firstContext=null)}function At(s){return w_(Ao,s)}function lf(s,l){return Ao===null&&Do(s),w_(s,l)}function w_(s,l){var f=l._currentValue;if(l={context:l,memoizedValue:f,next:null},Hi===null){if(s===null)throw Error(i(308));Hi=l,s.dependencies={lanes:0,firstContext:l},s.flags|=524288}else Hi=Hi.next=l;return f}var lz=typeof AbortController<"u"?AbortController:function(){var s=[],l=this.signal={aborted:!1,addEventListener:function(f,p){s.push(p)}};this.abort=function(){l.aborted=!0,s.forEach(function(f){return f()})}},cz=e.unstable_scheduleCallback,uz=e.unstable_NormalPriority,dt={$$typeof:T,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function fm(){return{controller:new lz,data:new Map,refCount:0}}function Rl(s){s.refCount--,s.refCount===0&&cz(uz,function(){s.controller.abort()})}var Tl=null,dm=0,Vs=0,Us=null;function fz(s,l){if(Tl===null){var f=Tl=[];dm=0,Vs=gy(),Us={status:"pending",value:void 0,then:function(p){f.push(p)}}}return dm++,l.then(__,__),l}function __(){if(--dm===0&&Tl!==null){Us!==null&&(Us.status="fulfilled");var s=Tl;Tl=null,Vs=0,Us=null;for(var l=0;l<s.length;l++)(0,s[l])()}}function dz(s,l){var f=[],p={status:"pending",value:null,reason:null,then:function(v){f.push(v)}};return s.then(function(){p.status="fulfilled",p.value=l;for(var v=0;v<f.length;v++)(0,f[v])(l)},function(v){for(p.status="rejected",p.reason=v,v=0;v<f.length;v++)(0,f[v])(void 0)}),p}var C_=N.S;N.S=function(s,l){aO=un(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&fz(s,l),C_!==null&&C_(s,l)};var Po=k(null);function hm(){var s=Po.current;return s!==null?s:Ge.pooledCache}function cf(s,l){l===null?se(Po,Po.current):se(Po,l.pool)}function O_(){var s=hm();return s===null?null:{parent:dt._currentValue,pool:s}}var Ws=Error(i(460)),pm=Error(i(474)),uf=Error(i(542)),ff={then:function(){}};function E_(s){return s=s.status,s==="fulfilled"||s==="rejected"}function R_(s,l,f){switch(f=s[f],f===void 0?s.push(l):f!==l&&(l.then(zi,zi),l=f),l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,M_(s),s;default:if(typeof l.status=="string")l.then(zi,zi);else{if(s=Ge,s!==null&&100<s.shellSuspendCounter)throw Error(i(482));s=l,s.status="pending",s.then(function(p){if(l.status==="pending"){var v=l;v.status="fulfilled",v.value=p}},function(p){if(l.status==="pending"){var v=l;v.status="rejected",v.reason=p}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,M_(s),s}throw Lo=l,Ws}}function jo(s){try{var l=s._init;return l(s._payload)}catch(f){throw f!==null&&typeof f=="object"&&typeof f.then=="function"?(Lo=f,Ws):f}}var Lo=null;function T_(){if(Lo===null)throw Error(i(459));var s=Lo;return Lo=null,s}function M_(s){if(s===Ws||s===uf)throw Error(i(483))}var Gs=null,Ml=0;function df(s){var l=Ml;return Ml+=1,Gs===null&&(Gs=[]),R_(Gs,s,l)}function Al(s,l){l=l.props.ref,s.ref=l!==void 0?l:null}function hf(s,l){throw l.$$typeof===m?Error(i(525)):(s=Object.prototype.toString.call(l),Error(i(31,s==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":s)))}function A_(s){function l(K,G){if(s){var X=K.deletions;X===null?(K.deletions=[G],K.flags|=16):X.push(G)}}function f(K,G){if(!s)return null;for(;G!==null;)l(K,G),G=G.sibling;return null}function p(K){for(var G=new Map;K!==null;)K.key!==null?G.set(K.key,K):G.set(K.index,K),K=K.sibling;return G}function v(K,G){return K=Fi(K,G),K.index=0,K.sibling=null,K}function x(K,G,X){return K.index=X,s?(X=K.alternate,X!==null?(X=X.index,X<G?(K.flags|=67108866,G):X):(K.flags|=67108866,G)):(K.flags|=1048576,G)}function E(K){return s&&K.alternate===null&&(K.flags|=67108866),K}function A(K,G,X,re){return G===null||G.tag!==6?(G=nm(X,K.mode,re),G.return=K,G):(G=v(G,X),G.return=K,G)}function F(K,G,X,re){var me=X.type;return me===w?ne(K,G,X.props.children,re,X.key):G!==null&&(G.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===z&&jo(me)===G.type)?(G=v(G,X.props),Al(G,X),G.return=K,G):(G=of(X.type,X.key,X.props,null,K.mode,re),Al(G,X),G.return=K,G)}function Q(K,G,X,re){return G===null||G.tag!==4||G.stateNode.containerInfo!==X.containerInfo||G.stateNode.implementation!==X.implementation?(G=im(X,K.mode,re),G.return=K,G):(G=v(G,X.children||[]),G.return=K,G)}function ne(K,G,X,re,me){return G===null||G.tag!==7?(G=To(X,K.mode,re,me),G.return=K,G):(G=v(G,X),G.return=K,G)}function oe(K,G,X){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=nm(""+G,K.mode,X),G.return=K,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case y:return X=of(G.type,G.key,G.props,null,K.mode,X),Al(X,G),X.return=K,X;case b:return G=im(G,K.mode,X),G.return=K,G;case z:return G=jo(G),oe(K,G,X)}if(L(G)||Y(G))return G=To(G,K.mode,X,null),G.return=K,G;if(typeof G.then=="function")return oe(K,df(G),X);if(G.$$typeof===T)return oe(K,lf(K,G),X);hf(K,G)}return null}function Z(K,G,X,re){var me=G!==null?G.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return me!==null?null:A(K,G,""+X,re);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case y:return X.key===me?F(K,G,X,re):null;case b:return X.key===me?Q(K,G,X,re):null;case z:return X=jo(X),Z(K,G,X,re)}if(L(X)||Y(X))return me!==null?null:ne(K,G,X,re,null);if(typeof X.then=="function")return Z(K,G,df(X),re);if(X.$$typeof===T)return Z(K,G,lf(K,X),re);hf(K,X)}return null}function te(K,G,X,re,me){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return K=K.get(X)||null,A(G,K,""+re,me);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case y:return K=K.get(re.key===null?X:re.key)||null,F(G,K,re,me);case b:return K=K.get(re.key===null?X:re.key)||null,Q(G,K,re,me);case z:return re=jo(re),te(K,G,X,re,me)}if(L(re)||Y(re))return K=K.get(X)||null,ne(G,K,re,me,null);if(typeof re.then=="function")return te(K,G,X,df(re),me);if(re.$$typeof===T)return te(K,G,X,lf(G,re),me);hf(G,re)}return null}function ue(K,G,X,re){for(var me=null,ke=null,he=G,_e=G=0,Me=null;he!==null&&_e<X.length;_e++){he.index>_e?(Me=he,he=null):Me=he.sibling;var Ie=Z(K,he,X[_e],re);if(Ie===null){he===null&&(he=Me);break}s&&he&&Ie.alternate===null&&l(K,he),G=x(Ie,G,_e),ke===null?me=Ie:ke.sibling=Ie,ke=Ie,he=Me}if(_e===X.length)return f(K,he),Ae&&Bi(K,_e),me;if(he===null){for(;_e<X.length;_e++)he=oe(K,X[_e],re),he!==null&&(G=x(he,G,_e),ke===null?me=he:ke.sibling=he,ke=he);return Ae&&Bi(K,_e),me}for(he=p(he);_e<X.length;_e++)Me=te(he,K,_e,X[_e],re),Me!==null&&(s&&Me.alternate!==null&&he.delete(Me.key===null?_e:Me.key),G=x(Me,G,_e),ke===null?me=Me:ke.sibling=Me,ke=Me);return s&&he.forEach(function(Wr){return l(K,Wr)}),Ae&&Bi(K,_e),me}function ye(K,G,X,re){if(X==null)throw Error(i(151));for(var me=null,ke=null,he=G,_e=G=0,Me=null,Ie=X.next();he!==null&&!Ie.done;_e++,Ie=X.next()){he.index>_e?(Me=he,he=null):Me=he.sibling;var Wr=Z(K,he,Ie.value,re);if(Wr===null){he===null&&(he=Me);break}s&&he&&Wr.alternate===null&&l(K,he),G=x(Wr,G,_e),ke===null?me=Wr:ke.sibling=Wr,ke=Wr,he=Me}if(Ie.done)return f(K,he),Ae&&Bi(K,_e),me;if(he===null){for(;!Ie.done;_e++,Ie=X.next())Ie=oe(K,Ie.value,re),Ie!==null&&(G=x(Ie,G,_e),ke===null?me=Ie:ke.sibling=Ie,ke=Ie);return Ae&&Bi(K,_e),me}for(he=p(he);!Ie.done;_e++,Ie=X.next())Ie=te(he,K,_e,Ie.value,re),Ie!==null&&(s&&Ie.alternate!==null&&he.delete(Ie.key===null?_e:Ie.key),G=x(Ie,G,_e),ke===null?me=Ie:ke.sibling=Ie,ke=Ie);return s&&he.forEach(function(_4){return l(K,_4)}),Ae&&Bi(K,_e),me}function We(K,G,X,re){if(typeof X=="object"&&X!==null&&X.type===w&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case y:e:{for(var me=X.key;G!==null;){if(G.key===me){if(me=X.type,me===w){if(G.tag===7){f(K,G.sibling),re=v(G,X.props.children),re.return=K,K=re;break e}}else if(G.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===z&&jo(me)===G.type){f(K,G.sibling),re=v(G,X.props),Al(re,X),re.return=K,K=re;break e}f(K,G);break}else l(K,G);G=G.sibling}X.type===w?(re=To(X.props.children,K.mode,re,X.key),re.return=K,K=re):(re=of(X.type,X.key,X.props,null,K.mode,re),Al(re,X),re.return=K,K=re)}return E(K);case b:e:{for(me=X.key;G!==null;){if(G.key===me)if(G.tag===4&&G.stateNode.containerInfo===X.containerInfo&&G.stateNode.implementation===X.implementation){f(K,G.sibling),re=v(G,X.children||[]),re.return=K,K=re;break e}else{f(K,G);break}else l(K,G);G=G.sibling}re=im(X,K.mode,re),re.return=K,K=re}return E(K);case z:return X=jo(X),We(K,G,X,re)}if(L(X))return ue(K,G,X,re);if(Y(X)){if(me=Y(X),typeof me!="function")throw Error(i(150));return X=me.call(X),ye(K,G,X,re)}if(typeof X.then=="function")return We(K,G,df(X),re);if(X.$$typeof===T)return We(K,G,lf(K,X),re);hf(K,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,G!==null&&G.tag===6?(f(K,G.sibling),re=v(G,X),re.return=K,K=re):(f(K,G),re=nm(X,K.mode,re),re.return=K,K=re),E(K)):f(K,G)}return function(K,G,X,re){try{Ml=0;var me=We(K,G,X,re);return Gs=null,me}catch(he){if(he===Ws||he===uf)throw he;var ke=pn(29,he,null,K.mode);return ke.lanes=re,ke.return=K,ke}}}var No=A_(!0),D_=A_(!1),Tr=!1;function gm(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mm(s,l){s=s.updateQueue,l.updateQueue===s&&(l.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,callbacks:null})}function Mr(s){return{lane:s,tag:0,payload:null,callback:null,next:null}}function Ar(s,l,f){var p=s.updateQueue;if(p===null)return null;if(p=p.shared,(ze&2)!==0){var v=p.pending;return v===null?l.next=l:(l.next=v.next,v.next=l),p.pending=l,l=rf(s),p_(s,null,f),l}return nf(s,p,l,f),rf(s)}function Dl(s,l,f){if(l=l.updateQueue,l!==null&&(l=l.shared,(f&4194048)!==0)){var p=l.lanes;p&=s.pendingLanes,f|=p,l.lanes=f,ww(s,f)}}function ym(s,l){var f=s.updateQueue,p=s.alternate;if(p!==null&&(p=p.updateQueue,f===p)){var v=null,x=null;if(f=f.firstBaseUpdate,f!==null){do{var E={lane:f.lane,tag:f.tag,payload:f.payload,callback:null,next:null};x===null?v=x=E:x=x.next=E,f=f.next}while(f!==null);x===null?v=x=l:x=x.next=l}else v=x=l;f={baseState:p.baseState,firstBaseUpdate:v,lastBaseUpdate:x,shared:p.shared,callbacks:p.callbacks},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=l:s.next=l,f.lastBaseUpdate=l}var vm=!1;function Pl(){if(vm){var s=Us;if(s!==null)throw s}}function jl(s,l,f,p){vm=!1;var v=s.updateQueue;Tr=!1;var x=v.firstBaseUpdate,E=v.lastBaseUpdate,A=v.shared.pending;if(A!==null){v.shared.pending=null;var F=A,Q=F.next;F.next=null,E===null?x=Q:E.next=Q,E=F;var ne=s.alternate;ne!==null&&(ne=ne.updateQueue,A=ne.lastBaseUpdate,A!==E&&(A===null?ne.firstBaseUpdate=Q:A.next=Q,ne.lastBaseUpdate=F))}if(x!==null){var oe=v.baseState;E=0,ne=Q=F=null,A=x;do{var Z=A.lane&-536870913,te=Z!==A.lane;if(te?(Te&Z)===Z:(p&Z)===Z){Z!==0&&Z===Vs&&(vm=!0),ne!==null&&(ne=ne.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var ue=s,ye=A;Z=l;var We=f;switch(ye.tag){case 1:if(ue=ye.payload,typeof ue=="function"){oe=ue.call(We,oe,Z);break e}oe=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=ye.payload,Z=typeof ue=="function"?ue.call(We,oe,Z):ue,Z==null)break e;oe=g({},oe,Z);break e;case 2:Tr=!0}}Z=A.callback,Z!==null&&(s.flags|=64,te&&(s.flags|=8192),te=v.callbacks,te===null?v.callbacks=[Z]:te.push(Z))}else te={lane:Z,tag:A.tag,payload:A.payload,callback:A.callback,next:null},ne===null?(Q=ne=te,F=oe):ne=ne.next=te,E|=Z;if(A=A.next,A===null){if(A=v.shared.pending,A===null)break;te=A,A=te.next,te.next=null,v.lastBaseUpdate=te,v.shared.pending=null}}while(!0);ne===null&&(F=oe),v.baseState=F,v.firstBaseUpdate=Q,v.lastBaseUpdate=ne,x===null&&(v.shared.lanes=0),Nr|=E,s.lanes=E,s.memoizedState=oe}}function P_(s,l){if(typeof s!="function")throw Error(i(191,s));s.call(l)}function j_(s,l){var f=s.callbacks;if(f!==null)for(s.callbacks=null,s=0;s<f.length;s++)P_(f[s],l)}var qs=k(null),pf=k(0);function L_(s,l){s=Zi,se(pf,s),se(qs,l),Zi=s|l.baseLanes}function bm(){se(pf,Zi),se(qs,qs.current)}function xm(){Zi=pf.current,J(qs),J(pf)}var gn=k(null),Hn=null;function Dr(s){var l=s.alternate;se(lt,lt.current&1),se(gn,s),Hn===null&&(l===null||qs.current!==null||l.memoizedState!==null)&&(Hn=s)}function Sm(s){se(lt,lt.current),se(gn,s),Hn===null&&(Hn=s)}function N_(s){s.tag===22?(se(lt,lt.current),se(gn,s),Hn===null&&(Hn=s)):Pr()}function Pr(){se(lt,lt.current),se(gn,gn.current)}function mn(s){J(gn),Hn===s&&(Hn=null),J(lt)}var lt=k(0);function gf(s){for(var l=s;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||Ry(f)||Ty(f)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===s)break;for(;l.sibling===null;){if(l.return===null||l.return===s)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Ui=0,we=null,Ve=null,ht=null,mf=!1,Ys=!1,ko=!1,yf=0,Ll=0,Ks=null,hz=0;function rt(){throw Error(i(321))}function wm(s,l){if(l===null)return!1;for(var f=0;f<l.length&&f<s.length;f++)if(!hn(s[f],l[f]))return!1;return!0}function _m(s,l,f,p,v,x){return Ui=x,we=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,N.H=s===null||s.memoizedState===null?vC:zm,ko=!1,x=f(p,v),ko=!1,Ys&&(x=I_(l,f,p,v)),k_(s),x}function k_(s){N.H=Il;var l=Ve!==null&&Ve.next!==null;if(Ui=0,ht=Ve=we=null,mf=!1,Ll=0,Ks=null,l)throw Error(i(300));s===null||pt||(s=s.dependencies,s!==null&&af(s)&&(pt=!0))}function I_(s,l,f,p){we=s;var v=0;do{if(Ys&&(Ks=null),Ll=0,Ys=!1,25<=v)throw Error(i(301));if(v+=1,ht=Ve=null,s.updateQueue!=null){var x=s.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}N.H=bC,x=l(f,p)}while(Ys);return x}function pz(){var s=N.H,l=s.useState()[0];return l=typeof l.then=="function"?Nl(l):l,s=s.useState()[0],(Ve!==null?Ve.memoizedState:null)!==s&&(we.flags|=1024),l}function Cm(){var s=yf!==0;return yf=0,s}function Om(s,l,f){l.updateQueue=s.updateQueue,l.flags&=-2053,s.lanes&=~f}function Em(s){if(mf){for(s=s.memoizedState;s!==null;){var l=s.queue;l!==null&&(l.pending=null),s=s.next}mf=!1}Ui=0,ht=Ve=we=null,Ys=!1,Ll=yf=0,Ks=null}function Ht(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ht===null?we.memoizedState=ht=s:ht=ht.next=s,ht}function ct(){if(Ve===null){var s=we.alternate;s=s!==null?s.memoizedState:null}else s=Ve.next;var l=ht===null?we.memoizedState:ht.next;if(l!==null)ht=l,Ve=s;else{if(s===null)throw we.alternate===null?Error(i(467)):Error(i(310));Ve=s,s={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},ht===null?we.memoizedState=ht=s:ht=ht.next=s}return ht}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Nl(s){var l=Ll;return Ll+=1,Ks===null&&(Ks=[]),s=R_(Ks,s,l),l=we,(ht===null?l.memoizedState:ht.next)===null&&(l=l.alternate,N.H=l===null||l.memoizedState===null?vC:zm),s}function bf(s){if(s!==null&&typeof s=="object"){if(typeof s.then=="function")return Nl(s);if(s.$$typeof===T)return At(s)}throw Error(i(438,String(s)))}function Rm(s){var l=null,f=we.updateQueue;if(f!==null&&(l=f.memoCache),l==null){var p=we.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(l={data:p.data.map(function(v){return v.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),f===null&&(f=vf(),we.updateQueue=f),f.memoCache=l,f=l.data[l.index],f===void 0)for(f=l.data[l.index]=Array(s),p=0;p<s;p++)f[p]=$;return l.index++,f}function Wi(s,l){return typeof l=="function"?l(s):l}function xf(s){var l=ct();return Tm(l,Ve,s)}function Tm(s,l,f){var p=s.queue;if(p===null)throw Error(i(311));p.lastRenderedReducer=f;var v=s.baseQueue,x=p.pending;if(x!==null){if(v!==null){var E=v.next;v.next=x.next,x.next=E}l.baseQueue=v=x,p.pending=null}if(x=s.baseState,v===null)s.memoizedState=x;else{l=v.next;var A=E=null,F=null,Q=l,ne=!1;do{var oe=Q.lane&-536870913;if(oe!==Q.lane?(Te&oe)===oe:(Ui&oe)===oe){var Z=Q.revertLane;if(Z===0)F!==null&&(F=F.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),oe===Vs&&(ne=!0);else if((Ui&Z)===Z){Q=Q.next,Z===Vs&&(ne=!0);continue}else oe={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},F===null?(A=F=oe,E=x):F=F.next=oe,we.lanes|=Z,Nr|=Z;oe=Q.action,ko&&f(x,oe),x=Q.hasEagerState?Q.eagerState:f(x,oe)}else Z={lane:oe,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},F===null?(A=F=Z,E=x):F=F.next=Z,we.lanes|=oe,Nr|=oe;Q=Q.next}while(Q!==null&&Q!==l);if(F===null?E=x:F.next=A,!hn(x,s.memoizedState)&&(pt=!0,ne&&(f=Us,f!==null)))throw f;s.memoizedState=x,s.baseState=E,s.baseQueue=F,p.lastRenderedState=x}return v===null&&(p.lanes=0),[s.memoizedState,p.dispatch]}function Mm(s){var l=ct(),f=l.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=s;var p=f.dispatch,v=f.pending,x=l.memoizedState;if(v!==null){f.pending=null;var E=v=v.next;do x=s(x,E.action),E=E.next;while(E!==v);hn(x,l.memoizedState)||(pt=!0),l.memoizedState=x,l.baseQueue===null&&(l.baseState=x),f.lastRenderedState=x}return[x,p]}function z_(s,l,f){var p=we,v=ct(),x=Ae;if(x){if(f===void 0)throw Error(i(407));f=f()}else f=l();var E=!hn((Ve||v).memoizedState,f);if(E&&(v.memoizedState=f,pt=!0),v=v.queue,Pm(B_.bind(null,p,v,s),[s]),v.getSnapshot!==l||E||ht!==null&&ht.memoizedState.tag&1){if(p.flags|=2048,Xs(9,{destroy:void 0},F_.bind(null,p,v,f,l),null),Ge===null)throw Error(i(349));x||(Ui&127)!==0||$_(p,l,f)}return f}function $_(s,l,f){s.flags|=16384,s={getSnapshot:l,value:f},l=we.updateQueue,l===null?(l=vf(),we.updateQueue=l,l.stores=[s]):(f=l.stores,f===null?l.stores=[s]:f.push(s))}function F_(s,l,f,p){l.value=f,l.getSnapshot=p,H_(l)&&V_(s)}function B_(s,l,f){return f(function(){H_(l)&&V_(s)})}function H_(s){var l=s.getSnapshot;s=s.value;try{var f=l();return!hn(s,f)}catch{return!0}}function V_(s){var l=Ro(s,2);l!==null&&rn(l,s,2)}function Am(s){var l=Ht();if(typeof s=="function"){var f=s;if(s=f(),ko){Sr(!0);try{f()}finally{Sr(!1)}}}return l.memoizedState=l.baseState=s,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wi,lastRenderedState:s},l}function U_(s,l,f,p){return s.baseState=f,Tm(s,Ve,typeof p=="function"?p:Wi)}function gz(s,l,f,p,v){if(_f(s))throw Error(i(485));if(s=l.action,s!==null){var x={payload:v,action:s,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){x.listeners.push(E)}};N.T!==null?f(!0):x.isTransition=!1,p(x),f=l.pending,f===null?(x.next=l.pending=x,W_(l,x)):(x.next=f.next,l.pending=f.next=x)}}function W_(s,l){var f=l.action,p=l.payload,v=s.state;if(l.isTransition){var x=N.T,E={};N.T=E;try{var A=f(v,p),F=N.S;F!==null&&F(E,A),G_(s,l,A)}catch(Q){Dm(s,l,Q)}finally{x!==null&&E.types!==null&&(x.types=E.types),N.T=x}}else try{x=f(v,p),G_(s,l,x)}catch(Q){Dm(s,l,Q)}}function G_(s,l,f){f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(function(p){q_(s,l,p)},function(p){return Dm(s,l,p)}):q_(s,l,f)}function q_(s,l,f){l.status="fulfilled",l.value=f,Y_(l),s.state=f,l=s.pending,l!==null&&(f=l.next,f===l?s.pending=null:(f=f.next,l.next=f,W_(s,f)))}function Dm(s,l,f){var p=s.pending;if(s.pending=null,p!==null){p=p.next;do l.status="rejected",l.reason=f,Y_(l),l=l.next;while(l!==p)}s.action=null}function Y_(s){s=s.listeners;for(var l=0;l<s.length;l++)(0,s[l])()}function K_(s,l){return l}function X_(s,l){if(Ae){var f=Ge.formState;if(f!==null){e:{var p=we;if(Ae){if(Xe){t:{for(var v=Xe,x=Bn;v.nodeType!==8;){if(!x){v=null;break t}if(v=Vn(v.nextSibling),v===null){v=null;break t}}x=v.data,v=x==="F!"||x==="F"?v:null}if(v){Xe=Vn(v.nextSibling),p=v.data==="F!";break e}}Er(p)}p=!1}p&&(l=f[0])}}return f=Ht(),f.memoizedState=f.baseState=l,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:K_,lastRenderedState:l},f.queue=p,f=gC.bind(null,we,p),p.dispatch=f,p=Am(!1),x=Im.bind(null,we,!1,p.queue),p=Ht(),v={state:l,dispatch:null,action:s,pending:null},p.queue=v,f=gz.bind(null,we,v,x,f),v.dispatch=f,p.memoizedState=s,[l,f,!1]}function Q_(s){var l=ct();return Z_(l,Ve,s)}function Z_(s,l,f){if(l=Tm(s,l,K_)[0],s=xf(Wi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var p=Nl(l)}catch(E){throw E===Ws?uf:E}else p=l;l=ct();var v=l.queue,x=v.dispatch;return f!==l.memoizedState&&(we.flags|=2048,Xs(9,{destroy:void 0},mz.bind(null,v,f),null)),[p,x,s]}function mz(s,l){s.action=l}function J_(s){var l=ct(),f=Ve;if(f!==null)return Z_(l,f,s);ct(),l=l.memoizedState,f=ct();var p=f.queue.dispatch;return f.memoizedState=s,[l,p,!1]}function Xs(s,l,f,p){return s={tag:s,create:f,deps:p,inst:l,next:null},l=we.updateQueue,l===null&&(l=vf(),we.updateQueue=l),f=l.lastEffect,f===null?l.lastEffect=s.next=s:(p=f.next,f.next=s,s.next=p,l.lastEffect=s),s}function eC(){return ct().memoizedState}function Sf(s,l,f,p){var v=Ht();we.flags|=s,v.memoizedState=Xs(1|l,{destroy:void 0},f,p===void 0?null:p)}function wf(s,l,f,p){var v=ct();p=p===void 0?null:p;var x=v.memoizedState.inst;Ve!==null&&p!==null&&wm(p,Ve.memoizedState.deps)?v.memoizedState=Xs(l,x,f,p):(we.flags|=s,v.memoizedState=Xs(1|l,x,f,p))}function tC(s,l){Sf(8390656,8,s,l)}function Pm(s,l){wf(2048,8,s,l)}function yz(s){we.flags|=4;var l=we.updateQueue;if(l===null)l=vf(),we.updateQueue=l,l.events=[s];else{var f=l.events;f===null?l.events=[s]:f.push(s)}}function nC(s){var l=ct().memoizedState;return yz({ref:l,nextImpl:s}),function(){if((ze&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}function iC(s,l){return wf(4,2,s,l)}function rC(s,l){return wf(4,4,s,l)}function oC(s,l){if(typeof l=="function"){s=s();var f=l(s);return function(){typeof f=="function"?f():l(null)}}if(l!=null)return s=s(),l.current=s,function(){l.current=null}}function sC(s,l,f){f=f!=null?f.concat([s]):null,wf(4,4,oC.bind(null,l,s),f)}function jm(){}function aC(s,l){var f=ct();l=l===void 0?null:l;var p=f.memoizedState;return l!==null&&wm(l,p[1])?p[0]:(f.memoizedState=[s,l],s)}function lC(s,l){var f=ct();l=l===void 0?null:l;var p=f.memoizedState;if(l!==null&&wm(l,p[1]))return p[0];if(p=s(),ko){Sr(!0);try{s()}finally{Sr(!1)}}return f.memoizedState=[p,l],p}function Lm(s,l,f){return f===void 0||(Ui&1073741824)!==0&&(Te&261930)===0?s.memoizedState=l:(s.memoizedState=f,s=cO(),we.lanes|=s,Nr|=s,f)}function cC(s,l,f,p){return hn(f,l)?f:qs.current!==null?(s=Lm(s,f,p),hn(s,l)||(pt=!0),s):(Ui&42)===0||(Ui&1073741824)!==0&&(Te&261930)===0?(pt=!0,s.memoizedState=f):(s=cO(),we.lanes|=s,Nr|=s,l)}function uC(s,l,f,p,v){var x=j.p;j.p=x!==0&&8>x?x:8;var E=N.T,A={};N.T=A,Im(s,!1,l,f);try{var F=v(),Q=N.S;if(Q!==null&&Q(A,F),F!==null&&typeof F=="object"&&typeof F.then=="function"){var ne=dz(F,p);kl(s,l,ne,bn(s))}else kl(s,l,p,bn(s))}catch(oe){kl(s,l,{then:function(){},status:"rejected",reason:oe},bn())}finally{j.p=x,E!==null&&A.types!==null&&(E.types=A.types),N.T=E}}function vz(){}function Nm(s,l,f,p){if(s.tag!==5)throw Error(i(476));var v=fC(s).queue;uC(s,v,l,V,f===null?vz:function(){return dC(s),f(p)})}function fC(s){var l=s.memoizedState;if(l!==null)return l;l={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wi,lastRenderedState:V},next:null};var f={};return l.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wi,lastRenderedState:f},next:null},s.memoizedState=l,s=s.alternate,s!==null&&(s.memoizedState=l),l}function dC(s){var l=fC(s);l.next===null&&(l=s.alternate.memoizedState),kl(s,l.next.queue,{},bn())}function km(){return At(Jl)}function hC(){return ct().memoizedState}function pC(){return ct().memoizedState}function bz(s){for(var l=s.return;l!==null;){switch(l.tag){case 24:case 3:var f=bn();s=Mr(f);var p=Ar(l,s,f);p!==null&&(rn(p,l,f),Dl(p,l,f)),l={cache:fm()},s.payload=l;return}l=l.return}}function xz(s,l,f){var p=bn();f={lane:p,revertLane:0,gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},_f(s)?mC(l,f):(f=em(s,l,f,p),f!==null&&(rn(f,s,p),yC(f,l,p)))}function gC(s,l,f){var p=bn();kl(s,l,f,p)}function kl(s,l,f,p){var v={lane:p,revertLane:0,gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null};if(_f(s))mC(l,v);else{var x=s.alternate;if(s.lanes===0&&(x===null||x.lanes===0)&&(x=l.lastRenderedReducer,x!==null))try{var E=l.lastRenderedState,A=x(E,f);if(v.hasEagerState=!0,v.eagerState=A,hn(A,E))return nf(s,l,v,0),Ge===null&&tf(),!1}catch{}if(f=em(s,l,v,p),f!==null)return rn(f,s,p),yC(f,l,p),!0}return!1}function Im(s,l,f,p){if(p={lane:2,revertLane:gy(),gesture:null,action:p,hasEagerState:!1,eagerState:null,next:null},_f(s)){if(l)throw Error(i(479))}else l=em(s,f,p,2),l!==null&&rn(l,s,2)}function _f(s){var l=s.alternate;return s===we||l!==null&&l===we}function mC(s,l){Ys=mf=!0;var f=s.pending;f===null?l.next=l:(l.next=f.next,f.next=l),s.pending=l}function yC(s,l,f){if((f&4194048)!==0){var p=l.lanes;p&=s.pendingLanes,f|=p,l.lanes=f,ww(s,f)}}var Il={readContext:At,use:bf,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useLayoutEffect:rt,useInsertionEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useSyncExternalStore:rt,useId:rt,useHostTransitionStatus:rt,useFormState:rt,useActionState:rt,useOptimistic:rt,useMemoCache:rt,useCacheRefresh:rt};Il.useEffectEvent=rt;var vC={readContext:At,use:bf,useCallback:function(s,l){return Ht().memoizedState=[s,l===void 0?null:l],s},useContext:At,useEffect:tC,useImperativeHandle:function(s,l,f){f=f!=null?f.concat([s]):null,Sf(4194308,4,oC.bind(null,l,s),f)},useLayoutEffect:function(s,l){return Sf(4194308,4,s,l)},useInsertionEffect:function(s,l){Sf(4,2,s,l)},useMemo:function(s,l){var f=Ht();l=l===void 0?null:l;var p=s();if(ko){Sr(!0);try{s()}finally{Sr(!1)}}return f.memoizedState=[p,l],p},useReducer:function(s,l,f){var p=Ht();if(f!==void 0){var v=f(l);if(ko){Sr(!0);try{f(l)}finally{Sr(!1)}}}else v=l;return p.memoizedState=p.baseState=v,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:v},p.queue=s,s=s.dispatch=xz.bind(null,we,s),[p.memoizedState,s]},useRef:function(s){var l=Ht();return s={current:s},l.memoizedState=s},useState:function(s){s=Am(s);var l=s.queue,f=gC.bind(null,we,l);return l.dispatch=f,[s.memoizedState,f]},useDebugValue:jm,useDeferredValue:function(s,l){var f=Ht();return Lm(f,s,l)},useTransition:function(){var s=Am(!1);return s=uC.bind(null,we,s.queue,!0,!1),Ht().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,l,f){var p=we,v=Ht();if(Ae){if(f===void 0)throw Error(i(407));f=f()}else{if(f=l(),Ge===null)throw Error(i(349));(Te&127)!==0||$_(p,l,f)}v.memoizedState=f;var x={value:f,getSnapshot:l};return v.queue=x,tC(B_.bind(null,p,x,s),[s]),p.flags|=2048,Xs(9,{destroy:void 0},F_.bind(null,p,x,f,l),null),f},useId:function(){var s=Ht(),l=Ge.identifierPrefix;if(Ae){var f=Si,p=xi;f=(p&~(1<<32-dn(p)-1)).toString(32)+f,l="_"+l+"R_"+f,f=yf++,0<f&&(l+="H"+f.toString(32)),l+="_"}else f=hz++,l="_"+l+"r_"+f.toString(32)+"_";return s.memoizedState=l},useHostTransitionStatus:km,useFormState:X_,useActionState:X_,useOptimistic:function(s){var l=Ht();l.memoizedState=l.baseState=s;var f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=f,l=Im.bind(null,we,!0,f),f.dispatch=l,[s,l]},useMemoCache:Rm,useCacheRefresh:function(){return Ht().memoizedState=bz.bind(null,we)},useEffectEvent:function(s){var l=Ht(),f={impl:s};return l.memoizedState=f,function(){if((ze&2)!==0)throw Error(i(440));return f.impl.apply(void 0,arguments)}}},zm={readContext:At,use:bf,useCallback:aC,useContext:At,useEffect:Pm,useImperativeHandle:sC,useInsertionEffect:iC,useLayoutEffect:rC,useMemo:lC,useReducer:xf,useRef:eC,useState:function(){return xf(Wi)},useDebugValue:jm,useDeferredValue:function(s,l){var f=ct();return cC(f,Ve.memoizedState,s,l)},useTransition:function(){var s=xf(Wi)[0],l=ct().memoizedState;return[typeof s=="boolean"?s:Nl(s),l]},useSyncExternalStore:z_,useId:hC,useHostTransitionStatus:km,useFormState:Q_,useActionState:Q_,useOptimistic:function(s,l){var f=ct();return U_(f,Ve,s,l)},useMemoCache:Rm,useCacheRefresh:pC};zm.useEffectEvent=nC;var bC={readContext:At,use:bf,useCallback:aC,useContext:At,useEffect:Pm,useImperativeHandle:sC,useInsertionEffect:iC,useLayoutEffect:rC,useMemo:lC,useReducer:Mm,useRef:eC,useState:function(){return Mm(Wi)},useDebugValue:jm,useDeferredValue:function(s,l){var f=ct();return Ve===null?Lm(f,s,l):cC(f,Ve.memoizedState,s,l)},useTransition:function(){var s=Mm(Wi)[0],l=ct().memoizedState;return[typeof s=="boolean"?s:Nl(s),l]},useSyncExternalStore:z_,useId:hC,useHostTransitionStatus:km,useFormState:J_,useActionState:J_,useOptimistic:function(s,l){var f=ct();return Ve!==null?U_(f,Ve,s,l):(f.baseState=s,[s,f.queue.dispatch])},useMemoCache:Rm,useCacheRefresh:pC};bC.useEffectEvent=nC;function $m(s,l,f,p){l=s.memoizedState,f=f(p,l),f=f==null?l:g({},l,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var Fm={enqueueSetState:function(s,l,f){s=s._reactInternals;var p=bn(),v=Mr(p);v.payload=l,f!=null&&(v.callback=f),l=Ar(s,v,p),l!==null&&(rn(l,s,p),Dl(l,s,p))},enqueueReplaceState:function(s,l,f){s=s._reactInternals;var p=bn(),v=Mr(p);v.tag=1,v.payload=l,f!=null&&(v.callback=f),l=Ar(s,v,p),l!==null&&(rn(l,s,p),Dl(l,s,p))},enqueueForceUpdate:function(s,l){s=s._reactInternals;var f=bn(),p=Mr(f);p.tag=2,l!=null&&(p.callback=l),l=Ar(s,p,f),l!==null&&(rn(l,s,f),Dl(l,s,f))}};function xC(s,l,f,p,v,x,E){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(p,x,E):l.prototype&&l.prototype.isPureReactComponent?!_l(f,p)||!_l(v,x):!0}function SC(s,l,f,p){s=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(f,p),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(f,p),l.state!==s&&Fm.enqueueReplaceState(l,l.state,null)}function Io(s,l){var f=l;if("ref"in l){f={};for(var p in l)p!=="ref"&&(f[p]=l[p])}if(s=s.defaultProps){f===l&&(f=g({},f));for(var v in s)f[v]===void 0&&(f[v]=s[v])}return f}function wC(s){ef(s)}function _C(s){console.error(s)}function CC(s){ef(s)}function Cf(s,l){try{var f=s.onUncaughtError;f(l.value,{componentStack:l.stack})}catch(p){setTimeout(function(){throw p})}}function OC(s,l,f){try{var p=s.onCaughtError;p(f.value,{componentStack:f.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function Bm(s,l,f){return f=Mr(f),f.tag=3,f.payload={element:null},f.callback=function(){Cf(s,l)},f}function EC(s){return s=Mr(s),s.tag=3,s}function RC(s,l,f,p){var v=f.type.getDerivedStateFromError;if(typeof v=="function"){var x=p.value;s.payload=function(){return v(x)},s.callback=function(){OC(l,f,p)}}var E=f.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(s.callback=function(){OC(l,f,p),typeof v!="function"&&(kr===null?kr=new Set([this]):kr.add(this));var A=p.stack;this.componentDidCatch(p.value,{componentStack:A!==null?A:""})})}function Sz(s,l,f,p,v){if(f.flags|=32768,p!==null&&typeof p=="object"&&typeof p.then=="function"){if(l=f.alternate,l!==null&&Hs(l,f,v,!0),f=gn.current,f!==null){switch(f.tag){case 31:case 13:return Hn===null?kf():f.alternate===null&&ot===0&&(ot=3),f.flags&=-257,f.flags|=65536,f.lanes=v,p===ff?f.flags|=16384:(l=f.updateQueue,l===null?f.updateQueue=new Set([p]):l.add(p),dy(s,p,v)),!1;case 22:return f.flags|=65536,p===ff?f.flags|=16384:(l=f.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([p])},f.updateQueue=l):(f=l.retryQueue,f===null?l.retryQueue=new Set([p]):f.add(p)),dy(s,p,v)),!1}throw Error(i(435,f.tag))}return dy(s,p,v),kf(),!1}if(Ae)return l=gn.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=v,p!==sm&&(s=Error(i(422),{cause:p}),El(zn(s,f)))):(p!==sm&&(l=Error(i(423),{cause:p}),El(zn(l,f))),s=s.current.alternate,s.flags|=65536,v&=-v,s.lanes|=v,p=zn(p,f),v=Bm(s.stateNode,p,v),ym(s,v),ot!==4&&(ot=2)),!1;var x=Error(i(520),{cause:p});if(x=zn(x,f),Wl===null?Wl=[x]:Wl.push(x),ot!==4&&(ot=2),l===null)return!0;p=zn(p,f),f=l;do{switch(f.tag){case 3:return f.flags|=65536,s=v&-v,f.lanes|=s,s=Bm(f.stateNode,p,s),ym(f,s),!1;case 1:if(l=f.type,x=f.stateNode,(f.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(kr===null||!kr.has(x))))return f.flags|=65536,v&=-v,f.lanes|=v,v=EC(v),RC(v,s,f,p),ym(f,v),!1}f=f.return}while(f!==null);return!1}var Hm=Error(i(461)),pt=!1;function Dt(s,l,f,p){l.child=s===null?D_(l,null,f,p):No(l,s.child,f,p)}function TC(s,l,f,p,v){f=f.render;var x=l.ref;if("ref"in p){var E={};for(var A in p)A!=="ref"&&(E[A]=p[A])}else E=p;return Do(l),p=_m(s,l,f,E,x,v),A=Cm(),s!==null&&!pt?(Om(s,l,v),Gi(s,l,v)):(Ae&&A&&rm(l),l.flags|=1,Dt(s,l,p,v),l.child)}function MC(s,l,f,p,v){if(s===null){var x=f.type;return typeof x=="function"&&!tm(x)&&x.defaultProps===void 0&&f.compare===null?(l.tag=15,l.type=x,AC(s,l,x,p,v)):(s=of(f.type,null,p,l,l.mode,v),s.ref=l.ref,s.return=l,l.child=s)}if(x=s.child,!Xm(s,v)){var E=x.memoizedProps;if(f=f.compare,f=f!==null?f:_l,f(E,p)&&s.ref===l.ref)return Gi(s,l,v)}return l.flags|=1,s=Fi(x,p),s.ref=l.ref,s.return=l,l.child=s}function AC(s,l,f,p,v){if(s!==null){var x=s.memoizedProps;if(_l(x,p)&&s.ref===l.ref)if(pt=!1,l.pendingProps=p=x,Xm(s,v))(s.flags&131072)!==0&&(pt=!0);else return l.lanes=s.lanes,Gi(s,l,v)}return Vm(s,l,f,p,v)}function DC(s,l,f,p){var v=p.children,x=s!==null?s.memoizedState:null;if(s===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),p.mode==="hidden"){if((l.flags&128)!==0){if(x=x!==null?x.baseLanes|f:f,s!==null){for(p=l.child=s.child,v=0;p!==null;)v=v|p.lanes|p.childLanes,p=p.sibling;p=v&~x}else p=0,l.child=null;return PC(s,l,x,f,p)}if((f&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},s!==null&&cf(l,x!==null?x.cachePool:null),x!==null?L_(l,x):bm(),N_(l);else return p=l.lanes=536870912,PC(s,l,x!==null?x.baseLanes|f:f,f,p)}else x!==null?(cf(l,x.cachePool),L_(l,x),Pr(),l.memoizedState=null):(s!==null&&cf(l,null),bm(),Pr());return Dt(s,l,v,f),l.child}function zl(s,l){return s!==null&&s.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function PC(s,l,f,p,v){var x=hm();return x=x===null?null:{parent:dt._currentValue,pool:x},l.memoizedState={baseLanes:f,cachePool:x},s!==null&&cf(l,null),bm(),N_(l),s!==null&&Hs(s,l,p,!0),l.childLanes=v,null}function Of(s,l){return l=Rf({mode:l.mode,children:l.children},s.mode),l.ref=s.ref,s.child=l,l.return=s,l}function jC(s,l,f){return No(l,s.child,null,f),s=Of(l,l.pendingProps),s.flags|=2,mn(l),l.memoizedState=null,s}function wz(s,l,f){var p=l.pendingProps,v=(l.flags&128)!==0;if(l.flags&=-129,s===null){if(Ae){if(p.mode==="hidden")return s=Of(l,p),l.lanes=536870912,zl(null,s);if(Sm(l),(s=Xe)?(s=WO(s,Bn),s=s!==null&&s.data==="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:Cr!==null?{id:xi,overflow:Si}:null,retryLane:536870912,hydrationErrors:null},f=m_(s),f.return=l,l.child=f,Mt=l,Xe=null)):s=null,s===null)throw Er(l);return l.lanes=536870912,null}return Of(l,p)}var x=s.memoizedState;if(x!==null){var E=x.dehydrated;if(Sm(l),v)if(l.flags&256)l.flags&=-257,l=jC(s,l,f);else if(l.memoizedState!==null)l.child=s.child,l.flags|=128,l=null;else throw Error(i(558));else if(pt||Hs(s,l,f,!1),v=(f&s.childLanes)!==0,pt||v){if(p=Ge,p!==null&&(E=_w(p,f),E!==0&&E!==x.retryLane))throw x.retryLane=E,Ro(s,E),rn(p,s,E),Hm;kf(),l=jC(s,l,f)}else s=x.treeContext,Xe=Vn(E.nextSibling),Mt=l,Ae=!0,Or=null,Bn=!1,s!==null&&b_(l,s),l=Of(l,p),l.flags|=4096;return l}return s=Fi(s.child,{mode:p.mode,children:p.children}),s.ref=l.ref,l.child=s,s.return=l,s}function Ef(s,l){var f=l.ref;if(f===null)s!==null&&s.ref!==null&&(l.flags|=4194816);else{if(typeof f!="function"&&typeof f!="object")throw Error(i(284));(s===null||s.ref!==f)&&(l.flags|=4194816)}}function Vm(s,l,f,p,v){return Do(l),f=_m(s,l,f,p,void 0,v),p=Cm(),s!==null&&!pt?(Om(s,l,v),Gi(s,l,v)):(Ae&&p&&rm(l),l.flags|=1,Dt(s,l,f,v),l.child)}function LC(s,l,f,p,v,x){return Do(l),l.updateQueue=null,f=I_(l,p,f,v),k_(s),p=Cm(),s!==null&&!pt?(Om(s,l,x),Gi(s,l,x)):(Ae&&p&&rm(l),l.flags|=1,Dt(s,l,f,x),l.child)}function NC(s,l,f,p,v){if(Do(l),l.stateNode===null){var x=zs,E=f.contextType;typeof E=="object"&&E!==null&&(x=At(E)),x=new f(p,x),l.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=Fm,l.stateNode=x,x._reactInternals=l,x=l.stateNode,x.props=p,x.state=l.memoizedState,x.refs={},gm(l),E=f.contextType,x.context=typeof E=="object"&&E!==null?At(E):zs,x.state=l.memoizedState,E=f.getDerivedStateFromProps,typeof E=="function"&&($m(l,f,E,p),x.state=l.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(E=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),E!==x.state&&Fm.enqueueReplaceState(x,x.state,null),jl(l,p,x,v),Pl(),x.state=l.memoizedState),typeof x.componentDidMount=="function"&&(l.flags|=4194308),p=!0}else if(s===null){x=l.stateNode;var A=l.memoizedProps,F=Io(f,A);x.props=F;var Q=x.context,ne=f.contextType;E=zs,typeof ne=="object"&&ne!==null&&(E=At(ne));var oe=f.getDerivedStateFromProps;ne=typeof oe=="function"||typeof x.getSnapshotBeforeUpdate=="function",A=l.pendingProps!==A,ne||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(A||Q!==E)&&SC(l,x,p,E),Tr=!1;var Z=l.memoizedState;x.state=Z,jl(l,p,x,v),Pl(),Q=l.memoizedState,A||Z!==Q||Tr?(typeof oe=="function"&&($m(l,f,oe,p),Q=l.memoizedState),(F=Tr||xC(l,f,F,p,Z,Q,E))?(ne||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(l.flags|=4194308)):(typeof x.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=p,l.memoizedState=Q),x.props=p,x.state=Q,x.context=E,p=F):(typeof x.componentDidMount=="function"&&(l.flags|=4194308),p=!1)}else{x=l.stateNode,mm(s,l),E=l.memoizedProps,ne=Io(f,E),x.props=ne,oe=l.pendingProps,Z=x.context,Q=f.contextType,F=zs,typeof Q=="object"&&Q!==null&&(F=At(Q)),A=f.getDerivedStateFromProps,(Q=typeof A=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(E!==oe||Z!==F)&&SC(l,x,p,F),Tr=!1,Z=l.memoizedState,x.state=Z,jl(l,p,x,v),Pl();var te=l.memoizedState;E!==oe||Z!==te||Tr||s!==null&&s.dependencies!==null&&af(s.dependencies)?(typeof A=="function"&&($m(l,f,A,p),te=l.memoizedState),(ne=Tr||xC(l,f,ne,p,Z,te,F)||s!==null&&s.dependencies!==null&&af(s.dependencies))?(Q||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(p,te,F),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(p,te,F)),typeof x.componentDidUpdate=="function"&&(l.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof x.componentDidUpdate!="function"||E===s.memoizedProps&&Z===s.memoizedState||(l.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===s.memoizedProps&&Z===s.memoizedState||(l.flags|=1024),l.memoizedProps=p,l.memoizedState=te),x.props=p,x.state=te,x.context=F,p=ne):(typeof x.componentDidUpdate!="function"||E===s.memoizedProps&&Z===s.memoizedState||(l.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===s.memoizedProps&&Z===s.memoizedState||(l.flags|=1024),p=!1)}return x=p,Ef(s,l),p=(l.flags&128)!==0,x||p?(x=l.stateNode,f=p&&typeof f.getDerivedStateFromError!="function"?null:x.render(),l.flags|=1,s!==null&&p?(l.child=No(l,s.child,null,v),l.child=No(l,null,f,v)):Dt(s,l,f,v),l.memoizedState=x.state,s=l.child):s=Gi(s,l,v),s}function kC(s,l,f,p){return Mo(),l.flags|=256,Dt(s,l,f,p),l.child}var Um={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wm(s){return{baseLanes:s,cachePool:O_()}}function Gm(s,l,f){return s=s!==null?s.childLanes&~f:0,l&&(s|=vn),s}function IC(s,l,f){var p=l.pendingProps,v=!1,x=(l.flags&128)!==0,E;if((E=x)||(E=s!==null&&s.memoizedState===null?!1:(lt.current&2)!==0),E&&(v=!0,l.flags&=-129),E=(l.flags&32)!==0,l.flags&=-33,s===null){if(Ae){if(v?Dr(l):Pr(),(s=Xe)?(s=WO(s,Bn),s=s!==null&&s.data!=="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:Cr!==null?{id:xi,overflow:Si}:null,retryLane:536870912,hydrationErrors:null},f=m_(s),f.return=l,l.child=f,Mt=l,Xe=null)):s=null,s===null)throw Er(l);return Ty(s)?l.lanes=32:l.lanes=536870912,null}var A=p.children;return p=p.fallback,v?(Pr(),v=l.mode,A=Rf({mode:"hidden",children:A},v),p=To(p,v,f,null),A.return=l,p.return=l,A.sibling=p,l.child=A,p=l.child,p.memoizedState=Wm(f),p.childLanes=Gm(s,E,f),l.memoizedState=Um,zl(null,p)):(Dr(l),qm(l,A))}var F=s.memoizedState;if(F!==null&&(A=F.dehydrated,A!==null)){if(x)l.flags&256?(Dr(l),l.flags&=-257,l=Ym(s,l,f)):l.memoizedState!==null?(Pr(),l.child=s.child,l.flags|=128,l=null):(Pr(),A=p.fallback,v=l.mode,p=Rf({mode:"visible",children:p.children},v),A=To(A,v,f,null),A.flags|=2,p.return=l,A.return=l,p.sibling=A,l.child=p,No(l,s.child,null,f),p=l.child,p.memoizedState=Wm(f),p.childLanes=Gm(s,E,f),l.memoizedState=Um,l=zl(null,p));else if(Dr(l),Ty(A)){if(E=A.nextSibling&&A.nextSibling.dataset,E)var Q=E.dgst;E=Q,p=Error(i(419)),p.stack="",p.digest=E,El({value:p,source:null,stack:null}),l=Ym(s,l,f)}else if(pt||Hs(s,l,f,!1),E=(f&s.childLanes)!==0,pt||E){if(E=Ge,E!==null&&(p=_w(E,f),p!==0&&p!==F.retryLane))throw F.retryLane=p,Ro(s,p),rn(E,s,p),Hm;Ry(A)||kf(),l=Ym(s,l,f)}else Ry(A)?(l.flags|=192,l.child=s.child,l=null):(s=F.treeContext,Xe=Vn(A.nextSibling),Mt=l,Ae=!0,Or=null,Bn=!1,s!==null&&b_(l,s),l=qm(l,p.children),l.flags|=4096);return l}return v?(Pr(),A=p.fallback,v=l.mode,F=s.child,Q=F.sibling,p=Fi(F,{mode:"hidden",children:p.children}),p.subtreeFlags=F.subtreeFlags&65011712,Q!==null?A=Fi(Q,A):(A=To(A,v,f,null),A.flags|=2),A.return=l,p.return=l,p.sibling=A,l.child=p,zl(null,p),p=l.child,A=s.child.memoizedState,A===null?A=Wm(f):(v=A.cachePool,v!==null?(F=dt._currentValue,v=v.parent!==F?{parent:F,pool:F}:v):v=O_(),A={baseLanes:A.baseLanes|f,cachePool:v}),p.memoizedState=A,p.childLanes=Gm(s,E,f),l.memoizedState=Um,zl(s.child,p)):(Dr(l),f=s.child,s=f.sibling,f=Fi(f,{mode:"visible",children:p.children}),f.return=l,f.sibling=null,s!==null&&(E=l.deletions,E===null?(l.deletions=[s],l.flags|=16):E.push(s)),l.child=f,l.memoizedState=null,f)}function qm(s,l){return l=Rf({mode:"visible",children:l},s.mode),l.return=s,s.child=l}function Rf(s,l){return s=pn(22,s,null,l),s.lanes=0,s}function Ym(s,l,f){return No(l,s.child,null,f),s=qm(l,l.pendingProps.children),s.flags|=2,l.memoizedState=null,s}function zC(s,l,f){s.lanes|=l;var p=s.alternate;p!==null&&(p.lanes|=l),cm(s.return,l,f)}function Km(s,l,f,p,v,x){var E=s.memoizedState;E===null?s.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:p,tail:f,tailMode:v,treeForkCount:x}:(E.isBackwards=l,E.rendering=null,E.renderingStartTime=0,E.last=p,E.tail=f,E.tailMode=v,E.treeForkCount=x)}function $C(s,l,f){var p=l.pendingProps,v=p.revealOrder,x=p.tail;p=p.children;var E=lt.current,A=(E&2)!==0;if(A?(E=E&1|2,l.flags|=128):E&=1,se(lt,E),Dt(s,l,p,f),p=Ae?Ol:0,!A&&s!==null&&(s.flags&128)!==0)e:for(s=l.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&zC(s,f,l);else if(s.tag===19)zC(s,f,l);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}switch(v){case"forwards":for(f=l.child,v=null;f!==null;)s=f.alternate,s!==null&&gf(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=l.child,l.child=null):(v=f.sibling,f.sibling=null),Km(l,!1,v,f,x,p);break;case"backwards":case"unstable_legacy-backwards":for(f=null,v=l.child,l.child=null;v!==null;){if(s=v.alternate,s!==null&&gf(s)===null){l.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}Km(l,!0,f,null,x,p);break;case"together":Km(l,!1,null,null,void 0,p);break;default:l.memoizedState=null}return l.child}function Gi(s,l,f){if(s!==null&&(l.dependencies=s.dependencies),Nr|=l.lanes,(f&l.childLanes)===0)if(s!==null){if(Hs(s,l,f,!1),(f&l.childLanes)===0)return null}else return null;if(s!==null&&l.child!==s.child)throw Error(i(153));if(l.child!==null){for(s=l.child,f=Fi(s,s.pendingProps),l.child=f,f.return=l;s.sibling!==null;)s=s.sibling,f=f.sibling=Fi(s,s.pendingProps),f.return=l;f.sibling=null}return l.child}function Xm(s,l){return(s.lanes&l)!==0?!0:(s=s.dependencies,!!(s!==null&&af(s)))}function _z(s,l,f){switch(l.tag){case 3:Ye(l,l.stateNode.containerInfo),Rr(l,dt,s.memoizedState.cache),Mo();break;case 27:case 5:Bt(l);break;case 4:Ye(l,l.stateNode.containerInfo);break;case 10:Rr(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Sm(l),null;break;case 13:var p=l.memoizedState;if(p!==null)return p.dehydrated!==null?(Dr(l),l.flags|=128,null):(f&l.child.childLanes)!==0?IC(s,l,f):(Dr(l),s=Gi(s,l,f),s!==null?s.sibling:null);Dr(l);break;case 19:var v=(s.flags&128)!==0;if(p=(f&l.childLanes)!==0,p||(Hs(s,l,f,!1),p=(f&l.childLanes)!==0),v){if(p)return $C(s,l,f);l.flags|=128}if(v=l.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),se(lt,lt.current),p)break;return null;case 22:return l.lanes=0,DC(s,l,f,l.pendingProps);case 24:Rr(l,dt,s.memoizedState.cache)}return Gi(s,l,f)}function FC(s,l,f){if(s!==null)if(s.memoizedProps!==l.pendingProps)pt=!0;else{if(!Xm(s,f)&&(l.flags&128)===0)return pt=!1,_z(s,l,f);pt=(s.flags&131072)!==0}else pt=!1,Ae&&(l.flags&1048576)!==0&&v_(l,Ol,l.index);switch(l.lanes=0,l.tag){case 16:e:{var p=l.pendingProps;if(s=jo(l.elementType),l.type=s,typeof s=="function")tm(s)?(p=Io(s,p),l.tag=1,l=NC(null,l,s,p,f)):(l.tag=0,l=Vm(null,l,s,p,f));else{if(s!=null){var v=s.$$typeof;if(v===M){l.tag=11,l=TC(null,l,s,p,f);break e}else if(v===I){l.tag=14,l=MC(null,l,s,p,f);break e}}throw l=H(s)||s,Error(i(306,l,""))}}return l;case 0:return Vm(s,l,l.type,l.pendingProps,f);case 1:return p=l.type,v=Io(p,l.pendingProps),NC(s,l,p,v,f);case 3:e:{if(Ye(l,l.stateNode.containerInfo),s===null)throw Error(i(387));p=l.pendingProps;var x=l.memoizedState;v=x.element,mm(s,l),jl(l,p,null,f);var E=l.memoizedState;if(p=E.cache,Rr(l,dt,p),p!==x.cache&&um(l,[dt],f,!0),Pl(),p=E.element,x.isDehydrated)if(x={element:p,isDehydrated:!1,cache:E.cache},l.updateQueue.baseState=x,l.memoizedState=x,l.flags&256){l=kC(s,l,p,f);break e}else if(p!==v){v=zn(Error(i(424)),l),El(v),l=kC(s,l,p,f);break e}else for(s=l.stateNode.containerInfo,s.nodeType===9?s=s.body:s=s.nodeName==="HTML"?s.ownerDocument.body:s,Xe=Vn(s.firstChild),Mt=l,Ae=!0,Or=null,Bn=!0,f=D_(l,null,p,f),l.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Mo(),p===v){l=Gi(s,l,f);break e}Dt(s,l,p,f)}l=l.child}return l;case 26:return Ef(s,l),s===null?(f=QO(l.type,null,l.pendingProps,null))?l.memoizedState=f:Ae||(f=l.type,s=l.pendingProps,p=Vf(de.current).createElement(f),p[Tt]=l,p[Qt]=s,Pt(p,f,s),wt(p),l.stateNode=p):l.memoizedState=QO(l.type,s.memoizedProps,l.pendingProps,s.memoizedState),null;case 27:return Bt(l),s===null&&Ae&&(p=l.stateNode=YO(l.type,l.pendingProps,de.current),Mt=l,Bn=!0,v=Xe,Fr(l.type)?(My=v,Xe=Vn(p.firstChild)):Xe=v),Dt(s,l,l.pendingProps.children,f),Ef(s,l),s===null&&(l.flags|=4194304),l.child;case 5:return s===null&&Ae&&((v=p=Xe)&&(p=Jz(p,l.type,l.pendingProps,Bn),p!==null?(l.stateNode=p,Mt=l,Xe=Vn(p.firstChild),Bn=!1,v=!0):v=!1),v||Er(l)),Bt(l),v=l.type,x=l.pendingProps,E=s!==null?s.memoizedProps:null,p=x.children,Cy(v,x)?p=null:E!==null&&Cy(v,E)&&(l.flags|=32),l.memoizedState!==null&&(v=_m(s,l,pz,null,null,f),Jl._currentValue=v),Ef(s,l),Dt(s,l,p,f),l.child;case 6:return s===null&&Ae&&((s=f=Xe)&&(f=e4(f,l.pendingProps,Bn),f!==null?(l.stateNode=f,Mt=l,Xe=null,s=!0):s=!1),s||Er(l)),null;case 13:return IC(s,l,f);case 4:return Ye(l,l.stateNode.containerInfo),p=l.pendingProps,s===null?l.child=No(l,null,p,f):Dt(s,l,p,f),l.child;case 11:return TC(s,l,l.type,l.pendingProps,f);case 7:return Dt(s,l,l.pendingProps,f),l.child;case 8:return Dt(s,l,l.pendingProps.children,f),l.child;case 12:return Dt(s,l,l.pendingProps.children,f),l.child;case 10:return p=l.pendingProps,Rr(l,l.type,p.value),Dt(s,l,p.children,f),l.child;case 9:return v=l.type._context,p=l.pendingProps.children,Do(l),v=At(v),p=p(v),l.flags|=1,Dt(s,l,p,f),l.child;case 14:return MC(s,l,l.type,l.pendingProps,f);case 15:return AC(s,l,l.type,l.pendingProps,f);case 19:return $C(s,l,f);case 31:return wz(s,l,f);case 22:return DC(s,l,f,l.pendingProps);case 24:return Do(l),p=At(dt),s===null?(v=hm(),v===null&&(v=Ge,x=fm(),v.pooledCache=x,x.refCount++,x!==null&&(v.pooledCacheLanes|=f),v=x),l.memoizedState={parent:p,cache:v},gm(l),Rr(l,dt,v)):((s.lanes&f)!==0&&(mm(s,l),jl(l,null,null,f),Pl()),v=s.memoizedState,x=l.memoizedState,v.parent!==p?(v={parent:p,cache:p},l.memoizedState=v,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=v),Rr(l,dt,p)):(p=x.cache,Rr(l,dt,p),p!==v.cache&&um(l,[dt],f,!0))),Dt(s,l,l.pendingProps.children,f),l.child;case 29:throw l.pendingProps}throw Error(i(156,l.tag))}function qi(s){s.flags|=4}function Qm(s,l,f,p,v){if((l=(s.mode&32)!==0)&&(l=!1),l){if(s.flags|=16777216,(v&335544128)===v)if(s.stateNode.complete)s.flags|=8192;else if(hO())s.flags|=8192;else throw Lo=ff,pm}else s.flags&=-16777217}function BC(s,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)s.flags&=-16777217;else if(s.flags|=16777216,!n2(l))if(hO())s.flags|=8192;else throw Lo=ff,pm}function Tf(s,l){l!==null&&(s.flags|=4),s.flags&16384&&(l=s.tag!==22?xw():536870912,s.lanes|=l,ea|=l)}function $l(s,l){if(!Ae)switch(s.tailMode){case"hidden":l=s.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?s.tail=null:f.sibling=null;break;case"collapsed":f=s.tail;for(var p=null;f!==null;)f.alternate!==null&&(p=f),f=f.sibling;p===null?l||s.tail===null?s.tail=null:s.tail.sibling=null:p.sibling=null}}function Qe(s){var l=s.alternate!==null&&s.alternate.child===s.child,f=0,p=0;if(l)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,p|=v.subtreeFlags&65011712,p|=v.flags&65011712,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,p|=v.subtreeFlags,p|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=p,s.childLanes=f,l}function Cz(s,l,f){var p=l.pendingProps;switch(om(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(l),null;case 1:return Qe(l),null;case 3:return f=l.stateNode,p=null,s!==null&&(p=s.memoizedState.cache),l.memoizedState.cache!==p&&(l.flags|=2048),Vi(dt),Ne(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(s===null||s.child===null)&&(Bs(l)?qi(l):s===null||s.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,am())),Qe(l),null;case 26:var v=l.type,x=l.memoizedState;return s===null?(qi(l),x!==null?(Qe(l),BC(l,x)):(Qe(l),Qm(l,v,null,p,f))):x?x!==s.memoizedState?(qi(l),Qe(l),BC(l,x)):(Qe(l),l.flags&=-16777217):(s=s.memoizedProps,s!==p&&qi(l),Qe(l),Qm(l,v,s,p,f)),null;case 27:if(bi(l),f=de.current,v=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==p&&qi(l);else{if(!p){if(l.stateNode===null)throw Error(i(166));return Qe(l),null}s=le.current,Bs(l)?x_(l):(s=YO(v,p,f),l.stateNode=s,qi(l))}return Qe(l),null;case 5:if(bi(l),v=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==p&&qi(l);else{if(!p){if(l.stateNode===null)throw Error(i(166));return Qe(l),null}if(x=le.current,Bs(l))x_(l);else{var E=Vf(de.current);switch(x){case 1:x=E.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:x=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":x=E.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":x=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":x=E.createElement("div"),x.innerHTML="<script><\/script>",x=x.removeChild(x.firstChild);break;case"select":x=typeof p.is=="string"?E.createElement("select",{is:p.is}):E.createElement("select"),p.multiple?x.multiple=!0:p.size&&(x.size=p.size);break;default:x=typeof p.is=="string"?E.createElement(v,{is:p.is}):E.createElement(v)}}x[Tt]=l,x[Qt]=p;e:for(E=l.child;E!==null;){if(E.tag===5||E.tag===6)x.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===l)break e;for(;E.sibling===null;){if(E.return===null||E.return===l)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}l.stateNode=x;e:switch(Pt(x,v,p),v){case"button":case"input":case"select":case"textarea":p=!!p.autoFocus;break e;case"img":p=!0;break e;default:p=!1}p&&qi(l)}}return Qe(l),Qm(l,l.type,s===null?null:s.memoizedProps,l.pendingProps,f),null;case 6:if(s&&l.stateNode!=null)s.memoizedProps!==p&&qi(l);else{if(typeof p!="string"&&l.stateNode===null)throw Error(i(166));if(s=de.current,Bs(l)){if(s=l.stateNode,f=l.memoizedProps,p=null,v=Mt,v!==null)switch(v.tag){case 27:case 5:p=v.memoizedProps}s[Tt]=l,s=!!(s.nodeValue===f||p!==null&&p.suppressHydrationWarning===!0||IO(s.nodeValue,f)),s||Er(l,!0)}else s=Vf(s).createTextNode(p),s[Tt]=l,l.stateNode=s}return Qe(l),null;case 31:if(f=l.memoizedState,s===null||s.memoizedState!==null){if(p=Bs(l),f!==null){if(s===null){if(!p)throw Error(i(318));if(s=l.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(i(557));s[Tt]=l}else Mo(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Qe(l),s=!1}else f=am(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=f),s=!0;if(!s)return l.flags&256?(mn(l),l):(mn(l),null);if((l.flags&128)!==0)throw Error(i(558))}return Qe(l),null;case 13:if(p=l.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(v=Bs(l),p!==null&&p.dehydrated!==null){if(s===null){if(!v)throw Error(i(318));if(v=l.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(i(317));v[Tt]=l}else Mo(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Qe(l),v=!1}else v=am(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=v),v=!0;if(!v)return l.flags&256?(mn(l),l):(mn(l),null)}return mn(l),(l.flags&128)!==0?(l.lanes=f,l):(f=p!==null,s=s!==null&&s.memoizedState!==null,f&&(p=l.child,v=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(v=p.alternate.memoizedState.cachePool.pool),x=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(x=p.memoizedState.cachePool.pool),x!==v&&(p.flags|=2048)),f!==s&&f&&(l.child.flags|=8192),Tf(l,l.updateQueue),Qe(l),null);case 4:return Ne(),s===null&&by(l.stateNode.containerInfo),Qe(l),null;case 10:return Vi(l.type),Qe(l),null;case 19:if(J(lt),p=l.memoizedState,p===null)return Qe(l),null;if(v=(l.flags&128)!==0,x=p.rendering,x===null)if(v)$l(p,!1);else{if(ot!==0||s!==null&&(s.flags&128)!==0)for(s=l.child;s!==null;){if(x=gf(s),x!==null){for(l.flags|=128,$l(p,!1),s=x.updateQueue,l.updateQueue=s,Tf(l,s),l.subtreeFlags=0,s=f,f=l.child;f!==null;)g_(f,s),f=f.sibling;return se(lt,lt.current&1|2),Ae&&Bi(l,p.treeForkCount),l.child}s=s.sibling}p.tail!==null&&un()>jf&&(l.flags|=128,v=!0,$l(p,!1),l.lanes=4194304)}else{if(!v)if(s=gf(x),s!==null){if(l.flags|=128,v=!0,s=s.updateQueue,l.updateQueue=s,Tf(l,s),$l(p,!0),p.tail===null&&p.tailMode==="hidden"&&!x.alternate&&!Ae)return Qe(l),null}else 2*un()-p.renderingStartTime>jf&&f!==536870912&&(l.flags|=128,v=!0,$l(p,!1),l.lanes=4194304);p.isBackwards?(x.sibling=l.child,l.child=x):(s=p.last,s!==null?s.sibling=x:l.child=x,p.last=x)}return p.tail!==null?(s=p.tail,p.rendering=s,p.tail=s.sibling,p.renderingStartTime=un(),s.sibling=null,f=lt.current,se(lt,v?f&1|2:f&1),Ae&&Bi(l,p.treeForkCount),s):(Qe(l),null);case 22:case 23:return mn(l),xm(),p=l.memoizedState!==null,s!==null?s.memoizedState!==null!==p&&(l.flags|=8192):p&&(l.flags|=8192),p?(f&536870912)!==0&&(l.flags&128)===0&&(Qe(l),l.subtreeFlags&6&&(l.flags|=8192)):Qe(l),f=l.updateQueue,f!==null&&Tf(l,f.retryQueue),f=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(f=s.memoizedState.cachePool.pool),p=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(p=l.memoizedState.cachePool.pool),p!==f&&(l.flags|=2048),s!==null&&J(Po),null;case 24:return f=null,s!==null&&(f=s.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),Vi(dt),Qe(l),null;case 25:return null;case 30:return null}throw Error(i(156,l.tag))}function Oz(s,l){switch(om(l),l.tag){case 1:return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 3:return Vi(dt),Ne(),s=l.flags,(s&65536)!==0&&(s&128)===0?(l.flags=s&-65537|128,l):null;case 26:case 27:case 5:return bi(l),null;case 31:if(l.memoizedState!==null){if(mn(l),l.alternate===null)throw Error(i(340));Mo()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 13:if(mn(l),s=l.memoizedState,s!==null&&s.dehydrated!==null){if(l.alternate===null)throw Error(i(340));Mo()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 19:return J(lt),null;case 4:return Ne(),null;case 10:return Vi(l.type),null;case 22:case 23:return mn(l),xm(),s!==null&&J(Po),s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 24:return Vi(dt),null;case 25:return null;default:return null}}function HC(s,l){switch(om(l),l.tag){case 3:Vi(dt),Ne();break;case 26:case 27:case 5:bi(l);break;case 4:Ne();break;case 31:l.memoizedState!==null&&mn(l);break;case 13:mn(l);break;case 19:J(lt);break;case 10:Vi(l.type);break;case 22:case 23:mn(l),xm(),s!==null&&J(Po);break;case 24:Vi(dt)}}function Fl(s,l){try{var f=l.updateQueue,p=f!==null?f.lastEffect:null;if(p!==null){var v=p.next;f=v;do{if((f.tag&s)===s){p=void 0;var x=f.create,E=f.inst;p=x(),E.destroy=p}f=f.next}while(f!==v)}}catch(A){Be(l,l.return,A)}}function jr(s,l,f){try{var p=l.updateQueue,v=p!==null?p.lastEffect:null;if(v!==null){var x=v.next;p=x;do{if((p.tag&s)===s){var E=p.inst,A=E.destroy;if(A!==void 0){E.destroy=void 0,v=l;var F=f,Q=A;try{Q()}catch(ne){Be(v,F,ne)}}}p=p.next}while(p!==x)}}catch(ne){Be(l,l.return,ne)}}function VC(s){var l=s.updateQueue;if(l!==null){var f=s.stateNode;try{j_(l,f)}catch(p){Be(s,s.return,p)}}}function UC(s,l,f){f.props=Io(s.type,s.memoizedProps),f.state=s.memoizedState;try{f.componentWillUnmount()}catch(p){Be(s,l,p)}}function Bl(s,l){try{var f=s.ref;if(f!==null){switch(s.tag){case 26:case 27:case 5:var p=s.stateNode;break;case 30:p=s.stateNode;break;default:p=s.stateNode}typeof f=="function"?s.refCleanup=f(p):f.current=p}}catch(v){Be(s,l,v)}}function wi(s,l){var f=s.ref,p=s.refCleanup;if(f!==null)if(typeof p=="function")try{p()}catch(v){Be(s,l,v)}finally{s.refCleanup=null,s=s.alternate,s!=null&&(s.refCleanup=null)}else if(typeof f=="function")try{f(null)}catch(v){Be(s,l,v)}else f.current=null}function WC(s){var l=s.type,f=s.memoizedProps,p=s.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":f.autoFocus&&p.focus();break e;case"img":f.src?p.src=f.src:f.srcSet&&(p.srcset=f.srcSet)}}catch(v){Be(s,s.return,v)}}function Zm(s,l,f){try{var p=s.stateNode;qz(p,s.type,f,l),p[Qt]=l}catch(v){Be(s,s.return,v)}}function GC(s){return s.tag===5||s.tag===3||s.tag===26||s.tag===27&&Fr(s.type)||s.tag===4}function Jm(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||GC(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.tag===27&&Fr(s.type)||s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function ey(s,l,f){var p=s.tag;if(p===5||p===6)s=s.stateNode,l?(f.nodeType===9?f.body:f.nodeName==="HTML"?f.ownerDocument.body:f).insertBefore(s,l):(l=f.nodeType===9?f.body:f.nodeName==="HTML"?f.ownerDocument.body:f,l.appendChild(s),f=f._reactRootContainer,f!=null||l.onclick!==null||(l.onclick=zi));else if(p!==4&&(p===27&&Fr(s.type)&&(f=s.stateNode,l=null),s=s.child,s!==null))for(ey(s,l,f),s=s.sibling;s!==null;)ey(s,l,f),s=s.sibling}function Mf(s,l,f){var p=s.tag;if(p===5||p===6)s=s.stateNode,l?f.insertBefore(s,l):f.appendChild(s);else if(p!==4&&(p===27&&Fr(s.type)&&(f=s.stateNode),s=s.child,s!==null))for(Mf(s,l,f),s=s.sibling;s!==null;)Mf(s,l,f),s=s.sibling}function qC(s){var l=s.stateNode,f=s.memoizedProps;try{for(var p=s.type,v=l.attributes;v.length;)l.removeAttributeNode(v[0]);Pt(l,p,f),l[Tt]=s,l[Qt]=f}catch(x){Be(s,s.return,x)}}var Yi=!1,gt=!1,ty=!1,YC=typeof WeakSet=="function"?WeakSet:Set,_t=null;function Ez(s,l){if(s=s.containerInfo,wy=Xf,s=s_(s),Yg(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var p=f.getSelection&&f.getSelection();if(p&&p.rangeCount!==0){f=p.anchorNode;var v=p.anchorOffset,x=p.focusNode;p=p.focusOffset;try{f.nodeType,x.nodeType}catch{f=null;break e}var E=0,A=-1,F=-1,Q=0,ne=0,oe=s,Z=null;t:for(;;){for(var te;oe!==f||v!==0&&oe.nodeType!==3||(A=E+v),oe!==x||p!==0&&oe.nodeType!==3||(F=E+p),oe.nodeType===3&&(E+=oe.nodeValue.length),(te=oe.firstChild)!==null;)Z=oe,oe=te;for(;;){if(oe===s)break t;if(Z===f&&++Q===v&&(A=E),Z===x&&++ne===p&&(F=E),(te=oe.nextSibling)!==null)break;oe=Z,Z=oe.parentNode}oe=te}f=A===-1||F===-1?null:{start:A,end:F}}else f=null}f=f||{start:0,end:0}}else f=null;for(_y={focusedElem:s,selectionRange:f},Xf=!1,_t=l;_t!==null;)if(l=_t,s=l.child,(l.subtreeFlags&1028)!==0&&s!==null)s.return=l,_t=s;else for(;_t!==null;){switch(l=_t,x=l.alternate,s=l.flags,l.tag){case 0:if((s&4)!==0&&(s=l.updateQueue,s=s!==null?s.events:null,s!==null))for(f=0;f<s.length;f++)v=s[f],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((s&1024)!==0&&x!==null){s=void 0,f=l,v=x.memoizedProps,x=x.memoizedState,p=f.stateNode;try{var ue=Io(f.type,v);s=p.getSnapshotBeforeUpdate(ue,x),p.__reactInternalSnapshotBeforeUpdate=s}catch(ye){Be(f,f.return,ye)}}break;case 3:if((s&1024)!==0){if(s=l.stateNode.containerInfo,f=s.nodeType,f===9)Ey(s);else if(f===1)switch(s.nodeName){case"HEAD":case"HTML":case"BODY":Ey(s);break;default:s.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&1024)!==0)throw Error(i(163))}if(s=l.sibling,s!==null){s.return=l.return,_t=s;break}_t=l.return}}function KC(s,l,f){var p=f.flags;switch(f.tag){case 0:case 11:case 15:Xi(s,f),p&4&&Fl(5,f);break;case 1:if(Xi(s,f),p&4)if(s=f.stateNode,l===null)try{s.componentDidMount()}catch(E){Be(f,f.return,E)}else{var v=Io(f.type,l.memoizedProps);l=l.memoizedState;try{s.componentDidUpdate(v,l,s.__reactInternalSnapshotBeforeUpdate)}catch(E){Be(f,f.return,E)}}p&64&&VC(f),p&512&&Bl(f,f.return);break;case 3:if(Xi(s,f),p&64&&(s=f.updateQueue,s!==null)){if(l=null,f.child!==null)switch(f.child.tag){case 27:case 5:l=f.child.stateNode;break;case 1:l=f.child.stateNode}try{j_(s,l)}catch(E){Be(f,f.return,E)}}break;case 27:l===null&&p&4&&qC(f);case 26:case 5:Xi(s,f),l===null&&p&4&&WC(f),p&512&&Bl(f,f.return);break;case 12:Xi(s,f);break;case 31:Xi(s,f),p&4&&ZC(s,f);break;case 13:Xi(s,f),p&4&&JC(s,f),p&64&&(s=f.memoizedState,s!==null&&(s=s.dehydrated,s!==null&&(f=Nz.bind(null,f),t4(s,f))));break;case 22:if(p=f.memoizedState!==null||Yi,!p){l=l!==null&&l.memoizedState!==null||gt,v=Yi;var x=gt;Yi=p,(gt=l)&&!x?Qi(s,f,(f.subtreeFlags&8772)!==0):Xi(s,f),Yi=v,gt=x}break;case 30:break;default:Xi(s,f)}}function XC(s){var l=s.alternate;l!==null&&(s.alternate=null,XC(l)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(l=s.stateNode,l!==null&&Dg(l)),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}var et=null,Jt=!1;function Ki(s,l,f){for(f=f.child;f!==null;)QC(s,l,f),f=f.sibling}function QC(s,l,f){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(fl,f)}catch{}switch(f.tag){case 26:gt||wi(f,l),Ki(s,l,f),f.memoizedState?f.memoizedState.count--:f.stateNode&&(f=f.stateNode,f.parentNode.removeChild(f));break;case 27:gt||wi(f,l);var p=et,v=Jt;Fr(f.type)&&(et=f.stateNode,Jt=!1),Ki(s,l,f),Xl(f.stateNode),et=p,Jt=v;break;case 5:gt||wi(f,l);case 6:if(p=et,v=Jt,et=null,Ki(s,l,f),et=p,Jt=v,et!==null)if(Jt)try{(et.nodeType===9?et.body:et.nodeName==="HTML"?et.ownerDocument.body:et).removeChild(f.stateNode)}catch(x){Be(f,l,x)}else try{et.removeChild(f.stateNode)}catch(x){Be(f,l,x)}break;case 18:et!==null&&(Jt?(s=et,VO(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,f.stateNode),la(s)):VO(et,f.stateNode));break;case 4:p=et,v=Jt,et=f.stateNode.containerInfo,Jt=!0,Ki(s,l,f),et=p,Jt=v;break;case 0:case 11:case 14:case 15:jr(2,f,l),gt||jr(4,f,l),Ki(s,l,f);break;case 1:gt||(wi(f,l),p=f.stateNode,typeof p.componentWillUnmount=="function"&&UC(f,l,p)),Ki(s,l,f);break;case 21:Ki(s,l,f);break;case 22:gt=(p=gt)||f.memoizedState!==null,Ki(s,l,f),gt=p;break;default:Ki(s,l,f)}}function ZC(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null))){s=s.dehydrated;try{la(s)}catch(f){Be(l,l.return,f)}}}function JC(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null&&(s=s.dehydrated,s!==null))))try{la(s)}catch(f){Be(l,l.return,f)}}function Rz(s){switch(s.tag){case 31:case 13:case 19:var l=s.stateNode;return l===null&&(l=s.stateNode=new YC),l;case 22:return s=s.stateNode,l=s._retryCache,l===null&&(l=s._retryCache=new YC),l;default:throw Error(i(435,s.tag))}}function Af(s,l){var f=Rz(s);l.forEach(function(p){if(!f.has(p)){f.add(p);var v=kz.bind(null,s,p);p.then(v,v)}})}function en(s,l){var f=l.deletions;if(f!==null)for(var p=0;p<f.length;p++){var v=f[p],x=s,E=l,A=E;e:for(;A!==null;){switch(A.tag){case 27:if(Fr(A.type)){et=A.stateNode,Jt=!1;break e}break;case 5:et=A.stateNode,Jt=!1;break e;case 3:case 4:et=A.stateNode.containerInfo,Jt=!0;break e}A=A.return}if(et===null)throw Error(i(160));QC(x,E,v),et=null,Jt=!1,x=v.alternate,x!==null&&(x.return=null),v.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)eO(l,s),l=l.sibling}var ti=null;function eO(s,l){var f=s.alternate,p=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:en(l,s),tn(s),p&4&&(jr(3,s,s.return),Fl(3,s),jr(5,s,s.return));break;case 1:en(l,s),tn(s),p&512&&(gt||f===null||wi(f,f.return)),p&64&&Yi&&(s=s.updateQueue,s!==null&&(p=s.callbacks,p!==null&&(f=s.shared.hiddenCallbacks,s.shared.hiddenCallbacks=f===null?p:f.concat(p))));break;case 26:var v=ti;if(en(l,s),tn(s),p&512&&(gt||f===null||wi(f,f.return)),p&4){var x=f!==null?f.memoizedState:null;if(p=s.memoizedState,f===null)if(p===null)if(s.stateNode===null){e:{p=s.type,f=s.memoizedProps,v=v.ownerDocument||v;t:switch(p){case"title":x=v.getElementsByTagName("title")[0],(!x||x[pl]||x[Tt]||x.namespaceURI==="http://www.w3.org/2000/svg"||x.hasAttribute("itemprop"))&&(x=v.createElement(p),v.head.insertBefore(x,v.querySelector("head > title"))),Pt(x,p,f),x[Tt]=s,wt(x),p=x;break e;case"link":var E=e2("link","href",v).get(p+(f.href||""));if(E){for(var A=0;A<E.length;A++)if(x=E[A],x.getAttribute("href")===(f.href==null||f.href===""?null:f.href)&&x.getAttribute("rel")===(f.rel==null?null:f.rel)&&x.getAttribute("title")===(f.title==null?null:f.title)&&x.getAttribute("crossorigin")===(f.crossOrigin==null?null:f.crossOrigin)){E.splice(A,1);break t}}x=v.createElement(p),Pt(x,p,f),v.head.appendChild(x);break;case"meta":if(E=e2("meta","content",v).get(p+(f.content||""))){for(A=0;A<E.length;A++)if(x=E[A],x.getAttribute("content")===(f.content==null?null:""+f.content)&&x.getAttribute("name")===(f.name==null?null:f.name)&&x.getAttribute("property")===(f.property==null?null:f.property)&&x.getAttribute("http-equiv")===(f.httpEquiv==null?null:f.httpEquiv)&&x.getAttribute("charset")===(f.charSet==null?null:f.charSet)){E.splice(A,1);break t}}x=v.createElement(p),Pt(x,p,f),v.head.appendChild(x);break;default:throw Error(i(468,p))}x[Tt]=s,wt(x),p=x}s.stateNode=p}else t2(v,s.type,s.stateNode);else s.stateNode=JO(v,p,s.memoizedProps);else x!==p?(x===null?f.stateNode!==null&&(f=f.stateNode,f.parentNode.removeChild(f)):x.count--,p===null?t2(v,s.type,s.stateNode):JO(v,p,s.memoizedProps)):p===null&&s.stateNode!==null&&Zm(s,s.memoizedProps,f.memoizedProps)}break;case 27:en(l,s),tn(s),p&512&&(gt||f===null||wi(f,f.return)),f!==null&&p&4&&Zm(s,s.memoizedProps,f.memoizedProps);break;case 5:if(en(l,s),tn(s),p&512&&(gt||f===null||wi(f,f.return)),s.flags&32){v=s.stateNode;try{Ds(v,"")}catch(ue){Be(s,s.return,ue)}}p&4&&s.stateNode!=null&&(v=s.memoizedProps,Zm(s,v,f!==null?f.memoizedProps:v)),p&1024&&(ty=!0);break;case 6:if(en(l,s),tn(s),p&4){if(s.stateNode===null)throw Error(i(162));p=s.memoizedProps,f=s.stateNode;try{f.nodeValue=p}catch(ue){Be(s,s.return,ue)}}break;case 3:if(Gf=null,v=ti,ti=Uf(l.containerInfo),en(l,s),ti=v,tn(s),p&4&&f!==null&&f.memoizedState.isDehydrated)try{la(l.containerInfo)}catch(ue){Be(s,s.return,ue)}ty&&(ty=!1,tO(s));break;case 4:p=ti,ti=Uf(s.stateNode.containerInfo),en(l,s),tn(s),ti=p;break;case 12:en(l,s),tn(s);break;case 31:en(l,s),tn(s),p&4&&(p=s.updateQueue,p!==null&&(s.updateQueue=null,Af(s,p)));break;case 13:en(l,s),tn(s),s.child.flags&8192&&s.memoizedState!==null!=(f!==null&&f.memoizedState!==null)&&(Pf=un()),p&4&&(p=s.updateQueue,p!==null&&(s.updateQueue=null,Af(s,p)));break;case 22:v=s.memoizedState!==null;var F=f!==null&&f.memoizedState!==null,Q=Yi,ne=gt;if(Yi=Q||v,gt=ne||F,en(l,s),gt=ne,Yi=Q,tn(s),p&8192)e:for(l=s.stateNode,l._visibility=v?l._visibility&-2:l._visibility|1,v&&(f===null||F||Yi||gt||zo(s)),f=null,l=s;;){if(l.tag===5||l.tag===26){if(f===null){F=f=l;try{if(x=F.stateNode,v)E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{A=F.stateNode;var oe=F.memoizedProps.style,Z=oe!=null&&oe.hasOwnProperty("display")?oe.display:null;A.style.display=Z==null||typeof Z=="boolean"?"":(""+Z).trim()}}catch(ue){Be(F,F.return,ue)}}}else if(l.tag===6){if(f===null){F=l;try{F.stateNode.nodeValue=v?"":F.memoizedProps}catch(ue){Be(F,F.return,ue)}}}else if(l.tag===18){if(f===null){F=l;try{var te=F.stateNode;v?UO(te,!0):UO(F.stateNode,!1)}catch(ue){Be(F,F.return,ue)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===s)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;f===l&&(f=null),l=l.return}f===l&&(f=null),l.sibling.return=l.return,l=l.sibling}p&4&&(p=s.updateQueue,p!==null&&(f=p.retryQueue,f!==null&&(p.retryQueue=null,Af(s,f))));break;case 19:en(l,s),tn(s),p&4&&(p=s.updateQueue,p!==null&&(s.updateQueue=null,Af(s,p)));break;case 30:break;case 21:break;default:en(l,s),tn(s)}}function tn(s){var l=s.flags;if(l&2){try{for(var f,p=s.return;p!==null;){if(GC(p)){f=p;break}p=p.return}if(f==null)throw Error(i(160));switch(f.tag){case 27:var v=f.stateNode,x=Jm(s);Mf(s,x,v);break;case 5:var E=f.stateNode;f.flags&32&&(Ds(E,""),f.flags&=-33);var A=Jm(s);Mf(s,A,E);break;case 3:case 4:var F=f.stateNode.containerInfo,Q=Jm(s);ey(s,Q,F);break;default:throw Error(i(161))}}catch(ne){Be(s,s.return,ne)}s.flags&=-3}l&4096&&(s.flags&=-4097)}function tO(s){if(s.subtreeFlags&1024)for(s=s.child;s!==null;){var l=s;tO(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),s=s.sibling}}function Xi(s,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)KC(s,l.alternate,l),l=l.sibling}function zo(s){for(s=s.child;s!==null;){var l=s;switch(l.tag){case 0:case 11:case 14:case 15:jr(4,l,l.return),zo(l);break;case 1:wi(l,l.return);var f=l.stateNode;typeof f.componentWillUnmount=="function"&&UC(l,l.return,f),zo(l);break;case 27:Xl(l.stateNode);case 26:case 5:wi(l,l.return),zo(l);break;case 22:l.memoizedState===null&&zo(l);break;case 30:zo(l);break;default:zo(l)}s=s.sibling}}function Qi(s,l,f){for(f=f&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var p=l.alternate,v=s,x=l,E=x.flags;switch(x.tag){case 0:case 11:case 15:Qi(v,x,f),Fl(4,x);break;case 1:if(Qi(v,x,f),p=x,v=p.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(Q){Be(p,p.return,Q)}if(p=x,v=p.updateQueue,v!==null){var A=p.stateNode;try{var F=v.shared.hiddenCallbacks;if(F!==null)for(v.shared.hiddenCallbacks=null,v=0;v<F.length;v++)P_(F[v],A)}catch(Q){Be(p,p.return,Q)}}f&&E&64&&VC(x),Bl(x,x.return);break;case 27:qC(x);case 26:case 5:Qi(v,x,f),f&&p===null&&E&4&&WC(x),Bl(x,x.return);break;case 12:Qi(v,x,f);break;case 31:Qi(v,x,f),f&&E&4&&ZC(v,x);break;case 13:Qi(v,x,f),f&&E&4&&JC(v,x);break;case 22:x.memoizedState===null&&Qi(v,x,f),Bl(x,x.return);break;case 30:break;default:Qi(v,x,f)}l=l.sibling}}function ny(s,l){var f=null;s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(f=s.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==f&&(s!=null&&s.refCount++,f!=null&&Rl(f))}function iy(s,l){s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Rl(s))}function ni(s,l,f,p){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)nO(s,l,f,p),l=l.sibling}function nO(s,l,f,p){var v=l.flags;switch(l.tag){case 0:case 11:case 15:ni(s,l,f,p),v&2048&&Fl(9,l);break;case 1:ni(s,l,f,p);break;case 3:ni(s,l,f,p),v&2048&&(s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Rl(s)));break;case 12:if(v&2048){ni(s,l,f,p),s=l.stateNode;try{var x=l.memoizedProps,E=x.id,A=x.onPostCommit;typeof A=="function"&&A(E,l.alternate===null?"mount":"update",s.passiveEffectDuration,-0)}catch(F){Be(l,l.return,F)}}else ni(s,l,f,p);break;case 31:ni(s,l,f,p);break;case 13:ni(s,l,f,p);break;case 23:break;case 22:x=l.stateNode,E=l.alternate,l.memoizedState!==null?x._visibility&2?ni(s,l,f,p):Hl(s,l):x._visibility&2?ni(s,l,f,p):(x._visibility|=2,Qs(s,l,f,p,(l.subtreeFlags&10256)!==0||!1)),v&2048&&ny(E,l);break;case 24:ni(s,l,f,p),v&2048&&iy(l.alternate,l);break;default:ni(s,l,f,p)}}function Qs(s,l,f,p,v){for(v=v&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var x=s,E=l,A=f,F=p,Q=E.flags;switch(E.tag){case 0:case 11:case 15:Qs(x,E,A,F,v),Fl(8,E);break;case 23:break;case 22:var ne=E.stateNode;E.memoizedState!==null?ne._visibility&2?Qs(x,E,A,F,v):Hl(x,E):(ne._visibility|=2,Qs(x,E,A,F,v)),v&&Q&2048&&ny(E.alternate,E);break;case 24:Qs(x,E,A,F,v),v&&Q&2048&&iy(E.alternate,E);break;default:Qs(x,E,A,F,v)}l=l.sibling}}function Hl(s,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var f=s,p=l,v=p.flags;switch(p.tag){case 22:Hl(f,p),v&2048&&ny(p.alternate,p);break;case 24:Hl(f,p),v&2048&&iy(p.alternate,p);break;default:Hl(f,p)}l=l.sibling}}var Vl=8192;function Zs(s,l,f){if(s.subtreeFlags&Vl)for(s=s.child;s!==null;)iO(s,l,f),s=s.sibling}function iO(s,l,f){switch(s.tag){case 26:Zs(s,l,f),s.flags&Vl&&s.memoizedState!==null&&h4(f,ti,s.memoizedState,s.memoizedProps);break;case 5:Zs(s,l,f);break;case 3:case 4:var p=ti;ti=Uf(s.stateNode.containerInfo),Zs(s,l,f),ti=p;break;case 22:s.memoizedState===null&&(p=s.alternate,p!==null&&p.memoizedState!==null?(p=Vl,Vl=16777216,Zs(s,l,f),Vl=p):Zs(s,l,f));break;default:Zs(s,l,f)}}function rO(s){var l=s.alternate;if(l!==null&&(s=l.child,s!==null)){l.child=null;do l=s.sibling,s.sibling=null,s=l;while(s!==null)}}function Ul(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var f=0;f<l.length;f++){var p=l[f];_t=p,sO(p,s)}rO(s)}if(s.subtreeFlags&10256)for(s=s.child;s!==null;)oO(s),s=s.sibling}function oO(s){switch(s.tag){case 0:case 11:case 15:Ul(s),s.flags&2048&&jr(9,s,s.return);break;case 3:Ul(s);break;case 12:Ul(s);break;case 22:var l=s.stateNode;s.memoizedState!==null&&l._visibility&2&&(s.return===null||s.return.tag!==13)?(l._visibility&=-3,Df(s)):Ul(s);break;default:Ul(s)}}function Df(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var f=0;f<l.length;f++){var p=l[f];_t=p,sO(p,s)}rO(s)}for(s=s.child;s!==null;){switch(l=s,l.tag){case 0:case 11:case 15:jr(8,l,l.return),Df(l);break;case 22:f=l.stateNode,f._visibility&2&&(f._visibility&=-3,Df(l));break;default:Df(l)}s=s.sibling}}function sO(s,l){for(;_t!==null;){var f=_t;switch(f.tag){case 0:case 11:case 15:jr(8,f,l);break;case 23:case 22:if(f.memoizedState!==null&&f.memoizedState.cachePool!==null){var p=f.memoizedState.cachePool.pool;p!=null&&p.refCount++}break;case 24:Rl(f.memoizedState.cache)}if(p=f.child,p!==null)p.return=f,_t=p;else e:for(f=s;_t!==null;){p=_t;var v=p.sibling,x=p.return;if(XC(p),p===f){_t=null;break e}if(v!==null){v.return=x,_t=v;break e}_t=x}}}var Tz={getCacheForType:function(s){var l=At(dt),f=l.data.get(s);return f===void 0&&(f=s(),l.data.set(s,f)),f},cacheSignal:function(){return At(dt).controller.signal}},Mz=typeof WeakMap=="function"?WeakMap:Map,ze=0,Ge=null,Ee=null,Te=0,Fe=0,yn=null,Lr=!1,Js=!1,ry=!1,Zi=0,ot=0,Nr=0,$o=0,oy=0,vn=0,ea=0,Wl=null,nn=null,sy=!1,Pf=0,aO=0,jf=1/0,Lf=null,kr=null,vt=0,Ir=null,ta=null,Ji=0,ay=0,ly=null,lO=null,Gl=0,cy=null;function bn(){return(ze&2)!==0&&Te!==0?Te&-Te:N.T!==null?gy():Cw()}function cO(){if(vn===0)if((Te&536870912)===0||Ae){var s=Bu;Bu<<=1,(Bu&3932160)===0&&(Bu=262144),vn=s}else vn=536870912;return s=gn.current,s!==null&&(s.flags|=32),vn}function rn(s,l,f){(s===Ge&&(Fe===2||Fe===9)||s.cancelPendingCommit!==null)&&(na(s,0),zr(s,Te,vn,!1)),hl(s,f),((ze&2)===0||s!==Ge)&&(s===Ge&&((ze&2)===0&&($o|=f),ot===4&&zr(s,Te,vn,!1)),_i(s))}function uO(s,l,f){if((ze&6)!==0)throw Error(i(327));var p=!f&&(l&127)===0&&(l&s.expiredLanes)===0||dl(s,l),v=p?Pz(s,l):fy(s,l,!0),x=p;do{if(v===0){Js&&!p&&zr(s,l,0,!1);break}else{if(f=s.current.alternate,x&&!Az(f)){v=fy(s,l,!1),x=!1;continue}if(v===2){if(x=l,s.errorRecoveryDisabledLanes&x)var E=0;else E=s.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){l=E;e:{var A=s;v=Wl;var F=A.current.memoizedState.isDehydrated;if(F&&(na(A,E).flags|=256),E=fy(A,E,!1),E!==2){if(ry&&!F){A.errorRecoveryDisabledLanes|=x,$o|=x,v=4;break e}x=nn,nn=v,x!==null&&(nn===null?nn=x:nn.push.apply(nn,x))}v=E}if(x=!1,v!==2)continue}}if(v===1){na(s,0),zr(s,l,0,!0);break}e:{switch(p=s,x=v,x){case 0:case 1:throw Error(i(345));case 4:if((l&4194048)!==l)break;case 6:zr(p,l,vn,!Lr);break e;case 2:nn=null;break;case 3:case 5:break;default:throw Error(i(329))}if((l&62914560)===l&&(v=Pf+300-un(),10<v)){if(zr(p,l,vn,!Lr),Vu(p,0,!0)!==0)break e;Ji=l,p.timeoutHandle=BO(fO.bind(null,p,f,nn,Lf,sy,l,vn,$o,ea,Lr,x,"Throttled",-0,0),v);break e}fO(p,f,nn,Lf,sy,l,vn,$o,ea,Lr,x,null,-0,0)}}break}while(!0);_i(s)}function fO(s,l,f,p,v,x,E,A,F,Q,ne,oe,Z,te){if(s.timeoutHandle=-1,oe=l.subtreeFlags,oe&8192||(oe&16785408)===16785408){oe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zi},iO(l,x,oe);var ue=(x&62914560)===x?Pf-un():(x&4194048)===x?aO-un():0;if(ue=p4(oe,ue),ue!==null){Ji=x,s.cancelPendingCommit=ue(bO.bind(null,s,l,x,f,p,v,E,A,F,ne,oe,null,Z,te)),zr(s,x,E,!Q);return}}bO(s,l,x,f,p,v,E,A,F)}function Az(s){for(var l=s;;){var f=l.tag;if((f===0||f===11||f===15)&&l.flags&16384&&(f=l.updateQueue,f!==null&&(f=f.stores,f!==null)))for(var p=0;p<f.length;p++){var v=f[p],x=v.getSnapshot;v=v.value;try{if(!hn(x(),v))return!1}catch{return!1}}if(f=l.child,l.subtreeFlags&16384&&f!==null)f.return=l,l=f;else{if(l===s)break;for(;l.sibling===null;){if(l.return===null||l.return===s)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function zr(s,l,f,p){l&=~oy,l&=~$o,s.suspendedLanes|=l,s.pingedLanes&=~l,p&&(s.warmLanes|=l),p=s.expirationTimes;for(var v=l;0<v;){var x=31-dn(v),E=1<<x;p[x]=-1,v&=~E}f!==0&&Sw(s,f,l)}function Nf(){return(ze&6)===0?(ql(0),!1):!0}function uy(){if(Ee!==null){if(Fe===0)var s=Ee.return;else s=Ee,Hi=Ao=null,Em(s),Gs=null,Ml=0,s=Ee;for(;s!==null;)HC(s.alternate,s),s=s.return;Ee=null}}function na(s,l){var f=s.timeoutHandle;f!==-1&&(s.timeoutHandle=-1,Xz(f)),f=s.cancelPendingCommit,f!==null&&(s.cancelPendingCommit=null,f()),Ji=0,uy(),Ge=s,Ee=f=Fi(s.current,null),Te=l,Fe=0,yn=null,Lr=!1,Js=dl(s,l),ry=!1,ea=vn=oy=$o=Nr=ot=0,nn=Wl=null,sy=!1,(l&8)!==0&&(l|=l&32);var p=s.entangledLanes;if(p!==0)for(s=s.entanglements,p&=l;0<p;){var v=31-dn(p),x=1<<v;l|=s[v],p&=~x}return Zi=l,tf(),f}function dO(s,l){we=null,N.H=Il,l===Ws||l===uf?(l=T_(),Fe=3):l===pm?(l=T_(),Fe=4):Fe=l===Hm?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,yn=l,Ee===null&&(ot=1,Cf(s,zn(l,s.current)))}function hO(){var s=gn.current;return s===null?!0:(Te&4194048)===Te?Hn===null:(Te&62914560)===Te||(Te&536870912)!==0?s===Hn:!1}function pO(){var s=N.H;return N.H=Il,s===null?Il:s}function gO(){var s=N.A;return N.A=Tz,s}function kf(){ot=4,Lr||(Te&4194048)!==Te&&gn.current!==null||(Js=!0),(Nr&134217727)===0&&($o&134217727)===0||Ge===null||zr(Ge,Te,vn,!1)}function fy(s,l,f){var p=ze;ze|=2;var v=pO(),x=gO();(Ge!==s||Te!==l)&&(Lf=null,na(s,l)),l=!1;var E=ot;e:do try{if(Fe!==0&&Ee!==null){var A=Ee,F=yn;switch(Fe){case 8:uy(),E=6;break e;case 3:case 2:case 9:case 6:gn.current===null&&(l=!0);var Q=Fe;if(Fe=0,yn=null,ia(s,A,F,Q),f&&Js){E=0;break e}break;default:Q=Fe,Fe=0,yn=null,ia(s,A,F,Q)}}Dz(),E=ot;break}catch(ne){dO(s,ne)}while(!0);return l&&s.shellSuspendCounter++,Hi=Ao=null,ze=p,N.H=v,N.A=x,Ee===null&&(Ge=null,Te=0,tf()),E}function Dz(){for(;Ee!==null;)mO(Ee)}function Pz(s,l){var f=ze;ze|=2;var p=pO(),v=gO();Ge!==s||Te!==l?(Lf=null,jf=un()+500,na(s,l)):Js=dl(s,l);e:do try{if(Fe!==0&&Ee!==null){l=Ee;var x=yn;t:switch(Fe){case 1:Fe=0,yn=null,ia(s,l,x,1);break;case 2:case 9:if(E_(x)){Fe=0,yn=null,yO(l);break}l=function(){Fe!==2&&Fe!==9||Ge!==s||(Fe=7),_i(s)},x.then(l,l);break e;case 3:Fe=7;break e;case 4:Fe=5;break e;case 7:E_(x)?(Fe=0,yn=null,yO(l)):(Fe=0,yn=null,ia(s,l,x,7));break;case 5:var E=null;switch(Ee.tag){case 26:E=Ee.memoizedState;case 5:case 27:var A=Ee;if(E?n2(E):A.stateNode.complete){Fe=0,yn=null;var F=A.sibling;if(F!==null)Ee=F;else{var Q=A.return;Q!==null?(Ee=Q,If(Q)):Ee=null}break t}}Fe=0,yn=null,ia(s,l,x,5);break;case 6:Fe=0,yn=null,ia(s,l,x,6);break;case 8:uy(),ot=6;break e;default:throw Error(i(462))}}jz();break}catch(ne){dO(s,ne)}while(!0);return Hi=Ao=null,N.H=p,N.A=v,ze=f,Ee!==null?0:(Ge=null,Te=0,tf(),ot)}function jz(){for(;Ee!==null&&!nI();)mO(Ee)}function mO(s){var l=FC(s.alternate,s,Zi);s.memoizedProps=s.pendingProps,l===null?If(s):Ee=l}function yO(s){var l=s,f=l.alternate;switch(l.tag){case 15:case 0:l=LC(f,l,l.pendingProps,l.type,void 0,Te);break;case 11:l=LC(f,l,l.pendingProps,l.type.render,l.ref,Te);break;case 5:Em(l);default:HC(f,l),l=Ee=g_(l,Zi),l=FC(f,l,Zi)}s.memoizedProps=s.pendingProps,l===null?If(s):Ee=l}function ia(s,l,f,p){Hi=Ao=null,Em(l),Gs=null,Ml=0;var v=l.return;try{if(Sz(s,v,l,f,Te)){ot=1,Cf(s,zn(f,s.current)),Ee=null;return}}catch(x){if(v!==null)throw Ee=v,x;ot=1,Cf(s,zn(f,s.current)),Ee=null;return}l.flags&32768?(Ae||p===1?s=!0:Js||(Te&536870912)!==0?s=!1:(Lr=s=!0,(p===2||p===9||p===3||p===6)&&(p=gn.current,p!==null&&p.tag===13&&(p.flags|=16384))),vO(l,s)):If(l)}function If(s){var l=s;do{if((l.flags&32768)!==0){vO(l,Lr);return}s=l.return;var f=Cz(l.alternate,l,Zi);if(f!==null){Ee=f;return}if(l=l.sibling,l!==null){Ee=l;return}Ee=l=s}while(l!==null);ot===0&&(ot=5)}function vO(s,l){do{var f=Oz(s.alternate,s);if(f!==null){f.flags&=32767,Ee=f;return}if(f=s.return,f!==null&&(f.flags|=32768,f.subtreeFlags=0,f.deletions=null),!l&&(s=s.sibling,s!==null)){Ee=s;return}Ee=s=f}while(s!==null);ot=6,Ee=null}function bO(s,l,f,p,v,x,E,A,F){s.cancelPendingCommit=null;do zf();while(vt!==0);if((ze&6)!==0)throw Error(i(327));if(l!==null){if(l===s.current)throw Error(i(177));if(x=l.lanes|l.childLanes,x|=Jg,dI(s,f,x,E,A,F),s===Ge&&(Ee=Ge=null,Te=0),ta=l,Ir=s,Ji=f,ay=x,ly=v,lO=p,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(s.callbackNode=null,s.callbackPriority=0,Iz($u,function(){return CO(),null})):(s.callbackNode=null,s.callbackPriority=0),p=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||p){p=N.T,N.T=null,v=j.p,j.p=2,E=ze,ze|=4;try{Ez(s,l,f)}finally{ze=E,j.p=v,N.T=p}}vt=1,xO(),SO(),wO()}}function xO(){if(vt===1){vt=0;var s=Ir,l=ta,f=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||f){f=N.T,N.T=null;var p=j.p;j.p=2;var v=ze;ze|=4;try{eO(l,s);var x=_y,E=s_(s.containerInfo),A=x.focusedElem,F=x.selectionRange;if(E!==A&&A&&A.ownerDocument&&o_(A.ownerDocument.documentElement,A)){if(F!==null&&Yg(A)){var Q=F.start,ne=F.end;if(ne===void 0&&(ne=Q),"selectionStart"in A)A.selectionStart=Q,A.selectionEnd=Math.min(ne,A.value.length);else{var oe=A.ownerDocument||document,Z=oe&&oe.defaultView||window;if(Z.getSelection){var te=Z.getSelection(),ue=A.textContent.length,ye=Math.min(F.start,ue),We=F.end===void 0?ye:Math.min(F.end,ue);!te.extend&&ye>We&&(E=We,We=ye,ye=E);var K=r_(A,ye),G=r_(A,We);if(K&&G&&(te.rangeCount!==1||te.anchorNode!==K.node||te.anchorOffset!==K.offset||te.focusNode!==G.node||te.focusOffset!==G.offset)){var X=oe.createRange();X.setStart(K.node,K.offset),te.removeAllRanges(),ye>We?(te.addRange(X),te.extend(G.node,G.offset)):(X.setEnd(G.node,G.offset),te.addRange(X))}}}}for(oe=[],te=A;te=te.parentNode;)te.nodeType===1&&oe.push({element:te,left:te.scrollLeft,top:te.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<oe.length;A++){var re=oe[A];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}Xf=!!wy,_y=wy=null}finally{ze=v,j.p=p,N.T=f}}s.current=l,vt=2}}function SO(){if(vt===2){vt=0;var s=Ir,l=ta,f=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||f){f=N.T,N.T=null;var p=j.p;j.p=2;var v=ze;ze|=4;try{KC(s,l.alternate,l)}finally{ze=v,j.p=p,N.T=f}}vt=3}}function wO(){if(vt===4||vt===3){vt=0,iI();var s=Ir,l=ta,f=Ji,p=lO;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?vt=5:(vt=0,ta=Ir=null,_O(s,s.pendingLanes));var v=s.pendingLanes;if(v===0&&(kr=null),Mg(f),l=l.stateNode,fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(fl,l,void 0,(l.current.flags&128)===128)}catch{}if(p!==null){l=N.T,v=j.p,j.p=2,N.T=null;try{for(var x=s.onRecoverableError,E=0;E<p.length;E++){var A=p[E];x(A.value,{componentStack:A.stack})}}finally{N.T=l,j.p=v}}(Ji&3)!==0&&zf(),_i(s),v=s.pendingLanes,(f&261930)!==0&&(v&42)!==0?s===cy?Gl++:(Gl=0,cy=s):Gl=0,ql(0)}}function _O(s,l){(s.pooledCacheLanes&=l)===0&&(l=s.pooledCache,l!=null&&(s.pooledCache=null,Rl(l)))}function zf(){return xO(),SO(),wO(),CO()}function CO(){if(vt!==5)return!1;var s=Ir,l=ay;ay=0;var f=Mg(Ji),p=N.T,v=j.p;try{j.p=32>f?32:f,N.T=null,f=ly,ly=null;var x=Ir,E=Ji;if(vt=0,ta=Ir=null,Ji=0,(ze&6)!==0)throw Error(i(331));var A=ze;if(ze|=4,oO(x.current),nO(x,x.current,E,f),ze=A,ql(0,!1),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(fl,x)}catch{}return!0}finally{j.p=v,N.T=p,_O(s,l)}}function OO(s,l,f){l=zn(f,l),l=Bm(s.stateNode,l,2),s=Ar(s,l,2),s!==null&&(hl(s,2),_i(s))}function Be(s,l,f){if(s.tag===3)OO(s,s,f);else for(;l!==null;){if(l.tag===3){OO(l,s,f);break}else if(l.tag===1){var p=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(kr===null||!kr.has(p))){s=zn(f,s),f=EC(2),p=Ar(l,f,2),p!==null&&(RC(f,p,l,s),hl(p,2),_i(p));break}}l=l.return}}function dy(s,l,f){var p=s.pingCache;if(p===null){p=s.pingCache=new Mz;var v=new Set;p.set(l,v)}else v=p.get(l),v===void 0&&(v=new Set,p.set(l,v));v.has(f)||(ry=!0,v.add(f),s=Lz.bind(null,s,l,f),l.then(s,s))}function Lz(s,l,f){var p=s.pingCache;p!==null&&p.delete(l),s.pingedLanes|=s.suspendedLanes&f,s.warmLanes&=~f,Ge===s&&(Te&f)===f&&(ot===4||ot===3&&(Te&62914560)===Te&&300>un()-Pf?(ze&2)===0&&na(s,0):oy|=f,ea===Te&&(ea=0)),_i(s)}function EO(s,l){l===0&&(l=xw()),s=Ro(s,l),s!==null&&(hl(s,l),_i(s))}function Nz(s){var l=s.memoizedState,f=0;l!==null&&(f=l.retryLane),EO(s,f)}function kz(s,l){var f=0;switch(s.tag){case 31:case 13:var p=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:p=s.stateNode;break;case 22:p=s.stateNode._retryCache;break;default:throw Error(i(314))}p!==null&&p.delete(l),EO(s,f)}function Iz(s,l){return Og(s,l)}var $f=null,ra=null,hy=!1,Ff=!1,py=!1,$r=0;function _i(s){s!==ra&&s.next===null&&(ra===null?$f=ra=s:ra=ra.next=s),Ff=!0,hy||(hy=!0,$z())}function ql(s,l){if(!py&&Ff){py=!0;do for(var f=!1,p=$f;p!==null;){if(s!==0){var v=p.pendingLanes;if(v===0)var x=0;else{var E=p.suspendedLanes,A=p.pingedLanes;x=(1<<31-dn(42|s)+1)-1,x&=v&~(E&~A),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(f=!0,AO(p,x))}else x=Te,x=Vu(p,p===Ge?x:0,p.cancelPendingCommit!==null||p.timeoutHandle!==-1),(x&3)===0||dl(p,x)||(f=!0,AO(p,x));p=p.next}while(f);py=!1}}function zz(){RO()}function RO(){Ff=hy=!1;var s=0;$r!==0&&Kz()&&(s=$r);for(var l=un(),f=null,p=$f;p!==null;){var v=p.next,x=TO(p,l);x===0?(p.next=null,f===null?$f=v:f.next=v,v===null&&(ra=f)):(f=p,(s!==0||(x&3)!==0)&&(Ff=!0)),p=v}vt!==0&&vt!==5||ql(s),$r!==0&&($r=0)}function TO(s,l){for(var f=s.suspendedLanes,p=s.pingedLanes,v=s.expirationTimes,x=s.pendingLanes&-62914561;0<x;){var E=31-dn(x),A=1<<E,F=v[E];F===-1?((A&f)===0||(A&p)!==0)&&(v[E]=fI(A,l)):F<=l&&(s.expiredLanes|=A),x&=~A}if(l=Ge,f=Te,f=Vu(s,s===l?f:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),p=s.callbackNode,f===0||s===l&&(Fe===2||Fe===9)||s.cancelPendingCommit!==null)return p!==null&&p!==null&&Eg(p),s.callbackNode=null,s.callbackPriority=0;if((f&3)===0||dl(s,f)){if(l=f&-f,l===s.callbackPriority)return l;switch(p!==null&&Eg(p),Mg(f)){case 2:case 8:f=vw;break;case 32:f=$u;break;case 268435456:f=bw;break;default:f=$u}return p=MO.bind(null,s),f=Og(f,p),s.callbackPriority=l,s.callbackNode=f,l}return p!==null&&p!==null&&Eg(p),s.callbackPriority=2,s.callbackNode=null,2}function MO(s,l){if(vt!==0&&vt!==5)return s.callbackNode=null,s.callbackPriority=0,null;var f=s.callbackNode;if(zf()&&s.callbackNode!==f)return null;var p=Te;return p=Vu(s,s===Ge?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),p===0?null:(uO(s,p,l),TO(s,un()),s.callbackNode!=null&&s.callbackNode===f?MO.bind(null,s):null)}function AO(s,l){if(zf())return null;uO(s,l,!0)}function $z(){Qz(function(){(ze&6)!==0?Og(yw,zz):RO()})}function gy(){if($r===0){var s=Vs;s===0&&(s=Fu,Fu<<=1,(Fu&261888)===0&&(Fu=256)),$r=s}return $r}function DO(s){return s==null||typeof s=="symbol"||typeof s=="boolean"?null:typeof s=="function"?s:qu(""+s)}function PO(s,l){var f=l.ownerDocument.createElement("input");return f.name=l.name,f.value=l.value,s.id&&f.setAttribute("form",s.id),l.parentNode.insertBefore(f,l),s=new FormData(s),f.parentNode.removeChild(f),s}function Fz(s,l,f,p,v){if(l==="submit"&&f&&f.stateNode===v){var x=DO((v[Qt]||null).action),E=p.submitter;E&&(l=(l=E[Qt]||null)?DO(l.formAction):E.getAttribute("formAction"),l!==null&&(x=l,E=null));var A=new Qu("action","action",null,p,v);s.push({event:A,listeners:[{instance:null,listener:function(){if(p.defaultPrevented){if($r!==0){var F=E?PO(v,E):new FormData(v);Nm(f,{pending:!0,data:F,method:v.method,action:x},null,F)}}else typeof x=="function"&&(A.preventDefault(),F=E?PO(v,E):new FormData(v),Nm(f,{pending:!0,data:F,method:v.method,action:x},x,F))},currentTarget:v}]})}}for(var my=0;my<Zg.length;my++){var yy=Zg[my],Bz=yy.toLowerCase(),Hz=yy[0].toUpperCase()+yy.slice(1);ei(Bz,"on"+Hz)}ei(c_,"onAnimationEnd"),ei(u_,"onAnimationIteration"),ei(f_,"onAnimationStart"),ei("dblclick","onDoubleClick"),ei("focusin","onFocus"),ei("focusout","onBlur"),ei(rz,"onTransitionRun"),ei(oz,"onTransitionStart"),ei(sz,"onTransitionCancel"),ei(d_,"onTransitionEnd"),Ms("onMouseEnter",["mouseout","mouseover"]),Ms("onMouseLeave",["mouseout","mouseover"]),Ms("onPointerEnter",["pointerout","pointerover"]),Ms("onPointerLeave",["pointerout","pointerover"]),_o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_o("onBeforeInput",["compositionend","keypress","textInput","paste"]),_o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yl="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(" "),Vz=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yl));function jO(s,l){l=(l&4)!==0;for(var f=0;f<s.length;f++){var p=s[f],v=p.event;p=p.listeners;e:{var x=void 0;if(l)for(var E=p.length-1;0<=E;E--){var A=p[E],F=A.instance,Q=A.currentTarget;if(A=A.listener,F!==x&&v.isPropagationStopped())break e;x=A,v.currentTarget=Q;try{x(v)}catch(ne){ef(ne)}v.currentTarget=null,x=F}else for(E=0;E<p.length;E++){if(A=p[E],F=A.instance,Q=A.currentTarget,A=A.listener,F!==x&&v.isPropagationStopped())break e;x=A,v.currentTarget=Q;try{x(v)}catch(ne){ef(ne)}v.currentTarget=null,x=F}}}}function Re(s,l){var f=l[Ag];f===void 0&&(f=l[Ag]=new Set);var p=s+"__bubble";f.has(p)||(LO(l,s,2,!1),f.add(p))}function vy(s,l,f){var p=0;l&&(p|=4),LO(f,s,p,l)}var Bf="_reactListening"+Math.random().toString(36).slice(2);function by(s){if(!s[Bf]){s[Bf]=!0,Rw.forEach(function(f){f!=="selectionchange"&&(Vz.has(f)||vy(f,!1,s),vy(f,!0,s))});var l=s.nodeType===9?s:s.ownerDocument;l===null||l[Bf]||(l[Bf]=!0,vy("selectionchange",!1,l))}}function LO(s,l,f,p){switch(c2(l)){case 2:var v=y4;break;case 8:v=v4;break;default:v=Ly}f=v.bind(null,l,f,s),v=void 0,!$g||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(v=!0),p?v!==void 0?s.addEventListener(l,f,{capture:!0,passive:v}):s.addEventListener(l,f,!0):v!==void 0?s.addEventListener(l,f,{passive:v}):s.addEventListener(l,f,!1)}function xy(s,l,f,p,v){var x=p;if((l&1)===0&&(l&2)===0&&p!==null)e:for(;;){if(p===null)return;var E=p.tag;if(E===3||E===4){var A=p.stateNode.containerInfo;if(A===v)break;if(E===4)for(E=p.return;E!==null;){var F=E.tag;if((F===3||F===4)&&E.stateNode.containerInfo===v)return;E=E.return}for(;A!==null;){if(E=Es(A),E===null)return;if(F=E.tag,F===5||F===6||F===26||F===27){p=x=E;continue e}A=A.parentNode}}p=p.return}$w(function(){var Q=x,ne=Ig(f),oe=[];e:{var Z=h_.get(s);if(Z!==void 0){var te=Qu,ue=s;switch(s){case"keypress":if(Ku(f)===0)break e;case"keydown":case"keyup":te=kI;break;case"focusin":ue="focus",te=Vg;break;case"focusout":ue="blur",te=Vg;break;case"beforeblur":case"afterblur":te=Vg;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=Hw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=CI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=$I;break;case c_:case u_:case f_:te=RI;break;case d_:te=BI;break;case"scroll":case"scrollend":te=wI;break;case"wheel":te=VI;break;case"copy":case"cut":case"paste":te=MI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=Uw;break;case"toggle":case"beforetoggle":te=WI}var ye=(l&4)!==0,We=!ye&&(s==="scroll"||s==="scrollend"),K=ye?Z!==null?Z+"Capture":null:Z;ye=[];for(var G=Q,X;G!==null;){var re=G;if(X=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||X===null||K===null||(re=ml(G,K),re!=null&&ye.push(Kl(G,re,X))),We)break;G=G.return}0<ye.length&&(Z=new te(Z,ue,null,f,ne),oe.push({event:Z,listeners:ye}))}}if((l&7)===0){e:{if(Z=s==="mouseover"||s==="pointerover",te=s==="mouseout"||s==="pointerout",Z&&f!==kg&&(ue=f.relatedTarget||f.fromElement)&&(Es(ue)||ue[Os]))break e;if((te||Z)&&(Z=ne.window===ne?ne:(Z=ne.ownerDocument)?Z.defaultView||Z.parentWindow:window,te?(ue=f.relatedTarget||f.toElement,te=Q,ue=ue?Es(ue):null,ue!==null&&(We=o(ue),ye=ue.tag,ue!==We||ye!==5&&ye!==27&&ye!==6)&&(ue=null)):(te=null,ue=Q),te!==ue)){if(ye=Hw,re="onMouseLeave",K="onMouseEnter",G="mouse",(s==="pointerout"||s==="pointerover")&&(ye=Uw,re="onPointerLeave",K="onPointerEnter",G="pointer"),We=te==null?Z:gl(te),X=ue==null?Z:gl(ue),Z=new ye(re,G+"leave",te,f,ne),Z.target=We,Z.relatedTarget=X,re=null,Es(ne)===Q&&(ye=new ye(K,G+"enter",ue,f,ne),ye.target=X,ye.relatedTarget=We,re=ye),We=re,te&&ue)t:{for(ye=Uz,K=te,G=ue,X=0,re=K;re;re=ye(re))X++;re=0;for(var me=G;me;me=ye(me))re++;for(;0<X-re;)K=ye(K),X--;for(;0<re-X;)G=ye(G),re--;for(;X--;){if(K===G||G!==null&&K===G.alternate){ye=K;break t}K=ye(K),G=ye(G)}ye=null}else ye=null;te!==null&&NO(oe,Z,te,ye,!1),ue!==null&&We!==null&&NO(oe,We,ue,ye,!0)}}e:{if(Z=Q?gl(Q):window,te=Z.nodeName&&Z.nodeName.toLowerCase(),te==="select"||te==="input"&&Z.type==="file")var ke=Zw;else if(Xw(Z))if(Jw)ke=tz;else{ke=JI;var he=ZI}else te=Z.nodeName,!te||te.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?Q&&Ng(Q.elementType)&&(ke=Zw):ke=ez;if(ke&&(ke=ke(s,Q))){Qw(oe,ke,f,ne);break e}he&&he(s,Z,Q),s==="focusout"&&Q&&Z.type==="number"&&Q.memoizedProps.value!=null&&Lg(Z,"number",Z.value)}switch(he=Q?gl(Q):window,s){case"focusin":(Xw(he)||he.contentEditable==="true")&&(Ns=he,Kg=Q,Cl=null);break;case"focusout":Cl=Kg=Ns=null;break;case"mousedown":Xg=!0;break;case"contextmenu":case"mouseup":case"dragend":Xg=!1,a_(oe,f,ne);break;case"selectionchange":if(iz)break;case"keydown":case"keyup":a_(oe,f,ne)}var _e;if(Wg)e:{switch(s){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Ls?Yw(s,f)&&(Me="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(Me="onCompositionStart");Me&&(Ww&&f.locale!=="ko"&&(Ls||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Ls&&(_e=Fw()):(_r=ne,Fg="value"in _r?_r.value:_r.textContent,Ls=!0)),he=Hf(Q,Me),0<he.length&&(Me=new Vw(Me,s,null,f,ne),oe.push({event:Me,listeners:he}),_e?Me.data=_e:(_e=Kw(f),_e!==null&&(Me.data=_e)))),(_e=qI?YI(s,f):KI(s,f))&&(Me=Hf(Q,"onBeforeInput"),0<Me.length&&(he=new Vw("onBeforeInput","beforeinput",null,f,ne),oe.push({event:he,listeners:Me}),he.data=_e)),Fz(oe,s,Q,f,ne)}jO(oe,l)})}function Kl(s,l,f){return{instance:s,listener:l,currentTarget:f}}function Hf(s,l){for(var f=l+"Capture",p=[];s!==null;){var v=s,x=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||x===null||(v=ml(s,f),v!=null&&p.unshift(Kl(s,v,x)),v=ml(s,l),v!=null&&p.push(Kl(s,v,x))),s.tag===3)return p;s=s.return}return[]}function Uz(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5&&s.tag!==27);return s||null}function NO(s,l,f,p,v){for(var x=l._reactName,E=[];f!==null&&f!==p;){var A=f,F=A.alternate,Q=A.stateNode;if(A=A.tag,F!==null&&F===p)break;A!==5&&A!==26&&A!==27||Q===null||(F=Q,v?(Q=ml(f,x),Q!=null&&E.unshift(Kl(f,Q,F))):v||(Q=ml(f,x),Q!=null&&E.push(Kl(f,Q,F)))),f=f.return}E.length!==0&&s.push({event:l,listeners:E})}var Wz=/\r\n?/g,Gz=/\u0000|\uFFFD/g;function kO(s){return(typeof s=="string"?s:""+s).replace(Wz,` +`).replace(Gz,"")}function IO(s,l){return l=kO(l),kO(s)===l}function Ue(s,l,f,p,v,x){switch(f){case"children":typeof p=="string"?l==="body"||l==="textarea"&&p===""||Ds(s,p):(typeof p=="number"||typeof p=="bigint")&&l!=="body"&&Ds(s,""+p);break;case"className":Wu(s,"class",p);break;case"tabIndex":Wu(s,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":Wu(s,f,p);break;case"style":Iw(s,p,x);break;case"data":if(l!=="object"){Wu(s,"data",p);break}case"src":case"href":if(p===""&&(l!=="a"||f!=="href")){s.removeAttribute(f);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){s.removeAttribute(f);break}p=qu(""+p),s.setAttribute(f,p);break;case"action":case"formAction":if(typeof p=="function"){s.setAttribute(f,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof x=="function"&&(f==="formAction"?(l!=="input"&&Ue(s,l,"name",v.name,v,null),Ue(s,l,"formEncType",v.formEncType,v,null),Ue(s,l,"formMethod",v.formMethod,v,null),Ue(s,l,"formTarget",v.formTarget,v,null)):(Ue(s,l,"encType",v.encType,v,null),Ue(s,l,"method",v.method,v,null),Ue(s,l,"target",v.target,v,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){s.removeAttribute(f);break}p=qu(""+p),s.setAttribute(f,p);break;case"onClick":p!=null&&(s.onclick=zi);break;case"onScroll":p!=null&&Re("scroll",s);break;case"onScrollEnd":p!=null&&Re("scrollend",s);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(i(61));if(f=p.__html,f!=null){if(v.children!=null)throw Error(i(60));s.innerHTML=f}}break;case"multiple":s.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":s.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){s.removeAttribute("xlink:href");break}f=qu(""+p),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",f);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?s.setAttribute(f,""+p):s.removeAttribute(f);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":p&&typeof p!="function"&&typeof p!="symbol"?s.setAttribute(f,""):s.removeAttribute(f);break;case"capture":case"download":p===!0?s.setAttribute(f,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?s.setAttribute(f,p):s.removeAttribute(f);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?s.setAttribute(f,p):s.removeAttribute(f);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?s.removeAttribute(f):s.setAttribute(f,p);break;case"popover":Re("beforetoggle",s),Re("toggle",s),Uu(s,"popover",p);break;case"xlinkActuate":Ii(s,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":Ii(s,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":Ii(s,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":Ii(s,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":Ii(s,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":Ii(s,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":Ii(s,"http://www.w3.org/XML/1998/namespace","xml:base",p);break;case"xmlLang":Ii(s,"http://www.w3.org/XML/1998/namespace","xml:lang",p);break;case"xmlSpace":Ii(s,"http://www.w3.org/XML/1998/namespace","xml:space",p);break;case"is":Uu(s,"is",p);break;case"innerText":case"textContent":break;default:(!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(f=xI.get(f)||f,Uu(s,f,p))}}function Sy(s,l,f,p,v,x){switch(f){case"style":Iw(s,p,x);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(i(61));if(f=p.__html,f!=null){if(v.children!=null)throw Error(i(60));s.innerHTML=f}}break;case"children":typeof p=="string"?Ds(s,p):(typeof p=="number"||typeof p=="bigint")&&Ds(s,""+p);break;case"onScroll":p!=null&&Re("scroll",s);break;case"onScrollEnd":p!=null&&Re("scrollend",s);break;case"onClick":p!=null&&(s.onclick=zi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Tw.hasOwnProperty(f))e:{if(f[0]==="o"&&f[1]==="n"&&(v=f.endsWith("Capture"),l=f.slice(2,v?f.length-7:void 0),x=s[Qt]||null,x=x!=null?x[f]:null,typeof x=="function"&&s.removeEventListener(l,x,v),typeof p=="function")){typeof x!="function"&&x!==null&&(f in s?s[f]=null:s.hasAttribute(f)&&s.removeAttribute(f)),s.addEventListener(l,p,v);break e}f in s?s[f]=p:p===!0?s.setAttribute(f,""):Uu(s,f,p)}}}function Pt(s,l,f){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",s),Re("load",s);var p=!1,v=!1,x;for(x in f)if(f.hasOwnProperty(x)){var E=f[x];if(E!=null)switch(x){case"src":p=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,l));default:Ue(s,l,x,E,f,null)}}v&&Ue(s,l,"srcSet",f.srcSet,f,null),p&&Ue(s,l,"src",f.src,f,null);return;case"input":Re("invalid",s);var A=x=E=v=null,F=null,Q=null;for(p in f)if(f.hasOwnProperty(p)){var ne=f[p];if(ne!=null)switch(p){case"name":v=ne;break;case"type":E=ne;break;case"checked":F=ne;break;case"defaultChecked":Q=ne;break;case"value":x=ne;break;case"defaultValue":A=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,l));break;default:Ue(s,l,p,ne,f,null)}}jw(s,x,A,F,Q,E,v,!1);return;case"select":Re("invalid",s),p=E=x=null;for(v in f)if(f.hasOwnProperty(v)&&(A=f[v],A!=null))switch(v){case"value":x=A;break;case"defaultValue":E=A;break;case"multiple":p=A;default:Ue(s,l,v,A,f,null)}l=x,f=E,s.multiple=!!p,l!=null?As(s,!!p,l,!1):f!=null&&As(s,!!p,f,!0);return;case"textarea":Re("invalid",s),x=v=p=null;for(E in f)if(f.hasOwnProperty(E)&&(A=f[E],A!=null))switch(E){case"value":p=A;break;case"defaultValue":v=A;break;case"children":x=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(i(91));break;default:Ue(s,l,E,A,f,null)}Nw(s,p,v,x);return;case"option":for(F in f)f.hasOwnProperty(F)&&(p=f[F],p!=null)&&(F==="selected"?s.selected=p&&typeof p!="function"&&typeof p!="symbol":Ue(s,l,F,p,f,null));return;case"dialog":Re("beforetoggle",s),Re("toggle",s),Re("cancel",s),Re("close",s);break;case"iframe":case"object":Re("load",s);break;case"video":case"audio":for(p=0;p<Yl.length;p++)Re(Yl[p],s);break;case"image":Re("error",s),Re("load",s);break;case"details":Re("toggle",s);break;case"embed":case"source":case"link":Re("error",s),Re("load",s);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in f)if(f.hasOwnProperty(Q)&&(p=f[Q],p!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,l));default:Ue(s,l,Q,p,f,null)}return;default:if(Ng(l)){for(ne in f)f.hasOwnProperty(ne)&&(p=f[ne],p!==void 0&&Sy(s,l,ne,p,f,void 0));return}}for(A in f)f.hasOwnProperty(A)&&(p=f[A],p!=null&&Ue(s,l,A,p,f,null))}function qz(s,l,f,p){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,x=null,E=null,A=null,F=null,Q=null,ne=null;for(te in f){var oe=f[te];if(f.hasOwnProperty(te)&&oe!=null)switch(te){case"checked":break;case"value":break;case"defaultValue":F=oe;default:p.hasOwnProperty(te)||Ue(s,l,te,null,p,oe)}}for(var Z in p){var te=p[Z];if(oe=f[Z],p.hasOwnProperty(Z)&&(te!=null||oe!=null))switch(Z){case"type":x=te;break;case"name":v=te;break;case"checked":Q=te;break;case"defaultChecked":ne=te;break;case"value":E=te;break;case"defaultValue":A=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(i(137,l));break;default:te!==oe&&Ue(s,l,Z,te,p,oe)}}jg(s,E,A,F,Q,ne,x,v);return;case"select":te=E=A=Z=null;for(x in f)if(F=f[x],f.hasOwnProperty(x)&&F!=null)switch(x){case"value":break;case"multiple":te=F;default:p.hasOwnProperty(x)||Ue(s,l,x,null,p,F)}for(v in p)if(x=p[v],F=f[v],p.hasOwnProperty(v)&&(x!=null||F!=null))switch(v){case"value":Z=x;break;case"defaultValue":A=x;break;case"multiple":E=x;default:x!==F&&Ue(s,l,v,x,p,F)}l=A,f=E,p=te,Z!=null?As(s,!!f,Z,!1):!!p!=!!f&&(l!=null?As(s,!!f,l,!0):As(s,!!f,f?[]:"",!1));return;case"textarea":te=Z=null;for(A in f)if(v=f[A],f.hasOwnProperty(A)&&v!=null&&!p.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:Ue(s,l,A,null,p,v)}for(E in p)if(v=p[E],x=f[E],p.hasOwnProperty(E)&&(v!=null||x!=null))switch(E){case"value":Z=v;break;case"defaultValue":te=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(i(91));break;default:v!==x&&Ue(s,l,E,v,p,x)}Lw(s,Z,te);return;case"option":for(var ue in f)Z=f[ue],f.hasOwnProperty(ue)&&Z!=null&&!p.hasOwnProperty(ue)&&(ue==="selected"?s.selected=!1:Ue(s,l,ue,null,p,Z));for(F in p)Z=p[F],te=f[F],p.hasOwnProperty(F)&&Z!==te&&(Z!=null||te!=null)&&(F==="selected"?s.selected=Z&&typeof Z!="function"&&typeof Z!="symbol":Ue(s,l,F,Z,p,te));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ye in f)Z=f[ye],f.hasOwnProperty(ye)&&Z!=null&&!p.hasOwnProperty(ye)&&Ue(s,l,ye,null,p,Z);for(Q in p)if(Z=p[Q],te=f[Q],p.hasOwnProperty(Q)&&Z!==te&&(Z!=null||te!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(i(137,l));break;default:Ue(s,l,Q,Z,p,te)}return;default:if(Ng(l)){for(var We in f)Z=f[We],f.hasOwnProperty(We)&&Z!==void 0&&!p.hasOwnProperty(We)&&Sy(s,l,We,void 0,p,Z);for(ne in p)Z=p[ne],te=f[ne],!p.hasOwnProperty(ne)||Z===te||Z===void 0&&te===void 0||Sy(s,l,ne,Z,p,te);return}}for(var K in f)Z=f[K],f.hasOwnProperty(K)&&Z!=null&&!p.hasOwnProperty(K)&&Ue(s,l,K,null,p,Z);for(oe in p)Z=p[oe],te=f[oe],!p.hasOwnProperty(oe)||Z===te||Z==null&&te==null||Ue(s,l,oe,Z,p,te)}function zO(s){switch(s){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Yz(){if(typeof performance.getEntriesByType=="function"){for(var s=0,l=0,f=performance.getEntriesByType("resource"),p=0;p<f.length;p++){var v=f[p],x=v.transferSize,E=v.initiatorType,A=v.duration;if(x&&A&&zO(E)){for(E=0,A=v.responseEnd,p+=1;p<f.length;p++){var F=f[p],Q=F.startTime;if(Q>A)break;var ne=F.transferSize,oe=F.initiatorType;ne&&zO(oe)&&(F=F.responseEnd,E+=ne*(F<A?1:(A-Q)/(F-Q)))}if(--p,l+=8*(x+E)/(v.duration/1e3),s++,10<s)break}}if(0<s)return l/s/1e6}return navigator.connection&&(s=navigator.connection.downlink,typeof s=="number")?s:5}var wy=null,_y=null;function Vf(s){return s.nodeType===9?s:s.ownerDocument}function $O(s){switch(s){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function FO(s,l){if(s===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return s===1&&l==="foreignObject"?0:s}function Cy(s,l){return s==="textarea"||s==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Oy=null;function Kz(){var s=window.event;return s&&s.type==="popstate"?s===Oy?!1:(Oy=s,!0):(Oy=null,!1)}var BO=typeof setTimeout=="function"?setTimeout:void 0,Xz=typeof clearTimeout=="function"?clearTimeout:void 0,HO=typeof Promise=="function"?Promise:void 0,Qz=typeof queueMicrotask=="function"?queueMicrotask:typeof HO<"u"?function(s){return HO.resolve(null).then(s).catch(Zz)}:BO;function Zz(s){setTimeout(function(){throw s})}function Fr(s){return s==="head"}function VO(s,l){var f=l,p=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"||f==="/&"){if(p===0){s.removeChild(v),la(l);return}p--}else if(f==="$"||f==="$?"||f==="$~"||f==="$!"||f==="&")p++;else if(f==="html")Xl(s.ownerDocument.documentElement);else if(f==="head"){f=s.ownerDocument.head,Xl(f);for(var x=f.firstChild;x;){var E=x.nextSibling,A=x.nodeName;x[pl]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&x.rel.toLowerCase()==="stylesheet"||f.removeChild(x),x=E}}else f==="body"&&Xl(s.ownerDocument.body);f=v}while(f);la(l)}function UO(s,l){var f=s;s=0;do{var p=f.nextSibling;if(f.nodeType===1?l?(f._stashedDisplay=f.style.display,f.style.display="none"):(f.style.display=f._stashedDisplay||"",f.getAttribute("style")===""&&f.removeAttribute("style")):f.nodeType===3&&(l?(f._stashedText=f.nodeValue,f.nodeValue=""):f.nodeValue=f._stashedText||""),p&&p.nodeType===8)if(f=p.data,f==="/$"){if(s===0)break;s--}else f!=="$"&&f!=="$?"&&f!=="$~"&&f!=="$!"||s++;f=p}while(f)}function Ey(s){var l=s.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var f=l;switch(l=l.nextSibling,f.nodeName){case"HTML":case"HEAD":case"BODY":Ey(f),Dg(f);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(f.rel.toLowerCase()==="stylesheet")continue}s.removeChild(f)}}function Jz(s,l,f,p){for(;s.nodeType===1;){var v=f;if(s.nodeName.toLowerCase()!==l.toLowerCase()){if(!p&&(s.nodeName!=="INPUT"||s.type!=="hidden"))break}else if(p){if(!s[pl])switch(l){case"meta":if(!s.hasAttribute("itemprop"))break;return s;case"link":if(x=s.getAttribute("rel"),x==="stylesheet"&&s.hasAttribute("data-precedence"))break;if(x!==v.rel||s.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||s.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||s.getAttribute("title")!==(v.title==null?null:v.title))break;return s;case"style":if(s.hasAttribute("data-precedence"))break;return s;case"script":if(x=s.getAttribute("src"),(x!==(v.src==null?null:v.src)||s.getAttribute("type")!==(v.type==null?null:v.type)||s.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&x&&s.hasAttribute("async")&&!s.hasAttribute("itemprop"))break;return s;default:return s}}else if(l==="input"&&s.type==="hidden"){var x=v.name==null?null:""+v.name;if(v.type==="hidden"&&s.getAttribute("name")===x)return s}else return s;if(s=Vn(s.nextSibling),s===null)break}return null}function e4(s,l,f){if(l==="")return null;for(;s.nodeType!==3;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!f||(s=Vn(s.nextSibling),s===null))return null;return s}function WO(s,l){for(;s.nodeType!==8;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!l||(s=Vn(s.nextSibling),s===null))return null;return s}function Ry(s){return s.data==="$?"||s.data==="$~"}function Ty(s){return s.data==="$!"||s.data==="$?"&&s.ownerDocument.readyState!=="loading"}function t4(s,l){var f=s.ownerDocument;if(s.data==="$~")s._reactRetry=l;else if(s.data!=="$?"||f.readyState!=="loading")l();else{var p=function(){l(),f.removeEventListener("DOMContentLoaded",p)};f.addEventListener("DOMContentLoaded",p),s._reactRetry=p}}function Vn(s){for(;s!=null;s=s.nextSibling){var l=s.nodeType;if(l===1||l===3)break;if(l===8){if(l=s.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return s}var My=null;function GO(s){s=s.nextSibling;for(var l=0;s;){if(s.nodeType===8){var f=s.data;if(f==="/$"||f==="/&"){if(l===0)return Vn(s.nextSibling);l--}else f!=="$"&&f!=="$!"&&f!=="$?"&&f!=="$~"&&f!=="&"||l++}s=s.nextSibling}return null}function qO(s){s=s.previousSibling;for(var l=0;s;){if(s.nodeType===8){var f=s.data;if(f==="$"||f==="$!"||f==="$?"||f==="$~"||f==="&"){if(l===0)return s;l--}else f!=="/$"&&f!=="/&"||l++}s=s.previousSibling}return null}function YO(s,l,f){switch(l=Vf(f),s){case"html":if(s=l.documentElement,!s)throw Error(i(452));return s;case"head":if(s=l.head,!s)throw Error(i(453));return s;case"body":if(s=l.body,!s)throw Error(i(454));return s;default:throw Error(i(451))}}function Xl(s){for(var l=s.attributes;l.length;)s.removeAttributeNode(l[0]);Dg(s)}var Un=new Map,KO=new Set;function Uf(s){return typeof s.getRootNode=="function"?s.getRootNode():s.nodeType===9?s:s.ownerDocument}var er=j.d;j.d={f:n4,r:i4,D:r4,C:o4,L:s4,m:a4,X:c4,S:l4,M:u4};function n4(){var s=er.f(),l=Nf();return s||l}function i4(s){var l=Rs(s);l!==null&&l.tag===5&&l.type==="form"?dC(l):er.r(s)}var oa=typeof document>"u"?null:document;function XO(s,l,f){var p=oa;if(p&&typeof l=="string"&&l){var v=kn(l);v='link[rel="'+s+'"][href="'+v+'"]',typeof f=="string"&&(v+='[crossorigin="'+f+'"]'),KO.has(v)||(KO.add(v),s={rel:s,crossOrigin:f,href:l},p.querySelector(v)===null&&(l=p.createElement("link"),Pt(l,"link",s),wt(l),p.head.appendChild(l)))}}function r4(s){er.D(s),XO("dns-prefetch",s,null)}function o4(s,l){er.C(s,l),XO("preconnect",s,l)}function s4(s,l,f){er.L(s,l,f);var p=oa;if(p&&s&&l){var v='link[rel="preload"][as="'+kn(l)+'"]';l==="image"&&f&&f.imageSrcSet?(v+='[imagesrcset="'+kn(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(v+='[imagesizes="'+kn(f.imageSizes)+'"]')):v+='[href="'+kn(s)+'"]';var x=v;switch(l){case"style":x=sa(s);break;case"script":x=aa(s)}Un.has(x)||(s=g({rel:"preload",href:l==="image"&&f&&f.imageSrcSet?void 0:s,as:l},f),Un.set(x,s),p.querySelector(v)!==null||l==="style"&&p.querySelector(Ql(x))||l==="script"&&p.querySelector(Zl(x))||(l=p.createElement("link"),Pt(l,"link",s),wt(l),p.head.appendChild(l)))}}function a4(s,l){er.m(s,l);var f=oa;if(f&&s){var p=l&&typeof l.as=="string"?l.as:"script",v='link[rel="modulepreload"][as="'+kn(p)+'"][href="'+kn(s)+'"]',x=v;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=aa(s)}if(!Un.has(x)&&(s=g({rel:"modulepreload",href:s},l),Un.set(x,s),f.querySelector(v)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector(Zl(x)))return}p=f.createElement("link"),Pt(p,"link",s),wt(p),f.head.appendChild(p)}}}function l4(s,l,f){er.S(s,l,f);var p=oa;if(p&&s){var v=Ts(p).hoistableStyles,x=sa(s);l=l||"default";var E=v.get(x);if(!E){var A={loading:0,preload:null};if(E=p.querySelector(Ql(x)))A.loading=5;else{s=g({rel:"stylesheet",href:s,"data-precedence":l},f),(f=Un.get(x))&&Ay(s,f);var F=E=p.createElement("link");wt(F),Pt(F,"link",s),F._p=new Promise(function(Q,ne){F.onload=Q,F.onerror=ne}),F.addEventListener("load",function(){A.loading|=1}),F.addEventListener("error",function(){A.loading|=2}),A.loading|=4,Wf(E,l,p)}E={type:"stylesheet",instance:E,count:1,state:A},v.set(x,E)}}}function c4(s,l){er.X(s,l);var f=oa;if(f&&s){var p=Ts(f).hoistableScripts,v=aa(s),x=p.get(v);x||(x=f.querySelector(Zl(v)),x||(s=g({src:s,async:!0},l),(l=Un.get(v))&&Dy(s,l),x=f.createElement("script"),wt(x),Pt(x,"link",s),f.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},p.set(v,x))}}function u4(s,l){er.M(s,l);var f=oa;if(f&&s){var p=Ts(f).hoistableScripts,v=aa(s),x=p.get(v);x||(x=f.querySelector(Zl(v)),x||(s=g({src:s,async:!0,type:"module"},l),(l=Un.get(v))&&Dy(s,l),x=f.createElement("script"),wt(x),Pt(x,"link",s),f.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},p.set(v,x))}}function QO(s,l,f,p){var v=(v=de.current)?Uf(v):null;if(!v)throw Error(i(446));switch(s){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(l=sa(f.href),f=Ts(v).hoistableStyles,p=f.get(l),p||(p={type:"style",instance:null,count:0,state:null},f.set(l,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){s=sa(f.href);var x=Ts(v).hoistableStyles,E=x.get(s);if(E||(v=v.ownerDocument||v,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(s,E),(x=v.querySelector(Ql(s)))&&!x._p&&(E.instance=x,E.state.loading=5),Un.has(s)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},Un.set(s,f),x||f4(v,s,f,E.state))),l&&p===null)throw Error(i(528,""));return E}if(l&&p!==null)throw Error(i(529,""));return null;case"script":return l=f.async,f=f.src,typeof f=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=aa(f),f=Ts(v).hoistableScripts,p=f.get(l),p||(p={type:"script",instance:null,count:0,state:null},f.set(l,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,s))}}function sa(s){return'href="'+kn(s)+'"'}function Ql(s){return'link[rel="stylesheet"]['+s+"]"}function ZO(s){return g({},s,{"data-precedence":s.precedence,precedence:null})}function f4(s,l,f,p){s.querySelector('link[rel="preload"][as="style"]['+l+"]")?p.loading=1:(l=s.createElement("link"),p.preload=l,l.addEventListener("load",function(){return p.loading|=1}),l.addEventListener("error",function(){return p.loading|=2}),Pt(l,"link",f),wt(l),s.head.appendChild(l))}function aa(s){return'[src="'+kn(s)+'"]'}function Zl(s){return"script[async]"+s}function JO(s,l,f){if(l.count++,l.instance===null)switch(l.type){case"style":var p=s.querySelector('style[data-href~="'+kn(f.href)+'"]');if(p)return l.instance=p,wt(p),p;var v=g({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return p=(s.ownerDocument||s).createElement("style"),wt(p),Pt(p,"style",v),Wf(p,f.precedence,s),l.instance=p;case"stylesheet":v=sa(f.href);var x=s.querySelector(Ql(v));if(x)return l.state.loading|=4,l.instance=x,wt(x),x;p=ZO(f),(v=Un.get(v))&&Ay(p,v),x=(s.ownerDocument||s).createElement("link"),wt(x);var E=x;return E._p=new Promise(function(A,F){E.onload=A,E.onerror=F}),Pt(x,"link",p),l.state.loading|=4,Wf(x,f.precedence,s),l.instance=x;case"script":return x=aa(f.src),(v=s.querySelector(Zl(x)))?(l.instance=v,wt(v),v):(p=f,(v=Un.get(x))&&(p=g({},f),Dy(p,v)),s=s.ownerDocument||s,v=s.createElement("script"),wt(v),Pt(v,"link",p),s.head.appendChild(v),l.instance=v);case"void":return null;default:throw Error(i(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(p=l.instance,l.state.loading|=4,Wf(p,f.precedence,s));return l.instance}function Wf(s,l,f){for(var p=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=p.length?p[p.length-1]:null,x=v,E=0;E<p.length;E++){var A=p[E];if(A.dataset.precedence===l)x=A;else if(x!==v)break}x?x.parentNode.insertBefore(s,x.nextSibling):(l=f.nodeType===9?f.head:f,l.insertBefore(s,l.firstChild))}function Ay(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.title==null&&(s.title=l.title)}function Dy(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.integrity==null&&(s.integrity=l.integrity)}var Gf=null;function e2(s,l,f){if(Gf===null){var p=new Map,v=Gf=new Map;v.set(f,p)}else v=Gf,p=v.get(f),p||(p=new Map,v.set(f,p));if(p.has(s))return p;for(p.set(s,null),f=f.getElementsByTagName(s),v=0;v<f.length;v++){var x=f[v];if(!(x[pl]||x[Tt]||s==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!=="http://www.w3.org/2000/svg"){var E=x.getAttribute(l)||"";E=s+E;var A=p.get(E);A?A.push(x):p.set(E,[x])}}return p}function t2(s,l,f){s=s.ownerDocument||s,s.head.insertBefore(f,l==="title"?s.querySelector("head > title"):null)}function d4(s,l,f){if(f===1||l.itemProp!=null)return!1;switch(s){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;return l.rel==="stylesheet"?(s=l.disabled,typeof l.precedence=="string"&&s==null):!0;case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function n2(s){return!(s.type==="stylesheet"&&(s.state.loading&3)===0)}function h4(s,l,f,p){if(f.type==="stylesheet"&&(typeof p.media!="string"||matchMedia(p.media).matches!==!1)&&(f.state.loading&4)===0){if(f.instance===null){var v=sa(p.href),x=l.querySelector(Ql(v));if(x){l=x._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(s.count++,s=qf.bind(s),l.then(s,s)),f.state.loading|=4,f.instance=x,wt(x);return}x=l.ownerDocument||l,p=ZO(p),(v=Un.get(v))&&Ay(p,v),x=x.createElement("link"),wt(x);var E=x;E._p=new Promise(function(A,F){E.onload=A,E.onerror=F}),Pt(x,"link",p),f.instance=x}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(f,l),(l=f.state.preload)&&(f.state.loading&3)===0&&(s.count++,f=qf.bind(s),l.addEventListener("load",f),l.addEventListener("error",f))}}var Py=0;function p4(s,l){return s.stylesheets&&s.count===0&&Kf(s,s.stylesheets),0<s.count||0<s.imgCount?function(f){var p=setTimeout(function(){if(s.stylesheets&&Kf(s,s.stylesheets),s.unsuspend){var x=s.unsuspend;s.unsuspend=null,x()}},6e4+l);0<s.imgBytes&&Py===0&&(Py=62500*Yz());var v=setTimeout(function(){if(s.waitingForImages=!1,s.count===0&&(s.stylesheets&&Kf(s,s.stylesheets),s.unsuspend)){var x=s.unsuspend;s.unsuspend=null,x()}},(s.imgBytes>Py?50:800)+l);return s.unsuspend=f,function(){s.unsuspend=null,clearTimeout(p),clearTimeout(v)}}:null}function qf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Kf(this,this.stylesheets);else if(this.unsuspend){var s=this.unsuspend;this.unsuspend=null,s()}}}var Yf=null;function Kf(s,l){s.stylesheets=null,s.unsuspend!==null&&(s.count++,Yf=new Map,l.forEach(g4,s),Yf=null,qf.call(s))}function g4(s,l){if(!(l.state.loading&4)){var f=Yf.get(s);if(f)var p=f.get(null);else{f=new Map,Yf.set(s,f);for(var v=s.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<v.length;x++){var E=v[x];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(f.set(E.dataset.precedence,E),p=E)}p&&f.set(null,p)}v=l.instance,E=v.getAttribute("data-precedence"),x=f.get(E)||p,x===p&&f.set(null,v),f.set(E,v),this.count++,p=qf.bind(this),v.addEventListener("load",p),v.addEventListener("error",p),x?x.parentNode.insertBefore(v,x.nextSibling):(s=s.nodeType===9?s.head:s,s.insertBefore(v,s.firstChild)),l.state.loading|=4}}var Jl={$$typeof:T,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function m4(s,l,f,p,v,x,E,A,F){this.tag=1,this.containerInfo=s,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Rg(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rg(0),this.hiddenUpdates=Rg(null),this.identifierPrefix=p,this.onUncaughtError=v,this.onCaughtError=x,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map}function i2(s,l,f,p,v,x,E,A,F,Q,ne,oe){return s=new m4(s,l,f,E,F,Q,ne,oe,A),l=1,x===!0&&(l|=24),x=pn(3,null,null,l),s.current=x,x.stateNode=s,l=fm(),l.refCount++,s.pooledCache=l,l.refCount++,x.memoizedState={element:p,isDehydrated:f,cache:l},gm(x),s}function r2(s){return s?(s=zs,s):zs}function o2(s,l,f,p,v,x){v=r2(v),p.context===null?p.context=v:p.pendingContext=v,p=Mr(l),p.payload={element:f},x=x===void 0?null:x,x!==null&&(p.callback=x),f=Ar(s,p,l),f!==null&&(rn(f,s,l),Dl(f,s,l))}function s2(s,l){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<l?f:l}}function jy(s,l){s2(s,l),(s=s.alternate)&&s2(s,l)}function a2(s){if(s.tag===13||s.tag===31){var l=Ro(s,67108864);l!==null&&rn(l,s,67108864),jy(s,67108864)}}function l2(s){if(s.tag===13||s.tag===31){var l=bn();l=Tg(l);var f=Ro(s,l);f!==null&&rn(f,s,l),jy(s,l)}}var Xf=!0;function y4(s,l,f,p){var v=N.T;N.T=null;var x=j.p;try{j.p=2,Ly(s,l,f,p)}finally{j.p=x,N.T=v}}function v4(s,l,f,p){var v=N.T;N.T=null;var x=j.p;try{j.p=8,Ly(s,l,f,p)}finally{j.p=x,N.T=v}}function Ly(s,l,f,p){if(Xf){var v=Ny(p);if(v===null)xy(s,l,p,Qf,f),u2(s,p);else if(x4(v,s,l,f,p))p.stopPropagation();else if(u2(s,p),l&4&&-1<b4.indexOf(s)){for(;v!==null;){var x=Rs(v);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var E=wo(x.pendingLanes);if(E!==0){var A=x;for(A.pendingLanes|=2,A.entangledLanes|=2;E;){var F=1<<31-dn(E);A.entanglements[1]|=F,E&=~F}_i(x),(ze&6)===0&&(jf=un()+500,ql(0))}}break;case 31:case 13:A=Ro(x,2),A!==null&&rn(A,x,2),Nf(),jy(x,2)}if(x=Ny(p),x===null&&xy(s,l,p,Qf,f),x===v)break;v=x}v!==null&&p.stopPropagation()}else xy(s,l,p,null,f)}}function Ny(s){return s=Ig(s),ky(s)}var Qf=null;function ky(s){if(Qf=null,s=Es(s),s!==null){var l=o(s);if(l===null)s=null;else{var f=l.tag;if(f===13){if(s=a(l),s!==null)return s;s=null}else if(f===31){if(s=c(l),s!==null)return s;s=null}else if(f===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;s=null}else l!==s&&(s=null)}}return Qf=s,null}function c2(s){switch(s){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(rI()){case yw:return 2;case vw:return 8;case $u:case oI:return 32;case bw:return 268435456;default:return 32}default:return 32}}var Iy=!1,Br=null,Hr=null,Vr=null,ec=new Map,tc=new Map,Ur=[],b4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function u2(s,l){switch(s){case"focusin":case"focusout":Br=null;break;case"dragenter":case"dragleave":Hr=null;break;case"mouseover":case"mouseout":Vr=null;break;case"pointerover":case"pointerout":ec.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":tc.delete(l.pointerId)}}function nc(s,l,f,p,v,x){return s===null||s.nativeEvent!==x?(s={blockedOn:l,domEventName:f,eventSystemFlags:p,nativeEvent:x,targetContainers:[v]},l!==null&&(l=Rs(l),l!==null&&a2(l)),s):(s.eventSystemFlags|=p,l=s.targetContainers,v!==null&&l.indexOf(v)===-1&&l.push(v),s)}function x4(s,l,f,p,v){switch(l){case"focusin":return Br=nc(Br,s,l,f,p,v),!0;case"dragenter":return Hr=nc(Hr,s,l,f,p,v),!0;case"mouseover":return Vr=nc(Vr,s,l,f,p,v),!0;case"pointerover":var x=v.pointerId;return ec.set(x,nc(ec.get(x)||null,s,l,f,p,v)),!0;case"gotpointercapture":return x=v.pointerId,tc.set(x,nc(tc.get(x)||null,s,l,f,p,v)),!0}return!1}function f2(s){var l=Es(s.target);if(l!==null){var f=o(l);if(f!==null){if(l=f.tag,l===13){if(l=a(f),l!==null){s.blockedOn=l,Ow(s.priority,function(){l2(f)});return}}else if(l===31){if(l=c(f),l!==null){s.blockedOn=l,Ow(s.priority,function(){l2(f)});return}}else if(l===3&&f.stateNode.current.memoizedState.isDehydrated){s.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Zf(s){if(s.blockedOn!==null)return!1;for(var l=s.targetContainers;0<l.length;){var f=Ny(s.nativeEvent);if(f===null){f=s.nativeEvent;var p=new f.constructor(f.type,f);kg=p,f.target.dispatchEvent(p),kg=null}else return l=Rs(f),l!==null&&a2(l),s.blockedOn=f,!1;l.shift()}return!0}function d2(s,l,f){Zf(s)&&f.delete(l)}function S4(){Iy=!1,Br!==null&&Zf(Br)&&(Br=null),Hr!==null&&Zf(Hr)&&(Hr=null),Vr!==null&&Zf(Vr)&&(Vr=null),ec.forEach(d2),tc.forEach(d2)}function Jf(s,l){s.blockedOn===l&&(s.blockedOn=null,Iy||(Iy=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,S4)))}var ed=null;function h2(s){ed!==s&&(ed=s,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ed===s&&(ed=null);for(var l=0;l<s.length;l+=3){var f=s[l],p=s[l+1],v=s[l+2];if(typeof p!="function"){if(ky(p||f)===null)continue;break}var x=Rs(f);x!==null&&(s.splice(l,3),l-=3,Nm(x,{pending:!0,data:v,method:f.method,action:p},p,v))}}))}function la(s){function l(F){return Jf(F,s)}Br!==null&&Jf(Br,s),Hr!==null&&Jf(Hr,s),Vr!==null&&Jf(Vr,s),ec.forEach(l),tc.forEach(l);for(var f=0;f<Ur.length;f++){var p=Ur[f];p.blockedOn===s&&(p.blockedOn=null)}for(;0<Ur.length&&(f=Ur[0],f.blockedOn===null);)f2(f),f.blockedOn===null&&Ur.shift();if(f=(s.ownerDocument||s).$$reactFormReplay,f!=null)for(p=0;p<f.length;p+=3){var v=f[p],x=f[p+1],E=v[Qt]||null;if(typeof x=="function")E||h2(f);else if(E){var A=null;if(x&&x.hasAttribute("formAction")){if(v=x,E=x[Qt]||null)A=E.formAction;else if(ky(v)!==null)continue}else A=E.action;typeof A=="function"?f[p+1]=A:(f.splice(p,3),p-=3),h2(f)}}}function p2(){function s(x){x.canIntercept&&x.info==="react-transition"&&x.intercept({handler:function(){return new Promise(function(E){return v=E})},focusReset:"manual",scroll:"manual"})}function l(){v!==null&&(v(),v=null),p||setTimeout(f,20)}function f(){if(!p&&!navigation.transition){var x=navigation.currentEntry;x&&x.url!=null&&navigation.navigate(x.url,{state:x.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var p=!1,v=null;return navigation.addEventListener("navigate",s),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(f,100),function(){p=!0,navigation.removeEventListener("navigate",s),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),v!==null&&(v(),v=null)}}}function zy(s){this._internalRoot=s}td.prototype.render=zy.prototype.render=function(s){var l=this._internalRoot;if(l===null)throw Error(i(409));var f=l.current,p=bn();o2(f,p,s,l,null,null)},td.prototype.unmount=zy.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var l=s.containerInfo;o2(s.current,2,null,s,null,null),Nf(),l[Os]=null}};function td(s){this._internalRoot=s}td.prototype.unstable_scheduleHydration=function(s){if(s){var l=Cw();s={blockedOn:null,target:s,priority:l};for(var f=0;f<Ur.length&&l!==0&&l<Ur[f].priority;f++);Ur.splice(f,0,s),f===0&&f2(s)}};var g2=t.version;if(g2!=="19.2.7")throw Error(i(527,g2,"19.2.7"));j.findDOMNode=function(s){var l=s._reactInternals;if(l===void 0)throw typeof s.render=="function"?Error(i(188)):(s=Object.keys(s).join(","),Error(i(268,s)));return s=d(l),s=s!==null?h(s):null,s=s===null?null:s.stateNode,s};var w4={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nd.isDisabled&&nd.supportsFiber)try{fl=nd.inject(w4),fn=nd}catch{}}return oc.createRoot=function(s,l){if(!r(s))throw Error(i(299));var f=!1,p="",v=wC,x=_C,E=CC;return l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(x=l.onCaughtError),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),l=i2(s,1,!1,null,null,f,p,null,v,x,E,p2),s[Os]=l.current,by(s),new zy(l)},oc.hydrateRoot=function(s,l,f){if(!r(s))throw Error(i(299));var p=!1,v="",x=wC,E=_C,A=CC,F=null;return f!=null&&(f.unstable_strictMode===!0&&(p=!0),f.identifierPrefix!==void 0&&(v=f.identifierPrefix),f.onUncaughtError!==void 0&&(x=f.onUncaughtError),f.onCaughtError!==void 0&&(E=f.onCaughtError),f.onRecoverableError!==void 0&&(A=f.onRecoverableError),f.formState!==void 0&&(F=f.formState)),l=i2(s,1,!0,l,f??null,p,v,F,x,E,A,p2),l.context=r2(null),f=l.current,p=bn(),p=Tg(p),v=Mr(p),v.callback=null,Ar(f,v,p),f=p,l.current.lanes=f,hl(l,f),_i(l),s[Os]=l.current,by(s),new td(l)},oc.version="19.2.7",oc}var Z2;function K5(){if(Z2)return qy.exports;Z2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),qy.exports=Y5(),qy.exports}var X5=K5(),rd={exports:{}},Gr={},Qy={exports:{}},Zy,J2;function Q5(){if(J2)return Zy;J2=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Zy=e,Zy}var Jy,eE;function Z5(){if(eE)return Jy;eE=1;var e=Q5();function t(){}function n(){}return n.resetWarningCache=t,Jy=function(){function i(a,c,u,d,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}i.isRequired=i;function r(){return i}var o={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:r,element:i,elementType:i,instanceOf:r,node:i,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Jy}var tE;function Ux(){return tE||(tE=1,Qy.exports=Z5()()),Qy.exports}var od={exports:{}},Wn={},sd={exports:{}},nE;function rD(){return nE||(nE=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var n="none",i="contents",r=/^(input|select|textarea|button|object|iframe)$/;function o(g,m){return m.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function a(g){var m=g.offsetWidth<=0&&g.offsetHeight<=0;if(m&&!g.innerHTML)return!0;try{var y=window.getComputedStyle(g),b=y.getPropertyValue("display");return m?b!==i&&o(g,y):b===n}catch{return console.warn("Failed to inspect element style"),!1}}function c(g){for(var m=g,y=g.getRootNode&&g.getRootNode();m&&m!==document.body;){if(y&&m===y&&(m=y.host.parentNode),a(m))return!1;m=m.parentNode}return!0}function u(g,m){var y=g.nodeName.toLowerCase(),b=r.test(y)&&!g.disabled||y==="a"&&g.href||m;return b&&c(g)}function d(g){var m=g.getAttribute("tabindex");m===null&&(m=void 0);var y=isNaN(m);return(y||m>=0)&&u(g,!y)}function h(g){var m=[].slice.call(g.querySelectorAll("*"),0).reduce(function(y,b){return y.concat(b.shadowRoot?h(b.shadowRoot):[b])},[]);return m.filter(d)}e.exports=t.default})(sd,sd.exports)),sd.exports}var iE;function J5(){if(iE)return Wn;iE=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.resetState=a,Wn.log=c,Wn.handleBlur=u,Wn.handleFocus=d,Wn.markForFocusLater=h,Wn.returnFocus=g,Wn.popWithoutFocus=m,Wn.setupScopedFocus=y,Wn.teardownScopedFocus=b;var e=rD(),t=n(e);function n(w){return w&&w.__esModule?w:{default:w}}var i=[],r=null,o=!1;function a(){i=[]}function c(){}function u(){o=!0}function d(){if(o){if(o=!1,!r)return;setTimeout(function(){if(!r.contains(document.activeElement)){var w=(0,t.default)(r)[0]||r;w.focus()}},0)}}function h(){i.push(document.activeElement)}function g(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,_=null;try{i.length!==0&&(_=i.pop(),_.focus({preventScroll:w}));return}catch{console.warn(["You tried to return focus to",_,"but it is not in the DOM anymore"].join(" "))}}function m(){i.length>0&&i.pop()}function y(w){r=w,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",d,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",d))}function b(){r=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",d)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",d))}return Wn}var ad={exports:{}},rE;function e$(){return rE||(rE=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=rD(),i=r(n);function r(c){return c&&c.__esModule?c:{default:c}}function o(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return c.activeElement.shadowRoot?o(c.activeElement.shadowRoot):c.activeElement}function a(c,u){var d=(0,i.default)(c);if(!d.length){u.preventDefault();return}var h=void 0,g=u.shiftKey,m=d[0],y=d[d.length-1],b=o();if(c===b){if(!g)return;h=y}if(y===b&&!g&&(h=m),m===b&&g&&(h=y),h){u.preventDefault(),h.focus();return}var w=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),_=w!=null&&w[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(_){var O=d.indexOf(b);if(O>-1&&(O+=g?-1:1),h=d[O],typeof h>"u"){u.preventDefault(),h=g?y:m,h.focus();return}u.preventDefault(),h.focus()}}e.exports=t.default})(ad,ad.exports)),ad.exports}var ii={},ev,oE;function t$(){if(oE)return ev;oE=1;var e=function(){};return ev=e,ev}var Ci={},tv={exports:{}};var sE;function n$(){return sE||(sE=1,(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(tv)),tv.exports}var aE;function Wx(){if(aE)return Ci;aE=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.canUseDOM=Ci.SafeNodeList=Ci.SafeHTMLCollection=void 0;var e=n$(),t=n(e);function n(o){return o&&o.__esModule?o:{default:o}}var i=t.default,r=i.canUseDOM?window.HTMLElement:{};return Ci.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},Ci.SafeNodeList=i.canUseDOM?window.NodeList:{},Ci.canUseDOM=i.canUseDOM,Ci.default=r,Ci}var lE;function oD(){if(lE)return ii;lE=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.resetState=o,ii.log=a,ii.assertNodeList=c,ii.setElement=u,ii.validateElement=d,ii.hide=h,ii.show=g,ii.documentNotReadyOrSSRTesting=m;var e=t$(),t=i(e),n=Wx();function i(y){return y&&y.__esModule?y:{default:y}}var r=null;function o(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):r.length!=null?r.forEach(function(y){return y.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(y){return y.removeAttribute("aria-hidden")})),r=null}function a(){}function c(y,b){if(!y||!y.length)throw new Error("react-modal: No elements were found for selector "+b+".")}function u(y){var b=y;if(typeof b=="string"&&n.canUseDOM){var w=document.querySelectorAll(b);c(w,b),b=w}return r=b||r,r}function d(y){var b=y||r;return b?Array.isArray(b)||b instanceof HTMLCollection||b instanceof NodeList?b:[b]:((0,t.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function h(y){var b=!0,w=!1,_=void 0;try{for(var O=d(y)[Symbol.iterator](),R;!(b=(R=O.next()).done);b=!0){var T=R.value;T.setAttribute("aria-hidden","true")}}catch(M){w=!0,_=M}finally{try{!b&&O.return&&O.return()}finally{if(w)throw _}}}function g(y){var b=!0,w=!1,_=void 0;try{for(var O=d(y)[Symbol.iterator](),R;!(b=(R=O.next()).done);b=!0){var T=R.value;T.removeAttribute("aria-hidden")}}catch(M){w=!0,_=M}finally{try{!b&&O.return&&O.return()}finally{if(w)throw _}}}function m(){r=null}return ii}var Bo={},cE;function i$(){if(cE)return Bo;cE=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.resetState=i,Bo.log=r;var e={},t={};function n(d,h){d.classList.remove(h)}function i(){var d=document.getElementsByTagName("html")[0];for(var h in e)n(d,e[h]);var g=document.body;for(var m in t)n(g,t[m]);e={},t={}}function r(){}var o=function(h,g){return h[g]||(h[g]=0),h[g]+=1,g},a=function(h,g){return h[g]&&(h[g]-=1),g},c=function(h,g,m){m.forEach(function(y){o(g,y),h.add(y)})},u=function(h,g,m){m.forEach(function(y){a(g,y),g[y]===0&&h.remove(y)})};return Bo.add=function(h,g){return c(h.classList,h.nodeName.toLowerCase()=="html"?e:t,g.split(" "))},Bo.remove=function(h,g){return u(h.classList,h.nodeName.toLowerCase()=="html"?e:t,g.split(" "))},Bo}var da={},uE;function sD(){if(uE)return da;uE=1,Object.defineProperty(da,"__esModule",{value:!0}),da.log=i,da.resetState=r;function e(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}var t=function o(){var a=this;e(this,o),this.register=function(c){a.openInstances.indexOf(c)===-1&&(a.openInstances.push(c),a.emit("register"))},this.deregister=function(c){var u=a.openInstances.indexOf(c);u!==-1&&(a.openInstances.splice(u,1),a.emit("deregister"))},this.subscribe=function(c){a.subscribers.push(c)},this.emit=function(c){a.subscribers.forEach(function(u){return u(c,a.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},n=new t;function i(){console.log("portalOpenInstances ----------"),console.log(n.openInstances.length),n.openInstances.forEach(function(o){return console.log(o)}),console.log("end portalOpenInstances ----------")}function r(){n=new t}return da.default=n,da}var sc={},fE;function r$(){if(fE)return sc;fE=1,Object.defineProperty(sc,"__esModule",{value:!0}),sc.resetState=a,sc.log=c;var e=sD(),t=n(e);function n(h){return h&&h.__esModule?h:{default:h}}var i=void 0,r=void 0,o=[];function a(){for(var h=[i,r],g=0;g<h.length;g++){var m=h[g];m&&m.parentNode&&m.parentNode.removeChild(m)}i=r=null,o=[]}function c(){console.log("bodyTrap ----------"),console.log(o.length);for(var h=[i,r],g=0;g<h.length;g++){var m=h[g],y=m||{};console.log(y.nodeName,y.className,y.id)}console.log("edn bodyTrap ----------")}function u(){o.length!==0&&o[o.length-1].focusContent()}function d(h,g){!i&&!r&&(i=document.createElement("div"),i.setAttribute("data-react-modal-body-trap",""),i.style.position="absolute",i.style.opacity="0",i.setAttribute("tabindex","0"),i.addEventListener("focus",u),r=i.cloneNode(),r.addEventListener("focus",u)),o=g,o.length>0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(i.parentElement&&i.parentElement.removeChild(i),r.parentElement&&r.parentElement.removeChild(r))}return t.default.subscribe(d),sc}var dE;function o$(){return dE||(dE=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(H){for(var L=1;L<arguments.length;L++){var N=arguments[L];for(var j in N)Object.prototype.hasOwnProperty.call(N,j)&&(H[j]=N[j])}return H},i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},r=(function(){function H(L,N){for(var j=0;j<N.length;j++){var V=N[j];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}return function(L,N,j){return N&&H(L.prototype,N),j&&H(L,j),L}})(),o=xs(),a=Ux(),c=D(a),u=J5(),d=M(u),h=e$(),g=D(h),m=oD(),y=M(m),b=i$(),w=M(b),_=Wx(),O=D(_),R=sD(),T=D(R);r$();function M(H){if(H&&H.__esModule)return H;var L={};if(H!=null)for(var N in H)Object.prototype.hasOwnProperty.call(H,N)&&(L[N]=H[N]);return L.default=H,L}function D(H){return H&&H.__esModule?H:{default:H}}function P(H,L){if(!(H instanceof L))throw new TypeError("Cannot call a class as a function")}function I(H,L){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:H}function z(H,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);H.prototype=Object.create(L&&L.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(H,L):H.__proto__=L)}var U={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},$=function(L){return L.code==="Tab"||L.keyCode===9},W=function(L){return L.code==="Escape"||L.keyCode===27},Y=0,B=(function(H){z(L,H);function L(N){P(this,L);var j=I(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,N));return j.setOverlayRef=function(V){j.overlay=V,j.props.overlayRef&&j.props.overlayRef(V)},j.setContentRef=function(V){j.content=V,j.props.contentRef&&j.props.contentRef(V)},j.afterClose=function(){var V=j.props,ie=V.appElement,ae=V.ariaHideApp,k=V.htmlOpenClassName,J=V.bodyOpenClassName,se=V.parentSelector,le=se&&se().ownerDocument||document;J&&w.remove(le.body,J),k&&w.remove(le.getElementsByTagName("html")[0],k),ae&&Y>0&&(Y-=1,Y===0&&y.show(ie)),j.props.shouldFocusAfterRender&&(j.props.shouldReturnFocusAfterClose?(d.returnFocus(j.props.preventScroll),d.teardownScopedFocus()):d.popWithoutFocus()),j.props.onAfterClose&&j.props.onAfterClose(),T.default.deregister(j)},j.open=function(){j.beforeOpen(),j.state.afterOpen&&j.state.beforeClose?(clearTimeout(j.closeTimer),j.setState({beforeClose:!1})):(j.props.shouldFocusAfterRender&&(d.setupScopedFocus(j.node),d.markForFocusLater()),j.setState({isOpen:!0},function(){j.openAnimationFrame=requestAnimationFrame(function(){j.setState({afterOpen:!0}),j.props.isOpen&&j.props.onAfterOpen&&j.props.onAfterOpen({overlayEl:j.overlay,contentEl:j.content})})}))},j.close=function(){j.props.closeTimeoutMS>0?j.closeWithTimeout():j.closeWithoutTimeout()},j.focusContent=function(){return j.content&&!j.contentHasFocus()&&j.content.focus({preventScroll:!0})},j.closeWithTimeout=function(){var V=Date.now()+j.props.closeTimeoutMS;j.setState({beforeClose:!0,closesAt:V},function(){j.closeTimer=setTimeout(j.closeWithoutTimeout,j.state.closesAt-Date.now())})},j.closeWithoutTimeout=function(){j.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},j.afterClose)},j.handleKeyDown=function(V){$(V)&&(0,g.default)(j.content,V),j.props.shouldCloseOnEsc&&W(V)&&(V.stopPropagation(),j.requestClose(V))},j.handleOverlayOnClick=function(V){j.shouldClose===null&&(j.shouldClose=!0),j.shouldClose&&j.props.shouldCloseOnOverlayClick&&(j.ownerHandlesClose()?j.requestClose(V):j.focusContent()),j.shouldClose=null},j.handleContentOnMouseUp=function(){j.shouldClose=!1},j.handleOverlayOnMouseDown=function(V){!j.props.shouldCloseOnOverlayClick&&V.target==j.overlay&&V.preventDefault()},j.handleContentOnClick=function(){j.shouldClose=!1},j.handleContentOnMouseDown=function(){j.shouldClose=!1},j.requestClose=function(V){return j.ownerHandlesClose()&&j.props.onRequestClose(V)},j.ownerHandlesClose=function(){return j.props.onRequestClose},j.shouldBeClosed=function(){return!j.state.isOpen&&!j.state.beforeClose},j.contentHasFocus=function(){return document.activeElement===j.content||j.content.contains(document.activeElement)},j.buildClassName=function(V,ie){var ae=(typeof ie>"u"?"undefined":i(ie))==="object"?ie:{base:U[V],afterOpen:U[V]+"--after-open",beforeClose:U[V]+"--before-close"},k=ae.base;return j.state.afterOpen&&(k=k+" "+ae.afterOpen),j.state.beforeClose&&(k=k+" "+ae.beforeClose),typeof ie=="string"&&ie?k+" "+ie:k},j.attributesFromObject=function(V,ie){return Object.keys(ie).reduce(function(ae,k){return ae[V+"-"+k]=ie[k],ae},{})},j.state={afterOpen:!1,beforeClose:!1},j.shouldClose=null,j.moveFromContentToOverlay=null,j}return r(L,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(j,V){this.props.isOpen&&!j.isOpen?this.open():!this.props.isOpen&&j.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!V.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var j=this.props,V=j.appElement,ie=j.ariaHideApp,ae=j.htmlOpenClassName,k=j.bodyOpenClassName,J=j.parentSelector,se=J&&J().ownerDocument||document;k&&w.add(se.body,k),ae&&w.add(se.getElementsByTagName("html")[0],ae),ie&&(Y+=1,y.hide(V)),T.default.register(this)}},{key:"render",value:function(){var j=this.props,V=j.id,ie=j.className,ae=j.overlayClassName,k=j.defaultStyles,J=j.children,se=ie?{}:k.content,le=ae?{}:k.overlay;if(this.shouldBeClosed())return null;var pe={ref:this.setOverlayRef,className:this.buildClassName("overlay",ae),style:n({},le,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},de=n({id:V,ref:this.setContentRef,style:n({},se,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),Ce=this.props.contentElement(de,J);return this.props.overlayElement(pe,Ce)}}]),L})(o.Component);B.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},B.propTypes={isOpen:c.default.bool.isRequired,defaultStyles:c.default.shape({content:c.default.object,overlay:c.default.object}),style:c.default.shape({content:c.default.object,overlay:c.default.object}),className:c.default.oneOfType([c.default.string,c.default.object]),overlayClassName:c.default.oneOfType([c.default.string,c.default.object]),parentSelector:c.default.func,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,ariaHideApp:c.default.bool,appElement:c.default.oneOfType([c.default.instanceOf(O.default),c.default.instanceOf(_.SafeHTMLCollection),c.default.instanceOf(_.SafeNodeList),c.default.arrayOf(c.default.instanceOf(O.default))]),onAfterOpen:c.default.func,onAfterClose:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,role:c.default.string,contentLabel:c.default.string,aria:c.default.object,data:c.default.object,children:c.default.node,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func,testId:c.default.string},t.default=B,e.exports=t.default})(od,od.exports)),od.exports}function aD(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function lD(e){function t(n){var i=this.constructor.getDerivedStateFromProps(e,n);return i??null}this.setState(t.bind(this))}function cD(e,t){try{var n=this.props,i=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,i)}finally{this.props=n,this.state=i}}aD.__suppressDeprecationWarning=!0;lD.__suppressDeprecationWarning=!0;cD.__suppressDeprecationWarning=!0;function s$(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,i=null,r=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?i="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(i="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?r="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(r="UNSAFE_componentWillUpdate"),n!==null||i!==null||r!==null){var o=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. + +`+o+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?` + `+n:"")+(i!==null?` + `+i:"")+(r!==null?` + `+r:"")+` + +The above lifecycles should be removed. Learn more about this warning here: +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=aD,t.componentWillReceiveProps=lD),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=cD;var c=t.componentDidUpdate;t.componentDidUpdate=function(d,h,g){var m=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;c.call(this,d,h,m)}}return e}const a$=Object.freeze(Object.defineProperty({__proto__:null,polyfill:s$},Symbol.toStringTag,{value:"Module"})),l$=O4(a$);var hE;function c$(){if(hE)return Gr;hE=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.bodyOpenClassName=Gr.portalClassName=void 0;var e=Object.assign||function(W){for(var Y=1;Y<arguments.length;Y++){var B=arguments[Y];for(var H in B)Object.prototype.hasOwnProperty.call(B,H)&&(W[H]=B[H])}return W},t=(function(){function W(Y,B){for(var H=0;H<B.length;H++){var L=B[H];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(Y,L.key,L)}}return function(Y,B,H){return B&&W(Y.prototype,B),H&&W(Y,H),Y}})(),n=xs(),i=_(n),r=Vx(),o=_(r),a=Ux(),c=_(a),u=o$(),d=_(u),h=oD(),g=w(h),m=Wx(),y=_(m),b=l$;function w(W){if(W&&W.__esModule)return W;var Y={};if(W!=null)for(var B in W)Object.prototype.hasOwnProperty.call(W,B)&&(Y[B]=W[B]);return Y.default=W,Y}function _(W){return W&&W.__esModule?W:{default:W}}function O(W,Y){if(!(W instanceof Y))throw new TypeError("Cannot call a class as a function")}function R(W,Y){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:W}function T(W,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);W.prototype=Object.create(Y&&Y.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(W,Y):W.__proto__=Y)}var M=Gr.portalClassName="ReactModalPortal",D=Gr.bodyOpenClassName="ReactModal__Body--open",P=m.canUseDOM&&o.default.createPortal!==void 0,I=function(Y){return document.createElement(Y)},z=function(){return P?o.default.createPortal:o.default.unstable_renderSubtreeIntoContainer};function U(W){return W()}var $=(function(W){T(Y,W);function Y(){var B,H,L,N;O(this,Y);for(var j=arguments.length,V=Array(j),ie=0;ie<j;ie++)V[ie]=arguments[ie];return N=(H=(L=R(this,(B=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(B,[this].concat(V))),L),L.removePortal=function(){!P&&o.default.unmountComponentAtNode(L.node);var ae=U(L.props.parentSelector);ae&&ae.contains(L.node)?ae.removeChild(L.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},L.portalRef=function(ae){L.portal=ae},L.renderPortal=function(ae){var k=z(),J=k(L,i.default.createElement(d.default,e({defaultStyles:Y.defaultStyles},ae)),L.node);L.portalRef(J)},H),R(L,N)}return t(Y,[{key:"componentDidMount",value:function(){if(m.canUseDOM){P||(this.node=I("div")),this.node.className=this.props.portalClassName;var H=U(this.props.parentSelector);H.appendChild(this.node),!P&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(H){var L=U(H.parentSelector),N=U(this.props.parentSelector);return{prevParent:L,nextParent:N}}},{key:"componentDidUpdate",value:function(H,L,N){if(m.canUseDOM){var j=this.props,V=j.isOpen,ie=j.portalClassName;H.portalClassName!==ie&&(this.node.className=ie);var ae=N.prevParent,k=N.nextParent;k!==ae&&(ae.removeChild(this.node),k.appendChild(this.node)),!(!H.isOpen&&!V)&&!P&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!m.canUseDOM||!this.node||!this.portal)){var H=this.portal.state,L=Date.now(),N=H.isOpen&&this.props.closeTimeoutMS&&(H.closesAt||L+this.props.closeTimeoutMS);N?(H.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,N-L)):this.removePortal()}}},{key:"render",value:function(){if(!m.canUseDOM||!P)return null;!this.node&&P&&(this.node=I("div"));var H=z();return H(i.default.createElement(d.default,e({ref:this.portalRef,defaultStyles:Y.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(H){g.setElement(H)}}]),Y})(n.Component);return $.propTypes={isOpen:c.default.bool.isRequired,style:c.default.shape({content:c.default.object,overlay:c.default.object}),portalClassName:c.default.string,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,className:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),overlayClassName:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),appElement:c.default.oneOfType([c.default.instanceOf(y.default),c.default.instanceOf(m.SafeHTMLCollection),c.default.instanceOf(m.SafeNodeList),c.default.arrayOf(c.default.instanceOf(y.default))]),onAfterOpen:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,ariaHideApp:c.default.bool,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,parentSelector:c.default.func,aria:c.default.object,data:c.default.object,role:c.default.string,contentLabel:c.default.string,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func},$.defaultProps={isOpen:!1,portalClassName:M,bodyOpenClassName:D,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(Y,B){return i.default.createElement("div",Y,B)},contentElement:function(Y,B){return i.default.createElement("div",Y,B)}},$.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,b.polyfill)($),Gr.default=$,Gr}var pE;function u$(){return pE||(pE=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=c$(),i=r(n);function r(o){return o&&o.__esModule?o:{default:o}}t.default=i.default,e.exports=t.default})(rd,rd.exports)),rd.exports}var f$=u$();const uD=Ua(f$);function or(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function gE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d$(...e){return t=>{let n=!1;const i=e.map(r=>{const o=gE(r,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let r=0;r<i.length;r++){const o=i[r];typeof o=="function"?o():gE(e[r],null)}}}}function Ss(...e){return C.useCallback(d$(...e),e)}function fD(e,t=[]){let n=[];function i(o,a){const c=C.createContext(a);c.displayName=o+"Context";const u=n.length;n=[...n,a];const d=g=>{const{scope:m,children:y,...b}=g,w=m?.[e]?.[u]||c,_=C.useMemo(()=>b,Object.values(b));return S.jsx(w.Provider,{value:_,children:y})};d.displayName=o+"Provider";function h(g,m){const y=m?.[e]?.[u]||c,b=C.useContext(y);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${g}\` must be used within \`${o}\``)}return[d,h]}const r=()=>{const o=n.map(a=>C.createContext(a));return function(c){const u=c?.[e]||o;return C.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[i,h$(r,...t)]}function h$(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const i=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(o){const a=i.reduce((c,{useScope:u,scopeName:d})=>{const g=u(o)[`__scope${d}`];return{...c,...g}},{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var Wa=Vx();const p$=Ua(Wa);function g$(e){const t=C.forwardRef((n,i)=>{let{children:r,...o}=n,a=null,c=!1;const u=[];mE(r)&&typeof ld=="function"&&(r=ld(r._payload)),C.Children.forEach(r,m=>{if(x$(m)){c=!0;const y=m;let b="child"in y.props?y.props.child:y.props.children;mE(b)&&typeof ld=="function"&&(b=ld(b._payload)),a=y$(y,b),u.push(a?.props?.children)}else u.push(m)}),a?a=C.cloneElement(a,void 0,u):!c&&C.Children.count(r)===1&&C.isValidElement(r)&&(a=r);const d=a?b$(a):void 0,h=Ss(i,d);if(!a){if(r||r===0)throw new Error(c?C$(e):_$(e));return r}const g=v$(o,a.props??{});return a.type!==C.Fragment&&(g.ref=i?h:d),C.cloneElement(a,g)});return t.displayName=`${e}.Slot`,t}var dD=Symbol.for("radix.slottable");function m$(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=dD,t}var y$=(e,t)=>{if("child"in e.props){const n=e.props.child;return C.isValidElement(n)?C.cloneElement(n,void 0,e.props.children(n.props.children)):null}return C.isValidElement(t)?t:null};function v$(e,t){const n={...t};for(const i in t){const r=e[i],o=t[i];/^on[A-Z]/.test(i)?r&&o?n[i]=(...c)=>{const u=o(...c);return r(...c),u}:r&&(n[i]=r):i==="style"?n[i]={...r,...o}:i==="className"&&(n[i]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}function b$(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function x$(e){return C.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dD}var S$=Symbol.for("react.lazy");function mE(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===S$&&"_payload"in e&&w$(e._payload)}function w$(e){return typeof e=="object"&&e!==null&&"then"in e}var _$=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,C$=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ld=Je[" use ".trim().toString()],O$=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xo=O$.reduce((e,t)=>{const n=g$(`Primitive.${t}`),i=C.forwardRef((r,o)=>{const{asChild:a,...c}=r,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(u,{...c,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function E$(e,t){e&&Wa.flushSync(()=>e.dispatchEvent(t))}function yp(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),C.useMemo(()=>((...n)=>t.current?.(...n)),[])}function R$(e,t=globalThis?.document){const n=yp(e);C.useEffect(()=>{const i=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[n,t])}var T$="DismissableLayer",wb="dismissableLayer.update",M$="dismissableLayer.pointerDownOutside",A$="dismissableLayer.focusOutside",yE,hD=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),pD=C.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:i=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:c,onDismiss:u,...d}=e,h=C.useContext(hD),[g,m]=C.useState(null),y=g?.ownerDocument??globalThis?.document,[,b]=C.useState({}),w=Ss(t,U=>m(U)),_=Array.from(h.layers),[O]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),R=_.indexOf(O),T=g?_.indexOf(g):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,D=T>=R,P=C.useRef(!1),I=j$(U=>{const $=U.target;if(!($ instanceof Node))return;const W=[...h.branches].some(Y=>Y.contains($));!D||W||(o?.(U),c?.(U),U.defaultPrevented||u?.())},{ownerDocument:y,deferPointerDownOutside:i,isDeferredPointerDownOutsideRef:P,dismissableSurfaces:h.dismissableSurfaces}),z=L$(U=>{if(i&&P.current)return;const $=U.target;[...h.branches].some(Y=>Y.contains($))||(a?.(U),c?.(U),U.defaultPrevented||u?.())},y);return R$(U=>{T===h.layers.size-1&&(r?.(U),!U.defaultPrevented&&u&&(U.preventDefault(),u()))},y),C.useEffect(()=>{if(g)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(yE=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),vE(),()=>{n&&(h.layersWithOutsidePointerEventsDisabled.delete(g),h.layersWithOutsidePointerEventsDisabled.size===0&&(y.body.style.pointerEvents=yE))}},[g,y,n,h]),C.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),vE())},[g,h]),C.useEffect(()=>{const U=()=>b({});return document.addEventListener(wb,U),()=>document.removeEventListener(wb,U)},[]),S.jsx(xo.div,{...d,ref:w,style:{pointerEvents:M?D?"auto":"none":void 0,...e.style},onFocusCapture:or(e.onFocusCapture,z.onFocusCapture),onBlurCapture:or(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:or(e.onPointerDownCapture,I.onPointerDownCapture)})});pD.displayName=T$;var D$="DismissableLayerBranch",P$=C.forwardRef((e,t)=>{const n=C.useContext(hD),i=C.useRef(null),r=Ss(t,i);return C.useEffect(()=>{const o=i.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),S.jsx(xo.div,{...e,ref:r})});P$.displayName=D$;function j$(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:o}=t,a=yp(e),c=C.useRef(!1),u=C.useRef(!1),d=C.useRef(new Map),h=C.useRef(()=>{});return C.useEffect(()=>{function g(){u.current=!1,r.current=!1,d.current.clear()}function m(){return Array.from(d.current.values()).some(Boolean)}function y(R){if(!u.current)return;const T=R.target;T instanceof Node&&[...o].some(D=>D.contains(T))||d.current.set(R.type,!0),R.type==="click"&&window.setTimeout(()=>{u.current&&h.current()},0)}function b(R){u.current&&d.current.set(R.type,!1)}const w=R=>{if(R.target&&!c.current){let T=function(){n.removeEventListener("click",h.current);const D=m();g(),D||gD(M$,a,M,{discrete:!0})};const M={originalEvent:R};u.current=!0,r.current=i&&R.button===0,d.current.clear(),!i||R.button!==0?T():(n.removeEventListener("click",h.current),h.current=T,n.addEventListener("click",h.current,{once:!0}))}else n.removeEventListener("click",h.current),g();c.current=!1},_=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const R of _)n.addEventListener(R,y,!0),n.addEventListener(R,b);const O=window.setTimeout(()=>{n.addEventListener("pointerdown",w)},0);return()=>{window.clearTimeout(O),n.removeEventListener("pointerdown",w),n.removeEventListener("click",h.current);for(const R of _)n.removeEventListener(R,y,!0),n.removeEventListener(R,b)}},[n,a,i,r,o]),{onPointerDownCapture:()=>c.current=!0}}function L$(e,t=globalThis?.document){const n=yp(e),i=C.useRef(!1);return C.useEffect(()=>{const r=o=>{o.target&&!i.current&&gD(A$,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function vE(){const e=new CustomEvent(wb);document.dispatchEvent(e)}function gD(e,t,n,{discrete:i}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),i?E$(r,o):r.dispatchEvent(o)}var dr=globalThis?.document?C.useLayoutEffect:()=>{},N$=Je[" useId ".trim().toString()]||(()=>{}),k$=0;function I$(e){const[t,n]=C.useState(N$());return dr(()=>{n(i=>i??String(k$++))},[e]),t?`radix-${t}`:""}const z$=["top","right","bottom","left"],co=Math.min,Cn=Math.max,vh=Math.round,cd=Math.floor,ji=e=>({x:e,y:e}),$$={left:"right",right:"left",bottom:"top",top:"bottom"};function _b(e,t,n){return Cn(e,co(t,n))}function pr(e,t){return typeof e=="function"?e(t):e}function gr(e){return e.split("-")[0]}function Ga(e){return e.split("-")[1]}function Gx(e){return e==="x"?"y":"x"}function qx(e){return e==="y"?"height":"width"}function Di(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Yx(e){return Gx(Di(e))}function F$(e,t,n){n===void 0&&(n=!1);const i=Ga(e),r=Yx(e),o=qx(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=bh(a)),[a,bh(a)]}function B$(e){const t=bh(e);return[Cb(e),t,Cb(t)]}function Cb(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const bE=["left","right"],xE=["right","left"],H$=["top","bottom"],V$=["bottom","top"];function U$(e,t,n){switch(e){case"top":case"bottom":return n?t?xE:bE:t?bE:xE;case"left":case"right":return t?H$:V$;default:return[]}}function W$(e,t,n,i){const r=Ga(e);let o=U$(gr(e),n==="start",i);return r&&(o=o.map(a=>a+"-"+r),t&&(o=o.concat(o.map(Cb)))),o}function bh(e){const t=gr(e);return $$[t]+e.slice(t.length)}function G$(e){return{top:0,right:0,bottom:0,left:0,...e}}function mD(e){return typeof e!="number"?G$(e):{top:e,right:e,bottom:e,left:e}}function xh(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function SE(e,t,n){let{reference:i,floating:r}=e;const o=Di(t),a=Yx(t),c=qx(a),u=gr(t),d=o==="y",h=i.x+i.width/2-r.width/2,g=i.y+i.height/2-r.height/2,m=i[c]/2-r[c]/2;let y;switch(u){case"top":y={x:h,y:i.y-r.height};break;case"bottom":y={x:h,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:g};break;case"left":y={x:i.x-r.width,y:g};break;default:y={x:i.x,y:i.y}}switch(Ga(t)){case"start":y[a]-=m*(n&&d?-1:1);break;case"end":y[a]+=m*(n&&d?-1:1);break}return y}async function q$(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:o,rects:a,elements:c,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:m=!1,padding:y=0}=pr(t,e),b=mD(y),_=c[m?g==="floating"?"reference":"floating":g],O=xh(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(_)))==null||n?_:_.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:u})),R=g==="floating"?{x:i,y:r,width:a.floating.width,height:a.floating.height}:a.reference,T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),M=await(o.isElement==null?void 0:o.isElement(T))?await(o.getScale==null?void 0:o.getScale(T))||{x:1,y:1}:{x:1,y:1},D=xh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:T,strategy:u}):R);return{top:(O.top-D.top+b.top)/M.y,bottom:(D.bottom-O.bottom+b.bottom)/M.y,left:(O.left-D.left+b.left)/M.x,right:(D.right-O.right+b.right)/M.x}}const Y$=50,K$=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:a}=n,c=a.detectOverflow?a:{...a,detectOverflow:q$},u=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:h,y:g}=SE(d,i,u),m=i,y=0;const b={};for(let w=0;w<o.length;w++){const _=o[w];if(!_)continue;const{name:O,fn:R}=_,{x:T,y:M,data:D,reset:P}=await R({x:h,y:g,initialPlacement:i,placement:m,strategy:r,middlewareData:b,rects:d,platform:c,elements:{reference:e,floating:t}});h=T??h,g=M??g,b[O]={...b[O],...D},P&&y<Y$&&(y++,typeof P=="object"&&(P.placement&&(m=P.placement),P.rects&&(d=P.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):P.rects),{x:h,y:g}=SE(d,m,u)),w=-1)}return{x:h,y:g,placement:m,strategy:r,middlewareData:b}},X$=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:o,platform:a,elements:c,middlewareData:u}=t,{element:d,padding:h=0}=pr(e,t)||{};if(d==null)return{};const g=mD(h),m={x:n,y:i},y=Yx(r),b=qx(y),w=await a.getDimensions(d),_=y==="y",O=_?"top":"left",R=_?"bottom":"right",T=_?"clientHeight":"clientWidth",M=o.reference[b]+o.reference[y]-m[y]-o.floating[b],D=m[y]-o.reference[y],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let I=P?P[T]:0;(!I||!await(a.isElement==null?void 0:a.isElement(P)))&&(I=c.floating[T]||o.floating[b]);const z=M/2-D/2,U=I/2-w[b]/2-1,$=co(g[O],U),W=co(g[R],U),Y=$,B=I-w[b]-W,H=I/2-w[b]/2+z,L=_b(Y,H,B),N=!u.arrow&&Ga(r)!=null&&H!==L&&o.reference[b]/2-(H<Y?$:W)-w[b]/2<0,j=N?H<Y?H-Y:H-B:0;return{[y]:m[y]+j,data:{[y]:L,centerOffset:H-L-j,...N&&{alignmentOffset:j}},reset:N}}}),Q$=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:o,rects:a,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,..._}=pr(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const O=gr(r),R=Di(c),T=gr(c)===c,M=await(u.isRTL==null?void 0:u.isRTL(d.floating)),D=m||(T||!w?[bh(c)]:B$(c)),P=b!=="none";!m&&P&&D.push(...W$(c,w,b,M));const I=[c,...D],z=await u.detectOverflow(t,_),U=[];let $=((i=o.flip)==null?void 0:i.overflows)||[];if(h&&U.push(z[O]),g){const H=F$(r,a,M);U.push(z[H[0]],z[H[1]])}if($=[...$,{placement:r,overflows:U}],!U.every(H=>H<=0)){var W,Y;const H=(((W=o.flip)==null?void 0:W.index)||0)+1,L=I[H];if(L&&(!(g==="alignment"?R!==Di(L):!1)||$.every(V=>Di(V.placement)===R?V.overflows[0]>0:!0)))return{data:{index:H,overflows:$},reset:{placement:L}};let N=(Y=$.filter(j=>j.overflows[0]<=0).sort((j,V)=>j.overflows[1]-V.overflows[1])[0])==null?void 0:Y.placement;if(!N)switch(y){case"bestFit":{var B;const j=(B=$.filter(V=>{if(P){const ie=Di(V.placement);return ie===R||ie==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ie=>ie>0).reduce((ie,ae)=>ie+ae,0)]).sort((V,ie)=>V[1]-ie[1])[0])==null?void 0:B[0];j&&(N=j);break}case"initialPlacement":N=c;break}if(r!==N)return{reset:{placement:N}}}return{}}}};function wE(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _E(e){return z$.some(t=>e[t]>=0)}const Z$=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:i}=t,{strategy:r="referenceHidden",...o}=pr(e,t);switch(r){case"referenceHidden":{const a=await i.detectOverflow(t,{...o,elementContext:"reference"}),c=wE(a,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:_E(c)}}}case"escaped":{const a=await i.detectOverflow(t,{...o,altBoundary:!0}),c=wE(a,n.floating);return{data:{escapedOffsets:c,escaped:_E(c)}}}default:return{}}}}},yD=new Set(["left","top"]);async function J$(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=gr(n),c=Ga(n),u=Di(n)==="y",d=yD.has(a)?-1:1,h=o&&u?-1:1,g=pr(t,e);let{mainAxis:m,crossAxis:y,alignmentAxis:b}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return c&&typeof b=="number"&&(y=c==="end"?b*-1:b),u?{x:y*h,y:m*d}:{x:m*d,y:y*h}}const eF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:o,placement:a,middlewareData:c}=t,u=await J$(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:r+u.x,y:o+u.y,data:{...u,placement:a}}}}},tF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r,platform:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:u={fn:O=>{let{x:R,y:T}=O;return{x:R,y:T}}},...d}=pr(e,t),h={x:n,y:i},g=await o.detectOverflow(t,d),m=Di(gr(r)),y=Gx(m);let b=h[y],w=h[m];if(a){const O=y==="y"?"top":"left",R=y==="y"?"bottom":"right",T=b+g[O],M=b-g[R];b=_b(T,b,M)}if(c){const O=m==="y"?"top":"left",R=m==="y"?"bottom":"right",T=w+g[O],M=w-g[R];w=_b(T,w,M)}const _=u.fn({...t,[y]:b,[m]:w});return{..._,data:{x:_.x-n,y:_.y-i,enabled:{[y]:a,[m]:c}}}}}},nF=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:o,middlewareData:a}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=pr(e,t),h={x:n,y:i},g=Di(r),m=Gx(g);let y=h[m],b=h[g];const w=pr(c,t),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){const T=m==="y"?"height":"width",M=o.reference[m]-o.floating[T]+_.mainAxis,D=o.reference[m]+o.reference[T]-_.mainAxis;y<M?y=M:y>D&&(y=D)}if(d){var O,R;const T=m==="y"?"width":"height",M=yD.has(gr(r)),D=o.reference[g]-o.floating[T]+(M&&((O=a.offset)==null?void 0:O[g])||0)+(M?0:_.crossAxis),P=o.reference[g]+o.reference[T]+(M?0:((R=a.offset)==null?void 0:R[g])||0)-(M?_.crossAxis:0);b<D?b=D:b>P&&(b=P)}return{[m]:y,[g]:b}}}},iF=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:o,platform:a,elements:c}=t,{apply:u=()=>{},...d}=pr(e,t),h=await a.detectOverflow(t,d),g=gr(r),m=Ga(r),y=Di(r)==="y",{width:b,height:w}=o.floating;let _,O;g==="top"||g==="bottom"?(_=g,O=m===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(O=g,_=m==="end"?"top":"bottom");const R=w-h.top-h.bottom,T=b-h.left-h.right,M=co(w-h[_],R),D=co(b-h[O],T),P=!t.middlewareData.shift;let I=M,z=D;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(z=T),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(I=R),P&&!m){const $=Cn(h.left,0),W=Cn(h.right,0),Y=Cn(h.top,0),B=Cn(h.bottom,0);y?z=b-2*($!==0||W!==0?$+W:Cn(h.left,h.right)):I=w-2*(Y!==0||B!==0?Y+B:Cn(h.top,h.bottom))}await u({...t,availableWidth:z,availableHeight:I});const U=await a.getDimensions(c.floating);return b!==U.width||w!==U.height?{reset:{rects:!0}}:{}}}};function vp(){return typeof window<"u"}function qa(e){return vD(e)?(e.nodeName||"").toLowerCase():"#document"}function Tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Li(e){var t;return(t=(vD(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function vD(e){return vp()?e instanceof Node||e instanceof Tn(e).Node:!1}function gi(e){return vp()?e instanceof Element||e instanceof Tn(e).Element:!1}function br(e){return vp()?e instanceof HTMLElement||e instanceof Tn(e).HTMLElement:!1}function CE(e){return!vp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Tn(e).ShadowRoot}function vu(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=mi(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&r!=="inline"&&r!=="contents"}function rF(e){return/^(table|td|th)$/.test(qa(e))}function bp(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const oF=/transform|translate|scale|rotate|perspective|filter/,sF=/paint|layout|strict|content/,Ho=e=>!!e&&e!=="none";let nv;function Kx(e){const t=gi(e)?mi(e):e;return Ho(t.transform)||Ho(t.translate)||Ho(t.scale)||Ho(t.rotate)||Ho(t.perspective)||!Xx()&&(Ho(t.backdropFilter)||Ho(t.filter))||oF.test(t.willChange||"")||sF.test(t.contain||"")}function aF(e){let t=uo(e);for(;br(t)&&!Pa(t);){if(Kx(t))return t;if(bp(t))return null;t=uo(t)}return null}function Xx(){return nv==null&&(nv=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nv}function Pa(e){return/^(html|body|#document)$/.test(qa(e))}function mi(e){return Tn(e).getComputedStyle(e)}function xp(e){return gi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function uo(e){if(qa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||CE(e)&&e.host||Li(e);return CE(t)?t.host:t}function bD(e){const t=uo(e);return Pa(t)?e.ownerDocument?e.ownerDocument.body:e.body:br(t)&&vu(t)?t:bD(t)}function qc(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=bD(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),a=Tn(r);if(o){const c=Ob(a);return t.concat(a,a.visualViewport||[],vu(r)?r:[],c&&n?qc(c):[])}else return t.concat(r,qc(r,[],n))}function Ob(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xD(e){const t=mi(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=br(e),o=r?e.offsetWidth:n,a=r?e.offsetHeight:i,c=vh(n)!==o||vh(i)!==a;return c&&(n=o,i=a),{width:n,height:i,$:c}}function Qx(e){return gi(e)?e:e.contextElement}function Oa(e){const t=Qx(e);if(!br(t))return ji(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=xD(t);let a=(o?vh(n.width):n.width)/i,c=(o?vh(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const lF=ji(0);function SD(e){const t=Tn(e);return!Xx()||!t.visualViewport?lF:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cF(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Tn(e)?!1:t}function hs(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=Qx(e);let a=ji(1);t&&(i?gi(i)&&(a=Oa(i)):a=Oa(e));const c=cF(o,n,i)?SD(o):ji(0);let u=(r.left+c.x)/a.x,d=(r.top+c.y)/a.y,h=r.width/a.x,g=r.height/a.y;if(o){const m=Tn(o),y=i&&gi(i)?Tn(i):i;let b=m,w=Ob(b);for(;w&&i&&y!==b;){const _=Oa(w),O=w.getBoundingClientRect(),R=mi(w),T=O.left+(w.clientLeft+parseFloat(R.paddingLeft))*_.x,M=O.top+(w.clientTop+parseFloat(R.paddingTop))*_.y;u*=_.x,d*=_.y,h*=_.x,g*=_.y,u+=T,d+=M,b=Tn(w),w=Ob(b)}}return xh({width:h,height:g,x:u,y:d})}function Sp(e,t){const n=xp(e).scrollLeft;return t?t.left+n:hs(Li(e)).left+n}function wD(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-Sp(e,n),r=n.top+t.scrollTop;return{x:i,y:r}}function uF(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const o=r==="fixed",a=Li(i),c=t?bp(t.floating):!1;if(i===a||c&&o)return n;let u={scrollLeft:0,scrollTop:0},d=ji(1);const h=ji(0),g=br(i);if((g||!g&&!o)&&((qa(i)!=="body"||vu(a))&&(u=xp(i)),g)){const y=hs(i);d=Oa(i),h.x=y.x+i.clientLeft,h.y=y.y+i.clientTop}const m=a&&!g&&!o?wD(a,u):ji(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+h.x+m.x,y:n.y*d.y-u.scrollTop*d.y+h.y+m.y}}function fF(e){return Array.from(e.getClientRects())}function dF(e){const t=Li(e),n=xp(e),i=e.ownerDocument.body,r=Cn(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Cn(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let a=-n.scrollLeft+Sp(e);const c=-n.scrollTop;return mi(i).direction==="rtl"&&(a+=Cn(t.clientWidth,i.clientWidth)-r),{width:r,height:o,x:a,y:c}}const OE=25;function hF(e,t){const n=Tn(e),i=Li(e),r=n.visualViewport;let o=i.clientWidth,a=i.clientHeight,c=0,u=0;if(r){o=r.width,a=r.height;const h=Xx();(!h||h&&t==="fixed")&&(c=r.offsetLeft,u=r.offsetTop)}const d=Sp(i);if(d<=0){const h=i.ownerDocument,g=h.body,m=getComputedStyle(g),y=h.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(i.clientWidth-g.clientWidth-y);b<=OE&&(o-=b)}else d<=OE&&(o+=d);return{width:o,height:a,x:c,y:u}}function pF(e,t){const n=hs(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,o=br(e)?Oa(e):ji(1),a=e.clientWidth*o.x,c=e.clientHeight*o.y,u=r*o.x,d=i*o.y;return{width:a,height:c,x:u,y:d}}function EE(e,t,n){let i;if(t==="viewport")i=hF(e,n);else if(t==="document")i=dF(Li(e));else if(gi(t))i=pF(t,n);else{const r=SD(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return xh(i)}function _D(e,t){const n=uo(e);return n===t||!gi(n)||Pa(n)?!1:mi(n).position==="fixed"||_D(n,t)}function gF(e,t){const n=t.get(e);if(n)return n;let i=qc(e,[],!1).filter(c=>gi(c)&&qa(c)!=="body"),r=null;const o=mi(e).position==="fixed";let a=o?uo(e):e;for(;gi(a)&&!Pa(a);){const c=mi(a),u=Kx(a);!u&&c.position==="fixed"&&(r=null),(o?!u&&!r:!u&&c.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||vu(a)&&!u&&_D(e,a))?i=i.filter(h=>h!==a):r=c,a=uo(a)}return t.set(e,i),i}function mF(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const a=[...n==="clippingAncestors"?bp(t)?[]:gF(t,this._c):[].concat(n),i],c=EE(t,a[0],r);let u=c.top,d=c.right,h=c.bottom,g=c.left;for(let m=1;m<a.length;m++){const y=EE(t,a[m],r);u=Cn(y.top,u),d=co(y.right,d),h=co(y.bottom,h),g=Cn(y.left,g)}return{width:d-g,height:h-u,x:g,y:u}}function yF(e){const{width:t,height:n}=xD(e);return{width:t,height:n}}function vF(e,t,n){const i=br(t),r=Li(t),o=n==="fixed",a=hs(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const u=ji(0);function d(){u.x=Sp(r)}if(i||!i&&!o)if((qa(t)!=="body"||vu(r))&&(c=xp(t)),i){const y=hs(t,!0,o,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else r&&d();o&&!i&&r&&d();const h=r&&!i&&!o?wD(r,c):ji(0),g=a.left+c.scrollLeft-u.x-h.x,m=a.top+c.scrollTop-u.y-h.y;return{x:g,y:m,width:a.width,height:a.height}}function iv(e){return mi(e).position==="static"}function RE(e,t){if(!br(e)||mi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Li(e)===n&&(n=n.ownerDocument.body),n}function CD(e,t){const n=Tn(e);if(bp(e))return n;if(!br(e)){let r=uo(e);for(;r&&!Pa(r);){if(gi(r)&&!iv(r))return r;r=uo(r)}return n}let i=RE(e,t);for(;i&&rF(i)&&iv(i);)i=RE(i,t);return i&&Pa(i)&&iv(i)&&!Kx(i)?n:i||aF(e)||n}const bF=async function(e){const t=this.getOffsetParent||CD,n=this.getDimensions,i=await n(e.floating);return{reference:vF(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function xF(e){return mi(e).direction==="rtl"}const SF={convertOffsetParentRelativeRectToViewportRelativeRect:uF,getDocumentElement:Li,getClippingRect:mF,getOffsetParent:CD,getElementRects:bF,getClientRects:fF,getDimensions:yF,getScale:Oa,isElement:gi,isRTL:xF};function OD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function wF(e,t){let n=null,i;const r=Li(e);function o(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),o();const d=e.getBoundingClientRect(),{left:h,top:g,width:m,height:y}=d;if(c||t(),!m||!y)return;const b=cd(g),w=cd(r.clientWidth-(h+m)),_=cd(r.clientHeight-(g+y)),O=cd(h),T={rootMargin:-b+"px "+-w+"px "+-_+"px "+-O+"px",threshold:Cn(0,co(1,u))||1};let M=!0;function D(P){const I=P[0].intersectionRatio;if(I!==u){if(!M)return a();I?a(!1,I):i=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!OD(d,e.getBoundingClientRect())&&a(),M=!1}try{n=new IntersectionObserver(D,{...T,root:r.ownerDocument})}catch{n=new IntersectionObserver(D,T)}n.observe(e)}return a(!0),o}function _F(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,d=Qx(e),h=r||o?[...d?qc(d):[],...t?qc(t):[]]:[];h.forEach(O=>{r&&O.addEventListener("scroll",n,{passive:!0}),o&&O.addEventListener("resize",n)});const g=d&&c?wF(d,n):null;let m=-1,y=null;a&&(y=new ResizeObserver(O=>{let[R]=O;R&&R.target===d&&y&&t&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var T;(T=y)==null||T.observe(t)})),n()}),d&&!u&&y.observe(d),t&&y.observe(t));let b,w=u?hs(e):null;u&&_();function _(){const O=hs(e);w&&!OD(w,O)&&n(),w=O,b=requestAnimationFrame(_)}return n(),()=>{var O;h.forEach(R=>{r&&R.removeEventListener("scroll",n),o&&R.removeEventListener("resize",n)}),g?.(),(O=y)==null||O.disconnect(),y=null,u&&cancelAnimationFrame(b)}}const CF=eF,OF=tF,EF=Q$,RF=iF,TF=Z$,TE=X$,MF=nF,AF=(e,t,n)=>{const i=new Map,r={platform:SF,...n},o={...r.platform,_c:i};return K$(e,t,{...r,platform:o})};var DF=typeof document<"u",PF=function(){},Qd=DF?C.useLayoutEffect:PF;function Sh(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(!Sh(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(t,r[i]))return!1;for(i=n;i--!==0;){const o=r[i];if(!(o==="_owner"&&e.$$typeof)&&!Sh(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function ED(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ME(e,t){const n=ED(e);return Math.round(t*n)/n}function rv(e){const t=C.useRef(e);return Qd(()=>{t.current=e}),t}function jF(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:a}={},transform:c=!0,whileElementsMounted:u,open:d}=e,[h,g]=C.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,y]=C.useState(i);Sh(m,i)||y(i);const[b,w]=C.useState(null),[_,O]=C.useState(null),R=C.useCallback(V=>{V!==P.current&&(P.current=V,w(V))},[]),T=C.useCallback(V=>{V!==I.current&&(I.current=V,O(V))},[]),M=o||b,D=a||_,P=C.useRef(null),I=C.useRef(null),z=C.useRef(h),U=u!=null,$=rv(u),W=rv(r),Y=rv(d),B=C.useCallback(()=>{if(!P.current||!I.current)return;const V={placement:t,strategy:n,middleware:m};W.current&&(V.platform=W.current),AF(P.current,I.current,V).then(ie=>{const ae={...ie,isPositioned:Y.current!==!1};H.current&&!Sh(z.current,ae)&&(z.current=ae,Wa.flushSync(()=>{g(ae)}))})},[m,t,n,W,Y]);Qd(()=>{d===!1&&z.current.isPositioned&&(z.current.isPositioned=!1,g(V=>({...V,isPositioned:!1})))},[d]);const H=C.useRef(!1);Qd(()=>(H.current=!0,()=>{H.current=!1}),[]),Qd(()=>{if(M&&(P.current=M),D&&(I.current=D),M&&D){if($.current)return $.current(M,D,B);B()}},[M,D,B,$,U]);const L=C.useMemo(()=>({reference:P,floating:I,setReference:R,setFloating:T}),[R,T]),N=C.useMemo(()=>({reference:M,floating:D}),[M,D]),j=C.useMemo(()=>{const V={position:n,left:0,top:0};if(!N.floating)return V;const ie=ME(N.floating,h.x),ae=ME(N.floating,h.y);return c?{...V,transform:"translate("+ie+"px, "+ae+"px)",...ED(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ie,top:ae}},[n,c,N.floating,h.x,h.y]);return C.useMemo(()=>({...h,update:B,refs:L,elements:N,floatingStyles:j}),[h,B,L,N,j])}const LF=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:i,padding:r}=typeof e=="function"?e(n):e;return i&&t(i)?i.current!=null?TE({element:i.current,padding:r}).fn(n):{}:i?TE({element:i,padding:r}).fn(n):{}}}},NF=(e,t)=>{const n=CF(e);return{name:n.name,fn:n.fn,options:[e,t]}},kF=(e,t)=>{const n=OF(e);return{name:n.name,fn:n.fn,options:[e,t]}},IF=(e,t)=>({fn:MF(e).fn,options:[e,t]}),zF=(e,t)=>{const n=EF(e);return{name:n.name,fn:n.fn,options:[e,t]}},$F=(e,t)=>{const n=RF(e);return{name:n.name,fn:n.fn,options:[e,t]}},FF=(e,t)=>{const n=TF(e);return{name:n.name,fn:n.fn,options:[e,t]}},BF=(e,t)=>{const n=LF(e);return{name:n.name,fn:n.fn,options:[e,t]}};var HF="Arrow",RD=C.forwardRef((e,t)=>{const{children:n,width:i=10,height:r=5,...o}=e;return S.jsx(xo.svg,{...o,ref:t,width:i,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});RD.displayName=HF;var VF=RD;function UF(e){const[t,n]=C.useState(void 0);return dr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const o=r[0];let a,c;if("borderBoxSize"in o){const u=o.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else n(void 0)},[e]),t}var Zx="Popper",[TD,MD]=fD(Zx),[WF,AD]=TD(Zx),DD=e=>{const{__scopePopper:t,children:n}=e,[i,r]=C.useState(null),[o,a]=C.useState(void 0);return S.jsx(WF,{scope:t,anchor:i,onAnchorChange:r,placementState:o,setPlacementState:a,children:n})};DD.displayName=Zx;var PD="PopperAnchor",jD=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:i,...r}=e,o=AD(PD,n),a=C.useRef(null),c=o.onAnchorChange,u=C.useCallback(b=>{a.current=b,b&&c(b)},[c]),d=Ss(t,u),h=C.useRef(null);C.useEffect(()=>{if(!i)return;const b=h.current;h.current=i.current,b!==h.current&&c(h.current)});const g=o.placementState&&e1(o.placementState),m=g?.[0],y=g?.[1];return i?null:S.jsx(xo.div,{"data-radix-popper-side":m,"data-radix-popper-align":y,...r,ref:d})});jD.displayName=PD;var Jx="PopperContent",[GF,qF]=TD(Jx),LD=C.forwardRef((e,t)=>{const{__scopePopper:n,side:i="bottom",sideOffset:r=0,align:o="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:h=0,sticky:g="partial",hideWhenDetached:m=!1,updatePositionStrategy:y="optimized",onPlaced:b,...w}=e,_=AD(Jx,n),[O,R]=C.useState(null),T=Ss(t,Ye=>R(Ye)),[M,D]=C.useState(null),P=UF(M),I=P?.width??0,z=P?.height??0,U=i+(o!=="center"?"-"+o:""),$=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},W=Array.isArray(d)?d:[d],Y=W.length>0,B={padding:$,boundary:W.filter(KF),altBoundary:Y},{refs:H,floatingStyles:L,placement:N,isPositioned:j,middlewareData:V}=jF({strategy:"fixed",placement:U,whileElementsMounted:(...Ye)=>_F(...Ye,{animationFrame:y==="always"}),elements:{reference:_.anchor},middleware:[NF({mainAxis:r+z,alignmentAxis:a}),u&&kF({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?IF():void 0,...B}),u&&zF({...B}),$F({...B,apply:({elements:Ye,rects:Ne,availableWidth:Bt,availableHeight:bi})=>{const{width:it,height:jn}=Ne.reference,Ln=Ye.floating.style;Ln.setProperty("--radix-popper-available-width",`${Bt}px`),Ln.setProperty("--radix-popper-available-height",`${bi}px`),Ln.setProperty("--radix-popper-anchor-width",`${it}px`),Ln.setProperty("--radix-popper-anchor-height",`${jn}px`)}}),M&&BF({element:M,padding:c}),XF({arrowWidth:I,arrowHeight:z}),m&&FF({strategy:"referenceHidden",...B,boundary:Y?B.boundary:void 0})]}),ie=_.setPlacementState;dr(()=>(ie(N),()=>{ie(void 0)}),[N,ie]);const[ae,k]=e1(N),J=yp(b);dr(()=>{j&&J?.()},[j,J]);const se=V.arrow?.x,le=V.arrow?.y,pe=V.arrow?.centerOffset!==0,[de,Ce]=C.useState();return dr(()=>{O&&Ce(window.getComputedStyle(O).zIndex)},[O]),S.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:j?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[V.transformOrigin?.x,V.transformOrigin?.y].join(" "),...V.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(GF,{scope:n,placedSide:ae,placedAlign:k,onArrowChange:D,arrowX:se,arrowY:le,shouldHideArrow:pe,children:S.jsx(xo.div,{"data-side":ae,"data-align":k,...w,ref:T,style:{...w.style,animation:j?void 0:"none"}})})})});LD.displayName=Jx;var ND="PopperArrow",YF={top:"bottom",right:"left",bottom:"top",left:"right"},kD=C.forwardRef(function(t,n){const{__scopePopper:i,...r}=t,o=qF(ND,i),a=YF[o.placedSide];return S.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:S.jsx(VF,{...r,ref:n,style:{...r.style,display:"block"}})})});kD.displayName=ND;function KF(e){return e!==null}var XF=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:i,middlewareData:r}=t,a=r.arrow?.centerOffset!==0,c=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[d,h]=e1(n),g={start:"0%",center:"50%",end:"100%"}[h],m=(r.arrow?.x??0)+c/2,y=(r.arrow?.y??0)+u/2;let b="",w="";return d==="bottom"?(b=a?g:`${m}px`,w=`${-u}px`):d==="top"?(b=a?g:`${m}px`,w=`${i.floating.height+u}px`):d==="right"?(b=`${-u}px`,w=a?g:`${y}px`):d==="left"&&(b=`${i.floating.width+u}px`,w=a?g:`${y}px`),{data:{x:b,y:w}}}});function e1(e){const[t,n="center"]=e.split("-");return[t,n]}var QF=DD,ZF=jD,JF=LD,eB=kD,tB="Portal",ID=C.forwardRef((e,t)=>{const{container:n,...i}=e,[r,o]=C.useState(!1);dr(()=>o(!0),[]);const a=n||r&&globalThis?.document?.body;return a?Wa.createPortal(S.jsx(xo.div,{...i,ref:t}),a):null});ID.displayName=tB;function nB(e,t){return C.useReducer((n,i)=>t[n][i]??n,e)}var t1=e=>{const{present:t,children:n}=e,i=iB(t),r=typeof n=="function"?n({present:i.isPresent}):C.Children.only(n),o=rB(i.ref,oB(r));return typeof n=="function"||i.isPresent?C.cloneElement(r,{ref:o}):null};t1.displayName="Presence";function iB(e){const[t,n]=C.useState(),i=C.useRef(null),r=C.useRef(e),o=C.useRef("none"),a=e?"mounted":"unmounted",[c,u]=nB(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const d=ud(i.current);o.current=c==="mounted"?d:"none"},[c]),dr(()=>{const d=i.current,h=r.current;if(h!==e){const m=o.current,y=ud(d);e?u("MOUNT"):y==="none"||d?.display==="none"?u("UNMOUNT"):u(h&&m!==y?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),dr(()=>{if(t){let d;const h=t.ownerDocument.defaultView??window,g=y=>{const w=ud(i.current).includes(CSS.escape(y.animationName));if(y.target===t&&w&&(u("ANIMATION_END"),!r.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",d=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},m=y=>{y.target===t&&(o.current=ud(i.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{h.clearTimeout(d),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:C.useCallback(d=>{i.current=d?getComputedStyle(d):null,n(d)},[])}}function AE(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function rB(...e){const t=C.useRef(e);return t.current=e,C.useCallback(n=>{const i=t.current;let r=!1;const o=i.map(a=>{const c=AE(a,n);return!r&&typeof c=="function"&&(r=!0),c});if(r)return()=>{for(let a=0;a<o.length;a++){const c=o[a];typeof c=="function"?c():AE(i[a],null)}}},[])}function ud(e){return e?.animationName||"none"}function oB(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var sB=Je[" useInsertionEffect ".trim().toString()]||dr;function aB({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){const[r,o,a]=lB({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:r;{const h=C.useRef(e!==void 0);C.useEffect(()=>{const g=h.current;g!==c&&console.warn(`${i} is changing from ${g?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),h.current=c},[c,i])}const d=C.useCallback(h=>{if(c){const g=cB(h)?h(e):h;g!==e&&a.current?.(g)}else o(h)},[c,e,o,a]);return[u,d]}function lB({defaultProp:e,onChange:t}){const[n,i]=C.useState(e),r=C.useRef(n),o=C.useRef(t);return sB(()=>{o.current=t},[t]),C.useEffect(()=>{r.current!==n&&(o.current?.(n),r.current=n)},[n,r]),[n,i,o]}function cB(e){return typeof e=="function"}var uB=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),fB="VisuallyHidden",zD=C.forwardRef((e,t)=>S.jsx(xo.span,{...e,ref:t,style:{...uB,...e.style}}));zD.displayName=fB;var dB=zD,[wp]=fD("Tooltip",[MD]),_p=MD(),$D="TooltipProvider",hB=700,Eb="tooltip.open",[pB,n1]=wp($D),FD=e=>{const{__scopeTooltip:t,delayDuration:n=hB,skipDelayDuration:i=300,disableHoverableContent:r=!1,children:o}=e,a=C.useRef(!0),c=C.useRef(!1),u=C.useRef(0);return C.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),S.jsx(pB,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:C.useCallback(()=>{i<=0||(window.clearTimeout(u.current),a.current=!1)},[i]),onClose:C.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,i))},[i]),isPointerInTransitRef:c,onPointerInTransitChange:C.useCallback(d=>{c.current=d},[]),disableHoverableContent:r,children:o})};FD.displayName=$D;var Yc="Tooltip",[gB,bu]=wp(Yc),BD=e=>{const{__scopeTooltip:t,children:n,open:i,defaultOpen:r,onOpenChange:o,disableHoverableContent:a,delayDuration:c}=e,u=n1(Yc,e.__scopeTooltip),d=_p(t),[h,g]=C.useState(null),m=I$(),y=C.useRef(0),b=a??u.disableHoverableContent,w=c??u.delayDuration,_=C.useRef(!1),[O,R]=aB({prop:i,defaultProp:r??!1,onChange:I=>{I?(u.onOpen(),document.dispatchEvent(new CustomEvent(Eb))):u.onClose(),o?.(I)},caller:Yc}),T=C.useMemo(()=>O?_.current?"delayed-open":"instant-open":"closed",[O]),M=C.useCallback(()=>{window.clearTimeout(y.current),y.current=0,_.current=!1,R(!0)},[R]),D=C.useCallback(()=>{window.clearTimeout(y.current),y.current=0,R(!1)},[R]),P=C.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{_.current=!0,R(!0),y.current=0},w)},[w,R]);return C.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),S.jsx(QF,{...d,children:S.jsx(gB,{scope:t,contentId:m,open:O,stateAttribute:T,trigger:h,onTriggerChange:g,onTriggerEnter:C.useCallback(()=>{u.isOpenDelayedRef.current?P():M()},[u.isOpenDelayedRef,P,M]),onTriggerLeave:C.useCallback(()=>{b?D():(window.clearTimeout(y.current),y.current=0)},[D,b]),onOpen:M,onClose:D,disableHoverableContent:b,children:n})})};BD.displayName=Yc;var Rb="TooltipTrigger",HD=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=bu(Rb,n),o=n1(Rb,n),a=_p(n),c=C.useRef(null),u=Ss(t,c,r.onTriggerChange),d=C.useRef(!1),h=C.useRef(!1),g=C.useCallback(()=>d.current=!1,[]);return C.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),S.jsx(ZF,{asChild:!0,...a,children:S.jsx(xo.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...i,ref:u,onPointerMove:or(e.onPointerMove,m=>{m.pointerType!=="touch"&&!h.current&&!o.isPointerInTransitRef.current&&(r.onTriggerEnter(),h.current=!0)}),onPointerLeave:or(e.onPointerLeave,()=>{r.onTriggerLeave(),h.current=!1}),onPointerDown:or(e.onPointerDown,()=>{r.open&&r.onClose(),d.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:or(e.onFocus,()=>{d.current||r.onOpen()}),onBlur:or(e.onBlur,r.onClose),onClick:or(e.onClick,r.onClose)})})});HD.displayName=Rb;var i1="TooltipPortal",[mB,yB]=wp(i1,{forceMount:void 0}),VD=e=>{const{__scopeTooltip:t,forceMount:n,children:i,container:r}=e,o=bu(i1,t);return S.jsx(mB,{scope:t,forceMount:n,children:S.jsx(t1,{present:n||o.open,children:S.jsx(ID,{asChild:!0,container:r,children:i})})})};VD.displayName=i1;var ja="TooltipContent",UD=C.forwardRef((e,t)=>{const n=yB(ja,e.__scopeTooltip),{forceMount:i=n.forceMount,side:r="top",...o}=e,a=bu(ja,e.__scopeTooltip);return S.jsx(t1,{present:i||a.open,children:a.disableHoverableContent?S.jsx(WD,{side:r,...o,ref:t}):S.jsx(vB,{side:r,...o,ref:t})})}),vB=C.forwardRef((e,t)=>{const n=bu(ja,e.__scopeTooltip),i=n1(ja,e.__scopeTooltip),r=C.useRef(null),o=Ss(t,r),[a,c]=C.useState(null),{trigger:u,onClose:d}=n,h=r.current,{onPointerInTransitChange:g}=i,m=C.useCallback(()=>{c(null),g(!1)},[g]),y=C.useCallback((b,w)=>{const _=b.currentTarget,O={x:b.clientX,y:b.clientY},R=_B(O,_.getBoundingClientRect()),T=CB(O,R),M=OB(w.getBoundingClientRect()),D=RB([...T,...M]);c(D),g(!0)},[g]);return C.useEffect(()=>()=>m(),[m]),C.useEffect(()=>{if(u&&h){const b=_=>y(_,h),w=_=>y(_,u);return u.addEventListener("pointerleave",b),h.addEventListener("pointerleave",w),()=>{u.removeEventListener("pointerleave",b),h.removeEventListener("pointerleave",w)}}},[u,h,y,m]),C.useEffect(()=>{if(a){const b=w=>{const _=w.target,O={x:w.clientX,y:w.clientY},R=u?.contains(_)||h?.contains(_),T=!EB(O,a);R?m():T&&(m(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[u,h,a,d,m]),S.jsx(WD,{...e,ref:o})}),[bB,xB]=wp(Yc,{isInside:!1}),SB=m$("TooltipContent"),WD=C.forwardRef((e,t)=>{const{__scopeTooltip:n,children:i,"aria-label":r,onEscapeKeyDown:o,onPointerDownOutside:a,...c}=e,u=bu(ja,n),d=_p(n),{onClose:h}=u;return C.useEffect(()=>(document.addEventListener(Eb,h),()=>document.removeEventListener(Eb,h)),[h]),C.useEffect(()=>{if(u.trigger){const g=m=>{m.target instanceof Node&&m.target.contains(u.trigger)&&h()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[u.trigger,h]),S.jsx(pD,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:g=>g.preventDefault(),onDismiss:h,children:S.jsxs(JF,{"data-state":u.stateAttribute,...d,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[S.jsx(SB,{children:i}),S.jsx(bB,{scope:n,isInside:!0,children:S.jsx(dB,{id:u.contentId,role:"tooltip",children:r||i})})]})})});UD.displayName=ja;var GD="TooltipArrow",wB=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=_p(n);return xB(GD,n).isInside?null:S.jsx(eB,{...r,...i,ref:t})});wB.displayName=GD;function _B(e,t){const n=Math.abs(t.top-e.y),i=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,i,r,o)){case o:return"left";case r:return"right";case n:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function CB(e,t,n=5){const i=[];switch(t){case"top":i.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":i.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":i.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":i.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return i}function OB(e){const{top:t,right:n,bottom:i,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:i},{x:r,y:i}]}function EB(e,t){const{x:n,y:i}=e;let r=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const c=t[o],u=t[a],d=c.x,h=c.y,g=u.x,m=u.y;h>i!=m>i&&n<(g-d)*(i-h)/(m-h)+d&&(r=!r)}return r}function RB(e){const t=e.slice();return t.sort((n,i)=>n.x<i.x?-1:n.x>i.x?1:n.y<i.y?-1:n.y>i.y?1:0),TB(t)}function TB(e){if(e.length<=1)return e.slice();const t=[];for(let i=0;i<e.length;i++){const r=e[i];for(;t.length>=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let i=e.length-1;i>=0;i--){const r=e[i];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var MB=FD,AB=BD,DB=HD,PB=VD,jB=UD,Ya=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},LB=class extends Ya{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},r1=new LB,NB={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},kB=class{#e=NB;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},es=new kB;function IB(e){setTimeout(e,0)}var zB=typeof window>"u"||"Deno"in globalThis;function Gt(){}function $B(e,t){return typeof e=="function"?e(t):e}function Tb(e){return typeof e=="number"&&e>=0&&e!==1/0}function qD(e,t){return Math.max(e+(t||0)-Date.now(),0)}function no(e,t){return typeof e=="function"?e(t):e}function _n(e,t){return typeof e=="function"?e(t):e}function DE(e,t){const{type:n="all",exact:i,fetchStatus:r,predicate:o,queryKey:a,stale:c}=e;if(a){if(i){if(t.queryHash!==o1(a,t.options))return!1}else if(!Kc(t.queryKey,a))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||r&&r!==t.state.fetchStatus||o&&!o(t))}function PE(e,t){const{exact:n,status:i,predicate:r,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(ps(t.options.mutationKey)!==ps(o))return!1}else if(!Kc(t.options.mutationKey,o))return!1}return!(i&&t.state.status!==i||r&&!r(t))}function o1(e,t){return(t?.queryKeyHashFn||ps)(e)}function ps(e){return JSON.stringify(e,(t,n)=>Mb(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Kc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Kc(e[n],t[n])):!1}var FB=Object.prototype.hasOwnProperty;function YD(e,t,n=0){if(e===t)return e;if(n>500)return t;const i=jE(e)&&jE(t);if(!i&&!(Mb(e)&&Mb(t)))return t;const o=(i?e:Object.keys(e)).length,a=i?t:Object.keys(t),c=a.length,u=i?new Array(c):{};let d=0;for(let h=0;h<c;h++){const g=i?h:a[h],m=e[g],y=t[g];if(m===y){u[g]=m,(i?h<o:FB.call(e,g))&&d++;continue}if(m===null||y===null||typeof m!="object"||typeof y!="object"){u[g]=y;continue}const b=YD(m,y,n+1);u[g]=b,b===m&&d++}return o===c&&d===o?e:u}function wh(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function jE(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Mb(e){if(!LE(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!LE(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function LE(e){return Object.prototype.toString.call(e)==="[object Object]"}function BB(e){return new Promise(t=>{es.setTimeout(t,e)})}function Ab(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?YD(e,t):t}function HB(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function VB(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var s1=Symbol();function KD(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===s1?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function a1(e,t){return typeof e=="function"?e(...t):!!e}function UB(e,t,n){let i=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var Xc=(()=>{let e=()=>zB;return{isServer(){return e()},setIsServer(t){e=t}}})();function Db(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),e(r)},n.reject=r=>{i({status:"rejected",reason:r}),t(r)},n}var WB=IB;function GB(){let e=[],t=0,n=c=>{c()},i=c=>{c()},r=WB;const o=c=>{t?e.push(c):r(()=>{n(c)})},a=()=>{const c=e;e=[],c.length&&r(()=>{i(()=>{c.forEach(u=>{n(u)})})})};return{batch:c=>{let u;t++;try{u=c()}finally{t--,t||a()}return u},batchCalls:c=>(...u)=>{o(()=>{c(...u)})},schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{i=c},setScheduler:c=>{r=c}}}var St=GB(),qB=class extends Ya{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},_h=new qB;function YB(e){return Math.min(1e3*2**e,3e4)}function XD(e){return(e??"online")==="online"?_h.isOnline():!0}var Pb=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function QD(e){let t=!1,n=0,i;const r=Db(),o=()=>r.status!=="pending",a=w=>{if(!o()){const _=new Pb(w);m(_),e.onCancel?.(_)}},c=()=>{t=!0},u=()=>{t=!1},d=()=>r1.isFocused()&&(e.networkMode==="always"||_h.isOnline())&&e.canRun(),h=()=>XD(e.networkMode)&&e.canRun(),g=w=>{o()||(i?.(),r.resolve(w))},m=w=>{o()||(i?.(),r.reject(w))},y=()=>new Promise(w=>{i=_=>{(o()||d())&&w(_)},e.onPause?.()}).then(()=>{i=void 0,o()||e.onContinue?.()}),b=()=>{if(o())return;let w;const _=n===0?e.initialPromise:void 0;try{w=_??e.fn()}catch(O){w=Promise.reject(O)}Promise.resolve(w).then(g).catch(O=>{if(o())return;const R=e.retry??(Xc.isServer()?0:3),T=e.retryDelay??YB,M=typeof T=="function"?T(n,O):T,D=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,O);if(t||!D){m(O);return}n++,e.onFail?.(n,O),BB(M).then(()=>d()?void 0:y()).then(()=>{t?m(O):b()})})};return{promise:r,status:()=>r.status,cancel:a,continue:()=>(i?.(),r),cancelRetry:c,continueRetry:u,canStart:h,start:()=>(h()?b():y().then(b),r)}}var ZD=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Tb(this.gcTime)&&(this.#e=es.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(es.clearTimeout(this.#e),this.#e=void 0)}};function KB(e){return{onFetch:(t,n)=>{const i=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},u=0;const d=async()=>{let h=!1;const g=b=>{UB(b,()=>t.signal,()=>h=!0)},m=KD(t.options,t.fetchOptions),y=async(b,w,_)=>{if(h)return Promise.reject(t.signal.reason);if(w==null&&b.pages.length)return Promise.resolve(b);const R=(()=>{const P={client:t.client,queryKey:t.queryKey,pageParam:w,direction:_?"backward":"forward",meta:t.options.meta};return g(P),P})(),T=await m(R),{maxPages:M}=t.options,D=_?VB:HB;return{pages:D(b.pages,T,M),pageParams:D(b.pageParams,w,M)}};if(r&&o.length){const b=r==="backward",w=b?XB:NE,_={pages:o,pageParams:a},O=w(i,_);c=await y(_,O,b)}else{const b=e??o.length;do{const w=u===0?a[0]??i.initialPageParam:NE(i,c);if(u>0&&w==null)break;c=await y(c,w),u++}while(u<b)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function NE(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function XB(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var QB=class extends ZD{#e;#t;#n;#i;#o;#r;#a;#s;constructor(e){super(),this.#s=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#o=e.client,this.#i=this.#o.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=IE(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=IE(this.options);t.data!==void 0&&(this.setState(kE(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#i.remove(this)}setData(e,t){const n=Ab(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Gt).catch(Gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>_n(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===s1||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>no(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!qD(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#s||this.#u()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const u=this.observers.find(d=>d.options.queryFn);u&&this.setOptions(u.options)}const n=new AbortController,i=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},r=()=>{const u=KD(this.options,t),h=(()=>{const g={client:this.#o,queryKey:this.queryKey,meta:this.meta};return i(g),g})();return this.#s=!1,this.options.persister?this.options.persister(u,h,this):u(h)},a=(()=>{const u={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:r};return i(u),u})();(this.#e==="infinite"?KB(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:"fetch",meta:a.fetchOptions?.meta}),this.#r=QD({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:u=>{u instanceof Pb&&u.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(u,d)=>{this.#l({type:"failed",failureCount:u,error:d})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const u=await this.#r.start();if(u===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(u),this.#i.config.onSuccess?.(u,this),this.#i.config.onSettled?.(u,this.state.error,this),u}catch(u){if(u instanceof Pb){if(u.silent)return this.#r.promise;if(u.revert){if(this.state.data===void 0)throw u;return this.state.data}}throw this.#l({type:"error",error:u}),this.#i.config.onError?.(u,this),this.#i.config.onSettled?.(this.state.data,u,this),u}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...JD(n.data,this.options),fetchMeta:e.meta??null};case"success":const i={...n,...kE(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?i:void 0,i;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),St.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:e})})}};function JD(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:XD(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function kE(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function IE(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ZB=class extends Ya{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#a=Db(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#i=void 0;#o;#r;#a;#s;#u;#l;#p;#f;#d;#c;#g=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),zE(this.#t,this.options)?this.#h():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return jb(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return jb(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#S(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _n(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#t.setOptions(this.options),t._defaulted&&!wh(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&$E(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),i&&(this.#t!==n||_n(this.options.enabled,this.#t)!==_n(t.enabled,this.#t)||no(this.options.staleTime,this.#t)!==no(t.staleTime,this.#t))&&this.#m();const r=this.#y();i&&(this.#t!==n||_n(this.options.enabled,this.#t)!==_n(t.enabled,this.#t)||r!==this.#c)&&this.#v(r)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return e6(this,n)&&(this.#i=n,this.#r=this.options,this.#o=this.#t.state),n}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(n,i)=>(this.trackProp(i),t?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,i))})}trackProp(e){this.#g.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#h(e){this.#w();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Gt)),t}#m(){this.#x();const e=no(this.options.staleTime,this.#t);if(Xc.isServer()||this.#i.isStale||!Tb(e))return;const n=qD(this.#i.dataUpdatedAt,e)+1;this.#f=es.setTimeout(()=>{this.#i.isStale||this.updateResult()},n)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#S(),this.#c=e,!(Xc.isServer()||_n(this.options.enabled,this.#t)===!1||!Tb(this.#c)||this.#c===0)&&(this.#d=es.setInterval(()=>{(this.options.refetchIntervalInBackground||r1.isFocused())&&this.#h()},this.#c))}#b(){this.#m(),this.#v(this.#y())}#x(){this.#f!==void 0&&(es.clearTimeout(this.#f),this.#f=void 0)}#S(){this.#d!==void 0&&(es.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,i=this.options,r=this.#i,o=this.#o,a=this.#r,u=e!==n?e.state:this.#n,{state:d}=e;let h={...d},g=!1,m;if(t._optimisticResults){const z=this.hasListeners(),U=!z&&zE(e,t),$=z&&$E(e,n,t,i);(U||$)&&(h={...h,...JD(d.data,e.options)}),t._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:y,errorUpdatedAt:b,status:w}=h;m=h.data;let _=!1;if(t.placeholderData!==void 0&&m===void 0&&w==="pending"){let z;r?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(z=r.data,_=!0):z=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,z!==void 0&&(w="success",m=Ab(r?.data,z,t),g=!0)}if(t.select&&m!==void 0&&!_)if(r&&m===o?.data&&t.select===this.#u)m=this.#l;else try{this.#u=t.select,m=t.select(m),m=Ab(r?.data,m,t),this.#l=m,this.#s=null}catch(z){this.#s=z}this.#s&&(y=this.#s,m=this.#l,b=Date.now(),w="error");const O=h.fetchStatus==="fetching",R=w==="pending",T=w==="error",M=R&&O,D=m!==void 0,I={status:w,fetchStatus:h.fetchStatus,isPending:R,isSuccess:w==="success",isError:T,isInitialLoading:M,isLoading:M,data:m,dataUpdatedAt:h.dataUpdatedAt,error:y,errorUpdatedAt:b,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:O,isRefetching:O&&!R,isLoadingError:T&&!D,isPaused:h.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:T&&D,isStale:l1(e,t),refetch:this.refetch,promise:this.#a,isEnabled:_n(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const z=I.data!==void 0,U=I.status==="error"&&!z,$=B=>{U?B.reject(I.error):z&&B.resolve(I.data)},W=()=>{const B=this.#a=I.promise=Db();$(B)},Y=this.#a;switch(Y.status){case"pending":e.queryHash===n.queryHash&&$(Y);break;case"fulfilled":(U||I.data!==Y.value)&&W();break;case"rejected":(!U||I.error!==Y.reason)&&W();break}}return I}updateResult(){const e=this.#i,t=this.createResult(this.#t,this.options);if(this.#o=this.#t.state,this.#r=this.options,this.#o.data!==void 0&&(this.#p=this.#t),wh(t,e))return;this.#i=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,r=typeof i=="function"?i():i;if(r==="all"||!r&&!this.#g.size)return!0;const o=new Set(r??this.#g);return this.options.throwOnError&&o.add("error"),Object.keys(this.#i).some(a=>{const c=a;return this.#i[c]!==e[c]&&o.has(c)})};this.#_({listeners:n()})}#w(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#_(e){St.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function JB(e,t){return _n(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&_n(t.retryOnMount,e)===!1)}function zE(e,t){return JB(e,t)||e.state.data!==void 0&&jb(e,t,t.refetchOnMount)}function jb(e,t,n){if(_n(t.enabled,e)!==!1&&no(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&l1(e,t)}return!1}function $E(e,t,n,i){return(e!==t||_n(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&l1(e,n)}function l1(e,t){return _n(t.enabled,e)!==!1&&e.isStaleByTime(no(t.staleTime,e))}function e6(e,t){return!wh(e.getCurrentResult(),t)}var t6=class extends ZD{#e;#t;#n;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||eP(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#o({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=QD({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,a)=>{this.#o({type:"failed",failureCount:o,error:a})},onPause:()=>{this.#o({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",r=!this.#i.canStart();try{if(i)t();else{this.#o({type:"pending",variables:e,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const a=await this.options.onMutate?.(e,n);a!==this.state.context&&this.#o({type:"pending",context:a,variables:e,isPaused:r})}const o=await this.#i.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#o({type:"success",data:o}),o}catch(o){try{await this.#n.config.onError?.(o,e,this.state.context,this,n)}catch(a){Promise.reject(a)}try{await this.options.onError?.(o,e,this.state.context,n)}catch(a){Promise.reject(a)}try{await this.#n.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,n)}catch(a){Promise.reject(a)}throw this.#o({type:"error",error:o}),o}finally{this.#n.runNext(this)}}#o(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),St.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function eP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var n6=class extends Ya{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const i=new t6({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){this.#e.add(e);const t=fd(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=fd(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const i=n.indexOf(e);i!==-1&&n.splice(i,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=fd(e);if(typeof t=="string"){const i=this.#t.get(t)?.find(r=>r.state.status==="pending");return!i||i===e}else return!0}runNext(e){const t=fd(e);return typeof t=="string"?this.#t.get(t)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>PE(t,n))}findAll(e={}){return this.getAll().filter(t=>PE(e,t))}notify(e){St.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return St.batch(()=>Promise.all(e.map(t=>t.continue().catch(Gt))))}};function fd(e){return e.options.scope?.id}var i6=class extends Ya{#e;#t=void 0;#n;#i;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),wh(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&ps(n.mutationKey)!==ps(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#o(),this.#r(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#o(),this.#r()}mutate(t,n){return this.#i=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#o(){const t=this.#n?.state??eP();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#r(t){St.batch(()=>{if(this.#i&&this.hasListeners()){const n=this.#t.variables,i=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#i.onSuccess?.(t.data,n,i,r)}catch(o){Promise.reject(o)}try{this.#i.onSettled?.(t.data,null,n,i,r)}catch(o){Promise.reject(o)}}else if(t?.type==="error"){try{this.#i.onError?.(t.error,n,i,r)}catch(o){Promise.reject(o)}try{this.#i.onSettled?.(void 0,t.error,n,i,r)}catch(o){Promise.reject(o)}}}this.listeners.forEach(n=>{n(this.#t)})})}},tP=class extends Ya{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const i=t.queryKey,r=t.queryHash??o1(i,t);let o=this.get(r);return o||(o=new QB({client:e,queryKey:i,queryHash:r,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){St.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>DE(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>DE(e,n)):t}notify(e){St.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){St.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},r6=class{#e;#t;#n;#i;#o;#r;#a;#s;constructor(e={}){this.#e=e.queryCache||new tP,this.#t=e.mutationCache||new n6,this.#n=e.defaultOptions||{},this.#i=new Map,this.#o=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#a=r1.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=_h.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(no(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(i.queryHash)?.state.data,a=$B(t,o);if(a!==void 0)return this.#e.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return St.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;St.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return St.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=St.batch(()=>this.#e.findAll(e).map(r=>r.cancel(n)));return Promise.all(i).then(Gt).catch(Gt)}invalidateQueries(e,t={}){return St.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=St.batch(()=>this.#e.findAll(e).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let o=r.fetch(void 0,n);return n.throwOnError||(o=o.catch(Gt)),r.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(i).then(Gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(no(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gt).catch(Gt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gt).catch(Gt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return _h.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(ps(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],n={};return t.forEach(i=>{Kc(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set(ps(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(i=>{Kc(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=o1(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===s1&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},nP=C.createContext(void 0),xu=e=>{const t=C.useContext(nP);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},o6=({client:e,children:t})=>(C.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(nP.Provider,{value:e,children:t})),iP=C.createContext(!1),s6=()=>C.useContext(iP);iP.Provider;function a6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var l6=C.createContext(a6()),c6=()=>C.useContext(l6),u6=(e,t,n)=>{const i=n?.state.error&&typeof e.throwOnError=="function"?a1(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||i)&&(t.isReset()||(e.retryOnMount=!1))},f6=e=>{C.useEffect(()=>{e.clearReset()},[e])},d6=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(r&&e.data===void 0||a1(n,[e.error,i])),h6=(e,t)=>t.state.data===void 0,p6=e=>{if(e.suspense){const n=r=>r==="static"?r:Math.max(r??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...r)=>n(i(...r)):n(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},g6=(e,t)=>e.isLoading&&e.isFetching&&!t,m6=(e,t)=>e?.suspense&&t.isPending,FE=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function y6(e,t,n){const i=s6(),r=c6(),o=xu(),a=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const c=o.getQueryCache().get(a.queryHash),u=e.subscribed!==!1;a._optimisticResults=i?"isRestoring":u?"optimistic":void 0,p6(a),u6(a,r,c),f6(r);const d=!o.getQueryCache().get(a.queryHash),[h]=C.useState(()=>new t(o,a)),g=h.getOptimisticResult(a),m=!i&&u;if(C.useSyncExternalStore(C.useCallback(y=>{const b=m?h.subscribe(St.batchCalls(y)):Gt;return h.updateResult(),b},[h,m]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),C.useEffect(()=>{h.setOptions(a)},[a,h]),m6(a,g))throw FE(a,h,r);if(d6({result:g,errorResetBoundary:r,throwOnError:a.throwOnError,query:c,suspense:a.suspense}))throw g.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(a,g),a.experimental_prefetchInRender&&!Xc.isServer()&&g6(g,i)&&(d?FE(a,h,r):c?.promise)?.catch(Gt).finally(()=>{h.updateResult()}),a.notifyOnChangeProps?g:h.trackResult(g)}function Ka(e,t){return y6({...e,enabled:!0,suspense:!0,throwOnError:h6,placeholderData:void 0},ZB)}function c1(e,t){const n=xu(),[i]=C.useState(()=>new i6(n,e));C.useEffect(()=>{i.setOptions(e)},[i,e]);const r=C.useSyncExternalStore(C.useCallback(a=>i.subscribe(St.batchCalls(a)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),o=C.useCallback((a,c)=>{i.mutate(a,c).catch(Gt)},[i]);if(r.error&&a1(i.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:o,mutateAsync:r.mutate}}const Lb=0,Nb={[Lb]:{message:"Browser not supported!",detail:'This browser does not support "fetch", please choose another one.'},default:{message:`出错了! + 请尝试清理缓存和Cookie后重试`}};function v6(e){const{code:t}=e;return typeof t=="number"?Nb[t]:Nb.default}const b6="_root_16avz_1",x6="_yacd_16avz_14",S6="_link_16avz_23",ov={root:b6,yacd:x6,link:S6};function w6({width:e=24,height:t=24}={}){return S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:S.jsx("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})})}function rP(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=rP(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Oe(){for(var e,t,n=0,i="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=rP(e))&&(i&&(i+=" "),i+=t);return i}const _6="_path_r8pm3_1",C6={path:_6};function Cp({width:e=320,height:t=320,animate:n=!1,c0:i="#316eb5",c1:r="#f19500",line:o="#cccccc"}){const a=Oe({[C6.path]:n});return S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.2",viewBox:"0 0 512 512",width:e,height:t,children:[S.jsx("path",{id:"Layer",className:a,fill:i,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m280.8 182.4l119-108.3c1.9-1.7 4.3-2.7 6.8-2.4l39.5 4.1c2.1 0.3 3.9 2.2 3.9 4.4v251.1c0 2-1.5 3.9-3.5 4.4l-41.9 9c-0.5 0.3-1.2 0.3-1.9 0.3h-18.8c-2.4 0-4.4-2-4.4-4.4v-132.9c0-7.5-9-11.7-14.8-6.3l-59 53.4c-2.2 2.2-5.4 2.9-8.5 1.9-27.1-8-56.3-8-83.4 0-2.9 1-6.1 0.3-8.5-1.9l-59-53.4c-5.6-5.4-14.6-1.2-14.6 6.3v132.9c0 2.4-2.2 4.4-4.7 4.4h-18.7c-0.7 0-1.2 0-2-0.3l-41.6-9c-2-0.5-3.5-2.4-3.5-4.4v-251.1c0-2.2 1.8-4.1 3.9-4.4l39.5-4.1c2.5-0.3 4.9 0.7 6.9 2.4l115.7 105.3c2 1.7 4.6 2.5 7.1 2.2 15.3-2.2 31.4-1.9 46.5 0.8z"}),S.jsx("path",{id:"Layer",className:a,fill:i,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m269.4 361.8l-7.1 13.4c-2.4 4.2-8.5 4.2-11 0l-7-13.4c-2.5-4.1 0.7-9.3 5.3-9h14.4c4.9 0 7.8 4.9 5.4 9z"}),S.jsx("path",{id:"Layer",className:a,fill:r,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m160.7 362.5c3.6 0 6.8 3.2 6.8 6.9 0 3.6-3.2 6.5-6.8 6.5h-94.6c-3.6 0-6.8-2.9-6.8-6.5 0-3.7 3.2-6.9 6.8-6.9z"}),S.jsx("path",{id:"Layer",className:a,fill:r,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m158.7 394.7c3.4-1 7.1 1 8.3 4.4 1 3.4-1 7.3-4.4 8.3l-92.8 31.7c-3.4 1.2-7.3-0.7-8.3-4.2-1.2-3.6 0.7-7.3 4.4-8.5z"}),S.jsx("path",{id:"Layer",className:a,fill:r,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m446.1 426.4c3.4 1.2 5.3 4.9 4.3 8.5-1.2 3.5-4.8 5.4-8.2 4.2l-93.1-31.7c-3.5-1-5.4-4.9-4.2-8.3 1-3.4 4.9-5.4 8.3-4.4z"}),S.jsx("path",{id:"Layer",className:a,fill:r,stroke:o,strokeLinecap:"round",strokeWidth:"4",d:"m445.8 362.5c3.7 0 6.6 3.2 6.6 6.9 0 3.6-2.9 6.5-6.6 6.5h-94.8c-3.6 0-6.6-2.9-6.6-6.5 0-3.7 3-6.9 6.6-6.9z"})]})}const O6="https://github.com/metacubex/yacd";function E6({message:e,detail:t}){return S.jsxs("div",{className:ov.root,children:[S.jsx("div",{className:ov.yacd,children:S.jsx(Cp,{width:150,height:150})}),e?S.jsx("h1",{children:e}):null,t?S.jsx("p",{children:t}):null,S.jsx("p",{children:S.jsxs("a",{className:ov.link,href:O6,children:[S.jsx(w6,{width:16,height:16}),"metacubex/yacd"]})})]})}let R6=class extends C.Component{state={error:null};static getDerivedStateFromError(t){return{error:t}}render(){if(this.state.error){const{message:t,detail:n}=v6(this.state.error);return S.jsx(E6,{message:t,detail:n})}else return this.props.children}};var oP=Symbol.for("immer-nothing"),BE=Symbol.for("immer-draftable"),Kt=Symbol.for("immer-state");function si(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var On=Object,La=On.getPrototypeOf,Ch="constructor",Op="prototype",kb="configurable",Oh="enumerable",Zd="writable",Qc="value",fo=e=>!!e&&!!e[Kt];function mr(e){return e?sP(e)||Rp(e)||!!e[BE]||!!e[Ch]?.[BE]||Tp(e)||Mp(e):!1}var T6=On[Op][Ch].toString(),HE=new WeakMap;function sP(e){if(!e||!u1(e))return!1;const t=La(e);if(t===null||t===On[Op])return!0;const n=On.hasOwnProperty.call(t,Ch)&&t[Ch];if(n===Object)return!0;if(!va(n))return!1;let i=HE.get(n);return i===void 0&&(i=Function.toString.call(n),HE.set(n,i)),i===T6}function Ep(e,t,n=!0){Su(e)===0?(n?Reflect.ownKeys(e):On.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((i,r)=>t(r,i,e))}function Su(e){const t=e[Kt];return t?t.type_:Rp(e)?1:Tp(e)?2:Mp(e)?3:0}var VE=(e,t,n=Su(e))=>n===2?e.has(t):On[Op].hasOwnProperty.call(e,t),Ib=(e,t,n=Su(e))=>n===2?e.get(t):e[t],Eh=(e,t,n,i=Su(e))=>{i===2?e.set(t,n):i===3?e.add(n):e[t]=n};function M6(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Rp=Array.isArray,Tp=e=>e instanceof Map,Mp=e=>e instanceof Set,u1=e=>typeof e=="object",va=e=>typeof e=="function",sv=e=>typeof e=="boolean";function A6(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var sr=e=>e.copy_||e.base_,f1=e=>e.modified_?e.copy_:e.base_;function zb(e,t){if(Tp(e))return new Map(e);if(Mp(e))return new Set(e);if(Rp(e))return Array[Op].slice.call(e);const n=sP(e);if(t===!0||t==="class_only"&&!n){const i=On.getOwnPropertyDescriptors(e);delete i[Kt];let r=Reflect.ownKeys(i);for(let o=0;o<r.length;o++){const a=r[o],c=i[a];c[Zd]===!1&&(c[Zd]=!0,c[kb]=!0),(c.get||c.set)&&(i[a]={[kb]:!0,[Zd]:!0,[Oh]:c[Oh],[Qc]:e[a]})}return On.create(La(e),i)}else{const i=La(e);if(i!==null&&n)return{...e};const r=On.create(i);return On.assign(r,e)}}function d1(e,t=!1){return Ap(e)||fo(e)||!mr(e)||(Su(e)>1&&On.defineProperties(e,{set:dd,add:dd,clear:dd,delete:dd}),On.freeze(e),t&&Ep(e,(n,i)=>{d1(i,!0)},!1)),e}function D6(){si(2)}var dd={[Qc]:D6};function Ap(e){return e===null||!u1(e)?!0:On.isFrozen(e)}var Rh="MapSet",$b="Patches",UE="ArrayMethods",aP={};function gs(e){const t=aP[e];return t||si(0,e),t}var WE=e=>!!aP[e],Zc,lP=()=>Zc,P6=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:WE(Rh)?gs(Rh):void 0,arrayMethodsPlugin_:WE(UE)?gs(UE):void 0});function GE(e,t){t&&(e.patchPlugin_=gs($b),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Fb(e){Bb(e),e.drafts_.forEach(j6),e.drafts_=null}function Bb(e){e===Zc&&(Zc=e.parent_)}var qE=e=>Zc=P6(Zc,e);function j6(e){const t=e[Kt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function YE(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[Kt].modified_&&(Fb(t),si(4)),mr(e)&&(e=KE(t,e));const{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Kt].base_,e,t)}else e=KE(t,n);return L6(t,e,!0),Fb(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==oP?e:void 0}function KE(e,t){if(Ap(t))return t;const n=t[Kt];if(!n)return Th(t,e.handledSet_,e);if(!Dp(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:i}=n;if(i)for(;i.length>0;)i.pop()(e);fP(n,e)}return n.copy_}function L6(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&d1(t,n)}function cP(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Dp=(e,t)=>e.scope_===t,N6=[];function uP(e,t,n,i){const r=sr(e),o=e.type_;if(i!==void 0&&Ib(r,i,o)===t){Eh(r,i,n,o);return}if(!e.draftLocations_){const c=e.draftLocations_=new Map;Ep(r,(u,d)=>{if(fo(d)){const h=c.get(d)||[];h.push(u),c.set(d,h)}})}const a=e.draftLocations_.get(t)??N6;for(const c of a)Eh(r,c,n,o)}function k6(e,t,n){e.callbacks_.push(function(r){const o=t;if(!o||!Dp(o,r))return;r.mapSetPlugin_?.fixSetContents(o);const a=f1(o);uP(e,o.draft_??o,a,n),fP(o,r)})}function fP(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:i}=t;if(i){const r=i.getPath(e);r&&i.generatePatches_(e,r,t)}cP(e)}}function I6(e,t,n){const{scope_:i}=e;if(fo(n)){const r=n[Kt];Dp(r,i)&&r.callbacks_.push(function(){Jd(e);const a=f1(r);uP(e,n,a,t)})}else mr(n)&&e.callbacks_.push(function(){const o=sr(e);e.type_===3?o.has(n)&&Th(n,i.handledSet_,i):Ib(o,t,e.type_)===n&&i.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Th(Ib(e.copy_,t,e.type_),i.handledSet_,i)})}function Th(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||fo(e)||t.has(e)||!mr(e)||Ap(e)||(t.add(e),Ep(e,(i,r)=>{if(fo(r)){const o=r[Kt];if(Dp(o,n)){const a=f1(o);Eh(e,i,a,e.type_),cP(o)}}else mr(r)&&Th(r,t,n)})),e}function z6(e,t){const n=Rp(e),i={type_:n?1:0,scope_:t?t.scope_:lP(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let r=i,o=Mh;n&&(r=[i],o=Jc);const{revoke:a,proxy:c}=Proxy.revocable(r,o);return i.draft_=c,i.revoke_=a,[c,i]}var Mh={get(e,t){if(t===Kt)return e;let n=e.scope_.arrayMethodsPlugin_;const i=e.type_===1&&typeof t=="string";if(i&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const r=sr(e);if(!VE(r,t,e.type_))return $6(e,r,t);const o=r[t];if(e.finalized_||!mr(o)||i&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&A6(t))return o;if(o===av(e.base_,t)){Jd(e);const a=e.type_===1?+t:t,c=Vb(e.scope_,o,e,a);return e.copy_[a]=c}return o},has(e,t){return t in sr(e)},ownKeys(e){return Reflect.ownKeys(sr(e))},set(e,t,n){const i=dP(sr(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const r=av(sr(e),t),o=r?.[Kt];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(M6(n,r)&&(n!==void 0||VE(e.base_,t,e.type_)))return!0;Jd(e),Hb(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),I6(e,t,n)),!0},deleteProperty(e,t){return Jd(e),av(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Hb(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=sr(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{[Zd]:!0,[kb]:e.type_!==1||t!=="length",[Oh]:i[Oh],[Qc]:n[t]}},defineProperty(){si(11)},getPrototypeOf(e){return La(e.base_)},setPrototypeOf(){si(12)}},Jc={};for(let e in Mh){let t=Mh[e];Jc[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}Jc.deleteProperty=function(e,t){return Jc.set.call(this,e,t,void 0)};Jc.set=function(e,t,n){return Mh.set.call(this,e[0],t,n,e[0])};function av(e,t){const n=e[Kt];return(n?sr(n):e)[t]}function $6(e,t,n){const i=dP(t,n);return i?Qc in i?i[Qc]:i.get?.call(e.draft_):void 0}function dP(e,t){if(!(t in e))return;let n=La(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=La(n)}}function Hb(e){e.modified_||(e.modified_=!0,e.parent_&&Hb(e.parent_))}function Jd(e){e.copy_||(e.assigned_=new Map,e.copy_=zb(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var F6=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,i)=>{if(va(t)&&!va(n)){const o=n;n=t;const a=this;return function(u=o,...d){return a.produce(u,h=>n.call(this,h,...d))}}va(n)||si(6),i!==void 0&&!va(i)&&si(7);let r;if(mr(t)){const o=qE(this),a=Vb(o,t,void 0);let c=!0;try{r=n(a),c=!1}finally{c?Fb(o):Bb(o)}return GE(o,i),YE(r,o)}else if(!t||!u1(t)){if(r=n(t),r===void 0&&(r=t),r===oP&&(r=void 0),this.autoFreeze_&&d1(r,!0),i){const o=[],a=[];gs($b).generateReplacementPatches_(t,r,{patches_:o,inversePatches_:a}),i(o,a)}return r}else si(1,t)},this.produceWithPatches=(t,n)=>{if(va(t))return(a,...c)=>this.produceWithPatches(a,u=>t(u,...c));let i,r;return[this.produce(t,n,(a,c)=>{i=a,r=c}),i,r]},sv(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),sv(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),sv(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){mr(e)||si(8),fo(e)&&(e=B6(e));const t=qE(this),n=Vb(t,e,void 0);return n[Kt].isManual_=!0,Bb(t),n}finishDraft(e,t){const n=e&&e[Kt];(!n||!n.isManual_)&&si(9);const{scope_:i}=n;return GE(i,t),YE(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(r.path.length===0&&r.op==="replace"){e=r.value;break}}n>-1&&(t=t.slice(n+1));const i=gs($b).applyPatches_;return fo(e)?i(e,t):this.produce(e,r=>i(r,t))}};function Vb(e,t,n,i){const[r,o]=Tp(t)?gs(Rh).proxyMap_(t,n):Mp(t)?gs(Rh).proxySet_(t,n):z6(t,n);return(n?.scope_??lP()).drafts_.push(r),o.callbacks_=n?.callbacks_??[],o.key_=i,n&&i!==void 0?k6(n,o,i):o.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(o);const{patchPlugin_:d}=u;o.modified_&&d&&d.generatePatches_(o,[],u)}),r}function B6(e){return fo(e)||si(10,e),hP(e)}function hP(e){if(!mr(e)||Ap(e))return e;const t=e[Kt];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=zb(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=zb(e,!0);return Ep(n,(r,o)=>{Eh(n,r,hP(o))},i),t&&(t.finalized_=!1),n}var Ub=new F6,H6=Ub.produce,V6=Ub.setAutoFreeze.bind(Ub);V6(!1);const{createContext:h1,memo:U6,useMemo:W6,useRef:G6,useEffect:q6,useCallback:XE,useContext:Wb,useState:Y6}=q,pP=h1(null),gP=h1(null),mP=h1(null);function Xa(){return Wb(mP)}function K6({initialState:e,actions:t={},children:n}){const i=G6(e),[r,o]=Y6(e),a=XE(()=>i.current,[]);q6(()=>{},[a]);const c=XE((d,h)=>{if(typeof d=="function")return d(c,a);const g=H6(a(),h);g!==i.current&&(i.current=g,o(g))},[a]),u=W6(()=>yP(t,c),[t,c]);return S.jsx(pP.Provider,{value:r,children:S.jsx(gP.Provider,{value:c,children:S.jsx(mP.Provider,{value:u,children:n})})})}function cn(e){return t=>{const n=U6(t);function i(r){const o=Wb(pP),a=Wb(gP),c=e(o,r),u={dispatch:a,...r,...c};return S.jsx(n,{...u})}return i}}function X6(e,t){return function(...n){return t(e(...n))}}function yP(e,t){const n={};for(const i in e){const r=e[i];typeof r=="function"?n[i]=X6(r,t):typeof r=="object"&&(n[i]=yP(r,t))}return n}const Q6=new tP,Z6=new r6({queryCache:Q6}),Pp="https://www.gstatic.com/generate_204",J6=5e3,vP="yacd.metacubex.one";function eH(){try{const e=localStorage.getItem(vP);return e?JSON.parse(e):void 0}catch{return}}function ws(e){try{const t=JSON.stringify(e);localStorage.setItem(vP,t)}catch{}}function tH(e,t){let n;return(...i)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...i)},t)}}function bP(e){return e.replace(/\/$/,"")}function ac(e,t){let n=String(e);for(;n.length<t;)n="0"+n;return n}const nH={"Content-Type":"application/json"};function iH({secret:e}){const t={...nH};return e&&(t.Authorization=`Bearer ${e}`),t}function xP(e,t,n){const i="?"+t.toString(),r=new URL(e);return r.protocol==="https:"?r.protocol="wss:":r.protocol="ws:",`${bP(r.href)}${n}${i}`}function qe({baseURL:e,secret:t}){const n=iH({secret:t});return{url:e,init:{headers:n}}}function p1(e,t){const{baseURL:n,secret:i}=e,r=new URLSearchParams({token:i});return xP(n,r,t)}function rH(e,t){const{baseURL:n,secret:i,logLevel:r}=e,o=new URLSearchParams({token:i,level:r});return xP(n,o,t)}const g1="/configs",oH="/cache/fakeip/flush",sH="/restart",aH="/upgrade",lH="/upgrade/geo",cH="/upgrade/ui";async function SP(e,t){const{url:n,init:i}=qe(e);return await fetch(n+g1,{...i,signal:t})}function uH(e){return"socks-port"in e&&(e["socket-port"]=e["socks-port"]),e}async function fH(e,t){const{url:n,init:i}=qe(e),r=JSON.stringify(uH(t));return await fetch(n+g1,{...i,body:r,method:"PATCH"})}async function dH(e){const{url:t,init:n}=qe(e);return await fetch(t+g1+"?force=true",{...n,body:'{"path": "", "payload": ""}',method:"PUT"})}async function hH(e){const{url:t,init:n}=qe(e);return await fetch(t+sH,{...n,body:'{"path": "", "payload": ""}',method:"POST"})}async function pH(e){const{url:t,init:n}=qe(e);return await fetch(t+aH,{...n,body:'{"path": "", "payload": ""}',method:"POST"})}async function gH(e){const{url:t,init:n}=qe(e);return await fetch(t+lH,{...n,body:'{"path": "", "payload": ""}',method:"POST"})}async function mH(e){const{url:t,init:n}=qe(e);return await fetch(t+cH,{...n,body:'{"path": "", "payload": ""}',method:"POST"})}async function yH(e){const{url:t,init:n}=qe(e);return await fetch(t+oH,{...n,method:"POST"})}const wP="/traffic",vH=new TextDecoder("utf-8"),lc=150,eu={labels:Array(lc).fill(0).map((e,t)=>Date.now()-(lc-t)*1e3),up:Array(lc).fill(null),down:Array(lc).fill(null),size:lc,subscribers:[],appendData(e){this.up.shift(),this.down.shift(),this.labels.shift();const t=Date.now();this.up.push(e.up),this.down.push(e.down),this.labels.push(t),this.subscribers.forEach(n=>n(e))},subscribe(e){return this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}}};let ba=!1,hd="";function Gb(e){eu.appendData(JSON.parse(e))}function _P(e){return e.read().then(({done:t,value:n})=>{const i=vH.decode(n,{stream:!t});hd+=i;const r=hd.split(` +`),o=r[r.length-1];for(let a=0;a<r.length-1;a++)Gb(r[a]);if(t){Gb(o),hd="",console.log("GET /traffic streaming done"),ba=!1;return}else hd=o;return _P(e)})}let pd;function CP(e){if(ba||pd===1)return eu;pd=1;const t=p1(e,wP),n=new WebSocket(t);return n.addEventListener("error",function(i){pd=3}),n.addEventListener("close",function(i){pd=3,bH(e)}),n.addEventListener("message",function(i){Gb(i.data)}),eu}function bH(e){if(ba)return eu;ba=!0;const{url:t,init:n}=qe(e);return fetch(t+wP,n).then(i=>{if(i.ok){const r=i.body.getReader();_P(r)}else ba=!1},i=>{console.log("fetch /traffic error",i),ba=!1}),eu}function qb(e){return t=>{t(`openModal:${e}`,n=>{n.modals[e]=!0})}}function xH(e){return t=>{t(`closeModal:${e}`,n=>{n.modals[e]=!1})}}const SH={apiConfig:!1},wH=e=>e.configs.configs,QE=e=>e.configs.haveFetchedConfig,_H=e=>e.configs.configs["log-level"],CH=2e3;function xr(e){return async(t,n)=>{let i;const r=QE(n()),o=new AbortController,a=r?null:setTimeout(()=>o.abort(),CH);try{i=await SP(e,r?void 0:o.signal)}catch{t(qb("apiConfig"));return}finally{a!==null&&clearTimeout(a)}if(!i.ok){console.log("Error fetch configs",i.statusText),t(qb("apiConfig"));return}const c=await i.json();t("store/configs#fetchConfigs",d=>{d.configs.configs=c}),QE(n())?CP(e):t(OH())}}function OH(){return e=>{e("store/configs#markHaveFetchedConfig",t=>{t.configs.haveFetchedConfig=!0})}}function eh(e,t){return async n=>{fH(e,t).then(i=>{i.ok===!1&&console.log("Error update configs",i.statusText)},i=>{throw console.log("Error update configs",i),i}).then(()=>{n(xr(e))}),n("storeConfigsOptimisticUpdateConfigs",i=>{i.configs.configs={...i.configs.configs,...t}})}}function EH(e){return async t=>{dH(e).then(n=>{n.ok===!1&&console.log("Error reload config file",n.statusText)},n=>{throw console.log("Error reload config file",n),n}).then(()=>{t(xr(e))})}}function RH(e){return async t=>{hH(e).then(n=>{n.ok===!1&&console.log("Error restart core",n.statusText)},n=>{throw console.log("Error restart core",n),n}).then(()=>{t(xr(e))})}}function TH(e){return async t=>{pH(e).then(n=>{n.ok===!1&&console.log("Error upgrade core",n.statusText)},n=>{throw console.log("Error upgrade core",n),n}).then(()=>{t(xr(e))})}}function MH(e){return async t=>{gH(e).then(n=>{n.ok===!1&&console.log("Error upgrade geo",n.statusText)},n=>{throw console.log("Error upgrade geo",n),n}).then(()=>{t(xr(e))})}}function AH(e){return async t=>{mH(e).then(n=>{n.ok===!1&&console.log("Error upgrade ui",n.statusText)},n=>{throw console.log("Error upgrade ui",n),n}).then(()=>{t(xr(e))})}}function DH(e){return async t=>{yH(e).then(n=>{n.ok===!1&&console.log("Error flush FakeIP pool",n.statusText)},n=>{throw console.log("Error flush FakeIP pool",n),n}).then(()=>{t(xr(e))})}}const PH={configs:{port:7890,"socks-port":7891,"mixed-port":0,"redir-port":0,"tproxy-port":0,"mitm-port":0,"allow-lan":!1,mode:"rule","log-level":"uninit",sniffing:!1,tun:{enable:!1,device:"",stack:"","dns-hijack":[],"auto-route":!1}},haveFetchedConfig:!1},Ni=e=>{const t=e.app.selectedClashAPIConfigIndex;return e.app.clashAPIConfigs[t]},OP=e=>e.app.selectedClashAPIConfigIndex,m1=e=>e.app.clashAPIConfigs,y1=e=>e.app.theme,EP=e=>e.app.selectedChartStyleIndex,jp=e=>e.app.latencyTestUrl,Lp=e=>e.app.latencyTestTimeout,Np=e=>e.app.latencyTestExpectedStatus,RP=e=>e.app.preferBackendLatencyTestUrl,v1=e=>e.app.providerHealthcheckTimeout,jH=e=>e.app.collapsibleIsOpen,LH=e=>e.app.proxySortBy,NH=e=>e.app.hideUnavailableProxies,TP=e=>e.app.autoCloseOldConns,kH=e=>e.app.logStreamingPaused,IH=e=>e.app.proxiesLayout,zH=e=>e.app.proxyGroupByProvider,$H=tH(ws,600);function b1(e,{baseURL:t,secret:n}){const i=m1(e());for(let r=0;r<i.length;r++){const o=i[r];if(o.baseURL===t&&o.secret===n)return r}}function FH({baseURL:e,secret:t}){return async(n,i)=>{if(b1(i,{baseURL:e,secret:t})!==void 0)return;const o={baseURL:e,secret:t,addedAt:Date.now()};n("addClashAPIConfig",a=>{a.app.clashAPIConfigs.push(o)}),ws(i().app)}}function MP({baseURL:e,secret:t}){return async(n,i)=>{const r=b1(i,{baseURL:e,secret:t});r!==void 0&&(n("removeClashAPIConfig",o=>{o.app.clashAPIConfigs.splice(r,1)}),ws(i().app))}}function AP({baseURL:e,secret:t}){return async(n,i)=>{const r=b1(i,{baseURL:e,secret:t});if(r===void 0)return;OP(i())!==r&&n("selectClashAPIConfig",a=>{a.app.selectedClashAPIConfigIndex=r}),ws(i().app);try{window.location.reload()}catch{}}}const lv=document.querySelector("html");function DP(e="light"){e==="auto"?lv.setAttribute("data-theme","auto"):e==="dark"?lv.setAttribute("data-theme","dark"):lv.setAttribute("data-theme","light")}function BH(e="auto"){return(t,n)=>{y1(n())!==e&&(DP(e),t("storeSwitchTheme",r=>{r.app.theme=e}),ws(n().app))}}function HH(e){return(t,n)=>{t("appSelectChartStyleIndex",i=>{i.app.selectedChartStyleIndex=Number(e)}),ws(n().app)}}function ZE(e,t){return(n,i)=>{n("appUpdateAppConfig",r=>{r.app[e]=t}),ws(i().app)}}function VH(e,t,n){return(i,r)=>{i("updateCollapsibleIsOpen",o=>{o.app.collapsibleIsOpen[`${e}:${t}`]=n}),$H(r().app)}}const UH={baseURL:document.getElementById("app")?.getAttribute("data-base-url")??"http://127.0.0.1:9090",secret:"",addedAt:0},WH={selectedClashAPIConfigIndex:0,clashAPIConfigs:[UH],latencyTestUrl:Pp,latencyTestTimeout:5e3,latencyTestExpectedStatus:"",preferBackendLatencyTestUrl:!0,providerHealthcheckTimeout:J6,selectedChartStyleIndex:0,theme:"auto",collapsibleIsOpen:{},proxySortBy:"Natural",hideUnavailableProxies:!1,autoCloseOldConns:!0,logStreamingPaused:!1,proxiesLayout:"single",proxyGroupByProvider:!1};function GH(){const{search:e}=window.location,t={};if(typeof e!="string"||e==="")return t;const n=e.replace(/^\?/,"").split("&");for(let i=0;i<n.length;i++){const[r,o]=n[i].split("=");t[r]=decodeURIComponent(o)}return t}function qH(){let e=eH();e={...WH,...e};const t=GH(),n=e.clashAPIConfigs[e.selectedClashAPIConfigIndex];if(n){const i=new URL(n.baseURL);t.hostname&&(t.hostname.indexOf("http")===0?i.href=decodeURIComponent(t.hostname):i.hostname=t.hostname),t.port&&(i.port=t.port),n.baseURL=bP(i.href),t.secret&&(n.secret=t.secret)}return(t.theme==="dark"||t.theme==="light")&&(e.theme=t.theme),t.title&&(document.title=decodeURIComponent(t.title)),DP(e.theme),e}function YH(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function KH(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function XH(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var JE=e=>Array.isArray(e)?e:[e];function QH(e){const t=Array.isArray(e[0])?e[0]:e;return XH(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ZH(e,t){const n=[],{length:i}=e;for(let r=0;r<i;r++)n.push(e[r].apply(null,t));return n}var JH=class{constructor(e){this.value=e}deref(){return this.value}},e8=typeof WeakRef<"u"?WeakRef:JH,t8=0,eR=1;function gd(){return{s:t8,v:void 0,o:null,p:null}}function PP(e,t={}){let n=gd();const{resultEqualityCheck:i}=t;let r,o=0;function a(){let c=n;const{length:u}=arguments;for(let g=0,m=u;g<m;g++){const y=arguments[g];if(typeof y=="function"||typeof y=="object"&&y!==null){let b=c.o;b===null&&(c.o=b=new WeakMap);const w=b.get(y);w===void 0?(c=gd(),b.set(y,c)):c=w}else{let b=c.p;b===null&&(c.p=b=new Map);const w=b.get(y);w===void 0?(c=gd(),b.set(y,c)):c=w}}const d=c;let h;if(c.s===eR)h=c.v;else if(h=e.apply(null,arguments),o++,i){const g=r?.deref?.()??r;g!=null&&i(g,h)&&(h=g,o!==0&&o--),r=typeof h=="object"&&h!==null||typeof h=="function"?new e8(h):h}return d.s=eR,d.v=h,h}return a.clearCache=()=>{n=gd(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function n8(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...r)=>{let o=0,a=0,c,u={},d=r.pop();typeof d=="object"&&(u=d,d=r.pop()),YH(d,`createSelector expects an output function after the inputs, but received: [${typeof d}]`);const h={...n,...u},{memoize:g,memoizeOptions:m=[],argsMemoize:y=PP,argsMemoizeOptions:b=[]}=h,w=JE(m),_=JE(b),O=QH(r),R=g(function(){return o++,d.apply(null,arguments)},...w),T=y(function(){a++;const D=ZH(O,arguments);return c=R.apply(null,D),c},..._);return Object.assign(T,{resultFunc:d,memoizedResultFunc:R,dependencies:O,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>c,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:g,argsMemoize:y})};return Object.assign(i,{withTypes:()=>i}),i}var x1=n8(PP),i8=Object.assign((e,t=x1)=>{KH(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(o=>e[o]);return t(i,(...o)=>o.reduce((a,c,u)=>(a[n[u]]=c,a),{}))},{withTypes:()=>i8});const Yb=300,jP=e=>e.logs.logs,LP=e=>e.logs.tail,NP=e=>e.logs.searchText,r8=x1(jP,LP,NP,(e,t,n)=>{const i=[];if(e.length===Yb)for(let r=t+1;r<Yb;r++)i.push(e[r]);for(let r=0;r<=t;r++)i.push(e[r]);return n===""?i:i.filter(r=>r.payload.toLowerCase().indexOf(n)>=0)});function o8(e){return t=>{t("logsUpdateSearchText",n=>{n.logs.searchText=e.toLowerCase()})}}function s8(){return e=>{e("logsClearLogs",t=>{t.logs.logs=[],t.logs.tail=-1})}}function a8(e){return(t,n)=>{const i=n(),r=jP(i),o=LP(i),a=o>=Yb-1?0:o+1;r[a]=e,t("logsAppendLog",c=>{c.logs.tail=a})}}const l8={searchText:"",logs:[],tail:-1},cr={BASE_URL:"./",DEV:!1,MODE:"production",PROD:!0,SSR:!1};function kP(e){return"init"in e}function Kb(e){return typeof e.write=="function"}function c8(e){return!!e.onMount}function tR(e){return"v"in e||"e"in e}function Ah(e){if("e"in e)throw e.e;if((cr?"production":void 0)!=="production"&&!("v"in e))throw new Error("[Bug] atom state is not initialized");return e.v}function Dh(e){return typeof e?.then=="function"}function u8(e){if(!(e instanceof Error))return!1;const t=e.name,n=e.message.toLowerCase();return(t==="RangeError"||t==="InternalError")&&(n.includes("call stack")||n.includes("too much recursion")||n.includes("stack overflow"))}function IP(e,t,n){if(!n.p.has(e)){n.p.add(e);const i=()=>n.p.delete(e);t.then(i,i)}}function zP(e,t,n){const i=n.get(e),r=i?.t,o=t.p;if(!r?.size)return o;if(!o.size)return r;const a=new Set(r);for(const c of o)a.add(c);return a}function f8(e){return!!e.INTERNAL_onInit}const d8=(e,t,n,...i)=>n.read(...i),h8=(e,t,n,...i)=>n.write(...i),p8=(e,t,n)=>n.INTERNAL_onInit(t),g8=(e,t,n,i)=>{var r;return(r=n.onMount)==null?void 0:r.call(n,i)},m8=(e,t,n)=>{var i;const r=e[0];let o=r.get(n);if(!o){const a=e[6],c=e[9];o={d:new Map,p:new Set,n:0},r.set(n,o),(i=a.i)==null||i.call(a,n),f8(n)&&c(e,t,n)}return o},y8=(e,t)=>{var n;const i=e[1],r=e[3],o=e[4],a=e[5],c=e[6],u=e[13];if(!c.f&&!r.size&&!o.size&&!a.size)return;const d=[],h=g=>{try{g()}catch(m){d.push(m)}};do{c.f&&h(c.f);const g=new Set;for(const m of r){const y=(n=i.get(m))==null?void 0:n.l;if(y)for(const b of y)g.add(b)}r.clear();for(const m of a)g.add(m);a.clear();for(const m of o)g.add(m);o.clear();for(const m of g)h(m);r.size&&u(e,t)}while(r.size||a.size||o.size);if(d.length)throw new AggregateError(d)},v8=(e,t)=>{const n=e[1],i=e[2],r=e[3],o=e[11],a=e[14],c=e[17];if(!r.size)return;const u=[],d=[],h=new WeakSet,g=new WeakSet,m=[],y=[];for(const b of r)m.push(b),y.push(o(e,t,b));for(;m.length;){const b=m.length-1,w=m[b],_=y[b];if(g.has(w)){m.pop(),y.pop();continue}if(h.has(w)){if(i.get(w)===_.n)u.push(w),d.push(_);else if((cr?"production":void 0)!=="production"&&i.has(w))throw new Error("[Bug] invalidated atom exists");g.add(w),m.pop(),y.pop();continue}h.add(w);for(const O of zP(w,_,n))h.has(O)||(m.push(O),y.push(o(e,t,O)))}for(let b=u.length-1;b>=0;--b){const w=u[b],_=d[b];let O=!1;for(const R of _.d.keys())if(R!==w&&r.has(R)){O=!0;break}O&&(i.set(w,_.n),a(e,t,w),c(e,t,w)),i.delete(w)}},Xb=new WeakSet,b8=(e,t,n)=>{var i,r;const o=e[1],a=e[2],c=e[3],u=e[6],d=e[7],h=e[11],g=e[12],m=e[13],y=e[14],b=e[16],w=e[17],_=e[20],O=e[26],R=e[28],T=h(e,t,n),M=R[0];if(tR(T)){if(o.has(n)&&a.get(n)!==T.n||T.m===M)return T.m=M,T;let L=!1;for(const[N,j]of T.d)if(y(e,t,N).n!==j){L=!0;break}if(!L)return T.m=M,T}let D=!0;const P=new Set(T.d.keys()),I=()=>{for(const L of P)T.d.delete(L)},z=()=>{if(o.has(n)){const L=!c.size;w(e,t,n),L&&(m(e,t),g(e,t))}},U=L=>{var N;if(L===n){const V=h(e,t,L);if(!tR(V))if(kP(L))_(e,t,L,L.init);else throw new Error("no atom init");return Ah(V)}const j=y(e,t,L);try{return Ah(j)}finally{P.delete(L),T.d.set(L,j.n),Dh(T.v)&&IP(n,T.v,j),o.has(n)&&((N=o.get(L))==null||N.t.add(n)),D||z()}};let $,W;const Y={get signal(){return $||($=new AbortController),$.signal},get setSelf(){return(cr?"production":void 0)!=="production"&&console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),(cr?"production":void 0)!=="production"&&!Kb(n)&&console.warn("setSelf function cannot be used with read-only atom"),!W&&Kb(n)&&(W=(...L)=>{if((cr?"production":void 0)!=="production"&&D&&console.warn("setSelf function cannot be called in sync"),!D)try{return b(e,t,n,L)}finally{m(e,t),g(e,t)}}),W}},B=T.n,H=a.get(n)===B;try{(cr?"production":void 0)!=="production"&&Xb.delete(t);const L=d(e,t,n,U,Y);if((cr?"production":void 0)!=="production"&&Xb.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),_(e,t,n,L),Dh(L)){O(e,t,L,()=>$?.abort());const N=()=>{I(),z()};L.then(N,N)}else I();return(i=u.r)==null||i.call(u,n),T.m=M,T}catch(L){if(u8(L))throw L;return delete T.v,T.e=L,++T.n,T.m=M,T}finally{D=!1,T.n!==B&&H&&(a.set(n,T.n),c.add(n),(r=u.c)==null||r.call(u,n))}},x8=(e,t,n)=>{const i=e[1],r=e[2],o=e[11],a=[n];for(;a.length;){const c=a.pop(),u=o(e,t,c);for(const d of zP(c,u,i)){const h=o(e,t,d);r.get(d)!==h.n&&(r.set(d,h.n),a.push(d))}}},S8=(e,t,n,i)=>{const r=e[3],o=e[6],a=e[8],c=e[11],u=e[12],d=e[13],h=e[14],g=e[15],m=e[16],y=e[17],b=e[20],w=e[28];let _=!0;const O=T=>Ah(h(e,t,T)),R=(T,...M)=>{var D;const P=c(e,t,T);try{if(T===n){if(!kP(T))throw new Error("atom not writable");(cr?"production":void 0)!=="production"&&Xb.add(t);const I=P.n,z=M[0];b(e,t,T,z),y(e,t,T),I!==P.n&&(++w[0],r.add(T),g(e,t,T),(D=o.c)==null||D.call(o,T));return}else return m(e,t,T,M)}finally{_||(d(e,t),u(e,t))}};try{return a(e,t,n,O,R,...i)}finally{_=!1}},w8=(e,t,n)=>{var i;const r=e[1],o=e[3],a=e[6],c=e[11],u=e[15],d=e[18],h=e[19],g=c(e,t,n),m=r.get(n);if(m&&g.d.size>0){for(const[y,b]of g.d)if(!m.d.has(y)){const w=c(e,t,y);d(e,t,y).t.add(n),m.d.add(y),b!==w.n&&(o.add(y),u(e,t,y),(i=a.c)==null||i.call(a,y))}for(const y of m.d)if(!g.d.has(y)){m.d.delete(y);const b=h(e,t,y);b?.t.delete(n)}}},_8=(e,t,n)=>{var i;const r=e[1],o=e[4],a=e[6],c=e[10],u=e[11],d=e[12],h=e[13],g=e[14],m=e[16],y=e[18],b=u(e,t,n);let w=r.get(n);if(!w){g(e,t,n);for(const _ of b.d.keys())y(e,t,_).t.add(n);if(w={l:new Set,d:new Set(b.d.keys()),t:new Set},r.set(n,w),Kb(n)&&c8(n)){const _=()=>{let O=!0;const R=(...T)=>{try{return m(e,t,n,T)}finally{O||(h(e,t),d(e,t))}};try{const T=c(e,t,n,R);T&&(w.u=()=>{O=!0;try{T()}finally{O=!1}})}finally{O=!1}};o.add(_)}(i=a.m)==null||i.call(a,n)}return w},C8=(e,t,n)=>{var i,r;const o=e[1],a=e[5],c=e[6],u=e[11],d=e[19],h=u(e,t,n);let g=o.get(n);if(!g||g.l.size)return g;let m=!1;for(const y of g.t)if((i=o.get(y))!=null&&i.d.has(n)){m=!0;break}if(!m){g.u&&a.add(g.u),g=void 0,o.delete(n);for(const y of h.d.keys()){const b=d(e,t,y);b?.t.delete(n)}(r=c.u)==null||r.call(c,n);return}return g},O8=(e,t,n,i)=>{const r=e[11],o=e[27],a=r(e,t,n),c="v"in a,u=a.v;if(Dh(i))for(const d of a.d.keys())IP(n,i,r(e,t,d));a.v=i,delete a.e,(!c||!Object.is(u,a.v))&&(++a.n,Dh(u)&&o(e,t,u))},E8=(e,t,n)=>{const i=e[14];return Ah(i(e,t,n))},R8=(e,t,n,...i)=>{const r=e[3],o=e[12],a=e[13],c=e[16],u=r.size;try{return c(e,t,n,i)}finally{r.size!==u&&(a(e,t),o(e,t))}},T8=(e,t,n,i)=>{const r=e[12],o=e[18],a=e[19],u=o(e,t,n).l;return u.add(i),r(e,t),()=>{u.delete(i),a(e,t,n),r(e,t)}},M8=(e,t,n,i)=>{const r=e[25];let o=r.get(n);if(!o){o=new Set,r.set(n,o);const a=()=>r.delete(n);n.then(a,a)}o.add(i)},A8=(e,t,n)=>{const r=e[25].get(n);r?.forEach(o=>o())},$P=new WeakMap;function D8(e){const t=$P.get(e);if((cr?"production":void 0)!=="production"&&!t)throw new Error("Store must be created by buildStore to read its building blocks");const n=t[24];return n?n(t,e):t}function P8(...e){const t={get(a){return i(n,t,a)},set(a,...c){return r(n,t,a,...c)},sub(a,c){return o(n,t,a,c)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},d8,h8,p8,g8,m8,y8,v8,b8,x8,S8,w8,_8,C8,O8,E8,R8,T8,void 0,new WeakMap,M8,A8,[0]].map((a,c)=>e[c]||a);$P.set(t,Object.freeze(n));const i=n[21],r=n[22],o=n[23];return t}const FP={};let j8=0;function wu(e,t){const n=`atom${++j8}`,i={toString(){return(FP?"production":void 0)!=="production"&&this.debugLabel?n+":"+this.debugLabel:n}};return typeof e=="function"?i.read=e:(i.init=e,i.read=L8,i.write=N8),i}function L8(e){return e(this)}function N8(e,t,n){return t(this,typeof n=="function"?n(e(this)):n)}function k8(){return P8()}let cc;function I8(){return cc||(cc=k8(),(FP?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=cc),globalThis.__JOTAI_DEFAULT_STORE__!==cc&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),cc}const z8={},$8=C.createContext(void 0);function BP(e){return C.useContext($8)||I8()}const Qb=e=>typeof e?.then=="function",Zb=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},F8=q.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(Zb(e),e)}),cv=new WeakMap,nR=(e,t,n)=>{const i=D8(e),r=i[26];let o=cv.get(t);return o||(o=new Promise((a,c)=>{let u=t;const d=m=>y=>{u===m&&a(y)},h=m=>y=>{u===m&&c(y)},g=()=>{try{const m=n();Qb(m)?(cv.set(m,o),u=m,m.then(d(m),h(m)),r(i,e,m,g)):a(m)}catch(m){c(m)}};t.then(d(t),h(t)),r(i,e,t,g)}),cv.set(t,o)),o};function B8(e,t){const{delay:n,unstable_promiseStatus:i=!q.use}={},r=BP(),[[o,a,c],u]=C.useReducer(h=>{const g=r.get(e);return Object.is(h[0],g)&&h[1]===r&&h[2]===e?h:[g,r,e]},void 0,()=>[r.get(e),r,e]);let d=o;if((a!==r||c!==e)&&(u(),d=r.get(e)),C.useEffect(()=>{const h=r.sub(e,()=>{if(i)try{const g=r.get(e);Qb(g)&&Zb(nR(r,g,()=>r.get(e)))}catch{}if(typeof n=="number"){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3. + +Migration guide: + +Create a custom hook like the following. + +function useAtomValueWithDelay<Value>( + atom: Atom<Value>, + options: { delay: number }, +): Value { + const { delay } = options + const store = useStore(options) + const [value, setValue] = useState(() => store.get(atom)) + useEffect(() => { + const unsub = store.sub(atom, () => { + setTimeout(() => setValue(store.get(atom)), delay) + }) + return unsub + }, [store, atom, delay]) + return value +} +`),setTimeout(u,n);return}u()});return u(),h},[r,e,n,i]),C.useDebugValue(d),Qb(d)){const h=nR(r,d,()=>r.get(e));return i&&Zb(h),F8(h)}return d}function H8(e,t){const n=BP();return C.useCallback((...r)=>{if((z8?"production":void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return n.set(e,...r)},[n,e])}function Ea(e,t){return[B8(e),H8(e)]}const kp="/connections",Kr=[];function V8(e){let t;try{t=JSON.parse(e),t.connections?.forEach(n=>{const i=n.metadata;i.process==null&&i.processPath!=null&&(i.process=i.processPath.replace(/^.*[/\\](.*)$/,"$1"))})}catch{console.log("JSON.parse error",JSON.parse(e))}Kr.forEach(n=>n.listner(t))}let md;function HP(e,t,n){if(md===1&&t)return iR({listner:t,onClose:n});md=1;const i=p1(e,kp),r=new WebSocket(i);if(r.addEventListener("error",()=>{md=3,Kr.forEach(o=>o.onClose?.()),Kr.length=0}),r.addEventListener("close",()=>{md=3,Kr.forEach(o=>o.onClose?.()),Kr.length=0}),r.addEventListener("message",o=>V8(o.data)),t)return iR({listner:t,onClose:n})}function iR(e){return Kr.push(e),function(){const n=Kr.indexOf(e);Kr.splice(n,1)}}async function U8(e){const{url:t,init:n}=qe(e);return await fetch(t+kp,{...n,method:"DELETE"})}async function W8(e){const{url:t,init:n}=qe(e);return await fetch(t+kp,{...n})}async function S1(e,t){const{url:n,init:i}=qe(e),r=`${n}${kp}/${t}`;return await fetch(r,{...i,method:"DELETE"})}const w1="/proxies";function _1(e,t,n){const i=new URLSearchParams({timeout:String(t),url:e});return n&&i.set("expected",n),i.toString()}async function G8(e){const{url:t,init:n}=qe(e);return await(await fetch(t+w1,n)).json()}async function q8(e,t,n){const i={name:n},{url:r,init:o}=qe(e),a=`${r}${w1}/${t}`;return await fetch(a,{...o,method:"PUT",body:JSON.stringify(i)})}async function VP(e,t,n=Pp,i=5e3,r){const{url:o,init:a}=qe(e),c=_1(n,i,r),u=`${o}${w1}/${encodeURIComponent(t)}/delay?${c}`;return await fetch(u,a)}async function Y8(e,t,n=Pp,i=5e3,r){const{url:o,init:a}=qe(e),c=_1(n,i,r),u=`${o}/group/${encodeURIComponent(t)}/delay?${c}`;return await fetch(u,a)}async function K8(e){const{url:t,init:n}=qe(e),i=await fetch(t+"/providers/proxies",n);return i.status===404?{providers:{}}:await i.json()}async function UP(e,t){const{url:n,init:i}=qe(e),r={...i,method:"PUT"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t),r)}async function X8(e,t,n){const{url:i,init:r}=qe(e),o={...r,method:"GET",signal:n};return await fetch(i+"/providers/proxies/"+encodeURIComponent(t)+"/healthcheck",o)}async function Q8(e,t,n,i=Pp,r=5e3,o){const{url:a,init:c}=qe(e),u=_1(i,r,o),d={...c,method:"GET"};return await fetch(`${a}/providers/proxies/${encodeURIComponent(t)}/${encodeURIComponent(n)}/healthcheck?${u}`,d)}const Z8={proxies:{},delay:{},groupNames:[],showModalClosePrevConns:!1},WP=()=>null,GP=["Direct","Fallback","Reject","Pass","Selector","URLTest","LoadBalance","Unknown"],_u=e=>e.proxies.proxies,qP=e=>e.proxies.delay,YP=e=>e.proxies.groupNames,C1=e=>e.proxies.proxyProviders||[],O1=e=>e.proxies.dangleProxyNames,J8=e=>e.proxies.showModalClosePrevConns;function eV(e,t){const n=_u(e)[t];if(!n)return;if(n.testUrl)return n.testUrl;const i=n.extra?Object.keys(n.extra):[];return i.length>0?i[0]:void 0}function tV(e,t){if(RP(e)){const n=eV(e,t);if(n)return n}return jp(e)}function xa(e,t){if(e===t)return!0;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!xa(e[n],t[n]))return!1;return!0}if(e&&t&&typeof e=="object"&&typeof t=="object"&&!Array.isArray(t)){const n=e,i=t,r=Object.keys(n);if(r.length!==Object.keys(i).length)return!1;for(const o of r)if(!xa(n[o],i[o]))return!1;return!0}return!1}function So(e){return async(t,n)=>{const[i,r]=await Promise.all([G8(e),K8(e)]),{providers:o,proxies:a}=gV(r.providers),c={...a,...i.proxies};for(const P of Object.keys(a))c[P]&&(c[P]={...c[P],providerName:a[P].providerName});const[u,d]=pV(c),h=n(),g=qP(h),m={...g};let y=!1;for(let P=0;P<d.length;P++){const I=d[P],{history:z}=c[I]||{history:[]},U=z[z.length-1];if(U&&typeof U.delay=="number"){const $=g[I];if($&&$.number===U.delay&&!$.error&&!$.testing)continue;m[I]={number:U.delay},y=!0}}const b=[];for(const P of d)a[P]||b.push(P);const w=_u(h),_=Object.keys(c);let O=_.length!==Object.keys(w).length;for(const P of _){const I=w[P];I&&xa(I,c[P])?c[P]=I:O=!0}const R=C1(h);let T=R.length!==o.length;for(let P=0;P<o.length;P++){const I=R[P];I&&xa(I,o[P])?o[P]=I:T=!0}const M=YP(h),D=O1(h);t("store/proxies#fetchProxies",P=>{P.proxies.proxies=O?c:w,P.proxies.groupNames=xa(M,u)?M:u,P.proxies.delay=y?m:g,P.proxies.proxyProviders=T?o:R,P.proxies.dangleProxyNames=D&&xa(D,b)?D:b})}}function nV(e,t){return async n=>{try{await UP(e,t)}catch{}n(So(e))}}function iV(e,t){return async n=>{for(let i=0;i<t.length;i++)try{await UP(e,t[i])}catch{}n(So(e))}}async function KP(e,t){const n=new AbortController,i=setTimeout(()=>n.abort(),e);try{await t(n.signal)}finally{clearTimeout(i)}}async function XP(e,t,n){try{await X8(e,t,n)}catch{}}function rV(e,t){return async(n,i)=>{await KP(v1(i()),r=>XP(e,t,r)),await n(So(e))}}const oV=100,yd=new Map;let uv=null;function Jb(e,t,n){yd.set(t,{...yd.get(t),...n}),uv===null&&(uv=setTimeout(()=>{uv=null;const i=new Map(yd);yd.clear(),e("store/proxies#delay",r=>{for(const[o,a]of i)r.proxies.delay[o]={...r.proxies.delay[o],...a}})},oV))}async function sV(e,t,n){const i=await W8(e);i.ok||console.log("unable to fetch all connections",i.statusText);const o=(await i.json()).connections,a=[];for(const c of o)c.chains.indexOf(t)>-1&&c.chains.indexOf(n)<0&&a.push(c.id);await Promise.all(a.map(c=>S1(e,c).catch(WP)))}function aV(e,t,n){const i=[n,t];let r,o=n;for(;(r=e[o])&&r.now;)i.unshift(r.now),o=r.now;return i}async function lV(e,t,n,i,r){try{if((await q8(n,i,r)).ok===!1)throw new Error("failed to switch proxy: res.statusText")}catch(a){throw console.log(a,"failed to swith proxy"),a}if(e(So(n)),TP(t())){const a=_u(t());ZP(n,a,{groupName:i,itemName:r})}}function QP(){return e=>{e("closeModalClosePrevConns",t=>{t.proxies.showModalClosePrevConns=!1})}}function ZP(e,t,n){const i=aV(t,n.groupName,n.itemName);sV(e,n.groupName,i[0])}function cV(e){return async(t,n)=>{const i=n(),r=i.proxies.switchProxyCtx?.to;if(!r){t(QP());return}const o=i.proxies.proxies;ZP(e,o,r),t("closePrevConnsAndTheModal",a=>{a.proxies.showModalClosePrevConns=!1,a.proxies.switchProxyCtx=void 0})}}function uV(e,t,n){return async(i,r)=>{lV(i,r,e,t,n).catch(WP),i("store/proxies#switchProxy",o=>{const a=o.proxies.proxies;a[t]&&a[t].now&&(a[t].now=n)})}}function fV(e,t){return async(n,i)=>{let r="",o;try{const c=jp(i()),u=Lp(i()),d=Np(i()),h=await VP(e,t,c,u,d);h.ok===!1&&(r=h.statusText),o=(await h.json())?.delay}catch(c){r=c.message}const a=typeof o=="number"&&o>0?o:void 0;Jb(n,t,{error:r,number:a,testing:!1,updatedAt:Date.now()})}}function JP(e,t){return async n=>{await n(fV(e,t))}}function ej(e,t){return async(n,i)=>{const r=O1(i()),o=t.filter(a=>r.indexOf(a)>-1).map(a=>n(JP(e,a)));await Promise.all(o),await n(So(e))}}function dV(e,t,n,i){return async(r,o)=>{if(n){const a=o(),c=tV(a,t),u=Lp(a),d=Np(a);await Y8(e,t,c,u,d),await r(So(e))}else await r(ej(e,i))}}function hV(e){return async(t,n)=>{const i=O1(n());await Promise.all(i.map(a=>t(JP(e,a))));const r=C1(n()),o=v1(n());for(const a of r)await KP(o,c=>XP(e,a.name,c));await t(So(e))}}function tj(e,t){return async(n,i)=>{Jb(n,t,{testing:!0,error:""});let r,o="";try{const d=_u(i())[t]?.providerName,h=jp(i()),g=Lp(i()),m=Np(i()),y=d?await Q8(e,d,t,h,g,m):await VP(e,t,h,g,m);y.ok===!1&&(o=y.statusText),r=(await y.json().catch(()=>{}))?.delay}catch(u){o=u.message||"Request failed"}const a=typeof r=="number"&&r>0?r:void 0;Jb(n,t,{number:a,error:o||(a===void 0?"Timeout":""),testing:!1,updatedAt:Date.now()})}}function pV(e){let t=[],n;const i=[];for(const r in e){const o=e[r];o.all&&Array.isArray(o.all)?(o.hidden||t.push(r),r==="GLOBAL"&&(n=Array.from(o.all))):GP.indexOf(o.type)<0&&i.push(r)}return n&&(n.push("GLOBAL"),t=t.map(r=>[n.indexOf(r),r]).sort((r,o)=>r[0]-o[0]).map(r=>r[1])),[t,i]}function gV(e){const t=Object.keys(e),n=[],i={};for(let r=0;r<t.length;r++){const o=e[t[r]];if(o.name==="default"||o.vehicleType==="Compatible")continue;const a=o.proxies,c=[];for(let d=0;d<a.length;d++){const h=a[d];i[h.name]={...h,providerName:o.name},c.push(h.name)}const u={...o,proxies:c};n.push(u)}return{providers:n,proxies:i}}const mV={requestDelayForProxies:ej,requestDelayForGroup:dV,closeModalClosePrevConns:QP,closePrevConnsAndTheModal:cV,healthcheckProxy:tj},nj=wu(""),yV={app:qH(),modals:SH,configs:PH,proxies:Z8,logs:l8},vV={selectChartStyleIndex:HH,updateAppConfig:ZE,app:{updateCollapsibleIsOpen:VH,updateAppConfig:ZE,removeClashAPIConfig:MP,selectClashAPIConfig:AP},proxies:mV};function bV({children:e}){return S.jsx(R6,{children:S.jsx(K6,{initialState:yV,actions:vV,children:S.jsx(o6,{client:Z6,children:S.jsx(MB,{delayDuration:0,children:e})})})})}var rR="popstate";function oR(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function xV(e={}){function t(r,o){let{pathname:a="/",search:c="",hash:u=""}=_s(r.location.hash.substring(1));return!a.startsWith("/")&&!a.startsWith(".")&&(a="/"+a),e0("",{pathname:a,search:c,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){let a=r.document.querySelector("base"),c="";if(a&&a.getAttribute("href")){let u=r.location.href,d=u.indexOf("#");c=d===-1?u:u.slice(0,d)}return c+"#"+(typeof o=="string"?o:tu(o))}function i(r,o){Jn(r.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return wV(t,n,i,e)}function tt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Jn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function SV(){return Math.random().toString(36).substring(2,10)}function sR(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function e0(e,t,n=null,i,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?_s(t):t,state:n,key:t&&t.key||i||SV(),unstable_mask:r}}function tu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function _s(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function wV(e,t,n,i={}){let{window:r=document.defaultView,v5Compat:o=!1}=i,a=r.history,c="POP",u=null,d=h();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function h(){return(a.state||{idx:null}).idx}function g(){c="POP";let _=h(),O=_==null?null:_-d;d=_,u&&u({action:c,location:w.location,delta:O})}function m(_,O){c="PUSH";let R=oR(_)?_:e0(w.location,_,O);n&&n(R,_),d=h()+1;let T=sR(R,d),M=w.createHref(R.unstable_mask||R);try{a.pushState(T,"",M)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;r.location.assign(M)}o&&u&&u({action:c,location:w.location,delta:1})}function y(_,O){c="REPLACE";let R=oR(_)?_:e0(w.location,_,O);n&&n(R,_),d=h();let T=sR(R,d),M=w.createHref(R.unstable_mask||R);a.replaceState(T,"",M),o&&u&&u({action:c,location:w.location,delta:0})}function b(_){return _V(_)}let w={get action(){return c},get location(){return e(r,a)},listen(_){if(u)throw new Error("A history only accepts one active listener");return r.addEventListener(rR,g),u=_,()=>{r.removeEventListener(rR,g),u=null}},createHref(_){return t(r,_)},createURL:b,encodeLocation(_){let O=b(_);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:m,replace:y,go(_){return a.go(_)}};return w}function _V(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),tt(n,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:tu(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function ij(e,t,n="/"){return CV(e,t,n,!1)}function CV(e,t,n,i){let r=typeof t=="string"?_s(t):t,o=yr(r.pathname||"/",n);if(o==null)return null;let a=rj(e);OV(a);let c=null;for(let u=0;c==null&&u<a.length;++u){let d=kV(o);c=LV(a[u],d,i)}return c}function rj(e,t=[],n=[],i="",r=!1){let o=(a,c,u=r,d)=>{let h={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:c,route:a};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(i)&&u)return;tt(h.relativePath.startsWith(i),`Absolute route path "${h.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(i.length)}let g=ui([i,h.relativePath]),m=n.concat(h);a.children&&a.children.length>0&&(tt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),rj(a.children,t,m,g,u)),!(a.path==null&&!a.index)&&t.push({path:g,score:PV(g,a.index),routesMeta:m})};return e.forEach((a,c)=>{if(a.path===""||!a.path?.includes("?"))o(a,c);else for(let u of oj(a.path))o(a,c,!0,u)}),t}function oj(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(i.length===0)return r?[o,""]:[o];let a=oj(i.join("/")),c=[];return c.push(...a.map(u=>u===""?o:[o,u].join("/"))),r&&c.push(...a),c.map(u=>e.startsWith("/")&&u===""?"/":u)}function OV(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:jV(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var EV=/^:[\w-]+$/,RV=3,TV=2,MV=1,AV=10,DV=-2,aR=e=>e==="*";function PV(e,t){let n=e.split("/"),i=n.length;return n.some(aR)&&(i+=DV),t&&(i+=TV),n.filter(r=>!aR(r)).reduce((r,o)=>r+(EV.test(o)?RV:o===""?MV:AV),i)}function jV(e,t){return e.length===t.length&&e.slice(0,-1).every((i,r)=>i===t[r])?e[e.length-1]-t[t.length-1]:0}function LV(e,t,n=!1){let{routesMeta:i}=e,r={},o="/",a=[];for(let c=0;c<i.length;++c){let u=i[c],d=c===i.length-1,h=o==="/"?t:t.slice(o.length)||"/",g=Ph({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},h),m=u.route;if(!g&&d&&n&&!i[i.length-1].route.index&&(g=Ph({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},h)),!g)return null;Object.assign(r,g.params),a.push({params:r,pathname:ui([o,g.pathname]),pathnameBase:FV(ui([o,g.pathnameBase])),route:m}),g.pathnameBase!=="/"&&(o=ui([o,g.pathnameBase]))}return a}function Ph(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=NV(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],a=o.replace(/(.)\/+$/,"$1"),c=r.slice(1);return{params:i.reduce((d,{paramName:h,isOptional:g},m)=>{if(h==="*"){let b=c[m]||"";a=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const y=c[m];return g&&!y?d[h]=void 0:d[h]=(y||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:a,pattern:e}}function NV(e,t=!1,n=!0){Jn(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 i=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,c,u,d,h)=>{if(i.push({paramName:c,isOptional:u!=null}),u){let g=h.charAt(d+a.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),r+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":e!==""&&e!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),i]}function kV(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Jn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function yr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}var IV=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function zV(e,t="/"){let{pathname:n,search:i="",hash:r=""}=typeof e=="string"?_s(e):e,o;return n?(n=sj(n),n.startsWith("/")?o=lR(n.substring(1),"/"):o=lR(n,t)):o=t,{pathname:o,search:BV(i),hash:HV(r)}}function lR(e,t){let n=jh(t).split("/");return e.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function fv(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. 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 $V(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function E1(e){let t=$V(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function Ip(e,t,n,i=!1){let r;typeof e=="string"?r=_s(e):(r={...e},tt(!r.pathname||!r.pathname.includes("?"),fv("?","pathname","search",r)),tt(!r.pathname||!r.pathname.includes("#"),fv("#","pathname","hash",r)),tt(!r.search||!r.search.includes("#"),fv("#","search","hash",r)));let o=e===""||r.pathname==="",a=o?"/":r.pathname,c;if(a==null)c=n;else{let g=t.length-1;if(!i&&a.startsWith("..")){let m=a.split("/");for(;m[0]==="..";)m.shift(),g-=1;r.pathname=m.join("/")}c=g>=0?t[g]:"/"}let u=zV(r,c),d=a&&a!=="/"&&a.endsWith("/"),h=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||h)&&(u.pathname+="/"),u}var sj=e=>e.replace(/\/\/+/g,"/"),ui=e=>sj(e.join("/")),jh=e=>e.replace(/\/+$/,""),FV=e=>jh(e).replace(/^\/*/,"/"),BV=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,HV=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,VV=class{constructor(e,t,n,i=!1){this.status=e,this.statusText=t||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function UV(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function WV(e){let t=e.map(n=>n.route.path).filter(Boolean);return ui(t)||"/"}var aj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lj(e,t){let n=e;if(typeof n!="string"||!IV.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,r=!1;if(aj)try{let o=new URL(window.location.href),a=n.startsWith("//")?new URL(o.protocol+n):new URL(n),c=yr(a.pathname,t);a.origin===o.origin&&c!=null?n=c+a.search+a.hash:r=!0}catch{Jn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:r,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var cj=["POST","PUT","PATCH","DELETE"];new Set(cj);var GV=["GET",...cj];new Set(GV);var Qa=C.createContext(null);Qa.displayName="DataRouter";var zp=C.createContext(null);zp.displayName="DataRouterState";var uj=C.createContext(!1);function qV(){return C.useContext(uj)}var fj=C.createContext({isTransitioning:!1});fj.displayName="ViewTransition";var YV=C.createContext(new Map);YV.displayName="Fetchers";var KV=C.createContext(null);KV.displayName="Await";var Pn=C.createContext(null);Pn.displayName="Navigation";var Cu=C.createContext(null);Cu.displayName="Location";var ki=C.createContext({outlet:null,matches:[],isDataRoute:!1});ki.displayName="Route";var R1=C.createContext(null);R1.displayName="RouteError";var dj="REACT_ROUTER_ERROR",XV="REDIRECT",QV="ROUTE_ERROR_RESPONSE";function ZV(e){if(e.startsWith(`${dj}:${XV}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function JV(e){if(e.startsWith(`${dj}:${QV}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new VV(t.status,t.statusText,t.data)}catch{}}function eU(e,{relative:t}={}){tt(Za(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=C.useContext(Pn),{hash:r,pathname:o,search:a}=Ou(e,{relative:t}),c=o;return n!=="/"&&(c=o==="/"?n:ui([n,o])),i.createHref({pathname:c,search:a,hash:r})}function Za(){return C.useContext(Cu)!=null}function vi(){return tt(Za(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Cu).location}var hj="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function pj(e){C.useContext(Pn).static||C.useLayoutEffect(e)}function gj(){let{isDataRoute:e}=C.useContext(ki);return e?dU():tU()}function tU(){tt(Za(),"useNavigate() may be used only in the context of a <Router> component.");let e=C.useContext(Qa),{basename:t,navigator:n}=C.useContext(Pn),{matches:i}=C.useContext(ki),{pathname:r}=vi(),o=JSON.stringify(E1(i)),a=C.useRef(!1);return pj(()=>{a.current=!0}),C.useCallback((u,d={})=>{if(Jn(a.current,hj),!a.current)return;if(typeof u=="number"){n.go(u);return}let h=Ip(u,JSON.parse(o),r,d.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ui([t,h.pathname])),(d.replace?n.replace:n.push)(h,d.state,d)},[t,n,o,r,e])}C.createContext(null);function Ou(e,{relative:t}={}){let{matches:n}=C.useContext(ki),{pathname:i}=vi(),r=JSON.stringify(E1(n));return C.useMemo(()=>Ip(e,JSON.parse(r),i,t==="path"),[e,r,i,t])}function mj(e,t){return yj(e,t)}function yj(e,t,n){tt(Za(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=C.useContext(Pn),{matches:r}=C.useContext(ki),o=r[r.length-1],a=o?o.params:{},c=o?o.pathname:"/",u=o?o.pathnameBase:"/",d=o&&o.route;{let _=d&&d.path||"";bj(c,!d||_.endsWith("*")||_.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${_}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let h=vi(),g;if(t){let _=typeof t=="string"?_s(t):t;tt(u==="/"||_.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${_.pathname}" was given in the \`location\` prop.`),g=_}else g=h;let m=g.pathname||"/",y=m;if(u!=="/"){let _=u.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(_.length).join("/")}let b=ij(e,{pathname:y});Jn(d||b!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Jn(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=sU(b&&b.map(_=>Object.assign({},_,{params:Object.assign({},a,_.params),pathname:ui([u,i.encodeLocation?i.encodeLocation(_.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?u:ui([u,i.encodeLocation?i.encodeLocation(_.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),r,n);return t&&w?C.createElement(Cu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...g},navigationType:"POP"}},w):w}function nU(){let e=fU(),t=UV(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:o},"ErrorBoundary")," or"," ",C.createElement("code",{style:o},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:r},n):null,a)}var iU=C.createElement(nU,null),vj=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=JV(e.digest);n&&(e=n)}let t=e!==void 0?C.createElement(ki.Provider,{value:this.props.routeContext},C.createElement(R1.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?C.createElement(rU,{error:e},t):t}};vj.contextType=uj;var dv=new WeakMap;function rU({children:e,error:t}){let{basename:n}=C.useContext(Pn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=ZV(t.digest);if(i){let r=dv.get(t);if(r)throw r;let o=lj(i.location,n);if(aj&&!dv.get(t))if(o.isExternal||i.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:i.replace}));throw dv.set(t,a),a}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function oU({routeContext:e,match:t,children:n}){let i=C.useContext(Qa);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(ki.Provider,{value:e},n)}function sU(e,t=[],n){let i=n?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let r=e,o=i?.errors;if(o!=null){let h=r.findIndex(g=>g.route.id&&o?.[g.route.id]!==void 0);tt(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),r=r.slice(0,Math.min(r.length,h+1))}let a=!1,c=-1;if(n&&i){a=i.renderFallback;for(let h=0;h<r.length;h++){let g=r[h];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(c=h),g.route.id){let{loaderData:m,errors:y}=i,b=g.route.loader&&!m.hasOwnProperty(g.route.id)&&(!y||y[g.route.id]===void 0);if(g.route.lazy||b){n.isStatic&&(a=!0),c>=0?r=r.slice(0,c+1):r=[r[0]];break}}}}let u=n?.onError,d=i&&u?(h,g)=>{u(h,{location:i.location,params:i.matches?.[0]?.params??{},unstable_pattern:WV(i.matches),errorInfo:g})}:void 0;return r.reduceRight((h,g,m)=>{let y,b=!1,w=null,_=null;i&&(y=o&&g.route.id?o[g.route.id]:void 0,w=g.route.errorElement||iU,a&&(c<0&&m===0?(bj("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,_=null):c===m&&(b=!0,_=g.route.hydrateFallbackElement||null)));let O=t.concat(r.slice(0,m+1)),R=()=>{let T;return y?T=w:b?T=_:g.route.Component?T=C.createElement(g.route.Component,null):g.route.element?T=g.route.element:T=h,C.createElement(oU,{match:g,routeContext:{outlet:h,matches:O,isDataRoute:i!=null},children:T})};return i&&(g.route.ErrorBoundary||g.route.errorElement||m===0)?C.createElement(vj,{location:i.location,revalidation:i.revalidation,component:w,error:y,children:R(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:d}):R()},null)}function T1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function aU(e){let t=C.useContext(Qa);return tt(t,T1(e)),t}function lU(e){let t=C.useContext(zp);return tt(t,T1(e)),t}function cU(e){let t=C.useContext(ki);return tt(t,T1(e)),t}function M1(e){let t=cU(e),n=t.matches[t.matches.length-1];return tt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function uU(){return M1("useRouteId")}function fU(){let e=C.useContext(R1),t=lU("useRouteError"),n=M1("useRouteError");return e!==void 0?e:t.errors?.[n]}function dU(){let{router:e}=aU("useNavigate"),t=M1("useNavigate"),n=C.useRef(!1);return pj(()=>{n.current=!0}),C.useCallback(async(r,o={})=>{Jn(n.current,hj),n.current&&(typeof r=="number"?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}var cR={};function bj(e,t,n){!t&&!cR[e]&&(cR[e]=!0,Jn(!1,n))}C.memo(hU);function hU({routes:e,future:t,state:n,isStatic:i,onError:r}){return yj(e,void 0,{state:n,isStatic:i,onError:r})}function pU({to:e,replace:t,state:n,relative:i}){tt(Za(),"<Navigate> may be used only in the context of a <Router> component.");let{static:r}=C.useContext(Pn);Jn(!r,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=C.useContext(ki),{pathname:a}=vi(),c=gj(),u=Ip(e,E1(o),a,i==="path"),d=JSON.stringify(u);return C.useEffect(()=>{c(JSON.parse(d),{replace:t,state:n,relative:i})},[c,d,i,t,n]),null}function t0(e){tt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function gU({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:r,static:o=!1,unstable_useTransitions:a}){tt(!Za(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),u=C.useMemo(()=>({basename:c,navigator:r,static:o,unstable_useTransitions:a,future:{}}),[c,r,o,a]);typeof n=="string"&&(n=_s(n));let{pathname:d="/",search:h="",hash:g="",state:m=null,key:y="default",unstable_mask:b}=n,w=C.useMemo(()=>{let _=yr(d,c);return _==null?null:{location:{pathname:_,search:h,hash:g,state:m,key:y,unstable_mask:b},navigationType:i}},[c,d,h,g,m,y,i,b]);return Jn(w!=null,`<Router basename="${c}"> is not able to match the URL "${d}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:C.createElement(Pn.Provider,{value:u},C.createElement(Cu.Provider,{children:t,value:w}))}function mU({children:e,location:t}){return mj(n0(e),t)}function n0(e,t=[]){let n=[];return C.Children.forEach(e,(i,r)=>{if(!C.isValidElement(i))return;let o=[...t,r];if(i.type===C.Fragment){n.push.apply(n,n0(i.props.children,o));return}tt(i.type===t0,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),tt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let a={id:i.props.id||o.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(a.children=n0(i.props.children,o)),n.push(a)}),n}var th="get",nh="application/x-www-form-urlencoded";function $p(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function yU(e){return $p(e)&&e.tagName.toLowerCase()==="button"}function vU(e){return $p(e)&&e.tagName.toLowerCase()==="form"}function bU(e){return $p(e)&&e.tagName.toLowerCase()==="input"}function xU(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SU(e,t){return e.button===0&&(!t||t==="_self")&&!xU(e)}var vd=null;function wU(){if(vd===null)try{new FormData(document.createElement("form"),0),vd=!1}catch{vd=!0}return vd}var _U=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hv(e){return e!=null&&!_U.has(e)?(Jn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${nh}"`),null):e}function CU(e,t){let n,i,r,o,a;if(vU(e)){let c=e.getAttribute("action");i=c?yr(c,t):null,n=e.getAttribute("method")||th,r=hv(e.getAttribute("enctype"))||nh,o=new FormData(e)}else if(yU(e)||bU(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||c.getAttribute("action");if(i=u?yr(u,t):null,n=e.getAttribute("formmethod")||c.getAttribute("method")||th,r=hv(e.getAttribute("formenctype"))||hv(c.getAttribute("enctype"))||nh,o=new FormData(c,e),!wU()){let{name:d,type:h,value:g}=e;if(h==="image"){let m=d?`${d}.`:"";o.append(`${m}x`,"0"),o.append(`${m}y`,"0")}else d&&o.append(d,g)}}else{if($p(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=th,i=null,r=nh,a=e}return o&&r==="text/plain"&&(a=o,o=void 0),{action:i,method:n.toLowerCase(),encType:r,formData:o,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function A1(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xj(e,t,n,i){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?r.pathname.endsWith("/")?r.pathname=`${r.pathname}_.${i}`:r.pathname=`${r.pathname}.${i}`:r.pathname==="/"?r.pathname=`_root.${i}`:t&&yr(r.pathname,t)==="/"?r.pathname=`${jh(t)}/_root.${i}`:r.pathname=`${jh(r.pathname)}.${i}`,r}async function OU(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function EU(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function RU(e,t,n){let i=await Promise.all(e.map(async r=>{let o=t.routes[r.route.id];if(o){let a=await OU(o,n);return a.links?a.links():[]}return[]}));return DU(i.flat(1).filter(EU).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function uR(e,t,n,i,r,o){let a=(u,d)=>n[d]?u.route.id!==n[d].route.id:!0,c=(u,d)=>n[d].pathname!==u.pathname||n[d].route.path?.endsWith("*")&&n[d].params["*"]!==u.params["*"];return o==="assets"?t.filter((u,d)=>a(u,d)||c(u,d)):o==="data"?t.filter((u,d)=>{let h=i.routes[u.route.id];if(!h||!h.hasLoader)return!1;if(a(u,d)||c(u,d))return!0;if(u.route.shouldRevalidate){let g=u.route.shouldRevalidate({currentUrl:new URL(r.pathname+r.search+r.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}function TU(e,t,{includeHydrateFallback:n}={}){return MU(e.map(i=>{let r=t.routes[i.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1))}function MU(e){return[...new Set(e)]}function AU(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function DU(e,t){let n=new Set;return new Set(t),e.reduce((i,r)=>{let o=JSON.stringify(AU(r));return n.has(o)||(n.add(o),i.push({key:o,link:r})),i},[])}function D1(){let e=C.useContext(Qa);return A1(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function PU(){let e=C.useContext(zp);return A1(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var P1=C.createContext(void 0);P1.displayName="FrameworkContext";function j1(){let e=C.useContext(P1);return A1(e,"You must render this element inside a <HydratedRouter> element"),e}function jU(e,t){let n=C.useContext(P1),[i,r]=C.useState(!1),[o,a]=C.useState(!1),{onFocus:c,onBlur:u,onMouseEnter:d,onMouseLeave:h,onTouchStart:g}=t,m=C.useRef(null);C.useEffect(()=>{if(e==="render"&&a(!0),e==="viewport"){let w=O=>{O.forEach(R=>{a(R.isIntersecting)})},_=new IntersectionObserver(w,{threshold:.5});return m.current&&_.observe(m.current),()=>{_.disconnect()}}},[e]),C.useEffect(()=>{if(i){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[i]);let y=()=>{r(!0)},b=()=>{r(!1),a(!1)};return n?e!=="intent"?[o,m,{}]:[o,m,{onFocus:uc(c,y),onBlur:uc(u,b),onMouseEnter:uc(d,y),onMouseLeave:uc(h,b),onTouchStart:uc(g,y)}]:[!1,m,{}]}function uc(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function LU({page:e,...t}){let n=qV(),{router:i}=D1(),r=C.useMemo(()=>ij(i.routes,e,i.basename),[i.routes,e,i.basename]);return r?n?C.createElement(kU,{page:e,matches:r,...t}):C.createElement(IU,{page:e,matches:r,...t}):null}function NU(e){let{manifest:t,routeModules:n}=j1(),[i,r]=C.useState([]);return C.useEffect(()=>{let o=!1;return RU(e,t,n).then(a=>{o||r(a)}),()=>{o=!0}},[e,t,n]),i}function kU({page:e,matches:t,...n}){let i=vi(),{future:r}=j1(),{basename:o}=D1(),a=C.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let c=xj(e,o,r.unstable_trailingSlashAwareDataRequests,"rsc"),u=!1,d=[];for(let h of t)typeof h.route.shouldRevalidate=="function"?u=!0:d.push(h.route.id);return u&&d.length>0&&c.searchParams.set("_routes",d.join(",")),[c.pathname+c.search]},[o,r.unstable_trailingSlashAwareDataRequests,e,i,t]);return C.createElement(C.Fragment,null,a.map(c=>C.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...n})))}function IU({page:e,matches:t,...n}){let i=vi(),{future:r,manifest:o,routeModules:a}=j1(),{basename:c}=D1(),{loaderData:u,matches:d}=PU(),h=C.useMemo(()=>uR(e,t,d,o,i,"data"),[e,t,d,o,i]),g=C.useMemo(()=>uR(e,t,d,o,i,"assets"),[e,t,d,o,i]),m=C.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let w=new Set,_=!1;if(t.forEach(R=>{let T=o.routes[R.route.id];!T||!T.hasLoader||(!h.some(M=>M.route.id===R.route.id)&&R.route.id in u&&a[R.route.id]?.shouldRevalidate||T.hasClientLoader?_=!0:w.add(R.route.id))}),w.size===0)return[];let O=xj(e,c,r.unstable_trailingSlashAwareDataRequests,"data");return _&&w.size>0&&O.searchParams.set("_routes",t.filter(R=>w.has(R.route.id)).map(R=>R.route.id).join(",")),[O.pathname+O.search]},[c,r.unstable_trailingSlashAwareDataRequests,u,i,o,h,t,e,a]),y=C.useMemo(()=>TU(g,o),[g,o]),b=NU(g);return C.createElement(C.Fragment,null,m.map(w=>C.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),y.map(w=>C.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),b.map(({key:w,link:_})=>C.createElement("link",{key:w,nonce:n.nonce,..._,crossOrigin:_.crossOrigin??n.crossOrigin})))}function zU(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var $U=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{$U&&(window.__reactRouterVersion="7.14.1")}catch{}function FU({basename:e,children:t,unstable_useTransitions:n,window:i}){let r=C.useRef();r.current==null&&(r.current=xV({window:i,v5Compat:!0}));let o=r.current,[a,c]=C.useState({action:o.action,location:o.location}),u=C.useCallback(d=>{n===!1?c(d):C.startTransition(()=>c(d))},[n]);return C.useLayoutEffect(()=>o.listen(u),[o,u]),C.createElement(gU,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o,unstable_useTransitions:n})}var Sj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fp=C.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:r,reloadDocument:o,replace:a,unstable_mask:c,state:u,target:d,to:h,preventScrollReset:g,viewTransition:m,unstable_defaultShouldRevalidate:y,...b},w){let{basename:_,navigator:O,unstable_useTransitions:R}=C.useContext(Pn),T=typeof h=="string"&&Sj.test(h),M=lj(h,_);h=M.to;let D=eU(h,{relative:r}),P=vi(),I=null;if(c){let L=Ip(c,[],P.unstable_mask?P.unstable_mask.pathname:"/",!0);_!=="/"&&(L.pathname=L.pathname==="/"?_:ui([_,L.pathname])),I=O.createHref(L)}let[z,U,$]=jU(i,b),W=UU(h,{replace:a,unstable_mask:c,state:u,target:d,preventScrollReset:g,relative:r,viewTransition:m,unstable_defaultShouldRevalidate:y,unstable_useTransitions:R});function Y(L){t&&t(L),L.defaultPrevented||W(L)}let B=!(M.isExternal||o),H=C.createElement("a",{...b,...$,href:(B?I:void 0)||M.absoluteURL||D,onClick:B?Y:t,ref:zU(w,U),target:d,"data-discover":!T&&n==="render"?"true":void 0});return z&&!T?C.createElement(C.Fragment,null,H,C.createElement(LU,{page:D})):H});Fp.displayName="Link";var BU=C.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:r=!1,style:o,to:a,viewTransition:c,children:u,...d},h){let g=Ou(a,{relative:d.relative}),m=vi(),y=C.useContext(zp),{navigator:b,basename:w}=C.useContext(Pn),_=y!=null&&KU(g)&&c===!0,O=b.encodeLocation?b.encodeLocation(g).pathname:g.pathname,R=m.pathname,T=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;n||(R=R.toLowerCase(),T=T?T.toLowerCase():null,O=O.toLowerCase()),T&&w&&(T=yr(T,w)||T);const M=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let D=R===O||!r&&R.startsWith(O)&&R.charAt(M)==="/",P=T!=null&&(T===O||!r&&T.startsWith(O)&&T.charAt(O.length)==="/"),I={isActive:D,isPending:P,isTransitioning:_},z=D?t:void 0,U;typeof i=="function"?U=i(I):U=[i,D?"active":null,P?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let $=typeof o=="function"?o(I):o;return C.createElement(Fp,{...d,"aria-current":z,className:U,ref:h,style:$,to:a,viewTransition:c},typeof u=="function"?u(I):u)});BU.displayName="NavLink";var HU=C.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:r,state:o,method:a=th,action:c,onSubmit:u,relative:d,preventScrollReset:h,viewTransition:g,unstable_defaultShouldRevalidate:m,...y},b)=>{let{unstable_useTransitions:w}=C.useContext(Pn),_=qU(),O=YU(c,{relative:d}),R=a.toLowerCase()==="get"?"get":"post",T=typeof c=="string"&&Sj.test(c),M=D=>{if(u&&u(D),D.defaultPrevented)return;D.preventDefault();let P=D.nativeEvent.submitter,I=P?.getAttribute("formmethod")||a,z=()=>_(P||D.currentTarget,{fetcherKey:t,method:I,navigate:n,replace:r,state:o,relative:d,preventScrollReset:h,viewTransition:g,unstable_defaultShouldRevalidate:m});w&&n!==!1?C.startTransition(()=>z()):z()};return C.createElement("form",{ref:b,method:R,action:O,onSubmit:i?u:M,...y,"data-discover":!T&&e==="render"?"true":void 0})});HU.displayName="Form";function VU(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wj(e){let t=C.useContext(Qa);return tt(t,VU(e)),t}function UU(e,{target:t,replace:n,unstable_mask:i,state:r,preventScrollReset:o,relative:a,viewTransition:c,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let h=gj(),g=vi(),m=Ou(e,{relative:a});return C.useCallback(y=>{if(SU(y,t)){y.preventDefault();let b=n!==void 0?n:tu(g)===tu(m),w=()=>h(e,{replace:b,unstable_mask:i,state:r,preventScrollReset:o,relative:a,viewTransition:c,unstable_defaultShouldRevalidate:u});d?C.startTransition(()=>w()):w()}},[g,h,m,n,i,r,t,e,o,a,c,u,d])}var WU=0,GU=()=>`__${String(++WU)}__`;function qU(){let{router:e}=wj("useSubmit"),{basename:t}=C.useContext(Pn),n=uU(),i=e.fetch,r=e.navigate;return C.useCallback(async(o,a={})=>{let{action:c,method:u,encType:d,formData:h,body:g}=CU(o,t);if(a.navigate===!1){let m=a.fetcherKey||GU();await i(m,n,a.action||c,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:g,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await r(a.action||c,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:g,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[i,r,t,n])}function YU(e,{relative:t}={}){let{basename:n}=C.useContext(Pn),i=C.useContext(ki);tt(i,"useFormAction must be used inside a RouteContext");let[r]=i.matches.slice(-1),o={...Ou(e||".",{relative:t})},a=vi();if(e==null){o.search=a.search;let c=new URLSearchParams(o.search),u=c.getAll("index");if(u.some(h=>h==="")){c.delete("index"),u.filter(g=>g).forEach(g=>c.append("index",g));let h=c.toString();o.search=h?`?${h}`:""}}return(!e||e===".")&&r.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:ui([n,o.pathname])),tu(o)}function KU(e,{relative:t}={}){let n=C.useContext(fj);tt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=wj("useViewTransitionState"),r=Ou(e,{relative:t});if(!n.isTransitioning)return!1;let o=yr(n.currentLocation.pathname,i)||n.currentLocation.pathname,a=yr(n.nextLocation.pathname,i)||n.nextLocation.pathname;return Ph(r.pathname,a)!=null||Ph(r.pathname,o)!=null}const XU="_loading_wpm96_1",QU="_spinner_wpm96_9",fR={loading:XU,spinner:QU},ZU=({height:e})=>{const t=e?{height:e}:{};return S.jsx("div",{className:fR.loading,style:t,children:S.jsx("div",{className:fR.spinner})})},JU=e=>({apiConfig:Ni(e),apiConfigs:m1(e)});function e9({apiConfig:e,apiConfigs:t}){return C.useEffect(()=>{let n="yacd";if(t.length>1)try{n=`${new URL(e.baseURL).host} - yacd`}catch{}document.title=n}),S.jsx(S.Fragment,{})}const t9=cn(JU)(e9);var _j={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},dR=q.createContext&&q.createContext(_j),n9=["attr","size","title"];function i9(e,t){if(e==null)return{};var n,i,r=r9(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function r9(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function Lh(){return Lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Lh.apply(null,arguments)}function hR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Nh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hR(Object(n),!0).forEach(function(i){o9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hR(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function o9(e,t,n){return(t=s9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s9(e){var t=a9(e,"string");return typeof t=="symbol"?t:t+""}function a9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Cj(e){return e&&e.map((t,n)=>q.createElement(t.tag,Nh({key:n},t.attr),Cj(t.child)))}function Ja(e){return t=>q.createElement(l9,Lh({attr:Nh({},e.attr)},t),Cj(e.child))}function l9(e){var t=n=>{var{attr:i,size:r,title:o}=e,a=i9(e,n9),c=r||n.size||"1em",u;return n.className&&(u=n.className),e.className&&(u=(u?u+" ":"")+e.className),q.createElement("svg",Lh({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,a,{className:u,style:Nh(Nh({color:e.color||n.color},n.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&q.createElement("title",null,o),e.children)};return dR!==void 0?q.createElement(dR.Consumer,null,n=>t(n)):t(_j)}function c9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#607D8B",d:"M39.6,27.2c0.1-0.7,0.2-1.4,0.2-2.2s-0.1-1.5-0.2-2.2l4.5-3.2c0.4-0.3,0.6-0.9,0.3-1.4L40,10.8 c-0.3-0.5-0.8-0.7-1.3-0.4l-5,2.3c-1.2-0.9-2.4-1.6-3.8-2.2l-0.5-5.5c-0.1-0.5-0.5-0.9-1-0.9h-8.6c-0.5,0-1,0.4-1,0.9l-0.5,5.5 c-1.4,0.6-2.7,1.3-3.8,2.2l-5-2.3c-0.5-0.2-1.1,0-1.3,0.4l-4.3,7.4c-0.3,0.5-0.1,1.1,0.3,1.4l4.5,3.2c-0.1,0.7-0.2,1.4-0.2,2.2 s0.1,1.5,0.2,2.2L4,30.4c-0.4,0.3-0.6,0.9-0.3,1.4L8,39.2c0.3,0.5,0.8,0.7,1.3,0.4l5-2.3c1.2,0.9,2.4,1.6,3.8,2.2l0.5,5.5 c0.1,0.5,0.5,0.9,1,0.9h8.6c0.5,0,1-0.4,1-0.9l0.5-5.5c1.4-0.6,2.7-1.3,3.8-2.2l5,2.3c0.5,0.2,1.1,0,1.3-0.4l4.3-7.4 c0.3-0.5,0.1-1.1-0.3-1.4L39.6,27.2z M24,35c-5.5,0-10-4.5-10-10c0-5.5,4.5-10,10-10c5.5,0,10,4.5,10,10C34,30.5,29.5,35,24,35z"},child:[]},{tag:"path",attr:{fill:"#455A64",d:"M24,13c-6.6,0-12,5.4-12,12c0,6.6,5.4,12,12,12s12-5.4,12-12C36,18.4,30.6,13,24,13z M24,30 c-2.8,0-5-2.2-5-5c0-2.8,2.2-5,5-5s5,2.2,5,5C29,27.8,26.8,30,24,30z"},child:[]}]})(e)}function u9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"rect",attr:{x:"16.7",y:"1.6",transform:"matrix(-.707 -.707 .707 -.707 24 57.941)",fill:"#FFA000",width:"14.6",height:"44.8"},child:[]},{tag:"g",attr:{fill:"#9E6400"},child:[{tag:"rect",attr:{x:"17.9",y:"20.2",transform:"matrix(-.707 -.707 .707 -.707 21.177 51.125)",width:"6.6",height:"2"},child:[]},{tag:"rect",attr:{x:"22.3",y:"15.2",transform:"matrix(-.707 -.707 .707 -.707 29.833 44.71)",width:"3.7",height:"2"},child:[]},{tag:"rect",attr:{x:"25.9",y:"12.2",transform:"matrix(-.707 -.707 .707 -.707 40.49 43.125)",width:"6.6",height:"2"},child:[]},{tag:"rect",attr:{x:"31.2",y:"6.3",transform:"matrix(.707 -.707 .707 .707 3.643 25.147)",width:"2",height:"3.7"},child:[]},{tag:"rect",attr:{x:"6.3",y:"31.2",transform:"matrix(-.707 -.707 .707 -.707 -8.794 60.71)",width:"3.7",height:"2"},child:[]},{tag:"rect",attr:{x:"9.9",y:"28.2",transform:"matrix(-.707 -.707 .707 -.707 1.863 59.125)",width:"6.6",height:"2"},child:[]},{tag:"rect",attr:{x:"14.3",y:"23.2",transform:"matrix(-.707 -.707 .707 -.707 10.52 52.71)",width:"3.7",height:"2"},child:[]}]}]})(e)}function f9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"g",attr:{fill:"#1976D2"},child:[{tag:"path",attr:{d:"M38,13h-3c-5.5,0-10,4.5-10,10s4.5,10,10,10h3c5.5,0,10-4.5,10-10S43.5,13,38,13z M38,29h-3 c-3.3,0-6-2.7-6-6s2.7-6,6-6h3c3.3,0,6,2.7,6,6S41.3,29,38,29z"},child:[]},{tag:"path",attr:{d:"M13,13h-3C4.5,13,0,17.5,0,23s4.5,10,10,10h3c5.5,0,10-4.5,10-10S18.5,13,13,13z M13,29h-3 c-3.3,0-6-2.7-6-6s2.7-6,6-6h3c3.3,0,6,2.7,6,6S16.3,29,13,29z"},child:[]}]},{tag:"path",attr:{fill:"#42A5F5",d:"M33,21H15c-1.1,0-2,0.9-2,2s0.9,2,2,2h18c1.1,0,2-0.9,2-2S34.1,21,33,21z"},child:[]}]})(e)}function d9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#7CB342",d:"M24,4C13,4,4,13,4,24s9,20,20,20s20-9,20-20S35,4,24,4z"},child:[]},{tag:"path",attr:{fill:"#0277BD",d:"M45,24c0,11.7-9.5,21-21,21S3,35.7,3,24S12.3,3,24,3S45,12.3,45,24z M23.8,33.7c0-0.4-0.2-0.6-0.6-0.8 c-1.3-0.4-2.5-0.4-3.6-1.5c-0.2-0.4-0.2-0.8-0.4-1.3c-0.4-0.4-1.5-0.6-2.1-0.8c-0.8,0-1.7,0-2.7,0c-0.4,0-1.1,0-1.5,0 c-0.6-0.2-1.1-1.1-1.5-1.7c0-0.2,0-0.6-0.4-0.6c-0.4-0.2-0.8,0.2-1.3,0c-0.2-0.2-0.2-0.4-0.2-0.6c0-0.6,0.4-1.3,0.8-1.7 c0.6-0.4,1.3,0.2,1.9,0.2c0.2,0,0.2,0,0.4,0.2c0.6,0.2,0.8,1,0.8,1.7c0,0.2,0,0.4,0,0.4c0,0.2,0.2,0.2,0.4,0.2 c0.2-1.1,0.2-2.1,0.4-3.2c0-1.3,1.3-2.5,2.3-2.9c0.4-0.2,0.6,0.2,1.1,0c1.3-0.4,4.4-1.7,3.8-3.4c-0.4-1.5-1.7-2.9-3.4-2.7 c-0.4,0.2-0.6,0.4-1,0.6c-0.6,0.4-1.9,1.7-2.5,1.7c-1.1-0.2-1.1-1.7-0.8-2.3c0.2-0.8,2.1-3.6,3.4-3.1c0.2,0.2,0.6,0.6,0.8,0.8 c0.4,0.2,1.1,0.2,1.7,0.2c0.2,0,0.4,0,0.6-0.2c0.2-0.2,0.2-0.2,0.2-0.4c0-0.6-0.6-1.3-1-1.7c-0.4-0.4-1.1-0.8-1.7-1.1 c-2.1-0.6-5.5,0.2-7.1,1.7s-2.9,4-3.8,6.1c-0.4,1.3-0.8,2.9-1,4.4c-0.2,1-0.4,1.9,0.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.5c-0.2,1.1-0.8,1.9-1.3,2.9 c-0.4,0.6-0.6,1.3-1,1.9c0,0.8-0.2,1.5,0.2,2.1c1,1.5,2.9,0.6,4.4,1.3c0.4,0.2,0.8,0.2,1.1,0.6c0.6,0.6,0.6,1.7,0.8,2.3 c0.2,0.8,0.4,1.7,0.8,2.5c0.2,1,0.6,2.1,0.8,2.9c1.9-1.5,3.6-3.1,4.8-5.2C40.6,32.4,41.2,30.7,41.8,29z"},child:[]}]})(e)}function h9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"polygon",attr:{fill:"#90CAF9",points:"40,45 8,45 8,3 30,3 40,13"},child:[]},{tag:"polygon",attr:{fill:"#E1F5FE",points:"38.5,14 29,14 29,4.5"},child:[]},{tag:"g",attr:{fill:"#1976D2"},child:[{tag:"rect",attr:{x:"16",y:"21",width:"17",height:"2"},child:[]},{tag:"rect",attr:{x:"16",y:"25",width:"13",height:"2"},child:[]},{tag:"rect",attr:{x:"16",y:"29",width:"17",height:"2"},child:[]},{tag:"rect",attr:{x:"16",y:"33",width:"13",height:"2"},child:[]}]}]})(e)}function p9(e){return Ja({attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"polygon",attr:{fill:"#3F51B5",points:"42,37 6,37 6,25 16,10 30,17 42,6"},child:[]},{tag:"polygon",attr:{fill:"#00BCD4",points:"42,42 6,42 6,32 16,24 30,26 42,17"},child:[]}]})(e)}async function Bp(e,t){let n={};try{const{url:i,init:r}=qe(t),o=await fetch(i+e,r);o.ok&&(n=await o.json())}catch(i){console.log(`failed to fetch ${e}`,i)}return n}var L1=Ux();const ee=Ua(L1);function i0(){return i0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i0.apply(this,arguments)}function g9(e,t){if(e==null)return{};var n=m9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function m9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Hp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=g9(e,["color","size"]);return q.createElement("svg",i0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12"}))});Hp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Hp.displayName="Activity";function r0(){return r0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r0.apply(this,arguments)}function y9(e,t){if(e==null)return{};var n=v9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function v9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var N1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=y9(e,["color","size"]);return q.createElement("svg",r0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"10"}),q.createElement("polyline",{points:"8 12 12 16 16 12"}),q.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"16"}))});N1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};N1.displayName="ArrowDownCircle";function o0(){return o0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o0.apply(this,arguments)}function b9(e,t){if(e==null)return{};var n=x9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function x9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var el=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=b9(e,["color","size"]);return q.createElement("svg",o0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),q.createElement("polyline",{points:"19 12 12 19 5 12"}))});el.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};el.displayName="ArrowDown";function s0(){return s0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s0.apply(this,arguments)}function S9(e,t){if(e==null)return{};var n=w9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function w9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Eu=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=S9(e,["color","size"]);return q.createElement("svg",s0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),q.createElement("polyline",{points:"5 12 12 5 19 12"}))});Eu.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Eu.displayName="ArrowUp";function a0(){return a0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a0.apply(this,arguments)}function _9(e,t){if(e==null)return{};var n=C9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function C9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var ms=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=_9(e,["color","size"]);return q.createElement("svg",a0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"6 9 12 15 18 9"}))});ms.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};ms.displayName="ChevronDown";function l0(){return l0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l0.apply(this,arguments)}function O9(e,t){if(e==null)return{};var n=E9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function E9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var k1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=O9(e,["color","size"]);return q.createElement("svg",l0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"18 15 12 9 6 15"}))});k1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};k1.displayName="ChevronUp";function c0(){return c0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},c0.apply(this,arguments)}function R9(e,t){if(e==null)return{};var n=T9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function T9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Vp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=R9(e,["color","size"]);return q.createElement("svg",c0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",ry:"2"}),q.createElement("rect",{x:"9",y:"9",width:"6",height:"6"}),q.createElement("line",{x1:"9",y1:"1",x2:"9",y2:"4"}),q.createElement("line",{x1:"15",y1:"1",x2:"15",y2:"4"}),q.createElement("line",{x1:"9",y1:"20",x2:"9",y2:"23"}),q.createElement("line",{x1:"15",y1:"20",x2:"15",y2:"23"}),q.createElement("line",{x1:"20",y1:"9",x2:"23",y2:"9"}),q.createElement("line",{x1:"20",y1:"14",x2:"23",y2:"14"}),q.createElement("line",{x1:"1",y1:"9",x2:"4",y2:"9"}),q.createElement("line",{x1:"1",y1:"14",x2:"4",y2:"14"}))});Vp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Vp.displayName="Cpu";function u0(){return u0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},u0.apply(this,arguments)}function M9(e,t){if(e==null)return{};var n=A9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function A9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var I1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=M9(e,["color","size"]);return q.createElement("svg",u0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),q.createElement("path",{d:"M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"}),q.createElement("path",{d:"M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"}))});I1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};I1.displayName="Database";function f0(){return f0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f0.apply(this,arguments)}function D9(e,t){if(e==null)return{};var n=P9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function P9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var kh=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=D9(e,["color","size"]);return q.createElement("svg",f0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"8 17 12 21 16 17"}),q.createElement("line",{x1:"12",y1:"12",x2:"12",y2:"21"}),q.createElement("path",{d:"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"}))});kh.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};kh.displayName="DownloadCloud";function d0(){return d0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},d0.apply(this,arguments)}function j9(e,t){if(e==null)return{};var n=L9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function L9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var z1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=j9(e,["color","size"]);return q.createElement("svg",d0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),q.createElement("polyline",{points:"7 10 12 15 17 10"}),q.createElement("line",{x1:"12",y1:"15",x2:"12",y2:"3"}))});z1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};z1.displayName="Download";function h0(){return h0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h0.apply(this,arguments)}function N9(e,t){if(e==null)return{};var n=k9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function k9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var $1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=N9(e,["color","size"]);return q.createElement("svg",h0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),q.createElement("line",{x1:"1",y1:"1",x2:"23",y2:"23"}))});$1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};$1.displayName="EyeOff";function p0(){return p0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},p0.apply(this,arguments)}function I9(e,t){if(e==null)return{};var n=z9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function z9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var F1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=I9(e,["color","size"]);return q.createElement("svg",p0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),q.createElement("circle",{cx:"12",cy:"12",r:"3"}))});F1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};F1.displayName="Eye";function g0(){return g0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g0.apply(this,arguments)}function $9(e,t){if(e==null)return{};var n=F9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function F9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var B1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=$9(e,["color","size"]);return q.createElement("svg",g0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),q.createElement("polyline",{points:"14 2 14 8 20 8"}),q.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),q.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),q.createElement("polyline",{points:"10 9 9 9 8 9"}))});B1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};B1.displayName="FileText";function m0(){return m0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m0.apply(this,arguments)}function B9(e,t){if(e==null)return{};var n=H9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function H9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var H1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=B9(e,["color","size"]);return q.createElement("svg",m0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"}))});H1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};H1.displayName="GitHub";function y0(){return y0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},y0.apply(this,arguments)}function V9(e,t){if(e==null)return{};var n=U9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function U9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var V1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=V9(e,["color","size"]);return q.createElement("svg",y0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"10"}),q.createElement("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),q.createElement("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}))});V1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};V1.displayName="Globe";function v0(){return v0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v0.apply(this,arguments)}function W9(e,t){if(e==null)return{};var n=G9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function G9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var U1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=W9(e,["color","size"]);return q.createElement("svg",v0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"4",y1:"9",x2:"20",y2:"9"}),q.createElement("line",{x1:"4",y1:"15",x2:"20",y2:"15"}),q.createElement("line",{x1:"10",y1:"3",x2:"8",y2:"21"}),q.createElement("line",{x1:"16",y1:"3",x2:"14",y2:"21"}))});U1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};U1.displayName="Hash";function b0(){return b0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},b0.apply(this,arguments)}function q9(e,t){if(e==null)return{};var n=Y9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Y9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var W1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=q9(e,["color","size"]);return q.createElement("svg",b0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"10"}),q.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),q.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"}))});W1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};W1.displayName="Info";function x0(){return x0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},x0.apply(this,arguments)}function K9(e,t){if(e==null)return{};var n=X9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function X9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Up=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=K9(e,["color","size"]);return q.createElement("svg",x0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),q.createElement("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}))});Up.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Up.displayName="Link";function S0(){return S0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S0.apply(this,arguments)}function Q9(e,t){if(e==null)return{};var n=Z9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Z9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var G1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=Q9(e,["color","size"]);return q.createElement("svg",S0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),q.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}))});G1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};G1.displayName="Lock";function w0(){return w0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},w0.apply(this,arguments)}function J9(e,t){if(e==null)return{};var n=e7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function e7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var q1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=J9(e,["color","size"]);return q.createElement("svg",w0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),q.createElement("polyline",{points:"16 17 21 12 16 7"}),q.createElement("line",{x1:"21",y1:"12",x2:"9",y2:"12"}))});q1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};q1.displayName="LogOut";function _0(){return _0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_0.apply(this,arguments)}function t7(e,t){if(e==null)return{};var n=n7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function n7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Y1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=t7(e,["color","size"]);return q.createElement("svg",_0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),q.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),q.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18"}))});Y1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Y1.displayName="Menu";function C0(){return C0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},C0.apply(this,arguments)}function i7(e,t){if(e==null)return{};var n=r7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function r7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var K1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=i7(e,["color","size"]);return q.createElement("svg",C0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}),q.createElement("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),q.createElement("line",{x1:"12",y1:"17",x2:"12",y2:"21"}))});K1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};K1.displayName="Monitor";function O0(){return O0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},O0.apply(this,arguments)}function o7(e,t){if(e==null)return{};var n=s7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function s7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Wp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=o7(e,["color","size"]);return q.createElement("svg",O0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),q.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))});Wp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Wp.displayName="Pause";function E0(){return E0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},E0.apply(this,arguments)}function a7(e,t){if(e==null)return{};var n=l7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function l7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Gp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=a7(e,["color","size"]);return q.createElement("svg",E0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}))});Gp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Gp.displayName="Play";function R0(){return R0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},R0.apply(this,arguments)}function c7(e,t){if(e==null)return{};var n=u7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function u7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var X1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=c7(e,["color","size"]);return q.createElement("svg",R0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"1 4 1 10 7 10"}),q.createElement("polyline",{points:"23 20 23 14 17 14"}),q.createElement("path",{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}))});X1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};X1.displayName="RefreshCcw";function T0(){return T0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},T0.apply(this,arguments)}function f7(e,t){if(e==null)return{};var n=d7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function d7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Q1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=f7(e,["color","size"]);return q.createElement("svg",T0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"23 4 23 10 17 10"}),q.createElement("polyline",{points:"1 20 1 14 7 14"}),q.createElement("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"}))});Q1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Q1.displayName="RefreshCw";function M0(){return M0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},M0.apply(this,arguments)}function h7(e,t){if(e==null)return{};var n=p7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function p7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var as=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=h7(e,["color","size"]);return q.createElement("svg",M0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"23 4 23 10 17 10"}),q.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"}))});as.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};as.displayName="RotateCw";function A0(){return A0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},A0.apply(this,arguments)}function g7(e,t){if(e==null)return{};var n=m7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function m7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var qp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=g7(e,["color","size"]);return q.createElement("svg",A0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"3"}),q.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))});qp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};qp.displayName="Settings";function D0(){return D0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},D0.apply(this,arguments)}function y7(e,t){if(e==null)return{};var n=v7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function v7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Z1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=y7(e,["color","size"]);return q.createElement("svg",D0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}))});Z1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Z1.displayName="Shield";function P0(){return P0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},P0.apply(this,arguments)}function b7(e,t){if(e==null)return{};var n=x7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function x7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var J1=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=b7(e,["color","size"]);return q.createElement("svg",P0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"4",y1:"21",x2:"4",y2:"14"}),q.createElement("line",{x1:"4",y1:"10",x2:"4",y2:"3"}),q.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"12"}),q.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"3"}),q.createElement("line",{x1:"20",y1:"21",x2:"20",y2:"16"}),q.createElement("line",{x1:"20",y1:"12",x2:"20",y2:"3"}),q.createElement("line",{x1:"1",y1:"14",x2:"7",y2:"14"}),q.createElement("line",{x1:"9",y1:"8",x2:"15",y2:"8"}),q.createElement("line",{x1:"17",y1:"16",x2:"23",y2:"16"}))});J1.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};J1.displayName="Sliders";function j0(){return j0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},j0.apply(this,arguments)}function S7(e,t){if(e==null)return{};var n=w7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function w7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var eS=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=S7(e,["color","size"]);return q.createElement("svg",j0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"}),q.createElement("line",{x1:"7",y1:"7",x2:"7.01",y2:"7"}))});eS.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};eS.displayName="Tag";function L0(){return L0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},L0.apply(this,arguments)}function _7(e,t){if(e==null)return{};var n=C7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function C7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var tS=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=_7(e,["color","size"]);return q.createElement("svg",L0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"}))});tS.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};tS.displayName="Tool";function N0(){return N0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},N0.apply(this,arguments)}function O7(e,t){if(e==null)return{};var n=E7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function E7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Yp=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=O7(e,["color","size"]);return q.createElement("svg",N0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"3 6 5 6 21 6"}),q.createElement("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),q.createElement("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),q.createElement("line",{x1:"14",y1:"11",x2:"14",y2:"17"}))});Yp.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Yp.displayName="Trash2";function k0(){return k0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},k0.apply(this,arguments)}function R7(e,t){if(e==null)return{};var n=T7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function T7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var nS=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=R7(e,["color","size"]);return q.createElement("svg",k0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),q.createElement("polyline",{points:"17 8 12 3 7 8"}),q.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"15"}))});nS.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};nS.displayName="Upload";function I0(){return I0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},I0.apply(this,arguments)}function M7(e,t){if(e==null)return{};var n=A7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function A7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var iS=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=M7(e,["color","size"]);return q.createElement("svg",I0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"10"}),q.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),q.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15"}))});iS.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};iS.displayName="XCircle";function z0(){return z0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},z0.apply(this,arguments)}function D7(e,t){if(e==null)return{};var n=P7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function P7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Na=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=D7(e,["color","size"]);return q.createElement("svg",z0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))});Na.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};Na.displayName="X";function $0(){return $0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$0.apply(this,arguments)}function j7(e,t){if(e==null)return{};var n=L7(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function L7(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var ho=C.forwardRef(function(e,t){var n=e.color,i=n===void 0?"currentColor":n,r=e.size,o=r===void 0?24:r,a=j7(e,["color","size"]);return q.createElement("svg",$0({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}))});ho.propTypes={color:ee.string,size:ee.oneOfType([ee.string,ee.number])};ho.displayName="Zap";const N7=C.createContext({});function k7(e){const t=C.useRef(null);return t.current===null&&(t.current=e()),t.current}const I7=typeof window<"u",z7=I7?C.useLayoutEffect:C.useEffect,Oj=C.createContext(null);function $7(e,t){e.indexOf(t)===-1&&e.push(t)}function F7(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const po=(e,t,n)=>n>t?t:n<e?e:n;let rS=()=>{};const go={},Ej=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function B7(e){return typeof e=="object"&&e!==null}const Rj=e=>/^0[^.\s]+$/u.test(e);function Tj(e){let t;return()=>(t===void 0&&(t=e()),t)}const tl=e=>e,H7=(e,t)=>n=>t(e(n)),Kp=(...e)=>e.reduce(H7),Mj=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i};class Aj{constructor(){this.subscriptions=[]}add(t){return $7(this.subscriptions,t),()=>F7(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let o=0;o<r;o++){const a=this.subscriptions[o];a&&a(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const fi=e=>e*1e3,ai=e=>e/1e3;function Dj(e,t){return t?e*(1e3/t):0}const Pj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,V7=1e-7,U7=12;function W7(e,t,n,i,r){let o,a,c=0;do a=t+(n-t)/2,o=Pj(a,i,r)-e,o>0?n=a:t=a;while(Math.abs(o)>V7&&++c<U7);return a}function Ru(e,t,n,i){if(e===t&&n===i)return tl;const r=o=>W7(o,0,1,e,n);return o=>o===0||o===1?o:Pj(r(o),t,i)}const jj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lj=e=>t=>1-e(1-t),Nj=Ru(.33,1.53,.69,.99),oS=Lj(Nj),kj=jj(oS),Ij=e=>e>=1?1:(e*=2)<1?.5*oS(e):.5*(2-Math.pow(2,-10*(e-1))),sS=e=>1-Math.sin(Math.acos(e)),G7=Lj(sS),zj=jj(sS),q7=Ru(.42,0,1,1),Y7=Ru(0,0,.58,1),$j=Ru(.42,0,.58,1),K7=e=>Array.isArray(e)&&typeof e[0]!="number",Fj=e=>Array.isArray(e)&&typeof e[0]=="number",X7={linear:tl,easeIn:q7,easeInOut:$j,easeOut:Y7,circIn:sS,circInOut:zj,circOut:G7,backIn:oS,backInOut:kj,backOut:Nj,anticipate:Ij},Q7=e=>typeof e=="string",pR=e=>{if(Fj(e)){rS(e.length===4);const[t,n,i,r]=e;return Ru(t,n,i,r)}else if(Q7(e))return X7[e];return e},bd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Z7(e,t){let n=new Set,i=new Set,r=!1,o=!1;const a=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function u(h){a.has(h)&&(d.schedule(h),e()),h(c)}const d={schedule:(h,g=!1,m=!1)=>{const b=m&&r?n:i;return g&&a.add(h),b.add(h),h},cancel:h=>{i.delete(h),a.delete(h)},process:h=>{if(c=h,r){o=!0;return}r=!0;const g=n;n=i,i=g,n.forEach(u),n.clear(),r=!1,o&&(o=!1,d.process(h))}};return d}const J7=40;function Bj(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=bd.reduce((T,M)=>(T[M]=Z7(o),T),{}),{setup:c,read:u,resolveKeyframes:d,preUpdate:h,update:g,preRender:m,render:y,postRender:b}=a,w=()=>{const T=go.useManualTiming,M=T?r.timestamp:performance.now();n=!1,T||(r.delta=i?1e3/60:Math.max(Math.min(M-r.timestamp,J7),1)),r.timestamp=M,r.isProcessing=!0,c.process(r),u.process(r),d.process(r),h.process(r),g.process(r),m.process(r),y.process(r),b.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(w))},_=()=>{n=!0,i=!0,r.isProcessing||e(w)};return{schedule:bd.reduce((T,M)=>{const D=a[M];return T[M]=(P,I=!1,z=!1)=>(n||_(),D.schedule(P,I,z)),T},{}),cancel:T=>{for(let M=0;M<bd.length;M++)a[bd[M]].cancel(T)},state:r,steps:a}}const{schedule:Xn,cancel:F0,state:Ih}=Bj(typeof requestAnimationFrame<"u"?requestAnimationFrame:tl,!0);let ih;function eW(){ih=void 0}const En={now:()=>(ih===void 0&&En.set(Ih.isProcessing||go.useManualTiming?Ih.timestamp:performance.now()),ih),set:e=>{ih=e,queueMicrotask(eW)}},Hj=e=>t=>typeof t=="string"&&t.startsWith(e),Vj=Hj("--"),tW=Hj("var(--"),aS=e=>tW(e)?nW.test(e.split("/*")[0].trim()):!1,nW=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gR(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const nl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},nu={...nl,transform:e=>po(0,1,e)},xd={...nl,default:1},Pc=e=>Math.round(e*1e5)/1e5,lS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function iW(e){return e==null}const rW=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cS=(e,t)=>n=>!!(typeof n=="string"&&rW.test(n)&&n.startsWith(e)||t&&!iW(n)&&Object.prototype.hasOwnProperty.call(n,t)),Uj=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,o,a,c]=i.match(lS);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},oW=e=>po(0,255,e),pv={...nl,transform:e=>Math.round(oW(e))},ts={test:cS("rgb","red"),parse:Uj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+pv.transform(e)+", "+pv.transform(t)+", "+pv.transform(n)+", "+Pc(nu.transform(i))+")"};function sW(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const B0={test:cS("#"),parse:sW,transform:ts.transform},Tu=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Yr=Tu("deg"),Ra=Tu("%"),fe=Tu("px"),aW=Tu("vh"),lW=Tu("vw"),mR={...Ra,parse:e=>Ra.parse(e)/100,transform:e=>Ra.transform(e*100)},Sa={test:cS("hsl","hue"),parse:Uj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ra.transform(Pc(t))+", "+Ra.transform(Pc(n))+", "+Pc(nu.transform(i))+")"},mt={test:e=>ts.test(e)||B0.test(e)||Sa.test(e),parse:e=>ts.test(e)?ts.parse(e):Sa.test(e)?Sa.parse(e):B0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ts.transform(e):Sa.transform(e),getAnimatableNone:e=>{const t=mt.parse(e);return t.alpha=0,mt.transform(t)}},cW=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function uW(e){return isNaN(e)&&typeof e=="string"&&(e.match(lS)?.length||0)+(e.match(cW)?.length||0)>0}const Wj="number",Gj="color",fW="var",dW="var(",yR="${}",hW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ka(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const c=t.replace(hW,u=>(mt.test(u)?(i.color.push(o),r.push(Gj),n.push(mt.parse(u))):u.startsWith(dW)?(i.var.push(o),r.push(fW),n.push(u)):(i.number.push(o),r.push(Wj),n.push(parseFloat(u))),++o,yR)).split(yR);return{values:n,split:c,indexes:i,types:r}}function pW(e){return ka(e).values}function qj({split:e,types:t}){const n=e.length;return i=>{let r="";for(let o=0;o<n;o++)if(r+=e[o],i[o]!==void 0){const a=t[o];a===Wj?r+=Pc(i[o]):a===Gj?r+=mt.transform(i[o]):r+=i[o]}return r}}function gW(e){return qj(ka(e))}const mW=e=>typeof e=="number"?0:mt.test(e)?mt.getAnimatableNone(e):e,yW=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:mW(e);function vW(e){const t=ka(e);return qj(t)(t.values.map((i,r)=>yW(i,t.split[r])))}const di={test:uW,parse:pW,createTransformer:gW,getAnimatableNone:vW};function gv(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function bW({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,o=0,a=0;if(!t)r=o=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;r=gv(u,c,e+1/3),o=gv(u,c,e),a=gv(u,c,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:i}}function zh(e,t){return n=>n>0?t:e}const Mu=(e,t,n)=>e+(t-e)*n,mv=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},xW=[B0,ts,Sa],SW=e=>xW.find(t=>t.test(e));function vR(e){const t=SW(e);if(!t)return!1;let n=t.parse(e);return t===Sa&&(n=bW(n)),n}const bR=(e,t)=>{const n=vR(e),i=vR(t);if(!n||!i)return zh(e,t);const r={...n};return o=>(r.red=mv(n.red,i.red,o),r.green=mv(n.green,i.green,o),r.blue=mv(n.blue,i.blue,o),r.alpha=Mu(n.alpha,i.alpha,o),ts.transform(r))},H0=new Set(["none","hidden"]);function wW(e,t){return H0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function _W(e,t){return n=>Mu(e,t,n)}function uS(e){return typeof e=="number"?_W:typeof e=="string"?aS(e)?zh:mt.test(e)?bR:EW:Array.isArray(e)?Yj:typeof e=="object"?mt.test(e)?bR:CW:zh}function Yj(e,t){const n=[...e],i=n.length,r=e.map((o,a)=>uS(o)(o,t[a]));return o=>{for(let a=0;a<i;a++)n[a]=r[a](o);return n}}function CW(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=uS(e[r])(e[r],t[r]));return r=>{for(const o in i)n[o]=i[o](r);return n}}function OW(e,t){const n=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const o=t.types[r],a=e.indexes[o][i[o]],c=e.values[a]??0;n[r]=c,i[o]++}return n}const EW=(e,t)=>{const n=di.createTransformer(t),i=ka(e),r=ka(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?H0.has(e)&&!r.values.length||H0.has(t)&&!i.values.length?wW(e,t):Kp(Yj(OW(i,r),r.values),n):zh(e,t)};function Kj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Mu(e,t,n):uS(e)(e,t)}const RW=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Xn.update(t,n),stop:()=>F0(t),now:()=>Ih.isProcessing?Ih.timestamp:En.now()}},Xj=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let o=0;o<r;o++)i+=Math.round(e(o/(r-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},$h=2e4;function fS(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<$h;)t+=n,i=e.next(t);return t>=$h?1/0:t}function TW(e,t=100,n){const i=n({...e,keyframes:[0,t]}),r=Math.min(fS(i),$h);return{type:"keyframes",ease:o=>i.next(r*o).value/t,duration:ai(r)}}const at={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function V0(e,t){return e*Math.sqrt(1-t*t)}const MW=12;function AW(e,t,n){let i=n;for(let r=1;r<MW;r++)i=i-e(i)/t(i);return i}const yv=.001;function DW({duration:e=at.duration,bounce:t=at.bounce,velocity:n=at.velocity,mass:i=at.mass}){let r,o,a=1-t;a=po(at.minDamping,at.maxDamping,a),e=po(at.minDuration,at.maxDuration,ai(e)),a<1?(r=d=>{const h=d*a,g=h*e,m=h-n,y=V0(d,a),b=Math.exp(-g);return yv-m/y*b},o=d=>{const g=d*a*e,m=g*n+n,y=Math.pow(a,2)*Math.pow(d,2)*e,b=Math.exp(-g),w=V0(Math.pow(d,2),a);return(-r(d)+yv>0?-1:1)*((m-y)*b)/w}):(r=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-yv+h*g},o=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=AW(r,o,c);if(e=fi(e),isNaN(u))return{stiffness:at.stiffness,damping:at.damping,duration:e};{const d=Math.pow(u,2)*i;return{stiffness:d,damping:a*2*Math.sqrt(i*d),duration:e}}}const PW=["duration","bounce"],jW=["stiffness","damping","mass"];function xR(e,t){return t.some(n=>e[n]!==void 0)}function LW(e){let t={velocity:at.velocity,stiffness:at.stiffness,damping:at.damping,mass:at.mass,isResolvedFromDuration:!1,...e};if(!xR(e,jW)&&xR(e,PW))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,o=2*po(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:at.mass,stiffness:r,damping:o}}else{const n=DW({...e,velocity:0});t={...t,...n,mass:at.mass},t.isResolvedFromDuration=!0}return t}function Fh(e=at.visualDuration,t=at.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:u,damping:d,mass:h,duration:g,velocity:m,isResolvedFromDuration:y}=LW({...n,velocity:-ai(n.velocity||0)}),b=m||0,w=d/(2*Math.sqrt(u*h)),_=a-o,O=ai(Math.sqrt(u/h)),R=Math.abs(_)<5;i||(i=R?at.restSpeed.granular:at.restSpeed.default),r||(r=R?at.restDelta.granular:at.restDelta.default);let T,M,D,P,I,z;if(w<1)D=V0(O,w),P=(b+w*O*_)/D,T=$=>{const W=Math.exp(-w*O*$);return a-W*(P*Math.sin(D*$)+_*Math.cos(D*$))},I=w*O*P+_*D,z=w*O*_-P*D,M=$=>Math.exp(-w*O*$)*(I*Math.sin(D*$)+z*Math.cos(D*$));else if(w===1){T=W=>a-Math.exp(-O*W)*(_+(b+O*_)*W);const $=b+O*_;M=W=>Math.exp(-O*W)*(O*$*W-b)}else{const $=O*Math.sqrt(w*w-1);T=H=>{const L=Math.exp(-w*O*H),N=Math.min($*H,300);return a-L*((b+w*O*_)*Math.sinh(N)+$*_*Math.cosh(N))/$};const W=(b+w*O*_)/$,Y=w*O*W-_*$,B=w*O*_-W*$;M=H=>{const L=Math.exp(-w*O*H),N=Math.min($*H,300);return L*(Y*Math.sinh(N)+B*Math.cosh(N))}}const U={calculatedDuration:y&&g||null,velocity:$=>fi(M($)),next:$=>{if(!y&&w<1){const Y=Math.exp(-w*O*$),B=Math.sin(D*$),H=Math.cos(D*$),L=a-Y*(P*B+_*H),N=fi(Y*(I*B+z*H));return c.done=Math.abs(N)<=i&&Math.abs(a-L)<=r,c.value=c.done?a:L,c}const W=T($);if(y)c.done=$>=g;else{const Y=fi(M($));c.done=Math.abs(Y)<=i&&Math.abs(a-W)<=r}return c.value=c.done?a:W,c},toString:()=>{const $=Math.min(fS(U),$h),W=Xj(Y=>U.next($*Y).value,$,30);return $+"ms "+W},toTransition:()=>{}};return U}Fh.applyToOptions=e=>{const t=TW(e,100,Fh);return e.ease=t.ease,e.duration=fi(t.duration),e.type="keyframes",e};const NW=5;function Qj(e,t,n){const i=Math.max(t-NW,0);return Dj(n-e(i),t-i)}function U0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:a,min:c,max:u,restDelta:d=.5,restSpeed:h}){const g=e[0],m={done:!1,value:g},y=z=>c!==void 0&&z<c||u!==void 0&&z>u,b=z=>c===void 0?u:u===void 0||Math.abs(c-z)<Math.abs(u-z)?c:u;let w=n*t;const _=g+w,O=a===void 0?_:a(_);O!==_&&(w=O-g);const R=z=>-w*Math.exp(-z/i),T=z=>O+R(z),M=z=>{const U=R(z),$=T(z);m.done=Math.abs(U)<=d,m.value=m.done?O:$};let D,P;const I=z=>{y(m.value)&&(D=z,P=Fh({keyframes:[m.value,b(m.value)],velocity:Qj(T,z,m.value),damping:r,stiffness:o,restDelta:d,restSpeed:h}))};return I(0),{calculatedDuration:null,next:z=>{let U=!1;return!P&&D===void 0&&(U=!0,M(z),I(z)),D!==void 0&&z>=D?P.next(z-D):(!U&&M(z),m)}}}function kW(e,t,n){const i=[],r=n||go.mix||Kj,o=e.length-1;for(let a=0;a<o;a++){let c=r(e[a],e[a+1]);if(t){const u=Array.isArray(t)?t[a]||tl:t;c=Kp(u,c)}i.push(c)}return i}function IW(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(rS(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=kW(t,i,r),u=c.length,d=h=>{if(a&&h<e[0])return t[0];let g=0;if(u>1)for(;g<e.length-2&&!(h<e[g+1]);g++);const m=Mj(e[g],e[g+1],h);return c[g](m)};return n?h=>d(po(e[0],e[o-1],h)):d}function zW(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=Mj(0,t,i);e.push(Mu(n,1,r))}}function $W(e){const t=[0];return zW(t,e.length-1),t}function FW(e,t){return e.map(n=>n*t)}function BW(e,t){return e.map(()=>t||$j).splice(0,e.length-1)}function jc({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=K7(i)?i.map(pR):pR(i),o={done:!1,value:t[0]},a=FW(n&&n.length===t.length?n:$W(t),e),c=IW(a,t,{ease:Array.isArray(r)?r:BW(t,r)});return{calculatedDuration:e,next:u=>(o.value=c(u),o.done=u>=e,o)}}const HW=e=>e!==null;function Xp(e,{repeat:t,repeatType:n="loop"},i,r=1){const o=e.filter(HW),c=r<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const VW={decay:U0,inertia:U0,tween:jc,keyframes:jc,spring:Fh};function Zj(e){typeof e.type=="string"&&(e.type=VW[e.type])}class dS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const UW=e=>e/100;class Bh extends dS{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==En.now()&&this.tick(En.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Zj(t);const{type:n=jc,repeat:i=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=t;let{keyframes:c}=t;const u=n||jc;u!==jc&&typeof c[0]!="number"&&(this.mixKeyframes=Kp(UW,Kj(c[0],c[1])),c=[0,100]);const d=u({...t,keyframes:c});o==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...c].reverse(),velocity:-a})),d.calculatedDuration===null&&(d.calculatedDuration=fS(d));const{calculatedDuration:h}=d;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:i,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:c,calculatedDuration:u}=this;if(this.startTime===null)return i.next(0);const{delay:d=0,keyframes:h,repeat:g,repeatType:m,repeatDelay:y,type:b,onUpdate:w,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const O=this.currentTime-d*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?O<0:O>r;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let T=this.currentTime,M=i;if(g){const z=Math.min(this.currentTime,r)/c;let U=Math.floor(z),$=z%1;!$&&z>=1&&($=1),$===1&&U--,U=Math.min(U,g+1),U%2&&(m==="reverse"?($=1-$,y&&($-=y/c)):m==="mirror"&&(M=a)),T=po(0,1,$)*c}let D;R?(this.delayState.value=h[0],D=this.delayState):D=M.next(T),o&&!R&&(D.value=o(D.value));let{done:P}=D;!R&&u!==null&&(P=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return I&&b!==U0&&(D.value=Xp(h,this.options,_,this.speed)),w&&w(D.value),I&&this.finish(),D}then(t,n){return this.finished.then(t,n)}get duration(){return ai(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ai(t)}get time(){return ai(this.currentTime)}set time(t){t=fi(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Qj(i=>this.generator.next(i).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(En.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ai(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=RW,startTime:n}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=n??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(En.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function WW(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const ns=e=>e*180/Math.PI,W0=e=>{const t=ns(Math.atan2(e[1],e[0]));return G0(t)},GW={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:W0,rotateZ:W0,skewX:e=>ns(Math.atan(e[1])),skewY:e=>ns(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},G0=e=>(e=e%360,e<0&&(e+=360),e),SR=W0,wR=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),_R=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),qW={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:wR,scaleY:_R,scale:e=>(wR(e)+_R(e))/2,rotateX:e=>G0(ns(Math.atan2(e[6],e[5]))),rotateY:e=>G0(ns(Math.atan2(-e[2],e[0]))),rotateZ:SR,rotate:SR,skewX:e=>ns(Math.atan(e[4])),skewY:e=>ns(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function q0(e){return e.includes("scale")?1:0}function Y0(e,t){if(!e||e==="none")return q0(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=qW,r=n;else{const c=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=GW,r=c}if(!r)return q0(t);const o=i[t],a=r[1].split(",").map(KW);return typeof o=="function"?o(a):a[o]}const YW=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Y0(n,t)};function KW(e){return parseFloat(e.trim())}const il=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rl=new Set(il),CR=e=>e===nl||e===fe,XW=new Set(["x","y","z"]),QW=il.filter(e=>!XW.has(e));function ZW(e){const t=[];return QW.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const Xr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:i})=>{const r=e.max-e.min;return i==="border-box"?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:i})=>{const r=e.max-e.min;return i==="border-box"?r:r-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Y0(t,"x"),y:(e,{transform:t})=>Y0(t,"y")};Xr.translateX=Xr.x;Xr.translateY=Xr.y;const ls=new Set;let K0=!1,X0=!1,Q0=!1;function Jj(){if(X0){const e=Array.from(ls).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=ZW(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([o,a])=>{i.getValue(o)?.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}X0=!1,K0=!1,ls.forEach(e=>e.complete(Q0)),ls.clear()}function eL(){ls.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(X0=!0)})}function JW(){Q0=!0,eL(),Jj(),Q0=!1}class hS{constructor(t,n,i,r,o,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=o,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(ls.add(this),K0||(K0=!0,Xn.read(eL),Xn.resolveKeyframes(Jj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;if(t[0]===null){const o=r?.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const c=i.readValue(n,a);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=a),r&&o===void 0&&r.set(t[0])}WW(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ls.delete(this)}cancel(){this.state==="scheduled"&&(ls.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const eG=e=>e.startsWith("--");function tL(e,t,n){eG(t)?e.style.setProperty(t,n):e.style[t]=n}const tG={};function nL(e,t){const n=Tj(e);return()=>tG[t]??n()}const nG=nL(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),iL=nL(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Cc=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,OR={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cc([0,.65,.55,1]),circOut:Cc([.55,0,1,.45]),backIn:Cc([.31,.01,.66,-.59]),backOut:Cc([.33,1.53,.69,.99])};function rL(e,t){if(e)return typeof e=="function"?iL()?Xj(e,t):"ease-out":Fj(e)?Cc(e):Array.isArray(e)?e.map(n=>rL(n,t)||OR.easeOut):OR[e]}function iG(e,t,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:a="loop",ease:c="easeOut",times:u}={},d=void 0){const h={[t]:n};u&&(h.offset=u);const g=rL(c,r);Array.isArray(g)&&(h.easing=g);const m={delay:i,duration:r,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return d&&(m.pseudoElement=d),e.animate(h,m)}function oL(e){return typeof e=="function"&&"applyToOptions"in e}function rG({type:e,...t}){return oL(e)&&iL()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class sL extends dS{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:i,keyframes:r,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:c,onComplete:u}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,rS(typeof t.type!="string");const d=rG(t);this.animation=iG(n,i,r,d,o),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const h=Xp(r,this.options,c,this.speed);this.updateMotionValue&&this.updateMotionValue(h),tL(n,i,h),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return ai(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ai(t)}get time(){return ai(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=fi(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:i,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&nG()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),i&&(this.animation.rangeEnd=i),tl):r(this)}}const aL={anticipate:Ij,backInOut:kj,circInOut:zj};function oG(e){return e in aL}function sG(e){typeof e.ease=="string"&&oG(e.ease)&&(e.ease=aL[e.ease])}const vv=10;class aG extends sL{constructor(t){sG(t),Zj(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:i,onComplete:r,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const c=new Bh({...a,autoplay:!1}),u=Math.max(vv,En.now()-this.startTime),d=po(0,vv,u-vv),h=c.sample(u).value,{name:g}=this.options;o&&g&&tL(o,g,h),n.setWithVelocity(c.sample(Math.max(0,u-d)).value,h,d),c.stop()}}const ER=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(di.test(e)||e==="0")&&!e.startsWith("url("));function lG(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cG(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=ER(r,t),c=ER(o,t);return!a||!c?!1:lG(e)||(n==="spring"||oL(n))&&i}function Z0(e){e.duration=0,e.type="keyframes"}const lL=new Set(["opacity","clipPath","filter","transform"]),uG=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function fG(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&uG.test(e[t]))return!0;return!1}const dG=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),hG=Tj(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function pG(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:o,type:a,keyframes:c}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:h}=t.owner.getProps();return hG()&&n&&(lL.has(n)||dG.has(n)&&fG(c))&&(n!=="transform"||!h)&&!d&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}const gG=40;class mG extends dS{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a="loop",keyframes:c,name:u,motionValue:d,element:h,...g}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=En.now();const m={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:o,repeatType:a,name:u,motionValue:d,element:h,...g},y=h?.KeyframeResolver||hS;this.keyframeResolver=new y(c,(b,w,_)=>this.onKeyframesResolved(b,w,m,!_),u,d,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,i,r){this.keyframeResolver=void 0;const{name:o,type:a,velocity:c,delay:u,isHandoff:d,onUpdate:h}=i;this.resolvedAt=En.now();let g=!0;cG(t,o,a,c)||(g=!1,(go.instantAnimations||!u)&&h?.(Xp(t,i,n)),t[0]=t[t.length-1],Z0(i),i.repeat=0);const y={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>gG?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:t},b=g&&!d&&pG(y),w=y.motionValue?.owner?.current;let _;if(b)try{_=new aG({...y,element:w})}catch{_=new Bh(y)}else _=new Bh(y);_.finished.then(()=>{this.notifyFinished()}).catch(tl),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),JW()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function cL(e,t,n,i=0,r=1){const o=Array.from(e).sort((d,h)=>d.sortNodePosition(h)).indexOf(t),a=e.size,c=(a-1)*i;return typeof n=="function"?n(o,a):r===1?o*i:c-o*i}const yG=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function vG(e){const t=yG.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}function uL(e,t,n=1){const[i,r]=vG(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const a=o.trim();return Ej(a)?parseFloat(a):a}return aS(r)?uL(r,t,n+1):r}const bG={type:"spring",stiffness:500,damping:25,restSpeed:10},xG=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),SG={type:"keyframes",duration:.8},wG={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_G=(e,{keyframes:t})=>t.length>2?SG:rl.has(e)?e.startsWith("scale")?xG(t[1]):bG:wG;function fL(e,t){if(e?.inherit&&t){const{inherit:n,...i}=e;return{...t,...i}}return e}function dL(e,t){const n=e?.[t]??e?.default??e;return n!==e?fL(n,e):n}const CG=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function OG(e){for(const t in e)if(!CG.has(t))return!0;return!1}const EG=(e,t,n,i={},r,o)=>a=>{const c=dL(i,e)||{},u=c.delay||i.delay||0;let{elapsed:d=0}=i;d=d-fi(u);const h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-d,onUpdate:m=>{t.set(m),c.onUpdate&&c.onUpdate(m)},onComplete:()=>{a(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:o?void 0:r};OG(c)||Object.assign(h,_G(e,h)),h.duration&&(h.duration=fi(h.duration)),h.repeatDelay&&(h.repeatDelay=fi(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let g=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(Z0(h),h.delay===0&&(g=!0)),(go.instantAnimations||go.skipAnimations||r?.shouldSkipAnimations)&&(g=!0,Z0(h),h.delay=0),h.allowFlatten=!c.type&&!c.ease,g&&!o&&t.get()!==void 0){const m=Xp(h.keyframes,c);if(m!==void 0){Xn.update(()=>{h.onUpdate(m),h.onComplete()});return}}return c.isSync?new Bh(h):new mG(h)};function RR(e){const t=[{},{}];return e?.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function pS(e,t,n,i){if(typeof t=="function"){const[r,o]=RR(i);t=t(n!==void 0?n:e.custom,r,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,o]=RR(i);t=t(n!==void 0?n:e.custom,r,o)}return t}function cs(e,t,n){const i=e.getProps();return pS(i,t,n!==void 0?n:i.custom,e)}const hL=new Set(["width","height","top","left","right","bottom",...il]),TR=30,RG=e=>!isNaN(parseFloat(e));class TG{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const r=En.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=En.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=RG(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Aj);const i=this.events[t].add(n);return t==="change"?()=>{i(),Xn.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=En.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>TR)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,TR);return Dj(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Hh(e,t){return new TG(e,t)}const J0=e=>Array.isArray(e);function MG(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Hh(n))}function AG(e){return J0(e)?e[e.length-1]||0:e}function DG(e,t){const n=cs(e,t);let{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(const a in o){const c=AG(o[a]);MG(e,a,c)}}const zt=e=>!!(e&&e.getVelocity);function PG(e){return!!(zt(e)&&e.add)}function jG(e,t){const n=e.getValue("willChange");if(PG(n))return n.add(t);if(!n&&go.WillChange){const i=new go.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function gS(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const LG="framerAppearId",pL="data-"+gS(LG);function NG(e){return e.props[pL]}function kG({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function gL(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:o,transitionEnd:a,...c}=t;const u=e.getDefaultTransition();o=o?fL(o,u):u;const d=o?.reduceMotion;i&&(o=i);const h=[],g=r&&e.animationState&&e.animationState.getState()[r];for(const m in c){const y=e.getValue(m,e.latestValues[m]??null),b=c[m];if(b===void 0||g&&kG(g,m))continue;const w={delay:n,...dL(o||{},m)},_=y.get();if(_!==void 0&&!y.isAnimating()&&!Array.isArray(b)&&b===_&&!w.velocity){Xn.update(()=>y.set(b));continue}let O=!1;if(window.MotionHandoffAnimation){const M=NG(e);if(M){const D=window.MotionHandoffAnimation(M,m,Xn);D!==null&&(w.startTime=D,O=!0)}}jG(e,m);const R=d??e.shouldReduceMotion;y.start(EG(m,y,b,R&&hL.has(m)?{type:!1}:w,e,O));const T=y.animation;T&&h.push(T)}if(a){const m=()=>Xn.update(()=>{a&&DG(e,a)});h.length?Promise.all(h).then(m):m()}return h}function ex(e,t,n={}){const i=cs(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(gL(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=r;return IG(e,t,u,d,h,g,n)}:()=>Promise.resolve(),{when:c}=r;if(c){const[u,d]=c==="beforeChildren"?[o,a]:[a,o];return u().then(()=>d())}else return Promise.all([o(),a(n.delay)])}function IG(e,t,n=0,i=0,r=0,o=1,a){const c=[];for(const u of e.variantChildren)u.notify("AnimationStart",t),c.push(ex(u,t,{...a,delay:n+(typeof i=="function"?0:i)+cL(e.variantChildren,u,i,r,o)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(c)}function zG(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(o=>ex(e,o,n));i=Promise.all(r)}else if(typeof t=="string")i=ex(e,t,n);else{const r=typeof t=="function"?cs(e,t,n.custom):t;i=Promise.all(gL(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}const $G={test:e=>e==="auto",parse:e=>e},mL=e=>t=>t.test(e),yL=[nl,fe,Ra,Yr,lW,aW,$G],MR=e=>yL.find(mL(e));function FG(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Rj(e):!0}const BG=new Set(["brightness","contrast","saturate","opacity"]);function HG(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(lS)||[];if(!i)return e;const r=n.replace(i,"");let o=BG.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const VG=/\b([a-z-]*)\(.*?\)/gu,tx={...di,getAnimatableNone:e=>{const t=e.match(VG);return t?t.map(HG).join(" "):e}},nx={...di,getAnimatableNone:e=>{const t=di.parse(e);return di.createTransformer(e)(t.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},AR={...nl,transform:Math.round},UG={rotate:Yr,rotateX:Yr,rotateY:Yr,rotateZ:Yr,scale:xd,scaleX:xd,scaleY:xd,scaleZ:xd,skew:Yr,skewX:Yr,skewY:Yr,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:nu,originX:mR,originY:mR,originZ:fe},mS={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,top:fe,right:fe,bottom:fe,left:fe,inset:fe,insetBlock:fe,insetBlockStart:fe,insetBlockEnd:fe,insetInline:fe,insetInlineStart:fe,insetInlineEnd:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,paddingBlock:fe,paddingBlockStart:fe,paddingBlockEnd:fe,paddingInline:fe,paddingInlineStart:fe,paddingInlineEnd:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,marginBlock:fe,marginBlockStart:fe,marginBlockEnd:fe,marginInline:fe,marginInlineStart:fe,marginInlineEnd:fe,fontSize:fe,backgroundPositionX:fe,backgroundPositionY:fe,...UG,zIndex:AR,fillOpacity:nu,strokeOpacity:nu,numOctaves:AR},WG={...mS,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:tx,WebkitFilter:tx,mask:nx,WebkitMask:nx},vL=e=>WG[e],GG=new Set([tx,nx]);function bL(e,t){let n=vL(e);return GG.has(n)||(n=di),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const qG=new Set(["auto","none","0"]);function YG(e,t,n){let i=0,r;for(;i<e.length&&!r;){const o=e[i];typeof o=="string"&&!qG.has(o)&&ka(o).values.length&&(r=e[i]),i++}if(r&&n)for(const o of t)e[o]=bL(n,r)}class KG extends hS{constructor(t,n,i,r,o){super(t,n,i,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let g=t[h];if(typeof g=="string"&&(g=g.trim(),aS(g))){const m=uL(g,n.current);m!==void 0&&(t[h]=m),h===t.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!hL.has(i)||t.length!==2)return;const[r,o]=t,a=MR(r),c=MR(o),u=gR(r),d=gR(o);if(u!==d&&Xr[i]){this.needsMeasurement=!0;return}if(a!==c)if(CR(a)&&CR(c))for(let h=0;h<t.length;h++){const g=t[h];typeof g=="string"&&(t[h]=parseFloat(g))}else Xr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)(t[r]===null||FG(t[r]))&&i.push(r);i.length&&YG(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Xr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const o=i.length-1,a=i[o];i[o]=Xr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function XG(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const r=n?.[e]??i.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(i=>i!=null)}const xL=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function QG(e){return B7(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:ZG}=Bj(queueMicrotask,!1),JG={y:!1};function eq(){return JG.y}function SL(e,t){const n=XG(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function tq(e){return!(e.pointerType==="touch"||eq())}function nq(e,t,n={}){const[i,r,o]=SL(e,n);return i.forEach(a=>{let c=!1,u=!1,d;const h=()=>{a.removeEventListener("pointerleave",b)},g=_=>{d&&(d(_),d=void 0),h()},m=_=>{c=!1,window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),u&&(u=!1,g(_))},y=()=>{c=!0,window.addEventListener("pointerup",m,r),window.addEventListener("pointercancel",m,r)},b=_=>{if(_.pointerType!=="touch"){if(c){u=!0;return}g(_)}},w=_=>{if(!tq(_))return;u=!1;const O=t(a,_);typeof O=="function"&&(d=O,a.addEventListener("pointerleave",b,r))};a.addEventListener("pointerenter",w,r),a.addEventListener("pointerdown",y,r)}),o}const wL=(e,t)=>t?e===t?!0:wL(e,t.parentElement):!1,iq=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,rq=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function oq(e){return rq.has(e.tagName)||e.isContentEditable===!0}const rh=new WeakSet;function DR(e){return t=>{t.key==="Enter"&&e(t)}}function bv(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const sq=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=DR(()=>{if(rh.has(n))return;bv(n,"down");const r=DR(()=>{bv(n,"up")}),o=()=>bv(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function PR(e){return iq(e)&&!0}const jR=new WeakSet;function aq(e,t,n={}){const[i,r,o]=SL(e,n),a=c=>{const u=c.currentTarget;if(!PR(c)||jR.has(c))return;rh.add(u),n.stopPropagation&&jR.add(c);const d=t(u,c),h=(y,b)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",m),rh.has(u)&&rh.delete(u),PR(y)&&typeof d=="function"&&d(y,{success:b})},g=y=>{h(y,u===window||u===document||n.useGlobalTarget||wL(u,y.target))},m=y=>{h(y,!1)};window.addEventListener("pointerup",g,r),window.addEventListener("pointercancel",m,r)};return i.forEach(c=>{(n.useGlobalTarget?window:c).addEventListener("pointerdown",a,r),QG(c)&&(c.addEventListener("focus",d=>sq(d,r)),!oq(c)&&!c.hasAttribute("tabindex")&&(c.tabIndex=0))}),o}const lq=[...yL,mt,di],cq=e=>lq.find(mL(e)),LR=()=>({min:0,max:0}),_L=()=>({x:LR(),y:LR()}),uq=new WeakMap;function Qp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function iu(e){return typeof e=="string"||Array.isArray(e)}const yS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vS=["initial",...yS];function Zp(e){return Qp(e.animate)||vS.some(t=>iu(e[t]))}function CL(e){return!!(Zp(e)||e.variants)}function fq(e,t,n){for(const i in t){const r=t[i],o=n[i];if(zt(r))e.addValue(i,r);else if(zt(o))e.addValue(i,Hh(r,{owner:e}));else if(o!==r)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{const a=e.getStaticValue(i);e.addValue(i,Hh(a!==void 0?a:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const ix={current:null},OL={current:!1},dq=typeof window<"u";function hq(){if(OL.current=!0,!!dq)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ix.current=e.matches;e.addEventListener("change",t),t()}else ix.current=!1}const NR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Vh={};function EL(e){Vh=e}function pq(){return Vh}class gq{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,skipAnimations:o,blockInitialAnimation:a,visualState:c},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=hS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=En.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,Xn.render(this.render,!1,!0))};const{latestValues:d,renderState:h}=c;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=o,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=Zp(n),this.isVariantNode=CL(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in m){const b=m[y];d[y]!==void 0&&zt(b)&&b.set(d[y])}}mount(t){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,uq.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(OL.current||hq(),this.shouldReduceMotion=ix.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),F0(this.notifyUpdate),F0(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&lL.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:c,times:u,ease:d,duration:h}=n.accelerate,g=new sL({element:this.current,name:t,keyframes:c,times:u,ease:d,duration:fi(h)}),m=a(g);this.valueSubscriptions.set(t,()=>{m(),g.cancel()});return}const i=rl.has(t);i&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Xn.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Vh){const n=Vh[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_L()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<NR.length;i++){const r=NR[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const o="on"+r,a=t[o];a&&(this.propEventSubscriptions[r]=this.on(r,a))}this.prevMotionValues=fq(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Hh(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Ej(i)||Rj(i))?i=parseFloat(i):!cq(i)&&di.test(n)&&(i=bL(t,n)),this.setBaseTarget(t,zt(i)?i.get():i)),zt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const o=pS(this.props,n,this.presenceContext?.custom);o&&(i=o[t])}if(n&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!zt(r)?r:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Aj),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ZG.render(this.render)}}class RL extends gq{constructor(){super(...arguments),this.KeyframeResolver=KG}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const i=t.style;return i?i[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;zt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ol{constructor(t){this.isMounted=!1,this.node=t}update(){}}function mq({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function yq(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function vq(e,t){return mq(yq(e.getBoundingClientRect(),t))}const bq={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xq=il.length;function Sq(e,t,n){let i="",r=!0;for(let o=0;o<xq;o++){const a=il[o],c=e[a];if(c===void 0)continue;let u=!0;if(typeof c=="number")u=c===(a.startsWith("scale")?1:0);else{const d=parseFloat(c);u=a.startsWith("scale")?d===1:d===0}if(!u||n){const d=xL(c,mS[a]);if(!u){r=!1;const h=bq[a]||a;i+=`${h}(${d}) `}n&&(t[a]=d)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function bS(e,t,n){const{style:i,vars:r,transformOrigin:o}=e;let a=!1,c=!1;for(const u in t){const d=t[u];if(rl.has(u)){a=!0;continue}else if(Vj(u)){r[u]=d;continue}else{const h=xL(d,mS[u]);u.startsWith("origin")?(c=!0,o[u]=h):i[u]=h}}if(t.transform||(a||n?i.transform=Sq(t,e.transform,n):i.transform&&(i.transform="none")),c){const{originX:u="50%",originY:d="50%",originZ:h=0}=o;i.transformOrigin=`${u} ${d} ${h}`}}function TL(e,{style:t,vars:n},i,r){const o=e.style;let a;for(a in t)o[a]=t[a];r?.applyProjectionStyles(o,i);for(a in n)o.setProperty(a,n[a])}function kR(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fc={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(fe.test(e))e=parseFloat(e);else return e;const n=kR(e,t.target.x),i=kR(e,t.target.y);return`${n}% ${i}%`}},wq={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=di.parse(e);if(r.length>5)return i;const o=di.createTransformer(e),a=typeof r[0]!="number"?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;r[0+a]/=c,r[1+a]/=u;const d=Mu(c,u,.5);return typeof r[2+a]=="number"&&(r[2+a]/=d),typeof r[3+a]=="number"&&(r[3+a]/=d),o(r)}},_q={borderRadius:{...fc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fc,borderTopRightRadius:fc,borderBottomLeftRadius:fc,borderBottomRightRadius:fc,boxShadow:wq};function ML(e,{layout:t,layoutId:n}){return rl.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!_q[e]||e==="opacity")}function xS(e,t,n){const i=e.style,r=t?.style,o={};if(!i)return o;for(const a in i)(zt(i[a])||r&&zt(r[a])||ML(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(o[a]=i[a]);return o}function Cq(e){return window.getComputedStyle(e)}class Oq extends RL{constructor(){super(...arguments),this.type="html",this.renderInstance=TL}readValueFromInstance(t,n){if(rl.has(n))return this.projection?.isProjecting?q0(n):YW(t,n);{const i=Cq(t),r=(Vj(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vq(t,n)}build(t,n,i){bS(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return xS(t,n,i)}}const Eq={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rq={offset:"strokeDashoffset",array:"strokeDasharray"};function Tq(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?Eq:Rq;e[o.offset]=`${-i}`,e[o.array]=`${t} ${n}`}const Mq=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function AL(e,{attrX:t,attrY:n,attrScale:i,pathLength:r,pathSpacing:o=1,pathOffset:a=0,...c},u,d,h){if(bS(e,c,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:m}=e;g.transform&&(m.transform=g.transform,delete g.transform),(m.transform||g.transformOrigin)&&(m.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),m.transform&&(m.transformBox=h?.transformBox??"fill-box",delete g.transformBox);for(const y of Mq)g[y]!==void 0&&(m[y]=g[y],delete g[y]);t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),i!==void 0&&(g.scale=i),r!==void 0&&Tq(g,r,o,a,!1)}const DL=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),PL=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Aq(e,t,n,i){TL(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(DL.has(r)?r:gS(r),t.attrs[r])}function jL(e,t,n){const i=xS(e,t,n);for(const r in e)if(zt(e[r])||zt(t[r])){const o=il.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[o]=e[r]}return i}class Dq extends RL{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_L}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(rl.has(n)){const i=vL(n);return i&&i.default||0}return n=DL.has(n)?n:gS(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return jL(t,n,i)}build(t,n,i){AL(t,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,n,i,r){Aq(t,n,i,r)}mount(t){this.isSVGTag=PL(t.tagName),super.mount(t)}}const Pq=vS.length;function LL(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?LL(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Pq;n++){const i=vS[n],r=e.props[i];(iu(r)||r===!1)&&(t[i]=r)}return t}function NL(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}const jq=[...yS].reverse(),Lq=yS.length;function Nq(e){return t=>Promise.all(t.map(({animation:n,options:i})=>zG(e,n,i)))}function kq(e){let t=Nq(e),n=IR(),i=!0,r=!1;const o=d=>(h,g)=>{const m=cs(e,g,d==="exit"?e.presenceContext?.custom:void 0);if(m){const{transition:y,transitionEnd:b,...w}=m;h={...h,...w,...b}}return h};function a(d){t=d(e)}function c(d){const{props:h}=e,g=LL(e.parent)||{},m=[],y=new Set;let b={},w=1/0;for(let O=0;O<Lq;O++){const R=jq[O],T=n[R],M=h[R]!==void 0?h[R]:g[R],D=iu(M),P=R===d?T.isActive:null;P===!1&&(w=O);let I=M===g[R]&&M!==h[R]&&D;if(I&&(i||r)&&e.manuallyAnimateOnMount&&(I=!1),T.protectedKeys={...b},!T.isActive&&P===null||!M&&!T.prevProp||Qp(M)||typeof M=="boolean")continue;if(R==="exit"&&T.isActive&&P!==!0){T.prevResolvedValues&&(b={...b,...T.prevResolvedValues});continue}const z=Iq(T.prevProp,M);let U=z||R===d&&T.isActive&&!I&&D||O>w&&D,$=!1;const W=Array.isArray(M)?M:[M];let Y=W.reduce(o(R),{});P===!1&&(Y={});const{prevResolvedValues:B={}}=T,H={...B,...Y},L=V=>{U=!0,y.has(V)&&($=!0,y.delete(V)),T.needsAnimating[V]=!0;const ie=e.getValue(V);ie&&(ie.liveStyle=!1)};for(const V in H){const ie=Y[V],ae=B[V];if(b.hasOwnProperty(V))continue;let k=!1;J0(ie)&&J0(ae)?k=!NL(ie,ae):k=ie!==ae,k?ie!=null?L(V):y.add(V):ie!==void 0&&y.has(V)?L(V):T.protectedKeys[V]=!0}T.prevProp=M,T.prevResolvedValues=Y,T.isActive&&(b={...b,...Y}),(i||r)&&e.blockInitialAnimation&&(U=!1);const N=I&&z;U&&(!N||$)&&m.push(...W.map(V=>{const ie={type:R};if(typeof V=="string"&&(i||r)&&!N&&e.manuallyAnimateOnMount&&e.parent){const{parent:ae}=e,k=cs(ae,V);if(ae.enteringChildren&&k){const{delayChildren:J}=k.transition||{};ie.delay=cL(ae.enteringChildren,e,J)}}return{animation:V,options:ie}}))}if(y.size){const O={};if(typeof h.initial!="boolean"){const R=cs(e,Array.isArray(h.initial)?h.initial[0]:h.initial);R&&R.transition&&(O.transition=R.transition)}y.forEach(R=>{const T=e.getBaseTarget(R),M=e.getValue(R);M&&(M.liveStyle=!0),O[R]=T??null}),m.push({animation:O})}let _=!!m.length;return i&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(_=!1),i=!1,r=!1,_?t(m):Promise.resolve()}function u(d,h){if(n[d].isActive===h)return Promise.resolve();e.variantChildren?.forEach(m=>m.animationState?.setActive(d,h)),n[d].isActive=h;const g=c(d);for(const m in n)n[m].protectedKeys={};return g}return{animateChanges:c,setActive:u,setAnimateFunction:a,getState:()=>n,reset:()=>{n=IR(),r=!0}}}function Iq(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!NL(t,e):!1}function Vo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function IR(){return{animate:Vo(!0),whileInView:Vo(),whileHover:Vo(),whileTap:Vo(),whileDrag:Vo(),whileFocus:Vo(),exit:Vo()}}function zR(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function zq(e){return zt(e)?e.get():e}const kL=C.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),SS=C.createContext({strict:!1}),$R={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let FR=!1;function $q(){if(FR)return;const e={};for(const t in $R)e[t]={isEnabled:n=>$R[t].some(i=>!!n[i])};EL(e),FR=!0}function IL(){return $q(),pq()}function rx(e){const t=IL();for(const n in e)t[n]={...t[n],...e[n]};EL(t)}function Au({children:e,features:t,strict:n=!1}){const[,i]=C.useState(!xv(t)),r=C.useRef(void 0);if(!xv(t)){const{renderer:o,...a}=t;r.current=o,rx(a)}return C.useEffect(()=>{xv(t)&&t().then(({renderer:o,...a})=>{rx(a),r.current=o,i(!0)})},[]),S.jsx(SS.Provider,{value:{renderer:r.current,strict:n},children:e})}function xv(e){return typeof e=="function"}const Fq=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Uh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Fq.has(e)}let zL=e=>!Uh(e);function Bq(e){typeof e=="function"&&(zL=t=>t.startsWith("on")?!Uh(t):e(t))}try{Bq(require("@emotion/is-prop-valid").default)}catch{}function Hq(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||zt(e[r])||(zL(r)||n===!0&&Uh(r)||!t&&!Uh(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}const Jp=C.createContext({});function Vq(e,t){if(Zp(e)){const{initial:n,animate:i}=e;return{initial:n===!1||iu(n)?n:void 0,animate:iu(i)?i:void 0}}return e.inherit!==!1?t:{}}function Uq(e){const{initial:t,animate:n}=Vq(e,C.useContext(Jp));return C.useMemo(()=>({initial:t,animate:n}),[BR(t),BR(n)])}function BR(e){return Array.isArray(e)?e.join(" "):e}const wS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $L(e,t,n){for(const i in t)!zt(t[i])&&!ML(i,n)&&(e[i]=t[i])}function Wq({transformTemplate:e},t){return C.useMemo(()=>{const n=wS();return bS(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Gq(e,t){const n=e.style||{},i={};return $L(i,n,e),Object.assign(i,Wq(e,t)),i}function qq(e,t){const n={},i=Gq(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const FL=()=>({...wS(),attrs:{}});function Yq(e,t,n,i){const r=C.useMemo(()=>{const o=FL();return AL(o,t,PL(i),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};$L(o,e.style,e),r.style={...o,...r.style}}return r}const Kq=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function _S(e){return typeof e!="string"||e.includes("-")?!1:!!(Kq.indexOf(e)>-1||/[A-Z]/u.test(e))}function Xq(e,t,n,{latestValues:i},r,o=!1,a){const u=(a??_S(e)?Yq:qq)(t,i,r,e),d=Hq(t,typeof e=="string",o),h=e!==C.Fragment?{...d,...u,ref:n}:{},{children:g}=t,m=C.useMemo(()=>zt(g)?g.get():g,[g]);return C.createElement(e,{...h,children:m})}function Qq({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,r){return{latestValues:Zq(n,i,r,e),renderState:t()}}function Zq(e,t,n,i){const r={},o=i(e,{});for(const m in o)r[m]=zq(o[m]);let{initial:a,animate:c}=e;const u=Zp(e),d=CL(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let h=n?n.initial===!1:!1;h=h||a===!1;const g=h?c:a;if(g&&typeof g!="boolean"&&!Qp(g)){const m=Array.isArray(g)?g:[g];for(let y=0;y<m.length;y++){const b=pS(e,m[y]);if(b){const{transitionEnd:w,transition:_,...O}=b;for(const R in O){let T=O[R];if(Array.isArray(T)){const M=h?T.length-1:0;T=T[M]}T!==null&&(r[R]=T)}for(const R in w)r[R]=w[R]}}}return r}const BL=e=>(t,n)=>{const i=C.useContext(Jp),r=C.useContext(Oj),o=()=>Qq(e,t,i,r);return n?o():k7(o)},Jq=BL({scrapeMotionValuesFromProps:xS,createRenderState:wS}),eY=BL({scrapeMotionValuesFromProps:jL,createRenderState:FL}),tY=Symbol.for("motionComponentSymbol");function nY(e,t,n){const i=C.useRef(n);C.useInsertionEffect(()=>{i.current=n});const r=C.useRef(null);return C.useCallback(o=>{o&&e.onMount?.(o);const a=i.current;if(typeof a=="function")if(o){const c=a(o);typeof c=="function"&&(r.current=c)}else r.current?(r.current(),r.current=null):a(o);else a&&(a.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const iY=C.createContext({});function rY(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oY(e,t,n,i,r,o){const{visualElement:a}=C.useContext(Jp),c=C.useContext(SS),u=C.useContext(Oj),d=C.useContext(kL),h=d.reducedMotion,g=d.skipAnimations,m=C.useRef(null),y=C.useRef(!1);i=i||c.renderer,!m.current&&i&&(m.current=i(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:h,skipAnimations:g,isSVG:o}),y.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));const b=m.current,w=C.useContext(iY);b&&!b.projection&&r&&(b.type==="html"||b.type==="svg")&&sY(m.current,n,r,w);const _=C.useRef(!1);C.useInsertionEffect(()=>{b&&_.current&&b.update(n,u)});const O=n[pL],R=C.useRef(!!O&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(O)&&window.MotionHasOptimisedAnimation?.(O));return z7(()=>{y.current=!0,b&&(_.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),R.current&&b.animationState&&b.animationState.animateChanges())}),C.useEffect(()=>{b&&(!R.current&&b.animationState&&b.animationState.animateChanges(),R.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(O)}),R.current=!1),b.enteringChildren=void 0)}),b}function sY(e,t,n,i){const{layoutId:r,layout:o,drag:a,dragConstraints:c,layoutScroll:u,layoutRoot:d,layoutAnchor:h,layoutCrossfade:g}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:HL(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!a||c&&rY(c),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,crossfade:g,layoutScroll:u,layoutRoot:d,layoutAnchor:h})}function HL(e){if(e)return e.options.allowProjection!==!1?e.projection:HL(e.parent)}function Sv(e,{forwardMotionProps:t=!1,type:n}={},i,r){i&&rx(i);const o=n?n==="svg":_S(e),a=o?eY:Jq;function c(d,h){let g;const m={...C.useContext(kL),...d,layoutId:aY(d)},{isStatic:y}=m,b=Uq(d),w=a(d,y);if(!y&&typeof window<"u"){lY();const _=cY(m);g=_.MeasureLayout,b.visualElement=oY(e,w,m,r,_.ProjectionNode,o)}return S.jsxs(Jp.Provider,{value:b,children:[g&&b.visualElement?S.jsx(g,{visualElement:b.visualElement,...m}):null,Xq(e,d,nY(w,b.visualElement,h),w,y,t,o)]})}c.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const u=C.forwardRef(c);return u[tY]=e,u}function aY({layoutId:e}){const t=C.useContext(N7).id;return t&&e!==void 0?t+"-"+e:e}function lY(e,t){C.useContext(SS).strict}function cY(e){const t=IL(),{drag:n,layout:i}=t;if(!n&&!i)return{};const r={...n,...i};return{MeasureLayout:n?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function uY(e,t){if(typeof Proxy>"u")return Sv;const n=new Map,i=(o,a)=>Sv(o,a,e,t),r=(o,a)=>i(o,a);return new Proxy(r,{get:(o,a)=>a==="create"?i:(n.has(a)||n.set(a,Sv(a,void 0,e,t)),n.get(a))})}const Ia=uY(),fY=(e,t)=>t.isSVG??_S(e)?new Dq(t):new Oq(t,{allowProjection:e!==C.Fragment});class dY extends ol{constructor(t){super(t),t.animationState||(t.animationState=kq(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Qp(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let hY=0;class pY extends ol{constructor(){super(...arguments),this.id=hY++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&i===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o=="string"){const c=cs(this.node,o,a);if(c){const{transition:u,transitionEnd:d,...h}=c;for(const g in h)this.node.getValue(g)?.jump(h[g])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const gY={animation:{Feature:dY},exit:{Feature:pY}};function VL(e){return{point:{x:e.pageX,y:e.pageY}}}function HR(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,o=i[r];o&&Xn.postRender(()=>o(t,VL(t)))}class mY extends ol{mount(){const{current:t}=this.node;t&&(this.unmount=nq(t,(n,i)=>(HR(this.node,i,"Start"),r=>HR(this.node,r,"End"))))}unmount(){}}class yY extends ol{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Kp(zR(this.node.current,"focus",()=>this.onFocus()),zR(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function VR(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),o=i[r];o&&Xn.postRender(()=>o(t,VL(t)))}class vY extends ol{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:i}=this.node.props;this.unmount=aq(t,(r,o)=>(VR(this.node,o,"Start"),(a,{success:c})=>VR(this.node,a,c?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:i?.tap===!1})}unmount(){}}const ox=new WeakMap,wv=new WeakMap,bY=e=>{const t=ox.get(e.target);t&&t(e)},xY=e=>{e.forEach(bY)};function SY({root:e,...t}){const n=e||document;wv.has(n)||wv.set(n,{});const i=wv.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(xY,{root:e,...t})),i[r]}function wY(e,t,n){const i=SY(t);return ox.set(e,n),i.observe(e),()=>{ox.delete(e),i.unobserve(e)}}const _Y={some:0,all:1};class CY extends ol{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:_Y[r]},c=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),m=d?h:g;m&&m(u)};this.stopObserver=wY(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(OY(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function OY({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const EY={inView:{Feature:CY},tap:{Feature:vY},focus:{Feature:yY},hover:{Feature:mY}},Du={renderer:fY,...gY,...EY};function eg({label:e,children:t,"aria-label":n}){return S.jsxs(AB,{children:[S.jsx(DB,{asChild:!0,children:t}),S.jsx(PB,{children:S.jsx(jB,{className:"tooltip-content",sideOffset:5,"aria-label":n,children:e})})]})}const RY="_iconWrapper_19huu_1",TY="_themeSwitchContainer_19huu_21",UR={iconWrapper:RY,themeSwitchContainer:TY};function MY({theme:e,dispatch:t}){const{t:n}=yt(),i=C.useMemo(()=>{switch(e){case"dark":return S.jsx(WR,{});case"auto":return S.jsx(DY,{});case"light":return S.jsx(AY,{});default:return console.assert(!1,"Unknown theme"),S.jsx(WR,{})}},[e]),r=C.useCallback(o=>t(BH(o.target.value)),[t]);return S.jsx(eg,{label:n("switch_theme"),"aria-label":"switch theme",children:S.jsxs("div",{className:UR.themeSwitchContainer,children:[S.jsx("span",{className:UR.iconWrapper,children:i}),S.jsxs("select",{onChange:r,children:[S.jsx("option",{value:"auto",children:"Auto"}),S.jsx("option",{value:"dark",children:"Dark"}),S.jsx("option",{value:"light",children:"Light"})]})]})})}function WR(){return S.jsx(Au,{features:Du,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:S.jsx(Ia.path,{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})})})}function AY(){return S.jsx(Au,{features:Du,children:S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[S.jsx("circle",{cx:"12",cy:"12",r:"5"}),S.jsxs(Ia.g,{initial:{scale:.7},animate:{scale:1},transition:{duration:.5},children:[S.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),S.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),S.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),S.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),S.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),S.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),S.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),S.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]})})}function DY(){return S.jsx(Au,{features:Du,children:S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[S.jsx("circle",{cx:"12",cy:"12",r:"11"}),S.jsx("clipPath",{id:"cut-off-bottom",children:S.jsx(Ia.rect,{x:"12",y:"0",width:"12",height:"24",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})}),S.jsx("circle",{cx:"12",cy:"12",r:"6",clipPath:"url(#cut-off-bottom)",fill:"currentColor"})]})})}const PY=e=>({theme:y1(e)}),UL=cn(PY)(MY),jY="_root_2ankj_4",LY="_logo_meta_2ankj_25",NY="_logo_singbox_2ankj_39",kY="_rows_2ankj_54",IY="_row_2ankj_54",zY="_rowActive_2ankj_117",$Y="_label_2ankj_128",FY="_footer_2ankj_159",BY="_iconWrapper_2ankj_175",ar={root:jY,logo_meta:LY,logo_singbox:NY,rows:kY,row:IY,rowActive:zY,label:$Y,footer:FY,iconWrapper:BY},HY={activity:p9,globe:d9,command:u9,file:h9,settings:c9,link:f9},VY=C.memo(function({isActive:t,to:n,iconId:i,labelText:r}){const o=HY[i],a=Oe(ar.row,t?ar.rowActive:null);return S.jsxs(Fp,{to:n,className:a,children:[S.jsx(o,{}),S.jsx("div",{className:ar.label,children:r})]})}),UY=[{to:"/home",iconId:"activity",labelText:"Overview"},{to:"/proxies",iconId:"globe",labelText:"Proxies"},{to:"/rules",iconId:"command",labelText:"Rules"},{to:"/connections",iconId:"link",labelText:"Conns"},{to:"/logs",iconId:"file",labelText:"Logs"},{to:"/configs",iconId:"settings",labelText:"Config"}],WY=e=>({apiConfig:Ni(e)}),GY=cn(WY)(qY);function qY(e){const{t}=yt(),n=vi(),{data:i}=Ka({queryKey:["/version",e.apiConfig],queryFn:()=>Bp("/version",e.apiConfig)});return S.jsxs("div",{className:ar.root,children:[S.jsx("div",{className:i.meta&&i.premium?ar.logo_singbox:ar.logo_meta}),S.jsx("div",{className:ar.rows,children:UY.map(({to:r,iconId:o,labelText:a})=>S.jsx(VY,{to:r,isActive:n.pathname===r,iconId:o,labelText:t(a)},r))}),S.jsxs("div",{className:ar.footer,children:[S.jsx(UL,{}),S.jsx(eg,{label:t("about"),children:S.jsx(Fp,{to:"/about",className:ar.iconWrapper,children:S.jsx(W1,{size:20})})})]})]})}const YY="_app_mf375_1",KY="_content_mf375_17",WL={app:YY,content:KY},XY="_root_3hync_4",QY={root:XY};function ZY({children:e}){return S.jsx("div",{className:QY.root,children:e})}const Pu=q.memo(ZY);function JY(e){return Ka({queryKey:["/version",e],queryFn:()=>Bp("/version",e)})}function eK(e){return e?.version?e.meta&&e.premium?{name:"sing-box",link:"https://github.com/SagerNet/sing-box"}:e.meta?{name:"Clash.Meta",link:"https://github.com/MetaCubeX/Clash.Meta"}:{name:"Clash",link:"https://github.com/Dreamacro/clash"}:null}const tK="_root_10mcy_4",nK="_mono_10mcy_13",iK="_link_10mcy_17",_v={root:tK,mono:nK,link:iK};function GR({name:e,link:t,version:n}){return S.jsxs("div",{className:_v.root,children:[S.jsx("h2",{children:e}),S.jsxs("p",{children:[S.jsx("span",{children:"Version "}),S.jsx("span",{className:_v.mono,children:n})]}),S.jsx("p",{children:S.jsxs("a",{className:_v.link,href:t,target:"_blank",rel:"noopener noreferrer",children:[S.jsx(H1,{size:20}),S.jsx("span",{children:"Source"})]})})]})}function rK({apiConfig:e}){const{data:t}=JY(e),n=eK(t);return S.jsxs(S.Fragment,{children:[S.jsx(Pu,{children:"About"}),n&&t?.version?S.jsx(GR,{name:n.name,version:t.version,link:n.link}):null,S.jsx(GR,{name:"Yacd",version:"0.3.8",link:"https://github.com/metacubex/yacd"})]})}const oK=e=>({apiConfig:Ni(e)}),sK=cn(oK)(rK),aK="_btn_k8it2_4",lK="_minimal_k8it2_40",cK="_btnInternal_k8it2_57",uK="_btnStart_k8it2_64",fK="_loadingContainer_k8it2_70",Lc={btn:aK,minimal:lK,btnInternal:cK,btnStart:uK,loadingContainer:fK},dK="_sectionNameType_k6imc_4",hK="_loadingDot_k6imc_75",GL={sectionNameType:dK,loadingDot:hK};function pK({name:e,type:t}){return S.jsxs("h2",{className:GL.sectionNameType,children:[S.jsx("span",{style:{marginRight:5},children:e}),S.jsx("span",{children:t})]})}function gK(){return S.jsx("span",{className:GL.loadingDot})}const{forwardRef:mK,useCallback:yK}=Je;function vK(e,t){const{onClick:n,disabled:i=!1,isLoading:r,kind:o="primary",className:a,children:c,label:u,text:d,start:h,...g}=e,m={children:c,label:u,text:d,start:h},y=yK(w=>{r||n&&n(w)},[r,n]),b=Oe(Lc.btn,{[Lc.minimal]:o==="minimal"},a);return S.jsx("button",{className:b,ref:t,onClick:y,disabled:i,...g,children:r?S.jsxs(S.Fragment,{children:[S.jsx("span",{style:{display:"inline-flex",opacity:0},children:S.jsx(qR,{...m})}),S.jsx("span",{className:Lc.loadingContainer,children:S.jsx(gK,{})})]}):S.jsx(qR,{...m})})}function qR({children:e,label:t,text:n,start:i}){return S.jsxs("div",{className:Lc.btnInternal,children:[i&&S.jsx("span",{className:Lc.btnStart,children:typeof i=="function"?i():i}),e||t||n]})}const nt=mK(vK),bK="_root_1or8t_1",xK="_floatAbove_1or8t_32",YR={root:bK,floatAbove:xK},{useCallback:SK}=Je;function KR({id:e,label:t,value:n,onChange:i,...r}){const o=SK(a=>i(a),[i]);return S.jsxs("div",{className:YR.root,children:[S.jsx("input",{id:e,value:n,onChange:o,...r}),S.jsx("label",{htmlFor:e,className:YR.floatAbove,children:t})]})}const wK="http://127.0.0.1:9090",_K=0;function CK(e,t){let n=e||wK;if(n){const i=n.substring(0,7);if(i.includes(":/")){if(i!=="http://"&&i!=="https:/")return{error:"Must starts with http:// or https://"}}else t&&(n=`${t}//${n}`)}return{baseURL:n}}async function OK(e){try{new URL(e.baseURL)}catch{if(e.baseURL){const n=e.baseURL.substring(0,7);if(n!=="http://"&&n!=="https:/")return[1,"Must starts with http:// or https://"]}return[1,"Invalid URL"]}try{const t=await SP(e);return t.status>399?[1,t.statusText]:[_K]}catch{return[1,"Failed to connect"]}}async function EK(){try{const e=await fetch("/");if(e.headers.get("content-type")?.includes("application/json")&&(await e.json()).hello==="clash")return window.location.origin}catch{}return null}const{useCallback:oh,useEffect:qL,useState:Cv}=Je;function RK({onAddConfig:e}){const[t,n]=Cv(""),[i,r]=Cv(""),[o,a]=Cv(""),c=oh(h=>{a("");const g=h.target,{name:m,value:y}=g;switch(m){case"baseURL":n(y);break;case"secret":r(y);break;default:throw new Error(`unknown input name ${m}`)}},[]),u=oh(()=>{const h=CK(t,window.location.protocol);if("error"in h){a(h.error);return}const g={baseURL:h.baseURL,secret:i};OK(g).then(([m,y])=>{if(m!==0){a(y??"Failed to connect");return}e(g)})},[t,e,i]),d=oh(h=>{h.target instanceof Element&&(!h.target.tagName||h.target.tagName.toUpperCase()!=="INPUT")||h.key==="Enter"&&u()},[u]);return qL(()=>{let h=!1;return EK().then(g=>{!h&&g&&n(g)}),()=>{h=!0}},[]),{baseURL:t,secret:i,errMsg:o,handleInputOnChange:c,handleContentOnKeyDown:d,onConfirm:u}}function TK({apiConfig:e,dispatch:t}){const n=oh(()=>{t(xH("apiConfig"))},[t]);return qL(()=>{t(xr(e))},[e,t]),{closeAPIConfigModal:n}}const MK="_root_zwtea_1",AK="_header_zwtea_5",DK="_icon_zwtea_10",PK="_body_zwtea_20",jK="_hostnamePort_zwtea_24",LK="_error_zwtea_36",NK="_footer_zwtea_42",Uo={root:MK,header:AK,icon:DK,body:PK,hostnamePort:jK,error:LK,footer:NK},{useState:kK,useCallback:IK}=q;function zK(e=!1){const[t,n]=kK(e),i=IK(()=>n(r=>!r),[]);return[t,i]}const $K="_ul_1cc64_1",FK="_li_1cc64_10",BK="_close_1cc64_28",HK="_eye_1cc64_36",VK="_hasSecret_1cc64_45",UK="_url_1cc64_50",WK="_secret_1cc64_54",GK="_btn_1cc64_72",ur={ul:$K,li:FK,close:BK,eye:HK,hasSecret:VK,url:UK,secret:WK,btn:GK};function qK({apiConfigs:e,selectedClashAPIConfigIndex:t,onRemove:n,onSelect:i}){return S.jsx(S.Fragment,{children:S.jsx("ul",{className:ur.ul,children:e.map((r,o)=>S.jsx("li",{className:Oe(ur.li,{[ur.hasSecret]:r.secret,[ur.isSelected]:o===t}),children:S.jsx(YK,{disableRemove:o===t,baseURL:r.baseURL,secret:r.secret,onRemove:n,onSelect:i})},r.baseURL+r.secret))})})}function YK({baseURL:e,secret:t,disableRemove:n,onRemove:i,onSelect:r}){const[o,a]=zK(),c=o?$1:F1,u=C.useCallback(d=>{d.stopPropagation()},[]);return S.jsxs(S.Fragment,{children:[S.jsx(XR,{disabled:n,onClick:()=>i({baseURL:e,secret:t}),className:ur.close,children:S.jsx(Na,{size:20})}),S.jsx("span",{className:ur.url,tabIndex:0,role:"button",onClick:()=>r({baseURL:e,secret:t}),onKeyUp:u,children:e}),S.jsx("span",{}),t?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:ur.secret,children:o?t:"***"}),S.jsx(XR,{onClick:a,className:ur.eye,children:S.jsx(c,{size:20})})]}):null]})}function XR({children:e,onClick:t,className:n,disabled:i}){return S.jsx("button",{disabled:i,className:Oe(n,ur.btn),onClick:t,children:e})}const{useRef:KK}=Je;function XK({apiConfigs:e,selectedClashAPIConfigIndex:t,onAddConfig:n,onRemoveConfig:i,onSelectConfig:r}){const o=KK(null),{baseURL:a,secret:c,errMsg:u,handleInputOnChange:d,handleContentOnKeyDown:h,onConfirm:g}=RK({onAddConfig:n});return S.jsxs("div",{className:Uo.root,ref:o,onKeyDown:h,children:[S.jsx("div",{className:Uo.header,children:S.jsx("div",{className:Uo.icon,children:S.jsx(Cp,{width:160,height:160,stroke:"var(--stroke)"})})}),S.jsx("div",{className:Uo.body,children:S.jsxs("div",{className:Uo.hostnamePort,children:[S.jsx(KR,{id:"baseURL",name:"baseURL",label:"API Base URL",type:"text",placeholder:"http://127.0.0.1:9090",value:a,onChange:d}),S.jsx(KR,{id:"secret",name:"secret",label:"Secret(optional)",value:c,type:"text",onChange:d})]})}),S.jsx("div",{className:Uo.error,children:u||null}),S.jsx("div",{className:Uo.footer,children:S.jsx(nt,{label:"Add",onClick:g})}),S.jsx("div",{style:{height:20}}),S.jsx(qK,{apiConfigs:e,selectedClashAPIConfigIndex:t,onRemove:i,onSelect:r})]})}const{useCallback:Ov}=Je;function QK({dispatch:e,apiConfigs:t,selectedClashAPIConfigIndex:n}){const i=Ov(a=>{e(FH(a))},[e]),r=Ov(a=>{e(MP(a))},[e]),o=Ov(a=>{e(AP(a))},[e]);return S.jsx(XK,{apiConfigs:t,selectedClashAPIConfigIndex:n,onAddConfig:i,onRemoveConfig:r,onSelectConfig:o})}const ZK=e=>({apiConfigs:m1(e),selectedClashAPIConfigIndex:OP(e)}),YL=cn(ZK)(QK),JK="_input_1indo_1",eX={input:JK},{useState:Fme,useRef:Bme,useEffect:Hme,useCallback:Vme}=q;function Ta({className:e,...t}){return S.jsx("input",{className:Oe(eX.input,e),...t})}const tX="_fieldset_1hnn2_1",nX="_input_1hnn2_10",iX="_cnt_1hnn2_10",Ev={fieldset:tX,input:nX,cnt:iX};function rX({OptionComponent:e,optionPropsList:t,selectedIndex:n,onChange:i}){const r=Oe("visually-hidden",Ev.input),o=a=>{i(a.target.value)};return S.jsx("fieldset",{className:Ev.fieldset,children:t.map((a,c)=>S.jsxs("label",{children:[S.jsx("input",{type:"radio",checked:n===c,name:"selection",value:c,"aria-labelledby":"traffic chart type "+c,onChange:o,className:r}),S.jsx("div",{className:Ev.cnt,children:S.jsx(e,{...a})})]},c))})}const oX="_select_1lwjy_1",sX={select:oX};function is({options:e,selected:t,onChange:n,className:i,...r}){return S.jsx("select",{className:Oe(sX.select,i),value:t,onChange:n,...r,children:e.map(([o,a])=>S.jsx("option",{value:o,children:a},o))})}function ju(e){return e+.5|0}const Qr=(e,t,n)=>Math.max(Math.min(e,n),t);function Oc(e){return Qr(ju(e*2.55),0,255)}function io(e){return Qr(ju(e*255),0,255)}function lr(e){return Qr(ju(e/2.55)/100,0,1)}function QR(e){return Qr(ju(e*100),0,100)}const Gn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},sx=[..."0123456789ABCDEF"],aX=e=>sx[e&15],lX=e=>sx[(e&240)>>4]+sx[e&15],Sd=e=>(e&240)>>4===(e&15),cX=e=>Sd(e.r)&&Sd(e.g)&&Sd(e.b)&&Sd(e.a);function uX(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Gn[e[1]]*17,g:255&Gn[e[2]]*17,b:255&Gn[e[3]]*17,a:t===5?Gn[e[4]]*17:255}:(t===7||t===9)&&(n={r:Gn[e[1]]<<4|Gn[e[2]],g:Gn[e[3]]<<4|Gn[e[4]],b:Gn[e[5]]<<4|Gn[e[6]],a:t===9?Gn[e[7]]<<4|Gn[e[8]]:255})),n}const fX=(e,t)=>e<255?t(e):"";function dX(e){var t=cX(e)?aX:lX;return e?"#"+t(e.r)+t(e.g)+t(e.b)+fX(e.a,t):void 0}const hX=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function KL(e,t,n){const i=t*Math.min(n,1-n),r=(o,a=(o+e/30)%12)=>n-i*Math.max(Math.min(a-3,9-a,1),-1);return[r(0),r(8),r(4)]}function pX(e,t,n){const i=(r,o=(r+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function gX(e,t,n){const i=KL(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)i[r]*=1-t-n,i[r]+=t;return i}function mX(e,t,n,i,r){return e===r?(t-n)/i+(t<n?6:0):t===r?(n-e)/i+2:(e-t)/i+4}function CS(e){const n=e.r/255,i=e.g/255,r=e.b/255,o=Math.max(n,i,r),a=Math.min(n,i,r),c=(o+a)/2;let u,d,h;return o!==a&&(h=o-a,d=c>.5?h/(2-o-a):h/(o+a),u=mX(n,i,r,h,o),u=u*60+.5),[u|0,d||0,c]}function OS(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(io)}function ES(e,t,n){return OS(KL,e,t,n)}function yX(e,t,n){return OS(gX,e,t,n)}function vX(e,t,n){return OS(pX,e,t,n)}function XL(e){return(e%360+360)%360}function bX(e){const t=hX.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?Oc(+t[5]):io(+t[5]));const r=XL(+t[2]),o=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?i=yX(r,o,a):t[1]==="hsv"?i=vX(r,o,a):i=ES(r,o,a),{r:i[0],g:i[1],b:i[2],a:n}}function xX(e,t){var n=CS(e);n[0]=XL(n[0]+t),n=ES(n),e.r=n[0],e.g=n[1],e.b=n[2]}function SX(e){if(!e)return;const t=CS(e),n=t[0],i=QR(t[1]),r=QR(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${r}%, ${lr(e.a)})`:`hsl(${n}, ${i}%, ${r}%)`}const ZR={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},JR={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function wX(){const e={},t=Object.keys(JR),n=Object.keys(ZR);let i,r,o,a,c;for(i=0;i<t.length;i++){for(a=c=t[i],r=0;r<n.length;r++)o=n[r],c=c.replace(o,ZR[o]);o=parseInt(JR[a],16),e[c]=[o>>16&255,o>>8&255,o&255]}return e}let wd;function _X(e){wd||(wd=wX(),wd.transparent=[0,0,0,0]);const t=wd[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const CX=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function OX(e){const t=CX.exec(e);let n=255,i,r,o;if(t){if(t[7]!==i){const a=+t[7];n=t[8]?Oc(a):Qr(a*255,0,255)}return i=+t[1],r=+t[3],o=+t[5],i=255&(t[2]?Oc(i):Qr(i,0,255)),r=255&(t[4]?Oc(r):Qr(r,0,255)),o=255&(t[6]?Oc(o):Qr(o,0,255)),{r:i,g:r,b:o,a:n}}}function EX(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${lr(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const Rv=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,ha=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function RX(e,t,n){const i=ha(lr(e.r)),r=ha(lr(e.g)),o=ha(lr(e.b));return{r:io(Rv(i+n*(ha(lr(t.r))-i))),g:io(Rv(r+n*(ha(lr(t.g))-r))),b:io(Rv(o+n*(ha(lr(t.b))-o))),a:e.a+n*(t.a-e.a)}}function _d(e,t,n){if(e){let i=CS(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,t===0?360:1)),i=ES(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function QL(e,t){return e&&Object.assign(t||{},e)}function eT(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=io(e[3]))):(t=QL(e,{r:0,g:0,b:0,a:1}),t.a=io(t.a)),t}function TX(e){return e.charAt(0)==="r"?OX(e):bX(e)}class ru{constructor(t){if(t instanceof ru)return t;const n=typeof t;let i;n==="object"?i=eT(t):n==="string"&&(i=uX(t)||_X(t)||TX(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=QL(this._rgb);return t&&(t.a=lr(t.a)),t}set rgb(t){this._rgb=eT(t)}rgbString(){return this._valid?EX(this._rgb):void 0}hexString(){return this._valid?dX(this._rgb):void 0}hslString(){return this._valid?SX(this._rgb):void 0}mix(t,n){if(t){const i=this.rgb,r=t.rgb;let o;const a=n===o?.5:n,c=2*a-1,u=i.a-r.a,d=((c*u===-1?c:(c+u)/(1+c*u))+1)/2;o=1-d,i.r=255&d*i.r+o*r.r+.5,i.g=255&d*i.g+o*r.g+.5,i.b=255&d*i.b+o*r.b+.5,i.a=a*i.a+(1-a)*r.a,this.rgb=i}return this}interpolate(t,n){return t&&(this._rgb=RX(this._rgb,t._rgb,n)),this}clone(){return new ru(this.rgb)}alpha(t){return this._rgb.a=io(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=ju(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return _d(this._rgb,2,t),this}darken(t){return _d(this._rgb,2,-t),this}saturate(t){return _d(this._rgb,1,t),this}desaturate(t){return _d(this._rgb,1,-t),this}rotate(t){return xX(this._rgb,t),this}}function tr(){}const MX=(()=>{let e=0;return()=>e++})();function Ke(e){return e==null}function Ot(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Le(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Ft(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Oi(e,t){return Ft(e)?e:t}function Pe(e,t){return typeof e>"u"?t:e}const AX=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Ze(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function He(e,t,n,i){let r,o,a;if(Ot(e))for(o=e.length,r=0;r<o;r++)t.call(n,e[r],r);else if(Le(e))for(a=Object.keys(e),o=a.length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])}function Wh(e,t){let n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function Gh(e){if(Ot(e))return e.map(Gh);if(Le(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let r=0;for(;r<i;++r)t[n[r]]=Gh(e[n[r]]);return t}return e}function ZL(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function DX(e,t,n,i){if(!ZL(e))return;const r=t[e],o=n[e];Le(r)&&Le(o)?ou(r,o,i):t[e]=Gh(o)}function ou(e,t,n){const i=Ot(t)?t:[t],r=i.length;if(!Le(e))return e;n=n||{};const o=n.merger||DX;let a;for(let c=0;c<r;++c){if(a=i[c],!Le(a))continue;const u=Object.keys(a);for(let d=0,h=u.length;d<h;++d)o(u[d],e,a,n)}return e}function Nc(e,t){return ou(e,t,{merger:PX})}function PX(e,t,n){if(!ZL(e))return;const i=t[e],r=n[e];Le(i)&&Le(r)?Nc(i,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Gh(r))}const tT={"":e=>e,x:e=>e.x,y:e=>e.y};function jX(e){const t=e.split("."),n=[];let i="";for(const r of t)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function LX(e){const t=jX(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function qh(e,t){return(tT[t]||(tT[t]=LX(t)))(e)}function RS(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Yh=e=>typeof e<"u",mo=e=>typeof e=="function",nT=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function NX(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const $t=Math.PI,hi=2*$t,kX=hi+$t,Kh=Number.POSITIVE_INFINITY,IX=$t/180,li=$t/2,Wo=$t/4,iT=$t*2/3,JL=Math.log10,za=Math.sign;function kc(e,t,n){return Math.abs(e-t)<n}function rT(e){const t=Math.round(e);e=kc(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(JL(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function zX(e){const t=[],n=Math.sqrt(e);let i;for(i=1;i<n;i++)e%i===0&&(t.push(i),t.push(e/i));return n===(n|0)&&t.push(n),t.sort((r,o)=>r-o).pop(),t}function $X(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function su(e){return!$X(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function FX(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function BX(e,t,n){let i,r,o;for(i=0,r=e.length;i<r;i++)o=e[i][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function rs(e){return e*($t/180)}function HX(e){return e*(180/$t)}function oT(e){if(!Ft(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function VX(e,t){const n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i);let o=Math.atan2(i,n);return o<-.5*$t&&(o+=hi),{angle:o,distance:r}}function ax(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function UX(e,t){return(e-t+kX)%hi-$t}function Ti(e){return(e%hi+hi)%hi}function eN(e,t,n,i){const r=Ti(e),o=Ti(t),a=Ti(n),c=Ti(o-r),u=Ti(a-r),d=Ti(r-o),h=Ti(r-a);return r===o||r===a||i&&o===a||c>u&&d<h}function Yn(e,t,n){return Math.max(t,Math.min(n,e))}function WX(e){return Yn(e,-32768,32767)}function wa(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function TS(e,t,n){n=n||(a=>e[a]<t);let i=e.length-1,r=0,o;for(;i-r>1;)o=r+i>>1,n(o)?r=o:i=o;return{lo:r,hi:i}}const os=(e,t,n,i)=>TS(e,n,i?r=>{const o=e[r][t];return o<n||o===n&&e[r+1][t]===n}:r=>e[r][t]<n),GX=(e,t,n)=>TS(e,n,i=>e[i][t]>=n);function qX(e,t,n){let i=0,r=e.length;for(;i<r&&e[i]<t;)i++;for(;r>i&&e[r-1]>n;)r--;return i>0||r<e.length?e.slice(i,r):e}const tN=["push","pop","shift","splice","unshift"];function YX(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),tN.forEach(n=>{const i="_onData"+RS(n),r=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const a=r.apply(this,o);return e._chartjs.listeners.forEach(c=>{typeof c[i]=="function"&&c[i](...o)}),a}})})}function sT(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(t);r!==-1&&i.splice(r,1),!(i.length>0)&&(tN.forEach(o=>{delete e[o]}),delete e._chartjs)}function KX(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const nN=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function iN(e,t){let n=[],i=!1;return function(...r){n=r,i||(i=!0,nN.call(window,()=>{i=!1,e.apply(t,n)}))}}function XX(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const rN=e=>e==="start"?"left":e==="end"?"right":"center",xn=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,QX=(e,t,n,i)=>e===(i?"left":"right")?n:e==="center"?(t+n)/2:t;function ZX(e,t,n){const i=t.length;let r=0,o=i;if(e._sorted){const{iScale:a,vScale:c,_parsed:u}=e,d=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,h=a.axis,{min:g,max:m,minDefined:y,maxDefined:b}=a.getUserBounds();if(y){if(r=Math.min(os(u,h,g).lo,n?i:os(t,h,a.getPixelForValue(g)).lo),d){const w=u.slice(0,r+1).reverse().findIndex(_=>!Ke(_[c.axis]));r-=Math.max(0,w)}r=Yn(r,0,i-1)}if(b){let w=Math.max(os(u,a.axis,m,!0).hi+1,n?0:os(t,h,a.getPixelForValue(m),!0).hi+1);if(d){const _=u.slice(w-1).findIndex(O=>!Ke(O[c.axis]));w+=Math.max(0,_)}o=Yn(w,r,i)-r}else o=i-r}return{start:r,count:o}}function JX(e){const{xScale:t,yScale:n,_scaleRanges:i}=e,r={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!i)return e._scaleRanges=r,!0;const o=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,r),o}const Cd=e=>e===0||e===1,aT=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*hi/n)),lT=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*hi/n)+1,Ic={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*li)+1,easeOutSine:e=>Math.sin(e*li),easeInOutSine:e=>-.5*(Math.cos($t*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Cd(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Cd(e)?e:aT(e,.075,.3),easeOutElastic:e=>Cd(e)?e:lT(e,.075,.3),easeInOutElastic(e){return Cd(e)?e:e<.5?.5*aT(e*2,.1125,.45):.5+.5*lT(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Ic.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Ic.easeInBounce(e*2)*.5:Ic.easeOutBounce(e*2-1)*.5+.5};function MS(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function cT(e){return MS(e)?e:new ru(e)}function Tv(e){return MS(e)?e:new ru(e).saturate(.5).darken(.1).hexString()}const eQ=["x","y","borderWidth","radius","tension"],tQ=["color","borderColor","backgroundColor"];function nQ(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:tQ},numbers:{type:"number",properties:eQ}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function iQ(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const uT=new Map;function rQ(e,t){t=t||{};const n=e+JSON.stringify(t);let i=uT.get(n);return i||(i=new Intl.NumberFormat(e,t),uT.set(n,i)),i}function oN(e,t,n){return rQ(t,n).format(e)}const oQ={values(e){return Ot(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const i=this.chart.options.locale;let r,o=e;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(r="scientific"),o=sQ(e,n)}const a=JL(Math.abs(o)),c=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(u,this.options.ticks.format),oN(e,i,u)}};function sQ(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var sN={formatters:oQ};function aQ(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:sN.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const ys=Object.create(null),lx=Object.create(null);function zc(e,t){if(!t)return e;const n=t.split(".");for(let i=0,r=n.length;i<r;++i){const o=n[i];e=e[o]||(e[o]=Object.create(null))}return e}function Mv(e,t,n){return typeof t=="string"?ou(zc(e,t),n):ou(zc(e,""),t)}class lQ{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,r)=>Tv(r.backgroundColor),this.hoverBorderColor=(i,r)=>Tv(r.borderColor),this.hoverColor=(i,r)=>Tv(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return Mv(this,t,n)}get(t){return zc(this,t)}describe(t,n){return Mv(lx,t,n)}override(t,n){return Mv(ys,t,n)}route(t,n,i,r){const o=zc(this,t),a=zc(this,i),c="_"+n;Object.defineProperties(o,{[c]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[c],d=a[r];return Le(u)?Object.assign({},d,u):Pe(u,d)},set(u){this[c]=u}}})}apply(t){t.forEach(n=>n(this))}}var ft=new lQ({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[nQ,iQ,aQ]);function cQ(e){return!e||Ke(e.size)||Ke(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function fT(e,t,n,i,r){let o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),o>i&&(i=o),i}function Go(e,t,n){const i=e.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((t-r)*i)/i+r}function dT(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function cx(e,t,n,i){aN(e,t,n,i,null)}function aN(e,t,n,i,r){let o,a,c,u,d,h,g,m;const y=t.pointStyle,b=t.rotation,w=t.radius;let _=(b||0)*IX;if(y&&typeof y=="object"&&(o=y.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){e.save(),e.translate(n,i),e.rotate(_),e.drawImage(y,-y.width/2,-y.height/2,y.width,y.height),e.restore();return}if(!(isNaN(w)||w<=0)){switch(e.beginPath(),y){default:r?e.ellipse(n,i,r/2,w,0,0,hi):e.arc(n,i,w,0,hi),e.closePath();break;case"triangle":h=r?r/2:w,e.moveTo(n+Math.sin(_)*h,i-Math.cos(_)*w),_+=iT,e.lineTo(n+Math.sin(_)*h,i-Math.cos(_)*w),_+=iT,e.lineTo(n+Math.sin(_)*h,i-Math.cos(_)*w),e.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(_+Wo)*u,g=Math.cos(_+Wo)*(r?r/2-d:u),c=Math.sin(_+Wo)*u,m=Math.sin(_+Wo)*(r?r/2-d:u),e.arc(n-g,i-c,d,_-$t,_-li),e.arc(n+m,i-a,d,_-li,_),e.arc(n+g,i+c,d,_,_+li),e.arc(n-m,i+a,d,_+li,_+$t),e.closePath();break;case"rect":if(!b){u=Math.SQRT1_2*w,h=r?r/2:u,e.rect(n-h,i-u,2*h,2*u);break}_+=Wo;case"rectRot":g=Math.cos(_)*(r?r/2:w),a=Math.cos(_)*w,c=Math.sin(_)*w,m=Math.sin(_)*(r?r/2:w),e.moveTo(n-g,i-c),e.lineTo(n+m,i-a),e.lineTo(n+g,i+c),e.lineTo(n-m,i+a),e.closePath();break;case"crossRot":_+=Wo;case"cross":g=Math.cos(_)*(r?r/2:w),a=Math.cos(_)*w,c=Math.sin(_)*w,m=Math.sin(_)*(r?r/2:w),e.moveTo(n-g,i-c),e.lineTo(n+g,i+c),e.moveTo(n+m,i-a),e.lineTo(n-m,i+a);break;case"star":g=Math.cos(_)*(r?r/2:w),a=Math.cos(_)*w,c=Math.sin(_)*w,m=Math.sin(_)*(r?r/2:w),e.moveTo(n-g,i-c),e.lineTo(n+g,i+c),e.moveTo(n+m,i-a),e.lineTo(n-m,i+a),_+=Wo,g=Math.cos(_)*(r?r/2:w),a=Math.cos(_)*w,c=Math.sin(_)*w,m=Math.sin(_)*(r?r/2:w),e.moveTo(n-g,i-c),e.lineTo(n+g,i+c),e.moveTo(n+m,i-a),e.lineTo(n-m,i+a);break;case"line":a=r?r/2:Math.cos(_)*w,c=Math.sin(_)*w,e.moveTo(n-a,i-c),e.lineTo(n+a,i+c);break;case"dash":e.moveTo(n,i),e.lineTo(n+Math.cos(_)*(r?r/2:w),i+Math.sin(_)*w);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function au(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function tg(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function ng(e){e.restore()}function uQ(e,t,n,i,r){if(!t)return e.lineTo(n.x,n.y);if(r==="middle"){const o=(t.x+n.x)/2;e.lineTo(o,t.y),e.lineTo(o,n.y)}else r==="after"!=!!i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function fQ(e,t,n,i){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function dQ(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Ke(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function hQ(e,t,n,i,r){if(r.strikethrough||r.underline){const o=e.measureText(i),a=t-o.actualBoundingBoxLeft,c=t+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,d=n+o.actualBoundingBoxDescent,h=r.strikethrough?(u+d)/2:d;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(a,h),e.lineTo(c,h),e.stroke()}}function pQ(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Xh(e,t,n,i,r,o={}){const a=Ot(t)?t:[t],c=o.strokeWidth>0&&o.strokeColor!=="";let u,d;for(e.save(),e.font=r.string,dQ(e,o),u=0;u<a.length;++u)d=a[u],o.backdrop&&pQ(e,o.backdrop),c&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Ke(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(d,n,i,o.maxWidth)),e.fillText(d,n,i,o.maxWidth),hQ(e,n,i,d,o),i+=Number(r.lineHeight);e.restore()}function ux(e,t){const{x:n,y:i,w:r,h:o,radius:a}=t;e.arc(n+a.topLeft,i+a.topLeft,a.topLeft,1.5*$t,$t,!0),e.lineTo(n,i+o-a.bottomLeft),e.arc(n+a.bottomLeft,i+o-a.bottomLeft,a.bottomLeft,$t,li,!0),e.lineTo(n+r-a.bottomRight,i+o),e.arc(n+r-a.bottomRight,i+o-a.bottomRight,a.bottomRight,li,0,!0),e.lineTo(n+r,i+a.topRight),e.arc(n+r-a.topRight,i+a.topRight,a.topRight,0,-li,!0),e.lineTo(n+a.topLeft,i)}const gQ=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,mQ=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function yQ(e,t){const n=(""+e).match(gQ);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const vQ=e=>+e||0;function lN(e,t){const n={},i=Le(t),r=i?Object.keys(t):t,o=Le(e)?i?a=>Pe(e[a],e[t[a]]):a=>e[a]:()=>e;for(const a of r)n[a]=vQ(o(a));return n}function bQ(e){return lN(e,{top:"y",right:"x",bottom:"y",left:"x"})}function $c(e){return lN(e,["topLeft","topRight","bottomLeft","bottomRight"])}function yi(e){const t=bQ(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ln(e,t){e=e||{},t=t||ft.font;let n=Pe(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=Pe(e.style,t.style);i&&!(""+i).match(mQ)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const r={family:Pe(e.family,t.family),lineHeight:yQ(Pe(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:Pe(e.weight,t.weight),string:""};return r.string=cQ(r),r}function Od(e,t,n,i){let r,o,a;for(r=0,o=e.length;r<o;++r)if(a=e[r],a!==void 0&&a!==void 0)return a}function xQ(e,t,n){const{min:i,max:r}=e,o=AX(t,(r-i)/2),a=(c,u)=>n&&c===0?0:c+u;return{min:a(i,-Math.abs(o)),max:a(r,o)}}function Cs(e,t){return Object.assign(Object.create(e),t)}function AS(e,t=[""],n,i,r=()=>e[0]){const o=n||e;typeof i>"u"&&(i=dN("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:i,_getTarget:r,override:c=>AS([c,...e],t,o,i)};return new Proxy(a,{deleteProperty(c,u){return delete c[u],delete c._keys,delete e[0][u],!0},get(c,u){return uN(c,u,()=>TQ(u,t,e,c))},getOwnPropertyDescriptor(c,u){return Reflect.getOwnPropertyDescriptor(c._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(c,u){return pT(c).includes(u)},ownKeys(c){return pT(c)},set(c,u,d){const h=c._storage||(c._storage=r());return c[u]=h[u]=d,delete c._keys,!0}})}function $a(e,t,n,i){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:cN(e,i),setContext:o=>$a(e,o,n,i),override:o=>$a(e.override(o),t,n,i)};return new Proxy(r,{deleteProperty(o,a){return delete o[a],delete e[a],!0},get(o,a,c){return uN(o,a,()=>wQ(o,a,c))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(e,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,a)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,a){return Reflect.has(e,a)},ownKeys(){return Reflect.ownKeys(e)},set(o,a,c){return e[a]=c,delete o[a],!0}})}function cN(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:i,isScriptable:mo(n)?n:()=>n,isIndexable:mo(i)?i:()=>i}}const SQ=(e,t)=>e?e+RS(t):t,DS=(e,t)=>Le(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function uN(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const i=n();return e[t]=i,i}function wQ(e,t,n){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=e;let c=i[t];return mo(c)&&a.isScriptable(t)&&(c=_Q(t,c,e,n)),Ot(c)&&c.length&&(c=CQ(t,c,e,a.isIndexable)),DS(t,c)&&(c=$a(c,r,o&&o[t],a)),c}function _Q(e,t,n,i){const{_proxy:r,_context:o,_subProxy:a,_stack:c}=n;if(c.has(e))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+e);c.add(e);let u=t(o,a||i);return c.delete(e),DS(e,u)&&(u=PS(r._scopes,r,e,u)),u}function CQ(e,t,n,i){const{_proxy:r,_context:o,_subProxy:a,_descriptors:c}=n;if(typeof o.index<"u"&&i(e))return t[o.index%t.length];if(Le(t[0])){const u=t,d=r._scopes.filter(h=>h!==u);t=[];for(const h of u){const g=PS(d,r,e,h);t.push($a(g,o,a&&a[e],c))}}return t}function fN(e,t,n){return mo(e)?e(t,n):e}const OQ=(e,t)=>e===!0?t:typeof e=="string"?qh(t,e):void 0;function EQ(e,t,n,i,r){for(const o of t){const a=OQ(n,o);if(a){e.add(a);const c=fN(a._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==i)return c}else if(a===!1&&typeof i<"u"&&n!==i)return null}return!1}function PS(e,t,n,i){const r=t._rootScopes,o=fN(t._fallback,n,i),a=[...e,...r],c=new Set;c.add(i);let u=hT(c,a,n,o||n,i);return u===null||typeof o<"u"&&o!==n&&(u=hT(c,a,o,u,i),u===null)?!1:AS(Array.from(c),[""],r,o,()=>RQ(t,n,i))}function hT(e,t,n,i,r){for(;n;)n=EQ(e,t,n,i,r);return n}function RQ(e,t,n){const i=e._getTarget();t in i||(i[t]={});const r=i[t];return Ot(r)&&Le(n)?n:r||{}}function TQ(e,t,n,i){let r;for(const o of t)if(r=dN(SQ(o,e),n),typeof r<"u")return DS(e,r)?PS(n,i,e,r):r}function dN(e,t){for(const n of t){if(!n)continue;const i=n[e];if(typeof i<"u")return i}}function pT(e){let t=e._keys;return t||(t=e._keys=MQ(e._scopes)),t}function MQ(e){const t=new Set;for(const n of e)for(const i of Object.keys(n).filter(r=>!r.startsWith("_")))t.add(i);return Array.from(t)}const AQ=Number.EPSILON||1e-14,Fa=(e,t)=>t<e.length&&!e[t].skip&&e[t],hN=e=>e==="x"?"y":"x";function DQ(e,t,n,i){const r=e.skip?t:e,o=t,a=n.skip?t:n,c=ax(o,r),u=ax(a,o);let d=c/(c+u),h=u/(c+u);d=isNaN(d)?0:d,h=isNaN(h)?0:h;const g=i*d,m=i*h;return{previous:{x:o.x-g*(a.x-r.x),y:o.y-g*(a.y-r.y)},next:{x:o.x+m*(a.x-r.x),y:o.y+m*(a.y-r.y)}}}function PQ(e,t,n){const i=e.length;let r,o,a,c,u,d=Fa(e,0);for(let h=0;h<i-1;++h)if(u=d,d=Fa(e,h+1),!(!u||!d)){if(kc(t[h],0,AQ)){n[h]=n[h+1]=0;continue}r=n[h]/t[h],o=n[h+1]/t[h],c=Math.pow(r,2)+Math.pow(o,2),!(c<=9)&&(a=3/Math.sqrt(c),n[h]=r*a*t[h],n[h+1]=o*a*t[h])}}function jQ(e,t,n="x"){const i=hN(n),r=e.length;let o,a,c,u=Fa(e,0);for(let d=0;d<r;++d){if(a=c,c=u,u=Fa(e,d+1),!c)continue;const h=c[n],g=c[i];a&&(o=(h-a[n])/3,c[`cp1${n}`]=h-o,c[`cp1${i}`]=g-o*t[d]),u&&(o=(u[n]-h)/3,c[`cp2${n}`]=h+o,c[`cp2${i}`]=g+o*t[d])}}function LQ(e,t="x"){const n=hN(t),i=e.length,r=Array(i).fill(0),o=Array(i);let a,c,u,d=Fa(e,0);for(a=0;a<i;++a)if(c=u,u=d,d=Fa(e,a+1),!!u){if(d){const h=d[t]-u[t];r[a]=h!==0?(d[n]-u[n])/h:0}o[a]=c?d?za(r[a-1])!==za(r[a])?0:(r[a-1]+r[a])/2:r[a-1]:r[a]}PQ(e,r,o),jQ(e,o,t)}function Ed(e,t,n){return Math.max(Math.min(e,n),t)}function NQ(e,t){let n,i,r,o,a,c=au(e[0],t);for(n=0,i=e.length;n<i;++n)a=o,o=c,c=n<i-1&&au(e[n+1],t),o&&(r=e[n],a&&(r.cp1x=Ed(r.cp1x,t.left,t.right),r.cp1y=Ed(r.cp1y,t.top,t.bottom)),c&&(r.cp2x=Ed(r.cp2x,t.left,t.right),r.cp2y=Ed(r.cp2y,t.top,t.bottom)))}function kQ(e,t,n,i,r){let o,a,c,u;if(t.spanGaps&&(e=e.filter(d=>!d.skip)),t.cubicInterpolationMode==="monotone")LQ(e,r);else{let d=i?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)c=e[o],u=DQ(d,c,e[Math.min(o+1,a-(i?0:1))%a],t.tension),c.cp1x=u.previous.x,c.cp1y=u.previous.y,c.cp2x=u.next.x,c.cp2y=u.next.y,d=c}t.capBezierPoints&&NQ(e,n)}function jS(){return typeof window<"u"&&typeof document<"u"}function LS(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Qh(e,t,n){let i;return typeof e=="string"?(i=parseInt(e,10),e.indexOf("%")!==-1&&(i=i/100*t.parentNode[n])):i=e,i}const ig=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function IQ(e,t){return ig(e).getPropertyValue(t)}const zQ=["top","right","bottom","left"];function us(e,t,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const o=zQ[r];i[o]=parseFloat(e[t+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const $Q=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function FQ(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:r,offsetY:o}=i;let a=!1,c,u;if($Q(r,o,e.target))c=r,u=o;else{const d=t.getBoundingClientRect();c=i.clientX-d.left,u=i.clientY-d.top,a=!0}return{x:c,y:u,box:a}}function Xo(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,r=ig(n),o=r.boxSizing==="border-box",a=us(r,"padding"),c=us(r,"border","width"),{x:u,y:d,box:h}=FQ(e,n),g=a.left+(h&&c.left),m=a.top+(h&&c.top);let{width:y,height:b}=t;return o&&(y-=a.width+c.width,b-=a.height+c.height),{x:Math.round((u-g)/y*n.width/i),y:Math.round((d-m)/b*n.height/i)}}function BQ(e,t,n){let i,r;if(t===void 0||n===void 0){const o=e&&LS(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const a=o.getBoundingClientRect(),c=ig(o),u=us(c,"border","width"),d=us(c,"padding");t=a.width-d.width-u.width,n=a.height-d.height-u.height,i=Qh(c.maxWidth,o,"clientWidth"),r=Qh(c.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:i||Kh,maxHeight:r||Kh}}const Zr=e=>Math.round(e*10)/10;function HQ(e,t,n,i){const r=ig(e),o=us(r,"margin"),a=Qh(r.maxWidth,e,"clientWidth")||Kh,c=Qh(r.maxHeight,e,"clientHeight")||Kh,u=BQ(e,t,n);let{width:d,height:h}=u;if(r.boxSizing==="content-box"){const m=us(r,"border","width"),y=us(r,"padding");d-=y.width+m.width,h-=y.height+m.height}return d=Math.max(0,d-o.width),h=Math.max(0,i?d/i:h-o.height),d=Zr(Math.min(d,a,u.maxWidth)),h=Zr(Math.min(h,c,u.maxHeight)),d&&!h&&(h=Zr(d/2)),(t!==void 0||n!==void 0)&&i&&u.height&&h>u.height&&(h=u.height,d=Zr(Math.floor(h*i))),{width:d,height:h}}function gT(e,t,n){const i=t||1,r=Zr(e.height*i),o=Zr(e.width*i);e.height=Zr(e.height),e.width=Zr(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),e.currentDevicePixelRatio!==i||a.height!==r||a.width!==o?(e.currentDevicePixelRatio=i,a.height=r,a.width=o,e.ctx.setTransform(i,0,0,i,0,0),!0):!1}const VQ=(function(){let e=!1;try{const t={get passive(){return e=!0,!1}};jS()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function mT(e,t){const n=IQ(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Qo(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function UQ(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:i==="middle"?n<.5?e.y:t.y:i==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function WQ(e,t,n,i){const r={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=Qo(e,r,n),c=Qo(r,o,n),u=Qo(o,t,n),d=Qo(a,c,n),h=Qo(c,u,n);return Qo(d,h,n)}const GQ=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},qQ=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ma(e,t,n){return e?GQ(t,n):qQ()}function pN(e,t){let n,i;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function gN(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function mN(e){return e==="angle"?{between:eN,compare:UX,normalize:Ti}:{between:wa,compare:(t,n)=>t-n,normalize:t=>t}}function yT({start:e,end:t,count:n,loop:i,style:r}){return{start:e%n,end:t%n,loop:i&&(t-e+1)%n===0,style:r}}function YQ(e,t,n){const{property:i,start:r,end:o}=n,{between:a,normalize:c}=mN(i),u=t.length;let{start:d,end:h,loop:g}=e,m,y;if(g){for(d+=u,h+=u,m=0,y=u;m<y&&a(c(t[d%u][i]),r,o);++m)d--,h--;d%=u,h%=u}return h<d&&(h+=u),{start:d,end:h,loop:g,style:e.style}}function yN(e,t,n){if(!n)return[e];const{property:i,start:r,end:o}=n,a=t.length,{compare:c,between:u,normalize:d}=mN(i),{start:h,end:g,loop:m,style:y}=YQ(e,t,n),b=[];let w=!1,_=null,O,R,T;const M=()=>u(r,T,O)&&c(r,T)!==0,D=()=>c(o,O)===0||u(o,T,O),P=()=>w||M(),I=()=>!w||D();for(let z=h,U=h;z<=g;++z)R=t[z%a],!R.skip&&(O=d(R[i]),O!==T&&(w=u(O,r,o),_===null&&P()&&(_=c(O,r)===0?z:U),_!==null&&I()&&(b.push(yT({start:_,end:z,loop:m,count:a,style:y})),_=null),U=z,T=O));return _!==null&&b.push(yT({start:_,end:g,loop:m,count:a,style:y})),b}function vN(e,t){const n=[],i=e.segments;for(let r=0;r<i.length;r++){const o=yN(i[r],e.points,t);o.length&&n.push(...o)}return n}function KQ(e,t,n,i){let r=0,o=t-1;if(n&&!i)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,n&&(o+=r);o>r&&e[o%t].skip;)o--;return o%=t,{start:r,end:o}}function XQ(e,t,n,i){const r=e.length,o=[];let a=t,c=e[t],u;for(u=t+1;u<=n;++u){const d=e[u%r];d.skip||d.stop?c.skip||(i=!1,o.push({start:t%r,end:(u-1)%r,loop:i}),t=a=d.stop?u:null):(a=u,c.skip&&(t=u)),c=d}return a!==null&&o.push({start:t%r,end:a%r,loop:i}),o}function QQ(e,t){const n=e.points,i=e.options.spanGaps,r=n.length;if(!r)return[];const o=!!e._loop,{start:a,end:c}=KQ(n,r,o,i);if(i===!0)return vT(e,[{start:a,end:c,loop:o}],n,t);const u=c<a?c+r:c,d=!!e._fullLoop&&a===0&&c===r-1;return vT(e,XQ(n,a,u,d),n,t)}function vT(e,t,n,i){return!i||!i.setContext||!n?t:ZQ(e,t,n,i)}function ZQ(e,t,n,i){const r=e._chart.getContext(),o=bT(e.options),{_datasetIndex:a,options:{spanGaps:c}}=e,u=n.length,d=[];let h=o,g=t[0].start,m=g;function y(b,w,_,O){const R=c?-1:1;if(b!==w){for(b+=u;n[b%u].skip;)b-=R;for(;n[w%u].skip;)w+=R;b%u!==w%u&&(d.push({start:b%u,end:w%u,loop:_,style:O}),h=O,g=w%u)}}for(const b of t){g=c?g:b.start;let w=n[g%u],_;for(m=g+1;m<=b.end;m++){const O=n[m%u];_=bT(i.setContext(Cs(r,{type:"segment",p0:w,p1:O,p0DataIndex:(m-1)%u,p1DataIndex:m%u,datasetIndex:a}))),JQ(_,h)&&y(g,m-1,b.loop,h),w=O,h=_}g<m-1&&y(g,m-1,b.loop,h)}return d}function bT(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function JQ(e,t){if(!t)return!1;const n=[],i=function(r,o){return MS(o)?(n.includes(o)||n.push(o),n.indexOf(o)):o};return JSON.stringify(e,i)!==JSON.stringify(t,i)}function Rd(e,t,n){return e.options.clip?e[n]:t[n]}function eZ(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Rd(n,t,"left"),right:Rd(n,t,"right"),top:Rd(i,t,"top"),bottom:Rd(i,t,"bottom")}:t}function bN(e,t){const n=t._clip;if(n.disabled)return!1;const i=eZ(t,e.chartArea);return{left:n.left===!1?0:i.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:i.right+(n.right===!0?0:n.right),top:n.top===!1?0:i.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:i.bottom+(n.bottom===!0?0:n.bottom)}}class tZ{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,r){const o=n.listeners[r],a=n.duration;o.forEach(c=>c({chart:t,initial:n.initial,numSteps:a,currentStep:Math.min(i-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=nN.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const o=i.items;let a=o.length-1,c=!1,u;for(;a>=0;--a)u=o[a],u._active?(u._total>i.duration&&(i.duration=u._total),u.tick(t),c=!0):(o[a]=o[o.length-1],o.pop());c&&(r.draw(),this._notify(r,i,t,"progress")),o.length||(i.running=!1,this._notify(r,i,t,"complete"),i.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var nr=new tZ;const xT="transparent",nZ={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=cT(e||xT),r=i.valid&&cT(t||xT);return r&&r.valid?r.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class iZ{constructor(t,n,i,r){const o=n[i];r=Od([t.to,r,o,t.from]);const a=Od([t.from,o,r]);this._active=!0,this._fn=t.fn||nZ[t.type||typeof a],this._easing=Ic[t.easing]||Ic.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const r=this._target[this._prop],o=i-this._start,a=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=Od([t.to,n,r,t.from]),this._from=Od([t.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,r=this._prop,o=this._from,a=this._loop,c=this._to;let u;if(this._active=o!==c&&(a||n<i),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=o;return}u=n/i%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[r]=this._fn(o,c,u)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][n]()}}class xN{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Le(t))return;const n=Object.keys(ft.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const o=t[r];if(!Le(o))return;const a={};for(const c of n)a[c]=o[c];(Ot(o.properties)&&o.properties||[r]).forEach(c=>{(c===r||!i.has(c))&&i.set(c,a)})})}_animateOptions(t,n){const i=n.options,r=oZ(t,i);if(!r)return[];const o=this._createAnimations(r,i);return i.$shared&&rZ(t.options.$animations,i).then(()=>{t.options=i},()=>{}),o}_createAnimations(t,n){const i=this._properties,r=[],o=t.$animations||(t.$animations={}),a=Object.keys(n),c=Date.now();let u;for(u=a.length-1;u>=0;--u){const d=a[u];if(d.charAt(0)==="$")continue;if(d==="options"){r.push(...this._animateOptions(t,n));continue}const h=n[d];let g=o[d];const m=i.get(d);if(g)if(m&&g.active()){g.update(m,h,c);continue}else g.cancel();if(!m||!m.duration){t[d]=h;continue}o[d]=g=new iZ(m,t,d,h),r.push(g)}return r}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return nr.add(this._chart,i),!0}}function rZ(e,t){const n=[],i=Object.keys(t);for(let r=0;r<i.length;r++){const o=e[i[r]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function oZ(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function ST(e,t){const n=e&&e.options||{},i=n.reverse,r=n.min===void 0?t:0,o=n.max===void 0?t:0;return{start:i?o:r,end:i?r:o}}function sZ(e,t,n){if(n===!1)return!1;const i=ST(e,n),r=ST(t,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function aZ(e){let t,n,i,r;return Le(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r,disabled:e===!1}}function SN(e,t){const n=[],i=e._getSortedDatasetMetas(t);let r,o;for(r=0,o=i.length;r<o;++r)n.push(i[r].index);return n}function wT(e,t,n,i={}){const r=e.keys,o=i.mode==="single";let a,c,u,d;if(t===null)return;let h=!1;for(a=0,c=r.length;a<c;++a){if(u=+r[a],u===n){if(h=!0,i.all)continue;break}d=e.values[u],Ft(d)&&(o||t===0||za(t)===za(d))&&(t+=d)}return!h&&!i.all?0:t}function lZ(e,t){const{iScale:n,vScale:i}=t,r=n.axis==="x"?"x":"y",o=i.axis==="x"?"x":"y",a=Object.keys(e),c=new Array(a.length);let u,d,h;for(u=0,d=a.length;u<d;++u)h=a[u],c[u]={[r]:h,[o]:e[h]};return c}function Av(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function cZ(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function uZ(e){const{min:t,max:n,minDefined:i,maxDefined:r}=e.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function fZ(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function _T(e,t,n,i){for(const r of t.getMatchingVisibleMetas(i).reverse()){const o=e[r.index];if(n&&o>0||!n&&o<0)return r.index}return null}function CT(e,t){const{chart:n,_cachedMeta:i}=e,r=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:c}=i,u=o.axis,d=a.axis,h=cZ(o,a,i),g=t.length;let m;for(let y=0;y<g;++y){const b=t[y],{[u]:w,[d]:_}=b,O=b._stacks||(b._stacks={});m=O[d]=fZ(r,h,w),m[c]=_,m._top=_T(m,a,!0,i.type),m._bottom=_T(m,a,!1,i.type);const R=m._visualValues||(m._visualValues={});R[c]=_}}function Dv(e,t){const n=e.scales;return Object.keys(n).filter(i=>n[i].axis===t).shift()}function dZ(e,t){return Cs(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function hZ(e,t,n){return Cs(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function dc(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const r of t){const o=r._stacks;if(!o||o[i]===void 0||o[i][n]===void 0)return;delete o[i][n],o[i]._visualValues!==void 0&&o[i]._visualValues[n]!==void 0&&delete o[i]._visualValues[n]}}}const Pv=e=>e==="reset"||e==="none",OT=(e,t)=>t?e:Object.assign({},e),pZ=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:SN(n,!0),values:null};class wN{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Av(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&dc(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),r=(g,m,y,b)=>g==="x"?m:g==="r"?b:y,o=n.xAxisID=Pe(i.xAxisID,Dv(t,"x")),a=n.yAxisID=Pe(i.yAxisID,Dv(t,"y")),c=n.rAxisID=Pe(i.rAxisID,Dv(t,"r")),u=n.indexAxis,d=n.iAxisID=r(u,o,a,c),h=n.vAxisID=r(u,a,o,c);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&sT(this._data,this),t._stacked&&dc(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(Le(n)){const r=this._cachedMeta;this._data=lZ(n,r)}else if(i!==n){if(i){sT(i,this);const r=this._cachedMeta;dc(r),r._parsed=[]}n&&Object.isExtensible(n)&&YX(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const o=n._stacked;n._stacked=Av(n.vScale,n),n.stack!==i.stack&&(r=!0,dc(n),n.stack=i.stack),this._resyncElements(t),(r||o!==n._stacked)&&(CT(this,n._parsed),n._stacked=Av(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:r}=this,{iScale:o,_stacked:a}=i,c=o.axis;let u=t===0&&n===r.length?!0:i._sorted,d=t>0&&i._parsed[t-1],h,g,m;if(this._parsing===!1)i._parsed=r,i._sorted=!0,m=r;else{Ot(r[t])?m=this.parseArrayData(i,r,t,n):Le(r[t])?m=this.parseObjectData(i,r,t,n):m=this.parsePrimitiveData(i,r,t,n);const y=()=>g[c]===null||d&&g[c]<d[c];for(h=0;h<n;++h)i._parsed[h+t]=g=m[h],u&&(y()&&(u=!1),d=g);i._sorted=u}a&&CT(this,m)}parsePrimitiveData(t,n,i,r){const{iScale:o,vScale:a}=t,c=o.axis,u=a.axis,d=o.getLabels(),h=o===a,g=new Array(r);let m,y,b;for(m=0,y=r;m<y;++m)b=m+i,g[m]={[c]:h||o.parse(d[b],b),[u]:a.parse(n[b],b)};return g}parseArrayData(t,n,i,r){const{xScale:o,yScale:a}=t,c=new Array(r);let u,d,h,g;for(u=0,d=r;u<d;++u)h=u+i,g=n[h],c[u]={x:o.parse(g[0],h),y:a.parse(g[1],h)};return c}parseObjectData(t,n,i,r){const{xScale:o,yScale:a}=t,{xAxisKey:c="x",yAxisKey:u="y"}=this._parsing,d=new Array(r);let h,g,m,y;for(h=0,g=r;h<g;++h)m=h+i,y=n[m],d[h]={x:o.parse(qh(y,c),m),y:a.parse(qh(y,u),m)};return d}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,i){const r=this.chart,o=this._cachedMeta,a=n[t.axis],c={keys:SN(r,!0),values:n._stacks[t.axis]._visualValues};return wT(c,a,o.index,{mode:i})}updateRangeFromParsed(t,n,i,r){const o=i[n.axis];let a=o===null?NaN:o;const c=r&&i._stacks[n.axis];r&&c&&(r.values=c,a=wT(r,o,this._cachedMeta.index)),t.min=Math.min(t.min,a),t.max=Math.max(t.max,a)}getMinMax(t,n){const i=this._cachedMeta,r=i._parsed,o=i._sorted&&t===i.iScale,a=r.length,c=this._getOtherScale(t),u=pZ(n,i,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:g}=uZ(c);let m,y;function b(){y=r[m];const w=y[c.axis];return!Ft(y[t.axis])||h>w||g<w}for(m=0;m<a&&!(!b()&&(this.updateRangeFromParsed(d,t,y,u),o));++m);if(o){for(m=a-1;m>=0;--m)if(!b()){this.updateRangeFromParsed(d,t,y,u);break}}return d}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let r,o,a;for(r=0,o=n.length;r<o;++r)a=n[r][t.axis],Ft(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,i=n.iScale,r=n.vScale,o=this.getParsed(t);return{label:i?""+i.getLabelForValue(o[i.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=aZ(Pe(this.options.clip,sZ(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,i=this._cachedMeta,r=i.data||[],o=n.chartArea,a=[],c=this._drawStart||0,u=this._drawCount||r.length-c,d=this.options.drawActiveElementsOnTop;let h;for(i.dataset&&i.dataset.draw(t,o,c,u),h=c;h<c+u;++h){const g=r[h];g.hidden||(g.active&&d?a.push(g):g.draw(t,o))}for(h=0;h<a.length;++h)a[h].draw(t,o)}getStyle(t,n){const i=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,n,i){const r=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const a=this._cachedMeta.data[t];o=a.$context||(a.$context=hZ(this.getContext(),t,a)),o.parsed=this.getParsed(t),o.raw=r.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=dZ(this.chart.getContext(),this.index)),o.dataset=r,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=i,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",i){const r=n==="active",o=this._cachedDataOpts,a=t+"-"+n,c=o[a],u=this.enableOptionSharing&&Yh(i);if(c)return OT(c,u);const d=this.chart.config,h=d.datasetElementScopeKeys(this._type,t),g=r?[`${t}Hover`,"hover",t,""]:[t,""],m=d.getOptionScopes(this.getDataset(),h),y=Object.keys(ft.elements[t]),b=()=>this.getContext(i,r,n),w=d.resolveNamedOptions(m,y,b,g);return w.$shared&&(w.$shared=u,o[a]=Object.freeze(OT(w,u))),w}_resolveAnimations(t,n,i){const r=this.chart,o=this._cachedDataOpts,a=`animation-${n}`,c=o[a];if(c)return c;let u;if(r.options.animation!==!1){const h=this.chart.config,g=h.datasetAnimationScopeKeys(this._type,n),m=h.getOptionScopes(this.getDataset(),g);u=h.createResolver(m,this.getContext(t,i,n))}const d=new xN(r,u&&u.animations);return u&&u._cacheable&&(o[a]=Object.freeze(d)),d}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Pv(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),r=this._sharedOptions,o=this.getSharedOptions(i),a=this.includeOptions(n,o)||o!==r;return this.updateSharedOptions(o,n,i),{sharedOptions:o,includeOptions:a}}updateElement(t,n,i,r){Pv(r)?Object.assign(t,i):this._resolveAnimations(n,r).update(t,i)}updateSharedOptions(t,n,i){t&&!Pv(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,r){t.active=r;const o=this.getStyle(n,r);this._resolveAnimations(n,i,r).update(t,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,i=this._cachedMeta.data;for(const[c,u,d]of this._syncList)this[c](u,d);this._syncList=[];const r=i.length,o=n.length,a=Math.min(o,r);a&&this.parse(0,a),o>r?this._insertElements(r,o-r,t):o<r&&this._removeElements(o,r-o)}_insertElements(t,n,i=!0){const r=this._cachedMeta,o=r.data,a=t+n;let c;const u=d=>{for(d.length+=n,c=d.length-1;c>=a;c--)d[c]=d[c-n]};for(u(o),c=t;c<a;++c)o[c]=new this.dataElementType;this._parsing&&u(r._parsed),this.parse(t,n),i&&this.updateElements(o,t,n,"reset")}updateElements(t,n,i,r){}_removeElements(t,n){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(t,n);i._stacked&&dc(i,r)}i.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,i,r]=t;this[n](i,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}class gZ extends wN{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:i,data:r=[],_dataset:o}=n,a=this.chart._animationsDisabled;let{start:c,count:u}=ZX(n,r,a);this._drawStart=c,this._drawCount=u,JX(n)&&(c=0,u=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=r;const d=this.resolveDatasetElementOptions(t);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(i,void 0,{animated:!a,options:d},t),this.updateElements(r,c,u,t)}updateElements(t,n,i,r){const o=r==="reset",{iScale:a,vScale:c,_stacked:u,_dataset:d}=this._cachedMeta,{sharedOptions:h,includeOptions:g}=this._getSharedOptions(n,r),m=a.axis,y=c.axis,{spanGaps:b,segment:w}=this.options,_=su(b)?b:Number.POSITIVE_INFINITY,O=this.chart._animationsDisabled||o||r==="none",R=n+i,T=t.length;let M=n>0&&this.getParsed(n-1);for(let D=0;D<T;++D){const P=t[D],I=O?P:{};if(D<n||D>=R){I.skip=!0;continue}const z=this.getParsed(D),U=Ke(z[y]),$=I[m]=a.getPixelForValue(z[m],D),W=I[y]=o||U?c.getBasePixel():c.getPixelForValue(u?this.applyStack(c,z,u):z[y],D);I.skip=isNaN($)||isNaN(W)||U,I.stop=D>0&&Math.abs(z[m]-M[m])>_,w&&(I.parsed=z,I.raw=d.data[D]),g&&(I.options=h||this.resolveDataElementOptions(D,P.active?"active":r)),O||this.updateElement(P,D,I,r),M=z}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,i=n.options&&n.options.borderWidth||0,r=t.data||[];if(!r.length)return i;const o=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,o,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}function qo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class NS{static override(t){Object.assign(NS.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return qo()}parse(){return qo()}format(){return qo()}add(){return qo()}diff(){return qo()}startOf(){return qo()}endOf(){return qo()}}var mZ={_date:NS};function yZ(e,t,n,i){const{controller:r,data:o,_sorted:a}=e,c=r._cachedMeta.iScale,u=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(c&&t===c.axis&&t!=="r"&&a&&o.length){const d=c._reversePixels?GX:os;if(i){if(r._sharedOptions){const h=o[0],g=typeof h.getRange=="function"&&h.getRange(t);if(g){const m=d(o,t,n-g),y=d(o,t,n+g);return{lo:m.lo,hi:y.hi}}}}else{const h=d(o,t,n);if(u){const{vScale:g}=r._cachedMeta,{_parsed:m}=e,y=m.slice(0,h.lo+1).reverse().findIndex(w=>!Ke(w[g.axis]));h.lo-=Math.max(0,y);const b=m.slice(h.hi).findIndex(w=>!Ke(w[g.axis]));h.hi+=Math.max(0,b)}return h}}return{lo:0,hi:o.length-1}}function rg(e,t,n,i,r){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let c=0,u=o.length;c<u;++c){const{index:d,data:h}=o[c],{lo:g,hi:m}=yZ(o[c],t,a,r);for(let y=g;y<=m;++y){const b=h[y];b.skip||i(b,d,y)}}}function vZ(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(i,r){const o=t?Math.abs(i.x-r.x):0,a=n?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}}function jv(e,t,n,i,r){const o=[];return!r&&!e.isPointInArea(t)||rg(e,n,t,function(c,u,d){!r&&!au(c,e.chartArea,0)||c.inRange(t.x,t.y,i)&&o.push({element:c,datasetIndex:u,index:d})},!0),o}function bZ(e,t,n,i){let r=[];function o(a,c,u){const{startAngle:d,endAngle:h}=a.getProps(["startAngle","endAngle"],i),{angle:g}=VX(a,{x:t.x,y:t.y});eN(g,d,h)&&r.push({element:a,datasetIndex:c,index:u})}return rg(e,n,t,o),r}function xZ(e,t,n,i,r,o){let a=[];const c=vZ(n);let u=Number.POSITIVE_INFINITY;function d(h,g,m){const y=h.inRange(t.x,t.y,r);if(i&&!y)return;const b=h.getCenterPoint(r);if(!(!!o||e.isPointInArea(b))&&!y)return;const _=c(t,b);_<u?(a=[{element:h,datasetIndex:g,index:m}],u=_):_===u&&a.push({element:h,datasetIndex:g,index:m})}return rg(e,n,t,d),a}function Lv(e,t,n,i,r,o){return!o&&!e.isPointInArea(t)?[]:n==="r"&&!i?bZ(e,t,n,r):xZ(e,t,n,i,r,o)}function ET(e,t,n,i,r){const o=[],a=n==="x"?"inXRange":"inYRange";let c=!1;return rg(e,n,t,(u,d,h)=>{u[a]&&u[a](t[n],r)&&(o.push({element:u,datasetIndex:d,index:h}),c=c||u.inRange(t.x,t.y,r))}),i&&!c?[]:o}var SZ={modes:{index(e,t,n,i){const r=Xo(t,e),o=n.axis||"x",a=n.includeInvisible||!1,c=n.intersect?jv(e,r,o,i,a):Lv(e,r,o,!1,i,a),u=[];return c.length?(e.getSortedVisibleDatasetMetas().forEach(d=>{const h=c[0].index,g=d.data[h];g&&!g.skip&&u.push({element:g,datasetIndex:d.index,index:h})}),u):[]},dataset(e,t,n,i){const r=Xo(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;let c=n.intersect?jv(e,r,o,i,a):Lv(e,r,o,!1,i,a);if(c.length>0){const u=c[0].datasetIndex,d=e.getDatasetMeta(u).data;c=[];for(let h=0;h<d.length;++h)c.push({element:d[h],datasetIndex:u,index:h})}return c},point(e,t,n,i){const r=Xo(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;return jv(e,r,o,i,a)},nearest(e,t,n,i){const r=Xo(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;return Lv(e,r,o,n.intersect,i,a)},x(e,t,n,i){const r=Xo(t,e);return ET(e,r,"x",n.intersect,i)},y(e,t,n,i){const r=Xo(t,e);return ET(e,r,"y",n.intersect,i)}}};const _N=["left","top","right","bottom"];function hc(e,t){return e.filter(n=>n.pos===t)}function RT(e,t){return e.filter(n=>_N.indexOf(n.pos)===-1&&n.box.axis===t)}function pc(e,t){return e.sort((n,i)=>{const r=t?i:n,o=t?n:i;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function wZ(e){const t=[];let n,i,r,o,a,c;for(n=0,i=(e||[]).length;n<i;++n)r=e[n],{position:o,options:{stack:a,stackWeight:c=1}}=r,t.push({index:n,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&o+a,stackWeight:c});return t}function _Z(e){const t={};for(const n of e){const{stack:i,pos:r,stackWeight:o}=n;if(!i||!_N.includes(r))continue;const a=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=o}return t}function CZ(e,t){const n=_Z(e),{vBoxMaxWidth:i,hBoxMaxHeight:r}=t;let o,a,c;for(o=0,a=e.length;o<a;++o){c=e[o];const{fullSize:u}=c.box,d=n[c.stack],h=d&&c.stackWeight/d.weight;c.horizontal?(c.width=h?h*i:u&&t.availableWidth,c.height=r):(c.width=i,c.height=h?h*r:u&&t.availableHeight)}return n}function OZ(e){const t=wZ(e),n=pc(t.filter(d=>d.box.fullSize),!0),i=pc(hc(t,"left"),!0),r=pc(hc(t,"right")),o=pc(hc(t,"top"),!0),a=pc(hc(t,"bottom")),c=RT(t,"x"),u=RT(t,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:r.concat(u).concat(a).concat(c),chartArea:hc(t,"chartArea"),vertical:i.concat(r).concat(u),horizontal:o.concat(a).concat(c)}}function TT(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function CN(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function EZ(e,t,n,i){const{pos:r,box:o}=n,a=e.maxPadding;if(!Le(r)){n.size&&(e[r]-=n.size);const g=i[n.stack]||{size:0,count:1};g.size=Math.max(g.size,n.horizontal?o.height:o.width),n.size=g.size/g.count,e[r]+=n.size}o.getPadding&&CN(a,o.getPadding());const c=Math.max(0,t.outerWidth-TT(a,e,"left","right")),u=Math.max(0,t.outerHeight-TT(a,e,"top","bottom")),d=c!==e.w,h=u!==e.h;return e.w=c,e.h=u,n.horizontal?{same:d,other:h}:{same:h,other:d}}function RZ(e){const t=e.maxPadding;function n(i){const r=Math.max(t[i]-e[i],0);return e[i]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function TZ(e,t){const n=t.maxPadding;function i(r){const o={left:0,top:0,right:0,bottom:0};return r.forEach(a=>{o[a]=Math.max(t[a],n[a])}),o}return i(e?["left","right"]:["top","bottom"])}function Ec(e,t,n,i){const r=[];let o,a,c,u,d,h;for(o=0,a=e.length,d=0;o<a;++o){c=e[o],u=c.box,u.update(c.width||t.w,c.height||t.h,TZ(c.horizontal,t));const{same:g,other:m}=EZ(t,n,c,i);d|=g&&r.length,h=h||m,u.fullSize||r.push(c)}return d&&Ec(r,t,n,i)||h}function Td(e,t,n,i,r){e.top=n,e.left=t,e.right=t+i,e.bottom=n+r,e.width=i,e.height=r}function MT(e,t,n,i){const r=n.padding;let{x:o,y:a}=t;for(const c of e){const u=c.box,d=i[c.stack]||{placed:0,weight:1},h=c.stackWeight/d.weight||1;if(c.horizontal){const g=t.w*h,m=d.size||u.height;Yh(d.start)&&(a=d.start),u.fullSize?Td(u,r.left,a,n.outerWidth-r.right-r.left,m):Td(u,t.left+d.placed,a,g,m),d.start=a,d.placed+=g,a=u.bottom}else{const g=t.h*h,m=d.size||u.width;Yh(d.start)&&(o=d.start),u.fullSize?Td(u,o,r.top,m,n.outerHeight-r.bottom-r.top):Td(u,o,t.top+d.placed,m,g),d.start=o,d.placed+=g,o=u.right}}t.x=o,t.y=a}var Jr={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const r=yi(e.options.layout.padding),o=Math.max(t-r.width,0),a=Math.max(n-r.height,0),c=OZ(e.boxes),u=c.vertical,d=c.horizontal;He(e.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const h=u.reduce((w,_)=>_.box.options&&_.box.options.display===!1?w:w+1,0)||1,g=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/h,hBoxMaxHeight:a/2}),m=Object.assign({},r);CN(m,yi(i));const y=Object.assign({maxPadding:m,w:o,h:a,x:r.left,y:r.top},r),b=CZ(u.concat(d),g);Ec(c.fullSize,y,g,b),Ec(u,y,g,b),Ec(d,y,g,b)&&Ec(u,y,g,b),RZ(y),MT(c.leftAndTop,y,g,b),y.x+=y.w,y.y+=y.h,MT(c.rightAndBottom,y,g,b),e.chartArea={left:y.left,top:y.top,right:y.left+y.w,bottom:y.top+y.h,height:y.h,width:y.w},He(c.chartArea,w=>{const _=w.box;Object.assign(_,e.chartArea),_.update(y.w,y.h,{left:0,top:0,right:0,bottom:0})})}};class ON{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,r){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,r?Math.floor(n/r):i)}}isAttached(t){return!0}updateConfig(t){}}class MZ extends ON{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const sh="$chartjs",AZ={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},AT=e=>e===null||e==="";function DZ(e,t){const n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e[sh]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",AT(r)){const o=mT(e,"width");o!==void 0&&(e.width=o)}if(AT(i))if(e.style.height==="")e.height=e.width/(t||2);else{const o=mT(e,"height");o!==void 0&&(e.height=o)}return e}const EN=VQ?{passive:!0}:!1;function PZ(e,t,n){e&&e.addEventListener(t,n,EN)}function jZ(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,EN)}function LZ(e,t){const n=AZ[e.type]||e.type,{x:i,y:r}=Xo(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:r!==void 0?r:null}}function Zh(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function NZ(e,t,n){const i=e.canvas,r=new MutationObserver(o=>{let a=!1;for(const c of o)a=a||Zh(c.addedNodes,i),a=a&&!Zh(c.removedNodes,i);a&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function kZ(e,t,n){const i=e.canvas,r=new MutationObserver(o=>{let a=!1;for(const c of o)a=a||Zh(c.removedNodes,i),a=a&&!Zh(c.addedNodes,i);a&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const lu=new Map;let DT=0;function RN(){const e=window.devicePixelRatio;e!==DT&&(DT=e,lu.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function IZ(e,t){lu.size||window.addEventListener("resize",RN),lu.set(e,t)}function zZ(e){lu.delete(e),lu.size||window.removeEventListener("resize",RN)}function $Z(e,t,n){const i=e.canvas,r=i&&LS(i);if(!r)return;const o=iN((c,u)=>{const d=r.clientWidth;n(c,u),d<r.clientWidth&&n()},window),a=new ResizeObserver(c=>{const u=c[0],d=u.contentRect.width,h=u.contentRect.height;d===0&&h===0||o(d,h)});return a.observe(r),IZ(e,o),a}function Nv(e,t,n){n&&n.disconnect(),t==="resize"&&zZ(e)}function FZ(e,t,n){const i=e.canvas,r=iN(o=>{e.ctx!==null&&n(LZ(o,e))},e);return PZ(i,t,r),r}class BZ extends ON{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(DZ(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[sh])return!1;const i=n[sh].initial;["height","width"].forEach(o=>{const a=i[o];Ke(a)?n.removeAttribute(o):n.setAttribute(o,a)});const r=i.style||{};return Object.keys(r).forEach(o=>{n.style[o]=r[o]}),n.width=n.width,delete n[sh],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const r=t.$proxies||(t.$proxies={}),a={attach:NZ,detach:kZ,resize:$Z}[n]||FZ;r[n]=a(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),r=i[n];if(!r)return;({attach:Nv,detach:Nv,resize:Nv}[n]||jZ)(t,n,r),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,r){return HQ(t,n,i,r)}isAttached(t){const n=t&&LS(t);return!!(n&&n.isConnected)}}function HZ(e){return!jS()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?MZ:BZ}let sl=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return su(this.x)&&su(this.y)}getProps(t,n){const i=this.$animations;if(!n||!i)return this;const r={};return t.forEach(o=>{r[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),r}};function VZ(e,t){const n=e.options.ticks,i=UZ(e),r=Math.min(n.maxTicksLimit||i,i),o=n.major.enabled?GZ(t):[],a=o.length,c=o[0],u=o[a-1],d=[];if(a>r)return qZ(t,d,o,a/r),d;const h=WZ(o,t,r);if(a>0){let g,m;const y=a>1?Math.round((u-c)/(a-1)):null;for(Md(t,d,h,Ke(y)?0:c-y,c),g=0,m=a-1;g<m;g++)Md(t,d,h,o[g],o[g+1]);return Md(t,d,h,u,Ke(y)?t.length:u+y),d}return Md(t,d,h),d}function UZ(e){const t=e.options.offset,n=e._tickSize(),i=e._length/n+(t?0:1),r=e._maxLength/n;return Math.floor(Math.min(i,r))}function WZ(e,t,n){const i=YZ(e),r=t.length/n;if(!i)return Math.max(r,1);const o=zX(i);for(let a=0,c=o.length-1;a<c;a++){const u=o[a];if(u>r)return u}return Math.max(r,1)}function GZ(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}function qZ(e,t,n,i){let r=0,o=n[0],a;for(i=Math.ceil(i),a=0;a<e.length;a++)a===o&&(t.push(e[a]),r++,o=n[r*i])}function Md(e,t,n,i,r){const o=Pe(i,0),a=Math.min(Pe(r,e.length),e.length);let c=0,u,d,h;for(n=Math.ceil(n),r&&(u=r-i,n=u/Math.floor(u/n)),h=o;h<0;)c++,h=Math.round(o+c*n);for(d=Math.max(o,0);d<a;d++)d===h&&(t.push(e[d]),c++,h=Math.round(o+c*n))}function YZ(e){const t=e.length;let n,i;if(t<2)return!1;for(i=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==i)return!1;return i}const KZ=e=>e==="left"?"right":e==="right"?"left":e,PT=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,jT=(e,t)=>Math.min(t||e,e);function LT(e,t){const n=[],i=e.length/t,r=e.length;let o=0;for(;o<r;o+=i)n.push(e[Math.floor(o)]);return n}function XZ(e,t,n){const i=e.ticks.length,r=Math.min(t,i-1),o=e._startPixel,a=e._endPixel,c=1e-6;let u=e.getPixelForTick(r),d;if(!(n&&(i===1?d=Math.max(u-o,a-u):t===0?d=(e.getPixelForTick(1)-u)/2:d=(u-e.getPixelForTick(r-1))/2,u+=r<t?d:-d,u<o-c||u>a+c)))return u}function QZ(e,t){He(e,n=>{const i=n.gc,r=i.length/2;let o;if(r>t){for(o=0;o<r;++o)delete n.data[i[o]];i.splice(0,r)}})}function gc(e){return e.drawTicks?e.tickLength:0}function NT(e,t){if(!e.display)return 0;const n=ln(e.font,t),i=yi(e.padding);return(Ot(e.text)?e.text.length:1)*n.lineHeight+i.height}function ZZ(e,t){return Cs(e,{scale:t,type:"scale"})}function JZ(e,t,n){return Cs(e,{tick:n,index:t,type:"tick"})}function eJ(e,t,n){let i=rN(e);return(n&&t!=="right"||!n&&t==="right")&&(i=KZ(i)),i}function tJ(e,t,n,i){const{top:r,left:o,bottom:a,right:c,chart:u}=e,{chartArea:d,scales:h}=u;let g=0,m,y,b;const w=a-r,_=c-o;if(e.isHorizontal()){if(y=xn(i,o,c),Le(n)){const O=Object.keys(n)[0],R=n[O];b=h[O].getPixelForValue(R)+w-t}else n==="center"?b=(d.bottom+d.top)/2+w-t:b=PT(e,n,t);m=c-o}else{if(Le(n)){const O=Object.keys(n)[0],R=n[O];y=h[O].getPixelForValue(R)-_+t}else n==="center"?y=(d.left+d.right)/2-_+t:y=PT(e,n,t);b=xn(i,a,r),g=n==="left"?-li:li}return{titleX:y,titleY:b,maxWidth:m,rotation:g}}class al extends sl{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:i,_suggestedMax:r}=this;return t=Oi(t,Number.POSITIVE_INFINITY),n=Oi(n,Number.NEGATIVE_INFINITY),i=Oi(i,Number.POSITIVE_INFINITY),r=Oi(r,Number.NEGATIVE_INFINITY),{min:Oi(t,i),max:Oi(n,r),minDefined:Ft(t),maxDefined:Ft(n)}}getMinMax(t){let{min:n,max:i,minDefined:r,maxDefined:o}=this.getUserBounds(),a;if(r&&o)return{min:n,max:i};const c=this.getMatchingVisibleMetas();for(let u=0,d=c.length;u<d;++u)a=c[u].controller.getMinMax(this,t),r||(n=Math.min(n,a.min)),o||(i=Math.max(i,a.max));return n=o&&n>i?i:n,i=r&&n>i?n:i,{min:Oi(n,Oi(i,n)),max:Oi(i,Oi(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ze(this.options.beforeUpdate,[this])}update(t,n,i){const{beginAtZero:r,grace:o,ticks:a}=this.options,c=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=xQ(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=c<this.ticks.length;this._convertTicksToLabels(u?LT(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=VZ(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,t=!t),this._startPixel=n,this._endPixel=i,this._reversePixels=t,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ze(this.options.afterUpdate,[this])}beforeSetDimensions(){Ze(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ze(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Ze(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ze(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let i,r,o;for(i=0,r=t.length;i<r;i++)o=t[i],o.label=Ze(n.callback,[o.value,i,t],this)}afterTickToLabelConversion(){Ze(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ze(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,i=jT(this.ticks.length,t.ticks.maxTicksLimit),r=n.minRotation||0,o=n.maxRotation;let a=r,c,u,d;if(!this._isVisible()||!n.display||r>=o||i<=1||!this.isHorizontal()){this.labelRotation=r;return}const h=this._getLabelSizes(),g=h.widest.width,m=h.highest.height,y=Yn(this.chart.width-g,0,this.maxWidth);c=t.offset?this.maxWidth/i:y/(i-1),g+6>c&&(c=y/(i-(t.offset?.5:1)),u=this.maxHeight-gc(t.grid)-n.padding-NT(t.title,this.chart.options.font),d=Math.sqrt(g*g+m*m),a=HX(Math.min(Math.asin(Yn((h.highest.height+6)/c,-1,1)),Math.asin(Yn(u/d,-1,1))-Math.asin(Yn(m/d,-1,1)))),a=Math.max(r,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){Ze(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ze(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:i,title:r,grid:o}}=this,a=this._isVisible(),c=this.isHorizontal();if(a){const u=NT(r,n.options.font);if(c?(t.width=this.maxWidth,t.height=gc(o)+u):(t.height=this.maxHeight,t.width=gc(o)+u),i.display&&this.ticks.length){const{first:d,last:h,widest:g,highest:m}=this._getLabelSizes(),y=i.padding*2,b=rs(this.labelRotation),w=Math.cos(b),_=Math.sin(b);if(c){const O=i.mirror?0:_*g.width+w*m.height;t.height=Math.min(this.maxHeight,t.height+O+y)}else{const O=i.mirror?0:w*g.width+_*m.height;t.width=Math.min(this.maxWidth,t.width+O+y)}this._calculatePadding(d,h,_,w)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,i,r){const{ticks:{align:o,padding:a},position:c}=this.options,u=this.labelRotation!==0,d=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,g=this.right-this.getPixelForTick(this.ticks.length-1);let m=0,y=0;u?d?(m=r*t.width,y=i*n.height):(m=i*t.height,y=r*n.width):o==="start"?y=n.width:o==="end"?m=t.width:o!=="inner"&&(m=t.width/2,y=n.width/2),this.paddingLeft=Math.max((m-h+a)*this.width/(this.width-h),0),this.paddingRight=Math.max((y-g+a)*this.width/(this.width-g),0)}else{let h=n.height/2,g=t.height/2;o==="start"?(h=0,g=t.height):o==="end"&&(h=n.height,g=0),this.paddingTop=h+a,this.paddingBottom=g+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ze(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,i;for(n=0,i=t.length;n<i;n++)Ke(t[n].label)&&(t.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=LT(i,n)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,i){const{ctx:r,_longestTextCache:o}=this,a=[],c=[],u=Math.floor(n/jT(n,i));let d=0,h=0,g,m,y,b,w,_,O,R,T,M,D;for(g=0;g<n;g+=u){if(b=t[g].label,w=this._resolveTickFontOptions(g),r.font=_=w.string,O=o[_]=o[_]||{data:{},gc:[]},R=w.lineHeight,T=M=0,!Ke(b)&&!Ot(b))T=fT(r,O.data,O.gc,T,b),M=R;else if(Ot(b))for(m=0,y=b.length;m<y;++m)D=b[m],!Ke(D)&&!Ot(D)&&(T=fT(r,O.data,O.gc,T,D),M+=R);a.push(T),c.push(M),d=Math.max(T,d),h=Math.max(M,h)}QZ(o,n);const P=a.indexOf(d),I=c.indexOf(h),z=U=>({width:a[U]||0,height:c[U]||0});return{first:z(0),last:z(n-1),widest:z(P),highest:z(I),widths:a,heights:c}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return WX(this._alignToPixels?Go(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const i=n[t];return i.$context||(i.$context=JZ(this.getContext(),t,i))}return this.$context||(this.$context=ZZ(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=rs(this.labelRotation),i=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),o=this._getLabelSizes(),a=t.autoSkipPadding||0,c=o?o.widest.width+a:0,u=o?o.highest.height+a:0;return this.isHorizontal()?u*i>c*r?c/i:u/r:u*r<c*i?u/i:c/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,i=this.chart,r=this.options,{grid:o,position:a,border:c}=r,u=o.offset,d=this.isHorizontal(),g=this.ticks.length+(u?1:0),m=gc(o),y=[],b=c.setContext(this.getContext()),w=b.display?b.width:0,_=w/2,O=function(N){return Go(i,N,w)};let R,T,M,D,P,I,z,U,$,W,Y,B;if(a==="top")R=O(this.bottom),I=this.bottom-m,U=R-_,W=O(t.top)+_,B=t.bottom;else if(a==="bottom")R=O(this.top),W=t.top,B=O(t.bottom)-_,I=R+_,U=this.top+m;else if(a==="left")R=O(this.right),P=this.right-m,z=R-_,$=O(t.left)+_,Y=t.right;else if(a==="right")R=O(this.left),$=t.left,Y=O(t.right)-_,P=R+_,z=this.left+m;else if(n==="x"){if(a==="center")R=O((t.top+t.bottom)/2+.5);else if(Le(a)){const N=Object.keys(a)[0],j=a[N];R=O(this.chart.scales[N].getPixelForValue(j))}W=t.top,B=t.bottom,I=R+_,U=I+m}else if(n==="y"){if(a==="center")R=O((t.left+t.right)/2);else if(Le(a)){const N=Object.keys(a)[0],j=a[N];R=O(this.chart.scales[N].getPixelForValue(j))}P=R-_,z=P-m,$=t.left,Y=t.right}const H=Pe(r.ticks.maxTicksLimit,g),L=Math.max(1,Math.ceil(g/H));for(T=0;T<g;T+=L){const N=this.getContext(T),j=o.setContext(N),V=c.setContext(N),ie=j.lineWidth,ae=j.color,k=V.dash||[],J=V.dashOffset,se=j.tickWidth,le=j.tickColor,pe=j.tickBorderDash||[],de=j.tickBorderDashOffset;M=XZ(this,T,u),M!==void 0&&(D=Go(i,M,ie),d?P=z=$=Y=D:I=U=W=B=D,y.push({tx1:P,ty1:I,tx2:z,ty2:U,x1:$,y1:W,x2:Y,y2:B,width:ie,color:ae,borderDash:k,borderDashOffset:J,tickWidth:se,tickColor:le,tickBorderDash:pe,tickBorderDashOffset:de}))}return this._ticksLength=g,this._borderValue=R,y}_computeLabelItems(t){const n=this.axis,i=this.options,{position:r,ticks:o}=i,a=this.isHorizontal(),c=this.ticks,{align:u,crossAlign:d,padding:h,mirror:g}=o,m=gc(i.grid),y=m+h,b=g?-h:y,w=-rs(this.labelRotation),_=[];let O,R,T,M,D,P,I,z,U,$,W,Y,B="middle";if(r==="top")P=this.bottom-b,I=this._getXAxisLabelAlignment();else if(r==="bottom")P=this.top+b,I=this._getXAxisLabelAlignment();else if(r==="left"){const L=this._getYAxisLabelAlignment(m);I=L.textAlign,D=L.x}else if(r==="right"){const L=this._getYAxisLabelAlignment(m);I=L.textAlign,D=L.x}else if(n==="x"){if(r==="center")P=(t.top+t.bottom)/2+y;else if(Le(r)){const L=Object.keys(r)[0],N=r[L];P=this.chart.scales[L].getPixelForValue(N)+y}I=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")D=(t.left+t.right)/2-y;else if(Le(r)){const L=Object.keys(r)[0],N=r[L];D=this.chart.scales[L].getPixelForValue(N)}I=this._getYAxisLabelAlignment(m).textAlign}n==="y"&&(u==="start"?B="top":u==="end"&&(B="bottom"));const H=this._getLabelSizes();for(O=0,R=c.length;O<R;++O){T=c[O],M=T.label;const L=o.setContext(this.getContext(O));z=this.getPixelForTick(O)+o.labelOffset,U=this._resolveTickFontOptions(O),$=U.lineHeight,W=Ot(M)?M.length:1;const N=W/2,j=L.color,V=L.textStrokeColor,ie=L.textStrokeWidth;let ae=I;a?(D=z,I==="inner"&&(O===R-1?ae=this.options.reverse?"left":"right":O===0?ae=this.options.reverse?"right":"left":ae="center"),r==="top"?d==="near"||w!==0?Y=-W*$+$/2:d==="center"?Y=-H.highest.height/2-N*$+$:Y=-H.highest.height+$/2:d==="near"||w!==0?Y=$/2:d==="center"?Y=H.highest.height/2-N*$:Y=H.highest.height-W*$,g&&(Y*=-1),w!==0&&!L.showLabelBackdrop&&(D+=$/2*Math.sin(w))):(P=z,Y=(1-W)*$/2);let k;if(L.showLabelBackdrop){const J=yi(L.backdropPadding),se=H.heights[O],le=H.widths[O];let pe=Y-J.top,de=0-J.left;switch(B){case"middle":pe-=se/2;break;case"bottom":pe-=se;break}switch(I){case"center":de-=le/2;break;case"right":de-=le;break;case"inner":O===R-1?de-=le:O>0&&(de-=le/2);break}k={left:de,top:pe,width:le+J.width,height:se+J.height,color:L.backdropColor}}_.push({label:M,font:U,textOffset:Y,options:{rotation:w,color:j,strokeColor:V,strokeWidth:ie,textAlign:ae,textBaseline:B,translation:[D,P],backdrop:k}})}return _}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-rs(this.labelRotation))return t==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:i,mirror:r,padding:o}}=this.options,a=this._getLabelSizes(),c=t+o,u=a.widest.width;let d,h;return n==="left"?r?(h=this.right+o,i==="near"?d="left":i==="center"?(d="center",h+=u/2):(d="right",h+=u)):(h=this.right-c,i==="near"?d="right":i==="center"?(d="center",h-=u/2):(d="left",h=this.left)):n==="right"?r?(h=this.left+o,i==="near"?d="right":i==="center"?(d="center",h-=u/2):(d="left",h-=u)):(h=this.left+c,i==="near"?d="left":i==="center"?(d="center",h+=u/2):(d="right",h=this.right)):d="right",{textAlign:d,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:i,top:r,width:o,height:a}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(i,r,o,a),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(o=>o.value===t);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,a;const c=(u,d,h)=>{!h.width||!h.color||(i.save(),i.lineWidth=h.width,i.strokeStyle=h.color,i.setLineDash(h.borderDash||[]),i.lineDashOffset=h.borderDashOffset,i.beginPath(),i.moveTo(u.x,u.y),i.lineTo(d.x,d.y),i.stroke(),i.restore())};if(n.display)for(o=0,a=r.length;o<a;++o){const u=r[o];n.drawOnChartArea&&c({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),n.drawTicks&&c({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:i,grid:r}}=this,o=i.setContext(this.getContext()),a=i.display?o.width:0;if(!a)return;const c=r.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,h,g,m;this.isHorizontal()?(d=Go(t,this.left,a)-a/2,h=Go(t,this.right,c)+c/2,g=m=u):(g=Go(t,this.top,a)-a/2,m=Go(t,this.bottom,c)+c/2,d=h=u),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(d,g),n.lineTo(h,m),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,r=this._computeLabelArea();r&&tg(i,r);const o=this.getLabelItems(t);for(const a of o){const c=a.options,u=a.font,d=a.label,h=a.textOffset;Xh(i,d,0,h,u,c)}r&&ng(i)}drawTitle(){const{ctx:t,options:{position:n,title:i,reverse:r}}=this;if(!i.display)return;const o=ln(i.font),a=yi(i.padding),c=i.align;let u=o.lineHeight/2;n==="bottom"||n==="center"||Le(n)?(u+=a.bottom,Ot(i.text)&&(u+=o.lineHeight*(i.text.length-1))):u+=a.top;const{titleX:d,titleY:h,maxWidth:g,rotation:m}=tJ(this,u,n,c);Xh(t,i.text,0,0,o,{color:i.color,maxWidth:g,rotation:m,textAlign:eJ(c,n,r),textBaseline:"middle",translation:[d,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,i=Pe(t.grid&&t.grid.z,-1),r=Pe(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==al.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:i,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let o,a;for(o=0,a=n.length;o<a;++o){const c=n[o];c[i]===this.id&&(!t||c.type===t)&&r.push(c)}return r}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return ln(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Ad{constructor(t,n,i){this.type=t,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let i;rJ(n)&&(i=this.register(n));const r=this.items,o=t.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in r||(r[o]=t,nJ(t,a,i),this.override&&ft.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const n=this.items,i=t.id,r=this.scope;i in n&&delete n[i],r&&i in ft[r]&&(delete ft[r][i],this.override&&delete ys[i])}}function nJ(e,t,n){const i=ou(Object.create(null),[n?ft.get(n):{},ft.get(t),e.defaults]);ft.set(t,i),e.defaultRoutes&&iJ(t,e.defaultRoutes),e.descriptors&&ft.describe(t,e.descriptors)}function iJ(e,t){Object.keys(t).forEach(n=>{const i=n.split("."),r=i.pop(),o=[e].concat(i).join("."),a=t[n].split("."),c=a.pop(),u=a.join(".");ft.route(o,r,u,c)})}function rJ(e){return"id"in e&&"defaults"in e}class oJ{constructor(){this.controllers=new Ad(wN,"datasets",!0),this.elements=new Ad(sl,"elements"),this.plugins=new Ad(Object,"plugins"),this.scales=new Ad(al,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,i){[...n].forEach(r=>{const o=i||this._getRegistryForType(r);i||o.isForType(r)||o===this.plugins&&r.id?this._exec(t,o,r):He(r,a=>{const c=i||this._getRegistryForType(a);this._exec(t,c,a)})})}_exec(t,n,i){const r=RS(t);Ze(i["before"+r],[],i),n[t](i),Ze(i["after"+r],[],i)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(t))return i}return this.plugins}_get(t,n,i){const r=n.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return r}}var Ri=new oJ;class sJ{constructor(){this._init=void 0}notify(t,n,i,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const o=r?this._descriptors(t).filter(r):this._descriptors(t),a=this._notify(o,t,n,i);return n==="afterDestroy"&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),a}_notify(t,n,i,r){r=r||{};for(const o of t){const a=o.plugin,c=a[i],u=[n,r,o.options];if(Ze(c,u,a)===!1&&r.cancelable)return!1}return!0}invalidate(){Ke(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const i=t&&t.config,r=Pe(i.options&&i.options.plugins,{}),o=aJ(i);return r===!1&&!n?[]:cJ(t,o,r,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,r=(o,a)=>o.filter(c=>!a.some(u=>c.plugin.id===u.plugin.id));this._notify(r(n,i),t,"stop"),this._notify(r(i,n),t,"start")}}function aJ(e){const t={},n=[],i=Object.keys(Ri.plugins.items);for(let o=0;o<i.length;o++)n.push(Ri.getPlugin(i[o]));const r=e.plugins||[];for(let o=0;o<r.length;o++){const a=r[o];n.indexOf(a)===-1&&(n.push(a),t[a.id]=!0)}return{plugins:n,localIds:t}}function lJ(e,t){return!t&&e===!1?null:e===!0?{}:e}function cJ(e,{plugins:t,localIds:n},i,r){const o=[],a=e.getContext();for(const c of t){const u=c.id,d=lJ(i[u],r);d!==null&&o.push({plugin:c,options:uJ(e.config,{plugin:c,local:n[u]},d,a)})}return o}function uJ(e,{plugin:t,local:n},i,r){const o=e.pluginScopeKeys(t),a=e.getOptionScopes(i,o);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function fx(e,t){const n=ft.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function fJ(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function dJ(e,t){return e===t?"_index_":"_value_"}function kT(e){if(e==="x"||e==="y"||e==="r")return e}function hJ(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function dx(e,...t){if(kT(e))return e;for(const n of t){const i=n.axis||hJ(n.position)||e.length>1&&kT(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function IT(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function pJ(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(i=>i.xAxisID===e||i.yAxisID===e);if(n.length)return IT(e,"x",n[0])||IT(e,"y",n[0])}return{}}function gJ(e,t){const n=ys[e.type]||{scales:{}},i=t.scales||{},r=fx(e.type,t),o=Object.create(null);return Object.keys(i).forEach(a=>{const c=i[a];if(!Le(c))return console.error(`Invalid scale configuration for scale: ${a}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const u=dx(a,c,pJ(a,e),ft.scales[c.type]),d=dJ(u,r),h=n.scales||{};o[a]=Nc(Object.create(null),[{axis:u},c,h[u],h[d]])}),e.data.datasets.forEach(a=>{const c=a.type||e.type,u=a.indexAxis||fx(c,t),h=(ys[c]||{}).scales||{};Object.keys(h).forEach(g=>{const m=fJ(g,u),y=a[m+"AxisID"]||m;o[y]=o[y]||Object.create(null),Nc(o[y],[{axis:m},i[y],h[g]])})}),Object.keys(o).forEach(a=>{const c=o[a];Nc(c,[ft.scales[c.type],ft.scale])}),o}function TN(e){const t=e.options||(e.options={});t.plugins=Pe(t.plugins,{}),t.scales=gJ(e,t)}function MN(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function mJ(e){return e=e||{},e.data=MN(e.data),TN(e),e}const zT=new Map,AN=new Set;function Dd(e,t){let n=zT.get(e);return n||(n=t(),zT.set(e,n),AN.add(n)),n}const mc=(e,t,n)=>{const i=qh(t,n);i!==void 0&&e.add(i)};let yJ=class{constructor(t){this._config=mJ(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=MN(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),TN(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Dd(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Dd(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Dd(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return Dd(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let r=i.get(t);return(!r||n)&&(r=new Map,i.set(t,r)),r}getOptionScopes(t,n,i){const{options:r,type:o}=this,a=this._cachedScopes(t,i),c=a.get(n);if(c)return c;const u=new Set;n.forEach(h=>{t&&(u.add(t),h.forEach(g=>mc(u,t,g))),h.forEach(g=>mc(u,r,g)),h.forEach(g=>mc(u,ys[o]||{},g)),h.forEach(g=>mc(u,ft,g)),h.forEach(g=>mc(u,lx,g))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),AN.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:t,type:n}=this;return[t,ys[n]||{},ft.datasets[n]||{},{type:n},ft,lx]}resolveNamedOptions(t,n,i,r=[""]){const o={$shared:!0},{resolver:a,subPrefixes:c}=$T(this._resolverCache,t,r);let u=a;if(bJ(a,n)){o.$shared=!1,i=mo(i)?i():i;const d=this.createResolver(t,i,c);u=$a(a,i,d)}for(const d of n)o[d]=u[d];return o}createResolver(t,n,i=[""],r){const{resolver:o}=$T(this._resolverCache,t,i);return Le(n)?$a(o,n,void 0,r):o}};function $T(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const r=n.join();let o=i.get(r);return o||(o={resolver:AS(t,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},i.set(r,o)),o}const vJ=e=>Le(e)&&Object.getOwnPropertyNames(e).some(t=>mo(e[t]));function bJ(e,t){const{isScriptable:n,isIndexable:i}=cN(e);for(const r of t){const o=n(r),a=i(r),c=(a||o)&&e[r];if(o&&(mo(c)||vJ(c))||a&&Ot(c))return!0}return!1}var xJ="4.5.1";const SJ=["top","bottom","left","right","chartArea"];function FT(e,t){return e==="top"||e==="bottom"||SJ.indexOf(e)===-1&&t==="x"}function BT(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function HT(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Ze(n&&n.onComplete,[e],t)}function wJ(e){const t=e.chart,n=t.options.animation;Ze(n&&n.onProgress,[e],t)}function DN(e){return jS()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ah={},VT=e=>{const t=DN(e);return Object.values(ah).filter(n=>n.canvas===t).pop()};function _J(e,t,n){const i=Object.keys(e);for(const r of i){const o=+r;if(o>=t){const a=e[r];delete e[r],(n>0||o>t)&&(e[o+n]=a)}}}function CJ(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}let kS=class{static defaults=ft;static instances=ah;static overrides=ys;static registry=Ri;static version=xJ;static getChart=VT;static register(...t){Ri.add(...t),UT()}static unregister(...t){Ri.remove(...t),UT()}constructor(t,n){const i=this.config=new yJ(n),r=DN(t),o=VT(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||HZ(r)),this.platform.updateConfig(i);const c=this.platform.acquireContext(r,a.aspectRatio),u=c&&c.canvas,d=u&&u.height,h=u&&u.width;if(this.id=MX(),this.ctx=c,this.canvas=u,this.width=h,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new sJ,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=XX(g=>this.update(g),a.resizeDelay||0),this._dataChanges=[],ah[this.id]=this,!c||!u){console.error("Failed to create chart: can't acquire context from the given item");return}nr.listen(this,"complete",HT),nr.listen(this,"progress",wJ),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:r,_aspectRatio:o}=this;return Ke(t)?n&&o?o:r?i/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Ri}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():gT(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return dT(this.canvas,this.ctx),this}stop(){return nr.stop(this),this}resize(t,n){nr.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,r=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,t,n,o),c=i.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,gT(this,c,!0)&&(this.notifyPlugins("resize",{size:a}),Ze(i.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};He(n,(i,r)=>{i.id=r})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,r=Object.keys(i).reduce((a,c)=>(a[c]=!1,a),{});let o=[];n&&(o=o.concat(Object.keys(n).map(a=>{const c=n[a],u=dx(a,c),d=u==="r",h=u==="x";return{options:c,dposition:d?"chartArea":h?"bottom":"left",dtype:d?"radialLinear":h?"category":"linear"}}))),He(o,a=>{const c=a.options,u=c.id,d=dx(u,c),h=Pe(c.type,a.dtype);(c.position===void 0||FT(c.position,d)!==FT(a.dposition))&&(c.position=a.dposition),r[u]=!0;let g=null;if(u in i&&i[u].type===h)g=i[u];else{const m=Ri.getScale(h);g=new m({id:u,type:h,ctx:this.ctx,chart:this}),i[g.id]=g}g.init(c,t)}),He(r,(a,c)=>{a||delete i[c]}),He(i,a=>{Jr.configure(this,a,a.options),Jr.addBox(this,a)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((r,o)=>r.index-o.index),i>n){for(let r=n;r<i;++r)this._destroyDatasetMeta(r);t.splice(n,i-n)}this._sortedMetasets=t.slice(0).sort(BT("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((i,r)=>{n.filter(o=>o===i._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=n.length;i<r;i++){const o=n[i];let a=this.getDatasetMeta(i);const c=o.type||this.config.type;if(a.type&&a.type!==c&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=c,a.indexAxis=o.indexAxis||fx(c,this.options),a.order=o.order||0,a.index=i,a.label=""+o.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const u=Ri.getController(c),{datasetElementType:d,dataElementType:h}=ft.datasets[c];Object.assign(u,{dataElementType:Ri.getElement(h),datasetElementType:d&&Ri.getElement(d)}),a.controller=new u(this,i),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){He(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,h=this.data.datasets.length;d<h;d++){const{controller:g}=this.getDatasetMeta(d),m=!r&&o.indexOf(g)===-1;g.buildOrUpdateElements(m),a=Math.max(+g.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),r||He(o,d=>{d.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(BT("z","_idx"));const{_active:c,_lastEvent:u}=this;u?this._eventHandler(u,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){He(this.scales,t=>{Jr.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!nT(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:o}of n){const a=i==="_removeElements"?-o:o;_J(t,r,a)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=o=>new Set(t.filter(a=>a[0]===o).map((a,c)=>c+","+a.splice(1).join(","))),r=i(0);for(let o=1;o<n;o++)if(!nT(r,i(o)))return;return Array.from(r).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Jr.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],He(this.boxes,r=>{i&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,mo(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const i=this.getDatasetMeta(t),r={meta:i,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(i.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(nr.has(this)?this.attached&&!nr.running(this)&&nr.start(this):(this.draw(),HT({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,i=[];let r,o;for(r=0,o=n.length;r<o;++r){const a=n[r];(!t||a.visible)&&i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i={meta:t,index:t.index,cancelable:!0},r=bN(this,t);this.notifyPlugins("beforeDatasetDraw",i)!==!1&&(r&&tg(n,r),t.controller.draw(),r&&ng(n),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(t){return au(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,r){const o=SZ.modes[n];return typeof o=="function"?o(this,t,i,r):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let r=i.filter(o=>o&&o._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Cs(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const r=i?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(void 0,r);Yh(n)?(o.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),a.update(o,{visible:i}),this.update(c=>c.datasetIndex===t?r:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),nr.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),dT(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete ah[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,i=(o,a)=>{n.addEventListener(this,o,a),t[o]=a},r=(o,a,c)=>{o.offsetX=a,o.offsetY=c,this._eventHandler(o)};He(this.options.events,o=>i(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(u,d)=>{n.addEventListener(this,u,d),t[u]=d},r=(u,d)=>{t[u]&&(n.removeEventListener(this,u,d),delete t[u])},o=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const c=()=>{r("attach",c),this.attached=!0,this.resize(),i("resize",o),i("detach",a)};a=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),i("attach",c)},n.isAttached(this.canvas)?c():a()}unbindEvents(){He(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},He(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const r=i?"set":"remove";let o,a,c,u;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),c=0,u=t.length;c<u;++c){a=t[c];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[r+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],i=t.map(({datasetIndex:o,index:a})=>{const c=this.getDatasetMeta(o);if(!c)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:c.data[a],index:a}});!Wh(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,i){const r=this.options.hover,o=(u,d)=>u.filter(h=>!d.some(g=>h.datasetIndex===g.datasetIndex&&h.index===g.index)),a=o(n,t),c=i?t:o(t,n);a.length&&this.updateHoverStyle(a,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},r=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,r)===!1)return;const o=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(o||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:r=[],options:o}=this,a=n,c=this._getActiveElements(t,r,i,a),u=NX(t),d=CJ(t,this._lastEvent,i,u);i&&(this._lastEvent=null,Ze(o.onHover,[t,c,this],this),u&&Ze(o.onClick,[t,c,this],this));const h=!Wh(c,r);return(h||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=d,h}_getActiveElements(t,n,i,r){if(t.type==="mouseout")return[];if(!i)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,r)}};function UT(){return He(kS.instances,e=>e._plugins.invalidate())}function PN(e,t,n=t){e.lineCap=Pe(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Pe(n.borderDash,t.borderDash)),e.lineDashOffset=Pe(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Pe(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Pe(n.borderWidth,t.borderWidth),e.strokeStyle=Pe(n.borderColor,t.borderColor)}function OJ(e,t,n){e.lineTo(n.x,n.y)}function EJ(e){return e.stepped?uQ:e.tension||e.cubicInterpolationMode==="monotone"?fQ:OJ}function jN(e,t,n={}){const i=e.length,{start:r=0,end:o=i-1}=n,{start:a,end:c}=t,u=Math.max(r,a),d=Math.min(o,c),h=r<a&&o<a||r>c&&o>c;return{count:i,start:u,loop:t.loop,ilen:d<u&&!h?i+d-u:d-u}}function RJ(e,t,n,i){const{points:r,options:o}=t,{count:a,start:c,loop:u,ilen:d}=jN(r,n,i),h=EJ(o);let{move:g=!0,reverse:m}=i||{},y,b,w;for(y=0;y<=d;++y)b=r[(c+(m?d-y:y))%a],!b.skip&&(g?(e.moveTo(b.x,b.y),g=!1):h(e,w,b,m,o.stepped),w=b);return u&&(b=r[(c+(m?d:0))%a],h(e,w,b,m,o.stepped)),!!u}function TJ(e,t,n,i){const r=t.points,{count:o,start:a,ilen:c}=jN(r,n,i),{move:u=!0,reverse:d}=i||{};let h=0,g=0,m,y,b,w,_,O;const R=M=>(a+(d?c-M:M))%o,T=()=>{w!==_&&(e.lineTo(h,_),e.lineTo(h,w),e.lineTo(h,O))};for(u&&(y=r[R(0)],e.moveTo(y.x,y.y)),m=0;m<=c;++m){if(y=r[R(m)],y.skip)continue;const M=y.x,D=y.y,P=M|0;P===b?(D<w?w=D:D>_&&(_=D),h=(g*h+M)/++g):(T(),e.lineTo(M,D),b=P,g=0,w=_=D),O=D}T()}function hx(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?TJ:RJ}function MJ(e){return e.stepped?UQ:e.tension||e.cubicInterpolationMode==="monotone"?WQ:Qo}function AJ(e,t,n,i){let r=t._path;r||(r=t._path=new Path2D,t.path(r,n,i)&&r.closePath()),PN(e,t.options),e.stroke(r)}function DJ(e,t,n,i){const{segments:r,options:o}=t,a=hx(t);for(const c of r)PN(e,o,c.style),e.beginPath(),a(e,t,c,{start:n,end:n+i-1})&&e.closePath(),e.stroke()}const PJ=typeof Path2D=="function";function jJ(e,t,n,i){PJ&&!t.options.segment?AJ(e,t,n,i):DJ(e,t,n,i)}class IS extends sl{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;kQ(this._points,i,t,r,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=QQ(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,i=t.length;return i&&n[t[i-1].end]}interpolate(t,n){const i=this.options,r=t[n],o=this.points,a=vN(this,{property:n,start:r,end:r});if(!a.length)return;const c=[],u=MJ(i);let d,h;for(d=0,h=a.length;d<h;++d){const{start:g,end:m}=a[d],y=o[g],b=o[m];if(y===b){c.push(y);continue}const w=Math.abs((r-y[n])/(b[n]-y[n])),_=u(y,b,w,i.stepped);_[n]=t[n],c.push(_)}return c.length===1?c[0]:c}pathSegment(t,n,i){return hx(this)(t,this,n,i)}path(t,n,i){const r=this.segments,o=hx(this);let a=this._loop;n=n||0,i=i||this.points.length-n;for(const c of r)a&=o(t,this,c,{start:n,end:n+i-1});return!!a}draw(t,n,i,r){const o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),jJ(t,this,i,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function WT(e,t,n,i){const r=e.options,{[n]:o}=e.getProps([n],i);return Math.abs(t-o)<r.radius+r.hitRadius}class qme extends sl{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,n,i){const r=this.options,{x:o,y:a}=this.getProps(["x","y"],i);return Math.pow(t-o,2)+Math.pow(n-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,n){return WT(this,t,"x",n)}inYRange(t,n){return WT(this,t,"y",n)}getCenterPoint(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}size(t){t=t||this.options||{};let n=t.radius||0;n=Math.max(n,n&&t.hoverRadius||0);const i=n&&t.borderWidth||0;return(n+i)*2}draw(t,n){const i=this.options;this.skip||i.radius<.1||!au(this,n,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,cx(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function LJ(e,t,n){const i=e.segments,r=e.points,o=t.points,a=[];for(const c of i){let{start:u,end:d}=c;d=og(u,d,r);const h=px(n,r[u],r[d],c.loop);if(!t.segments){a.push({source:c,target:h,start:r[u],end:r[d]});continue}const g=vN(t,h);for(const m of g){const y=px(n,o[m.start],o[m.end],m.loop),b=yN(c,r,y);for(const w of b)a.push({source:w,target:m,start:{[n]:GT(h,y,"start",Math.max)},end:{[n]:GT(h,y,"end",Math.min)}})}}return a}function px(e,t,n,i){if(i)return;let r=t[e],o=n[e];return e==="angle"&&(r=Ti(r),o=Ti(o)),{property:e,start:r,end:o}}function NJ(e,t){const{x:n=null,y:i=null}=e||{},r=t.points,o=[];return t.segments.forEach(({start:a,end:c})=>{c=og(a,c,r);const u=r[a],d=r[c];i!==null?(o.push({x:u.x,y:i}),o.push({x:d.x,y:i})):n!==null&&(o.push({x:n,y:u.y}),o.push({x:n,y:d.y}))}),o}function og(e,t,n){for(;t>e;t--){const i=n[t];if(!isNaN(i.x)&&!isNaN(i.y))break}return t}function GT(e,t,n,i){return e&&t?i(e[n],t[n]):e?e[n]:t?t[n]:0}function LN(e,t){let n=[],i=!1;return Ot(e)?(i=!0,n=e):n=NJ(e,t),n.length?new IS({points:n,options:{tension:0},_loop:i,_fullLoop:i}):null}function qT(e){return e&&e.fill!==!1}function kJ(e,t,n){let r=e[t].fill;const o=[t];let a;if(!n)return r;for(;r!==!1&&o.indexOf(r)===-1;){if(!Ft(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;o.push(r),r=a.fill}return!1}function IJ(e,t,n){const i=BJ(e);if(Le(i))return isNaN(i.value)?!1:i;let r=parseFloat(i);return Ft(r)&&Math.floor(r)===r?zJ(i[0],t,r,n):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function zJ(e,t,n,i){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=i?!1:n}function $J(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Le(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function FJ(e,t,n){let i;return e==="start"?i=n:e==="end"?i=t.options.reverse?t.min:t.max:Le(e)?i=e.value:i=t.getBaseValue(),i}function BJ(e){const t=e.options,n=t.fill;let i=Pe(n&&n.target,n);return i===void 0&&(i=!!t.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function HJ(e){const{scale:t,index:n,line:i}=e,r=[],o=i.segments,a=i.points,c=VJ(t,n);c.push(LN({x:null,y:t.bottom},i));for(let u=0;u<o.length;u++){const d=o[u];for(let h=d.start;h<=d.end;h++)UJ(r,a[h],c)}return new IS({points:r,options:{}})}function VJ(e,t){const n=[],i=e.getMatchingVisibleMetas("line");for(let r=0;r<i.length;r++){const o=i[r];if(o.index===t)break;o.hidden||n.unshift(o.dataset)}return n}function UJ(e,t,n){const i=[];for(let r=0;r<n.length;r++){const o=n[r],{first:a,last:c,point:u}=WJ(o,t,"x");if(!(!u||a&&c)){if(a)i.unshift(u);else if(e.push(u),!c)break}}e.push(...i)}function WJ(e,t,n){const i=e.interpolate(t,n);if(!i)return{};const r=i[n],o=e.segments,a=e.points;let c=!1,u=!1;for(let d=0;d<o.length;d++){const h=o[d],g=a[h.start][n],m=a[h.end][n];if(wa(r,g,m)){c=r===g,u=r===m;break}}return{first:c,last:u,point:i}}class NN{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,i){const{x:r,y:o,radius:a}=this;return n=n||{start:0,end:hi},t.arc(r,o,a,n.end,n.start,!0),!i.bounds}interpolate(t){const{x:n,y:i,radius:r}=this,o=t.angle;return{x:n+Math.cos(o)*r,y:i+Math.sin(o)*r,angle:o}}}function GJ(e){const{chart:t,fill:n,line:i}=e;if(Ft(n))return qJ(t,n);if(n==="stack")return HJ(e);if(n==="shape")return!0;const r=YJ(e);return r instanceof NN?r:LN(r,i)}function qJ(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function YJ(e){return(e.scale||{}).getPointPositionForValue?XJ(e):KJ(e)}function KJ(e){const{scale:t={},fill:n}=e,i=$J(n,t);if(Ft(i)){const r=t.isHorizontal();return{x:r?i:null,y:r?null:i}}return null}function XJ(e){const{scale:t,fill:n}=e,i=t.options,r=t.getLabels().length,o=i.reverse?t.max:t.min,a=FJ(n,t,o),c=[];if(i.grid.circular){const u=t.getPointPositionForValue(0,o);return new NN({x:u.x,y:u.y,radius:t.getDistanceFromCenterForValue(a)})}for(let u=0;u<r;++u)c.push(t.getPointPositionForValue(u,a));return c}function kv(e,t,n){const i=GJ(t),{chart:r,index:o,line:a,scale:c,axis:u}=t,d=a.options,h=d.fill,g=d.backgroundColor,{above:m=g,below:y=g}=h||{},b=r.getDatasetMeta(o),w=bN(r,b);i&&a.points.length&&(tg(e,n),QJ(e,{line:a,target:i,above:m,below:y,area:n,scale:c,axis:u,clip:w}),ng(e))}function QJ(e,t){const{line:n,target:i,above:r,below:o,area:a,scale:c,clip:u}=t,d=n._loop?"angle":t.axis;e.save();let h=o;o!==r&&(d==="x"?(YT(e,i,a.top),Iv(e,{line:n,target:i,color:r,scale:c,property:d,clip:u}),e.restore(),e.save(),YT(e,i,a.bottom)):d==="y"&&(KT(e,i,a.left),Iv(e,{line:n,target:i,color:o,scale:c,property:d,clip:u}),e.restore(),e.save(),KT(e,i,a.right),h=r)),Iv(e,{line:n,target:i,color:h,scale:c,property:d,clip:u}),e.restore()}function YT(e,t,n){const{segments:i,points:r}=t;let o=!0,a=!1;e.beginPath();for(const c of i){const{start:u,end:d}=c,h=r[u],g=r[og(u,d,r)];o?(e.moveTo(h.x,h.y),o=!1):(e.lineTo(h.x,n),e.lineTo(h.x,h.y)),a=!!t.pathSegment(e,c,{move:a}),a?e.closePath():e.lineTo(g.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function KT(e,t,n){const{segments:i,points:r}=t;let o=!0,a=!1;e.beginPath();for(const c of i){const{start:u,end:d}=c,h=r[u],g=r[og(u,d,r)];o?(e.moveTo(h.x,h.y),o=!1):(e.lineTo(n,h.y),e.lineTo(h.x,h.y)),a=!!t.pathSegment(e,c,{move:a}),a?e.closePath():e.lineTo(n,g.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function Iv(e,t){const{line:n,target:i,property:r,color:o,scale:a,clip:c}=t,u=LJ(n,i,r);for(const{source:d,target:h,start:g,end:m}of u){const{style:{backgroundColor:y=o}={}}=d,b=i!==!0;e.save(),e.fillStyle=y,ZJ(e,a,c,b&&px(r,g,m)),e.beginPath();const w=!!n.pathSegment(e,d);let _;if(b){w?e.closePath():XT(e,i,m,r);const O=!!i.pathSegment(e,h,{move:w,reverse:!0});_=w&&O,_||XT(e,i,g,r)}e.closePath(),e.fill(_?"evenodd":"nonzero"),e.restore()}}function ZJ(e,t,n,i){const r=t.chart.chartArea,{property:o,start:a,end:c}=i||{};if(o==="x"||o==="y"){let u,d,h,g;o==="x"?(u=a,d=r.top,h=c,g=r.bottom):(u=r.left,d=a,h=r.right,g=c),e.beginPath(),n&&(u=Math.max(u,n.left),h=Math.min(h,n.right),d=Math.max(d,n.top),g=Math.min(g,n.bottom)),e.rect(u,d,h-u,g-d),e.clip()}}function XT(e,t,n,i){const r=t.interpolate(n,i);r&&e.lineTo(r.x,r.y)}var Yme={id:"filler",afterDatasetsUpdate(e,t,n){const i=(e.data.datasets||[]).length,r=[];let o,a,c,u;for(a=0;a<i;++a)o=e.getDatasetMeta(a),c=o.dataset,u=null,c&&c.options&&c instanceof IS&&(u={visible:e.isDatasetVisible(a),index:a,fill:IJ(c,a,i),chart:e,axis:o.controller.options.indexAxis,scale:o.vScale,line:c}),o.$filler=u,r.push(u);for(a=0;a<i;++a)u=r[a],!(!u||u.fill===!1)&&(u.fill=kJ(r,a,n.propagate))},beforeDraw(e,t,n){const i=n.drawTime==="beforeDraw",r=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let a=r.length-1;a>=0;--a){const c=r[a].$filler;c&&(c.line.updateControlPoints(o,c.axis),i&&c.fill&&kv(e.ctx,c,o))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const i=e.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const o=i[r].$filler;qT(o)&&kv(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,n){const i=t.meta.$filler;!qT(i)||n.drawTime!=="beforeDatasetDraw"||kv(e.ctx,i,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const QT=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}},JJ=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class ZT extends sl{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,i){this.maxWidth=t,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=Ze(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(i=>t.filter(i,this.chart.data))),t.sort&&(n=n.sort((i,r)=>t.sort(i,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,r=ln(i.font),o=r.size,a=this._computeTitleHeight(),{boxWidth:c,itemHeight:u}=QT(i,o);let d,h;n.font=r.string,this.isHorizontal()?(d=this.maxWidth,h=this._fitRows(a,o,c,u)+10):(h=this.maxHeight,d=this._fitCols(a,r,c,u)+10),this.width=Math.min(d,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,n,i,r){const{ctx:o,maxWidth:a,options:{labels:{padding:c}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],h=r+c;let g=t;o.textAlign="left",o.textBaseline="middle";let m=-1,y=-h;return this.legendItems.forEach((b,w)=>{const _=i+n/2+o.measureText(b.text).width;(w===0||d[d.length-1]+_+2*c>a)&&(g+=h,d[d.length-(w>0?0:1)]=0,y+=h,m++),u[w]={left:0,top:y,row:m,width:_,height:r},d[d.length-1]+=_+c}),g}_fitCols(t,n,i,r){const{ctx:o,maxHeight:a,options:{labels:{padding:c}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],h=a-t;let g=c,m=0,y=0,b=0,w=0;return this.legendItems.forEach((_,O)=>{const{itemWidth:R,itemHeight:T}=eee(i,n,o,_,r);O>0&&y+T+2*c>h&&(g+=m+c,d.push({width:m,height:y}),b+=m+c,w++,m=y=0),u[O]={left:b,top:y,col:w,width:R,height:T},m=Math.max(m,R),y+=T+c}),g+=m,d.push({width:m,height:y}),g}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:r},rtl:o}}=this,a=Ma(o,this.left,this.width);if(this.isHorizontal()){let c=0,u=xn(i,this.left+r,this.right-this.lineWidths[c]);for(const d of n)c!==d.row&&(c=d.row,u=xn(i,this.left+r,this.right-this.lineWidths[c])),d.top+=this.top+t+r,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+r}else{let c=0,u=xn(i,this.top+t+r,this.bottom-this.columnSizes[c].height);for(const d of n)d.col!==c&&(c=d.col,u=xn(i,this.top+t+r,this.bottom-this.columnSizes[c].height)),d.top=u,d.left+=this.left+r,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;tg(t,this),this._draw(),ng(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:i,ctx:r}=this,{align:o,labels:a}=t,c=ft.color,u=Ma(t.rtl,this.left,this.width),d=ln(a.font),{padding:h}=a,g=d.size,m=g/2;let y;this.drawTitle(),r.textAlign=u.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=d.string;const{boxWidth:b,boxHeight:w,itemHeight:_}=QT(a,g),O=function(P,I,z){if(isNaN(b)||b<=0||isNaN(w)||w<0)return;r.save();const U=Pe(z.lineWidth,1);if(r.fillStyle=Pe(z.fillStyle,c),r.lineCap=Pe(z.lineCap,"butt"),r.lineDashOffset=Pe(z.lineDashOffset,0),r.lineJoin=Pe(z.lineJoin,"miter"),r.lineWidth=U,r.strokeStyle=Pe(z.strokeStyle,c),r.setLineDash(Pe(z.lineDash,[])),a.usePointStyle){const $={radius:w*Math.SQRT2/2,pointStyle:z.pointStyle,rotation:z.rotation,borderWidth:U},W=u.xPlus(P,b/2),Y=I+m;aN(r,$,W,Y,a.pointStyleWidth&&b)}else{const $=I+Math.max((g-w)/2,0),W=u.leftForLtr(P,b),Y=$c(z.borderRadius);r.beginPath(),Object.values(Y).some(B=>B!==0)?ux(r,{x:W,y:$,w:b,h:w,radius:Y}):r.rect(W,$,b,w),r.fill(),U!==0&&r.stroke()}r.restore()},R=function(P,I,z){Xh(r,z.text,P,I+_/2,d,{strikethrough:z.hidden,textAlign:u.textAlign(z.textAlign)})},T=this.isHorizontal(),M=this._computeTitleHeight();T?y={x:xn(o,this.left+h,this.right-i[0]),y:this.top+h+M,line:0}:y={x:this.left+h,y:xn(o,this.top+M+h,this.bottom-n[0].height),line:0},pN(this.ctx,t.textDirection);const D=_+h;this.legendItems.forEach((P,I)=>{r.strokeStyle=P.fontColor,r.fillStyle=P.fontColor;const z=r.measureText(P.text).width,U=u.textAlign(P.textAlign||(P.textAlign=a.textAlign)),$=b+m+z;let W=y.x,Y=y.y;u.setWidth(this.width),T?I>0&&W+$+h>this.right&&(Y=y.y+=D,y.line++,W=y.x=xn(o,this.left+h,this.right-i[y.line])):I>0&&Y+D>this.bottom&&(W=y.x=W+n[y.line].width+h,y.line++,Y=y.y=xn(o,this.top+M+h,this.bottom-n[y.line].height));const B=u.x(W);if(O(B,Y,P),W=QX(U,W+b+m,T?W+$:this.right,t.rtl),R(u.x(W),Y,P),T)y.x+=$+h;else if(typeof P.text!="string"){const H=d.lineHeight;y.y+=kN(P,H)+h}else y.y+=D}),gN(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,i=ln(n.font),r=yi(n.padding);if(!n.display)return;const o=Ma(t.rtl,this.left,this.width),a=this.ctx,c=n.position,u=i.size/2,d=r.top+u;let h,g=this.left,m=this.width;if(this.isHorizontal())m=Math.max(...this.lineWidths),h=this.top+d,g=xn(t.align,g,this.right-m);else{const b=this.columnSizes.reduce((w,_)=>Math.max(w,_.height),0);h=d+xn(t.align,this.top,this.bottom-b-t.labels.padding-this._computeTitleHeight())}const y=xn(c,g,g+m);a.textAlign=o.textAlign(rN(c)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=i.string,Xh(a,n.text,y,h,i)}_computeTitleHeight(){const t=this.options.title,n=ln(t.font),i=yi(t.padding);return t.display?n.lineHeight+i.height:0}_getLegendItemAt(t,n){let i,r,o;if(wa(t,this.left,this.right)&&wa(n,this.top,this.bottom)){for(o=this.legendHitBoxes,i=0;i<o.length;++i)if(r=o[i],wa(t,r.left,r.left+r.width)&&wa(n,r.top,r.top+r.height))return this.legendItems[i]}return null}handleEvent(t){const n=this.options;if(!iee(t.type,n))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,o=JJ(r,i);r&&!o&&Ze(n.onLeave,[t,r,this],this),this._hoveredItem=i,i&&!o&&Ze(n.onHover,[t,i,this],this)}else i&&Ze(n.onClick,[t,i,this],this)}}function eee(e,t,n,i,r){const o=tee(i,e,t,n),a=nee(r,i,t.lineHeight);return{itemWidth:o,itemHeight:a}}function tee(e,t,n,i){let r=e.text;return r&&typeof r!="string"&&(r=r.reduce((o,a)=>o.length>a.length?o:a)),t+n.size/2+i.measureText(r).width}function nee(e,t,n){let i=e;return typeof t.text!="string"&&(i=kN(t,n)),i}function kN(e,t){const n=e.text?e.text.length:0;return t*n}function iee(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var Kme={id:"legend",_element:ZT,start(e,t,n){const i=e.legend=new ZT({ctx:e.ctx,options:n,chart:e});Jr.configure(e,i,n),Jr.addBox(e,i)},stop(e){Jr.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;Jr.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,r=n.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:r,color:o,useBorderRadius:a,borderRadius:c}}=e.legend.options;return e._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),h=yi(d.borderWidth);return{text:t[u.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:d.borderColor,pointStyle:i||d.pointStyle,rotation:d.rotation,textAlign:r||d.textAlign,borderRadius:a&&(c||d.borderRadius),datasetIndex:u.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};const Rc={average(e){if(!e.length)return!1;let t,n,i=new Set,r=0,o=0;for(t=0,n=e.length;t<n;++t){const c=e[t].element;if(c&&c.hasValue()){const u=c.tooltipPosition();i.add(u.x),r+=u.y,++o}}return o===0||i.size===0?!1:{x:[...i].reduce((c,u)=>c+u)/i.size,y:r/o}},nearest(e,t){if(!e.length)return!1;let n=t.x,i=t.y,r=Number.POSITIVE_INFINITY,o,a,c;for(o=0,a=e.length;o<a;++o){const u=e[o].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),h=ax(t,d);h<r&&(r=h,c=u)}}if(c){const u=c.tooltipPosition();n=u.x,i=u.y}return{x:n,y:i}}};function Ei(e,t){return t&&(Ot(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function ir(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(` +`)>-1?e.split(` +`):e}function ree(e,t){const{element:n,datasetIndex:i,index:r}=t,o=e.getDatasetMeta(i).controller,{label:a,value:c}=o.getLabelAndValue(r);return{chart:e,label:a,parsed:o.getParsed(r),raw:e.data.datasets[i].data[r],formattedValue:c,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function JT(e,t){const n=e.chart.ctx,{body:i,footer:r,title:o}=e,{boxWidth:a,boxHeight:c}=t,u=ln(t.bodyFont),d=ln(t.titleFont),h=ln(t.footerFont),g=o.length,m=r.length,y=i.length,b=yi(t.padding);let w=b.height,_=0,O=i.reduce((M,D)=>M+D.before.length+D.lines.length+D.after.length,0);if(O+=e.beforeBody.length+e.afterBody.length,g&&(w+=g*d.lineHeight+(g-1)*t.titleSpacing+t.titleMarginBottom),O){const M=t.displayColors?Math.max(c,u.lineHeight):u.lineHeight;w+=y*M+(O-y)*u.lineHeight+(O-1)*t.bodySpacing}m&&(w+=t.footerMarginTop+m*h.lineHeight+(m-1)*t.footerSpacing);let R=0;const T=function(M){_=Math.max(_,n.measureText(M).width+R)};return n.save(),n.font=d.string,He(e.title,T),n.font=u.string,He(e.beforeBody.concat(e.afterBody),T),R=t.displayColors?a+2+t.boxPadding:0,He(i,M=>{He(M.before,T),He(M.lines,T),He(M.after,T)}),R=0,n.font=h.string,He(e.footer,T),n.restore(),_+=b.width,{width:_,height:w}}function oee(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function see(e,t,n,i){const{x:r,width:o}=i,a=n.caretSize+n.caretPadding;if(e==="left"&&r+o+a>t.width||e==="right"&&r-o-a<0)return!0}function aee(e,t,n,i){const{x:r,width:o}=n,{width:a,chartArea:{left:c,right:u}}=e;let d="center";return i==="center"?d=r<=(c+u)/2?"left":"right":r<=o/2?d="left":r>=a-o/2&&(d="right"),see(d,e,t,n)&&(d="center"),d}function eM(e,t,n){const i=n.yAlign||t.yAlign||oee(e,n);return{xAlign:n.xAlign||t.xAlign||aee(e,t,n,i),yAlign:i}}function lee(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function cee(e,t,n){let{y:i,height:r}=e;return t==="top"?i+=n:t==="bottom"?i-=r+n:i-=r/2,i}function tM(e,t,n,i){const{caretSize:r,caretPadding:o,cornerRadius:a}=e,{xAlign:c,yAlign:u}=n,d=r+o,{topLeft:h,topRight:g,bottomLeft:m,bottomRight:y}=$c(a);let b=lee(t,c);const w=cee(t,u,d);return u==="center"?c==="left"?b+=d:c==="right"&&(b-=d):c==="left"?b-=Math.max(h,m)+r:c==="right"&&(b+=Math.max(g,y)+r),{x:Yn(b,0,i.width-t.width),y:Yn(w,0,i.height-t.height)}}function Pd(e,t,n){const i=yi(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function nM(e){return Ei([],ir(e))}function uee(e,t,n){return Cs(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function iM(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const IN={beforeTitle:tr,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:tr,beforeBody:tr,beforeLabel:tr,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Ke(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:tr,afterBody:tr,beforeFooter:tr,footer:tr,afterFooter:tr};function on(e,t,n,i){const r=e[t].call(n,i);return typeof r>"u"?IN[t].call(n,i):r}class rM extends sl{static positioners=Rc;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&n.options.animation&&i.animations,o=new xN(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=uee(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,r=on(i,"beforeTitle",this,t),o=on(i,"title",this,t),a=on(i,"afterTitle",this,t);let c=[];return c=Ei(c,ir(r)),c=Ei(c,ir(o)),c=Ei(c,ir(a)),c}getBeforeBody(t,n){return nM(on(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,r=[];return He(t,o=>{const a={before:[],lines:[],after:[]},c=iM(i,o);Ei(a.before,ir(on(c,"beforeLabel",this,o))),Ei(a.lines,on(c,"label",this,o)),Ei(a.after,ir(on(c,"afterLabel",this,o))),r.push(a)}),r}getAfterBody(t,n){return nM(on(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,r=on(i,"beforeFooter",this,t),o=on(i,"footer",this,t),a=on(i,"afterFooter",this,t);let c=[];return c=Ei(c,ir(r)),c=Ei(c,ir(o)),c=Ei(c,ir(a)),c}_createItems(t){const n=this._active,i=this.chart.data,r=[],o=[],a=[];let c=[],u,d;for(u=0,d=n.length;u<d;++u)c.push(ree(this.chart,n[u]));return t.filter&&(c=c.filter((h,g,m)=>t.filter(h,g,m,i))),t.itemSort&&(c=c.sort((h,g)=>t.itemSort(h,g,i))),He(c,h=>{const g=iM(t.callbacks,h);r.push(on(g,"labelColor",this,h)),o.push(on(g,"labelPointStyle",this,h)),a.push(on(g,"labelTextColor",this,h))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=c,c}update(t,n){const i=this.options.setContext(this.getContext()),r=this._active;let o,a=[];if(!r.length)this.opacity!==0&&(o={opacity:0});else{const c=Rc[i.position].call(this,r,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const u=this._size=JT(this,i),d=Object.assign({},c,u),h=eM(this.chart,i,d),g=tM(i,d,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:g.x,y:g.y,width:u.width,height:u.height,caretX:c.x,caretY:c.y}}this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,r){const o=this.getCaretPosition(t,i,r);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,i){const{xAlign:r,yAlign:o}=this,{caretSize:a,cornerRadius:c}=i,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:g}=$c(c),{x:m,y}=t,{width:b,height:w}=n;let _,O,R,T,M,D;return o==="center"?(M=y+w/2,r==="left"?(_=m,O=_-a,T=M+a,D=M-a):(_=m+b,O=_+a,T=M-a,D=M+a),R=_):(r==="left"?O=m+Math.max(u,h)+a:r==="right"?O=m+b-Math.max(d,g)-a:O=this.caretX,o==="top"?(T=y,M=T-a,_=O-a,R=O+a):(T=y+w,M=T+a,_=O+a,R=O-a),D=T),{x1:_,x2:O,x3:R,y1:T,y2:M,y3:D}}drawTitle(t,n,i){const r=this.title,o=r.length;let a,c,u;if(o){const d=Ma(i.rtl,this.x,this.width);for(t.x=Pd(this,i.titleAlign,i),n.textAlign=d.textAlign(i.titleAlign),n.textBaseline="middle",a=ln(i.titleFont),c=i.titleSpacing,n.fillStyle=i.titleColor,n.font=a.string,u=0;u<o;++u)n.fillText(r[u],d.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+c,u+1===o&&(t.y+=i.titleMarginBottom-c)}}_drawColorBox(t,n,i,r,o){const a=this.labelColors[i],c=this.labelPointStyles[i],{boxHeight:u,boxWidth:d}=o,h=ln(o.bodyFont),g=Pd(this,"left",o),m=r.x(g),y=u<h.lineHeight?(h.lineHeight-u)/2:0,b=n.y+y;if(o.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},_=r.leftForLtr(m,d)+d/2,O=b+u/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,cx(t,w,_,O),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,cx(t,w,_,O)}else{t.lineWidth=Le(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const w=r.leftForLtr(m,d),_=r.leftForLtr(r.xPlus(m,1),d-2),O=$c(a.borderRadius);Object.values(O).some(R=>R!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,ux(t,{x:w,y:b,w:d,h:u,radius:O}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),ux(t,{x:_,y:b+1,w:d-2,h:u-2,radius:O}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(w,b,d,u),t.strokeRect(w,b,d,u),t.fillStyle=a.backgroundColor,t.fillRect(_,b+1,d-2,u-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:r}=this,{bodySpacing:o,bodyAlign:a,displayColors:c,boxHeight:u,boxWidth:d,boxPadding:h}=i,g=ln(i.bodyFont);let m=g.lineHeight,y=0;const b=Ma(i.rtl,this.x,this.width),w=function(z){n.fillText(z,b.x(t.x+y),t.y+m/2),t.y+=m+o},_=b.textAlign(a);let O,R,T,M,D,P,I;for(n.textAlign=a,n.textBaseline="middle",n.font=g.string,t.x=Pd(this,_,i),n.fillStyle=i.bodyColor,He(this.beforeBody,w),y=c&&_!=="right"?a==="center"?d/2+h:d+2+h:0,M=0,P=r.length;M<P;++M){for(O=r[M],R=this.labelTextColors[M],n.fillStyle=R,He(O.before,w),T=O.lines,c&&T.length&&(this._drawColorBox(n,t,M,b,i),m=Math.max(g.lineHeight,u)),D=0,I=T.length;D<I;++D)w(T[D]),m=g.lineHeight;He(O.after,w)}y=0,m=g.lineHeight,He(this.afterBody,w),t.y-=o}drawFooter(t,n,i){const r=this.footer,o=r.length;let a,c;if(o){const u=Ma(i.rtl,this.x,this.width);for(t.x=Pd(this,i.footerAlign,i),t.y+=i.footerMarginTop,n.textAlign=u.textAlign(i.footerAlign),n.textBaseline="middle",a=ln(i.footerFont),n.fillStyle=i.footerColor,n.font=a.string,c=0;c<o;++c)n.fillText(r[c],u.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+i.footerSpacing}}drawBackground(t,n,i,r){const{xAlign:o,yAlign:a}=this,{x:c,y:u}=t,{width:d,height:h}=i,{topLeft:g,topRight:m,bottomLeft:y,bottomRight:b}=$c(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+g,u),a==="top"&&this.drawCaret(t,n,i,r),n.lineTo(c+d-m,u),n.quadraticCurveTo(c+d,u,c+d,u+m),a==="center"&&o==="right"&&this.drawCaret(t,n,i,r),n.lineTo(c+d,u+h-b),n.quadraticCurveTo(c+d,u+h,c+d-b,u+h),a==="bottom"&&this.drawCaret(t,n,i,r),n.lineTo(c+y,u+h),n.quadraticCurveTo(c,u+h,c,u+h-y),a==="center"&&o==="left"&&this.drawCaret(t,n,i,r),n.lineTo(c,u+g),n.quadraticCurveTo(c,u,c+g,u),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,r=i&&i.x,o=i&&i.y;if(r||o){const a=Rc[t.position].call(this,this._active,this._eventPosition);if(!a)return;const c=this._size=JT(this,t),u=Object.assign({},a,this._size),d=eM(n,t,u),h=tM(t,u,d,n);(r._to!==h.x||o._to!==h.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=c.width,this.height=c.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=yi(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(t.save(),t.globalAlpha=i,this.drawBackground(o,t,r,n),pN(t,n.textDirection),o.y+=a.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),gN(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,r=t.map(({datasetIndex:c,index:u})=>{const d=this.chart.getDatasetMeta(c);if(!d)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:d.data[u],index:u}}),o=!Wh(i,r),a=this._positionChanged(r,n);(o||a)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],a=this._getActiveElements(t,o,n,i),c=this._positionChanged(a,t),u=n||!Wh(a,o)||c;return u&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),u}_getActiveElements(t,n,i,r){const o=this.options;if(t.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const a=this.chart.getElementsAtEventForMode(t,o.mode,o,i);return o.reverse&&a.reverse(),a}_positionChanged(t,n){const{caretX:i,caretY:r,options:o}=this,a=Rc[o.position].call(this,t,n);return a!==!1&&(i!==a.x||r!==a.y)}}var Xme={id:"tooltip",_element:rM,positioners:Rc,afterInit(e,t,n){n&&(e.tooltip=new rM({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:IN},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const fee=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function dee(e,t,n,i){const r=e.indexOf(t);if(r===-1)return fee(e,t,n,i);const o=e.lastIndexOf(t);return r!==o?n:r}const hee=(e,t)=>e===null?null:Yn(Math.round(e),0,t);function oM(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Qme extends al{static id="category";static defaults={ticks:{callback:oM}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:r,label:o}of n)i[r]===o&&i.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Ke(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:dee(i,t,Pe(n,t),this._addedLabels),hee(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,r=[];let o=this.getLabels();o=t===0&&n===o.length-1?o:o.slice(t,n+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let a=t;a<=n;a++)r.push({value:a});return r}getLabelForValue(t){return oM.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function pee(e,t){const n=[],{bounds:r,step:o,min:a,max:c,precision:u,count:d,maxTicks:h,maxDigits:g,includeBounds:m}=e,y=o||1,b=h-1,{min:w,max:_}=t,O=!Ke(a),R=!Ke(c),T=!Ke(d),M=(_-w)/(g+1);let D=rT((_-w)/b/y)*y,P,I,z,U;if(D<1e-14&&!O&&!R)return[{value:w},{value:_}];U=Math.ceil(_/D)-Math.floor(w/D),U>b&&(D=rT(U*D/b/y)*y),Ke(u)||(P=Math.pow(10,u),D=Math.ceil(D*P)/P),r==="ticks"?(I=Math.floor(w/D)*D,z=Math.ceil(_/D)*D):(I=w,z=_),O&&R&&o&&FX((c-a)/o,D/1e3)?(U=Math.round(Math.min((c-a)/D,h)),D=(c-a)/U,I=a,z=c):T?(I=O?a:I,z=R?c:z,U=d-1,D=(z-I)/U):(U=(z-I)/D,kc(U,Math.round(U),D/1e3)?U=Math.round(U):U=Math.ceil(U));const $=Math.max(oT(D),oT(I));P=Math.pow(10,Ke(u)?$:u),I=Math.round(I*P)/P,z=Math.round(z*P)/P;let W=0;for(O&&(m&&I!==a?(n.push({value:a}),I<a&&W++,kc(Math.round((I+W*D)*P)/P,a,sM(a,M,e))&&W++):I<a&&W++);W<U;++W){const Y=Math.round((I+W*D)*P)/P;if(R&&Y>c)break;n.push({value:Y})}return R&&m&&z!==c?n.length&&kc(n[n.length-1].value,c,sM(c,M,e))?n[n.length-1].value=c:n.push({value:c}):(!R||z===c)&&n.push({value:z}),n}function sM(e,t,{horizontal:n,minRotation:i}){const r=rs(i),o=(n?Math.sin(r):Math.cos(r))||.001,a=.75*t*(""+e).length;return Math.min(t/o,a)}class gee extends al{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Ke(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this;const a=u=>r=n?r:u,c=u=>o=i?o:u;if(t){const u=za(r),d=za(o);u<0&&d<0?c(0):u>0&&d>0&&a(0)}if(r===o){let u=o===0?1:Math.abs(o*.05);c(o+u),t||a(r-u)}this.min=r,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,r;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,a=pee(r,o);return t.bounds==="ticks"&&BX(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const r=(i-n)/Math.max(t.length-1,1)/2;n-=r,i+=r}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return oN(t,this.chart.options.locale,this.options.ticks.format)}}class Zme extends gee{static id="linear";static defaults={ticks:{callback:sN.formatters.numeric}};determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Ft(t)?t:0,this.max=Ft(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=rs(this.options.ticks.minRotation),r=(t?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const sg={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},an=Object.keys(sg);function aM(e,t){return e-t}function lM(e,t){if(Ke(t))return null;const n=e._adapter,{parser:i,round:r,isoWeekday:o}=e._parseOpts;let a=t;return typeof i=="function"&&(a=i(a)),Ft(a)||(a=typeof i=="string"?n.parse(a,i):n.parse(a)),a===null?null:(r&&(a=r==="week"&&(su(o)||o===!0)?n.startOf(a,"isoWeek",o):n.startOf(a,r)),+a)}function cM(e,t,n,i){const r=an.length;for(let o=an.indexOf(e);o<r-1;++o){const a=sg[an[o]],c=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-t)/(c*a.size))<=i)return an[o]}return an[r-1]}function mee(e,t,n,i,r){for(let o=an.length-1;o>=an.indexOf(n);o--){const a=an[o];if(sg[a].common&&e._adapter.diff(r,i,a)>=t-1)return a}return an[n?an.indexOf(n):0]}function yee(e){for(let t=an.indexOf(e)+1,n=an.length;t<n;++t)if(sg[an[t]].common)return an[t]}function uM(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:i,hi:r}=TS(n,t),o=n[i]>=t?n[i]:n[r];e[o]=!0}}function vee(e,t,n,i){const r=e._adapter,o=+r.startOf(t[0].value,i),a=t[t.length-1].value;let c,u;for(c=o;c<=a;c=+r.add(c,1,i))u=n[c],u>=0&&(t[u].major=!0);return t}function fM(e,t,n){const i=[],r={},o=t.length;let a,c;for(a=0;a<o;++a)c=t[a],r[c]=a,i.push({value:c,major:!1});return o===0||!n?i:vee(e,i,r,n)}class dM extends al{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const i=t.time||(t.time={}),r=this._adapter=new mZ._date(t.adapters.date);r.init(n),Nc(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:lM(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,i=t.time.unit||"day";let{min:r,max:o,minDefined:a,maxDefined:c}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(r=Math.min(r,d.min)),!c&&!isNaN(d.max)&&(o=Math.max(o,d.max))}(!a||!c)&&(u(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&u(this.getMinMax(!1))),r=Ft(r)&&!isNaN(r)?r:+n.startOf(Date.now(),i),o=Ft(o)&&!isNaN(o)?o:+n.endOf(Date.now(),i)+1,this.min=Math.min(r,o-1),this.max=Math.max(r+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],i=t[t.length-1]),{min:n,max:i}}buildTicks(){const t=this.options,n=t.time,i=t.ticks,r=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const o=this.min,a=this.max,c=qX(r,o,a);return this._unit=n.unit||(i.autoSkip?cM(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):mee(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:yee(this._unit),this.initOffsets(r),t.reverse&&c.reverse(),fM(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,i=0,r,o;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?n=1-r:n=(this.getDecimalForValue(t[1])-r)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?i=o:i=(o-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;n=Yn(n,0,a),i=Yn(i,0,a),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,r=this.options,o=r.time,a=o.unit||cM(o.minUnit,n,i,this._getLabelCapacity(n)),c=Pe(r.ticks.stepSize,1),u=a==="week"?o.isoWeekday:!1,d=su(u)||u===!0,h={};let g=n,m,y;if(d&&(g=+t.startOf(g,"isoWeek",u)),g=+t.startOf(g,d?"day":a),t.diff(i,n,a)>1e5*c)throw new Error(n+" and "+i+" are too far apart with stepSize of "+c+" "+a);const b=r.ticks.source==="data"&&this.getDataTimestamps();for(m=g,y=0;m<i;m=+t.add(m,c,a),y++)uM(h,m,b);return(m===i||r.bounds==="ticks"||y===1)&&uM(h,m,b),Object.keys(h).sort(aM).map(w=>+w)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const r=this.options.time.displayFormats,o=this._unit,a=n||r[o];return this._adapter.format(t,a)}_tickFormatFunction(t,n,i,r){const o=this.options,a=o.ticks.callback;if(a)return Ze(a,[t,n,i],this);const c=o.time.displayFormats,u=this._unit,d=this._majorUnit,h=u&&c[u],g=d&&c[d],m=i[n],y=d&&g&&m&&m.major;return this._adapter.format(t,r||(y?g:h))}generateTickLabels(t){let n,i,r;for(n=0,i=t.length;n<i;++n)r=t[n],r.label=this._tickFormatFunction(r.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,i=this.ctx.measureText(t).width,r=rs(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(r),a=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:i*o+c*a,h:i*a+c*o}}_getLabelCapacity(t){const n=this.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=this._tickFormatFunction(t,0,fM(this,[t],this._majorUnit),r),a=this._getLabelSize(o),c=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return c>0?c:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,i=r.length;n<i;++n)t=t.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,i;if(t.length)return t;const r=this.getLabels();for(n=0,i=r.length;n<i;++n)t.push(lM(this,r[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return KX(t.sort(aM))}}function jd(e,t,n){let i=0,r=e.length-1,o,a,c,u;n?(t>=e[i].pos&&t<=e[r].pos&&({lo:i,hi:r}=os(e,"pos",t)),{pos:o,time:c}=e[i],{pos:a,time:u}=e[r]):(t>=e[i].time&&t<=e[r].time&&({lo:i,hi:r}=os(e,"time",t)),{time:o,pos:c}=e[i],{time:a,pos:u}=e[r]);const d=a-o;return d?c+(u-c)*(t-o)/d:c}class Jme extends dM{static id="timeseries";static defaults=dM.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=jd(n,this.min),this._tableRange=jd(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,r=[],o=[];let a,c,u,d,h;for(a=0,c=t.length;a<c;++a)d=t[a],d>=n&&d<=i&&r.push(d);if(r.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(a=0,c=r.length;a<c;++a)h=r[a+1],u=r[a-1],d=r[a],Math.round((h+u)/2)!==d&&o.push({time:d,pos:a/(c-1)});return o}_generate(){const t=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(t)||!i.length)&&i.splice(0,0,t),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((r,o)=>r-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(jd(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return jd(this._table,i*this._tableRange+this._minPos,!0)}}const zN="label";function hM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function bee(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function $N(e,t){e.labels=t}function FN(e,t,n=zN){const i=[];e.datasets=t.map(r=>{const o=e.datasets.find(a=>a[n]===r[n]);return!o||!r.data||i.includes(o)?{...r}:(i.push(o),Object.assign(o,r),o)})}function xee(e,t=zN){const n={labels:[],datasets:[]};return $N(n,e.labels),FN(n,e.datasets,t),n}function See(e,t){const{height:n=150,width:i=300,redraw:r=!1,datasetIdKey:o,type:a,data:c,options:u,plugins:d=[],fallbackContent:h,updateMode:g,...m}=e,y=C.useRef(null),b=C.useRef(null),w=()=>{y.current&&(b.current=new kS(y.current,{type:a,data:xee(c,o),options:u&&{...u},plugins:d}),hM(t,b.current))},_=()=>{hM(t,null),b.current&&(b.current.destroy(),b.current=null)};return C.useEffect(()=>{!r&&b.current&&u&&bee(b.current,u)},[r,u]),C.useEffect(()=>{!r&&b.current&&$N(b.current.config.data,c.labels)},[r,c.labels]),C.useEffect(()=>{!r&&b.current&&c.datasets&&FN(b.current.config.data,c.datasets,o)},[r,c.datasets]),C.useEffect(()=>{b.current&&(r?(_(),setTimeout(w)):b.current.update(g))},[r,u,c.labels,c.datasets,g]),C.useEffect(()=>{b.current&&(_(),setTimeout(w))},[a]),C.useEffect(()=>(w(),()=>_()),[]),S.jsx("canvas",{ref:y,role:"img",height:n,width:i,...m,children:h})}const wee=C.forwardRef(See);function _ee(e,t){return kS.register(t),C.forwardRef((n,i)=>S.jsx(wee,{...n,ref:i,type:e}))}const BN=_ee("line",gZ);var zv,pM;function Cee(){return pM||(pM=1,zv=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(r=i;r--!==0;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),i=o.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;r--!==0;){var a=o[r];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}),zv}var Oee=Cee();const zS=Ua(Oee);function gM(e,t,n,i=0,r=!1){for(const a of t)if(zS(n,a.args)){if(r)return;if(a.error)throw a.error;if(a.response)return a.response;throw a.promise}const o={args:n,promise:e(...n).then(a=>o.response=a??!0).catch(a=>o.error=a??"unknown error").then(()=>{i>0&&setTimeout(()=>{const a=t.indexOf(o);a!==-1&&t.splice(a,1)},i)})};if(t.push(o),!r)throw o.promise}function Eee(e,...t){if(t===void 0||t.length===0)e.splice(0,e.length);else{const n=e.find(i=>zS(t,i.args));if(n){const i=e.indexOf(n);i!==-1&&e.splice(i,1)}}}function Ree(e,t=0){const n=[];return{read:(...i)=>gM(e,n,i,t),preload:(...i)=>{gM(e,n,i,t,!0)},clear:(...i)=>Eee(n,...i),peek:(...i)=>{var r;return(r=n.find(o=>zS(i,o.args)))==null?void 0:r.response}}}const mM=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];function Qn(e){if(e<1e3)return e+" B";const t=Math.min(Math.floor(Math.log10(e)/3),mM.length-1);e=Number((e/Math.pow(1e3,t)).toPrecision(3));const n=mM[t];return e+" "+n}const HN=Ree(()=>Jo(()=>import("./chart-lib-vQlvG9Ki.js"),[],import.meta.url)),gx={borderWidth:1.5,pointRadius:0,tension:.4,fill:!0,pointHitRadius:10,pointHoverRadius:4},mx=[{down:{backgroundColor:"rgba(81, 168, 221, 0.5)",borderColor:"rgb(81, 168, 221)"},up:{backgroundColor:"rgba(219, 77, 109, 0.5)",borderColor:"rgb(219, 77, 109)"},inuse:{backgroundColor:"rgba(81, 168, 221, 0.5)",borderColor:"rgb(81, 168, 221)"}},{up:{backgroundColor:"rgba(245,78,162,0.6)",borderColor:"rgba(245,78,162,1)"},down:{backgroundColor:"rgba(123,59,140,0.6)",borderColor:"rgba(66,33,142,1)"},inuse:{backgroundColor:"rgba(123,59,140,0.6)",borderColor:"rgba(66,33,142,1)"}},{up:{backgroundColor:"rgba(94, 175, 223, 0.3)",borderColor:"rgb(94, 175, 223)"},down:{backgroundColor:"rgba(139, 227, 195, 0.3)",borderColor:"rgb(139, 227, 195)"},inuse:{backgroundColor:"rgba(139, 227, 195, 0.3)",borderColor:"rgb(139, 227, 195)"}},{up:{backgroundColor:"rgba(242, 174, 62, 0.3)",borderColor:"rgb(242, 174, 62)"},down:{backgroundColor:"rgba(69, 154, 248, 0.3)",borderColor:"rgb(69, 154, 248)"},inuse:{backgroundColor:"rgba(69, 154, 248, 0.3)",borderColor:"rgb(69, 154, 248)"}}],{useMemo:Tee}=Je,Mee={responsive:!0,maintainAspectRatio:!1,animation:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1,type:"category"},y:{display:!1}}},VN=[23e3,35e3,46e3,33e3,9e4,68e3,23e3,45e3],Aee=[184e3,183e3,196e3,182e3,19e4,186e3,182e3,189e3],Dee=VN.map((e,t)=>t);function Pee({id:e}){HN.read();const t=Tee(()=>({labels:Dee,datasets:[{...gx,...mx[e].up,data:VN},{...gx,...mx[e].down,data:Aee}]}),[e]);return S.jsx("div",{style:{width:80,height:40,padding:5},children:S.jsx(BN,{data:t,options:Mee})})}function yx(){return yx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yx.apply(this,arguments)}var jee=q.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},q.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),Lee=q.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},q.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function yM(e){if(e.length===7)return e;for(var t="#",n=1;n<4;n+=1)t+=e[n]+e[n];return t}function vM(e,t,n,i,r){return(function(o,a,c,u,d){var h=(o-c)/(a-c);if(h===0)return u;if(h===1)return d;for(var g="#",m=1;m<6;m+=2){var y=parseInt(u.substr(m,2),16),b=parseInt(d.substr(m,2),16),w=Math.round((1-h)*y+h*b).toString(16);w.length===1&&(w="0"+w),g+=w}return g})(e,t,n,yM(i),yM(r))}var lh=(function(e){function t(n){e.call(this,n);var i=n.height,r=n.width,o=n.checked;this.t=n.handleDiameter||i-2,this.i=Math.max(r-i,r-(i+this.t)/2),this.o=Math.max(0,(i-this.t)/2),this.state={h:o?this.i:this.o},this.l=0,this.u=0,this.p=this.p.bind(this),this.v=this.v.bind(this),this.k=this.k.bind(this),this.m=this.m.bind(this),this.M=this.M.bind(this),this.T=this.T.bind(this),this.$=this.$.bind(this),this.C=this.C.bind(this),this.D=this.D.bind(this),this.O=this.O.bind(this),this.S=this.S.bind(this),this.W=this.W.bind(this)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.componentDidMount=function(){this.I=!0},t.prototype.componentDidUpdate=function(n){n.checked!==this.props.checked&&this.setState({h:this.props.checked?this.i:this.o})},t.prototype.componentWillUnmount=function(){this.I=!1},t.prototype.H=function(n){this.R.focus(),this.setState({j:n,B:!0,L:Date.now()})},t.prototype.N=function(n){var i=this.state,r=i.j,o=i.h,a=(this.props.checked?this.i:this.o)+n-r;i.U||n===r||this.setState({U:!0});var c=Math.min(this.i,Math.max(this.o,a));c!==o&&this.setState({h:c})},t.prototype.A=function(n){var i=this.state,r=i.h,o=i.U,a=i.L,c=this.props.checked,u=(this.i+this.o)/2;this.setState({h:this.props.checked?this.i:this.o});var d=Date.now()-a;(!o||d<250||c&&r<=u||!c&&r>=u)&&this.X(n),this.I&&this.setState({U:!1,B:!1}),this.l=Date.now()},t.prototype.p=function(n){n.preventDefault(),typeof n.button=="number"&&n.button!==0||(this.H(n.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.k))},t.prototype.v=function(n){n.preventDefault(),this.N(n.clientX)},t.prototype.k=function(n){this.A(n),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.k)},t.prototype.m=function(n){this.F=null,this.H(n.touches[0].clientX)},t.prototype.M=function(n){this.N(n.touches[0].clientX)},t.prototype.T=function(n){n.preventDefault(),this.A(n)},t.prototype.C=function(n){Date.now()-this.l>50&&(this.X(n),Date.now()-this.u>50&&this.I&&this.setState({B:!1}))},t.prototype.D=function(){this.u=Date.now()},t.prototype.O=function(){this.setState({B:!0})},t.prototype.S=function(){this.setState({B:!1})},t.prototype.W=function(n){this.R=n},t.prototype.$=function(n){n.preventDefault(),this.R.focus(),this.X(n),this.I&&this.setState({B:!1})},t.prototype.X=function(n){var i=this.props;(0,i.onChange)(!i.checked,n,i.id)},t.prototype.render=function(){var n=this.props,i=n.checked,r=n.disabled,o=n.className,a=n.offColor,c=n.onColor,u=n.offHandleColor,d=n.onHandleColor,h=n.checkedIcon,g=n.uncheckedIcon,m=n.checkedHandleIcon,y=n.uncheckedHandleIcon,b=n.boxShadow,w=n.activeBoxShadow,_=n.height,O=n.width,R=n.borderRadius,T=(function(L,N){var j={};for(var V in L)Object.prototype.hasOwnProperty.call(L,V)&&N.indexOf(V)===-1&&(j[V]=L[V]);return j})(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),M=this.state,D=M.h,P=M.U,I=M.B,z={position:"relative",display:"inline-block",textAlign:"left",opacity:r?.5:1,direction:"ltr",borderRadius:_/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},U={height:_,width:O,margin:Math.max(0,(this.t-_)/2),position:"relative",background:vM(D,this.i,this.o,a,c),borderRadius:typeof R=="number"?R:_/2,cursor:r?"default":"pointer",WebkitTransition:P?null:"background 0.25s",MozTransition:P?null:"background 0.25s",transition:P?null:"background 0.25s"},$={height:_,width:Math.min(1.5*_,O-(this.t+_)/2+1),position:"relative",opacity:(D-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:P?null:"opacity 0.25s",MozTransition:P?null:"opacity 0.25s",transition:P?null:"opacity 0.25s"},W={height:_,width:Math.min(1.5*_,O-(this.t+_)/2+1),position:"absolute",opacity:1-(D-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:P?null:"opacity 0.25s",MozTransition:P?null:"opacity 0.25s",transition:P?null:"opacity 0.25s"},Y={height:this.t,width:this.t,background:vM(D,this.i,this.o,u,d),display:"inline-block",cursor:r?"default":"pointer",borderRadius:typeof R=="number"?R-1:"50%",position:"absolute",transform:"translateX("+D+"px)",top:Math.max(0,(_-this.t)/2),outline:0,boxShadow:I?w:b,border:0,WebkitTransition:P?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:P?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:P?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},B={height:this.t,width:this.t,opacity:Math.max(2*(1-(D-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:P?null:"opacity 0.25s",MozTransition:P?null:"opacity 0.25s",transition:P?null:"opacity 0.25s"},H={height:this.t,width:this.t,opacity:Math.max(2*((D-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:P?null:"opacity 0.25s",MozTransition:P?null:"opacity 0.25s",transition:P?null:"opacity 0.25s"};return q.createElement("div",{className:o,style:z},q.createElement("div",{className:"react-switch-bg",style:U,onClick:r?null:this.$,onMouseDown:function(L){return L.preventDefault()}},h&&q.createElement("div",{style:$},h),g&&q.createElement("div",{style:W},g)),q.createElement("div",{className:"react-switch-handle",style:Y,onClick:function(L){return L.preventDefault()},onMouseDown:r?null:this.p,onTouchStart:r?null:this.m,onTouchMove:r?null:this.M,onTouchEnd:r?null:this.T,onTouchCancel:r?null:this.S},y&&q.createElement("div",{style:B},y),m&&q.createElement("div",{style:H},m)),q.createElement("input",yx({},{type:"checkbox",role:"switch","aria-checked":i,checked:i,disabled:r,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},T,{ref:this.W,onFocus:this.O,onBlur:this.S,onKeyUp:this.D,onChange:this.C})))},t})(C.Component);lh.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:jee,checkedIcon:Lee,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const Nee=lh.default?lh.default:lh;function kee({checked:e=!1,onChange:t,theme:n,name:i}){const r=n==="dark"?"#393939":"#e9e9e9",o=n==="dark"?"#306081":"#005caf";return S.jsx(Nee,{onChange:t,checked:e,uncheckedIcon:!1,checkedIcon:!1,offColor:r,onColor:o,offHandleColor:"#fff",onHandleColor:"#fff",handleDiameter:24,height:28,width:44,className:"rs",name:i})}const Mi=cn(e=>({theme:y1(e)}))(kee),UN="/logs",Iee=new TextDecoder("utf-8"),zee=()=>Math.floor((1+Math.random())*65536).toString(16);let bM=!1,Tc="",fr,Fc,Aa=!1,vx;const ch=[];function $ee(e){ch.forEach(t=>t(e))}function bx(e){let t;try{t=JSON.parse(e)}catch{console.log("JSON.parse error",e);return}const n=new Date,i=Fee(n);t.time=i,t.id=+n-0+zee(),t.even=bM=!bM,$ee(t)}function Fee(e){const t=e.getFullYear()%100,n=ac(e.getMonth()+1,2),i=ac(e.getDate(),2),r=ac(e.getHours(),2),o=ac(e.getMinutes(),2),a=ac(e.getSeconds(),2);return`${t}-${n}-${i} ${r}:${o}:${a}`}function WN(e){return e.read().then(({done:t,value:n})=>{const i=Iee.decode(n,{stream:!t});Tc+=i;const r=Tc.split(` +`),o=r[r.length-1];for(let a=0;a<r.length-1;a++)bx(r[a]);if(t){bx(o),Tc="",console.log("GET /logs streaming done"),Aa=!1;return}else Tc=o;return WN(e)})}function GN(e){const t=Object.keys(e);return t.sort(),t.map(n=>e[n]).join("|")}function Bee(){return fr&&fr.readyState===1||Aa}function $S(){fr&&(fr.close(),fr=void 0),Fc&&(Fc.abort(),Fc=void 0),Aa=!1,Tc=""}function xM(e){return ch.push(e),function(){const n=ch.indexOf(e);n!==-1&&ch.splice(n,1)}}function qN(e){const t=rH(e,UN);fr=new WebSocket(t),fr.addEventListener("error",()=>{fr=void 0,Uee(e)}),fr.addEventListener("message",function(n){bx(n.data)})}function Hee(e,t){if(e.logLevel==="uninit")return;const n=GN(e);return Bee()&&n===vx||($S(),vx=n,qN(e)),xM(t)}function Vee(){$S()}function YN(e){$S(),vx=GN(e),qN(e)}function Uee(e){if(Aa)return;Aa=!0,Fc=new AbortController;const t=Fc.signal,{url:n,init:i}=qe(e);fetch(n+UN+"?level="+e.logLevel,{...i,signal:t}).then(r=>{const o=r.body.getReader();WN(o)},r=>{Aa=!1,!t.aborted&&console.log("GET /logs error:",r.message)})}const{useCallback:oi,useEffect:KN,useRef:Wee,useState:Gee}=Je;function qee(e){return Ka({queryKey:["/version",e],queryFn:()=>Bp("/version",e)})}function Yee(e){const[t,n]=Gee(e),i=Wee(e);KN(()=>{i.current!==e&&n(e),i.current=e},[e]);const r=oi((a,c)=>{n(u=>({...u,[a]:c}))},[]),o=oi((a,c)=>{n(u=>({...u,tun:{...u.tun,[a]:c}}))},[]);return{configState:t,setConfigState:r,setTunConfigState:o}}function Kee({apiConfig:e,configs:t,dispatch:n,updateAppConfig:i}){KN(()=>{n(xr(e))},[e,n]);const{configState:r,setConfigState:o,setTunConfigState:a}=Yee(t),c=qee(e),u=oi(()=>{n(qb("apiConfig"))},[n]),d=oi(({name:O,value:R})=>{switch(O){case"mode":case"log-level":case"allow-lan":case"sniffing":o(O,R),n(eh(e,{[O]:R})),O==="log-level"&&YN({...e,logLevel:R});break;case"mitm-port":case"redir-port":case"socks-port":case"mixed-port":case"port":if(R!==""){const T=parseInt(R,10);if(T<0||T>65535)return}o(O,R);break;case"enable":case"stack":a(O,R),n(eh(e,{tun:{[O]:R}}));break;default:return}},[e,n,o,a]),h=oi(O=>{const{name:R,value:T}=O.target;switch(R){case"port":case"socks-port":case"mixed-port":case"redir-port":case"mitm-port":{const M=parseInt(T,10);if(M<0||M>65535)return;n(eh(e,{[R]:M}));break}case"latencyTestUrl":i(R,T);break;case"device name":case"interface name":break;default:throw new Error(`unknown input name ${R}`)}},[e,n,i]),g=oi(()=>{n(EH(e))},[e,n]),m=oi(()=>{n(RH(e))},[e,n]),y=oi(()=>{n(TH(e))},[e,n]),b=oi(()=>{n(MH(e))},[e,n]),w=oi(()=>{n(AH(e))},[e,n]),_=oi(()=>{n(DH(e))},[e,n]);return{configState:r,openAPIConfigModal:u,handleInputOnChange:d,handleInputOnBlur:h,handleReloadConfigFile:g,handleRestartCore:m,handleUpgradeCore:y,handleUpgradeGeo:b,handleUpgradeUI:w,handleFlushFakeIPPool:_,versionQuery:c}}const Xee=[{id:0},{id:1},{id:2},{id:3}],XN=[["debug","Debug"],["info","Info"],["warning","Warning"],["error","Error"],["silent","Silent"]],Qee=[{key:"port",label:"Http Port"},{key:"socks-port",label:"Socks5 Port"},{key:"mixed-port",label:"Mixed Port"},{key:"redir-port",label:"Redir Port"},{key:"mitm-port",label:"MITM Port"}],Zee=[["zh-cn","简体中文"],["zh-tw","繁體中文"],["en","English"],["vi","Vietnamese"],["ru","Русский"]],Jee=[["direct","Direct"],["rule","Rule"],["script","Script"],["global","Global"]],ete=[["gvisor","gVisor"],["mixed","Mixed"],["system","System"]];function tte(e){return e?.meta&&!e?.premium?"Clash.Meta ":e?.meta&&e?.premium?"sing-box ":"Clash Premium"}const nte="_root_mugsf_4",ite="_section_mugsf_18",rte="_wrapSwitch_mugsf_30",ote="_label_mugsf_49",ste="_sectionTitle_mugsf_57",ate="_card_mugsf_68",De={root:nte,section:ite,wrapSwitch:rte,label:ote,sectionTitle:ste,card:ate};function lte({dispatch:e,configs:t,selectedChartStyleIndex:n,apiConfig:i}){const{t:r,i18n:o}=yt(),{selectChartStyleIndex:a,updateAppConfig:c}=Xa(),{configState:u,openAPIConfigModal:d,handleInputOnChange:h,handleInputOnBlur:g,handleReloadConfigFile:m,handleRestartCore:y,handleUpgradeCore:b,handleUpgradeGeo:w,handleUpgradeUI:_,handleFlushFakeIPPool:O,versionQuery:{data:R}}=Kee({apiConfig:i,configs:t,dispatch:e,updateAppConfig:c});return S.jsx("div",{children:S.jsxs("div",{className:De.root,children:[S.jsxs("div",{className:De.card,children:[S.jsxs("div",{className:De.sectionTitle,children:[S.jsx(qp,{size:20}),r("general")]}),S.jsxs("div",{className:De.section,children:[R.meta&&R.premium||Qee.map(T=>u[T.key]!==void 0?S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:T.label}),S.jsx(Ta,{name:T.key,value:u[T.key],onChange:({target:{name:M,value:D}})=>h({name:M,value:D}),onBlur:g})]},T.key):null),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Mode"}),S.jsx(is,{options:u["mode-list"]?u["mode-list"].map(T=>[T,T]):Jee,selected:u["mode-list"]?u.mode:u.mode.toLowerCase(),onChange:T=>h({name:"mode",value:T.target.value})})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Log Level"}),S.jsx(is,{options:XN,selected:u["log-level"].toLowerCase(),onChange:T=>h({name:"log-level",value:T.target.value})})]}),R.meta&&R.premium||S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:r("allow_lan")}),S.jsx("div",{className:De.wrapSwitch,children:S.jsx(Mi,{name:"allow-lan",checked:u["allow-lan"],onChange:T=>h({name:"allow-lan",value:T})})})]}),R.meta&&!R.premium&&S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:r("tls_sniffing")}),S.jsx("div",{className:De.wrapSwitch,children:S.jsx(Mi,{name:"sniffing",checked:u.sniffing,onChange:T=>h({name:"sniffing",value:T})})})]})]})]}),R.meta&&S.jsxs(S.Fragment,{children:[R.premium||S.jsxs("div",{className:De.card,children:[S.jsxs("div",{className:De.sectionTitle,children:[S.jsx(Vp,{size:20}),"TUN"]}),S.jsxs("div",{className:De.section,children:[S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:r("enable_tun_device")}),S.jsx("div",{className:De.wrapSwitch,children:S.jsx(Mi,{checked:u.tun?.enable,onChange:T=>h({name:"enable",value:T})})})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"TUN IP Stack"}),S.jsx(is,{options:ete,selected:u.tun?.stack?.toLowerCase(),onChange:T=>h({name:"stack",value:T.target.value})})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Device Name"}),S.jsx(Ta,{name:"device name",value:u.tun?.device,onChange:g})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Interface Name"}),S.jsx(Ta,{name:"interface name",value:u["interface-name"]||"",onChange:g})]})]})]}),S.jsxs("div",{className:De.card,children:[S.jsxs("div",{className:De.sectionTitle,children:[S.jsx(tS,{size:20}),r("management")]}),S.jsxs("div",{className:De.section,children:[S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Reload"}),S.jsx(nt,{start:S.jsx(as,{size:16}),label:r("reload_config_file"),onClick:m})]}),R.meta&&!R.premium&&S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"GEO Databases"}),S.jsx(nt,{start:S.jsx(kh,{size:16}),label:r("upgrade_geo"),onClick:w})]}),R.meta&&!R.premium&&S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Dashboard UI"}),S.jsx(nt,{start:S.jsx(kh,{size:16}),label:r("upgrade_ui"),onClick:_})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"FakeIP"}),S.jsx(nt,{start:S.jsx(Yp,{size:16}),label:r("flush_fake_ip_pool"),onClick:O})]}),R.meta&&!R.premium&&S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"Restart"}),S.jsx(nt,{start:S.jsx(as,{size:16}),label:r("restart_core"),onClick:y})]}),R.meta&&!R.premium&&S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:"⚠️ Upgrade ⚠️"}),S.jsx(nt,{start:S.jsx(as,{size:16}),label:r("upgrade_core"),onClick:b})]})]})]})]}),S.jsxs("div",{className:De.card,children:[S.jsxs("div",{className:De.sectionTitle,children:[S.jsx(K1,{size:20}),r("dashboard")]}),S.jsxs("div",{className:De.section,children:[S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:r("lang")}),S.jsx("div",{children:S.jsx(is,{options:Zee,selected:o.language,onChange:T=>o.changeLanguage(T.target.value)})})]}),S.jsxs("div",{children:[S.jsx("div",{className:De.label,children:r("chart_style")}),S.jsx(rX,{OptionComponent:Pee,optionPropsList:Xee,selectedIndex:n,onChange:a})]}),S.jsxs("div",{children:[S.jsxs("div",{className:De.label,children:[r("current_backend"),S.jsx("p",{children:tte(R)+i?.baseURL})]}),S.jsx("div",{className:De.label,children:"Action"}),S.jsx(nt,{start:S.jsx(q1,{size:16}),label:r("switch_backend"),onClick:d})]})]})]})]})})}const cte=e=>({configs:wH(e),selectedChartStyleIndex:EP(e),apiConfig:Ni(e)}),ute=cn(cte)(lte);function FS(e){return t=>!!t.type&&t.type.tabsRole===e}const Lu=FS("Tab"),ag=FS("TabList"),lg=FS("TabPanel");function fte(e){return Lu(e)||ag(e)||lg(e)}function xx(e,t){return C.Children.map(e,n=>n===null?null:fte(n)?t(n):n.props&&n.props.children&&typeof n.props.children=="object"?C.cloneElement(n,{...n.props,children:xx(n.props.children,t)}):n)}function Jh(e,t){return C.Children.forEach(e,n=>{n!==null&&(Lu(n)||lg(n)?t(n):n.props&&n.props.children&&typeof n.props.children=="object"&&(ag(n)&&t(n),Jh(n.props.children,t)))})}function QN(e,t,n){let i,r=0,o=0,a=!1;const c=[],u=e[t];return Jh(u,d=>{ag(d)&&(d.props&&d.props.children&&typeof d.props.children=="object"&&Jh(d.props.children,h=>c.push(h)),a&&(i=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),a=!0),Lu(d)?((!a||c.indexOf(d)===-1)&&(i=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),r++):lg(d)&&o++}),!i&&r!==o&&(i=new Error(`There should be an equal number of 'Tab' and 'TabPanel' in \`${n}\`. Received ${r} 'Tab' and ${o} 'TabPanel'.`)),i}function dte(e,t,n,i,r){const o=e[t],a=r||t;let c=null;return o&&typeof o!="function"?c=new Error(`Invalid ${i} \`${a}\` of type \`${typeof o}\` supplied to \`${n}\`, expected \`function\`.`):e.selectedIndex!=null&&o==null&&(c=new Error(`The ${i} \`${a}\` is marked as required in \`${n}\`, but its value is \`undefined\` or \`null\`. +\`onSelect\` is required when \`selectedIndex\` is also set. Not doing so will make the tabs not do anything, as \`selectedIndex\` indicates that you want to handle the selected tab yourself. +If you only want to set the inital tab replace \`selectedIndex\` with \`defaultIndex\`.`)),c}function hte(e,t,n,i,r){const o=e[t],a=r||t;let c=null;if(o!=null&&typeof o!="number")c=new Error(`Invalid ${i} \`${a}\` of type \`${typeof o}\` supplied to \`${n}\`, expected \`number\`.`);else if(e.defaultIndex!=null&&o!=null)return new Error(`The ${i} \`${a}\` cannot be used together with \`defaultIndex\` in \`${n}\`. +Either remove \`${a}\` to let \`${n}\` handle the selected tab internally or remove \`defaultIndex\` to handle it yourself.`);return c}function ZN(e){let t=0;return Jh(e,n=>{Lu(n)&&t++}),t}function JN(e){return e&&"getAttribute"in e}function SM(e){return JN(e)&&e.getAttribute("data-rttab")}function Yo(e){return JN(e)&&e.getAttribute("aria-disabled")==="true"}let ep;function pte(e){const t=e||(typeof window<"u"?window:void 0);try{ep=!!(typeof t<"u"&&t.document&&t.document.activeElement)}catch{ep=!1}}const gte={className:"react-tabs",focus:!1},mte={children:QN},yte=e=>{L1.checkPropTypes(mte,e,"prop","UncontrolledTabs");let t=C.useRef([]),n=C.useRef([]);const i=C.useRef();function r(B,H){if(B<0||B>=d())return;const{onSelect:L,selectedIndex:N}=e;L(B,N,H)}function o(B){const H=d();for(let L=B+1;L<H;L++)if(!Yo(h(L)))return L;for(let L=0;L<B;L++)if(!Yo(h(L)))return L;return B}function a(B){let H=B;for(;H--;)if(!Yo(h(H)))return H;for(H=d();H-- >B;)if(!Yo(h(H)))return H;return B}function c(){const B=d();for(let H=0;H<B;H++)if(!Yo(h(H)))return H;return null}function u(){let B=d();for(;B--;)if(!Yo(h(B)))return B;return null}function d(){const{children:B}=e;return ZN(B)}function h(B){return t.current[`tabs-${B}`]}function g(){let B=0;const{children:H,disabledTabClassName:L,focus:N,forceRenderTabPanel:j,selectedIndex:V,selectedTabClassName:ie,selectedTabPanelClassName:ae,environment:k}=e;n.current=n.current||[];let J=n.current.length-d();const se=C.useId();for(;J++<0;)n.current.push(`${se}${n.current.length}`);return xx(H,le=>{let pe=le;if(ag(le)){let de=0,Ce=!1;ep==null&&pte(k);const Ye=k||(typeof window<"u"?window:void 0);ep&&Ye&&(Ce=q.Children.toArray(le.props.children).filter(Lu).some((Ne,Bt)=>Ye.document.activeElement===h(Bt))),pe=C.cloneElement(le,{children:xx(le.props.children,Ne=>{const Bt=`tabs-${de}`,bi=V===de,it={tabRef:jn=>{t.current[Bt]=jn},id:n.current[de],selected:bi,focus:bi&&(N||Ce)};return ie&&(it.selectedClassName=ie),L&&(it.disabledClassName=L),de++,C.cloneElement(Ne,it)})})}else if(lg(le)){const de={id:n.current[B],selected:V===B};j&&(de.forceRender=j),ae&&(de.selectedClassName=ae),B++,pe=C.cloneElement(le,de)}return pe})}function m(B){const{direction:H,disableUpDownKeys:L,disableLeftRightKeys:N}=e;if(b(B.target)){let{selectedIndex:j}=e,V=!1,ie=!1;(B.code==="Space"||B.keyCode===32||B.code==="Enter"||B.keyCode===13)&&(V=!0,ie=!1,y(B)),!N&&(B.keyCode===37||B.code==="ArrowLeft")||!L&&(B.keyCode===38||B.code==="ArrowUp")?(H==="rtl"?j=o(j):j=a(j),V=!0,ie=!0):!N&&(B.keyCode===39||B.code==="ArrowRight")||!L&&(B.keyCode===40||B.code==="ArrowDown")?(H==="rtl"?j=a(j):j=o(j),V=!0,ie=!0):B.keyCode===35||B.code==="End"?(j=u(),V=!0,ie=!0):(B.keyCode===36||B.code==="Home")&&(j=c(),V=!0,ie=!0),V&&B.preventDefault(),ie&&r(j,B)}}function y(B){let H=B.target;do if(b(H)){if(Yo(H))return;const L=[].slice.call(H.parentNode.children).filter(SM).indexOf(H);r(L,B);return}while((H=H.parentNode)!=null)}function b(B){if(!SM(B))return!1;let H=B.parentElement;do{if(H===i.current)return!0;if(H.getAttribute("data-rttabs"))break;H=H.parentElement}while(H);return!1}const{children:w,className:_,disabledTabClassName:O,domRef:R,focus:T,forceRenderTabPanel:M,onSelect:D,selectedIndex:P,selectedTabClassName:I,selectedTabPanelClassName:z,environment:U,disableUpDownKeys:$,disableLeftRightKeys:W,...Y}={...gte,...e};return q.createElement("div",Object.assign({},Y,{className:Oe(_),onClick:y,onKeyDown:m,ref:B=>{i.current=B,R&&R(B)},"data-rttabs":!0}),g())},vte=0,uh=1,bte={children:QN,onSelect:dte,selectedIndex:hte},xte={defaultFocus:!1,focusTabOnClick:!0,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1,disableLeftRightKeys:!1},Ste=e=>e.selectedIndex===null?uh:vte,ek=e=>{L1.checkPropTypes(bte,e,"prop","Tabs");const{children:t,defaultFocus:n,defaultIndex:i,focusTabOnClick:r,onSelect:o,...a}={...xte,...e},[c,u]=C.useState(n),[d]=C.useState(Ste(a)),[h,g]=C.useState(d===uh?i||0:null);if(C.useEffect(()=>{u(!1)},[]),d===uh){const b=ZN(t);C.useEffect(()=>{if(h!=null){const w=Math.max(0,b-1);g(Math.min(h,w))}},[b])}const m=(b,w,_)=>{typeof o=="function"&&o(b,w,_)===!1||(r&&u(!0),d===uh&&g(b))};let y={...e,...a};return y.focus=c,y.onSelect=m,h!=null&&(y.selectedIndex=h),delete y.defaultFocus,delete y.defaultIndex,delete y.focusTabOnClick,q.createElement(yte,y,t)};ek.tabsRole="Tabs";const wte={className:"react-tabs__tab-list"},tk=e=>{const{children:t,className:n,...i}={...wte,...e};return q.createElement("ul",Object.assign({},i,{className:Oe(n),role:"tablist"}),t)};tk.tabsRole="TabList";const $v="react-tabs__tab",_te={className:$v,disabledClassName:`${$v}--disabled`,focus:!1,id:null,selected:!1,selectedClassName:`${$v}--selected`},Sx=e=>{let t=C.useRef();const{children:n,className:i,disabled:r,disabledClassName:o,focus:a,id:c,selected:u,selectedClassName:d,tabIndex:h,tabRef:g,...m}={..._te,...e};return C.useEffect(()=>{u&&a&&t.current.focus()},[u,a]),q.createElement("li",Object.assign({},m,{className:Oe(i,{[d]:u,[o]:r}),ref:y=>{t.current=y,g&&g(y)},role:"tab",id:`tab${c}`,"aria-selected":u?"true":"false","aria-disabled":r?"true":"false","aria-controls":`panel${c}`,tabIndex:h||(u?"0":null),"data-rttab":!0}),n)};Sx.tabsRole="Tab";const wM="react-tabs__tab-panel",Cte={className:wM,forceRender:!1,selectedClassName:`${wM}--selected`},wx=e=>{const{children:t,className:n,forceRender:i,id:r,selected:o,selectedClassName:a,...c}={...Cte,...e};return q.createElement("div",Object.assign({},c,{className:Oe(n,{[a]:o}),role:"tabpanel",id:`panel${r}`,"aria-labelledby":`tab${r}`}),i||o?t:null)};wx.tabsRole="TabPanel";const Ote="_spining_4i8sg_1",Ete={spining:Ote},{useState:Rte}=Je;function Tte({children:e}){return S.jsx("span",{className:Ete.spining,children:e})}const cg={right:10,bottom:10},Mte=({children:e,...t})=>S.jsx("button",{type:"button",...t,className:"rtf--ab",children:e}),Ate=({children:e,...t})=>S.jsx("button",{type:"button",className:"rtf--mb",...t,children:e}),Dte={bottom:24,right:24},ug=({event:e="hover",style:t=Dte,alwaysShowTitle:n=!1,children:i,icon:r,mainButtonStyles:o,onClick:a,text:c,...u})=>{const[d,h]=Rte(!1),g=n||!d,m=()=>h(!0),y=()=>h(!1),b=()=>e==="hover"&&m(),w=()=>e==="hover"&&y(),_=T=>a?a(T):(T.persist(),e==="click"?d?y():m():null),O=(T,M)=>{T.persist(),h(!1),setTimeout(()=>{M(T)},1)},R=()=>C.Children.map(i,(T,M)=>C.isValidElement(T)?S.jsxs("li",{className:`rtf--ab__c ${"top"in t?"top":""}`,children:[C.cloneElement(T,{"data-testid":`action-button-${M}`,"aria-label":T.props.text||`Menu button ${M+1}`,"aria-hidden":g,tabIndex:d?0:-1,...T.props,onClick:D=>{T.props.onClick&&O(D,T.props.onClick)}}),T.props.text&&S.jsx("span",{className:`${"right"in t?"right":""} ${n?"always-show":""}`,"aria-hidden":g,children:T.props.text})]}):null);return S.jsx("ul",{onMouseEnter:b,onMouseLeave:w,className:`rtf ${d?"open":"closed"}`,"data-testid":"fab",style:t,...u,children:S.jsxs("li",{className:"rtf--mb__c",children:[S.jsx(Ate,{onClick:_,style:o,"data-testid":"main-button",role:"button","aria-label":"Floating menu",tabIndex:0,children:r}),c&&S.jsx("span",{className:`${"right"in t?"right":""} ${n?"always-show":""}`,"aria-hidden":g,children:c}),S.jsx("ul",{children:R()})]})})},{useState:Pte,useRef:jte,useCallback:Lte,useLayoutEffect:Nte}=Je;function BS(){const e=jte(null),[t,n]=Pte(200),i=Lte(()=>{const{top:r}=e.current.getBoundingClientRect();n(window.innerHeight-r)},[]);return Nte(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[i]),[e,t]}const kte=wu([]),Ite=wu([]),zte=wu(!1),$te=100,eye=6048e5,tye=864e5,nye=6e4,iye=36e5,rye=1e3,Ld=43200,_M=1440,CM=Symbol.for("constructDateFrom");function HS(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&CM in e?e[CM](t):e instanceof Date?new e.constructor(t):new Date(t)}function vr(e,t){return HS(t||e,e)}let Fte={};function nk(){return Fte}function OM(e,t){const n=nk(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=vr(e,t?.in),o=r.getDay(),a=(o<i?7:0)+o-i;return r.setDate(r.getDate()-a),r.setHours(0,0,0,0),r}function EM(e){const t=vr(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function fg(e,...t){const n=HS.bind(null,e||t.find(i=>typeof i=="object"));return t.map(n)}function fh(e,t){const n=+vr(e)-+vr(t);return n<0?-1:n>0?1:n}function Bte(e){return HS(e,Date.now())}function Hte(e,t,n){const[i,r]=fg(n?.in,e,t),o=i.getFullYear()-r.getFullYear(),a=i.getMonth()-r.getMonth();return o*12+a}function Vte(e){return t=>{const i=(e?Math[e]:Math.trunc)(t);return i===0?0:i}}function Ute(e,t){return+vr(e)-+vr(t)}function Wte(e,t){const n=vr(e,t?.in);return n.setHours(23,59,59,999),n}function Gte(e,t){const n=vr(e,t?.in),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(23,59,59,999),n}function qte(e,t){const n=vr(e,t?.in);return+Wte(n,t)==+Gte(n,t)}function Yte(e,t,n){const[i,r,o]=fg(n?.in,e,e,t),a=fh(r,o),c=Math.abs(Hte(r,o));if(c<1)return 0;r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*c);let u=fh(r,o)===-a;qte(i)&&c===1&&fh(i,o)===1&&(u=!1);const d=a*(c-+u);return d===0?0:d}function Kte(e,t,n){const i=Ute(e,t)/1e3;return Vte(n?.roundingMethod)(i)}const Xte={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Qte=(e,t,n)=>{let i;const r=Xte[e];return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function hr(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Zte={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jte={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ene={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tne={date:hr({formats:Zte,defaultWidth:"full"}),time:hr({formats:Jte,defaultWidth:"full"}),dateTime:hr({formats:ene,defaultWidth:"full"})},nne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ine=(e,t,n,i)=>nne[e];function qt(e){return(t,n)=>{const i=n?.context?String(n.context):"standalone";let r;if(i==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,c=n?.width?String(n.width):a;r=e.formattingValues[c]||e.formattingValues[a]}else{const a=e.defaultWidth,c=n?.width?String(n.width):e.defaultWidth;r=e.values[c]||e.values[a]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const rne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},one={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sne={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ane={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},lne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},une=(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},fne={ordinalNumber:une,era:qt({values:rne,defaultWidth:"wide"}),quarter:qt({values:one,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:sne,defaultWidth:"wide"}),day:qt({values:ane,defaultWidth:"wide"}),dayPeriod:qt({values:lne,defaultWidth:"wide",formattingValues:cne,defaultFormattingWidth:"wide"})};function Yt(e){return(t,n={})=>{const i=n.width,r=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const a=o[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?hne(c,g=>g.test(a)):dne(c,g=>g.test(a));let d;d=e.valueCallback?e.valueCallback(u):u,d=n.valueCallback?n.valueCallback(d):d;const h=t.slice(a.length);return{value:d,rest:h}}}function dne(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function hne(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function VS(e){return(t,n={})=>{const i=t.match(e.matchPattern);if(!i)return null;const r=i[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;const c=t.slice(r.length);return{value:a,rest:c}}}const pne=/^(\d+)(th|st|nd|rd)?/i,gne=/\d+/i,mne={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},yne={any:[/^b/i,/^(a|c)/i]},vne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bne={any:[/1/i,/2/i,/3/i,/4/i]},xne={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Sne={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},wne={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},_ne={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Cne={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},One={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ene={ordinalNumber:VS({matchPattern:pne,parsePattern:gne,valueCallback:e=>parseInt(e,10)}),era:Yt({matchPatterns:mne,defaultMatchWidth:"wide",parsePatterns:yne,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:vne,defaultMatchWidth:"wide",parsePatterns:bne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yt({matchPatterns:xne,defaultMatchWidth:"wide",parsePatterns:Sne,defaultParseWidth:"any"}),day:Yt({matchPatterns:wne,defaultMatchWidth:"wide",parsePatterns:_ne,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:Cne,defaultMatchWidth:"any",parsePatterns:One,defaultParseWidth:"any"})},US={code:"en-US",formatDistance:Qte,formatLong:tne,formatRelative:ine,localize:fne,match:Ene,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Nu(e,t,n){const i=nk(),r=n?.locale??i.locale??US,o=2520,a=fh(e,t);if(isNaN(a))throw new RangeError("Invalid time value");const c=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:a}),[u,d]=fg(n?.in,...a>0?[t,e]:[e,t]),h=Kte(d,u),g=(EM(d)-EM(u))/1e3,m=Math.round((h-g)/60);let y;if(m<2)return n?.includeSeconds?h<5?r.formatDistance("lessThanXSeconds",5,c):h<10?r.formatDistance("lessThanXSeconds",10,c):h<20?r.formatDistance("lessThanXSeconds",20,c):h<40?r.formatDistance("halfAMinute",0,c):h<60?r.formatDistance("lessThanXMinutes",1,c):r.formatDistance("xMinutes",1,c):m===0?r.formatDistance("lessThanXMinutes",1,c):r.formatDistance("xMinutes",m,c);if(m<45)return r.formatDistance("xMinutes",m,c);if(m<90)return r.formatDistance("aboutXHours",1,c);if(m<_M){const b=Math.round(m/60);return r.formatDistance("aboutXHours",b,c)}else{if(m<o)return r.formatDistance("xDays",1,c);if(m<Ld){const b=Math.round(m/_M);return r.formatDistance("xDays",b,c)}else if(m<Ld*2)return y=Math.round(m/Ld),r.formatDistance("aboutXMonths",y,c)}if(y=Yte(d,u),y<12){const b=Math.round(m/Ld);return r.formatDistance("xMonths",b,c)}else{const b=y%12,w=Math.trunc(y/12);return b<3?r.formatDistance("aboutXYears",w,c):b<9?r.formatDistance("overXYears",w,c):r.formatDistance("almostXYears",w+1,c)}}function Rne(e,t){return Nu(e,Bte(e),t)}function Tne(e,t,n){const[i,r]=fg(n?.in,e,t);return+OM(i,n)==+OM(r,n)}const Mne={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Ane=(e,t,n)=>{let i;const r=Mne[e];return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?i+"内":i+"前":i},Dne={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Pne={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},jne={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Lne={date:hr({formats:Dne,defaultWidth:"full"}),time:hr({formats:Pne,defaultWidth:"full"}),dateTime:hr({formats:jne,defaultWidth:"full"})};function RM(e,t,n){const i="eeee p";return Tne(e,t,n)?i:e.getTime()>t.getTime()?"'下个'"+i:"'上个'"+i}const Nne={lastWeek:RM,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:RM,other:"PP p"},kne=(e,t,n,i)=>{const r=Nne[e];return typeof r=="function"?r(t,n,i):r},Ine={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},zne={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},$ne={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Fne={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Bne={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Hne={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Vne=(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},Une={ordinalNumber:Vne,era:qt({values:Ine,defaultWidth:"wide"}),quarter:qt({values:zne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:$ne,defaultWidth:"wide"}),day:qt({values:Fne,defaultWidth:"wide"}),dayPeriod:qt({values:Bne,defaultWidth:"wide",formattingValues:Hne,defaultFormattingWidth:"wide"})},Wne=/^(第\s*)?\d+(日|时|分|秒)?/i,Gne=/\d+/i,qne={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Yne={any:[/^(前)/i,/^(公元)/i]},Kne={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Xne={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Qne={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Zne={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Jne={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},eie={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},tie={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},nie={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},iie={ordinalNumber:VS({matchPattern:Wne,parsePattern:Gne,valueCallback:e=>parseInt(e,10)}),era:Yt({matchPatterns:qne,defaultMatchWidth:"wide",parsePatterns:Yne,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:Kne,defaultMatchWidth:"wide",parsePatterns:Xne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yt({matchPatterns:Qne,defaultMatchWidth:"wide",parsePatterns:Zne,defaultParseWidth:"any"}),day:Yt({matchPatterns:Jne,defaultMatchWidth:"wide",parsePatterns:eie,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:tie,defaultMatchWidth:"any",parsePatterns:nie,defaultParseWidth:"any"})},ik={code:"zh-CN",formatDistance:Ane,formatLong:Lne,formatRelative:kne,localize:Une,match:iie,options:{weekStartsOn:1,firstWeekContainsDate:4}},rie={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},oie=(e,t,n)=>{let i;const r=rie[e];return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?i+"內":i+"前":i},sie={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},aie={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},lie={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},cie={date:hr({formats:sie,defaultWidth:"full"}),time:hr({formats:aie,defaultWidth:"full"}),dateTime:hr({formats:lie,defaultWidth:"full"})},uie={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},fie=(e,t,n,i)=>uie[e],die={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},hie={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},pie={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},gie={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},mie={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},yie={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},vie=(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},bie={ordinalNumber:vie,era:qt({values:die,defaultWidth:"wide"}),quarter:qt({values:hie,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:pie,defaultWidth:"wide"}),day:qt({values:gie,defaultWidth:"wide"}),dayPeriod:qt({values:mie,defaultWidth:"wide",formattingValues:yie,defaultFormattingWidth:"wide"})},xie=/^(第\s*)?\d+(日|時|分|秒)?/i,Sie=/\d+/i,wie={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_ie={any:[/^(前)/i,/^(公元)/i]},Cie={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},Oie={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Eie={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Rie={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Tie={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},Mie={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Aie={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},Die={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Pie={ordinalNumber:VS({matchPattern:xie,parsePattern:Sie,valueCallback:e=>parseInt(e,10)}),era:Yt({matchPatterns:wie,defaultMatchWidth:"wide",parsePatterns:_ie,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:Cie,defaultMatchWidth:"wide",parsePatterns:Oie,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yt({matchPatterns:Eie,defaultMatchWidth:"wide",parsePatterns:Rie,defaultParseWidth:"any"}),day:Yt({matchPatterns:Tie,defaultMatchWidth:"wide",parsePatterns:Mie,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:Aie,defaultMatchWidth:"any",parsePatterns:Die,defaultParseWidth:"any"})},rk={code:"zh-TW",formatDistance:oie,formatLong:cie,formatRelative:fie,localize:bie,match:Pie,options:{weekStartsOn:1,firstWeekContainsDate:4}},_x="ALL_SOURCE_IP",ok="sourceMap",Fv=30,sk="hiddenColumns",ak="columns",Nd=!0,Cx=["id"],tp=[{accessor:"id",show:!1},{Header:"c_type",accessor:"type"},{Header:"c_process",accessor:"process"},{Header:"c_host",accessor:"host"},{Header:"c_rule",accessor:"rule"},{Header:"c_chains",accessor:"chains"},{Header:"c_time",accessor:"start"},{Header:"c_dl_speed",accessor:"downloadSpeedCurr",sortDescFirst:Nd},{Header:"c_ul_speed",accessor:"uploadSpeedCurr",sortDescFirst:Nd},{Header:"c_dl",accessor:"download",sortDescFirst:Nd},{Header:"c_ul",accessor:"upload",sortDescFirst:Nd},{Header:"c_source",accessor:"source"},{Header:"c_destination_ip",accessor:"destinationIP"},{Header:"c_sni",accessor:"sniffHost"},{Header:"c_ctrl",accessor:"ctrl"}];function jie(){const e=localStorage.getItem(ok);return e?JSON.parse(e):[]}function Lie(e){localStorage.setItem(ok,JSON.stringify(e))}function Nie(){const e=localStorage.getItem(sk);return e?JSON.parse(e):[...Cx]}function TM(e){localStorage.setItem(sk,JSON.stringify(e))}function kie(){const e=localStorage.getItem(ak),t=e?JSON.parse(e):null;return t?[...tp].sort((n,i)=>{const r=t.findIndex(a=>a.accessor===n.accessor),o=t.findIndex(a=>a.accessor===i.accessor);return r===-1?1:o===-1?-1:r-o}):[...tp]}function MM(e){localStorage.setItem(ak,JSON.stringify(e))}function Iie(e){const t={};for(let n=0;n<e.length;n++){const i=e[n];t[i.id]=i}return t}function zie(e,t){return e.toLowerCase().includes(t.toLowerCase())}function $ie(e,t){return e.filter(n=>n.sourceIP===t)}function AM(e,t,n){let i=e;return t!==""&&(i=e.filter(r=>[r.host,r.sourceIP,r.sourcePort,r.destinationIP,r.chains,r.rule,r.type,r.network,r.process].some(o=>zie(o,t)))),n!==_x&&(i=$ie(i,n)),i}const DM=new Map;function Fie(e){let t=DM.get(e);return t||(t=new RegExp(e.replace("/","")),DM.set(e,t)),t}function lk(e,t,n){let i=n??e;return t.forEach(({reg:r,name:o})=>{r&&(r.startsWith("/")?Fie(r).test(e)&&o&&(i=`${o}(${e})`):e===r&&o&&(i=`${o}(${e})`))}),i}function ck(e){return e==="zh-CN"?ik:e==="zh-TW"?rk:US}const PM=new Map;function uk(e,t){const n=Math.round(e/6e4),i=`${t.code}:${n}`;let r=PM.get(i);return r===void 0&&(r=Nu(n*6e4,0,{locale:t}),PM.set(i,r)),r}function Bie(e){return!Array.isArray(e)||e.length===0?"":e.length===1?e[0]:`${e[e.length-1]} -> ${e[0]}`}function Hie(e,t,n,i){const{id:r,upload:o,download:a,start:c,chains:u,rule:d,rulePayload:h,metadata:g}=e,m=t[r];if(m)return{...m,upload:o,download:a,start:n-m.startTime,downloadSpeedCurr:a-m.download,uploadSpeedCurr:o-m.upload};const{host:y,destinationPort:b,destinationIP:w,remoteDestination:_,network:O,type:R,sourceIP:T,sourcePort:M,process:D,sniffHost:P}=g,I=y||w,z=`${T}:${M}`,U=new Date(c).valueOf();return{id:r,upload:o,download:a,start:n-U,startTime:U,chains:Bie(u),rule:h?`${d} :: ${h}`:d,...g,host:`${I}:${b}`,sniffHost:P||"-",type:`${R}(${O})`,source:lk(T,i,z),downloadSpeedCurr:0,uploadSpeedCurr:0,process:D||"-",destinationIP:_||w||y}}const{useCallback:ro,useEffect:Vie,useMemo:kd,useRef:fk,useState:vs}=Je;function Uie(){const[e,t]=vs(!1),[n,i]=vs(()=>jie()),r=ro(()=>{i(a=>a.length===0?[{reg:"",name:""}]:a),t(!0)},[]),o=ro(()=>{i(a=>{const c=a.filter(u=>u.reg||u.name);return Lie(c),c}),t(!1)},[]);return{sourceMap:n,setSourceMap:i,sourceMapModal:e,openModalSource:r,closeModalSource:o}}function Wie(e,t){const[n,i]=Ea(kte),[r,o]=Ea(Ite),[a,c]=Ea(zte),[u,d]=vs(0),h=fk(n),g=ro(()=>{c(b=>!b)},[c]),m=ro(()=>{U8(e)},[e]),y=ro(({connections:b})=>{if(a||document.hidden)return;const w=Iie(h.current),_=Date.now(),O=b?.map(M=>Hie(M,w,_,t))??[],R=new Set;for(const M of O)R.add(M.id);const T=[];for(const M of h.current)R.has(M.id)||T.push(M);T.length>0&&o(M=>[...T,...M].slice(0,$te+1)),(O.length!==0||h.current.length!==0)&&(h.current=O,i(O))},[a,o,i,t]);return Vie(()=>HP(e,y,()=>{setTimeout(()=>{d(b=>b+1)},1e3)}),[e,y,u]),{conns:n,closedConns:r,isRefreshPaused:a,toggleIsRefreshPaused:g,closeAllConnections:m}}function Gie(){const[e,t]=vs(()=>Nie()),[n,i]=vs(()=>kie()),r=ro(c=>{t(c),TM(c)},[]),o=ro(c=>{i(c),MM(c)},[]),a=ro(()=>{t([...Cx]),i([...tp]),TM([...Cx]),MM([...tp])},[]);return{hiddenColumns:e,columns:n,setHiddenColumns:r,setColumns:o,resetColumns:a}}function qie({conns:e,closedConns:t,sourceMap:n,t:i}){const[r,o]=vs(""),[a,c]=vs(_x),u=fk([]),d=kd(()=>{const y=Array.from(new Set(e.map(w=>w.sourceIP))).sort(),b=u.current;return b.length===y.length&&b.every((w,_)=>w===y[_])?b:(u.current=y,y)},[e]),h=kd(()=>AM(e,r,a),[e,r,a]),g=kd(()=>AM(t,r,a),[t,r,a]),m=kd(()=>[[_x,i("All")],...d.map(y=>[y,lk(y,n).trim()||i("internel")])],[d,n,i]);return{filterKeyword:r,setFilterKeyword:o,filterSourceIpStr:a,setFilterSourceIpStr:c,filteredConns:h,filteredClosedConns:g,connIpSet:m}}const Yie="_placeHolder_kcjv9_1",Kie="_connQty_kcjv9_17",Xie="_inputWrapper_kcjv9_31",Qie="_input_kcjv9_31",Zie="_toolbar_kcjv9_73",Jie="_toolbarBtn_kcjv9_92",ere="_toolbarBtnBadge_kcjv9_116",tre="_controls_kcjv9_133",nre="_tabGroup_kcjv9_150",ire="_tabList_kcjv9_162",rre="_sourceSelect_kcjv9_188",ore="_toolbarDivider_kcjv9_202",sre="_contentWrapper_kcjv9_210",are="_scrollArea_kcjv9_228",xt={placeHolder:Yie,connQty:Kie,inputWrapper:Xie,input:Qie,toolbar:Zie,toolbarBtn:Jie,toolbarBtnBadge:ere,controls:tre,tabGroup:nre,tabList:ire,sourceSelect:rre,toolbarDivider:ore,contentWrapper:sre,scrollArea:are};function eo(e,t){return typeof e=="function"?e(t):e}function Dn(e,t){return n=>{t.setState(i=>({...i,[e]:eo(n,i[e])}))}}function dg(e){return e instanceof Function}function lre(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function cre(e,t){const n=[],i=r=>{r.forEach(o=>{n.push(o);const a=t(o);a!=null&&a.length&&i(a)})};return i(e),n}function ve(e,t,n){let i=[],r;return o=>{let a;n.key&&n.debug&&(a=Date.now());const c=e(o);if(!(c.length!==i.length||c.some((h,g)=>i[g]!==h)))return r;i=c;let d;if(n.key&&n.debug&&(d=Date.now()),r=t(...c),n==null||n.onChange==null||n.onChange(r),n.key&&n.debug&&n!=null&&n.debug()){const h=Math.round((Date.now()-a)*100)/100,g=Math.round((Date.now()-d)*100)/100,m=g/16,y=(b,w)=>{for(b=String(b);b.length<w;)b=" "+b;return b};console.info(`%c⏱ ${y(g,5)} /${y(h,5)} ms`,` + font-size: .6rem; + font-weight: bold; + color: hsl(${Math.max(0,Math.min(120-120*m,120))}deg 100% 31%);`,n?.key)}return r}}function be(e,t,n,i){return{debug:()=>{var r;return(r=e?.debugAll)!=null?r:e[t]},key:!1,onChange:i}}function ure(e,t,n,i){const r=()=>{var a;return(a=o.getValue())!=null?a:e.options.renderFallbackValue},o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(i),renderValue:r,getContext:ve(()=>[e,n,t,o],(a,c,u,d)=>({table:a,column:c,row:u,cell:d,getValue:d.getValue,renderValue:d.renderValue}),be(e.options,"debugCells"))};return e._features.forEach(a=>{a.createCell==null||a.createCell(o,n,t,e)},{}),o}function fre(e,t,n,i){var r,o;const c={...e._getDefaultColumnDef(),...t},u=c.accessorKey;let d=(r=(o=c.id)!=null?o:u?typeof String.prototype.replaceAll=="function"?u.replaceAll(".","_"):u.replace(/\./g,"_"):void 0)!=null?r:typeof c.header=="string"?c.header:void 0,h;if(c.accessorFn?h=c.accessorFn:u&&(u.includes(".")?h=m=>{let y=m;for(const w of u.split(".")){var b;y=(b=y)==null?void 0:b[w]}return y}:h=m=>m[c.accessorKey]),!d)throw new Error;let g={id:`${String(d)}`,accessorFn:h,parent:i,depth:n,columnDef:c,columns:[],getFlatColumns:ve(()=>[!0],()=>{var m;return[g,...(m=g.columns)==null?void 0:m.flatMap(y=>y.getFlatColumns())]},be(e.options,"debugColumns")),getLeafColumns:ve(()=>[e._getOrderColumnsFn()],m=>{var y;if((y=g.columns)!=null&&y.length){let b=g.columns.flatMap(w=>w.getLeafColumns());return m(b)}return[g]},be(e.options,"debugColumns"))};for(const m of e._features)m.createColumn==null||m.createColumn(g,e);return g}const Nt="debugHeaders";function jM(e,t,n){var i;let o={id:(i=n.id)!=null?i:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const a=[],c=u=>{u.subHeaders&&u.subHeaders.length&&u.subHeaders.map(c),a.push(u)};return c(o),a},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach(a=>{a.createHeader==null||a.createHeader(o,e)}),o}const dre={createTable:e=>{e.getHeaderGroups=ve(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,i,r)=>{var o,a;const c=(o=i?.map(g=>n.find(m=>m.id===g)).filter(Boolean))!=null?o:[],u=(a=r?.map(g=>n.find(m=>m.id===g)).filter(Boolean))!=null?a:[],d=n.filter(g=>!(i!=null&&i.includes(g.id))&&!(r!=null&&r.includes(g.id)));return Id(t,[...c,...d,...u],e)},be(e.options,Nt)),e.getCenterHeaderGroups=ve(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,i,r)=>(n=n.filter(o=>!(i!=null&&i.includes(o.id))&&!(r!=null&&r.includes(o.id))),Id(t,n,e,"center")),be(e.options,Nt)),e.getLeftHeaderGroups=ve(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,i)=>{var r;const o=(r=i?.map(a=>n.find(c=>c.id===a)).filter(Boolean))!=null?r:[];return Id(t,o,e,"left")},be(e.options,Nt)),e.getRightHeaderGroups=ve(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,i)=>{var r;const o=(r=i?.map(a=>n.find(c=>c.id===a)).filter(Boolean))!=null?r:[];return Id(t,o,e,"right")},be(e.options,Nt)),e.getFooterGroups=ve(()=>[e.getHeaderGroups()],t=>[...t].reverse(),be(e.options,Nt)),e.getLeftFooterGroups=ve(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),be(e.options,Nt)),e.getCenterFooterGroups=ve(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),be(e.options,Nt)),e.getRightFooterGroups=ve(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),be(e.options,Nt)),e.getFlatHeaders=ve(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),be(e.options,Nt)),e.getLeftFlatHeaders=ve(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),be(e.options,Nt)),e.getCenterFlatHeaders=ve(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),be(e.options,Nt)),e.getRightFlatHeaders=ve(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),be(e.options,Nt)),e.getCenterLeafHeaders=ve(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var i;return!((i=n.subHeaders)!=null&&i.length)}),be(e.options,Nt)),e.getLeftLeafHeaders=ve(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var i;return!((i=n.subHeaders)!=null&&i.length)}),be(e.options,Nt)),e.getRightLeafHeaders=ve(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var i;return!((i=n.subHeaders)!=null&&i.length)}),be(e.options,Nt)),e.getLeafHeaders=ve(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,i)=>{var r,o,a,c,u,d;return[...(r=(o=t[0])==null?void 0:o.headers)!=null?r:[],...(a=(c=n[0])==null?void 0:c.headers)!=null?a:[],...(u=(d=i[0])==null?void 0:d.headers)!=null?u:[]].map(h=>h.getLeafHeaders()).flat()},be(e.options,Nt))}};function Id(e,t,n,i){var r,o;let a=0;const c=function(m,y){y===void 0&&(y=1),a=Math.max(a,y),m.filter(b=>b.getIsVisible()).forEach(b=>{var w;(w=b.columns)!=null&&w.length&&c(b.columns,y+1)},0)};c(e);let u=[];const d=(m,y)=>{const b={depth:y,id:[i,`${y}`].filter(Boolean).join("_"),headers:[]},w=[];m.forEach(_=>{const O=[...w].reverse()[0],R=_.column.depth===b.depth;let T,M=!1;if(R&&_.column.parent?T=_.column.parent:(T=_.column,M=!0),O&&O?.column===T)O.subHeaders.push(_);else{const D=jM(n,T,{id:[i,y,T.id,_?.id].filter(Boolean).join("_"),isPlaceholder:M,placeholderId:M?`${w.filter(P=>P.column===T).length}`:void 0,depth:y,index:w.length});D.subHeaders.push(_),w.push(D)}b.headers.push(_),_.headerGroup=b}),u.push(b),y>0&&d(w,y-1)},h=t.map((m,y)=>jM(n,m,{depth:a,index:y}));d(h,a-1),u.reverse();const g=m=>m.filter(b=>b.column.getIsVisible()).map(b=>{let w=0,_=0,O=[0];b.subHeaders&&b.subHeaders.length?(O=[],g(b.subHeaders).forEach(T=>{let{colSpan:M,rowSpan:D}=T;w+=M,O.push(D)})):w=1;const R=Math.min(...O);return _=_+R,b.colSpan=w,b.rowSpan=_,{colSpan:w,rowSpan:_}});return g((r=(o=u[0])==null?void 0:o.headers)!=null?r:[]),u}const hre=(e,t,n,i,r,o,a)=>{let c={id:t,index:i,original:n,depth:r,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:u=>{if(c._valuesCache.hasOwnProperty(u))return c._valuesCache[u];const d=e.getColumn(u);if(d!=null&&d.accessorFn)return c._valuesCache[u]=d.accessorFn(c.original,i),c._valuesCache[u]},getUniqueValues:u=>{if(c._uniqueValuesCache.hasOwnProperty(u))return c._uniqueValuesCache[u];const d=e.getColumn(u);if(d!=null&&d.accessorFn)return d.columnDef.getUniqueValues?(c._uniqueValuesCache[u]=d.columnDef.getUniqueValues(c.original,i),c._uniqueValuesCache[u]):(c._uniqueValuesCache[u]=[c.getValue(u)],c._uniqueValuesCache[u])},renderValue:u=>{var d;return(d=c.getValue(u))!=null?d:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>cre(c.subRows,u=>u.subRows),getParentRow:()=>c.parentId?e.getRow(c.parentId,!0):void 0,getParentRows:()=>{let u=[],d=c;for(;;){const h=d.getParentRow();if(!h)break;u.push(h),d=h}return u.reverse()},getAllCells:ve(()=>[e.getAllLeafColumns()],u=>u.map(d=>ure(e,c,d,d.id)),be(e.options,"debugRows")),_getAllCellsByColumnId:ve(()=>[c.getAllCells()],u=>u.reduce((d,h)=>(d[h.column.id]=h,d),{}),be(e.options,"debugRows"))};for(let u=0;u<e._features.length;u++){const d=e._features[u];d==null||d.createRow==null||d.createRow(c,e)}return c},pre={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},dk=(e,t,n)=>{var i,r;const o=n==null||(i=n.toString())==null?void 0:i.toLowerCase();return!!(!((r=e.getValue(t))==null||(r=r.toString())==null||(r=r.toLowerCase())==null)&&r.includes(o))};dk.autoRemove=e=>pi(e);const hk=(e,t,n)=>{var i;return!!(!((i=e.getValue(t))==null||(i=i.toString())==null)&&i.includes(n))};hk.autoRemove=e=>pi(e);const pk=(e,t,n)=>{var i;return((i=e.getValue(t))==null||(i=i.toString())==null?void 0:i.toLowerCase())===n?.toLowerCase()};pk.autoRemove=e=>pi(e);const gk=(e,t,n)=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(n)};gk.autoRemove=e=>pi(e);const mk=(e,t,n)=>!n.some(i=>{var r;return!((r=e.getValue(t))!=null&&r.includes(i))});mk.autoRemove=e=>pi(e)||!(e!=null&&e.length);const yk=(e,t,n)=>n.some(i=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(i)});yk.autoRemove=e=>pi(e)||!(e!=null&&e.length);const vk=(e,t,n)=>e.getValue(t)===n;vk.autoRemove=e=>pi(e);const bk=(e,t,n)=>e.getValue(t)==n;bk.autoRemove=e=>pi(e);const WS=(e,t,n)=>{let[i,r]=n;const o=e.getValue(t);return o>=i&&o<=r};WS.resolveFilterValue=e=>{let[t,n]=e,i=typeof t!="number"?parseFloat(t):t,r=typeof n!="number"?parseFloat(n):n,o=t===null||Number.isNaN(i)?-1/0:i,a=n===null||Number.isNaN(r)?1/0:r;if(o>a){const c=o;o=a,a=c}return[o,a]};WS.autoRemove=e=>pi(e)||pi(e[0])&&pi(e[1]);const rr={includesString:dk,includesStringSensitive:hk,equalsString:pk,arrIncludes:gk,arrIncludesAll:mk,arrIncludesSome:yk,equals:vk,weakEquals:bk,inNumberRange:WS};function pi(e){return e==null||e===""}const gre={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Dn("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],i=n?.getValue(e.id);return typeof i=="string"?rr.includesString:typeof i=="number"?rr.inNumberRange:typeof i=="boolean"||i!==null&&typeof i=="object"?rr.equals:Array.isArray(i)?rr.arrIncludes:rr.weakEquals},e.getFilterFn=()=>{var n,i;return dg(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(i=t.options.filterFns)==null?void 0:i[e.columnDef.filterFn])!=null?n:rr[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,i,r;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((i=t.options.enableColumnFilters)!=null?i:!0)&&((r=t.options.enableFilters)!=null?r:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(i=>i.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,i;return(n=(i=t.getState().columnFilters)==null?void 0:i.findIndex(r=>r.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(i=>{const r=e.getFilterFn(),o=i?.find(h=>h.id===e.id),a=eo(n,o?o.value:void 0);if(LM(r,a,e)){var c;return(c=i?.filter(h=>h.id!==e.id))!=null?c:[]}const u={id:e.id,value:a};if(o){var d;return(d=i?.map(h=>h.id===e.id?u:h))!=null?d:[]}return i!=null&&i.length?[...i,u]:[u]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),i=r=>{var o;return(o=eo(t,r))==null?void 0:o.filter(a=>{const c=n.find(u=>u.id===a.id);if(c){const u=c.getFilterFn();if(LM(u,a.value,c))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(i)},e.resetColumnFilters=t=>{var n,i;e.setColumnFilters(t?[]:(n=(i=e.initialState)==null?void 0:i.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function LM(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const mre=(e,t,n)=>n.reduce((i,r)=>{const o=r.getValue(e);return i+(typeof o=="number"?o:0)},0),yre=(e,t,n)=>{let i;return n.forEach(r=>{const o=r.getValue(e);o!=null&&(i>o||i===void 0&&o>=o)&&(i=o)}),i},vre=(e,t,n)=>{let i;return n.forEach(r=>{const o=r.getValue(e);o!=null&&(i<o||i===void 0&&o>=o)&&(i=o)}),i},bre=(e,t,n)=>{let i,r;return n.forEach(o=>{const a=o.getValue(e);a!=null&&(i===void 0?a>=a&&(i=r=a):(i>a&&(i=a),r<a&&(r=a)))}),[i,r]},xre=(e,t)=>{let n=0,i=0;if(t.forEach(r=>{let o=r.getValue(e);o!=null&&(o=+o)>=o&&(++n,i+=o)}),n)return i/n},Sre=(e,t)=>{if(!t.length)return;const n=t.map(o=>o.getValue(e));if(!lre(n))return;if(n.length===1)return n[0];const i=Math.floor(n.length/2),r=n.sort((o,a)=>o-a);return n.length%2!==0?r[i]:(r[i-1]+r[i])/2},wre=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),_re=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,Cre=(e,t)=>t.length,Bv={sum:mre,min:yre,max:vre,extent:bre,mean:xre,median:Sre,unique:wre,uniqueCount:_re,count:Cre},Ore={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Dn("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(i=>i!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,i;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((i=t.options.enableGrouping)!=null?i:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],i=n?.getValue(e.id);if(typeof i=="number")return Bv.sum;if(Object.prototype.toString.call(i)==="[object Date]")return Bv.extent},e.getAggregationFn=()=>{var n,i;if(!e)throw new Error;return dg(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(i=t.options.aggregationFns)==null?void 0:i[e.columnDef.aggregationFn])!=null?n:Bv[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,i;e.setGrouping(t?[]:(n=(i=e.initialState)==null?void 0:i.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const i=t.getColumn(n);return i!=null&&i.columnDef.getGroupingValue?(e._groupingValuesCache[n]=i.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,i)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var r;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((r=n.subRows)!=null&&r.length)}}};function Ere(e,t,n){if(!(t!=null&&t.length)||!n)return e;const i=e.filter(o=>!t.includes(o.id));return n==="remove"?i:[...t.map(o=>e.find(a=>a.id===o)).filter(Boolean),...i]}const Rre={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Dn("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=ve(n=>[Bc(t,n)],n=>n.findIndex(i=>i.id===e.id),be(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var i;return((i=Bc(t,n)[0])==null?void 0:i.id)===e.id},e.getIsLastColumn=n=>{var i;const r=Bc(t,n);return((i=r[r.length-1])==null?void 0:i.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=ve(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,i)=>r=>{let o=[];if(!(t!=null&&t.length))o=r;else{const a=[...t],c=[...r];for(;c.length&&a.length;){const u=a.shift(),d=c.findIndex(h=>h.id===u);d>-1&&o.push(c.splice(d,1)[0])}o=[...o,...c]}return Ere(o,n,i)},be(e.options,"debugTable"))}},Hv=()=>({left:[],right:[]}),Tre={getInitialState:e=>({columnPinning:Hv(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Dn("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const i=e.getLeafColumns().map(r=>r.id).filter(Boolean);t.setColumnPinning(r=>{var o,a;if(n==="right"){var c,u;return{left:((c=r?.left)!=null?c:[]).filter(g=>!(i!=null&&i.includes(g))),right:[...((u=r?.right)!=null?u:[]).filter(g=>!(i!=null&&i.includes(g))),...i]}}if(n==="left"){var d,h;return{left:[...((d=r?.left)!=null?d:[]).filter(g=>!(i!=null&&i.includes(g))),...i],right:((h=r?.right)!=null?h:[]).filter(g=>!(i!=null&&i.includes(g)))}}return{left:((o=r?.left)!=null?o:[]).filter(g=>!(i!=null&&i.includes(g))),right:((a=r?.right)!=null?a:[]).filter(g=>!(i!=null&&i.includes(g)))}})},e.getCanPin=()=>e.getLeafColumns().some(i=>{var r,o,a;return((r=i.columnDef.enablePinning)!=null?r:!0)&&((o=(a=t.options.enableColumnPinning)!=null?a:t.options.enablePinning)!=null?o:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(c=>c.id),{left:i,right:r}=t.getState().columnPinning,o=n.some(c=>i?.includes(c)),a=n.some(c=>r?.includes(c));return o?"left":a?"right":!1},e.getPinnedIndex=()=>{var n,i;const r=e.getIsPinned();return r?(n=(i=t.getState().columnPinning)==null||(i=i[r])==null?void 0:i.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=ve(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,i,r)=>{const o=[...i??[],...r??[]];return n.filter(a=>!o.includes(a.column.id))},be(t.options,"debugRows")),e.getLeftVisibleCells=ve(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,i)=>(i??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"left"})),be(t.options,"debugRows")),e.getRightVisibleCells=ve(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,i)=>(i??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"right"})),be(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,i;return e.setColumnPinning(t?Hv():(n=(i=e.initialState)==null?void 0:i.columnPinning)!=null?n:Hv())},e.getIsSomeColumnsPinned=t=>{var n;const i=e.getState().columnPinning;if(!t){var r,o;return!!((r=i.left)!=null&&r.length||(o=i.right)!=null&&o.length)}return!!((n=i[t])!=null&&n.length)},e.getLeftLeafColumns=ve(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(i=>t.find(r=>r.id===i)).filter(Boolean),be(e.options,"debugColumns")),e.getRightLeafColumns=ve(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(i=>t.find(r=>r.id===i)).filter(Boolean),be(e.options,"debugColumns")),e.getCenterLeafColumns=ve(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,i)=>{const r=[...n??[],...i??[]];return t.filter(o=>!r.includes(o.id))},be(e.options,"debugColumns"))}};function Mre(e){return e||(typeof document<"u"?document:null)}const zd={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Vv=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Are={getDefaultColumnDef:()=>zd,getInitialState:e=>({columnSizing:{},columnSizingInfo:Vv(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Dn("columnSizing",e),onColumnSizingInfoChange:Dn("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,i,r;const o=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:zd.minSize,(i=o??e.columnDef.size)!=null?i:zd.size),(r=e.columnDef.maxSize)!=null?r:zd.maxSize)},e.getStart=ve(n=>[n,Bc(t,n),t.getState().columnSizing],(n,i)=>i.slice(0,e.getIndex(n)).reduce((r,o)=>r+o.getSize(),0),be(t.options,"debugColumns")),e.getAfter=ve(n=>[n,Bc(t,n),t.getState().columnSizing],(n,i)=>i.slice(e.getIndex(n)+1).reduce((r,o)=>r+o.getSize(),0),be(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:i,...r}=n;return r})},e.getCanResize=()=>{var n,i;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((i=t.options.enableColumnResizing)!=null?i:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const i=r=>{if(r.subHeaders.length)r.subHeaders.forEach(i);else{var o;n+=(o=r.column.getSize())!=null?o:0}};return i(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const i=t.getColumn(e.column.id),r=i?.getCanResize();return o=>{if(!i||!r||(o.persist==null||o.persist(),Uv(o)&&o.touches&&o.touches.length>1))return;const a=e.getSize(),c=e?e.getLeafHeaders().map(O=>[O.column.id,O.column.getSize()]):[[i.id,i.getSize()]],u=Uv(o)?Math.round(o.touches[0].clientX):o.clientX,d={},h=(O,R)=>{typeof R=="number"&&(t.setColumnSizingInfo(T=>{var M,D;const P=t.options.columnResizeDirection==="rtl"?-1:1,I=(R-((M=T?.startOffset)!=null?M:0))*P,z=Math.max(I/((D=T?.startSize)!=null?D:0),-.999999);return T.columnSizingStart.forEach(U=>{let[$,W]=U;d[$]=Math.round(Math.max(W+W*z,0)*100)/100}),{...T,deltaOffset:I,deltaPercentage:z}}),(t.options.columnResizeMode==="onChange"||O==="end")&&t.setColumnSizing(T=>({...T,...d})))},g=O=>h("move",O),m=O=>{h("end",O),t.setColumnSizingInfo(R=>({...R,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},y=Mre(n),b={moveHandler:O=>g(O.clientX),upHandler:O=>{y?.removeEventListener("mousemove",b.moveHandler),y?.removeEventListener("mouseup",b.upHandler),m(O.clientX)}},w={moveHandler:O=>(O.cancelable&&(O.preventDefault(),O.stopPropagation()),g(O.touches[0].clientX),!1),upHandler:O=>{var R;y?.removeEventListener("touchmove",w.moveHandler),y?.removeEventListener("touchend",w.upHandler),O.cancelable&&(O.preventDefault(),O.stopPropagation()),m((R=O.touches[0])==null?void 0:R.clientX)}},_=Dre()?{passive:!1}:!1;Uv(o)?(y?.addEventListener("touchmove",w.moveHandler,_),y?.addEventListener("touchend",w.upHandler,_)):(y?.addEventListener("mousemove",b.moveHandler,_),y?.addEventListener("mouseup",b.upHandler,_)),t.setColumnSizingInfo(O=>({...O,startOffset:u,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:c,isResizingColumn:i.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?Vv():(n=e.initialState.columnSizingInfo)!=null?n:Vv())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((i,r)=>i+r.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((i,r)=>i+r.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((i,r)=>i+r.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((i,r)=>i+r.getSize(),0))!=null?t:0}}};let $d=null;function Dre(){if(typeof $d=="boolean")return $d;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return $d=e,$d}function Uv(e){return e.type==="touchstart"}const Pre={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Dn("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(i=>({...i,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,i;const r=e.columns;return(n=r.length?r.some(o=>o.getIsVisible()):(i=t.getState().columnVisibility)==null?void 0:i[e.id])!=null?n:!0},e.getCanHide=()=>{var n,i;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((i=t.options.enableHiding)!=null?i:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=ve(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(i=>i.column.getIsVisible()),be(t.options,"debugRows")),e.getVisibleCells=ve(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,i,r)=>[...n,...i,...r],be(t.options,"debugRows"))},createTable:e=>{const t=(n,i)=>ve(()=>[i(),i().filter(r=>r.getIsVisible()).map(r=>r.id).join("_")],r=>r.filter(o=>o.getIsVisible==null?void 0:o.getIsVisible()),be(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var i;e.setColumnVisibility(n?{}:(i=e.initialState.columnVisibility)!=null?i:{})},e.toggleAllColumnsVisible=n=>{var i;n=(i=n)!=null?i:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((r,o)=>({...r,[o.id]:n||!(o.getCanHide!=null&&o.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var i;e.toggleAllColumnsVisible((i=n.target)==null?void 0:i.checked)}}};function Bc(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const jre={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Lre={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Dn("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const i=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof i=="string"||typeof i=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,i,r,o;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((i=t.options.enableGlobalFilter)!=null?i:!0)&&((r=t.options.enableFilters)!=null?r:!0)&&((o=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?o:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>rr.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:i}=e.options;return dg(i)?i:i==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[i])!=null?t:rr[i]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Nre={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Dn("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var i,r;if(!t){e._queue(()=>{t=!0});return}if((i=(r=e.options.autoResetAll)!=null?r:e.options.autoResetExpanded)!=null?i:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=i=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(i),e.toggleAllRowsExpanded=i=>{i??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=i=>{var r,o;e.setExpanded(i?{}:(r=(o=e.initialState)==null?void 0:o.expanded)!=null?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(i=>i.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>i=>{i.persist==null||i.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const i=e.getState().expanded;return i===!0||Object.values(i).some(Boolean)},e.getIsAllRowsExpanded=()=>{const i=e.getState().expanded;return typeof i=="boolean"?i===!0:!(!Object.keys(i).length||e.getRowModel().flatRows.some(r=>!r.getIsExpanded()))},e.getExpandedDepth=()=>{let i=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(o=>{const a=o.split(".");i=Math.max(i,a.length)}),i},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(i=>{var r;const o=i===!0?!0:!!(i!=null&&i[e.id]);let a={};if(i===!0?Object.keys(t.getRowModel().rowsById).forEach(c=>{a[c]=!0}):a=i,n=(r=n)!=null?r:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:c,...u}=a;return u}return i})},e.getIsExpanded=()=>{var n;const i=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:i===!0||i?.[e.id])},e.getCanExpand=()=>{var n,i,r;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((i=t.options.enableExpanding)!=null?i:!0)&&!!((r=e.subRows)!=null&&r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,i=e;for(;n&&i.parentId;)i=t.getRow(i.parentId,!0),n=i.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},Ox=0,Ex=10,Wv=()=>({pageIndex:Ox,pageSize:Ex}),kre={getInitialState:e=>({...e,pagination:{...Wv(),...e?.pagination}}),getDefaultOptions:e=>({onPaginationChange:Dn("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var i,r;if(!t){e._queue(()=>{t=!0});return}if((i=(r=e.options.autoResetAll)!=null?r:e.options.autoResetPageIndex)!=null?i:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=i=>{const r=o=>eo(i,o);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(r)},e.resetPagination=i=>{var r;e.setPagination(i?Wv():(r=e.initialState.pagination)!=null?r:Wv())},e.setPageIndex=i=>{e.setPagination(r=>{let o=eo(i,r.pageIndex);const a=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,a)),{...r,pageIndex:o}})},e.resetPageIndex=i=>{var r,o;e.setPageIndex(i?Ox:(r=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageIndex)!=null?r:Ox)},e.resetPageSize=i=>{var r,o;e.setPageSize(i?Ex:(r=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageSize)!=null?r:Ex)},e.setPageSize=i=>{e.setPagination(r=>{const o=Math.max(1,eo(i,r.pageSize)),a=r.pageSize*r.pageIndex,c=Math.floor(a/o);return{...r,pageIndex:c,pageSize:o}})},e.setPageCount=i=>e.setPagination(r=>{var o;let a=eo(i,(o=e.options.pageCount)!=null?o:-1);return typeof a=="number"&&(a=Math.max(-1,a)),{...r,pageCount:a}}),e.getPageOptions=ve(()=>[e.getPageCount()],i=>{let r=[];return i&&i>0&&(r=[...new Array(i)].fill(null).map((o,a)=>a)),r},be(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:i}=e.getState().pagination,r=e.getPageCount();return r===-1?!0:r===0?!1:i<r-1},e.previousPage=()=>e.setPageIndex(i=>i-1),e.nextPage=()=>e.setPageIndex(i=>i+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var i;return(i=e.options.pageCount)!=null?i:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var i;return(i=e.options.rowCount)!=null?i:e.getPrePaginationRowModel().rows.length}}},Gv=()=>({top:[],bottom:[]}),Ire={getInitialState:e=>({rowPinning:Gv(),...e}),getDefaultOptions:e=>({onRowPinningChange:Dn("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,i,r)=>{const o=i?e.getLeafRows().map(u=>{let{id:d}=u;return d}):[],a=r?e.getParentRows().map(u=>{let{id:d}=u;return d}):[],c=new Set([...a,e.id,...o]);t.setRowPinning(u=>{var d,h;if(n==="bottom"){var g,m;return{top:((g=u?.top)!=null?g:[]).filter(w=>!(c!=null&&c.has(w))),bottom:[...((m=u?.bottom)!=null?m:[]).filter(w=>!(c!=null&&c.has(w))),...Array.from(c)]}}if(n==="top"){var y,b;return{top:[...((y=u?.top)!=null?y:[]).filter(w=>!(c!=null&&c.has(w))),...Array.from(c)],bottom:((b=u?.bottom)!=null?b:[]).filter(w=>!(c!=null&&c.has(w)))}}return{top:((d=u?.top)!=null?d:[]).filter(w=>!(c!=null&&c.has(w))),bottom:((h=u?.bottom)!=null?h:[]).filter(w=>!(c!=null&&c.has(w)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:i,enablePinning:r}=t.options;return typeof i=="function"?i(e):(n=i??r)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:i,bottom:r}=t.getState().rowPinning,o=n.some(c=>i?.includes(c)),a=n.some(c=>r?.includes(c));return o?"top":a?"bottom":!1},e.getPinnedIndex=()=>{var n,i;const r=e.getIsPinned();if(!r)return-1;const o=(n=r==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(a=>{let{id:c}=a;return c});return(i=o?.indexOf(e.id))!=null?i:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,i;return e.setRowPinning(t?Gv():(n=(i=e.initialState)==null?void 0:i.rowPinning)!=null?n:Gv())},e.getIsSomeRowsPinned=t=>{var n;const i=e.getState().rowPinning;if(!t){var r,o;return!!((r=i.top)!=null&&r.length||(o=i.bottom)!=null&&o.length)}return!!((n=i[t])!=null&&n.length)},e._getPinnedRows=(t,n,i)=>{var r;return((r=e.options.keepPinnedRows)==null||r?(n??[]).map(a=>{const c=e.getRow(a,!0);return c.getIsAllParentsExpanded()?c:null}):(n??[]).map(a=>t.find(c=>c.id===a))).filter(Boolean).map(a=>({...a,position:i}))},e.getTopRows=ve(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),be(e.options,"debugRows")),e.getBottomRows=ve(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),be(e.options,"debugRows")),e.getCenterRows=ve(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,i)=>{const r=new Set([...n??[],...i??[]]);return t.filter(o=>!r.has(o.id))},be(e.options,"debugRows"))}},zre={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Dn("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const i={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach(o=>{o.getCanSelect()&&(i[o.id]=!0)}):r.forEach(o=>{delete i[o.id]}),i})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const i=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach(o=>{Rx(r,o.id,i,!0,e)}),r}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=ve(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?qv(e,n):{rows:[],flatRows:[],rowsById:{}},be(e.options,"debugTable")),e.getFilteredSelectedRowModel=ve(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?qv(e,n):{rows:[],flatRows:[],rowsById:{}},be(e.options,"debugTable")),e.getGroupedSelectedRowModel=ve(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?qv(e,n):{rows:[],flatRows:[],rowsById:{}},be(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let i=!!(t.length&&Object.keys(n).length);return i&&t.some(r=>r.getCanSelect()&&!n[r.id])&&(i=!1),i},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(r=>r.getCanSelect()),{rowSelection:n}=e.getState();let i=!!t.length;return i&&t.some(r=>!n[r.id])&&(i=!1),i},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,i)=>{const r=e.getIsSelected();t.setRowSelection(o=>{var a;if(n=typeof n<"u"?n:!r,e.getCanSelect()&&r===n)return o;const c={...o};return Rx(c,e.id,n,(a=i?.selectChildren)!=null?a:!0,t),c})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return GS(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Tx(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Tx(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return i=>{var r;n&&e.toggleSelected((r=i.target)==null?void 0:r.checked)}}}},Rx=(e,t,n,i,r)=>{var o;const a=r.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(c=>delete e[c]),a.getCanSelect()&&(e[t]=!0)):delete e[t],i&&(o=a.subRows)!=null&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach(c=>Rx(e,c.id,n,i,r))};function qv(e,t){const n=e.getState().rowSelection,i=[],r={},o=function(a,c){return a.map(u=>{var d;const h=GS(u,n);if(h&&(i.push(u),r[u.id]=u),(d=u.subRows)!=null&&d.length&&(u={...u,subRows:o(u.subRows)}),h)return u}).filter(Boolean)};return{rows:o(t.rows),flatRows:i,rowsById:r}}function GS(e,t){var n;return(n=t[e.id])!=null?n:!1}function Tx(e,t,n){var i;if(!((i=e.subRows)!=null&&i.length))return!1;let r=!0,o=!1;return e.subRows.forEach(a=>{if(!(o&&!r)&&(a.getCanSelect()&&(GS(a,t)?o=!0:r=!1),a.subRows&&a.subRows.length)){const c=Tx(a,t);c==="all"?o=!0:(c==="some"&&(o=!0),r=!1)}}),r?"all":o?"some":!1}const Mx=/([0-9]+)/gm,$re=(e,t,n)=>xk(yo(e.getValue(n)).toLowerCase(),yo(t.getValue(n)).toLowerCase()),Fre=(e,t,n)=>xk(yo(e.getValue(n)),yo(t.getValue(n))),Bre=(e,t,n)=>qS(yo(e.getValue(n)).toLowerCase(),yo(t.getValue(n)).toLowerCase()),Hre=(e,t,n)=>qS(yo(e.getValue(n)),yo(t.getValue(n))),Vre=(e,t,n)=>{const i=e.getValue(n),r=t.getValue(n);return i>r?1:i<r?-1:0},Ure=(e,t,n)=>qS(e.getValue(n),t.getValue(n));function qS(e,t){return e===t?0:e>t?1:-1}function yo(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function xk(e,t){const n=e.split(Mx).filter(Boolean),i=t.split(Mx).filter(Boolean);for(;n.length&&i.length;){const r=n.shift(),o=i.shift(),a=parseInt(r,10),c=parseInt(o,10),u=[a,c].sort();if(isNaN(u[0])){if(r>o)return 1;if(o>r)return-1;continue}if(isNaN(u[1]))return isNaN(a)?-1:1;if(a>c)return 1;if(c>a)return-1}return n.length-i.length}const yc={alphanumeric:$re,alphanumericCaseSensitive:Fre,text:Bre,textCaseSensitive:Hre,datetime:Vre,basic:Ure},Wre={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Dn("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let i=!1;for(const r of n){const o=r?.getValue(e.id);if(Object.prototype.toString.call(o)==="[object Date]")return yc.datetime;if(typeof o=="string"&&(i=!0,o.split(Mx).length>1))return yc.alphanumeric}return i?yc.text:yc.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof n?.getValue(e.id)=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,i;if(!e)throw new Error;return dg(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(i=t.options.sortingFns)==null?void 0:i[e.columnDef.sortingFn])!=null?n:yc[e.columnDef.sortingFn]},e.toggleSorting=(n,i)=>{const r=e.getNextSortingOrder(),o=typeof n<"u"&&n!==null;t.setSorting(a=>{const c=a?.find(y=>y.id===e.id),u=a?.findIndex(y=>y.id===e.id);let d=[],h,g=o?n:r==="desc";if(a!=null&&a.length&&e.getCanMultiSort()&&i?c?h="toggle":h="add":a!=null&&a.length&&u!==a.length-1?h="replace":c?h="toggle":h="replace",h==="toggle"&&(o||r||(h="remove")),h==="add"){var m;d=[...a,{id:e.id,desc:g}],d.splice(0,d.length-((m=t.options.maxMultiSortColCount)!=null?m:Number.MAX_SAFE_INTEGER))}else h==="toggle"?d=a.map(y=>y.id===e.id?{...y,desc:g}:y):h==="remove"?d=a.filter(y=>y.id!==e.id):d=[{id:e.id,desc:g}];return d})},e.getFirstSortDir=()=>{var n,i;return((n=(i=e.columnDef.sortDescFirst)!=null?i:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var i,r;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?a!==o&&((i=t.options.enableSortingRemoval)==null||i)&&(!(n&&(r=t.options.enableMultiRemove)!=null)||r)?!1:a==="desc"?"asc":"desc":o},e.getCanSort=()=>{var n,i;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((i=t.options.enableSorting)!=null?i:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,i;return(n=(i=e.columnDef.enableMultiSort)!=null?i:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const i=(n=t.getState().sorting)==null?void 0:n.find(r=>r.id===e.id);return i?i.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,i;return(n=(i=t.getState().sorting)==null?void 0:i.findIndex(r=>r.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(i=>i.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return i=>{n&&(i.persist==null||i.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(i):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,i;e.setSorting(t?[]:(n=(i=e.initialState)==null?void 0:i.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Gre=[dre,Pre,Rre,Tre,pre,gre,jre,Lre,Wre,Ore,Nre,kre,Ire,zre,Are];function qre(e){var t,n;const i=[...Gre,...(t=e._features)!=null?t:[]];let r={_features:i};const o=r._features.reduce((m,y)=>Object.assign(m,y.getDefaultOptions==null?void 0:y.getDefaultOptions(r)),{}),a=m=>r.options.mergeOptions?r.options.mergeOptions(o,m):{...o,...m};let u={...{},...(n=e.initialState)!=null?n:{}};r._features.forEach(m=>{var y;u=(y=m.getInitialState==null?void 0:m.getInitialState(u))!=null?y:u});const d=[];let h=!1;const g={_features:i,options:{...o,...e},initialState:u,_queue:m=>{d.push(m),h||(h=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();h=!1}).catch(y=>setTimeout(()=>{throw y})))},reset:()=>{r.setState(r.initialState)},setOptions:m=>{const y=eo(m,r.options);r.options=a(y)},getState:()=>r.options.state,setState:m=>{r.options.onStateChange==null||r.options.onStateChange(m)},_getRowId:(m,y,b)=>{var w;return(w=r.options.getRowId==null?void 0:r.options.getRowId(m,y,b))!=null?w:`${b?[b.id,y].join("."):y}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(m,y)=>{let b=(y?r.getPrePaginationRowModel():r.getRowModel()).rowsById[m];if(!b&&(b=r.getCoreRowModel().rowsById[m],!b))throw new Error;return b},_getDefaultColumnDef:ve(()=>[r.options.defaultColumn],m=>{var y;return m=(y=m)!=null?y:{},{header:b=>{const w=b.header.column.columnDef;return w.accessorKey?w.accessorKey:w.accessorFn?w.id:null},cell:b=>{var w,_;return(w=(_=b.renderValue())==null||_.toString==null?void 0:_.toString())!=null?w:null},...r._features.reduce((b,w)=>Object.assign(b,w.getDefaultColumnDef==null?void 0:w.getDefaultColumnDef()),{}),...m}},be(e,"debugColumns")),_getColumnDefs:()=>r.options.columns,getAllColumns:ve(()=>[r._getColumnDefs()],m=>{const y=function(b,w,_){return _===void 0&&(_=0),b.map(O=>{const R=fre(r,O,_,w),T=O;return R.columns=T.columns?y(T.columns,R,_+1):[],R})};return y(m)},be(e,"debugColumns")),getAllFlatColumns:ve(()=>[r.getAllColumns()],m=>m.flatMap(y=>y.getFlatColumns()),be(e,"debugColumns")),_getAllFlatColumnsById:ve(()=>[r.getAllFlatColumns()],m=>m.reduce((y,b)=>(y[b.id]=b,y),{}),be(e,"debugColumns")),getAllLeafColumns:ve(()=>[r.getAllColumns(),r._getOrderColumnsFn()],(m,y)=>{let b=m.flatMap(w=>w.getLeafColumns());return y(b)},be(e,"debugColumns")),getColumn:m=>r._getAllFlatColumnsById()[m]};Object.assign(r,g);for(let m=0;m<r._features.length;m++){const y=r._features[m];y==null||y.createTable==null||y.createTable(r)}return r}function Yre(){return e=>ve(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},i=function(r,o,a){o===void 0&&(o=0);const c=[];for(let d=0;d<r.length;d++){const h=hre(e,e._getRowId(r[d],d,a),r[d],d,o,void 0,a?.id);if(n.flatRows.push(h),n.rowsById[h.id]=h,c.push(h),e.options.getSubRows){var u;h.originalSubRows=e.options.getSubRows(r[d],d),(u=h.originalSubRows)!=null&&u.length&&(h.subRows=i(h.originalSubRows,o+1,h))}}return c};return n.rows=i(t),n},be(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function Kre(){return e=>ve(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const i=e.getState().sorting,r=[],o=i.filter(u=>{var d;return(d=e.getColumn(u.id))==null?void 0:d.getCanSort()}),a={};o.forEach(u=>{const d=e.getColumn(u.id);d&&(a[u.id]={sortUndefined:d.columnDef.sortUndefined,invertSorting:d.columnDef.invertSorting,sortingFn:d.getSortingFn()})});const c=u=>{const d=u.map(h=>({...h}));return d.sort((h,g)=>{for(let y=0;y<o.length;y+=1){var m;const b=o[y],w=a[b.id],_=w.sortUndefined,O=(m=b?.desc)!=null?m:!1;let R=0;if(_){const T=h.getValue(b.id),M=g.getValue(b.id),D=T===void 0,P=M===void 0;if(D||P){if(_==="first")return D?-1:1;if(_==="last")return D?1:-1;R=D&&P?0:D?_:-_}}if(R===0&&(R=w.sortingFn(h,g,b.id)),R!==0)return O&&(R*=-1),w.invertSorting&&(R*=-1),R}return h.index-g.index}),d.forEach(h=>{var g;r.push(h),(g=h.subRows)!=null&&g.length&&(h.subRows=c(h.subRows))}),d};return{rows:c(n.rows),flatRows:r,rowsById:n.rowsById}},be(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}function Xre(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=C.useState(()=>({current:qre(t)})),[i,r]=C.useState(()=>n.current.initialState);return n.current.setOptions(o=>({...o,...e,state:{...i,...e.state},onStateChange:a=>{r(a),e.onStateChange==null||e.onStateChange(a)}})),n.current}const cu=typeof window<"u"?C.useLayoutEffect:C.useEffect;function NM(e){if(e!==void 0)switch(typeof e){case"number":return e;case"string":{if(e.endsWith("px"))return parseFloat(e);break}}}function Qre({box:e,defaultHeight:t,defaultWidth:n,disabled:i,element:r,mode:o,style:a}){const{styleHeight:c,styleWidth:u}=C.useMemo(()=>({styleHeight:NM(a?.height),styleWidth:NM(a?.width)}),[a?.height,a?.width]),[d,h]=C.useState({height:t,width:n}),g=i||c!==void 0||o==="only-width"||c!==void 0&&u!==void 0;return cu(()=>{if(r===null||g)return;const m=new ResizeObserver(y=>{for(const b of y){const{contentRect:w,target:_}=b;r===_&&h(O=>O.height===w.height&&O.width===w.width?O:{height:w.height,width:w.width})}});return m.observe(r,{box:e}),()=>{m?.unobserve(r)}},[e,g,r,c,u]),C.useMemo(()=>({height:c??d.height,width:u??d.width}),[d,c,u])}function Zre(e){const t=C.useRef(()=>{throw new Error("Cannot call during render.")});return cu(()=>{t.current=e},[e]),C.useCallback(n=>t.current?.(n),[t])}function Yv({containerElement:e,direction:t,isRtl:n,scrollOffset:i}){return i}function oo(e,t="Assertion error"){if(!e)throw console.error(t),Error(t)}function Hc(e,t){if(e===t)return!0;if(!!e!=!!t||(oo(e!==void 0),oo(t!==void 0),Object.keys(e).length!==Object.keys(t).length))return!1;for(const n in e)if(!Object.is(t[n],e[n]))return!1;return!0}function Sk({cachedBounds:e,itemCount:t,itemSize:n}){if(t===0)return 0;if(typeof n=="number")return t*n;{const i=e.get(e.size===0?0:e.size-1);oo(i!==void 0,"Unexpected bounds cache miss");const r=(i.scrollOffset+i.size)/e.size;return t*r}}function Jre({align:e,cachedBounds:t,index:n,itemCount:i,itemSize:r,containerScrollOffset:o,containerSize:a}){if(n<0||n>=i)throw RangeError(`Invalid index specified: ${n}`,{cause:`Index ${n} is not within the range of 0 - ${i-1}`});const c=Sk({cachedBounds:t,itemCount:i,itemSize:r}),u=t.get(n),d=Math.max(0,Math.min(c-a,u.scrollOffset)),h=Math.max(0,u.scrollOffset-a+u.size);switch(e==="smart"&&(o>=h&&o<=d?e="auto":e="center"),e){case"start":return d;case"end":return h;case"center":return u.scrollOffset<=a/2?0:u.scrollOffset+u.size/2>=c-a/2?c-a:u.scrollOffset+u.size/2-a/2;default:return o>=h&&o<=d?o:o<h?h:d}}function Kv({cachedBounds:e,containerScrollOffset:t,containerSize:n,itemCount:i,overscanCount:r}){const o=i-1;let a=0,c=-1,u=0,d=-1,h=0;for(;h<o;){const g=e.get(h);if(g.scrollOffset+g.size>t)break;h++}for(a=h,u=Math.max(0,a-r);h<o;){const g=e.get(h);if(g.scrollOffset+g.size>=t+n)break;h++}return c=Math.min(o,h),d=Math.min(i-1,c+r),a<0&&(a=0,c=-1,u=0,d=-1),{startIndexVisible:a,stopIndexVisible:c,startIndexOverscan:u,stopIndexOverscan:d}}function eoe({itemCount:e,itemProps:t,itemSize:n}){const i=new Map;return{get(r){for(oo(r<e,`Invalid index ${r}`);i.size-1<r;){const a=i.size;let c;switch(typeof n){case"function":{c=n(a,t);break}case"number":{c=n;break}}if(a===0)i.set(a,{size:c,scrollOffset:0});else{const u=i.get(a-1);oo(u!==void 0,`Unexpected bounds cache miss for index ${r}`),i.set(a,{scrollOffset:u.scrollOffset+u.size,size:c})}}const o=i.get(r);return oo(o!==void 0,`Unexpected bounds cache miss for index ${r}`),o},set(r,o){i.set(r,o)},get size(){return i.size}}}function toe({itemCount:e,itemProps:t,itemSize:n}){return C.useMemo(()=>eoe({itemCount:e,itemProps:t,itemSize:n}),[e,t,n])}function noe({containerSize:e,itemSize:t}){let n;return typeof t==="string"?(oo(t.endsWith("%"),`Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`),oo(e!==void 0,"Container size must be defined if a percentage item size is specified"),n=e*parseInt(t)/100):n=t,n}function ioe({containerElement:e,containerStyle:t,defaultContainerSize:n=0,direction:i,isRtl:r=!1,itemCount:o,itemProps:a,itemSize:c,onResize:u,overscanCount:d}){const{height:h=n,width:g=n}=Qre({defaultHeight:n,defaultWidth:void 0,element:e,mode:"only-height",style:t}),m=C.useRef({height:0,width:0}),y=h,b=noe({containerSize:y,itemSize:c});C.useLayoutEffect(()=>{if(typeof u=="function"){const $=m.current;($.height!==h||$.width!==g)&&(u({height:h,width:g},{...$}),$.height=h,$.width=g)}},[h,u,g]);const w=toe({itemCount:o,itemProps:a,itemSize:b}),_=C.useCallback($=>w.get($),[w]),[O,R]=C.useState(()=>Kv({cachedBounds:w,containerScrollOffset:0,containerSize:y,itemCount:o,overscanCount:d})),{startIndexVisible:T,startIndexOverscan:M,stopIndexVisible:D,stopIndexOverscan:P}={startIndexVisible:Math.min(o-1,O.startIndexVisible),startIndexOverscan:Math.min(o-1,O.startIndexOverscan),stopIndexVisible:Math.min(o-1,O.stopIndexVisible),stopIndexOverscan:Math.min(o-1,O.stopIndexOverscan)},I=C.useCallback(()=>Sk({cachedBounds:w,itemCount:o,itemSize:b}),[w,o,b]),z=C.useCallback($=>{const W=Yv({containerElement:e,direction:i,isRtl:r,scrollOffset:$});return Kv({cachedBounds:w,containerScrollOffset:W,containerSize:y,itemCount:o,overscanCount:d})},[w,e,y,i,r,o,d]);cu(()=>{const $=e?.scrollTop??0;R(z($))},[e,i,z]),cu(()=>{if(!e)return;const $=()=>{R(W=>{const{scrollLeft:Y,scrollTop:B}=e,H=Yv({containerElement:e,direction:i,isRtl:r,scrollOffset:B}),L=Kv({cachedBounds:w,containerScrollOffset:H,containerSize:y,itemCount:o,overscanCount:d});return Hc(L,W)?W:L})};return e.addEventListener("scroll",$),()=>{e.removeEventListener("scroll",$)}},[w,e,y,i,o,d]);const U=Zre(({align:$="auto",containerScrollOffset:W,index:Y})=>{let B=Jre({align:$,cachedBounds:w,containerScrollOffset:W,containerSize:y,index:Y,itemCount:o,itemSize:b});if(e){if(B=Yv({containerElement:e,direction:i,isRtl:r,scrollOffset:B}),typeof e.scrollTo!="function"){const H=z(B);Hc(O,H)||R(H)}return B}});return{getCellBounds:_,getEstimatedSize:I,scrollToIndex:U,startIndexOverscan:M,startIndexVisible:T,stopIndexOverscan:P,stopIndexVisible:D}}function roe(e){return C.useMemo(()=>e,Object.values(e))}function ooe(e,t){const{ariaAttributes:n,style:i,...r}=e,{ariaAttributes:o,style:a,...c}=t;return Hc(n,o)&&Hc(i,a)&&Hc(r,c)}function soe(e){return e!=null&&typeof e=="object"&&"getAverageRowHeight"in e&&typeof e.getAverageRowHeight=="function"}const aoe="data-react-window-index";function Ax({children:e,className:t,defaultHeight:n=0,listRef:i,onResize:r,onRowsRendered:o,overscanCount:a=3,rowComponent:c,rowCount:u,rowHeight:d,rowProps:h,tagName:g="div",style:m,...y}){const b=roe(h),w=C.useMemo(()=>C.memo(c,ooe),[c]),[_,O]=C.useState(null),R=soe(d),T=C.useMemo(()=>R?B=>d.getRowHeight(B)??d.getAverageRowHeight():d,[R,d]),{getCellBounds:M,getEstimatedSize:D,scrollToIndex:P,startIndexOverscan:I,startIndexVisible:z,stopIndexOverscan:U,stopIndexVisible:$}=ioe({containerElement:_,containerStyle:m,defaultContainerSize:n,direction:"vertical",itemCount:u,itemProps:b,itemSize:T,onResize:r,overscanCount:a});C.useImperativeHandle(i,()=>({get element(){return _},scrollToRow({align:B="auto",behavior:H="auto",index:L}){const N=P({align:B,containerScrollOffset:_?.scrollTop??0,index:L});typeof _?.scrollTo=="function"&&_.scrollTo({behavior:H,top:N})}}),[_,P]),cu(()=>{if(!_)return;const B=Array.from(_.children).filter((H,L)=>{if(H.hasAttribute("aria-hidden"))return!1;const N=`${I+L}`;return H.setAttribute(aoe,N),!0});if(R)return d.observeRowElements(B)},[_,R,d,I,U]),C.useEffect(()=>{I>=0&&U>=0&&o&&o({startIndex:z,stopIndex:$},{startIndex:I,stopIndex:U})},[o,I,z,U,$]);const W=C.useMemo(()=>{const B=[];if(u>0)for(let H=I;H<=U;H++){const L=M(H);B.push(C.createElement(w,{...b,ariaAttributes:{"aria-posinset":H+1,"aria-setsize":u,role:"listitem"},key:H,index:H,style:{position:"absolute",left:0,transform:`translateY(${L.scrollOffset}px)`,height:R?void 0:L.size,width:"100%"}}))}return B},[w,M,R,u,b,I,U]),Y=S.jsx("div",{"aria-hidden":!0,style:{height:D(),width:"100%",zIndex:-1}});return C.createElement(g,{role:"list",...y,className:t,ref:O,style:{position:"relative",maxHeight:"100%",flexGrow:1,overflowY:"auto",...m}},W,e,Y)}const loe="_card_13ab1_1",coe="_row_13ab1_17",uoe="_host_13ab1_24",foe="_time_13ab1_35",doe="_typeProtocol_13ab1_41",hoe="_totals_13ab1_47",poe="_ruleChain_13ab1_62",goe="_rule_13ab1_62",moe="_arrow_13ab1_77",yoe="_chains_13ab1_81",voe="_speedAndAction_13ab1_90",boe="_speed_13ab1_90",xoe="_speedIcon_13ab1_104",Soe="_closeBtn_13ab1_109",kt={card:loe,row:coe,host:uoe,time:foe,typeProtocol:doe,totals:hoe,ruleChain:poe,rule:goe,arrow:moe,chains:yoe,speedAndAction:voe,speed:boe,speedIcon:xoe,closeBtn:Soe},woe=q.memo(function({conn:t,onDisconnect:n,onClick:i}){const{i18n:r}=yt(),o=uk(t.start,ck(r.language));return S.jsxs("div",{className:kt.card,onClick:i,role:"button",tabIndex:0,onKeyDown:a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i())},children:[S.jsxs("div",{className:kt.row,children:[S.jsx("div",{className:kt.host,children:t.host}),S.jsx("div",{className:kt.time,children:o})]}),S.jsxs("div",{className:kt.row,children:[S.jsx("div",{className:kt.typeProtocol,children:t.type.replace(/\((.*)\)/," | $1")}),S.jsxs("div",{className:kt.totals,children:[S.jsxs("span",{children:[Qn(t.download)," ",S.jsx(el,{size:12})]}),S.jsxs("span",{children:[Qn(t.upload)," ",S.jsx(Eu,{size:12})]})]})]}),S.jsxs("div",{className:kt.row,children:[S.jsxs("div",{className:kt.ruleChain,children:[S.jsx("span",{className:kt.rule,children:t.rule}),S.jsx("span",{className:kt.arrow,children:"→"}),S.jsx("span",{className:kt.chains,children:t.chains})]}),S.jsxs("div",{className:kt.speedAndAction,children:[S.jsxs("div",{className:kt.speed,children:[Qn(t.downloadSpeedCurr),"/s",S.jsx(N1,{size:16,className:kt.speedIcon})]}),S.jsx("button",{className:kt.closeBtn,onClick:a=>{a.stopPropagation(),n(t.id,a)},children:S.jsx(Na,{size:16})})]})]})]})}),_oe="_tr_po97b_1",Coe="_td_po97b_9",Ooe="_odd_po97b_12",Eoe="_th_po97b_16",Roe="_headerText_po97b_38",Toe="_cellText_po97b_43",Moe="_sortIconContainer_po97b_49",Aoe="_rotate180_po97b_56",Doe="_table_po97b_97",Poe="_tableWrapper_po97b_109",joe="_theadWrapper_po97b_123",Loe="_cardsView_po97b_131",Noe="_mobileSortToolbar_po97b_141",koe="_sortSelectWrapper_po97b_149",Ioe="_selectedValue_po97b_172",zoe="_selectArrow_po97b_185",$oe="_sortDirBtn_po97b_191",bt={tr:_oe,td:Coe,odd:Ooe,th:Eoe,headerText:Roe,cellText:Toe,sortIconContainer:Moe,rotate180:Aoe,table:Doe,tableWrapper:Poe,theadWrapper:joe,cardsView:Loe,mobileSortToolbar:Noe,sortSelectWrapper:koe,selectedValue:Ioe,selectArrow:zoe,sortDirBtn:$oe},Foe="_overlay_f0mbp_1",Boe="_content_f0mbp_14",vo={overlay:Foe,content:Boe},Hoe=uD;function kM(e,t){return e?typeof e=="string"?Oe(e,t):{...e,base:Oe(e.base,t)}:t}function Voe({isOpen:e,onRequestClose:t,className:n,overlayClassName:i,children:r,...o}){const a=kM(n,vo.content),c=kM(i,vo.overlay);return S.jsx(Hoe,{isOpen:e,onRequestClose:t,className:a,overlayClassName:c,...o,children:r})}const hg=C.memo(Voe),Uoe="_overlay_1cbjw_1",Woe="_cnt_1cbjw_5",Goe="_afterOpen_1cbjw_15",qoe="_btngrp_1cbjw_20",Fd={overlay:Uoe,cnt:Woe,afterOpen:Goe,btngrp:qoe},{useRef:Yoe,useCallback:Koe,useMemo:Xoe}=q;function Dx({confirm:e="close_all_confirm",isOpen:t,onRequestClose:n,primaryButtonOnTap:i}){const{t:r}=yt(),o=Yoe(null),a=Koe(()=>{o.current&&o.current.focus()},[]),c=Xoe(()=>({base:Oe(vo.content,Fd.cnt),afterOpen:Fd.afterOpen,beforeClose:""}),[]);return S.jsxs(hg,{isOpen:t,onRequestClose:n,onAfterOpen:a,className:c,overlayClassName:Oe(vo.overlay,Fd.overlay),children:[S.jsx("p",{children:r(e)}),S.jsxs("div",{className:Fd.btngrp,children:[S.jsx(nt,{onClick:i,ref:o,children:r("close_all_confirm_yes")}),S.jsx("div",{style:{width:20}}),S.jsx(nt,{onClick:n,children:r("close_all_confirm_no")})]})]})}const Qoe="_content_1s5mg_1",Zoe="_overlay_1s5mg_13",Joe="_details_1s5mg_18",ese="_label_1s5mg_26",tse="_value_1s5mg_33",nse="_header_1s5mg_39",pa={content:Qoe,overlay:Zoe,details:Joe,label:ese,value:tse,header:nse};function ise({isOpen:e,onRequestClose:t,connection:n}){const{t:i,i18n:r}=yt();let o=US;if(r.language==="zh-CN"?o=ik:r.language==="zh-TW"&&(o=rk),!n)return null;const a=[{label:"ID",value:n.id},{label:"Host",value:n.host},{label:"Sniff Host",value:n.sniffHost},{label:"Process",value:n.process},{label:"Destination",value:`${n.destinationIP}:${n.destinationPort}`},{label:"Remote Destination",value:n.remoteDestination},{label:"Rule",value:n.rule},{label:"Chains",value:n.chains},{label:"Type",value:n.type},{label:"Network",value:n.network},{label:"Source",value:`${n.sourceIP}:${n.sourcePort}`},{label:"Upload",value:Qn(n.upload)},{label:"Download",value:Qn(n.download)},{label:"Start Time",value:Nu(n.start,0,{locale:o})}];return S.jsxs(hg,{isOpen:e,onRequestClose:t,className:Oe(vo.content,pa.content),overlayClassName:Oe(vo.overlay,pa.overlay),shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,children:[S.jsx("div",{className:pa.header,children:i("Connection Details")}),S.jsx("div",{className:pa.details,children:a.map(c=>S.jsxs(q.Fragment,{children:[S.jsxs("div",{className:pa.label,children:[c.label,":"]}),S.jsx("div",{className:pa.value,children:c.value||"-"})]},c.label))})]})}const IM={id:"id",desc:!0},wk={ctrl:50,start:100,type:120,host:300,rule:200,chains:250,download:100,upload:100,downloadSpeedCurr:100,uploadSpeedCurr:100,source:170,destinationIP:170,process:130,sniffHost:150},zM=Object.values(wk).reduce((e,t)=>e+t,0),$M=e=>{const t=wk[e]||100,n={width:t,minWidth:t,flex:`0 0 ${t}px`,flexShrink:0};return["download","upload","downloadSpeedCurr","uploadSpeedCurr","start"].includes(e)&&(n.justifyContent="flex-end"),e==="ctrl"&&(n.justifyContent="center"),n};function rse({data:e,columns:t,hiddenColumns:n,apiConfig:i,height:r}){const{t:o,i18n:a}=yt(),[c,u]=C.useState(""),[d,h]=C.useState(!1),[g,m]=C.useState(null),[y,b]=C.useState(!1),w=q.useRef(null);C.useEffect(()=>{const L=window.matchMedia("(max-width: 768px)");b(L.matches);const N=j=>b(j.matches);return L.addEventListener("change",N),()=>L.removeEventListener("change",N)},[]);const _=C.useMemo(()=>t.map(L=>({id:L.accessor,accessorFn:N=>N[L.accessor],header:L.Header??L.accessor,enableSorting:L.accessor!=="ctrl",sortDescFirst:L.sortDescFirst??!1})),[t]),[O,R]=C.useState(()=>JSON.parse(localStorage.getItem("tableSortBy"))||[IM]),T=C.useMemo(()=>Object.fromEntries(n.map(L=>[L,!1])),[n]),M=Xre({data:e,columns:_,state:{sorting:O,columnVisibility:T},onSortingChange:R,getCoreRowModel:Yre(),getSortedRowModel:Kre(),autoResetAll:!1}),D=M.getRowModel().rows,P=C.useMemo(()=>t.filter(L=>L.accessor!=="id"&&L.accessor!=="ctrl").map(L=>({label:o(L.Header),value:L.accessor})),[t,o]),I=O[0]||IM,z=ck(a.language),U=C.useCallback(()=>{S1(i,c),h(!1)},[i,c]),$=C.useCallback((L,N)=>{N.stopPropagation(),u(L),h(!0)},[]),W=C.useCallback((L,N)=>{switch(L.column.id){case"ctrl":return S.jsx(iS,{style:{cursor:"pointer"},onClick:j=>$(L.row.original.id,j)});case"start":return uk(L.getValue(),N);case"download":case"upload":return Qn(L.getValue());case"downloadSpeedCurr":case"uploadSpeedCurr":return Qn(L.getValue())+"/s";default:return L.getValue()}},[$]);C.useEffect(()=>{localStorage.setItem("tableSortBy",JSON.stringify(O))},[O]);const Y=C.useCallback(({index:L,style:N})=>{const V=D[L].original;return S.jsx("div",{style:N,children:S.jsx(woe,{conn:V,onDisconnect:$,onClick:()=>m(V)},V.id)})},[D,$]),B=C.useCallback(({index:L,style:N})=>{const j=D[L];return S.jsx("div",{style:{...N,display:"flex",width:zM},className:bt.tr,onClick:()=>m(j.original),role:"button",tabIndex:0,onKeyDown:V=>{(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),m(j.original))},children:j.getVisibleCells().map(V=>{const ie=$M(V.column.id);return S.jsx("div",{className:Oe(bt.td,L%2===0?bt.odd:!1,V.column.id),style:{display:"flex",alignItems:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",...ie},children:S.jsx("span",{className:bt.cellText,children:W(V,z)})},V.id)})})},[D,W,z]),H=C.useCallback(L=>{w.current&&(w.current.scrollLeft=L.currentTarget.scrollLeft)},[]);return S.jsxs("div",{className:bt.tableWrapper,style:{height:r,overflow:"hidden"},children:[y?S.jsxs("div",{className:bt.cardsView,children:[S.jsxs("div",{className:bt.mobileSortToolbar,children:[S.jsxs("div",{className:bt.sortSelectWrapper,children:[S.jsxs("div",{className:bt.selectedValue,children:[S.jsx(J1,{size:14}),S.jsxs("span",{children:[o("Sort"),": ",P.find(L=>L.value===I.id)?.label]})]}),S.jsx("select",{value:I.id,onChange:L=>R([{id:L.target.value,desc:I.desc}]),children:P.map(L=>S.jsx("option",{value:L.value,children:L.label},L.value))}),S.jsx(ms,{size:14,className:bt.selectArrow})]}),S.jsx("button",{className:bt.sortDirBtn,onClick:()=>R([{id:I.id,desc:!I.desc}]),children:I.desc?S.jsx(el,{size:18}):S.jsx(Eu,{size:18})})]}),S.jsx(Ax,{style:{height:r-50,width:"100%"},rowCount:D.length,rowHeight:120,rowComponent:Y,rowProps:{}})]}):S.jsxs("div",{className:Oe(bt.table,"connections-table"),style:{display:"flex",flexDirection:"column",height:"100%",width:"100%"},children:[S.jsx("div",{className:bt.theadWrapper,ref:w,style:{overflow:"hidden",width:"100%"},children:S.jsx("div",{className:bt.thead,style:{width:zM},children:M.getHeaderGroups().map(L=>S.jsx("div",{className:bt.tr,style:{display:"flex"},children:L.headers.map(N=>{const j=$M(N.column.id),V=N.column.getIsSorted(),ie=N.column.getCanSort(),ae=N.column.getToggleSortingHandler();return S.jsxs("div",{className:bt.th,onClick:ae,onKeyDown:ie?k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),ae?.(k))}:void 0,role:ie?"button":void 0,tabIndex:ie?0:void 0,style:{display:"flex",alignItems:"center",cursor:ie?"pointer":"default",...j},children:[S.jsx("span",{className:bt.headerText,children:o(N.column.columnDef.header)}),N.column.id!=="ctrl"?S.jsx("span",{className:bt.sortIconContainer,children:V?S.jsx(ms,{size:14,className:V==="desc"?"":bt.rotate180}):null}):null]},N.id)})},L.id))})}),S.jsx(Ax,{style:{height:r-50,width:"100%"},onScroll:H,rowCount:D.length,rowHeight:44,rowComponent:B,rowProps:{}})]}),S.jsx(Dx,{confirm:"disconnect",isOpen:d,onRequestClose:()=>h(!1),primaryButtonOnTap:U}),S.jsx(ise,{isOpen:!!g,onRequestClose:()=>m(null),connection:g})]})}function Wt(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 ose=typeof Symbol=="function"&&Symbol.observable||"@@observable",FM=ose,BM=()=>Math.random().toString(36).substring(7).split("").join("."),sse={INIT:`@@redux/INIT${BM()}`,REPLACE:`@@redux/REPLACE${BM()}`},HM=sse;function ase(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function _k(e,t,n){if(typeof e!="function")throw new Error(Wt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Wt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Wt(1));return n(_k)(e,t)}let i=e,r=t,o=new Map,a=o,c=0,u=!1;function d(){a===o&&(a=new Map,o.forEach((_,O)=>{a.set(O,_)}))}function h(){if(u)throw new Error(Wt(3));return r}function g(_){if(typeof _!="function")throw new Error(Wt(4));if(u)throw new Error(Wt(5));let O=!0;d();const R=c++;return a.set(R,_),function(){if(O){if(u)throw new Error(Wt(6));O=!1,d(),a.delete(R),o=null}}}function m(_){if(!ase(_))throw new Error(Wt(7));if(typeof _.type>"u")throw new Error(Wt(8));if(typeof _.type!="string")throw new Error(Wt(17));if(u)throw new Error(Wt(9));try{u=!0,r=i(r,_)}finally{u=!1}return(o=a).forEach(R=>{R()}),_}function y(_){if(typeof _!="function")throw new Error(Wt(10));i=_,m({type:HM.REPLACE})}function b(){const _=g;return{subscribe(O){if(typeof O!="object"||O===null)throw new Error(Wt(11));function R(){const M=O;M.next&&M.next(h())}return R(),{unsubscribe:_(R)}},[FM](){return this}}}return m({type:HM.INIT}),{dispatch:m,subscribe:g,getState:h,replaceReducer:y,[FM]:b}}function VM(e,t){return function(...n){return t(e.apply(this,n))}}function UM(e,t){if(typeof e=="function")return VM(e,t);if(typeof e!="object"||e===null)throw new Error(Wt(16));const n={};for(const i in e){const r=e[i];typeof r=="function"&&(n[i]=VM(r,t))}return n}function Ck(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function lse(...e){return t=>(n,i)=>{const r=t(n,i);let o=()=>{throw new Error(Wt(15))};const a={getState:r.getState,dispatch:(u,...d)=>o(u,...d)},c=e.map(u=>u(a));return o=Ck(...c)(r.dispatch),{...r,dispatch:o}}}var Xv={exports:{}},Qv={};var WM;function cse(){if(WM)return Qv;WM=1;var e=xs();function t(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,r=e.useRef,o=e.useEffect,a=e.useMemo,c=e.useDebugValue;return Qv.useSyncExternalStoreWithSelector=function(u,d,h,g,m){var y=r(null);if(y.current===null){var b={hasValue:!1,value:null};y.current=b}else b=y.current;y=a(function(){function _(D){if(!O){if(O=!0,R=D,D=g(D),m!==void 0&&b.hasValue){var P=b.value;if(m(P,D))return T=P}return T=D}if(P=T,n(R,D))return P;var I=g(D);return m!==void 0&&m(P,I)?(R=D,P):(R=D,T=I)}var O=!1,R,T,M=h===void 0?null:h;return[function(){return _(d())},M===null?void 0:function(){return _(M())}]},[d,h,g,m]);var w=i(u,y[0],y[1]);return o(function(){b.hasValue=!0,b.value=w},[w]),c(w),w},Qv}var GM;function use(){return GM||(GM=1,Xv.exports=cse()),Xv.exports}use();var fse=C.version.startsWith("19"),dse=Symbol.for(fse?"react.transitional.element":"react.element"),hse=Symbol.for("react.portal"),pse=Symbol.for("react.fragment"),gse=Symbol.for("react.strict_mode"),mse=Symbol.for("react.profiler"),yse=Symbol.for("react.consumer"),vse=Symbol.for("react.context"),Ok=Symbol.for("react.forward_ref"),bse=Symbol.for("react.suspense"),xse=Symbol.for("react.suspense_list"),YS=Symbol.for("react.memo"),Sse=Symbol.for("react.lazy"),wse=Ok,_se=YS;function Cse(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case dse:switch(e=e.type,e){case pse:case mse:case gse:case bse:case xse:return e;default:switch(e=e&&e.$$typeof,e){case vse:case Ok:case Sse:case YS:return e;case yse:return e;default:return t}}case hse:return t}}}function Ose(e){return Cse(e)===YS}function Ese(e,t,n,i,{areStatesEqual:r,areOwnPropsEqual:o,areStatePropsEqual:a}){let c=!1,u,d,h,g,m;function y(R,T){return u=R,d=T,h=e(u,d),g=t(i,d),m=n(h,g,d),c=!0,m}function b(){return h=e(u,d),t.dependsOnOwnProps&&(g=t(i,d)),m=n(h,g,d),m}function w(){return e.dependsOnOwnProps&&(h=e(u,d)),t.dependsOnOwnProps&&(g=t(i,d)),m=n(h,g,d),m}function _(){const R=e(u,d),T=!a(R,h);return h=R,T&&(m=n(h,g,d)),m}function O(R,T){const M=!o(T,d),D=!r(R,u,T,d);return u=R,d=T,M&&D?b():M?w():D?_():m}return function(T,M){return c?O(T,M):y(T,M)}}function Rse(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:i,...r}){const o=t(e,r),a=n(e,r),c=i(e,r);return Ese(o,a,c,e,r)}function Tse(e,t){const n={};for(const i in e){const r=e[i];typeof r=="function"&&(n[i]=(...o)=>t(r(...o)))}return n}function Px(e){return function(n){const i=e(n);function r(){return i}return r.dependsOnOwnProps=!1,r}}function qM(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function Ek(e,t){return function(i,{displayName:r}){const o=function(c,u){return o.dependsOnOwnProps?o.mapToProps(c,u):o.mapToProps(c,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(c,u){o.mapToProps=e,o.dependsOnOwnProps=qM(e);let d=o(c,u);return typeof d=="function"&&(o.mapToProps=d,o.dependsOnOwnProps=qM(d),d=o(c,u)),d},o}}function KS(e,t){return(n,i)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${i.wrappedComponentName}.`)}}function Mse(e){return e&&typeof e=="object"?Px(t=>Tse(e,t)):e?typeof e=="function"?Ek(e):KS(e,"mapDispatchToProps"):Px(t=>({dispatch:t}))}function Ase(e){return e?typeof e=="function"?Ek(e):KS(e,"mapStateToProps"):Px(()=>({}))}function Dse(e,t,n){return{...n,...e,...t}}function Pse(e){return function(n,{displayName:i,areMergedPropsEqual:r}){let o=!1,a;return function(u,d,h){const g=e(u,d,h);return o?r(g,a)||(a=g):(o=!0,a=g),a}}}function jse(e){return e?typeof e=="function"?Pse(e):KS(e,"mergeProps"):()=>Dse}function Lse(e){e()}function Nse(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Lse(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const r=t={callback:n,next:null,prev:t};return r.prev?r.prev.next=r:e=r,function(){!i||e===null||(i=!1,r.next?r.next.prev=r.prev:t=r.prev,r.prev?r.prev.next=r.next:e=r.next)}}}}var YM={notify(){},get:()=>[]};function Rk(e,t){let n,i=YM,r=0,o=!1;function a(w){h();const _=i.subscribe(w);let O=!1;return()=>{O||(O=!0,_(),g())}}function c(){i.notify()}function u(){b.onStateChange&&b.onStateChange()}function d(){return o}function h(){r++,n||(n=t?t.addNestedSub(u):e.subscribe(u),i=Nse())}function g(){r--,n&&r===0&&(n(),n=void 0,i.clear(),i=YM)}function m(){o||(o=!0,h())}function y(){o&&(o=!1,g())}const b={addNestedSub:a,notifyNestedSubs:c,handleChangeWrapper:u,isSubscribed:d,trySubscribe:m,tryUnsubscribe:y,getListeners:()=>i};return b}var kse=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ise=kse(),zse=()=>typeof navigator<"u"&&navigator.product==="ReactNative",$se=zse(),Fse=()=>Ise||$se?C.useLayoutEffect:C.useEffect,np=Fse();function KM(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Zv(e,t){if(KM(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!KM(e[n[r]],t[n[r]]))return!1;return!0}var Bse={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Hse={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Vse={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Tk={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Use={[wse]:Vse,[_se]:Tk};function XM(e){return Ose(e)?Tk:Use[e.$$typeof]||Bse}var Wse=Object.defineProperty,Gse=Object.getOwnPropertyNames,QM=Object.getOwnPropertySymbols,qse=Object.getOwnPropertyDescriptor,Yse=Object.getPrototypeOf,ZM=Object.prototype;function jx(e,t){if(typeof t!="string"){if(ZM){const o=Yse(t);o&&o!==ZM&&jx(e,o)}let n=Gse(t);QM&&(n=n.concat(QM(t)));const i=XM(e),r=XM(t);for(let o=0;o<n.length;++o){const a=n[o];if(!Hse[a]&&!(r&&r[a])&&!(i&&i[a])){const c=qse(t,a);try{Wse(e,a,c)}catch{}}}}return e}var Kse=Symbol.for("react-redux-context"),Xse=typeof globalThis<"u"?globalThis:{};function Qse(){if(!C.createContext)return{};const e=Xse[Kse]??=new Map;let t=e.get(C.createContext);return t||(t=C.createContext(null),e.set(C.createContext,t)),t}var Mk=Qse(),Zse=[null,null];function Jse(e,t,n){np(()=>e(...t),n)}function eae(e,t,n,i,r,o){e.current=i,n.current=!1,r.current&&(r.current=null,o())}function tae(e,t,n,i,r,o,a,c,u,d,h){if(!e)return()=>{};let g=!1,m=null;const y=()=>{if(g||!c.current)return;const w=t.getState();let _,O;try{_=i(w,r.current)}catch(R){O=R,m=R}O||(m=null),_===o.current?a.current||d():(o.current=_,u.current=_,a.current=!0,h())};return n.onStateChange=y,n.trySubscribe(),y(),()=>{if(g=!0,n.tryUnsubscribe(),n.onStateChange=null,m)throw m}}function nae(e,t){return e===t}function iae(e,t,n,{pure:i,areStatesEqual:r=nae,areOwnPropsEqual:o=Zv,areStatePropsEqual:a=Zv,areMergedPropsEqual:c=Zv,forwardRef:u=!1,context:d=Mk}={}){const h=d,g=Ase(e),m=Mse(t),y=jse(n),b=!!e;return _=>{const O=_.displayName||_.name||"Component",R=`Connect(${O})`,T={shouldHandleStateChanges:b,displayName:R,wrappedComponentName:O,WrappedComponent:_,initMapStateToProps:g,initMapDispatchToProps:m,initMergeProps:y,areStatesEqual:r,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:c};function M(I){const[z,U,$]=C.useMemo(()=>{const{reactReduxForwardedRef:it,...jn}=I;return[I.context,it,jn]},[I]),W=C.useMemo(()=>{let it=h;return z?.Consumer,it},[z,h]),Y=C.useContext(W),B=!!I.store&&!!I.store.getState&&!!I.store.dispatch,H=!!Y&&!!Y.store,L=B?I.store:Y.store,N=H?Y.getServerState:L.getState,j=C.useMemo(()=>Rse(L.dispatch,T),[L]),[V,ie]=C.useMemo(()=>{if(!b)return Zse;const it=Rk(L,B?void 0:Y.subscription),jn=it.notifyNestedSubs.bind(it);return[it,jn]},[L,B,Y]),ae=C.useMemo(()=>B?Y:{...Y,subscription:V},[B,Y,V]),k=C.useRef(void 0),J=C.useRef($),se=C.useRef(void 0),le=C.useRef(!1),pe=C.useRef(!1),de=C.useRef(void 0);np(()=>(pe.current=!0,()=>{pe.current=!1}),[]);const Ce=C.useMemo(()=>()=>se.current&&$===J.current?se.current:j(L.getState(),$),[L,$]),Ye=C.useMemo(()=>jn=>V?tae(b,L,V,j,J,k,le,pe,se,ie,jn):()=>{},[V]);Jse(eae,[J,k,le,$,se,ie]);let Ne;try{Ne=C.useSyncExternalStore(Ye,Ce,N?()=>j(N(),$):Ce)}catch(it){throw de.current&&(it.message+=` +The error may be correlated with this previous error: +${de.current.stack} + +`),it}np(()=>{de.current=void 0,se.current=void 0,k.current=Ne});const Bt=C.useMemo(()=>C.createElement(_,{...Ne,ref:U}),[U,_,Ne]);return C.useMemo(()=>b?C.createElement(W.Provider,{value:ae},Bt):Bt,[W,Bt,ae])}const P=C.memo(M);if(P.WrappedComponent=_,P.displayName=M.displayName=R,u){const z=C.forwardRef(function($,W){return C.createElement(P,{...$,reactReduxForwardedRef:W})});return z.displayName=R,z.WrappedComponent=_,jx(z,_)}return jx(P,_)}}var Ak=iae;function rae(e){const{children:t,context:n,serverState:i,store:r}=e,o=C.useMemo(()=>{const u=Rk(r);return{store:r,subscription:u,getServerState:i?()=>i:void 0}},[r,i]),a=C.useMemo(()=>r.getState(),[r]);np(()=>{const{subscription:u}=o;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==r.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[o,a]);const c=n||Mk;return C.createElement(c.Provider,{value:o},t)}var oae=rae,sae="Invariant failed";function aae(e,t){throw new Error(sae)}var ci=function(t){var n=t.top,i=t.right,r=t.bottom,o=t.left,a=i-o,c=r-n,u={top:n,right:i,bottom:r,left:o,width:a,height:c,x:o,y:n,center:{x:(i+o)/2,y:(r+n)/2}};return u},XS=function(t,n){return{top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}},JM=function(t,n){return{top:t.top+n.top,left:t.left+n.left,bottom:t.bottom-n.bottom,right:t.right-n.right}},lae=function(t,n){return{top:t.top+n.y,left:t.left+n.x,bottom:t.bottom+n.y,right:t.right+n.x}},Jv={top:0,right:0,bottom:0,left:0},QS=function(t){var n=t.borderBox,i=t.margin,r=i===void 0?Jv:i,o=t.border,a=o===void 0?Jv:o,c=t.padding,u=c===void 0?Jv:c,d=ci(XS(n,r)),h=ci(JM(n,a)),g=ci(JM(h,u));return{marginBox:d,borderBox:ci(n),paddingBox:h,contentBox:g,margin:r,border:a,padding:u}},qn=function(t){var n=t.slice(0,-2),i=t.slice(-2);if(i!=="px")return 0;var r=Number(n);return isNaN(r)&&aae(),r},cae=function(){return{x:window.pageXOffset,y:window.pageYOffset}},ip=function(t,n){var i=t.borderBox,r=t.border,o=t.margin,a=t.padding,c=lae(i,n);return QS({borderBox:c,border:r,margin:o,padding:a})},rp=function(t,n){return n===void 0&&(n=cae()),ip(t,n)},Dk=function(t,n){var i={top:qn(n.marginTop),right:qn(n.marginRight),bottom:qn(n.marginBottom),left:qn(n.marginLeft)},r={top:qn(n.paddingTop),right:qn(n.paddingRight),bottom:qn(n.paddingBottom),left:qn(n.paddingLeft)},o={top:qn(n.borderTopWidth),right:qn(n.borderRightWidth),bottom:qn(n.borderBottomWidth),left:qn(n.borderLeftWidth)};return QS({borderBox:t,margin:i,padding:r,border:o})},Pk=function(t){var n=t.getBoundingClientRect(),i=window.getComputedStyle(t);return Dk(n,i)},uu=function(t){var n=[],i=null,r=function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];n=c,!i&&(i=requestAnimationFrame(function(){i=null,t.apply(void 0,n)}))};return r.cancel=function(){i&&(cancelAnimationFrame(i),i=null)},r};function op(){return op=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},op.apply(null,arguments)}function jk(e,t){}jk.bind(null,"warn");jk.bind(null,"error");function so(){}function uae(e,t){return{...e,...t}}function Kn(e,t,n){const i=t.map(r=>{const o=uae(n,r.options);return e.addEventListener(r.eventName,r.fn,o),function(){e.removeEventListener(r.eventName,r.fn,o)}});return function(){i.forEach(o=>{o()})}}const fae="Invariant failed";class sp extends Error{}sp.prototype.toString=function(){return this.message};function ce(e,t){throw new sp(fae)}class dae extends q.Component{constructor(...t){super(...t),this.callbacks=null,this.unbind=so,this.onWindowError=n=>{const i=this.getCallbacks();i.isDragging()&&i.tryAbort(),n.error instanceof sp&&n.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=n=>{this.callbacks=n}}componentDidMount(){this.unbind=Kn(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(t){if(t instanceof sp){this.setState({});return}throw t}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}const hae=` + 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 +`,ap=e=>e+1,pae=e=>` + You have lifted an item in position ${ap(e.source.index)} +`,Lk=(e,t)=>{const n=e.droppableId===t.droppableId,i=ap(e.index),r=ap(t.index);return n?` + You have moved the item from position ${i} + to position ${r} + `:` + You have moved the item from position ${i} + in list ${e.droppableId} + to list ${t.droppableId} + in position ${r} + `},Nk=(e,t,n)=>t.droppableId===n.droppableId?` + The item ${e} + has been combined with ${n.draggableId}`:` + The item ${e} + in list ${t.droppableId} + has been combined with ${n.draggableId} + in list ${n.droppableId} + `,gae=e=>{const t=e.destination;if(t)return Lk(e.source,t);const n=e.combine;return n?Nk(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},eA=e=>` + The item has returned to its starting position + of ${ap(e.index)} +`,mae=e=>{if(e.reason==="CANCEL")return` + Movement cancelled. + ${eA(e.source)} + `;const t=e.destination,n=e.combine;return t?` + You have dropped the item. + ${Lk(e.source,t)} + `:n?` + You have dropped the item. + ${Nk(e.draggableId,e.source,n)} + `:` + The item has been dropped while not over a drop area. + ${eA(e.source)} + `},dh={dragHandleUsageInstructions:hae,onDragStart:pae,onDragUpdate:gae,onDragEnd:mae};function yae(e,t){return!!(e===t||Number.isNaN(e)&&Number.isNaN(t))}function kk(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!yae(e[n],t[n]))return!1;return!0}function je(e,t){const n=C.useState(()=>({inputs:t,result:e()}))[0],i=C.useRef(!0),r=C.useRef(n),a=i.current||!!(t&&r.current.inputs&&kk(t,r.current.inputs))?r.current:{inputs:t,result:e()};return C.useEffect(()=>{i.current=!1,r.current=a},[a]),a.result}function ge(e,t){return je(()=>e,t)}const Rt={x:0,y:0},jt=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),Rn=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),ao=(e,t)=>e.x===t.x&&e.y===t.y,ll=e=>({x:e.x!==0?-e.x:0,y:e.y!==0?-e.y:0}),bs=(e,t,n=0)=>e==="x"?{x:t,y:n}:{x:n,y:t},fu=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),tA=(e,t)=>Math.min(...t.map(n=>fu(e,n))),Ik=e=>t=>({x:e(t.x),y:e(t.y)});var vae=(e,t)=>{const n=ci({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};const ku=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),nA=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}],bae={top:0,right:0,bottom:0,left:0},xae=(e,t)=>t?ku(e,t.scroll.diff.displacement):e,Sae=(e,t,n)=>n&&n.increasedBy?{...e,[t.end]:e[t.end]+n.increasedBy[t.line]}:e,wae=(e,t)=>t&&t.shouldClipSubject?vae(t.pageMarginBox,e):ci(e);var Ba=({page:e,withPlaceholder:t,axis:n,frame:i})=>{const r=xae(e.marginBox,i),o=Sae(r,n,t),a=wae(o,i);return{page:e,withPlaceholder:t,active:a}},ZS=(e,t)=>{e.frame||ce();const n=e.frame,i=Rn(t,n.scroll.initial),r=ll(i),o={...n,scroll:{initial:n.scroll.initial,current:t,diff:{value:i,displacement:r},max:n.scroll.max}},a=Ba({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return{...e,frame:o,subject:a}};function Et(e,t=kk){let n=null;function i(...r){if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;const o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}const zk=Et(e=>e.reduce((t,n)=>(t[n.descriptor.id]=n,t),{})),$k=Et(e=>e.reduce((t,n)=>(t[n.descriptor.id]=n,t),{})),pg=Et(e=>Object.values(e)),_ae=Et(e=>Object.values(e));var cl=Et((e,t)=>_ae(t).filter(i=>e===i.descriptor.droppableId).sort((i,r)=>i.descriptor.index-r.descriptor.index));function JS(e){return e.at&&e.at.type==="REORDER"?e.at.destination:null}function gg(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}var mg=Et((e,t)=>t.filter(n=>n.descriptor.id!==e.descriptor.id)),Cae=({isMovingForward:e,draggable:t,destination:n,insideDestination:i,previousImpact:r})=>{if(!n.isCombineEnabled||!JS(r))return null;function a(y){const b={type:"COMBINE",combine:{draggableId:y,droppableId:n.descriptor.id}};return{...r,at:b}}const c=r.displaced.all,u=c.length?c[0]:null;if(e)return u?a(u):null;const d=mg(t,i);if(!u){if(!d.length)return null;const y=d[d.length-1];return a(y.descriptor.id)}const h=d.findIndex(y=>y.descriptor.id===u);h===-1&&ce();const g=h-1;if(g<0)return null;const m=d[g];return a(m.descriptor.id)},ul=(e,t)=>e.descriptor.droppableId===t.descriptor.id;const Fk={point:Rt,value:0},du={invisible:{},visible:{},all:[]},Oae={displaced:du,displacedBy:Fk,at:null};var Zn=(e,t)=>n=>e<=n&&n<=t,Bk=e=>{const t=Zn(e.top,e.bottom),n=Zn(e.left,e.right);return i=>{if(t(i.top)&&t(i.bottom)&&n(i.left)&&n(i.right))return!0;const o=t(i.top)||t(i.bottom),a=n(i.left)||n(i.right);if(o&&a)return!0;const u=i.top<e.top&&i.bottom>e.bottom,d=i.left<e.left&&i.right>e.right;return u&&d?!0:u&&a||d&&o}},Eae=e=>{const t=Zn(e.top,e.bottom),n=Zn(e.left,e.right);return i=>t(i.top)&&t(i.bottom)&&n(i.left)&&n(i.right)};const ew={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Hk={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};var Rae=e=>t=>{const n=Zn(t.top,t.bottom),i=Zn(t.left,t.right);return r=>e===ew?n(r.top)&&n(r.bottom):i(r.left)&&i(r.right)};const Tae=(e,t)=>{const n=t.frame?t.frame.scroll.diff.displacement:Rt;return ku(e,n)},Mae=(e,t,n)=>t.subject.active?n(t.subject.active)(e):!1,Aae=(e,t,n)=>n(t)(e),tw=({target:e,destination:t,viewport:n,withDroppableDisplacement:i,isVisibleThroughFrameFn:r})=>{const o=i?Tae(e,t):e;return Mae(o,t,r)&&Aae(o,n,r)},Dae=e=>tw({...e,isVisibleThroughFrameFn:Bk}),Vk=e=>tw({...e,isVisibleThroughFrameFn:Eae}),Pae=e=>tw({...e,isVisibleThroughFrameFn:Rae(e.destination.axis)}),jae=(e,t,n)=>{if(typeof n=="boolean")return n;if(!t)return!0;const{invisible:i,visible:r}=t;if(i[e])return!1;const o=r[e];return o?o.shouldAnimate:!0};function Lae(e,t){const n=e.page.marginBox,i={top:t.point.y,right:0,bottom:0,left:t.point.x};return ci(XS(n,i))}function hu({afterDragging:e,destination:t,displacedBy:n,viewport:i,forceShouldAnimate:r,last:o}){return e.reduce(function(c,u){const d=Lae(u,n),h=u.descriptor.id;if(c.all.push(h),!Dae({target:d,destination:t,viewport:i,withDroppableDisplacement:!0}))return c.invisible[u.descriptor.id]=!0,c;const m=jae(h,o,r),y={draggableId:h,shouldAnimate:m};return c.visible[h]=y,c},{all:[],visible:{},invisible:{}})}function Nae(e,t){if(!e.length)return 0;const n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}function iA({insideDestination:e,inHomeList:t,displacedBy:n,destination:i}){const r=Nae(e,{inHomeList:t});return{displaced:du,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:r}}}}function lp({draggable:e,insideDestination:t,destination:n,viewport:i,displacedBy:r,last:o,index:a,forceShouldAnimate:c}){const u=ul(e,n);if(a==null)return iA({insideDestination:t,inHomeList:u,displacedBy:r,destination:n});const d=t.find(b=>b.descriptor.index===a);if(!d)return iA({insideDestination:t,inHomeList:u,displacedBy:r,destination:n});const h=mg(e,t),g=t.indexOf(d),m=h.slice(g);return{displaced:hu({afterDragging:m,destination:n,displacedBy:r,last:o,viewport:i.frame,forceShouldAnimate:c}),displacedBy:r,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:a}}}}function bo(e,t){return!!t.effected[e]}var kae=({isMovingForward:e,destination:t,draggables:n,combine:i,afterCritical:r})=>{if(!t.isCombineEnabled)return null;const o=i.draggableId,c=n[o].descriptor.index;return bo(o,r)?e?c:c-1:e?c+1:c},Iae=({isMovingForward:e,isInHomeList:t,insideDestination:n,location:i})=>{if(!n.length)return null;const r=i.index,o=e?r+1:r-1,a=n[0].descriptor.index,c=n[n.length-1].descriptor.index,u=t?c:c+1;return o<a||o>u?null:o},zae=({isMovingForward:e,isInHomeList:t,draggable:n,draggables:i,destination:r,insideDestination:o,previousImpact:a,viewport:c,afterCritical:u})=>{const d=a.at;if(d||ce(),d.type==="REORDER"){const g=Iae({isMovingForward:e,isInHomeList:t,location:d.destination,insideDestination:o});return g==null?null:lp({draggable:n,insideDestination:o,destination:r,viewport:c,last:a.displaced,displacedBy:a.displacedBy,index:g})}const h=kae({isMovingForward:e,destination:r,displaced:a.displaced,draggables:i,combine:d.combine,afterCritical:u});return h==null?null:lp({draggable:n,insideDestination:o,destination:r,viewport:c,last:a.displaced,displacedBy:a.displacedBy,index:h})},$ae=({displaced:e,afterCritical:t,combineWith:n,displacedBy:i})=>{const r=!!(e.visible[n]||e.invisible[n]);return bo(n,t)?r?Rt:ll(i.point):r?i.point:Rt},Fae=({afterCritical:e,impact:t,draggables:n})=>{const i=gg(t);i||ce();const r=i.draggableId,o=n[r].page.borderBox.center,a=$ae({displaced:t.displaced,afterCritical:e,combineWith:r,displacedBy:t.displacedBy});return jt(o,a)};const Uk=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,Bae=(e,t)=>t.margin[e.end]+t.borderBox[e.size]/2,nw=(e,t,n)=>t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2,rA=({axis:e,moveRelativeTo:t,isMoving:n})=>bs(e.line,t.marginBox[e.end]+Uk(e,n),nw(e,t.marginBox,n)),oA=({axis:e,moveRelativeTo:t,isMoving:n})=>bs(e.line,t.marginBox[e.start]-Bae(e,n),nw(e,t.marginBox,n)),Hae=({axis:e,moveInto:t,isMoving:n})=>bs(e.line,t.contentBox[e.start]+Uk(e,n),nw(e,t.contentBox,n));var Vae=({impact:e,draggable:t,draggables:n,droppable:i,afterCritical:r})=>{const o=cl(i.descriptor.id,n),a=t.page,c=i.axis;if(!o.length)return Hae({axis:c,moveInto:i.page,isMoving:a});const{displaced:u,displacedBy:d}=e,h=u.all[0];if(h){const m=n[h];if(bo(h,r))return oA({axis:c,moveRelativeTo:m.page,isMoving:a});const y=ip(m.page,d.point);return oA({axis:c,moveRelativeTo:y,isMoving:a})}const g=o[o.length-1];if(g.descriptor.id===t.descriptor.id)return a.borderBox.center;if(bo(g.descriptor.id,r)){const m=ip(g.page,ll(r.displacedBy.point));return rA({axis:c,moveRelativeTo:m,isMoving:a})}return rA({axis:c,moveRelativeTo:g.page,isMoving:a})},Lx=(e,t)=>{const n=e.frame;return n?jt(t,n.scroll.diff.displacement):t};const Uae=({impact:e,draggable:t,droppable:n,draggables:i,afterCritical:r})=>{const o=t.page.borderBox.center,a=e.at;return!n||!a?o:a.type==="REORDER"?Vae({impact:e,draggable:t,draggables:i,droppable:n,afterCritical:r}):Fae({impact:e,draggables:i,afterCritical:r})};var yg=e=>{const t=Uae(e),n=e.droppable;return n?Lx(n,t):t},Wk=(e,t)=>{const n=Rn(t,e.scroll.initial),i=ll(n);return{frame:ci({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:i}}}};function sA(e,t){return e.map(n=>t[n])}function Wae(e,t){for(let n=0;n<t.length;n++){const i=t[n].visible[e];if(i)return i}return null}var Gae=({impact:e,viewport:t,destination:n,draggables:i,maxScrollChange:r})=>{const o=Wk(t,jt(t.scroll.current,r)),a=n.frame?ZS(n,jt(n.frame.scroll.current,r)):n,c=e.displaced,u=hu({afterDragging:sA(c.all,i),destination:n,displacedBy:e.displacedBy,viewport:o.frame,last:c,forceShouldAnimate:!1}),d=hu({afterDragging:sA(c.all,i),destination:a,displacedBy:e.displacedBy,viewport:t.frame,last:c,forceShouldAnimate:!1}),h={},g={},m=[c,u,d];return c.all.forEach(b=>{const w=Wae(b,m);if(w){g[b]=w;return}h[b]=!0}),{...e,displaced:{all:c.all,invisible:h,visible:g}}},qae=(e,t)=>jt(e.scroll.diff.displacement,t),iw=({pageBorderBoxCenter:e,draggable:t,viewport:n})=>{const i=qae(n,e),r=Rn(i,t.page.borderBox.center);return jt(t.client.borderBox.center,r)},Gk=({draggable:e,destination:t,newPageBorderBoxCenter:n,viewport:i,withDroppableDisplacement:r,onlyOnMainAxis:o=!1})=>{const a=Rn(n,e.page.borderBox.center),u={target:ku(e.page.borderBox,a),destination:t,withDroppableDisplacement:r,viewport:i};return o?Pae(u):Vk(u)},Yae=({isMovingForward:e,draggable:t,destination:n,draggables:i,previousImpact:r,viewport:o,previousPageBorderBoxCenter:a,previousClientSelection:c,afterCritical:u})=>{if(!n.isEnabled)return null;const d=cl(n.descriptor.id,i),h=ul(t,n),g=Cae({isMovingForward:e,draggable:t,destination:n,insideDestination:d,previousImpact:r})||zae({isMovingForward:e,isInHomeList:h,draggable:t,draggables:i,destination:n,insideDestination:d,previousImpact:r,viewport:o,afterCritical:u});if(!g)return null;const m=yg({impact:g,draggable:t,droppable:n,draggables:i,afterCritical:u});if(Gk({draggable:t,destination:n,newPageBorderBoxCenter:m,viewport:o.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:iw({pageBorderBoxCenter:m,draggable:t,viewport:o}),impact:g,scrollJumpRequest:null};const b=Rn(m,a),w=Gae({impact:g,viewport:o,destination:n,draggables:i,maxScrollChange:b});return{clientSelection:c,impact:w,scrollJumpRequest:b}};const Vt=e=>{const t=e.subject.active;return t||ce(),t};var Kae=({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:i,viewport:r})=>{const o=n.subject.active;if(!o)return null;const a=n.axis,c=Zn(o[a.start],o[a.end]),u=pg(i).filter(h=>h!==n).filter(h=>h.isEnabled).filter(h=>!!h.subject.active).filter(h=>Bk(r.frame)(Vt(h))).filter(h=>{const g=Vt(h);return e?o[a.crossAxisEnd]<g[a.crossAxisEnd]:g[a.crossAxisStart]<o[a.crossAxisStart]}).filter(h=>{const g=Vt(h),m=Zn(g[a.start],g[a.end]);return c(g[a.start])||c(g[a.end])||m(o[a.start])||m(o[a.end])}).sort((h,g)=>{const m=Vt(h)[a.crossAxisStart],y=Vt(g)[a.crossAxisStart];return e?m-y:y-m}).filter((h,g,m)=>Vt(h)[a.crossAxisStart]===Vt(m[0])[a.crossAxisStart]);if(!u.length)return null;if(u.length===1)return u[0];const d=u.filter(h=>Zn(Vt(h)[a.start],Vt(h)[a.end])(t[a.line]));return d.length===1?d[0]:d.length>1?d.sort((h,g)=>Vt(h)[a.start]-Vt(g)[a.start])[0]:u.sort((h,g)=>{const m=tA(t,nA(Vt(h))),y=tA(t,nA(Vt(g)));return m!==y?m-y:Vt(h)[a.start]-Vt(g)[a.start]})[0]};const aA=(e,t)=>{const n=e.page.borderBox.center;return bo(e.descriptor.id,t)?Rn(n,t.displacedBy.point):n},Xae=(e,t)=>{const n=e.page.borderBox;return bo(e.descriptor.id,t)?ku(n,ll(t.displacedBy.point)):n};var Qae=({pageBorderBoxCenter:e,viewport:t,destination:n,insideDestination:i,afterCritical:r})=>i.filter(a=>Vk({target:Xae(a,r),destination:n,viewport:t.frame,withDroppableDisplacement:!0})).sort((a,c)=>{const u=fu(e,Lx(n,aA(a,r))),d=fu(e,Lx(n,aA(c,r)));return u<d?-1:d<u?1:a.descriptor.index-c.descriptor.index})[0]||null,Iu=Et(function(t,n){const i=n[t.line];return{value:i,point:bs(t.line,i)}});const Zae=(e,t,n)=>{const i=e.axis;if(e.descriptor.mode==="virtual")return bs(i.line,t[i.line]);const r=e.subject.page.contentBox[i.size],u=cl(e.descriptor.id,n).reduce((d,h)=>d+h.client.marginBox[i.size],0)+t[i.line]-r;return u<=0?null:bs(i.line,u)},qk=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),Yk=(e,t,n)=>{const i=e.frame;ul(t,e)&&ce(),e.subject.withPlaceholder&&ce();const r=Iu(e.axis,t.displaceBy).point,o=Zae(e,r,n),a={placeholderSize:r,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!i){const h=Ba({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return{...e,subject:h}}const c=o?jt(i.scroll.max,o):i.scroll.max,u=qk(i,c),d=Ba({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:u});return{...e,subject:d,frame:u}},Jae=e=>{const t=e.subject.withPlaceholder;t||ce();const n=e.frame;if(!n){const a=Ba({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:a}}const i=t.oldFrameMaxScroll;i||ce();const r=qk(n,i),o=Ba({page:e.subject.page,axis:e.axis,frame:r,withPlaceholder:null});return{...e,subject:o,frame:r}};var ele=({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:n,draggable:i,draggables:r,destination:o,viewport:a,afterCritical:c})=>{if(!t){if(n.length)return null;const g={displaced:du,displacedBy:Fk,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:0}}},m=yg({impact:g,draggable:i,droppable:o,draggables:r,afterCritical:c}),y=ul(i,o)?o:Yk(o,i,r);return Gk({draggable:i,destination:y,newPageBorderBoxCenter:m,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?g:null}const u=e[o.axis.line]<=t.page.borderBox.center[o.axis.line],d=(()=>{const g=t.descriptor.index;return t.descriptor.id===i.descriptor.id||u?g:g+1})(),h=Iu(o.axis,i.displaceBy);return lp({draggable:i,insideDestination:n,destination:o,viewport:a,displacedBy:h,last:du,index:d})},tle=({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:n,isOver:i,draggables:r,droppables:o,viewport:a,afterCritical:c})=>{const u=Kae({isMovingForward:e,pageBorderBoxCenter:t,source:i,droppables:o,viewport:a});if(!u)return null;const d=cl(u.descriptor.id,r),h=Qae({pageBorderBoxCenter:t,viewport:a,destination:u,insideDestination:d,afterCritical:c}),g=ele({previousPageBorderBoxCenter:t,destination:u,draggable:n,draggables:r,moveRelativeTo:h,insideDestination:d,viewport:a,afterCritical:c});if(!g)return null;const m=yg({impact:g,draggable:n,droppable:u,draggables:r,afterCritical:c});return{clientSelection:iw({pageBorderBoxCenter:m,draggable:n,viewport:a}),impact:g,scrollJumpRequest:null}},Mn=e=>{const t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null};const nle=(e,t)=>{const n=Mn(e);return n?t[n]:null};var ile=({state:e,type:t})=>{const n=nle(e.impact,e.dimensions.droppables),i=!!n,r=e.dimensions.droppables[e.critical.droppable.id],o=n||r,a=o.axis.direction,c=a==="vertical"&&(t==="MOVE_UP"||t==="MOVE_DOWN")||a==="horizontal"&&(t==="MOVE_LEFT"||t==="MOVE_RIGHT");if(c&&!i)return null;const u=t==="MOVE_DOWN"||t==="MOVE_RIGHT",d=e.dimensions.draggables[e.critical.draggable.id],h=e.current.page.borderBoxCenter,{draggables:g,droppables:m}=e.dimensions;return c?Yae({isMovingForward:u,previousPageBorderBoxCenter:h,draggable:d,destination:o,draggables:g,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):tle({isMovingForward:u,previousPageBorderBoxCenter:h,draggable:d,isOver:o,draggables:g,droppables:m,viewport:e.viewport,afterCritical:e.afterCritical})};function Zo(e){return e.phase==="DRAGGING"||e.phase==="COLLECTING"}function Kk(e){const t=Zn(e.top,e.bottom),n=Zn(e.left,e.right);return function(r){return t(r.y)&&n(r.x)}}function rle(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function ole({pageBorderBox:e,draggable:t,candidates:n}){const i=t.page.borderBox.center,r=n.map(o=>{const a=o.axis,c=bs(o.axis.line,e.center[a.line],o.page.borderBox.center[a.crossAxisLine]);return{id:o.descriptor.id,distance:fu(i,c)}}).sort((o,a)=>a.distance-o.distance);return r[0]?r[0].id:null}function sle({pageBorderBox:e,draggable:t,droppables:n}){const i=pg(n).filter(r=>{if(!r.isEnabled)return!1;const o=r.subject.active;if(!o||!rle(e,o))return!1;if(Kk(o)(e.center))return!0;const a=r.axis,c=o.center[a.crossAxisLine],u=e[a.crossAxisStart],d=e[a.crossAxisEnd],h=Zn(o[a.crossAxisStart],o[a.crossAxisEnd]),g=h(u),m=h(d);return!g&&!m?!0:g?u<c:d>c});return i.length?i.length===1?i[0].descriptor.id:ole({pageBorderBox:e,draggable:t,candidates:i}):null}const Xk=(e,t)=>ci(ku(e,t));var ale=(e,t)=>{const n=e.frame;return n?Xk(t,n.scroll.diff.value):t};function Qk({displaced:e,id:t}){return!!(e.visible[t]||e.invisible[t])}function lle({draggable:e,closest:t,inHomeList:n}){return t?n&&t.descriptor.index>e.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}var cle=({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:n,insideDestination:i,last:r,viewport:o,afterCritical:a})=>{const c=n.axis,u=Iu(n.axis,t.displaceBy),d=u.value,h=e[c.start],g=e[c.end],y=mg(t,i).find(w=>{const _=w.descriptor.id,O=w.page.borderBox.center[c.line],R=bo(_,a),T=Qk({displaced:r,id:_});return R?T?g<=O:h<O-d:T?g<=O+d:h<O})||null,b=lle({draggable:t,closest:y,inHomeList:ul(t,n)});return lp({draggable:t,insideDestination:i,destination:n,viewport:o,last:r,displacedBy:u,index:b})};const ule=4;var fle=({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:n,destination:i,insideDestination:r,afterCritical:o})=>{if(!i.isCombineEnabled)return null;const a=i.axis,c=Iu(i.axis,e.displaceBy),u=c.value,d=t[a.start],h=t[a.end],m=mg(e,r).find(b=>{const w=b.descriptor.id,_=b.page.borderBox,R=_[a.size]/ule,T=bo(w,o),M=Qk({displaced:n.displaced,id:w});return T?M?h>_[a.start]+R&&h<_[a.end]-R:d>_[a.start]-u+R&&d<_[a.end]-u-R:M?h>_[a.start]+u+R&&h<_[a.end]+u-R:d>_[a.start]+R&&d<_[a.end]-R});return m?{displacedBy:c,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:m.descriptor.id,droppableId:i.descriptor.id}}}:null},Zk=({pageOffset:e,draggable:t,draggables:n,droppables:i,previousImpact:r,viewport:o,afterCritical:a})=>{const c=Xk(t.page.borderBox,e),u=sle({pageBorderBox:c,draggable:t,droppables:i});if(!u)return Oae;const d=i[u],h=cl(d.descriptor.id,n),g=ale(d,c);return fle({pageBorderBoxWithDroppableScroll:g,draggable:t,previousImpact:r,destination:d,insideDestination:h,afterCritical:a})||cle({pageBorderBoxWithDroppableScroll:g,draggable:t,destination:d,insideDestination:h,last:r.displaced,viewport:o,afterCritical:a})},rw=(e,t)=>({...e,[t.descriptor.id]:t});const dle=({previousImpact:e,impact:t,droppables:n})=>{const i=Mn(e),r=Mn(t);if(!i||i===r)return n;const o=n[i];if(!o.subject.withPlaceholder)return n;const a=Jae(o);return rw(n,a)};var hle=({draggable:e,draggables:t,droppables:n,previousImpact:i,impact:r})=>{const o=dle({previousImpact:i,impact:r,droppables:n}),a=Mn(r);if(!a)return o;const c=n[a];if(ul(e,c)||c.subject.withPlaceholder)return o;const u=Yk(c,e,t);return rw(o,u)},Vc=({state:e,clientSelection:t,dimensions:n,viewport:i,impact:r,scrollJumpRequest:o})=>{const a=i||e.viewport,c=n||e.dimensions,u=t||e.current.client.selection,d=Rn(u,e.initial.client.selection),h={offset:d,selection:u,borderBoxCenter:jt(e.initial.client.borderBoxCenter,d)},g={selection:jt(h.selection,a.scroll.current),borderBoxCenter:jt(h.borderBoxCenter,a.scroll.current),offset:jt(h.offset,a.scroll.diff.value)},m={client:h,page:g};if(e.phase==="COLLECTING")return{...e,dimensions:c,viewport:a,current:m};const y=c.draggables[e.critical.draggable.id],b=r||Zk({pageOffset:g.offset,draggable:y,draggables:c.draggables,droppables:c.droppables,previousImpact:e.impact,viewport:a,afterCritical:e.afterCritical}),w=hle({draggable:y,impact:b,previousImpact:e.impact,draggables:c.draggables,droppables:c.droppables});return{...e,current:m,dimensions:{draggables:c.draggables,droppables:w},impact:b,viewport:a,scrollJumpRequest:o||null,forceShouldAnimate:o?!1:null}};function ple(e,t){return e.map(n=>t[n])}var Jk=({impact:e,viewport:t,draggables:n,destination:i,forceShouldAnimate:r})=>{const o=e.displaced,a=ple(o.all,n),c=hu({afterDragging:a,destination:i,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:r,last:o});return{...e,displaced:c}},e3=({impact:e,draggable:t,droppable:n,draggables:i,viewport:r,afterCritical:o})=>{const a=yg({impact:e,draggable:t,draggables:i,droppable:n,afterCritical:o});return iw({pageBorderBoxCenter:a,draggable:t,viewport:r})},t3=({state:e,dimensions:t,viewport:n})=>{e.movementMode!=="SNAP"&&ce();const i=e.impact,r=n||e.viewport,o=t||e.dimensions,{draggables:a,droppables:c}=o,u=a[e.critical.draggable.id],d=Mn(i);d||ce();const h=c[d],g=Jk({impact:i,viewport:r,destination:h,draggables:a}),m=e3({impact:g,draggable:u,droppable:h,draggables:a,viewport:r,afterCritical:e.afterCritical});return Vc({impact:g,clientSelection:m,state:e,dimensions:o,viewport:r})},gle=e=>({index:e.index,droppableId:e.droppableId}),n3=({draggable:e,home:t,draggables:n,viewport:i})=>{const r=Iu(t.axis,e.displaceBy),o=cl(t.descriptor.id,n),a=o.indexOf(e);a===-1&&ce();const c=o.slice(a+1),u=c.reduce((m,y)=>(m[y.descriptor.id]=!0,m),{}),d={inVirtualList:t.descriptor.mode==="virtual",displacedBy:r,effected:u};return{impact:{displaced:hu({afterDragging:c,destination:t,displacedBy:r,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:r,at:{type:"REORDER",destination:gle(e.descriptor)}},afterCritical:d}},mle=(e,t)=>({draggables:e.draggables,droppables:rw(e.droppables,t)}),yle=({draggable:e,offset:t,initialWindowScroll:n})=>{const i=ip(e.client,t),r=rp(i,n);return{...e,placeholder:{...e.placeholder,client:i},client:i,page:r}},vle=e=>{const t=e.frame;return t||ce(),t},ble=({additions:e,updatedDroppables:t,viewport:n})=>{const i=n.scroll.diff.value;return e.map(r=>{const o=r.descriptor.droppableId,a=t[o],u=vle(a).scroll.diff.value,d=jt(i,u);return yle({draggable:r,offset:d,initialWindowScroll:n.scroll.initial})})},xle=({state:e,published:t})=>{const n=t.modified.map(O=>{const R=e.dimensions.droppables[O.droppableId];return ZS(R,O.scroll)}),i={...e.dimensions.droppables,...zk(n)},r=$k(ble({additions:t.additions,updatedDroppables:i,viewport:e.viewport})),o={...e.dimensions.draggables,...r};t.removals.forEach(O=>{delete o[O]});const a={droppables:i,draggables:o},c=Mn(e.impact),u=c?a.droppables[c]:null,d=a.draggables[e.critical.draggable.id],h=a.droppables[e.critical.droppable.id],{impact:g,afterCritical:m}=n3({draggable:d,home:h,draggables:o,viewport:e.viewport}),y=u&&u.isCombineEnabled?e.impact:g,b=Zk({pageOffset:e.current.page.offset,draggable:a.draggables[e.critical.draggable.id],draggables:a.draggables,droppables:a.droppables,previousImpact:y,viewport:e.viewport,afterCritical:m}),w={...e,phase:"DRAGGING",impact:b,onLiftImpact:g,dimensions:a,afterCritical:m,forceShouldAnimate:!1};return e.phase==="COLLECTING"?w:{...w,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}};const Nx=e=>e.movementMode==="SNAP",eb=(e,t,n)=>{const i=mle(e.dimensions,t);return!Nx(e)||n?Vc({state:e,dimensions:i}):t3({state:e,dimensions:i})};function tb(e){return e.isDragging&&e.movementMode==="SNAP"?{...e,scrollJumpRequest:null}:e}const lA={phase:"IDLE",completed:null,shouldFlush:!1};var Sle=(e=lA,t)=>{if(t.type==="FLUSH")return{...lA,shouldFlush:!0};if(t.type==="INITIAL_PUBLISH"){e.phase!=="IDLE"&&ce();const{critical:n,clientSelection:i,viewport:r,dimensions:o,movementMode:a}=t.payload,c=o.draggables[n.draggable.id],u=o.droppables[n.droppable.id],d={selection:i,borderBoxCenter:c.client.borderBox.center,offset:Rt},h={client:d,page:{selection:jt(d.selection,r.scroll.initial),borderBoxCenter:jt(d.selection,r.scroll.initial),offset:jt(d.selection,r.scroll.diff.value)}},g=pg(o.droppables).every(w=>!w.isFixedOnPage),{impact:m,afterCritical:y}=n3({draggable:c,home:u,draggables:o.draggables,viewport:r});return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:a,dimensions:o,initial:h,current:h,isWindowScrollAllowed:g,impact:m,afterCritical:y,onLiftImpact:m,viewport:r,scrollJumpRequest:null,forceShouldAnimate:null}}if(t.type==="COLLECTION_STARTING")return e.phase==="COLLECTING"||e.phase==="DROP_PENDING"?e:(e.phase!=="DRAGGING"&&ce(),{...e,phase:"COLLECTING"});if(t.type==="PUBLISH_WHILE_DRAGGING")return e.phase==="COLLECTING"||e.phase==="DROP_PENDING"||ce(),xle({state:e,published:t.payload});if(t.type==="MOVE"){if(e.phase==="DROP_PENDING")return e;Zo(e)||ce();const{client:n}=t.payload;return ao(n,e.current.client.selection)?e:Vc({state:e,clientSelection:n,impact:Nx(e)?e.impact:null})}if(t.type==="UPDATE_DROPPABLE_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="COLLECTING")return tb(e);Zo(e)||ce();const{id:n,newScroll:i}=t.payload,r=e.dimensions.droppables[n];if(!r)return e;const o=ZS(r,i);return eb(e,o,!1)}if(t.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(e.phase==="DROP_PENDING")return e;Zo(e)||ce();const{id:n,isEnabled:i}=t.payload,r=e.dimensions.droppables[n];r||ce(),r.isEnabled===i&&ce();const o={...r,isEnabled:i};return eb(e,o,!0)}if(t.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(e.phase==="DROP_PENDING")return e;Zo(e)||ce();const{id:n,isCombineEnabled:i}=t.payload,r=e.dimensions.droppables[n];r||ce(),r.isCombineEnabled===i&&ce();const o={...r,isCombineEnabled:i};return eb(e,o,!0)}if(t.type==="MOVE_BY_WINDOW_SCROLL"){if(e.phase==="DROP_PENDING"||e.phase==="DROP_ANIMATING")return e;Zo(e)||ce(),e.isWindowScrollAllowed||ce();const n=t.payload.newScroll;if(ao(e.viewport.scroll.current,n))return tb(e);const i=Wk(e.viewport,n);return Nx(e)?t3({state:e,viewport:i}):Vc({state:e,viewport:i})}if(t.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Zo(e))return e;const n=t.payload.maxScroll;if(ao(n,e.viewport.scroll.max))return e;const i={...e.viewport,scroll:{...e.viewport.scroll,max:n}};return{...e,viewport:i}}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"&&ce();const n=ile({state:e,type:t.type});return n?Vc({state:e,impact:n.impact,clientSelection:n.clientSelection,scrollJumpRequest:n.scrollJumpRequest}):e}if(t.type==="DROP_PENDING"){const n=t.payload.reason;return e.phase!=="COLLECTING"&&ce(),{...e,phase:"DROP_PENDING",isWaiting:!0,reason:n}}if(t.type==="DROP_ANIMATE"){const{completed:n,dropDuration:i,newHomeClientOffset:r}=t.payload;return e.phase==="DRAGGING"||e.phase==="DROP_PENDING"||ce(),{phase:"DROP_ANIMATING",completed:n,dropDuration:i,newHomeClientOffset:r,dimensions:e.dimensions}}if(t.type==="DROP_COMPLETE"){const{completed:n}=t.payload;return{phase:"IDLE",completed:n,shouldFlush:!1}}return e};function $e(e,t){return e instanceof Object&&"type"in e&&e.type===t}const wle=e=>({type:"BEFORE_INITIAL_CAPTURE",payload:e}),_le=e=>({type:"LIFT",payload:e}),Cle=e=>({type:"INITIAL_PUBLISH",payload:e}),Ole=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),Ele=()=>({type:"COLLECTION_STARTING",payload:null}),Rle=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),Tle=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),Mle=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),i3=e=>({type:"MOVE",payload:e}),Ale=e=>({type:"MOVE_BY_WINDOW_SCROLL",payload:e}),Dle=e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}),Ple=()=>({type:"MOVE_UP",payload:null}),jle=()=>({type:"MOVE_DOWN",payload:null}),Lle=()=>({type:"MOVE_RIGHT",payload:null}),Nle=()=>({type:"MOVE_LEFT",payload:null}),ow=()=>({type:"FLUSH",payload:null}),kle=e=>({type:"DROP_ANIMATE",payload:e}),sw=e=>({type:"DROP_COMPLETE",payload:e}),r3=e=>({type:"DROP",payload:e}),Ile=e=>({type:"DROP_PENDING",payload:e}),o3=()=>({type:"DROP_ANIMATION_FINISHED",payload:null});var zle=e=>({getState:t,dispatch:n})=>i=>r=>{if(!$e(r,"LIFT")){i(r);return}const{id:o,clientSelection:a,movementMode:c}=r.payload,u=t();u.phase==="DROP_ANIMATING"&&n(sw({completed:u.completed})),t().phase!=="IDLE"&&ce(),n(ow()),n(wle({draggableId:o,movementMode:c}));const h={draggableId:o,scrollOptions:{shouldPublishImmediately:c==="SNAP"}},{critical:g,dimensions:m,viewport:y}=e.startPublishing(h);n(Cle({critical:g,dimensions:m,clientSelection:a,movementMode:c,viewport:y}))},$le=e=>()=>t=>n=>{$e(n,"INITIAL_PUBLISH")&&e.dragging(),$e(n,"DROP_ANIMATE")&&e.dropping(n.payload.completed.result.reason),($e(n,"FLUSH")||$e(n,"DROP_COMPLETE"))&&e.resting(),t(n)};const aw={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},pu={opacity:{drop:0,combining:.7},scale:{drop:.75}},s3={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ko=`${s3.outOfTheWay}s ${aw.outOfTheWay}`,Uc={fluid:`opacity ${Ko}`,snap:`transform ${Ko}, opacity ${Ko}`,drop:e=>{const t=`${e}s ${aw.drop}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${Ko}`,placeholder:`height ${Ko}, width ${Ko}, margin ${Ko}`},cA=e=>ao(e,Rt)?void 0:`translate(${e.x}px, ${e.y}px)`,kx={moveTo:cA,drop:(e,t)=>{const n=cA(e);if(n)return t?`${n} scale(${pu.scale.drop})`:n}},{minDropTime:Ix,maxDropTime:a3}=s3,Fle=a3-Ix,uA=1500,Ble=.6;var Hle=({current:e,destination:t,reason:n})=>{const i=fu(e,t);if(i<=0)return Ix;if(i>=uA)return a3;const r=i/uA,o=Ix+Fle*r,a=n==="CANCEL"?o*Ble:o;return Number(a.toFixed(2))},Vle=({impact:e,draggable:t,dimensions:n,viewport:i,afterCritical:r})=>{const{draggables:o,droppables:a}=n,c=Mn(e),u=c?a[c]:null,d=a[t.descriptor.droppableId],h=e3({impact:e,draggable:t,draggables:o,afterCritical:r,droppable:u||d,viewport:i});return Rn(h,t.client.borderBox.center)},Ule=({draggables:e,reason:t,lastImpact:n,home:i,viewport:r,onLiftImpact:o})=>!n.at||t!=="DROP"?{impact:Jk({draggables:e,impact:o,destination:i,viewport:r,forceShouldAnimate:!0}),didDropInsideDroppable:!1}:n.at.type==="REORDER"?{impact:n,didDropInsideDroppable:!0}:{impact:{...n,displaced:du},didDropInsideDroppable:!0};const Wle=({getState:e,dispatch:t})=>n=>i=>{if(!$e(i,"DROP")){n(i);return}const r=e(),o=i.payload.reason;if(r.phase==="COLLECTING"){t(Ile({reason:o}));return}if(r.phase==="IDLE")return;r.phase==="DROP_PENDING"&&r.isWaiting&&ce(),r.phase==="DRAGGING"||r.phase==="DROP_PENDING"||ce();const c=r.critical,u=r.dimensions,d=u.draggables[r.critical.draggable.id],{impact:h,didDropInsideDroppable:g}=Ule({reason:o,lastImpact:r.impact,afterCritical:r.afterCritical,onLiftImpact:r.onLiftImpact,home:r.dimensions.droppables[r.critical.droppable.id],viewport:r.viewport,draggables:r.dimensions.draggables}),m=g?JS(h):null,y=g?gg(h):null,b={index:c.draggable.index,droppableId:c.droppable.id},w={draggableId:d.descriptor.id,type:d.descriptor.type,source:b,reason:o,mode:r.movementMode,destination:m,combine:y},_=Vle({impact:h,draggable:d,dimensions:u,viewport:r.viewport,afterCritical:r.afterCritical}),O={critical:r.critical,afterCritical:r.afterCritical,result:w,impact:h};if(!(!ao(r.current.client.offset,_)||!!w.combine)){t(sw({completed:O}));return}const T=Hle({current:r.current.client.offset,destination:_,reason:o});t(kle({newHomeClientOffset:_,dropDuration:T,completed:O}))};var l3=()=>({x:window.pageXOffset,y:window.pageYOffset});function Gle(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:t=>{t.target!==window&&t.target!==window.document||e()}}}function qle({onWindowScroll:e}){function t(){e(l3())}const n=uu(t),i=Gle(n);let r=so;function o(){return r!==so}function a(){o()&&ce(),r=Kn(window,[i])}function c(){o()||ce(),n.cancel(),r(),r=so}return{start:a,stop:c,isActive:o}}const Yle=e=>$e(e,"DROP_COMPLETE")||$e(e,"DROP_ANIMATE")||$e(e,"FLUSH"),Kle=e=>{const t=qle({onWindowScroll:n=>{e.dispatch(Ale({newScroll:n}))}});return n=>i=>{!t.isActive()&&$e(i,"INITIAL_PUBLISH")&&t.start(),t.isActive()&&Yle(i)&&t.stop(),n(i)}};var Xle=e=>{let t=!1,n=!1;const i=setTimeout(()=>{n=!0}),r=o=>{t||n||(t=!0,e(o),clearTimeout(i))};return r.wasCalled=()=>t,r},Qle=()=>{const e=[],t=r=>{const o=e.findIndex(c=>c.timerId===r);o===-1&&ce();const[a]=e.splice(o,1);a.callback()};return{add:r=>{const o=setTimeout(()=>t(o)),a={timerId:o,callback:r};e.push(a)},flush:()=>{if(!e.length)return;const r=[...e];e.length=0,r.forEach(o=>{clearTimeout(o.timerId),o.callback()})}}};const Zle=(e,t)=>e==null&&t==null?!0:e==null||t==null?!1:e.droppableId===t.droppableId&&e.index===t.index,Jle=(e,t)=>e==null&&t==null?!0:e==null||t==null?!1:e.draggableId===t.draggableId&&e.droppableId===t.droppableId,ece=(e,t)=>{if(e===t)return!0;const n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,i=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&i},vc=(e,t)=>{t()},Bd=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function nb(e,t,n,i){if(!e){n(i(t));return}const r=Xle(n);e(t,{announce:r}),r.wasCalled()||n(i(t))}var tce=(e,t)=>{const n=Qle();let i=null;const r=(g,m)=>{i&&ce(),vc("onBeforeCapture",()=>{const y=e().onBeforeCapture;y&&y({draggableId:g,mode:m})})},o=(g,m)=>{i&&ce(),vc("onBeforeDragStart",()=>{const y=e().onBeforeDragStart;y&&y(Bd(g,m))})},a=(g,m)=>{i&&ce();const y=Bd(g,m);i={mode:m,lastCritical:g,lastLocation:y.source,lastCombine:null},n.add(()=>{vc("onDragStart",()=>nb(e().onDragStart,y,t,dh.onDragStart))})},c=(g,m)=>{const y=JS(m),b=gg(m);i||ce();const w=!ece(g,i.lastCritical);w&&(i.lastCritical=g);const _=!Zle(i.lastLocation,y);_&&(i.lastLocation=y);const O=!Jle(i.lastCombine,b);if(O&&(i.lastCombine=b),!w&&!_&&!O)return;const R={...Bd(g,i.mode),combine:b,destination:y};n.add(()=>{vc("onDragUpdate",()=>nb(e().onDragUpdate,R,t,dh.onDragUpdate))})},u=()=>{i||ce(),n.flush()},d=g=>{i||ce(),i=null,vc("onDragEnd",()=>nb(e().onDragEnd,g,t,dh.onDragEnd))};return{beforeCapture:r,beforeStart:o,start:a,update:c,flush:u,drop:d,abort:()=>{if(!i)return;const g={...Bd(i.lastCritical,i.mode),combine:null,destination:null,reason:"CANCEL"};d(g)}}},nce=(e,t)=>{const n=tce(e,t);return i=>r=>o=>{if($e(o,"BEFORE_INITIAL_CAPTURE")){n.beforeCapture(o.payload.draggableId,o.payload.movementMode);return}if($e(o,"INITIAL_PUBLISH")){const c=o.payload.critical;n.beforeStart(c,o.payload.movementMode),r(o),n.start(c,o.payload.movementMode);return}if($e(o,"DROP_COMPLETE")){const c=o.payload.completed.result;n.flush(),r(o),n.drop(c);return}if(r(o),$e(o,"FLUSH")){n.abort();return}const a=i.getState();a.phase==="DRAGGING"&&n.update(a.critical,a.impact)}};const ice=e=>t=>n=>{if(!$e(n,"DROP_ANIMATION_FINISHED")){t(n);return}const i=e.getState();i.phase!=="DROP_ANIMATING"&&ce(),e.dispatch(sw({completed:i.completed}))},rce=e=>{let t=null,n=null;function i(){n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)}return r=>o=>{if(($e(o,"FLUSH")||$e(o,"DROP_COMPLETE")||$e(o,"DROP_ANIMATION_FINISHED"))&&i(),r(o),!$e(o,"DROP_ANIMATE"))return;const a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){e.getState().phase==="DROP_ANIMATING"&&e.dispatch(o3())}};n=requestAnimationFrame(()=>{n=null,t=Kn(window,[a])})}};var oce=e=>()=>t=>n=>{($e(n,"DROP_COMPLETE")||$e(n,"FLUSH")||$e(n,"DROP_ANIMATE"))&&e.stopPublishing(),t(n)},sce=e=>{let t=!1;return()=>n=>i=>{if($e(i,"INITIAL_PUBLISH")){t=!0,e.tryRecordFocus(i.payload.critical.draggable.id),n(i),e.tryRestoreFocusRecorded();return}if(n(i),!!t){if($e(i,"FLUSH")){t=!1,e.tryRestoreFocusRecorded();return}if($e(i,"DROP_COMPLETE")){t=!1;const r=i.payload.completed.result;r.combine&&e.tryShiftRecord(r.draggableId,r.combine.draggableId),e.tryRestoreFocusRecorded()}}}};const ace=e=>$e(e,"DROP_COMPLETE")||$e(e,"DROP_ANIMATE")||$e(e,"FLUSH");var lce=e=>t=>n=>i=>{if(ace(i)){e.stop(),n(i);return}if($e(i,"INITIAL_PUBLISH")){n(i);const r=t.getState();r.phase!=="DRAGGING"&&ce(),e.start(r);return}n(i),e.scroll(t.getState())};const cce=e=>t=>n=>{if(t(n),!$e(n,"PUBLISH_WHILE_DRAGGING"))return;const i=e.getState();i.phase==="DROP_PENDING"&&(i.isWaiting||e.dispatch(r3({reason:i.reason})))},uce=Ck;var fce=({dimensionMarshal:e,focusMarshal:t,styleMarshal:n,getResponders:i,announce:r,autoScroller:o})=>_k(Sle,uce(lse($le(n),oce(e),zle(e),Wle,ice,rce,cce,lce(o),Kle,sce(t),nce(i,r))));const ib=()=>({additions:{},removals:{},modified:{}});function dce({registry:e,callbacks:t}){let n=ib(),i=null;const r=()=>{i||(t.collectionStarting(),i=requestAnimationFrame(()=>{i=null;const{additions:u,removals:d,modified:h}=n,g=Object.keys(u).map(b=>e.draggable.getById(b).getDimension(Rt)).sort((b,w)=>b.descriptor.index-w.descriptor.index),m=Object.keys(h).map(b=>{const _=e.droppable.getById(b).callbacks.getScrollWhileDragging();return{droppableId:b,scroll:_}}),y={additions:g,removals:Object.keys(d),modified:m};n=ib(),t.publish(y)}))};return{add:u=>{const d=u.descriptor.id;n.additions[d]=u,n.modified[u.descriptor.droppableId]=!0,n.removals[d]&&delete n.removals[d],r()},remove:u=>{const d=u.descriptor;n.removals[d.id]=!0,n.modified[d.droppableId]=!0,n.additions[d.id]&&delete n.additions[d.id],r()},stop:()=>{i&&(cancelAnimationFrame(i),i=null,n=ib())}}}var c3=({scrollHeight:e,scrollWidth:t,height:n,width:i})=>{const r=Rn({x:t,y:e},{x:i,y:n});return{x:Math.max(0,r.x),y:Math.max(0,r.y)}},u3=()=>{const e=document.documentElement;return e||ce(),e},f3=()=>{const e=u3();return c3({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},hce=()=>{const e=l3(),t=f3(),n=e.y,i=e.x,r=u3(),o=r.clientWidth,a=r.clientHeight,c=i+o,u=n+a;return{frame:ci({top:n,left:i,right:c,bottom:u}),scroll:{initial:e,current:e,max:t,diff:{value:Rt,displacement:Rt}}}},pce=({critical:e,scrollOptions:t,registry:n})=>{const i=hce(),r=i.scroll.current,o=e.droppable,a=n.droppable.getAllByType(o.type).map(h=>h.callbacks.getDimensionAndWatchScroll(r,t)),c=n.draggable.getAllByType(e.draggable.type).map(h=>h.getDimension(r));return{dimensions:{draggables:$k(c),droppables:zk(a)},critical:e,viewport:i}};function fA(e,t,n){return!(n.descriptor.id===t.id||n.descriptor.type!==t.type||e.droppable.getById(n.descriptor.droppableId).descriptor.mode!=="virtual")}var gce=(e,t)=>{let n=null;const i=dce({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),r=(m,y)=>{e.droppable.exists(m)||ce(),n&&t.updateDroppableIsEnabled({id:m,isEnabled:y})},o=(m,y)=>{n&&(e.droppable.exists(m)||ce(),t.updateDroppableIsCombineEnabled({id:m,isCombineEnabled:y}))},a=(m,y)=>{n&&(e.droppable.exists(m)||ce(),t.updateDroppableScroll({id:m,newScroll:y}))},c=(m,y)=>{n&&e.droppable.getById(m).callbacks.scroll(y)},u=()=>{if(!n)return;i.stop();const m=n.critical.droppable;e.droppable.getAllByType(m.type).forEach(y=>y.callbacks.dragStopped()),n.unsubscribe(),n=null},d=m=>{n||ce();const y=n.critical.draggable;m.type==="ADDITION"&&fA(e,y,m.value)&&i.add(m.value),m.type==="REMOVAL"&&fA(e,y,m.value)&&i.remove(m.value)};return{updateDroppableIsEnabled:r,updateDroppableIsCombineEnabled:o,scrollDroppable:c,updateDroppableScroll:a,startPublishing:m=>{n&&ce();const y=e.draggable.getById(m.draggableId),b=e.droppable.getById(y.descriptor.droppableId),w={draggable:y.descriptor,droppable:b.descriptor},_=e.subscribe(d);return n={critical:w,unsubscribe:_},pce({critical:w,registry:e,scrollOptions:m.scrollOptions})},stopPublishing:u}},d3=(e,t)=>e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP",mce=e=>{window.scrollBy(e.x,e.y)};const yce=Et(e=>pg(e).filter(t=>!(!t.isEnabled||!t.frame))),vce=(e,t)=>yce(t).find(i=>(i.frame||ce(),Kk(i.frame.pageMarginBox)(e)))||null;var bce=({center:e,destination:t,droppables:n})=>{if(t){const r=n[t];return r.frame?r:null}return vce(e,n)};const gu={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var xce=(e,t,n=()=>gu)=>{const i=n(),r=e[t.size]*i.startFromPercentage,o=e[t.size]*i.maxScrollAtPercentage;return{startScrollingFrom:r,maxScrollValueAt:o}},h3=({startOfRange:e,endOfRange:t,current:n})=>{const i=t-e;return i===0?0:(n-e)/i},lw=1,Sce=(e,t,n=()=>gu)=>{const i=n();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return i.maxPixelScroll;if(e===t.startScrollingFrom)return lw;const o=1-h3({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),a=i.maxPixelScroll*i.ease(o);return Math.ceil(a)},wce=(e,t,n)=>{const i=n(),r=i.durationDampening.accelerateAt,o=i.durationDampening.stopDampeningAt,a=t,c=o,d=Date.now()-a;if(d>=o)return e;if(d<r)return lw;const h=h3({startOfRange:r,endOfRange:c,current:d}),g=e*i.ease(h);return Math.ceil(g)},dA=({distanceToEdge:e,thresholds:t,dragStartTime:n,shouldUseTimeDampening:i,getAutoScrollerOptions:r})=>{const o=Sce(e,t,r);return o===0?0:i?Math.max(wce(o,n,r),lw):o},hA=({container:e,distanceToEdges:t,dragStartTime:n,axis:i,shouldUseTimeDampening:r,getAutoScrollerOptions:o})=>{const a=xce(e,i,o);return t[i.end]<t[i.start]?dA({distanceToEdge:t[i.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:r,getAutoScrollerOptions:o}):-1*dA({distanceToEdge:t[i.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:r,getAutoScrollerOptions:o})},_ce=({container:e,subject:t,proposedScroll:n})=>{const i=t.height>e.height,r=t.width>e.width;return!r&&!i?n:r&&i?null:{x:r?0:n.x,y:i?0:n.y}};const Cce=Ik(e=>e===0?0:e);var p3=({dragStartTime:e,container:t,subject:n,center:i,shouldUseTimeDampening:r,getAutoScrollerOptions:o})=>{const a={top:i.y-t.top,right:t.right-i.x,bottom:t.bottom-i.y,left:i.x-t.left},c=hA({container:t,distanceToEdges:a,dragStartTime:e,axis:ew,shouldUseTimeDampening:r,getAutoScrollerOptions:o}),u=hA({container:t,distanceToEdges:a,dragStartTime:e,axis:Hk,shouldUseTimeDampening:r,getAutoScrollerOptions:o}),d=Cce({x:u,y:c});if(ao(d,Rt))return null;const h=_ce({container:t,subject:n,proposedScroll:d});return h?ao(h,Rt)?null:h:null};const Oce=Ik(e=>e===0?0:e>0?1:-1),cw=(()=>{const e=(t,n)=>t<0?t:t>n?t-n:0;return({current:t,max:n,change:i})=>{const r=jt(t,i),o={x:e(r.x,n.x),y:e(r.y,n.y)};return ao(o,Rt)?null:o}})(),g3=({max:e,current:t,change:n})=>{const i={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},r=Oce(n),o=cw({max:i,current:t,change:r});return!o||r.x!==0&&o.x===0||r.y!==0&&o.y===0},uw=(e,t)=>g3({current:e.scroll.current,max:e.scroll.max,change:t}),Ece=(e,t)=>{if(!uw(e,t))return null;const n=e.scroll.max,i=e.scroll.current;return cw({current:i,max:n,change:t})},fw=(e,t)=>{const n=e.frame;return n?g3({current:n.scroll.current,max:n.scroll.max,change:t}):!1},Rce=(e,t)=>{const n=e.frame;return!n||!fw(e,t)?null:cw({current:n.scroll.current,max:n.scroll.max,change:t})};var Tce=({viewport:e,subject:t,center:n,dragStartTime:i,shouldUseTimeDampening:r,getAutoScrollerOptions:o})=>{const a=p3({dragStartTime:i,container:e.frame,subject:t,center:n,shouldUseTimeDampening:r,getAutoScrollerOptions:o});return a&&uw(e,a)?a:null},Mce=({droppable:e,subject:t,center:n,dragStartTime:i,shouldUseTimeDampening:r,getAutoScrollerOptions:o})=>{const a=e.frame;if(!a)return null;const c=p3({dragStartTime:i,container:a.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:r,getAutoScrollerOptions:o});return c&&fw(e,c)?c:null},pA=({state:e,dragStartTime:t,shouldUseTimeDampening:n,scrollWindow:i,scrollDroppable:r,getAutoScrollerOptions:o})=>{const a=e.current.page.borderBoxCenter,u=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){const g=e.viewport,m=Tce({dragStartTime:t,viewport:g,subject:u,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:o});if(m){i(m);return}}const d=bce({center:a,destination:Mn(e.impact),droppables:e.dimensions.droppables});if(!d)return;const h=Mce({dragStartTime:t,droppable:d,subject:u,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:o});h&&r(d.descriptor.id,h)},Ace=({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:n=()=>gu})=>{const i=uu(e),r=uu(t);let o=null;const a=d=>{o||ce();const{shouldUseTimeDampening:h,dragStartTime:g}=o;pA({state:d,scrollWindow:i,scrollDroppable:r,dragStartTime:g,shouldUseTimeDampening:h,getAutoScrollerOptions:n})};return{start:d=>{o&&ce();const h=Date.now();let g=!1;const m=()=>{g=!0};pA({state:d,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:m,scrollDroppable:m,getAutoScrollerOptions:n}),o={dragStartTime:h,shouldUseTimeDampening:g},g&&a(d)},stop:()=>{o&&(i.cancel(),r.cancel(),o=null)},scroll:a}},Dce=({move:e,scrollDroppable:t,scrollWindow:n})=>{const i=(c,u)=>{const d=jt(c.current.client.selection,u);e({client:d})},r=(c,u)=>{if(!fw(c,u))return u;const d=Rce(c,u);if(!d)return t(c.descriptor.id,u),null;const h=Rn(u,d);return t(c.descriptor.id,h),Rn(u,h)},o=(c,u,d)=>{if(!c||!uw(u,d))return d;const h=Ece(u,d);if(!h)return n(d),null;const g=Rn(d,h);return n(g),Rn(d,g)};return c=>{const u=c.scrollJumpRequest;if(!u)return;const d=Mn(c.impact);d||ce();const h=r(c.dimensions.droppables[d],u);if(!h)return;const g=c.viewport,m=o(c.isWindowScrollAllowed,g,h);m&&i(c,m)}},Pce=({scrollDroppable:e,scrollWindow:t,move:n,getAutoScrollerOptions:i})=>{const r=Ace({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:i}),o=Dce({move:n,scrollWindow:t,scrollDroppable:e});return{scroll:u=>{if(!(i().disabled||u.phase!=="DRAGGING")){if(u.movementMode==="FLUID"){r.scroll(u);return}u.scrollJumpRequest&&o(u)}},start:r.start,stop:r.stop}};const Ha="data-rfd",Va=(()=>{const e=`${Ha}-drag-handle`;return{base:e,draggableId:`${e}-draggable-id`,contextId:`${e}-context-id`}})(),zx=(()=>{const e=`${Ha}-draggable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),jce=(()=>{const e=`${Ha}-droppable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),gA={contextId:`${Ha}-scroll-container-context-id`},Lce=e=>t=>`[${t}="${e}"]`,bc=(e,t)=>e.map(n=>{const i=n.styles[t];return i?`${n.selector} { ${i} }`:""}).join(" "),Nce="pointer-events: none;";var kce=e=>{const t=Lce(e),n=(()=>{const c=` + cursor: -webkit-grab; + cursor: grab; + `;return{selector:t(Va.contextId),styles:{always:` + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0,0,0,0); + touch-action: manipulation; + `,resting:c,dragging:Nce,dropAnimating:c}}})(),i=(()=>{const c=` + transition: ${Uc.outOfTheWay}; + `;return{selector:t(zx.contextId),styles:{dragging:c,dropAnimating:c,userCancel:c}}})(),r={selector:t(jce.contextId),styles:{always:"overflow-anchor: none;"}},a=[i,n,r,{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; + `}}];return{always:bc(a,"always"),resting:bc(a,"resting"),dragging:bc(a,"dragging"),dropAnimating:bc(a,"dropAnimating"),userCancel:bc(a,"userCancel")}};const An=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?C.useLayoutEffect:C.useEffect,rb=()=>{const e=document.querySelector("head");return e||ce(),e},mA=e=>{const t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Ice(e,t){const n=je(()=>kce(e),[e]),i=C.useRef(null),r=C.useRef(null),o=ge(Et(g=>{const m=r.current;m||ce(),m.textContent=g}),[]),a=ge(g=>{const m=i.current;m||ce(),m.textContent=g},[]);An(()=>{!i.current&&!r.current||ce();const g=mA(t),m=mA(t);return i.current=g,r.current=m,g.setAttribute(`${Ha}-always`,e),m.setAttribute(`${Ha}-dynamic`,e),rb().appendChild(g),rb().appendChild(m),a(n.always),o(n.resting),()=>{const y=b=>{const w=b.current;w||ce(),rb().removeChild(w),b.current=null};y(i),y(r)}},[t,a,o,n.always,n.resting,e]);const c=ge(()=>o(n.dragging),[o,n.dragging]),u=ge(g=>{if(g==="DROP"){o(n.dropAnimating);return}o(n.userCancel)},[o,n.dropAnimating,n.userCancel]),d=ge(()=>{r.current&&o(n.resting)},[o,n.resting]);return je(()=>({dragging:c,dropping:u,resting:d}),[c,u,d])}function m3(e,t){return Array.from(e.querySelectorAll(t))}var y3=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function vg(e){return e instanceof y3(e).HTMLElement}function zce(e,t){const n=`[${Va.contextId}="${e}"]`,i=m3(document,n);if(!i.length)return null;const r=i.find(o=>o.getAttribute(Va.draggableId)===t);return!r||!vg(r)?null:r}function $ce(e){const t=C.useRef({}),n=C.useRef(null),i=C.useRef(null),r=C.useRef(!1),o=ge(function(m,y){const b={id:m,focus:y};return t.current[m]=b,function(){const _=t.current;_[m]!==b&&delete _[m]}},[]),a=ge(function(m){const y=zce(e,m);y&&y!==document.activeElement&&y.focus()},[e]),c=ge(function(m,y){n.current===m&&(n.current=y)},[]),u=ge(function(){i.current||r.current&&(i.current=requestAnimationFrame(()=>{i.current=null;const m=n.current;m&&a(m)}))},[a]),d=ge(function(m){n.current=null;const y=document.activeElement;y&&y.getAttribute(Va.draggableId)===m&&(n.current=m)},[]);return An(()=>(r.current=!0,function(){r.current=!1;const m=i.current;m&&cancelAnimationFrame(m)}),[]),je(()=>({register:o,tryRecordFocus:d,tryRestoreFocusRecorded:u,tryShiftRecord:c}),[o,d,u,c])}function Fce(){const e={draggables:{},droppables:{}},t=[];function n(g){return t.push(g),function(){const y=t.indexOf(g);y!==-1&&t.splice(y,1)}}function i(g){t.length&&t.forEach(m=>m(g))}function r(g){return e.draggables[g]||null}function o(g){const m=r(g);return m||ce(),m}const a={register:g=>{e.draggables[g.descriptor.id]=g,i({type:"ADDITION",value:g})},update:(g,m)=>{const y=e.draggables[m.descriptor.id];y&&y.uniqueId===g.uniqueId&&(delete e.draggables[m.descriptor.id],e.draggables[g.descriptor.id]=g)},unregister:g=>{const m=g.descriptor.id,y=r(m);y&&g.uniqueId===y.uniqueId&&(delete e.draggables[m],e.droppables[g.descriptor.droppableId]&&i({type:"REMOVAL",value:g}))},getById:o,findById:r,exists:g=>!!r(g),getAllByType:g=>Object.values(e.draggables).filter(m=>m.descriptor.type===g)};function c(g){return e.droppables[g]||null}function u(g){const m=c(g);return m||ce(),m}const d={register:g=>{e.droppables[g.descriptor.id]=g},unregister:g=>{const m=c(g.descriptor.id);m&&g.uniqueId===m.uniqueId&&delete e.droppables[g.descriptor.id]},getById:u,findById:c,exists:g=>!!c(g),getAllByType:g=>Object.values(e.droppables).filter(m=>m.descriptor.type===g)};function h(){e.draggables={},e.droppables={},t.length=0}return{draggable:a,droppable:d,subscribe:n,clean:h}}function Bce(){const e=je(Fce,[]);return C.useEffect(()=>function(){e.clean()},[e]),e}var dw=q.createContext(null),cp=()=>{const e=document.body;return e||ce(),e};const Hce={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Vce=e=>`rfd-announcement-${e}`;function Uce(e){const t=je(()=>Vce(e),[e]),n=C.useRef(null);return C.useEffect(function(){const o=document.createElement("div");return n.current=o,o.id=t,o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true"),op(o.style,Hce),cp().appendChild(o),function(){setTimeout(function(){const u=cp();u.contains(o)&&u.removeChild(o),o===n.current&&(n.current=null)})}},[t]),ge(r=>{const o=n.current;if(o){o.textContent=r;return}},[])}const Wce={separator:"::"};function hw(e,t=Wce){const n=q.useId();return je(()=>`${e}${t.separator}${n}`,[t.separator,e,n])}function Gce({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`}function qce({contextId:e,text:t}){const n=hw("hidden-text",{separator:"-"}),i=je(()=>Gce({contextId:e,uniqueId:n}),[n,e]);return C.useEffect(function(){const o=document.createElement("div");return o.id=i,o.textContent=t,o.style.display="none",cp().appendChild(o),function(){const c=cp();c.contains(o)&&c.removeChild(o)}},[i,t]),i}var bg=q.createContext(null);function v3(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),t}function Yce(){let e=null;function t(){return!!e}function n(a){return a===e}function i(a){e&&ce();const c={abandon:a};return e=c,c}function r(){e||ce(),e=null}function o(){e&&(e.abandon(),r())}return{isClaimed:t,isActive:n,claim:i,release:r,tryAbandon:o}}function mu(e){return e.phase==="IDLE"||e.phase==="DROP_ANIMATING"?!1:e.isDragging}const Kce=9,Xce=13,pw=27,b3=32,Qce=33,Zce=34,Jce=35,eue=36,tue=37,nue=38,iue=39,rue=40,oue={[Xce]:!0,[Kce]:!0};var x3=e=>{oue[e.keyCode]&&e.preventDefault()};const xg=(()=>{const e="visibilitychange";return typeof document>"u"?e:[e,`ms${e}`,`webkit${e}`,`moz${e}`,`o${e}`].find(i=>`on${i}`in document)||e})(),S3=0,yA=5;function sue(e,t){return Math.abs(t.x-e.x)>=yA||Math.abs(t.y-e.y)>=yA}const vA={type:"IDLE"};function aue({cancel:e,completed:t,getPhase:n,setPhase:i}){return[{eventName:"mousemove",fn:r=>{const{button:o,clientX:a,clientY:c}=r;if(o!==S3)return;const u={x:a,y:c},d=n();if(d.type==="DRAGGING"){r.preventDefault(),d.actions.move(u);return}d.type!=="PENDING"&&ce();const h=d.point;if(!sue(h,u))return;r.preventDefault();const g=d.actions.fluidLift(u);i({type:"DRAGGING",actions:g})}},{eventName:"mouseup",fn:r=>{const o=n();if(o.type!=="DRAGGING"){e();return}r.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"mousedown",fn:r=>{n().type==="DRAGGING"&&r.preventDefault(),e()}},{eventName:"keydown",fn:r=>{if(n().type==="PENDING"){e();return}if(r.keyCode===pw){r.preventDefault(),e();return}x3(r)}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:()=>{n().type==="PENDING"&&e()}},{eventName:"webkitmouseforcedown",fn:r=>{const o=n();if(o.type==="IDLE"&&ce(),o.actions.shouldRespectForcePress()){e();return}r.preventDefault()}},{eventName:xg,fn:e}]}function lue(e){const t=C.useRef(vA),n=C.useRef(so),i=je(()=>({eventName:"mousedown",fn:function(g){if(g.defaultPrevented||g.button!==S3||g.ctrlKey||g.metaKey||g.shiftKey||g.altKey)return;const m=e.findClosestDraggableId(g);if(!m)return;const y=e.tryGetLock(m,a,{sourceEvent:g});if(!y)return;g.preventDefault();const b={x:g.clientX,y:g.clientY};n.current(),d(y,b)}}),[e]),r=je(()=>({eventName:"webkitmouseforcewillbegin",fn:h=>{if(h.defaultPrevented)return;const g=e.findClosestDraggableId(h);if(!g)return;const m=e.findOptionsForDraggable(g);m&&(m.shouldRespectForcePress||e.canGetLock(g)&&h.preventDefault())}}),[e]),o=ge(function(){const g={passive:!1,capture:!0};n.current=Kn(window,[r,i],g)},[r,i]),a=ge(()=>{t.current.type!=="IDLE"&&(t.current=vA,n.current(),o())},[o]),c=ge(()=>{const h=t.current;a(),h.type==="DRAGGING"&&h.actions.cancel({shouldBlockNextClick:!0}),h.type==="PENDING"&&h.actions.abort()},[a]),u=ge(function(){const g={capture:!0,passive:!1},m=aue({cancel:c,completed:a,getPhase:()=>t.current,setPhase:y=>{t.current=y}});n.current=Kn(window,m,g)},[c,a]),d=ge(function(g,m){t.current.type!=="IDLE"&&ce(),t.current={type:"PENDING",point:m,actions:g},u()},[u]);An(function(){return o(),function(){n.current()}},[o])}function cue(){}const uue={[Zce]:!0,[Qce]:!0,[eue]:!0,[Jce]:!0};function fue(e,t){function n(){t(),e.cancel()}function i(){t(),e.drop()}return[{eventName:"keydown",fn:r=>{if(r.keyCode===pw){r.preventDefault(),n();return}if(r.keyCode===b3){r.preventDefault(),i();return}if(r.keyCode===rue){r.preventDefault(),e.moveDown();return}if(r.keyCode===nue){r.preventDefault(),e.moveUp();return}if(r.keyCode===iue){r.preventDefault(),e.moveRight();return}if(r.keyCode===tue){r.preventDefault(),e.moveLeft();return}if(uue[r.keyCode]){r.preventDefault();return}x3(r)}},{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:xg,fn:n}]}function due(e){const t=C.useRef(cue),n=je(()=>({eventName:"keydown",fn:function(o){if(o.defaultPrevented||o.keyCode!==b3)return;const a=e.findClosestDraggableId(o);if(!a)return;const c=e.tryGetLock(a,h,{sourceEvent:o});if(!c)return;o.preventDefault();let u=!0;const d=c.snapLift();t.current();function h(){u||ce(),u=!1,t.current(),i()}t.current=Kn(window,fue(d,h),{capture:!0,passive:!1})}}),[e]),i=ge(function(){const o={passive:!1,capture:!0};t.current=Kn(window,[n],o)},[n]);An(function(){return i(),function(){t.current()}},[i])}const ob={type:"IDLE"},hue=120,pue=.15;function gue({cancel:e,getPhase:t}){return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:n=>{n.preventDefault()}},{eventName:"keydown",fn:n=>{if(t().type!=="DRAGGING"){e();return}n.keyCode===pw&&n.preventDefault(),e()}},{eventName:xg,fn:e}]}function mue({cancel:e,completed:t,getPhase:n}){return[{eventName:"touchmove",options:{capture:!1},fn:i=>{const r=n();if(r.type!=="DRAGGING"){e();return}r.hasMoved=!0;const{clientX:o,clientY:a}=i.touches[0],c={x:o,y:a};i.preventDefault(),r.actions.move(c)}},{eventName:"touchend",fn:i=>{const r=n();if(r.type!=="DRAGGING"){e();return}i.preventDefault(),r.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"touchcancel",fn:i=>{if(n().type!=="DRAGGING"){e();return}i.preventDefault(),e()}},{eventName:"touchforcechange",fn:i=>{const r=n();r.type==="IDLE"&&ce();const o=i.touches[0];if(!o||!(o.force>=pue))return;const c=r.actions.shouldRespectForcePress();if(r.type==="PENDING"){c&&e();return}if(c){if(r.hasMoved){i.preventDefault();return}e();return}i.preventDefault()}},{eventName:xg,fn:e}]}function yue(e){const t=C.useRef(ob),n=C.useRef(so),i=ge(function(){return t.current},[]),r=ge(function(y){t.current=y},[]),o=je(()=>({eventName:"touchstart",fn:function(y){if(y.defaultPrevented)return;const b=e.findClosestDraggableId(y);if(!b)return;const w=e.tryGetLock(b,c,{sourceEvent:y});if(!w)return;const _=y.touches[0],{clientX:O,clientY:R}=_,T={x:O,y:R};n.current(),g(w,T)}}),[e]),a=ge(function(){const y={capture:!0,passive:!1};n.current=Kn(window,[o],y)},[o]),c=ge(()=>{const m=t.current;m.type!=="IDLE"&&(m.type==="PENDING"&&clearTimeout(m.longPressTimerId),r(ob),n.current(),a())},[a,r]),u=ge(()=>{const m=t.current;c(),m.type==="DRAGGING"&&m.actions.cancel({shouldBlockNextClick:!0}),m.type==="PENDING"&&m.actions.abort()},[c]),d=ge(function(){const y={capture:!0,passive:!1},b={cancel:u,completed:c,getPhase:i},w=Kn(window,mue(b),y),_=Kn(window,gue(b),y);n.current=function(){w(),_()}},[u,i,c]),h=ge(function(){const y=i();y.type!=="PENDING"&&ce();const b=y.actions.fluidLift(y.point);r({type:"DRAGGING",actions:b,hasMoved:!1})},[i,r]),g=ge(function(y,b){i().type!=="IDLE"&&ce();const w=setTimeout(h,hue);r({type:"PENDING",point:b,actions:y,longPressTimerId:w}),d()},[d,i,r,h]);An(function(){return a(),function(){n.current();const b=i();b.type==="PENDING"&&(clearTimeout(b.longPressTimerId),r(ob))}},[i,a,r]),An(function(){return Kn(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}const vue=["input","button","textarea","select","option","optgroup","video","audio"];function w3(e,t){if(t==null)return!1;if(vue.includes(t.tagName.toLowerCase()))return!0;const i=t.getAttribute("contenteditable");return i==="true"||i===""?!0:t===e?!1:w3(e,t.parentElement)}function bue(e,t){const n=t.target;return vg(n)?w3(e,n):!1}var xue=e=>ci(e.getBoundingClientRect()).center;function Sue(e){return e instanceof y3(e).Element}const wue=(()=>{const e="matches";return typeof document>"u"?e:[e,"msMatchesSelector","webkitMatchesSelector"].find(i=>i in Element.prototype)||e})();function _3(e,t){return e==null?null:e[wue](t)?e:_3(e.parentElement,t)}function _ue(e,t){return e.closest?e.closest(t):_3(e,t)}function Cue(e){return`[${Va.contextId}="${e}"]`}function Oue(e,t){const n=t.target;if(!Sue(n))return null;const i=Cue(e),r=_ue(n,i);return!r||!vg(r)?null:r}function Eue(e,t){const n=Oue(e,t);return n?n.getAttribute(Va.draggableId):null}function Rue(e,t){const n=`[${zx.contextId}="${e}"]`,r=m3(document,n).find(o=>o.getAttribute(zx.id)===t);return!r||!vg(r)?null:r}function Tue(e){e.preventDefault()}function Hd({expected:e,phase:t,isLockActive:n,shouldWarn:i}){return!(!n()||e!==t)}function C3({lockAPI:e,store:t,registry:n,draggableId:i}){if(e.isClaimed())return!1;const r=n.draggable.findById(i);return!(!r||!r.options.isEnabled||!d3(t.getState(),i))}function Mue({lockAPI:e,contextId:t,store:n,registry:i,draggableId:r,forceSensorStop:o,sourceEvent:a}){if(!C3({lockAPI:e,store:n,registry:i,draggableId:r}))return null;const u=i.draggable.getById(r),d=Rue(t,u.descriptor.id);if(!d||a&&!u.options.canDragInteractiveElements&&bue(d,a))return null;const h=e.claim(o||so);let g="PRE_DRAG";function m(){return u.options.shouldRespectForcePress}function y(){return e.isActive(h)}function b(D,P){Hd({expected:D,phase:g,isLockActive:y,shouldWarn:!0})&&n.dispatch(P())}const w=b.bind(null,"DRAGGING");function _(D){function P(){e.release(),g="COMPLETED"}g!=="PRE_DRAG"&&(P(),ce()),n.dispatch(_le(D.liftActionArgs)),g="DRAGGING";function I(z,U={shouldBlockNextClick:!1}){if(D.cleanup(),U.shouldBlockNextClick){const $=Kn(window,[{eventName:"click",fn:Tue,options:{once:!0,passive:!1,capture:!0}}]);setTimeout($)}P(),n.dispatch(r3({reason:z}))}return{isActive:()=>Hd({expected:"DRAGGING",phase:g,isLockActive:y,shouldWarn:!1}),shouldRespectForcePress:m,drop:z=>I("DROP",z),cancel:z=>I("CANCEL",z),...D.actions}}function O(D){const P=uu(z=>{w(()=>i3({client:z}))});return{..._({liftActionArgs:{id:r,clientSelection:D,movementMode:"FLUID"},cleanup:()=>P.cancel(),actions:{move:P}}),move:P}}function R(){const D={moveUp:()=>w(Ple),moveRight:()=>w(Lle),moveDown:()=>w(jle),moveLeft:()=>w(Nle)};return _({liftActionArgs:{id:r,clientSelection:xue(d),movementMode:"SNAP"},cleanup:so,actions:D})}function T(){Hd({expected:"PRE_DRAG",phase:g,isLockActive:y,shouldWarn:!0})&&e.release()}return{isActive:()=>Hd({expected:"PRE_DRAG",phase:g,isLockActive:y,shouldWarn:!1}),shouldRespectForcePress:m,fluidLift:O,snapLift:R,abort:T}}const Aue=[lue,due,yue];function Due({contextId:e,store:t,registry:n,customSensors:i,enableDefaultSensors:r}){const o=[...r?Aue:[],...i||[]],a=C.useState(()=>Yce())[0],c=ge(function(_,O){mu(_)&&!mu(O)&&a.tryAbandon()},[a]);An(function(){let _=t.getState();return t.subscribe(()=>{const R=t.getState();c(_,R),_=R})},[a,t,c]),An(()=>a.tryAbandon,[a.tryAbandon]);const u=ge(w=>C3({lockAPI:a,registry:n,store:t,draggableId:w}),[a,n,t]),d=ge((w,_,O)=>Mue({lockAPI:a,registry:n,contextId:e,store:t,draggableId:w,forceSensorStop:_||null,sourceEvent:O&&O.sourceEvent?O.sourceEvent:null}),[e,a,n,t]),h=ge(w=>Eue(e,w),[e]),g=ge(w=>{const _=n.draggable.findById(w);return _?_.options:null},[n.draggable]),m=ge(function(){a.isClaimed()&&(a.tryAbandon(),t.getState().phase!=="IDLE"&&t.dispatch(ow()))},[a,t]),y=ge(()=>a.isClaimed(),[a]),b=je(()=>({canGetLock:u,tryGetLock:d,findClosestDraggableId:h,findOptionsForDraggable:g,tryReleaseLock:m,isLockClaimed:y}),[u,d,h,g,m,y]);for(let w=0;w<o.length;w++)o[w](b)}const Pue=e=>({onBeforeCapture:t=>{const n=()=>{e.onBeforeCapture&&e.onBeforeCapture(t)};Wa.flushSync(n)},onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}),jue=e=>({...gu,...e.autoScrollerOptions,durationDampening:{...gu.durationDampening,...e.autoScrollerOptions}});function xc(e){return e.current||ce(),e.current}function Lue(e){const{contextId:t,setCallbacks:n,sensors:i,nonce:r,dragHandleUsageInstructions:o}=e,a=C.useRef(null),c=v3(e),u=ge(()=>Pue(c.current),[c]),d=ge(()=>jue(c.current),[c]),h=Uce(t),g=qce({contextId:t,text:o}),m=Ice(t,r),y=ge($=>{xc(a).dispatch($)},[]),b=je(()=>UM({publishWhileDragging:Ole,updateDroppableScroll:Rle,updateDroppableIsEnabled:Tle,updateDroppableIsCombineEnabled:Mle,collectionStarting:Ele},y),[y]),w=Bce(),_=je(()=>gce(w,b),[w,b]),O=je(()=>Pce({scrollWindow:mce,scrollDroppable:_.scrollDroppable,getAutoScrollerOptions:d,...UM({move:i3},y)}),[_.scrollDroppable,y,d]),R=$ce(t),T=je(()=>fce({announce:h,autoScroller:O,dimensionMarshal:_,focusMarshal:R,getResponders:u,styleMarshal:m}),[h,O,_,R,u,m]);a.current=T;const M=ge(()=>{const $=xc(a);$.getState().phase!=="IDLE"&&$.dispatch(ow())},[]),D=ge(()=>{const $=xc(a).getState();return $.phase==="DROP_ANIMATING"?!0:$.phase==="IDLE"?!1:$.isDragging},[]),P=je(()=>({isDragging:D,tryAbort:M}),[D,M]);n(P);const I=ge($=>d3(xc(a).getState(),$),[]),z=ge(()=>Zo(xc(a).getState()),[]),U=je(()=>({marshal:_,focus:R,contextId:t,canLift:I,isMovementAllowed:z,dragHandleUsageInstructionsId:g,registry:w}),[t,_,g,R,I,z,w]);return Due({contextId:t,store:T,registry:w,customSensors:i||null,enableDefaultSensors:e.enableDefaultSensors!==!1}),C.useEffect(()=>M,[M]),q.createElement(bg.Provider,{value:U},q.createElement(oae,{context:dw,store:T},e.children))}function Nue(){return q.useId()}function kue(e){const t=Nue(),n=e.dragHandleUsageInstructions||dh.dragHandleUsageInstructions;return q.createElement(dae,null,i=>q.createElement(Lue,{nonce:e.nonce,contextId:t,setCallbacks:i,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,autoScrollerOptions:e.autoScrollerOptions},e.children))}const bA={dragging:5e3,dropAnimating:4500},Iue=(e,t)=>t?Uc.drop(t.duration):e?Uc.snap:Uc.fluid,zue=(e,t)=>{if(e)return t?pu.opacity.drop:pu.opacity.combining},$ue=e=>e.forceShouldAnimate!=null?e.forceShouldAnimate:e.mode==="SNAP";function Fue(e){const n=e.dimension.client,{offset:i,combineWith:r,dropping:o}=e,a=!!r,c=$ue(e),u=!!o,d=u?kx.drop(i,a):kx.moveTo(i);return{position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Iue(c,o),transform:d,opacity:zue(a,u),zIndex:u?bA.dropAnimating:bA.dragging,pointerEvents:"none"}}function Bue(e){return{transform:kx.moveTo(e.offset),transition:e.shouldAnimateDisplacement?void 0:"none"}}function Hue(e){return e.type==="DRAGGING"?Fue(e):Bue(e)}function Vue(e,t,n=Rt){const i=window.getComputedStyle(t),r=t.getBoundingClientRect(),o=Dk(r,i),a=rp(o,n),c={client:o,tagName:t.tagName.toLowerCase(),display:i.display},u={x:o.marginBox.width,y:o.marginBox.height};return{descriptor:e,placeholder:c,displaceBy:u,client:o,page:a}}function Uue(e){const t=hw("draggable"),{descriptor:n,registry:i,getDraggableRef:r,canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}=e,u=je(()=>({canDragInteractiveElements:o,shouldRespectForcePress:a,isEnabled:c}),[o,c,a]),d=ge(y=>{const b=r();return b||ce(),Vue(n,b,y)},[n,r]),h=je(()=>({uniqueId:t,descriptor:n,options:u,getDimension:d}),[n,d,u,t]),g=C.useRef(h),m=C.useRef(!0);An(()=>(i.draggable.register(g.current),()=>i.draggable.unregister(g.current)),[i.draggable]),An(()=>{if(m.current){m.current=!1;return}const y=g.current;g.current=h,i.draggable.update(h,y)},[h,i.draggable])}var gw=q.createContext(null);function up(e){const t=C.useContext(e);return t||ce(),t}function Wue(e){e.preventDefault()}const Gue=e=>{const t=C.useRef(null),n=ge((P=null)=>{t.current=P},[]),i=ge(()=>t.current,[]),{contextId:r,dragHandleUsageInstructionsId:o,registry:a}=up(bg),{type:c,droppableId:u}=up(gw),d=je(()=>({id:e.draggableId,index:e.index,type:c,droppableId:u}),[e.draggableId,e.index,c,u]),{children:h,draggableId:g,isEnabled:m,shouldRespectForcePress:y,canDragInteractiveElements:b,isClone:w,mapped:_,dropAnimationFinished:O}=e;if(!w){const P=je(()=>({descriptor:d,registry:a,getDraggableRef:i,canDragInteractiveElements:b,shouldRespectForcePress:y,isEnabled:m}),[d,a,i,b,y,m]);Uue(P)}const R=je(()=>m?{tabIndex:0,role:"button","aria-describedby":o,"data-rfd-drag-handle-draggable-id":g,"data-rfd-drag-handle-context-id":r,draggable:!1,onDragStart:Wue}:null,[r,o,g,m]),T=ge(P=>{_.type==="DRAGGING"&&_.dropping&&P.propertyName==="transform"&&Wa.flushSync(O)},[O,_]),M=je(()=>{const P=Hue(_),I=_.type==="DRAGGING"&&_.dropping?T:void 0;return{innerRef:n,draggableProps:{"data-rfd-draggable-context-id":r,"data-rfd-draggable-id":g,style:P,onTransitionEnd:I},dragHandleProps:R}},[r,R,g,_,T,n]),D=je(()=>({draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}),[d.droppableId,d.id,d.index,d.type]);return q.createElement(q.Fragment,null,h(M,_.snapshot,D))};var O3=(e,t)=>e===t,E3=e=>{const{combine:t,destination:n}=e;return n?n.droppableId:t?t.droppableId:null};const que=e=>e.combine?e.combine.draggableId:null,Yue=e=>e.at&&e.at.type==="COMBINE"?e.at.combine.draggableId:null;function Kue(){const e=Et((r,o)=>({x:r,y:o})),t=Et((r,o,a=null,c=null,u=null)=>({isDragging:!0,isClone:o,isDropAnimating:!!u,dropAnimation:u,mode:r,draggingOver:a,combineWith:c,combineTargetFor:null})),n=Et((r,o,a,c,u=null,d=null,h=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:u,combineWith:d,mode:o,offset:r,dimension:a,forceShouldAnimate:h,snapshot:t(o,c,u,d,null)}}));return(r,o)=>{if(mu(r)){if(r.critical.draggable.id!==o.draggableId)return null;const a=r.current.client.offset,c=r.dimensions.draggables[o.draggableId],u=Mn(r.impact),d=Yue(r.impact),h=r.forceShouldAnimate;return n(e(a.x,a.y),r.movementMode,c,o.isClone,u,d,h)}if(r.phase==="DROP_ANIMATING"){const a=r.completed;if(a.result.draggableId!==o.draggableId)return null;const c=o.isClone,u=r.dimensions.draggables[o.draggableId],d=a.result,h=d.mode,g=E3(d),m=que(d),b={duration:r.dropDuration,curve:aw.drop,moveTo:r.newHomeClientOffset,opacity:m?pu.opacity.drop:null,scale:m?pu.scale.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:u,dropping:b,draggingOver:g,combineWith:m,mode:h,forceShouldAnimate:null,snapshot:t(h,c,g,m,b)}}}return null}}function R3(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}const Xue={mapped:{type:"SECONDARY",offset:Rt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:R3(null)}};function Que(){const e=Et((a,c)=>({x:a,y:c})),t=Et(R3),n=Et((a,c=null,u)=>({mapped:{type:"SECONDARY",offset:a,combineTargetFor:c,shouldAnimateDisplacement:u,snapshot:t(c)}})),i=a=>a?n(Rt,a,!0):null,r=(a,c,u,d)=>{const h=u.displaced.visible[a],g=!!(d.inVirtualList&&d.effected[a]),m=gg(u),y=m&&m.draggableId===a?c:null;if(!h){if(!g)return i(y);if(u.displaced.invisible[a])return null;const _=ll(d.displacedBy.point),O=e(_.x,_.y);return n(O,y,!0)}if(g)return i(y);const b=u.displacedBy.point,w=e(b.x,b.y);return n(w,y,h.shouldAnimate)};return(a,c)=>{if(mu(a))return a.critical.draggable.id===c.draggableId?null:r(c.draggableId,a.critical.draggable.id,a.impact,a.afterCritical);if(a.phase==="DROP_ANIMATING"){const u=a.completed;return u.result.draggableId===c.draggableId?null:r(c.draggableId,u.result.draggableId,u.impact,u.afterCritical)}return null}}const Zue=()=>{const e=Kue(),t=Que();return(i,r)=>e(i,r)||t(i,r)||Xue},Jue={dropAnimationFinished:o3},efe=Ak(Zue,Jue,null,{context:dw,areStatePropsEqual:O3})(Gue);function T3(e){return up(gw).isUsingCloneFor===e.draggableId&&!e.isClone?null:q.createElement(efe,e)}function tfe(e){const t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,n=!!e.disableInteractiveElementBlocking,i=!!e.shouldRespectForcePress;return q.createElement(T3,op({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:i}))}const M3=e=>t=>e===t,nfe=M3("scroll"),ife=M3("auto"),xA=(e,t)=>t(e.overflowX)||t(e.overflowY),rfe=e=>{const t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return xA(n,nfe)||xA(n,ife)},ofe=()=>!1,A3=e=>e==null?null:e===document.body?ofe()?e:null:e===document.documentElement?null:rfe(e)?e:A3(e.parentElement);var $x=e=>({x:e.scrollLeft,y:e.scrollTop});const D3=e=>e?window.getComputedStyle(e).position==="fixed"?!0:D3(e.parentElement):!1;var sfe=e=>{const t=A3(e),n=D3(e);return{closestScrollable:t,isFixedOnPage:n}},afe=({descriptor:e,isEnabled:t,isCombineEnabled:n,isFixedOnPage:i,direction:r,client:o,page:a,closest:c})=>{const u=(()=>{if(!c)return null;const{scrollSize:m,client:y}=c,b=c3({scrollHeight:m.scrollHeight,scrollWidth:m.scrollWidth,height:y.paddingBox.height,width:y.paddingBox.width});return{pageMarginBox:c.page.marginBox,frameClient:y,scrollSize:m,shouldClipSubject:c.shouldClipSubject,scroll:{initial:c.scroll,current:c.scroll,max:b,diff:{value:Rt,displacement:Rt}}}})(),d=r==="vertical"?ew:Hk,h=Ba({page:a,withPlaceholder:null,axis:d,frame:u});return{descriptor:e,isCombineEnabled:n,isFixedOnPage:i,axis:d,isEnabled:t,client:o,page:a,frame:u,subject:h}};const lfe=(e,t)=>{const n=Pk(e);if(!t||e!==t)return n;const i=n.paddingBox.top-t.scrollTop,r=n.paddingBox.left-t.scrollLeft,o=i+t.scrollHeight,a=r+t.scrollWidth,u=XS({top:i,right:a,bottom:o,left:r},n.border);return QS({borderBox:u,margin:n.margin,border:n.border,padding:n.padding})};var cfe=({ref:e,descriptor:t,env:n,windowScroll:i,direction:r,isDropDisabled:o,isCombineEnabled:a,shouldClipSubject:c})=>{const u=n.closestScrollable,d=lfe(e,u),h=rp(d,i),g=(()=>{if(!u)return null;const y=Pk(u),b={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:y,page:rp(y,i),scroll:$x(u),scrollSize:b,shouldClipSubject:c}})();return afe({descriptor:t,isEnabled:!o,isCombineEnabled:a,isFixedOnPage:n.isFixedOnPage,direction:r,client:d,page:h,closest:g})};const ufe={passive:!1},ffe={passive:!0};var SA=e=>e.shouldPublishImmediately?ufe:ffe;const Vd=e=>e&&e.env.closestScrollable||null;function dfe(e){const t=C.useRef(null),n=up(bg),i=hw("droppable"),{registry:r,marshal:o}=n,a=v3(e),c=je(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),u=C.useRef(c),d=je(()=>Et((M,D)=>{t.current||ce();const P={x:M,y:D};o.updateDroppableScroll(c.id,P)}),[c.id,o]),h=ge(()=>{const M=t.current;return!M||!M.env.closestScrollable?Rt:$x(M.env.closestScrollable)},[]),g=ge(()=>{const M=h();d(M.x,M.y)},[h,d]),m=je(()=>uu(g),[g]),y=ge(()=>{const M=t.current,D=Vd(M);if(M&&D||ce(),M.scrollOptions.shouldPublishImmediately){g();return}m()},[m,g]),b=ge((M,D)=>{t.current&&ce();const P=a.current,I=P.getDroppableRef();I||ce();const z=sfe(I),U={ref:I,descriptor:c,env:z,scrollOptions:D};t.current=U;const $=cfe({ref:I,descriptor:c,env:z,windowScroll:M,direction:P.direction,isDropDisabled:P.isDropDisabled,isCombineEnabled:P.isCombineEnabled,shouldClipSubject:!P.ignoreContainerClipping}),W=z.closestScrollable;return W&&(W.setAttribute(gA.contextId,n.contextId),W.addEventListener("scroll",y,SA(U.scrollOptions))),$},[n.contextId,c,y,a]),w=ge(()=>{const M=t.current,D=Vd(M);return M&&D||ce(),$x(D)},[]),_=ge(()=>{const M=t.current;M||ce();const D=Vd(M);t.current=null,D&&(m.cancel(),D.removeAttribute(gA.contextId),D.removeEventListener("scroll",y,SA(M.scrollOptions)))},[y,m]),O=ge(M=>{const D=t.current;D||ce();const P=Vd(D);P||ce(),P.scrollTop+=M.y,P.scrollLeft+=M.x},[]),R=je(()=>({getDimensionAndWatchScroll:b,getScrollWhileDragging:w,dragStopped:_,scroll:O}),[_,b,w,O]),T=je(()=>({uniqueId:i,descriptor:c,callbacks:R}),[R,c,i]);An(()=>(u.current=T.descriptor,r.droppable.register(T),()=>{t.current&&_(),r.droppable.unregister(T)}),[R,c,_,T,o,r.droppable]),An(()=>{t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)},[e.isDropDisabled,o]),An(()=>{t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)},[e.isCombineEnabled,o])}function sb(){}const wA={width:0,height:0,margin:bae},hfe=({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>e||n==="close"?wA:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin},pfe=({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>{const i=hfe({isAnimatingOpenOnMount:e,placeholder:t,animate:n});return{display:t.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:n!=="none"?Uc.placeholder:null}},gfe=e=>{const t=C.useRef(null),n=ge(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:i,onTransitionEnd:r,onClose:o,contextId:a}=e,[c,u]=C.useState(e.animate==="open");C.useEffect(()=>c?i!=="open"?(n(),u(!1),sb):t.current?sb:(t.current=setTimeout(()=>{t.current=null,u(!1)}),n):sb,[i,c,n]);const d=ge(g=>{g.propertyName==="height"&&(r(),i==="close"&&o())},[i,o,r]),h=pfe({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return q.createElement(e.placeholder.tagName,{style:h,"data-rfd-placeholder-context-id":a,onTransitionEnd:d,ref:e.innerRef})};var mfe=q.memo(gfe);class yfe extends q.PureComponent{constructor(...t){super(...t),this.state={isVisible:!!this.props.on,data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{this.state.animate==="close"&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(t,n){return t.shouldAnimate?t.on?{isVisible:!0,data:t.on,animate:"open"}:n.isVisible?{isVisible:!0,data:n.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!t.on,data:t.on,animate:"none"}}render(){if(!this.state.isVisible)return null;const t={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(t)}}const vfe=e=>{const t=C.useContext(bg);t||ce();const{contextId:n,isMovementAllowed:i}=t,r=C.useRef(null),o=C.useRef(null),{children:a,droppableId:c,type:u,mode:d,direction:h,ignoreContainerClipping:g,isDropDisabled:m,isCombineEnabled:y,snapshot:b,useClone:w,updateViewportMaxScroll:_,getContainerForClone:O}=e,R=ge(()=>r.current,[]),T=ge((W=null)=>{r.current=W},[]);ge(()=>o.current,[]);const M=ge((W=null)=>{o.current=W},[]),D=ge(()=>{i()&&_({maxScroll:f3()})},[i,_]);dfe({droppableId:c,type:u,mode:d,direction:h,isDropDisabled:m,isCombineEnabled:y,ignoreContainerClipping:g,getDroppableRef:R});const P=je(()=>q.createElement(yfe,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:W,data:Y,animate:B})=>q.createElement(mfe,{placeholder:Y,onClose:W,innerRef:M,animate:B,contextId:n,onTransitionEnd:D})),[n,D,e.placeholder,e.shouldAnimatePlaceholder,M]),I=je(()=>({innerRef:T,placeholder:P,droppableProps:{"data-rfd-droppable-id":c,"data-rfd-droppable-context-id":n}}),[n,c,P,T]),z=w?w.dragging.draggableId:null,U=je(()=>({droppableId:c,type:u,isUsingCloneFor:z}),[c,z,u]);function $(){if(!w)return null;const{dragging:W,render:Y}=w,B=q.createElement(T3,{draggableId:W.draggableId,index:W.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(H,L)=>Y(H,L,W));return p$.createPortal(B,O())}return q.createElement(gw.Provider,{value:U},a(I,b),$())};function bfe(){return document.body||ce(),document.body}const _A={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:bfe},P3=e=>{let t={...e},n;for(n in _A)e[n]===void 0&&(t={...t,[n]:_A[n]});return t},ab=(e,t)=>e===t.droppable.type,CA=(e,t)=>t.draggables[e.draggable.id],xfe=()=>{const e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},n=Et(o=>({draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}})),i=Et((o,a,c,u,d,h)=>{const g=d.descriptor.id;if(d.descriptor.droppableId===o){const b=h?{render:h,dragging:n(d.descriptor)}:null,w={isDraggingOver:c,draggingOverWith:c?g:null,draggingFromThisWith:g,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!1,snapshot:w,useClone:b}}if(!a)return t;if(!u)return e;const y={isDraggingOver:c,draggingOverWith:g,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:d.placeholder,shouldAnimatePlaceholder:!0,snapshot:y,useClone:null}});return(o,a)=>{const c=P3(a),u=c.droppableId,d=c.type,h=!c.isDropDisabled,g=c.renderClone;if(mu(o)){const m=o.critical;if(!ab(d,m))return t;const y=CA(m,o.dimensions),b=Mn(o.impact)===u;return i(u,h,b,b,y,g)}if(o.phase==="DROP_ANIMATING"){const m=o.completed;if(!ab(d,m.critical))return t;const y=CA(m.critical,o.dimensions);return i(u,h,E3(m.result)===u,Mn(m.impact)===u,y,g)}if(o.phase==="IDLE"&&o.completed&&!o.shouldFlush){const m=o.completed;if(!ab(d,m.critical))return t;const y=Mn(m.impact)===u,b=!!(m.impact.at&&m.impact.at.type==="COMBINE"),w=m.critical.droppable.id===u;return y?b?e:t:w?e:t}return t}},Sfe={updateViewportMaxScroll:Dle},wfe=Ak(xfe,Sfe,(e,t,n)=>({...P3(n),...e,...t}),{context:dw,areStatePropsEqual:O3})(vfe),_fe="_overlay_ukhe7_1",Cfe="_cnt_ukhe7_5",Ofe="_afterOpen_ukhe7_15",lb={overlay:_fe,cnt:Cfe,afterOpen:Ofe},{useMemo:Efe}=Je;function fp({isOpen:e,onRequestClose:t,children:n}){const i=Efe(()=>({base:Oe(vo.content,lb.cnt),afterOpen:lb.afterOpen,beforeClose:""}),[]);return S.jsx(hg,{isOpen:e,onRequestClose:t,className:i,overlayClassName:Oe(vo.overlay,lb.overlay),children:n})}const Rfe="_columnManagerRow_123tk_1",Tfe="_columnManageLabel_123tk_14",Mfe="_columnMoveButtons_123tk_20",Afe="_moveBtn_123tk_26",Dfe="_columnManageSwitch_123tk_49",ga={columnManagerRow:Rfe,columnManageLabel:Tfe,columnMoveButtons:Mfe,moveBtn:Afe,columnManageSwitch:Dfe},Pfe=(e,t)=>({...t,...e&&{background:"transparent"}});function jfe({isOpen:e,onRequestClose:t,columns:n,hiddenColumns:i,setColumns:r,setHiddenColumns:o}){const{t:a}=yt(),c=g=>{if(!g.destination)return;const m=Array.from(n),[y]=m.splice(g.source.index,1);m.splice(g.destination.index,0,y),r(m)},u=(g,m)=>{const y=m?i.filter(b=>b!==g.accessor):[...i,g.accessor];o(y)},d=(g,m)=>{const y=Array.from(n),b=y.findIndex(O=>O.accessor===g);if(b===-1)return;let w=b;if(m==="up"){for(w=b-1;w>=0&&y[w].accessor==="id";)w--;if(w<0)return}else{for(w=b+1;w<y.length&&y[w].accessor==="id";)w++;if(w>=y.length)return}const[_]=y.splice(b,1);y.splice(w,0,_),r(y)},h=n.filter(g=>g.accessor!=="id");return S.jsx(fp,{isOpen:e,onRequestClose:t,children:S.jsx("div",{children:S.jsx(kue,{onDragEnd:c,children:S.jsx(wfe,{droppableId:"droppable-modal",children:g=>S.jsxs("div",{...g.droppableProps,ref:g.innerRef,children:[h.map((m,y)=>{const b=!i.includes(m.accessor),w=y===0,_=y===h.length-1;return S.jsx(tfe,{draggableId:m.accessor,index:n.findIndex(O=>O.accessor===m.accessor),children:(O,R)=>S.jsxs("div",{ref:O.innerRef,...O.draggableProps,...O.dragHandleProps,className:ga.columnManagerRow,style:Pfe(R.isDragging,O.draggableProps.style),children:[S.jsx(Y1,{size:16}),S.jsx("span",{className:ga.columnManageLabel,children:a(m.Header)}),S.jsxs("div",{className:ga.columnMoveButtons,children:[S.jsx("button",{className:ga.moveBtn,onClick:T=>{T.stopPropagation(),d(m.accessor,"up")},disabled:w,title:a("Move Up"),children:S.jsx(k1,{size:14})}),S.jsx("button",{className:ga.moveBtn,onClick:T=>{T.stopPropagation(),d(m.accessor,"down")},disabled:_,title:a("Move Down"),children:S.jsx(ms,{size:14})})]}),S.jsx("div",{className:ga.columnManageSwitch,children:S.jsx(Mi,{size:"mini",checked:b,onChange:T=>u(m,T)})})]})},m.accessor)}),g.placeholder]})})})})})}const Lfe="_sourceipTable_2lem6_1",Nfe="_iptableTipContainer_2lem6_5",OA={sourceipTable:Lfe,iptableTipContainer:Nfe};function kfe({isOpen:e,onRequestClose:t,sourceMap:n,setSourceMap:i}){const{t:r}=yt(),o=(u,d,h)=>{i(g=>g.map((m,y)=>y===d?{...m,[u]:h}:m))},a=u=>{i(d=>d.filter((h,g)=>g!==u))},c=()=>{i(u=>[...u,{reg:"",name:""}])};return S.jsxs(fp,{isOpen:e,onRequestClose:t,children:[S.jsxs("table",{className:OA.sourceipTable,children:[S.jsx("thead",{children:S.jsxs("tr",{children:[S.jsx("th",{children:r("c_source")}),S.jsx("th",{children:r("device_name")})]})}),S.jsx("tbody",{children:n.map((u,d)=>S.jsxs("tr",{children:[S.jsx("td",{children:S.jsx(Ta,{type:"text",name:"reg",autoComplete:"off",value:u.reg,onChange:h=>o("reg",d,h.target.value)})}),S.jsx("td",{children:S.jsx(Ta,{type:"text",name:"name",autoComplete:"off",value:u.name,onChange:h=>o("name",d,h.target.value)})}),S.jsx("td",{children:S.jsx(nt,{onClick:()=>a(d),children:r("delete")})})]},`${d}`))})]}),S.jsxs("div",{children:[S.jsx("div",{className:OA.iptableTipContainer,children:r("sourceip_tip")}),S.jsx(nt,{onClick:c,children:r("add_tag")})]})]})}const{useState:cb,useCallback:ma}=q;function EA(e,t,n,i,r){return n.length>0?S.jsx(rse,{data:n,columns:e,hiddenColumns:t,height:i,apiConfig:r}):S.jsx("div",{className:xt.placeHolder,children:S.jsx(Cp,{width:200,height:200,c1:"var(--color-text)"})})}function RA({qty:e}){return e<100?""+e:"99+"}function Ife({apiConfig:e}){const{t}=yt(),[n,i]=cb(!1),{hiddenColumns:r,setHiddenColumns:o,columns:a,setColumns:c,resetColumns:u}=Gie(),d=()=>{i(!1)},{sourceMapModal:h,sourceMap:g,setSourceMap:m,openModalSource:y,closeModalSource:b}=Uie(),[w,_]=BS(),{conns:O,closedConns:R,isRefreshPaused:T,toggleIsRefreshPaused:M,closeAllConnections:D}=Wie(e,g),{filterKeyword:P,setFilterKeyword:I,filterSourceIpStr:z,setFilterSourceIpStr:U,filteredConns:$,filteredClosedConns:W,connIpSet:Y}=qie({conns:O,closedConns:R,sourceMap:g,t}),[B,H]=cb(!1),L=ma(()=>H(!0),[]),N=ma(()=>H(!1),[]),j=ma(async()=>{await Promise.allSettled($.map(se=>S1(e,se.id))),N()},[e,$,N]),[V,ie]=cb(!1),ae=ma(()=>ie(!0),[]),k=ma(()=>ie(!1),[]),J=ma(()=>{D(),k()},[D,k]);return S.jsx("div",{children:S.jsxs(ek,{children:[S.jsx(Pu,{children:S.jsxs("div",{className:xt.controls,children:[S.jsxs("div",{className:xt.tabGroup,children:[S.jsxs(tk,{className:xt.tabList,children:[S.jsxs(Sx,{children:[S.jsx("span",{children:t("Active")}),S.jsx("span",{className:xt.connQty,children:S.jsx(RA,{qty:$.length})})]}),S.jsxs(Sx,{children:[S.jsx("span",{children:t("Closed")}),S.jsx("span",{className:xt.connQty,children:S.jsx(RA,{qty:W.length})})]})]}),S.jsx(is,{options:Y,selected:z,className:xt.sourceSelect,onChange:se=>U(se.target.value)})]}),S.jsx("div",{style:{flex:1}}),S.jsx("div",{className:xt.inputWrapper,children:S.jsx(Ta,{type:"text",name:"filter",autoComplete:"off",className:xt.input,value:P,placeholder:t("Search"),onChange:se=>I(se.target.value)})}),S.jsxs("div",{className:xt.toolbar,children:[S.jsx("button",{className:xt.toolbarBtn,onClick:ae,title:t("close_all_connections"),children:S.jsx(Na,{size:15})}),S.jsxs("button",{className:xt.toolbarBtn,onClick:L,title:t("close_filter_connections"),children:[S.jsx(Na,{size:13}),S.jsx("span",{className:xt.toolbarBtnBadge,children:"F"})]}),S.jsx("span",{className:xt.toolbarDivider}),S.jsx("button",{className:xt.toolbarBtn,onClick:()=>i(!0),title:t("manage_column"),children:S.jsx(qp,{size:15})}),S.jsx("button",{className:xt.toolbarBtn,onClick:u,title:t("reset_column"),children:S.jsx(X1,{size:15})}),S.jsx("button",{className:xt.toolbarBtn,onClick:y,title:t("client_tag"),children:S.jsx(eS,{size:15})})]})]})}),S.jsx("div",{ref:w,className:xt.contentWrapper,children:S.jsxs("div",{className:xt.scrollArea,style:{height:_-Fv},children:[S.jsxs(wx,{children:[EA(a,r,$,_-Fv,e),S.jsx(ug,{icon:T?S.jsx(Gp,{size:16}):S.jsx(Wp,{size:16}),mainButtonStyles:T?{background:"#e74c3c"}:{},style:cg,text:t(T?"Resume Refresh":"Pause Refresh"),onClick:M})]}),S.jsx(wx,{children:EA(a,r,W,_-Fv,e)})]})}),S.jsx(Dx,{isOpen:V,primaryButtonOnTap:J,onRequestClose:k}),S.jsx(Dx,{confirm:"close_filter_connections",isOpen:B,primaryButtonOnTap:j,onRequestClose:N}),S.jsx(jfe,{isOpen:n,onRequestClose:d,columns:a,hiddenColumns:r,setColumns:c,setHiddenColumns:o}),S.jsx(kfe,{isOpen:h,onRequestClose:b,sourceMap:g,setSourceMap:m})]})})}const zfe=e=>({apiConfig:Ni(e)}),$fe=cn(zfe)(Ife),Ffe="_root_ifizv_4",Bfe={root:Ffe},Hfe="_sparkline_1urkx_1",Vfe={sparkline:Hfe},{useMemo:TA}=Je,Ud={responsive:!0,maintainAspectRatio:!1,parsing:!1,animation:{duration:1e3,easing:"linear"},animations:{y:{duration:0},x:{duration:0}},transitions:{active:{animation:{duration:0}}},plugins:{legend:{display:!1},tooltip:{enabled:!0,intersect:!1,mode:"index"}},scales:{x:{type:"time",display:!1},y:{display:!1,beginAtZero:!0}},elements:{line:{borderWidth:1,tension:.4},point:{radius:0}}};function ub({data:e,labels:t,type:n,styleIndex:i=0}){HN.read();const r=n==="inuse",o=TA(()=>({...Ud,scales:{...Ud.scales,y:{display:!1,beginAtZero:!r}},plugins:{...Ud.plugins,tooltip:{...Ud.plugins.tooltip,displayColors:!1,callbacks:{title:()=>"",label(c){if(c.parsed.y!==null){const u=r?"":"/s",d=r?c.parsed.y:Math.expm1(c.parsed.y);return Qn(d)+u}return""}}}}}),[n,r]),a=TA(()=>({datasets:[{...gx,...mx[i][n],data:e.map((c,u)=>({x:t[u],y:r?c:Math.log1p(c)})),fill:!0}]}),[e,t,n,i,r]);return S.jsx("div",{className:Vfe.sparkline,children:S.jsx(BN,{data:a,options:o,redraw:!1})})}const j3="/memory",Ufe=new TextDecoder("utf-8"),Sc=150,yu={labels:Array(Sc).fill(0).map((e,t)=>Date.now()-(Sc-t)*1e3),inuse:Array(Sc).fill(null),oslimit:Array(Sc).fill(null),size:Sc,subscribers:[],appendData(e){this.inuse.shift(),this.oslimit.shift(),this.labels.shift();const t=Date.now();this.inuse.push(e.inuse),this.oslimit.push(e.oslimit),this.labels.push(t),this.subscribers.forEach(n=>n(e))},subscribe(e){return this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}}};let _a=!1,Wd="";function Fx(e){yu.appendData(JSON.parse(e))}function L3(e){return e.read().then(({done:t,value:n})=>{const i=Ufe.decode(n,{stream:!t});Wd+=i;const r=Wd.split(` +`),o=r[r.length-1];for(let a=0;a<r.length-1;a++)Fx(r[a]);if(t){Fx(o),Wd="",console.log("GET /memory streaming done"),_a=!1;return}else Wd=o;return L3(e)})}let Gd;function Wfe(e){if(_a||Gd===1)return yu;Gd=1;const t=p1(e,j3),n=new WebSocket(t);return n.addEventListener("error",function(i){Gd=3}),n.addEventListener("close",function(i){Gd=3,Gfe(e)}),n.addEventListener("message",function(i){Fx(i.data)}),yu}function Gfe(e){if(_a)return yu;_a=!0;const{url:t,init:n}=qe(e);return fetch(t+j3,n).then(i=>{if(i.ok){const r=i.body.getReader();L3(r)}else _a=!1},i=>{console.log("fetch /memory error",i),_a=!1}),yu}function qfe(e){const t=Wfe(e),[n,i]=C.useState({inuse:[...t.inuse],oslimit:[...t.oslimit],labels:[...t.labels]});return C.useEffect(()=>t.subscribe(()=>{i({inuse:[...t.inuse],oslimit:[...t.oslimit],labels:[...t.labels]})}),[t]),n}function Yfe(e){const t=CP(e),[n,i]=C.useState({up:[...t.up],down:[...t.down],labels:[...t.labels]});return C.useEffect(()=>t.subscribe(()=>{i({up:[...t.up],down:[...t.down],labels:[...t.labels]})}),[t]),n}const{useCallback:Kfe,useEffect:Xfe,useState:Qfe}=Je;function Zfe(e){const[t,n]=Qfe({upTotal:"0 B",dlTotal:"0 B",connNumber:0,mUsage:"0 B"}),i=Kfe(({downloadTotal:r,uploadTotal:o,connections:a,memory:c})=>{n({upTotal:Qn(o),dlTotal:Qn(r),connNumber:a?a.length:0,mUsage:Qn(c)})},[n]);return Xfe(()=>HP(e,i,()=>{}),[e,i]),t}function MA(e){return`${Qn(e||0)}/s`}const Jfe="_TrafficNow_xzvcs_1",ede="_overview_xzvcs_9",tde="_chartsRow_xzvcs_25",nde="_sec_xzvcs_34",ide="_header_xzvcs_53",rde="_value_xzvcs_65",ut={TrafficNow:Jfe,overview:ede,chartsRow:tde,sec:nde,header:ide,value:rde};function ode({apiConfig:e,selectedChartStyleIndex:t}){const{t:n}=yt(),i=Yfe(e),r=qfe(e),{upTotal:o,dlTotal:a,connNumber:c,mUsage:u}=Zfe(e),d=MA(i.up[i.up.length-1]||0),h=MA(i.down[i.down.length-1]||0);return S.jsxs("div",{className:ut.TrafficNow,children:[S.jsxs("div",{className:ut.overview,children:[S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(z1,{size:16}),S.jsx("span",{children:n("Download Total")})]}),S.jsx("div",{className:ut.value,children:a})]}),S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(nS,{size:16}),S.jsx("span",{children:n("Upload Total")})]}),S.jsx("div",{className:ut.value,children:o})]}),S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(Up,{size:16}),S.jsx("span",{children:n("Active Connections")})]}),S.jsx("div",{className:ut.value,children:c})]})]}),S.jsxs("div",{className:ut.chartsRow,children:[S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(el,{size:16}),S.jsx("span",{children:n("Download")})]}),S.jsx("div",{className:ut.value,children:h}),S.jsx(ub,{data:i.down,labels:i.labels,type:"down",styleIndex:t})]}),S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(Eu,{size:16}),S.jsx("span",{children:n("Upload")})]}),S.jsx("div",{className:ut.value,children:d}),S.jsx(ub,{data:i.up,labels:i.labels,type:"up",styleIndex:t})]}),S.jsxs("div",{className:ut.sec,children:[S.jsxs("div",{className:ut.header,children:[S.jsx(Vp,{size:16}),S.jsx("span",{children:n("Memory Usage")})]}),S.jsx("div",{className:ut.value,children:u}),S.jsx(ub,{data:r.inuse,labels:r.labels,type:"inuse",styleIndex:t})]})]})]})}function sde({apiConfig:e,selectedChartStyleIndex:t}){return S.jsx("div",{children:S.jsx("div",{className:Bfe.root,children:S.jsx(ode,{apiConfig:e,selectedChartStyleIndex:t})})})}const ade=e=>({apiConfig:Ni(e),selectedChartStyleIndex:EP(e)}),lde=cn(ade)(sde),cde={debug:"debug",info:"info",warning:"warn",error:"error"},ude=.8,fde=50,{useCallback:qd,useEffect:AA,useRef:dde,useState:hde}=Je;function pde({dispatch:e,logLevel:t,apiConfig:n,logs:i,logStreamingPaused:r,updateAppConfig:o}){const a=qd(()=>{r?YN({...n,logLevel:t}):Vee(),o("logStreamingPaused",!r)},[n,t,r,o]),c=qd(y=>e(a8(y)),[e]);AA(()=>{const y=Hee({...n,logLevel:t},c);return()=>{y?.()}},[n,t,c]);const u=dde(null),[d,h]=hde(!0),g=qd(()=>{u.current&&(u.current.scrollTop=u.current.scrollHeight)},[]);AA(()=>{d&&g()},[i,d,g]);const m=qd(y=>{const{scrollTop:b,scrollHeight:w,clientHeight:_}=y.currentTarget,O=w-b-_<fde;h(O)},[]);return{toggleIsRefreshPaused:a,scrollRef:u,isAtBottom:d,scrollToBottom:g,onScroll:m}}const gde="_headerControls_1cuzh_1",mde="_searchWrapper_1cuzh_19",yde="_levelSelect_1cuzh_29",vde="_clearBtn_1cuzh_35",bde="_logLine_1cuzh_52",xde="_logMeta_1cuzh_69",Sde="_logTime_1cuzh_82",wde="_logType_1cuzh_88",_de="_logText_1cuzh_114",Cde="_logsWrapper_1cuzh_120",Ode="_scrollToBottomBtn_1cuzh_143",Ede="_logPlaceholder_1cuzh_170",Rde="_logPlaceholderIcon_1cuzh_183",wn={headerControls:gde,searchWrapper:mde,levelSelect:yde,clearBtn:vde,logLine:bde,logMeta:xde,logTime:Sde,logType:wde,logText:_de,logsWrapper:Cde,scrollToBottomBtn:Ode,logPlaceholder:Ede,logPlaceholderIcon:Rde};function Bx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Tde=typeof global=="object"&&global&&global.Object===Object&&global,Mde=typeof self=="object"&&self&&self.Object===Object&&self,N3=Tde||Mde||Function("return this")(),fb=function(){return N3.Date.now()},Ade=/\s/;function Dde(e){for(var t=e.length;t--&&Ade.test(e.charAt(t)););return t}var Pde=/^\s+/;function jde(e){return e&&e.slice(0,Dde(e)+1).replace(Pde,"")}var dp=N3.Symbol,k3=Object.prototype,Lde=k3.hasOwnProperty,Nde=k3.toString,wc=dp?dp.toStringTag:void 0;function kde(e){var t=Lde.call(e,wc),n=e[wc];try{e[wc]=void 0;var i=!0}catch{}var r=Nde.call(e);return i&&(t?e[wc]=n:delete e[wc]),r}var Ide=Object.prototype,zde=Ide.toString;function $de(e){return zde.call(e)}var Fde="[object Null]",Bde="[object Undefined]",DA=dp?dp.toStringTag:void 0;function Hde(e){return e==null?e===void 0?Bde:Fde:DA&&DA in Object(e)?kde(e):$de(e)}function Vde(e){return e!=null&&typeof e=="object"}var Ude="[object Symbol]";function Wde(e){return typeof e=="symbol"||Vde(e)&&Hde(e)==Ude}var PA=NaN,Gde=/^[-+]0x[0-9a-f]+$/i,qde=/^0b[01]+$/i,Yde=/^0o[0-7]+$/i,Kde=parseInt;function jA(e){if(typeof e=="number")return e;if(Wde(e))return PA;if(Bx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Bx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=jde(e);var n=qde.test(e);return n||Yde.test(e)?Kde(e.slice(2),n?2:8):Gde.test(e)?PA:+e}var Xde="Expected a function",Qde=Math.max,Zde=Math.min;function I3(e,t,n){var i,r,o,a,c,u,d=0,h=!1,g=!1,m=!0;if(typeof e!="function")throw new TypeError(Xde);t=jA(t)||0,Bx(n)&&(h=!!n.leading,g="maxWait"in n,o=g?Qde(jA(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m);function y(P){var I=i,z=r;return i=r=void 0,d=P,a=e.apply(z,I),a}function b(P){return d=P,c=setTimeout(O,t),h?y(P):a}function w(P){var I=P-u,z=P-d,U=t-I;return g?Zde(U,o-z):U}function _(P){var I=P-u,z=P-d;return u===void 0||I>=t||I<0||g&&z>=o}function O(){var P=fb();if(_(P))return R(P);c=setTimeout(O,w(P))}function R(P){return c=void 0,m&&i?y(P):(i=r=void 0,a)}function T(){c!==void 0&&clearTimeout(c),d=0,i=u=r=c=void 0}function M(){return c===void 0?a:R(fb())}function D(){var P=fb(),I=_(P);if(i=arguments,r=this,u=P,I){if(c===void 0)return b(u);if(g)return clearTimeout(c),c=setTimeout(O,t),y(u)}return c===void 0&&(c=setTimeout(O,t)),a}return D.cancel=T,D.flush=M,D}const Jde="_RuleSearch_1lcjq_1",ehe="_input_1lcjq_5",LA={RuleSearch:Jde,input:ehe};function the({dispatch:e,searchText:t,updateSearchText:n,className:i}){const{t:r}=yt(),[o,a]=C.useState(t),c=C.useCallback(h=>{e(n(h))},[e,n]),u=C.useMemo(()=>I3(c,300),[c]),d=h=>{a(h.target.value),u(h.target.value)};return S.jsx("div",{className:i||LA.RuleSearch,children:S.jsx("input",{type:"text",value:o,onChange:d,className:LA.input,placeholder:r("Search")})})}const nhe=e=>({searchText:NP(e),updateSearchText:o8}),ihe=cn(nhe)(the);function rhe({time:e,payload:t,type:n}){return S.jsxs("div",{className:wn.logLine,children:[S.jsxs("div",{className:wn.logMeta,children:[S.jsx("span",{className:wn.logTime,children:e}),S.jsx("span",{className:wn.logType,"data-type":n,children:cde[n]})]}),S.jsx("div",{className:wn.logText,children:t})]})}function ohe({dispatch:e,logLevel:t,apiConfig:n,logs:i,logStreamingPaused:r}){const o=Xa(),{toggleIsRefreshPaused:a,scrollRef:c,isAtBottom:u,scrollToBottom:d,onScroll:h}=pde({dispatch:e,logLevel:t,apiConfig:n,logs:i,logStreamingPaused:r,updateAppConfig:o.app.updateAppConfig}),[g,m]=BS(),{t:y}=yt();return S.jsxs("div",{children:[S.jsx(Pu,{children:S.jsxs("div",{className:wn.headerControls,children:[S.jsx(ihe,{className:wn.searchWrapper}),S.jsx(is,{className:wn.levelSelect,options:XN,selected:t?t.toLowerCase():"info",onChange:b=>e(eh(n,{"log-level":b.target.value}))}),S.jsx("button",{className:wn.clearBtn,onClick:()=>e(s8()),title:y("Clear"),children:S.jsx(Yp,{size:18})})]})}),S.jsxs("div",{ref:g,style:{position:"relative"},children:[S.jsx("div",{className:wn.logsWrapper,style:{height:m*ude},ref:c,onScroll:h,children:i.length===0?S.jsxs("div",{className:wn.logPlaceholder,style:{height:"100%"},children:[S.jsx("div",{className:wn.logPlaceholderIcon,children:S.jsx(Cp,{width:200,height:200})}),S.jsx("div",{children:y("no_logs")})]}):i.map((b,w)=>C.createElement(rhe,{...b,key:b.id||w}))}),i.length>0&&!u&&S.jsx("button",{className:wn.scrollToBottomBtn,onClick:d,children:S.jsx(el,{size:16})}),S.jsx(ug,{icon:r?S.jsx(Gp,{size:16}):S.jsx(Wp,{size:16}),mainButtonStyles:r?{background:"#e74c3c"}:{},style:cg,text:y(r?"Resume Refresh":"Pause Refresh"),onClick:a})]})]})}const she=e=>({logs:r8(e),logLevel:_H(e),apiConfig:Ni(e),logStreamingPaused:kH(e)}),ahe=cn(she)(ohe),lhe="_FlexCenter_1380a_1",che={FlexCenter:lhe};function uhe({children:e}){return S.jsx("div",{className:che.FlexCenter,children:e})}const{useRef:NA,useEffect:fhe}=Je;function dhe({onClickPrimaryButton:e,onClickSecondaryButton:t}){const n=NA(null),i=NA(null);fhe(()=>{n.current.focus()},[]);const r=o=>{o.keyCode===39?i.current.focus():o.keyCode===37&&n.current.focus()};return S.jsxs("div",{onKeyDown:r,children:[S.jsx("h2",{children:"Close Connections?"}),S.jsx("p",{children:"Click 'Yes' to close those connections that are still using the old selected proxy in this group"}),S.jsx("div",{style:{height:30}}),S.jsxs(uhe,{children:[S.jsx(nt,{onClick:e,ref:n,children:"Yes"}),S.jsx("div",{style:{width:20}}),S.jsx(nt,{onClick:t,ref:i,children:"No"})]})]})}const hhe=[["Natural","order_natural"],["LatencyAsc","order_latency_asc"],["LatencyDesc","order_latency_desc"],["NameAsc","order_name_asc"],["NameDesc","order_name_desc"]];function kA(e){return e<100?String(e):"99+"}function IA(e,t){if(t!=="double")return[e];const n=[],i=[];return e.forEach((r,o)=>{o%2===0?n.push(r):i.push(r)}),[n,i]}function zu(e,t,n,i=new Set){if(i.has(n))return;i.add(n);const r=t[n];if(r&&(r.testing||typeof r.number=="number"||r.error))return r;const o=e[n];if(o&&o.now&&e[o.now])return zu(e,t,o.now,i);const a=o?.history?.[o.history.length-1]?.delay;return typeof a=="number"&&a>0?{number:a}:r}const{useCallback:ss,useEffect:phe,useMemo:Hx,useRef:ghe,useState:hp}=Je;function mhe(e,t){return e.filter(n=>{const i=t[n];return i===void 0?!0:i.number!==0})}const Yd=(e,t)=>{if(e&&typeof e.number=="number"&&e.number>0)return e.number;const n=t&&t.type;return n&&GP.indexOf(n)>-1?-1:999999},yhe={Natural:e=>e,LatencyAsc:(e,t,n)=>e.sort((i,r)=>{const o=Yd(t[i],n&&n[i]),a=Yd(t[r],n&&n[r]);return o-a}),LatencyDesc:(e,t,n)=>e.sort((i,r)=>{const o=Yd(t[i],n&&n[i]);return Yd(t[r],n&&n[r])-o}),NameAsc:e=>e.sort(),NameDesc:e=>e.sort((t,n)=>t>n?-1:t<n?1:0)};function vhe(e,t){const n=t.toLowerCase().split(" ").map(i=>i.trim()).filter(i=>!!i);return n.length===0?e:e.filter(i=>{let r=0;for(;r<n.length;r++){const o=n[r];if(i.toLowerCase().indexOf(o)>-1)return!0}return!1})}function bhe(e,t,n,i,r,o){let a=[...e];return n&&(a=mhe(e,t)),typeof i=="string"&&i!==""&&(a=vhe(a,i)),yhe[r](a,t,o)}function z3(e,t,n,i,r){const[o]=Ea(nj);return Hx(()=>bhe(e,t,n,o,i,r),[e,t,n,o,i,r])}function xhe({dispatch:e,apiConfig:t,name:n}){return ss(()=>e(nV(t,n)),[t,e,n])}function She({dispatch:e,apiConfig:t,names:n}){const[i,r]=hp(!1);return[ss(async()=>{if(!i){r(!0);try{await e(iV(t,n))}catch{}r(!1)}},[t,e,n,i]),i]}function whe({dispatch:e,apiConfig:t}){const[n,i]=hp(!1);return[ss(()=>{n||(i(!0),e(hV(t)).then(()=>i(!1),()=>i(!1)))},[t,e,n]),n]}function _he({dispatch:e,apiConfig:t,groupNames:n,proxyProviders:i,proxiesLayout:r}){const o=ghe({}),a=ss(()=>{o.current.startAt=Date.now(),e(So(t)).then(()=>{o.current.completeAt=Date.now()})},[t,e]);phe(()=>{a();const _=()=>{o.current.startAt&&Date.now()-o.current.startAt>3e4&&a()};return window.addEventListener("focus",_,!1),()=>window.removeEventListener("focus",_,!1)},[a]);const[c,u]=hp(!1),d=ss(()=>{u(!1)},[]),h=ss(()=>{u(!0)},[]),[g,m]=hp("proxies"),y=ss(_=>O=>{(O.key==="Enter"||O.key===" ")&&m(_)},[]),b=Hx(()=>{const _=n.map((O,R)=>({name:O,i:R}));return IA(_,r)},[n,r]),w=Hx(()=>{const _=i.map((O,R)=>({item:O,i:R}));return IA(_,r)},[i,r]);return{isSettingsModalOpen:c,openSettingsModal:h,closeSettingsModal:d,activeTab:g,setActiveTab:m,handleTabKeyDown:y,proxyGroups:b,providers:w}}const{memo:Che}=q,Ohe={initialOpen:{height:"auto",opacity:1,visibility:"visible",transition:{duration:0}},open:{height:"auto",opacity:1,visibility:"visible",transition:{duration:.3}},closed:{height:0,opacity:0,visibility:"hidden",overflowY:"hidden",transition:{duration:.3}}},pp=Che(({children:e,isOpen:t})=>S.jsx(Au,{features:Du,children:S.jsx(Ia.div,{initial:t?"initialOpen":"closed",animate:t?"open":"closed",variants:Ohe,style:{overflow:"hidden"},children:e})})),Ehe="_header_1ev3l_1",Rhe="_lock_1ev3l_26",The="_qty_1ev3l_35",db={header:Ehe,lock:Rhe,qty:The};function $3({name:e,type:t,toggle:n,qty:i,fixed:r}){const{t:o}=yt(),a=C.useCallback(c=>{c.preventDefault(),(c.key==="Enter"||c.key===" ")&&n()},[n]);return S.jsxs("div",{className:db.header,onClick:n,style:{cursor:"pointer"},tabIndex:0,onKeyDown:a,role:"button",children:[S.jsx("div",{children:S.jsx(pK,{name:e,type:t})}),r?S.jsx("span",{className:db.lock,title:o("group_fixed_tip"),children:S.jsx(G1,{size:13})}):null,typeof i=="number"?S.jsx("span",{className:db.qty,children:i}):null]})}const Mhe="_group_1tvqk_5",Ahe="_zapWrapper_1tvqk_14",Dhe="_arrow_1tvqk_22",Phe="_isOpen_1tvqk_27",jhe="_groupHeader_1tvqk_34",Lhe="_btnGroup_1tvqk_40",Nhe="_nowRow_1tvqk_53",khe="_nowName_1tvqk_61",Ihe="_nowLatency_1tvqk_71",zhe="_availBar_1tvqk_78",$he="_availBarTrack_1tvqk_86",Fhe="_availBarFill_1tvqk_94",It={group:Mhe,zapWrapper:Ahe,arrow:Dhe,isOpen:Phe,groupHeader:jhe,btnGroup:Lhe,nowRow:Nhe,nowName:khe,nowLatency:Ihe,availBar:zhe,availBarTrack:$he,availBarFill:Fhe},F3={Enter:13},Bhe="_proxy_1u6fo_4",Hhe="_now_1u6fo_34",Vhe="_error_1u6fo_39",Uhe="_selectable_1u6fo_42",Whe="_proxyType_1u6fo_50",Ghe="_udpType_1u6fo_68",qhe="_row_1u6fo_90",Yhe="_proxyName_1u6fo_98",Khe="_proxySmall_1u6fo_109",Sn={proxy:Bhe,now:Hhe,error:Vhe,selectable:Uhe,proxyType:Whe,udpType:Ghe,row:qhe,proxyName:Yhe,proxySmall:Khe},Xhe="_proxyLatency_1t6dc_4",Qhe="_clickable_1t6dc_28",Zhe="_placeholder_1t6dc_39",Jhe="_testing_1t6dc_43",Kd={proxyLatency:Xhe,clickable:Qhe,placeholder:Zhe,testing:Jhe},epe=450;function tpe({number:e,color:t,isTesting:n,error:i,onClick:r}){const o=typeof e=="number",a=C.useRef(null),c=C.useRef(e);C.useEffect(()=>{const m=c.current;if(c.current=e,!o||n||typeof m!="number"||m===e)return;const y=e,b=performance.now();let w;const _=O=>{const R=Math.min((O-b)/epe,1),T=1-(1-R)*(1-R);a.current&&(a.current.textContent=`${Math.round(m+(y-m)*T)} ms`),R<1&&(w=requestAnimationFrame(_))};return w=requestAnimationFrame(_),()=>cancelAnimationFrame(w)},[e,o,n]);const u=n?"Testing...":o?`${e} ms`:i||"--",d=Oe(Kd.proxyLatency,{[Kd.clickable]:!!r,[Kd.placeholder]:!o||!!i,[Kd.testing]:n}),h=C.useCallback(m=>{!r||n||(m.preventDefault(),m.stopPropagation(),r())},[n,r]),g=C.useCallback(m=>{!r||n||(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),r())},[n,r]);return S.jsx("span",{className:d,style:{color:o?t:void 0},role:r?"button":void 0,tabIndex:r?0:void 0,onClick:h,onKeyDown:g,title:u,children:S.jsx("span",{ref:a,children:u})})}const{memo:B3,useMemo:gp}=Je,_c={good:"#67c23a",normal:"#d4b75c",bad:"#e67f3c",na:"#909399"};function H3({number:e}={},t){const n={good:t?800:200,normal:t?1500:500};return e===0?_c.na:e<n.good?_c.good:e<n.normal?_c.normal:typeof e=="number"?_c.bad:_c.na}function npe(e,t){return H3(e,t)}const ipe=B3(function({now:t,name:n,proxy:i,latency:r,httpsLatencyTest:o,isSelectable:a,onClick:c}){const u=i.history[i.history.length-1]?.delay,d=r?.number??u,h=gp(()=>npe({number:d},o),[d,o]),g=gp(()=>{let b=n;return r&&typeof r.number=="number"&&(b+=" "+r.number+" ms"),b},[n,r]),m=C.useCallback(()=>{a&&c&&c(n)},[n,c,a]),y=C.useCallback(b=>{b.keyCode===F3.Enter&&m()},[m]);return S.jsx("div",{title:g,className:Oe(Sn.proxySmall,{[Sn.selectable]:a}),style:{background:h,scale:t?"1.2":"1"},onClick:m,onKeyDown:y,role:a?"menuitem":"",children:t&&S.jsx("div",{className:Sn.now})})});function rpe(e){return e==="Shadowsocks"?"SS":e}const V3=B3(function({now:t,name:n,proxy:i,latency:r,httpsLatencyTest:o,isSelectable:a,onClick:c,apiConfig:u,dispatch:d}){const h=i.history[i.history.length-1]?.delay,g=typeof r?.number=="number"?r.number:typeof h=="number"?h:void 0,m=typeof g=="number"&&g>0,y=gp(()=>H3({number:m?g:void 0},o),[m,g,o]),b=!!r?.testing,w=C.useCallback(()=>{a&&c&&c(n)},[n,c,a]);function _(D,P){return D?P?"XUDP":"UDP":""}function O(D){return D?S.jsx("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2962",width:"10",height:"10",children:S.jsx("path",{d:"M648.093513 719.209284l-1.492609-40.940127 31.046263-26.739021c202.73892-174.805813 284.022131-385.860697 255.70521-561.306199-176.938111-28.786027-389.698834 51.857494-563.907604 254.511123l-26.31256 30.619803-40.38573-0.938211c-60.557271-1.407317-111.903014 12.79379-162.822297 47.0385l189.561318 127.084977-37.95491 68.489421c-9.126237 16.461343-0.554398 53.307457 29.084549 82.818465 29.5963 29.511008 67.380626 38.381369 83.287571 29.852176l68.318836-36.760822 127.639376 191.267156c36.163779-52.11337 50.450177-103.629696 48.189941-165.039887zM994.336107 16.105249l10.490908 2.686696 2.64405 10.405615c47.46496 178.089552-1.023503 451.492838-274.170913 686.898568 4.051367 111.263324-35.396151 200.222809-127.255561 291.741051l-15.779008 15.693715-145.934494-218.731157c-51.217805 27.59194-128.790816 10.405616-183.93205-44.522388-55.226525-55.013296-72.41285-132.287785-43.498885-184.529093L0.002773 430.325513l15.736362-15.65107c89.300652-88.959484 178.64395-128.108481 289.011709-125.549722C539.730114 15.806727 815.56422-31.061189 994.336107 16.105249zM214.93844 805.098259c28.572797 28.572797 22.346486 79.49208-12.537914 114.376479C156.428175 965.489735 34.034254 986.002445 34.034254 986.002445s25.331704-127.084978 66.612998-168.323627c34.8844-34.8844 85.633099-41.281295 114.291188-12.580559zM661.01524 298.549479a63.968948 63.968948 0 1 0 0 127.937897 63.968948 63.968948 0 0 0 0-127.937897z","p-id":"2963"})}):""}const R=C.useCallback(D=>{D.keyCode===F3.Enter&&w()},[w]),T=gp(()=>Oe(Sn.proxy,{[Sn.now]:t,[Sn.error]:r&&r.error,[Sn.selectable]:a}),[a,t,r]),M=C.useCallback(()=>{b||d(tj(u,n))},[u,d,b,n]);return S.jsxs("div",{tabIndex:0,className:T,onClick:w,onKeyDown:R,role:a?"menuitem":"",children:[S.jsxs("div",{className:Oe(Sn.proxyName,Sn.row),children:[S.jsx(eg,{label:n,"aria-label":`proxy name: ${n}`,children:S.jsx("span",{children:n})}),S.jsx("span",{className:Sn.udpType,style:{paddingLeft:4},children:_(i.udp,i.xudp)})]}),S.jsxs("div",{className:Sn.row,children:[S.jsxs("div",{className:Sn.row,children:[S.jsx("span",{className:Sn.proxyType,style:{paddingRight:4},children:rpe(i.type)}),O(i.tfo)]}),S.jsx(tpe,{number:m?g:void 0,color:y,isTesting:b,error:r?.error,onClick:M})]})]})}),ope="_list_vqwkl_4",spe="_detail_vqwkl_10",ape="_summary_vqwkl_19",lpe="_providerGroup_vqwkl_24",cpe="_providerLabel_vqwkl_28",to={list:ope,detail:spe,summary:ape,providerGroup:lpe,providerLabel:cpe};function U3({all:e,proxies:t,delay:n,httpsLatencyTest:i,apiConfig:r,dispatch:o,now:a,isSelectable:c,itemOnTapCallback:u}){const d=e;return S.jsx("div",{className:Oe(to.list,to.detail),children:d.map(h=>{const g=t[h]||{name:h,type:"Http",udp:!1,tfo:!1,history:[]};return S.jsx(V3,{apiConfig:r,dispatch:o,proxy:g,latency:zu(t,n,h),httpsLatencyTest:i,onClick:u,isSelectable:c,name:h,now:h===a},h)})})}function W3({all:e,proxies:t,delay:n,httpsLatencyTest:i,apiConfig:r,dispatch:o,now:a,isSelectable:c,itemOnTapCallback:u}){return S.jsx("div",{className:Oe(to.list,to.summary),children:e.map(d=>{const h=t[d]||{name:d,type:"Http",udp:!1,tfo:!1,history:[]};return S.jsx(ipe,{apiConfig:r,dispatch:o,proxy:h,latency:zu(t,n,d),httpsLatencyTest:i,onClick:u,isSelectable:c,name:d,now:d===a},d)})})}function upe({all:e,proxies:t,delay:n,httpsLatencyTest:i,apiConfig:r,dispatch:o,now:a,isSelectable:c,itemOnTapCallback:u}){const d=C.useMemo(()=>{const h=new Map;for(const g of e){const m=t[g]?.providerName??"";h.has(m)||h.set(m,[]),h.get(m).push(g)}return Array.from(h.entries()).map(([g,m])=>({label:g,names:m}))},[e,t]);return S.jsx("div",{children:d.map(({label:h,names:g})=>S.jsxs("div",{className:to.providerGroup,children:[h?S.jsx("div",{className:to.providerLabel,children:h}):null,S.jsx("div",{className:Oe(to.list,to.detail),children:g.map(m=>{const y=t[m]||{name:m,type:"Http",udp:!1,tfo:!1,history:[]};return S.jsx(V3,{apiConfig:r,dispatch:o,proxy:y,latency:zu(t,n,m),httpsLatencyTest:i,onClick:u,isSelectable:c,name:m,now:m===a},m)})})]},h))})}const{memo:G3,useCallback:hb,useLayoutEffect:fpe,useMemo:Mc,useRef:dpe,useState:zA}=Je;function hpe(e,t){const n=e[t];if(!n?.now)return null;const i=[n.now];let r=e[n.now],o=0;for(;r?.now&&o<3;){const a=e[r.now];if(!a)break;i.push(r.now),r=a,o++}return i.join(" ⊙ ")}function q3(e,t){return e.filter(n=>{const i=t[n];return i&&typeof i.number=="number"&&i.number>0}).length}function ppe(e,t){if(!e||e===0)return"#909399";const n=t?800:200,i=t?1500:500;return e<n?"#67c23a":e<i?"#d4b75c":"#e67f3c"}function gpe(){return S.jsx("div",{className:It.zapWrapper,children:S.jsx(ho,{size:16})})}const mpe=G3(function({all:t,delay:n}){const i=t.length,r=Mc(()=>q3(t,n),[t,n]),o=i>0?Math.round(r/i*100):0;return S.jsx("div",{className:It.availBar,children:S.jsx("div",{className:It.availBarTrack,children:S.jsx("div",{className:It.availBarFill,style:{width:`${o}%`}})})})}),ype=G3(function({name:t,delay:n,hideUnavailableProxies:i,proxySortBy:r,proxies:o,isOpen:a,httpsLatencyTest:c,apiConfig:u,dispatch:d,proxyGroupByProvider:h=!1}){const g=o[t],{all:m=[],type:y,now:b,fixed:w}=g||{},_=z3(m,n,i,r,o),O=Mc(()=>hpe(o,t),[o,t]),R=Mc(()=>b?zu(o,n,b):void 0,[o,n,b]),M=`${Mc(()=>q3(m,n),[m,n])}/${m.length}`,{data:D}=Ka({queryKey:["/version",u],queryFn:()=>Bp("/version",u)}),P=Mc(()=>["Selector",D.meta&&"Fallback",D.meta&&"URLTest"].includes(y),[y,D.meta]),{app:{updateCollapsibleIsOpen:I},proxies:{requestDelayForGroup:z}}=Xa(),U=hb(()=>{I("proxyGroup",t,!a)},[a,I,t]),$=hb(ie=>{P&&d(uV(u,t,ie))},[u,d,t,P]),[W,Y]=zA(!1),B=dpe(null),[H,L]=zA(0);fpe(()=>{const ie=B.current;if(!ie)return;const ae=ie.offsetWidth;ae>0&&L(ae);const k=new ResizeObserver(J=>{L(J[0].contentRect.width)});return k.observe(ie),()=>k.disconnect()},[]);const N=H>0?Math.floor(H/25):1/0,j=_.length>N,V=hb(async()=>{Y(!0);try{await z(u,t,D.meta===!0,_)}catch{}Y(!1)},[_,u,t,D.meta,z]);return S.jsxs("div",{className:It.group,children:[S.jsxs("div",{className:It.groupHeader,children:[S.jsx($3,{name:t,type:y,toggle:U,qty:M,fixed:!!w}),S.jsxs("div",{className:It.btnGroup,children:[S.jsx(nt,{kind:"minimal",onClick:U,className:It.btn,title:"Toggle collapsible section",children:S.jsx("span",{className:Oe(It.arrow,{[It.isOpen]:a}),children:S.jsx(ms,{size:20})})}),S.jsx(nt,{title:"Test latency",kind:"minimal",onClick:V,isLoading:W,children:S.jsx(gpe,{})})]})]}),S.jsx(pp,{isOpen:a,children:h?S.jsx(upe,{apiConfig:u,all:_,delay:n,dispatch:d,httpsLatencyTest:c,now:b,isSelectable:P,itemOnTapCallback:$,proxies:o}):S.jsx(U3,{apiConfig:u,all:_,delay:n,dispatch:d,httpsLatencyTest:c,now:b,isSelectable:P,itemOnTapCallback:$,proxies:o})}),S.jsxs(pp,{isOpen:!a,children:[O&&S.jsxs("div",{className:It.nowRow,children:[S.jsxs("span",{className:It.nowName,children:["⊙ ",O]}),R?.number?S.jsxs("span",{className:It.nowLatency,style:{color:ppe(R.number,c)},children:[R.number," ms"]}):null]}),S.jsx("div",{ref:B,children:j?S.jsx(mpe,{all:m,delay:n}):S.jsx(W3,{apiConfig:u,all:_,delay:n,dispatch:d,httpsLatencyTest:c,now:b,isSelectable:P,itemOnTapCallback:$,proxies:o})})]})]})}),vpe="_rotate_1dspl_1",bpe="_isRotating_1dspl_5",$A={rotate:vpe,isRotating:bpe};function Y3({isRotating:e}){const t=Oe($A.rotate,{[$A.isRotating]:e});return S.jsx("span",{className:t,children:S.jsx(as,{width:16})})}function xpe({isLoading:e}){return e?S.jsx(Tte,{children:S.jsx(ho,{width:16,height:16})}):S.jsx(ho,{width:16,height:16})}function Spe({dispatch:e,apiConfig:t,proxyProviders:n}){const{t:i}=yt(),[r,o]=whe({dispatch:e,apiConfig:t}),[a,c]=She({apiConfig:t,dispatch:e,names:n.map(u=>u.name)});return S.jsx(ug,{icon:S.jsx(xpe,{isLoading:o}),onClick:r,text:i("Test Latency"),style:cg,children:n.length>0?S.jsx(Mte,{text:i("update_all_proxy_provider"),onClick:a,children:S.jsx(Y3,{isRotating:c})}):null})}const wpe="_updatedAt_xahar_4",_pe="_body_xahar_12",Cpe="_actionFooter_xahar_24",Ope="_refresh_xahar_34",hh={updatedAt:wpe,body:_pe,actionFooter:Cpe,refresh:Ope},{memo:Epe,useState:Rpe,useCallback:FA}=Je,Tpe=Epe(function({name:t,proxies:n,delay:i,hideUnavailableProxies:r,proxySortBy:o,vehicleType:a,updatedAt:c,subscriptionInfo:u,proxyMapping:d,httpsLatencyTest:h,isOpen:g,dispatch:m,apiConfig:y}){const b=z3(n,i,r,o),[w,_]=Rpe(!1),O=xhe({dispatch:m,apiConfig:y,name:t}),R=FA(async()=>{_(!0),await m(rV(y,t)),_(!1)},[y,m,t,_]),{app:{updateCollapsibleIsOpen:T}}=Xa(),M=FA(()=>{T("proxyProvider",t,!g)},[g,T,t]),D=Nu(new Date(c),new Date),P=u?BA(u.Total):0,I=u?BA(u.Download+u.Upload):0,z=u?((u.Download+u.Upload)/u.Total*100).toFixed(2):0,U=()=>{if(u.Expire===0)return"Null";const $=new Date(u.Expire*1e3),W=$.getFullYear()+"-",Y=($.getMonth()+1<10?"0"+($.getMonth()+1):$.getMonth()+1)+"-",B=($.getDate()<10?"0"+$.getDate():$.getDate())+" ";return W+Y+B};return S.jsxs("div",{className:hh.body,children:[S.jsxs("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between",userSelect:"none"},children:[S.jsx($3,{name:t,toggle:M,type:a,isOpen:g,qty:b.length}),S.jsxs("div",{style:{display:"flex"},children:[S.jsx(nt,{kind:"minimal",onClick:M,className:It.btn,title:"Toggle collapsible section",children:S.jsx("span",{className:Oe(It.arrow,{[It.isOpen]:g}),children:S.jsx(ms,{size:20})})}),S.jsx(nt,{kind:"minimal",start:S.jsx(HA,{}),onClick:O}),S.jsx(nt,{kind:"minimal",start:S.jsx(ho,{size:16}),onClick:R,isLoading:w})]})]}),S.jsxs("div",{className:hh.updatedAt,children:[u&&S.jsxs("small",{children:[I," / ",P," ( ",z,"% ) Expire: ",U()," "]}),S.jsx("br",{}),S.jsxs("small",{children:["Updated ",D," ago"]})]}),S.jsxs(pp,{isOpen:g,children:[S.jsx(U3,{all:b,proxies:d,delay:i,httpsLatencyTest:h,apiConfig:y,dispatch:m}),S.jsxs("div",{className:hh.actionFooter,children:[S.jsx(nt,{text:"Update",start:S.jsx(HA,{}),onClick:O}),S.jsx(nt,{text:"Health Check",start:S.jsx(ho,{size:16}),onClick:R,isLoading:w})]})]}),S.jsx(pp,{isOpen:!g,children:S.jsx(W3,{all:b,proxies:d,delay:i,httpsLatencyTest:h,apiConfig:y,dispatch:m})})]})}),Mpe={rest:{scale:1},pressed:{scale:.95}},Ape={rest:{rotate:0},hover:{rotate:360,transition:{duration:.3}}};function BA(e,t=2){if(!+e)return"0 Bytes";const n=1024,i=t<0?0:t,r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,o)).toFixed(i))} ${r[o]}`}function HA(){return S.jsx(Au,{features:Du,children:S.jsx(Ia.div,{className:hh.refresh,variants:Mpe,initial:"rest",whileHover:"hover",whileTap:"pressed",children:S.jsx(Ia.div,{className:"flexCenter",variants:Ape,children:S.jsx(as,{size:16})})})})}const Dpe="_labeledInput_8kei5_1",Ppe="_urlInputWrapper_8kei5_11",jpe="_urlInput_8kei5_11",Lpe="_urlClearBtn_8kei5_32",Npe="_timeoutInputWrapper_8kei5_49",kpe="_timeoutInput_8kei5_49",Ipe="_timeoutUnit_8kei5_70",st={labeledInput:Dpe,urlInputWrapper:Ppe,urlInput:jpe,urlClearBtn:Lpe,timeoutInputWrapper:Npe,timeoutInput:kpe,timeoutUnit:Ipe},{useCallback:qr}=Je;function zpe({appConfig:e}){const{app:{updateAppConfig:t}}=Xa(),n=qr(g=>{t("proxySortBy",g.target.value)},[t]),i=qr(g=>{t("hideUnavailableProxies",g)},[t]),r=qr(g=>{t("latencyTestUrl",g.target.value)},[t]),o=qr(()=>{t("latencyTestUrl","")},[t]),a=qr(g=>{const m=parseInt(g.target.value,10);!isNaN(m)&&m>0&&t("latencyTestTimeout",m)},[t]),c=qr(g=>{const m=parseInt(g.target.value,10);!isNaN(m)&&m>0&&t("providerHealthcheckTimeout",m)},[t]),u=qr(g=>{t("latencyTestExpectedStatus",g.target.value.trim())},[t]),d=qr(()=>{t("latencyTestExpectedStatus","")},[t]),{t:h}=yt();return S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("latency_test_url")}),S.jsxs("div",{className:st.urlInputWrapper,children:[S.jsx("input",{className:st.urlInput,type:"text",value:e.latencyTestUrl,onChange:r,spellCheck:!1}),e.latencyTestUrl&&S.jsx("button",{className:st.urlClearBtn,onClick:o,tabIndex:-1,children:"×"})]})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("latency_test_timeout")}),S.jsxs("div",{className:st.timeoutInputWrapper,children:[S.jsx("input",{className:st.timeoutInput,type:"number",min:100,max:3e4,step:100,value:e.latencyTestTimeout,onChange:a}),S.jsx("span",{className:st.timeoutUnit,children:"ms"})]})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("provider_healthcheck_timeout")}),S.jsxs("div",{className:st.timeoutInputWrapper,children:[S.jsx("input",{className:st.timeoutInput,type:"number",min:1e3,max:6e4,step:500,value:e.providerHealthcheckTimeout,onChange:c}),S.jsx("span",{className:st.timeoutUnit,children:"ms"})]})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("latency_test_expected_status")}),S.jsxs("div",{className:st.urlInputWrapper,children:[S.jsx("input",{className:st.urlInput,type:"text",placeholder:"200/204",value:e.latencyTestExpectedStatus,onChange:u,spellCheck:!1}),e.latencyTestExpectedStatus&&S.jsx("button",{className:st.urlClearBtn,onClick:d,tabIndex:-1,children:"×"})]})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("prefer_backend_test_url")}),S.jsx("div",{children:S.jsx(Mi,{name:"preferBackendLatencyTestUrl",checked:e.preferBackendLatencyTestUrl,onChange:g=>t("preferBackendLatencyTestUrl",g)})})]}),S.jsx("hr",{}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("sort_in_grp")}),S.jsx("div",{children:S.jsx(is,{options:hhe.map(g=>[g[0],h(g[1])]),selected:e.proxySortBy,onChange:n})})]}),S.jsx("hr",{}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("hide_unavail_proxies")}),S.jsx("div",{children:S.jsx(Mi,{name:"hideUnavailableProxies",checked:e.hideUnavailableProxies,onChange:i})})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("auto_close_conns")}),S.jsx("div",{children:S.jsx(Mi,{name:"autoCloseOldConns",checked:e.autoCloseOldConns,onChange:g=>t("autoCloseOldConns",g)})})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("double_column_layout")}),S.jsx("div",{children:S.jsx(Mi,{name:"proxiesLayout",checked:e.proxiesLayout==="double",onChange:g=>t("proxiesLayout",g?"double":"single")})})]}),S.jsxs("div",{className:st.labeledInput,children:[S.jsx("span",{children:h("group_by_provider")}),S.jsx("div",{children:S.jsx(Mi,{name:"proxyGroupByProvider",checked:e.proxyGroupByProvider,onChange:g=>t("proxyGroupByProvider",g)})})]})]})}const{useCallback:$pe,useState:Fpe,useMemo:Bpe}=Je;function Hpe(e){const[,t]=Ea(e),[n,i]=Fpe(""),r=Bpe(()=>I3(t,300),[t]);return[$pe(a=>{i(a.target.value),r(a.target.value)},[r]),n]}const Vpe="_input_1vrbx_1",Upe={input:Vpe};function K3(e){const[t,n]=Hpe(e.textAtom);return S.jsx("input",{className:Upe.input,type:"text",value:n,onChange:t,placeholder:e.placeholder})}function Wpe({color:e="currentColor",size:t=24}){return S.jsxs("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[S.jsx("path",{d:"M2 6h9M18.5 6H22"}),S.jsx("circle",{cx:"16",cy:"6",r:"2"}),S.jsx("path",{d:"M22 18h-9M6 18H2"}),S.jsx("circle",{r:"2",transform:"matrix(-1 0 0 1 8 18)"})]})}const Gpe="_topBar_1xex3_4",qpe="_topBarRight_1xex3_15",Ype="_textFilterContainer_1xex3_31",Kpe="_group_1xex3_44",Xpe="_groupsContainer_1xex3_55",Qpe="_doubleColumn_1xex3_64",Zpe="_column_1xex3_76",Jpe="_tabsContainer_1xex3_92",ege="_tab_1xex3_92",tge="_active_1xex3_134",nge="_tabCount_1xex3_139",Ct={topBar:Gpe,topBarRight:qpe,textFilterContainer:Ype,group:Kpe,groupsContainer:Xpe,doubleColumn:Qpe,column:Zpe,tabsContainer:Jpe,tab:ege,active:tge,tabCount:nge};function ige({dispatch:e,groupNames:t,proxies:n,delay:i,collapsibleIsOpen:r,proxyProviders:o,apiConfig:a,showModalClosePrevConns:c,appConfig:u}){const d=u.latencyTestUrl.startsWith("https://"),{isSettingsModalOpen:h,openSettingsModal:g,closeSettingsModal:m,activeTab:y,setActiveTab:b,handleTabKeyDown:w,proxyGroups:_,providers:O}=_he({dispatch:e,apiConfig:a,groupNames:t,proxyProviders:o,proxiesLayout:u.proxiesLayout}),{proxies:{closeModalClosePrevConns:R,closePrevConnsAndTheModal:T}}=Xa(),{t:M}=yt(),D=y==="proxies"?S.jsx("div",{className:Oe(Ct.groupsContainer,{[Ct.doubleColumn]:u.proxiesLayout==="double"}),children:_.map((P,I)=>S.jsx("div",{className:Ct.column,children:P.map(({name:z,i:U})=>S.jsx("div",{className:Ct.group,style:{order:U},children:S.jsx(ype,{name:z,delay:i,apiConfig:a,dispatch:e,proxies:n,hideUnavailableProxies:u.hideUnavailableProxies,proxySortBy:u.proxySortBy,isOpen:!!r[`proxyGroup:${z}`],httpsLatencyTest:d,proxyGroupByProvider:u.proxyGroupByProvider})},z))},I))}):S.jsx("div",{className:Oe(Ct.groupsContainer,{[Ct.doubleColumn]:u.proxiesLayout==="double"}),children:O.map((P,I)=>S.jsx("div",{className:Ct.column,children:P.map(({item:z,i:U})=>S.jsx("div",{className:Ct.group,style:{order:U},children:S.jsx(Tpe,{name:z.name,proxies:z.proxies,type:z.type,vehicleType:z.vehicleType,updatedAt:z.updatedAt,subscriptionInfo:z.subscriptionInfo,proxyMapping:n,httpsLatencyTest:d,delay:i,hideUnavailableProxies:u.hideUnavailableProxies,proxySortBy:u.proxySortBy,isOpen:!!r[`proxyProvider:${z.name}`],dispatch:e,apiConfig:a})},z.name))},I))});return S.jsxs(S.Fragment,{children:[S.jsx(fp,{isOpen:h,onRequestClose:m,children:S.jsx(zpe,{appConfig:u})}),S.jsx("div",{className:Ct.topBar,children:S.jsxs(Pu,{children:[S.jsxs("div",{className:Ct.tabsContainer,children:[S.jsxs("div",{className:Oe(Ct.tab,{[Ct.active]:y==="proxies"}),onClick:()=>b("proxies"),onKeyDown:w("proxies"),role:"button",tabIndex:0,children:[M("Proxies"),S.jsx("span",{className:Ct.tabCount,children:kA(t.length)})]}),o.length>0&&S.jsxs("div",{className:Oe(Ct.tab,{[Ct.active]:y==="providers"}),onClick:()=>b("providers"),onKeyDown:w("providers"),role:"button",tabIndex:0,children:[M("proxy_provider"),S.jsx("span",{className:Ct.tabCount,children:kA(o.length)})]})]}),S.jsx("div",{style:{flex:1}}),S.jsxs("div",{className:Ct.topBarRight,children:[S.jsx("div",{className:Ct.textFilterContainer,children:S.jsx(K3,{textAtom:nj,placeholder:M("Search")})}),S.jsx(eg,{label:M("settings"),children:S.jsx(nt,{kind:"minimal",onClick:g,children:S.jsx(Wpe,{size:16})})})]})]})}),D,S.jsx("div",{style:{height:60}}),S.jsx(Spe,{dispatch:e,apiConfig:a,proxyProviders:o}),S.jsx(fp,{isOpen:c,onRequestClose:R,children:S.jsx(dhe,{onClickPrimaryButton:()=>T(a),onClickSecondaryButton:R})})]})}const rge=x1(LH,NH,TP,IH,zH,jp,Lp,Np,RP,v1,(e,t,n,i,r,o,a,c,u,d)=>({proxySortBy:e,hideUnavailableProxies:t,autoCloseOldConns:n,proxiesLayout:i,proxyGroupByProvider:r,latencyTestUrl:o,latencyTestTimeout:a,latencyTestExpectedStatus:c,preferBackendLatencyTestUrl:u,providerHealthcheckTimeout:d})),oge=e=>({apiConfig:Ni(e),groupNames:YP(e),proxies:_u(e),proxyProviders:C1(e),delay:qP(e),collapsibleIsOpen:jH(e),showModalClosePrevConns:J8(e),appConfig:rge(e)}),sge=cn(oge)(ige);function age(e){const t=e.providers,n=Object.keys(t),i={};for(let r=0;r<n.length;r++){const o=n[r];i[o]={...t[o],idx:r}}return{byName:i,names:n}}async function lge(e,t){const{url:n,init:i}=qe(t);let r={providers:{}};try{const o=await fetch(n+e,i);o.ok&&(r=await o.json())}catch(o){console.log("failed to GET /providers/rules",o)}return age(r)}async function X3({name:e,apiConfig:t}){const{url:n,init:i}=qe(t);try{return(await fetch(n+`/providers/rules/${e}`,{method:"PUT",...i})).ok}catch(r){return console.log("failed to PUT /providers/rules/:name",r),!1}}async function cge({names:e,apiConfig:t}){for(let n=0;n<e.length;n++)await X3({name:e[n],apiConfig:t})}var pb,VA;function uge(){if(VA)return pb;VA=1;var e=function(t,n,i,r,o,a,c,u){if(!t){var d;if(n===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[i,r,o,a,c,u],g=0;d=new Error(n.replace(/%s/g,function(){return h[g++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};return pb=e,pb}var fge=uge();const dge=Ua(fge);function hge(e){return dge(e.rules&&e.rules.length>=0,"there is no valid rules list in the rules API response"),e.rules.map((t,n)=>({...t,id:typeof t.index=="number"?t.index:n}))}async function pge(e,t){let n={rules:[]};try{const{url:i,init:r}=qe(t),o=await fetch(i+e,r);o.ok&&(n=await o.json())}catch(i){console.log("failed to fetch rules",i)}return hge(n)}async function gge(e,t){const{url:n,init:i}=qe(e);try{return(await fetch(n+"/rules/disable",{method:"PATCH",...i,body:JSON.stringify(t)})).ok}catch(r){return console.log("failed to PATCH /rules/disable",r),!1}}const Q3=wu(""),{useCallback:Z3,useState:mge}=Je;function yge(e,t){const n=xu(),{mutate:i,isPending:r}=c1({mutationFn:X3,onSuccess:()=>{n.invalidateQueries({queryKey:["/providers/rules"]})}});return[a=>{a.preventDefault(),i({name:e,apiConfig:t})},r]}function vge(e){const t=xu(),{data:n}=J3(e),{mutate:i,isPending:r}=c1({mutationFn:cge,onSuccess:()=>{t.invalidateQueries({queryKey:["/providers/rules"]})}});return[a=>{a.preventDefault(),i({names:n.names,apiConfig:e})},r]}function bge(e){const t=xu(),{mutate:n,isPending:i}=c1({mutationFn:({index:o,disabled:a})=>gge(e,{[o]:a}),onSuccess:()=>{t.invalidateQueries({queryKey:["/rules"]})}});return{toggleRule:Z3((o,a)=>n({index:o,disabled:a}),[n]),isPending:i}}function J3(e){return Ka({queryKey:["/providers/rules",e],queryFn:()=>lge("/providers/rules",e)})}function xge(e){const{data:t,isFetching:n}=Ka({queryKey:["/rules",e],queryFn:()=>pge("/rules",e)}),{data:i}=J3(e),[r]=Ea(Q3);if(r==="")return{rules:t,provider:i,isFetching:n};const o=r.toLowerCase();return{rules:t.filter(a=>a.payload.toLowerCase().indexOf(o)>=0),isFetching:n,provider:{byName:i.byName,names:i.names.filter(a=>a.toLowerCase().indexOf(o)>=0)}}}function Sge(e){const{rules:t,provider:n}=xge(e),[i,r]=mge("rules"),o=i==="rules",a=Z3(c=>u=>{(u.key==="Enter"||u.key===" ")&&r(c)},[]);return{rules:t,provider:n,activeTab:i,setActiveTab:r,isRulesTab:o,handleTabKeyDown:a}}function wge({isRulesTab:e}){return function(){return e?88:100}}function UA(e){return e<100?String(e):"99+"}const _ge="_rule_11c1u_4",Cge="_disabled_11c1u_14",Oge="_left_11c1u_18",Ege="_right_11c1u_27",Rge="_payloadRow_11c1u_33",Tge="_payload_11c1u_33",Mge="_size_11c1u_47",Age="_metaRow_11c1u_58",Dge="_typeTag_11c1u_65",Pge="_proxyTag_11c1u_80",jge="_hitInfo_11c1u_85",Lge="_spacer_11c1u_93",Nge="_wrapSwitch_11c1u_97",kge="_pending_11c1u_103",sn={rule:_ge,disabled:Cge,left:Oge,right:Ege,payloadRow:Rge,payload:Tge,size:Mge,metaRow:Age,typeTag:Dge,proxyTag:Pge,hitInfo:jge,spacer:Lge,wrapSwitch:Nge,pending:kge},gb={_default:"var(--color-focus-blue)",DIRECT:"#f5bc41",REJECT:"#cb3166"};function Ige({proxy:e}){let t=gb._default;return gb[e]&&(t=gb[e]),{color:t}}function zge(e){switch(e){case"Domain":case"DomainSuffix":case"DomainKeyword":return S.jsx(Up,{size:14});case"IPCIDR":case"IPCIDR6":return S.jsx(U1,{size:14});case"GeoSite":case"GeoIP":return S.jsx(V1,{size:14});case"REJECT":return S.jsx(Z1,{size:14});case"DIRECT":return S.jsx(ho,{size:14});default:return S.jsx(B1,{size:14})}}function $ge({type:e,payload:t,size:n,provider:i}){if((e==="GeoSite"||e==="GeoIP")&&n>=0)return n;if(e==="RuleSet")return i?.byName?.[t]?.ruleCount}function Fge({type:e,payload:t,proxy:n,id:i,size:r,extra:o,apiConfig:a,provider:c}){const{t:u}=yt(),d=Ige({proxy:n}),{toggleRule:h,isPending:g}=bge(a),m=o?.disabled??!1,y=$ge({type:e,payload:t,size:r,provider:c}),b=o?o.hitCount>0?u("rule_hit_tip",{count:o.hitCount,time:Rne(new Date(o.hitAt),{addSuffix:!0})}):u("rule_never_hit"):void 0;return S.jsxs("div",{className:Oe(sn.rule,{[sn.disabled]:m}),children:[S.jsx("div",{className:sn.left,children:i}),S.jsxs("div",{className:sn.right,children:[S.jsxs("div",{className:sn.payloadRow,children:[S.jsx("div",{className:sn.payload,children:t}),typeof y=="number"&&S.jsx("div",{className:sn.size,children:u("rule_entry_count",{count:y})})]}),S.jsxs("div",{className:sn.metaRow,children:[S.jsxs("div",{className:sn.typeTag,children:[zge(e),S.jsx("span",{children:e})]}),S.jsx("div",{className:sn.proxyTag,style:d,children:n}),o&&S.jsxs("div",{className:sn.hitInfo,title:b,children:[S.jsx(Hp,{size:12}),S.jsx("span",{children:o.hitCount})]}),S.jsx("div",{className:sn.spacer}),o&&S.jsx("div",{className:Oe(sn.wrapSwitch,{[sn.pending]:g}),title:u(m?"rule_enable":"rule_disable"),children:S.jsx(Mi,{name:`rule-${i}`,checked:!m,onChange:w=>h(i,!w)})})]})]})]})}const Bge="_RuleProviderItem_n6wmb_1",Hge="_refreshButton_n6wmb_11",Vge="_left_n6wmb_15",Uge="_middle_n6wmb_24",Wge="_nameRow_n6wmb_32",Gge="_name_n6wmb_32",qge="_badgeGroup_n6wmb_45",Yge="_badge_n6wmb_45",Kge="_infoRow_n6wmb_63",Xge="_dot_n6wmb_71",Qge="_right_n6wmb_75",Zge="_rotating_n6wmb_92",Ut={RuleProviderItem:Bge,refreshButton:Hge,left:Vge,middle:Uge,nameRow:Wge,name:Gge,badgeGroup:qge,badge:Yge,infoRow:Kge,dot:Xge,right:Qge,rotating:Zge};function Jge({idx:e,name:t,vehicleType:n,behavior:i,updatedAt:r,ruleCount:o,apiConfig:a}){const[c,u]=yge(t,a),d=Nu(new Date(r),new Date);return S.jsxs("div",{className:Ut.RuleProviderItem,children:[S.jsx("div",{className:Ut.left,children:e}),S.jsxs("div",{className:Ut.middle,children:[S.jsxs("div",{className:Ut.nameRow,children:[S.jsx("span",{className:Ut.name,children:t}),S.jsxs("div",{className:Ut.badgeGroup,children:[S.jsxs("span",{className:Ut.badge,children:[S.jsx(I1,{size:12}),n]}),S.jsxs("span",{className:Ut.badge,children:[S.jsx(Hp,{size:12}),i]})]})]}),S.jsxs("div",{className:Ut.infoRow,children:[S.jsxs("span",{className:Ut.count,children:[o," rules"]}),S.jsx("span",{className:Ut.dot,children:"•"}),S.jsxs("span",{className:Ut.time,children:["Updated ",d," ago"]})]})]}),S.jsx("div",{className:Ut.right,children:S.jsx(nt,{kind:"minimal",onClick:c,disabled:u,className:Ut.refreshButton,children:S.jsx(Q1,{size:18,className:u?Ut.rotating:""})})})]})}const eme="_container_14ylc_4",tme="_filterWrapper_14ylc_10",nme="_listWrapper_14ylc_23",ime="_RuleProviderItemWrapper_14ylc_37",rme="_tabsContainer_14ylc_41",ome="_tab_14ylc_41",sme="_active_14ylc_82",ame="_tabCount_14ylc_87",ri={container:eme,filterWrapper:tme,listWrapper:nme,RuleProviderItemWrapper:ime,tabsContainer:rme,tab:ome,active:sme,tabCount:ame};function lme({apiConfig:e}){const[t,n]=vge(e),{t:i}=yt();return S.jsx(ug,{icon:S.jsx(Y3,{isRotating:n}),text:i("update_all_rule_provider"),style:cg,onClick:t})}function cme({index:e,style:t,data:n}){const{rules:i,provider:r,apiConfig:o}=n;if(!i){const c=r.names[e],u=r.byName[c];return S.jsx("div",{style:t,className:ri.RuleProviderItemWrapper,children:S.jsx(Jge,{apiConfig:o,...u})})}const a=i[e];return S.jsx("div",{style:t,children:S.jsx(Fge,{...a,apiConfig:o,provider:r})})}function ume({apiConfig:e}){const[t,n]=BS(),{rules:i,provider:r,activeTab:o,setActiveTab:a,isRulesTab:c,handleTabKeyDown:u}=Sge(e),d=wge({isRulesTab:c}),{t:h}=yt();return S.jsxs("div",{className:ri.container,children:[S.jsxs(Pu,{children:[S.jsxs("div",{className:ri.tabsContainer,children:[S.jsxs("div",{className:Oe(ri.tab,{[ri.active]:o==="rules"}),onClick:()=>a("rules"),onKeyDown:u("rules"),role:"button",tabIndex:0,children:[h("Rules"),S.jsx("span",{className:ri.tabCount,children:UA(i.length)})]}),r.names.length>0&&S.jsxs("div",{className:Oe(ri.tab,{[ri.active]:o==="providers"}),onClick:()=>a("providers"),onKeyDown:u("providers"),role:"button",tabIndex:0,children:[h("rule_provider"),S.jsx("span",{className:ri.tabCount,children:UA(r.names.length)})]})]}),S.jsx("div",{style:{flex:1}}),S.jsx("div",{className:ri.filterWrapper,children:S.jsx(K3,{textAtom:Q3,placeholder:h("Search")})})]}),S.jsx("div",{ref:t,className:ri.listWrapper,children:S.jsx(Ax,{style:{height:n,width:"100%"},rowCount:c?i.length:r.names.length,rowHeight:d,rowComponent:cme,rowProps:{data:{rules:c?i:null,provider:r,apiConfig:e}}})}),r&&r.names&&r.names.length>0?S.jsx(lme,{apiConfig:e}):null]})}const fme=e=>({apiConfig:Ni(e)}),dme=cn(fme)(ume),hme="_ToggleSwitch_10mtp_1",pme="_slider_10mtp_28",WA={ToggleSwitch:hme,slider:pme};function gme({options:e,value:t,name:n,onChange:i}){const r=C.useMemo(()=>e.map(c=>c.value).indexOf(t),[e,t]),o=C.useCallback(c=>{const u=Math.floor(100/e.length);if(c===e.length-1)return 100-e.length*u+u;if(c>-1)return u},[e]),a=C.useMemo(()=>({width:o(r)+"%",left:r*o(0)+"%"}),[r,o]);return S.jsxs("div",{className:WA.ToggleSwitch,children:[S.jsx("div",{className:WA.slider,style:a}),e.map((c,u)=>{const d=`${n}-${c.label}`,h=u===0?"":"border-left";return S.jsxs("label",{htmlFor:d,className:h,style:{width:o(u)+"%"},children:[S.jsx("input",{id:d,name:n,type:"radio",value:c.value,checked:t===c.value,onChange:i}),S.jsx("div",{children:c.label})]},d)})]})}q.memo(gme);const mme="_content_b98hm_1",yme="_container_b98hm_16",vme="_overlay_b98hm_22",bme="_fixed_b98hm_26",Xd={content:mme,container:yme,overlay:vme,fixed:bme};function xme({isOpen:e,onRequestClose:t,children:n}){if(!window.fetch){const{detail:i}=Nb[Lb],r=new Error(i);throw r.code=Lb,r}return S.jsxs(hg,{isOpen:e,className:Xd.content,overlayClassName:Xd.overlay,shouldCloseOnOverlayClick:!1,shouldCloseOnEsc:!1,onRequestClose:t,children:[S.jsx("div",{className:Xd.container,children:n}),S.jsx("div",{className:Xd.fixed,children:S.jsx(UL,{})})]})}function Sme({dispatch:e,apiConfig:t,isOpen:n}){const{closeAPIConfigModal:i}=TK({apiConfig:t,dispatch:e});return S.jsx(xme,{isOpen:n,onRequestClose:i,children:S.jsx(YL,{})})}const wme=e=>({apiConfig:Ni(e),isOpen:e.modals.apiConfig}),_me=cn(wme)(Sme),Cme=[{path:"/",element:S.jsx(pU,{to:"/proxies",replace:!0})},{path:"/home",element:S.jsx(lde,{})},{path:"/connections",element:S.jsx($fe,{})},{path:"/configs",element:S.jsx(ute,{})},{path:"/logs",element:S.jsx(ahe,{})},{path:"/proxies",element:S.jsx(sge,{})},{path:"/rules",element:S.jsx(dme,{})},{path:"/about",element:S.jsx(sK,{})},!1].filter(Boolean);function Ome(){return S.jsxs(S.Fragment,{children:[S.jsx(_me,{}),S.jsx(GY,{}),S.jsx("div",{className:WL.content,children:mj(Cme)})]})}function Eme(){return S.jsxs("div",{className:WL.app,children:[S.jsx(t9,{}),S.jsx(C.Suspense,{fallback:S.jsx(ZU,{}),children:S.jsx(FU,{children:S.jsxs(mU,{children:[S.jsx(t0,{path:"/backend",element:S.jsx(YL,{})}),S.jsx(t0,{path:"*",element:S.jsx(Ome,{})})]})})})]})}const Rme=()=>S.jsx(bV,{children:S.jsx(Eme,{})}),ya=["/","/proxies","/rules","/connections","/configs","/logs"],Pi={touching:!1,trace:[]};function Tme(e){e&&(e.addEventListener("touchstart",Mme,{passive:!0}),e.addEventListener("touchmove",Ame,!1),e.addEventListener("touchend",Dme,!1),console.log("Checkout the repo: https://github.com/MetaCubeX/yacd"),console.log("Version:","0.3.8"))}function Mme(e){if(e.touches.length!==1){Pi.touching=!1,Pi.trace=[];return}Pi.touching=!0,Pi.trace=[{x:e.touches[0].screenX,y:e.touches[0].screenY}]}function Ame(e){Pi.touching&&Pi.trace.push({x:e.touches[0].screenX,y:e.touches[0].screenY})}function Dme(){if(!Pi.touching)return;const e=Pi.trace;Pi.touching=!1,Pi.trace=[],Pme(e)}function Pme(e){const t=e[0],n=e[e.length-1],i=window.location.hash.slice(1),r=ya.indexOf(i);console.log(r,i,ya.length),r!==3&&(n.x-t.x>200&&r>0?window.location.hash=ya[r-1]:n.x-t.x<-200&&r<ya.length-1&&(window.location.hash=ya[r+1],r===-1&&(window.location.hash=ya[r+2])))}const jme=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function Lme(e){if("serviceWorker"in navigator){if(new URL("./",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n="./sw.js";jme?(Nme(n),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker")})):eI(n)})}}function eI(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const i=n.installing;i!=null&&(i.onstatechange=()=>{i.state==="installed"&&(navigator.serviceWorker.controller?console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."):console.log("Content is cached for offline use."))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function Nme(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const i=n.headers.get("content-type");n.status===404||i!=null&&i.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(r=>{r.unregister().then(()=>{window.location.reload()})}):eI(e)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const Sg=document.getElementById("app");if(!Sg)throw new Error("Cannot find #app root element");const kme=X5.createRoot(Sg);uD.setAppElement(Sg);kme.render(S.jsx(Rme,{}));Lme();Tme(Sg);export{Kme as A,Xme as B,kS as C,IS as L,qme as P,dM as T,HS as a,EM as b,Ime as c,tye as d,nye as e,Vte as f,Ua as g,Ute as h,Yte as i,fh as j,nk as k,eye as l,iye as m,fg as n,US as o,rye as p,mZ as q,Gte as r,OM as s,vr as t,Wte as u,Kte as v,gZ as w,Qme as x,Zme as y,Yme as z}; diff --git a/assets/index-DcJWn17U.css b/assets/index-DcJWn17U.css new file mode 100644 index 0000000..1a87af8 --- /dev/null +++ b/assets/index-DcJWn17U.css @@ -0,0 +1 @@ +@charset "UTF-8";@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(./inter-latin-400-normal-CyCys3Eg.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(./inter-latin-800-normal-BYj_oED-.woff2) format("woff2"),url(./inter-latin-800-normal-D1mf63XC.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal-GekRknry.woff2) format("woff2"),url(./roboto-mono-latin-400-normal-DBZPkcnn.woff) format("woff")}*,:before,:after{box-sizing:border-box}html{font-family:system-ui,-apple-system,Segoe UI,Ubuntu,Cantarell,Noto Sans,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}@font-face{font-family:_Twemoji Mozilla;src:url(./Twemoji_Mozilla-BSQKJ6aF.ttf) format("truetype")}.relative,.border-left,.border-top,.border-bottom{position:relative}.border-bottom:after,.border-top:before{position:absolute;content:"";height:1px;width:100%;transform:scaleY(.5) translateZ(0);left:0;right:0;background:#555}.border-left:before{position:absolute;content:"";height:100%;width:1px;transform:scaleX(.5) translateZ(0);top:0;bottom:0;background:#555}.border-top:before{top:0}.border-bottom:after{bottom:0}.border-left:before{left:0}*,*:before,*:after{box-sizing:border-box}:root{--font-mono: "Roboto Mono", Menlo, monospace;--font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "微软雅黑", Arial,"Twemoji Mozilla", "_Twemoji Mozilla","Segoe UI Emoji", "Segoe UI Symbol"}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji",Source Han Sans,PingFang SC,Microsoft YaHei,微软雅黑,Arial,Twemoji Mozilla,_Twemoji Mozilla,"Segoe UI Emoji",Segoe UI Symbol;font-family:var(--font-normal);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body ::-webkit-scrollbar{z-index:11;background:transparent}body ::-webkit-scrollbar-thumb{border-radius:10px;background:var(--color-focus-blue)}body ::-webkit-scrollbar:vertical{width:8px}body ::-webkit-scrollbar:horizontal{height:8px}body{margin:0;padding:0}@media(prefers-color-scheme:dark){:root[data-theme=auto]{--color-background: #111827;--color-background2: rgba(17, 24, 39, .7);--color-bg-chart: #1f2937;--color-bg-card: #1f2937;--color-focus-blue: #3b82f6;--btn-bg: #3b82f6;--color-proxy-border: #374151;--card-hover-border-lightness: #60a5fa;--color-text: #e5e7eb;--color-text-secondary: #9ca3af;--color-text-highlight: #f3f4f6;--color-bg-sidebar: #1f2937;--color-sb-active-row-bg: #374151;--color-sb-active-row-font: #f3f4f6;--color-input-bg: #374151;--color-input-border: #4b5563;--color-toggle-bg: #4b5563;--color-toggle-selected: #1f2937;--color-icon: #9ca3af;--color-separator: #374151;--color-btn-bg: #374151;--color-btn-fg: #e5e7eb;--color-bg-proxy: #1f2937;--color-row-odd: #1f2937;--bg-log-info-tag: #4b5563;--bg-modal: #1f2937;--bg-near-transparent: rgba(255, 255, 255, .05);--bg-latency: rgba(31, 41, 55, .8);--bg-tooltip: #1f2937;--bc-tooltip: #374151;--select-border-color: #374151;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #1f2937;--shadow-card: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--border-radius: 12px;--csstools-color-scheme--light: ;color-scheme:dark}}@media(prefers-color-scheme:light){:root[data-theme=auto]{--color-background: #eef2f6;--color-background2: rgba(238, 242, 246, .7);--color-bg-chart: #f8fafc;--color-bg-card: #f8fafc;--color-focus-blue: #3b82f6;--btn-bg: #3b82f6;--color-proxy-border: #e2e8f0;--card-hover-border-lightness: #60a5fa;--color-text: #334155;--color-text-secondary: #64748b;--color-text-highlight: #0f172a;--color-bg-sidebar: #f1f5f9;--color-sb-active-row-bg: #e0e7ff;--color-sb-active-row-font: #3730a3;--color-input-bg: #f8fafc;--color-input-border: #cbd5e1;--color-toggle-bg: #e2e8f0;--color-toggle-selected: #ffffff;--color-icon: #64748b;--color-separator: #e2e8f0;--color-btn-bg: #f8fafc;--color-btn-fg: #334155;--color-bg-proxy: #f8fafc;--color-row-odd: #f1f5f9;--bg-log-info-tag: #e2e8f0;--bg-modal: #f8fafc;--bg-near-transparent: rgba(0, 0, 0, .05);--bg-latency: rgba(255, 255, 255, .9);--bg-tooltip: #f8fafc;--bc-tooltip: #e2e8f0;--select-border-color: #cbd5e1;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #f1f5f9;--shadow-card: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--border-radius: 12px;--csstools-color-scheme--light: initial;color-scheme:light}}@media only screen and (prefers-color-scheme:light)and (min-width:769px){:root[data-theme=auto]{--color-sb-active-row-font: #3730a3}}:root[data-theme=dark]{--color-background: #111827;--color-background2: rgba(17, 24, 39, .7);--color-bg-chart: #1f2937;--color-bg-card: #1f2937;--color-focus-blue: #3b82f6;--btn-bg: #3b82f6;--color-proxy-border: #374151;--card-hover-border-lightness: #60a5fa;--color-text: #e5e7eb;--color-text-secondary: #9ca3af;--color-text-highlight: #f3f4f6;--color-bg-sidebar: #1f2937;--color-sb-active-row-bg: #374151;--color-sb-active-row-font: #f3f4f6;--color-input-bg: #374151;--color-input-border: #4b5563;--color-toggle-bg: #4b5563;--color-toggle-selected: #1f2937;--color-icon: #9ca3af;--color-separator: #374151;--color-btn-bg: #374151;--color-btn-fg: #e5e7eb;--color-bg-proxy: #1f2937;--color-row-odd: #1f2937;--bg-log-info-tag: #4b5563;--bg-modal: #1f2937;--bg-near-transparent: rgba(255, 255, 255, .05);--bg-latency: rgba(31, 41, 55, .8);--bg-tooltip: #1f2937;--bc-tooltip: #374151;--select-border-color: #374151;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #1f2937;--shadow-card: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--border-radius: 12px;--csstools-color-scheme--light: ;color-scheme:dark}:root[data-theme=light]{--color-background: #eef2f6;--color-background2: rgba(238, 242, 246, .7);--color-bg-chart: #f8fafc;--color-bg-card: #f8fafc;--color-focus-blue: #3b82f6;--btn-bg: #3b82f6;--color-proxy-border: #e2e8f0;--card-hover-border-lightness: #60a5fa;--color-text: #334155;--color-text-secondary: #64748b;--color-text-highlight: #0f172a;--color-bg-sidebar: #f1f5f9;--color-sb-active-row-bg: #e0e7ff;--color-sb-active-row-font: #3730a3}@media only screen and (min-width:769px){:root[data-theme=light]{--color-sb-active-row-font: #3730a3}}:root[data-theme=light]{--color-input-bg: #f8fafc;--color-input-border: #cbd5e1;--color-toggle-bg: #e2e8f0;--color-toggle-selected: #ffffff;--color-icon: #64748b;--color-separator: #e2e8f0;--color-btn-bg: #f8fafc;--color-btn-fg: #334155;--color-bg-proxy: #f8fafc;--color-row-odd: #f1f5f9;--bg-log-info-tag: #e2e8f0;--bg-modal: #f8fafc;--bg-near-transparent: rgba(0, 0, 0, .05);--bg-latency: rgba(255, 255, 255, .9);--bg-tooltip: #f8fafc;--bc-tooltip: #e2e8f0;--select-border-color: #cbd5e1;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #f1f5f9;--shadow-card: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--border-radius: 12px;--csstools-color-scheme--light: initial;color-scheme:light}.flexCenter{display:flex;align-items:center;justify-content:center}.fabgrp{position:fixed;z-index:3;right:20px;bottom:20px}.visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;border:0;padding:0}.tooltip-content{z-index:1;pointer-events:none;padding:.25em .5em;box-shadow:2px 2px 10px #0000001a;white-space:nowrap;font-size:85%;background:var(--bg-tooltip);color:var(--color-text);border:solid 1px var(--bc-tooltip);border-radius:4px}._root_16avz_1{position:fixed;inset:0;overflow:hidden;padding:20px;background:var(--color-background);color:var(--color-text);text-align:center}._yacd_16avz_14{color:#2a477a;opacity:.6;display:flex;justify-content:center;align-items:center;padding:40px}._link_16avz_23{display:inline-flex;align-items:center;color:var(--color-text-secondary)}._link_16avz_23:hover,._link_16avz_23:active{color:var(--color-focus-blue)}._link_16avz_23 svg{margin-right:5px}._path_r8pm3_1{stroke-dasharray:890;stroke-dashoffset:890;animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite}@keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}._loading_wpm96_1{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._spinner_wpm96_9{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:_rotate_wpm96_1 1s steps(12,end) infinite;background:transparent url('data:image/svg+xml;charset=utf8, %3Csvg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 100 100"%3E%3Cpath fill="none" d="M0 0h100v100H0z"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23E9E9E9" rx="5" ry="5" transform="translate(0 -30)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23989697" rx="5" ry="5" transform="rotate(30 105.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%239B999A" rx="5" ry="5" transform="rotate(60 75.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23A3A1A2" rx="5" ry="5" transform="rotate(90 65 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23ABA9AA" rx="5" ry="5" transform="rotate(120 58.66 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23B2B2B2" rx="5" ry="5" transform="rotate(150 54.02 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23BAB8B9" rx="5" ry="5" transform="rotate(180 50 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23C2C0C1" rx="5" ry="5" transform="rotate(-150 45.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23CBCBCB" rx="5" ry="5" transform="rotate(-120 41.34 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23D2D2D2" rx="5" ry="5" transform="rotate(-90 35 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23DADADA" rx="5" ry="5" transform="rotate(-60 24.02 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23E2E2E2" rx="5" ry="5" transform="rotate(-30 -5.98 65)"/%3E%3C/svg%3E') no-repeat;background-size:100%}@keyframes _rotate_wpm96_1{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}._iconWrapper_19huu_1{--sz: 40px;width:40px;width:var(--sz);height:40px;height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text)}._iconWrapper_19huu_1:hover{opacity:.6}._iconWrapper_19huu_1:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_19huu_21{--sz: 40px;position:relative;display:flex;align-items:center;justify-content:center;width:40px;width:var(--sz);height:40px;height:var(--sz)}._themeSwitchContainer_19huu_21 select{cursor:pointer;padding-left:var(--sz);width:var(--sz);height:var(--sz);appearance:none;outline:none;border-radius:100%;border:1px solid transparent;background:var(--color-bg-sidebar)}._themeSwitchContainer_19huu_21 select:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_19huu_21 select option{background:var(--color-bg-sidebar)}._themeSwitchContainer_19huu_21 ._iconWrapper_19huu_1{pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0}._root_2ankj_4{background:var(--color-bg-sidebar);width:180px;min-width:180px;flex-shrink:0;position:relative}@media(max-width:768px){._root_2ankj_4{width:100%;min-width:0;background:var(--color-background);position:fixed;top:0;left:0;right:0;z-index:100;padding:max(8px,env(safe-area-inset-top)) 16px 8px}}._logo_meta_2ankj_25{margin-top:12px;height:120px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zO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AAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAQAAAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAABAAAAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAEAAAAAAAAAAAQAAAAAAIMD/F2AA6T5cYpXw46YAAAAASUVORK5CYII=);background-size:80px;background-repeat:no-repeat;background-position:center}@media(max-width:768px){._logo_meta_2ankj_25{display:none}}._logo_singbox_2ankj_39{margin-top:12px;height:120px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNyIgaGVpZ2h0PSIxMTA5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBvdmVyZmxvdz0iaGlkZGVuIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImZ4MCIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyMCUiIGhlaWdodD0iMTIwJSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwcmltaXRpdmVVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8ZmVDb21wb25lbnRUcmFuc2ZlciBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9In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GU9ImV2ZW5vZGQiIC8+CiAgICAgICAgPHBhdGggZD0iTTE1NDMuMjMgMTMwOS45NUMxMzk5LjYgMTIxMi45OCAxMDU4LjQ5IDk4Ni43MzEgMTAxNS40IDk1OEw5NDAgMTAwOC4yOEMxMDYyLjA4IDEwOTAuODggMTM4OC44MyAxMzA2LjM2IDE0NzUuMDEgMTM2Ny40MSAxNDc1LjAxIDEzNjcuNDEgMTQ3OC42IDEzNzEgMTQ3OC42IDEzNzFMMTU1NCAxMzE3LjEzQzE1NDYuODIgMTMxMy41NCAxNTQ2LjgyIDEzMDkuOTUgMTU0My4yMyAxMzA5Ljk1WiIgZmlsbD0iI0UxRThFRCIgZmlsbC1ydWxlPSJldmVub2RkIiAvPgogIDwvZz4KPC9zdmc+);background-size:80px;background-repeat:no-repeat;background-position:center}@media(max-width:768px){._logo_singbox_2ankj_39{display:none}}@media(max-width:768px){._rows_2ankj_54{display:flex;justify-content:space-around;align-items:center;overflow:visible;background:var(--color-bg-sidebar);border-radius:20px;padding:6px 8px;box-shadow:0 4px 24px #0000001f,0 1px 4px #00000014;border:1px solid var(--color-separator)}}._row_2ankj_54{color:var(--color-text);-webkit-text-decoration:none;text-decoration:none;display:flex;align-items:center;padding:6px 10px;margin:4px 8px;border-radius:8px;box-shadow:inset 0 0 0 1px transparent;transition:background-color .18s ease,color .18s ease,transform .18s ease}._row_2ankj_54:hover{background-color:#b0ceff38;color:var(--color-focus-blue)}@media screen and (min-width:30em){._row_2ankj_54{padding:8px 20px}}@media(max-width:768px){._row_2ankj_54{flex-direction:row;justify-content:center;margin:0;border-radius:14px;padding:8px 14px;flex:1}._row_2ankj_54:hover{transform:none;background-color:#b0ceff38;box-shadow:none}}._row_2ankj_54 svg{color:var(--color-icon);width:22px;height:22px;flex-shrink:0;transition:transform .18s ease}@media screen and (min-width:30em){._row_2ankj_54 svg{width:24px;height:24px}}._rowActive_2ankj_117{background:linear-gradient(135deg,#60a5fa 0%,var(--color-focus-blue) 100%);color:#fff}._rowActive_2ankj_117:hover{color:#fff;background:linear-gradient(135deg,#60a5fa 0%,var(--color-focus-blue) 100%)}._rowActive_2ankj_117 svg{color:#fff}._rowActive_2ankj_117 ._label_2ankj_128{font-weight:600}@media(max-width:768px){._rowActive_2ankj_117{background:#63a0ff2e;color:var(--color-focus-blue);border-bottom:none;box-shadow:none}._rowActive_2ankj_117 svg{color:var(--color-focus-blue);transform:scale(1.15)}}._label_2ankj_128{padding-left:14px;font-size:.75em}@media(max-width:768px){._label_2ankj_128{display:none}}@media screen and (min-width:30em){._label_2ankj_128{font-size:1em}}._footer_2ankj_159{position:absolute;bottom:10px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px}@media(max-width:768px){._footer_2ankj_159{display:none}}._iconWrapper_2ankj_175{--sz: 40px;width:40px;width:var(--sz);height:40px;height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text);border-radius:100%;border:1px solid transparent}._iconWrapper_2ankj_175:hover{opacity:.6}._iconWrapper_2ankj_175:focus{border-color:var(--color-focus-blue)}._app_mf375_1{position:fixed;inset:0;display:flex;background:var(--color-background);color:var(--color-text)}@media(max-width:768px){._app_mf375_1{flex-direction:column}}._content_mf375_17{flex-grow:1;min-width:0;overflow-y:auto;overflow-x:auto}@media(max-width:768px){._content_mf375_17{padding-bottom:0;padding-top:calc(64px + env(safe-area-inset-top))}}._root_3hync_4{height:60px;display:flex;align-items:center;padding:0 15px}@media(max-width:768px){._root_3hync_4{min-height:48px;height:auto;padding:5px 15px;flex-wrap:wrap}}@media screen and (min-width:30em){._root_3hync_4{padding:0 40px}}._h1_3hync_24{white-space:nowrap;font-size:1.7em}@media(max-width:768px){._h1_3hync_24{font-size:1.4em}}@media screen and (min-width:30em){._h1_3hync_24{font-size:2em}}._h1_3hync_24{text-align:left;margin:0}._root_10mcy_4{padding:6px 15px}@media screen and (min-width:30em){._root_10mcy_4{padding:10px 40px}}._mono_10mcy_13{font-family:var(--font-mono)}._link_10mcy_17{color:var(--color-text-secondary);display:inline-flex}._link_10mcy_17:hover{color:var(--color-text-highlight)}._btn_k8it2_4{-webkit-appearance:none;outline:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--color-btn-fg);background:var(--color-btn-bg);border:1px solid var(--color-input-border);border-radius:100px;transition:all .2s ease}._btn_k8it2_4:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 2px #3b82f64d}._btn_k8it2_4:hover{color:#fff;background:var(--color-focus-blue);border-color:var(--color-focus-blue);transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}._btn_k8it2_4{font-size:.75em;padding:4px 7px}@media screen and (min-width:30em){._btn_k8it2_4{font-size:small;padding:6px 12px}}._btn_k8it2_4._minimal_k8it2_40{border-color:transparent;background:none}._btn_k8it2_4._minimal_k8it2_40:focus{border-color:var(--color-focus-blue)}._btn_k8it2_4._minimal_k8it2_40:hover{color:#fff;background:var(--color-focus-blue);border:1px solid var(--color-focus-blue)}._btn_k8it2_4:disabled{opacity:.5}._btnInternal_k8it2_57{display:flex;align-items:center;justify-content:center;column-gap:4px}._btnStart_k8it2_64{display:inline-flex;align-items:center;justify-content:center}._loadingContainer_k8it2_70{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:inline-flex}h2._sectionNameType_k6imc_4{margin:0;font-size:1em}@media screen and (min-width:30em){h2._sectionNameType_k6imc_4{font-size:1.3em}}h2._sectionNameType_k6imc_4 span:nth-child(2){font-size:12px;color:#777;font-weight:400;margin:0 .3em}@media(prefers-color-scheme:dark){:root[data-theme=auto]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5);--csstools-color-scheme--light: ;color-scheme:dark}}@media(prefers-color-scheme:light){:root[data-theme=auto]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1);--csstools-color-scheme--light: initial;color-scheme:light}}:root[data-theme=dark]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5);--csstools-color-scheme--light: ;color-scheme:dark}:root[data-theme=light]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1);--csstools-color-scheme--light: initial;color-scheme:light}._loadingDot_k6imc_75,._loadingDot_k6imc_75:before,._loadingDot_k6imc_75:after{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;font-size:0}._loadingDot_k6imc_75{position:relative;background-color:var(--loading-dot-2-1);animation:_dot2_k6imc_1 1s step-start infinite}._loadingDot_k6imc_75:before{content:"";position:absolute;left:-12px;background-color:var(--loading-dot-1-1);animation:_dot1_k6imc_1 1s step-start infinite}._loadingDot_k6imc_75:after{content:"";position:absolute;right:-12px;background-color:var(--loading-dot-3-1);animation:_dot3_k6imc_1 1s step-start infinite}@keyframes _dot1_k6imc_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@keyframes _dot2_k6imc_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@keyframes _dot3_k6imc_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}._root_1or8t_1{position:relative;padding:10px 0}._root_1or8t_1 input{-webkit-appearance:none;background-color:transparent;background-image:none;border:none;border-radius:0;border-bottom:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 4px;width:100%}._root_1or8t_1 input:focus{border-color:var(--color-focus-blue)}._root_1or8t_1 label{position:absolute;left:5px;bottom:22px;transition:transform .15s ease-in-out;transform-origin:0 0;font-size:.9em}._root_1or8t_1 label._floatAbove_1or8t_32{transform:scale(.75) translateY(-25px)}._root_1or8t_1 input:focus+label{color:var(--color-focus-blue);transform:scale(.75) translateY(-25px)}._root_zwtea_1:focus{outline:none}._header_zwtea_5{display:flex;justify-content:center;align-items:center}._header_zwtea_5 ._icon_zwtea_10{--stroke: #f3f3f3;color:#20497e;opacity:.7;transition:opacity .4s}._header_zwtea_5 ._icon_zwtea_10:hover{opacity:1}._body_zwtea_20{padding:15px 0 0}._hostnamePort_zwtea_24{display:flex}._hostnamePort_zwtea_24 div{flex:1 1 auto}._hostnamePort_zwtea_24 div:nth-child(2){flex-grow:0;flex-basis:120px;margin-left:10px}._error_zwtea_36{height:20px;font-size:.8em;color:#ff8b8b}._footer_zwtea_42{padding:5px 0 10px;display:flex;justify-content:flex-end;align-items:center}._ul_1cc64_1{position:relative;margin:0;padding:0;list-style:none;line-height:1.8;--width-max-content: 230px}._li_1cc64_10{position:relative;margin:5px 0;padding:10px 0;border-radius:var(--border-radius);display:grid;align-content:center;justify-content:center;place-content:center;grid-template-columns:40px 1fr 40px;grid-template-rows:30px;grid-template-areas:"close url .";grid-column-gap:10px;column-gap:10px;border:1px solid var(--bg-near-transparent)}._li_1cc64_10:hover{background-color:var(--bg-near-transparent)}._close_1cc64_28{opacity:0;grid-area:close;align-self:center;justify-self:center;place-self:center;cursor:pointer}._li_1cc64_10:hover ._close_1cc64_28,._li_1cc64_10:hover ._eye_1cc64_36{opacity:1}._close_1cc64_28:focus,._eye_1cc64_36:focus{opacity:1}._hasSecret_1cc64_45{grid-template-rows:repeat(2,30px);grid-template-areas:"close url ." "close secret eye"}._url_1cc64_50{grid-area:url}._secret_1cc64_54{grid-area:secret}._eye_1cc64_36{grid-area:eye;opacity:0;align-self:center;justify-self:center;place-self:center;cursor:pointer}._url_1cc64_50,._secret_1cc64_54{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._btn_1cc64_72{outline:none;appearance:none;border:1px solid transparent;background-color:transparent;color:inherit;display:flex;align-items:center;padding:5px;border-radius:100px}._btn_1cc64_72:focus{border-color:var(--color-focus-blue)}._btn_1cc64_72:hover:enabled{background-color:var(--color-focus-blue);color:#fff}._btn_1cc64_72:active:enabled{transform:scale(.97)}._btn_1cc64_72:disabled{color:var(--color-text-secondary)}._url_1cc64_50{cursor:pointer}._url_1cc64_50:hover{color:var(--color-text-highlight)}._input_1indo_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:8px;border:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:35px;outline:none;padding:0 15px;width:100%;font-size:small;transition:border-color .2s ease,box-shadow .2s ease}._input_1indo_1:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 3px #3b82f64d}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._fieldset_1hnn2_1{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;flex-direction:row}._input_1hnn2_10+._cnt_1hnn2_10{border:1px solid transparent;border-radius:4px;cursor:pointer;margin-bottom:5px}._input_1hnn2_10:focus+._cnt_1hnn2_10{border-color:var(--color-focus-blue)}._input_1hnn2_10:checked+._cnt_1hnn2_10{border-color:var(--color-focus-blue)}._select_1lwjy_1{height:38px;line-height:1.5;width:100%;font-size:.95em;padding-left:14px;appearance:none;background-color:var(--color-input-bg);color:var(--color-text);padding-right:34px;border-radius:8px;border:1px solid transparent;box-shadow:0 2px 6px #0000000f;background-image:url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);background-position:right 12px center;background-repeat:no-repeat;transition:all .2s ease}._select_1lwjy_1:hover,._select_1lwjy_1:focus{border-color:var(--color-focus-blue);outline:none!important;color:var(--color-text-highlight);transform:translateY(-1px)}._select_1lwjy_1:focus{transform:translateY(0);box-shadow:0 0 0 3px #4285f426}._select_1lwjy_1 option{background-color:var(--color-background)}._root_mugsf_4{max-width:1000px;padding:30px 20px;margin:0 auto;display:flex;flex-direction:column;gap:24px}@media(max-width:768px){._root_mugsf_4{padding:15px 10px}}._section_mugsf_18{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:24px;gap:24px;align-items:start}@media(max-width:768px){._section_mugsf_18{grid-template-columns:1fr}}._wrapSwitch_mugsf_30{height:40px;display:flex;align-items:center}._sep_mugsf_36{max-width:900px;padding:0 15px}@media screen and (min-width:30em){._sep_mugsf_36{padding:0 40px}}._sep_mugsf_36>div{border-top:1px dashed var(--color-separator)}._label_mugsf_49{padding:10px 0 8px;font-size:.85rem;color:#999;color:var(--color-text-secondary, #999);text-transform:uppercase;letter-spacing:.5px}._sectionTitle_mugsf_57{padding:10px 0;font-weight:700;font-size:1.1rem;margin-bottom:15px;display:flex;align-items:center;gap:10px;color:var(--color-text-highlight)}._card_mugsf_68{background:var(--bg-log-info-card);border:1px solid var(--color-separator);border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:var(--shadow-card);transition:border-color .2s ease,box-shadow .2s ease}._card_mugsf_68:hover{border-color:var(--color-focus-blue);box-shadow:0 8px 16px #0000001a}.react-tabs{-webkit-tap-highlight-color:transparent}.react-tabs__tab-list{margin:0;padding:0;display:flex;align-items:center;gap:4px}.react-tabs__tab{display:inline-flex;align-items:center;border:none;border-radius:8px;position:relative;list-style:none;padding:8px 16px;cursor:pointer;font-size:1em;font-weight:500;opacity:.6;background:transparent;transition:all .2s ease}.react-tabs__tab:hover{opacity:1;color:var(--color-focus-blue);background:#b0ceff38}.react-tabs__tab--selected{opacity:1;background:var(--color-focus-blue);color:#fff}.react-tabs__tab--selected:hover{background:var(--color-focus-blue);opacity:1}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{outline:none;box-shadow:0 0 0 2px #4285f44d}.react-tabs__tab:focus:after{content:"";position:absolute}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}._btn_lzu00_1{margin-right:10px}.rtf{box-sizing:border-box;margin:25px;position:fixed;white-space:nowrap;z-index:9998;padding-left:0;list-style:none}.rtf.open .rtf--mb{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.rtf.open .rtf--mb>ul{list-style:none;margin:0;padding:0}.rtf.open .rtf--ab__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c:nth-child(1){transform:translateY(-60px) scale(1);transition-delay:.03s}.rtf.open .rtf--ab__c:nth-child(1).top{transform:translateY(60px) scale(1)}.rtf.open .rtf--ab__c:nth-child(2){transform:translateY(-120px) scale(1);transition-delay:.09s}.rtf.open .rtf--ab__c:nth-child(2).top{transform:translateY(120px) scale(1)}.rtf.open .rtf--ab__c:nth-child(3){transform:translateY(-180px) scale(1);transition-delay:.12s}.rtf.open .rtf--ab__c:nth-child(3).top{transform:translateY(180px) scale(1)}.rtf.open .rtf--ab__c:nth-child(4){transform:translateY(-240px) scale(1);transition-delay:.15s}.rtf.open .rtf--ab__c:nth-child(4).top{transform:translateY(240px) scale(1)}.rtf.open .rtf--ab__c:nth-child(5){transform:translateY(-300px) scale(1);transition-delay:.18s}.rtf.open .rtf--ab__c:nth-child(5).top{transform:translateY(300px) scale(1)}.rtf.open .rtf--ab__c:nth-child(6){transform:translateY(-360px) scale(1);transition-delay:.21s}.rtf.open .rtf--ab__c:nth-child(6).top{transform:translateY(360px) scale(1)}.rtf--mb__c{padding:25px;margin:-25px}.rtf--mb__c *:last-child{margin-bottom:0}.rtf--mb__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;transform:translateY(-50%);margin-right:6px;margin-left:4px;background:#000000bf;padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--mb__c>span.right{right:100%}.rtf--mb{width:48px;height:48px;background:var(--btn-bg);z-index:9999;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:18px}.rtf--mb>*{transition:ease-in-out transform .2s}.rtf--ab__c{display:block;position:absolute;top:0;right:1px;padding:10px 0;margin:-10px 0;transition:ease-in-out transform .2s}.rtf--ab__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;transform:translateY(-50%);margin-right:6px;background:#000000bf;padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--ab__c>span.right{right:100%}.rtf--ab__c:nth-child(1){transform:translateY(-60px) scale(0);transition-delay:.21s}.rtf--ab__c:nth-child(1).top{transform:translateY(60px) scale(0)}.rtf--ab__c:nth-child(2){transform:translateY(-120px) scale(0);transition-delay:.18s}.rtf--ab__c:nth-child(2).top{transform:translateY(120px) scale(0)}.rtf--ab__c:nth-child(3){transform:translateY(-180px) scale(0);transition-delay:.15s}.rtf--ab__c:nth-child(3).top{transform:translateY(180px) scale(0)}.rtf--ab__c:nth-child(4){transform:translateY(-240px) scale(0);transition-delay:.12s}.rtf--ab__c:nth-child(4).top{transform:translateY(240px) scale(0)}.rtf--ab__c:nth-child(5){transform:translateY(-300px) scale(0);transition-delay:.09s}.rtf--ab__c:nth-child(5).top{transform:translateY(300px) scale(0)}.rtf--ab__c:nth-child(6){transform:translateY(-360px) scale(0);transition-delay:.03s}.rtf--ab__c:nth-child(6).top{transform:translateY(360px) scale(0)}.rtf--ab{height:40px;width:40px;margin-right:4px;background-color:#aaa;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:16px;z-index:10000}.rtf--ab:hover{background:var(--color-focus-blue);border:1px solid var(--color-focus-blue);color:#fff}.rtf--ab:focus{border-color:var(--color-focus-blue)}._spining_4i8sg_1{position:relative;border-radius:50%;background:linear-gradient(60deg,#e66465,#9198e5);width:48px;height:48px;display:flex;justify-content:center;align-items:center}._spining_4i8sg_1:before{content:"";position:absolute;inset:0;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:_spining_keyframes_4i8sg_1 1s linear infinite}@keyframes _spining_keyframes_4i8sg_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._placeHolder_kcjv9_1{margin-top:15%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--color-text-secondary);opacity:.15}@media(max-width:768px){._placeHolder_kcjv9_1{margin-top:25%}}._connQty_kcjv9_17{font-family:var(--font-normal);font-size:.7em;margin-left:6px;padding:2px 8px;display:inline-flex;justify-content:center;align-items:center;background-color:#ffffff26;border-radius:10px;font-weight:600;min-width:20px}._inputWrapper_kcjv9_31{width:100%;max-width:300px;min-width:0;margin-left:auto}@media(max-width:768px){._inputWrapper_kcjv9_31{max-width:none;grid-column:1/-1;margin-left:0;order:3}}._input_kcjv9_31{appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:8px;border:1px solid transparent;box-sizing:border-box;color:var(--color-text);display:inline-block;font-size:.95em;height:40px;outline:none;padding:0 16px;transition:all .2s ease;width:100%;box-shadow:0 2px 6px #0000000f}._input_kcjv9_31:-ms-input-placeholder{color:var(--color-text-secondary);opacity:.6}._input_kcjv9_31::placeholder{color:var(--color-text-secondary);opacity:.6}._input_kcjv9_31:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 3px #4285f426}._toolbar_kcjv9_73{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:2px;border-radius:10px}@media(max-width:768px){._toolbar_kcjv9_73{grid-column:2;grid-row:2;justify-content:flex-end;width:auto;padding:2px;background:transparent}}._toolbarBtn_kcjv9_92{display:flex;align-items:center;justify-content:center;position:relative;width:34px;height:34px;border:none;border-radius:8px;background-color:transparent;color:var(--color-text-secondary);cursor:pointer;transition:all .2s ease}._toolbarBtn_kcjv9_92:hover{background-color:var(--color-focus-blue);color:#fff;transform:translateY(-1px);box-shadow:0 2px 8px #4285f44d}._toolbarBtn_kcjv9_92:active{transform:translateY(0) scale(.95)}._toolbarBtnBadge_kcjv9_116{position:absolute;top:-3px;right:-3px;font-size:9px;font-weight:700;background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border-radius:50%;width:15px;height:15px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #e74c3c66}._controls_kcjv9_133{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0}@media(max-width:768px){._controls_kcjv9_133{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px;padding:4px 0}}._tabGroup_kcjv9_150{display:flex;align-items:center;gap:12px;min-width:0}@media(max-width:768px){._tabGroup_kcjv9_150{display:contents}}._tabList_kcjv9_162{border:none!important;display:flex;align-items:center;gap:4px;min-width:0;background-color:var(--color-bg-sidebar);border-radius:12px;padding:4px!important}@media(max-width:768px){._tabList_kcjv9_162{grid-column:1/-1;justify-content:space-between;width:100%}._tabList_kcjv9_162 .react-tabs__tab{flex:1;text-align:center;justify-content:center;padding:6px 4px!important;font-size:.9em}}._sourceSelect_kcjv9_188{width:auto;min-width:130px;height:40px;flex-shrink:0}@media(max-width:768px){._sourceSelect_kcjv9_188{width:100%!important;grid-column:1;height:36px}}._toolbarDivider_kcjv9_202{width:1px;height:20px;background:var(--color-text-secondary);opacity:.2;margin:0 2px}._contentWrapper_kcjv9_210{margin:0 45px 20px;min-width:0;background-color:var(--bg-log-info-card);border-radius:12px;box-shadow:var(--shadow-card);border:1px solid var(--color-separator);overflow:hidden}@media(max-width:768px){._contentWrapper_kcjv9_210{margin:10px 15px 15px;background-color:transparent;border:none;box-shadow:none}}._scrollArea_kcjv9_228{overflow:visible}.connections-table .ctrl{min-width:3.5em;text-align:center;display:flex;justify-content:center;align-items:center}.connections-table .ctrl svg{height:16px;width:16px;opacity:.6;transition:all .2s ease;cursor:pointer}.connections-table .ctrl svg:hover{opacity:1;color:#e74c3c;transform:scale(1.1)}.connections-table .type{min-width:8em;text-align:center}.connections-table .type:before{content:""}.connections-table .start,.connections-table .downloadSpeedCurr,.connections-table .uploadSpeedCurr,.connections-table .download,.connections-table .upload{min-width:7em;text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.connections-table .downloadSpeedCurr,.connections-table .download{color:#27ae60}.connections-table .uploadSpeedCurr,.connections-table .upload{color:#3498db}.connections-table .process{max-width:12em;overflow:hidden;text-overflow:ellipsis}.connections-table .host{max-width:20em;overflow:hidden;text-overflow:ellipsis}.connections-table .rule{max-width:15em;overflow:hidden;text-overflow:ellipsis}.connections-table .chains{max-width:none;overflow:visible;text-overflow:initial;white-space:nowrap;word-break:break-word}._card_13ab1_1{background:var(--color-bg-card);border-radius:12px;padding:10px 14px;margin-bottom:8px;box-shadow:0 2px 6px #0000000d;display:flex;flex-direction:column;gap:4px;cursor:pointer;transition:transform .1s ease}._card_13ab1_1:active{transform:scale(.98)}._row_13ab1_17{display:flex;justify-content:space-between;align-items:center;min-width:0}._host_13ab1_24{color:#40c4aa;font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin-right:8px}._time_13ab1_35{color:var(--color-text-secondary);font-size:.8rem;flex-shrink:0}._typeProtocol_13ab1_41{color:var(--color-text);font-size:.85rem;opacity:.8}._totals_13ab1_47{display:flex;gap:10px;font-size:.8rem;color:var(--color-text-secondary)}._totals_13ab1_47 span{display:flex;align-items:center;gap:4px}._totals_13ab1_47 svg{opacity:.5}._ruleChain_13ab1_62{display:flex;align-items:center;gap:6px;color:var(--color-text-secondary);font-size:.8rem;overflow:hidden;flex:1;margin-right:8px}._ruleChain_13ab1_62 ._rule_13ab1_62{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._ruleChain_13ab1_62 ._arrow_13ab1_77{opacity:.5;font-size:.7rem}._ruleChain_13ab1_62 ._chains_13ab1_81{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--color-text);opacity:.9}._speedAndAction_13ab1_90{display:flex;align-items:center;gap:8px}._speed_13ab1_90{display:flex;align-items:center;gap:4px;font-size:.8rem;color:var(--color-text-secondary);font-family:Roboto Mono,monospace}._speed_13ab1_90 ._speedIcon_13ab1_104{color:#40c4aa;opacity:.8}._closeBtn_13ab1_109{background:#0000000d;background:var(--color-bg-secondary, rgba(0, 0, 0, .05));border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);cursor:pointer;transition:all .2s ease}._closeBtn_13ab1_109:hover{background:#e74c3c1a;color:#e74c3c}._tr_po97b_1{transition:all .2s ease;cursor:pointer;display:flex;align-items:stretch;width:100%;min-width:fit-content}._tr_po97b_1:hover ._td_po97b_9,._tr_po97b_1:hover ._odd_po97b_12{background:#4285f414}._th_po97b_16{height:48px;background:var(--bg-log-info-card);top:0;font-size:.8em;font-weight:600;-webkit-user-select:none;-ms-user-select:none;user-select:none;text-transform:uppercase;letter-spacing:.5px;color:var(--color-text-secondary);border-bottom:2px solid var(--color-separator);position:sticky;z-index:20;padding:0 8px;white-space:nowrap;overflow:hidden;flex-shrink:0}._th_po97b_16:hover{color:var(--color-text-highlight)}._headerText_po97b_38{overflow:hidden;text-overflow:ellipsis}._cellText_po97b_43{overflow:hidden;text-overflow:ellipsis;width:100%}._sortIconContainer_po97b_49{margin-left:4px;flex-shrink:0;display:flex;align-items:center}._btnSection_po97b_60 button{margin-right:15px}._break_po97b_64{word-wrap:break-word;word-break:break-all;align-items:center;text-align:left}._td_po97b_9{padding:0 8px;font-size:.875em;cursor:pointer;vertical-align:middle;white-space:nowrap;border-bottom:1px solid var(--color-separator);transition:color .15s ease;box-sizing:border-box;flex-shrink:0}._td_po97b_9:hover{color:var(--color-text-highlight)}._td_po97b_9{font-family:var(--font-normal)}._overlay_po97b_89{background:#444}._modal_po97b_93{background-color:var(--bg-modal)}._table_po97b_97{border-collapse:separate;border-spacing:0;width:100%;background:transparent}@media(max-width:768px){._table_po97b_97{display:none}}._tableWrapper_po97b_109{margin-top:0;border-radius:12px;overflow:hidden;background:transparent;box-shadow:none}@media(max-width:768px){._tableWrapper_po97b_109{background:transparent;box-shadow:none}}._theadWrapper_po97b_123{width:100%;overflow:hidden;background:var(--bg-log-info-card);border-top-left-radius:12px;border-top-right-radius:12px}._cardsView_po97b_131{display:none}@media(max-width:768px){._cardsView_po97b_131{display:block;padding:0 4px}}._mobileSortToolbar_po97b_141{display:flex;align-items:center;gap:12px;padding:0;margin-bottom:12px}._sortSelectWrapper_po97b_149{display:flex;align-items:center;gap:10px;flex:1;background:var(--color-bg-card);padding:8px 12px;border-radius:12px;box-shadow:0 2px 8px #0000000f;color:var(--color-focus-blue);position:relative;border:1px solid rgba(0,0,0,.05);border:1px solid var(--color-bg-card-border, rgba(0, 0, 0, .05))}._sortSelectWrapper_po97b_149 select{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}._sortSelectWrapper_po97b_149 ._selectedValue_po97b_172{flex:1;display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:600;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._selectArrow_po97b_185{opacity:.5;color:var(--color-text-secondary);flex-shrink:0}._sortDirBtn_po97b_191{background:var(--color-bg-card);border:1px solid rgba(0,0,0,.05);border:1px solid var(--color-bg-card-border, rgba(0, 0, 0, .05));color:var(--color-focus-blue);display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;cursor:pointer;box-shadow:0 2px 8px #0000000f;transition:all .2s ease}._sortDirBtn_po97b_191:active{transform:scale(.95);background:var(--color-bg-secondary)}._table_po97b_97 thead tr:first-child th:first-child{border-top-left-radius:12px}._table_po97b_97 thead tr:first-child th:last-child{border-top-right-radius:12px}._table_po97b_97 tbody tr:last-child td:first-child{border-bottom-left-radius:12px}._table_po97b_97 tbody tr:last-child td:last-child{border-bottom-right-radius:12px}._td_po97b_9._odd_po97b_12{background:var(--color-row-odd)}._center_po97b_231{min-width:7em;text-align:center}._sortIconContainer_po97b_49{display:inline-flex;align-items:center;justify-content:center;margin-left:4px;width:16px;height:16px;opacity:.7}._rotate180_po97b_56{transform:rotate(180deg)}._overlay_f0mbp_1{position:fixed;inset:0;background:#444;z-index:1024;display:flex;align-items:center;justify-content:center}._content_f0mbp_14{outline:none;color:var(--color-text);background:var(--bg-modal);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-card)}._overlay_1cbjw_1{background-color:#0009}._cnt_1cbjw_5{background-color:var(--bg-modal);color:var(--color-text);max-width:300px;line-height:1.4;transform:scale(1.2);opacity:.6;transition:all .3s ease}._afterOpen_1cbjw_15{opacity:1;transform:scale(1)}._btngrp_1cbjw_20{display:flex;align-items:center;justify-content:center;margin-top:30px}._content_1s5mg_1{max-width:600px;width:90%;max-height:90vh;overflow-y:auto;padding:24px;background-color:var(--bg-modal);border-radius:12px;box-shadow:0 10px 25px #0003;border:1px solid var(--color-border)}._overlay_1s5mg_13{background-color:#0000001a!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}._details_1s5mg_18{display:grid;grid-template-columns:min-content 1fr;grid-gap:12px 24px;gap:12px 24px;font-size:14px;line-height:1.5}._label_1s5mg_26{font-weight:600;text-align:right;color:var(--color-text-secondary);white-space:nowrap}._value_1s5mg_33{color:var(--color-text-primary);word-break:break-all;font-family:Roboto Mono,Consolas,Menlo,monospace}._header_1s5mg_39{font-size:20px;font-weight:700;margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid var(--color-border);color:var(--color-text-primary);display:flex;justify-content:space-between;align-items:center}._overlay_ukhe7_1{background-color:#0009}._cnt_ukhe7_5{position:absolute;background-color:var(--bg-modal);color:var(--color-text);line-height:1.4;opacity:.6;transition:all .3s ease;box-shadow:#0000001f 0 4px 4px,#0000003d 0 16px 32px}._afterOpen_ukhe7_15{opacity:1}._columnManagerRow_123tk_1{width:280px;display:flex;margin:4px 0;padding:8px 12px;align-items:center;background:var(--bg-near-transparent);border-radius:10px;transition:all .2s ease}._columnManagerRow_123tk_1:hover{background:#4285f41a}._columnManagerRow_123tk_1 ._columnManageLabel_123tk_14{flex:1;margin-left:12px;font-size:.95em;font-weight:500}._columnManagerRow_123tk_1 ._columnMoveButtons_123tk_20{display:flex;flex-direction:column;margin-right:8px;gap:2px}._columnManagerRow_123tk_1 ._moveBtn_123tk_26{display:flex;align-items:center;justify-content:center;width:20px;height:16px;padding:0;border:none;border-radius:4px;background-color:transparent;color:var(--color-text-secondary);cursor:pointer;transition:all .15s ease}._columnManagerRow_123tk_1 ._moveBtn_123tk_26:hover:not(:disabled){background-color:var(--color-focus-blue);color:#fff;transform:scale(1.1)}._columnManagerRow_123tk_1 ._moveBtn_123tk_26:disabled{opacity:.25;cursor:not-allowed}._columnManagerRow_123tk_1 ._columnManageSwitch_123tk_49{transform:scale(.75);height:22px;display:flex;align-items:center}._sourceipTable_2lem6_1 input{width:120px}._iptableTipContainer_2lem6_5{width:300px}._root_ifizv_4{padding:6px 15px}@media screen and (min-width:30em){._root_ifizv_4{padding:10px 40px}}._sparkline_1urkx_1{width:100%;height:10vh;margin-top:auto}._TrafficNow_xzvcs_1{color:var(--color-text);display:flex;flex-direction:column;grid-gap:20px;gap:20px;padding:10px 0}._TrafficNow_xzvcs_1 ._overview_xzvcs_9{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}._TrafficNow_xzvcs_1 ._overview_xzvcs_9>div:nth-child(3){grid-column:1/-1}@media(min-width:768px){._TrafficNow_xzvcs_1 ._overview_xzvcs_9{grid-template-columns:1fr 1fr 1fr}._TrafficNow_xzvcs_1 ._overview_xzvcs_9>div:nth-child(3){grid-column:auto}}._TrafficNow_xzvcs_1 ._chartsRow_xzvcs_25{display:flex;flex-direction:column;gap:20px}@media(min-width:768px){._TrafficNow_xzvcs_1 ._chartsRow_xzvcs_25{flex-direction:row}._TrafficNow_xzvcs_1 ._chartsRow_xzvcs_25>._sec_xzvcs_34{flex:1;min-width:0}}._TrafficNow_xzvcs_1 ._sec_xzvcs_34{padding:20px;background-color:var(--color-bg-card);border-radius:12px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;justify-content:space-between;min-height:140px}._TrafficNow_xzvcs_1 ._sec_xzvcs_34:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}._TrafficNow_xzvcs_1 ._sec_xzvcs_34 ._header_xzvcs_53{display:flex;align-items:center;color:var(--color-text-secondary);font-size:.85rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em}._TrafficNow_xzvcs_1 ._sec_xzvcs_34 ._header_xzvcs_53 span{margin-left:8px}._TrafficNow_xzvcs_1 ._sec_xzvcs_34 ._value_xzvcs_65{padding:12px 0;font-size:1.75rem;font-weight:700;color:var(--color-text);font-family:Roboto Mono,monospace}._headerControls_1cuzh_1{display:flex;align-items:center;gap:10px;flex:1;justify-content:flex-end;max-width:360px}._headerControls_1cuzh_1>div{flex:1}@media(max-width:768px){._headerControls_1cuzh_1{max-width:none;justify-content:stretch}}._searchWrapper_1cuzh_19{flex:1;max-width:300px}@media(max-width:768px){._searchWrapper_1cuzh_19{max-width:none}}._levelSelect_1cuzh_29{flex-shrink:0;width:auto;min-width:90px}._clearBtn_1cuzh_35{background:none;border:none;color:var(--color-text-secondary);cursor:pointer;padding:8px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}._clearBtn_1cuzh_35:hover{background-color:var(--bg-near-transparent);color:var(--color-text)}._logLine_1cuzh_52{display:flex;font-family:var(--font-normal);font-size:12px;padding:4px 8px;border-bottom:1px solid var(--bg-near-transparent);word-break:break-all}._logLine_1cuzh_52:hover{background-color:var(--bg-near-transparent)}@media(max-width:768px){._logLine_1cuzh_52{flex-direction:column}}._logMeta_1cuzh_69{display:flex;align-items:center;flex-shrink:0;margin-right:12px;min-width:180px}@media(max-width:768px){._logMeta_1cuzh_69{margin-bottom:4px}}._logTime_1cuzh_82{color:var(--color-text-secondary);margin-right:8px;opacity:.8}._logType_1cuzh_88{text-transform:uppercase;font-weight:700;font-size:10px;padding:1px 6px;border-radius:3px;min-width:50px;text-align:center}._logType_1cuzh_88[data-type=debug]{color:#389d3d;background-color:#389d3d1a}._logType_1cuzh_88[data-type=info]{color:#0ea5e9;background-color:#0ea5e91a}._logType_1cuzh_88[data-type=warning]{color:#f59e0b;background-color:#f59e0b1a}._logType_1cuzh_88[data-type=error]{color:#ef4444;background-color:#ef44441a}._logText_1cuzh_114{color:var(--color-text);line-height:1.5;flex:1}._logsWrapper_1cuzh_120{position:relative;margin:20px 45px;padding:10px;background-color:var(--bg-log-info-card);border-radius:8px;color:var(--color-text);overflow-y:auto;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}@media(max-width:768px){._logsWrapper_1cuzh_120{margin:10px 15px}}._logsWrapper_1cuzh_120::-webkit-scrollbar{width:6px}._logsWrapper_1cuzh_120::-webkit-scrollbar-thumb{background-color:var(--bg-near-transparent);border-radius:3px}._scrollToBottomBtn_1cuzh_143{position:absolute;bottom:80px;right:20px;background-color:var(--color-focus-blue);color:#fff;border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0003;z-index:10;transition:transform .2s}._scrollToBottomBtn_1cuzh_143:hover{transform:scale(1.1)}@media(max-width:768px){._scrollToBottomBtn_1cuzh_143{right:25px}}._logPlaceholder_1cuzh_170{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--color-text-secondary)}._logPlaceholder_1cuzh_170 div:nth-child(2){font-size:1.2em;margin-top:20px;opacity:.6}._logPlaceholderIcon_1cuzh_183{opacity:.2}._RuleSearch_1lcjq_1{width:100%}._input_1lcjq_5{appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:8px;border:1px solid transparent;box-sizing:border-box;color:var(--color-text);display:inline-block;font-size:.95em;height:40px;outline:none;padding:0 16px;transition:all .2s ease;width:100%;box-shadow:0 2px 6px #0000000f}._input_1lcjq_5:-ms-input-placeholder{color:var(--color-text-secondary);opacity:.6}._input_1lcjq_5::placeholder{color:var(--color-text-secondary);opacity:.6}._input_1lcjq_5:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 3px #4285f426}._FlexCenter_1380a_1{display:flex;justify-content:center;align-items:center}._header_1ev3l_1{display:flex;align-items:center;padding:5px;-webkit-user-select:none;-ms-user-select:none;user-select:none}._header_1ev3l_1:focus{outline:none}._header_1ev3l_1 ._arrow_1ev3l_10{display:inline-flex;transform:rotate(0);transition:transform .3s}._header_1ev3l_1 ._arrow_1ev3l_10._isOpen_1ev3l_15{transform:rotate(180deg)}._header_1ev3l_1 ._arrow_1ev3l_10:focus{outline:var(--color-focus-blue) solid 1px}._btn_1ev3l_22{margin-left:5px}._lock_1ev3l_26{display:inline-flex;align-items:center;margin-left:6px;color:#d4b75c;color:var(--color-latency-medium, #d4b75c);cursor:help}._qty_1ev3l_35{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._header_1tvqk_1{margin-bottom:12px}._group_1tvqk_5{padding:10px;background-color:var(--bg-log-info-card);border:1px solid var(--color-separator);border-radius:12px;box-shadow:var(--shadow-card);transition:border-color .2s ease,box-shadow .2s ease}._zapWrapper_1tvqk_14{width:20px;height:20px;display:flex;align-items:center;justify-content:center}._arrow_1tvqk_22{display:inline-flex;transform:rotate(0);transition:transform .3s}._arrow_1tvqk_22._isOpen_1tvqk_27{transform:rotate(180deg)}._arrow_1tvqk_22:focus{outline:var(--color-focus-blue) solid 1px}._groupHeader_1tvqk_34{display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;-ms-user-select:none;user-select:none}._groupHeader_1tvqk_34 ._btnGroup_1tvqk_40{display:flex;flex-direction:row-reverse}@media screen and (min-width:768px){._groupHeader_1tvqk_34{justify-content:flex-start}._groupHeader_1tvqk_34 ._btnGroup_1tvqk_40{flex-direction:row}}._nowRow_1tvqk_53{display:flex;align-items:center;justify-content:space-between;padding:2px 5px 0;min-width:0}._nowName_1tvqk_61{font-size:.8em;color:var(--color-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}._nowLatency_1tvqk_71{font-size:.75em;font-family:var(--font-mono);flex-shrink:0;margin-left:8px}._availBar_1tvqk_78{margin:8px 0;height:15px;padding:0 10px;display:flex;align-items:center}._availBarTrack_1tvqk_86{flex:1;height:6px;border-radius:3px;background:var(--color-separator);overflow:hidden}._availBarFill_1tvqk_94{height:100%;border-radius:3px;background:#67c23a;transition:width .4s ease}._proxy_1u6fo_4{padding:5px;position:relative;border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow-card);transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--color-proxy-border)}._proxy_1u6fo_4:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 2px #3b82f666}._proxy_1u6fo_4:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:1}@media screen and (min-width:30em){._proxy_1u6fo_4{border-radius:var(--border-radius);padding:10px}}._proxy_1u6fo_4{background-color:var(--color-bg-proxy);color:var(--color-text)}._proxy_1u6fo_4._now_1u6fo_34{background-color:var(--color-sb-active-row-bg);color:var(--color-sb-active-row-font);border-color:var(--color-focus-blue)}._proxy_1u6fo_4._error_1u6fo_39{opacity:.5}._proxy_1u6fo_4._selectable_1u6fo_42{transition:transform .2s ease-in-out;cursor:pointer}._proxy_1u6fo_4._selectable_1u6fo_42:hover{border-color:var(--card-hover-border-lightness)}._proxyType_1u6fo_50{font-family:var(--font-mono);font-size:.6em}@media screen and (min-width:30em){._proxyType_1u6fo_50{font-size:.7em}}._proxyType_1u6fo_50{color:#f596aa;opacity:.6}._now_1u6fo_34 ._proxyType_1u6fo_50{color:inherit;opacity:.8}._udpType_1u6fo_68{font-family:var(--font-mono);font-size:.6em}@media screen and (min-width:30em){._udpType_1u6fo_68{font-size:.7em}}._udpType_1u6fo_68{color:#51a8dd;opacity:.6}._now_1u6fo_34 ._udpType_1u6fo_68{color:inherit;opacity:.8}._tfoType_1u6fo_86{padding:2px}._row_1u6fo_90{display:flex;align-items:center;height:auto;font-weight:400;justify-content:space-between}._proxyName_1u6fo_98{width:100%;margin-bottom:5px;font-size:.75em}@media screen and (min-width:30em){._proxyName_1u6fo_98{font-size:.85em}}._proxySmall_1u6fo_109{position:relative;width:15px;height:15px;border-radius:50%}._proxySmall_1u6fo_109 ._now_1u6fo_34{position:absolute;width:9px;height:9px;margin:auto;inset:0;border-radius:50%;background-color:#fffdfd}._proxySmall_1u6fo_109._selectable_1u6fo_42{transition:transform .1s ease-in-out;cursor:pointer}._proxySmall_1u6fo_109._selectable_1u6fo_42:hover{transform:scale(1.5)}._proxyLatency_1t6dc_4{display:inline-flex;align-items:center;justify-content:center;min-width:50px;padding:4px 10px;gap:4px;border-radius:9999px;border:1px solid var(--color-proxy-border);background:#fff;background:var(--bg-latency, #ffffff);color:inherit;font-size:.75em;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .15s ease;-webkit-user-select:none;-ms-user-select:none;user-select:none;outline:none}@media screen and (min-width:30em){._proxyLatency_1t6dc_4{padding:5px 12px;font-size:.8em}}._clickable_1t6dc_28{cursor:pointer}._clickable_1t6dc_28:hover,._clickable_1t6dc_28:focus-visible{background:var(--color-bg-proxy);border-color:var(--card-hover-border-lightness);box-shadow:0 8px 24px #0000002e}._placeholder_1t6dc_39{color:var(--color-text-secondary)}._testing_1t6dc_43{animation:_proxyLatencyPulse_1t6dc_1 1s ease-in-out infinite}@keyframes _proxyLatencyPulse_1t6dc_1{0%{opacity:.8}50%{opacity:1}to{opacity:.8}}._list_vqwkl_4{margin:8px 0;display:grid;grid-gap:10px}._detail_vqwkl_10{grid-template-columns:auto auto}@media screen and (min-width:30em){._detail_vqwkl_10{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}._summary_vqwkl_19{grid-template-columns:repeat(auto-fill,15px);padding-left:10px}._providerGroup_vqwkl_24{margin-top:8px}._providerLabel_vqwkl_28{font-size:.75rem;font-weight:600;color:#909399;color:var(--color-text-secondary, #909399);padding:2px 0 4px;border-bottom:1px solid var(--color-separator);margin-bottom:4px}._rotate_1dspl_1{display:inline-flex}._isRotating_1dspl_5{animation:_rotating_1dspl_1 3s infinite linear;animation-fill-mode:forwards}@keyframes _rotating_1dspl_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._updatedAt_xahar_4{margin-bottom:12px;margin-left:5px}._updatedAt_xahar_4 small{color:#777}._body_xahar_12{padding:10px;background-color:var(--bg-log-info-card);border:1px solid var(--color-separator);border-radius:12px;box-shadow:var(--shadow-card);transition:border-color .2s ease,box-shadow .2s ease}._body_xahar_12:hover{border-color:var(--color-focus-blue)}._actionFooter_xahar_24{display:flex}._actionFooter_xahar_24 button{margin:0 5px}._actionFooter_xahar_24 button:first-child{margin-left:0}._refresh_xahar_34{display:flex;justify-content:center;align-items:center;cursor:pointer}._labeledInput_8kei5_1{max-width:85vw;width:400px;display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:13px 0}._urlInputWrapper_8kei5_11{position:relative;display:flex;align-items:center;width:240px}._urlInput_8kei5_11{width:100%;padding:4px 24px 4px 8px;border:1px solid var(--color-separator);border-radius:4px;background:transparent;background:var(--color-bg-1, transparent);color:inherit;font-size:12px;outline:none}._urlInput_8kei5_11:focus{border-color:#409eff;border-color:var(--color-focus-blue, #409eff)}._urlClearBtn_8kei5_32{position:absolute;right:6px;background:none;border:none;cursor:pointer;color:#909399;color:var(--color-text-secondary, #909399);padding:0;line-height:1;font-size:14px;display:flex;align-items:center}._urlClearBtn_8kei5_32:hover{color:inherit;color:var(--color-text, inherit)}._timeoutInputWrapper_8kei5_49{display:flex;align-items:center;gap:4px}._timeoutInput_8kei5_49{width:70px;padding:4px 8px;border:1px solid var(--color-separator);border-radius:4px;background:transparent;background:var(--color-bg-1, transparent);color:inherit;font-size:12px;text-align:right;outline:none}._timeoutInput_8kei5_49:focus{border-color:#409eff;border-color:var(--color-focus-blue, #409eff)}._timeoutUnit_8kei5_70{font-size:12px;color:#909399;color:var(--color-text-secondary, #909399)}hr{height:1px;background-color:var(--color-separator);border:none;outline:none;margin:1rem 0px}._input_1vrbx_1{appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:8px;border:1px solid transparent;box-sizing:border-box;color:var(--color-text);display:inline-block;font-size:.95em;outline:none;padding:0 16px;transition:all .2s ease;width:100%;height:40px;box-shadow:0 2px 6px #0000000f}._input_1vrbx_1:-ms-input-placeholder{color:var(--color-text-secondary);opacity:.6}._input_1vrbx_1::placeholder{color:var(--color-text-secondary);opacity:.6}._input_1vrbx_1:focus{border-color:var(--color-focus-blue);box-shadow:0 0 0 3px #4285f426}._topBar_1xex3_4{position:sticky;top:0;z-index:1;background-color:var(--color-background2);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px)}._topBar_1xex3_4>div{width:100%}._topBarRight_1xex3_15{display:flex;align-items:center;flex-wrap:wrap;flex:1;justify-content:flex-end}@media(max-width:768px){._topBarRight_1xex3_15{order:3;flex:1 1 100%;width:100%;margin-top:8px}}._textFilterContainer_1xex3_31{max-width:300px;min-width:150px;flex:1;margin-right:8px}@media(max-width:768px){._textFilterContainer_1xex3_31{max-width:none;margin-right:8px}}._group_1xex3_44{padding:10px 0;content-visibility:auto;contain-intrinsic-size:auto 200px}@media screen and (min-width:30em){._group_1xex3_44{padding:10px 0}}._groupsContainer_1xex3_55{margin:0 45px 20px;padding:2px 0 10px}@media(max-width:768px){._groupsContainer_1xex3_55{margin:10px 15px 15px}}._groupsContainer_1xex3_55._doubleColumn_1xex3_64{display:flex;flex-direction:column;gap:0}@media screen and (min-width:1200px){._groupsContainer_1xex3_55._doubleColumn_1xex3_64{flex-direction:row;align-items:flex-start;gap:12px}}._groupsContainer_1xex3_55._doubleColumn_1xex3_64 ._column_1xex3_76{flex:1;display:flex;flex-direction:column}@media screen and (max-width:1199px){._groupsContainer_1xex3_55._doubleColumn_1xex3_64 ._column_1xex3_76{display:contents}}@media screen and (min-width:1200px){._groupsContainer_1xex3_55._doubleColumn_1xex3_64 ._group_1xex3_44{padding:10px 0}}._tabsContainer_1xex3_92{display:flex;align-items:center;background-color:var(--color-bg-sidebar);border-radius:12px;padding:4px}@media(max-width:768px){._tabsContainer_1xex3_92{order:1;flex:1 1 100%;width:100%}}._tab_1xex3_92{display:flex;align-items:center;padding:8px 16px;border-radius:8px;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;font-size:1em;font-weight:500;color:var(--color-text-secondary);transition:all .2s ease;user-select:none}@media(max-width:768px){._tab_1xex3_92{padding:6px 10px;font-size:.85em;flex:1;justify-content:center;min-width:0;white-space:nowrap}}._tab_1xex3_92:hover{color:var(--color-focus-blue);background:#b0ceff38}._tab_1xex3_92._active_1xex3_134{background-color:var(--color-focus-blue);color:#fff}._tabCount_1xex3_139{font-family:var(--font-normal);font-size:.7em;margin-left:6px;padding:2px 8px;display:inline-flex;justify-content:center;align-items:center;background-color:#ffffff26;border-radius:10px;font-weight:600;min-width:20px;flex-shrink:0}._rule_11c1u_4{display:flex;align-items:center;padding:12px 20px;transition:background-color .2s ease;border-bottom:1px solid var(--color-separator)}._rule_11c1u_4:hover{background-color:var(--bg-near-transparent)}._rule_11c1u_4._disabled_11c1u_14{opacity:.45}._left_11c1u_18{width:40px;flex-shrink:0;color:var(--color-text-secondary);font-size:11px;opacity:.4;font-family:var(--font-mono)}._right_11c1u_27{flex:1;min-width:0;margin-left:12px}._payloadRow_11c1u_33{display:flex;align-items:baseline;margin-bottom:4px}._payload_11c1u_33{font-family:var(--font-mono);font-size:13px;color:var(--color-text);word-break:break-all;line-height:1.4}._size_11c1u_47{margin-left:12px;font-size:10px;color:var(--color-text-secondary);background:var(--bg-near-transparent);padding:1px 6px;border-radius:3px;white-space:nowrap;text-transform:uppercase}._metaRow_11c1u_58{display:flex;align-items:center;gap:12px;font-size:11px}._typeTag_11c1u_65{display:flex;align-items:center;gap:4px;color:var(--color-text-secondary);background:var(--bg-near-transparent);padding:2px 8px;border-radius:4px}._typeTag_11c1u_65 span{font-weight:500;text-transform:uppercase;font-size:10px}._proxyTag_11c1u_80{font-weight:600;letter-spacing:.02em}._hitInfo_11c1u_85{display:flex;align-items:center;gap:4px;color:var(--color-text-secondary);cursor:default}._spacer_11c1u_93{flex:1}._wrapSwitch_11c1u_97{display:flex;align-items:center;transform:scale(.7);transform-origin:right center}._wrapSwitch_11c1u_97._pending_11c1u_103{opacity:.6;pointer-events:none}._RuleProviderItem_n6wmb_1{display:flex;align-items:center;height:100%;padding:16px 20px;transition:all .2s ease}._RuleProviderItem_n6wmb_1:hover{background:var(--bg-near-transparent)}._RuleProviderItem_n6wmb_1:hover ._refreshButton_n6wmb_11{opacity:1}._left_n6wmb_15{width:32px;flex-shrink:0;color:var(--color-text-secondary);font-size:11px;opacity:.4;font-family:var(--font-mono)}._middle_n6wmb_24{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}._nameRow_n6wmb_32{display:flex;align-items:center;flex-wrap:wrap;gap:8px}._name_n6wmb_32{font-size:14px;font-weight:600;color:var(--color-text-highlight)}._badgeGroup_n6wmb_45{display:flex;gap:6px}._badge_n6wmb_45{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--color-text-secondary);background:var(--bg-near-transparent);padding:2px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.02em}._infoRow_n6wmb_63{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--color-text-secondary)}._dot_n6wmb_71{opacity:.5}._right_n6wmb_75{margin-left:12px}._refreshButton_n6wmb_11{opacity:.4;transition:all .2s ease;padding:8px!important;border-radius:50%!important;color:var(--color-text-secondary)}._refreshButton_n6wmb_11:hover{opacity:1;color:var(--color-focus-blue);background:var(--bg-near-transparent)!important}._rotating_n6wmb_92{animation:_rotate_n6wmb_1 1s linear infinite}@keyframes _rotate_n6wmb_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._container_14ylc_4{display:flex;flex-direction:column;height:100%}._filterWrapper_14ylc_10{width:100%;max-width:300px}@media(max-width:768px){._filterWrapper_14ylc_10{order:3;flex:1 1 100%;max-width:none;margin-top:8px}}._listWrapper_14ylc_23{margin:10px 45px 20px;background-color:var(--bg-log-info-card);border-radius:12px;box-shadow:var(--shadow-card);border:1px solid var(--color-separator);overflow:hidden}@media(max-width:768px){._listWrapper_14ylc_23{margin:10px 15px 15px}}._RuleProviderItemWrapper_14ylc_37{border-bottom:1px solid var(--color-separator)}._tabsContainer_14ylc_41{display:flex;align-items:center;background-color:var(--color-bg-sidebar);border-radius:12px;padding:4px}@media(max-width:768px){._tabsContainer_14ylc_41{order:1;flex:1 1 100%;width:100%}}._tab_14ylc_41{display:flex;align-items:center;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:1em;font-weight:500;color:var(--color-text-secondary);transition:all .2s ease;-webkit-user-select:none;-ms-user-select:none;user-select:none}@media(max-width:768px){._tab_14ylc_41{padding:6px 10px;font-size:.85em;flex:1;justify-content:center;min-width:0;white-space:nowrap}}._tab_14ylc_41:hover{color:var(--color-focus-blue);background:#b0ceff38}._tab_14ylc_41._active_14ylc_82{background-color:var(--color-focus-blue);color:#fff}._tabCount_14ylc_87{font-family:var(--font-normal);font-size:.7em;margin-left:6px;padding:2px 8px;display:inline-flex;justify-content:center;align-items:center;background-color:#ffffff26;border-radius:10px;font-weight:600;min-width:20px;flex-shrink:0}._ToggleSwitch_10mtp_1{-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;border:1px solid #525252;color:var(--color-text);background:var(--color-toggle-bg);display:flex;position:relative;outline:none}._ToggleSwitch_10mtp_1:focus{border-color:var(--color-focus-blue)}._ToggleSwitch_10mtp_1 input{position:absolute;left:0;opacity:0}._ToggleSwitch_10mtp_1 label{z-index:2;display:flex;align-items:center;justify-content:center;padding:10px 0;cursor:pointer}._slider_10mtp_28{z-index:1;position:absolute;display:block;left:0;height:100%;transition:left .2s ease-out;background:var(--color-toggle-selected)}._content_b98hm_1._content_b98hm_1{background:none;position:fixed;inset:0;transform:none;padding:0;border-radius:0;display:flex;justify-content:center;overflow-y:auto}._container_b98hm_16{position:relative;margin-left:20px;margin-right:20px}._overlay_b98hm_22._overlay_b98hm_22{background-color:var(--color-background)}._fixed_b98hm_26{position:fixed;padding:16px;bottom:0;right:0} diff --git a/assets/inter-latin-400-normal-C38fXH4l.woff2 b/assets/inter-latin-400-normal-C38fXH4l.woff2 Binary files differnew file mode 100644 index 0000000..f15b025 --- /dev/null +++ b/assets/inter-latin-400-normal-C38fXH4l.woff2 diff --git a/assets/inter-latin-400-normal-CyCys3Eg.woff b/assets/inter-latin-400-normal-CyCys3Eg.woff Binary files differnew file mode 100644 index 0000000..2f21ed4 --- /dev/null +++ b/assets/inter-latin-400-normal-CyCys3Eg.woff diff --git a/assets/inter-latin-800-normal-BYj_oED-.woff2 b/assets/inter-latin-800-normal-BYj_oED-.woff2 Binary files differnew file mode 100644 index 0000000..74a16d4 --- /dev/null +++ b/assets/inter-latin-800-normal-BYj_oED-.woff2 diff --git a/assets/inter-latin-800-normal-D1mf63XC.woff b/assets/inter-latin-800-normal-D1mf63XC.woff Binary files differnew file mode 100644 index 0000000..1f2f601 --- /dev/null +++ b/assets/inter-latin-800-normal-D1mf63XC.woff diff --git a/assets/roboto-mono-latin-400-normal-DBZPkcnn.woff b/assets/roboto-mono-latin-400-normal-DBZPkcnn.woff Binary files differnew file mode 100644 index 0000000..248ace3 --- /dev/null +++ b/assets/roboto-mono-latin-400-normal-DBZPkcnn.woff diff --git a/assets/roboto-mono-latin-400-normal-GekRknry.woff2 b/assets/roboto-mono-latin-400-normal-GekRknry.woff2 Binary files differnew file mode 100644 index 0000000..6008f02 --- /dev/null +++ b/assets/roboto-mono-latin-400-normal-GekRknry.woff2 diff --git a/assets/ru-B3Riq2iA.js b/assets/ru-B3Riq2iA.js new file mode 100644 index 0000000..590a5e7 --- /dev/null +++ b/assets/ru-B3Riq2iA.js @@ -0,0 +1 @@ +const e={All:"Все",Overview:"Обзор",Proxies:"Прокси",Rules:"Правила",Conns:"Подключения",Config:"Настройки",Logs:"Логи",Upload:"Отдача",Download:"Загрузка","Upload Total":"Всего отдано","Download Total":"Всего загружено","Active Connections":"Активные подключения","Memory Usage":"Использование памяти","Pause Refresh":"Приостановить обновление","Resume Refresh":"Возобновить обновление",close_all_connections:"Закрыть все подключения",close_filter_connections:"Закрыть все отфильтрованные подключения",Search:"Поиск",Sort:"Сортировка",Up:"Вверх",Down:"Вниз","Test Latency":"Проверить задержку",settings:"настройки",general:"Основные",management:"Управление",dashboard:"Панель управления",sort_in_grp:"Сортировка в группе",hide_unavail_proxies:"Скрыть недоступные прокси",auto_close_conns:"Автоматически закрывать старые подключения",double_column_layout:"Двухколоночный макет",group_by_provider:"Группировать прокси по провайдеру",order_natural:"Исходный порядок из конфигурации",order_latency_asc:"По задержке (от меньшей к большей)",order_latency_desc:"По задержке (от большей к меньшей)",order_name_asc:"По имени (А-Я)",order_name_desc:"По имени (Я-А)",Connections:"Подключения",current_backend:"Текущий бэкенд",Active:"Активные",switch_backend:"Сменить бэкенд",Closed:"Закрытые",switch_theme:"Сменить тему",theme:"тема",about:"о программе",no_logs:"Пока нет логов, подождите...",chart_style:"Стиль графика",latency_test_url:"URL для проверки задержки",latency_test_timeout:"Таймаут проверки задержки",provider_healthcheck_timeout:"Таймаут проверки провайдера",lang:"Язык",proxy_provider:"Провайдер прокси",rule_provider:"Провайдер правил",update_all_rule_provider:"Обновить все провайдеры правил",update_all_proxy_provider:"Обновить все провайдеры прокси",reload_config_file:"Перезагрузить конфигурацию",restart_core:"Перезапустить ядро",upgrade_core:"Обновить ядро",upgrade_geo:"Обновить GEO базы данных",upgrade_ui:"Обновить интерфейс",update_geo_databases_file:"Обновить файлы GEO баз данных",flush_fake_ip_pool:"Очистить пул fake-ip",enable_tun_device:"Включить TUN устройство",allow_lan:"Разрешить LAN",tls_sniffing:"Сниффер",c_host:"Хост",c_sni:"Sniff хост",c_process:"Процесс",c_dl:"Загр.",c_ul:"Отд.",c_dl_speed:"Скорость загр.",c_ul_speed:"Скорость отд.",c_chains:"Цепочки",c_rule:"Правило",c_time:"Время",c_source:"Источник",c_destination_ip:"IP назначения",c_type:"Тип",c_ctrl:"Закрыть",close_all_confirm:"Вы уверены, что хотите закрыть все подключения?",close_all_confirm_yes:"Да, уверен",close_all_confirm_no:"Нет",manage_column:"Настройка столбцов",reset_column:"Сбросить столбцы",device_name:"Метка устройства",delete:"Удалить",add_tag:"Добавить метку",client_tag:"Метки клиентов",sourceip_tip:"Префикс / для регулярных выражений, иначе — точное совпадение",disconnect:"Закрыть подключение",internel:"Внутреннее подключение",Clear:"Очистить"};export{e as data}; diff --git a/assets/vi-CVjgWSjt.js b/assets/vi-CVjgWSjt.js new file mode 100644 index 0000000..2e51e88 --- /dev/null +++ b/assets/vi-CVjgWSjt.js @@ -0,0 +1 @@ +const n={All:"Tất cả",Overview:"Tổng quan",Proxies:"Proxy",Rules:"Quy tắc",Conns:"Kết nối",Config:"Cấu hình",Logs:"Nhật ký",Upload:"Tải lên",Download:"Tải xuống","Upload Total":"Tổng tải lên","Download Total":"Tổng tải xuống","Active Connections":"Kết nối hoạt động","Memory Usage":"Sử dụng bộ nhớ","Pause Refresh":"Tạm dừng làm mới","Resume Refresh":"Tiếp tục làm mới",close_all_connections:"Đóng tất cả kết nối",close_filter_connections:"Đóng tất cả kết nối sau khi lọc",Search:"Tìm kiếm",Up:"Lên",Down:"Xuống","Test Latency":"Kiểm tra độ trễ",settings:"Cài đặt",sort_in_grp:"Sắp xếp trong nhóm",hide_unavail_proxies:"Ẩn proxy không khả dụng",auto_close_conns:"Tự động đóng kết nối cũ",group_by_provider:"Nhóm proxy theo nhà cung cấp",order_natural:"Thứ tự ban đầu trong tệp cấu hình",order_latency_asc:"Theo độ trễ từ nhỏ đến lớn",order_latency_desc:"Theo độ trễ từ lớn đến nhỏ",order_name_asc:"Theo tên theo thứ tự bảng chữ cái (A-Z)",order_name_desc:"Theo tên theo thứ tự bảng chữ cái (Z-A)",Connections:"Kết nối",current_backend:"Backend hiện tại",Active:"Hoạt động",switch_backend:"Chuyển đổi backend",Closed:"Đã đóng",switch_theme:"Chuyển đổi giao diện",theme:"Giao diện",about:"Về chúng tôi",no_logs:"Chưa có nhật ký, hãy kiên nhẫn...",chart_style:"Kiểu biểu đồ",latency_test_url:"URL kiểm tra độ trễ",latency_test_timeout:"Thời gian chờ kiểm tra độ trễ",provider_healthcheck_timeout:"Thời gian chờ kiểm tra nhà cung cấp",lang:"Ngôn ngữ",proxy_provider:"nhà cung cấp proxy",update_all_rule_provider:"Cập nhật tất cả nhà cung cấp quy tắc",update_all_proxy_provider:"Cập nhật tất cả nhà cung cấp proxy",reload_config_file:"Tải lại tệp cấu hình",restart_core:"Khởi động lõi lại Clash",upgrade_core:"Nâng cấp lõi Clash",update_geo_databases_file:"Cập nhật tệp cơ sở dữ liệu GEO",flush_fake_ip_pool:"Xóa bộ nhớ đệm fake-ip",enable_tun_device:"Bật thiết bị TUN",allow_lan:"Cho phép LAN",tls_sniffing:"Bộ giám sát gói tin Sniffer",c_host:"Máy chủ",c_sni:"Phát hiện máy chủ Sniff ",c_process:"Quá trình",c_dl:"Tải Xuống",c_ul:"Tải Lên",c_dl_speed:"Tốc độ Tải Xuống",c_ul_speed:"Tốc độ Tải lên",c_chains:"Chuỗi",c_rule:"Quy tắc",c_time:"Thời gian",c_source:"Nguồn",c_destination_ip:"Địa chỉ IP đích",c_type:"Loại",c_ctrl:"Đóng",close_all_confirm:"Bạn có chắc chắn muốn đóng tất cả kết nối không?",close_all_confirm_yes:"Chắc chắn",close_all_confirm_no:"Không",manage_column:"Quản lý cột",reset_column:"Đặt lại cột",device_name:"Thẻ thiết bị",delete:"Xóa",add_tag:"Thêm thẻ",client_tag:"Thẻ khách hàng",sourceip_tip:"Thêm / vào đầu để sử dụng biểu thức chính quy, nếu không sẽ là kết quả khớp chính xác(By Ohoang7)",disconnect:"Đóng kết nối",internel:"Kết nối nội bộ",Clear:"Dọn dẹp"};export{n as data}; diff --git a/assets/zh-cn-BApRBr87.js b/assets/zh-cn-BApRBr87.js new file mode 100644 index 0000000..0768565 --- /dev/null +++ b/assets/zh-cn-BApRBr87.js @@ -0,0 +1 @@ +const e={All:"全部",Overview:"概览",Proxies:"代理",Rules:"规则",Conns:"连接",Config:"配置",Logs:"日志",Upload:"上传",Download:"下载","Upload Total":"上传总量","Download Total":"下载总量","Active Connections":"活动连接","Memory Usage":"内存使用情况",Memory:"内存","Pause Refresh":"暂停刷新","Resume Refresh":"继续刷新",close_all_connections:"关闭所有连接",close_filter_connections:"关闭所有过滤后的连接",Search:"查找",Sort:"排序",Up:"上传",Down:"下载","Test Latency":"延迟测速",settings:"设置",general:"常规",management:"管理",dashboard:"面板",sort_in_grp:"代理组条目排序",hide_unavail_proxies:"隐藏不可用代理",auto_close_conns:"切换代理时自动断开旧连接",double_column_layout:"双列显示",group_by_provider:"按提供商分组节点",order_natural:"原 config 文件中的排序",order_latency_asc:"按延迟从小到大",order_latency_desc:"按延迟从大到小",order_name_asc:"按名称字母排序 (A-Z)",order_name_desc:"按名称字母排序 (Z-A)",Connections:"连接",current_backend:"当前后端",Active:"活动",switch_backend:"切换后端",Closed:"已断开",switch_theme:"切换主题",theme:"主题",about:"关于",no_logs:"暂无日志...",chart_style:"流量图样式",latency_test_url:"延迟测速 URL",latency_test_timeout:"测速超时",provider_healthcheck_timeout:"订阅健康检查超时",latency_test_expected_status:"期望状态码",prefer_backend_test_url:"策略组优先使用后端测速 URL",lang:"语言",proxy_provider:"代理提供商",rule_provider:"规则提供商",update_all_rule_provider:"更新所有规则提供商",update_all_proxy_provider:"更新所有代理提供商",reload_config_file:"重载配置文件",update_geo_databases_file:"更新 GEO 数据库文件",flush_fake_ip_pool:"清空 FakeIP 数据库",enable_tun_device:"开启 TUN 转发",allow_lan:"允许局域网连接",tls_sniffing:"SNI 嗅探",c_host:"域名",c_sni:"嗅探域名",c_process:"进程",c_dl:"下载",c_ul:"上传",c_dl_speed:"下载速率",c_ul_speed:"上传速率",c_chains:"节点链",c_rule:"规则",c_time:"连接时间",c_source:"来源",c_destination_ip:"目标IP",c_type:"类型",c_ctrl:"关闭",restart_core:"重启核心",upgrade_core:"更新核心",upgrade_geo:"更新 GEO 数据库",upgrade_ui:"更新面板 UI",close_all_confirm:"确定关闭所有连接?",close_all_confirm_yes:"确定",close_all_confirm_no:"取消",manage_column:"管理列",reset_column:"重置列",device_name:"设备名",delete:"删除",add_tag:"添加标签",client_tag:"客户端标签",sourceip_tip:"/开头为正则,否则为全匹配",disconnect:"断开连接",internel:"内部链接",Clear:"清空",group_fixed_tip:"该组已手动固定选择,点击测速可解除固定",rule_entry_count:"{{count}} 条规则",rule_hit_tip:"已命中 {{count}} 次,最近一次{{time}}",rule_never_hit:"从未命中",rule_enable:"启用规则",rule_disable:"禁用规则"};export{e as data}; diff --git a/assets/zh-tw-Djt5t-OR.js b/assets/zh-tw-Djt5t-OR.js new file mode 100644 index 0000000..0c924ca --- /dev/null +++ b/assets/zh-tw-Djt5t-OR.js @@ -0,0 +1 @@ +const e={All:"全部",Overview:"概覽",Proxies:"代理",Rules:"規則",Conns:"連線",Config:"設定",Logs:"紀錄",Upload:"上傳",Download:"下載","Upload Total":"總上傳","Download Total":"總下載","Active Connections":"活動中連線","Memory Usage":"記憶體使用狀況",Memory:"記憶體","Pause Refresh":"暫停重整","Resume Refresh":"繼續重整",close_all_connections:"斷開所有連線",close_filter_connections:"斷開所有過濾後的連線",Search:"搜尋",Up:"上傳",Down:"下載","Test Latency":"測試延遲速度",settings:"設定",sort_in_grp:"依代理群組排序",hide_unavail_proxies:"隱藏不可用的代理伺服器",auto_close_conns:"切換代理伺服器時自動斷開舊連線",double_column_layout:"雙列顯示",group_by_provider:"依提供商分組節點",order_natural:"原 config 文件中的順序",order_latency_asc:"按延遲從小到大",order_latency_desc:"按延遲從大到小",order_name_asc:"按名稱字母順序排序 (A-Z)",order_name_desc:"按名稱字母順序排序 (Z-A)",Connections:"連線",current_backend:"當前後端",Active:"活動中",switch_backend:"切換後端",Closed:"已斷線",switch_theme:"切換主題",theme:"主題",about:"關於",no_logs:"暫時沒有紀錄…",chart_style:"流量圖樣式",latency_test_url:"延遲測速 URL",latency_test_timeout:"測速超時",provider_healthcheck_timeout:"訂閱健康檢查超時",latency_test_expected_status:"期望狀態碼",prefer_backend_test_url:"策略組優先使用後端測速 URL",lang:"語言",proxy_provider:"代理伺服器提供者",update_all_rule_provider:"更新所有規則提供者",update_all_proxy_provider:"更新所有代理伺服器提供者",reload_config_file:"重新載入設定檔",update_geo_databases_file:"更新 GEO 資料庫文件",flush_fake_ip_pool:"清除 Fake IP 資料庫",enable_tun_device:"開啟 TUN 轉發",allow_lan:"允許區域網路連接",tls_sniffing:"SNI 嗅探",c_host:"網域名稱",c_sni:"嗅探網域名稱",c_process:"處理程序",c_dl:"下載",c_ul:"上傳",c_dl_speed:"下載速度",c_ul_speed:"上傳速度",c_chains:"節點鍊",c_rule:"規則",c_time:"連線時間",c_source:"來源",c_destination_ip:"目標 IP",c_type:"類型",c_ctrl:"關閉",restart_core:"重啟核心",upgrade_core:"更新核心",close_all_confirm:"確定關閉所有連接?",close_all_confirm_yes:"確定",close_all_confirm_no:"取消",manage_column:"管理列",reset_column:"重置列",device_name:"設備名稱",delete:"刪除",add_tag:"新增標籤",client_tag:"客戶端標籤",sourceip_tip:"/開頭為正規表達式,否則為全面配對",disconnect:"斷開連線",internel:"內部連線",Clear:"清空",group_fixed_tip:"該組已手動固定選擇,點擊測速可解除固定"};export{e as data}; diff --git a/index.html b/index.html new file mode 100644 index 0000000..7430367 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <link rel="shortcut icon" href="yacd.ico" /> + <link rel="icon" type="image/png" sizes="64x64" href="yacd.png" /> + <link rel="icon" type="image/png" sizes="128x128" href="yacd.png" /> + <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" /> + <meta name="apple-mobile-web-app-title" content="yacd" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="application-name" content="yacd" /> + <meta name="description" content="Yet Another Clash Dashboard" /> + <meta name="theme-color" content="#202020" media="(prefers-color-scheme: dark)" /> + <meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)" /> + <title>yacd</title> + <script type="module" crossorigin src="./assets/index-CXu7vuwp.js"></script> + <link rel="stylesheet" crossorigin href="./assets/index-DcJWn17U.css"> + <link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head> + <body> + <div id="app" data-base-url="http://127.0.0.1:9090"></div> + </body> +</html> diff --git a/logo.png b/logo.png Binary files differnew file mode 100644 index 0000000..1f6323d --- /dev/null +++ b/logo.png diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..3b501e9 --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"yacd","short_name":"yacd","description":"Yet another Clash dashboard","start_url":"./","display":"standalone","background_color":"#ffffff","theme_color":"#42b883","lang":"en","scope":"./","icons":[{"src":"apple-touch-icon-precomposed.png","sizes":"512x512","type":"image/png"}]} diff --git a/registerSW.js b/registerSW.js new file mode 100644 index 0000000..179c13c --- /dev/null +++ b/registerSW.js @@ -0,0 +1 @@ +if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}
\ No newline at end of file @@ -0,0 +1,2 @@ +try{self["workbox:core:7.3.0"]&&_()}catch{}const G=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Q=G;class l extends Error{constructor(e,t){const n=Q(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function z(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),J=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{J(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function K(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function X(s,e,t,n){const a=K(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=K(c.url,t);if(a===o)return s.match(c,n)}}let m;function Y(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function q(s){s.then(()=>{})}class Z{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function ee(){for(const s of j)await s()}const te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function se(s){return new Promise(e=>setTimeout(e,s))}function A(s,e){const t=e();return s.waitUntil(t),t}async function ne(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=Y()?n.body:await n.blob();return new Response(i,r)}function ae(){self.addEventListener("activate",()=>self.clients.claim())}const re=(s,e)=>e.some(t=>s instanceof t);let O,S;function ie(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ce(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const F=new WeakMap,P=new WeakMap,H=new WeakMap,L=new WeakMap,I=new WeakMap;function oe(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&F.set(t,s)}).catch(()=>{}),I.set(e,s),e}function he(s){if(P.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});P.set(s,e)}let k={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return P.get(s);if(e==="objectStoreNames")return s.objectStoreNames||H.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function le(s){k=s(k)}function ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(D(this),e,...t);return H.set(n,e.sort?e.sort():[e]),f(n)}:ce().includes(s)?function(...e){return s.apply(D(this),e),f(F.get(this))}:function(...e){return f(s.apply(D(this),e))}}function de(s){return typeof s=="function"?ue(s):(s instanceof IDBTransaction&&he(s),re(s,ie())?new Proxy(s,k):s)}function f(s){if(s instanceof IDBRequest)return oe(s);if(L.has(s))return L.get(s);const e=de(s);return e!==s&&(L.set(s,e),I.set(e,s)),e}const D=s=>I.get(s);function fe(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",h=>a(h.oldVersion,h.newVersion,h))}).catch(()=>{}),c}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const ge=["get","getKey","getAll","getAllKeys","count"],me=["put","add","delete","clear"],U=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(U.get(e))return U.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||ge.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let h=o.store;return n&&(h=h.index(c.shift())),(await Promise.all([h[t](...c),a&&o.done]))[0]};return U.set(e,r),r}le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.3.0"]&&_()}catch{}const we="workbox-expiration",w="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ye{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(w,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(w,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(w,this._getId(e));return n?.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(w).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&i>=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(w,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await fe(we,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class _e{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ye(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,q(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<n:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}class Re{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:n,cacheName:a,cachedResponse:r})=>{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);q(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&z(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new l("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new _e(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.3.0"]&&_()}catch{}const be="__WB_REVISION__";function Ce(s){if(!s)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(be,e),{cacheKey:n.href,url:a.href}}class xe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Ee{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=n?.cacheKey||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:7.3.0"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class Le{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Z,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new l("cache-put-with-no-response",{url:te(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),g=h?await X(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await ee(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){for(;this._extendLifetimePromises.length;){const e=this._extendLifetimePromises.splice(0),n=(await Promise.allSettled(e)).find(a=>a.status==="rejected");if(n)throw n.reason}}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class V{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new Le(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends V{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new l("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ne(s):s}};class De{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new Ee({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=Ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return A(e,async()=>{const t=new xe;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:h,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return A(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let T;const M=()=>(T||(T=new De),T);try{self["workbox:routing:7.3.0"]&&_()}catch{}const $="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=$){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class Ue extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Te{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}}))}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let h;try{h=c.handle({url:n,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(N){N instanceof Error&&(u=N)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=$){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let y;const Pe=()=>(y||(y=new Te,y.addFetchListener(),y.addCacheListener()),y);function v(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new Ue(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Pe().registerRoute(n),n}function ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=ke(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class Me extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of Ie(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function ve(s){const e=M(),t=new Me(e,s);v(t)}function Ne(s){return M().createHandlerBoundToURL(s)}function Ke(s){M().precache(s)}function Ae(s,e){Ke(s),ve(e)}const Oe={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Se extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Oe)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new l("no-response",{url:e.url,error:r});return a}}ae();Ae([{"revision":"402b66900e731ca748771b6fc5e7a068","url":"registerSW.js"},{"revision":"674897f8e984ec1c166c6cb5e9946cf5","url":"index.html"},{"revision":null,"url":"assets/zh-tw-Djt5t-OR.js"},{"revision":null,"url":"assets/zh-cn-BApRBr87.js"},{"revision":null,"url":"assets/vi-CVjgWSjt.js"},{"revision":null,"url":"assets/ru-B3Riq2iA.js"},{"revision":null,"url":"assets/index-DcJWn17U.css"},{"revision":null,"url":"assets/index-CXu7vuwp.js"},{"revision":null,"url":"assets/en-C9YYW2qT.js"},{"revision":null,"url":"assets/chart-lib-vQlvG9Ki.js"},{"revision":null,"url":"assets/browser-ponyfill-BaOhONaW.js"},{"revision":"ef24a4bbd6aba7f4424b413e8fc116ea","url":"apple-touch-icon-precomposed.png"},{"revision":"c013151f44d7745c44b24c56e37f3abc","url":"manifest.webmanifest"}]);const We=new RegExp("/[^/?]+\\.[^/]+$");v(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(We)),Ne("index.html"));v(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Se({cacheName:"images",plugins:[new Re({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()}); diff --git a/yacd.ico b/yacd.ico Binary files differnew file mode 100644 index 0000000..0cc77ed --- /dev/null +++ b/yacd.ico diff --git a/yacd.png b/yacd.png Binary files differnew file mode 100644 index 0000000..cbb3fcb --- /dev/null +++ b/yacd.png |
