@townco/gui-template 0.1.133 → 0.1.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{acp-sdk-C2gyHhUs.js → acp-sdk-BAeNLKIV.js} +1 -1
- package/dist/assets/{framer-motion-DNsiqoUk.js → framer-motion-DpXYEK7s.js} +1 -1
- package/dist/assets/{icons-C7QEqI8s.js → icons-CU72ndOz.js} +1 -1
- package/dist/assets/index-BE5QZ2Mt.css +1 -0
- package/dist/assets/{index-BqmqrIrZ.js → index-ro5hQvdx.js} +8 -8
- package/dist/assets/{markdown-D50x6v1C.js → markdown-B6DywOHi.js} +1 -1
- package/dist/assets/{radix-DV56ifF6.js → radix-zXXd3WBy.js} +1 -1
- package/dist/assets/{react-BxR0bfXp.js → react-CZxbBvbl.js} +1 -1
- package/dist/assets/{vendor-B9CCG_zb.js → vendor-A-hpEYSA.js} +2 -2
- package/dist/index.html +9 -9
- package/package.json +4 -4
- package/dist/assets/index-Cq3h_7iG.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-Dnem94XJ.js","assets/katex-DvXFAOB1.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as HR,c as ft,b as zpe,r as Te,a as Upe,g as Hpe,f as wc,j as be}from"./react-BxR0bfXp.js";import{b as XQ,c as eS,t as Ype,h as Wpe,d as Kpe,e as Zpe,f as Vpe,g as Jpe,u as Xpe,r as eAe,a as tAe,i as nAe}from"./markdown-D50x6v1C.js";import{D as _x,Z as aAe,a as rAe,R as iAe,C as xU,b as BU,M as oAe,X as sAe,L as cAe}from"./icons-C7QEqI8s.js";var tI={exports:{}},nI={};var YR;function lAe(){return YR||(YR=1,(function(t){function e(Q,L){var S=Q.length;Q.push(L);e:for(;0<S;){var M=S-1>>>1,j=Q[M];if(0<r(j,L))Q[M]=L,Q[S]=j,S=M;else break e}}function n(Q){return Q.length===0?null:Q[0]}function a(Q){if(Q.length===0)return null;var L=Q[0],S=Q.pop();if(S!==L){Q[0]=S;e:for(var M=0,j=Q.length,$=j>>>1;M<$;){var G=2*(M+1)-1,q=Q[G],W=G+1,z=Q[W];if(0>r(q,S))W<j&&0>r(z,q)?(Q[M]=z,Q[W]=S,M=W):(Q[M]=q,Q[G]=S,M=G);else if(W<j&&0>r(z,S))Q[M]=z,Q[W]=S,M=W;else break e}}return L}function r(Q,L){var S=Q.sortIndex-L.sortIndex;return S!==0?S:Q.id-L.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,p=null,A=3,m=!1,g=!1,h=!1,f=!1,b=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function v(Q){for(var L=n(u);L!==null;){if(L.callback===null)a(u);else if(L.startTime<=Q)a(u),L.sortIndex=L.expirationTime,e(l,L);else break;L=n(u)}}function _(Q){if(h=!1,v(Q),!g)if(n(l)!==null)g=!0,I||(I=!0,N());else{var L=n(u);L!==null&&F(_,L.startTime-Q)}}var I=!1,C=-1,E=5,B=-1;function T(){return f?!0:!(t.unstable_now()-B<E)}function D(){if(f=!1,I){var Q=t.unstable_now();B=Q;var L=!0;try{e:{g=!1,h&&(h=!1,w(C),C=-1),m=!0;var S=A;try{t:{for(v(Q),p=n(l);p!==null&&!(p.expirationTime>Q&&T());){var M=p.callback;if(typeof M=="function"){p.callback=null,A=p.priorityLevel;var j=M(p.expirationTime<=Q);if(Q=t.unstable_now(),typeof j=="function"){p.callback=j,v(Q),L=!0;break t}p===n(l)&&a(l),v(Q)}else a(l);p=n(l)}if(p!==null)L=!0;else{var $=n(u);$!==null&&F(_,$.startTime-Q),L=!1}}break e}finally{p=null,A=S,m=!1}L=void 0}}finally{L?N():I=!1}}}var N;if(typeof y=="function")N=function(){y(D)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,x=R.port2;R.port1.onmessage=D,N=function(){x.postMessage(null)}}else N=function(){b(D,0)};function F(Q,L){C=b(function(){Q(t.unstable_now())},L)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(Q){Q.callback=null},t.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<Q?Math.floor(1e3/Q):5},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_next=function(Q){switch(A){case 1:case 2:case 3:var L=3;break;default:L=A}var S=A;A=L;try{return Q()}finally{A=S}},t.unstable_requestPaint=function(){f=!0},t.unstable_runWithPriority=function(Q,L){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var S=A;A=Q;try{return L()}finally{A=S}},t.unstable_scheduleCallback=function(Q,L,S){var M=t.unstable_now();switch(typeof S=="object"&&S!==null?(S=S.delay,S=typeof S=="number"&&0<S?M+S:M):S=M,Q){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=S+j,Q={id:d++,callback:L,priorityLevel:Q,startTime:S,expirationTime:j,sortIndex:-1},S>M?(Q.sortIndex=S,e(u,Q),n(l)===null&&Q===n(u)&&(h?(w(C),C=-1):h=!0,F(_,S-M))):(Q.sortIndex=j,e(l,Q),g||m||(g=!0,I||(I=!0,N()))),Q},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(Q){var L=A;return function(){var S=A;A=L;try{return Q.apply(this,arguments)}finally{A=S}}}})(nI)),nI}var WR;function GFt(){return WR||(WR=1,tI.exports=lAe()),tI.exports}var aI={},id={},Zh={},Vh={},Tc={},od={},Jh={},KR;function uAe(){return KR||(KR=1,Object.defineProperty(Jh,"__esModule",{value:!0}),Jh._globalThis=void 0,Jh._globalThis=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof HR=="object"?HR:{}),Jh}var ZR;function dAe(){return ZR||(ZR=1,(function(t){var e=od&&od.__createBinding||(Object.create?(function(a,r,i,o){o===void 0&&(o=i),Object.defineProperty(a,o,{enumerable:!0,get:function(){return r[i]}})}):(function(a,r,i,o){o===void 0&&(o=i),a[o]=r[i]})),n=od&&od.__exportStar||function(a,r){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(r,i)&&e(r,a,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(uAe(),t)})(od)),od}var Xh={},VR;function IU(){return VR||(VR=1,Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.VERSION=void 0,Xh.VERSION="1.9.0"),Xh}var sd={},JR;function pAe(){if(JR)return sd;JR=1,Object.defineProperty(sd,"__esModule",{value:!0}),sd.isCompatible=sd._makeCompatibilityCheck=void 0;const t=IU(),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function n(a){const r=new Set([a]),i=new Set,o=a.match(e);if(!o)return()=>!1;const s={major:+o[1],minor:+o[2],patch:+o[3],prerelease:o[4]};if(s.prerelease!=null)return function(p){return p===a};function l(d){return i.add(d),!1}function u(d){return r.add(d),!0}return function(p){if(r.has(p))return!0;if(i.has(p))return!1;const A=p.match(e);if(!A)return l(p);const m={major:+A[1],minor:+A[2],patch:+A[3],prerelease:A[4]};return m.prerelease!=null||s.major!==m.major?l(p):s.major===0?s.minor===m.minor&&s.patch<=m.patch?u(p):l(p):s.minor<=m.minor?u(p):l(p)}}return sd._makeCompatibilityCheck=n,sd.isCompatible=n(t.VERSION),sd}var XR;function Ah(){if(XR)return Tc;XR=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.unregisterGlobal=Tc.getGlobal=Tc.registerGlobal=void 0;const t=dAe(),e=IU(),n=pAe(),a=e.VERSION.split(".")[0],r=Symbol.for(`opentelemetry.js.api.${a}`),i=t._globalThis;function o(u,d,p,A=!1){var m;const g=i[r]=(m=i[r])!==null&&m!==void 0?m:{version:e.VERSION};if(!A&&g[u]){const h=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${u}`);return p.error(h.stack||h.message),!1}if(g.version!==e.VERSION){const h=new Error(`@opentelemetry/api: Registration of version v${g.version} for ${u} does not match previously registered API v${e.VERSION}`);return p.error(h.stack||h.message),!1}return g[u]=d,p.debug(`@opentelemetry/api: Registered a global for ${u} v${e.VERSION}.`),!0}Tc.registerGlobal=o;function s(u){var d,p;const A=(d=i[r])===null||d===void 0?void 0:d.version;if(!(!A||!(0,n.isCompatible)(A)))return(p=i[r])===null||p===void 0?void 0:p[u]}Tc.getGlobal=s;function l(u,d){d.debug(`@opentelemetry/api: Unregistering a global for ${u} v${e.VERSION}.`);const p=i[r];p&&delete p[u]}return Tc.unregisterGlobal=l,Tc}var e9;function AAe(){if(e9)return Vh;e9=1,Object.defineProperty(Vh,"__esModule",{value:!0}),Vh.DiagComponentLogger=void 0;const t=Ah();class e{constructor(r){this._namespace=r.namespace||"DiagComponentLogger"}debug(...r){return n("debug",this._namespace,r)}error(...r){return n("error",this._namespace,r)}info(...r){return n("info",this._namespace,r)}warn(...r){return n("warn",this._namespace,r)}verbose(...r){return n("verbose",this._namespace,r)}}Vh.DiagComponentLogger=e;function n(a,r,i){const o=(0,t.getGlobal)("diag");if(o)return i.unshift(r),o[a](...i)}return Vh}var ef={},rI={},t9;function n4(){return t9||(t9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(t.DiagLogLevel||(t.DiagLogLevel={}))})(rI)),rI}var n9;function mAe(){if(n9)return ef;n9=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.createLogLevelDiagLogger=void 0;const t=n4();function e(n,a){n<t.DiagLogLevel.NONE?n=t.DiagLogLevel.NONE:n>t.DiagLogLevel.ALL&&(n=t.DiagLogLevel.ALL),a=a||{};function r(i,o){const s=a[i];return typeof s=="function"&&n>=o?s.bind(a):function(){}}return{error:r("error",t.DiagLogLevel.ERROR),warn:r("warn",t.DiagLogLevel.WARN),info:r("info",t.DiagLogLevel.INFO),debug:r("debug",t.DiagLogLevel.DEBUG),verbose:r("verbose",t.DiagLogLevel.VERBOSE)}}return ef.createLogLevelDiagLogger=e,ef}var a9;function mh(){if(a9)return Zh;a9=1,Object.defineProperty(Zh,"__esModule",{value:!0}),Zh.DiagAPI=void 0;const t=AAe(),e=mAe(),n=n4(),a=Ah(),r="diag";class i{constructor(){function s(d){return function(...p){const A=(0,a.getGlobal)("diag");if(A)return A[d](...p)}}const l=this,u=(d,p={logLevel:n.DiagLogLevel.INFO})=>{var A,m,g;if(d===l){const b=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return l.error((A=b.stack)!==null&&A!==void 0?A:b.message),!1}typeof p=="number"&&(p={logLevel:p});const h=(0,a.getGlobal)("diag"),f=(0,e.createLogLevelDiagLogger)((m=p.logLevel)!==null&&m!==void 0?m:n.DiagLogLevel.INFO,d);if(h&&!p.suppressOverrideMessage){const b=(g=new Error().stack)!==null&&g!==void 0?g:"<failed to generate stacktrace>";h.warn(`Current logger will be overwritten from ${b}`),f.warn(`Current logger will overwrite one already registered from ${b}`)}return(0,a.registerGlobal)("diag",f,l,!0)};l.setLogger=u,l.disable=()=>{(0,a.unregisterGlobal)(r,l)},l.createComponentLogger=d=>new t.DiagComponentLogger(d),l.verbose=s("verbose"),l.debug=s("debug"),l.info=s("info"),l.warn=s("warn"),l.error=s("error")}static instance(){return this._instance||(this._instance=new i),this._instance}}return Zh.DiagAPI=i,Zh}var tf={},r9;function gAe(){if(r9)return tf;r9=1,Object.defineProperty(tf,"__esModule",{value:!0}),tf.BaggageImpl=void 0;class t{constructor(n){this._entries=n?new Map(n):new Map}getEntry(n){const a=this._entries.get(n);if(a)return Object.assign({},a)}getAllEntries(){return Array.from(this._entries.entries()).map(([n,a])=>[n,a])}setEntry(n,a){const r=new t(this._entries);return r._entries.set(n,a),r}removeEntry(n){const a=new t(this._entries);return a._entries.delete(n),a}removeEntries(...n){const a=new t(this._entries);for(const r of n)a._entries.delete(r);return a}clear(){return new t}}return tf.BaggageImpl=t,tf}var nf={},i9;function hAe(){return i9||(i9=1,Object.defineProperty(nf,"__esModule",{value:!0}),nf.baggageEntryMetadataSymbol=void 0,nf.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")),nf}var o9;function DU(){if(o9)return id;o9=1,Object.defineProperty(id,"__esModule",{value:!0}),id.baggageEntryMetadataFromString=id.createBaggage=void 0;const t=mh(),e=gAe(),n=hAe(),a=t.DiagAPI.instance();function r(o={}){return new e.BaggageImpl(new Map(Object.entries(o)))}id.createBaggage=r;function i(o){return typeof o!="string"&&(a.error(`Cannot create baggage metadata from unknown type: ${typeof o}`),o=""),{__TYPE__:n.baggageEntryMetadataSymbol,toString(){return o}}}return id.baggageEntryMetadataFromString=i,id}var cd={},s9;function Cx(){if(s9)return cd;s9=1,Object.defineProperty(cd,"__esModule",{value:!0}),cd.ROOT_CONTEXT=cd.createContextKey=void 0;function t(n){return Symbol.for(n)}cd.createContextKey=t;class e{constructor(a){const r=this;r._currentContext=a?new Map(a):new Map,r.getValue=i=>r._currentContext.get(i),r.setValue=(i,o)=>{const s=new e(r._currentContext);return s._currentContext.set(i,o),s},r.deleteValue=i=>{const o=new e(r._currentContext);return o._currentContext.delete(i),o}}}return cd.ROOT_CONTEXT=new e,cd}var af={},c9;function fAe(){if(c9)return af;c9=1,Object.defineProperty(af,"__esModule",{value:!0}),af.DiagConsoleLogger=void 0;const t=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class e{constructor(){function a(r){return function(...i){if(console){let o=console[r];if(typeof o!="function"&&(o=console.log),typeof o=="function")return o.apply(console,i)}}}for(let r=0;r<t.length;r++)this[t[r].n]=a(t[r].c)}}return af.DiagConsoleLogger=e,af}var iI={},l9;function QU(){return l9||(l9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_GAUGE_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopGaugeMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class e{constructor(){}createGauge(m,g){return t.NOOP_GAUGE_METRIC}createHistogram(m,g){return t.NOOP_HISTOGRAM_METRIC}createCounter(m,g){return t.NOOP_COUNTER_METRIC}createUpDownCounter(m,g){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(m,g){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(m,g){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(m,g){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(m,g){}removeBatchObservableCallback(m){}}t.NoopMeter=e;class n{}t.NoopMetric=n;class a extends n{add(m,g){}}t.NoopCounterMetric=a;class r extends n{add(m,g){}}t.NoopUpDownCounterMetric=r;class i extends n{record(m,g){}}t.NoopGaugeMetric=i;class o extends n{record(m,g){}}t.NoopHistogramMetric=o;class s{addCallback(m){}removeCallback(m){}}t.NoopObservableMetric=s;class l extends s{}t.NoopObservableCounterMetric=l;class u extends s{}t.NoopObservableGaugeMetric=u;class d extends s{}t.NoopObservableUpDownCounterMetric=d,t.NOOP_METER=new e,t.NOOP_COUNTER_METRIC=new a,t.NOOP_GAUGE_METRIC=new i,t.NOOP_HISTOGRAM_METRIC=new o,t.NOOP_UP_DOWN_COUNTER_METRIC=new r,t.NOOP_OBSERVABLE_COUNTER_METRIC=new l,t.NOOP_OBSERVABLE_GAUGE_METRIC=new u,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new d;function p(){return t.NOOP_METER}t.createNoopMeter=p})(iI)),iI}var oI={},u9;function bAe(){return u9||(u9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(t.ValueType||(t.ValueType={}))})(oI)),oI}var ld={},d9;function SU(){return d9||(d9=1,Object.defineProperty(ld,"__esModule",{value:!0}),ld.defaultTextMapSetter=ld.defaultTextMapGetter=void 0,ld.defaultTextMapGetter={get(t,e){if(t!=null)return t[e]},keys(t){return t==null?[]:Object.keys(t)}},ld.defaultTextMapSetter={set(t,e,n){t!=null&&(t[e]=n)}}),ld}var rf={},of={},sf={},cf={},p9;function yAe(){if(p9)return cf;p9=1,Object.defineProperty(cf,"__esModule",{value:!0}),cf.NoopContextManager=void 0;const t=Cx();let e=class{active(){return t.ROOT_CONTEXT}with(a,r,i,...o){return r.call(i,...o)}bind(a,r){return r}enable(){return this}disable(){return this}};return cf.NoopContextManager=e,cf}var A9;function Ex(){if(A9)return sf;A9=1,Object.defineProperty(sf,"__esModule",{value:!0}),sf.ContextAPI=void 0;const t=yAe(),e=Ah(),n=mh(),a="context",r=new t.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(s){return(0,e.registerGlobal)(a,s,n.DiagAPI.instance())}active(){return this._getContextManager().active()}with(s,l,u,...d){return this._getContextManager().with(s,l,u,...d)}bind(s,l){return this._getContextManager().bind(s,l)}_getContextManager(){return(0,e.getGlobal)(a)||r}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(a,n.DiagAPI.instance())}}return sf.ContextAPI=i,sf}var di={},lf={},sI={},cI={},m9;function TU(){return m9||(m9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(t.TraceFlags||(t.TraceFlags={}))})(cI)),cI}var g9;function a4(){return g9||(g9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;const e=TU();t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:e.TraceFlags.NONE}})(sI)),sI}var h9;function r4(){if(h9)return lf;h9=1,Object.defineProperty(lf,"__esModule",{value:!0}),lf.NonRecordingSpan=void 0;const t=a4();let e=class{constructor(a=t.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,r){return this}setAttributes(a){return this}addEvent(a,r){return this}addLink(a){return this}addLinks(a){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,r){}};return lf.NonRecordingSpan=e,lf}var f9;function FU(){if(f9)return di;f9=1,Object.defineProperty(di,"__esModule",{value:!0}),di.getSpanContext=di.setSpanContext=di.deleteSpan=di.setSpan=di.getActiveSpan=di.getSpan=void 0;const t=Cx(),e=r4(),n=Ex(),a=(0,t.createContextKey)("OpenTelemetry Context Key SPAN");function r(d){return d.getValue(a)||void 0}di.getSpan=r;function i(){return r(n.ContextAPI.getInstance().active())}di.getActiveSpan=i;function o(d,p){return d.setValue(a,p)}di.setSpan=o;function s(d){return d.deleteValue(a)}di.deleteSpan=s;function l(d,p){return o(d,new e.NonRecordingSpan(p))}di.setSpanContext=l;function u(d){var p;return(p=r(d))===null||p===void 0?void 0:p.spanContext()}return di.getSpanContext=u,di}var ns={},b9;function i4(){if(b9)return ns;b9=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.wrapSpanContext=ns.isSpanContextValid=ns.isValidSpanId=ns.isValidTraceId=void 0;const t=a4(),e=r4(),n=/^([0-9a-f]{32})$/i,a=/^[0-9a-f]{16}$/i;function r(l){return n.test(l)&&l!==t.INVALID_TRACEID}ns.isValidTraceId=r;function i(l){return a.test(l)&&l!==t.INVALID_SPANID}ns.isValidSpanId=i;function o(l){return r(l.traceId)&&i(l.spanId)}ns.isSpanContextValid=o;function s(l){return new e.NonRecordingSpan(l)}return ns.wrapSpanContext=s,ns}var y9;function LU(){if(y9)return of;y9=1,Object.defineProperty(of,"__esModule",{value:!0}),of.NoopTracer=void 0;const t=Ex(),e=FU(),n=r4(),a=i4(),r=t.ContextAPI.getInstance();let i=class{startSpan(l,u,d=r.active()){if(!!u?.root)return new n.NonRecordingSpan;const A=d&&(0,e.getSpanContext)(d);return o(A)&&(0,a.isSpanContextValid)(A)?new n.NonRecordingSpan(A):new n.NonRecordingSpan}startActiveSpan(l,u,d,p){let A,m,g;if(arguments.length<2)return;arguments.length===2?g=u:arguments.length===3?(A=u,g=d):(A=u,m=d,g=p);const h=m??r.active(),f=this.startSpan(l,A,h),b=(0,e.setSpan)(h,f);return r.with(b,g,void 0,f)}};of.NoopTracer=i;function o(s){return typeof s=="object"&&typeof s.spanId=="string"&&typeof s.traceId=="string"&&typeof s.traceFlags=="number"}return of}var w9;function NU(){if(w9)return rf;w9=1,Object.defineProperty(rf,"__esModule",{value:!0}),rf.ProxyTracer=void 0;const t=LU(),e=new t.NoopTracer;let n=class{constructor(r,i,o,s){this._provider=r,this.name=i,this.version=o,this.options=s}startSpan(r,i,o){return this._getTracer().startSpan(r,i,o)}startActiveSpan(r,i,o,s){const l=this._getTracer();return Reflect.apply(l.startActiveSpan,l,arguments)}_getTracer(){if(this._delegate)return this._delegate;const r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):e}};return rf.ProxyTracer=n,rf}var uf={},df={},k9;function wAe(){if(k9)return df;k9=1,Object.defineProperty(df,"__esModule",{value:!0}),df.NoopTracerProvider=void 0;const t=LU();let e=class{getTracer(a,r,i){return new t.NoopTracer}};return df.NoopTracerProvider=e,df}var v9;function RU(){if(v9)return uf;v9=1,Object.defineProperty(uf,"__esModule",{value:!0}),uf.ProxyTracerProvider=void 0;const t=NU(),e=wAe(),n=new e.NoopTracerProvider;let a=class{getTracer(i,o,s){var l;return(l=this.getDelegateTracer(i,o,s))!==null&&l!==void 0?l:new t.ProxyTracer(this,i,o,s)}getDelegate(){var i;return(i=this._delegate)!==null&&i!==void 0?i:n}setDelegate(i){this._delegate=i}getDelegateTracer(i,o,s){var l;return(l=this._delegate)===null||l===void 0?void 0:l.getTracer(i,o,s)}};return uf.ProxyTracerProvider=a,uf}var lI={},_9;function kAe(){return _9||(_9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(t.SamplingDecision||(t.SamplingDecision={}))})(lI)),lI}var uI={},C9;function vAe(){return C9||(C9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(t.SpanKind||(t.SpanKind={}))})(uI)),uI}var dI={},E9;function _Ae(){return E9||(E9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(t.SpanStatusCode||(t.SpanStatusCode={}))})(dI)),dI}var pf={},Af={},ud={},x9;function CAe(){if(x9)return ud;x9=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.validateValue=ud.validateKey=void 0;const t="[_0-9a-z-*/]",e=`[a-z]${t}{0,255}`,n=`[a-z0-9]${t}{0,240}@[a-z]${t}{0,13}`,a=new RegExp(`^(?:${e}|${n})$`),r=/^[ -~]{0,255}[!-~]$/,i=/,|=/;function o(l){return a.test(l)}ud.validateKey=o;function s(l){return r.test(l)&&!i.test(l)}return ud.validateValue=s,ud}var B9;function EAe(){if(B9)return Af;B9=1,Object.defineProperty(Af,"__esModule",{value:!0}),Af.TraceStateImpl=void 0;const t=CAe(),e=32,n=512,a=",",r="=";class i{constructor(s){this._internalState=new Map,s&&this._parse(s)}set(s,l){const u=this._clone();return u._internalState.has(s)&&u._internalState.delete(s),u._internalState.set(s,l),u}unset(s){const l=this._clone();return l._internalState.delete(s),l}get(s){return this._internalState.get(s)}serialize(){return this._keys().reduce((s,l)=>(s.push(l+r+this.get(l)),s),[]).join(a)}_parse(s){s.length>n||(this._internalState=s.split(a).reverse().reduce((l,u)=>{const d=u.trim(),p=d.indexOf(r);if(p!==-1){const A=d.slice(0,p),m=d.slice(p+1,u.length);(0,t.validateKey)(A)&&(0,t.validateValue)(m)&&l.set(A,m)}return l},new Map),this._internalState.size>e&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,e))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const s=new i;return s._internalState=new Map(this._internalState),s}}return Af.TraceStateImpl=i,Af}var I9;function xAe(){if(I9)return pf;I9=1,Object.defineProperty(pf,"__esModule",{value:!0}),pf.createTraceState=void 0;const t=EAe();function e(n){return new t.TraceStateImpl(n)}return pf.createTraceState=e,pf}var mf={},D9;function BAe(){if(D9)return mf;D9=1,Object.defineProperty(mf,"__esModule",{value:!0}),mf.context=void 0;const t=Ex();return mf.context=t.ContextAPI.getInstance(),mf}var gf={},Q9;function IAe(){if(Q9)return gf;Q9=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.diag=void 0;const t=mh();return gf.diag=t.DiagAPI.instance(),gf}var hf={},ff={},dd={},S9;function DAe(){if(S9)return dd;S9=1,Object.defineProperty(dd,"__esModule",{value:!0}),dd.NOOP_METER_PROVIDER=dd.NoopMeterProvider=void 0;const t=QU();let e=class{getMeter(a,r,i){return t.NOOP_METER}};return dd.NoopMeterProvider=e,dd.NOOP_METER_PROVIDER=new e,dd}var T9;function QAe(){if(T9)return ff;T9=1,Object.defineProperty(ff,"__esModule",{value:!0}),ff.MetricsAPI=void 0;const t=DAe(),e=Ah(),n=mh(),a="metrics";class r{constructor(){}static getInstance(){return this._instance||(this._instance=new r),this._instance}setGlobalMeterProvider(o){return(0,e.registerGlobal)(a,o,n.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(a)||t.NOOP_METER_PROVIDER}getMeter(o,s,l){return this.getMeterProvider().getMeter(o,s,l)}disable(){(0,e.unregisterGlobal)(a,n.DiagAPI.instance())}}return ff.MetricsAPI=r,ff}var F9;function SAe(){if(F9)return hf;F9=1,Object.defineProperty(hf,"__esModule",{value:!0}),hf.metrics=void 0;const t=QAe();return hf.metrics=t.MetricsAPI.getInstance(),hf}var bf={},yf={},wf={},L9;function TAe(){if(L9)return wf;L9=1,Object.defineProperty(wf,"__esModule",{value:!0}),wf.NoopTextMapPropagator=void 0;let t=class{inject(n,a){}extract(n,a){return n}fields(){return[]}};return wf.NoopTextMapPropagator=t,wf}var as={},N9;function FAe(){if(N9)return as;N9=1,Object.defineProperty(as,"__esModule",{value:!0}),as.deleteBaggage=as.setBaggage=as.getActiveBaggage=as.getBaggage=void 0;const t=Ex(),n=(0,Cx().createContextKey)("OpenTelemetry Baggage Key");function a(s){return s.getValue(n)||void 0}as.getBaggage=a;function r(){return a(t.ContextAPI.getInstance().active())}as.getActiveBaggage=r;function i(s,l){return s.setValue(n,l)}as.setBaggage=i;function o(s){return s.deleteValue(n)}return as.deleteBaggage=o,as}var R9;function LAe(){if(R9)return yf;R9=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.PropagationAPI=void 0;const t=Ah(),e=TAe(),n=SU(),a=FAe(),r=DU(),i=mh(),o="propagation",s=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=r.createBaggage,this.getBaggage=a.getBaggage,this.getActiveBaggage=a.getActiveBaggage,this.setBaggage=a.setBaggage,this.deleteBaggage=a.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(d){return(0,t.registerGlobal)(o,d,i.DiagAPI.instance())}inject(d,p,A=n.defaultTextMapSetter){return this._getGlobalPropagator().inject(d,p,A)}extract(d,p,A=n.defaultTextMapGetter){return this._getGlobalPropagator().extract(d,p,A)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,t.unregisterGlobal)(o,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,t.getGlobal)(o)||s}}return yf.PropagationAPI=l,yf}var M9;function NAe(){if(M9)return bf;M9=1,Object.defineProperty(bf,"__esModule",{value:!0}),bf.propagation=void 0;const t=LAe();return bf.propagation=t.PropagationAPI.getInstance(),bf}var kf={},vf={},$9;function RAe(){if($9)return vf;$9=1,Object.defineProperty(vf,"__esModule",{value:!0}),vf.TraceAPI=void 0;const t=Ah(),e=RU(),n=i4(),a=FU(),r=mh(),i="trace";class o{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=n.wrapSpanContext,this.isSpanContextValid=n.isSpanContextValid,this.deleteSpan=a.deleteSpan,this.getSpan=a.getSpan,this.getActiveSpan=a.getActiveSpan,this.getSpanContext=a.getSpanContext,this.setSpan=a.setSpan,this.setSpanContext=a.setSpanContext}static getInstance(){return this._instance||(this._instance=new o),this._instance}setGlobalTracerProvider(l){const u=(0,t.registerGlobal)(i,this._proxyTracerProvider,r.DiagAPI.instance());return u&&this._proxyTracerProvider.setDelegate(l),u}getTracerProvider(){return(0,t.getGlobal)(i)||this._proxyTracerProvider}getTracer(l,u){return this.getTracerProvider().getTracer(l,u)}disable(){(0,t.unregisterGlobal)(i,r.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}return vf.TraceAPI=o,vf}var P9;function MAe(){if(P9)return kf;P9=1,Object.defineProperty(kf,"__esModule",{value:!0}),kf.trace=void 0;const t=RAe();return kf.trace=t.TraceAPI.getInstance(),kf}var O9;function $Ae(){return O9||(O9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.trace=t.propagation=t.metrics=t.diag=t.context=t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=t.isValidSpanId=t.isValidTraceId=t.isSpanContextValid=t.createTraceState=t.TraceFlags=t.SpanStatusCode=t.SpanKind=t.SamplingDecision=t.ProxyTracerProvider=t.ProxyTracer=t.defaultTextMapSetter=t.defaultTextMapGetter=t.ValueType=t.createNoopMeter=t.DiagLogLevel=t.DiagConsoleLogger=t.ROOT_CONTEXT=t.createContextKey=t.baggageEntryMetadataFromString=void 0;var e=DU();Object.defineProperty(t,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var n=Cx();Object.defineProperty(t,"createContextKey",{enumerable:!0,get:function(){return n.createContextKey}}),Object.defineProperty(t,"ROOT_CONTEXT",{enumerable:!0,get:function(){return n.ROOT_CONTEXT}});var a=fAe();Object.defineProperty(t,"DiagConsoleLogger",{enumerable:!0,get:function(){return a.DiagConsoleLogger}});var r=n4();Object.defineProperty(t,"DiagLogLevel",{enumerable:!0,get:function(){return r.DiagLogLevel}});var i=QU();Object.defineProperty(t,"createNoopMeter",{enumerable:!0,get:function(){return i.createNoopMeter}});var o=bAe();Object.defineProperty(t,"ValueType",{enumerable:!0,get:function(){return o.ValueType}});var s=SU();Object.defineProperty(t,"defaultTextMapGetter",{enumerable:!0,get:function(){return s.defaultTextMapGetter}}),Object.defineProperty(t,"defaultTextMapSetter",{enumerable:!0,get:function(){return s.defaultTextMapSetter}});var l=NU();Object.defineProperty(t,"ProxyTracer",{enumerable:!0,get:function(){return l.ProxyTracer}});var u=RU();Object.defineProperty(t,"ProxyTracerProvider",{enumerable:!0,get:function(){return u.ProxyTracerProvider}});var d=kAe();Object.defineProperty(t,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var p=vAe();Object.defineProperty(t,"SpanKind",{enumerable:!0,get:function(){return p.SpanKind}});var A=_Ae();Object.defineProperty(t,"SpanStatusCode",{enumerable:!0,get:function(){return A.SpanStatusCode}});var m=TU();Object.defineProperty(t,"TraceFlags",{enumerable:!0,get:function(){return m.TraceFlags}});var g=xAe();Object.defineProperty(t,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var h=i4();Object.defineProperty(t,"isSpanContextValid",{enumerable:!0,get:function(){return h.isSpanContextValid}}),Object.defineProperty(t,"isValidTraceId",{enumerable:!0,get:function(){return h.isValidTraceId}}),Object.defineProperty(t,"isValidSpanId",{enumerable:!0,get:function(){return h.isValidSpanId}});var f=a4();Object.defineProperty(t,"INVALID_SPANID",{enumerable:!0,get:function(){return f.INVALID_SPANID}}),Object.defineProperty(t,"INVALID_TRACEID",{enumerable:!0,get:function(){return f.INVALID_TRACEID}}),Object.defineProperty(t,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return f.INVALID_SPAN_CONTEXT}});const b=BAe();Object.defineProperty(t,"context",{enumerable:!0,get:function(){return b.context}});const w=IAe();Object.defineProperty(t,"diag",{enumerable:!0,get:function(){return w.diag}});const y=SAe();Object.defineProperty(t,"metrics",{enumerable:!0,get:function(){return y.metrics}});const v=NAe();Object.defineProperty(t,"propagation",{enumerable:!0,get:function(){return v.propagation}});const _=MAe();Object.defineProperty(t,"trace",{enumerable:!0,get:function(){return _.trace}}),t.default={context:b.context,diag:w.diag,metrics:y.metrics,propagation:v.propagation,trace:_.trace}})(aI)),aI}var VFt=$Ae(),j9;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.TRACE=1]="TRACE",t[t.TRACE2=2]="TRACE2",t[t.TRACE3=3]="TRACE3",t[t.TRACE4=4]="TRACE4",t[t.DEBUG=5]="DEBUG",t[t.DEBUG2=6]="DEBUG2",t[t.DEBUG3=7]="DEBUG3",t[t.DEBUG4=8]="DEBUG4",t[t.INFO=9]="INFO",t[t.INFO2=10]="INFO2",t[t.INFO3=11]="INFO3",t[t.INFO4=12]="INFO4",t[t.WARN=13]="WARN",t[t.WARN2=14]="WARN2",t[t.WARN3=15]="WARN3",t[t.WARN4=16]="WARN4",t[t.ERROR=17]="ERROR",t[t.ERROR2=18]="ERROR2",t[t.ERROR3=19]="ERROR3",t[t.ERROR4=20]="ERROR4",t[t.FATAL=21]="FATAL",t[t.FATAL2=22]="FATAL2",t[t.FATAL3=23]="FATAL3",t[t.FATAL4=24]="FATAL4"})(j9||(j9={}));var MU=(function(){function t(){}return t.prototype.emit=function(e){},t})(),PAe=new MU,OAe=(function(){function t(){}return t.prototype.getLogger=function(e,n,a){return new MU},t})(),$U=new OAe,jAe=(function(){function t(e,n,a,r){this._provider=e,this.name=n,this.version=a,this.options=r}return t.prototype.emit=function(e){this._getLogger().emit(e)},t.prototype._getLogger=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):PAe},t})(),G9=(function(){function t(){}return t.prototype.getLogger=function(e,n,a){var r;return(r=this.getDelegateLogger(e,n,a))!==null&&r!==void 0?r:new jAe(this,e,n,a)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:$U},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateLogger=function(e,n,a){var r;return(r=this._delegate)===null||r===void 0?void 0:r.getLogger(e,n,a)},t})(),GAe=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},a0=Symbol.for("io.opentelemetry.js.api.logs"),_f=GAe;function qAe(t,e,n){return function(a){return a===t?e:n}}var q9=1,zAe=(function(){function t(){this._proxyLoggerProvider=new G9}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalLoggerProvider=function(e){return _f[a0]?this.getLoggerProvider():(_f[a0]=qAe(q9,e,$U),this._proxyLoggerProvider.setDelegate(e),e)},t.prototype.getLoggerProvider=function(){var e,n;return(n=(e=_f[a0])===null||e===void 0?void 0:e.call(_f,q9))!==null&&n!==void 0?n:this._proxyLoggerProvider},t.prototype.getLogger=function(e,n,a){return this.getLoggerProvider().getLogger(e,n,a)},t.prototype.disable=function(){delete _f[a0],this._proxyLoggerProvider=new G9},t})(),JFt=zAe.getInstance();function Je(t,e,n){function a(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(t))return;s._zod.traits.add(t),e(s,l);const u=o.prototype,d=Object.keys(u);for(let p=0;p<d.length;p++){const A=d[p];A in s||(s[A]=u[A].bind(s))}}const r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:t});function o(s){var l;const u=n?.Parent?new i:this;a(u,s),(l=u._zod).deferred??(l.deferred=[]);for(const d of u._zod.deferred)d();return u}return Object.defineProperty(o,"init",{value:a}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(t)}),Object.defineProperty(o,"name",{value:t}),o}class am extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class PU extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const OU={};function lu(t){return OU}function jU(t){const e=Object.values(t).filter(a=>typeof a=="number");return Object.entries(t).filter(([a,r])=>e.indexOf(+a)===-1).map(([a,r])=>r)}function tS(t,e){return typeof e=="bigint"?e.toString():e}function xx(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function o4(t){return t==null}function s4(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function UAe(t,e){const n=(t.toString().split(".")[1]||"").length,a=e.toString();let r=(a.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(a)){const l=a.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}const i=n>r?n:r,o=Number.parseInt(t.toFixed(i).replace(".","")),s=Number.parseInt(e.toFixed(i).replace(".",""));return o%s/10**i}const z9=Symbol("evaluating");function Jn(t,e,n){let a;Object.defineProperty(t,e,{get(){if(a!==z9)return a===void 0&&(a=z9,a=n()),a},set(r){Object.defineProperty(t,e,{value:r})},configurable:!0})}function Fp(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Lp(...t){const e={};for(const n of t){const a=Object.getOwnPropertyDescriptors(n);Object.assign(e,a)}return Object.defineProperties({},e)}function U9(t){return JSON.stringify(t)}function HAe(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const GU="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function $y(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const YAe=xx(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function _g(t){if($y(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!($y(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function qU(t){return _g(t)?{...t}:Array.isArray(t)?[...t]:t}const WAe=new Set(["string","number","symbol"]);function Cg(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lu(t,e,n){const a=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(a._zod.parent=t),a}function zt(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function KAe(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const ZAe={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function VAe(t,e){const n=t._zod.def,a=Lp(t._zod.def,{get shape(){const r={};for(const i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&(r[i]=n.shape[i])}return Fp(this,"shape",r),r},checks:[]});return Lu(t,a)}function JAe(t,e){const n=t._zod.def,a=Lp(t._zod.def,{get shape(){const r={...t._zod.def.shape};for(const i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&delete r[i]}return Fp(this,"shape",r),r},checks:[]});return Lu(t,a)}function XAe(t,e){if(!_g(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const r=Lp(t._zod.def,{get shape(){const i={...t._zod.def.shape,...e};return Fp(this,"shape",i),i},checks:[]});return Lu(t,r)}function eme(t,e){if(!_g(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const a={...t._zod.def.shape,...e};return Fp(this,"shape",a),a},checks:t._zod.def.checks};return Lu(t,n)}function tme(t,e){const n=Lp(t._zod.def,{get shape(){const a={...t._zod.def.shape,...e._zod.def.shape};return Fp(this,"shape",a),a},get catchall(){return e._zod.def.catchall},checks:[]});return Lu(t,n)}function nme(t,e,n){const a=Lp(e._zod.def,{get shape(){const r=e._zod.def.shape,i={...r};if(n)for(const o in n){if(!(o in r))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=t?new t({type:"optional",innerType:r[o]}):r[o])}else for(const o in r)i[o]=t?new t({type:"optional",innerType:r[o]}):r[o];return Fp(this,"shape",i),i},checks:[]});return Lu(e,a)}function ame(t,e,n){const a=Lp(e._zod.def,{get shape(){const r=e._zod.def.shape,i={...r};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=new t({type:"nonoptional",innerType:r[o]}))}else for(const o in r)i[o]=new t({type:"nonoptional",innerType:r[o]});return Fp(this,"shape",i),i},checks:[]});return Lu(e,a)}function zA(t,e=0){if(t.aborted===!0)return!0;for(let n=e;n<t.issues.length;n++)if(t.issues[n]?.continue!==!0)return!0;return!1}function UA(t,e){return e.map(n=>{var a;return(a=n).path??(a.path=[]),n.path.unshift(t),n})}function r0(t){return typeof t=="string"?t:t?.message}function uu(t,e,n){const a={...t,path:t.path??[]};if(!t.message){const r=r0(t.inst?._zod.def?.error?.(t))??r0(e?.error?.(t))??r0(n.customError?.(t))??r0(n.localeError?.(t))??"Invalid input";a.message=r}return delete a.inst,delete a.continue,e?.reportInput||delete a.input,a}function c4(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function Py(...t){const[e,n,a]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:a}:{...e}}const zU=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,tS,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},UU=Je("$ZodError",zU),HU=Je("$ZodError",zU,{Parent:Error});function rme(t,e=n=>n.message){const n={},a=[];for(const r of t.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:n}}function ime(t,e=n=>n.message){const n={_errors:[]},a=r=>{for(const i of r.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(o=>a({issues:o}));else if(i.code==="invalid_key")a({issues:i.issues});else if(i.code==="invalid_element")a({issues:i.issues});else if(i.path.length===0)n._errors.push(e(i));else{let o=n,s=0;for(;s<i.path.length;){const l=i.path[s];s===i.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(i))):o[l]=o[l]||{_errors:[]},o=o[l],s++}}};return a(t),n}const l4=t=>(e,n,a,r)=>{const i=a?Object.assign(a,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new am;if(o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>uu(l,i,lu())));throw GU(s,r?.callee),s}return o.value},u4=t=>async(e,n,a,r)=>{const i=a?Object.assign(a,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>uu(l,i,lu())));throw GU(s,r?.callee),s}return o.value},Bx=t=>(e,n,a)=>{const r=a?{...a,async:!1}:{async:!1},i=e._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new am;return i.issues.length?{success:!1,error:new(t??UU)(i.issues.map(o=>uu(o,r,lu())))}:{success:!0,data:i.value}},ome=Bx(HU),Ix=t=>async(e,n,a)=>{const r=a?Object.assign(a,{async:!0}):{async:!0};let i=e._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new t(i.issues.map(o=>uu(o,r,lu())))}:{success:!0,data:i.value}},sme=Ix(HU),cme=t=>(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return l4(t)(e,n,r)},lme=t=>(e,n,a)=>l4(t)(e,n,a),ume=t=>async(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return u4(t)(e,n,r)},dme=t=>async(e,n,a)=>u4(t)(e,n,a),pme=t=>(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return Bx(t)(e,n,r)},Ame=t=>(e,n,a)=>Bx(t)(e,n,a),mme=t=>async(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return Ix(t)(e,n,r)},gme=t=>async(e,n,a)=>Ix(t)(e,n,a),hme=/^[cC][^\s-]{8,}$/,fme=/^[0-9a-z]+$/,bme=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,yme=/^[0-9a-vA-V]{20}$/,wme=/^[A-Za-z0-9]{27}$/,kme=/^[a-zA-Z0-9_-]{21}$/,vme=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,_me=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,H9=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Cme=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Eme="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function xme(){return new RegExp(Eme,"u")}const Bme=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ime=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Dme=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Qme=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Sme=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,YU=/^[A-Za-z0-9_-]*$/,Tme=/^\+(?:[0-9]){6,14}[0-9]$/,WU="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Fme=new RegExp(`^${WU}$`);function KU(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Lme(t){return new RegExp(`^${KU(t)}$`)}function Nme(t){const e=KU({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const a=`${e}(?:${n.join("|")})`;return new RegExp(`^${WU}T(?:${a})$`)}const Rme=t=>{const e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},Mme=/^-?\d+$/,$me=/^-?\d+(?:\.\d+)?/,Pme=/^(?:true|false)$/i,Ome=/^[^A-Z]*$/,jme=/^[^a-z]*$/,Wi=Je("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),ZU={number:"number",bigint:"bigint",object:"date"},VU=Je("$ZodCheckLessThan",(t,e)=>{Wi.init(t,e);const n=ZU[typeof e.value];t._zod.onattach.push(a=>{const r=a._zod.bag,i=(e.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<i&&(e.inclusive?r.maximum=e.value:r.exclusiveMaximum=e.value)}),t._zod.check=a=>{(e.inclusive?a.value<=e.value:a.value<e.value)||a.issues.push({origin:n,code:"too_big",maximum:e.value,input:a.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),JU=Je("$ZodCheckGreaterThan",(t,e)=>{Wi.init(t,e);const n=ZU[typeof e.value];t._zod.onattach.push(a=>{const r=a._zod.bag,i=(e.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>i&&(e.inclusive?r.minimum=e.value:r.exclusiveMinimum=e.value)}),t._zod.check=a=>{(e.inclusive?a.value>=e.value:a.value>e.value)||a.issues.push({origin:n,code:"too_small",minimum:e.value,input:a.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Gme=Je("$ZodCheckMultipleOf",(t,e)=>{Wi.init(t,e),t._zod.onattach.push(n=>{var a;(a=n._zod.bag).multipleOf??(a.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):UAe(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),qme=Je("$ZodCheckNumberFormat",(t,e)=>{Wi.init(t,e),e.format=e.format||"float64";const n=e.format?.includes("int"),a=n?"int":"number",[r,i]=ZAe[e.format];t._zod.onattach.push(o=>{const s=o._zod.bag;s.format=e.format,s.minimum=r,s.maximum=i,n&&(s.pattern=Mme)}),t._zod.check=o=>{const s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:a,format:e.format,code:"invalid_type",continue:!1,input:s,inst:t});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:a,continue:!e.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:a,continue:!e.abort});return}}s<r&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:t,continue:!e.abort}),s>i&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:t})}}),zme=Je("$ZodCheckMaxLength",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<r&&(a._zod.bag.maximum=e.maximum)}),t._zod.check=a=>{const r=a.value;if(r.length<=e.maximum)return;const o=c4(r);a.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Ume=Je("$ZodCheckMinLength",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>r&&(a._zod.bag.minimum=e.minimum)}),t._zod.check=a=>{const r=a.value;if(r.length>=e.minimum)return;const o=c4(r);a.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Hme=Je("$ZodCheckLengthEquals",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag;r.minimum=e.length,r.maximum=e.length,r.length=e.length}),t._zod.check=a=>{const r=a.value,i=r.length;if(i===e.length)return;const o=c4(r),s=i>e.length;a.issues.push({origin:o,...s?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:a.value,inst:t,continue:!e.abort})}}),Dx=Je("$ZodCheckStringFormat",(t,e)=>{var n,a;Wi.init(t,e),t._zod.onattach.push(r=>{const i=r._zod.bag;i.format=e.format,e.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=r=>{e.pattern.lastIndex=0,!e.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:e.format,input:r.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(a=t._zod).check??(a.check=()=>{})}),Yme=Je("$ZodCheckRegex",(t,e)=>{Dx.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),Wme=Je("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=Ome),Dx.init(t,e)}),Kme=Je("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=jme),Dx.init(t,e)}),Zme=Je("$ZodCheckIncludes",(t,e)=>{Wi.init(t,e);const n=Cg(e.includes),a=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=a,t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(a)}),t._zod.check=r=>{r.value.includes(e.includes,e.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:r.value,inst:t,continue:!e.abort})}}),Vme=Je("$ZodCheckStartsWith",(t,e)=>{Wi.init(t,e);const n=new RegExp(`^${Cg(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(a=>{const r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=a=>{a.value.startsWith(e.prefix)||a.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:a.value,inst:t,continue:!e.abort})}}),Jme=Je("$ZodCheckEndsWith",(t,e)=>{Wi.init(t,e);const n=new RegExp(`.*${Cg(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(a=>{const r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=a=>{a.value.endsWith(e.suffix)||a.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:a.value,inst:t,continue:!e.abort})}}),Xme=Je("$ZodCheckOverwrite",(t,e)=>{Wi.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class ege{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const a=e.split(`
|
|
2
|
+
import{e as HR,c as ft,b as zpe,r as Te,a as Upe,g as Hpe,f as wc,j as be}from"./react-CZxbBvbl.js";import{b as XQ,c as eS,t as Ype,h as Wpe,d as Kpe,e as Zpe,f as Vpe,g as Jpe,u as Xpe,r as eAe,a as tAe,i as nAe}from"./markdown-B6DywOHi.js";import{D as _x,Z as aAe,a as rAe,R as iAe,C as xU,b as BU,M as oAe,X as sAe,L as cAe}from"./icons-CU72ndOz.js";var tI={exports:{}},nI={};var YR;function lAe(){return YR||(YR=1,(function(t){function e(Q,L){var S=Q.length;Q.push(L);e:for(;0<S;){var M=S-1>>>1,j=Q[M];if(0<r(j,L))Q[M]=L,Q[S]=j,S=M;else break e}}function n(Q){return Q.length===0?null:Q[0]}function a(Q){if(Q.length===0)return null;var L=Q[0],S=Q.pop();if(S!==L){Q[0]=S;e:for(var M=0,j=Q.length,$=j>>>1;M<$;){var G=2*(M+1)-1,q=Q[G],W=G+1,z=Q[W];if(0>r(q,S))W<j&&0>r(z,q)?(Q[M]=z,Q[W]=S,M=W):(Q[M]=q,Q[G]=S,M=G);else if(W<j&&0>r(z,S))Q[M]=z,Q[W]=S,M=W;else break e}}return L}function r(Q,L){var S=Q.sortIndex-L.sortIndex;return S!==0?S:Q.id-L.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,p=null,A=3,m=!1,g=!1,h=!1,f=!1,b=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function v(Q){for(var L=n(u);L!==null;){if(L.callback===null)a(u);else if(L.startTime<=Q)a(u),L.sortIndex=L.expirationTime,e(l,L);else break;L=n(u)}}function _(Q){if(h=!1,v(Q),!g)if(n(l)!==null)g=!0,I||(I=!0,N());else{var L=n(u);L!==null&&F(_,L.startTime-Q)}}var I=!1,C=-1,E=5,B=-1;function T(){return f?!0:!(t.unstable_now()-B<E)}function D(){if(f=!1,I){var Q=t.unstable_now();B=Q;var L=!0;try{e:{g=!1,h&&(h=!1,w(C),C=-1),m=!0;var S=A;try{t:{for(v(Q),p=n(l);p!==null&&!(p.expirationTime>Q&&T());){var M=p.callback;if(typeof M=="function"){p.callback=null,A=p.priorityLevel;var j=M(p.expirationTime<=Q);if(Q=t.unstable_now(),typeof j=="function"){p.callback=j,v(Q),L=!0;break t}p===n(l)&&a(l),v(Q)}else a(l);p=n(l)}if(p!==null)L=!0;else{var $=n(u);$!==null&&F(_,$.startTime-Q),L=!1}}break e}finally{p=null,A=S,m=!1}L=void 0}}finally{L?N():I=!1}}}var N;if(typeof y=="function")N=function(){y(D)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,x=R.port2;R.port1.onmessage=D,N=function(){x.postMessage(null)}}else N=function(){b(D,0)};function F(Q,L){C=b(function(){Q(t.unstable_now())},L)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(Q){Q.callback=null},t.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<Q?Math.floor(1e3/Q):5},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_next=function(Q){switch(A){case 1:case 2:case 3:var L=3;break;default:L=A}var S=A;A=L;try{return Q()}finally{A=S}},t.unstable_requestPaint=function(){f=!0},t.unstable_runWithPriority=function(Q,L){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var S=A;A=Q;try{return L()}finally{A=S}},t.unstable_scheduleCallback=function(Q,L,S){var M=t.unstable_now();switch(typeof S=="object"&&S!==null?(S=S.delay,S=typeof S=="number"&&0<S?M+S:M):S=M,Q){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=S+j,Q={id:d++,callback:L,priorityLevel:Q,startTime:S,expirationTime:j,sortIndex:-1},S>M?(Q.sortIndex=S,e(u,Q),n(l)===null&&Q===n(u)&&(h?(w(C),C=-1):h=!0,F(_,S-M))):(Q.sortIndex=j,e(l,Q),g||m||(g=!0,I||(I=!0,N()))),Q},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(Q){var L=A;return function(){var S=A;A=L;try{return Q.apply(this,arguments)}finally{A=S}}}})(nI)),nI}var WR;function GFt(){return WR||(WR=1,tI.exports=lAe()),tI.exports}var aI={},id={},Zh={},Vh={},Tc={},od={},Jh={},KR;function uAe(){return KR||(KR=1,Object.defineProperty(Jh,"__esModule",{value:!0}),Jh._globalThis=void 0,Jh._globalThis=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof HR=="object"?HR:{}),Jh}var ZR;function dAe(){return ZR||(ZR=1,(function(t){var e=od&&od.__createBinding||(Object.create?(function(a,r,i,o){o===void 0&&(o=i),Object.defineProperty(a,o,{enumerable:!0,get:function(){return r[i]}})}):(function(a,r,i,o){o===void 0&&(o=i),a[o]=r[i]})),n=od&&od.__exportStar||function(a,r){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(r,i)&&e(r,a,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(uAe(),t)})(od)),od}var Xh={},VR;function IU(){return VR||(VR=1,Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.VERSION=void 0,Xh.VERSION="1.9.0"),Xh}var sd={},JR;function pAe(){if(JR)return sd;JR=1,Object.defineProperty(sd,"__esModule",{value:!0}),sd.isCompatible=sd._makeCompatibilityCheck=void 0;const t=IU(),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function n(a){const r=new Set([a]),i=new Set,o=a.match(e);if(!o)return()=>!1;const s={major:+o[1],minor:+o[2],patch:+o[3],prerelease:o[4]};if(s.prerelease!=null)return function(p){return p===a};function l(d){return i.add(d),!1}function u(d){return r.add(d),!0}return function(p){if(r.has(p))return!0;if(i.has(p))return!1;const A=p.match(e);if(!A)return l(p);const m={major:+A[1],minor:+A[2],patch:+A[3],prerelease:A[4]};return m.prerelease!=null||s.major!==m.major?l(p):s.major===0?s.minor===m.minor&&s.patch<=m.patch?u(p):l(p):s.minor<=m.minor?u(p):l(p)}}return sd._makeCompatibilityCheck=n,sd.isCompatible=n(t.VERSION),sd}var XR;function Ah(){if(XR)return Tc;XR=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.unregisterGlobal=Tc.getGlobal=Tc.registerGlobal=void 0;const t=dAe(),e=IU(),n=pAe(),a=e.VERSION.split(".")[0],r=Symbol.for(`opentelemetry.js.api.${a}`),i=t._globalThis;function o(u,d,p,A=!1){var m;const g=i[r]=(m=i[r])!==null&&m!==void 0?m:{version:e.VERSION};if(!A&&g[u]){const h=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${u}`);return p.error(h.stack||h.message),!1}if(g.version!==e.VERSION){const h=new Error(`@opentelemetry/api: Registration of version v${g.version} for ${u} does not match previously registered API v${e.VERSION}`);return p.error(h.stack||h.message),!1}return g[u]=d,p.debug(`@opentelemetry/api: Registered a global for ${u} v${e.VERSION}.`),!0}Tc.registerGlobal=o;function s(u){var d,p;const A=(d=i[r])===null||d===void 0?void 0:d.version;if(!(!A||!(0,n.isCompatible)(A)))return(p=i[r])===null||p===void 0?void 0:p[u]}Tc.getGlobal=s;function l(u,d){d.debug(`@opentelemetry/api: Unregistering a global for ${u} v${e.VERSION}.`);const p=i[r];p&&delete p[u]}return Tc.unregisterGlobal=l,Tc}var e9;function AAe(){if(e9)return Vh;e9=1,Object.defineProperty(Vh,"__esModule",{value:!0}),Vh.DiagComponentLogger=void 0;const t=Ah();class e{constructor(r){this._namespace=r.namespace||"DiagComponentLogger"}debug(...r){return n("debug",this._namespace,r)}error(...r){return n("error",this._namespace,r)}info(...r){return n("info",this._namespace,r)}warn(...r){return n("warn",this._namespace,r)}verbose(...r){return n("verbose",this._namespace,r)}}Vh.DiagComponentLogger=e;function n(a,r,i){const o=(0,t.getGlobal)("diag");if(o)return i.unshift(r),o[a](...i)}return Vh}var ef={},rI={},t9;function n4(){return t9||(t9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(t.DiagLogLevel||(t.DiagLogLevel={}))})(rI)),rI}var n9;function mAe(){if(n9)return ef;n9=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.createLogLevelDiagLogger=void 0;const t=n4();function e(n,a){n<t.DiagLogLevel.NONE?n=t.DiagLogLevel.NONE:n>t.DiagLogLevel.ALL&&(n=t.DiagLogLevel.ALL),a=a||{};function r(i,o){const s=a[i];return typeof s=="function"&&n>=o?s.bind(a):function(){}}return{error:r("error",t.DiagLogLevel.ERROR),warn:r("warn",t.DiagLogLevel.WARN),info:r("info",t.DiagLogLevel.INFO),debug:r("debug",t.DiagLogLevel.DEBUG),verbose:r("verbose",t.DiagLogLevel.VERBOSE)}}return ef.createLogLevelDiagLogger=e,ef}var a9;function mh(){if(a9)return Zh;a9=1,Object.defineProperty(Zh,"__esModule",{value:!0}),Zh.DiagAPI=void 0;const t=AAe(),e=mAe(),n=n4(),a=Ah(),r="diag";class i{constructor(){function s(d){return function(...p){const A=(0,a.getGlobal)("diag");if(A)return A[d](...p)}}const l=this,u=(d,p={logLevel:n.DiagLogLevel.INFO})=>{var A,m,g;if(d===l){const b=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return l.error((A=b.stack)!==null&&A!==void 0?A:b.message),!1}typeof p=="number"&&(p={logLevel:p});const h=(0,a.getGlobal)("diag"),f=(0,e.createLogLevelDiagLogger)((m=p.logLevel)!==null&&m!==void 0?m:n.DiagLogLevel.INFO,d);if(h&&!p.suppressOverrideMessage){const b=(g=new Error().stack)!==null&&g!==void 0?g:"<failed to generate stacktrace>";h.warn(`Current logger will be overwritten from ${b}`),f.warn(`Current logger will overwrite one already registered from ${b}`)}return(0,a.registerGlobal)("diag",f,l,!0)};l.setLogger=u,l.disable=()=>{(0,a.unregisterGlobal)(r,l)},l.createComponentLogger=d=>new t.DiagComponentLogger(d),l.verbose=s("verbose"),l.debug=s("debug"),l.info=s("info"),l.warn=s("warn"),l.error=s("error")}static instance(){return this._instance||(this._instance=new i),this._instance}}return Zh.DiagAPI=i,Zh}var tf={},r9;function gAe(){if(r9)return tf;r9=1,Object.defineProperty(tf,"__esModule",{value:!0}),tf.BaggageImpl=void 0;class t{constructor(n){this._entries=n?new Map(n):new Map}getEntry(n){const a=this._entries.get(n);if(a)return Object.assign({},a)}getAllEntries(){return Array.from(this._entries.entries()).map(([n,a])=>[n,a])}setEntry(n,a){const r=new t(this._entries);return r._entries.set(n,a),r}removeEntry(n){const a=new t(this._entries);return a._entries.delete(n),a}removeEntries(...n){const a=new t(this._entries);for(const r of n)a._entries.delete(r);return a}clear(){return new t}}return tf.BaggageImpl=t,tf}var nf={},i9;function hAe(){return i9||(i9=1,Object.defineProperty(nf,"__esModule",{value:!0}),nf.baggageEntryMetadataSymbol=void 0,nf.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")),nf}var o9;function DU(){if(o9)return id;o9=1,Object.defineProperty(id,"__esModule",{value:!0}),id.baggageEntryMetadataFromString=id.createBaggage=void 0;const t=mh(),e=gAe(),n=hAe(),a=t.DiagAPI.instance();function r(o={}){return new e.BaggageImpl(new Map(Object.entries(o)))}id.createBaggage=r;function i(o){return typeof o!="string"&&(a.error(`Cannot create baggage metadata from unknown type: ${typeof o}`),o=""),{__TYPE__:n.baggageEntryMetadataSymbol,toString(){return o}}}return id.baggageEntryMetadataFromString=i,id}var cd={},s9;function Cx(){if(s9)return cd;s9=1,Object.defineProperty(cd,"__esModule",{value:!0}),cd.ROOT_CONTEXT=cd.createContextKey=void 0;function t(n){return Symbol.for(n)}cd.createContextKey=t;class e{constructor(a){const r=this;r._currentContext=a?new Map(a):new Map,r.getValue=i=>r._currentContext.get(i),r.setValue=(i,o)=>{const s=new e(r._currentContext);return s._currentContext.set(i,o),s},r.deleteValue=i=>{const o=new e(r._currentContext);return o._currentContext.delete(i),o}}}return cd.ROOT_CONTEXT=new e,cd}var af={},c9;function fAe(){if(c9)return af;c9=1,Object.defineProperty(af,"__esModule",{value:!0}),af.DiagConsoleLogger=void 0;const t=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class e{constructor(){function a(r){return function(...i){if(console){let o=console[r];if(typeof o!="function"&&(o=console.log),typeof o=="function")return o.apply(console,i)}}}for(let r=0;r<t.length;r++)this[t[r].n]=a(t[r].c)}}return af.DiagConsoleLogger=e,af}var iI={},l9;function QU(){return l9||(l9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_GAUGE_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopGaugeMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class e{constructor(){}createGauge(m,g){return t.NOOP_GAUGE_METRIC}createHistogram(m,g){return t.NOOP_HISTOGRAM_METRIC}createCounter(m,g){return t.NOOP_COUNTER_METRIC}createUpDownCounter(m,g){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(m,g){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(m,g){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(m,g){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(m,g){}removeBatchObservableCallback(m){}}t.NoopMeter=e;class n{}t.NoopMetric=n;class a extends n{add(m,g){}}t.NoopCounterMetric=a;class r extends n{add(m,g){}}t.NoopUpDownCounterMetric=r;class i extends n{record(m,g){}}t.NoopGaugeMetric=i;class o extends n{record(m,g){}}t.NoopHistogramMetric=o;class s{addCallback(m){}removeCallback(m){}}t.NoopObservableMetric=s;class l extends s{}t.NoopObservableCounterMetric=l;class u extends s{}t.NoopObservableGaugeMetric=u;class d extends s{}t.NoopObservableUpDownCounterMetric=d,t.NOOP_METER=new e,t.NOOP_COUNTER_METRIC=new a,t.NOOP_GAUGE_METRIC=new i,t.NOOP_HISTOGRAM_METRIC=new o,t.NOOP_UP_DOWN_COUNTER_METRIC=new r,t.NOOP_OBSERVABLE_COUNTER_METRIC=new l,t.NOOP_OBSERVABLE_GAUGE_METRIC=new u,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new d;function p(){return t.NOOP_METER}t.createNoopMeter=p})(iI)),iI}var oI={},u9;function bAe(){return u9||(u9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(t.ValueType||(t.ValueType={}))})(oI)),oI}var ld={},d9;function SU(){return d9||(d9=1,Object.defineProperty(ld,"__esModule",{value:!0}),ld.defaultTextMapSetter=ld.defaultTextMapGetter=void 0,ld.defaultTextMapGetter={get(t,e){if(t!=null)return t[e]},keys(t){return t==null?[]:Object.keys(t)}},ld.defaultTextMapSetter={set(t,e,n){t!=null&&(t[e]=n)}}),ld}var rf={},of={},sf={},cf={},p9;function yAe(){if(p9)return cf;p9=1,Object.defineProperty(cf,"__esModule",{value:!0}),cf.NoopContextManager=void 0;const t=Cx();let e=class{active(){return t.ROOT_CONTEXT}with(a,r,i,...o){return r.call(i,...o)}bind(a,r){return r}enable(){return this}disable(){return this}};return cf.NoopContextManager=e,cf}var A9;function Ex(){if(A9)return sf;A9=1,Object.defineProperty(sf,"__esModule",{value:!0}),sf.ContextAPI=void 0;const t=yAe(),e=Ah(),n=mh(),a="context",r=new t.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(s){return(0,e.registerGlobal)(a,s,n.DiagAPI.instance())}active(){return this._getContextManager().active()}with(s,l,u,...d){return this._getContextManager().with(s,l,u,...d)}bind(s,l){return this._getContextManager().bind(s,l)}_getContextManager(){return(0,e.getGlobal)(a)||r}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(a,n.DiagAPI.instance())}}return sf.ContextAPI=i,sf}var di={},lf={},sI={},cI={},m9;function TU(){return m9||(m9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(t.TraceFlags||(t.TraceFlags={}))})(cI)),cI}var g9;function a4(){return g9||(g9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;const e=TU();t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:e.TraceFlags.NONE}})(sI)),sI}var h9;function r4(){if(h9)return lf;h9=1,Object.defineProperty(lf,"__esModule",{value:!0}),lf.NonRecordingSpan=void 0;const t=a4();let e=class{constructor(a=t.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,r){return this}setAttributes(a){return this}addEvent(a,r){return this}addLink(a){return this}addLinks(a){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,r){}};return lf.NonRecordingSpan=e,lf}var f9;function FU(){if(f9)return di;f9=1,Object.defineProperty(di,"__esModule",{value:!0}),di.getSpanContext=di.setSpanContext=di.deleteSpan=di.setSpan=di.getActiveSpan=di.getSpan=void 0;const t=Cx(),e=r4(),n=Ex(),a=(0,t.createContextKey)("OpenTelemetry Context Key SPAN");function r(d){return d.getValue(a)||void 0}di.getSpan=r;function i(){return r(n.ContextAPI.getInstance().active())}di.getActiveSpan=i;function o(d,p){return d.setValue(a,p)}di.setSpan=o;function s(d){return d.deleteValue(a)}di.deleteSpan=s;function l(d,p){return o(d,new e.NonRecordingSpan(p))}di.setSpanContext=l;function u(d){var p;return(p=r(d))===null||p===void 0?void 0:p.spanContext()}return di.getSpanContext=u,di}var ns={},b9;function i4(){if(b9)return ns;b9=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.wrapSpanContext=ns.isSpanContextValid=ns.isValidSpanId=ns.isValidTraceId=void 0;const t=a4(),e=r4(),n=/^([0-9a-f]{32})$/i,a=/^[0-9a-f]{16}$/i;function r(l){return n.test(l)&&l!==t.INVALID_TRACEID}ns.isValidTraceId=r;function i(l){return a.test(l)&&l!==t.INVALID_SPANID}ns.isValidSpanId=i;function o(l){return r(l.traceId)&&i(l.spanId)}ns.isSpanContextValid=o;function s(l){return new e.NonRecordingSpan(l)}return ns.wrapSpanContext=s,ns}var y9;function LU(){if(y9)return of;y9=1,Object.defineProperty(of,"__esModule",{value:!0}),of.NoopTracer=void 0;const t=Ex(),e=FU(),n=r4(),a=i4(),r=t.ContextAPI.getInstance();let i=class{startSpan(l,u,d=r.active()){if(!!u?.root)return new n.NonRecordingSpan;const A=d&&(0,e.getSpanContext)(d);return o(A)&&(0,a.isSpanContextValid)(A)?new n.NonRecordingSpan(A):new n.NonRecordingSpan}startActiveSpan(l,u,d,p){let A,m,g;if(arguments.length<2)return;arguments.length===2?g=u:arguments.length===3?(A=u,g=d):(A=u,m=d,g=p);const h=m??r.active(),f=this.startSpan(l,A,h),b=(0,e.setSpan)(h,f);return r.with(b,g,void 0,f)}};of.NoopTracer=i;function o(s){return typeof s=="object"&&typeof s.spanId=="string"&&typeof s.traceId=="string"&&typeof s.traceFlags=="number"}return of}var w9;function NU(){if(w9)return rf;w9=1,Object.defineProperty(rf,"__esModule",{value:!0}),rf.ProxyTracer=void 0;const t=LU(),e=new t.NoopTracer;let n=class{constructor(r,i,o,s){this._provider=r,this.name=i,this.version=o,this.options=s}startSpan(r,i,o){return this._getTracer().startSpan(r,i,o)}startActiveSpan(r,i,o,s){const l=this._getTracer();return Reflect.apply(l.startActiveSpan,l,arguments)}_getTracer(){if(this._delegate)return this._delegate;const r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):e}};return rf.ProxyTracer=n,rf}var uf={},df={},k9;function wAe(){if(k9)return df;k9=1,Object.defineProperty(df,"__esModule",{value:!0}),df.NoopTracerProvider=void 0;const t=LU();let e=class{getTracer(a,r,i){return new t.NoopTracer}};return df.NoopTracerProvider=e,df}var v9;function RU(){if(v9)return uf;v9=1,Object.defineProperty(uf,"__esModule",{value:!0}),uf.ProxyTracerProvider=void 0;const t=NU(),e=wAe(),n=new e.NoopTracerProvider;let a=class{getTracer(i,o,s){var l;return(l=this.getDelegateTracer(i,o,s))!==null&&l!==void 0?l:new t.ProxyTracer(this,i,o,s)}getDelegate(){var i;return(i=this._delegate)!==null&&i!==void 0?i:n}setDelegate(i){this._delegate=i}getDelegateTracer(i,o,s){var l;return(l=this._delegate)===null||l===void 0?void 0:l.getTracer(i,o,s)}};return uf.ProxyTracerProvider=a,uf}var lI={},_9;function kAe(){return _9||(_9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(t.SamplingDecision||(t.SamplingDecision={}))})(lI)),lI}var uI={},C9;function vAe(){return C9||(C9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(t.SpanKind||(t.SpanKind={}))})(uI)),uI}var dI={},E9;function _Ae(){return E9||(E9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(t.SpanStatusCode||(t.SpanStatusCode={}))})(dI)),dI}var pf={},Af={},ud={},x9;function CAe(){if(x9)return ud;x9=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.validateValue=ud.validateKey=void 0;const t="[_0-9a-z-*/]",e=`[a-z]${t}{0,255}`,n=`[a-z0-9]${t}{0,240}@[a-z]${t}{0,13}`,a=new RegExp(`^(?:${e}|${n})$`),r=/^[ -~]{0,255}[!-~]$/,i=/,|=/;function o(l){return a.test(l)}ud.validateKey=o;function s(l){return r.test(l)&&!i.test(l)}return ud.validateValue=s,ud}var B9;function EAe(){if(B9)return Af;B9=1,Object.defineProperty(Af,"__esModule",{value:!0}),Af.TraceStateImpl=void 0;const t=CAe(),e=32,n=512,a=",",r="=";class i{constructor(s){this._internalState=new Map,s&&this._parse(s)}set(s,l){const u=this._clone();return u._internalState.has(s)&&u._internalState.delete(s),u._internalState.set(s,l),u}unset(s){const l=this._clone();return l._internalState.delete(s),l}get(s){return this._internalState.get(s)}serialize(){return this._keys().reduce((s,l)=>(s.push(l+r+this.get(l)),s),[]).join(a)}_parse(s){s.length>n||(this._internalState=s.split(a).reverse().reduce((l,u)=>{const d=u.trim(),p=d.indexOf(r);if(p!==-1){const A=d.slice(0,p),m=d.slice(p+1,u.length);(0,t.validateKey)(A)&&(0,t.validateValue)(m)&&l.set(A,m)}return l},new Map),this._internalState.size>e&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,e))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const s=new i;return s._internalState=new Map(this._internalState),s}}return Af.TraceStateImpl=i,Af}var I9;function xAe(){if(I9)return pf;I9=1,Object.defineProperty(pf,"__esModule",{value:!0}),pf.createTraceState=void 0;const t=EAe();function e(n){return new t.TraceStateImpl(n)}return pf.createTraceState=e,pf}var mf={},D9;function BAe(){if(D9)return mf;D9=1,Object.defineProperty(mf,"__esModule",{value:!0}),mf.context=void 0;const t=Ex();return mf.context=t.ContextAPI.getInstance(),mf}var gf={},Q9;function IAe(){if(Q9)return gf;Q9=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.diag=void 0;const t=mh();return gf.diag=t.DiagAPI.instance(),gf}var hf={},ff={},dd={},S9;function DAe(){if(S9)return dd;S9=1,Object.defineProperty(dd,"__esModule",{value:!0}),dd.NOOP_METER_PROVIDER=dd.NoopMeterProvider=void 0;const t=QU();let e=class{getMeter(a,r,i){return t.NOOP_METER}};return dd.NoopMeterProvider=e,dd.NOOP_METER_PROVIDER=new e,dd}var T9;function QAe(){if(T9)return ff;T9=1,Object.defineProperty(ff,"__esModule",{value:!0}),ff.MetricsAPI=void 0;const t=DAe(),e=Ah(),n=mh(),a="metrics";class r{constructor(){}static getInstance(){return this._instance||(this._instance=new r),this._instance}setGlobalMeterProvider(o){return(0,e.registerGlobal)(a,o,n.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(a)||t.NOOP_METER_PROVIDER}getMeter(o,s,l){return this.getMeterProvider().getMeter(o,s,l)}disable(){(0,e.unregisterGlobal)(a,n.DiagAPI.instance())}}return ff.MetricsAPI=r,ff}var F9;function SAe(){if(F9)return hf;F9=1,Object.defineProperty(hf,"__esModule",{value:!0}),hf.metrics=void 0;const t=QAe();return hf.metrics=t.MetricsAPI.getInstance(),hf}var bf={},yf={},wf={},L9;function TAe(){if(L9)return wf;L9=1,Object.defineProperty(wf,"__esModule",{value:!0}),wf.NoopTextMapPropagator=void 0;let t=class{inject(n,a){}extract(n,a){return n}fields(){return[]}};return wf.NoopTextMapPropagator=t,wf}var as={},N9;function FAe(){if(N9)return as;N9=1,Object.defineProperty(as,"__esModule",{value:!0}),as.deleteBaggage=as.setBaggage=as.getActiveBaggage=as.getBaggage=void 0;const t=Ex(),n=(0,Cx().createContextKey)("OpenTelemetry Baggage Key");function a(s){return s.getValue(n)||void 0}as.getBaggage=a;function r(){return a(t.ContextAPI.getInstance().active())}as.getActiveBaggage=r;function i(s,l){return s.setValue(n,l)}as.setBaggage=i;function o(s){return s.deleteValue(n)}return as.deleteBaggage=o,as}var R9;function LAe(){if(R9)return yf;R9=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.PropagationAPI=void 0;const t=Ah(),e=TAe(),n=SU(),a=FAe(),r=DU(),i=mh(),o="propagation",s=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=r.createBaggage,this.getBaggage=a.getBaggage,this.getActiveBaggage=a.getActiveBaggage,this.setBaggage=a.setBaggage,this.deleteBaggage=a.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(d){return(0,t.registerGlobal)(o,d,i.DiagAPI.instance())}inject(d,p,A=n.defaultTextMapSetter){return this._getGlobalPropagator().inject(d,p,A)}extract(d,p,A=n.defaultTextMapGetter){return this._getGlobalPropagator().extract(d,p,A)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,t.unregisterGlobal)(o,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,t.getGlobal)(o)||s}}return yf.PropagationAPI=l,yf}var M9;function NAe(){if(M9)return bf;M9=1,Object.defineProperty(bf,"__esModule",{value:!0}),bf.propagation=void 0;const t=LAe();return bf.propagation=t.PropagationAPI.getInstance(),bf}var kf={},vf={},$9;function RAe(){if($9)return vf;$9=1,Object.defineProperty(vf,"__esModule",{value:!0}),vf.TraceAPI=void 0;const t=Ah(),e=RU(),n=i4(),a=FU(),r=mh(),i="trace";class o{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=n.wrapSpanContext,this.isSpanContextValid=n.isSpanContextValid,this.deleteSpan=a.deleteSpan,this.getSpan=a.getSpan,this.getActiveSpan=a.getActiveSpan,this.getSpanContext=a.getSpanContext,this.setSpan=a.setSpan,this.setSpanContext=a.setSpanContext}static getInstance(){return this._instance||(this._instance=new o),this._instance}setGlobalTracerProvider(l){const u=(0,t.registerGlobal)(i,this._proxyTracerProvider,r.DiagAPI.instance());return u&&this._proxyTracerProvider.setDelegate(l),u}getTracerProvider(){return(0,t.getGlobal)(i)||this._proxyTracerProvider}getTracer(l,u){return this.getTracerProvider().getTracer(l,u)}disable(){(0,t.unregisterGlobal)(i,r.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}return vf.TraceAPI=o,vf}var P9;function MAe(){if(P9)return kf;P9=1,Object.defineProperty(kf,"__esModule",{value:!0}),kf.trace=void 0;const t=RAe();return kf.trace=t.TraceAPI.getInstance(),kf}var O9;function $Ae(){return O9||(O9=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.trace=t.propagation=t.metrics=t.diag=t.context=t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=t.isValidSpanId=t.isValidTraceId=t.isSpanContextValid=t.createTraceState=t.TraceFlags=t.SpanStatusCode=t.SpanKind=t.SamplingDecision=t.ProxyTracerProvider=t.ProxyTracer=t.defaultTextMapSetter=t.defaultTextMapGetter=t.ValueType=t.createNoopMeter=t.DiagLogLevel=t.DiagConsoleLogger=t.ROOT_CONTEXT=t.createContextKey=t.baggageEntryMetadataFromString=void 0;var e=DU();Object.defineProperty(t,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var n=Cx();Object.defineProperty(t,"createContextKey",{enumerable:!0,get:function(){return n.createContextKey}}),Object.defineProperty(t,"ROOT_CONTEXT",{enumerable:!0,get:function(){return n.ROOT_CONTEXT}});var a=fAe();Object.defineProperty(t,"DiagConsoleLogger",{enumerable:!0,get:function(){return a.DiagConsoleLogger}});var r=n4();Object.defineProperty(t,"DiagLogLevel",{enumerable:!0,get:function(){return r.DiagLogLevel}});var i=QU();Object.defineProperty(t,"createNoopMeter",{enumerable:!0,get:function(){return i.createNoopMeter}});var o=bAe();Object.defineProperty(t,"ValueType",{enumerable:!0,get:function(){return o.ValueType}});var s=SU();Object.defineProperty(t,"defaultTextMapGetter",{enumerable:!0,get:function(){return s.defaultTextMapGetter}}),Object.defineProperty(t,"defaultTextMapSetter",{enumerable:!0,get:function(){return s.defaultTextMapSetter}});var l=NU();Object.defineProperty(t,"ProxyTracer",{enumerable:!0,get:function(){return l.ProxyTracer}});var u=RU();Object.defineProperty(t,"ProxyTracerProvider",{enumerable:!0,get:function(){return u.ProxyTracerProvider}});var d=kAe();Object.defineProperty(t,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var p=vAe();Object.defineProperty(t,"SpanKind",{enumerable:!0,get:function(){return p.SpanKind}});var A=_Ae();Object.defineProperty(t,"SpanStatusCode",{enumerable:!0,get:function(){return A.SpanStatusCode}});var m=TU();Object.defineProperty(t,"TraceFlags",{enumerable:!0,get:function(){return m.TraceFlags}});var g=xAe();Object.defineProperty(t,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var h=i4();Object.defineProperty(t,"isSpanContextValid",{enumerable:!0,get:function(){return h.isSpanContextValid}}),Object.defineProperty(t,"isValidTraceId",{enumerable:!0,get:function(){return h.isValidTraceId}}),Object.defineProperty(t,"isValidSpanId",{enumerable:!0,get:function(){return h.isValidSpanId}});var f=a4();Object.defineProperty(t,"INVALID_SPANID",{enumerable:!0,get:function(){return f.INVALID_SPANID}}),Object.defineProperty(t,"INVALID_TRACEID",{enumerable:!0,get:function(){return f.INVALID_TRACEID}}),Object.defineProperty(t,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return f.INVALID_SPAN_CONTEXT}});const b=BAe();Object.defineProperty(t,"context",{enumerable:!0,get:function(){return b.context}});const w=IAe();Object.defineProperty(t,"diag",{enumerable:!0,get:function(){return w.diag}});const y=SAe();Object.defineProperty(t,"metrics",{enumerable:!0,get:function(){return y.metrics}});const v=NAe();Object.defineProperty(t,"propagation",{enumerable:!0,get:function(){return v.propagation}});const _=MAe();Object.defineProperty(t,"trace",{enumerable:!0,get:function(){return _.trace}}),t.default={context:b.context,diag:w.diag,metrics:y.metrics,propagation:v.propagation,trace:_.trace}})(aI)),aI}var VFt=$Ae(),j9;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.TRACE=1]="TRACE",t[t.TRACE2=2]="TRACE2",t[t.TRACE3=3]="TRACE3",t[t.TRACE4=4]="TRACE4",t[t.DEBUG=5]="DEBUG",t[t.DEBUG2=6]="DEBUG2",t[t.DEBUG3=7]="DEBUG3",t[t.DEBUG4=8]="DEBUG4",t[t.INFO=9]="INFO",t[t.INFO2=10]="INFO2",t[t.INFO3=11]="INFO3",t[t.INFO4=12]="INFO4",t[t.WARN=13]="WARN",t[t.WARN2=14]="WARN2",t[t.WARN3=15]="WARN3",t[t.WARN4=16]="WARN4",t[t.ERROR=17]="ERROR",t[t.ERROR2=18]="ERROR2",t[t.ERROR3=19]="ERROR3",t[t.ERROR4=20]="ERROR4",t[t.FATAL=21]="FATAL",t[t.FATAL2=22]="FATAL2",t[t.FATAL3=23]="FATAL3",t[t.FATAL4=24]="FATAL4"})(j9||(j9={}));var MU=(function(){function t(){}return t.prototype.emit=function(e){},t})(),PAe=new MU,OAe=(function(){function t(){}return t.prototype.getLogger=function(e,n,a){return new MU},t})(),$U=new OAe,jAe=(function(){function t(e,n,a,r){this._provider=e,this.name=n,this.version=a,this.options=r}return t.prototype.emit=function(e){this._getLogger().emit(e)},t.prototype._getLogger=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):PAe},t})(),G9=(function(){function t(){}return t.prototype.getLogger=function(e,n,a){var r;return(r=this.getDelegateLogger(e,n,a))!==null&&r!==void 0?r:new jAe(this,e,n,a)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:$U},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateLogger=function(e,n,a){var r;return(r=this._delegate)===null||r===void 0?void 0:r.getLogger(e,n,a)},t})(),GAe=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},a0=Symbol.for("io.opentelemetry.js.api.logs"),_f=GAe;function qAe(t,e,n){return function(a){return a===t?e:n}}var q9=1,zAe=(function(){function t(){this._proxyLoggerProvider=new G9}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalLoggerProvider=function(e){return _f[a0]?this.getLoggerProvider():(_f[a0]=qAe(q9,e,$U),this._proxyLoggerProvider.setDelegate(e),e)},t.prototype.getLoggerProvider=function(){var e,n;return(n=(e=_f[a0])===null||e===void 0?void 0:e.call(_f,q9))!==null&&n!==void 0?n:this._proxyLoggerProvider},t.prototype.getLogger=function(e,n,a){return this.getLoggerProvider().getLogger(e,n,a)},t.prototype.disable=function(){delete _f[a0],this._proxyLoggerProvider=new G9},t})(),JFt=zAe.getInstance();function Je(t,e,n){function a(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(t))return;s._zod.traits.add(t),e(s,l);const u=o.prototype,d=Object.keys(u);for(let p=0;p<d.length;p++){const A=d[p];A in s||(s[A]=u[A].bind(s))}}const r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:t});function o(s){var l;const u=n?.Parent?new i:this;a(u,s),(l=u._zod).deferred??(l.deferred=[]);for(const d of u._zod.deferred)d();return u}return Object.defineProperty(o,"init",{value:a}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(t)}),Object.defineProperty(o,"name",{value:t}),o}class am extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class PU extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const OU={};function lu(t){return OU}function jU(t){const e=Object.values(t).filter(a=>typeof a=="number");return Object.entries(t).filter(([a,r])=>e.indexOf(+a)===-1).map(([a,r])=>r)}function tS(t,e){return typeof e=="bigint"?e.toString():e}function xx(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function o4(t){return t==null}function s4(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function UAe(t,e){const n=(t.toString().split(".")[1]||"").length,a=e.toString();let r=(a.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(a)){const l=a.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}const i=n>r?n:r,o=Number.parseInt(t.toFixed(i).replace(".","")),s=Number.parseInt(e.toFixed(i).replace(".",""));return o%s/10**i}const z9=Symbol("evaluating");function Jn(t,e,n){let a;Object.defineProperty(t,e,{get(){if(a!==z9)return a===void 0&&(a=z9,a=n()),a},set(r){Object.defineProperty(t,e,{value:r})},configurable:!0})}function Fp(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Lp(...t){const e={};for(const n of t){const a=Object.getOwnPropertyDescriptors(n);Object.assign(e,a)}return Object.defineProperties({},e)}function U9(t){return JSON.stringify(t)}function HAe(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const GU="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function $y(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const YAe=xx(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function _g(t){if($y(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!($y(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function qU(t){return _g(t)?{...t}:Array.isArray(t)?[...t]:t}const WAe=new Set(["string","number","symbol"]);function Cg(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lu(t,e,n){const a=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(a._zod.parent=t),a}function zt(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function KAe(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const ZAe={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function VAe(t,e){const n=t._zod.def,a=Lp(t._zod.def,{get shape(){const r={};for(const i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&(r[i]=n.shape[i])}return Fp(this,"shape",r),r},checks:[]});return Lu(t,a)}function JAe(t,e){const n=t._zod.def,a=Lp(t._zod.def,{get shape(){const r={...t._zod.def.shape};for(const i in e){if(!(i in n.shape))throw new Error(`Unrecognized key: "${i}"`);e[i]&&delete r[i]}return Fp(this,"shape",r),r},checks:[]});return Lu(t,a)}function XAe(t,e){if(!_g(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const r=Lp(t._zod.def,{get shape(){const i={...t._zod.def.shape,...e};return Fp(this,"shape",i),i},checks:[]});return Lu(t,r)}function eme(t,e){if(!_g(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const a={...t._zod.def.shape,...e};return Fp(this,"shape",a),a},checks:t._zod.def.checks};return Lu(t,n)}function tme(t,e){const n=Lp(t._zod.def,{get shape(){const a={...t._zod.def.shape,...e._zod.def.shape};return Fp(this,"shape",a),a},get catchall(){return e._zod.def.catchall},checks:[]});return Lu(t,n)}function nme(t,e,n){const a=Lp(e._zod.def,{get shape(){const r=e._zod.def.shape,i={...r};if(n)for(const o in n){if(!(o in r))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=t?new t({type:"optional",innerType:r[o]}):r[o])}else for(const o in r)i[o]=t?new t({type:"optional",innerType:r[o]}):r[o];return Fp(this,"shape",i),i},checks:[]});return Lu(e,a)}function ame(t,e,n){const a=Lp(e._zod.def,{get shape(){const r=e._zod.def.shape,i={...r};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=new t({type:"nonoptional",innerType:r[o]}))}else for(const o in r)i[o]=new t({type:"nonoptional",innerType:r[o]});return Fp(this,"shape",i),i},checks:[]});return Lu(e,a)}function zA(t,e=0){if(t.aborted===!0)return!0;for(let n=e;n<t.issues.length;n++)if(t.issues[n]?.continue!==!0)return!0;return!1}function UA(t,e){return e.map(n=>{var a;return(a=n).path??(a.path=[]),n.path.unshift(t),n})}function r0(t){return typeof t=="string"?t:t?.message}function uu(t,e,n){const a={...t,path:t.path??[]};if(!t.message){const r=r0(t.inst?._zod.def?.error?.(t))??r0(e?.error?.(t))??r0(n.customError?.(t))??r0(n.localeError?.(t))??"Invalid input";a.message=r}return delete a.inst,delete a.continue,e?.reportInput||delete a.input,a}function c4(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function Py(...t){const[e,n,a]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:a}:{...e}}const zU=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,tS,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},UU=Je("$ZodError",zU),HU=Je("$ZodError",zU,{Parent:Error});function rme(t,e=n=>n.message){const n={},a=[];for(const r of t.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:n}}function ime(t,e=n=>n.message){const n={_errors:[]},a=r=>{for(const i of r.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(o=>a({issues:o}));else if(i.code==="invalid_key")a({issues:i.issues});else if(i.code==="invalid_element")a({issues:i.issues});else if(i.path.length===0)n._errors.push(e(i));else{let o=n,s=0;for(;s<i.path.length;){const l=i.path[s];s===i.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(i))):o[l]=o[l]||{_errors:[]},o=o[l],s++}}};return a(t),n}const l4=t=>(e,n,a,r)=>{const i=a?Object.assign(a,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new am;if(o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>uu(l,i,lu())));throw GU(s,r?.callee),s}return o.value},u4=t=>async(e,n,a,r)=>{const i=a?Object.assign(a,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>uu(l,i,lu())));throw GU(s,r?.callee),s}return o.value},Bx=t=>(e,n,a)=>{const r=a?{...a,async:!1}:{async:!1},i=e._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new am;return i.issues.length?{success:!1,error:new(t??UU)(i.issues.map(o=>uu(o,r,lu())))}:{success:!0,data:i.value}},ome=Bx(HU),Ix=t=>async(e,n,a)=>{const r=a?Object.assign(a,{async:!0}):{async:!0};let i=e._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new t(i.issues.map(o=>uu(o,r,lu())))}:{success:!0,data:i.value}},sme=Ix(HU),cme=t=>(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return l4(t)(e,n,r)},lme=t=>(e,n,a)=>l4(t)(e,n,a),ume=t=>async(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return u4(t)(e,n,r)},dme=t=>async(e,n,a)=>u4(t)(e,n,a),pme=t=>(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return Bx(t)(e,n,r)},Ame=t=>(e,n,a)=>Bx(t)(e,n,a),mme=t=>async(e,n,a)=>{const r=a?Object.assign(a,{direction:"backward"}):{direction:"backward"};return Ix(t)(e,n,r)},gme=t=>async(e,n,a)=>Ix(t)(e,n,a),hme=/^[cC][^\s-]{8,}$/,fme=/^[0-9a-z]+$/,bme=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,yme=/^[0-9a-vA-V]{20}$/,wme=/^[A-Za-z0-9]{27}$/,kme=/^[a-zA-Z0-9_-]{21}$/,vme=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,_me=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,H9=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Cme=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Eme="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function xme(){return new RegExp(Eme,"u")}const Bme=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ime=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Dme=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Qme=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Sme=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,YU=/^[A-Za-z0-9_-]*$/,Tme=/^\+(?:[0-9]){6,14}[0-9]$/,WU="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Fme=new RegExp(`^${WU}$`);function KU(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Lme(t){return new RegExp(`^${KU(t)}$`)}function Nme(t){const e=KU({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const a=`${e}(?:${n.join("|")})`;return new RegExp(`^${WU}T(?:${a})$`)}const Rme=t=>{const e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},Mme=/^-?\d+$/,$me=/^-?\d+(?:\.\d+)?/,Pme=/^(?:true|false)$/i,Ome=/^[^A-Z]*$/,jme=/^[^a-z]*$/,Wi=Je("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),ZU={number:"number",bigint:"bigint",object:"date"},VU=Je("$ZodCheckLessThan",(t,e)=>{Wi.init(t,e);const n=ZU[typeof e.value];t._zod.onattach.push(a=>{const r=a._zod.bag,i=(e.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<i&&(e.inclusive?r.maximum=e.value:r.exclusiveMaximum=e.value)}),t._zod.check=a=>{(e.inclusive?a.value<=e.value:a.value<e.value)||a.issues.push({origin:n,code:"too_big",maximum:e.value,input:a.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),JU=Je("$ZodCheckGreaterThan",(t,e)=>{Wi.init(t,e);const n=ZU[typeof e.value];t._zod.onattach.push(a=>{const r=a._zod.bag,i=(e.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>i&&(e.inclusive?r.minimum=e.value:r.exclusiveMinimum=e.value)}),t._zod.check=a=>{(e.inclusive?a.value>=e.value:a.value>e.value)||a.issues.push({origin:n,code:"too_small",minimum:e.value,input:a.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Gme=Je("$ZodCheckMultipleOf",(t,e)=>{Wi.init(t,e),t._zod.onattach.push(n=>{var a;(a=n._zod.bag).multipleOf??(a.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):UAe(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),qme=Je("$ZodCheckNumberFormat",(t,e)=>{Wi.init(t,e),e.format=e.format||"float64";const n=e.format?.includes("int"),a=n?"int":"number",[r,i]=ZAe[e.format];t._zod.onattach.push(o=>{const s=o._zod.bag;s.format=e.format,s.minimum=r,s.maximum=i,n&&(s.pattern=Mme)}),t._zod.check=o=>{const s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:a,format:e.format,code:"invalid_type",continue:!1,input:s,inst:t});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:a,continue:!e.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:a,continue:!e.abort});return}}s<r&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:t,continue:!e.abort}),s>i&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:t})}}),zme=Je("$ZodCheckMaxLength",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<r&&(a._zod.bag.maximum=e.maximum)}),t._zod.check=a=>{const r=a.value;if(r.length<=e.maximum)return;const o=c4(r);a.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Ume=Je("$ZodCheckMinLength",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>r&&(a._zod.bag.minimum=e.minimum)}),t._zod.check=a=>{const r=a.value;if(r.length>=e.minimum)return;const o=c4(r);a.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Hme=Je("$ZodCheckLengthEquals",(t,e)=>{var n;Wi.init(t,e),(n=t._zod.def).when??(n.when=a=>{const r=a.value;return!o4(r)&&r.length!==void 0}),t._zod.onattach.push(a=>{const r=a._zod.bag;r.minimum=e.length,r.maximum=e.length,r.length=e.length}),t._zod.check=a=>{const r=a.value,i=r.length;if(i===e.length)return;const o=c4(r),s=i>e.length;a.issues.push({origin:o,...s?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:a.value,inst:t,continue:!e.abort})}}),Dx=Je("$ZodCheckStringFormat",(t,e)=>{var n,a;Wi.init(t,e),t._zod.onattach.push(r=>{const i=r._zod.bag;i.format=e.format,e.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=r=>{e.pattern.lastIndex=0,!e.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:e.format,input:r.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(a=t._zod).check??(a.check=()=>{})}),Yme=Je("$ZodCheckRegex",(t,e)=>{Dx.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),Wme=Je("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=Ome),Dx.init(t,e)}),Kme=Je("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=jme),Dx.init(t,e)}),Zme=Je("$ZodCheckIncludes",(t,e)=>{Wi.init(t,e);const n=Cg(e.includes),a=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=a,t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(a)}),t._zod.check=r=>{r.value.includes(e.includes,e.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:r.value,inst:t,continue:!e.abort})}}),Vme=Je("$ZodCheckStartsWith",(t,e)=>{Wi.init(t,e);const n=new RegExp(`^${Cg(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(a=>{const r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=a=>{a.value.startsWith(e.prefix)||a.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:a.value,inst:t,continue:!e.abort})}}),Jme=Je("$ZodCheckEndsWith",(t,e)=>{Wi.init(t,e);const n=new RegExp(`.*${Cg(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(a=>{const r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=a=>{a.value.endsWith(e.suffix)||a.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:a.value,inst:t,continue:!e.abort})}}),Xme=Je("$ZodCheckOverwrite",(t,e)=>{Wi.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class ege{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const a=e.split(`
|
|
3
3
|
`).filter(o=>o),r=Math.min(...a.map(o=>o.length-o.trimStart().length)),i=a.map(o=>o.slice(r)).map(o=>" ".repeat(this.indent*2)+o);for(const o of i)this.content.push(o)}compile(){const e=Function,n=this?.args,r=[...(this?.content??[""]).map(i=>` ${i}`)];return new e(...n,r.join(`
|
|
4
4
|
`))}}const tge={major:4,minor:2,patch:1},ba=Je("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=tge;const a=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&a.unshift(t);for(const r of a)for(const i of r._zod.onattach)i(t);if(a.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{const r=(o,s,l)=>{let u=zA(o),d;for(const p of s){if(p._zod.def.when){if(!p._zod.def.when(o))continue}else if(u)continue;const A=o.issues.length,m=p._zod.check(o);if(m instanceof Promise&&l?.async===!1)throw new am;if(d||m instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await m,o.issues.length!==A&&(u||(u=zA(o,A)))});else{if(o.issues.length===A)continue;u||(u=zA(o,A))}}return d?d.then(()=>o):o},i=(o,s,l)=>{if(zA(o))return o.aborted=!0,o;const u=r(s,a,l);if(u instanceof Promise){if(l.async===!1)throw new am;return u.then(d=>t._zod.parse(d,l))}return t._zod.parse(u,l)};t._zod.run=(o,s)=>{if(s.skipChecks)return t._zod.parse(o,s);if(s.direction==="backward"){const u=t._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return u instanceof Promise?u.then(d=>i(d,o,s)):i(u,o,s)}const l=t._zod.parse(o,s);if(l instanceof Promise){if(s.async===!1)throw new am;return l.then(u=>r(u,a,s))}return r(l,a,s)}}t["~standard"]={validate:r=>{try{const i=ome(t,r);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return sme(t,r).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}}),d4=Je("$ZodString",(t,e)=>{ba.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??Rme(t._zod.bag),t._zod.parse=(n,a)=>{if(e.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:t}),n}}),ya=Je("$ZodStringFormat",(t,e)=>{Dx.init(t,e),d4.init(t,e)}),nge=Je("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=_me),ya.init(t,e)}),age=Je("$ZodUUID",(t,e)=>{if(e.version){const a={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(a===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=H9(a))}else e.pattern??(e.pattern=H9());ya.init(t,e)}),rge=Je("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=Cme),ya.init(t,e)}),ige=Je("$ZodURL",(t,e)=>{ya.init(t,e),t._zod.check=n=>{try{const a=n.value.trim(),r=new URL(a);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=r.href:n.value=a;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),oge=Je("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=xme()),ya.init(t,e)}),sge=Je("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=kme),ya.init(t,e)}),cge=Je("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=hme),ya.init(t,e)}),lge=Je("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=fme),ya.init(t,e)}),uge=Je("$ZodULID",(t,e)=>{e.pattern??(e.pattern=bme),ya.init(t,e)}),dge=Je("$ZodXID",(t,e)=>{e.pattern??(e.pattern=yme),ya.init(t,e)}),pge=Je("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=wme),ya.init(t,e)}),Age=Je("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=Nme(e)),ya.init(t,e)}),mge=Je("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=Fme),ya.init(t,e)}),gge=Je("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=Lme(e)),ya.init(t,e)}),hge=Je("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=vme),ya.init(t,e)}),fge=Je("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=Bme),ya.init(t,e),t._zod.bag.format="ipv4"}),bge=Je("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=Ime),ya.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),yge=Je("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=Dme),ya.init(t,e)}),wge=Je("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=Qme),ya.init(t,e),t._zod.check=n=>{const a=n.value.split("/");try{if(a.length!==2)throw new Error;const[r,i]=a;if(!i)throw new Error;const o=Number(i);if(`${o}`!==i)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function XU(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const kge=Je("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=Sme),ya.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{XU(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function vge(t){if(!YU.test(t))return!1;const e=t.replace(/[-_]/g,a=>a==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return XU(n)}const _ge=Je("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=YU),ya.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{vge(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),Cge=Je("$ZodE164",(t,e)=>{e.pattern??(e.pattern=Tme),ya.init(t,e)});function Ege(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[a]=n;if(!a)return!1;const r=JSON.parse(atob(a));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||e&&(!("alg"in r)||r.alg!==e))}catch{return!1}}const xge=Je("$ZodJWT",(t,e)=>{ya.init(t,e),t._zod.check=n=>{Ege(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),eH=Je("$ZodNumber",(t,e)=>{ba.init(t,e),t._zod.pattern=t._zod.bag.pattern??$me,t._zod.parse=(n,a)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;const i=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:t,...i?{received:i}:{}}),n}}),Bge=Je("$ZodNumberFormat",(t,e)=>{qme.init(t,e),eH.init(t,e)}),Ige=Je("$ZodBoolean",(t,e)=>{ba.init(t,e),t._zod.pattern=Pme,t._zod.parse=(n,a)=>{if(e.coerce)try{n.value=!!n.value}catch{}const r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:t}),n}}),Dge=Je("$ZodAny",(t,e)=>{ba.init(t,e),t._zod.parse=n=>n}),Qge=Je("$ZodUnknown",(t,e)=>{ba.init(t,e),t._zod.parse=n=>n}),Sge=Je("$ZodNever",(t,e)=>{ba.init(t,e),t._zod.parse=(n,a)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function Y9(t,e,n){t.issues.length&&e.issues.push(...UA(n,t.issues)),e.value[n]=t.value}const Tge=Je("$ZodArray",(t,e)=>{ba.init(t,e),t._zod.parse=(n,a)=>{const r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:t}),n;n.value=Array(r.length);const i=[];for(let o=0;o<r.length;o++){const s=r[o],l=e.element._zod.run({value:s,issues:[]},a);l instanceof Promise?i.push(l.then(u=>Y9(u,n,o))):Y9(l,n,o)}return i.length?Promise.all(i).then(()=>n):n}});function H_(t,e,n,a){t.issues.length&&e.issues.push(...UA(n,t.issues)),t.value===void 0?n in a&&(e.value[n]=void 0):e.value[n]=t.value}function tH(t){const e=Object.keys(t.shape);for(const a of e)if(!t.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${a}": expected a Zod schema`);const n=KAe(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function nH(t,e,n,a,r,i){const o=[],s=r.keySet,l=r.catchall._zod,u=l.def.type;for(const d in e){if(s.has(d))continue;if(u==="never"){o.push(d);continue}const p=l.run({value:e[d],issues:[]},a);p instanceof Promise?t.push(p.then(A=>H_(A,n,d,e))):H_(p,n,d,e)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:i}),t.length?Promise.all(t).then(()=>n):n}const Fge=Je("$ZodObject",(t,e)=>{if(ba.init(t,e),!Object.getOwnPropertyDescriptor(e,"shape")?.get){const s=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...s};return Object.defineProperty(e,"shape",{value:l}),l}})}const a=xx(()=>tH(e));Jn(t._zod,"propValues",()=>{const s=e.shape,l={};for(const u in s){const d=s[u]._zod;if(d.values){l[u]??(l[u]=new Set);for(const p of d.values)l[u].add(p)}}return l});const r=$y,i=e.catchall;let o;t._zod.parse=(s,l)=>{o??(o=a.value);const u=s.value;if(!r(u))return s.issues.push({expected:"object",code:"invalid_type",input:u,inst:t}),s;s.value={};const d=[],p=o.shape;for(const A of o.keys){const g=p[A]._zod.run({value:u[A],issues:[]},l);g instanceof Promise?d.push(g.then(h=>H_(h,s,A,u))):H_(g,s,A,u)}return i?nH(d,u,s,l,a.value,t):d.length?Promise.all(d).then(()=>s):s}}),Lge=Je("$ZodObjectJIT",(t,e)=>{Fge.init(t,e);const n=t._zod.parse,a=xx(()=>tH(e)),r=A=>{const m=new ege(["shape","payload","ctx"]),g=a.value,h=y=>{const v=U9(y);return`shape[${v}]._zod.run({ value: input[${v}], issues: [] }, ctx)`};m.write("const input = payload.value;");const f=Object.create(null);let b=0;for(const y of g.keys)f[y]=`key_${b++}`;m.write("const newResult = {};");for(const y of g.keys){const v=f[y],_=U9(y);m.write(`const ${v} = ${h(y)};`),m.write(`
|
|
5
5
|
if (${v}.issues.length) {
|
|
@@ -23,7 +23,7 @@ import{e as HR,c as ft,b as zpe,r as Te,a as Upe,g as Hpe,f as wc,j as be}from".
|
|
|
23
23
|
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const i of t.seen.entries()){const o=i[1];if(e===i[0]){r(i);continue}if(t.external){const l=t.external.registry.get(i[0])?.id;if(e!==i[0]&&l){r(i);continue}}if(t.metadataRegistry.get(i[0])?.id){r(i);continue}if(o.cycle){r(i);continue}if(o.count>1&&t.reused==="ref"){r(i);continue}}}function cH(t,e){const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=o=>{const s=t.seen.get(o),l=s.def??s.schema,u={...l};if(s.ref===null)return;const d=s.ref;if(s.ref=null,d){a(d);const p=t.seen.get(d).schema;p.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(p)):(Object.assign(l,p),Object.assign(l,u))}s.isParent||t.override({zodSchema:o,jsonSchema:l,path:s.path??[]})};for(const o of[...t.seen.entries()].reverse())a(o[0]);const r={};if(t.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":t.target,t.external?.uri){const o=t.external.registry.get(e)?.id;if(!o)throw new Error("Schema is missing an `id` property");r.$id=t.external.uri(o)}Object.assign(r,n.def??n.schema);const i=t.external?.defs??{};for(const o of t.seen.entries()){const s=o[1];s.def&&s.defId&&(i[s.defId]=s.def)}t.external||Object.keys(i).length>0&&(t.target==="draft-2020-12"?r.$defs=i:r.definitions=i);try{const o=JSON.parse(JSON.stringify(r));return Object.defineProperty(o,"~standard",{value:{...e["~standard"],jsonSchema:{input:W_(e,"input"),output:W_(e,"output")}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function gi(t,e){const n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);const a=t._zod.def;if(a.type==="transform")return!0;if(a.type==="array")return gi(a.element,n);if(a.type==="set")return gi(a.valueType,n);if(a.type==="lazy")return gi(a.getter(),n);if(a.type==="promise"||a.type==="optional"||a.type==="nonoptional"||a.type==="nullable"||a.type==="readonly"||a.type==="default"||a.type==="prefault")return gi(a.innerType,n);if(a.type==="intersection")return gi(a.left,n)||gi(a.right,n);if(a.type==="record"||a.type==="map")return gi(a.keyType,n)||gi(a.valueType,n);if(a.type==="pipe")return gi(a.in,n)||gi(a.out,n);if(a.type==="object"){for(const r in a.shape)if(gi(a.shape[r],n))return!0;return!1}if(a.type==="union"){for(const r of a.options)if(gi(r,n))return!0;return!1}if(a.type==="tuple"){for(const r of a.items)if(gi(r,n))return!0;return!!(a.rest&&gi(a.rest,n))}return!1}const Uhe=(t,e={})=>n=>{const a=oH({...n,processors:e});return Ar(t,a),sH(a,t),cH(a,t)},W_=(t,e)=>n=>{const{libraryOptions:a,target:r}=n??{},i=oH({...a??{},target:r,io:e,processors:{}});return Ar(t,i),sH(i,t),cH(i,t)},Hhe={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Yhe=(t,e,n,a)=>{const r=n;r.type="string";const{minimum:i,maximum:o,format:s,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof i=="number"&&(r.minLength=i),typeof o=="number"&&(r.maxLength=o),s&&(r.format=Hhe[s]??s,r.format===""&&delete r.format),u&&(r.contentEncoding=u),l&&l.size>0){const d=[...l];d.length===1?r.pattern=d[0].source:d.length>1&&(r.allOf=[...d.map(p=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},Whe=(t,e,n,a)=>{const r=n,{minimum:i,maximum:o,format:s,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:d}=t._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number",typeof d=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(r.minimum=d,r.exclusiveMinimum=!0):r.exclusiveMinimum=d),typeof i=="number"&&(r.minimum=i,typeof d=="number"&&e.target!=="draft-04"&&(d>=i?delete r.minimum:delete r.exclusiveMinimum)),typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(r.maximum=u,r.exclusiveMaximum=!0):r.exclusiveMaximum=u),typeof o=="number"&&(r.maximum=o,typeof u=="number"&&e.target!=="draft-04"&&(u<=o?delete r.maximum:delete r.exclusiveMaximum)),typeof l=="number"&&(r.multipleOf=l)},Khe=(t,e,n,a)=>{n.type="boolean"},Zhe=(t,e,n,a)=>{n.not={}},Vhe=(t,e,n,a)=>{},Jhe=(t,e,n,a)=>{},Xhe=(t,e,n,a)=>{const r=t._zod.def,i=jU(r.entries);i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),n.enum=i},efe=(t,e,n,a)=>{const r=t._zod.def,i=[];for(const o of r.values)if(o===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(o))}else i.push(o);if(i.length!==0)if(i.length===1){const o=i[0];n.type=o===null?"null":typeof o,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[o]:n.const=o}else i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),i.every(o=>typeof o=="boolean")&&(n.type="boolean"),i.every(o=>o===null)&&(n.type="null"),n.enum=i},tfe=(t,e,n,a)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},nfe=(t,e,n,a)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},afe=(t,e,n,a)=>{const r=n,i=t._zod.def,{minimum:o,maximum:s}=t._zod.bag;typeof o=="number"&&(r.minItems=o),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=Ar(i.element,e,{...a,path:[...a.path,"items"]})},rfe=(t,e,n,a)=>{const r=n,i=t._zod.def;r.type="object",r.properties={};const o=i.shape;for(const u in o)r.properties[u]=Ar(o[u],e,{...a,path:[...a.path,"properties",u]});const s=new Set(Object.keys(o)),l=new Set([...s].filter(u=>{const d=i.shape[u]._zod;return e.io==="input"?d.optin===void 0:d.optout===void 0}));l.size>0&&(r.required=Array.from(l)),i.catchall?._zod.def.type==="never"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=Ar(i.catchall,e,{...a,path:[...a.path,"additionalProperties"]})):e.io==="output"&&(r.additionalProperties=!1)},ife=(t,e,n,a)=>{const r=t._zod.def,i=r.inclusive===!1,o=r.options.map((s,l)=>Ar(s,e,{...a,path:[...a.path,i?"oneOf":"anyOf",l]}));i?n.oneOf=o:n.anyOf=o},ofe=(t,e,n,a)=>{const r=t._zod.def,i=Ar(r.left,e,{...a,path:[...a.path,"allOf",0]}),o=Ar(r.right,e,{...a,path:[...a.path,"allOf",1]}),s=u=>"allOf"in u&&Object.keys(u).length===1,l=[...s(i)?i.allOf:[i],...s(o)?o.allOf:[o]];n.allOf=l},sfe=(t,e,n,a)=>{const r=n,i=t._zod.def;r.type="object",(e.target==="draft-07"||e.target==="draft-2020-12")&&(r.propertyNames=Ar(i.keyType,e,{...a,path:[...a.path,"propertyNames"]})),r.additionalProperties=Ar(i.valueType,e,{...a,path:[...a.path,"additionalProperties"]})},cfe=(t,e,n,a)=>{const r=t._zod.def,i=Ar(r.innerType,e,a),o=e.seen.get(t);e.target==="openapi-3.0"?(o.ref=r.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},lfe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType},ufe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},dfe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},pfe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType;let o;try{o=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},Afe=(t,e,n,a)=>{const r=t._zod.def,i=e.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;Ar(i,e,a);const o=e.seen.get(t);o.ref=i},mfe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType,n.readOnly=!0},gfe=(t,e,n,a)=>{const r=t._zod.def;Ar(r.innerType,e,a);const i=e.seen.get(t);i.ref=r.innerType},hfe=Je("ZodISODateTime",(t,e)=>{Age.init(t,e),xa.init(t,e)});function ffe(t){return whe(hfe,t)}const bfe=Je("ZodISODate",(t,e)=>{mge.init(t,e),xa.init(t,e)});function yfe(t){return khe(bfe,t)}const wfe=Je("ZodISOTime",(t,e)=>{gge.init(t,e),xa.init(t,e)});function kfe(t){return vhe(wfe,t)}const vfe=Je("ZodISODuration",(t,e)=>{hge.init(t,e),xa.init(t,e)});function _fe(t){return _he(vfe,t)}const Cfe=(t,e)=>{UU.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>ime(t,n)},flatten:{value:n=>rme(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,tS,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,tS,2)}},isEmpty:{get(){return t.issues.length===0}}})},Jo=Je("ZodError",Cfe,{Parent:Error}),Efe=l4(Jo),xfe=u4(Jo),Bfe=Bx(Jo),Ife=Ix(Jo),Dfe=cme(Jo),Qfe=lme(Jo),Sfe=ume(Jo),Tfe=dme(Jo),Ffe=pme(Jo),Lfe=Ame(Jo),Nfe=mme(Jo),Rfe=gme(Jo),Ea=Je("ZodType",(t,e)=>(ba.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:W_(t,"input"),output:W_(t,"output")}}),t.toJSONSchema=Uhe(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.check=(...n)=>t.clone(Lp(e,{checks:[...e.checks??[],...n.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]})),t.clone=(n,a)=>Lu(t,n,a),t.brand=()=>t,t.register=((n,a)=>(n.add(t,a),t)),t.parse=(n,a)=>Efe(t,n,a,{callee:t.parse}),t.safeParse=(n,a)=>Bfe(t,n,a),t.parseAsync=async(n,a)=>xfe(t,n,a,{callee:t.parseAsync}),t.safeParseAsync=async(n,a)=>Ife(t,n,a),t.spa=t.safeParseAsync,t.encode=(n,a)=>Dfe(t,n,a),t.decode=(n,a)=>Qfe(t,n,a),t.encodeAsync=async(n,a)=>Sfe(t,n,a),t.decodeAsync=async(n,a)=>Tfe(t,n,a),t.safeEncode=(n,a)=>Ffe(t,n,a),t.safeDecode=(n,a)=>Lfe(t,n,a),t.safeEncodeAsync=async(n,a)=>Nfe(t,n,a),t.safeDecodeAsync=async(n,a)=>Rfe(t,n,a),t.refine=(n,a)=>t.check(Sbe(n,a)),t.superRefine=n=>t.check(Tbe(n)),t.overwrite=n=>t.check(gh(n)),t.optional=()=>lM(t),t.nullable=()=>uM(t),t.nullish=()=>lM(uM(t)),t.nonoptional=n=>Cbe(t,n),t.array=()=>cbe(t),t.or=n=>ube([t,n]),t.and=n=>Abe(t,n),t.transform=n=>dM(t,bbe(n)),t.default=n=>kbe(t,n),t.prefault=n=>_be(t,n),t.catch=n=>xbe(t,n),t.pipe=n=>dM(t,n),t.readonly=()=>Dbe(t),t.describe=n=>{const a=t.clone();return sb.add(a,{description:n}),a},Object.defineProperty(t,"description",{get(){return sb.get(t)?.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return sb.get(t);const a=t.clone();return sb.add(a,n[0]),a},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),lH=Je("_ZodString",(t,e)=>{d4.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(a,r,i)=>Yhe(t,a,r);const n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,t.regex=(...a)=>t.check(Qhe(...a)),t.includes=(...a)=>t.check(Fhe(...a)),t.startsWith=(...a)=>t.check(Lhe(...a)),t.endsWith=(...a)=>t.check(Nhe(...a)),t.min=(...a)=>t.check(Y_(...a)),t.max=(...a)=>t.check(rH(...a)),t.length=(...a)=>t.check(iH(...a)),t.nonempty=(...a)=>t.check(Y_(1,...a)),t.lowercase=a=>t.check(She(a)),t.uppercase=a=>t.check(The(a)),t.trim=()=>t.check(Mhe()),t.normalize=(...a)=>t.check(Rhe(...a)),t.toLowerCase=()=>t.check($he()),t.toUpperCase=()=>t.check(Phe()),t.slugify=()=>t.check(Ohe())}),Mfe=Je("ZodString",(t,e)=>{d4.init(t,e),lH.init(t,e),t.email=n=>t.check(Xge($fe,n)),t.url=n=>t.check(rhe(Pfe,n)),t.jwt=n=>t.check(yhe(ebe,n)),t.emoji=n=>t.check(ihe(Ofe,n)),t.guid=n=>t.check(nM(oM,n)),t.uuid=n=>t.check(ehe(o0,n)),t.uuidv4=n=>t.check(the(o0,n)),t.uuidv6=n=>t.check(nhe(o0,n)),t.uuidv7=n=>t.check(ahe(o0,n)),t.nanoid=n=>t.check(ohe(jfe,n)),t.guid=n=>t.check(nM(oM,n)),t.cuid=n=>t.check(she(Gfe,n)),t.cuid2=n=>t.check(che(qfe,n)),t.ulid=n=>t.check(lhe(zfe,n)),t.base64=n=>t.check(hhe(Vfe,n)),t.base64url=n=>t.check(fhe(Jfe,n)),t.xid=n=>t.check(uhe(Ufe,n)),t.ksuid=n=>t.check(dhe(Hfe,n)),t.ipv4=n=>t.check(phe(Yfe,n)),t.ipv6=n=>t.check(Ahe(Wfe,n)),t.cidrv4=n=>t.check(mhe(Kfe,n)),t.cidrv6=n=>t.check(ghe(Zfe,n)),t.e164=n=>t.check(bhe(Xfe,n)),t.datetime=n=>t.check(ffe(n)),t.date=n=>t.check(yfe(n)),t.time=n=>t.check(kfe(n)),t.duration=n=>t.check(_fe(n))});function XFt(t){return Jge(Mfe,t)}const xa=Je("ZodStringFormat",(t,e)=>{ya.init(t,e),lH.init(t,e)}),$fe=Je("ZodEmail",(t,e)=>{rge.init(t,e),xa.init(t,e)}),oM=Je("ZodGUID",(t,e)=>{nge.init(t,e),xa.init(t,e)}),o0=Je("ZodUUID",(t,e)=>{age.init(t,e),xa.init(t,e)}),Pfe=Je("ZodURL",(t,e)=>{ige.init(t,e),xa.init(t,e)}),Ofe=Je("ZodEmoji",(t,e)=>{oge.init(t,e),xa.init(t,e)}),jfe=Je("ZodNanoID",(t,e)=>{sge.init(t,e),xa.init(t,e)}),Gfe=Je("ZodCUID",(t,e)=>{cge.init(t,e),xa.init(t,e)}),qfe=Je("ZodCUID2",(t,e)=>{lge.init(t,e),xa.init(t,e)}),zfe=Je("ZodULID",(t,e)=>{uge.init(t,e),xa.init(t,e)}),Ufe=Je("ZodXID",(t,e)=>{dge.init(t,e),xa.init(t,e)}),Hfe=Je("ZodKSUID",(t,e)=>{pge.init(t,e),xa.init(t,e)}),Yfe=Je("ZodIPv4",(t,e)=>{fge.init(t,e),xa.init(t,e)}),Wfe=Je("ZodIPv6",(t,e)=>{bge.init(t,e),xa.init(t,e)}),Kfe=Je("ZodCIDRv4",(t,e)=>{yge.init(t,e),xa.init(t,e)}),Zfe=Je("ZodCIDRv6",(t,e)=>{wge.init(t,e),xa.init(t,e)}),Vfe=Je("ZodBase64",(t,e)=>{kge.init(t,e),xa.init(t,e)}),Jfe=Je("ZodBase64URL",(t,e)=>{_ge.init(t,e),xa.init(t,e)}),Xfe=Je("ZodE164",(t,e)=>{Cge.init(t,e),xa.init(t,e)}),ebe=Je("ZodJWT",(t,e)=>{xge.init(t,e),xa.init(t,e)}),uH=Je("ZodNumber",(t,e)=>{eH.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(a,r,i)=>Whe(t,a,r),t.gt=(a,r)=>t.check(rM(a,r)),t.gte=(a,r)=>t.check(AI(a,r)),t.min=(a,r)=>t.check(AI(a,r)),t.lt=(a,r)=>t.check(aM(a,r)),t.lte=(a,r)=>t.check(pI(a,r)),t.max=(a,r)=>t.check(pI(a,r)),t.int=a=>t.check(sM(a)),t.safe=a=>t.check(sM(a)),t.positive=a=>t.check(rM(0,a)),t.nonnegative=a=>t.check(AI(0,a)),t.negative=a=>t.check(aM(0,a)),t.nonpositive=a=>t.check(pI(0,a)),t.multipleOf=(a,r)=>t.check(iM(a,r)),t.step=(a,r)=>t.check(iM(a,r)),t.finite=()=>t;const n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function e3t(t){return Che(uH,t)}const tbe=Je("ZodNumberFormat",(t,e)=>{Bge.init(t,e),uH.init(t,e)});function sM(t){return Ehe(tbe,t)}const nbe=Je("ZodBoolean",(t,e)=>{Ige.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Khe(t,n,a)});function t3t(t){return xhe(nbe,t)}const abe=Je("ZodAny",(t,e)=>{Dge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Vhe()});function n3t(){return Bhe(abe)}const rbe=Je("ZodUnknown",(t,e)=>{Qge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Jhe()});function cM(){return Ihe(rbe)}const ibe=Je("ZodNever",(t,e)=>{Sge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Zhe(t,n,a)});function obe(t){return Dhe(ibe,t)}const sbe=Je("ZodArray",(t,e)=>{Tge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>afe(t,n,a,r),t.element=e.element,t.min=(n,a)=>t.check(Y_(n,a)),t.nonempty=n=>t.check(Y_(1,n)),t.max=(n,a)=>t.check(rH(n,a)),t.length=(n,a)=>t.check(iH(n,a)),t.unwrap=()=>t.element});function cbe(t,e){return jhe(sbe,t,e)}const lbe=Je("ZodObject",(t,e)=>{Lge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>rfe(t,n,a,r),Jn(t,"shape",()=>e.shape),t.keyof=()=>gbe(Object.keys(t._zod.def.shape)),t.catchall=n=>t.clone({...t._zod.def,catchall:n}),t.passthrough=()=>t.clone({...t._zod.def,catchall:cM()}),t.loose=()=>t.clone({...t._zod.def,catchall:cM()}),t.strict=()=>t.clone({...t._zod.def,catchall:obe()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>XAe(t,n),t.safeExtend=n=>eme(t,n),t.merge=n=>tme(t,n),t.pick=n=>VAe(t,n),t.omit=n=>JAe(t,n),t.partial=(...n)=>nme(pH,t,n[0]),t.required=(...n)=>ame(AH,t,n[0])});function a3t(t,e){const n={type:"object",shape:t??{},...zt(e)};return new lbe(n)}const dH=Je("ZodUnion",(t,e)=>{aH.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>ife(t,n,a,r),t.options=e.options});function ube(t,e){return new dH({type:"union",options:t,...zt(e)})}const dbe=Je("ZodDiscriminatedUnion",(t,e)=>{dH.init(t,e),Nge.init(t,e)});function r3t(t,e,n){return new dbe({type:"union",options:e,discriminator:t,...zt(n)})}const pbe=Je("ZodIntersection",(t,e)=>{Rge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>ofe(t,n,a,r)});function Abe(t,e){return new pbe({type:"intersection",left:t,right:e})}const mbe=Je("ZodRecord",(t,e)=>{Mge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>sfe(t,n,a,r),t.keyType=e.keyType,t.valueType=e.valueType});function i3t(t,e,n){return new mbe({type:"record",keyType:t,valueType:e,...zt(n)})}const aS=Je("ZodEnum",(t,e)=>{$ge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(a,r,i)=>Xhe(t,a,r),t.enum=e.entries,t.options=Object.values(e.entries);const n=new Set(Object.keys(e.entries));t.extract=(a,r)=>{const i={};for(const o of a)if(n.has(o))i[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new aS({...e,checks:[],...zt(r),entries:i})},t.exclude=(a,r)=>{const i={...e.entries};for(const o of a)if(n.has(o))delete i[o];else throw new Error(`Key ${o} not found in enum`);return new aS({...e,checks:[],...zt(r),entries:i})}});function gbe(t,e){const n=Array.isArray(t)?Object.fromEntries(t.map(a=>[a,a])):t;return new aS({type:"enum",entries:n,...zt(e)})}const hbe=Je("ZodLiteral",(t,e)=>{Pge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>efe(t,n,a),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function o3t(t,e){return new hbe({type:"literal",values:Array.isArray(t)?t:[t],...zt(e)})}const fbe=Je("ZodTransform",(t,e)=>{Oge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>nfe(t,n),t._zod.parse=(n,a)=>{if(a.direction==="backward")throw new PU(t.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(Py(i,n.value,e));else{const o=i;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),n.issues.push(Py(o))}};const r=e.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n)):(n.value=r,n)}});function bbe(t){return new fbe({type:"transform",transform:t})}const pH=Je("ZodOptional",(t,e)=>{jge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>gfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType});function lM(t){return new pH({type:"optional",innerType:t})}const ybe=Je("ZodNullable",(t,e)=>{Gge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>cfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType});function uM(t){return new ybe({type:"nullable",innerType:t})}const wbe=Je("ZodDefault",(t,e)=>{qge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>ufe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function kbe(t,e){return new wbe({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():qU(e)}})}const vbe=Je("ZodPrefault",(t,e)=>{zge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>dfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType});function _be(t,e){return new vbe({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():qU(e)}})}const AH=Je("ZodNonOptional",(t,e)=>{Uge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>lfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType});function Cbe(t,e){return new AH({type:"nonoptional",innerType:t,...zt(e)})}const Ebe=Je("ZodCatch",(t,e)=>{Hge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>pfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function xbe(t,e){return new Ebe({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const Bbe=Je("ZodPipe",(t,e)=>{Yge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>Afe(t,n,a,r),t.in=e.in,t.out=e.out});function dM(t,e){return new Bbe({type:"pipe",in:t,out:e})}const Ibe=Je("ZodReadonly",(t,e)=>{Wge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>mfe(t,n,a,r),t.unwrap=()=>t._zod.def.innerType});function Dbe(t){return new Ibe({type:"readonly",innerType:t})}const Qbe=Je("ZodCustom",(t,e)=>{Kge.init(t,e),Ea.init(t,e),t._zod.processJSONSchema=(n,a,r)=>tfe(t,n)});function Sbe(t,e={}){return Ghe(Qbe,t,e)}function Tbe(t){return qhe(t)}var Mn;(function(t){t.assertEqual=r=>{};function e(r){}t.assertIs=e;function n(r){throw new Error}t.assertNever=n,t.arrayToEnum=r=>{const i={};for(const o of r)i[o]=o;return i},t.getValidEnumValues=r=>{const i=t.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),o={};for(const s of i)o[s]=r[s];return t.objectValues(o)},t.objectValues=r=>t.objectKeys(r).map(function(i){return r[i]}),t.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{const i=[];for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&i.push(o);return i},t.find=(r,i)=>{for(const o of r)if(i(o))return o},t.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&Number.isFinite(r)&&Math.floor(r)===r;function a(r,i=" | "){return r.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}t.joinValues=a,t.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(Mn||(Mn={}));var pM;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(pM||(pM={}));const Lt=Mn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Gl=t=>{switch(typeof t){case"undefined":return Lt.undefined;case"string":return Lt.string;case"number":return Number.isNaN(t)?Lt.nan:Lt.number;case"boolean":return Lt.boolean;case"function":return Lt.function;case"bigint":return Lt.bigint;case"symbol":return Lt.symbol;case"object":return Array.isArray(t)?Lt.array:t===null?Lt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Lt.promise:typeof Map<"u"&&t instanceof Map?Lt.map:typeof Set<"u"&&t instanceof Set?Lt.set:typeof Date<"u"&&t instanceof Date?Lt.date:Lt.object;default:return Lt.unknown}},gt=Mn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ul extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(i){return i.message},a={_errors:[]},r=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(r);else if(o.code==="invalid_return_type")r(o.returnTypeError);else if(o.code==="invalid_arguments")r(o.argumentsError);else if(o.path.length===0)a._errors.push(n(o));else{let s=a,l=0;for(;l<o.path.length;){const u=o.path[l];l===o.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(n(o))):s[u]=s[u]||{_errors:[]},s=s[u],l++}}};return r(this),a}static assert(e){if(!(e instanceof ul))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Mn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},a=[];for(const r of this.issues)if(r.path.length>0){const i=r.path[0];n[i]=n[i]||[],n[i].push(e(r))}else a.push(e(r));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}ul.create=t=>new ul(t);const rS=(t,e)=>{let n;switch(t.code){case gt.invalid_type:t.received===Lt.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case gt.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Mn.jsonStringifyReplacer)}`;break;case gt.unrecognized_keys:n=`Unrecognized key(s) in object: ${Mn.joinValues(t.keys,", ")}`;break;case gt.invalid_union:n="Invalid input";break;case gt.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Mn.joinValues(t.options)}`;break;case gt.invalid_enum_value:n=`Invalid enum value. Expected ${Mn.joinValues(t.options)}, received '${t.received}'`;break;case gt.invalid_arguments:n="Invalid function arguments";break;case gt.invalid_return_type:n="Invalid function return type";break;case gt.invalid_date:n="Invalid date";break;case gt.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Mn.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case gt.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case gt.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case gt.custom:n="Invalid input";break;case gt.invalid_intersection_types:n="Intersection results could not be merged";break;case gt.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case gt.not_finite:n="Number must be finite";break;default:n=e.defaultError,Mn.assertNever(t)}return{message:n}};let Fbe=rS;function Lbe(){return Fbe}const Nbe=t=>{const{data:e,path:n,errorMaps:a,issueData:r}=t,i=[...n,...r.path||[]],o={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let s="";const l=a.filter(u=>!!u).slice().reverse();for(const u of l)s=u(o,{data:e,defaultError:s}).message;return{...r,path:i,message:s}};function Bt(t,e){const n=Lbe(),a=Nbe({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===rS?void 0:rS].filter(r=>!!r)});t.common.issues.push(a)}class _i{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const r of n){if(r.status==="aborted")return rn;r.status==="dirty"&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const r of n){const i=await r.key,o=await r.value;a.push({key:i,value:o})}return _i.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const r of n){const{key:i,value:o}=r;if(i.status==="aborted"||o.status==="aborted")return rn;i.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||r.alwaysSet)&&(a[i.value]=o.value)}return{status:e.value,value:a}}}const rn=Object.freeze({status:"aborted"}),cb=t=>({status:"dirty",value:t}),Xo=t=>({status:"valid",value:t}),AM=t=>t.status==="aborted",mM=t=>t.status==="dirty",Eg=t=>t.status==="valid",K_=t=>typeof Promise<"u"&&t instanceof Promise;var $t;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})($t||($t={}));class pc{constructor(e,n,a,r){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const gM=(t,e)=>{if(Eg(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ul(t.common.issues);return this._error=n,this._error}}};function dn(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:r}=t;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:r}:{errorMap:(o,s)=>{const{message:l}=t;return o.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??a??s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:r}}class xn{get description(){return this._def.description}_getType(e){return Gl(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Gl(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new _i,ctx:{common:e.parent.common,data:e.data,parsedType:Gl(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(K_(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){const a={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Gl(e)},r=this._parseSync({data:e,path:a.path,parent:a});return gM(a,r)}"~validate"(e){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Gl(e)};if(!this["~standard"].async)try{const a=this._parseSync({data:e,path:[],parent:n});return Eg(a)?{value:a.value}:{issues:n.common.issues}}catch(a){a?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(a=>Eg(a)?{value:a.value}:{issues:n.common.issues})}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Gl(e)},r=this._parse({data:e,path:a.path,parent:a}),i=await(K_(r)?r:Promise.resolve(r));return gM(a,i)}refine(e,n){const a=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,i)=>{const o=e(r),s=()=>i.addIssue({code:gt.custom,...a(r)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(e,n){return this._refinement((a,r)=>e(a)?!0:(r.addIssue(typeof n=="function"?n(a,r):n),!1))}_refinement(e){return new Ig({schema:this,typeName:nn.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return nu.create(this,this._def)}nullable(){return Dg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return sc.create(this)}promise(){return eC.create(this,this._def)}or(e){return V_.create([this,e],this._def)}and(e){return J_.create(this,e,this._def)}transform(e){return new Ig({...dn(this._def),schema:this,typeName:nn.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new uS({...dn(this._def),innerType:this,defaultValue:n,typeName:nn.ZodDefault})}brand(){return new rye({typeName:nn.ZodBranded,type:this,...dn(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new dS({...dn(this._def),innerType:this,catchValue:n,typeName:nn.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return p4.create(this,e)}readonly(){return pS.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Rbe=/^c[^\s-]{8,}$/i,Mbe=/^[0-9a-z]+$/,$be=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Pbe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Obe=/^[a-z0-9_-]{21}$/i,jbe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Gbe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,qbe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,zbe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let mI;const Ube=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Hbe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Ybe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Wbe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Kbe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Zbe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,mH="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Vbe=new RegExp(`^${mH}$`);function gH(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function Jbe(t){return new RegExp(`^${gH(t)}$`)}function Xbe(t){let e=`${mH}T${gH(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function eye(t,e){return!!((e==="v4"||!e)&&Ube.test(t)||(e==="v6"||!e)&&Ybe.test(t))}function tye(t,e){if(!jbe.test(t))return!1;try{const[n]=t.split(".");if(!n)return!1;const a=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),r=JSON.parse(atob(a));return!(typeof r!="object"||r===null||"typ"in r&&r?.typ!=="JWT"||!r.alg||e&&r.alg!==e)}catch{return!1}}function nye(t,e){return!!((e==="v4"||!e)&&Hbe.test(t)||(e==="v6"||!e)&&Wbe.test(t))}class Zc extends xn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Lt.string){const i=this._getOrReturnCtx(e);return Bt(i,{code:gt.invalid_type,expected:Lt.string,received:i.parsedType}),rn}const a=new _i;let r;for(const i of this._def.checks)if(i.kind==="min")e.data.length<i.value&&(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),a.dirty());else if(i.kind==="max")e.data.length>i.value&&(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),a.dirty());else if(i.kind==="length"){const o=e.data.length>i.value,s=e.data.length<i.value;(o||s)&&(r=this._getOrReturnCtx(e,r),o?Bt(r,{code:gt.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):s&&Bt(r,{code:gt.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),a.dirty())}else if(i.kind==="email")qbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"email",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="emoji")mI||(mI=new RegExp(zbe,"u")),mI.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"emoji",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="uuid")Pbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"uuid",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="nanoid")Obe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"nanoid",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="cuid")Rbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"cuid",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="cuid2")Mbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"cuid2",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="ulid")$be.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"ulid",code:gt.invalid_string,message:i.message}),a.dirty());else if(i.kind==="url")try{new URL(e.data)}catch{r=this._getOrReturnCtx(e,r),Bt(r,{validation:"url",code:gt.invalid_string,message:i.message}),a.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"regex",code:gt.invalid_string,message:i.message}),a.dirty())):i.kind==="trim"?e.data=e.data.trim():i.kind==="includes"?e.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),a.dirty()):i.kind==="toLowerCase"?e.data=e.data.toLowerCase():i.kind==="toUpperCase"?e.data=e.data.toUpperCase():i.kind==="startsWith"?e.data.startsWith(i.value)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:{startsWith:i.value},message:i.message}),a.dirty()):i.kind==="endsWith"?e.data.endsWith(i.value)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:{endsWith:i.value},message:i.message}),a.dirty()):i.kind==="datetime"?Xbe(i).test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:"datetime",message:i.message}),a.dirty()):i.kind==="date"?Vbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:"date",message:i.message}),a.dirty()):i.kind==="time"?Jbe(i).test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.invalid_string,validation:"time",message:i.message}),a.dirty()):i.kind==="duration"?Gbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"duration",code:gt.invalid_string,message:i.message}),a.dirty()):i.kind==="ip"?eye(e.data,i.version)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"ip",code:gt.invalid_string,message:i.message}),a.dirty()):i.kind==="jwt"?tye(e.data,i.alg)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"jwt",code:gt.invalid_string,message:i.message}),a.dirty()):i.kind==="cidr"?nye(e.data,i.version)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"cidr",code:gt.invalid_string,message:i.message}),a.dirty()):i.kind==="base64"?Kbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"base64",code:gt.invalid_string,message:i.message}),a.dirty()):i.kind==="base64url"?Zbe.test(e.data)||(r=this._getOrReturnCtx(e,r),Bt(r,{validation:"base64url",code:gt.invalid_string,message:i.message}),a.dirty()):Mn.assertNever(i);return{status:a.value,value:e.data}}_regex(e,n,a){return this.refinement(r=>e.test(r),{validation:n,code:gt.invalid_string,...$t.errToObj(a)})}_addCheck(e){return new Zc({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...$t.errToObj(e)})}url(e){return this._addCheck({kind:"url",...$t.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...$t.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...$t.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...$t.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...$t.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...$t.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...$t.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...$t.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...$t.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...$t.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...$t.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...$t.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...$t.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...$t.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...$t.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...$t.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...$t.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...$t.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...$t.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...$t.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...$t.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...$t.errToObj(n)})}nonempty(e){return this.min(1,$t.errToObj(e))}trim(){return new Zc({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Zc({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Zc({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Zc.create=t=>new Zc({checks:[],typeName:nn.ZodString,coerce:t?.coerce??!1,...dn(t)});function aye(t,e){const n=(t.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,r=n>a?n:a,i=Number.parseInt(t.toFixed(r).replace(".","")),o=Number.parseInt(e.toFixed(r).replace(".",""));return i%o/10**r}class xg extends xn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Lt.number){const i=this._getOrReturnCtx(e);return Bt(i,{code:gt.invalid_type,expected:Lt.number,received:i.parsedType}),rn}let a;const r=new _i;for(const i of this._def.checks)i.kind==="int"?Mn.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?aye(e.data,i.value)!==0&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.not_finite,message:i.message}),r.dirty()):Mn.assertNever(i);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,$t.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$t.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$t.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$t.toString(n))}setLimit(e,n,a,r){return new xg({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:$t.toString(r)}]})}_addCheck(e){return new xg({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:$t.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:$t.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:$t.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:$t.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:$t.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$t.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:$t.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:$t.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:$t.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Mn.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.value<e)&&(e=a.value)}return Number.isFinite(n)&&Number.isFinite(e)}}xg.create=t=>new xg({checks:[],typeName:nn.ZodNumber,coerce:t?.coerce||!1,...dn(t)});class Oy extends xn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==Lt.bigint)return this._getInvalidInput(e);let a;const r=new _i;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?e.data<i.value:e.data<=i.value)&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?e.data>i.value:e.data>=i.value)&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Bt(a,{code:gt.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):Mn.assertNever(i);return{status:r.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return Bt(n,{code:gt.invalid_type,expected:Lt.bigint,received:n.parsedType}),rn}gte(e,n){return this.setLimit("min",e,!0,$t.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$t.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$t.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$t.toString(n))}setLimit(e,n,a,r){return new Oy({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:$t.toString(r)}]})}_addCheck(e){return new Oy({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:$t.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:$t.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:$t.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:$t.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$t.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Oy.create=t=>new Oy({checks:[],typeName:nn.ZodBigInt,coerce:t?.coerce??!1,...dn(t)});class iS extends xn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Lt.boolean){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.boolean,received:a.parsedType}),rn}return Xo(e.data)}}iS.create=t=>new iS({typeName:nn.ZodBoolean,coerce:t?.coerce||!1,...dn(t)});class Z_ extends xn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Lt.date){const i=this._getOrReturnCtx(e);return Bt(i,{code:gt.invalid_type,expected:Lt.date,received:i.parsedType}),rn}if(Number.isNaN(e.data.getTime())){const i=this._getOrReturnCtx(e);return Bt(i,{code:gt.invalid_date}),rn}const a=new _i;let r;for(const i of this._def.checks)i.kind==="min"?e.data.getTime()<i.value&&(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),a.dirty()):i.kind==="max"?e.data.getTime()>i.value&&(r=this._getOrReturnCtx(e,r),Bt(r,{code:gt.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),a.dirty()):Mn.assertNever(i);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Z_({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:$t.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:$t.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Z_.create=t=>new Z_({checks:[],coerce:t?.coerce||!1,typeName:nn.ZodDate,...dn(t)});class hM extends xn{_parse(e){if(this._getType(e)!==Lt.symbol){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.symbol,received:a.parsedType}),rn}return Xo(e.data)}}hM.create=t=>new hM({typeName:nn.ZodSymbol,...dn(t)});class fM extends xn{_parse(e){if(this._getType(e)!==Lt.undefined){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.undefined,received:a.parsedType}),rn}return Xo(e.data)}}fM.create=t=>new fM({typeName:nn.ZodUndefined,...dn(t)});class oS extends xn{_parse(e){if(this._getType(e)!==Lt.null){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.null,received:a.parsedType}),rn}return Xo(e.data)}}oS.create=t=>new oS({typeName:nn.ZodNull,...dn(t)});class bM extends xn{constructor(){super(...arguments),this._any=!0}_parse(e){return Xo(e.data)}}bM.create=t=>new bM({typeName:nn.ZodAny,...dn(t)});class sS extends xn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Xo(e.data)}}sS.create=t=>new sS({typeName:nn.ZodUnknown,...dn(t)});class du extends xn{_parse(e){const n=this._getOrReturnCtx(e);return Bt(n,{code:gt.invalid_type,expected:Lt.never,received:n.parsedType}),rn}}du.create=t=>new du({typeName:nn.ZodNever,...dn(t)});class yM extends xn{_parse(e){if(this._getType(e)!==Lt.undefined){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.void,received:a.parsedType}),rn}return Xo(e.data)}}yM.create=t=>new yM({typeName:nn.ZodVoid,...dn(t)});class sc extends xn{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==Lt.array)return Bt(n,{code:gt.invalid_type,expected:Lt.array,received:n.parsedType}),rn;if(r.exactLength!==null){const o=n.data.length>r.exactLength.value,s=n.data.length<r.exactLength.value;(o||s)&&(Bt(n,{code:o?gt.too_big:gt.too_small,minimum:s?r.exactLength.value:void 0,maximum:o?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),a.dirty())}if(r.minLength!==null&&n.data.length<r.minLength.value&&(Bt(n,{code:gt.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),a.dirty()),r.maxLength!==null&&n.data.length>r.maxLength.value&&(Bt(n,{code:gt.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((o,s)=>r.type._parseAsync(new pc(n,o,n.path,s)))).then(o=>_i.mergeArray(a,o));const i=[...n.data].map((o,s)=>r.type._parseSync(new pc(n,o,n.path,s)));return _i.mergeArray(a,i)}get element(){return this._def.type}min(e,n){return new sc({...this._def,minLength:{value:e,message:$t.toString(n)}})}max(e,n){return new sc({...this._def,maxLength:{value:e,message:$t.toString(n)}})}length(e,n){return new sc({...this._def,exactLength:{value:e,message:$t.toString(n)}})}nonempty(e){return this.min(1,e)}}sc.create=(t,e)=>new sc({type:t,minLength:null,maxLength:null,exactLength:null,typeName:nn.ZodArray,...dn(e)});function LA(t){if(t instanceof Ha){const e={};for(const n in t.shape){const a=t.shape[n];e[n]=nu.create(LA(a))}return new Ha({...t._def,shape:()=>e})}else return t instanceof sc?new sc({...t._def,type:LA(t.element)}):t instanceof nu?nu.create(LA(t.unwrap())):t instanceof Dg?Dg.create(LA(t.unwrap())):t instanceof np?np.create(t.items.map(e=>LA(e))):t}class Ha extends xn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Mn.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==Lt.object){const u=this._getOrReturnCtx(e);return Bt(u,{code:gt.invalid_type,expected:Lt.object,received:u.parsedType}),rn}const{status:a,ctx:r}=this._processInputParams(e),{shape:i,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof du&&this._def.unknownKeys==="strip"))for(const u in r.data)o.includes(u)||s.push(u);const l=[];for(const u of o){const d=i[u],p=r.data[u];l.push({key:{status:"valid",value:u},value:d._parse(new pc(r,p,r.path,u)),alwaysSet:u in r.data})}if(this._def.catchall instanceof du){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of s)l.push({key:{status:"valid",value:d},value:{status:"valid",value:r.data[d]}});else if(u==="strict")s.length>0&&(Bt(r,{code:gt.unrecognized_keys,keys:s}),a.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of s){const p=r.data[d];l.push({key:{status:"valid",value:d},value:u._parse(new pc(r,p,r.path,d)),alwaysSet:d in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of l){const p=await d.key,A=await d.value;u.push({key:p,value:A,alwaysSet:d.alwaysSet})}return u}).then(u=>_i.mergeObjectSync(a,u)):_i.mergeObjectSync(a,l)}get shape(){return this._def.shape()}strict(e){return $t.errToObj,new Ha({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{const r=this._def.errorMap?.(n,a).message??a.defaultError;return n.code==="unrecognized_keys"?{message:$t.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new Ha({...this._def,unknownKeys:"strip"})}passthrough(){return new Ha({...this._def,unknownKeys:"passthrough"})}extend(e){return new Ha({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Ha({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:nn.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Ha({...this._def,catchall:e})}pick(e){const n={};for(const a of Mn.objectKeys(e))e[a]&&this.shape[a]&&(n[a]=this.shape[a]);return new Ha({...this._def,shape:()=>n})}omit(e){const n={};for(const a of Mn.objectKeys(this.shape))e[a]||(n[a]=this.shape[a]);return new Ha({...this._def,shape:()=>n})}deepPartial(){return LA(this)}partial(e){const n={};for(const a of Mn.objectKeys(this.shape)){const r=this.shape[a];e&&!e[a]?n[a]=r:n[a]=r.optional()}return new Ha({...this._def,shape:()=>n})}required(e){const n={};for(const a of Mn.objectKeys(this.shape))if(e&&!e[a])n[a]=this.shape[a];else{let i=this.shape[a];for(;i instanceof nu;)i=i._def.innerType;n[a]=i}return new Ha({...this._def,shape:()=>n})}keyof(){return hH(Mn.objectKeys(this.shape))}}Ha.create=(t,e)=>new Ha({shape:()=>t,unknownKeys:"strip",catchall:du.create(),typeName:nn.ZodObject,...dn(e)});Ha.strictCreate=(t,e)=>new Ha({shape:()=>t,unknownKeys:"strict",catchall:du.create(),typeName:nn.ZodObject,...dn(e)});Ha.lazycreate=(t,e)=>new Ha({shape:t,unknownKeys:"strip",catchall:du.create(),typeName:nn.ZodObject,...dn(e)});class V_ extends xn{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function r(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const o=i.map(s=>new ul(s.ctx.common.issues));return Bt(n,{code:gt.invalid_union,unionErrors:o}),rn}if(n.common.async)return Promise.all(a.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(r);{let i;const o=[];for(const l of a){const u={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const s=o.map(l=>new ul(l));return Bt(n,{code:gt.invalid_union,unionErrors:s}),rn}}get options(){return this._def.options}}V_.create=(t,e)=>new V_({options:t,typeName:nn.ZodUnion,...dn(e)});function cS(t,e){const n=Gl(t),a=Gl(e);if(t===e)return{valid:!0,data:t};if(n===Lt.object&&a===Lt.object){const r=Mn.objectKeys(e),i=Mn.objectKeys(t).filter(s=>r.indexOf(s)!==-1),o={...t,...e};for(const s of i){const l=cS(t[s],e[s]);if(!l.valid)return{valid:!1};o[s]=l.data}return{valid:!0,data:o}}else if(n===Lt.array&&a===Lt.array){if(t.length!==e.length)return{valid:!1};const r=[];for(let i=0;i<t.length;i++){const o=t[i],s=e[i],l=cS(o,s);if(!l.valid)return{valid:!1};r.push(l.data)}return{valid:!0,data:r}}else return n===Lt.date&&a===Lt.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class J_ extends xn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),r=(i,o)=>{if(AM(i)||AM(o))return rn;const s=cS(i.value,o.value);return s.valid?((mM(i)||mM(o))&&n.dirty(),{status:n.value,value:s.data}):(Bt(a,{code:gt.invalid_intersection_types}),rn)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([i,o])=>r(i,o)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}J_.create=(t,e,n)=>new J_({left:t,right:e,typeName:nn.ZodIntersection,...dn(n)});class np extends xn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Lt.array)return Bt(a,{code:gt.invalid_type,expected:Lt.array,received:a.parsedType}),rn;if(a.data.length<this._def.items.length)return Bt(a,{code:gt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),rn;!this._def.rest&&a.data.length>this._def.items.length&&(Bt(a,{code:gt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...a.data].map((o,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new pc(a,o,a.path,s)):null}).filter(o=>!!o);return a.common.async?Promise.all(i).then(o=>_i.mergeArray(n,o)):_i.mergeArray(n,i)}get items(){return this._def.items}rest(e){return new np({...this._def,rest:e})}}np.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new np({items:t,typeName:nn.ZodTuple,rest:null,...dn(e)})};class X_ extends xn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Lt.object)return Bt(a,{code:gt.invalid_type,expected:Lt.object,received:a.parsedType}),rn;const r=[],i=this._def.keyType,o=this._def.valueType;for(const s in a.data)r.push({key:i._parse(new pc(a,s,a.path,s)),value:o._parse(new pc(a,a.data[s],a.path,s)),alwaysSet:s in a.data});return a.common.async?_i.mergeObjectAsync(n,r):_i.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof xn?new X_({keyType:e,valueType:n,typeName:nn.ZodRecord,...dn(a)}):new X_({keyType:Zc.create(),valueType:e,typeName:nn.ZodRecord,...dn(n)})}}class wM extends xn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Lt.map)return Bt(a,{code:gt.invalid_type,expected:Lt.map,received:a.parsedType}),rn;const r=this._def.keyType,i=this._def.valueType,o=[...a.data.entries()].map(([s,l],u)=>({key:r._parse(new pc(a,s,a.path,[u,"key"])),value:i._parse(new pc(a,l,a.path,[u,"value"]))}));if(a.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of o){const u=await l.key,d=await l.value;if(u.status==="aborted"||d.status==="aborted")return rn;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of o){const u=l.key,d=l.value;if(u.status==="aborted"||d.status==="aborted")return rn;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}}}}wM.create=(t,e,n)=>new wM({valueType:e,keyType:t,typeName:nn.ZodMap,...dn(n)});class jy extends xn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Lt.set)return Bt(a,{code:gt.invalid_type,expected:Lt.set,received:a.parsedType}),rn;const r=this._def;r.minSize!==null&&a.data.size<r.minSize.value&&(Bt(a,{code:gt.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),n.dirty()),r.maxSize!==null&&a.data.size>r.maxSize.value&&(Bt(a,{code:gt.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());const i=this._def.valueType;function o(l){const u=new Set;for(const d of l){if(d.status==="aborted")return rn;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const s=[...a.data.values()].map((l,u)=>i._parse(new pc(a,l,a.path,u)));return a.common.async?Promise.all(s).then(l=>o(l)):o(s)}min(e,n){return new jy({...this._def,minSize:{value:e,message:$t.toString(n)}})}max(e,n){return new jy({...this._def,maxSize:{value:e,message:$t.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}jy.create=(t,e)=>new jy({valueType:t,minSize:null,maxSize:null,typeName:nn.ZodSet,...dn(e)});class kM extends xn{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}kM.create=(t,e)=>new kM({getter:t,typeName:nn.ZodLazy,...dn(e)});class lS extends xn{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Bt(n,{received:n.data,code:gt.invalid_literal,expected:this._def.value}),rn}return{status:"valid",value:e.data}}get value(){return this._def.value}}lS.create=(t,e)=>new lS({value:t,typeName:nn.ZodLiteral,...dn(e)});function hH(t,e){return new Bg({values:t,typeName:nn.ZodEnum,...dn(e)})}class Bg extends xn{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return Bt(n,{expected:Mn.joinValues(a),received:n.parsedType,code:gt.invalid_type}),rn}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const n=this._getOrReturnCtx(e),a=this._def.values;return Bt(n,{received:n.data,code:gt.invalid_enum_value,options:a}),rn}return Xo(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return Bg.create(e,{...this._def,...n})}exclude(e,n=this._def){return Bg.create(this.options.filter(a=>!e.includes(a)),{...this._def,...n})}}Bg.create=hH;class vM extends xn{_parse(e){const n=Mn.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==Lt.string&&a.parsedType!==Lt.number){const r=Mn.objectValues(n);return Bt(a,{expected:Mn.joinValues(r),received:a.parsedType,code:gt.invalid_type}),rn}if(this._cache||(this._cache=new Set(Mn.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const r=Mn.objectValues(n);return Bt(a,{received:a.data,code:gt.invalid_enum_value,options:r}),rn}return Xo(e.data)}get enum(){return this._def.values}}vM.create=(t,e)=>new vM({values:t,typeName:nn.ZodNativeEnum,...dn(e)});class eC extends xn{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Lt.promise&&n.common.async===!1)return Bt(n,{code:gt.invalid_type,expected:Lt.promise,received:n.parsedType}),rn;const a=n.parsedType===Lt.promise?n.data:Promise.resolve(n.data);return Xo(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}}eC.create=(t,e)=>new eC({type:t,typeName:nn.ZodPromise,...dn(e)});class Ig extends xn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===nn.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:o=>{Bt(a,o),o.fatal?n.abort():n.dirty()},get path(){return a.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){const o=r.transform(a.data,i);if(a.common.async)return Promise.resolve(o).then(async s=>{if(n.value==="aborted")return rn;const l=await this._def.schema._parseAsync({data:s,path:a.path,parent:a});return l.status==="aborted"?rn:l.status==="dirty"||n.value==="dirty"?cb(l.value):l});{if(n.value==="aborted")return rn;const s=this._def.schema._parseSync({data:o,path:a.path,parent:a});return s.status==="aborted"?rn:s.status==="dirty"||n.value==="dirty"?cb(s.value):s}}if(r.type==="refinement"){const o=s=>{const l=r.refinement(s,i);if(a.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(a.common.async===!1){const s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),o(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>s.status==="aborted"?rn:(s.status==="dirty"&&n.dirty(),o(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(a.common.async===!1){const o=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!Eg(o))return rn;const s=r.transform(o.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(o=>Eg(o)?Promise.resolve(r.transform(o.value,i)).then(s=>({status:n.value,value:s})):rn);Mn.assertNever(r)}}Ig.create=(t,e,n)=>new Ig({schema:t,typeName:nn.ZodEffects,effect:e,...dn(n)});Ig.createWithPreprocess=(t,e,n)=>new Ig({schema:e,effect:{type:"preprocess",transform:t},typeName:nn.ZodEffects,...dn(n)});class nu extends xn{_parse(e){return this._getType(e)===Lt.undefined?Xo(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}nu.create=(t,e)=>new nu({innerType:t,typeName:nn.ZodOptional,...dn(e)});class Dg extends xn{_parse(e){return this._getType(e)===Lt.null?Xo(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Dg.create=(t,e)=>new Dg({innerType:t,typeName:nn.ZodNullable,...dn(e)});class uS extends xn{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===Lt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}uS.create=(t,e)=>new uS({innerType:t,typeName:nn.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...dn(e)});class dS extends xn{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return K_(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new ul(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new ul(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}dS.create=(t,e)=>new dS({innerType:t,typeName:nn.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...dn(e)});class _M extends xn{_parse(e){if(this._getType(e)!==Lt.nan){const a=this._getOrReturnCtx(e);return Bt(a,{code:gt.invalid_type,expected:Lt.nan,received:a.parsedType}),rn}return{status:"valid",value:e.data}}}_M.create=t=>new _M({typeName:nn.ZodNaN,...dn(t)});class rye extends xn{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class p4 extends xn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return i.status==="aborted"?rn:i.status==="dirty"?(n.dirty(),cb(i.value)):this._def.out._parseAsync({data:i.value,path:a.path,parent:a})})();{const r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?rn:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(e,n){return new p4({in:e,out:n,typeName:nn.ZodPipeline})}}class pS extends xn{_parse(e){const n=this._def.innerType._parse(e),a=r=>(Eg(r)&&(r.value=Object.freeze(r.value)),r);return K_(n)?n.then(r=>a(r)):a(n)}unwrap(){return this._def.innerType}}pS.create=(t,e)=>new pS({innerType:t,typeName:nn.ZodReadonly,...dn(e)});var nn;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(nn||(nn={}));const s3t=Zc.create,c3t=xg.create,l3t=iS.create,u3t=oS.create,d3t=sS.create;du.create;const p3t=sc.create,A3t=Ha.create,m3t=V_.create;J_.create;np.create;const g3t=X_.create,h3t=lS.create;Bg.create;eC.create;nu.create;Dg.create;const CM=t=>{let e;const n=new Set,a=(u,d)=>{const p=typeof u=="function"?u(e):u;if(!Object.is(p,e)){const A=e;e=d??(typeof p!="object"||p===null)?p:Object.assign({},e,p),n.forEach(m=>m(e,A))}},r=()=>e,s={setState:a,getState:r,getInitialState:()=>l,subscribe:u=>(n.add(u),()=>n.delete(u))},l=e=t(a,r,s);return s},iye=(t=>t?CM(t):CM),oye=t=>t;function sye(t,e=oye){const n=ft.useSyncExternalStore(t.subscribe,ft.useCallback(()=>e(t.getState()),[t,e]),ft.useCallback(()=>e(t.getInitialState()),[t,e]));return ft.useDebugValue(n),n}const EM=t=>{const e=iye(t),n=a=>sye(e,a);return Object.assign(n,e),n},f3t=(t=>t?EM(t):EM);function cye(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const lye=t=>{switch(t){case"success":return pye;case"info":return mye;case"warning":return Aye;case"error":return gye;default:return null}},uye=Array(12).fill(0),dye=({visible:t,className:e})=>ft.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},ft.createElement("div",{className:"sonner-spinner"},uye.map((n,a)=>ft.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),pye=ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ft.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Aye=ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ft.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),mye=ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ft.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),gye=ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ft.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),hye=ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ft.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ft.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),fye=()=>{const[t,e]=ft.useState(document.hidden);return ft.useEffect(()=>{const n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),t};let AS=1;class bye{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;const{message:a,...r}=e,i=typeof e?.id=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:AS++,o=this.toasts.find(l=>l.id===i),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...e,id:i,title:a}),{...l,...e,id:i,dismissible:s,title:a}):l):this.addToast({title:a,...r,dismissible:s,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:e,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(a=>a({id:n.id,dismiss:!0}))}),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let a;n.loading!==void 0&&(a=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const r=Promise.resolve(e instanceof Function?e():e);let i=a!==void 0,o;const s=r.then(async u=>{if(o=["resolve",u],ft.isValidElement(u))i=!1,this.create({id:a,type:"default",message:u});else if(wye(u)&&!u.ok){i=!1;const p=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,A=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description,g=typeof p=="object"&&!ft.isValidElement(p)?p:{message:p};this.create({id:a,type:"error",description:A,...g})}else if(u instanceof Error){i=!1;const p=typeof n.error=="function"?await n.error(u):n.error,A=typeof n.description=="function"?await n.description(u):n.description,g=typeof p=="object"&&!ft.isValidElement(p)?p:{message:p};this.create({id:a,type:"error",description:A,...g})}else if(n.success!==void 0){i=!1;const p=typeof n.success=="function"?await n.success(u):n.success,A=typeof n.description=="function"?await n.description(u):n.description,g=typeof p=="object"&&!ft.isValidElement(p)?p:{message:p};this.create({id:a,type:"success",description:A,...g})}}).catch(async u=>{if(o=["reject",u],n.error!==void 0){i=!1;const d=typeof n.error=="function"?await n.error(u):n.error,p=typeof n.description=="function"?await n.description(u):n.description,m=typeof d=="object"&&!ft.isValidElement(d)?d:{message:d};this.create({id:a,type:"error",description:p,...m})}}).finally(()=>{i&&(this.dismiss(a),a=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((u,d)=>s.then(()=>o[0]==="reject"?d(o[1]):u(o[1])).catch(d));return typeof a!="string"&&typeof a!="number"?{unwrap:l}:Object.assign(a,{unwrap:l})},this.custom=(e,n)=>{const a=n?.id||AS++;return this.create({jsx:e(a),id:a,...n}),a},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ri=new bye,yye=(t,e)=>{const n=e?.id||AS++;return Ri.addToast({title:t,...e,id:n}),n},wye=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",kye=yye,vye=()=>Ri.toasts,_ye=()=>Ri.getActiveToasts(),b3t=Object.assign(kye,{success:Ri.success,info:Ri.info,warning:Ri.warning,error:Ri.error,custom:Ri.custom,message:Ri.message,promise:Ri.promise,dismiss:Ri.dismiss,loading:Ri.loading},{getHistory:vye,getToasts:_ye});cye("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function s0(t){return t.label!==void 0}const Cye=3,Eye="24px",xye="16px",xM=4e3,Bye=356,Iye=14,Dye=45,Qye=200;function $s(...t){return t.filter(Boolean).join(" ")}function Sye(t){const[e,n]=t.split("-"),a=[];return e&&a.push(e),n&&a.push(n),a}const Tye=t=>{var e,n,a,r,i,o,s,l,u;const{invert:d,toast:p,unstyled:A,interacting:m,setHeights:g,visibleToasts:h,heights:f,index:b,toasts:w,expanded:y,removeToast:v,defaultRichColors:_,closeButton:I,style:C,cancelButtonStyle:E,actionButtonStyle:B,className:T="",descriptionClassName:D="",duration:N,position:R,gap:x,expandByDefault:F,classNames:Q,icons:L,closeButtonAriaLabel:S="Close toast"}=t,[M,j]=ft.useState(null),[$,G]=ft.useState(null),[q,W]=ft.useState(!1),[z,ne]=ft.useState(!1),[X,ce]=ft.useState(!1),[Z,V]=ft.useState(!1),[Y,H]=ft.useState(!1),[ee,K]=ft.useState(0),[Ae,te]=ft.useState(0),Be=ft.useRef(p.duration||N||xM),U=ft.useRef(null),Ne=ft.useRef(null),le=b===0,Ge=b+1<=h,$e=p.type,Ue=p.dismissible!==!1,xe=p.className||"",Re=p.descriptionClassName||"",Ce=ft.useMemo(()=>f.findIndex(Oe=>Oe.toastId===p.id)||0,[f,p.id]),Ie=ft.useMemo(()=>{var Oe;return(Oe=p.closeButton)!=null?Oe:I},[p.closeButton,I]),je=ft.useMemo(()=>p.duration||N||xM,[p.duration,N]),ge=ft.useRef(0),De=ft.useRef(0),J=ft.useRef(0),se=ft.useRef(null),[O,ie]=R.split("-"),re=ft.useMemo(()=>f.reduce((Oe,Ke,Fe)=>Fe>=Ce?Oe:Oe+Ke.height,0),[f,Ce]),me=fye(),ue=p.invert||d,ye=$e==="loading";De.current=ft.useMemo(()=>Ce*x+re,[Ce,re]),ft.useEffect(()=>{Be.current=je},[je]),ft.useEffect(()=>{W(!0)},[]),ft.useEffect(()=>{const Oe=Ne.current;if(Oe){const Ke=Oe.getBoundingClientRect().height;return te(Ke),g(Fe=>[{toastId:p.id,height:Ke,position:p.position},...Fe]),()=>g(Fe=>Fe.filter(qe=>qe.toastId!==p.id))}},[g,p.id]),ft.useLayoutEffect(()=>{if(!q)return;const Oe=Ne.current,Ke=Oe.style.height;Oe.style.height="auto";const Fe=Oe.getBoundingClientRect().height;Oe.style.height=Ke,te(Fe),g(qe=>qe.find(tt=>tt.toastId===p.id)?qe.map(tt=>tt.toastId===p.id?{...tt,height:Fe}:tt):[{toastId:p.id,height:Fe,position:p.position},...qe])},[q,p.title,p.description,g,p.id,p.jsx,p.action,p.cancel]);const ve=ft.useCallback(()=>{ne(!0),K(De.current),g(Oe=>Oe.filter(Ke=>Ke.toastId!==p.id)),setTimeout(()=>{v(p)},Qye)},[p,v,g,De]);ft.useEffect(()=>{if(p.promise&&$e==="loading"||p.duration===1/0||p.type==="loading")return;let Oe;return y||m||me?(()=>{if(J.current<ge.current){const qe=new Date().getTime()-ge.current;Be.current=Be.current-qe}J.current=new Date().getTime()})():Be.current!==1/0&&(ge.current=new Date().getTime(),Oe=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),ve()},Be.current)),()=>clearTimeout(Oe)},[y,m,p,$e,me,ve]),ft.useEffect(()=>{p.delete&&(ve(),p.onDismiss==null||p.onDismiss.call(p,p))},[ve,p.delete]);function _e(){var Oe;if(L?.loading){var Ke;return ft.createElement("div",{className:$s(Q?.loader,p==null||(Ke=p.classNames)==null?void 0:Ke.loader,"sonner-loader"),"data-visible":$e==="loading"},L.loading)}return ft.createElement(dye,{className:$s(Q?.loader,p==null||(Oe=p.classNames)==null?void 0:Oe.loader),visible:$e==="loading"})}const Se=p.icon||L?.[$e]||lye($e);var Ve,Ze;return ft.createElement("li",{tabIndex:0,ref:Ne,className:$s(T,xe,Q?.toast,p==null||(e=p.classNames)==null?void 0:e.toast,Q?.default,Q?.[$e],p==null||(n=p.classNames)==null?void 0:n[$e]),"data-sonner-toast":"","data-rich-colors":(Ve=p.richColors)!=null?Ve:_,"data-styled":!(p.jsx||p.unstyled||A),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":Y,"data-removed":z,"data-visible":Ge,"data-y-position":O,"data-x-position":ie,"data-index":b,"data-front":le,"data-swiping":X,"data-dismissible":Ue,"data-type":$e,"data-invert":ue,"data-swipe-out":Z,"data-swipe-direction":$,"data-expanded":!!(y||F&&q),"data-testid":p.testId,style:{"--index":b,"--toasts-before":b,"--z-index":w.length-b,"--offset":`${z?ee:De.current}px`,"--initial-height":F?"auto":`${Ae}px`,...C,...p.style},onDragEnd:()=>{ce(!1),j(null),se.current=null},onPointerDown:Oe=>{Oe.button!==2&&(ye||!Ue||(U.current=new Date,K(De.current),Oe.target.setPointerCapture(Oe.pointerId),Oe.target.tagName!=="BUTTON"&&(ce(!0),se.current={x:Oe.clientX,y:Oe.clientY})))},onPointerUp:()=>{var Oe,Ke,Fe;if(Z||!Ue)return;se.current=null;const qe=Number(((Oe=Ne.current)==null?void 0:Oe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),mt=Number(((Ke=Ne.current)==null?void 0:Ke.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),tt=new Date().getTime()-((Fe=U.current)==null?void 0:Fe.getTime()),ze=M==="x"?qe:mt,_t=Math.abs(ze)/tt;if(Math.abs(ze)>=Dye||_t>.11){K(De.current),p.onDismiss==null||p.onDismiss.call(p,p),G(M==="x"?qe>0?"right":"left":mt>0?"down":"up"),ve(),V(!0);return}else{var He,nt;(He=Ne.current)==null||He.style.setProperty("--swipe-amount-x","0px"),(nt=Ne.current)==null||nt.style.setProperty("--swipe-amount-y","0px")}H(!1),ce(!1),j(null)},onPointerMove:Oe=>{var Ke,Fe,qe;if(!se.current||!Ue||((Ke=window.getSelection())==null?void 0:Ke.toString().length)>0)return;const tt=Oe.clientY-se.current.y,ze=Oe.clientX-se.current.x;var _t;const He=(_t=t.swipeDirections)!=null?_t:Sye(R);!M&&(Math.abs(ze)>1||Math.abs(tt)>1)&&j(Math.abs(ze)>Math.abs(tt)?"x":"y");let nt={x:0,y:0};const ut=ct=>1/(1.5+Math.abs(ct)/20);if(M==="y"){if(He.includes("top")||He.includes("bottom"))if(He.includes("top")&&tt<0||He.includes("bottom")&&tt>0)nt.y=tt;else{const ct=tt*ut(tt);nt.y=Math.abs(ct)<Math.abs(tt)?ct:tt}}else if(M==="x"&&(He.includes("left")||He.includes("right")))if(He.includes("left")&&ze<0||He.includes("right")&&ze>0)nt.x=ze;else{const ct=ze*ut(ze);nt.x=Math.abs(ct)<Math.abs(ze)?ct:ze}(Math.abs(nt.x)>0||Math.abs(nt.y)>0)&&H(!0),(Fe=Ne.current)==null||Fe.style.setProperty("--swipe-amount-x",`${nt.x}px`),(qe=Ne.current)==null||qe.style.setProperty("--swipe-amount-y",`${nt.y}px`)}},Ie&&!p.jsx&&$e!=="loading"?ft.createElement("button",{"aria-label":S,"data-disabled":ye,"data-close-button":!0,onClick:ye||!Ue?()=>{}:()=>{ve(),p.onDismiss==null||p.onDismiss.call(p,p)},className:$s(Q?.closeButton,p==null||(a=p.classNames)==null?void 0:a.closeButton)},(Ze=L?.close)!=null?Ze:hye):null,($e||p.icon||p.promise)&&p.icon!==null&&(L?.[$e]!==null||p.icon)?ft.createElement("div",{"data-icon":"",className:$s(Q?.icon,p==null||(r=p.classNames)==null?void 0:r.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||_e():null,p.type!=="loading"?Se:null):null,ft.createElement("div",{"data-content":"",className:$s(Q?.content,p==null||(i=p.classNames)==null?void 0:i.content)},ft.createElement("div",{"data-title":"",className:$s(Q?.title,p==null||(o=p.classNames)==null?void 0:o.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?ft.createElement("div",{"data-description":"",className:$s(D,Re,Q?.description,p==null||(s=p.classNames)==null?void 0:s.description)},typeof p.description=="function"?p.description():p.description):null),ft.isValidElement(p.cancel)?p.cancel:p.cancel&&s0(p.cancel)?ft.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||E,onClick:Oe=>{s0(p.cancel)&&Ue&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,Oe),ve())},className:$s(Q?.cancelButton,p==null||(l=p.classNames)==null?void 0:l.cancelButton)},p.cancel.label):null,ft.isValidElement(p.action)?p.action:p.action&&s0(p.action)?ft.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||B,onClick:Oe=>{s0(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,Oe),!Oe.defaultPrevented&&ve())},className:$s(Q?.actionButton,p==null||(u=p.classNames)==null?void 0:u.actionButton)},p.action.label):null)};function BM(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Fye(t,e){const n={};return[t,e].forEach((a,r)=>{const i=r===1,o=i?"--mobile-offset":"--offset",s=i?xye:Eye;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof a=="number"||typeof a=="string"?l(a):typeof a=="object"?["top","right","bottom","left"].forEach(u=>{a[u]===void 0?n[`${o}-${u}`]=s:n[`${o}-${u}`]=typeof a[u]=="number"?`${a[u]}px`:a[u]}):l(s)}),n}const y3t=ft.forwardRef(function(e,n){const{id:a,invert:r,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:l,className:u,offset:d,mobileOffset:p,theme:A="light",richColors:m,duration:g,style:h,visibleToasts:f=Cye,toastOptions:b,dir:w=BM(),gap:y=Iye,icons:v,containerAriaLabel:_="Notifications"}=e,[I,C]=ft.useState([]),E=ft.useMemo(()=>a?I.filter(q=>q.toasterId===a):I.filter(q=>!q.toasterId),[I,a]),B=ft.useMemo(()=>Array.from(new Set([i].concat(E.filter(q=>q.position).map(q=>q.position)))),[E,i]),[T,D]=ft.useState([]),[N,R]=ft.useState(!1),[x,F]=ft.useState(!1),[Q,L]=ft.useState(A!=="system"?A:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),S=ft.useRef(null),M=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=ft.useRef(null),$=ft.useRef(!1),G=ft.useCallback(q=>{C(W=>{var z;return(z=W.find(ne=>ne.id===q.id))!=null&&z.delete||Ri.dismiss(q.id),W.filter(({id:ne})=>ne!==q.id)})},[]);return ft.useEffect(()=>Ri.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{C(W=>W.map(z=>z.id===q.id?{...z,delete:!0}:z))});return}setTimeout(()=>{zpe.flushSync(()=>{C(W=>{const z=W.findIndex(ne=>ne.id===q.id);return z!==-1?[...W.slice(0,z),{...W[z],...q},...W.slice(z+1)]:[q,...W]})})})}),[I]),ft.useEffect(()=>{if(A!=="system"){L(A);return}if(A==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;const q=window.matchMedia("(prefers-color-scheme: dark)");try{q.addEventListener("change",({matches:W})=>{L(W?"dark":"light")})}catch{q.addListener(({matches:z})=>{try{L(z?"dark":"light")}catch(ne){console.error(ne)}})}},[A]),ft.useEffect(()=>{I.length<=1&&R(!1)},[I]),ft.useEffect(()=>{const q=W=>{var z;if(o.every(ce=>W[ce]||W.code===ce)){var X;R(!0),(X=S.current)==null||X.focus()}W.code==="Escape"&&(document.activeElement===S.current||(z=S.current)!=null&&z.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[o]),ft.useEffect(()=>{if(S.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,$.current=!1)}},[S.current]),ft.createElement("section",{ref:n,"aria-label":`${_} ${M}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},B.map((q,W)=>{var z;const[ne,X]=q.split("-");return E.length?ft.createElement("ol",{key:q,dir:w==="auto"?BM():w,tabIndex:-1,ref:S,className:u,"data-sonner-toaster":!0,"data-sonner-theme":Q,"data-y-position":ne,"data-x-position":X,style:{"--front-toast-height":`${((z=T[0])==null?void 0:z.height)||0}px`,"--width":`${Bye}px`,"--gap":`${y}px`,...h,...Fye(d,p)},onBlur:ce=>{$.current&&!ce.currentTarget.contains(ce.relatedTarget)&&($.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||$.current||($.current=!0,j.current=ce.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{x||R(!1)},onDragEnd:()=>R(!1),onPointerDown:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},E.filter(ce=>!ce.position&&W===0||ce.position===q).map((ce,Z)=>{var V,Y;return ft.createElement(Tye,{key:ce.id,icons:v,index:Z,toast:ce,defaultRichColors:m,duration:(V=b?.duration)!=null?V:g,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:r,visibleToasts:f,closeButton:(Y=b?.closeButton)!=null?Y:l,interacting:x,position:q,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,closeButtonAriaLabel:b?.closeButtonAriaLabel,removeToast:G,toasts:E.filter(H=>H.position==ce.position),heights:T.filter(H=>H.position==ce.position),setHeights:D,expandByDefault:s,gap:y,expanded:N,swipeDirections:e.swipeDirections})})):null}))});function fH(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(n=fH(t[e]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}function bH(){for(var t,e,n=0,a="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=fH(t))&&(a&&(a+=" "),a+=e);return a}const Lye=(t,e)=>{const n=new Array(t.length+e.length);for(let a=0;a<t.length;a++)n[a]=t[a];for(let a=0;a<e.length;a++)n[t.length+a]=e[a];return n},Nye=(t,e)=>({classGroupId:t,validator:e}),yH=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),tC="-",IM=[],Rye="arbitrary..",Mye=t=>{const e=Pye(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return $ye(o);const s=o.split(tC),l=s[0]===""&&s.length>1?1:0;return wH(s,l,e)},getConflictingClassGroupIds:(o,s)=>{if(s){const l=a[o],u=n[o];return l?u?Lye(u,l):l:u||IM}return n[o]||IM}}},wH=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],i=n.nextPart.get(r);if(i){const u=wH(t,e+1,i);if(u)return u}const o=n.validators;if(o===null)return;const s=e===0?t.join(tC):t.slice(e).join(tC),l=o.length;for(let u=0;u<l;u++){const d=o[u];if(d.validator(s))return d.classGroupId}},$ye=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),a=e.slice(0,n);return a?Rye+a:void 0})(),Pye=t=>{const{theme:e,classGroups:n}=t;return Oye(n,e)},Oye=(t,e)=>{const n=yH();for(const a in t){const r=t[a];A4(r,n,a,e)}return n},A4=(t,e,n,a)=>{const r=t.length;for(let i=0;i<r;i++){const o=t[i];jye(o,e,n,a)}},jye=(t,e,n,a)=>{if(typeof t=="string"){Gye(t,e,n);return}if(typeof t=="function"){qye(t,e,n,a);return}zye(t,e,n,a)},Gye=(t,e,n)=>{const a=t===""?e:kH(e,t);a.classGroupId=n},qye=(t,e,n,a)=>{if(Uye(t)){A4(t(a),e,n,a);return}e.validators===null&&(e.validators=[]),e.validators.push(Nye(n,t))},zye=(t,e,n,a)=>{const r=Object.entries(t),i=r.length;for(let o=0;o<i;o++){const[s,l]=r[o];A4(l,kH(e,s),n,a)}},kH=(t,e)=>{let n=t;const a=e.split(tC),r=a.length;for(let i=0;i<r;i++){const o=a[i];let s=n.nextPart.get(o);s||(s=yH(),n.nextPart.set(o,s)),n=s}return n},Uye=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Hye=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),a=Object.create(null);const r=(i,o)=>{n[i]=o,e++,e>t&&(e=0,a=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=a[i])!==void 0)return r(i,o),o},set(i,o){i in n?n[i]=o:r(i,o)}}},mS="!",DM=":",Yye=[],QM=(t,e,n,a,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:a,isExternal:r}),Wye=t=>{const{prefix:e,experimentalParseClassName:n}=t;let a=r=>{const i=[];let o=0,s=0,l=0,u;const d=r.length;for(let h=0;h<d;h++){const f=r[h];if(o===0&&s===0){if(f===DM){i.push(r.slice(l,h)),l=h+1;continue}if(f==="/"){u=h;continue}}f==="["?o++:f==="]"?o--:f==="("?s++:f===")"&&s--}const p=i.length===0?r:r.slice(l);let A=p,m=!1;p.endsWith(mS)?(A=p.slice(0,-1),m=!0):p.startsWith(mS)&&(A=p.slice(1),m=!0);const g=u&&u>l?u-l:void 0;return QM(i,m,A,g)};if(e){const r=e+DM,i=a;a=o=>o.startsWith(r)?i(o.slice(r.length)):QM(Yye,!1,o,void 0,!0)}if(n){const r=a;a=i=>n({className:i,parseClassName:r})}return a},Kye=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,a)=>{e.set(n,1e6+a)}),n=>{const a=[];let r=[];for(let i=0;i<n.length;i++){const o=n[i],s=o[0]==="[",l=e.has(o);s||l?(r.length>0&&(r.sort(),a.push(...r),r=[]),a.push(o)):r.push(o)}return r.length>0&&(r.sort(),a.push(...r)),a}},Zye=t=>({cache:Hye(t.cacheSize),parseClassName:Wye(t),sortModifiers:Kye(t),...Mye(t)}),Vye=/\s+/,Jye=(t,e)=>{const{parseClassName:n,getClassGroupId:a,getConflictingClassGroupIds:r,sortModifiers:i}=e,o=[],s=t.trim().split(Vye);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:p,modifiers:A,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:h}=n(d);if(p){l=d+(l.length>0?" "+l:l);continue}let f=!!h,b=a(f?g.substring(0,h):g);if(!b){if(!f){l=d+(l.length>0?" "+l:l);continue}if(b=a(g),!b){l=d+(l.length>0?" "+l:l);continue}f=!1}const w=A.length===0?"":A.length===1?A[0]:i(A).join(":"),y=m?w+mS:w,v=y+b;if(o.indexOf(v)>-1)continue;o.push(v);const _=r(b,f);for(let I=0;I<_.length;++I){const C=_[I];o.push(y+C)}l=d+(l.length>0?" "+l:l)}return l},Xye=(...t)=>{let e=0,n,a,r="";for(;e<t.length;)(n=t[e++])&&(a=vH(n))&&(r&&(r+=" "),r+=a);return r},vH=t=>{if(typeof t=="string")return t;let e,n="";for(let a=0;a<t.length;a++)t[a]&&(e=vH(t[a]))&&(n&&(n+=" "),n+=e);return n},ewe=(t,...e)=>{let n,a,r,i;const o=l=>{const u=e.reduce((d,p)=>p(d),t());return n=Zye(u),a=n.cache.get,r=n.cache.set,i=s,s(l)},s=l=>{const u=a(l);if(u)return u;const d=Jye(l,n);return r(l,d),d};return i=o,(...l)=>i(Xye(...l))},twe=[],nr=t=>{const e=n=>n[t]||twe;return e.isThemeGetter=!0,e},_H=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,CH=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nwe=/^\d+\/\d+$/,awe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rwe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,iwe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,owe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,swe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mA=t=>nwe.test(t),pn=t=>!!t&&!Number.isNaN(Number(t)),Fl=t=>!!t&&Number.isInteger(Number(t)),gI=t=>t.endsWith("%")&&pn(t.slice(0,-1)),Fc=t=>awe.test(t),cwe=()=>!0,lwe=t=>rwe.test(t)&&!iwe.test(t),EH=()=>!1,uwe=t=>owe.test(t),dwe=t=>swe.test(t),pwe=t=>!Tt(t)&&!Ft(t),Awe=t=>hh(t,IH,EH),Tt=t=>_H.test(t),pd=t=>hh(t,DH,lwe),hI=t=>hh(t,bwe,pn),SM=t=>hh(t,xH,EH),mwe=t=>hh(t,BH,dwe),c0=t=>hh(t,QH,uwe),Ft=t=>CH.test(t),Cf=t=>fh(t,DH),gwe=t=>fh(t,ywe),TM=t=>fh(t,xH),hwe=t=>fh(t,IH),fwe=t=>fh(t,BH),l0=t=>fh(t,QH,!0),hh=(t,e,n)=>{const a=_H.exec(t);return a?a[1]?e(a[1]):n(a[2]):!1},fh=(t,e,n=!1)=>{const a=CH.exec(t);return a?a[1]?e(a[1]):n:!1},xH=t=>t==="position"||t==="percentage",BH=t=>t==="image"||t==="url",IH=t=>t==="length"||t==="size"||t==="bg-size",DH=t=>t==="length",bwe=t=>t==="number",ywe=t=>t==="family-name",QH=t=>t==="shadow",wwe=()=>{const t=nr("color"),e=nr("font"),n=nr("text"),a=nr("font-weight"),r=nr("tracking"),i=nr("leading"),o=nr("breakpoint"),s=nr("container"),l=nr("spacing"),u=nr("radius"),d=nr("shadow"),p=nr("inset-shadow"),A=nr("text-shadow"),m=nr("drop-shadow"),g=nr("blur"),h=nr("perspective"),f=nr("aspect"),b=nr("ease"),w=nr("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...v(),Ft,Tt],I=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],E=()=>[Ft,Tt,l],B=()=>[mA,"full","auto",...E()],T=()=>[Fl,"none","subgrid",Ft,Tt],D=()=>["auto",{span:["full",Fl,Ft,Tt]},Fl,Ft,Tt],N=()=>[Fl,"auto",Ft,Tt],R=()=>["auto","min","max","fr",Ft,Tt],x=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],Q=()=>["auto",...E()],L=()=>[mA,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],S=()=>[t,Ft,Tt],M=()=>[...v(),TM,SM,{position:[Ft,Tt]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",hwe,Awe,{size:[Ft,Tt]}],G=()=>[gI,Cf,pd],q=()=>["","none","full",u,Ft,Tt],W=()=>["",pn,Cf,pd],z=()=>["solid","dashed","dotted","double"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[pn,gI,TM,SM],ce=()=>["","none",g,Ft,Tt],Z=()=>["none",pn,Ft,Tt],V=()=>["none",pn,Ft,Tt],Y=()=>[pn,Ft,Tt],H=()=>[mA,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fc],breakpoint:[Fc],color:[cwe],container:[Fc],"drop-shadow":[Fc],ease:["in","out","in-out"],font:[pwe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fc],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fc],shadow:[Fc],spacing:["px",pn],text:[Fc],"text-shadow":[Fc],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mA,Tt,Ft,f]}],container:["container"],columns:[{columns:[pn,Tt,Ft,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:_()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{start:B()}],end:[{end:B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[Fl,"auto",Ft,Tt]}],basis:[{basis:[mA,"full","auto",s,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[pn,mA,"auto","initial","none",Tt]}],grow:[{grow:["",pn,Ft,Tt]}],shrink:[{shrink:["",pn,Ft,Tt]}],order:[{order:[Fl,"first","last","none",Ft,Tt]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":R()}],"auto-rows":[{"auto-rows":R()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...x(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...x()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":x()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[s,"screen",...L()]}],"min-w":[{"min-w":[s,"screen","none",...L()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,Cf,pd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,Ft,hI]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gI,Tt]}],"font-family":[{font:[gwe,Tt,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,Ft,Tt]}],"line-clamp":[{"line-clamp":[pn,"none",Ft,hI]}],leading:[{leading:[i,...E()]}],"list-image":[{"list-image":["none",Ft,Tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ft,Tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:[pn,"from-font","auto",Ft,pd]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[pn,"auto",Ft,Tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ft,Tt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ft,Tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:j()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fl,Ft,Tt],radial:["",Ft,Tt],conic:[Fl,Ft,Tt]},fwe,mwe]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...z(),"hidden","none"]}],"divide-style":[{divide:[...z(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[pn,Ft,Tt]}],"outline-w":[{outline:["",pn,Cf,pd]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",d,l0,c0]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",p,l0,c0]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[pn,pd]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",A,l0,c0]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[pn,Ft,Tt]}],"mix-blend":[{"mix-blend":[...ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ne()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[pn]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[Ft,Tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[pn]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ft,Tt]}],filter:[{filter:["","none",Ft,Tt]}],blur:[{blur:ce()}],brightness:[{brightness:[pn,Ft,Tt]}],contrast:[{contrast:[pn,Ft,Tt]}],"drop-shadow":[{"drop-shadow":["","none",m,l0,c0]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",pn,Ft,Tt]}],"hue-rotate":[{"hue-rotate":[pn,Ft,Tt]}],invert:[{invert:["",pn,Ft,Tt]}],saturate:[{saturate:[pn,Ft,Tt]}],sepia:[{sepia:["",pn,Ft,Tt]}],"backdrop-filter":[{"backdrop-filter":["","none",Ft,Tt]}],"backdrop-blur":[{"backdrop-blur":ce()}],"backdrop-brightness":[{"backdrop-brightness":[pn,Ft,Tt]}],"backdrop-contrast":[{"backdrop-contrast":[pn,Ft,Tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",pn,Ft,Tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pn,Ft,Tt]}],"backdrop-invert":[{"backdrop-invert":["",pn,Ft,Tt]}],"backdrop-opacity":[{"backdrop-opacity":[pn,Ft,Tt]}],"backdrop-saturate":[{"backdrop-saturate":[pn,Ft,Tt]}],"backdrop-sepia":[{"backdrop-sepia":["",pn,Ft,Tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ft,Tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[pn,"initial",Ft,Tt]}],ease:[{ease:["linear","initial",b,Ft,Tt]}],delay:[{delay:[pn,Ft,Tt]}],animate:[{animate:["none",w,Ft,Tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Ft,Tt]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:Y()}],"skew-x":[{"skew-x":Y()}],"skew-y":[{"skew-y":Y()}],transform:[{transform:[Ft,Tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:H()}],"translate-x":[{"translate-x":H()}],"translate-y":[{"translate-y":H()}],"translate-z":[{"translate-z":H()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ft,Tt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ft,Tt]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[pn,Cf,pd,hI]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},kwe=ewe(wwe),FM=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,LM=bH,w3t=(t,e)=>n=>{var a;if(e?.variants==null)return LM(t,n?.class,n?.className);const{variants:r,defaultVariants:i}=e,o=Object.keys(r).map(u=>{const d=n?.[u],p=i?.[u];if(d===null)return null;const A=FM(d)||FM(p);return r[u][A]}),s=n&&Object.entries(n).reduce((u,d)=>{let[p,A]=d;return A===void 0||(u[p]=A),u},{}),l=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((u,d)=>{let{class:p,className:A,...m}=d;return Object.entries(m).every(g=>{let[h,f]=g;return Array.isArray(f)?f.includes({...i,...s}[h]):{...i,...s}[h]===f})?[...u,p,A]:u},[]);return LM(t,o,l,n?.class,n?.className)},vwe=["top","right","bottom","left"],pu=Math.min,so=Math.max,nC=Math.round,u0=Math.floor,cc=t=>({x:t,y:t}),_we={left:"right",right:"left",bottom:"top",top:"bottom"},Cwe={start:"end",end:"start"};function gS(t,e,n){return so(t,pu(e,n))}function dl(t,e){return typeof t=="function"?t(e):t}function pl(t){return t.split("-")[0]}function bh(t){return t.split("-")[1]}function m4(t){return t==="x"?"y":"x"}function g4(t){return t==="y"?"height":"width"}const Ewe=new Set(["top","bottom"]);function tc(t){return Ewe.has(pl(t))?"y":"x"}function h4(t){return m4(tc(t))}function xwe(t,e,n){n===void 0&&(n=!1);const a=bh(t),r=h4(t),i=g4(r);let o=r==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=aC(o)),[o,aC(o)]}function Bwe(t){const e=aC(t);return[hS(t),e,hS(e)]}function hS(t){return t.replace(/start|end/g,e=>Cwe[e])}const NM=["left","right"],RM=["right","left"],Iwe=["top","bottom"],Dwe=["bottom","top"];function Qwe(t,e,n){switch(t){case"top":case"bottom":return n?e?RM:NM:e?NM:RM;case"left":case"right":return e?Iwe:Dwe;default:return[]}}function Swe(t,e,n,a){const r=bh(t);let i=Qwe(pl(t),n==="start",a);return r&&(i=i.map(o=>o+"-"+r),e&&(i=i.concat(i.map(hS)))),i}function aC(t){return t.replace(/left|right|bottom|top/g,e=>_we[e])}function Twe(t){return{top:0,right:0,bottom:0,left:0,...t}}function SH(t){return typeof t!="number"?Twe(t):{top:t,right:t,bottom:t,left:t}}function rC(t){const{x:e,y:n,width:a,height:r}=t;return{width:a,height:r,top:n,left:e,right:e+a,bottom:n+r,x:e,y:n}}function MM(t,e,n){let{reference:a,floating:r}=t;const i=tc(e),o=h4(e),s=g4(o),l=pl(e),u=i==="y",d=a.x+a.width/2-r.width/2,p=a.y+a.height/2-r.height/2,A=a[s]/2-r[s]/2;let m;switch(l){case"top":m={x:d,y:a.y-r.height};break;case"bottom":m={x:d,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:p};break;case"left":m={x:a.x-r.width,y:p};break;default:m={x:a.x,y:a.y}}switch(bh(e)){case"start":m[o]-=A*(n&&u?-1:1);break;case"end":m[o]+=A*(n&&u?-1:1);break}return m}const Fwe=async(t,e,n)=>{const{placement:a="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,s=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:p}=MM(u,a,l),A=a,m={},g=0;for(let h=0;h<s.length;h++){const{name:f,fn:b}=s[h],{x:w,y,data:v,reset:_}=await b({x:d,y:p,initialPlacement:a,placement:A,strategy:r,middlewareData:m,rects:u,platform:o,elements:{reference:t,floating:e}});d=w??d,p=y??p,m={...m,[f]:{...m[f],...v}},_&&g<=50&&(g++,typeof _=="object"&&(_.placement&&(A=_.placement),_.rects&&(u=_.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:r}):_.rects),{x:d,y:p}=MM(u,A,l)),h=-1)}return{x:d,y:p,placement:A,strategy:r,middlewareData:m}};async function Gy(t,e){var n;e===void 0&&(e={});const{x:a,y:r,platform:i,rects:o,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:A=!1,padding:m=0}=dl(e,t),g=SH(m),f=s[A?p==="floating"?"reference":"floating":p],b=rC(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(f)))==null||n?f:f.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),w=p==="floating"?{x:a,y:r,width:o.floating.width,height:o.floating.height}:o.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),v=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},_=rC(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:y,strategy:l}):w);return{top:(b.top-_.top+g.top)/v.y,bottom:(_.bottom-b.bottom+g.bottom)/v.y,left:(b.left-_.left+g.left)/v.x,right:(_.right-b.right+g.right)/v.x}}const Lwe=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:a,placement:r,rects:i,platform:o,elements:s,middlewareData:l}=e,{element:u,padding:d=0}=dl(t,e)||{};if(u==null)return{};const p=SH(d),A={x:n,y:a},m=h4(r),g=g4(m),h=await o.getDimensions(u),f=m==="y",b=f?"top":"left",w=f?"bottom":"right",y=f?"clientHeight":"clientWidth",v=i.reference[g]+i.reference[m]-A[m]-i.floating[g],_=A[m]-i.reference[m],I=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let C=I?I[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(I)))&&(C=s.floating[y]||i.floating[g]);const E=v/2-_/2,B=C/2-h[g]/2-1,T=pu(p[b],B),D=pu(p[w],B),N=T,R=C-h[g]-D,x=C/2-h[g]/2+E,F=gS(N,x,R),Q=!l.arrow&&bh(r)!=null&&x!==F&&i.reference[g]/2-(x<N?T:D)-h[g]/2<0,L=Q?x<N?x-N:x-R:0;return{[m]:A[m]+L,data:{[m]:F,centerOffset:x-F-L,...Q&&{alignmentOffset:L}},reset:Q}}}),Nwe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,a;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:A,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...f}=dl(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=pl(r),w=tc(s),y=pl(s)===s,v=await(l.isRTL==null?void 0:l.isRTL(u.floating)),_=A||(y||!h?[aC(s)]:Bwe(s)),I=g!=="none";!A&&I&&_.push(...Swe(s,h,g,v));const C=[s,..._],E=await Gy(e,f),B=[];let T=((a=i.flip)==null?void 0:a.overflows)||[];if(d&&B.push(E[b]),p){const x=xwe(r,o,v);B.push(E[x[0]],E[x[1]])}if(T=[...T,{placement:r,overflows:B}],!B.every(x=>x<=0)){var D,N;const x=(((D=i.flip)==null?void 0:D.index)||0)+1,F=C[x];if(F&&(!(p==="alignment"?w!==tc(F):!1)||T.every(S=>tc(S.placement)===w?S.overflows[0]>0:!0)))return{data:{index:x,overflows:T},reset:{placement:F}};let Q=(N=T.filter(L=>L.overflows[0]<=0).sort((L,S)=>L.overflows[1]-S.overflows[1])[0])==null?void 0:N.placement;if(!Q)switch(m){case"bestFit":{var R;const L=(R=T.filter(S=>{if(I){const M=tc(S.placement);return M===w||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,j)=>M+j,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:R[0];L&&(Q=L);break}case"initialPlacement":Q=s;break}if(r!==Q)return{reset:{placement:Q}}}return{}}}};function $M(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function PM(t){return vwe.some(e=>t[e]>=0)}const Rwe=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:a="referenceHidden",...r}=dl(t,e);switch(a){case"referenceHidden":{const i=await Gy(e,{...r,elementContext:"reference"}),o=$M(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:PM(o)}}}case"escaped":{const i=await Gy(e,{...r,altBoundary:!0}),o=$M(i,n.floating);return{data:{escapedOffsets:o,escaped:PM(o)}}}default:return{}}}}},TH=new Set(["left","top"]);async function Mwe(t,e){const{placement:n,platform:a,elements:r}=t,i=await(a.isRTL==null?void 0:a.isRTL(r.floating)),o=pl(n),s=bh(n),l=tc(n)==="y",u=TH.has(o)?-1:1,d=i&&l?-1:1,p=dl(e,t);let{mainAxis:A,crossAxis:m,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof g=="number"&&(m=s==="end"?g*-1:g),l?{x:m*d,y:A*u}:{x:A*u,y:m*d}}const $we=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,a;const{x:r,y:i,placement:o,middlewareData:s}=e,l=await Mwe(e,t);return o===((n=s.offset)==null?void 0:n.placement)&&(a=s.arrow)!=null&&a.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}}},Pwe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:a,placement:r}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:f=>{let{x:b,y:w}=f;return{x:b,y:w}}},...l}=dl(t,e),u={x:n,y:a},d=await Gy(e,l),p=tc(pl(r)),A=m4(p);let m=u[A],g=u[p];if(i){const f=A==="y"?"top":"left",b=A==="y"?"bottom":"right",w=m+d[f],y=m-d[b];m=gS(w,m,y)}if(o){const f=p==="y"?"top":"left",b=p==="y"?"bottom":"right",w=g+d[f],y=g-d[b];g=gS(w,g,y)}const h=s.fn({...e,[A]:m,[p]:g});return{...h,data:{x:h.x-n,y:h.y-a,enabled:{[A]:i,[p]:o}}}}}},Owe=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:a,placement:r,rects:i,middlewareData:o}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=dl(t,e),d={x:n,y:a},p=tc(r),A=m4(p);let m=d[A],g=d[p];const h=dl(s,e),f=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=A==="y"?"height":"width",v=i.reference[A]-i.floating[y]+f.mainAxis,_=i.reference[A]+i.reference[y]-f.mainAxis;m<v?m=v:m>_&&(m=_)}if(u){var b,w;const y=A==="y"?"width":"height",v=TH.has(pl(r)),_=i.reference[p]-i.floating[y]+(v&&((b=o.offset)==null?void 0:b[p])||0)+(v?0:f.crossAxis),I=i.reference[p]+i.reference[y]+(v?0:((w=o.offset)==null?void 0:w[p])||0)-(v?f.crossAxis:0);g<_?g=_:g>I&&(g=I)}return{[A]:m,[p]:g}}}},jwe=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,a;const{placement:r,rects:i,platform:o,elements:s}=e,{apply:l=()=>{},...u}=dl(t,e),d=await Gy(e,u),p=pl(r),A=bh(r),m=tc(r)==="y",{width:g,height:h}=i.floating;let f,b;p==="top"||p==="bottom"?(f=p,b=A===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(b=p,f=A==="end"?"top":"bottom");const w=h-d.top-d.bottom,y=g-d.left-d.right,v=pu(h-d[f],w),_=pu(g-d[b],y),I=!e.middlewareData.shift;let C=v,E=_;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=y),(a=e.middlewareData.shift)!=null&&a.enabled.y&&(C=w),I&&!A){const T=so(d.left,0),D=so(d.right,0),N=so(d.top,0),R=so(d.bottom,0);m?E=g-2*(T!==0||D!==0?T+D:so(d.left,d.right)):C=h-2*(N!==0||R!==0?N+R:so(d.top,d.bottom))}await l({...e,availableWidth:E,availableHeight:C});const B=await o.getDimensions(s.floating);return g!==B.width||h!==B.height?{reset:{rects:!0}}:{}}}};function Qx(){return typeof window<"u"}function yh(t){return FH(t)?(t.nodeName||"").toLowerCase():"#document"}function uo(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kc(t){var e;return(e=(FH(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function FH(t){return Qx()?t instanceof Node||t instanceof uo(t).Node:!1}function Cs(t){return Qx()?t instanceof Element||t instanceof uo(t).Element:!1}function Ac(t){return Qx()?t instanceof HTMLElement||t instanceof uo(t).HTMLElement:!1}function OM(t){return!Qx()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof uo(t).ShadowRoot}const Gwe=new Set(["inline","contents"]);function Zw(t){const{overflow:e,overflowX:n,overflowY:a,display:r}=Es(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+n)&&!Gwe.has(r)}const qwe=new Set(["table","td","th"]);function zwe(t){return qwe.has(yh(t))}const Uwe=[":popover-open",":modal"];function Sx(t){return Uwe.some(e=>{try{return t.matches(e)}catch{return!1}})}const Hwe=["transform","translate","scale","rotate","perspective"],Ywe=["transform","translate","scale","rotate","perspective","filter"],Wwe=["paint","layout","strict","content"];function f4(t){const e=b4(),n=Cs(t)?Es(t):t;return Hwe.some(a=>n[a]?n[a]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Ywe.some(a=>(n.willChange||"").includes(a))||Wwe.some(a=>(n.contain||"").includes(a))}function Kwe(t){let e=Au(t);for(;Ac(e)&&!Qg(e);){if(f4(e))return e;if(Sx(e))return null;e=Au(e)}return null}function b4(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Zwe=new Set(["html","body","#document"]);function Qg(t){return Zwe.has(yh(t))}function Es(t){return uo(t).getComputedStyle(t)}function Tx(t){return Cs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Au(t){if(yh(t)==="html")return t;const e=t.assignedSlot||t.parentNode||OM(t)&&t.host||kc(t);return OM(e)?e.host:e}function LH(t){const e=Au(t);return Qg(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ac(e)&&Zw(e)?e:LH(e)}function qy(t,e,n){var a;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=LH(t),i=r===((a=t.ownerDocument)==null?void 0:a.body),o=uo(r);if(i){const s=fS(o);return e.concat(o,o.visualViewport||[],Zw(r)?r:[],s&&n?qy(s):[])}return e.concat(r,qy(r,[],n))}function fS(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function NH(t){const e=Es(t);let n=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const r=Ac(t),i=r?t.offsetWidth:n,o=r?t.offsetHeight:a,s=nC(n)!==i||nC(a)!==o;return s&&(n=i,a=o),{width:n,height:a,$:s}}function y4(t){return Cs(t)?t:t.contextElement}function rm(t){const e=y4(t);if(!Ac(e))return cc(1);const n=e.getBoundingClientRect(),{width:a,height:r,$:i}=NH(e);let o=(i?nC(n.width):n.width)/a,s=(i?nC(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Vwe=cc(0);function RH(t){const e=uo(t);return!b4()||!e.visualViewport?Vwe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Jwe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==uo(t)?!1:e}function ap(t,e,n,a){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=y4(t);let o=cc(1);e&&(a?Cs(a)&&(o=rm(a)):o=rm(t));const s=Jwe(i,n,a)?RH(i):cc(0);let l=(r.left+s.x)/o.x,u=(r.top+s.y)/o.y,d=r.width/o.x,p=r.height/o.y;if(i){const A=uo(i),m=a&&Cs(a)?uo(a):a;let g=A,h=fS(g);for(;h&&a&&m!==g;){const f=rm(h),b=h.getBoundingClientRect(),w=Es(h),y=b.left+(h.clientLeft+parseFloat(w.paddingLeft))*f.x,v=b.top+(h.clientTop+parseFloat(w.paddingTop))*f.y;l*=f.x,u*=f.y,d*=f.x,p*=f.y,l+=y,u+=v,g=uo(h),h=fS(g)}}return rC({width:d,height:p,x:l,y:u})}function Fx(t,e){const n=Tx(t).scrollLeft;return e?e.left+n:ap(kc(t)).left+n}function MH(t,e){const n=t.getBoundingClientRect(),a=n.left+e.scrollLeft-Fx(t,n),r=n.top+e.scrollTop;return{x:a,y:r}}function Xwe(t){let{elements:e,rect:n,offsetParent:a,strategy:r}=t;const i=r==="fixed",o=kc(a),s=e?Sx(e.floating):!1;if(a===o||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=cc(1);const d=cc(0),p=Ac(a);if((p||!p&&!i)&&((yh(a)!=="body"||Zw(o))&&(l=Tx(a)),Ac(a))){const m=ap(a);u=rm(a),d.x=m.x+a.clientLeft,d.y=m.y+a.clientTop}const A=o&&!p&&!i?MH(o,l):cc(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+A.x,y:n.y*u.y-l.scrollTop*u.y+d.y+A.y}}function eke(t){return Array.from(t.getClientRects())}function tke(t){const e=kc(t),n=Tx(t),a=t.ownerDocument.body,r=so(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),i=so(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let o=-n.scrollLeft+Fx(t);const s=-n.scrollTop;return Es(a).direction==="rtl"&&(o+=so(e.clientWidth,a.clientWidth)-r),{width:r,height:i,x:o,y:s}}const jM=25;function nke(t,e){const n=uo(t),a=kc(t),r=n.visualViewport;let i=a.clientWidth,o=a.clientHeight,s=0,l=0;if(r){i=r.width,o=r.height;const d=b4();(!d||d&&e==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}const u=Fx(a);if(u<=0){const d=a.ownerDocument,p=d.body,A=getComputedStyle(p),m=d.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,g=Math.abs(a.clientWidth-p.clientWidth-m);g<=jM&&(i-=g)}else u<=jM&&(i+=u);return{width:i,height:o,x:s,y:l}}const ake=new Set(["absolute","fixed"]);function rke(t,e){const n=ap(t,!0,e==="fixed"),a=n.top+t.clientTop,r=n.left+t.clientLeft,i=Ac(t)?rm(t):cc(1),o=t.clientWidth*i.x,s=t.clientHeight*i.y,l=r*i.x,u=a*i.y;return{width:o,height:s,x:l,y:u}}function GM(t,e,n){let a;if(e==="viewport")a=nke(t,n);else if(e==="document")a=tke(kc(t));else if(Cs(e))a=rke(e,n);else{const r=RH(t);a={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return rC(a)}function $H(t,e){const n=Au(t);return n===e||!Cs(n)||Qg(n)?!1:Es(n).position==="fixed"||$H(n,e)}function ike(t,e){const n=e.get(t);if(n)return n;let a=qy(t,[],!1).filter(s=>Cs(s)&&yh(s)!=="body"),r=null;const i=Es(t).position==="fixed";let o=i?Au(t):t;for(;Cs(o)&&!Qg(o);){const s=Es(o),l=f4(o);!l&&s.position==="fixed"&&(r=null),(i?!l&&!r:!l&&s.position==="static"&&!!r&&ake.has(r.position)||Zw(o)&&!l&&$H(t,o))?a=a.filter(d=>d!==o):r=s,o=Au(o)}return e.set(t,a),a}function oke(t){let{element:e,boundary:n,rootBoundary:a,strategy:r}=t;const o=[...n==="clippingAncestors"?Sx(e)?[]:ike(e,this._c):[].concat(n),a],s=o[0],l=o.reduce((u,d)=>{const p=GM(e,d,r);return u.top=so(p.top,u.top),u.right=pu(p.right,u.right),u.bottom=pu(p.bottom,u.bottom),u.left=so(p.left,u.left),u},GM(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ske(t){const{width:e,height:n}=NH(t);return{width:e,height:n}}function cke(t,e,n){const a=Ac(e),r=kc(e),i=n==="fixed",o=ap(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=cc(0);function u(){l.x=Fx(r)}if(a||!a&&!i)if((yh(e)!=="body"||Zw(r))&&(s=Tx(e)),a){const m=ap(e,!0,i,e);l.x=m.x+e.clientLeft,l.y=m.y+e.clientTop}else r&&u();i&&!a&&r&&u();const d=r&&!a&&!i?MH(r,s):cc(0),p=o.left+s.scrollLeft-l.x-d.x,A=o.top+s.scrollTop-l.y-d.y;return{x:p,y:A,width:o.width,height:o.height}}function fI(t){return Es(t).position==="static"}function qM(t,e){if(!Ac(t)||Es(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return kc(t)===n&&(n=n.ownerDocument.body),n}function PH(t,e){const n=uo(t);if(Sx(t))return n;if(!Ac(t)){let r=Au(t);for(;r&&!Qg(r);){if(Cs(r)&&!fI(r))return r;r=Au(r)}return n}let a=qM(t,e);for(;a&&zwe(a)&&fI(a);)a=qM(a,e);return a&&Qg(a)&&fI(a)&&!f4(a)?n:a||Kwe(t)||n}const lke=async function(t){const e=this.getOffsetParent||PH,n=this.getDimensions,a=await n(t.floating);return{reference:cke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function uke(t){return Es(t).direction==="rtl"}const dke={convertOffsetParentRelativeRectToViewportRelativeRect:Xwe,getDocumentElement:kc,getClippingRect:oke,getOffsetParent:PH,getElementRects:lke,getClientRects:eke,getDimensions:ske,getScale:rm,isElement:Cs,isRTL:uke};function OH(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function pke(t,e){let n=null,a;const r=kc(t);function i(){var s;clearTimeout(a),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=t.getBoundingClientRect(),{left:d,top:p,width:A,height:m}=u;if(s||e(),!A||!m)return;const g=u0(p),h=u0(r.clientWidth-(d+A)),f=u0(r.clientHeight-(p+m)),b=u0(d),y={rootMargin:-g+"px "+-h+"px "+-f+"px "+-b+"px",threshold:so(0,pu(1,l))||1};let v=!0;function _(I){const C=I[0].intersectionRatio;if(C!==l){if(!v)return o();C?o(!1,C):a=setTimeout(()=>{o(!1,1e-7)},1e3)}C===1&&!OH(u,t.getBoundingClientRect())&&o(),v=!1}try{n=new IntersectionObserver(_,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(_,y)}n.observe(t)}return o(!0),i}function k3t(t,e,n,a){a===void 0&&(a={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=a,u=y4(t),d=r||i?[...u?qy(u):[],...qy(e)]:[];d.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const p=u&&s?pke(u,n):null;let A=-1,m=null;o&&(m=new ResizeObserver(b=>{let[w]=b;w&&w.target===u&&m&&(m.unobserve(e),cancelAnimationFrame(A),A=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(e)})),n()}),u&&!l&&m.observe(u),m.observe(e));let g,h=l?ap(t):null;l&&f();function f(){const b=ap(t);h&&!OH(h,b)&&n(),h=b,g=requestAnimationFrame(f)}return n(),()=>{var b;d.forEach(w=>{r&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),p?.(),(b=m)==null||b.disconnect(),m=null,l&&cancelAnimationFrame(g)}}const Ake=$we,mke=Pwe,gke=Nwe,hke=jwe,fke=Rwe,zM=Lwe,bke=Owe,yke=(t,e,n)=>{const a=new Map,r={platform:dke,...n},i={...r.platform,_c:a};return Fwe(t,e,{...r,platform:i})};var wke=typeof document<"u",kke=function(){},Sv=wke?Te.useLayoutEffect:kke;function iC(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,a,r;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(a=n;a--!==0;)if(!iC(t[a],e[a]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(a=n;a--!==0;)if(!{}.hasOwnProperty.call(e,r[a]))return!1;for(a=n;a--!==0;){const i=r[a];if(!(i==="_owner"&&t.$$typeof)&&!iC(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function jH(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function UM(t,e){const n=jH(t);return Math.round(e*n)/n}function bI(t){const e=Te.useRef(t);return Sv(()=>{e.current=t}),e}function v3t(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:a=[],platform:r,elements:{reference:i,floating:o}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[d,p]=Te.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[A,m]=Te.useState(a);iC(A,a)||m(a);const[g,h]=Te.useState(null),[f,b]=Te.useState(null),w=Te.useCallback(S=>{S!==I.current&&(I.current=S,h(S))},[]),y=Te.useCallback(S=>{S!==C.current&&(C.current=S,b(S))},[]),v=i||g,_=o||f,I=Te.useRef(null),C=Te.useRef(null),E=Te.useRef(d),B=l!=null,T=bI(l),D=bI(r),N=bI(u),R=Te.useCallback(()=>{if(!I.current||!C.current)return;const S={placement:e,strategy:n,middleware:A};D.current&&(S.platform=D.current),yke(I.current,C.current,S).then(M=>{const j={...M,isPositioned:N.current!==!1};x.current&&!iC(E.current,j)&&(E.current=j,Upe.flushSync(()=>{p(j)}))})},[A,e,n,D,N]);Sv(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(S=>({...S,isPositioned:!1})))},[u]);const x=Te.useRef(!1);Sv(()=>(x.current=!0,()=>{x.current=!1}),[]),Sv(()=>{if(v&&(I.current=v),_&&(C.current=_),v&&_){if(T.current)return T.current(v,_,R);R()}},[v,_,R,T,B]);const F=Te.useMemo(()=>({reference:I,floating:C,setReference:w,setFloating:y}),[w,y]),Q=Te.useMemo(()=>({reference:v,floating:_}),[v,_]),L=Te.useMemo(()=>{const S={position:n,left:0,top:0};if(!Q.floating)return S;const M=UM(Q.floating,d.x),j=UM(Q.floating,d.y);return s?{...S,transform:"translate("+M+"px, "+j+"px)",...jH(Q.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:j}},[n,s,Q.floating,d.x,d.y]);return Te.useMemo(()=>({...d,update:R,refs:F,elements:Q,floatingStyles:L}),[d,R,F,Q,L])}const vke=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:a,padding:r}=typeof t=="function"?t(n):t;return a&&e(a)?a.current!=null?zM({element:a.current,padding:r}).fn(n):{}:a?zM({element:a,padding:r}).fn(n):{}}}},_3t=(t,e)=>({...Ake(t),options:[t,e]}),C3t=(t,e)=>({...mke(t),options:[t,e]}),E3t=(t,e)=>({...bke(t),options:[t,e]}),x3t=(t,e)=>({...gke(t),options:[t,e]}),B3t=(t,e)=>({...hke(t),options:[t,e]}),I3t=(t,e)=>({...fke(t),options:[t,e]}),D3t=(t,e)=>({...vke(t),options:[t,e]});var _ke=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},gA=new WeakMap,d0=new WeakMap,p0={},yI=0,GH=function(t){return t&&(t.host||GH(t.parentNode))},Cke=function(t,e){return e.map(function(n){if(t.contains(n))return n;var a=GH(n);return a&&t.contains(a)?a:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},Eke=function(t,e,n,a){var r=Cke(e,Array.isArray(t)?t:[t]);p0[n]||(p0[n]=new WeakMap);var i=p0[n],o=[],s=new Set,l=new Set(r),u=function(p){!p||s.has(p)||(s.add(p),u(p.parentNode))};r.forEach(u);var d=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(A){if(s.has(A))d(A);else try{var m=A.getAttribute(a),g=m!==null&&m!=="false",h=(gA.get(A)||0)+1,f=(i.get(A)||0)+1;gA.set(A,h),i.set(A,f),o.push(A),h===1&&g&&d0.set(A,!0),f===1&&A.setAttribute(n,"true"),g||A.setAttribute(a,"true")}catch(b){console.error("aria-hidden: cannot operate on ",A,b)}})};return d(e),s.clear(),yI++,function(){o.forEach(function(p){var A=gA.get(p)-1,m=i.get(p)-1;gA.set(p,A),i.set(p,m),A||(d0.has(p)||p.removeAttribute(a),d0.delete(p)),m||p.removeAttribute(n)}),yI--,yI||(gA=new WeakMap,gA=new WeakMap,d0=new WeakMap,p0={})}},Q3t=function(t,e,n){n===void 0&&(n="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),r=_ke(t);return r?(a.push.apply(a,Array.from(r.querySelectorAll("[aria-live], script"))),Eke(a,r,n,"aria-hidden")):function(){return null}},oC=function(){return oC=Object.assign||function(e){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},oC.apply(this,arguments)};function xke(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]]);return n}function S3t(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,i;a<r;a++)(i||!(a in e))&&(i||(i=Array.prototype.slice.call(e,0,a)),i[a]=e[a]);return t.concat(i||Array.prototype.slice.call(e))}function wI(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Bke(t,e){var n=Te.useState(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(a){var r=n.value;r!==a&&(n.value=a,n.callback(a,r))}}}})[0];return n.callback=e,n.facade}var Ike=typeof window<"u"?Te.useLayoutEffect:Te.useEffect,HM=new WeakMap;function T3t(t,e){var n=Bke(null,function(a){return t.forEach(function(r){return wI(r,a)})});return Ike(function(){var a=HM.get(n);if(a){var r=new Set(a),i=new Set(t),o=n.current;r.forEach(function(s){i.has(s)||wI(s,null)}),i.forEach(function(s){r.has(s)||wI(s,o)})}HM.set(n,t)},[t]),n}function Dke(t){return t}function Qke(t,e){e===void 0&&(e=Dke);var n=[],a=!1,r={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(i){var o=e(i,a);return n.push(o),function(){n=n.filter(function(s){return s!==o})}},assignSyncMedium:function(i){for(a=!0;n.length;){var o=n;n=[],o.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){a=!0;var o=[];if(n.length){var s=n;n=[],s.forEach(i),o=n}var l=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return r}function F3t(t){t===void 0&&(t={});var e=Qke(null);return e.options=oC({async:!0,ssr:!1},t),e}var qH=function(t){var e=t.sideCar,n=xke(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=e.read();if(!a)throw new Error("Sidecar medium not found");return Te.createElement(a,oC({},n))};qH.isSideCarExport=!0;function L3t(t,e){return t.useMedium(e),qH}var N3t=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ske(t,e){t.indexOf(e)===-1&&t.push(e)}function Tke(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const rp=(t,e,n)=>n>e?e:n<t?t:n;let w4=()=>{};const zy={},Fke=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function zH(t){return typeof t=="object"&&t!==null}const Lke=t=>/^0[^.\s]+$/u.test(t);function k4(t){let e;return()=>(e===void 0&&(e=t()),e)}const wh=t=>t,Nke=(t,e)=>n=>e(t(n)),v4=(...t)=>t.reduce(Nke),UH=(t,e,n)=>{const a=e-t;return a===0?1:(n-t)/a};class Rke{constructor(){this.subscriptions=[]}add(e){return Ske(this.subscriptions,e),()=>Tke(this.subscriptions,e)}notify(e,n,a){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,n,a);else for(let i=0;i<r;i++){const o=this.subscriptions[i];o&&o(e,n,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const kh=t=>t*1e3,ms=t=>t/1e3;function HH(t,e){return e?t*(1e3/e):0}const YH=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Mke=1e-7,$ke=12;function Pke(t,e,n,a,r){let i,o,s=0;do o=e+(n-e)/2,i=YH(o,a,r)-t,i>0?n=o:e=o;while(Math.abs(i)>Mke&&++s<$ke);return o}function Vw(t,e,n,a){if(t===e&&n===a)return wh;const r=i=>Pke(i,0,1,t,n);return i=>i===0||i===1?i:YH(r(i),e,a)}const WH=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,KH=t=>e=>1-t(1-e),ZH=Vw(.33,1.53,.69,.99),_4=KH(ZH),VH=WH(_4),JH=t=>(t*=2)<1?.5*_4(t):.5*(2-Math.pow(2,-10*(t-1))),C4=t=>1-Math.sin(Math.acos(t)),Oke=KH(C4),XH=WH(C4),jke=Vw(.42,0,1,1),Gke=Vw(0,0,.58,1),eY=Vw(.42,0,.58,1),qke=t=>Array.isArray(t)&&typeof t[0]!="number",tY=t=>Array.isArray(t)&&typeof t[0]=="number",zke={linear:wh,easeIn:jke,easeInOut:eY,easeOut:Gke,circIn:C4,circInOut:XH,circOut:Oke,backIn:_4,backInOut:VH,backOut:ZH,anticipate:JH},Uke=t=>typeof t=="string",YM=t=>{if(tY(t)){w4(t.length===4);const[e,n,a,r]=t;return Vw(e,n,a,r)}else if(Uke(t))return zke[t];return t},A0=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Hke(t,e){let n=new Set,a=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function l(d){o.has(d)&&(u.schedule(d),t()),d(s)}const u={schedule:(d,p=!1,A=!1)=>{const g=A&&r?n:a;return p&&o.add(d),g.has(d)||g.add(d),d},cancel:d=>{a.delete(d),o.delete(d)},process:d=>{if(s=d,r){i=!0;return}r=!0,[n,a]=[a,n],n.forEach(l),n.clear(),r=!1,i&&(i=!1,u.process(d))}};return u}const Yke=40;function nY(t,e){let n=!1,a=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=A0.reduce((y,v)=>(y[v]=Hke(i),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:d,update:p,preRender:A,render:m,postRender:g}=o,h=()=>{const y=zy.useManualTiming?r.timestamp:performance.now();n=!1,zy.useManualTiming||(r.delta=a?1e3/60:Math.max(Math.min(y-r.timestamp,Yke),1)),r.timestamp=y,r.isProcessing=!0,s.process(r),l.process(r),u.process(r),d.process(r),p.process(r),A.process(r),m.process(r),g.process(r),r.isProcessing=!1,n&&e&&(a=!1,t(h))},f=()=>{n=!0,a=!0,r.isProcessing||t(h)};return{schedule:A0.reduce((y,v)=>{const _=o[v];return y[v]=(I,C=!1,E=!1)=>(n||f(),_.schedule(I,C,E)),y},{}),cancel:y=>{for(let v=0;v<A0.length;v++)o[A0[v]].cancel(y)},state:r,steps:o}}const{schedule:sC,cancel:Wke,state:cC,steps:R3t}=nY(typeof requestAnimationFrame<"u"?requestAnimationFrame:wh,!0);let Tv;function Kke(){Tv=void 0}const gs={now:()=>(Tv===void 0&&gs.set(cC.isProcessing||zy.useManualTiming?cC.timestamp:performance.now()),Tv),set:t=>{Tv=t,queueMicrotask(Kke)}},aY=t=>e=>typeof e=="string"&&e.startsWith(t),M3t=aY("--"),Zke=aY("var(--"),E4=t=>Zke(t)?Vke.test(t.split("/*")[0].trim()):!1,Vke=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vh={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Uy={...vh,transform:t=>rp(0,1,t)},m0={...vh,default:1},Ay=t=>Math.round(t*1e5)/1e5,x4=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Jke(t){return t==null}const Xke=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,B4=(t,e)=>n=>!!(typeof n=="string"&&Xke.test(n)&&n.startsWith(t)||e&&!Jke(n)&&Object.prototype.hasOwnProperty.call(n,e)),rY=(t,e,n)=>a=>{if(typeof a!="string")return a;const[r,i,o,s]=a.match(x4);return{[t]:parseFloat(r),[e]:parseFloat(i),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},e0e=t=>rp(0,255,t),kI={...vh,transform:t=>Math.round(e0e(t))},Rd={test:B4("rgb","red"),parse:rY("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:a=1})=>"rgba("+kI.transform(t)+", "+kI.transform(e)+", "+kI.transform(n)+", "+Ay(Uy.transform(a))+")"};function t0e(t){let e="",n="",a="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),a=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),a=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,a+=a,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(a,16),alpha:r?parseInt(r,16)/255:1}}const bS={test:B4("#"),parse:t0e,transform:Rd.transform},Jw=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Rl=Jw("deg"),im=Jw("%"),sn=Jw("px"),n0e=Jw("vh"),a0e=Jw("vw"),WM={...im,parse:t=>im.parse(t)/100,transform:t=>im.transform(t*100)},HA={test:B4("hsl","hue"),parse:rY("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:a=1})=>"hsla("+Math.round(t)+", "+im.transform(Ay(e))+", "+im.transform(Ay(n))+", "+Ay(Uy.transform(a))+")"},Ya={test:t=>Rd.test(t)||bS.test(t)||HA.test(t),parse:t=>Rd.test(t)?Rd.parse(t):HA.test(t)?HA.parse(t):bS.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Rd.transform(t):HA.transform(t),getAnimatableNone:t=>{const e=Ya.parse(t);return e.alpha=0,Ya.transform(e)}},r0e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function i0e(t){return isNaN(t)&&typeof t=="string"&&(t.match(x4)?.length||0)+(t.match(r0e)?.length||0)>0}const iY="number",oY="color",o0e="var",s0e="var(",KM="${}",c0e=/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 Hy(t){const e=t.toString(),n=[],a={color:[],number:[],var:[]},r=[];let i=0;const s=e.replace(c0e,l=>(Ya.test(l)?(a.color.push(i),r.push(oY),n.push(Ya.parse(l))):l.startsWith(s0e)?(a.var.push(i),r.push(o0e),n.push(l)):(a.number.push(i),r.push(iY),n.push(parseFloat(l))),++i,KM)).split(KM);return{values:n,split:s,indexes:a,types:r}}function sY(t){return Hy(t).values}function cY(t){const{split:e,types:n}=Hy(t),a=e.length;return r=>{let i="";for(let o=0;o<a;o++)if(i+=e[o],r[o]!==void 0){const s=n[o];s===iY?i+=Ay(r[o]):s===oY?i+=Ya.transform(r[o]):i+=r[o]}return i}}const l0e=t=>typeof t=="number"?0:Ya.test(t)?Ya.getAnimatableNone(t):t;function u0e(t){const e=sY(t);return cY(t)(e.map(l0e))}const Xw={test:i0e,parse:sY,createTransformer:cY,getAnimatableNone:u0e};function vI(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function d0e({hue:t,saturation:e,lightness:n,alpha:a}){t/=360,e/=100,n/=100;let r=0,i=0,o=0;if(!e)r=i=o=n;else{const s=n<.5?n*(1+e):n+e-n*e,l=2*n-s;r=vI(l,s,t+1/3),i=vI(l,s,t),o=vI(l,s,t-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:a}}function lC(t,e){return n=>n>0?e:t}const Lx=(t,e,n)=>t+(e-t)*n,_I=(t,e,n)=>{const a=t*t,r=n*(e*e-a)+a;return r<0?0:Math.sqrt(r)},p0e=[bS,Rd,HA],A0e=t=>p0e.find(e=>e.test(t));function ZM(t){const e=A0e(t);if(!e)return!1;let n=e.parse(t);return e===HA&&(n=d0e(n)),n}const VM=(t,e)=>{const n=ZM(t),a=ZM(e);if(!n||!a)return lC(t,e);const r={...n};return i=>(r.red=_I(n.red,a.red,i),r.green=_I(n.green,a.green,i),r.blue=_I(n.blue,a.blue,i),r.alpha=Lx(n.alpha,a.alpha,i),Rd.transform(r))},yS=new Set(["none","hidden"]);function m0e(t,e){return yS.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function g0e(t,e){return n=>Lx(t,e,n)}function I4(t){return typeof t=="number"?g0e:typeof t=="string"?E4(t)?lC:Ya.test(t)?VM:b0e:Array.isArray(t)?lY:typeof t=="object"?Ya.test(t)?VM:h0e:lC}function lY(t,e){const n=[...t],a=n.length,r=t.map((i,o)=>I4(i)(i,e[o]));return i=>{for(let o=0;o<a;o++)n[o]=r[o](i);return n}}function h0e(t,e){const n={...t,...e},a={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(a[r]=I4(t[r])(t[r],e[r]));return r=>{for(const i in a)n[i]=a[i](r);return n}}function f0e(t,e){const n=[],a={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){const i=e.types[r],o=t.indexes[i][a[i]],s=t.values[o]??0;n[r]=s,a[i]++}return n}const b0e=(t,e)=>{const n=Xw.createTransformer(e),a=Hy(t),r=Hy(e);return a.indexes.var.length===r.indexes.var.length&&a.indexes.color.length===r.indexes.color.length&&a.indexes.number.length>=r.indexes.number.length?yS.has(t)&&!r.values.length||yS.has(e)&&!a.values.length?m0e(t,e):v4(lY(f0e(a,r),r.values),n):lC(t,e)};function uY(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Lx(t,e,n):I4(t)(t,e)}const y0e=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>sC.update(e,n),stop:()=>Wke(e),now:()=>cC.isProcessing?cC.timestamp:gs.now()}},dY=(t,e,n=10)=>{let a="";const r=Math.max(Math.round(e/n),2);for(let i=0;i<r;i++)a+=Math.round(t(i/(r-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},uC=2e4;function D4(t){let e=0;const n=50;let a=t.next(e);for(;!a.done&&e<uC;)e+=n,a=t.next(e);return e>=uC?1/0:e}function w0e(t,e=100,n){const a=n({...t,keyframes:[0,e]}),r=Math.min(D4(a),uC);return{type:"keyframes",ease:i=>a.next(r*i).value/e,duration:ms(r)}}const k0e=5;function pY(t,e,n){const a=Math.max(e-k0e,0);return HH(n-t(a),e-a)}const Ia={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},CI=.001;function v0e({duration:t=Ia.duration,bounce:e=Ia.bounce,velocity:n=Ia.velocity,mass:a=Ia.mass}){let r,i,o=1-e;o=rp(Ia.minDamping,Ia.maxDamping,o),t=rp(Ia.minDuration,Ia.maxDuration,ms(t)),o<1?(r=u=>{const d=u*o,p=d*t,A=d-n,m=wS(u,o),g=Math.exp(-p);return CI-A/m*g},i=u=>{const p=u*o*t,A=p*n+n,m=Math.pow(o,2)*Math.pow(u,2)*t,g=Math.exp(-p),h=wS(Math.pow(u,2),o);return(-r(u)+CI>0?-1:1)*((A-m)*g)/h}):(r=u=>{const d=Math.exp(-u*t),p=(u-n)*t+1;return-CI+d*p},i=u=>{const d=Math.exp(-u*t),p=(n-u)*(t*t);return d*p});const s=5/t,l=C0e(r,i,s);if(t=kh(t),isNaN(l))return{stiffness:Ia.stiffness,damping:Ia.damping,duration:t};{const u=Math.pow(l,2)*a;return{stiffness:u,damping:o*2*Math.sqrt(a*u),duration:t}}}const _0e=12;function C0e(t,e,n){let a=n;for(let r=1;r<_0e;r++)a=a-t(a)/e(a);return a}function wS(t,e){return t*Math.sqrt(1-e*e)}const E0e=["duration","bounce"],x0e=["stiffness","damping","mass"];function JM(t,e){return e.some(n=>t[n]!==void 0)}function B0e(t){let e={velocity:Ia.velocity,stiffness:Ia.stiffness,damping:Ia.damping,mass:Ia.mass,isResolvedFromDuration:!1,...t};if(!JM(t,x0e)&&JM(t,E0e))if(t.visualDuration){const n=t.visualDuration,a=2*Math.PI/(n*1.2),r=a*a,i=2*rp(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:Ia.mass,stiffness:r,damping:i}}else{const n=v0e(t);e={...e,...n,mass:Ia.mass},e.isResolvedFromDuration=!0}return e}function dC(t=Ia.visualDuration,e=Ia.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:a,restDelta:r}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:d,duration:p,velocity:A,isResolvedFromDuration:m}=B0e({...n,velocity:-ms(n.velocity||0)}),g=A||0,h=u/(2*Math.sqrt(l*d)),f=o-i,b=ms(Math.sqrt(l/d)),w=Math.abs(f)<5;a||(a=w?Ia.restSpeed.granular:Ia.restSpeed.default),r||(r=w?Ia.restDelta.granular:Ia.restDelta.default);let y;if(h<1){const _=wS(b,h);y=I=>{const C=Math.exp(-h*b*I);return o-C*((g+h*b*f)/_*Math.sin(_*I)+f*Math.cos(_*I))}}else if(h===1)y=_=>o-Math.exp(-b*_)*(f+(g+b*f)*_);else{const _=b*Math.sqrt(h*h-1);y=I=>{const C=Math.exp(-h*b*I),E=Math.min(_*I,300);return o-C*((g+h*b*f)*Math.sinh(E)+_*f*Math.cosh(E))/_}}const v={calculatedDuration:m&&p||null,next:_=>{const I=y(_);if(m)s.done=_>=p;else{let C=_===0?g:0;h<1&&(C=_===0?kh(g):pY(y,_,I));const E=Math.abs(C)<=a,B=Math.abs(o-I)<=r;s.done=E&&B}return s.value=s.done?o:I,s},toString:()=>{const _=Math.min(D4(v),uC),I=dY(C=>v.next(_*C).value,_,30);return _+"ms "+I},toTransition:()=>{}};return v}dC.applyToOptions=t=>{const e=w0e(t,100,dC);return t.ease=e.ease,t.duration=kh(e.duration),t.type="keyframes",t};function kS({keyframes:t,velocity:e=0,power:n=.8,timeConstant:a=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:o,min:s,max:l,restDelta:u=.5,restSpeed:d}){const p=t[0],A={done:!1,value:p},m=E=>s!==void 0&&E<s||l!==void 0&&E>l,g=E=>s===void 0?l:l===void 0||Math.abs(s-E)<Math.abs(l-E)?s:l;let h=n*e;const f=p+h,b=o===void 0?f:o(f);b!==f&&(h=b-p);const w=E=>-h*Math.exp(-E/a),y=E=>b+w(E),v=E=>{const B=w(E),T=y(E);A.done=Math.abs(B)<=u,A.value=A.done?b:T};let _,I;const C=E=>{m(A.value)&&(_=E,I=dC({keyframes:[A.value,g(A.value)],velocity:pY(y,E,A.value),damping:r,stiffness:i,restDelta:u,restSpeed:d}))};return C(0),{calculatedDuration:null,next:E=>{let B=!1;return!I&&_===void 0&&(B=!0,v(E),C(E)),_!==void 0&&E>=_?I.next(E-_):(!B&&v(E),A)}}}function I0e(t,e,n){const a=[],r=n||zy.mix||uY,i=t.length-1;for(let o=0;o<i;o++){let s=r(t[o],t[o+1]);if(e){const l=Array.isArray(e)?e[o]||wh:e;s=v4(l,s)}a.push(s)}return a}function D0e(t,e,{clamp:n=!0,ease:a,mixer:r}={}){const i=t.length;if(w4(i===e.length),i===1)return()=>e[0];if(i===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());const s=I0e(e,a,r),l=s.length,u=d=>{if(o&&d<t[0])return e[0];let p=0;if(l>1)for(;p<t.length-2&&!(d<t[p+1]);p++);const A=UH(t[p],t[p+1],d);return s[p](A)};return n?d=>u(rp(t[0],t[i-1],d)):u}function Q0e(t,e){const n=t[t.length-1];for(let a=1;a<=e;a++){const r=UH(0,e,a);t.push(Lx(n,1,r))}}function S0e(t){const e=[0];return Q0e(e,t.length-1),e}function T0e(t,e){return t.map(n=>n*e)}function F0e(t,e){return t.map(()=>e||eY).splice(0,t.length-1)}function my({duration:t=300,keyframes:e,times:n,ease:a="easeInOut"}){const r=qke(a)?a.map(YM):YM(a),i={done:!1,value:e[0]},o=T0e(n&&n.length===e.length?n:S0e(e),t),s=D0e(o,e,{ease:Array.isArray(r)?r:F0e(e,r)});return{calculatedDuration:t,next:l=>(i.value=s(l),i.done=l>=t,i)}}const L0e=t=>t!==null;function Q4(t,{repeat:e,repeatType:n="loop"},a,r=1){const i=t.filter(L0e),s=r<0||e&&n!=="loop"&&e%2===1?0:i.length-1;return!s||a===void 0?i[s]:a}const N0e={decay:kS,inertia:kS,tween:my,keyframes:my,spring:dC};function AY(t){typeof t.type=="string"&&(t.type=N0e[t.type])}class S4{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const R0e=t=>t/100;class mY extends S4{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==gs.now()&&this.tick(gs.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;AY(e);const{type:n=my,repeat:a=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:s}=e;const l=n||my;l!==my&&typeof s[0]!="number"&&(this.mixKeyframes=v4(R0e,uY(s[0],s[1])),s=[0,100]);const u=l({...e,keyframes:s});i==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...s].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=D4(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(a+1)-r,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:a,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return a.next(0);const{delay:u=0,keyframes:d,repeat:p,repeatType:A,repeatDelay:m,type:g,onUpdate:h,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>r;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let y=this.currentTime,v=a;if(p){const E=Math.min(this.currentTime,r)/s;let B=Math.floor(E),T=E%1;!T&&E>=1&&(T=1),T===1&&B--,B=Math.min(B,p+1),B%2&&(A==="reverse"?(T=1-T,m&&(T-=m/s)):A==="mirror"&&(v=o)),y=rp(0,1,T)*s}const _=w?{done:!1,value:d[0]}:v.next(y);i&&(_.value=i(_.value));let{done:I}=_;!w&&l!==null&&(I=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return C&&g!==kS&&(_.value=Q4(d,this.options,f,this.speed)),h&&h(_.value),C&&this.finish(),_}then(e,n){return this.finished.then(e,n)}get duration(){return ms(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+ms(e)}get time(){return ms(this.currentTime)}set time(e){e=kh(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(gs.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=ms(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=y0e,startTime:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),this.options.onPlay?.();const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=n??a),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(gs.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(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function M0e(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Md=t=>t*180/Math.PI,vS=t=>{const e=Md(Math.atan2(t[1],t[0]));return _S(e)},$0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:vS,rotateZ:vS,skewX:t=>Md(Math.atan(t[1])),skewY:t=>Md(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},_S=t=>(t=t%360,t<0&&(t+=360),t),XM=vS,e6=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),t6=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),P0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e6,scaleY:t6,scale:t=>(e6(t)+t6(t))/2,rotateX:t=>_S(Md(Math.atan2(t[6],t[5]))),rotateY:t=>_S(Md(Math.atan2(-t[2],t[0]))),rotateZ:XM,rotate:XM,skewX:t=>Md(Math.atan(t[4])),skewY:t=>Md(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function n6(t){return t.includes("scale")?1:0}function CS(t,e){if(!t||t==="none")return n6(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,r;if(n)a=P0e,r=n;else{const s=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=$0e,r=s}if(!r)return n6(e);const i=a[e],o=r[1].split(",").map(O0e);return typeof i=="function"?i(o):o[i]}const $3t=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return CS(n,e)};function O0e(t){return parseFloat(t.trim())}const T4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P3t=new Set(T4),a6=t=>t===vh||t===sn,j0e=new Set(["x","y","z"]),G0e=T4.filter(t=>!j0e.has(t));function q0e(t){const e=[];return G0e.forEach(n=>{const a=t.getValue(n);a!==void 0&&(e.push([n,a.get()]),a.set(n.startsWith("scale")?1:0))}),e}const Kd={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>CS(e,"x"),y:(t,{transform:e})=>CS(e,"y")};Kd.translateX=Kd.x;Kd.translateY=Kd.y;const Zd=new Set;let ES=!1,xS=!1,BS=!1;function gY(){if(xS){const t=Array.from(Zd).filter(a=>a.needsMeasurement),e=new Set(t.map(a=>a.element)),n=new Map;e.forEach(a=>{const r=q0e(a);r.length&&(n.set(a,r),a.render())}),t.forEach(a=>a.measureInitialState()),e.forEach(a=>{a.render();const r=n.get(a);r&&r.forEach(([i,o])=>{a.getValue(i)?.set(o)})}),t.forEach(a=>a.measureEndState()),t.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}xS=!1,ES=!1,Zd.forEach(t=>t.complete(BS)),Zd.clear()}function hY(){Zd.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(xS=!0)})}function z0e(){BS=!0,hY(),gY(),BS=!1}class fY{constructor(e,n,a,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=a,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Zd.add(this),ES||(ES=!0,sC.read(hY),sC.resolveKeyframes(gY))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:a,motionValue:r}=this;if(e[0]===null){const i=r?.get(),o=e[e.length-1];if(i!==void 0)e[0]=i;else if(a&&n){const s=a.readValue(n,o);s!=null&&(e[0]=s)}e[0]===void 0&&(e[0]=o),r&&i===void 0&&r.set(e[0])}M0e(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Zd.delete(this)}cancel(){this.state==="scheduled"&&(Zd.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const U0e=t=>t.startsWith("--");function H0e(t,e,n){U0e(e)?t.style.setProperty(e,n):t.style[e]=n}const Y0e=k4(()=>window.ScrollTimeline!==void 0),W0e={};function K0e(t,e){const n=k4(t);return()=>W0e[e]??n()}const bY=K0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),lb=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`,r6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:lb([0,.65,.55,1]),circOut:lb([.55,0,1,.45]),backIn:lb([.31,.01,.66,-.59]),backOut:lb([.33,1.53,.69,.99])};function yY(t,e){if(t)return typeof t=="function"?bY()?dY(t,e):"ease-out":tY(t)?lb(t):Array.isArray(t)?t.map(n=>yY(n,e)||r6.easeOut):r6[t]}function Z0e(t,e,n,{delay:a=0,duration:r=300,repeat:i=0,repeatType:o="loop",ease:s="easeOut",times:l}={},u=void 0){const d={[e]:n};l&&(d.offset=l);const p=yY(s,r);Array.isArray(p)&&(d.easing=p);const A={delay:a,duration:r,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return u&&(A.pseudoElement=u),t.animate(d,A)}function wY(t){return typeof t=="function"&&"applyToOptions"in t}function V0e({type:t,...e}){return wY(t)&&bY()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class J0e extends S4{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:a,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:l}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,w4(typeof e.type!="string");const u=V0e(e);this.animation=Z0e(n,a,r,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=Q4(r,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(d):H0e(n,a,d),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(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:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return ms(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+ms(e)}get time(){return ms(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=kh(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Y0e()?(this.animation.timeline=e,wh):n(this)}}const kY={anticipate:JH,backInOut:VH,circInOut:XH};function X0e(t){return t in kY}function eve(t){typeof t.ease=="string"&&X0e(t.ease)&&(t.ease=kY[t.ease])}const i6=10;class tve extends J0e{constructor(e){eve(e),AY(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:a,onComplete:r,element:i,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const s=new mY({...o,autoplay:!1}),l=kh(this.finishedTime??this.time);n.setWithVelocity(s.sample(l-i6).value,s.sample(l).value,i6),s.stop()}}const o6=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Xw.test(t)||t==="0")&&!t.startsWith("url("));function nve(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function ave(t,e,n,a){const r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;const i=t[t.length-1],o=o6(r,e),s=o6(i,e);return!o||!s?!1:nve(t)||(n==="spring"||wY(n))&&a}function rve(t){t.duration=0,t.type="keyframes"}const ive=new Set(["opacity","clipPath","filter","transform"]),ove=k4(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function sve(t){const{motionValue:e,name:n,repeatDelay:a,repeatType:r,damping:i,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return ove()&&n&&ive.has(n)&&(n!=="transform"||!u)&&!l&&!a&&r!=="mirror"&&i!==0&&o!=="inertia"}const cve=40;class O3t extends S4{constructor({autoplay:e=!0,delay:n=0,type:a="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:l,motionValue:u,element:d,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=gs.now();const A={autoplay:e,delay:n,type:a,repeat:r,repeatDelay:i,repeatType:o,name:l,motionValue:u,element:d,...p},m=d?.KeyframeResolver||fY;this.keyframeResolver=new m(s,(g,h,f)=>this.onKeyframesResolved(g,h,A,!f),l,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,a,r){this.keyframeResolver=void 0;const{name:i,type:o,velocity:s,delay:l,isHandoff:u,onUpdate:d}=a;this.resolvedAt=gs.now(),ave(e,i,o,s)||((zy.instantAnimations||!l)&&d?.(Q4(e,a,n)),e[0]=e[e.length-1],rve(a),a.repeat=0);const A={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>cve?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...a,keyframes:e},m=!u&&sve(A)?new tve({...A,element:A.motionValue.owner.current}):new mY(A);m.finished.then(()=>this.notifyFinished()).catch(wh),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),z0e()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const lve=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function uve(t){const e=lve.exec(t);if(!e)return[,];const[,n,a,r]=e;return[`--${n??a}`,r]}function vY(t,e,n=1){const[a,r]=uve(t);if(!a)return;const i=window.getComputedStyle(e).getPropertyValue(a);if(i){const o=i.trim();return Fke(o)?parseFloat(o):o}return E4(r)?vY(r,e,n+1):r}function j3t(t,e){return t?.[e]??t?.default??t}const dve=new Set(["width","height","top","left","right","bottom",...T4]),pve={test:t=>t==="auto",parse:t=>t},_Y=t=>e=>e.test(t),CY=[vh,sn,im,Rl,a0e,n0e,pve],s6=t=>CY.find(_Y(t));function Ave(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Lke(t):!0}const mve=new Set(["brightness","contrast","saturate","opacity"]);function gve(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[a]=n.match(x4)||[];if(!a)return t;const r=n.replace(a,"");let i=mve.has(e)?1:0;return a!==n&&(i*=100),e+"("+i+r+")"}const hve=/\b([a-z-]*)\(.*?\)/gu,IS={...Xw,getAnimatableNone:t=>{const e=t.match(hve);return e?e.map(gve).join(" "):t}},c6={...vh,transform:Math.round},fve={rotate:Rl,rotateX:Rl,rotateY:Rl,rotateZ:Rl,scale:m0,scaleX:m0,scaleY:m0,scaleZ:m0,skew:Rl,skewX:Rl,skewY:Rl,distance:sn,translateX:sn,translateY:sn,translateZ:sn,x:sn,y:sn,z:sn,perspective:sn,transformPerspective:sn,opacity:Uy,originX:WM,originY:WM,originZ:sn},bve={borderWidth:sn,borderTopWidth:sn,borderRightWidth:sn,borderBottomWidth:sn,borderLeftWidth:sn,borderRadius:sn,radius:sn,borderTopLeftRadius:sn,borderTopRightRadius:sn,borderBottomRightRadius:sn,borderBottomLeftRadius:sn,width:sn,maxWidth:sn,height:sn,maxHeight:sn,top:sn,right:sn,bottom:sn,left:sn,padding:sn,paddingTop:sn,paddingRight:sn,paddingBottom:sn,paddingLeft:sn,margin:sn,marginTop:sn,marginRight:sn,marginBottom:sn,marginLeft:sn,backgroundPositionX:sn,backgroundPositionY:sn,...fve,zIndex:c6,fillOpacity:Uy,strokeOpacity:Uy,numOctaves:c6},yve={...bve,color:Ya,backgroundColor:Ya,outlineColor:Ya,fill:Ya,stroke:Ya,borderColor:Ya,borderTopColor:Ya,borderRightColor:Ya,borderBottomColor:Ya,borderLeftColor:Ya,filter:IS,WebkitFilter:IS},wve=t=>yve[t];function kve(t,e){let n=wve(t);return n!==IS&&(n=Xw),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const vve=new Set(["auto","none","0"]);function _ve(t,e,n){let a=0,r;for(;a<t.length&&!r;){const i=t[a];typeof i=="string"&&!vve.has(i)&&Hy(i).values.length&&(r=t[a]),a++}if(r&&n)for(const i of e)t[i]=kve(n,r)}class G3t extends fY{constructor(e,n,a,r,i){super(e,n,a,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:a}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),E4(u))){const d=vY(u,n.current);d!==void 0&&(e[l]=d),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!dve.has(a)||e.length!==2)return;const[r,i]=e,o=s6(r),s=s6(i);if(o!==s)if(a6(o)&&a6(s))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else Kd[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,a=[];for(let r=0;r<e.length;r++)(e[r]===null||Ave(e[r]))&&a.push(r);a.length&&_ve(e,a,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:a}=this;if(!e||!e.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Kd[a](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&e.getValue(a,r).jump(r,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:a}=this;if(!e||!e.current)return;const r=e.getValue(n);r&&r.jump(this.measuredOrigin,!1);const i=a.length-1,o=a[i];a[i]=Kd[n](e.measureViewportBox(),window.getComputedStyle(e.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,l])=>{e.getValue(s).set(l)}),this.resolveNoneKeyframes()}}function Cve(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let a=document;const r=n?.[t]??a.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}const q3t=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Eve(t){return zH(t)&&"offsetHeight"in t}const l6=30,xve=t=>!isNaN(parseFloat(t));class Bve{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{const r=gs.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=gs.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=xve(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Rke);const a=this.events[e].add(n);return e==="change"?()=>{a(),sC.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,a){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-a}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=gs.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>l6)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,l6);return HH(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(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 z3t(t,e){return new Bve(t,e)}const{schedule:U3t}=nY(queueMicrotask,!1),is={x:!1,y:!1};function EY(){return is.x||is.y}function H3t(t){return t==="x"||t==="y"?is[t]?null:(is[t]=!0,()=>{is[t]=!1}):is.x||is.y?null:(is.x=is.y=!0,()=>{is.x=is.y=!1})}function xY(t,e){const n=Cve(t),a=new AbortController,r={passive:!0,...e,signal:a.signal};return[n,r,()=>a.abort()]}function u6(t){return!(t.pointerType==="touch"||EY())}function Y3t(t,e,n={}){const[a,r,i]=xY(t,n),o=s=>{if(!u6(s))return;const{target:l}=s,u=e(l,s);if(typeof u!="function"||!l)return;const d=p=>{u6(p)&&(u(p),l.removeEventListener("pointerleave",d))};l.addEventListener("pointerleave",d,r)};return a.forEach(s=>{s.addEventListener("pointerenter",o,r)}),i}const BY=(t,e)=>e?t===e?!0:BY(t,e.parentElement):!1,Ive=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Dve=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Qve(t){return Dve.has(t.tagName)||t.tabIndex!==-1}const Fv=new WeakSet;function d6(t){return e=>{e.key==="Enter"&&t(e)}}function EI(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Sve=(t,e)=>{const n=t.currentTarget;if(!n)return;const a=d6(()=>{if(Fv.has(n))return;EI(n,"down");const r=d6(()=>{EI(n,"up")}),i=()=>EI(n,"cancel");n.addEventListener("keyup",r,e),n.addEventListener("blur",i,e)});n.addEventListener("keydown",a,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",a),e)};function p6(t){return Ive(t)&&!EY()}function W3t(t,e,n={}){const[a,r,i]=xY(t,n),o=s=>{const l=s.currentTarget;if(!p6(s))return;Fv.add(l);const u=e(l,s),d=(m,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",A),Fv.has(l)&&Fv.delete(l),p6(m)&&typeof u=="function"&&u(m,{success:g})},p=m=>{d(m,l===window||l===document||n.useGlobalTarget||BY(l,m.target))},A=m=>{d(m,!1)};window.addEventListener("pointerup",p,r),window.addEventListener("pointercancel",A,r)};return a.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",o,r),Eve(s)&&(s.addEventListener("focus",u=>Sve(u,r)),!Qve(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),i}function Tve(t){return zH(t)&&"ownerSVGElement"in t}function K3t(t){return Tve(t)&&t.tagName==="svg"}const Z3t=t=>!!(t&&t.getVelocity),Fve=[...CY,Ya,Xw],V3t=t=>Fve.find(_Y(t));class Lve extends Error{name="Assertion";code="ERR_ASSERTION";constructor(e,n,a,r,i){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=n,this.expected=a,this.generated=i,this.operator=r}}function J3t(t,e){IY(!!t,!1,!0,"ok","Expected value to be truthy",e)}function X3t(t){IY(!1,!1,!0,"ok","Unreachable",t)}function IY(t,e,n,a,r,i){if(!t)throw i instanceof Error?i:new Lve(i||r,e,n,a,!i)}function e4t(t){const e=[],n=String(t||"");let a=n.indexOf(","),r=0,i=!1;for(;!i;){a===-1&&(a=n.length,i=!0);const o=n.slice(r,a).trim();(o||!i)&&e.push(o),r=a+1,a=n.indexOf(",",r)}return e}function t4t(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Nve=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rve=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Mve={};function n4t(t,e){return(Mve.jsx?Rve:Nve).test(t)}class ek{constructor(e,n,a){this.normal=n,this.property=e,a&&(this.space=a)}}ek.prototype.normal={};ek.prototype.property={};ek.prototype.space=void 0;function DY(t,e){const n={},a={};for(const r of t)Object.assign(n,r.property),Object.assign(a,r.normal);return new ek(n,a,e)}function DS(t){return t.toLowerCase()}let Ki=class{constructor(e,n){this.attribute=n,this.property=e}};Ki.prototype.attribute="";Ki.prototype.booleanish=!1;Ki.prototype.boolean=!1;Ki.prototype.commaOrSpaceSeparated=!1;Ki.prototype.commaSeparated=!1;Ki.prototype.defined=!1;Ki.prototype.mustUseProperty=!1;Ki.prototype.number=!1;Ki.prototype.overloadedBoolean=!1;Ki.prototype.property="";Ki.prototype.spaceSeparated=!1;Ki.prototype.space=void 0;let $ve=0;const un=Np(),za=Np(),QS=Np(),At=Np(),aa=Np(),om=Np(),ro=Np();function Np(){return 2**++$ve}const SS=Object.freeze(Object.defineProperty({__proto__:null,boolean:un,booleanish:za,commaOrSpaceSeparated:ro,commaSeparated:om,number:At,overloadedBoolean:QS,spaceSeparated:aa},Symbol.toStringTag,{value:"Module"})),xI=Object.keys(SS);class F4 extends Ki{constructor(e,n,a,r){let i=-1;if(super(e,n),A6(this,"space",r),typeof a=="number")for(;++i<xI.length;){const o=xI[i];A6(this,xI[i],(a&SS[o])===SS[o])}}}F4.prototype.defined=!0;function A6(t,e,n){n&&(t[e]=n)}function _h(t){const e={},n={};for(const[a,r]of Object.entries(t.properties)){const i=new F4(a,t.transform(t.attributes||{},a),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(a)&&(i.mustUseProperty=!0),e[a]=i,n[DS(a)]=a,n[DS(i.attribute)]=a}return new ek(e,n,t.space)}const QY=_h({properties:{ariaActiveDescendant:null,ariaAtomic:za,ariaAutoComplete:null,ariaBusy:za,ariaChecked:za,ariaColCount:At,ariaColIndex:At,ariaColSpan:At,ariaControls:aa,ariaCurrent:null,ariaDescribedBy:aa,ariaDetails:null,ariaDisabled:za,ariaDropEffect:aa,ariaErrorMessage:null,ariaExpanded:za,ariaFlowTo:aa,ariaGrabbed:za,ariaHasPopup:null,ariaHidden:za,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:aa,ariaLevel:At,ariaLive:null,ariaModal:za,ariaMultiLine:za,ariaMultiSelectable:za,ariaOrientation:null,ariaOwns:aa,ariaPlaceholder:null,ariaPosInSet:At,ariaPressed:za,ariaReadOnly:za,ariaRelevant:null,ariaRequired:za,ariaRoleDescription:aa,ariaRowCount:At,ariaRowIndex:At,ariaRowSpan:At,ariaSelected:za,ariaSetSize:At,ariaSort:null,ariaValueMax:At,ariaValueMin:At,ariaValueNow:At,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function SY(t,e){return e in t?t[e]:e}function TY(t,e){return SY(t,e.toLowerCase())}const Pve=_h({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:om,acceptCharset:aa,accessKey:aa,action:null,allow:null,allowFullScreen:un,allowPaymentRequest:un,allowUserMedia:un,alt:null,as:null,async:un,autoCapitalize:null,autoComplete:aa,autoFocus:un,autoPlay:un,blocking:aa,capture:null,charSet:null,checked:un,cite:null,className:aa,cols:At,colSpan:null,content:null,contentEditable:za,controls:un,controlsList:aa,coords:At|om,crossOrigin:null,data:null,dateTime:null,decoding:null,default:un,defer:un,dir:null,dirName:null,disabled:un,download:QS,draggable:za,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:un,formTarget:null,headers:aa,height:At,hidden:QS,high:At,href:null,hrefLang:null,htmlFor:aa,httpEquiv:aa,id:null,imageSizes:null,imageSrcSet:null,inert:un,inputMode:null,integrity:null,is:null,isMap:un,itemId:null,itemProp:aa,itemRef:aa,itemScope:un,itemType:aa,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:un,low:At,manifest:null,max:null,maxLength:At,media:null,method:null,min:null,minLength:At,multiple:un,muted:un,name:null,nonce:null,noModule:un,noValidate:un,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:un,optimum:At,pattern:null,ping:aa,placeholder:null,playsInline:un,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:un,referrerPolicy:null,rel:aa,required:un,reversed:un,rows:At,rowSpan:At,sandbox:aa,scope:null,scoped:un,seamless:un,selected:un,shadowRootClonable:un,shadowRootDelegatesFocus:un,shadowRootMode:null,shape:null,size:At,sizes:null,slot:null,span:At,spellCheck:za,src:null,srcDoc:null,srcLang:null,srcSet:null,start:At,step:null,style:null,tabIndex:At,target:null,title:null,translate:null,type:null,typeMustMatch:un,useMap:null,value:za,width:At,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:aa,axis:null,background:null,bgColor:null,border:At,borderColor:null,bottomMargin:At,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:un,declare:un,event:null,face:null,frame:null,frameBorder:null,hSpace:At,leftMargin:At,link:null,longDesc:null,lowSrc:null,marginHeight:At,marginWidth:At,noResize:un,noHref:un,noShade:un,noWrap:un,object:null,profile:null,prompt:null,rev:null,rightMargin:At,rules:null,scheme:null,scrolling:za,standby:null,summary:null,text:null,topMargin:At,valueType:null,version:null,vAlign:null,vLink:null,vSpace:At,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:un,disableRemotePlayback:un,prefix:null,property:null,results:At,security:null,unselectable:null},space:"html",transform:TY}),Ove=_h({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ro,accentHeight:At,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:At,amplitude:At,arabicForm:null,ascent:At,attributeName:null,attributeType:null,azimuth:At,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:At,by:null,calcMode:null,capHeight:At,className:aa,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:At,diffuseConstant:At,direction:null,display:null,dur:null,divisor:At,dominantBaseline:null,download:un,dx:null,dy:null,edgeMode:null,editable:null,elevation:At,enableBackground:null,end:null,event:null,exponent:At,externalResourcesRequired:null,fill:null,fillOpacity:At,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:om,g2:om,glyphName:om,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:At,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:At,horizOriginX:At,horizOriginY:At,id:null,ideographic:At,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:At,k:At,k1:At,k2:At,k3:At,k4:At,kernelMatrix:ro,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:At,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:At,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:At,overlineThickness:At,paintOrder:null,panose1:null,path:null,pathLength:At,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:aa,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:At,pointsAtY:At,pointsAtZ:At,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ro,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ro,rev:ro,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ro,requiredFeatures:ro,requiredFonts:ro,requiredFormats:ro,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:At,specularExponent:At,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:At,strikethroughThickness:At,string:null,stroke:null,strokeDashArray:ro,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:At,strokeOpacity:At,strokeWidth:null,style:null,surfaceScale:At,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ro,tabIndex:At,tableValues:null,target:null,targetX:At,targetY:At,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ro,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:At,underlineThickness:At,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:At,values:null,vAlphabetic:At,vMathematical:At,vectorEffect:null,vHanging:At,vIdeographic:At,version:null,vertAdvY:At,vertOriginX:At,vertOriginY:At,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:At,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:SY}),FY=_h({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),LY=_h({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:TY}),NY=_h({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),r4t={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},jve=/[A-Z]/g,m6=/-[a-z]/g,Gve=/^data[-\w.:]+$/i;function i4t(t,e){const n=DS(e);let a=e,r=Ki;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Gve.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(m6,zve);a="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!m6.test(i)){let o=i.replace(jve,qve);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}r=F4}return new r(a,e)}function qve(t){return"-"+t.toLowerCase()}function zve(t){return t.charAt(1).toUpperCase()}const o4t=DY([QY,Pve,FY,LY,NY],"html"),s4t=DY([QY,Ove,FY,LY,NY],"svg");function c4t(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function l4t(t){return t.join(" ").trim()}var g6=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Uve=/\n/g,Hve=/^\s*/,Yve=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Wve=/^:\s*/,Kve=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Zve=/^[;\s]*/,Vve=/^\s+|\s+$/g,Jve=`
|
|
24
24
|
`,h6="/",f6="*",Id="",Xve="comment",e_e="declaration";function t_e(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,a=1;function r(g){var h=g.match(Uve);h&&(n+=h.length);var f=g.lastIndexOf(Jve);a=~f?g.length-f:a+g.length}function i(){var g={line:n,column:a};return function(h){return h.position=new o(g),u(),h}}function o(g){this.start=g,this.end={line:n,column:a},this.source=e.source}o.prototype.content=t;function s(g){var h=new Error(e.source+":"+n+":"+a+": "+g);if(h.reason=g,h.filename=e.source,h.line=n,h.column=a,h.source=t,!e.silent)throw h}function l(g){var h=g.exec(t);if(h){var f=h[0];return r(f),t=t.slice(f.length),h}}function u(){l(Hve)}function d(g){var h;for(g=g||[];h=p();)h!==!1&&g.push(h);return g}function p(){var g=i();if(!(h6!=t.charAt(0)||f6!=t.charAt(1))){for(var h=2;Id!=t.charAt(h)&&(f6!=t.charAt(h)||h6!=t.charAt(h+1));)++h;if(h+=2,Id===t.charAt(h-1))return s("End of comment missing");var f=t.slice(2,h-2);return a+=2,r(f),t=t.slice(h),a+=2,g({type:Xve,comment:f})}}function A(){var g=i(),h=l(Yve);if(h){if(p(),!l(Wve))return s("property missing ':'");var f=l(Kve),b=g({type:e_e,property:b6(h[0].replace(g6,Id)),value:f?b6(f[0].replace(g6,Id)):Id});return l(Zve),b}}function m(){var g=[];d(g);for(var h;h=A();)h!==!1&&(g.push(h),d(g));return g}return u(),m()}function b6(t){return t?t.replace(Vve,Id):Id}function n_e(t,e){let n=null;if(!t||typeof t!="string")return n;const a=t_e(t),r=typeof e=="function";return a.forEach(i=>{if(i.type!=="declaration")return;const{property:o,value:s}=i;r?e(o,s,i):s&&(n=n||{},n[o]=s)}),n}const a_e=Object.freeze(Object.defineProperty({__proto__:null,default:n_e},Symbol.toStringTag,{value:"Module"})),r_e=Hpe(a_e);var Ef={},y6;function i_e(){if(y6)return Ef;y6=1,Object.defineProperty(Ef,"__esModule",{value:!0}),Ef.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,i=function(u){return!u||n.test(u)||t.test(u)},o=function(u,d){return d.toUpperCase()},s=function(u,d){return"".concat(d,"-")},l=function(u,d){return d===void 0&&(d={}),i(u)?u:(u=u.toLowerCase(),d.reactCompat?u=u.replace(r,s):u=u.replace(a,s),u.replace(e,o))};return Ef.camelCase=l,Ef}var xf,w6;function o_e(){if(w6)return xf;w6=1;var t=xf&&xf.__importDefault||function(r){return r&&r.__esModule?r:{default:r}},e=t(r_e),n=i_e();function a(r,i){var o={};return!r||typeof r!="string"||(0,e.default)(r,function(s,l){s&&l&&(o[(0,n.camelCase)(s,i)]=l)}),o}return a.default=a,xf=a,xf}var s_e=o_e();const u4t=wc(s_e),c_e=RY("end"),l_e=RY("start");function RY(t){return e;function e(n){const a=n&&n.position&&n.position[t]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function d4t(t){const e=l_e(t),n=c_e(t);if(e&&n)return{start:e,end:n}}function u_e(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?k6(t.position):"start"in t||"end"in t?k6(t):"line"in t||"column"in t?TS(t):""}function TS(t){return v6(t&&t.line)+":"+v6(t&&t.column)}function k6(t){return TS(t&&t.start)+"-"+TS(t&&t.end)}function v6(t){return t&&typeof t=="number"?t:1}class Zi extends Error{constructor(e,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let r="",i={},o=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof e=="string"?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof a=="string"){const l=a.indexOf(":");l===-1?i.ruleId=a:(i.source=a.slice(0,l),i.ruleId=a.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=u_e(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Zi.prototype.file="";Zi.prototype.name="";Zi.prototype.reason="";Zi.prototype.message="";Zi.prototype.stack="";Zi.prototype.column=void 0;Zi.prototype.line=void 0;Zi.prototype.ancestors=void 0;Zi.prototype.cause=void 0;Zi.prototype.fatal=void 0;Zi.prototype.place=void 0;Zi.prototype.ruleId=void 0;Zi.prototype.source=void 0;const p4t={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},_6={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
25
25
|
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""},d_e={}.hasOwnProperty;function A4t(t){return d_e.call(_6,t)?_6[t]:!1}var g0={exports:{}},BI,C6;function p_e(){if(C6)return BI;C6=1;var t=1e3,e=t*60,n=e*60,a=n*24,r=a*7,i=a*365.25;BI=function(d,p){p=p||{};var A=typeof d;if(A==="string"&&d.length>0)return o(d);if(A==="number"&&isFinite(d))return p.long?l(d):s(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function o(d){if(d=String(d),!(d.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(p){var A=parseFloat(p[1]),m=(p[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return A*i;case"weeks":case"week":case"w":return A*r;case"days":case"day":case"d":return A*a;case"hours":case"hour":case"hrs":case"hr":case"h":return A*n;case"minutes":case"minute":case"mins":case"min":case"m":return A*e;case"seconds":case"second":case"secs":case"sec":case"s":return A*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return A;default:return}}}}function s(d){var p=Math.abs(d);return p>=a?Math.round(d/a)+"d":p>=n?Math.round(d/n)+"h":p>=e?Math.round(d/e)+"m":p>=t?Math.round(d/t)+"s":d+"ms"}function l(d){var p=Math.abs(d);return p>=a?u(d,p,a,"day"):p>=n?u(d,p,n,"hour"):p>=e?u(d,p,e,"minute"):p>=t?u(d,p,t,"second"):d+" ms"}function u(d,p,A,m){var g=p>=A*1.5;return Math.round(d/A)+" "+m+(g?"s":"")}return BI}var II,E6;function A_e(){if(E6)return II;E6=1;function t(e){a.debug=a,a.default=a,a.coerce=u,a.disable=s,a.enable=i,a.enabled=l,a.humanize=p_e(),a.destroy=d,Object.keys(e).forEach(p=>{a[p]=e[p]}),a.names=[],a.skips=[],a.formatters={};function n(p){let A=0;for(let m=0;m<p.length;m++)A=(A<<5)-A+p.charCodeAt(m),A|=0;return a.colors[Math.abs(A)%a.colors.length]}a.selectColor=n;function a(p){let A,m=null,g,h;function f(...b){if(!f.enabled)return;const w=f,y=Number(new Date),v=y-(A||y);w.diff=v,w.prev=A,w.curr=y,A=y,b[0]=a.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let _=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(C,E)=>{if(C==="%%")return"%";_++;const B=a.formatters[E];if(typeof B=="function"){const T=b[_];C=B.call(w,T),b.splice(_,1),_--}return C}),a.formatArgs.call(w,b),(w.log||a.log).apply(w,b)}return f.namespace=p,f.useColors=a.useColors(),f.color=a.selectColor(p),f.extend=r,f.destroy=a.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(g!==a.namespaces&&(g=a.namespaces,h=a.enabled(p)),h),set:b=>{m=b}}),typeof a.init=="function"&&a.init(f),f}function r(p,A){const m=a(this.namespace+(typeof A>"u"?":":A)+p);return m.log=this.log,m}function i(p){a.save(p),a.namespaces=p,a.names=[],a.skips=[];const A=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of A)m[0]==="-"?a.skips.push(m.slice(1)):a.names.push(m)}function o(p,A){let m=0,g=0,h=-1,f=0;for(;m<p.length;)if(g<A.length&&(A[g]===p[m]||A[g]==="*"))A[g]==="*"?(h=g,f=m,g++):(m++,g++);else if(h!==-1)g=h+1,f++,m=f;else return!1;for(;g<A.length&&A[g]==="*";)g++;return g===A.length}function s(){const p=[...a.names,...a.skips.map(A=>"-"+A)].join(",");return a.enable(""),p}function l(p){for(const A of a.skips)if(o(p,A))return!1;for(const A of a.names)if(o(p,A))return!0;return!1}function u(p){return p instanceof Error?p.stack||p.message:p}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return a.enable(a.load()),a}return II=t,II}var x6;function m_e(){return x6||(x6=1,(function(t,e){var n={};e.formatArgs=r,e.save=i,e.load=o,e.useColors=a,e.storage=s(),e.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function a(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const d="color: "+this.color;u.splice(1,0,d,"color: inherit");let p=0,A=0;u[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(p++,m==="%c"&&(A=p))}),u.splice(A,0,d)}e.log=console.debug||console.log||(()=>{});function i(u){try{u?e.storage.setItem("debug",u):e.storage.removeItem("debug")}catch{}}function o(){let u;try{u=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=n.DEBUG),u}function s(){try{return localStorage}catch{}}t.exports=A_e()(e);const{formatters:l}=t.exports;l.j=function(u){try{return JSON.stringify(u)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}})(g0,g0.exports)),g0.exports}var g_e=m_e();const m4t=wc(g_e),B6=9,I6=32;function g4t(t){const e=String(t),n=/\r?\n|\r/g;let a=n.exec(e),r=0;const i=[];for(;a;)i.push(D6(e.slice(r,a.index),r>0,!0),a[0]),r=a.index+a[0].length,a=n.exec(e);return i.push(D6(e.slice(r),r>0,!1)),i.join("")}function D6(t,e,n){let a=0,r=t.length;if(e){let i=t.codePointAt(a);for(;i===B6||i===I6;)a++,i=t.codePointAt(a)}if(n){let i=t.codePointAt(r-1);for(;i===B6||i===I6;)r--,i=t.codePointAt(r-1)}return r>a?t.slice(a,r):""}const MY=-1,Nx=0,gy=1,pC=2,L4=3,N4=4,R4=5,M4=6,$Y=7,PY=8,Q6=typeof self=="object"?self:globalThis,h_e=(t,e)=>{const n=(r,i)=>(t.set(i,r),r),a=r=>{if(t.has(r))return t.get(r);const[i,o]=e[r];switch(i){case Nx:case MY:return n(o,r);case gy:{const s=n([],r);for(const l of o)s.push(a(l));return s}case pC:{const s=n({},r);for(const[l,u]of o)s[a(l)]=a(u);return s}case L4:return n(new Date(o),r);case N4:{const{source:s,flags:l}=o;return n(new RegExp(s,l),r)}case R4:{const s=n(new Map,r);for(const[l,u]of o)s.set(a(l),a(u));return s}case M4:{const s=n(new Set,r);for(const l of o)s.add(a(l));return s}case $Y:{const{name:s,message:l}=o;return n(new Q6[s](l),r)}case PY:return n(BigInt(o),r);case"BigInt":return n(Object(BigInt(o)),r);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new Q6[i](o),r)};return a},S6=t=>h_e(new Map,t)(0),hA="",{toString:f_e}={},{keys:b_e}=Object,Bf=t=>{const e=typeof t;if(e!=="object"||!t)return[Nx,e];const n=f_e.call(t).slice(8,-1);switch(n){case"Array":return[gy,hA];case"Object":return[pC,hA];case"Date":return[L4,hA];case"RegExp":return[N4,hA];case"Map":return[R4,hA];case"Set":return[M4,hA];case"DataView":return[gy,n]}return n.includes("Array")?[gy,n]:n.includes("Error")?[$Y,n]:[pC,n]},h0=([t,e])=>t===Nx&&(e==="function"||e==="symbol"),y_e=(t,e,n,a)=>{const r=(o,s)=>{const l=a.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=Bf(o);switch(s){case Nx:{let d=o;switch(l){case"bigint":s=PY,d=o.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return r([MY],o)}return r([s,d],o)}case gy:{if(l){let A=o;return l==="DataView"?A=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(A=new Uint8Array(o)),r([l,[...A]],o)}const d=[],p=r([s,d],o);for(const A of o)d.push(i(A));return p}case pC:{if(l)switch(l){case"BigInt":return r([l,o.toString()],o);case"Boolean":case"Number":case"String":return r([l,o.valueOf()],o)}if(e&&"toJSON"in o)return i(o.toJSON());const d=[],p=r([s,d],o);for(const A of b_e(o))(t||!h0(Bf(o[A])))&&d.push([i(A),i(o[A])]);return p}case L4:return r([s,o.toISOString()],o);case N4:{const{source:d,flags:p}=o;return r([s,{source:d,flags:p}],o)}case R4:{const d=[],p=r([s,d],o);for(const[A,m]of o)(t||!(h0(Bf(A))||h0(Bf(m))))&&d.push([i(A),i(m)]);return p}case M4:{const d=[],p=r([s,d],o);for(const A of o)(t||!h0(Bf(A)))&&d.push(i(A));return p}}const{message:u}=o;return r([s,{name:l,message:u}],o)};return i},T6=(t,{json:e,lossy:n}={})=>{const a=[];return y_e(!(e||n),!!e,new Map,a)(t),a},h4t=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?S6(T6(t,e)):structuredClone(t):(t,e)=>S6(T6(t,e)),$4=(function(t){if(t==null)return __e;if(typeof t=="function")return Rx(t);if(typeof t=="object")return Array.isArray(t)?w_e(t):k_e(t);if(typeof t=="string")return v_e(t);throw new Error("Expected function, string, or object as test")});function w_e(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=$4(t[n]);return Rx(a);function a(...r){let i=-1;for(;++i<e.length;)if(e[i].apply(this,r))return!0;return!1}}function k_e(t){const e=t;return Rx(n);function n(a){const r=a;let i;for(i in t)if(r[i]!==e[i])return!1;return!0}}function v_e(t){return Rx(e);function e(n){return n&&n.type===t}}function Rx(t){return e;function e(n,a,r){return!!(C_e(n)&&t.call(this,n,typeof a=="number"?a:void 0,r||void 0))}}function __e(){return!0}function C_e(t){return t!==null&&typeof t=="object"&&"type"in t}const OY=[],E_e=!0,F6=!1,x_e="skip";function B_e(t,e,n,a){let r;typeof e=="function"&&typeof n!="function"?(a=n,n=e):r=e;const i=$4(r),o=a?-1:1;s(t,void 0,[])();function s(l,u,d){const p=l&&typeof l=="object"?l:{};if(typeof p.type=="string"){const m=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(A,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return A;function A(){let m=OY,g,h,f;if((!e||i(l,u,d[d.length-1]||void 0))&&(m=I_e(n(l,d)),m[0]===F6))return m;if("children"in l&&l.children){const b=l;if(b.children&&m[0]!==x_e)for(h=(a?b.children.length:-1)+o,f=d.concat(b);h>-1&&h<b.children.length;){const w=b.children[h];if(g=s(w,h,f)(),g[0]===F6)return g;h=typeof g[1]=="number"?g[1]:h+o}}return m}}}function I_e(t){return Array.isArray(t)?t:typeof t=="number"?[E_e,t]:t==null?OY:[t]}function D_e(t,e,n,a){let r,i,o;typeof e=="function"&&typeof n!="function"?(i=void 0,o=e,r=n):(i=e,o=n,r=a),B_e(t,i,s,r);function s(l,u){const d=u[u.length-1],p=d?d.children.indexOf(l):void 0;return o(l,p,d)}}function f4t(t){if(t)throw t}var DI,L6;function Q_e(){if(L6)return DI;L6=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,r=function(u){return typeof Array.isArray=="function"?Array.isArray(u):e.call(u)==="[object Array]"},i=function(u){if(!u||e.call(u)!=="[object Object]")return!1;var d=t.call(u,"constructor"),p=u.constructor&&u.constructor.prototype&&t.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!p)return!1;var A;for(A in u);return typeof A>"u"||t.call(u,A)},o=function(u,d){n&&d.name==="__proto__"?n(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(t.call(u,d)){if(a)return a(u,d).value}else return;return u[d]};return DI=function l(){var u,d,p,A,m,g,h=arguments[0],f=1,b=arguments.length,w=!1;for(typeof h=="boolean"&&(w=h,h=arguments[1]||{},f=2),(h==null||typeof h!="object"&&typeof h!="function")&&(h={});f<b;++f)if(u=arguments[f],u!=null)for(d in u)p=s(h,d),A=s(u,d),h!==A&&(w&&A&&(i(A)||(m=r(A)))?(m?(m=!1,g=p&&r(p)?p:[]):g=p&&i(p)?p:{},o(h,{name:d,newValue:l(w,g,A)})):typeof A<"u"&&o(h,{name:d,newValue:A}));return h},DI}var S_e=Q_e();const b4t=wc(S_e);function y4t(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function w4t(){const t=[],e={run:n,use:a};return e;function n(...r){let i=-1;const o=r.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...r);function s(l,...u){const d=t[++i];let p=-1;if(l){o(l);return}for(;++p<r.length;)(u[p]===null||u[p]===void 0)&&(u[p]=r[p]);r=u,d?T_e(d,s)(...u):o(null,...u)}}function a(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return t.push(r),e}}function T_e(t,e){let n;return a;function a(...o){const s=t.length>o.length;let l;s&&o.push(r);try{l=t.apply(this,o)}catch(u){const d=u;if(s&&n)throw d;return r(d)}s||(l&&l.then&&typeof l.then=="function"?l.then(i,r):l instanceof Error?r(l):i(l))}function r(o,...s){n||(n=!0,e(o,...s))}function i(o){r(null,o)}}const Ks={basename:F_e,dirname:L_e,extname:N_e,join:R_e,sep:"/"};function F_e(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');tk(t);let n=0,a=-1,r=t.length,i;if(e===void 0||e.length===0||e.length>t.length){for(;r--;)if(t.codePointAt(r)===47){if(i){n=r+1;break}}else a<0&&(i=!0,a=r+1);return a<0?"":t.slice(n,a)}if(e===t)return"";let o=-1,s=e.length-1;for(;r--;)if(t.codePointAt(r)===47){if(i){n=r+1;break}}else o<0&&(i=!0,o=r+1),s>-1&&(t.codePointAt(r)===e.codePointAt(s--)?s<0&&(a=r):(s=-1,a=o));return n===a?a=o:a<0&&(a=t.length),t.slice(n,a)}function L_e(t){if(tk(t),t.length===0)return".";let e=-1,n=t.length,a;for(;--n;)if(t.codePointAt(n)===47){if(a){e=n;break}}else a||(a=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function N_e(t){tk(t);let e=t.length,n=-1,a=0,r=-1,i=0,o;for(;e--;){const s=t.codePointAt(e);if(s===47){if(o){a=e+1;break}continue}n<0&&(o=!0,n=e+1),s===46?r<0?r=e:i!==1&&(i=1):r>-1&&(i=-1)}return r<0||n<0||i===0||i===1&&r===n-1&&r===a+1?"":t.slice(r,n)}function R_e(...t){let e=-1,n;for(;++e<t.length;)tk(t[e]),t[e]&&(n=n===void 0?t[e]:n+"/"+t[e]);return n===void 0?".":M_e(n)}function M_e(t){tk(t);const e=t.codePointAt(0)===47;let n=$_e(t,!e);return n.length===0&&!e&&(n="."),n.length>0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function $_e(t,e){let n="",a=0,r=-1,i=0,o=-1,s,l;for(;++o<=t.length;){if(o<t.length)s=t.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(r===o-1||i===1))if(r!==o-1&&i===2){if(n.length<2||a!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",a=0):(n=n.slice(0,l),a=n.length-1-n.lastIndexOf("/")),r=o,i=0;continue}}else if(n.length>0){n="",a=0,r=o,i=0;continue}}e&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+t.slice(r+1,o):n=t.slice(r+1,o),a=o-r-1;r=o,i=0}else s===46&&i>-1?i++:i=-1}return n}function tk(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const P_e={cwd:O_e};function O_e(){return"/"}function FS(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function j_e(t){if(typeof t=="string")t=new URL(t);else if(!FS(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return G_e(t)}function G_e(t){if(t.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const e=t.pathname;let n=-1;for(;++n<e.length;)if(e.codePointAt(n)===37&&e.codePointAt(n+1)===50){const a=e.codePointAt(n+2);if(a===70||a===102){const r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(e)}const QI=["history","path","basename","stem","extname","dirname"];class k4t{constructor(e){let n;e?FS(e)?n={path:e}:typeof e=="string"||q_e(e)?n={value:e}:n=e:n={},this.cwd="cwd"in n?"":P_e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<QI.length;){const i=QI[a];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let r;for(r in n)QI.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?Ks.basename(this.path):void 0}set basename(e){TI(e,"basename"),SI(e,"basename"),this.path=Ks.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ks.dirname(this.path):void 0}set dirname(e){N6(this.basename,"dirname"),this.path=Ks.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ks.extname(this.path):void 0}set extname(e){if(SI(e,"extname"),N6(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ks.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){FS(e)&&(e=j_e(e)),TI(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ks.basename(this.path,this.extname):void 0}set stem(e){TI(e,"stem"),SI(e,"stem"),this.path=Ks.join(this.dirname||"",e+(this.extname||""))}fail(e,n,a){const r=this.message(e,n,a);throw r.fatal=!0,r}info(e,n,a){const r=this.message(e,n,a);return r.fatal=void 0,r}message(e,n,a){const r=new Zi(e,n,a);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function SI(t,e){if(t&&t.includes(Ks.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ks.sep+"`")}function TI(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function N6(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function q_e(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}function v4t(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let a=0,r=n.indexOf(e);for(;r!==-1;)a++,r=n.indexOf(e,r+e.length);return a}function _4t(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function z_e(t){return t.length}function C4t(t,e){const n=e||{},a=(n.align||[]).concat(),r=n.stringLength||z_e,i=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<t.length;){const h=[],f=[];let b=-1;for(t[d].length>u&&(u=t[d].length);++b<t[d].length;){const w=U_e(t[d][b]);if(n.alignDelimiters!==!1){const y=r(w);f[b]=y,(l[b]===void 0||y>l[b])&&(l[b]=y)}h.push(w)}o[d]=h,s[d]=f}let p=-1;if(typeof a=="object"&&"length"in a)for(;++p<u;)i[p]=R6(a[p]);else{const h=R6(a);for(;++p<u;)i[p]=h}p=-1;const A=[],m=[];for(;++p<u;){const h=i[p];let f="",b="";h===99?(f=":",b=":"):h===108?f=":":h===114&&(b=":");let w=n.alignDelimiters===!1?1:Math.max(1,l[p]-f.length-b.length);const y=f+"-".repeat(w)+b;n.alignDelimiters!==!1&&(w=f.length+w+b.length,w>l[p]&&(l[p]=w),m[p]=w),A[p]=y}o.splice(1,0,A),s.splice(1,0,m),d=-1;const g=[];for(;++d<o.length;){const h=o[d],f=s[d];p=-1;const b=[];for(;++p<u;){const w=h[p]||"";let y="",v="";if(n.alignDelimiters!==!1){const _=l[p]-(f[p]||0),I=i[p];I===114?y=" ".repeat(_):I===99?_%2?(y=" ".repeat(_/2+.5),v=" ".repeat(_/2-.5)):(y=" ".repeat(_/2),v=y):v=" ".repeat(_)}n.delimiterStart!==!1&&!p&&b.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&w==="")&&(n.delimiterStart!==!1||p)&&b.push(" "),n.alignDelimiters!==!1&&b.push(y),b.push(w),n.alignDelimiters!==!1&&b.push(v),n.padding!==!1&&b.push(" "),(n.delimiterEnd!==!1||p!==u-1)&&b.push("|")}g.push(n.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return g.join(`
|
|
26
|
-
`)}function U_e(t){return t==null?"":String(t)}function R6(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}const M6={}.hasOwnProperty;function E4t(t,e){const n=e||{};function a(r,...i){let o=a.invalid;const s=a.handlers;if(r&&M6.call(r,t)){const l=String(r[t]);o=M6.call(s,l)?s[l]:a.unknown}if(o)return o.call(this,r,...i)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}function x4t(t,e){const n=String(t);let a=n.indexOf(e),r=a,i=0,o=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===r?++i>o&&(o=i):i=1,r=a+e.length,a=n.indexOf(e,r);return o}const H_e="modulepreload",Y_e=function(t){return"/"+t},$6={},oe=function(e,n,a){let r=Promise.resolve();if(n&&n.length>0){let
|
|
26
|
+
`)}function U_e(t){return t==null?"":String(t)}function R6(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}const M6={}.hasOwnProperty;function E4t(t,e){const n=e||{};function a(r,...i){let o=a.invalid;const s=a.handlers;if(r&&M6.call(r,t)){const l=String(r[t]);o=M6.call(s,l)?s[l]:a.unknown}if(o)return o.call(this,r,...i)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}function x4t(t,e){const n=String(t);let a=n.indexOf(e),r=a,i=0,o=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===r?++i>o&&(o=i):i=1,r=a+e.length,a=n.indexOf(e,r);return o}const H_e="modulepreload",Y_e=function(t){return"/"+t},$6={},oe=function(e,n,a){let r=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");r=l(n.map(u=>{if(u=Y_e(u),u in $6)return;$6[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${p}`))return;const A=document.createElement("link");if(A.rel=d?"stylesheet":H_e,d||(A.as="script"),A.crossOrigin="",A.href=u,s&&A.setAttribute("nonce",s),document.head.appendChild(A),d)return new Promise((m,g)=>{A.addEventListener("load",m),A.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return r.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return e().catch(i)})};function B4t(t){const e=String(t),n=[];return{toOffset:r,toPoint:a};function a(i){if(typeof i=="number"&&i>-1&&i<=e.length){let o=0;for(;;){let s=n[o];if(s===void 0){const l=P6(e,n[o-1]);s=l===-1?e.length+1:l+1,n[o]=s}if(s>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function r(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const s=n[n.length-1],l=P6(e,s),u=l===-1?e.length+1:l+1;if(s===u)break;n.push(u)}const o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function P6(t,e){const n=t.indexOf("\r",e),a=t.indexOf(`
|
|
27
27
|
`,e);return a===-1?n:n===-1||n+1===a?a:n<a?n:a}const I4t={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},W_e=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ma="�";var pe;(function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(pe||(pe={}));const Li={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function jY(t){return t>=55296&&t<=57343}function K_e(t){return t>=56320&&t<=57343}function Z_e(t,e){return(t-55296)*1024+9216+e}function GY(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function qY(t){return t>=64976&&t<=65007||W_e.has(t)}var Ye;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ye||(Ye={}));const V_e=65536;class J_e{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=V_e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,n){const{line:a,col:r,offset:i}=this,o=r+n,s=i+n;return{code:e,startLine:a,endLine:a,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(K_e(n))return this.pos++,this._addGap(),Z_e(e,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,pe.EOF;return this._err(Ye.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,n){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,n){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(e,this.pos);for(let a=0;a<e.length;a++)if((this.html.charCodeAt(this.pos+a)|32)!==e.charCodeAt(a))return!1;return!0}peek(e){const n=this.pos+e;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,pe.EOF;const a=this.html.charCodeAt(n);return a===pe.CARRIAGE_RETURN?pe.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,pe.EOF;let e=this.html.charCodeAt(this.pos);return e===pe.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,pe.LINE_FEED):e===pe.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,jY(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===pe.LINE_FEED||e===pe.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){GY(e)?this._err(Ye.controlCharacterInInputStream):qY(e)&&this._err(Ye.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Sn;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(Sn||(Sn={}));function zY(t,e){for(let n=t.attrs.length-1;n>=0;n--)if(t.attrs[n].name===e)return t.attrs[n].value;return null}const X_e=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),eCe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function tCe(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=eCe.get(t))!==null&&e!==void 0?e:t}var Cr;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Cr||(Cr={}));const nCe=32;var Wl;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Wl||(Wl={}));function LS(t){return t>=Cr.ZERO&&t<=Cr.NINE}function aCe(t){return t>=Cr.UPPER_A&&t<=Cr.UPPER_F||t>=Cr.LOWER_A&&t<=Cr.LOWER_F}function rCe(t){return t>=Cr.UPPER_A&&t<=Cr.UPPER_Z||t>=Cr.LOWER_A&&t<=Cr.LOWER_Z||LS(t)}function iCe(t){return t===Cr.EQUALS||rCe(t)}var kr;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(kr||(kr={}));var Wc;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Wc||(Wc={}));class oCe{constructor(e,n,a){this.decodeTree=e,this.emitCodePoint=n,this.errors=a,this.state=kr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wc.Strict}startEntity(e){this.decodeMode=e,this.state=kr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,n){switch(this.state){case kr.EntityStart:return e.charCodeAt(n)===Cr.NUM?(this.state=kr.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=kr.NamedEntity,this.stateNamedEntity(e,n));case kr.NumericStart:return this.stateNumericStart(e,n);case kr.NumericDecimal:return this.stateNumericDecimal(e,n);case kr.NumericHex:return this.stateNumericHex(e,n);case kr.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|nCe)===Cr.LOWER_X?(this.state=kr.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=kr.NumericDecimal,this.stateNumericDecimal(e,n))}addToNumericResult(e,n,a,r){if(n!==a){const i=a-n;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(n,i),r),this.consumed+=i}}stateNumericHex(e,n){const a=n;for(;n<e.length;){const r=e.charCodeAt(n);if(LS(r)||aCe(r))n+=1;else return this.addToNumericResult(e,a,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,a,n,16),-1}stateNumericDecimal(e,n){const a=n;for(;n<e.length;){const r=e.charCodeAt(n);if(LS(r))n+=1;else return this.addToNumericResult(e,a,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,a,n,10),-1}emitNumericEntity(e,n){var a;if(this.consumed<=n)return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Cr.SEMI)this.consumed+=1;else if(this.decodeMode===Wc.Strict)return 0;return this.emitCodePoint(tCe(this.result),this.consumed),this.errors&&(e!==Cr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,n){const{decodeTree:a}=this;let r=a[this.treeIndex],i=(r&Wl.VALUE_LENGTH)>>14;for(;n<e.length;n++,this.excess++){const o=e.charCodeAt(n);if(this.treeIndex=sCe(a,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Wc.Attribute&&(i===0||iCe(o))?0:this.emitNotTerminatedNamedEntity();if(r=a[this.treeIndex],i=(r&Wl.VALUE_LENGTH)>>14,i!==0){if(o===Cr.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Wc.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:a}=this,r=(a[n]&Wl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,a){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[e]&~Wl.VALUE_LENGTH:r[e+1],a),n===3&&this.emitCodePoint(r[e+2],a),a}end(){var e;switch(this.state){case kr.NamedEntity:return this.result!==0&&(this.decodeMode!==Wc.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kr.NumericDecimal:return this.emitNumericEntity(0,2);case kr.NumericHex:return this.emitNumericEntity(0,3);case kr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kr.EntityStart:return 0}}}function sCe(t,e,n,a){const r=(e&Wl.BRANCH_LENGTH)>>7,i=e&Wl.JUMP_TABLE;if(r===0)return i!==0&&a===i?n:-1;if(i){const l=a-i;return l<0||l>=r?-1:t[n+l]-1}let o=n,s=o+r-1;for(;o<=s;){const l=o+s>>>1,u=t[l];if(u<a)o=l+1;else if(u>a)s=l-1;else return t[l+r]}return-1}var ot;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(ot||(ot={}));var Vd;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(Vd||(Vd={}));var So;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(So||(So={}));var Me;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SEARCH="search",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(Me||(Me={}));var P;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SEARCH=94]="SEARCH",t[t.SECTION=95]="SECTION",t[t.SELECT=96]="SELECT",t[t.SOURCE=97]="SOURCE",t[t.SMALL=98]="SMALL",t[t.SPAN=99]="SPAN",t[t.STRIKE=100]="STRIKE",t[t.STRONG=101]="STRONG",t[t.STYLE=102]="STYLE",t[t.SUB=103]="SUB",t[t.SUMMARY=104]="SUMMARY",t[t.SUP=105]="SUP",t[t.TABLE=106]="TABLE",t[t.TBODY=107]="TBODY",t[t.TEMPLATE=108]="TEMPLATE",t[t.TEXTAREA=109]="TEXTAREA",t[t.TFOOT=110]="TFOOT",t[t.TD=111]="TD",t[t.TH=112]="TH",t[t.THEAD=113]="THEAD",t[t.TITLE=114]="TITLE",t[t.TR=115]="TR",t[t.TRACK=116]="TRACK",t[t.TT=117]="TT",t[t.U=118]="U",t[t.UL=119]="UL",t[t.SVG=120]="SVG",t[t.VAR=121]="VAR",t[t.WBR=122]="WBR",t[t.XMP=123]="XMP"})(P||(P={}));const cCe=new Map([[Me.A,P.A],[Me.ADDRESS,P.ADDRESS],[Me.ANNOTATION_XML,P.ANNOTATION_XML],[Me.APPLET,P.APPLET],[Me.AREA,P.AREA],[Me.ARTICLE,P.ARTICLE],[Me.ASIDE,P.ASIDE],[Me.B,P.B],[Me.BASE,P.BASE],[Me.BASEFONT,P.BASEFONT],[Me.BGSOUND,P.BGSOUND],[Me.BIG,P.BIG],[Me.BLOCKQUOTE,P.BLOCKQUOTE],[Me.BODY,P.BODY],[Me.BR,P.BR],[Me.BUTTON,P.BUTTON],[Me.CAPTION,P.CAPTION],[Me.CENTER,P.CENTER],[Me.CODE,P.CODE],[Me.COL,P.COL],[Me.COLGROUP,P.COLGROUP],[Me.DD,P.DD],[Me.DESC,P.DESC],[Me.DETAILS,P.DETAILS],[Me.DIALOG,P.DIALOG],[Me.DIR,P.DIR],[Me.DIV,P.DIV],[Me.DL,P.DL],[Me.DT,P.DT],[Me.EM,P.EM],[Me.EMBED,P.EMBED],[Me.FIELDSET,P.FIELDSET],[Me.FIGCAPTION,P.FIGCAPTION],[Me.FIGURE,P.FIGURE],[Me.FONT,P.FONT],[Me.FOOTER,P.FOOTER],[Me.FOREIGN_OBJECT,P.FOREIGN_OBJECT],[Me.FORM,P.FORM],[Me.FRAME,P.FRAME],[Me.FRAMESET,P.FRAMESET],[Me.H1,P.H1],[Me.H2,P.H2],[Me.H3,P.H3],[Me.H4,P.H4],[Me.H5,P.H5],[Me.H6,P.H6],[Me.HEAD,P.HEAD],[Me.HEADER,P.HEADER],[Me.HGROUP,P.HGROUP],[Me.HR,P.HR],[Me.HTML,P.HTML],[Me.I,P.I],[Me.IMG,P.IMG],[Me.IMAGE,P.IMAGE],[Me.INPUT,P.INPUT],[Me.IFRAME,P.IFRAME],[Me.KEYGEN,P.KEYGEN],[Me.LABEL,P.LABEL],[Me.LI,P.LI],[Me.LINK,P.LINK],[Me.LISTING,P.LISTING],[Me.MAIN,P.MAIN],[Me.MALIGNMARK,P.MALIGNMARK],[Me.MARQUEE,P.MARQUEE],[Me.MATH,P.MATH],[Me.MENU,P.MENU],[Me.META,P.META],[Me.MGLYPH,P.MGLYPH],[Me.MI,P.MI],[Me.MO,P.MO],[Me.MN,P.MN],[Me.MS,P.MS],[Me.MTEXT,P.MTEXT],[Me.NAV,P.NAV],[Me.NOBR,P.NOBR],[Me.NOFRAMES,P.NOFRAMES],[Me.NOEMBED,P.NOEMBED],[Me.NOSCRIPT,P.NOSCRIPT],[Me.OBJECT,P.OBJECT],[Me.OL,P.OL],[Me.OPTGROUP,P.OPTGROUP],[Me.OPTION,P.OPTION],[Me.P,P.P],[Me.PARAM,P.PARAM],[Me.PLAINTEXT,P.PLAINTEXT],[Me.PRE,P.PRE],[Me.RB,P.RB],[Me.RP,P.RP],[Me.RT,P.RT],[Me.RTC,P.RTC],[Me.RUBY,P.RUBY],[Me.S,P.S],[Me.SCRIPT,P.SCRIPT],[Me.SEARCH,P.SEARCH],[Me.SECTION,P.SECTION],[Me.SELECT,P.SELECT],[Me.SOURCE,P.SOURCE],[Me.SMALL,P.SMALL],[Me.SPAN,P.SPAN],[Me.STRIKE,P.STRIKE],[Me.STRONG,P.STRONG],[Me.STYLE,P.STYLE],[Me.SUB,P.SUB],[Me.SUMMARY,P.SUMMARY],[Me.SUP,P.SUP],[Me.TABLE,P.TABLE],[Me.TBODY,P.TBODY],[Me.TEMPLATE,P.TEMPLATE],[Me.TEXTAREA,P.TEXTAREA],[Me.TFOOT,P.TFOOT],[Me.TD,P.TD],[Me.TH,P.TH],[Me.THEAD,P.THEAD],[Me.TITLE,P.TITLE],[Me.TR,P.TR],[Me.TRACK,P.TRACK],[Me.TT,P.TT],[Me.U,P.U],[Me.UL,P.UL],[Me.SVG,P.SVG],[Me.VAR,P.VAR],[Me.WBR,P.WBR],[Me.XMP,P.XMP]]);function Mx(t){var e;return(e=cCe.get(t))!==null&&e!==void 0?e:P.UNKNOWN}const lt=P,lCe={[ot.HTML]:new Set([lt.ADDRESS,lt.APPLET,lt.AREA,lt.ARTICLE,lt.ASIDE,lt.BASE,lt.BASEFONT,lt.BGSOUND,lt.BLOCKQUOTE,lt.BODY,lt.BR,lt.BUTTON,lt.CAPTION,lt.CENTER,lt.COL,lt.COLGROUP,lt.DD,lt.DETAILS,lt.DIR,lt.DIV,lt.DL,lt.DT,lt.EMBED,lt.FIELDSET,lt.FIGCAPTION,lt.FIGURE,lt.FOOTER,lt.FORM,lt.FRAME,lt.FRAMESET,lt.H1,lt.H2,lt.H3,lt.H4,lt.H5,lt.H6,lt.HEAD,lt.HEADER,lt.HGROUP,lt.HR,lt.HTML,lt.IFRAME,lt.IMG,lt.INPUT,lt.LI,lt.LINK,lt.LISTING,lt.MAIN,lt.MARQUEE,lt.MENU,lt.META,lt.NAV,lt.NOEMBED,lt.NOFRAMES,lt.NOSCRIPT,lt.OBJECT,lt.OL,lt.P,lt.PARAM,lt.PLAINTEXT,lt.PRE,lt.SCRIPT,lt.SECTION,lt.SELECT,lt.SOURCE,lt.STYLE,lt.SUMMARY,lt.TABLE,lt.TBODY,lt.TD,lt.TEMPLATE,lt.TEXTAREA,lt.TFOOT,lt.TH,lt.THEAD,lt.TITLE,lt.TR,lt.TRACK,lt.UL,lt.WBR,lt.XMP]),[ot.MATHML]:new Set([lt.MI,lt.MO,lt.MN,lt.MS,lt.MTEXT,lt.ANNOTATION_XML]),[ot.SVG]:new Set([lt.TITLE,lt.FOREIGN_OBJECT,lt.DESC]),[ot.XLINK]:new Set,[ot.XML]:new Set,[ot.XMLNS]:new Set},NS=new Set([lt.H1,lt.H2,lt.H3,lt.H4,lt.H5,lt.H6]);Me.STYLE,Me.SCRIPT,Me.XMP,Me.IFRAME,Me.NOEMBED,Me.NOFRAMES,Me.PLAINTEXT;var he;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(he||(he={}));const Oi={DATA:he.DATA,RCDATA:he.RCDATA,RAWTEXT:he.RAWTEXT,SCRIPT_DATA:he.SCRIPT_DATA,PLAINTEXT:he.PLAINTEXT,CDATA_SECTION:he.CDATA_SECTION};function uCe(t){return t>=pe.DIGIT_0&&t<=pe.DIGIT_9}function ub(t){return t>=pe.LATIN_CAPITAL_A&&t<=pe.LATIN_CAPITAL_Z}function dCe(t){return t>=pe.LATIN_SMALL_A&&t<=pe.LATIN_SMALL_Z}function Ml(t){return dCe(t)||ub(t)}function O6(t){return Ml(t)||uCe(t)}function f0(t){return t+32}function UY(t){return t===pe.SPACE||t===pe.LINE_FEED||t===pe.TABULATION||t===pe.FORM_FEED}function j6(t){return UY(t)||t===pe.SOLIDUS||t===pe.GREATER_THAN_SIGN}function pCe(t){return t===pe.NULL?Ye.nullCharacterReference:t>1114111?Ye.characterReferenceOutsideUnicodeRange:jY(t)?Ye.surrogateCharacterReference:qY(t)?Ye.noncharacterCharacterReference:GY(t)||t===pe.CARRIAGE_RETURN?Ye.controlCharacterReference:null}class ACe{constructor(e,n){this.options=e,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=he.DATA,this.returnState=he.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new J_e(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new oCe(X_e,(a,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ye.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(Ye.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{const r=pCe(a);r&&this._err(r,1)}}:void 0)}_err(e,n=0){var a,r;(r=(a=this.handler).onParseError)===null||r===void 0||r.call(a,this.preprocessor.getError(e,n))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,n,a){this.active=!0,this.preprocessor.write(e,n),this._runParsingLoop(),this.paused||a?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let n=0;n<e;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,n){return this.preprocessor.startsWith(e,n)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Sn.START_TAG,tagName:"",tagID:P.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Sn.END_TAG,tagName:"",tagID:P.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Sn.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Sn.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,n){this.currentCharacterToken={type:e,chars:n,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,n;const a=this.currentToken;if(zY(a,this.currentAttr.name)===null){if(a.attrs.push(this.currentAttr),a.location&&this.currentLocation){const r=(e=(n=a.location).attrs)!==null&&e!==void 0?e:n.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Ye.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=Mx(e.tagName),e.type===Sn.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(Ye.endTagWithAttributes),e.selfClosing&&this._err(Ye.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Sn.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Sn.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Sn.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Sn.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,n)}_emitCodePoint(e){const n=UY(e)?Sn.WHITESPACE_CHARACTER:e===pe.NULL?Sn.NULL_CHARACTER:Sn.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Sn.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=he.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Wc.Attribute:Wc.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===he.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case he.DATA:{this._stateData(e);break}case he.RCDATA:{this._stateRcdata(e);break}case he.RAWTEXT:{this._stateRawtext(e);break}case he.SCRIPT_DATA:{this._stateScriptData(e);break}case he.PLAINTEXT:{this._statePlaintext(e);break}case he.TAG_OPEN:{this._stateTagOpen(e);break}case he.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case he.TAG_NAME:{this._stateTagName(e);break}case he.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case he.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case he.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case he.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case he.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case he.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case he.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case he.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case he.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case he.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case he.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case he.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case he.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case he.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case he.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case he.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case he.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case he.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case he.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case he.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case he.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case he.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case he.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case he.BOGUS_COMMENT:{this._stateBogusComment(e);break}case he.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case he.COMMENT_START:{this._stateCommentStart(e);break}case he.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case he.COMMENT:{this._stateComment(e);break}case he.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case he.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case he.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case he.COMMENT_END:{this._stateCommentEnd(e);break}case he.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case he.DOCTYPE:{this._stateDoctype(e);break}case he.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case he.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case he.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case he.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case he.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case he.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case he.CDATA_SECTION:{this._stateCdataSection(e);break}case he.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case he.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case he.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case he.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case pe.LESS_THAN_SIGN:{this.state=he.TAG_OPEN;break}case pe.AMPERSAND:{this._startCharacterReference();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitCodePoint(e);break}case pe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case pe.AMPERSAND:{this._startCharacterReference();break}case pe.LESS_THAN_SIGN:{this.state=he.RCDATA_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case pe.LESS_THAN_SIGN:{this.state=he.RAWTEXT_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Ml(e))this._createStartTagToken(),this.state=he.TAG_NAME,this._stateTagName(e);else switch(e){case pe.EXCLAMATION_MARK:{this.state=he.MARKUP_DECLARATION_OPEN;break}case pe.SOLIDUS:{this.state=he.END_TAG_OPEN;break}case pe.QUESTION_MARK:{this._err(Ye.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=he.BOGUS_COMMENT,this._stateBogusComment(e);break}case pe.EOF:{this._err(Ye.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ye.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=he.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Ml(e))this._createEndTagToken(),this.state=he.TAG_NAME,this._stateTagName(e);else switch(e){case pe.GREATER_THAN_SIGN:{this._err(Ye.missingEndTagName),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Ye.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.BEFORE_ATTRIBUTE_NAME;break}case pe.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.tagName+=ma;break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(ub(e)?f0(e):e)}}_stateRcdataLessThanSign(e){e===pe.SOLIDUS?this.state=he.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Ml(e)?(this.state=he.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=he.BEFORE_ATTRIBUTE_NAME,!1;case pe.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=he.SELF_CLOSING_START_TAG,!1;case pe.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=he.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===pe.SOLIDUS?this.state=he.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Ml(e)?(this.state=he.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case pe.SOLIDUS:{this.state=he.SCRIPT_DATA_END_TAG_OPEN;break}case pe.EXCLAMATION_MARK:{this.state=he.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=he.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Ml(e)?(this.state=he.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===pe.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===pe.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case pe.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case pe.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case pe.HYPHEN_MINUS:{this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case pe.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===pe.SOLIDUS?this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ml(e)?(this._emitChars("<"),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Ml(e)?(this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Li.SCRIPT,!1)&&j6(this.preprocessor.peek(Li.SCRIPT.length))){this._emitCodePoint(e);for(let n=0;n<Li.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case pe.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case pe.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case pe.HYPHEN_MINUS:{this._emitChars("-");break}case pe.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case pe.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ma);break}case pe.EOF:{this._err(Ye.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===pe.SOLIDUS?(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Li.SCRIPT,!1)&&j6(this.preprocessor.peek(Li.SCRIPT.length))){this._emitCodePoint(e);for(let n=0;n<Li.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.SOLIDUS:case pe.GREATER_THAN_SIGN:case pe.EOF:{this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case pe.EQUALS_SIGN:{this._err(Ye.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=he.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:case pe.SOLIDUS:case pe.GREATER_THAN_SIGN:case pe.EOF:{this._leaveAttrName(),this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case pe.EQUALS_SIGN:{this._leaveAttrName(),this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case pe.QUOTATION_MARK:case pe.APOSTROPHE:case pe.LESS_THAN_SIGN:{this._err(Ye.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.currentAttr.name+=ma;break}default:this.currentAttr.name+=String.fromCodePoint(ub(e)?f0(e):e)}}_stateAfterAttributeName(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case pe.EQUALS_SIGN:{this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.QUOTATION_MARK:{this.state=he.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{this.state=he.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingAttributeValue),this.state=he.DATA,this.emitCurrentTagToken();break}default:this.state=he.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case pe.QUOTATION_MARK:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case pe.AMPERSAND:{this._startCharacterReference();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.currentAttr.value+=ma;break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case pe.APOSTROPHE:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case pe.AMPERSAND:{this._startCharacterReference();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.currentAttr.value+=ma;break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case pe.AMPERSAND:{this._startCharacterReference();break}case pe.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this.currentAttr.value+=ma;break}case pe.QUOTATION_MARK:case pe.APOSTROPHE:case pe.LESS_THAN_SIGN:case pe.EQUALS_SIGN:case pe.GRAVE_ACCENT:{this._err(Ye.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case pe.SOLIDUS:{this._leaveAttrValue(),this.state=he.SELF_CLOSING_START_TAG;break}case pe.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this._err(Ye.missingWhitespaceBetweenAttributes),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case pe.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=he.DATA,this.emitCurrentTagToken();break}case pe.EOF:{this._err(Ye.eofInTag),this._emitEOFToken();break}default:this._err(Ye.unexpectedSolidusInTag),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const n=this.currentToken;switch(e){case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(n);break}case pe.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.data+=ma;break}default:n.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Li.DASH_DASH,!0)?(this._createCommentToken(Li.DASH_DASH.length+1),this.state=he.COMMENT_START):this._consumeSequenceIfMatch(Li.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Li.DOCTYPE.length+1),this.state=he.DOCTYPE):this._consumeSequenceIfMatch(Li.CDATA_START,!0)?this.inForeignNode?this.state=he.CDATA_SECTION:(this._err(Ye.cdataInHtmlContent),this._createCommentToken(Li.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=he.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Ye.incorrectlyOpenedComment),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case pe.HYPHEN_MINUS:{this.state=he.COMMENT_START_DASH;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptClosingOfEmptyComment),this.state=he.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=he.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const n=this.currentToken;switch(e){case pe.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptClosingOfEmptyComment),this.state=he.DATA,this.emitCurrentComment(n);break}case pe.EOF:{this._err(Ye.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=he.COMMENT,this._stateComment(e)}}_stateComment(e){const n=this.currentToken;switch(e){case pe.HYPHEN_MINUS:{this.state=he.COMMENT_END_DASH;break}case pe.LESS_THAN_SIGN:{n.data+="<",this.state=he.COMMENT_LESS_THAN_SIGN;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.data+=ma;break}case pe.EOF:{this._err(Ye.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const n=this.currentToken;switch(e){case pe.EXCLAMATION_MARK:{n.data+="!",this.state=he.COMMENT_LESS_THAN_SIGN_BANG;break}case pe.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=he.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===pe.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=he.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===pe.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=he.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==pe.GREATER_THAN_SIGN&&e!==pe.EOF&&this._err(Ye.nestedComment),this.state=he.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const n=this.currentToken;switch(e){case pe.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case pe.EOF:{this._err(Ye.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=he.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const n=this.currentToken;switch(e){case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(n);break}case pe.EXCLAMATION_MARK:{this.state=he.COMMENT_END_BANG;break}case pe.HYPHEN_MINUS:{n.data+="-";break}case pe.EOF:{this._err(Ye.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=he.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const n=this.currentToken;switch(e){case pe.HYPHEN_MINUS:{n.data+="--!",this.state=he.COMMENT_END_DASH;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.incorrectlyClosedComment),this.state=he.DATA,this.emitCurrentComment(n);break}case pe.EOF:{this._err(Ye.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=he.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_NAME;break}case pe.GREATER_THAN_SIGN:{this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case pe.EOF:{this._err(Ye.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingWhitespaceBeforeDoctypeName),this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(ub(e))this._createDoctypeToken(String.fromCharCode(f0(e))),this.state=he.DOCTYPE_NAME;else switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.NULL:{this._err(Ye.unexpectedNullCharacter),this._createDoctypeToken(ma),this.state=he.DOCTYPE_NAME;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=he.DOCTYPE_NAME}}_stateDoctypeName(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.AFTER_DOCTYPE_NAME;break}case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.name+=ma;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(ub(e)?f0(e):e)}}_stateAfterDoctypeName(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Li.PUBLIC,!1)?this.state=he.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Li.SYSTEM,!1)?this.state=he.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Ye.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case pe.QUOTATION_MARK:{this._err(Ye.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{this._err(Ye.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.QUOTATION_MARK:{n.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{n.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const n=this.currentToken;switch(e){case pe.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.publicId+=ma;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const n=this.currentToken;switch(e){case pe.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.publicId+=ma;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case pe.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.QUOTATION_MARK:{this._err(Ye.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{this._err(Ye.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.QUOTATION_MARK:{n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case pe.QUOTATION_MARK:{this._err(Ye.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{this._err(Ye.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.QUOTATION_MARK:{n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case pe.APOSTROPHE:{n.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(n);break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const n=this.currentToken;switch(e){case pe.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.systemId+=ma;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const n=this.currentToken;switch(e){case pe.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter),n.systemId+=ma;break}case pe.GREATER_THAN_SIGN:{this._err(Ye.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const n=this.currentToken;switch(e){case pe.SPACE:case pe.LINE_FEED:case pe.TABULATION:case pe.FORM_FEED:break;case pe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.EOF:{this._err(Ye.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Ye.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const n=this.currentToken;switch(e){case pe.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=he.DATA;break}case pe.NULL:{this._err(Ye.unexpectedNullCharacter);break}case pe.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case pe.RIGHT_SQUARE_BRACKET:{this.state=he.CDATA_SECTION_BRACKET;break}case pe.EOF:{this._err(Ye.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===pe.RIGHT_SQUARE_BRACKET?this.state=he.CDATA_SECTION_END:(this._emitChars("]"),this.state=he.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case pe.GREATER_THAN_SIGN:{this.state=he.DATA;break}case pe.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=he.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(pe.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&O6(this.preprocessor.peek(1))?he.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){O6(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===pe.SEMICOLON&&this._err(Ye.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const HY=new Set([P.DD,P.DT,P.LI,P.OPTGROUP,P.OPTION,P.P,P.RB,P.RP,P.RT,P.RTC]),G6=new Set([...HY,P.CAPTION,P.COLGROUP,P.TBODY,P.TD,P.TFOOT,P.TH,P.THEAD,P.TR]),AC=new Set([P.APPLET,P.CAPTION,P.HTML,P.MARQUEE,P.OBJECT,P.TABLE,P.TD,P.TEMPLATE,P.TH]),mCe=new Set([...AC,P.OL,P.UL]),gCe=new Set([...AC,P.BUTTON]),q6=new Set([P.ANNOTATION_XML,P.MI,P.MN,P.MO,P.MS,P.MTEXT]),z6=new Set([P.DESC,P.FOREIGN_OBJECT,P.TITLE]),hCe=new Set([P.TR,P.TEMPLATE,P.HTML]),fCe=new Set([P.TBODY,P.TFOOT,P.THEAD,P.TEMPLATE,P.HTML]),bCe=new Set([P.TABLE,P.TEMPLATE,P.HTML]),yCe=new Set([P.TD,P.TH]);class wCe{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,n,a){this.treeAdapter=n,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=P.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===P.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ot.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,n){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,n,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,n){const a=this._indexOf(e);this.items[a]=n,a===this.stackTop&&(this.current=n)}insertAfter(e,n,a){const r=this._indexOf(e)+1;this.items.splice(r,0,n),this.tagIDs.splice(r,0,a),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(e,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==ot.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(e){for(;this.stackTop>=e;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<e)}}popUntilElementPopped(e){const n=this._indexOf(e);this.shortenToLength(Math.max(n,0))}popUntilPopped(e,n){const a=this._indexOfTagNames(e,n);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(NS,ot.HTML)}popUntilTableCellPopped(){this.popUntilPopped(yCe,ot.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,n){for(let a=this.stackTop;a>=0;a--)if(e.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===n)return a;return-1}clearBackTo(e,n){const a=this._indexOfTagNames(e,n);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(bCe,ot.HTML)}clearBackToTableBodyContext(){this.clearBackTo(fCe,ot.HTML)}clearBackToTableRowContext(){this.clearBackTo(hCe,ot.HTML)}remove(e){const n=this._indexOf(e);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===P.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const n=this._indexOf(e)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===P.HTML}hasInDynamicScope(e,n){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case ot.HTML:{if(r===e)return!0;if(n.has(r))return!1;break}case ot.SVG:{if(z6.has(r))return!1;break}case ot.MATHML:{if(q6.has(r))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,AC)}hasInListItemScope(e){return this.hasInDynamicScope(e,mCe)}hasInButtonScope(e){return this.hasInDynamicScope(e,gCe)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case ot.HTML:{if(NS.has(n))return!0;if(AC.has(n))return!1;break}case ot.SVG:{if(z6.has(n))return!1;break}case ot.MATHML:{if(q6.has(n))return!1;break}}}return!0}hasInTableScope(e){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ot.HTML)switch(this.tagIDs[n]){case e:return!0;case P.TABLE:case P.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===ot.HTML)switch(this.tagIDs[e]){case P.TBODY:case P.THEAD:case P.TFOOT:return!0;case P.TABLE:case P.HTML:return!1}return!0}hasInSelectScope(e){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ot.HTML)switch(this.tagIDs[n]){case e:return!0;case P.OPTION:case P.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&HY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&G6.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&G6.has(this.currentTagId);)this.pop()}}const FI=3;var Xs;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(Xs||(Xs={}));const U6={type:Xs.Marker};class kCe{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,n){const a=[],r=n.length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Xs.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o){const d=this.treeAdapter.getAttrList(u);d.length===r&&a.push({idx:s,attrs:d})}}return a}_ensureNoahArkCondition(e){if(this.entries.length<FI)return;const n=this.treeAdapter.getAttrList(e),a=this._getNoahArkConditionCandidates(e,n);if(a.length<FI)return;const r=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<a.length;o++){const s=a[o];s.attrs.every(l=>r.get(l.name)===l.value)&&(i+=1,i>=FI&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(U6)}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.unshift({type:Xs.Element,element:e,token:n})}insertElementAfterBookmark(e,n){const a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:Xs.Element,element:e,token:n})}removeEntry(e){const n=this.entries.indexOf(e);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const e=this.entries.indexOf(U6);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const n=this.entries.find(a=>a.type===Xs.Marker||this.treeAdapter.getTagName(a.element)===e);return n&&n.type===Xs.Element?n:null}getElementEntry(e){return this.entries.find(n=>n.type===Xs.Element&&n.element===e)}}const $l={createDocument(){return{nodeName:"#document",mode:So.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,n){return{nodeName:t,tagName:t,attrs:n,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},createTextNode(t){return{nodeName:"#text",value:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,n){const a=t.childNodes.indexOf(n);t.childNodes.splice(a,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,n,a){const r=t.childNodes.find(i=>i.nodeName==="#documentType");if(r)r.name=e,r.publicId=n,r.systemId=a;else{const i={nodeName:"#documentType",name:e,publicId:n,systemId:a,parentNode:null};$l.appendChild(t,i)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){const e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){const n=t.childNodes[t.childNodes.length-1];if($l.isTextNode(n)){n.value+=e;return}}$l.appendChild(t,$l.createTextNode(e))},insertTextBefore(t,e,n){const a=t.childNodes[t.childNodes.indexOf(n)-1];a&&$l.isTextNode(a)?a.value+=e:$l.insertBefore(t,$l.createTextNode(e),n)},adoptAttributes(t,e){const n=new Set(t.attrs.map(a=>a.name));for(let a=0;a<e.length;a++)n.has(e[a].name)||t.attrs.push(e[a])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation={...t.sourceCodeLocation,...e}}},YY="html",vCe="about:legacy-compat",_Ce="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",WY=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],CCe=[...WY,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ECe=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),KY=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],xCe=[...KY,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function H6(t,e){return e.some(n=>t.startsWith(n))}function BCe(t){return t.name===YY&&t.publicId===null&&(t.systemId===null||t.systemId===vCe)}function ICe(t){if(t.name!==YY)return So.QUIRKS;const{systemId:e}=t;if(e&&e.toLowerCase()===_Ce)return So.QUIRKS;let{publicId:n}=t;if(n!==null){if(n=n.toLowerCase(),ECe.has(n))return So.QUIRKS;let a=e===null?CCe:WY;if(H6(n,a))return So.QUIRKS;if(a=e===null?KY:xCe,H6(n,a))return So.LIMITED_QUIRKS}return So.NO_QUIRKS}const Y6={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DCe="definitionurl",QCe="definitionURL",SCe=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),TCe=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ot.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ot.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ot.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ot.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ot.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ot.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ot.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ot.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ot.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ot.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ot.XMLNS}]]),FCe=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),LCe=new Set([P.B,P.BIG,P.BLOCKQUOTE,P.BODY,P.BR,P.CENTER,P.CODE,P.DD,P.DIV,P.DL,P.DT,P.EM,P.EMBED,P.H1,P.H2,P.H3,P.H4,P.H5,P.H6,P.HEAD,P.HR,P.I,P.IMG,P.LI,P.LISTING,P.MENU,P.META,P.NOBR,P.OL,P.P,P.PRE,P.RUBY,P.S,P.SMALL,P.SPAN,P.STRONG,P.STRIKE,P.SUB,P.SUP,P.TABLE,P.TT,P.U,P.UL,P.VAR]);function NCe(t){const e=t.tagID;return e===P.FONT&&t.attrs.some(({name:a})=>a===Vd.COLOR||a===Vd.SIZE||a===Vd.FACE)||LCe.has(e)}function ZY(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===DCe){t.attrs[e].name=QCe;break}}function VY(t){for(let e=0;e<t.attrs.length;e++){const n=SCe.get(t.attrs[e].name);n!=null&&(t.attrs[e].name=n)}}function P4(t){for(let e=0;e<t.attrs.length;e++){const n=TCe.get(t.attrs[e].name);n&&(t.attrs[e].prefix=n.prefix,t.attrs[e].name=n.name,t.attrs[e].namespace=n.namespace)}}function RCe(t){const e=FCe.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Mx(t.tagName))}function MCe(t,e){return e===ot.MATHML&&(t===P.MI||t===P.MO||t===P.MN||t===P.MS||t===P.MTEXT)}function $Ce(t,e,n){if(e===ot.MATHML&&t===P.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Vd.ENCODING){const r=n[a].value.toLowerCase();return r===Y6.TEXT_HTML||r===Y6.APPLICATION_XML}}return e===ot.SVG&&(t===P.FOREIGN_OBJECT||t===P.DESC||t===P.TITLE)}function PCe(t,e,n,a){return(!a||a===ot.HTML)&&$Ce(t,e,n)||(!a||a===ot.MATHML)&&MCe(t,e)}const OCe="hidden",jCe=8,GCe=3;var we;(function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(we||(we={}));const qCe={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},JY=new Set([P.TABLE,P.TBODY,P.TFOOT,P.THEAD,P.TR]),W6={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:$l,onParseError:null};let XY=class{constructor(e,n,a=null,r=null){this.fragmentContext=a,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=we.INITIAL,this.originalInsertionMode=we.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...W6,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new ACe(this.options,this),this.activeFormattingElements=new kCe(this.treeAdapter),this.fragmentContextID=a?Mx(this.treeAdapter.getTagName(a)):P.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new wCe(this.document,this.treeAdapter,this)}static parse(e,n){const a=new this(n);return a.tokenizer.write(e,!0),a.document}static getFragmentParser(e,n){const a={...W6,...n};e??(e=a.treeAdapter.createElement(Me.TEMPLATE,ot.HTML,[]));const r=a.treeAdapter.createElement("documentmock",ot.HTML,[]),i=new this(a,r,e);return i.fragmentContextID===P.TEMPLATE&&i.tmplInsertionModeStack.unshift(we.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,n),n}_err(e,n,a){var r;if(!this.onParseError)return;const i=(r=e.location)!==null&&r!==void 0?r:qCe,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:a?i.startLine:i.endLine,endCol:a?i.startCol:i.endCol,endOffset:a?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(e,n,a){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0||i.call(r,e),a&&this.openElements.stackTop>0&&this._setContextModes(e,n)}onItemPop(e,n){var a,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(a=this.treeAdapter).onItemPop)===null||r===void 0||r.call(a,e,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(e,n){const a=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===ot.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&e!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,e)}_switchToTextParsing(e,n){this._insertElement(e,ot.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=we.TEXT}switchToPlaintextParsing(){this.insertionMode=we.TEXT,this.originalInsertionMode=we.IN_BODY,this.tokenizer.state=Oi.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Me.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ot.HTML))switch(this.fragmentContextID){case P.TITLE:case P.TEXTAREA:{this.tokenizer.state=Oi.RCDATA;break}case P.STYLE:case P.XMP:case P.IFRAME:case P.NOEMBED:case P.NOFRAMES:case P.NOSCRIPT:{this.tokenizer.state=Oi.RAWTEXT;break}case P.SCRIPT:{this.tokenizer.state=Oi.SCRIPT_DATA;break}case P.PLAINTEXT:{this.tokenizer.state=Oi.PLAINTEXT;break}}}_setDocumentType(e){const n=e.name||"",a=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,a,r),e.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}}_attachElementToTree(e,n){if(this.options.sourceCodeLocationInfo){const a=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(e,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const a=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(a??this.document,e)}}_appendElement(e,n){const a=this.treeAdapter.createElement(e.tagName,n,e.attrs);this._attachElementToTree(a,e.location)}_insertElement(e,n){const a=this.treeAdapter.createElement(e.tagName,n,e.attrs);this._attachElementToTree(a,e.location),this.openElements.push(a,e.tagID)}_insertFakeElement(e,n){const a=this.treeAdapter.createElement(e,ot.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,n)}_insertTemplate(e){const n=this.treeAdapter.createElement(e.tagName,ot.HTML,e.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,a),this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Me.HTML,ot.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,P.HTML)}_appendCommentNode(e,n){const a=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(n,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_insertCharacters(e){let n,a;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:a}=this._findFosterParentingLocation(),a?this.treeAdapter.insertTextBefore(n,e.chars,a):this.treeAdapter.insertText(n,e.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(n),i=a?r.lastIndexOf(a):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:l,endCol:u,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:l,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}_adoptNodes(e,n){for(let a=this.treeAdapter.getFirstChild(e);a;a=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(n,a)}_setEndLocation(e,n){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&n.location){const a=n.location,r=this.treeAdapter.getTagName(e),i=n.type===Sn.END_TAG&&r===n.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let n,a;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,a=this.fragmentContextID):{current:n,currentTagId:a}=this.openElements,e.tagID===P.SVG&&this.treeAdapter.getTagName(n)===Me.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===ot.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===P.MGLYPH||e.tagID===P.MALIGNMARK)&&a!==void 0&&!this._isIntegrationPoint(a,n,ot.HTML)}_processToken(e){switch(e.type){case Sn.CHARACTER:{this.onCharacter(e);break}case Sn.NULL_CHARACTER:{this.onNullCharacter(e);break}case Sn.COMMENT:{this.onComment(e);break}case Sn.DOCTYPE:{this.onDoctype(e);break}case Sn.START_TAG:{this._processStartTag(e);break}case Sn.END_TAG:{this.onEndTag(e);break}case Sn.EOF:{this.onEof(e);break}case Sn.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,n,a){const r=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return PCe(e,r,i,a)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const n=this.activeFormattingElements.entries.findIndex(r=>r.type===Xs.Marker||this.openElements.contains(r.element)),a=n===-1?e-1:n-1;for(let r=a;r>=0;r--){const i=this.activeFormattingElements.entries[r];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=we.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(P.P),this.openElements.popUntilTagNamePopped(P.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case P.TR:{this.insertionMode=we.IN_ROW;return}case P.TBODY:case P.THEAD:case P.TFOOT:{this.insertionMode=we.IN_TABLE_BODY;return}case P.CAPTION:{this.insertionMode=we.IN_CAPTION;return}case P.COLGROUP:{this.insertionMode=we.IN_COLUMN_GROUP;return}case P.TABLE:{this.insertionMode=we.IN_TABLE;return}case P.BODY:{this.insertionMode=we.IN_BODY;return}case P.FRAMESET:{this.insertionMode=we.IN_FRAMESET;return}case P.SELECT:{this._resetInsertionModeForSelect(e);return}case P.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case P.HTML:{this.insertionMode=this.headElement?we.AFTER_HEAD:we.BEFORE_HEAD;return}case P.TD:case P.TH:{if(e>0){this.insertionMode=we.IN_CELL;return}break}case P.HEAD:{if(e>0){this.insertionMode=we.IN_HEAD;return}break}}this.insertionMode=we.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let n=e-1;n>0;n--){const a=this.openElements.tagIDs[n];if(a===P.TEMPLATE)break;if(a===P.TABLE){this.insertionMode=we.IN_SELECT_IN_TABLE;return}}this.insertionMode=we.IN_SELECT}_isElementCausesFosterParenting(e){return JY.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const n=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case P.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===ot.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case P.TABLE:{const a=this.treeAdapter.getParentNode(n);return a?{parent:a,beforeElement:n}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,e,n.beforeElement):this.treeAdapter.appendChild(n.parent,e)}_isSpecialElement(e,n){const a=this.treeAdapter.getNamespaceURI(e);return lCe[a].has(n)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){yxe(this,e);return}switch(this.insertionMode){case we.INITIAL:{If(this,e);break}case we.BEFORE_HTML:{hy(this,e);break}case we.BEFORE_HEAD:{fy(this,e);break}case we.IN_HEAD:{by(this,e);break}case we.IN_HEAD_NO_SCRIPT:{yy(this,e);break}case we.AFTER_HEAD:{wy(this,e);break}case we.IN_BODY:case we.IN_CAPTION:case we.IN_CELL:case we.IN_TEMPLATE:{tW(this,e);break}case we.TEXT:case we.IN_SELECT:case we.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case we.IN_TABLE:case we.IN_TABLE_BODY:case we.IN_ROW:{LI(this,e);break}case we.IN_TABLE_TEXT:{sW(this,e);break}case we.IN_COLUMN_GROUP:{mC(this,e);break}case we.AFTER_BODY:{gC(this,e);break}case we.AFTER_AFTER_BODY:{Lv(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){bxe(this,e);return}switch(this.insertionMode){case we.INITIAL:{If(this,e);break}case we.BEFORE_HTML:{hy(this,e);break}case we.BEFORE_HEAD:{fy(this,e);break}case we.IN_HEAD:{by(this,e);break}case we.IN_HEAD_NO_SCRIPT:{yy(this,e);break}case we.AFTER_HEAD:{wy(this,e);break}case we.TEXT:{this._insertCharacters(e);break}case we.IN_TABLE:case we.IN_TABLE_BODY:case we.IN_ROW:{LI(this,e);break}case we.IN_COLUMN_GROUP:{mC(this,e);break}case we.AFTER_BODY:{gC(this,e);break}case we.AFTER_AFTER_BODY:{Lv(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){RS(this,e);return}switch(this.insertionMode){case we.INITIAL:case we.BEFORE_HTML:case we.BEFORE_HEAD:case we.IN_HEAD:case we.IN_HEAD_NO_SCRIPT:case we.AFTER_HEAD:case we.IN_BODY:case we.IN_TABLE:case we.IN_CAPTION:case we.IN_COLUMN_GROUP:case we.IN_TABLE_BODY:case we.IN_ROW:case we.IN_CELL:case we.IN_SELECT:case we.IN_SELECT_IN_TABLE:case we.IN_TEMPLATE:case we.IN_FRAMESET:case we.AFTER_FRAMESET:{RS(this,e);break}case we.IN_TABLE_TEXT:{Df(this,e);break}case we.AFTER_BODY:{ZCe(this,e);break}case we.AFTER_AFTER_BODY:case we.AFTER_AFTER_FRAMESET:{VCe(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case we.INITIAL:{JCe(this,e);break}case we.BEFORE_HEAD:case we.IN_HEAD:case we.IN_HEAD_NO_SCRIPT:case we.AFTER_HEAD:{this._err(e,Ye.misplacedDoctype);break}case we.IN_TABLE_TEXT:{Df(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,Ye.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?wxe(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case we.INITIAL:{If(this,e);break}case we.BEFORE_HTML:{XCe(this,e);break}case we.BEFORE_HEAD:{tEe(this,e);break}case we.IN_HEAD:{Ss(this,e);break}case we.IN_HEAD_NO_SCRIPT:{rEe(this,e);break}case we.AFTER_HEAD:{oEe(this,e);break}case we.IN_BODY:{ci(this,e);break}case we.IN_TABLE:{Sg(this,e);break}case we.IN_TABLE_TEXT:{Df(this,e);break}case we.IN_CAPTION:{nxe(this,e);break}case we.IN_COLUMN_GROUP:{G4(this,e);break}case we.IN_TABLE_BODY:{Ox(this,e);break}case we.IN_ROW:{jx(this,e);break}case we.IN_CELL:{ixe(this,e);break}case we.IN_SELECT:{uW(this,e);break}case we.IN_SELECT_IN_TABLE:{sxe(this,e);break}case we.IN_TEMPLATE:{lxe(this,e);break}case we.AFTER_BODY:{dxe(this,e);break}case we.IN_FRAMESET:{pxe(this,e);break}case we.AFTER_FRAMESET:{mxe(this,e);break}case we.AFTER_AFTER_BODY:{hxe(this,e);break}case we.AFTER_AFTER_FRAMESET:{fxe(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?kxe(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case we.INITIAL:{If(this,e);break}case we.BEFORE_HTML:{eEe(this,e);break}case we.BEFORE_HEAD:{nEe(this,e);break}case we.IN_HEAD:{aEe(this,e);break}case we.IN_HEAD_NO_SCRIPT:{iEe(this,e);break}case we.AFTER_HEAD:{sEe(this,e);break}case we.IN_BODY:{Px(this,e);break}case we.TEXT:{HEe(this,e);break}case we.IN_TABLE:{Yy(this,e);break}case we.IN_TABLE_TEXT:{Df(this,e);break}case we.IN_CAPTION:{axe(this,e);break}case we.IN_COLUMN_GROUP:{rxe(this,e);break}case we.IN_TABLE_BODY:{MS(this,e);break}case we.IN_ROW:{lW(this,e);break}case we.IN_CELL:{oxe(this,e);break}case we.IN_SELECT:{dW(this,e);break}case we.IN_SELECT_IN_TABLE:{cxe(this,e);break}case we.IN_TEMPLATE:{uxe(this,e);break}case we.AFTER_BODY:{AW(this,e);break}case we.IN_FRAMESET:{Axe(this,e);break}case we.AFTER_FRAMESET:{gxe(this,e);break}case we.AFTER_AFTER_BODY:{Lv(this,e);break}}}onEof(e){switch(this.insertionMode){case we.INITIAL:{If(this,e);break}case we.BEFORE_HTML:{hy(this,e);break}case we.BEFORE_HEAD:{fy(this,e);break}case we.IN_HEAD:{by(this,e);break}case we.IN_HEAD_NO_SCRIPT:{yy(this,e);break}case we.AFTER_HEAD:{wy(this,e);break}case we.IN_BODY:case we.IN_TABLE:case we.IN_CAPTION:case we.IN_COLUMN_GROUP:case we.IN_TABLE_BODY:case we.IN_ROW:case we.IN_CELL:case we.IN_SELECT:case we.IN_SELECT_IN_TABLE:{iW(this,e);break}case we.TEXT:{YEe(this,e);break}case we.IN_TABLE_TEXT:{Df(this,e);break}case we.IN_TEMPLATE:{pW(this,e);break}case we.AFTER_BODY:case we.IN_FRAMESET:case we.AFTER_FRAMESET:case we.AFTER_AFTER_BODY:case we.AFTER_AFTER_FRAMESET:{j4(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===pe.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case we.IN_HEAD:case we.IN_HEAD_NO_SCRIPT:case we.AFTER_HEAD:case we.TEXT:case we.IN_COLUMN_GROUP:case we.IN_SELECT:case we.IN_SELECT_IN_TABLE:case we.IN_FRAMESET:case we.AFTER_FRAMESET:{this._insertCharacters(e);break}case we.IN_BODY:case we.IN_CAPTION:case we.IN_CELL:case we.IN_TEMPLATE:case we.AFTER_BODY:case we.AFTER_AFTER_BODY:case we.AFTER_AFTER_FRAMESET:{eW(this,e);break}case we.IN_TABLE:case we.IN_TABLE_BODY:case we.IN_ROW:{LI(this,e);break}case we.IN_TABLE_TEXT:{oW(this,e);break}}}};function zCe(t,e){let n=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return n?t.openElements.contains(n.element)?t.openElements.hasInScope(e.tagID)||(n=null):(t.activeFormattingElements.removeEntry(n),n=null):rW(t,e),n}function UCe(t,e){let n=null,a=t.openElements.stackTop;for(;a>=0;a--){const r=t.openElements.items[a];if(r===e.element)break;t._isSpecialElement(r,t.openElements.tagIDs[a])&&(n=r)}return n||(t.openElements.shortenToLength(Math.max(a,0)),t.activeFormattingElements.removeEntry(e)),n}function HCe(t,e,n){let a=e,r=t.openElements.getCommonAncestor(e);for(let i=0,o=r;o!==n;i++,o=r){r=t.openElements.getCommonAncestor(o);const s=t.activeFormattingElements.getElementEntry(o),l=s&&i>=GCe;!s||l?(l&&t.activeFormattingElements.removeEntry(s),t.openElements.remove(o)):(o=YCe(t,s),a===e&&(t.activeFormattingElements.bookmark=s),t.treeAdapter.detachNode(a),t.treeAdapter.appendChild(o,a),a=o)}return a}function YCe(t,e){const n=t.treeAdapter.getNamespaceURI(e.element),a=t.treeAdapter.createElement(e.token.tagName,n,e.token.attrs);return t.openElements.replace(e.element,a),e.element=a,a}function WCe(t,e,n){const a=t.treeAdapter.getTagName(e),r=Mx(a);if(t._isElementCausesFosterParenting(r))t._fosterParentElement(n);else{const i=t.treeAdapter.getNamespaceURI(e);r===P.TEMPLATE&&i===ot.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,n)}}function KCe(t,e,n){const a=t.treeAdapter.getNamespaceURI(n.element),{token:r}=n,i=t.treeAdapter.createElement(r.tagName,a,r.attrs);t._adoptNodes(e,i),t.treeAdapter.appendChild(e,i),t.activeFormattingElements.insertElementAfterBookmark(i,r),t.activeFormattingElements.removeEntry(n),t.openElements.remove(n.element),t.openElements.insertAfter(e,i,r.tagID)}function O4(t,e){for(let n=0;n<jCe;n++){const a=zCe(t,e);if(!a)break;const r=UCe(t,a);if(!r)break;t.activeFormattingElements.bookmark=a;const i=HCe(t,r,a.element),o=t.openElements.getCommonAncestor(a.element);t.treeAdapter.detachNode(i),o&&WCe(t,o,i),KCe(t,r,a)}}function RS(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function ZCe(t,e){t._appendCommentNode(e,t.openElements.items[0])}function VCe(t,e){t._appendCommentNode(e,t.document)}function j4(t,e){if(t.stopped=!0,e.location){const n=t.fragmentContext?0:2;for(let a=t.openElements.stackTop;a>=n;a--)t._setEndLocation(t.openElements.items[a],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){const a=t.openElements.items[0],r=t.treeAdapter.getNodeSourceCodeLocation(a);if(r&&!r.endTag&&(t._setEndLocation(a,e),t.openElements.stackTop>=1)){const i=t.openElements.items[1],o=t.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&t._setEndLocation(i,e)}}}}function JCe(t,e){t._setDocumentType(e);const n=e.forceQuirks?So.QUIRKS:ICe(e);BCe(e)||t._err(e,Ye.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,n),t.insertionMode=we.BEFORE_HTML}function If(t,e){t._err(e,Ye.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,So.QUIRKS),t.insertionMode=we.BEFORE_HTML,t._processToken(e)}function XCe(t,e){e.tagID===P.HTML?(t._insertElement(e,ot.HTML),t.insertionMode=we.BEFORE_HEAD):hy(t,e)}function eEe(t,e){const n=e.tagID;(n===P.HTML||n===P.HEAD||n===P.BODY||n===P.BR)&&hy(t,e)}function hy(t,e){t._insertFakeRootElement(),t.insertionMode=we.BEFORE_HEAD,t._processToken(e)}function tEe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.HEAD:{t._insertElement(e,ot.HTML),t.headElement=t.openElements.current,t.insertionMode=we.IN_HEAD;break}default:fy(t,e)}}function nEe(t,e){const n=e.tagID;n===P.HEAD||n===P.BODY||n===P.HTML||n===P.BR?fy(t,e):t._err(e,Ye.endTagWithoutMatchingOpenElement)}function fy(t,e){t._insertFakeElement(Me.HEAD,P.HEAD),t.headElement=t.openElements.current,t.insertionMode=we.IN_HEAD,t._processToken(e)}function Ss(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.BASE:case P.BASEFONT:case P.BGSOUND:case P.LINK:case P.META:{t._appendElement(e,ot.HTML),e.ackSelfClosing=!0;break}case P.TITLE:{t._switchToTextParsing(e,Oi.RCDATA);break}case P.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Oi.RAWTEXT):(t._insertElement(e,ot.HTML),t.insertionMode=we.IN_HEAD_NO_SCRIPT);break}case P.NOFRAMES:case P.STYLE:{t._switchToTextParsing(e,Oi.RAWTEXT);break}case P.SCRIPT:{t._switchToTextParsing(e,Oi.SCRIPT_DATA);break}case P.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=we.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(we.IN_TEMPLATE);break}case P.HEAD:{t._err(e,Ye.misplacedStartTagForHeadElement);break}default:by(t,e)}}function aEe(t,e){switch(e.tagID){case P.HEAD:{t.openElements.pop(),t.insertionMode=we.AFTER_HEAD;break}case P.BODY:case P.BR:case P.HTML:{by(t,e);break}case P.TEMPLATE:{Rp(t,e);break}default:t._err(e,Ye.endTagWithoutMatchingOpenElement)}}function Rp(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==P.TEMPLATE&&t._err(e,Ye.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(P.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,Ye.endTagWithoutMatchingOpenElement)}function by(t,e){t.openElements.pop(),t.insertionMode=we.AFTER_HEAD,t._processToken(e)}function rEe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.BASEFONT:case P.BGSOUND:case P.HEAD:case P.LINK:case P.META:case P.NOFRAMES:case P.STYLE:{Ss(t,e);break}case P.NOSCRIPT:{t._err(e,Ye.nestedNoscriptInHead);break}default:yy(t,e)}}function iEe(t,e){switch(e.tagID){case P.NOSCRIPT:{t.openElements.pop(),t.insertionMode=we.IN_HEAD;break}case P.BR:{yy(t,e);break}default:t._err(e,Ye.endTagWithoutMatchingOpenElement)}}function yy(t,e){const n=e.type===Sn.EOF?Ye.openElementsLeftAfterEof:Ye.disallowedContentInNoscriptInHead;t._err(e,n),t.openElements.pop(),t.insertionMode=we.IN_HEAD,t._processToken(e)}function oEe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.BODY:{t._insertElement(e,ot.HTML),t.framesetOk=!1,t.insertionMode=we.IN_BODY;break}case P.FRAMESET:{t._insertElement(e,ot.HTML),t.insertionMode=we.IN_FRAMESET;break}case P.BASE:case P.BASEFONT:case P.BGSOUND:case P.LINK:case P.META:case P.NOFRAMES:case P.SCRIPT:case P.STYLE:case P.TEMPLATE:case P.TITLE:{t._err(e,Ye.abandonedHeadElementChild),t.openElements.push(t.headElement,P.HEAD),Ss(t,e),t.openElements.remove(t.headElement);break}case P.HEAD:{t._err(e,Ye.misplacedStartTagForHeadElement);break}default:wy(t,e)}}function sEe(t,e){switch(e.tagID){case P.BODY:case P.HTML:case P.BR:{wy(t,e);break}case P.TEMPLATE:{Rp(t,e);break}default:t._err(e,Ye.endTagWithoutMatchingOpenElement)}}function wy(t,e){t._insertFakeElement(Me.BODY,P.BODY),t.insertionMode=we.IN_BODY,$x(t,e)}function $x(t,e){switch(e.type){case Sn.CHARACTER:{tW(t,e);break}case Sn.WHITESPACE_CHARACTER:{eW(t,e);break}case Sn.COMMENT:{RS(t,e);break}case Sn.START_TAG:{ci(t,e);break}case Sn.END_TAG:{Px(t,e);break}case Sn.EOF:{iW(t,e);break}}}function eW(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function tW(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function cEe(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function lEe(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(n,e.attrs))}function uEe(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&n&&(t.treeAdapter.detachNode(n),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_FRAMESET)}function dEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML)}function pEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t.openElements.currentTagId!==void 0&&NS.has(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,ot.HTML)}function AEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function mEe(t,e){const n=t.openElements.tmplCount>0;(!t.formElement||n)&&(t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML),n||(t.formElement=t.openElements.current))}function gEe(t,e){t.framesetOk=!1;const n=e.tagID;for(let a=t.openElements.stackTop;a>=0;a--){const r=t.openElements.tagIDs[a];if(n===P.LI&&r===P.LI||(n===P.DD||n===P.DT)&&(r===P.DD||r===P.DT)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r);break}if(r!==P.ADDRESS&&r!==P.DIV&&r!==P.P&&t._isSpecialElement(t.openElements.items[a],r))break}t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML)}function hEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML),t.tokenizer.state=Oi.PLAINTEXT}function fEe(t,e){t.openElements.hasInScope(P.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(P.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML),t.framesetOk=!1}function bEe(t,e){const n=t.activeFormattingElements.getElementEntryInScopeWithTagName(Me.A);n&&(O4(t,e),t.openElements.remove(n.element),t.activeFormattingElements.removeEntry(n)),t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function yEe(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function wEe(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(P.NOBR)&&(O4(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,ot.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function kEe(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function vEe(t,e){t.treeAdapter.getDocumentMode(t.document)!==So.QUIRKS&&t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._insertElement(e,ot.HTML),t.framesetOk=!1,t.insertionMode=we.IN_TABLE}function nW(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,ot.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function aW(t){const e=zY(t,Vd.TYPE);return e!=null&&e.toLowerCase()===OCe}function _Ee(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,ot.HTML),aW(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function CEe(t,e){t._appendElement(e,ot.HTML),e.ackSelfClosing=!0}function EEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._appendElement(e,ot.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function xEe(t,e){e.tagName=Me.IMG,e.tagID=P.IMG,nW(t,e)}function BEe(t,e){t._insertElement(e,ot.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Oi.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=we.TEXT}function IEe(t,e){t.openElements.hasInButtonScope(P.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Oi.RAWTEXT)}function DEe(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Oi.RAWTEXT)}function K6(t,e){t._switchToTextParsing(e,Oi.RAWTEXT)}function QEe(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===we.IN_TABLE||t.insertionMode===we.IN_CAPTION||t.insertionMode===we.IN_TABLE_BODY||t.insertionMode===we.IN_ROW||t.insertionMode===we.IN_CELL?we.IN_SELECT_IN_TABLE:we.IN_SELECT}function SEe(t,e){t.openElements.currentTagId===P.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML)}function TEe(t,e){t.openElements.hasInScope(P.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,ot.HTML)}function FEe(t,e){t.openElements.hasInScope(P.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(P.RTC),t._insertElement(e,ot.HTML)}function LEe(t,e){t._reconstructActiveFormattingElements(),ZY(e),P4(e),e.selfClosing?t._appendElement(e,ot.MATHML):t._insertElement(e,ot.MATHML),e.ackSelfClosing=!0}function NEe(t,e){t._reconstructActiveFormattingElements(),VY(e),P4(e),e.selfClosing?t._appendElement(e,ot.SVG):t._insertElement(e,ot.SVG),e.ackSelfClosing=!0}function Z6(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ot.HTML)}function ci(t,e){switch(e.tagID){case P.I:case P.S:case P.B:case P.U:case P.EM:case P.TT:case P.BIG:case P.CODE:case P.FONT:case P.SMALL:case P.STRIKE:case P.STRONG:{yEe(t,e);break}case P.A:{bEe(t,e);break}case P.H1:case P.H2:case P.H3:case P.H4:case P.H5:case P.H6:{pEe(t,e);break}case P.P:case P.DL:case P.OL:case P.UL:case P.DIV:case P.DIR:case P.NAV:case P.MAIN:case P.MENU:case P.ASIDE:case P.CENTER:case P.FIGURE:case P.FOOTER:case P.HEADER:case P.HGROUP:case P.DIALOG:case P.DETAILS:case P.ADDRESS:case P.ARTICLE:case P.SEARCH:case P.SECTION:case P.SUMMARY:case P.FIELDSET:case P.BLOCKQUOTE:case P.FIGCAPTION:{dEe(t,e);break}case P.LI:case P.DD:case P.DT:{gEe(t,e);break}case P.BR:case P.IMG:case P.WBR:case P.AREA:case P.EMBED:case P.KEYGEN:{nW(t,e);break}case P.HR:{EEe(t,e);break}case P.RB:case P.RTC:{TEe(t,e);break}case P.RT:case P.RP:{FEe(t,e);break}case P.PRE:case P.LISTING:{AEe(t,e);break}case P.XMP:{IEe(t,e);break}case P.SVG:{NEe(t,e);break}case P.HTML:{cEe(t,e);break}case P.BASE:case P.LINK:case P.META:case P.STYLE:case P.TITLE:case P.SCRIPT:case P.BGSOUND:case P.BASEFONT:case P.TEMPLATE:{Ss(t,e);break}case P.BODY:{lEe(t,e);break}case P.FORM:{mEe(t,e);break}case P.NOBR:{wEe(t,e);break}case P.MATH:{LEe(t,e);break}case P.TABLE:{vEe(t,e);break}case P.INPUT:{_Ee(t,e);break}case P.PARAM:case P.TRACK:case P.SOURCE:{CEe(t,e);break}case P.IMAGE:{xEe(t,e);break}case P.BUTTON:{fEe(t,e);break}case P.APPLET:case P.OBJECT:case P.MARQUEE:{kEe(t,e);break}case P.IFRAME:{DEe(t,e);break}case P.SELECT:{QEe(t,e);break}case P.OPTION:case P.OPTGROUP:{SEe(t,e);break}case P.NOEMBED:case P.NOFRAMES:{K6(t,e);break}case P.FRAMESET:{uEe(t,e);break}case P.TEXTAREA:{BEe(t,e);break}case P.NOSCRIPT:{t.options.scriptingEnabled?K6(t,e):Z6(t,e);break}case P.PLAINTEXT:{hEe(t,e);break}case P.COL:case P.TH:case P.TD:case P.TR:case P.HEAD:case P.FRAME:case P.TBODY:case P.TFOOT:case P.THEAD:case P.CAPTION:case P.COLGROUP:break;default:Z6(t,e)}}function REe(t,e){if(t.openElements.hasInScope(P.BODY)&&(t.insertionMode=we.AFTER_BODY,t.options.sourceCodeLocationInfo)){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&t._setEndLocation(n,e)}}function MEe(t,e){t.openElements.hasInScope(P.BODY)&&(t.insertionMode=we.AFTER_BODY,AW(t,e))}function $Ee(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n))}function PEe(t){const e=t.openElements.tmplCount>0,{formElement:n}=t;e||(t.formElement=null),(n||e)&&t.openElements.hasInScope(P.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(P.FORM):n&&t.openElements.remove(n))}function OEe(t){t.openElements.hasInButtonScope(P.P)||t._insertFakeElement(Me.P,P.P),t._closePElement()}function jEe(t){t.openElements.hasInListItemScope(P.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(P.LI),t.openElements.popUntilTagNamePopped(P.LI))}function GEe(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n))}function qEe(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function zEe(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker())}function UEe(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(Me.BR,P.BR),t.openElements.pop(),t.framesetOk=!1}function rW(t,e){const n=e.tagName,a=e.tagID;for(let r=t.openElements.stackTop;r>0;r--){const i=t.openElements.items[r],o=t.openElements.tagIDs[r];if(a===o&&(a!==P.UNKNOWN||t.treeAdapter.getTagName(i)===n)){t.openElements.generateImpliedEndTagsWithExclusion(a),t.openElements.stackTop>=r&&t.openElements.shortenToLength(r);break}if(t._isSpecialElement(i,o))break}}function Px(t,e){switch(e.tagID){case P.A:case P.B:case P.I:case P.S:case P.U:case P.EM:case P.TT:case P.BIG:case P.CODE:case P.FONT:case P.NOBR:case P.SMALL:case P.STRIKE:case P.STRONG:{O4(t,e);break}case P.P:{OEe(t);break}case P.DL:case P.UL:case P.OL:case P.DIR:case P.DIV:case P.NAV:case P.PRE:case P.MAIN:case P.MENU:case P.ASIDE:case P.BUTTON:case P.CENTER:case P.FIGURE:case P.FOOTER:case P.HEADER:case P.HGROUP:case P.DIALOG:case P.ADDRESS:case P.ARTICLE:case P.DETAILS:case P.SEARCH:case P.SECTION:case P.SUMMARY:case P.LISTING:case P.FIELDSET:case P.BLOCKQUOTE:case P.FIGCAPTION:{$Ee(t,e);break}case P.LI:{jEe(t);break}case P.DD:case P.DT:{GEe(t,e);break}case P.H1:case P.H2:case P.H3:case P.H4:case P.H5:case P.H6:{qEe(t);break}case P.BR:{UEe(t);break}case P.BODY:{REe(t,e);break}case P.HTML:{MEe(t,e);break}case P.FORM:{PEe(t);break}case P.APPLET:case P.OBJECT:case P.MARQUEE:{zEe(t,e);break}case P.TEMPLATE:{Rp(t,e);break}default:rW(t,e)}}function iW(t,e){t.tmplInsertionModeStack.length>0?pW(t,e):j4(t,e)}function HEe(t,e){var n;e.tagID===P.SCRIPT&&((n=t.scriptHandler)===null||n===void 0||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function YEe(t,e){t._err(e,Ye.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function LI(t,e){if(t.openElements.currentTagId!==void 0&&JY.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=we.IN_TABLE_TEXT,e.type){case Sn.CHARACTER:{sW(t,e);break}case Sn.WHITESPACE_CHARACTER:{oW(t,e);break}}else nk(t,e)}function WEe(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_CAPTION}function KEe(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_COLUMN_GROUP}function ZEe(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Me.COLGROUP,P.COLGROUP),t.insertionMode=we.IN_COLUMN_GROUP,G4(t,e)}function VEe(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_TABLE_BODY}function JEe(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(Me.TBODY,P.TBODY),t.insertionMode=we.IN_TABLE_BODY,Ox(t,e)}function XEe(t,e){t.openElements.hasInTableScope(P.TABLE)&&(t.openElements.popUntilTagNamePopped(P.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function exe(t,e){aW(e)?t._appendElement(e,ot.HTML):nk(t,e),e.ackSelfClosing=!0}function txe(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,ot.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function Sg(t,e){switch(e.tagID){case P.TD:case P.TH:case P.TR:{JEe(t,e);break}case P.STYLE:case P.SCRIPT:case P.TEMPLATE:{Ss(t,e);break}case P.COL:{ZEe(t,e);break}case P.FORM:{txe(t,e);break}case P.TABLE:{XEe(t,e);break}case P.TBODY:case P.TFOOT:case P.THEAD:{VEe(t,e);break}case P.INPUT:{exe(t,e);break}case P.CAPTION:{WEe(t,e);break}case P.COLGROUP:{KEe(t,e);break}default:nk(t,e)}}function Yy(t,e){switch(e.tagID){case P.TABLE:{t.openElements.hasInTableScope(P.TABLE)&&(t.openElements.popUntilTagNamePopped(P.TABLE),t._resetInsertionMode());break}case P.TEMPLATE:{Rp(t,e);break}case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TBODY:case P.TD:case P.TFOOT:case P.TH:case P.THEAD:case P.TR:break;default:nk(t,e)}}function nk(t,e){const n=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,$x(t,e),t.fosterParentingEnabled=n}function oW(t,e){t.pendingCharacterTokens.push(e)}function sW(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function Df(t,e){let n=0;if(t.hasNonWhitespacePendingCharacterToken)for(;n<t.pendingCharacterTokens.length;n++)nk(t,t.pendingCharacterTokens[n]);else for(;n<t.pendingCharacterTokens.length;n++)t._insertCharacters(t.pendingCharacterTokens[n]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}const cW=new Set([P.CAPTION,P.COL,P.COLGROUP,P.TBODY,P.TD,P.TFOOT,P.TH,P.THEAD,P.TR]);function nxe(t,e){const n=e.tagID;cW.has(n)?t.openElements.hasInTableScope(P.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(P.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=we.IN_TABLE,Sg(t,e)):ci(t,e)}function axe(t,e){const n=e.tagID;switch(n){case P.CAPTION:case P.TABLE:{t.openElements.hasInTableScope(P.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(P.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=we.IN_TABLE,n===P.TABLE&&Yy(t,e));break}case P.BODY:case P.COL:case P.COLGROUP:case P.HTML:case P.TBODY:case P.TD:case P.TFOOT:case P.TH:case P.THEAD:case P.TR:break;default:Px(t,e)}}function G4(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.COL:{t._appendElement(e,ot.HTML),e.ackSelfClosing=!0;break}case P.TEMPLATE:{Ss(t,e);break}default:mC(t,e)}}function rxe(t,e){switch(e.tagID){case P.COLGROUP:{t.openElements.currentTagId===P.COLGROUP&&(t.openElements.pop(),t.insertionMode=we.IN_TABLE);break}case P.TEMPLATE:{Rp(t,e);break}case P.COL:break;default:mC(t,e)}}function mC(t,e){t.openElements.currentTagId===P.COLGROUP&&(t.openElements.pop(),t.insertionMode=we.IN_TABLE,t._processToken(e))}function Ox(t,e){switch(e.tagID){case P.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_ROW;break}case P.TH:case P.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(Me.TR,P.TR),t.insertionMode=we.IN_ROW,jx(t,e);break}case P.CAPTION:case P.COL:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE,Sg(t,e));break}default:Sg(t,e)}}function MS(t,e){const n=e.tagID;switch(e.tagID){case P.TBODY:case P.TFOOT:case P.THEAD:{t.openElements.hasInTableScope(n)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE);break}case P.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE,Yy(t,e));break}case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TD:case P.TH:case P.TR:break;default:Yy(t,e)}}function jx(t,e){switch(e.tagID){case P.TH:case P.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,ot.HTML),t.insertionMode=we.IN_CELL,t.activeFormattingElements.insertMarker();break}case P.CAPTION:case P.COL:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:case P.TR:{t.openElements.hasInTableScope(P.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE_BODY,Ox(t,e));break}default:Sg(t,e)}}function lW(t,e){switch(e.tagID){case P.TR:{t.openElements.hasInTableScope(P.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE_BODY);break}case P.TABLE:{t.openElements.hasInTableScope(P.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE_BODY,MS(t,e));break}case P.TBODY:case P.TFOOT:case P.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(P.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=we.IN_TABLE_BODY,MS(t,e));break}case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TD:case P.TH:break;default:Yy(t,e)}}function ixe(t,e){const n=e.tagID;cW.has(n)?(t.openElements.hasInTableScope(P.TD)||t.openElements.hasInTableScope(P.TH))&&(t._closeTableCell(),jx(t,e)):ci(t,e)}function oxe(t,e){const n=e.tagID;switch(n){case P.TD:case P.TH:{t.openElements.hasInTableScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=we.IN_ROW);break}case P.TABLE:case P.TBODY:case P.TFOOT:case P.THEAD:case P.TR:{t.openElements.hasInTableScope(n)&&(t._closeTableCell(),lW(t,e));break}case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:break;default:Px(t,e)}}function uW(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.OPTION:{t.openElements.currentTagId===P.OPTION&&t.openElements.pop(),t._insertElement(e,ot.HTML);break}case P.OPTGROUP:{t.openElements.currentTagId===P.OPTION&&t.openElements.pop(),t.openElements.currentTagId===P.OPTGROUP&&t.openElements.pop(),t._insertElement(e,ot.HTML);break}case P.HR:{t.openElements.currentTagId===P.OPTION&&t.openElements.pop(),t.openElements.currentTagId===P.OPTGROUP&&t.openElements.pop(),t._appendElement(e,ot.HTML),e.ackSelfClosing=!0;break}case P.INPUT:case P.KEYGEN:case P.TEXTAREA:case P.SELECT:{t.openElements.hasInSelectScope(P.SELECT)&&(t.openElements.popUntilTagNamePopped(P.SELECT),t._resetInsertionMode(),e.tagID!==P.SELECT&&t._processStartTag(e));break}case P.SCRIPT:case P.TEMPLATE:{Ss(t,e);break}}}function dW(t,e){switch(e.tagID){case P.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===P.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===P.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===P.OPTGROUP&&t.openElements.pop();break}case P.OPTION:{t.openElements.currentTagId===P.OPTION&&t.openElements.pop();break}case P.SELECT:{t.openElements.hasInSelectScope(P.SELECT)&&(t.openElements.popUntilTagNamePopped(P.SELECT),t._resetInsertionMode());break}case P.TEMPLATE:{Rp(t,e);break}}}function sxe(t,e){const n=e.tagID;n===P.CAPTION||n===P.TABLE||n===P.TBODY||n===P.TFOOT||n===P.THEAD||n===P.TR||n===P.TD||n===P.TH?(t.openElements.popUntilTagNamePopped(P.SELECT),t._resetInsertionMode(),t._processStartTag(e)):uW(t,e)}function cxe(t,e){const n=e.tagID;n===P.CAPTION||n===P.TABLE||n===P.TBODY||n===P.TFOOT||n===P.THEAD||n===P.TR||n===P.TD||n===P.TH?t.openElements.hasInTableScope(n)&&(t.openElements.popUntilTagNamePopped(P.SELECT),t._resetInsertionMode(),t.onEndTag(e)):dW(t,e)}function lxe(t,e){switch(e.tagID){case P.BASE:case P.BASEFONT:case P.BGSOUND:case P.LINK:case P.META:case P.NOFRAMES:case P.SCRIPT:case P.STYLE:case P.TEMPLATE:case P.TITLE:{Ss(t,e);break}case P.CAPTION:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:{t.tmplInsertionModeStack[0]=we.IN_TABLE,t.insertionMode=we.IN_TABLE,Sg(t,e);break}case P.COL:{t.tmplInsertionModeStack[0]=we.IN_COLUMN_GROUP,t.insertionMode=we.IN_COLUMN_GROUP,G4(t,e);break}case P.TR:{t.tmplInsertionModeStack[0]=we.IN_TABLE_BODY,t.insertionMode=we.IN_TABLE_BODY,Ox(t,e);break}case P.TD:case P.TH:{t.tmplInsertionModeStack[0]=we.IN_ROW,t.insertionMode=we.IN_ROW,jx(t,e);break}default:t.tmplInsertionModeStack[0]=we.IN_BODY,t.insertionMode=we.IN_BODY,ci(t,e)}}function uxe(t,e){e.tagID===P.TEMPLATE&&Rp(t,e)}function pW(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(P.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):j4(t,e)}function dxe(t,e){e.tagID===P.HTML?ci(t,e):gC(t,e)}function AW(t,e){var n;if(e.tagID===P.HTML){if(t.fragmentContext||(t.insertionMode=we.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===P.HTML){t._setEndLocation(t.openElements.items[0],e);const a=t.openElements.items[1];a&&!(!((n=t.treeAdapter.getNodeSourceCodeLocation(a))===null||n===void 0)&&n.endTag)&&t._setEndLocation(a,e)}}else gC(t,e)}function gC(t,e){t.insertionMode=we.IN_BODY,$x(t,e)}function pxe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.FRAMESET:{t._insertElement(e,ot.HTML);break}case P.FRAME:{t._appendElement(e,ot.HTML),e.ackSelfClosing=!0;break}case P.NOFRAMES:{Ss(t,e);break}}}function Axe(t,e){e.tagID===P.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==P.FRAMESET&&(t.insertionMode=we.AFTER_FRAMESET))}function mxe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.NOFRAMES:{Ss(t,e);break}}}function gxe(t,e){e.tagID===P.HTML&&(t.insertionMode=we.AFTER_AFTER_FRAMESET)}function hxe(t,e){e.tagID===P.HTML?ci(t,e):Lv(t,e)}function Lv(t,e){t.insertionMode=we.IN_BODY,$x(t,e)}function fxe(t,e){switch(e.tagID){case P.HTML:{ci(t,e);break}case P.NOFRAMES:{Ss(t,e);break}}}function bxe(t,e){e.chars=ma,t._insertCharacters(e)}function yxe(t,e){t._insertCharacters(e),t.framesetOk=!1}function mW(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==ot.HTML&&t.openElements.currentTagId!==void 0&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function wxe(t,e){if(NCe(e))mW(t),t._startTagOutsideForeignContent(e);else{const n=t._getAdjustedCurrentElement(),a=t.treeAdapter.getNamespaceURI(n);a===ot.MATHML?ZY(e):a===ot.SVG&&(RCe(e),VY(e)),P4(e),e.selfClosing?t._appendElement(e,a):t._insertElement(e,a),e.ackSelfClosing=!0}}function kxe(t,e){if(e.tagID===P.P||e.tagID===P.BR){mW(t),t._endTagOutsideForeignContent(e);return}for(let n=t.openElements.stackTop;n>0;n--){const a=t.openElements.items[n];if(t.treeAdapter.getNamespaceURI(a)===ot.HTML){t._endTagOutsideForeignContent(e);break}const r=t.treeAdapter.getTagName(a);if(r.toLowerCase()===e.tagName){e.tagName=r,t.openElements.shortenToLength(n);break}}}Me.AREA,Me.BASE,Me.BASEFONT,Me.BGSOUND,Me.BR,Me.COL,Me.EMBED,Me.FRAME,Me.HR,Me.IMG,Me.INPUT,Me.KEYGEN,Me.LINK,Me.META,Me.PARAM,Me.SOURCE,Me.TRACK,Me.WBR;function Q4t(t,e){return XY.parse(t,e)}function S4t(t,e,n){typeof t=="string"&&(n=e,e=t,t=null);const a=XY.getFragmentParser(t,n);return a.tokenizer.write(e,!0),a.getFragment()}function T4t(t,e){const a=(e||{}).force||!1;D_e(t,r);function r(i){a?delete i.position:i.position=void 0}}const F4t=(function(t,e,n){const a=$4(n);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(a(t.children[e],e,t))return t.children[e]}),L4t=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];function vxe(t){return t===161||t===164||t===167||t===168||t===170||t===173||t===174||t>=176&&t<=180||t>=182&&t<=186||t>=188&&t<=191||t===198||t===208||t===215||t===216||t>=222&&t<=225||t===230||t>=232&&t<=234||t===236||t===237||t===240||t===242||t===243||t>=247&&t<=250||t===252||t===254||t===257||t===273||t===275||t===283||t===294||t===295||t===299||t>=305&&t<=307||t===312||t>=319&&t<=322||t===324||t>=328&&t<=331||t===333||t===338||t===339||t===358||t===359||t===363||t===462||t===464||t===466||t===468||t===470||t===472||t===474||t===476||t===593||t===609||t===708||t===711||t>=713&&t<=715||t===717||t===720||t>=728&&t<=731||t===733||t===735||t>=768&&t<=879||t>=913&&t<=929||t>=931&&t<=937||t>=945&&t<=961||t>=963&&t<=969||t===1025||t>=1040&&t<=1103||t===1105||t===8208||t>=8211&&t<=8214||t===8216||t===8217||t===8220||t===8221||t>=8224&&t<=8226||t>=8228&&t<=8231||t===8240||t===8242||t===8243||t===8245||t===8251||t===8254||t===8308||t===8319||t>=8321&&t<=8324||t===8364||t===8451||t===8453||t===8457||t===8467||t===8470||t===8481||t===8482||t===8486||t===8491||t===8531||t===8532||t>=8539&&t<=8542||t>=8544&&t<=8555||t>=8560&&t<=8569||t===8585||t>=8592&&t<=8601||t===8632||t===8633||t===8658||t===8660||t===8679||t===8704||t===8706||t===8707||t===8711||t===8712||t===8715||t===8719||t===8721||t===8725||t===8730||t>=8733&&t<=8736||t===8739||t===8741||t>=8743&&t<=8748||t===8750||t>=8756&&t<=8759||t===8764||t===8765||t===8776||t===8780||t===8786||t===8800||t===8801||t>=8804&&t<=8807||t===8810||t===8811||t===8814||t===8815||t===8834||t===8835||t===8838||t===8839||t===8853||t===8857||t===8869||t===8895||t===8978||t>=9312&&t<=9449||t>=9451&&t<=9547||t>=9552&&t<=9587||t>=9600&&t<=9615||t>=9618&&t<=9621||t===9632||t===9633||t>=9635&&t<=9641||t===9650||t===9651||t===9654||t===9655||t===9660||t===9661||t===9664||t===9665||t>=9670&&t<=9672||t===9675||t>=9678&&t<=9681||t>=9698&&t<=9701||t===9711||t===9733||t===9734||t===9737||t===9742||t===9743||t===9756||t===9758||t===9792||t===9794||t===9824||t===9825||t>=9827&&t<=9829||t>=9831&&t<=9834||t===9836||t===9837||t===9839||t===9886||t===9887||t===9919||t>=9926&&t<=9933||t>=9935&&t<=9939||t>=9941&&t<=9953||t===9955||t===9960||t===9961||t>=9963&&t<=9969||t===9972||t>=9974&&t<=9977||t===9979||t===9980||t===9982||t===9983||t===10045||t>=10102&&t<=10111||t>=11094&&t<=11097||t>=12872&&t<=12879||t>=57344&&t<=63743||t>=65024&&t<=65039||t===65533||t>=127232&&t<=127242||t>=127248&&t<=127277||t>=127280&&t<=127337||t>=127344&&t<=127373||t===127375||t===127376||t>=127387&&t<=127404||t>=917760&&t<=917999||t>=983040&&t<=1048573||t>=1048576&&t<=1114109}function _xe(t){return t===12288||t>=65281&&t<=65376||t>=65504&&t<=65510}function Cxe(t){return t>=4352&&t<=4447||t===8986||t===8987||t===9001||t===9002||t>=9193&&t<=9196||t===9200||t===9203||t===9725||t===9726||t===9748||t===9749||t>=9776&&t<=9783||t>=9800&&t<=9811||t===9855||t>=9866&&t<=9871||t===9875||t===9889||t===9898||t===9899||t===9917||t===9918||t===9924||t===9925||t===9934||t===9940||t===9962||t===9970||t===9971||t===9973||t===9978||t===9981||t===9989||t===9994||t===9995||t===10024||t===10060||t===10062||t>=10067&&t<=10069||t===10071||t>=10133&&t<=10135||t===10160||t===10175||t===11035||t===11036||t===11088||t===11093||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12773||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||t>=94192&&t<=94198||t>=94208&&t<=101589||t>=101631&&t<=101662||t>=101760&&t<=101874||t>=110576&&t<=110579||t>=110581&&t<=110587||t===110589||t===110590||t>=110592&&t<=110882||t===110898||t>=110928&&t<=110930||t===110933||t>=110948&&t<=110951||t>=110960&&t<=111355||t>=119552&&t<=119638||t>=119648&&t<=119670||t===126980||t===127183||t===127374||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||t===127568||t===127569||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||t===127988||t>=127992&&t<=128062||t===128064||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||t===128378||t===128405||t===128406||t===128420||t>=128507&&t<=128591||t>=128640&&t<=128709||t===128716||t>=128720&&t<=128722||t>=128725&&t<=128728||t>=128732&&t<=128735||t===128747||t===128748||t>=128756&&t<=128764||t>=128992&&t<=129003||t===129008||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129674||t>=129678&&t<=129734||t===129736||t>=129741&&t<=129756||t>=129759&&t<=129770||t>=129775&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}function Exe(t){return vxe(t)?"ambiguous":_xe(t)?"fullwidth":t===8361||t>=65377&&t<=65470||t>=65474&&t<=65479||t>=65482&&t<=65487||t>=65490&&t<=65495||t>=65498&&t<=65500||t>=65512&&t<=65518?"halfwidth":t>=32&&t<=126||t===162||t===163||t===165||t===166||t===172||t===175||t>=10214&&t<=10221||t===10629||t===10630?"narrow":Cxe(t)?"wide":"neutral"}function xxe(t){if(!Number.isSafeInteger(t))throw new TypeError(`Expected a code point, got \`${typeof t}\`.`)}function N4t(t){return xxe(t),Exe(t)}var Bxe=/(\*\*)([^*]*?)$/,Ixe=/(__)([^_]*?)$/,Dxe=/(\*\*\*)([^*]*?)$/,Qxe=/(\*)([^*]*?)$/,Sxe=/(_)([^_]*?)$/,Txe=/(`)([^`]*?)$/,Fxe=/(~~)([^~]*?)$/,Mp=/^[\s_~*`]*$/,gW=/^[\s]*[-*+][\s]+$/,Lxe=/[\p{L}\p{N}_]/u,Nxe=/^```[^`\n]*```?$/,Rxe=/^\*{4,}$/,mu=t=>{if(!t)return!1;let e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||e===95?!0:Lxe.test(t)},Gx=t=>{let e=(t.match(/```/g)||[]).length;return e>0&&e%2===0&&t.includes(`
|
|
28
28
|
`)},Mxe=(t,e)=>{let n=1;for(let a=e-1;a>=0;a-=1)if(t[a]==="]")n+=1;else if(t[a]==="["&&(n-=1,n===0))return a;return-1},$xe=(t,e)=>{let n=1;for(let a=e+1;a<t.length;a+=1)if(t[a]==="[")n+=1;else if(t[a]==="]"&&(n-=1,n===0))return a;return-1},hW=(t,e)=>{let n=!1,a=!1;for(let r=0;r<t.length&&r<e;r+=1){if(t[r]==="\\"&&t[r+1]==="$"){r+=1;continue}t[r]==="$"&&(t[r+1]==="$"?(a=!a,r+=1,n=!1):a||(n=!n))}return n||a},Pxe=(t,e,n)=>{if(n!==" "&&n!==" ")return!1;let a=0;for(let r=e-1;r>=0;r-=1)if(t[r]===`
|
|
29
29
|
`){a=r+1;break}for(let r=a;r<e;r+=1)if(t[r]!==" "&&t[r]!==" ")return!1;return!0},Oxe=(t,e,n,a)=>!!(n==="\\"||n==="*"||a==="*"||n&&a&&mu(n)&&mu(a)||Pxe(t,e,a)),jxe=t=>{let e=0,n=t.length;for(let a=0;a<n;a+=1){if(t[a]!=="*")continue;let r=a>0?t[a-1]:"",i=a<n-1?t[a+1]:"";Oxe(t,a,r,i)||(e+=1)}return e},Gxe=(t,e,n,a)=>!!(n==="\\"||t.includes("$")&&hW(t,e)||n==="_"||a==="_"||n&&a&&mu(n)&&mu(a)),qxe=t=>{let e=0,n=t.length;for(let a=0;a<n;a+=1){if(t[a]!=="_")continue;let r=a>0?t[a-1]:"",i=a<n-1?t[a+1]:"";Gxe(t,a,r,i)||(e+=1)}return e},zxe=t=>{let e=0,n=0;for(let a=0;a<t.length;a+=1)t[a]==="*"?n+=1:(n>=3&&(e+=Math.floor(n/3)),n=0);return n>=3&&(e+=Math.floor(n/3)),e},Uxe=t=>{if(Gx(t))return t;let e=t.match(Bxe);if(e){let n=e[2];if(!n||Mp.test(n))return t;let a=t.lastIndexOf(e[1]),r=t.substring(0,a).lastIndexOf(`
|