@pipedream/connect-react 1.0.0-preview.3 → 1.0.0-preview.30

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.
@@ -1,19 +1,46 @@
1
- (function(L,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],D):(L=typeof globalThis<"u"?globalThis:L||self,D(L["connect-react"]={},L["react/jsx-runtime"],L.React,L["@emotion/react"],L.ReactDOM))})(this,function(L,D,O,H,Wr){"use strict";var cl=L=>{throw TypeError(L)};var fo=(L,D,O)=>D.has(L)||cl("Cannot "+O);var C=(L,D,O)=>(fo(L,D,"read from private field"),O?O.call(L):D.get(L)),$=(L,D,O)=>D.has(L)?cl("Cannot add the same private member more than once"):D instanceof WeakSet?D.add(L):D.set(L,O),z=(L,D,O,H)=>(fo(L,D,"write to private field"),H?H.call(L,O):D.set(L,O),O),le=(L,D,O)=>(fo(L,D,"access private method"),O);var Hr=(L,D,O,H)=>({set _(Wr){z(L,D,Wr,O)},get _(){return C(L,D,H)}});var zt,At,dn,Wa,pn,St,fn,Za,Ht,ja,hn,gn,_e,Ge,Hn,Wt,$e,vt,Ya,ut,Ja,at,Te,Zt,lt,Rt,_a,We,Wn,Ua,xe,wt,Et,mn,bn,Ft,yn,In,Qa,Ne,ae,Zn,Ve,jt,vn,Pt,ct,jn,Cn,xn,Yt,Jt,Gt,An,fe,Qn,ho,go,mo,bo,yo,Io,vo,dl,qa;function pl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ee=pl(O);typeof document>"u"&&(globalThis.document={createElement:()=>{}});function Co({prop:e}){return D.jsx("p",{className:`pd-alert-${e.alertType}`,children:e.content})}var en=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qn={exports:{}};qn.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,u="[object Arguments]",a="[object Array]",l="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",y="[object GeneratorFunction]",m="[object Map]",I="[object Number]",v="[object Null]",E="[object Object]",S="[object Promise]",w="[object Proxy]",P="[object RegExp]",A="[object Set]",T="[object String]",k="[object Symbol]",V="[object Undefined]",Z="[object WeakMap]",M="[object ArrayBuffer]",B="[object DataView]",te="[object Float32Array]",oe="[object Float64Array]",W="[object Int8Array]",K="[object Int16Array]",ce="[object Int32Array]",ge="[object Uint8Array]",j="[object Uint8ClampedArray]",g="[object Uint16Array]",J="[object Uint32Array]",U=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,he=/^(?:0|[1-9]\d*)$/,re={};re[te]=re[oe]=re[W]=re[K]=re[ce]=re[ge]=re[j]=re[g]=re[J]=!0,re[u]=re[a]=re[M]=re[c]=re[B]=re[d]=re[f]=re[p]=re[m]=re[I]=re[E]=re[P]=re[A]=re[T]=re[Z]=!1;var de=typeof en=="object"&&en&&en.Object===Object&&en,ke=typeof self=="object"&&self&&self.Object===Object&&self,me=de||ke||Function("return this")(),Me=t&&!t.nodeType&&t,Ke=Me&&!0&&e&&!e.nodeType&&e,dt=Ke&&Ke.exports===Me,kt=dt&&de.process,Sn=function(){try{return kt&&kt.binding&&kt.binding("util")}catch{}}(),_t=Sn&&Sn.isTypedArray;function wn(h,x){for(var G=-1,X=h==null?0:h.length,Ie=0,ie=[];++G<X;){var Ae=h[G];x(Ae,G,h)&&(ie[Ie++]=Ae)}return ie}function Or(h,x){for(var G=-1,X=x.length,Ie=h.length;++G<X;)h[Ie+G]=x[G];return h}function Tr(h,x){for(var G=-1,X=h==null?0:h.length;++G<X;)if(x(h[G],G,h))return!0;return!1}function eo(h,x){for(var G=-1,X=Array(h);++G<h;)X[G]=x(G);return X}function Vr(h){return function(x){return h(x)}}function Rr(h,x){return h.has(x)}function to(h,x){return h==null?void 0:h[x]}function no(h){var x=-1,G=Array(h.size);return h.forEach(function(X,Ie){G[++x]=[Ie,X]}),G}function ro(h,x){return function(G){return h(x(G))}}function io(h){var x=-1,G=Array(h.size);return h.forEach(function(X){G[++x]=X}),G}var oo=Array.prototype,F=Function.prototype,N=Object.prototype,q=me["__core-js_shared__"],se=F.toString,ue=N.hasOwnProperty,Le=function(){var h=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),pt=N.toString,et=RegExp("^"+se.call(ue).replace(U,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=dt?me.Buffer:void 0,ft=me.Symbol,Be=me.Uint8Array,bt=N.propertyIsEnumerable,tt=oo.splice,Ut=ft?ft.toStringTag:void 0,$a=Object.getOwnPropertySymbols,vb=Bt?Bt.isBuffer:void 0,Cb=ro(Object.keys,Object),so=En(me,"DataView"),Yn=En(me,"Map"),uo=En(me,"Promise"),ao=En(me,"Set"),lo=En(me,"WeakMap"),Jn=En(Object,"create"),xb=$t(so),Ab=$t(Yn),Sb=$t(uo),wb=$t(ao),Eb=$t(lo),Ka=ft?ft.prototype:void 0,co=Ka?Ka.valueOf:void 0;function Qt(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var X=h[x];this.set(X[0],X[1])}}function Fb(){this.__data__=Jn?Jn(null):{},this.size=0}function Pb(h){var x=this.has(h)&&delete this.__data__[h];return this.size-=x?1:0,x}function Gb(h){var x=this.__data__;if(Jn){var G=x[h];return G===r?void 0:G}return ue.call(x,h)?x[h]:void 0}function kb(h){var x=this.__data__;return Jn?x[h]!==void 0:ue.call(x,h)}function Bb(h,x){var G=this.__data__;return this.size+=this.has(h)?0:1,G[h]=Jn&&x===void 0?r:x,this}Qt.prototype.clear=Fb,Qt.prototype.delete=Pb,Qt.prototype.get=Gb,Qt.prototype.has=kb,Qt.prototype.set=Bb;function yt(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var X=h[x];this.set(X[0],X[1])}}function Ob(){this.__data__=[],this.size=0}function Tb(h){var x=this.__data__,G=Nr(x,h);if(G<0)return!1;var X=x.length-1;return G==X?x.pop():tt.call(x,G,1),--this.size,!0}function Vb(h){var x=this.__data__,G=Nr(x,h);return G<0?void 0:x[G][1]}function Rb(h){return Nr(this.__data__,h)>-1}function Db(h,x){var G=this.__data__,X=Nr(G,h);return X<0?(++this.size,G.push([h,x])):G[X][1]=x,this}yt.prototype.clear=Ob,yt.prototype.delete=Tb,yt.prototype.get=Vb,yt.prototype.has=Rb,yt.prototype.set=Db;function qt(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var X=h[x];this.set(X[0],X[1])}}function Nb(){this.size=0,this.__data__={hash:new Qt,map:new(Yn||yt),string:new Qt}}function Mb(h){var x=Mr(this,h).delete(h);return this.size-=x?1:0,x}function Lb(h){return Mr(this,h).get(h)}function Xb(h){return Mr(this,h).has(h)}function zb(h,x){var G=Mr(this,h),X=G.size;return G.set(h,x),this.size+=G.size==X?0:1,this}qt.prototype.clear=Nb,qt.prototype.delete=Mb,qt.prototype.get=Lb,qt.prototype.has=Xb,qt.prototype.set=zb;function Dr(h){var x=-1,G=h==null?0:h.length;for(this.__data__=new qt;++x<G;)this.add(h[x])}function Hb(h){return this.__data__.set(h,r),this}function Wb(h){return this.__data__.has(h)}Dr.prototype.add=Dr.prototype.push=Hb,Dr.prototype.has=Wb;function Ot(h){var x=this.__data__=new yt(h);this.size=x.size}function Zb(){this.__data__=new yt,this.size=0}function jb(h){var x=this.__data__,G=x.delete(h);return this.size=x.size,G}function Yb(h){return this.__data__.get(h)}function Jb(h){return this.__data__.has(h)}function _b(h,x){var G=this.__data__;if(G instanceof yt){var X=G.__data__;if(!Yn||X.length<n-1)return X.push([h,x]),this.size=++G.size,this;G=this.__data__=new qt(X)}return G.set(h,x),this.size=G.size,this}Ot.prototype.clear=Zb,Ot.prototype.delete=jb,Ot.prototype.get=Yb,Ot.prototype.has=Jb,Ot.prototype.set=_b;function Ub(h,x){var G=Lr(h),X=!G&&cy(h),Ie=!G&&!X&&po(h),ie=!G&&!X&&!Ie&&al(h),Ae=G||X||Ie||ie,we=Ae?eo(h.length,String):[],Fe=we.length;for(var ve in h)ue.call(h,ve)&&!(Ae&&(ve=="length"||Ie&&(ve=="offset"||ve=="parent")||ie&&(ve=="buffer"||ve=="byteLength"||ve=="byteOffset")||oy(ve,Fe)))&&we.push(ve);return we}function Nr(h,x){for(var G=h.length;G--;)if(il(h[G][0],x))return G;return-1}function Qb(h,x,G){var X=x(h);return Lr(h)?X:Or(X,G(h))}function _n(h){return h==null?h===void 0?V:v:Ut&&Ut in Object(h)?ry(h):ly(h)}function el(h){return Un(h)&&_n(h)==u}function tl(h,x,G,X,Ie){return h===x?!0:h==null||x==null||!Un(h)&&!Un(x)?h!==h&&x!==x:qb(h,x,G,X,tl,Ie)}function qb(h,x,G,X,Ie,ie){var Ae=Lr(h),we=Lr(x),Fe=Ae?a:Tt(h),ve=we?a:Tt(x);Fe=Fe==u?E:Fe,ve=ve==u?E:ve;var Ze=Fe==E,nt=ve==E,Oe=Fe==ve;if(Oe&&po(h)){if(!po(x))return!1;Ae=!0,Ze=!1}if(Oe&&!Ze)return ie||(ie=new Ot),Ae||al(h)?nl(h,x,G,X,Ie,ie):ty(h,x,Fe,G,X,Ie,ie);if(!(G&i)){var Ue=Ze&&ue.call(h,"__wrapped__"),Qe=nt&&ue.call(x,"__wrapped__");if(Ue||Qe){var Vt=Ue?h.value():h,It=Qe?x.value():x;return ie||(ie=new Ot),Ie(Vt,It,G,X,ie)}}return Oe?(ie||(ie=new Ot),ny(h,x,G,X,Ie,ie)):!1}function $b(h){if(!ul(h)||uy(h))return!1;var x=ol(h)?et:b;return x.test($t(h))}function Kb(h){return Un(h)&&sl(h.length)&&!!re[_n(h)]}function ey(h){if(!ay(h))return Cb(h);var x=[];for(var G in Object(h))ue.call(h,G)&&G!="constructor"&&x.push(G);return x}function nl(h,x,G,X,Ie,ie){var Ae=G&i,we=h.length,Fe=x.length;if(we!=Fe&&!(Ae&&Fe>we))return!1;var ve=ie.get(h);if(ve&&ie.get(x))return ve==x;var Ze=-1,nt=!0,Oe=G&o?new Dr:void 0;for(ie.set(h,x),ie.set(x,h);++Ze<we;){var Ue=h[Ze],Qe=x[Ze];if(X)var Vt=Ae?X(Qe,Ue,Ze,x,h,ie):X(Ue,Qe,Ze,h,x,ie);if(Vt!==void 0){if(Vt)continue;nt=!1;break}if(Oe){if(!Tr(x,function(It,Kt){if(!Rr(Oe,Kt)&&(Ue===It||Ie(Ue,It,G,X,ie)))return Oe.push(Kt)})){nt=!1;break}}else if(!(Ue===Qe||Ie(Ue,Qe,G,X,ie))){nt=!1;break}}return ie.delete(h),ie.delete(x),nt}function ty(h,x,G,X,Ie,ie,Ae){switch(G){case B:if(h.byteLength!=x.byteLength||h.byteOffset!=x.byteOffset)return!1;h=h.buffer,x=x.buffer;case M:return!(h.byteLength!=x.byteLength||!ie(new Be(h),new Be(x)));case c:case d:case I:return il(+h,+x);case f:return h.name==x.name&&h.message==x.message;case P:case T:return h==x+"";case m:var we=no;case A:var Fe=X&i;if(we||(we=io),h.size!=x.size&&!Fe)return!1;var ve=Ae.get(h);if(ve)return ve==x;X|=o,Ae.set(h,x);var Ze=nl(we(h),we(x),X,Ie,ie,Ae);return Ae.delete(h),Ze;case k:if(co)return co.call(h)==co.call(x)}return!1}function ny(h,x,G,X,Ie,ie){var Ae=G&i,we=rl(h),Fe=we.length,ve=rl(x),Ze=ve.length;if(Fe!=Ze&&!Ae)return!1;for(var nt=Fe;nt--;){var Oe=we[nt];if(!(Ae?Oe in x:ue.call(x,Oe)))return!1}var Ue=ie.get(h);if(Ue&&ie.get(x))return Ue==x;var Qe=!0;ie.set(h,x),ie.set(x,h);for(var Vt=Ae;++nt<Fe;){Oe=we[nt];var It=h[Oe],Kt=x[Oe];if(X)var ll=Ae?X(Kt,It,Oe,x,h,ie):X(It,Kt,Oe,h,x,ie);if(!(ll===void 0?It===Kt||Ie(It,Kt,G,X,ie):ll)){Qe=!1;break}Vt||(Vt=Oe=="constructor")}if(Qe&&!Vt){var Xr=h.constructor,zr=x.constructor;Xr!=zr&&"constructor"in h&&"constructor"in x&&!(typeof Xr=="function"&&Xr instanceof Xr&&typeof zr=="function"&&zr instanceof zr)&&(Qe=!1)}return ie.delete(h),ie.delete(x),Qe}function rl(h){return Qb(h,fy,iy)}function Mr(h,x){var G=h.__data__;return sy(x)?G[typeof x=="string"?"string":"hash"]:G.map}function En(h,x){var G=to(h,x);return $b(G)?G:void 0}function ry(h){var x=ue.call(h,Ut),G=h[Ut];try{h[Ut]=void 0;var X=!0}catch{}var Ie=pt.call(h);return X&&(x?h[Ut]=G:delete h[Ut]),Ie}var iy=$a?function(h){return h==null?[]:(h=Object(h),wn($a(h),function(x){return bt.call(h,x)}))}:hy,Tt=_n;(so&&Tt(new so(new ArrayBuffer(1)))!=B||Yn&&Tt(new Yn)!=m||uo&&Tt(uo.resolve())!=S||ao&&Tt(new ao)!=A||lo&&Tt(new lo)!=Z)&&(Tt=function(h){var x=_n(h),G=x==E?h.constructor:void 0,X=G?$t(G):"";if(X)switch(X){case xb:return B;case Ab:return m;case Sb:return S;case wb:return A;case Eb:return Z}return x});function oy(h,x){return x=x??s,!!x&&(typeof h=="number"||he.test(h))&&h>-1&&h%1==0&&h<x}function sy(h){var x=typeof h;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?h!=="__proto__":h===null}function uy(h){return!!Le&&Le in h}function ay(h){var x=h&&h.constructor,G=typeof x=="function"&&x.prototype||N;return h===G}function ly(h){return pt.call(h)}function $t(h){if(h!=null){try{return se.call(h)}catch{}try{return h+""}catch{}}return""}function il(h,x){return h===x||h!==h&&x!==x}var cy=el(function(){return arguments}())?el:function(h){return Un(h)&&ue.call(h,"callee")&&!bt.call(h,"callee")},Lr=Array.isArray;function dy(h){return h!=null&&sl(h.length)&&!ol(h)}var po=vb||gy;function py(h,x){return tl(h,x)}function ol(h){if(!ul(h))return!1;var x=_n(h);return x==p||x==y||x==l||x==w}function sl(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=s}function ul(h){var x=typeof h;return h!=null&&(x=="object"||x=="function")}function Un(h){return h!=null&&typeof h=="object"}var al=_t?Vr(_t):Kb;function fy(h){return dy(h)?Ub(h):ey(h)}function hy(){return[]}function gy(){return!1}e.exports=py}(qn,qn.exports);var fl=qn.exports;const hl=xo(fl);var Fn=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Dt=typeof window>"u"||"Deno"in globalThis;function je(){}function gl(e,t){return typeof e=="function"?e(t):e}function Zr(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ao(e,t){return Math.max(e+(t||0)-Date.now(),0)}function tn(e,t){return typeof e=="function"?e(t):e}function qe(e,t){return typeof e=="function"?e(t):e}function So(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:u}=e;if(s){if(r){if(t.queryHash!==jr(s,t.options))return!1}else if(!Gn(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||i&&i!==t.state.fetchStatus||o&&!o(t))}function wo(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Pn(t.options.mutationKey)!==Pn(o))return!1}else if(!Gn(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function jr(e,t){return((t==null?void 0:t.queryKeyHashFn)||Pn)(e)}function Pn(e){return JSON.stringify(e,(t,n)=>_r(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Gn(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Gn(e[n],t[n])):!1}function Yr(e,t){if(e===t)return e;const n=Eo(e)&&Eo(t);if(n||_r(e)&&_r(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,u=n?[]:{};let a=0;for(let l=0;l<s;l++){const c=n?l:o[l];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(u[c]=void 0,a++):(u[c]=Yr(e[c],t[c]),u[c]===e[c]&&e[c]!==void 0&&a++)}return i===s&&a===i?e:u}return t}function Jr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Eo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _r(e){if(!Fo(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Fo(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Fo(e){return Object.prototype.toString.call(e)==="[object Object]"}function ml(e){return new Promise(t=>{setTimeout(t,e)})}function Ur(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Yr(e,t)}catch(r){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`)}return Yr(e,t)}return t}function bl(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function yl(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var kn=Symbol();function Po(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===kn&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===kn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Il=(Wa=class extends Fn{constructor(){super();$(this,zt);$(this,At);$(this,dn);z(this,dn,t=>{if(!Dt&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,At)||this.setEventListener(C(this,dn))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,At))==null||t.call(this),z(this,At,void 0))}setEventListener(t){var n;z(this,dn,t),(n=C(this,At))==null||n.call(this),z(this,At,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,zt)!==t&&(z(this,zt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,zt)=="boolean"?C(this,zt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},zt=new WeakMap,At=new WeakMap,dn=new WeakMap,Wa),Qr=new Il,vl=(Za=class extends Fn{constructor(){super();$(this,pn,!0);$(this,St);$(this,fn);z(this,fn,t=>{if(!Dt&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,St)||this.setEventListener(C(this,fn))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,St))==null||t.call(this),z(this,St,void 0))}setEventListener(t){var n;z(this,fn,t),(n=C(this,St))==null||n.call(this),z(this,St,t(this.setOnline.bind(this)))}setOnline(t){C(this,pn)!==t&&(z(this,pn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,pn)}},pn=new WeakMap,St=new WeakMap,fn=new WeakMap,Za),$n=new vl;function qr(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function Cl(e){return Math.min(1e3*2**e,3e4)}function Go(e){return(e??"online")==="online"?$n.isOnline():!0}var ko=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function $r(e){return e instanceof ko}function Bo(e){let t=!1,n=0,r=!1,i;const o=qr(),s=m=>{var I;r||(f(new ko(m)),(I=e.abort)==null||I.call(e))},u=()=>{t=!0},a=()=>{t=!1},l=()=>Qr.isFocused()&&(e.networkMode==="always"||$n.isOnline())&&e.canRun(),c=()=>Go(e.networkMode)&&e.canRun(),d=m=>{var I;r||(r=!0,(I=e.onSuccess)==null||I.call(e,m),i==null||i(),o.resolve(m))},f=m=>{var I;r||(r=!0,(I=e.onError)==null||I.call(e,m),i==null||i(),o.reject(m))},p=()=>new Promise(m=>{var I;i=v=>{(r||l())&&m(v)},(I=e.onPause)==null||I.call(e)}).then(()=>{var m;i=void 0,r||(m=e.onContinue)==null||m.call(e)}),y=()=>{if(r)return;let m;const I=n===0?e.initialPromise:void 0;try{m=I??e.fn()}catch(v){m=Promise.reject(v)}Promise.resolve(m).then(d).catch(v=>{var A;if(r)return;const E=e.retry??(Dt?0:3),S=e.retryDelay??Cl,w=typeof S=="function"?S(n,v):S,P=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,v);if(t||!P){f(v);return}n++,(A=e.onFail)==null||A.call(e,n,v),ml(w).then(()=>l()?void 0:p()).then(()=>{t?f(v):y()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:u,continueRetry:a,canStart:c,start:()=>(c()?y():p().then(y),o)}}function xl(){let e=[],t=0,n=u=>{u()},r=u=>{u()},i=u=>setTimeout(u,0);const o=u=>{t?e.push(u):i(()=>{n(u)})},s=()=>{const u=e;e=[],u.length&&i(()=>{r(()=>{u.forEach(a=>{n(a)})})})};return{batch:u=>{let a;t++;try{a=u()}finally{t--,t||s()}return a},batchCalls:u=>(...a)=>{o(()=>{u(...a)})},schedule:o,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{i=u}}}var Ee=xl(),Oo=(ja=class{constructor(){$(this,Ht)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zr(this.gcTime)&&z(this,Ht,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Dt?1/0:5*60*1e3))}clearGcTimeout(){C(this,Ht)&&(clearTimeout(C(this,Ht)),z(this,Ht,void 0))}},Ht=new WeakMap,ja),Al=(Ya=class extends Oo{constructor(t){super();$(this,$e);$(this,hn);$(this,gn);$(this,_e);$(this,Ge);$(this,Hn);$(this,Wt);z(this,Wt,!1),z(this,Hn,t.defaultOptions),this.setOptions(t.options),this.observers=[],z(this,_e,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,z(this,hn,Sl(this.options)),this.state=t.state??C(this,hn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={...C(this,Hn),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,_e).remove(this)}setData(t,n){const r=Ur(this.state.data,t,this.options);return le(this,$e,vt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){le(this,$e,vt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=C(this,Ge))==null?void 0:r.promise;return(i=C(this,Ge))==null||i.cancel(t),n?n.then(je).catch(je):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,hn))}isActive(){return this.observers.some(t=>qe(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===kn||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Ao(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,_e).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Ge)&&(C(this,Wt)?C(this,Ge).cancel({revert:!0}):C(this,Ge).cancelRetry()),this.scheduleGc()),C(this,_e).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||le(this,$e,vt).call(this,{type:"invalidate"})}fetch(t,n){var a,l,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Ge))return C(this,Ge).continueRetry(),C(this,Ge).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(z(this,Wt,!0),r.signal)})},o=()=>{const d=Po(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),z(this,Wt,!1),this.options.persister?this.options.persister(d,f,this):d(f)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(s),(a=this.options.behavior)==null||a.onFetch(s,this),z(this,gn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=s.fetchOptions)==null?void 0:l.meta))&&le(this,$e,vt).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const u=d=>{var f,p,y,m;$r(d)&&d.silent||le(this,$e,vt).call(this,{type:"error",error:d}),$r(d)||((p=(f=C(this,_e).config).onError)==null||p.call(f,d,this),(m=(y=C(this,_e).config).onSettled)==null||m.call(y,this.state.data,d,this)),this.scheduleGc()};return z(this,Ge,Bo({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,p,y,m;if(d===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(I){u(I);return}(p=(f=C(this,_e).config).onSuccess)==null||p.call(f,d,this),(m=(y=C(this,_e).config).onSettled)==null||m.call(y,d,this.state.error,this),this.scheduleGc()},onError:u,onFail:(d,f)=>{le(this,$e,vt).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{le(this,$e,vt).call(this,{type:"pause"})},onContinue:()=>{le(this,$e,vt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),C(this,Ge).start()}},hn=new WeakMap,gn=new WeakMap,_e=new WeakMap,Ge=new WeakMap,Hn=new WeakMap,Wt=new WeakMap,$e=new WeakSet,vt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...To(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return $r(i)&&i.revert&&C(this,gn)?{...C(this,gn),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ee.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,_e).notify({query:this,type:"updated",action:t})})},Ya);function To(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Go(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sl(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var wl=(Ja=class extends Fn{constructor(t={}){super();$(this,ut);this.config=t,z(this,ut,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??jr(i,n);let s=this.get(o);return s||(s=new Al({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){C(this,ut).has(t.queryHash)||(C(this,ut).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,ut).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,ut).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ee.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,ut).get(t)}getAll(){return[...C(this,ut).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>So(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>So(t,r)):n}notify(t){Ee.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ee.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ee.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ut=new WeakMap,Ja),El=(_a=class extends Oo{constructor(t){super();$(this,lt);$(this,at);$(this,Te);$(this,Zt);this.mutationId=t.mutationId,z(this,Te,t.mutationCache),z(this,at,[]),this.state=t.state||Fl(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,at).includes(t)||(C(this,at).push(t),this.clearGcTimeout(),C(this,Te).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){z(this,at,C(this,at).filter(n=>n!==t)),this.scheduleGc(),C(this,Te).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,at).length||(this.state.status==="pending"?this.scheduleGc():C(this,Te).remove(this))}continue(){var t;return((t=C(this,Zt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,u,a,l,c,d,f,p,y,m,I,v,E,S,w,P,A,T;z(this,Zt,Bo({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(k,V)=>{le(this,lt,Rt).call(this,{type:"failed",failureCount:k,error:V})},onPause:()=>{le(this,lt,Rt).call(this,{type:"pause"})},onContinue:()=>{le(this,lt,Rt).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Te).canRun(this)}));const n=this.state.status==="pending",r=!C(this,Zt).canStart();try{if(!n){le(this,lt,Rt).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=C(this,Te).config).onMutate)==null?void 0:o.call(i,t,this));const V=await((u=(s=this.options).onMutate)==null?void 0:u.call(s,t));V!==this.state.context&&le(this,lt,Rt).call(this,{type:"pending",context:V,variables:t,isPaused:r})}const k=await C(this,Zt).start();return await((l=(a=C(this,Te).config).onSuccess)==null?void 0:l.call(a,k,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,k,t,this.state.context)),await((p=(f=C(this,Te).config).onSettled)==null?void 0:p.call(f,k,null,this.state.variables,this.state.context,this)),await((m=(y=this.options).onSettled)==null?void 0:m.call(y,k,null,t,this.state.context)),le(this,lt,Rt).call(this,{type:"success",data:k}),k}catch(k){try{throw await((v=(I=C(this,Te).config).onError)==null?void 0:v.call(I,k,t,this.state.context,this)),await((S=(E=this.options).onError)==null?void 0:S.call(E,k,t,this.state.context)),await((P=(w=C(this,Te).config).onSettled)==null?void 0:P.call(w,void 0,k,this.state.variables,this.state.context,this)),await((T=(A=this.options).onSettled)==null?void 0:T.call(A,void 0,k,t,this.state.context)),k}finally{le(this,lt,Rt).call(this,{type:"error",error:k})}}finally{C(this,Te).runNext(this)}}},at=new WeakMap,Te=new WeakMap,Zt=new WeakMap,lt=new WeakSet,Rt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ee.batch(()=>{C(this,at).forEach(r=>{r.onMutationUpdate(t)}),C(this,Te).notify({mutation:this,type:"updated",action:t})})},_a);function Fl(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Pl=(Ua=class extends Fn{constructor(t={}){super();$(this,We);$(this,Wn);this.config=t,z(this,We,new Map),z(this,Wn,Date.now())}build(t,n,r){const i=new El({mutationCache:this,mutationId:++Hr(this,Wn)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Kn(t),r=C(this,We).get(n)??[];r.push(t),C(this,We).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Kn(t);if(C(this,We).has(n)){const i=(r=C(this,We).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?C(this,We).delete(n):C(this,We).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=C(this,We).get(Kn(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=C(this,We).get(Kn(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ee.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...C(this,We).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wo(n,r))}findAll(t={}){return this.getAll().filter(n=>wo(t,n))}notify(t){Ee.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ee.batch(()=>Promise.all(t.map(n=>n.continue().catch(je))))}},We=new WeakMap,Wn=new WeakMap,Ua);function Kn(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Vo(e){return{onFetch:(t,n)=>{var c,d,f,p,y;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],s=((y=t.state.data)==null?void 0:y.pageParams)||[];let u={pages:[],pageParams:[]},a=0;const l=async()=>{let m=!1;const I=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},v=Po(t.options,t.fetchOptions),E=async(S,w,P)=>{if(m)return Promise.reject();if(w==null&&S.pages.length)return Promise.resolve(S);const A={queryKey:t.queryKey,pageParam:w,direction:P?"backward":"forward",meta:t.options.meta};I(A);const T=await v(A),{maxPages:k}=t.options,V=P?yl:bl;return{pages:V(S.pages,T,k),pageParams:V(S.pageParams,w,k)}};if(i&&o.length){const S=i==="backward",w=S?Gl:Ro,P={pages:o,pageParams:s},A=w(r,P);u=await E(P,A,S)}else{const S=e??o.length;do{const w=a===0?s[0]??r.initialPageParam:Ro(r,u);if(a>0&&w==null)break;u=await E(u,w),a++}while(a<S)}return u};t.options.persister?t.fetchFn=()=>{var m,I;return(I=(m=t.options).persister)==null?void 0:I.call(m,l,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Ro(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Gl(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var kl=(Qa=class{constructor(e={}){$(this,xe);$(this,wt);$(this,Et);$(this,mn);$(this,bn);$(this,Ft);$(this,yn);$(this,In);z(this,xe,e.queryCache||new wl),z(this,wt,e.mutationCache||new Pl),z(this,Et,e.defaultOptions||{}),z(this,mn,new Map),z(this,bn,new Map),z(this,Ft,0)}mount(){Hr(this,Ft)._++,C(this,Ft)===1&&(z(this,yn,Qr.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,xe).onFocus())})),z(this,In,$n.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,xe).onOnline())})))}unmount(){var e,t;Hr(this,Ft)._--,C(this,Ft)===0&&((e=C(this,yn))==null||e.call(this),z(this,yn,void 0),(t=C(this,In))==null||t.call(this),z(this,In,void 0))}isFetching(e){return C(this,xe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,wt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,xe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=C(this,xe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(tn(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return C(this,xe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=C(this,xe).get(r.queryHash),o=i==null?void 0:i.state.data,s=gl(t,o);if(s!==void 0)return C(this,xe).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ee.batch(()=>C(this,xe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,xe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,xe);Ee.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,xe),r={type:"active",...e};return Ee.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ee.batch(()=>C(this,xe).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(je).catch(je)}invalidateQueries(e={},t={}){return Ee.batch(()=>{if(C(this,xe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Ee.batch(()=>C(this,xe).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(je)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(je)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,xe).build(this,t);return n.isStaleByTime(tn(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(je).catch(je)}fetchInfiniteQuery(e){return e.behavior=Vo(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(je).catch(je)}ensureInfiniteQueryData(e){return e.behavior=Vo(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $n.isOnline()?C(this,wt).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,xe)}getMutationCache(){return C(this,wt)}getDefaultOptions(){return C(this,Et)}setDefaultOptions(e){z(this,Et,e)}setQueryDefaults(e,t){C(this,mn).set(Pn(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,mn).values()];let n={};return t.forEach(r=>{Gn(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){C(this,bn).set(Pn(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,bn).values()];let n={};return t.forEach(r=>{Gn(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,Et).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=jr(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===kn&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,Et).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,xe).clear(),C(this,wt).clear()}},xe=new WeakMap,wt=new WeakMap,Et=new WeakMap,mn=new WeakMap,bn=new WeakMap,Ft=new WeakMap,yn=new WeakMap,In=new WeakMap,Qa),Do=(qa=class extends Fn{constructor(t,n){super();$(this,fe);$(this,Ne);$(this,ae);$(this,Zn);$(this,Ve);$(this,jt);$(this,vn);$(this,Pt);$(this,ct);$(this,jn);$(this,Cn);$(this,xn);$(this,Yt);$(this,Jt);$(this,Gt);$(this,An,new Set);this.options=n,z(this,Ne,t),z(this,ct,null),z(this,Pt,qr()),this.options.experimental_prefetchInRender||C(this,Pt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,ae).addObserver(this),No(C(this,ae),this.options)?le(this,fe,Qn).call(this):this.updateResult(),le(this,fe,bo).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kr(C(this,ae),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kr(C(this,ae),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,le(this,fe,yo).call(this),le(this,fe,Io).call(this),C(this,ae).removeObserver(this)}setOptions(t,n){const r=this.options,i=C(this,ae);if(this.options=C(this,Ne).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof qe(this.options.enabled,C(this,ae))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");le(this,fe,vo).call(this),C(this,ae).setOptions(this.options),r._defaulted&&!Jr(this.options,r)&&C(this,Ne).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,ae),observer:this});const o=this.hasListeners();o&&Mo(C(this,ae),i,this.options,r)&&le(this,fe,Qn).call(this),this.updateResult(n),o&&(C(this,ae)!==i||qe(this.options.enabled,C(this,ae))!==qe(r.enabled,C(this,ae))||tn(this.options.staleTime,C(this,ae))!==tn(r.staleTime,C(this,ae)))&&le(this,fe,ho).call(this);const s=le(this,fe,go).call(this);o&&(C(this,ae)!==i||qe(this.options.enabled,C(this,ae))!==qe(r.enabled,C(this,ae))||s!==C(this,Gt))&&le(this,fe,mo).call(this,s)}getOptimisticResult(t){const n=C(this,Ne).getQueryCache().build(C(this,Ne),t),r=this.createResult(n,t);return Ol(this,r)&&(z(this,Ve,r),z(this,vn,this.options),z(this,jt,C(this,ae).state)),r}getCurrentResult(){return C(this,Ve)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){C(this,An).add(t)}getCurrentQuery(){return C(this,ae)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,Ne).defaultQueryOptions(t),r=C(this,Ne).getQueryCache().build(C(this,Ne),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return le(this,fe,Qn).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,Ve)))}createResult(t,n){var k;const r=C(this,ae),i=this.options,o=C(this,Ve),s=C(this,jt),u=C(this,vn),l=t!==r?t.state:C(this,Zn),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const V=this.hasListeners(),Z=!V&&No(t,n),M=V&&Mo(t,r,n,i);(Z||M)&&(d={...d,...To(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:y,errorUpdatedAt:m,status:I}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===C(this,jn))p=C(this,Cn);else try{z(this,jn,n.select),p=n.select(d.data),p=Ur(o==null?void 0:o.data,p,n),z(this,Cn,p),z(this,ct,null)}catch(V){z(this,ct,V)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&I==="pending"){let V;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))V=o.data;else if(V=typeof n.placeholderData=="function"?n.placeholderData((k=C(this,xn))==null?void 0:k.state.data,C(this,xn)):n.placeholderData,n.select&&V!==void 0)try{V=n.select(V),z(this,ct,null)}catch(Z){z(this,ct,Z)}V!==void 0&&(I="success",p=Ur(o==null?void 0:o.data,V,n),f=!0)}C(this,ct)&&(y=C(this,ct),p=C(this,Cn),m=Date.now(),I="error");const v=d.fetchStatus==="fetching",E=I==="pending",S=I==="error",w=E&&v,P=p!==void 0,T={status:I,fetchStatus:d.fetchStatus,isPending:E,isSuccess:I==="success",isError:S,isInitialLoading:w,isLoading:w,data:p,dataUpdatedAt:d.dataUpdatedAt,error:y,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!E,isLoadingError:S&&!P,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:S&&P,isStale:ei(t,n),refetch:this.refetch,promise:C(this,Pt)};if(this.options.experimental_prefetchInRender){const V=B=>{T.status==="error"?B.reject(T.error):T.data!==void 0&&B.resolve(T.data)},Z=()=>{const B=z(this,Pt,T.promise=qr());V(B)},M=C(this,Pt);switch(M.status){case"pending":t.queryHash===r.queryHash&&V(M);break;case"fulfilled":(T.status==="error"||T.data!==M.value)&&Z();break;case"rejected":(T.status!=="error"||T.error!==M.reason)&&Z();break}}return T}updateResult(t){const n=C(this,Ve),r=this.createResult(C(this,ae),this.options);if(z(this,jt,C(this,ae).state),z(this,vn,this.options),C(this,jt).data!==void 0&&z(this,xn,C(this,ae)),Jr(r,n))return;z(this,Ve,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,u=typeof s=="function"?s():s;if(u==="all"||!u&&!C(this,An).size)return!0;const a=new Set(u??C(this,An));return this.options.throwOnError&&a.add("error"),Object.keys(C(this,Ve)).some(l=>{const c=l;return C(this,Ve)[c]!==n[c]&&a.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),le(this,fe,dl).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&le(this,fe,bo).call(this)}},Ne=new WeakMap,ae=new WeakMap,Zn=new WeakMap,Ve=new WeakMap,jt=new WeakMap,vn=new WeakMap,Pt=new WeakMap,ct=new WeakMap,jn=new WeakMap,Cn=new WeakMap,xn=new WeakMap,Yt=new WeakMap,Jt=new WeakMap,Gt=new WeakMap,An=new WeakMap,fe=new WeakSet,Qn=function(t){le(this,fe,vo).call(this);let n=C(this,ae).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(je)),n},ho=function(){le(this,fe,yo).call(this);const t=tn(this.options.staleTime,C(this,ae));if(Dt||C(this,Ve).isStale||!Zr(t))return;const r=Ao(C(this,Ve).dataUpdatedAt,t)+1;z(this,Yt,setTimeout(()=>{C(this,Ve).isStale||this.updateResult()},r))},go=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,ae)):this.options.refetchInterval)??!1},mo=function(t){le(this,fe,Io).call(this),z(this,Gt,t),!(Dt||qe(this.options.enabled,C(this,ae))===!1||!Zr(C(this,Gt))||C(this,Gt)===0)&&z(this,Jt,setInterval(()=>{(this.options.refetchIntervalInBackground||Qr.isFocused())&&le(this,fe,Qn).call(this)},C(this,Gt)))},bo=function(){le(this,fe,ho).call(this),le(this,fe,mo).call(this,le(this,fe,go).call(this))},yo=function(){C(this,Yt)&&(clearTimeout(C(this,Yt)),z(this,Yt,void 0))},Io=function(){C(this,Jt)&&(clearInterval(C(this,Jt)),z(this,Jt,void 0))},vo=function(){const t=C(this,Ne).getQueryCache().build(C(this,Ne),this.options);if(t===C(this,ae))return;const n=C(this,ae);z(this,ae,t),z(this,Zn,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},dl=function(t){Ee.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,Ve))}),C(this,Ne).getQueryCache().notify({query:C(this,ae),type:"observerResultsUpdated"})})},qa);function Bl(e,t){return qe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function No(e,t){return Bl(e,t)||e.state.data!==void 0&&Kr(e,t,t.refetchOnMount)}function Kr(e,t,n){if(qe(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&ei(e,t)}return!1}function Mo(e,t,n,r){return(e!==t||qe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&ei(e,n)}function ei(e,t){return qe(t.enabled,e)!==!1&&e.isStaleByTime(tn(t.staleTime,e))}function Ol(e,t){return!Jr(e.getCurrentResult(),t)}var Lo=ee.createContext(void 0),Tl=e=>{const t=ee.useContext(Lo);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Vl=({client:e,children:t})=>(ee.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),D.jsx(Lo.Provider,{value:e,children:t})),Xo=ee.createContext(!1),Rl=()=>ee.useContext(Xo);Xo.Provider;function Dl(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Nl=ee.createContext(Dl()),Ml=()=>ee.useContext(Nl);function Ll(e,t){return typeof e=="function"?e(...t):!!e}function zo(){}var Xl=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},zl=e=>{ee.useEffect(()=>{e.clearReset()},[e])},Hl=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&Ll(n,[e.error,r]),Wl=(e,t)=>t.state.data===void 0,Zl=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},jl=(e,t)=>e.isLoading&&e.isFetching&&!t,Yl=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Ho=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Wo(e,t,n){var c,d,f,p,y;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=Tl(),i=Rl(),o=Ml(),s=r.defaultQueryOptions(e);(d=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||d.call(c,s),s._optimisticResults=i?"isRestoring":"optimistic",Zl(s),Xl(s,o),zl(o);const u=!r.getQueryCache().get(s.queryHash),[a]=ee.useState(()=>new t(r,s)),l=a.getOptimisticResult(s);if(ee.useSyncExternalStore(ee.useCallback(m=>{const I=i?zo:a.subscribe(Ee.batchCalls(m));return a.updateResult(),I},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),ee.useEffect(()=>{a.setOptions(s,{listeners:!1})},[s,a]),Yl(s,l))throw Ho(s,a,o);if(Hl({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;if((p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||p.call(f,s,l),s.experimental_prefetchInRender&&!Dt&&jl(l,i)){const m=u?Ho(s,a,o):(y=r.getQueryCache().get(s.queryHash))==null?void 0:y.promise;m==null||m.catch(zo).finally(()=>{a.updateResult()})}return s.notifyOnChangeProps?l:a.trackResult(l)}function nn(e,t){return Wo(e,Do)}function Jl(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===kn&&console.error("skipToken is not allowed for useSuspenseQuery"),Wo({...e,enabled:!0,suspense:!0,throwOnError:Wl,placeholderData:void 0},Do)}const Zo=O.createContext(void 0),ht=()=>{const e=O.useContext(Zo);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},_l=({children:e,client:t})=>{const n=new kl({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return D.jsx(Vl,{client:n,children:D.jsx(Zo.Provider,{value:t,children:e})})},ti=O.createContext(void 0),er=()=>{const e=O.useContext(ti);if(!e)throw new Error("Must be used inside provider");return e},jo=({children:e,props:t})=>{const n=ht(),r=O.useId(),{component:i,configuredProps:o,propNames:s,userId:u}=t,a=i.key,[l,c]=O.useState(0),[d,f]=O.useState(!1),[p,y]=O.useState({}),[m,I]=O.useState({});O.useEffect(()=>{I({})},[i]);const v=j=>m[j.name];let E=o||{};const[S,w]=O.useState(E),P=t.onUpdateConfiguredProps||w;t.onUpdateConfiguredProps||(E=S);const[A,T]=O.useState(),[k,V]=O.useState(),Z={userId:u,componentId:a,configuredProps:E,dynamicPropsId:A==null?void 0:A.id},{isFetching:M}=nn({queryKey:["dynamicProps"],queryFn:async()=>{const{dynamic_props:j}=await n.componentReloadProps(Z);return j&&T(j),V(void 0),[]},enabled:k!=null});let B=(A==null?void 0:A.configurable_props)||t.component.configurable_props||[];if(s!=null&&s.length){const j=[];for(const g of B)s.findIndex(J=>g.name===J)>=0&&j.push(g);B=j}k&&(B=B.slice(0,k+1));const te=(j,g)=>{const J=[];return g===void 0?j.optional||J.push("required"):j.type==="integer"?typeof g!="number"?J.push("not a number"):(j.min!=null&&g<j.min&&J.push("number too small"),j.max!=null&&g>j.max&&J.push("number too big")):j.type==="boolean"?typeof g!="boolean"&&J.push("not a boolean"):j.type==="string"?typeof g!="string"&&J.push("not a string"):j.type,J},oe=j=>{let g;for(let J=0;J<B.length;J++){const U=B[J];if(U.hidden||U.optional&&!v(U))continue;if(j[U.name]===void 0&&g==null&&(U.type==="app"||U.remoteOptions)){g=J;break}}c(g)},W=j=>{P(j),oe(j);const g={};for(let J=0;J<B.length;J++){const U=B[J],b=j[U.name],he=te(U,b);he.length&&(g[U.name]=he)}y(g)};O.useEffect(()=>{const j={};for(const g of B){if(g.hidden||g.optional&&!v(g))continue;const J=E[g.name];J===void 0?"default"in g&&g.default!=null&&(j[g.name]=g.default):g.type==="integer"&&typeof J!="number"?delete j[g.name]:j[g.name]=J}hl(j,E)||W(j)},[B]),O.useEffect(()=>{W({})},[u]);const K=(j,g)=>{const J=B[j],U={...E};g===void 0?delete U[J.name]:U[J.name]=g,P(U),J.reloadProps&&V(j),(J.type==="app"||J.remoteOptions)&&oe(U);const b=te(J,g),he={...p};b.length?he[J.name]=b:delete he[J.name],y(he)},ce=(j,g)=>{const J={...m};g?J[j.name]=!0:delete J[j.name];const U=B.findIndex(b=>b.name===j.name);g?"default"in j&&j.default!=null&&K(U,j.default):K(U,void 0),I(J)},ge={id:r,isValid:!Object.keys(p).length,props:t,userId:u,component:i,configurableProps:B,configuredProps:E,dynamicProps:A,dynamicPropsQueryIsFetching:M,optionalPropIsEnabled:v,optionalPropSetEnabled:ce,queryDisabledIdx:l,setConfiguredProp:K,setSubmitting:f,submitting:d};return D.jsx(ti.Provider,{value:ge,children:e})};function Nt(e){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(e)}function Ul(e,t){if(Nt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Nt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yo(e){var t=Ul(e,"string");return Nt(t)=="symbol"?t:t+""}function Bn(e,t,n){return(t=Yo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jo(Object(n),!0).forEach(function(r){Bn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ql(e){if(Array.isArray(e))return e}function ql(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,u=[],a=!0,l=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);a=!0);}catch(c){l=!0,i=c}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return u}}function ni(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _o(e,t){if(e){if(typeof e=="string")return ni(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ni(e,t):void 0}}function $l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gt(e,t){return Ql(e)||ql(e,t)||_o(e,t)||$l()}function Kl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function rt(e,t){if(e==null)return{};var n,r,i=Kl(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ec=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Uo(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,o=e.defaultValue,s=o===void 0?null:o,u=e.inputValue,a=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,y=rt(e,ec),m=O.useState(u!==void 0?u:n),I=gt(m,2),v=I[0],E=I[1],S=O.useState(a!==void 0?a:i),w=gt(S,2),P=w[0],A=w[1],T=O.useState(p!==void 0?p:s),k=gt(T,2),V=k[0],Z=k[1],M=O.useCallback(function(ge,j){typeof l=="function"&&l(ge,j),Z(ge)},[l]),B=O.useCallback(function(ge,j){var g;typeof c=="function"&&(g=c(ge,j)),E(g!==void 0?g:ge)},[c]),te=O.useCallback(function(){typeof f=="function"&&f(),A(!0)},[f]),oe=O.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),W=u!==void 0?u:v,K=a!==void 0?a:P,ce=p!==void 0?p:V;return Y(Y({},y),{},{inputValue:W,menuIsOpen:K,onChange:M,onInputChange:B,onMenuClose:oe,onMenuOpen:te,value:ce})}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}function tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yo(r.key),r)}}function nc(e,t,n){return t&&Qo(e.prototype,t),n&&Qo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ri(e,t){return ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ri(e,t)}function rc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ri(e,t)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tr(e)}function qo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qo=function(){return!!e})()}function ic(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oc(e,t){if(t&&(Nt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ic(e)}function sc(e){var t=qo();return function(){var n,r=tr(e);if(t){var i=tr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return oc(this,n)}}function uc(e){if(Array.isArray(e))return ni(e)}function ac(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lc(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rn(e){return uc(e)||ac(e)||_o(e)||lc()}function cc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const dc=Math.min,pc=Math.max,nr=Math.round,rr=Math.floor,ir=e=>({x:e,y:e});function fc(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function or(){return typeof window<"u"}function $o(e){return es(e)?(e.nodeName||"").toLowerCase():"#document"}function mt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ko(e){var t;return(t=(es(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function es(e){return or()?e instanceof Node||e instanceof mt(e).Node:!1}function hc(e){return or()?e instanceof Element||e instanceof mt(e).Element:!1}function ii(e){return or()?e instanceof HTMLElement||e instanceof mt(e).HTMLElement:!1}function ts(e){return!or()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof mt(e).ShadowRoot}function ns(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=oi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function gc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function mc(e){return["html","body","#document"].includes($o(e))}function oi(e){return mt(e).getComputedStyle(e)}function bc(e){if($o(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ts(e)&&e.host||Ko(e);return ts(t)?t.host:t}function rs(e){const t=bc(e);return mc(t)?e.ownerDocument?e.ownerDocument.body:e.body:ii(t)&&ns(t)?t:rs(t)}function sr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=rs(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=mt(i);if(o){const u=si(s);return t.concat(s,s.visualViewport||[],ns(i)?i:[],u&&n?sr(u):[])}return t.concat(i,sr(i,[],n))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yc(e){const t=oi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ii(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,u=nr(n)!==o||nr(r)!==s;return u&&(n=o,r=s),{width:n,height:r,$:u}}function ui(e){return hc(e)?e:e.contextElement}function is(e){const t=ui(e);if(!ii(t))return ir(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=yc(t);let s=(o?nr(n.width):n.width)/r,u=(o?nr(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const Ic=ir(0);function vc(e){const t=mt(e);return!gc()||!t.visualViewport?Ic:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cc(e,t,n){return!1}function os(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=ui(e);let s=ir(1);t&&(s=is(e));const u=Cc()?vc(o):ir(0);let a=(i.left+u.x)/s.x,l=(i.top+u.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=mt(o),p=r;let y=f,m=si(y);for(;m&&r&&p!==y;){const I=is(m),v=m.getBoundingClientRect(),E=oi(m),S=v.left+(m.clientLeft+parseFloat(E.paddingLeft))*I.x,w=v.top+(m.clientTop+parseFloat(E.paddingTop))*I.y;a*=I.x,l*=I.y,c*=I.x,d*=I.y,a+=S,l+=w,y=mt(m),m=si(y)}}return fc({width:c,height:d,x:a,y:l})}function xc(e,t){let n=null,r;const i=Ko(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function s(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),o();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(u||t(),!d||!f)return;const p=rr(c),y=rr(i.clientWidth-(l+d)),m=rr(i.clientHeight-(c+f)),I=rr(l),E={rootMargin:-p+"px "+-y+"px "+-m+"px "+-I+"px",threshold:pc(0,dc(1,a))||1};let S=!0;function w(P){const A=P[0].intersectionRatio;if(A!==a){if(!S)return s();A?s(!1,A):r=setTimeout(()=>{s(!1,1e-7)},1e3)}S=!1}try{n=new IntersectionObserver(w,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(w,E)}n.observe(e)}return s(!0),o}function Ac(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,l=ui(e),c=i||o?[...l?sr(l):[],...sr(t)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const d=l&&u?xc(l,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(v=>{let[E]=v;E&&E.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=p)==null||S.observe(t)})),n()}),l&&!a&&p.observe(l),p.observe(t));let y,m=a?os(e):null;a&&I();function I(){const v=os(e);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&n(),m=v,y=requestAnimationFrame(I)}return n(),()=>{var v;c.forEach(E=>{i&&E.removeEventListener("scroll",n),o&&E.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,a&&cancelAnimationFrame(y)}}var ai=O.useLayoutEffect,Sc=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ur=function(){};function wc(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Ec(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(wc(e,s)));return o.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var ar=function(t){return Rc(t)?t.filter(Boolean):Nt(t)==="object"&&t!==null?[t]:[]},ss=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=rt(t,Sc);return Y({},n)},Ce=function(t,n,r){var i=t.cx,o=t.getStyles,s=t.getClassNames,u=t.className;return{css:o(n,t),className:i(r??{},s(n,t),u)}};function lr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Fc(e){return lr(e)?window.innerHeight:e.clientHeight}function us(e){return lr(e)?window.pageYOffset:e.scrollTop}function cr(e,t){if(lr(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Pc(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function Gc(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function dr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ur,i=us(e),o=t-i,s=10,u=0;function a(){u+=s;var l=Gc(u,i,o,n);cr(e,l),u<n?window.requestAnimationFrame(a):r(e)}a()}function as(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?cr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&cr(e,Math.max(t.offsetTop-i,0))}function kc(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function ls(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Bc(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var cs=!1,Oc={get passive(){return cs=!0}},pr=typeof window<"u"?window:{};pr.addEventListener&&pr.removeEventListener&&(pr.addEventListener("p",ur,Oc),pr.removeEventListener("p",ur,!1));var Tc=cs;function Vc(e){return e!=null}function Rc(e){return Array.isArray(e)}function On(e,t,n){return e?t:n}function my(e){return e}function by(e){return e}var Dc=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=Object.entries(t).filter(function(s){var u=gt(s,1),a=u[0];return!r.includes(a)});return o.reduce(function(s,u){var a=gt(u,2),l=a[0],c=a[1];return s[l]=c,s},{})},Nc=["children","innerProps"],Mc=["children","innerProps"];function Lc(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,u=e.controlHeight,a=Pc(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),p=f.bottom,y=f.height,m=f.top,I=n.offsetParent.getBoundingClientRect(),v=I.top,E=s?window.innerHeight:Fc(a),S=us(a),w=parseInt(getComputedStyle(n).marginBottom,10),P=parseInt(getComputedStyle(n).marginTop,10),A=v-P,T=E-m,k=A+S,V=d-S-m,Z=p-E+S+w,M=S+m-P,B=160;switch(i){case"auto":case"bottom":if(T>=y)return{placement:"bottom",maxHeight:t};if(V>=y&&!s)return o&&dr(a,Z,B),{placement:"bottom",maxHeight:t};if(!s&&V>=r||s&&T>=r){o&&dr(a,Z,B);var te=s?T-w:V-w;return{placement:"bottom",maxHeight:te}}if(i==="auto"||s){var oe=t,W=s?A:k;return W>=r&&(oe=Math.min(W-w-u,t)),{placement:"top",maxHeight:oe}}if(i==="bottom")return o&&cr(a,Z),{placement:"bottom",maxHeight:t};break;case"top":if(A>=y)return{placement:"top",maxHeight:t};if(k>=y&&!s)return o&&dr(a,M,B),{placement:"top",maxHeight:t};if(!s&&k>=r||s&&A>=r){var K=t;return(!s&&k>=r||s&&A>=r)&&(K=s?A-P:k-P),o&&dr(a,M,B),{placement:"top",maxHeight:K}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}function Xc(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var ds=function(t){return t==="auto"?"bottom":t},zc=function(t,n){var r,i=t.placement,o=t.theme,s=o.borderRadius,u=o.spacing,a=o.colors;return Y((r={label:"menu"},Bn(r,Xc(i),"100%"),Bn(r,"position","absolute"),Bn(r,"width","100%"),Bn(r,"zIndex",1),r),n?{}:{backgroundColor:a.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},ps=O.createContext(null),Hc=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,s=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=O.useContext(ps)||{},c=l.setPortalPlacement,d=O.useRef(null),f=O.useState(i),p=gt(f,2),y=p[0],m=p[1],I=O.useState(null),v=gt(I,2),E=v[0],S=v[1],w=a.spacing.controlHeight;return ai(function(){var P=d.current;if(P){var A=s==="fixed",T=u&&!A,k=Lc({maxHeight:i,menuEl:P,minHeight:r,placement:o,shouldScroll:T,isFixedPosition:A,controlHeight:w});m(k.maxHeight),S(k.placement),c==null||c(k.placement)}},[i,o,s,u,r,c,w]),n({ref:d,placerProps:Y(Y({},t),{},{placement:E||ds(o),maxHeight:y})})},Wc=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return H.jsx("div",_({},Ce(t,"menu",{menu:!0}),{ref:r},i),n)},Zc=Wc,jc=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Y({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Yc=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return H.jsx("div",_({},Ce(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},fs=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return Y({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Jc=fs,_c=fs,Uc=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=rt(t,Nc);return H.jsx("div",_({},Ce(Y(Y({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Qc=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=rt(t,Mc);return H.jsx("div",_({},Ce(Y(Y({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},qc=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},$c=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,s=t.menuPlacement,u=t.menuPosition,a=O.useRef(null),l=O.useRef(null),c=O.useState(ds(s)),d=gt(c,2),f=d[0],p=d[1],y=O.useMemo(function(){return{setPortalPlacement:p}},[]),m=O.useState(null),I=gt(m,2),v=I[0],E=I[1],S=O.useCallback(function(){if(i){var T=kc(i),k=u==="fixed"?0:window.pageYOffset,V=T[f]+k;(V!==(v==null?void 0:v.offset)||T.left!==(v==null?void 0:v.rect.left)||T.width!==(v==null?void 0:v.rect.width))&&E({offset:V,rect:T})}},[i,u,f,v==null?void 0:v.offset,v==null?void 0:v.rect.left,v==null?void 0:v.rect.width]);ai(function(){S()},[S]);var w=O.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),i&&a.current&&(l.current=Ac(i,a.current,S,{elementResize:"ResizeObserver"in window}))},[i,S]);ai(function(){w()},[w]);var P=O.useCallback(function(T){a.current=T,w()},[w]);if(!n&&u!=="fixed"||!v)return null;var A=H.jsx("div",_({ref:P},Ce(Y(Y({},t),{},{offset:v.offset,position:u,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),r);return H.jsx(ps.Provider,{value:y},n?Wr.createPortal(A,n):A)},Kc=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},ed=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return H.jsx("div",_({},Ce(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},td=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,s=t.selectProps.controlShouldRenderValue;return Y({alignItems:"center",display:i&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},nd=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return H.jsx("div",_({},Ce(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},rd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},id=function(t){var n=t.children,r=t.innerProps;return H.jsx("div",_({},Ce(t,"indicatorsContainer",{indicators:!0}),r),n)},hs,od=["size"],sd=["innerProps","isRtl","size"];function ud(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ad=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXS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sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:ud},gs=function(t){var n=t.size,r=rt(t,od);return H.jsx("svg",_({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ad},r))},li=function(t){return H.jsx(gs,_({size:20},t),H.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ms=function(t){return H.jsx(gs,_({size:20},t),H.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},bs=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:o*2,":hover":{color:r?s.neutral80:s.neutral40}})},ld=bs,cd=function(t){var n=t.children,r=t.innerProps;return H.jsx("div",_({},Ce(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||H.jsx(ms,null))},dd=bs,pd=function(t){var n=t.children,r=t.innerProps;return H.jsx("div",_({},Ce(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||H.jsx(li,null))},fd=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},hd=function(t){var n=t.innerProps;return H.jsx("span",_({},n,Ce(t,"indicatorSeparator",{"indicator-separator":!0})))},gd=H.keyframes(hs||(hs=cc([`
1
+ (function(ie,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],$):(ie=typeof globalThis<"u"?globalThis:ie||self,$(ie["connect-react"]={},ie["react/jsx-runtime"],ie.React,ie["@emotion/react"],ie.ReactDOM))})(this,function(ie,$,H,ce,Hs){"use strict";var pm=ie=>{throw TypeError(ie)};var Tc=(ie,$,H)=>$.has(ie)||pm("Cannot "+H);var T=(ie,$,H)=>(Tc(ie,$,"read from private field"),H?H.call(ie):$.get(ie)),we=(ie,$,H)=>$.has(ie)?pm("Cannot add the same private member more than once"):$ instanceof WeakSet?$.add(ie):$.set(ie,H),ae=(ie,$,H,ce)=>(Tc(ie,$,"write to private field"),ce?ce.call(ie,H):$.set(ie,H),H),Je=(ie,$,H)=>(Tc(ie,$,"access private method"),H);var Xs=(ie,$,H,ce)=>({set _(Hs){ae(ie,$,Hs,H)},get _(){return T(ie,$,ce)}});var jr,wr,wi,op,Si,Sr,Ei,sp,Ur,lp,Fi,Pi,wn,Wt,Iu,Qr,Mn,Cr,ap,Qn,cp,qn,Zt,qr,$n,Wr,fp,dn,Cu,dp,bt,Er,Fr,Oi,Ti,Pr,_i,Bi,hp,en,ze,xu,Yt,$r,Gi,Or,Kn,Au,Ri,ki,Kr,ei,Tr,Li,$e,Uu,_c,Bc,Gc,Rc,kc,Lc,Dc,gm,pp;function mm(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Pe=mm(H);typeof document>"u"&&(globalThis.document={createElement:()=>{}});function aP(){}function cP(){}function bm(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const ym=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Im={};function Mc(e,t){return(Im.jsx?vm:ym).test(e)}const Cm=/[ \t\n\f\r]/g;function xm(e){return typeof e=="object"?e.type==="text"?Nc(e.value):!1:Nc(e)}function Nc(e){return e.replace(Cm,"")===""}class iu{constructor(t,r,u){this.property=t,this.normal=r,u&&(this.space=u)}}iu.prototype.property={},iu.prototype.normal={},iu.prototype.space=null;function Vc(e,t){const r={},u={};let o=-1;for(;++o<e.length;)Object.assign(r,e[o].property),Object.assign(u,e[o].normal);return new iu(r,u,t)}function zs(e){return e.toLowerCase()}class Cn{constructor(t,r){this.property=t,this.attribute=r}}Cn.prototype.space=null,Cn.prototype.boolean=!1,Cn.prototype.booleanish=!1,Cn.prototype.overloadedBoolean=!1,Cn.prototype.number=!1,Cn.prototype.commaSeparated=!1,Cn.prototype.spaceSeparated=!1,Cn.prototype.commaOrSpaceSeparated=!1,Cn.prototype.mustUseProperty=!1,Cn.prototype.defined=!1;let Am=0;const Be=Xr(),wt=Xr(),Wc=Xr(),ee=Xr(),at=Xr(),mi=Xr(),an=Xr();function Xr(){return 2**++Am}const Zs=Object.freeze(Object.defineProperty({__proto__:null,boolean:Be,booleanish:wt,commaOrSpaceSeparated:an,commaSeparated:mi,number:ee,overloadedBoolean:Wc,spaceSeparated:at},Symbol.toStringTag,{value:"Module"})),Ys=Object.keys(Zs);class Js extends Cn{constructor(t,r,u,o){let l=-1;if(super(t,r),Xc(this,"space",o),typeof u=="number")for(;++l<Ys.length;){const a=Ys[l];Xc(this,Ys[l],(u&Zs[a])===Zs[a])}}}Js.prototype.defined=!0;function Xc(e,t,r){r&&(e[t]=r)}const wm={}.hasOwnProperty;function bi(e){const t={},r={};let u;for(u in e.properties)if(wm.call(e.properties,u)){const o=e.properties[u],l=new Js(u,e.transform(e.attributes||{},u),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(u)&&(l.mustUseProperty=!0),t[u]=l,r[zs(u)]=u,r[zs(l.attribute)]=u}return new iu(t,r,e.space)}const Hc=bi({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zc=bi({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Zc(e,t){return t in e?e[t]:t}function Yc(e,t){return Zc(e,t.toLowerCase())}const Jc=bi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Yc,properties:{xmlns:null,xmlnsXLink:null}}),jc=bi({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:wt,ariaAutoComplete:null,ariaBusy:wt,ariaChecked:wt,ariaColCount:ee,ariaColIndex:ee,ariaColSpan:ee,ariaControls:at,ariaCurrent:null,ariaDescribedBy:at,ariaDetails:null,ariaDisabled:wt,ariaDropEffect:at,ariaErrorMessage:null,ariaExpanded:wt,ariaFlowTo:at,ariaGrabbed:wt,ariaHasPopup:null,ariaHidden:wt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:at,ariaLevel:ee,ariaLive:null,ariaModal:wt,ariaMultiLine:wt,ariaMultiSelectable:wt,ariaOrientation:null,ariaOwns:at,ariaPlaceholder:null,ariaPosInSet:ee,ariaPressed:wt,ariaReadOnly:wt,ariaRelevant:null,ariaRequired:wt,ariaRoleDescription:at,ariaRowCount:ee,ariaRowIndex:ee,ariaRowSpan:ee,ariaSelected:wt,ariaSetSize:ee,ariaSort:null,ariaValueMax:ee,ariaValueMin:ee,ariaValueNow:ee,ariaValueText:null,role:null}}),Sm=bi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Yc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mi,acceptCharset:at,accessKey:at,action:null,allow:null,allowFullScreen:Be,allowPaymentRequest:Be,allowUserMedia:Be,alt:null,as:null,async:Be,autoCapitalize:null,autoComplete:at,autoFocus:Be,autoPlay:Be,blocking:at,capture:null,charSet:null,checked:Be,cite:null,className:at,cols:ee,colSpan:null,content:null,contentEditable:wt,controls:Be,controlsList:at,coords:ee|mi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Be,defer:Be,dir:null,dirName:null,disabled:Be,download:Wc,draggable:wt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Be,formTarget:null,headers:at,height:ee,hidden:Be,high:ee,href:null,hrefLang:null,htmlFor:at,httpEquiv:at,id:null,imageSizes:null,imageSrcSet:null,inert:Be,inputMode:null,integrity:null,is:null,isMap:Be,itemId:null,itemProp:at,itemRef:at,itemScope:Be,itemType:at,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Be,low:ee,manifest:null,max:null,maxLength:ee,media:null,method:null,min:null,minLength:ee,multiple:Be,muted:Be,name:null,nonce:null,noModule:Be,noValidate:Be,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:Be,optimum:ee,pattern:null,ping:at,placeholder:null,playsInline:Be,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Be,referrerPolicy:null,rel:at,required:Be,reversed:Be,rows:ee,rowSpan:ee,sandbox:at,scope:null,scoped:Be,seamless:Be,selected:Be,shadowRootClonable:Be,shadowRootDelegatesFocus:Be,shadowRootMode:null,shape:null,size:ee,sizes:null,slot:null,span:ee,spellCheck:wt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ee,step:null,style:null,tabIndex:ee,target:null,title:null,translate:null,type:null,typeMustMatch:Be,useMap:null,value:wt,width:ee,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:at,axis:null,background:null,bgColor:null,border:ee,borderColor:null,bottomMargin:ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Be,declare:Be,event:null,face:null,frame:null,frameBorder:null,hSpace:ee,leftMargin:ee,link:null,longDesc:null,lowSrc:null,marginHeight:ee,marginWidth:ee,noResize:Be,noHref:Be,noShade:Be,noWrap:Be,object:null,profile:null,prompt:null,rev:null,rightMargin:ee,rules:null,scheme:null,scrolling:wt,standby:null,summary:null,text:null,topMargin:ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Be,disableRemotePlayback:Be,prefix:null,property:null,results:ee,security:null,unselectable:null}}),Em=bi({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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"},transform:Zc,properties:{about:an,accentHeight:ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ee,amplitude:ee,arabicForm:null,ascent:ee,attributeName:null,attributeType:null,azimuth:ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ee,by:null,calcMode:null,capHeight:ee,className:at,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:ee,diffuseConstant:ee,direction:null,display:null,dur:null,divisor:ee,dominantBaseline:null,download:Be,dx:null,dy:null,edgeMode:null,editable:null,elevation:ee,enableBackground:null,end:null,event:null,exponent:ee,externalResourcesRequired:null,fill:null,fillOpacity:ee,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:mi,g2:mi,glyphName:mi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ee,horizOriginX:ee,horizOriginY:ee,id:null,ideographic:ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ee,k:ee,k1:ee,k2:ee,k3:ee,k4:ee,kernelMatrix:an,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ee,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:ee,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:ee,overlineThickness:ee,paintOrder:null,panose1:null,path:null,pathLength:ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:at,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ee,pointsAtY:ee,pointsAtZ:ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:an,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:an,rev:an,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:an,requiredFeatures:an,requiredFonts:an,requiredFormats:an,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:ee,specularExponent:ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ee,strikethroughThickness:ee,string:null,stroke:null,strokeDashArray:an,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ee,strokeOpacity:ee,strokeWidth:null,style:null,surfaceScale:ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:an,tabIndex:ee,tableValues:null,target:null,targetX:ee,targetY:ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:an,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ee,underlineThickness:ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ee,values:null,vAlphabetic:ee,vMathematical:ee,vectorEffect:null,vHanging:ee,vIdeographic:ee,version:null,vertAdvY:ee,vertOriginX:ee,vertOriginY:ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fm=/^data[-\w.:]+$/i,Uc=/-[a-z]/g,Pm=/[A-Z]/g;function Om(e,t){const r=zs(t);let u=t,o=Cn;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Fm.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(Uc,_m);u="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!Uc.test(l)){let a=l.replace(Pm,Tm);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=Js}return new o(u,t)}function Tm(e){return"-"+e.toLowerCase()}function _m(e){return e.charAt(1).toUpperCase()}const Bm={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"},Gm=Vc([zc,Hc,Jc,jc,Sm],"html"),js=Vc([zc,Hc,Jc,jc,Em],"svg");function Rm(e){return e.join(" ").trim()}var Ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qc={},qc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,km=/\n/g,Lm=/^\s*/,Dm=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Mm=/^:\s*/,Nm=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Vm=/^[;\s]*/,Wm=/^\s+|\s+$/g,Xm=`
2
+ `,$c="/",Kc="*",Hr="",Hm="comment",zm="declaration",Zm=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,u=1;function o(S){var A=S.match(km);A&&(r+=A.length);var F=S.lastIndexOf(Xm);u=~F?S.length-F:u+S.length}function l(){var S={line:r,column:u};return function(A){return A.position=new a(S),h(),A}}function a(S){this.start=S,this.end={line:r,column:u},this.source=t.source}a.prototype.content=e;function c(S){var A=new Error(t.source+":"+r+":"+u+": "+S);if(A.reason=S,A.filename=t.source,A.line=r,A.column=u,A.source=e,!t.silent)throw A}function f(S){var A=S.exec(e);if(A){var F=A[0];return o(F),e=e.slice(F.length),A}}function h(){f(Lm)}function p(S){var A;for(S=S||[];A=g();)A!==!1&&S.push(A);return S}function g(){var S=l();if(!($c!=e.charAt(0)||Kc!=e.charAt(1))){for(var A=2;Hr!=e.charAt(A)&&(Kc!=e.charAt(A)||$c!=e.charAt(A+1));)++A;if(A+=2,Hr===e.charAt(A-1))return c("End of comment missing");var F=e.slice(2,A-2);return u+=2,o(F),e=e.slice(A),u+=2,S({type:Hm,comment:F})}}function I(){var S=l(),A=f(Dm);if(A){if(g(),!f(Mm))return c("property missing ':'");var F=f(Nm),P=S({type:zm,property:ef(A[0].replace(qc,Hr)),value:F?ef(F[0].replace(qc,Hr)):Hr});return f(Vm),P}}function b(){var S=[];p(S);for(var A;A=I();)A!==!1&&(S.push(A),p(S));return S}return h(),b()};function ef(e){return e?e.replace(Wm,Hr):Hr}var Ym=Ln&&Ln.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qc,"__esModule",{value:!0});var tf=Qc.default=jm,Jm=Ym(Zm);function jm(e,t){var r=null;if(!e||typeof e!="string")return r;var u=(0,Jm.default)(e),o=typeof t=="function";return u.forEach(function(l){if(l.type==="declaration"){var a=l.property,c=l.value;o?t(a,c,l):c&&(r=r||{},r[a]=c)}}),r}const Um=tf.default||tf,nf=rf("end"),Qs=rf("start");function rf(e){return t;function t(r){const u=r&&r.position&&r.position[e]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function Qm(e){const t=Qs(e),r=nf(e);if(t&&r)return{start:t,end:r}}function uu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?uf(e.position):"start"in e||"end"in e?uf(e):"line"in e||"column"in e?qs(e):""}function qs(e){return of(e&&e.line)+":"+of(e&&e.column)}function uf(e){return qs(e&&e.start)+"-"+qs(e&&e.end)}function of(e){return e&&typeof e=="number"?e:1}class Vt extends Error{constructor(t,r,u){super(),typeof r=="string"&&(u=r,r=void 0);let o="",l={},a=!1;if(r&&("line"in r&&"column"in r?l={place:r}:"start"in r&&"end"in r?l={place:r}:"type"in r?l={ancestors:[r],place:r.position}:l={...r}),typeof t=="string"?o=t:!l.cause&&t&&(a=!0,o=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof u=="string"){const f=u.indexOf(":");f===-1?l.ruleId=u:(l.source=u.slice(0,f),l.ruleId=u.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const c=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=c?c.line:void 0,this.name=uu(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=a&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Vt.prototype.file="",Vt.prototype.name="",Vt.prototype.reason="",Vt.prototype.message="",Vt.prototype.stack="",Vt.prototype.column=void 0,Vt.prototype.line=void 0,Vt.prototype.ancestors=void 0,Vt.prototype.cause=void 0,Vt.prototype.fatal=void 0,Vt.prototype.place=void 0,Vt.prototype.ruleId=void 0,Vt.prototype.source=void 0;const $s={}.hasOwnProperty,qm=new Map,$m=/[A-Z]/g,Km=/-([a-z])/g,eb=new Set(["table","tbody","thead","tfoot","tr"]),tb=new Set(["td","th"]),sf="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nb(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let u;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=cb(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=ab(r,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:u,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?js:Gm,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=lf(o,e,void 0);return l&&typeof l!="string"?l:o.create(e,o.Fragment,{children:l||void 0},void 0)}function lf(e,t,r){if(t.type==="element")return rb(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ib(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ob(e,t,r);if(t.type==="mdxjsEsm")return ub(e,t);if(t.type==="root")return sb(e,t,r);if(t.type==="text")return lb(e,t)}function rb(e,t,r){const u=e.schema;let o=u;t.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=js,e.schema=o),e.ancestors.push(t);const l=cf(e,t.tagName,!1),a=fb(e,t);let c=el(e,t);return eb.has(t.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!xm(f):!0})),af(e,a,l,t),Ks(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function ib(e,t){if(t.data&&t.data.estree&&e.evaluater){const u=t.data.estree.body[0];return u.type,e.evaluater.evaluateExpression(u.expression)}ou(e,t.position)}function ub(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ou(e,t.position)}function ob(e,t,r){const u=e.schema;let o=u;t.name==="svg"&&u.space==="html"&&(o=js,e.schema=o),e.ancestors.push(t);const l=t.name===null?e.Fragment:cf(e,t.name,!0),a=db(e,t),c=el(e,t);return af(e,a,l,t),Ks(a,c),e.ancestors.pop(),e.schema=u,e.create(t,l,a,r)}function sb(e,t,r){const u={};return Ks(u,el(e,t)),e.create(t,e.Fragment,u,r)}function lb(e,t){return t.value}function af(e,t,r,u){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=u)}function Ks(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function ab(e,t,r){return u;function u(o,l,a,c){const h=Array.isArray(a.children)?r:t;return c?h(l,a,c):h(l,a)}}function cb(e,t){return r;function r(u,o,l,a){const c=Array.isArray(l.children),f=Qs(u);return t(o,l,a,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function fb(e,t){const r={};let u,o;for(o in t.properties)if(o!=="children"&&$s.call(t.properties,o)){const l=hb(e,o,t.properties[o]);if(l){const[a,c]=l;e.tableCellAlignToStyle&&a==="align"&&typeof c=="string"&&tb.has(t.tagName)?u=c:r[a]=c}}if(u){const l=r.style||(r.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return r}function db(e,t){const r={};for(const u of t.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&e.evaluater){const l=u.data.estree.body[0];l.type;const a=l.expression;a.type;const c=a.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else ou(e,t.position);else{const o=u.name;let l;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&e.evaluater){const c=u.value.data.estree.body[0];c.type,l=e.evaluater.evaluateExpression(c.expression)}else ou(e,t.position);else l=u.value===null?!0:u.value;r[o]=l}return r}function el(e,t){const r=[];let u=-1;const o=e.passKeys?new Map:qm;for(;++u<t.children.length;){const l=t.children[u];let a;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=o.get(f)||0;a=f+"-"+h,o.set(f,h+1)}}const c=lf(e,l,a);c!==void 0&&r.push(c)}return r}function hb(e,t,r){const u=Om(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=u.commaSeparated?bm(r):Rm(r)),u.property==="style"){let o=typeof r=="object"?r:pb(e,String(r));return e.stylePropertyNameCase==="css"&&(o=gb(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&u.space?Bm[u.property]||u.property:u.attribute,r]}}function pb(e,t){const r={};try{Um(t,u)}catch(o){if(!e.ignoreInvalidStyle){const l=o,a=new Vt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=sf+"#cannot-parse-style-attribute",a}}return r;function u(o,l){let a=o;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(Km,bb)),r[a]=l}}function cf(e,t,r){let u;if(!r)u={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let l=-1,a;for(;++l<o.length;){const c=Mc(o[l])?{type:"Identifier",name:o[l]}:{type:"Literal",value:o[l]};a=a?{type:"MemberExpression",object:a,property:c,computed:!!(l&&c.type==="Literal"),optional:!1}:c}u=a}else u=Mc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(u.type==="Literal"){const o=u.value;return $s.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(u);ou(e)}function ou(e,t){const r=new Vt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=sf+"#cannot-handle-mdx-estrees-without-createevaluater",r}function gb(e){const t={};let r;for(r in e)$s.call(e,r)&&(t[mb(r)]=e[r]);return t}function mb(e){let t=e.replace($m,yb);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function bb(e,t){return t.toUpperCase()}function yb(e){return"-"+e.toLowerCase()}const tl={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"]},vb={};function Ib(e,t){const r=vb,u=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ff(e,u,o)}function ff(e,t,r){if(Cb(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return df(e.children,t,r)}return Array.isArray(e)?df(e,t,r):""}function df(e,t,r){const u=[];let o=-1;for(;++o<e.length;)u[o]=ff(e[o],t,r);return u.join("")}function Cb(e){return!!(e&&typeof e=="object")}const hf=document.createElement("i");function nl(e){const t="&"+e+";";hf.innerHTML=t;const r=hf.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Yn(e,t,r,u){const o=e.length;let l=0,a;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,r=r>0?r:0,u.length<1e4)a=Array.from(u),a.unshift(t,r),e.splice(...a);else for(r&&e.splice(t,r);l<u.length;)a=u.slice(l,l+1e4),a.unshift(t,0),e.splice(...a),l+=1e4,t+=1e4}function xn(e,t){return e.length>0?(Yn(e,e.length,0,t),e):t}const pf={}.hasOwnProperty;function xb(e){const t={};let r=-1;for(;++r<e.length;)Ab(t,e[r]);return t}function Ab(e,t){let r;for(r in t){const o=(pf.call(e,r)?e[r]:void 0)||(e[r]={}),l=t[r];let a;if(l)for(a in l){pf.call(o,a)||(o[a]=[]);const c=l[a];wb(o[a],Array.isArray(c)?c:c?[c]:[])}}}function wb(e,t){let r=-1;const u=[];for(;++r<t.length;)(t[r].add==="after"?e:u).push(t[r]);Yn(e,0,0,u)}function gf(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function yi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Jn=xr(/[A-Za-z]/),cn=xr(/[\dA-Za-z]/),Sb=xr(/[#-'*+\--9=?A-Z^-~]/);function rl(e){return e!==null&&(e<32||e===127)}const il=xr(/\d/),Eb=xr(/[\dA-Fa-f]/),Fb=xr(/[!-/:-@[-`{-~]/);function Ae(e){return e!==null&&e<-2}function $t(e){return e!==null&&(e<0||e===32)}function Ue(e){return e===-2||e===-1||e===32}const Pb=xr(new RegExp("\\p{P}|\\p{S}","u")),Ob=xr(/\s/);function xr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function vi(e){const t=[];let r=-1,u=0,o=0;for(;++r<e.length;){const l=e.charCodeAt(r);let a="";if(l===37&&cn(e.charCodeAt(r+1))&&cn(e.charCodeAt(r+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(a=String.fromCharCode(l));else if(l>55295&&l<57344){const c=e.charCodeAt(r+1);l<56320&&c>56319&&c<57344?(a=String.fromCharCode(l,c),o=1):a="�"}else a=String.fromCharCode(l);a&&(t.push(e.slice(u,r),encodeURIComponent(a)),u=r+o+1,a=""),o&&(r+=o,o=0)}return t.join("")+e.slice(u)}function ct(e,t,r,u){const o=u?u-1:Number.POSITIVE_INFINITY;let l=0;return a;function a(f){return Ue(f)?(e.enter(r),c(f)):t(f)}function c(f){return Ue(f)&&l++<o?(e.consume(f),c):(e.exit(r),t(f))}}const Tb={tokenize:_b};function _b(e){const t=e.attempt(this.parser.constructs.contentInitial,u,o);let r;return t;function u(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ct(e,t,"linePrefix")}function o(c){return e.enter("paragraph"),l(c)}function l(c){const f=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=f),r=f,a(c)}function a(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ae(c)?(e.consume(c),e.exit("chunkText"),l):(e.consume(c),a)}}const Bb={tokenize:Gb},mf={tokenize:Rb};function Gb(e){const t=this,r=[];let u=0,o,l,a;return c;function c(k){if(u<r.length){const N=r[u];return t.containerState=N[1],e.attempt(N[0].continuation,f,h)(k)}return h(k)}function f(k){if(u++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&L();const N=t.events.length;let X=N,R;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){R=t.events[X][1].end;break}P(u);let Y=N;for(;Y<t.events.length;)t.events[Y][1].end={...R},Y++;return Yn(t.events,X+1,0,t.events.slice(N)),t.events.length=Y,h(k)}return c(k)}function h(k){if(u===r.length){if(!o)return I(k);if(o.currentConstruct&&o.currentConstruct.concrete)return S(k);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(mf,p,g)(k)}function p(k){return o&&L(),P(u),I(k)}function g(k){return t.parser.lazy[t.now().line]=u!==r.length,a=t.now().offset,S(k)}function I(k){return t.containerState={},e.attempt(mf,b,S)(k)}function b(k){return u++,r.push([t.currentConstruct,t.containerState]),I(k)}function S(k){if(k===null){o&&L(),P(0),e.consume(k);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:l}),A(k)}function A(k){if(k===null){F(e.exit("chunkFlow"),!0),P(0),e.consume(k);return}return Ae(k)?(e.consume(k),F(e.exit("chunkFlow")),u=0,t.interrupt=void 0,c):(e.consume(k),A)}function F(k,N){const X=t.sliceStream(k);if(N&&X.push(null),k.previous=l,l&&(l.next=k),l=k,o.defineSkip(k.start),o.write(X),t.parser.lazy[k.start.line]){let R=o.events.length;for(;R--;)if(o.events[R][1].start.offset<a&&(!o.events[R][1].end||o.events[R][1].end.offset>a))return;const Y=t.events.length;let D=Y,j,Q;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){if(j){Q=t.events[D][1].end;break}j=!0}for(P(u),R=Y;R<t.events.length;)t.events[R][1].end={...Q},R++;Yn(t.events,D+1,0,t.events.slice(Y)),t.events.length=R}}function P(k){let N=r.length;for(;N-- >k;){const X=r[N];t.containerState=X[1],X[0].exit.call(t,e)}r.length=k}function L(){o.write([null]),l=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Rb(e,t,r){return ct(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bf(e){if(e===null||$t(e)||Ob(e))return 1;if(Pb(e))return 2}function ul(e,t,r){const u=[];let o=-1;for(;++o<e.length;){const l=e[o].resolveAll;l&&!u.includes(l)&&(t=l(t,r),u.push(l))}return t}const ol={name:"attention",resolveAll:kb,tokenize:Lb};function kb(e,t){let r=-1,u,o,l,a,c,f,h,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(u=r;u--;)if(e[u][0]==="exit"&&e[u][1].type==="attentionSequence"&&e[u][1]._open&&t.sliceSerialize(e[u][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[u][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[u][1].end.offset-e[u][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;f=e[u][1].end.offset-e[u][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const g={...e[u][1].end},I={...e[r][1].start};yf(g,-f),yf(I,f),a={type:f>1?"strongSequence":"emphasisSequence",start:g,end:{...e[u][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:I},l={type:f>1?"strongText":"emphasisText",start:{...e[u][1].end},end:{...e[r][1].start}},o={type:f>1?"strong":"emphasis",start:{...a.start},end:{...c.end}},e[u][1].end={...a.start},e[r][1].start={...c.end},h=[],e[u][1].end.offset-e[u][1].start.offset&&(h=xn(h,[["enter",e[u][1],t],["exit",e[u][1],t]])),h=xn(h,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",l,t]]),h=xn(h,ul(t.parser.constructs.insideSpan.null,e.slice(u+1,r),t)),h=xn(h,[["exit",l,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,h=xn(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,Yn(e,u-1,r-u+3,h),r=u+h.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Lb(e,t){const r=this.parser.constructs.attentionMarkers.null,u=this.previous,o=bf(u);let l;return a;function a(f){return l=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===l)return e.consume(f),c;const h=e.exit("attentionSequence"),p=bf(f),g=!p||p===2&&o||r.includes(f),I=!o||o===2&&p||r.includes(u);return h._open=!!(l===42?g:g&&(o||!I)),h._close=!!(l===42?I:I&&(p||!g)),t(f)}}function yf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Db={name:"autolink",tokenize:Mb};function Mb(e,t,r){let u=0;return o;function o(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(b){return Jn(b)?(e.consume(b),a):b===64?r(b):h(b)}function a(b){return b===43||b===45||b===46||cn(b)?(u=1,c(b)):h(b)}function c(b){return b===58?(e.consume(b),u=0,f):(b===43||b===45||b===46||cn(b))&&u++<32?(e.consume(b),c):(u=0,h(b))}function f(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||rl(b)?r(b):(e.consume(b),f)}function h(b){return b===64?(e.consume(b),p):Sb(b)?(e.consume(b),h):r(b)}function p(b){return cn(b)?g(b):r(b)}function g(b){return b===46?(e.consume(b),u=0,p):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):I(b)}function I(b){if((b===45||cn(b))&&u++<63){const S=b===45?I:g;return e.consume(b),S}return r(b)}}const Qu={partial:!0,tokenize:Nb};function Nb(e,t,r){return u;function u(l){return Ue(l)?ct(e,o,"linePrefix")(l):o(l)}function o(l){return l===null||Ae(l)?t(l):r(l)}}const vf={continuation:{tokenize:Wb},exit:Xb,name:"blockQuote",tokenize:Vb};function Vb(e,t,r){const u=this;return o;function o(a){if(a===62){const c=u.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),l}return r(a)}function l(a){return Ue(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Wb(e,t,r){const u=this;return o;function o(a){return Ue(a)?ct(e,l,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):l(a)}function l(a){return e.attempt(vf,t,r)(a)}}function Xb(e){e.exit("blockQuote")}const If={name:"characterEscape",tokenize:Hb};function Hb(e,t,r){return u;function u(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),o}function o(l){return Fb(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(l)}}const Cf={name:"characterReference",tokenize:zb};function zb(e,t,r){const u=this;let o=0,l,a;return c;function c(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),f}function f(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,a=cn,p(g))}function h(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,a=Eb,p):(e.enter("characterReferenceValue"),l=7,a=il,p(g))}function p(g){if(g===59&&o){const I=e.exit("characterReferenceValue");return a===cn&&!nl(u.sliceSerialize(I))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(g)&&o++<l?(e.consume(g),p):r(g)}}const xf={partial:!0,tokenize:Yb},Af={concrete:!0,name:"codeFenced",tokenize:Zb};function Zb(e,t,r){const u=this,o={partial:!0,tokenize:X};let l=0,a=0,c;return f;function f(R){return h(R)}function h(R){const Y=u.events[u.events.length-1];return l=Y&&Y[1].type==="linePrefix"?Y[2].sliceSerialize(Y[1],!0).length:0,c=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(R)}function p(R){return R===c?(a++,e.consume(R),p):a<3?r(R):(e.exit("codeFencedFenceSequence"),Ue(R)?ct(e,g,"whitespace")(R):g(R))}function g(R){return R===null||Ae(R)?(e.exit("codeFencedFence"),u.interrupt?t(R):e.check(xf,A,N)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),I(R))}function I(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(R)):Ue(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ct(e,b,"whitespace")(R)):R===96&&R===c?r(R):(e.consume(R),I)}function b(R){return R===null||Ae(R)?g(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(R))}function S(R){return R===null||Ae(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(R)):R===96&&R===c?r(R):(e.consume(R),S)}function A(R){return e.attempt(o,N,F)(R)}function F(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),P}function P(R){return l>0&&Ue(R)?ct(e,L,"linePrefix",l+1)(R):L(R)}function L(R){return R===null||Ae(R)?e.check(xf,A,N)(R):(e.enter("codeFlowValue"),k(R))}function k(R){return R===null||Ae(R)?(e.exit("codeFlowValue"),L(R)):(e.consume(R),k)}function N(R){return e.exit("codeFenced"),t(R)}function X(R,Y,D){let j=0;return Q;function Q(ue){return R.enter("lineEnding"),R.consume(ue),R.exit("lineEnding"),U}function U(ue){return R.enter("codeFencedFence"),Ue(ue)?ct(R,q,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ue):q(ue)}function q(ue){return ue===c?(R.enter("codeFencedFenceSequence"),be(ue)):D(ue)}function be(ue){return ue===c?(j++,R.consume(ue),be):j>=a?(R.exit("codeFencedFenceSequence"),Ue(ue)?ct(R,Se,"whitespace")(ue):Se(ue)):D(ue)}function Se(ue){return ue===null||Ae(ue)?(R.exit("codeFencedFence"),Y(ue)):D(ue)}}}function Yb(e,t,r){const u=this;return o;function o(a){return a===null?r(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}const sl={name:"codeIndented",tokenize:jb},Jb={partial:!0,tokenize:Ub};function jb(e,t,r){const u=this;return o;function o(h){return e.enter("codeIndented"),ct(e,l,"linePrefix",5)(h)}function l(h){const p=u.events[u.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?a(h):r(h)}function a(h){return h===null?f(h):Ae(h)?e.attempt(Jb,a,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||Ae(h)?(e.exit("codeFlowValue"),a(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),t(h)}}function Ub(e,t,r){const u=this;return o;function o(a){return u.parser.lazy[u.now().line]?r(a):Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):ct(e,l,"linePrefix",5)(a)}function l(a){const c=u.events[u.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):Ae(a)?o(a):r(a)}}const Qb={name:"codeText",previous:$b,resolve:qb,tokenize:Kb};function qb(e){let t=e.length-4,r=3,u,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(u=r;++u<t;)if(e[u][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(u=r-1,t++;++u<=t;)o===void 0?u!==t&&e[u][1].type!=="lineEnding"&&(o=u):(u===t||e[u][1].type==="lineEnding")&&(e[o][1].type="codeTextData",u!==o+2&&(e[o][1].end=e[u-1][1].end,e.splice(o+2,u-o-2),t-=u-o-2,u=o+2),o=void 0);return e}function $b(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kb(e,t,r){let u=0,o,l;return a;function a(g){return e.enter("codeText"),e.enter("codeTextSequence"),c(g)}function c(g){return g===96?(e.consume(g),u++,c):(e.exit("codeTextSequence"),f(g))}function f(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),f):g===96?(l=e.enter("codeTextSequence"),o=0,p(g)):Ae(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(g))}function h(g){return g===null||g===32||g===96||Ae(g)?(e.exit("codeTextData"),f(g)):(e.consume(g),h)}function p(g){return g===96?(e.consume(g),o++,p):o===u?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(l.type="codeTextData",h(g))}}class e0{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const u=r??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(t,u):t>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(t,r,u){const o=r||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&su(this.left,u),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),su(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),su(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);su(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);su(this.left,r.reverse())}}}function su(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function wf(e){const t={};let r=-1,u,o,l,a,c,f,h;const p=new e0(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(u=p.get(r),r&&u[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(f=u[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(u[0]==="enter")u[1].contentType&&(Object.assign(t,t0(p,r)),r=t[r],h=!0);else if(u[1]._container){for(l=r,o=void 0;l--&&(a=p.get(l),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(o&&(p.get(o)[1].type="lineEndingBlank"),a[1].type="lineEnding",o=l);o&&(u[1].end={...p.get(o)[1].start},c=p.slice(o,r),c.unshift(u),p.splice(o,r-o+1,c))}}return Yn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function t0(e,t){const r=e.get(t)[1],u=e.get(t)[2];let o=t-1;const l=[],a=r._tokenizer||u.parser[r.contentType](r.start),c=a.events,f=[],h={};let p,g,I=-1,b=r,S=0,A=0;const F=[A];for(;b;){for(;e.get(++o)[1]!==b;);l.push(o),b._tokenizer||(p=u.sliceStream(b),b.next||p.push(null),g&&a.defineSkip(b.start),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(p),b._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),g=b,b=b.next}for(b=r;++I<c.length;)c[I][0]==="exit"&&c[I-1][0]==="enter"&&c[I][1].type===c[I-1][1].type&&c[I][1].start.line!==c[I][1].end.line&&(A=I+1,F.push(A),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(a.events=[],b?(b._tokenizer=void 0,b.previous=void 0):F.pop(),I=F.length;I--;){const P=c.slice(F[I],F[I+1]),L=l.pop();f.push([L,L+P.length-1]),e.splice(L,2,P)}for(f.reverse(),I=-1;++I<f.length;)h[S+f[I][0]]=S+f[I][1],S+=f[I][1]-f[I][0]-1;return h}const n0={resolve:i0,tokenize:u0},r0={partial:!0,tokenize:o0};function i0(e){return wf(e),e}function u0(e,t){let r;return u;function u(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?l(c):Ae(c)?e.check(r0,a,l)(c):(e.consume(c),o)}function l(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function a(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function o0(e,t,r){const u=this;return o;function o(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ct(e,l,"linePrefix")}function l(a){if(a===null||Ae(a))return r(a);const c=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(a):e.interrupt(u.parser.constructs.flow,r,t)(a)}}function Sf(e,t,r,u,o,l,a,c,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return g;function g(P){return P===60?(e.enter(u),e.enter(o),e.enter(l),e.consume(P),e.exit(l),I):P===null||P===32||P===41||rl(P)?r(P):(e.enter(u),e.enter(a),e.enter(c),e.enter("chunkString",{contentType:"string"}),A(P))}function I(P){return P===62?(e.enter(l),e.consume(P),e.exit(l),e.exit(o),e.exit(u),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),b(P))}function b(P){return P===62?(e.exit("chunkString"),e.exit(c),I(P)):P===null||P===60||Ae(P)?r(P):(e.consume(P),P===92?S:b)}function S(P){return P===60||P===62||P===92?(e.consume(P),b):b(P)}function A(P){return!p&&(P===null||P===41||$t(P))?(e.exit("chunkString"),e.exit(c),e.exit(a),e.exit(u),t(P)):p<h&&P===40?(e.consume(P),p++,A):P===41?(e.consume(P),p--,A):P===null||P===32||P===40||rl(P)?r(P):(e.consume(P),P===92?F:A)}function F(P){return P===40||P===41||P===92?(e.consume(P),A):A(P)}}function Ef(e,t,r,u,o,l){const a=this;let c=0,f;return h;function h(b){return e.enter(u),e.enter(o),e.consume(b),e.exit(o),e.enter(l),p}function p(b){return c>999||b===null||b===91||b===93&&!f||b===94&&!c&&"_hiddenFootnoteSupport"in a.parser.constructs?r(b):b===93?(e.exit(l),e.enter(o),e.consume(b),e.exit(o),e.exit(u),t):Ae(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||b===91||b===93||Ae(b)||c++>999?(e.exit("chunkString"),p(b)):(e.consume(b),f||(f=!Ue(b)),b===92?I:g)}function I(b){return b===91||b===92||b===93?(e.consume(b),c++,g):g(b)}}function Ff(e,t,r,u,o,l){let a;return c;function c(I){return I===34||I===39||I===40?(e.enter(u),e.enter(o),e.consume(I),e.exit(o),a=I===40?41:I,f):r(I)}function f(I){return I===a?(e.enter(o),e.consume(I),e.exit(o),e.exit(u),t):(e.enter(l),h(I))}function h(I){return I===a?(e.exit(l),f(a)):I===null?r(I):Ae(I)?(e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),ct(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(I))}function p(I){return I===a||I===null||Ae(I)?(e.exit("chunkString"),h(I)):(e.consume(I),I===92?g:p)}function g(I){return I===a||I===92?(e.consume(I),p):p(I)}}function lu(e,t){let r;return u;function u(o){return Ae(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r=!0,u):Ue(o)?ct(e,u,r?"linePrefix":"lineSuffix")(o):t(o)}}const s0={name:"definition",tokenize:a0},l0={partial:!0,tokenize:c0};function a0(e,t,r){const u=this;let o;return l;function l(b){return e.enter("definition"),a(b)}function a(b){return Ef.call(u,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function c(b){return o=yi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),f):r(b)}function f(b){return $t(b)?lu(e,h)(b):h(b)}function h(b){return Sf(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function p(b){return e.attempt(l0,g,g)(b)}function g(b){return Ue(b)?ct(e,I,"whitespace")(b):I(b)}function I(b){return b===null||Ae(b)?(e.exit("definition"),u.parser.defined.push(o),t(b)):r(b)}}function c0(e,t,r){return u;function u(c){return $t(c)?lu(e,o)(c):r(c)}function o(c){return Ff(e,l,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function l(c){return Ue(c)?ct(e,a,"whitespace")(c):a(c)}function a(c){return c===null||Ae(c)?t(c):r(c)}}const f0={name:"hardBreakEscape",tokenize:d0};function d0(e,t,r){return u;function u(l){return e.enter("hardBreakEscape"),e.consume(l),o}function o(l){return Ae(l)?(e.exit("hardBreakEscape"),t(l)):r(l)}}const h0={name:"headingAtx",resolve:p0,tokenize:g0};function p0(e,t){let r=e.length-2,u=3,o,l;return e[u][1].type==="whitespace"&&(u+=2),r-2>u&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(u===r-1||r-4>u&&e[r-2][1].type==="whitespace")&&(r-=u+1===r?2:4),r>u&&(o={type:"atxHeadingText",start:e[u][1].start,end:e[r][1].end},l={type:"chunkText",start:e[u][1].start,end:e[r][1].end,contentType:"text"},Yn(e,u,r-u+1,[["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t]])),e}function g0(e,t,r){let u=0;return o;function o(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),a(p)}function a(p){return p===35&&u++<6?(e.consume(p),a):p===null||$t(p)?(e.exit("atxHeadingSequence"),c(p)):r(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Ae(p)?(e.exit("atxHeading"),t(p)):Ue(p)?ct(e,c,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),c(p))}function h(p){return p===null||p===35||$t(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),h)}}const m0=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Pf=["pre","script","style","textarea"],b0={concrete:!0,name:"htmlFlow",resolveTo:I0,tokenize:C0},y0={partial:!0,tokenize:A0},v0={partial:!0,tokenize:x0};function I0(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function C0(e,t,r){const u=this;let o,l,a,c,f;return h;function h(w){return p(w)}function p(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),g}function g(w){return w===33?(e.consume(w),I):w===47?(e.consume(w),l=!0,A):w===63?(e.consume(w),o=3,u.interrupt?t:E):Jn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function I(w){return w===45?(e.consume(w),o=2,b):w===91?(e.consume(w),o=5,c=0,S):Jn(w)?(e.consume(w),o=4,u.interrupt?t:E):r(w)}function b(w){return w===45?(e.consume(w),u.interrupt?t:E):r(w)}function S(w){const je="CDATA[";return w===je.charCodeAt(c++)?(e.consume(w),c===je.length?u.interrupt?t:q:S):r(w)}function A(w){return Jn(w)?(e.consume(w),a=String.fromCharCode(w),F):r(w)}function F(w){if(w===null||w===47||w===62||$t(w)){const je=w===47,ge=a.toLowerCase();return!je&&!l&&Pf.includes(ge)?(o=1,u.interrupt?t(w):q(w)):m0.includes(a.toLowerCase())?(o=6,je?(e.consume(w),P):u.interrupt?t(w):q(w)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(w):l?L(w):k(w))}return w===45||cn(w)?(e.consume(w),a+=String.fromCharCode(w),F):r(w)}function P(w){return w===62?(e.consume(w),u.interrupt?t:q):r(w)}function L(w){return Ue(w)?(e.consume(w),L):Q(w)}function k(w){return w===47?(e.consume(w),Q):w===58||w===95||Jn(w)?(e.consume(w),N):Ue(w)?(e.consume(w),k):Q(w)}function N(w){return w===45||w===46||w===58||w===95||cn(w)?(e.consume(w),N):X(w)}function X(w){return w===61?(e.consume(w),R):Ue(w)?(e.consume(w),X):k(w)}function R(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(e.consume(w),f=w,Y):Ue(w)?(e.consume(w),R):D(w)}function Y(w){return w===f?(e.consume(w),f=null,j):w===null||Ae(w)?r(w):(e.consume(w),Y)}function D(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||$t(w)?X(w):(e.consume(w),D)}function j(w){return w===47||w===62||Ue(w)?k(w):r(w)}function Q(w){return w===62?(e.consume(w),U):r(w)}function U(w){return w===null||Ae(w)?q(w):Ue(w)?(e.consume(w),U):r(w)}function q(w){return w===45&&o===2?(e.consume(w),pe):w===60&&o===1?(e.consume(w),Ee):w===62&&o===4?(e.consume(w),xe):w===63&&o===3?(e.consume(w),E):w===93&&o===5?(e.consume(w),Ke):Ae(w)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(y0,Le,be)(w)):w===null||Ae(w)?(e.exit("htmlFlowData"),be(w)):(e.consume(w),q)}function be(w){return e.check(v0,Se,Le)(w)}function Se(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),ue}function ue(w){return w===null||Ae(w)?be(w):(e.enter("htmlFlowData"),q(w))}function pe(w){return w===45?(e.consume(w),E):q(w)}function Ee(w){return w===47?(e.consume(w),a="",Oe):q(w)}function Oe(w){if(w===62){const je=a.toLowerCase();return Pf.includes(je)?(e.consume(w),xe):q(w)}return Jn(w)&&a.length<8?(e.consume(w),a+=String.fromCharCode(w),Oe):q(w)}function Ke(w){return w===93?(e.consume(w),E):q(w)}function E(w){return w===62?(e.consume(w),xe):w===45&&o===2?(e.consume(w),E):q(w)}function xe(w){return w===null||Ae(w)?(e.exit("htmlFlowData"),Le(w)):(e.consume(w),xe)}function Le(w){return e.exit("htmlFlow"),t(w)}}function x0(e,t,r){const u=this;return o;function o(a){return Ae(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):r(a)}function l(a){return u.parser.lazy[u.now().line]?r(a):t(a)}}function A0(e,t,r){return u;function u(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Qu,t,r)}}const w0={name:"htmlText",tokenize:S0};function S0(e,t,r){const u=this;let o,l,a;return c;function c(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),h):E===47?(e.consume(E),X):E===63?(e.consume(E),k):Jn(E)?(e.consume(E),D):r(E)}function h(E){return E===45?(e.consume(E),p):E===91?(e.consume(E),l=0,S):Jn(E)?(e.consume(E),L):r(E)}function p(E){return E===45?(e.consume(E),b):r(E)}function g(E){return E===null?r(E):E===45?(e.consume(E),I):Ae(E)?(a=g,Ee(E)):(e.consume(E),g)}function I(E){return E===45?(e.consume(E),b):g(E)}function b(E){return E===62?pe(E):E===45?I(E):g(E)}function S(E){const xe="CDATA[";return E===xe.charCodeAt(l++)?(e.consume(E),l===xe.length?A:S):r(E)}function A(E){return E===null?r(E):E===93?(e.consume(E),F):Ae(E)?(a=A,Ee(E)):(e.consume(E),A)}function F(E){return E===93?(e.consume(E),P):A(E)}function P(E){return E===62?pe(E):E===93?(e.consume(E),P):A(E)}function L(E){return E===null||E===62?pe(E):Ae(E)?(a=L,Ee(E)):(e.consume(E),L)}function k(E){return E===null?r(E):E===63?(e.consume(E),N):Ae(E)?(a=k,Ee(E)):(e.consume(E),k)}function N(E){return E===62?pe(E):k(E)}function X(E){return Jn(E)?(e.consume(E),R):r(E)}function R(E){return E===45||cn(E)?(e.consume(E),R):Y(E)}function Y(E){return Ae(E)?(a=Y,Ee(E)):Ue(E)?(e.consume(E),Y):pe(E)}function D(E){return E===45||cn(E)?(e.consume(E),D):E===47||E===62||$t(E)?j(E):r(E)}function j(E){return E===47?(e.consume(E),pe):E===58||E===95||Jn(E)?(e.consume(E),Q):Ae(E)?(a=j,Ee(E)):Ue(E)?(e.consume(E),j):pe(E)}function Q(E){return E===45||E===46||E===58||E===95||cn(E)?(e.consume(E),Q):U(E)}function U(E){return E===61?(e.consume(E),q):Ae(E)?(a=U,Ee(E)):Ue(E)?(e.consume(E),U):j(E)}function q(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),o=E,be):Ae(E)?(a=q,Ee(E)):Ue(E)?(e.consume(E),q):(e.consume(E),Se)}function be(E){return E===o?(e.consume(E),o=void 0,ue):E===null?r(E):Ae(E)?(a=be,Ee(E)):(e.consume(E),be)}function Se(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||$t(E)?j(E):(e.consume(E),Se)}function ue(E){return E===47||E===62||$t(E)?j(E):r(E)}function pe(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):r(E)}function Ee(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Oe}function Oe(E){return Ue(E)?ct(e,Ke,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):Ke(E)}function Ke(E){return e.enter("htmlTextData"),a(E)}}const ll={name:"labelEnd",resolveAll:O0,resolveTo:T0,tokenize:_0},E0={tokenize:B0},F0={tokenize:G0},P0={tokenize:R0};function O0(e){let t=-1;const r=[];for(;++t<e.length;){const u=e[t][1];if(r.push(e[t]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",t+=o}}return e.length!==r.length&&Yn(e,0,e.length,r),e}function T0(e,t){let r=e.length,u=0,o,l,a,c;for(;r--;)if(o=e[r][1],l){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(a){if(e[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(l=r,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(a=r);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[a][1].end}},p={type:"labelText",start:{...e[l+u+2][1].end},end:{...e[a-2][1].start}};return c=[["enter",f,t],["enter",h,t]],c=xn(c,e.slice(l+1,l+u+3)),c=xn(c,[["enter",p,t]]),c=xn(c,ul(t.parser.constructs.insideSpan.null,e.slice(l+u+4,a-3),t)),c=xn(c,[["exit",p,t],e[a-2],e[a-1],["exit",h,t]]),c=xn(c,e.slice(a+1)),c=xn(c,[["exit",f,t]]),Yn(e,l,e.length,c),e}function _0(e,t,r){const u=this;let o=u.events.length,l,a;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){l=u.events[o][1];break}return c;function c(I){return l?l._inactive?g(I):(a=u.parser.defined.includes(yi(u.sliceSerialize({start:l.end,end:u.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(I),e.exit("labelMarker"),e.exit("labelEnd"),f):r(I)}function f(I){return I===40?e.attempt(E0,p,a?p:g)(I):I===91?e.attempt(F0,p,a?h:g)(I):a?p(I):g(I)}function h(I){return e.attempt(P0,p,g)(I)}function p(I){return t(I)}function g(I){return l._balanced=!0,r(I)}}function B0(e,t,r){return u;function u(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),o}function o(g){return $t(g)?lu(e,l)(g):l(g)}function l(g){return g===41?p(g):Sf(e,a,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function a(g){return $t(g)?lu(e,f)(g):p(g)}function c(g){return r(g)}function f(g){return g===34||g===39||g===40?Ff(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function h(g){return $t(g)?lu(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):r(g)}}function G0(e,t,r){const u=this;return o;function o(c){return Ef.call(u,e,l,a,"reference","referenceMarker","referenceString")(c)}function l(c){return u.parser.defined.includes(yi(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function a(c){return r(c)}}function R0(e,t,r){return u;function u(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),o}function o(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):r(l)}}const k0={name:"labelStartImage",resolveAll:ll.resolveAll,tokenize:L0};function L0(e,t,r){const u=this;return o;function o(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),l}function l(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),a):r(c)}function a(c){return c===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(c):t(c)}}const D0={name:"labelStartLink",resolveAll:ll.resolveAll,tokenize:M0};function M0(e,t,r){const u=this;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(a):t(a)}}const al={name:"lineEnding",tokenize:N0};function N0(e,t){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ct(e,t,"linePrefix")}}const qu={name:"thematicBreak",tokenize:V0};function V0(e,t,r){let u=0,o;return l;function l(h){return e.enter("thematicBreak"),a(h)}function a(h){return o=h,c(h)}function c(h){return h===o?(e.enter("thematicBreakSequence"),f(h)):u>=3&&(h===null||Ae(h))?(e.exit("thematicBreak"),t(h)):r(h)}function f(h){return h===o?(e.consume(h),u++,f):(e.exit("thematicBreakSequence"),Ue(h)?ct(e,c,"whitespace")(h):c(h))}}const Kt={continuation:{tokenize:z0},exit:Y0,name:"list",tokenize:H0},W0={partial:!0,tokenize:J0},X0={partial:!0,tokenize:Z0};function H0(e,t,r){const u=this,o=u.events[u.events.length-1];let l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return c;function c(b){const S=u.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!u.containerState.marker||b===u.containerState.marker:il(b)){if(u.containerState.type||(u.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(qu,r,h)(b):h(b);if(!u.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(b)}return r(b)}function f(b){return il(b)&&++a<10?(e.consume(b),f):(!u.interrupt||a<2)&&(u.containerState.marker?b===u.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),h(b)):r(b)}function h(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||b,e.check(Qu,u.interrupt?r:p,e.attempt(W0,I,g))}function p(b){return u.containerState.initialBlankLine=!0,l++,I(b)}function g(b){return Ue(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),I):r(b)}function I(b){return u.containerState.size=l+u.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function z0(e,t,r){const u=this;return u.containerState._closeFlow=void 0,e.check(Qu,o,l);function o(c){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,ct(e,t,"listItemIndent",u.containerState.size+1)(c)}function l(c){return u.containerState.furtherBlankLines||!Ue(c)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,a(c)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,e.attempt(X0,t,a)(c))}function a(c){return u.containerState._closeFlow=!0,u.interrupt=void 0,ct(e,e.attempt(Kt,t,r),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function Z0(e,t,r){const u=this;return ct(e,o,"listItemIndent",u.containerState.size+1);function o(l){const a=u.events[u.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===u.containerState.size?t(l):r(l)}}function Y0(e){e.exit(this.containerState.type)}function J0(e,t,r){const u=this;return ct(e,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(l){const a=u.events[u.events.length-1];return!Ue(l)&&a&&a[1].type==="listItemPrefixWhitespace"?t(l):r(l)}}const Of={name:"setextUnderline",resolveTo:j0,tokenize:U0};function j0(e,t){let r=e.length,u,o,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){u=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&e.splice(r,1),!l&&e[r][1].type==="definition"&&(l=r);const a={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",l?(e.splice(o,0,["enter",a,t]),e.splice(l+1,0,["exit",e[u][1],t]),e[u][1].end={...e[l][1].end}):e[u][1]=a,e.push(["exit",a,t]),e}function U0(e,t,r){const u=this;let o;return l;function l(h){let p=u.events.length,g;for(;p--;)if(u.events[p][1].type!=="lineEnding"&&u.events[p][1].type!=="linePrefix"&&u.events[p][1].type!=="content"){g=u.events[p][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(e.enter("setextHeadingLine"),o=h,a(h)):r(h)}function a(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===o?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),Ue(h)?ct(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ae(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Q0={tokenize:q0};function q0(e){const t=this,r=e.attempt(Qu,u,e.attempt(this.parser.constructs.flowInitial,o,ct(e,e.attempt(this.parser.constructs.flow,o,e.attempt(n0,o)),"linePrefix")));return r;function u(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const $0={resolveAll:_f()},K0=Tf("string"),ey=Tf("text");function Tf(e){return{resolveAll:_f(e==="text"?ty:void 0),tokenize:t};function t(r){const u=this,o=this.parser.constructs[e],l=r.attempt(o,a,c);return a;function a(p){return h(p)?l(p):c(p)}function c(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),f}function f(p){return h(p)?(r.exit("data"),l(p)):(r.consume(p),f)}function h(p){if(p===null)return!0;const g=o[p];let I=-1;if(g)for(;++I<g.length;){const b=g[I];if(!b.previous||b.previous.call(u,u.previous))return!0}return!1}}}function _f(e){return t;function t(r,u){let o=-1,l;for(;++o<=r.length;)l===void 0?r[o]&&r[o][1].type==="data"&&(l=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==l+2&&(r[l][1].end=r[o-1][1].end,r.splice(l+2,o-l-2),o=l+2),l=void 0);return e?e(r,u):r}}function ty(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const u=e[r-1][1],o=t.sliceStream(u);let l=o.length,a=-1,c=0,f;for(;l--;){const h=o[l];if(typeof h=="string"){for(a=h.length;h.charCodeAt(a-1)===32;)c++,a--;if(a)break;a=-1}else if(h===-2)f=!0,c++;else if(h!==-1){l++;break}}if(c){const h={type:r===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:u.start._bufferIndex+a,_index:u.start._index+l,line:u.end.line,column:u.end.column-c,offset:u.end.offset-c},end:{...u.end}};u.end={...h.start},u.start.offset===u.end.offset?Object.assign(u,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}const ny=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:s0},disable:{null:[]},document:{42:Kt,43:Kt,45:Kt,48:Kt,49:Kt,50:Kt,51:Kt,52:Kt,53:Kt,54:Kt,55:Kt,56:Kt,57:Kt,62:vf},flow:{35:h0,42:qu,45:[Of,qu],60:b0,61:Of,95:qu,96:Af,126:Af},flowInitial:{[-2]:sl,[-1]:sl,32:sl},insideSpan:{null:[ol,$0]},string:{38:Cf,92:If},text:{[-5]:al,[-4]:al,[-3]:al,33:k0,38:Cf,42:ol,60:[Db,w0],91:D0,92:[f0,If],93:ll,95:ol,96:Qb}},Symbol.toStringTag,{value:"Module"}));function ry(e,t,r){let u={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},l=[];let a=[],c=[];const f={attempt:Y(X),check:Y(R),consume:L,enter:k,exit:N,interrupt:Y(R,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:S,parser:e,previous:null,sliceSerialize:I,sliceStream:b,write:g};let p=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function g(U){return a=xn(a,U),F(),a[a.length-1]!==null?[]:(D(t,0),h.events=ul(l,h.events,h),h.events)}function I(U,q){return uy(b(U),q)}function b(U){return iy(a,U)}function S(){const{_bufferIndex:U,_index:q,line:be,column:Se,offset:ue}=u;return{_bufferIndex:U,_index:q,line:be,column:Se,offset:ue}}function A(U){o[U.line]=U.column,Q()}function F(){let U;for(;u._index<a.length;){const q=a[u._index];if(typeof q=="string")for(U=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===U&&u._bufferIndex<q.length;)P(q.charCodeAt(u._bufferIndex));else P(q)}}function P(U){p=p(U)}function L(U){Ae(U)?(u.line++,u.column=1,u.offset+=U===-3?2:1,Q()):U!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===a[u._index].length&&(u._bufferIndex=-1,u._index++)),h.previous=U}function k(U,q){const be=q||{};return be.type=U,be.start=S(),h.events.push(["enter",be,h]),c.push(be),be}function N(U){const q=c.pop();return q.end=S(),h.events.push(["exit",q,h]),q}function X(U,q){D(U,q.from)}function R(U,q){q.restore()}function Y(U,q){return be;function be(Se,ue,pe){let Ee,Oe,Ke,E;return Array.isArray(Se)?Le(Se):"tokenize"in Se?Le([Se]):xe(Se);function xe(Ne){return St;function St(Ve){const yt=Ve!==null&&Ne[Ve],Xt=Ve!==null&&Ne.null,Lt=[...Array.isArray(yt)?yt:yt?[yt]:[],...Array.isArray(Xt)?Xt:Xt?[Xt]:[]];return Le(Lt)(Ve)}}function Le(Ne){return Ee=Ne,Oe=0,Ne.length===0?pe:w(Ne[Oe])}function w(Ne){return St;function St(Ve){return E=j(),Ke=Ne,Ne.partial||(h.currentConstruct=Ne),Ne.name&&h.parser.constructs.disable.null.includes(Ne.name)?ge():Ne.tokenize.call(q?Object.assign(Object.create(h),q):h,f,je,ge)(Ve)}}function je(Ne){return U(Ke,E),ue}function ge(Ne){return E.restore(),++Oe<Ee.length?w(Ee[Oe]):pe}}}function D(U,q){U.resolveAll&&!l.includes(U)&&l.push(U),U.resolve&&Yn(h.events,q,h.events.length-q,U.resolve(h.events.slice(q),h)),U.resolveTo&&(h.events=U.resolveTo(h.events,h))}function j(){const U=S(),q=h.previous,be=h.currentConstruct,Se=h.events.length,ue=Array.from(c);return{from:Se,restore:pe};function pe(){u=U,h.previous=q,h.currentConstruct=be,h.events.length=Se,c=ue,Q()}}function Q(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function iy(e,t){const r=t.start._index,u=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;let a;if(r===o)a=[e[r].slice(u,l)];else{if(a=e.slice(r,o),u>-1){const c=a[0];typeof c=="string"?a[0]=c.slice(u):a.shift()}l>0&&a.push(e[o].slice(0,l))}return a}function uy(e,t){let r=-1;const u=[];let o;for(;++r<e.length;){const l=e[r];let a;if(typeof l=="string")a=l;else switch(l){case-5:{a="\r";break}case-4:{a=`
3
+ `;break}case-3:{a=`\r
4
+ `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(l)}o=l===-2,u.push(a)}return u.join("")}function oy(e){const u={constructs:xb([ny,...(e||{}).extensions||[]]),content:o(Tb),defined:[],document:o(Bb),flow:o(Q0),lazy:{},string:o(K0),text:o(ey)};return u;function o(l){return a;function a(c){return ry(u,l,c)}}}function sy(e){for(;!wf(e););return e}const Bf=/[\0\t\n\r]/g;function ly(){let e=1,t="",r=!0,u;return o;function o(l,a,c){const f=[];let h,p,g,I,b;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(a||void 0).decode(l)),g=0,t="",r&&(l.charCodeAt(0)===65279&&g++,r=void 0);g<l.length;){if(Bf.lastIndex=g,h=Bf.exec(l),I=h&&h.index!==void 0?h.index:l.length,b=l.charCodeAt(I),!h){t=l.slice(g);break}if(b===10&&g===I&&u)f.push(-3),u=void 0;else switch(u&&(f.push(-5),u=void 0),g<I&&(f.push(l.slice(g,I)),e+=I-g),b){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:u=!0,e=1}g=I+1}return c&&(u&&f.push(-5),t&&f.push(t),f.push(null)),f}}const ay=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cy(e){return e.replace(ay,fy)}function fy(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),l=o===120||o===88;return gf(r.slice(l?2:1),l?16:10)}return nl(r)||e}const Gf={}.hasOwnProperty;function dy(e,t,r){return typeof t!="string"&&(r=t,t=void 0),hy(r)(sy(oy(r).document().write(ly()(e,t,!0))))}function hy(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(_t),autolinkProtocol:j,autolinkEmail:j,atxHeading:l(oe),blockQuote:l(Xt),characterEscape:j,characterReference:j,codeFenced:l(Lt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(Lt,a),codeText:l(Dt,a),codeTextData:j,data:j,codeFlowValue:j,definition:l(Nn),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(ne),hardBreakEscape:l(ve),hardBreakTrailing:l(ve),htmlFlow:l(Ge,a),htmlFlowData:j,htmlText:l(Ge,a),htmlTextData:j,image:l(vt),label:a,link:l(_t),listItem:l(Mt),listItemValue:I,listOrdered:l(Sn,g),listUnordered:l(Sn),paragraph:l(nt),reference:w,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(oe),strong:l(Qe),thematicBreak:l(et)},exit:{atxHeading:f(),atxHeadingSequence:X,autolink:f(),autolinkEmail:yt,autolinkProtocol:Ve,blockQuote:f(),characterEscapeValue:Q,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:Ne,characterReference:St,codeFenced:f(F),codeFencedFence:A,codeFencedFenceInfo:b,codeFencedFenceMeta:S,codeFlowValue:Q,codeIndented:f(P),codeText:f(ue),codeTextData:Q,data:Q,definition:f(),definitionDestinationString:N,definitionLabelString:L,definitionTitleString:k,emphasis:f(),hardBreakEscape:f(q),hardBreakTrailing:f(q),htmlFlow:f(be),htmlFlowData:Q,htmlText:f(Se),htmlTextData:Q,image:f(Ee),label:Ke,labelText:Oe,lineEnding:U,link:f(pe),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:je,resourceDestinationString:E,resourceTitleString:xe,resource:Le,setextHeading:f(D),setextHeadingLineSequence:Y,setextHeadingText:R,strong:f(),thematicBreak:f()}};Rf(t,(e||{}).mdastExtensions||[]);const r={};return u;function u(V){let te={type:"root",children:[]};const he={stack:[te],tokenStack:[],config:t,enter:c,exit:h,buffer:a,resume:p,data:r},Re=[];let ke=-1;for(;++ke<V.length;)if(V[ke][1].type==="listOrdered"||V[ke][1].type==="listUnordered")if(V[ke][0]==="enter")Re.push(ke);else{const Bt=Re.pop();ke=o(V,Bt,ke)}for(ke=-1;++ke<V.length;){const Bt=t[V[ke][0]];Gf.call(Bt,V[ke][1].type)&&Bt[V[ke][1].type].call(Object.assign({sliceSerialize:V[ke][2].sliceSerialize},he),V[ke][1])}if(he.tokenStack.length>0){const Bt=he.tokenStack[he.tokenStack.length-1];(Bt[1]||kf).call(he,void 0,Bt[0])}for(te.position={start:Ar(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:Ar(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},ke=-1;++ke<t.transforms.length;)te=t.transforms[ke](te)||te;return te}function o(V,te,he){let Re=te-1,ke=-1,Bt=!1,tn,Jt,En,nn;for(;++Re<=he;){const Et=V[Re];switch(Et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Et[0]==="enter"?ke++:ke--,nn=void 0;break}case"lineEndingBlank":{Et[0]==="enter"&&(tn&&!nn&&!ke&&!En&&(En=Re),nn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nn=void 0}if(!ke&&Et[0]==="enter"&&Et[1].type==="listItemPrefix"||ke===-1&&Et[0]==="exit"&&(Et[1].type==="listUnordered"||Et[1].type==="listOrdered")){if(tn){let hn=Re;for(Jt=void 0;hn--;){const pn=V[hn];if(pn[1].type==="lineEnding"||pn[1].type==="lineEndingBlank"){if(pn[0]==="exit")continue;Jt&&(V[Jt][1].type="lineEndingBlank",Bt=!0),pn[1].type="lineEnding",Jt=hn}else if(!(pn[1].type==="linePrefix"||pn[1].type==="blockQuotePrefix"||pn[1].type==="blockQuotePrefixWhitespace"||pn[1].type==="blockQuoteMarker"||pn[1].type==="listItemIndent"))break}En&&(!Jt||En<Jt)&&(tn._spread=!0),tn.end=Object.assign({},Jt?V[Jt][1].start:Et[1].end),V.splice(Jt||Re,0,["exit",tn,Et[2]]),Re++,he++}if(Et[1].type==="listItemPrefix"){const hn={type:"listItem",_spread:!1,start:Object.assign({},Et[1].start),end:void 0};tn=hn,V.splice(Re,0,["enter",hn,Et[2]]),Re++,he++,En=void 0,nn=!0}}}return V[te][1]._spread=Bt,he}function l(V,te){return he;function he(Re){c.call(this,V(Re),Re),te&&te.call(this,Re)}}function a(){this.stack.push({type:"fragment",children:[]})}function c(V,te,he){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([te,he||void 0]),V.position={start:Ar(te.start),end:void 0}}function f(V){return te;function te(he){V&&V.call(this,he),h.call(this,he)}}function h(V,te){const he=this.stack.pop(),Re=this.tokenStack.pop();if(Re)Re[0].type!==V.type&&(te?te.call(this,V,Re[0]):(Re[1]||kf).call(this,V,Re[0]));else throw new Error("Cannot close `"+V.type+"` ("+uu({start:V.start,end:V.end})+"): it’s not open");he.position.end=Ar(V.end)}function p(){return Ib(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function I(V){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function b(){const V=this.resume(),te=this.stack[this.stack.length-1];te.lang=V}function S(){const V=this.resume(),te=this.stack[this.stack.length-1];te.meta=V}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function P(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/(\r?\n|\r)$/g,"")}function L(V){const te=this.resume(),he=this.stack[this.stack.length-1];he.label=te,he.identifier=yi(this.sliceSerialize(V)).toLowerCase()}function k(){const V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function N(){const V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function X(V){const te=this.stack[this.stack.length-1];if(!te.depth){const he=this.sliceSerialize(V).length;te.depth=he}}function R(){this.data.setextHeadingSlurpLineEnding=!0}function Y(V){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function D(){this.data.setextHeadingSlurpLineEnding=void 0}function j(V){const he=this.stack[this.stack.length-1].children;let Re=he[he.length-1];(!Re||Re.type!=="text")&&(Re=ft(),Re.position={start:Ar(V.start),end:void 0},he.push(Re)),this.stack.push(Re)}function Q(V){const te=this.stack.pop();te.value+=this.sliceSerialize(V),te.position.end=Ar(V.end)}function U(V){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const he=te.children[te.children.length-1];he.position.end=Ar(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(j.call(this,V),Q.call(this,V))}function q(){this.data.atHardBreak=!0}function be(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function Se(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function ue(){const V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function pe(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Ee(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Oe(V){const te=this.sliceSerialize(V),he=this.stack[this.stack.length-2];he.label=cy(te),he.identifier=yi(te).toLowerCase()}function Ke(){const V=this.stack[this.stack.length-1],te=this.resume(),he=this.stack[this.stack.length-1];if(this.data.inReference=!0,he.type==="link"){const Re=V.children;he.children=Re}else he.alt=te}function E(){const V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function xe(){const V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function Le(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function je(V){const te=this.resume(),he=this.stack[this.stack.length-1];he.label=te,he.identifier=yi(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function ge(V){this.data.characterReferenceType=V.type}function Ne(V){const te=this.sliceSerialize(V),he=this.data.characterReferenceType;let Re;he?(Re=gf(te,he==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Re=nl(te);const ke=this.stack[this.stack.length-1];ke.value+=Re}function St(V){const te=this.stack.pop();te.position.end=Ar(V.end)}function Ve(V){Q.call(this,V);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(V)}function yt(V){Q.call(this,V);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(V)}function Xt(){return{type:"blockquote",children:[]}}function Lt(){return{type:"code",lang:null,meta:null,value:""}}function Dt(){return{type:"inlineCode",value:""}}function Nn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ne(){return{type:"emphasis",children:[]}}function oe(){return{type:"heading",depth:0,children:[]}}function ve(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function vt(){return{type:"image",title:null,url:"",alt:null}}function _t(){return{type:"link",title:null,url:"",children:[]}}function Sn(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function Mt(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function nt(){return{type:"paragraph",children:[]}}function Qe(){return{type:"strong",children:[]}}function ft(){return{type:"text",value:""}}function et(){return{type:"thematicBreak"}}}function Ar(e){return{line:e.line,column:e.column,offset:e.offset}}function Rf(e,t){let r=-1;for(;++r<t.length;){const u=t[r];Array.isArray(u)?Rf(e,u):py(e,u)}}function py(e,t){let r;for(r in t)if(Gf.call(t,r))switch(r){case"canContainEols":{const u=t[r];u&&e[r].push(...u);break}case"transforms":{const u=t[r];u&&e[r].push(...u);break}case"enter":case"exit":{const u=t[r];u&&Object.assign(e[r],u);break}}}function kf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+uu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+uu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+uu({start:t.start,end:t.end})+") is still open")}function gy(e){const t=this;t.parser=r;function r(u){return dy(u,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function my(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function by(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
5
+ `}]}function yy(e,t){const r=t.value?t.value+`
6
+ `:"",u={};t.lang&&(u.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:u,children:[{type:"text",value:r}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function vy(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Iy(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Cy(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",u=String(t.identifier).toUpperCase(),o=vi(u.toLowerCase()),l=e.footnoteOrder.indexOf(u);let a,c=e.footnoteCounts.get(u);c===void 0?(c=0,e.footnoteOrder.push(u),a=e.footnoteOrder.length):a=l+1,c+=1,e.footnoteCounts.set(u,c);const f={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function xy(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ay(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Lf(e,t){const r=t.referenceType;let u="]";if(r==="collapsed"?u+="[]":r==="full"&&(u+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+u}];const o=e.all(t),l=o[0];l&&l.type==="text"?l.value="["+l.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=u:o.push({type:"text",value:u}),o}function wy(e,t){const r=String(t.identifier).toUpperCase(),u=e.definitionById.get(r);if(!u)return Lf(e,t);const o={src:vi(u.url||""),alt:t.alt};u.title!==null&&u.title!==void 0&&(o.title=u.title);const l={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,l),e.applyData(t,l)}function Sy(e,t){const r={src:vi(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const u={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,u),e.applyData(t,u)}function Ey(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const u={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,u),e.applyData(t,u)}function Fy(e,t){const r=String(t.identifier).toUpperCase(),u=e.definitionById.get(r);if(!u)return Lf(e,t);const o={href:vi(u.url||"")};u.title!==null&&u.title!==void 0&&(o.title=u.title);const l={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function Py(e,t){const r={href:vi(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const u={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function Oy(e,t,r){const u=e.all(t),o=r?Ty(r):Df(t),l={},a=[];if(typeof t.checked=="boolean"){const p=u[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},u.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let c=-1;for(;++c<u.length;){const p=u[c];(o||c!==0||p.type!=="element"||p.tagName!=="p")&&a.push({type:"text",value:`
7
+ `}),p.type==="element"&&p.tagName==="p"&&!o?a.push(...p.children):a.push(p)}const f=u[u.length-1];f&&(o||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
8
+ `});const h={type:"element",tagName:"li",properties:l,children:a};return e.patch(t,h),e.applyData(t,h)}function Ty(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let u=-1;for(;!t&&++u<r.length;)t=Df(r[u])}return t}function Df(e){const t=e.spread;return t??e.children.length>1}function _y(e,t){const r={},u=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++o<u.length;){const a=u[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(u,!0)};return e.patch(t,l),e.applyData(t,l)}function By(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Gy(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Ry(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function ky(e,t){const r=e.all(t),u=r.shift(),o=[];if(u){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([u],!0)};e.patch(t.children[0],a),o.push(a)}if(r.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},c=Qs(t.children[1]),f=nf(t.children[t.children.length-1]);c&&f&&(a.position={start:c,end:f}),o.push(a)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,l),e.applyData(t,l)}function Ly(e,t,r){const u=r?r.children:void 0,l=(u?u.indexOf(t):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,c=a?a.length:t.children.length;let f=-1;const h=[];for(;++f<c;){const g=t.children[f],I={},b=a?a[f]:void 0;b&&(I.align=b);let S={type:"element",tagName:l,properties:I,children:[]};g&&(S.children=e.all(g),e.patch(g,S),S=e.applyData(g,S)),h.push(S)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function Dy(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Mf=9,Nf=32;function My(e){const t=String(e),r=/\r?\n|\r/g;let u=r.exec(t),o=0;const l=[];for(;u;)l.push(Vf(t.slice(o,u.index),o>0,!0),u[0]),o=u.index+u[0].length,u=r.exec(t);return l.push(Vf(t.slice(o),o>0,!1)),l.join("")}function Vf(e,t,r){let u=0,o=e.length;if(t){let l=e.codePointAt(u);for(;l===Mf||l===Nf;)u++,l=e.codePointAt(u)}if(r){let l=e.codePointAt(o-1);for(;l===Mf||l===Nf;)o--,l=e.codePointAt(o-1)}return o>u?e.slice(u,o):""}function Ny(e,t){const r={type:"text",value:My(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Vy(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Wy={blockquote:my,break:by,code:yy,delete:vy,emphasis:Iy,footnoteReference:Cy,heading:xy,html:Ay,imageReference:wy,image:Sy,inlineCode:Ey,linkReference:Fy,link:Py,listItem:Oy,list:_y,paragraph:By,root:Gy,strong:Ry,table:ky,tableCell:Dy,tableRow:Ly,text:Ny,thematicBreak:Vy,toml:$u,yaml:$u,definition:$u,footnoteDefinition:$u};function $u(){}const Wf=-1,Ku=0,eo=1,to=2,cl=3,fl=4,dl=5,hl=6,Xf=7,Hf=8,zf=typeof self=="object"?self:globalThis,Xy=(e,t)=>{const r=(o,l)=>(e.set(l,o),o),u=o=>{if(e.has(o))return e.get(o);const[l,a]=t[o];switch(l){case Ku:case Wf:return r(a,o);case eo:{const c=r([],o);for(const f of a)c.push(u(f));return c}case to:{const c=r({},o);for(const[f,h]of a)c[u(f)]=u(h);return c}case cl:return r(new Date(a),o);case fl:{const{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case dl:{const c=r(new Map,o);for(const[f,h]of a)c.set(u(f),u(h));return c}case hl:{const c=r(new Set,o);for(const f of a)c.add(u(f));return c}case Xf:{const{name:c,message:f}=a;return r(new zf[c](f),o)}case Hf:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new zf[l](a),o)};return u},Zf=e=>Xy(new Map,e)(0),Ii="",{toString:Hy}={},{keys:zy}=Object,au=e=>{const t=typeof e;if(t!=="object"||!e)return[Ku,t];const r=Hy.call(e).slice(8,-1);switch(r){case"Array":return[eo,Ii];case"Object":return[to,Ii];case"Date":return[cl,Ii];case"RegExp":return[fl,Ii];case"Map":return[dl,Ii];case"Set":return[hl,Ii]}return r.includes("Array")?[eo,r]:r.includes("Error")?[Xf,r]:[to,r]},no=([e,t])=>e===Ku&&(t==="function"||t==="symbol"),Zy=(e,t,r,u)=>{const o=(a,c)=>{const f=u.push(a)-1;return r.set(c,f),f},l=a=>{if(r.has(a))return r.get(a);let[c,f]=au(a);switch(c){case Ku:{let p=a;switch(f){case"bigint":c=Hf,p=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return o([Wf],a)}return o([c,p],a)}case eo:{if(f)return o([f,[...a]],a);const p=[],g=o([c,p],a);for(const I of a)p.push(l(I));return g}case to:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return l(a.toJSON());const p=[],g=o([c,p],a);for(const I of zy(a))(e||!no(au(a[I])))&&p.push([l(I),l(a[I])]);return g}case cl:return o([c,a.toISOString()],a);case fl:{const{source:p,flags:g}=a;return o([c,{source:p,flags:g}],a)}case dl:{const p=[],g=o([c,p],a);for(const[I,b]of a)(e||!(no(au(I))||no(au(b))))&&p.push([l(I),l(b)]);return g}case hl:{const p=[],g=o([c,p],a);for(const I of a)(e||!no(au(I)))&&p.push(l(I));return g}}const{message:h}=a;return o([c,{name:f,message:h}],a)};return l},Yf=(e,{json:t,lossy:r}={})=>{const u=[];return Zy(!(t||r),!!t,new Map,u)(e),u},ro=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Zf(Yf(e,t)):structuredClone(e):(e,t)=>Zf(Yf(e,t));function Yy(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function Jy(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function jy(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||Yy,u=e.options.footnoteBackLabel||Jy,o=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const p=e.all(h),g=String(h.identifier).toUpperCase(),I=vi(g.toLowerCase());let b=0;const S=[],A=e.footnoteCounts.get(g);for(;A!==void 0&&++b<=A;){S.length>0&&S.push({type:"text",value:" "});let L=typeof r=="string"?r:r(f,b);typeof L=="string"&&(L={type:"text",value:L}),S.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+I+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(f,b),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const F=p[p.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const L=F.children[F.children.length-1];L&&L.type==="text"?L.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...S)}else p.push(...S);const P={type:"element",tagName:"li",properties:{id:t+"fn-"+I},children:e.wrap(p,!0)};e.patch(h,P),c.push(P)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...ro(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
9
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
10
+ `}]}}const Jf=function(e){if(e==null)return $y;if(typeof e=="function")return io(e);if(typeof e=="object")return Array.isArray(e)?Uy(e):Qy(e);if(typeof e=="string")return qy(e);throw new Error("Expected function, string, or object as test")};function Uy(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Jf(e[r]);return io(u);function u(...o){let l=-1;for(;++l<t.length;)if(t[l].apply(this,o))return!0;return!1}}function Qy(e){const t=e;return io(r);function r(u){const o=u;let l;for(l in e)if(o[l]!==t[l])return!1;return!0}}function qy(e){return io(t);function t(r){return r&&r.type===e}}function io(e){return t;function t(r,u,o){return!!(Ky(r)&&e.call(this,r,typeof u=="number"?u:void 0,o||void 0))}}function $y(){return!0}function Ky(e){return e!==null&&typeof e=="object"&&"type"in e}function IP(e){return e}const jf=[],ev=!0,Uf=!1,tv="skip";function nv(e,t,r,u){let o;typeof t=="function"&&typeof r!="function"?(u=r,r=t):o=t;const l=Jf(o),a=u?-1:1;c(e,void 0,[])();function c(f,h,p){const g=f&&typeof f=="object"?f:{};if(typeof g.type=="string"){const b=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(I,"name",{value:"node ("+(f.type+(b?"<"+b+">":""))+")"})}return I;function I(){let b=jf,S,A,F;if((!t||l(f,h,p[p.length-1]||void 0))&&(b=rv(r(f,p)),b[0]===Uf))return b;if("children"in f&&f.children){const P=f;if(P.children&&b[0]!==tv)for(A=(u?P.children.length:-1)+a,F=p.concat(P);A>-1&&A<P.children.length;){const L=P.children[A];if(S=c(L,A,F)(),S[0]===Uf)return S;A=typeof S[1]=="number"?S[1]:A+a}}return b}}}function rv(e){return Array.isArray(e)?e:typeof e=="number"?[ev,e]:e==null?jf:[e]}function Qf(e,t,r,u){let o,l,a;typeof t=="function"&&typeof r!="function"?(l=void 0,a=t,o=r):(l=t,a=r,o=u),nv(e,l,c,o);function c(f,h){const p=h[h.length-1],g=p?p.children.indexOf(f):void 0;return a(f,g,p)}}const pl={}.hasOwnProperty,iv={};function uv(e,t){const r=t||iv,u=new Map,o=new Map,l=new Map,a={...Wy,...r.handlers},c={all:h,applyData:sv,definitionById:u,footnoteById:o,footnoteCounts:l,footnoteOrder:[],handlers:a,one:f,options:r,patch:ov,wrap:av};return Qf(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?u:o,I=String(p.identifier).toUpperCase();g.has(I)||g.set(I,p)}}),c;function f(p,g){const I=p.type,b=c.handlers[I];if(pl.call(c.handlers,I)&&b)return b(c,p,g);if(c.options.passThrough&&c.options.passThrough.includes(I)){if("children"in p){const{children:A,...F}=p,P=ro(F);return P.children=c.all(p),P}return ro(p)}return(c.options.unknownHandler||lv)(c,p,g)}function h(p){const g=[];if("children"in p){const I=p.children;let b=-1;for(;++b<I.length;){const S=c.one(I[b],p);if(S){if(b&&I[b-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=qf(S.value)),!Array.isArray(S)&&S.type==="element")){const A=S.children[0];A&&A.type==="text"&&(A.value=qf(A.value))}Array.isArray(S)?g.push(...S):g.push(S)}}}return g}}function ov(e,t){e.position&&(t.position=Qm(e))}function sv(e,t){let r=t;if(e&&e.data){const u=e.data.hName,o=e.data.hChildren,l=e.data.hProperties;if(typeof u=="string")if(r.type==="element")r.tagName=u;else{const a="children"in r?r.children:[r];r={type:"element",tagName:u,properties:{},children:a}}r.type==="element"&&l&&Object.assign(r.properties,ro(l)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function lv(e,t){const r=t.data||{},u="value"in t&&!(pl.call(r,"hProperties")||pl.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function av(e,t){const r=[];let u=-1;for(t&&r.push({type:"text",value:`
11
+ `});++u<e.length;)u&&r.push({type:"text",value:`
12
+ `}),r.push(e[u]);return t&&e.length>0&&r.push({type:"text",value:`
13
+ `}),r}function qf(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function $f(e,t){const r=uv(e,t),u=r.one(e,void 0),o=jy(r),l=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&l.children.push({type:"text",value:`
14
+ `},o),l}function cv(e,t){return e&&"run"in e?async function(r,u){const o=$f(r,{file:u,...t});await e.run(o,u)}:function(r,u){return $f(r,{file:u,...e||t})}}function Kf(e){if(e)throw e}var uo=Object.prototype.hasOwnProperty,ed=Object.prototype.toString,td=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,rd=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ed.call(t)==="[object Array]"},id=function(t){if(!t||ed.call(t)!=="[object Object]")return!1;var r=uo.call(t,"constructor"),u=t.constructor&&t.constructor.prototype&&uo.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!u)return!1;var o;for(o in t);return typeof o>"u"||uo.call(t,o)},ud=function(t,r){td&&r.name==="__proto__"?td(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},od=function(t,r){if(r==="__proto__")if(uo.call(t,r)){if(nd)return nd(t,r).value}else return;return t[r]},fv=function e(){var t,r,u,o,l,a,c=arguments[0],f=1,h=arguments.length,p=!1;for(typeof c=="boolean"&&(p=c,c=arguments[1]||{},f=2),(c==null||typeof c!="object"&&typeof c!="function")&&(c={});f<h;++f)if(t=arguments[f],t!=null)for(r in t)u=od(c,r),o=od(t,r),c!==o&&(p&&o&&(id(o)||(l=rd(o)))?(l?(l=!1,a=u&&rd(u)?u:[]):a=u&&id(u)?u:{},ud(c,{name:r,newValue:e(p,a,o)})):typeof o<"u"&&ud(c,{name:r,newValue:o}));return c};const gl=Us(fv);function ml(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function dv(){const e=[],t={run:r,use:u};return t;function r(...o){let l=-1;const a=o.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);c(null,...o);function c(f,...h){const p=e[++l];let g=-1;if(f){a(f);return}for(;++g<o.length;)(h[g]===null||h[g]===void 0)&&(h[g]=o[g]);o=h,p?hv(p,c)(...h):a(null,...h)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function hv(e,t){let r;return u;function u(...a){const c=e.length>a.length;let f;c&&a.push(o);try{f=e.apply(this,a)}catch(h){const p=h;if(c&&r)throw p;return o(p)}c||(f&&f.then&&typeof f.then=="function"?f.then(l,o):f instanceof Error?o(f):l(f))}function o(a,...c){r||(r=!0,t(a,...c))}function l(a){o(null,a)}}const jn={basename:pv,dirname:gv,extname:mv,join:bv,sep:"/"};function pv(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');cu(e);let r=0,u=-1,o=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else u<0&&(l=!0,u=o+1);return u<0?"":e.slice(r,u)}if(t===e)return"";let a=-1,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(l){r=o+1;break}}else a<0&&(l=!0,a=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(u=o):(c=-1,u=a));return r===u?u=a:u<0&&(u=e.length),e.slice(r,u)}function gv(e){if(cu(e),e.length===0)return".";let t=-1,r=e.length,u;for(;--r;)if(e.codePointAt(r)===47){if(u){t=r;break}}else u||(u=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function mv(e){cu(e);let t=e.length,r=-1,u=0,o=-1,l=0,a;for(;t--;){const c=e.codePointAt(t);if(c===47){if(a){u=t+1;break}continue}r<0&&(a=!0,r=t+1),c===46?o<0?o=t:l!==1&&(l=1):o>-1&&(l=-1)}return o<0||r<0||l===0||l===1&&o===r-1&&o===u+1?"":e.slice(o,r)}function bv(...e){let t=-1,r;for(;++t<e.length;)cu(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":yv(r)}function yv(e){cu(e);const t=e.codePointAt(0)===47;let r=vv(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function vv(e,t){let r="",u=0,o=-1,l=0,a=-1,c,f;for(;++a<=e.length;){if(a<e.length)c=e.codePointAt(a);else{if(c===47)break;c=47}if(c===47){if(!(o===a-1||l===1))if(o!==a-1&&l===2){if(r.length<2||u!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(f=r.lastIndexOf("/"),f!==r.length-1){f<0?(r="",u=0):(r=r.slice(0,f),u=r.length-1-r.lastIndexOf("/")),o=a,l=0;continue}}else if(r.length>0){r="",u=0,o=a,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",u=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),u=a-o-1;o=a,l=0}else c===46&&l>-1?l++:l=-1}return r}function cu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Iv={cwd:Cv};function Cv(){return"/"}function bl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function xv(e){if(typeof e=="string")e=new URL(e);else if(!bl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Av(e)}function Av(e){if(e.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const u=t.codePointAt(r+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const yl=["history","path","basename","stem","extname","dirname"];class sd{constructor(t){let r;t?bl(t)?r={path:t}:typeof t=="string"||wv(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Iv.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<yl.length;){const l=yl[u];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let o;for(o in r)yl.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?jn.basename(this.path):void 0}set basename(t){Il(t,"basename"),vl(t,"basename"),this.path=jn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?jn.dirname(this.path):void 0}set dirname(t){ld(this.basename,"dirname"),this.path=jn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?jn.extname(this.path):void 0}set extname(t){if(vl(t,"extname"),ld(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=jn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){bl(t)&&(t=xv(t)),Il(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?jn.basename(this.path,this.extname):void 0}set stem(t){Il(t,"stem"),vl(t,"stem"),this.path=jn.join(this.dirname||"",t+(this.extname||""))}fail(t,r,u){const o=this.message(t,r,u);throw o.fatal=!0,o}info(t,r,u){const o=this.message(t,r,u);return o.fatal=void 0,o}message(t,r,u){const o=new Vt(t,r,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function vl(e,t){if(e&&e.includes(jn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+jn.sep+"`")}function Il(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ld(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wv(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Sv=function(e){const u=this.constructor.prototype,o=u[e],l=function(){return o.apply(l,arguments)};return Object.setPrototypeOf(l,u),l},Ev={}.hasOwnProperty;class Cl extends Sv{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=dv()}copy(){const t=new Cl;let r=-1;for(;++r<this.attachers.length;){const u=this.attachers[r];t.use(...u)}return t.data(gl(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(wl("data",this.frozen),this.namespace[t]=r,this):Ev.call(this.namespace,t)&&this.namespace[t]||void 0:t?(wl("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=r.call(t,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=oo(t),u=this.parser||this.Parser;return xl("parse",u),u(String(r),r)}process(t,r){const u=this;return this.freeze(),xl("process",this.parser||this.Parser),Al("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(l,a){const c=oo(t),f=u.parse(c);u.run(f,c,function(p,g,I){if(p||!g||!I)return h(p);const b=g,S=u.stringify(b,I);Ov(S)?I.value=S:I.result=S,h(p,I)});function h(p,g){p||!g?a(p):l?l(g):r(void 0,g)}}}processSync(t){let r=!1,u;return this.freeze(),xl("processSync",this.parser||this.Parser),Al("processSync",this.compiler||this.Compiler),this.process(t,o),cd("processSync","process",r),u;function o(l,a){r=!0,Kf(l),u=a}}run(t,r,u){ad(t),this.freeze();const o=this.transformers;return!u&&typeof r=="function"&&(u=r,r=void 0),u?l(void 0,u):new Promise(l);function l(a,c){const f=oo(r);o.run(t,f,h);function h(p,g,I){const b=g||t;p?c(p):a?a(b):u(void 0,b,I)}}}runSync(t,r){let u=!1,o;return this.run(t,r,l),cd("runSync","run",u),o;function l(a,c){Kf(a),o=c,u=!0}}stringify(t,r){this.freeze();const u=oo(r),o=this.compiler||this.Compiler;return Al("stringify",o),ad(t),o(t,u)}use(t,...r){const u=this.attachers,o=this.namespace;if(wl("use",this.frozen),t!=null)if(typeof t=="function")f(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...g]=h;f(p,g)}else a(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function a(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");c(h.plugins),h.settings&&(o.settings=gl(!0,o.settings,h.settings))}function c(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const g=h[p];l(g)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let g=-1,I=-1;for(;++g<u.length;)if(u[g][0]===h){I=g;break}if(I===-1)u.push([h,...p]);else if(p.length>0){let[b,...S]=p;const A=u[I][1];ml(A)&&ml(b)&&(b=gl(!0,A,b)),u[I]=[h,b,...S]}}}}const Fv=new Cl().freeze();function xl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Al(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function wl(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ad(e){if(!ml(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function cd(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function oo(e){return Pv(e)?e:new sd(e)}function Pv(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ov(e){return typeof e=="string"||Tv(e)}function Tv(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const _v="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",fd=[],dd={allowDangerousHtml:!0},Bv=/^(https?|ircs?|mailto|xmpp)$/i,Gv=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function hd(e){const t=e.allowedElements,r=e.allowElement,u=e.children||"",o=e.className,l=e.components,a=e.disallowedElements,c=e.rehypePlugins||fd,f=e.remarkPlugins||fd,h=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...dd}:dd,p=e.skipHtml,g=e.unwrapDisallowed,I=e.urlTransform||Rv,b=Fv().use(gy).use(f).use(cv,h).use(c),S=new sd;typeof u=="string"&&(S.value=u);for(const L of Gv)Object.hasOwn(e,L.from)&&(""+L.from+(L.to?"use `"+L.to+"` instead":"remove it")+_v+L.id,void 0);const A=b.parse(S);let F=b.runSync(A,S);return o&&(F={type:"element",tagName:"div",properties:{className:o},children:F.type==="root"?F.children:[F]}),Qf(F,P),nb(F,{Fragment:$.Fragment,components:l,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0});function P(L,k,N){if(L.type==="raw"&&N&&typeof k=="number")return p?N.children.splice(k,1):N.children[k]={type:"text",value:L.value},k;if(L.type==="element"){let X;for(X in tl)if(Object.hasOwn(tl,X)&&Object.hasOwn(L.properties,X)){const R=L.properties[X],Y=tl[X];(Y===null||Y.includes(L.tagName))&&(L.properties[X]=I(String(R||""),X,L))}}if(L.type==="element"){let X=t?!t.includes(L.tagName):a?a.includes(L.tagName):!1;if(!X&&r&&typeof k=="number"&&(X=!r(L,k,N)),X&&N&&typeof k=="number")return g&&L.children?N.children.splice(k,1,...L.children):N.children.splice(k,1),k}}}function Rv(e){const t=e.indexOf(":"),r=e.indexOf("?"),u=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||r>-1&&t>r||u>-1&&t>u||Bv.test(e.slice(0,t))?e:""}function so({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},r={...t,background:"#fff3cd"},u={...t,background:"#d1ecf1"},o={...t,background:"#f8d7da"},l={...t,background:"#fffff2"};let a={};switch(e.alertType){case"info":a=u;break;case"neutral":a=l;break;case"warning":a=r;break;case"error":a=o;break;default:a=t}return $.jsx("div",{className:`pd-alert-${e.alertType}`,style:a,children:$.jsx(hd,{components:{a:({...c})=>$.jsx("a",{...c,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var lo={exports:{}};lo.exports,function(e,t){var r=200,u="__lodash_hash_undefined__",o=1,l=2,a=9007199254740991,c="[object Arguments]",f="[object Array]",h="[object AsyncFunction]",p="[object Boolean]",g="[object Date]",I="[object Error]",b="[object Function]",S="[object GeneratorFunction]",A="[object Map]",F="[object Number]",P="[object Null]",L="[object Object]",k="[object Promise]",N="[object Proxy]",X="[object RegExp]",R="[object Set]",Y="[object String]",D="[object Symbol]",j="[object Undefined]",Q="[object WeakMap]",U="[object ArrayBuffer]",q="[object DataView]",be="[object Float32Array]",Se="[object Float64Array]",ue="[object Int8Array]",pe="[object Int16Array]",Ee="[object Int32Array]",Oe="[object Uint8Array]",Ke="[object Uint8ClampedArray]",E="[object Uint16Array]",xe="[object Uint32Array]",Le=/[\\^$.*+?()[\]{}|]/g,w=/^\[object .+?Constructor\]$/,je=/^(?:0|[1-9]\d*)$/,ge={};ge[be]=ge[Se]=ge[ue]=ge[pe]=ge[Ee]=ge[Oe]=ge[Ke]=ge[E]=ge[xe]=!0,ge[c]=ge[f]=ge[U]=ge[p]=ge[q]=ge[g]=ge[I]=ge[b]=ge[A]=ge[F]=ge[L]=ge[X]=ge[R]=ge[Y]=ge[Q]=!1;var Ne=typeof Ln=="object"&&Ln&&Ln.Object===Object&&Ln,St=typeof self=="object"&&self&&self.Object===Object&&self,Ve=Ne||St||Function("return this")(),yt=t&&!t.nodeType&&t,Xt=yt&&!0&&e&&!e.nodeType&&e,Lt=Xt&&Xt.exports===yt,Dt=Lt&&Ne.process,Nn=function(){try{return Dt&&Dt.binding&&Dt.binding("util")}catch{}}(),ne=Nn&&Nn.isTypedArray;function oe(C,B){for(var J=-1,se=C==null?0:C.length,ot=0,Te=[];++J<se;){var dt=C[J];B(dt,J,C)&&(Te[ot++]=dt)}return Te}function ve(C,B){for(var J=-1,se=B.length,ot=C.length;++J<se;)C[ot+J]=B[J];return C}function Ge(C,B){for(var J=-1,se=C==null?0:C.length;++J<se;)if(B(C[J],J,C))return!0;return!1}function vt(C,B){for(var J=-1,se=Array(C);++J<C;)se[J]=B(J);return se}function _t(C){return function(B){return C(B)}}function Sn(C,B){return C.has(B)}function Mt(C,B){return C==null?void 0:C[B]}function nt(C){var B=-1,J=Array(C.size);return C.forEach(function(se,ot){J[++B]=[ot,se]}),J}function Qe(C,B){return function(J){return C(B(J))}}function ft(C){var B=-1,J=Array(C.size);return C.forEach(function(se){J[++B]=se}),J}var et=Array.prototype,V=Function.prototype,te=Object.prototype,he=Ve["__core-js_shared__"],Re=V.toString,ke=te.hasOwnProperty,Bt=function(){var C=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""}(),tn=te.toString,Jt=RegExp("^"+Re.call(ke).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),En=Lt?Ve.Buffer:void 0,nn=Ve.Symbol,Et=Ve.Uint8Array,hn=te.propertyIsEnumerable,pn=et.splice,lr=nn?nn.toStringTag:void 0,Ro=Object.getOwnPropertySymbols,ko=En?En.isBuffer:void 0,Lo=Qe(Object.keys,Object),wu=gn(Ve,"DataView"),ti=gn(Ve,"Map"),Su=gn(Ve,"Promise"),Eu=gn(Ve,"Set"),Di=gn(Ve,"WeakMap"),ni=gn(Object,"create"),ta=fr(wu),na=fr(ti),Fu=fr(Su),ra=fr(Eu),Pu=fr(Di),Do=nn?nn.prototype:void 0,Ou=Do?Do.valueOf:void 0;function ar(C){var B=-1,J=C==null?0:C.length;for(this.clear();++B<J;){var se=C[B];this.set(se[0],se[1])}}function ia(){this.__data__=ni?ni(null):{},this.size=0}function ua(C){var B=this.has(C)&&delete this.__data__[C];return this.size-=B?1:0,B}function oa(C){var B=this.__data__;if(ni){var J=B[C];return J===u?void 0:J}return ke.call(B,C)?B[C]:void 0}function sa(C){var B=this.__data__;return ni?B[C]!==void 0:ke.call(B,C)}function la(C,B){var J=this.__data__;return this.size+=this.has(C)?0:1,J[C]=ni&&B===void 0?u:B,this}ar.prototype.clear=ia,ar.prototype.delete=ua,ar.prototype.get=oa,ar.prototype.has=sa,ar.prototype.set=la;function Fn(C){var B=-1,J=C==null?0:C.length;for(this.clear();++B<J;){var se=C[B];this.set(se[0],se[1])}}function aa(){this.__data__=[],this.size=0}function ca(C){var B=this.__data__,J=ri(B,C);if(J<0)return!1;var se=B.length-1;return J==se?B.pop():pn.call(B,J,1),--this.size,!0}function fa(C){var B=this.__data__,J=ri(B,C);return J<0?void 0:B[J][1]}function da(C){return ri(this.__data__,C)>-1}function ha(C,B){var J=this.__data__,se=ri(J,C);return se<0?(++this.size,J.push([C,B])):J[se][1]=B,this}Fn.prototype.clear=aa,Fn.prototype.delete=ca,Fn.prototype.get=fa,Fn.prototype.has=da,Fn.prototype.set=ha;function cr(C){var B=-1,J=C==null?0:C.length;for(this.clear();++B<J;){var se=C[B];this.set(se[0],se[1])}}function Mi(){this.size=0,this.__data__={hash:new ar,map:new(ti||Fn),string:new ar}}function pa(C){var B=_r(this,C).delete(C);return this.size-=B?1:0,B}function Ni(C){return _r(this,C).get(C)}function ga(C){return _r(this,C).has(C)}function ma(C,B){var J=_r(this,C),se=J.size;return J.set(C,B),this.size+=J.size==se?0:1,this}cr.prototype.clear=Mi,cr.prototype.delete=pa,cr.prototype.get=Ni,cr.prototype.has=ga,cr.prototype.set=ma;function Vi(C){var B=-1,J=C==null?0:C.length;for(this.__data__=new cr;++B<J;)this.add(C[B])}function Mo(C){return this.__data__.set(C,u),this}function No(C){return this.__data__.has(C)}Vi.prototype.add=Vi.prototype.push=Mo,Vi.prototype.has=No;function Vn(C){var B=this.__data__=new Fn(C);this.size=B.size}function ba(){this.__data__=new Fn,this.size=0}function ya(C){var B=this.__data__,J=B.delete(C);return this.size=B.size,J}function va(C){return this.__data__.get(C)}function Ia(C){return this.__data__.has(C)}function Vo(C,B){var J=this.__data__;if(J instanceof Fn){var se=J.__data__;if(!ti||se.length<r-1)return se.push([C,B]),this.size=++J.size,this;J=this.__data__=new cr(se)}return J.set(C,B),this.size=J.size,this}Vn.prototype.clear=ba,Vn.prototype.delete=ya,Vn.prototype.get=va,Vn.prototype.has=Ia,Vn.prototype.set=Vo;function Wo(C,B){var J=Hi(C),se=!J&&Ko(C),ot=!J&&!se&&Bu(C),Te=!J&&!se&&!ot&&ns(C),dt=J||se||ot||Te,Ft=dt?vt(C.length,String):[],Ze=Ft.length;for(var st in C)ke.call(C,st)&&!(dt&&(st=="length"||ot&&(st=="offset"||st=="parent")||Te&&(st=="buffer"||st=="byteLength"||st=="byteOffset")||jo(st,Ze)))&&Ft.push(st);return Ft}function ri(C,B){for(var J=C.length;J--;)if($o(C[J][0],B))return J;return-1}function Tu(C,B,J){var se=B(C);return Hi(C)?se:ve(se,J(C))}function ii(C){return C==null?C===void 0?j:P:lr&&lr in Object(C)?Yo(C):Aa(C)}function _u(C){return oi(C)&&ii(C)==c}function ui(C,B,J,se,ot){return C===B?!0:C==null||B==null||!oi(C)&&!oi(B)?C!==C&&B!==B:Xo(C,B,J,se,ui,ot)}function Xo(C,B,J,se,ot,Te){var dt=Hi(C),Ft=Hi(B),Ze=dt?f:er(C),st=Ft?f:er(B);Ze=Ze==c?L:Ze,st=st==c?L:st;var Ct=Ze==L,rn=st==L,Pt=Ze==st;if(Pt&&Bu(C)){if(!Bu(B))return!1;dt=!0,Ct=!1}if(Pt&&!Ct)return Te||(Te=new Vn),dt||ns(C)?Wi(C,B,J,se,ot,Te):xa(C,B,Ze,J,se,ot,Te);if(!(J&o)){var ht=Ct&&ke.call(C,"__wrapped__"),jt=rn&&ke.call(B,"__wrapped__");if(ht||jt){var Wn=ht?C.value():C,Pn=jt?B.value():B;return Te||(Te=new Vn),ot(Wn,Pn,J,se,Te)}}return Pt?(Te||(Te=new Vn),Zo(C,B,J,se,ot,Te)):!1}function Ca(C){if(!ts(C)||Qo(C))return!1;var B=zi(C)?Jt:w;return B.test(fr(C))}function Ho(C){return oi(C)&&es(C.length)&&!!ge[ii(C)]}function zo(C){if(!qo(C))return Lo(C);var B=[];for(var J in Object(C))ke.call(C,J)&&J!="constructor"&&B.push(J);return B}function Wi(C,B,J,se,ot,Te){var dt=J&o,Ft=C.length,Ze=B.length;if(Ft!=Ze&&!(dt&&Ze>Ft))return!1;var st=Te.get(C);if(st&&Te.get(B))return st==B;var Ct=-1,rn=!0,Pt=J&l?new Vi:void 0;for(Te.set(C,B),Te.set(B,C);++Ct<Ft;){var ht=C[Ct],jt=B[Ct];if(se)var Wn=dt?se(jt,ht,Ct,B,C,Te):se(ht,jt,Ct,C,B,Te);if(Wn!==void 0){if(Wn)continue;rn=!1;break}if(Pt){if(!Ge(B,function(Pn,tr){if(!Sn(Pt,tr)&&(ht===Pn||ot(ht,Pn,J,se,Te)))return Pt.push(tr)})){rn=!1;break}}else if(!(ht===jt||ot(ht,jt,J,se,Te))){rn=!1;break}}return Te.delete(C),Te.delete(B),rn}function xa(C,B,J,se,ot,Te,dt){switch(J){case q:if(C.byteLength!=B.byteLength||C.byteOffset!=B.byteOffset)return!1;C=C.buffer,B=B.buffer;case U:return!(C.byteLength!=B.byteLength||!Te(new Et(C),new Et(B)));case p:case g:case F:return $o(+C,+B);case I:return C.name==B.name&&C.message==B.message;case X:case Y:return C==B+"";case A:var Ft=nt;case R:var Ze=se&o;if(Ft||(Ft=ft),C.size!=B.size&&!Ze)return!1;var st=dt.get(C);if(st)return st==B;se|=l,dt.set(C,B);var Ct=Wi(Ft(C),Ft(B),se,ot,Te,dt);return dt.delete(C),Ct;case D:if(Ou)return Ou.call(C)==Ou.call(B)}return!1}function Zo(C,B,J,se,ot,Te){var dt=J&o,Ft=Xi(C),Ze=Ft.length,st=Xi(B),Ct=st.length;if(Ze!=Ct&&!dt)return!1;for(var rn=Ze;rn--;){var Pt=Ft[rn];if(!(dt?Pt in B:ke.call(B,Pt)))return!1}var ht=Te.get(C);if(ht&&Te.get(B))return ht==B;var jt=!0;Te.set(C,B),Te.set(B,C);for(var Wn=dt;++rn<Ze;){Pt=Ft[rn];var Pn=C[Pt],tr=B[Pt];if(se)var Gu=dt?se(tr,Pn,Pt,B,C,Te):se(Pn,tr,Pt,C,B,Te);if(!(Gu===void 0?Pn===tr||ot(Pn,tr,J,se,Te):Gu)){jt=!1;break}Wn||(Wn=Pt=="constructor")}if(jt&&!Wn){var si=C.constructor,Gt=B.constructor;si!=Gt&&"constructor"in C&&"constructor"in B&&!(typeof si=="function"&&si instanceof si&&typeof Gt=="function"&&Gt instanceof Gt)&&(jt=!1)}return Te.delete(C),Te.delete(B),jt}function Xi(C){return Tu(C,Ea,Jo)}function _r(C,B){var J=C.__data__;return Uo(B)?J[typeof B=="string"?"string":"hash"]:J.map}function gn(C,B){var J=Mt(C,B);return Ca(J)?J:void 0}function Yo(C){var B=ke.call(C,lr),J=C[lr];try{C[lr]=void 0;var se=!0}catch{}var ot=tn.call(C);return se&&(B?C[lr]=J:delete C[lr]),ot}var Jo=Ro?function(C){return C==null?[]:(C=Object(C),oe(Ro(C),function(B){return hn.call(C,B)}))}:ut,er=ii;(wu&&er(new wu(new ArrayBuffer(1)))!=q||ti&&er(new ti)!=A||Su&&er(Su.resolve())!=k||Eu&&er(new Eu)!=R||Di&&er(new Di)!=Q)&&(er=function(C){var B=ii(C),J=B==L?C.constructor:void 0,se=J?fr(J):"";if(se)switch(se){case ta:return q;case na:return A;case Fu:return k;case ra:return R;case Pu:return Q}return B});function jo(C,B){return B=B??a,!!B&&(typeof C=="number"||je.test(C))&&C>-1&&C%1==0&&C<B}function Uo(C){var B=typeof C;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?C!=="__proto__":C===null}function Qo(C){return!!Bt&&Bt in C}function qo(C){var B=C&&C.constructor,J=typeof B=="function"&&B.prototype||te;return C===J}function Aa(C){return tn.call(C)}function fr(C){if(C!=null){try{return Re.call(C)}catch{}try{return C+""}catch{}}return""}function $o(C,B){return C===B||C!==C&&B!==B}var Ko=_u(function(){return arguments}())?_u:function(C){return oi(C)&&ke.call(C,"callee")&&!hn.call(C,"callee")},Hi=Array.isArray;function wa(C){return C!=null&&es(C.length)&&!zi(C)}var Bu=ko||it;function Sa(C,B){return ui(C,B)}function zi(C){if(!ts(C))return!1;var B=ii(C);return B==b||B==S||B==h||B==N}function es(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=a}function ts(C){var B=typeof C;return C!=null&&(B=="object"||B=="function")}function oi(C){return C!=null&&typeof C=="object"}var ns=ne?_t(ne):Ho;function Ea(C){return wa(C)?Wo(C):zo(C)}function ut(){return[]}function it(){return!1}e.exports=Sa}(lo,lo.exports);var kv=lo.exports;const Lv=Us(kv);var fu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zr=typeof window>"u"||"Deno"in globalThis;function An(){}function Dv(e,t){return typeof e=="function"?e(t):e}function Sl(e){return typeof e=="number"&&e>=0&&e!==1/0}function pd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ci(e,t){return typeof e=="function"?e(t):e}function Dn(e,t){return typeof e=="function"?e(t):e}function gd(e,t){const{type:r="all",exact:u,fetchStatus:o,predicate:l,queryKey:a,stale:c}=e;if(a){if(u){if(t.queryHash!==El(a,t.options))return!1}else if(!hu(t.queryKey,a))return!1}if(r!=="all"){const f=t.isActive();if(r==="active"&&!f||r==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||o&&o!==t.state.fetchStatus||l&&!l(t))}function md(e,t){const{exact:r,status:u,predicate:o,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(du(t.options.mutationKey)!==du(l))return!1}else if(!hu(t.options.mutationKey,l))return!1}return!(u&&t.state.status!==u||o&&!o(t))}function El(e,t){return((t==null?void 0:t.queryKeyHashFn)||du)(e)}function du(e){return JSON.stringify(e,(t,r)=>Ol(r)?Object.keys(r).sort().reduce((u,o)=>(u[o]=r[o],u),{}):r)}function hu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!hu(e[r],t[r])):!1}function Fl(e,t){if(e===t)return e;const r=bd(e)&&bd(t);if(r||Ol(e)&&Ol(t)){const u=r?e:Object.keys(e),o=u.length,l=r?t:Object.keys(t),a=l.length,c=r?[]:{};let f=0;for(let h=0;h<a;h++){const p=r?h:l[h];(!r&&u.includes(p)||r)&&e[p]===void 0&&t[p]===void 0?(c[p]=void 0,f++):(c[p]=Fl(e[p],t[p]),c[p]===e[p]&&e[p]!==void 0&&f++)}return o===a&&f===o?e:c}return t}function Pl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function bd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ol(e){if(!yd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!yd(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function yd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Mv(e){return new Promise(t=>{setTimeout(t,e)})}function Tl(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Fl(e,t)}catch(u){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${u}`)}return Fl(e,t)}return t}function Nv(e,t,r=0){const u=[...e,t];return r&&u.length>r?u.slice(1):u}function Vv(e,t,r=0){const u=[t,...e];return r&&u.length>r?u.slice(0,-1):u}var ao=Symbol();function vd(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===ao&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ao?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Wv=(op=class extends fu{constructor(){super();we(this,jr);we(this,wr);we(this,wi);ae(this,wi,t=>{if(!zr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){T(this,wr)||this.setEventListener(T(this,wi))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,wr))==null||t.call(this),ae(this,wr,void 0))}setEventListener(t){var r;ae(this,wi,t),(r=T(this,wr))==null||r.call(this),ae(this,wr,t(u=>{typeof u=="boolean"?this.setFocused(u):this.onFocus()}))}setFocused(t){T(this,jr)!==t&&(ae(this,jr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof T(this,jr)=="boolean"?T(this,jr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},jr=new WeakMap,wr=new WeakMap,wi=new WeakMap,op),_l=new Wv,Xv=(sp=class extends fu{constructor(){super();we(this,Si,!0);we(this,Sr);we(this,Ei);ae(this,Ei,t=>{if(!zr&&window.addEventListener){const r=()=>t(!0),u=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",u,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",u)}}})}onSubscribe(){T(this,Sr)||this.setEventListener(T(this,Ei))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,Sr))==null||t.call(this),ae(this,Sr,void 0))}setEventListener(t){var r;ae(this,Ei,t),(r=T(this,Sr))==null||r.call(this),ae(this,Sr,t(this.setOnline.bind(this)))}setOnline(t){T(this,Si)!==t&&(ae(this,Si,t),this.listeners.forEach(u=>{u(t)}))}isOnline(){return T(this,Si)}},Si=new WeakMap,Sr=new WeakMap,Ei=new WeakMap,sp),co=new Xv;function Bl(){let e,t;const r=new Promise((o,l)=>{e=o,t=l});r.status="pending",r.catch(()=>{});function u(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{u({status:"fulfilled",value:o}),e(o)},r.reject=o=>{u({status:"rejected",reason:o}),t(o)},r}function Hv(e){return Math.min(1e3*2**e,3e4)}function Id(e){return(e??"online")==="online"?co.isOnline():!0}var Cd=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Gl(e){return e instanceof Cd}function xd(e){let t=!1,r=0,u=!1,o;const l=Bl(),a=A=>{var F;u||(I(new Cd(A)),(F=e.abort)==null||F.call(e))},c=()=>{t=!0},f=()=>{t=!1},h=()=>_l.isFocused()&&(e.networkMode==="always"||co.isOnline())&&e.canRun(),p=()=>Id(e.networkMode)&&e.canRun(),g=A=>{var F;u||(u=!0,(F=e.onSuccess)==null||F.call(e,A),o==null||o(),l.resolve(A))},I=A=>{var F;u||(u=!0,(F=e.onError)==null||F.call(e,A),o==null||o(),l.reject(A))},b=()=>new Promise(A=>{var F;o=P=>{(u||h())&&A(P)},(F=e.onPause)==null||F.call(e)}).then(()=>{var A;o=void 0,u||(A=e.onContinue)==null||A.call(e)}),S=()=>{if(u)return;let A;const F=r===0?e.initialPromise:void 0;try{A=F??e.fn()}catch(P){A=Promise.reject(P)}Promise.resolve(A).then(g).catch(P=>{var R;if(u)return;const L=e.retry??(zr?0:3),k=e.retryDelay??Hv,N=typeof k=="function"?k(r,P):k,X=L===!0||typeof L=="number"&&r<L||typeof L=="function"&&L(r,P);if(t||!X){I(P);return}r++,(R=e.onFail)==null||R.call(e,r,P),Mv(N).then(()=>h()?void 0:b()).then(()=>{t?I(P):S()})})};return{promise:l,cancel:a,continue:()=>(o==null||o(),l),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?S():b().then(S),l)}}function zv(){let e=[],t=0,r=c=>{c()},u=c=>{c()},o=c=>setTimeout(c,0);const l=c=>{t?e.push(c):o(()=>{r(c)})},a=()=>{const c=e;e=[],c.length&&o(()=>{u(()=>{c.forEach(f=>{r(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||a()}return f},batchCalls:c=>(...f)=>{l(()=>{c(...f)})},schedule:l,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{u=c},setScheduler:c=>{o=c}}}var kt=zv(),Ad=(lp=class{constructor(){we(this,Ur)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Sl(this.gcTime)&&ae(this,Ur,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(zr?1/0:5*60*1e3))}clearGcTimeout(){T(this,Ur)&&(clearTimeout(T(this,Ur)),ae(this,Ur,void 0))}},Ur=new WeakMap,lp),Zv=(ap=class extends Ad{constructor(t){super();we(this,Mn);we(this,Fi);we(this,Pi);we(this,wn);we(this,Wt);we(this,Iu);we(this,Qr);ae(this,Qr,!1),ae(this,Iu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ae(this,wn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ae(this,Fi,Yv(this.options)),this.state=t.state??T(this,Fi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,Wt))==null?void 0:t.promise}setOptions(t){this.options={...T(this,Iu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,wn).remove(this)}setData(t,r){const u=Tl(this.state.data,t,this.options);return Je(this,Mn,Cr).call(this,{data:u,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),u}setState(t,r){Je(this,Mn,Cr).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var u,o;const r=(u=T(this,Wt))==null?void 0:u.promise;return(o=T(this,Wt))==null||o.cancel(t),r?r.then(An).catch(An):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(T(this,Fi))}isActive(){return this.observers.some(t=>Dn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ao||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!pd(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(u=>u.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=T(this,Wt))==null||r.continue()}onOnline(){var r;const t=this.observers.find(u=>u.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=T(this,Wt))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,wn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(T(this,Wt)&&(T(this,Qr)?T(this,Wt).cancel({revert:!0}):T(this,Wt).cancelRetry()),this.scheduleGc()),T(this,wn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Je(this,Mn,Cr).call(this,{type:"invalidate"})}fetch(t,r){var f,h,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(T(this,Wt))return T(this,Wt).continueRetry(),T(this,Wt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(I=>I.options.queryFn);g&&this.setOptions(g.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const u=new AbortController,o=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(ae(this,Qr,!0),u.signal)})},l=()=>{const g=vd(this.options,r),I={queryKey:this.queryKey,meta:this.meta};return o(I),ae(this,Qr,!1),this.options.persister?this.options.persister(g,I,this):g(I)},a={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};o(a),(f=this.options.behavior)==null||f.onFetch(a,this),ae(this,Pi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=a.fetchOptions)==null?void 0:h.meta))&&Je(this,Mn,Cr).call(this,{type:"fetch",meta:(p=a.fetchOptions)==null?void 0:p.meta});const c=g=>{var I,b,S,A;Gl(g)&&g.silent||Je(this,Mn,Cr).call(this,{type:"error",error:g}),Gl(g)||((b=(I=T(this,wn).config).onError)==null||b.call(I,g,this),(A=(S=T(this,wn).config).onSettled)==null||A.call(S,this.state.data,g,this)),this.scheduleGc()};return ae(this,Wt,xd({initialPromise:r==null?void 0:r.initialPromise,fn:a.fetchFn,abort:u.abort.bind(u),onSuccess:g=>{var I,b,S,A;if(g===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(F){c(F);return}(b=(I=T(this,wn).config).onSuccess)==null||b.call(I,g,this),(A=(S=T(this,wn).config).onSettled)==null||A.call(S,g,this.state.error,this),this.scheduleGc()},onError:c,onFail:(g,I)=>{Je(this,Mn,Cr).call(this,{type:"failed",failureCount:g,error:I})},onPause:()=>{Je(this,Mn,Cr).call(this,{type:"pause"})},onContinue:()=>{Je(this,Mn,Cr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),T(this,Wt).start()}},Fi=new WeakMap,Pi=new WeakMap,wn=new WeakMap,Wt=new WeakMap,Iu=new WeakMap,Qr=new WeakMap,Mn=new WeakSet,Cr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...u,fetchStatus:"paused"};case"continue":return{...u,fetchStatus:"fetching"};case"fetch":return{...u,...wd(u.data,this.options),fetchMeta:t.meta??null};case"success":return{...u,data:t.data,dataUpdateCount:u.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Gl(o)&&o.revert&&T(this,Pi)?{...T(this,Pi),fetchStatus:"idle"}:{...u,error:o,errorUpdateCount:u.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:u.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...u,isInvalidated:!0};case"setState":return{...u,...t.state}}};this.state=r(this.state),kt.batch(()=>{this.observers.forEach(u=>{u.onQueryUpdate()}),T(this,wn).notify({query:this,type:"updated",action:t})})},ap);function wd(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Id(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Yv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,u=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Jv=(cp=class extends fu{constructor(t={}){super();we(this,Qn);this.config=t,ae(this,Qn,new Map)}build(t,r,u){const o=r.queryKey,l=r.queryHash??El(o,r);let a=this.get(l);return a||(a=new Zv({cache:this,queryKey:o,queryHash:l,options:t.defaultQueryOptions(r),state:u,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){T(this,Qn).has(t.queryHash)||(T(this,Qn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=T(this,Qn).get(t.queryHash);r&&(t.destroy(),r===t&&T(this,Qn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){kt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Qn).get(t)}getAll(){return[...T(this,Qn).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(u=>gd(r,u))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(u=>gd(t,u)):r}notify(t){kt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){kt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){kt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Qn=new WeakMap,cp),jv=(fp=class extends Ad{constructor(t){super();we(this,$n);we(this,qn);we(this,Zt);we(this,qr);this.mutationId=t.mutationId,ae(this,Zt,t.mutationCache),ae(this,qn,[]),this.state=t.state||Uv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,qn).includes(t)||(T(this,qn).push(t),this.clearGcTimeout(),T(this,Zt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ae(this,qn,T(this,qn).filter(r=>r!==t)),this.scheduleGc(),T(this,Zt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,qn).length||(this.state.status==="pending"?this.scheduleGc():T(this,Zt).remove(this))}continue(){var t;return((t=T(this,qr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,l,a,c,f,h,p,g,I,b,S,A,F,P,L,k,N,X,R,Y;ae(this,qr,xd({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(D,j)=>{Je(this,$n,Wr).call(this,{type:"failed",failureCount:D,error:j})},onPause:()=>{Je(this,$n,Wr).call(this,{type:"pause"})},onContinue:()=>{Je(this,$n,Wr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,Zt).canRun(this)}));const r=this.state.status==="pending",u=!T(this,qr).canStart();try{if(!r){Je(this,$n,Wr).call(this,{type:"pending",variables:t,isPaused:u}),await((l=(o=T(this,Zt).config).onMutate)==null?void 0:l.call(o,t,this));const j=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));j!==this.state.context&&Je(this,$n,Wr).call(this,{type:"pending",context:j,variables:t,isPaused:u})}const D=await T(this,qr).start();return await((h=(f=T(this,Zt).config).onSuccess)==null?void 0:h.call(f,D,t,this.state.context,this)),await((g=(p=this.options).onSuccess)==null?void 0:g.call(p,D,t,this.state.context)),await((b=(I=T(this,Zt).config).onSettled)==null?void 0:b.call(I,D,null,this.state.variables,this.state.context,this)),await((A=(S=this.options).onSettled)==null?void 0:A.call(S,D,null,t,this.state.context)),Je(this,$n,Wr).call(this,{type:"success",data:D}),D}catch(D){try{throw await((P=(F=T(this,Zt).config).onError)==null?void 0:P.call(F,D,t,this.state.context,this)),await((k=(L=this.options).onError)==null?void 0:k.call(L,D,t,this.state.context)),await((X=(N=T(this,Zt).config).onSettled)==null?void 0:X.call(N,void 0,D,this.state.variables,this.state.context,this)),await((Y=(R=this.options).onSettled)==null?void 0:Y.call(R,void 0,D,t,this.state.context)),D}finally{Je(this,$n,Wr).call(this,{type:"error",error:D})}}finally{T(this,Zt).runNext(this)}}},qn=new WeakMap,Zt=new WeakMap,qr=new WeakMap,$n=new WeakSet,Wr=function(t){const r=u=>{switch(t.type){case"failed":return{...u,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...u,isPaused:!0};case"continue":return{...u,isPaused:!1};case"pending":return{...u,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...u,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...u,data:void 0,error:t.error,failureCount:u.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),kt.batch(()=>{T(this,qn).forEach(u=>{u.onMutationUpdate(t)}),T(this,Zt).notify({mutation:this,type:"updated",action:t})})},fp);function Uv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Qv=(dp=class extends fu{constructor(t={}){super();we(this,dn);we(this,Cu);this.config=t,ae(this,dn,new Map),ae(this,Cu,Date.now())}build(t,r,u){const o=new jv({mutationCache:this,mutationId:++Xs(this,Cu)._,options:t.defaultMutationOptions(r),state:u});return this.add(o),o}add(t){const r=fo(t),u=T(this,dn).get(r)??[];u.push(t),T(this,dn).set(r,u),this.notify({type:"added",mutation:t})}remove(t){var u;const r=fo(t);if(T(this,dn).has(r)){const o=(u=T(this,dn).get(r))==null?void 0:u.filter(l=>l!==t);o&&(o.length===0?T(this,dn).delete(r):T(this,dn).set(r,o))}this.notify({type:"removed",mutation:t})}canRun(t){var u;const r=(u=T(this,dn).get(fo(t)))==null?void 0:u.find(o=>o.state.status==="pending");return!r||r===t}runNext(t){var u;const r=(u=T(this,dn).get(fo(t)))==null?void 0:u.find(o=>o!==t&&o.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){kt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...T(this,dn).values()].flat()}find(t){const r={exact:!0,...t};return this.getAll().find(u=>md(r,u))}findAll(t={}){return this.getAll().filter(r=>md(t,r))}notify(t){kt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return kt.batch(()=>Promise.all(t.map(r=>r.continue().catch(An))))}},dn=new WeakMap,Cu=new WeakMap,dp);function fo(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Sd(e){return{onFetch:(t,r)=>{var p,g,I,b,S;const u=t.options,o=(I=(g=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:I.direction,l=((b=t.state.data)==null?void 0:b.pages)||[],a=((S=t.state.data)==null?void 0:S.pageParams)||[];let c={pages:[],pageParams:[]},f=0;const h=async()=>{let A=!1;const F=k=>{Object.defineProperty(k,"signal",{enumerable:!0,get:()=>(t.signal.aborted?A=!0:t.signal.addEventListener("abort",()=>{A=!0}),t.signal)})},P=vd(t.options,t.fetchOptions),L=async(k,N,X)=>{if(A)return Promise.reject();if(N==null&&k.pages.length)return Promise.resolve(k);const R={queryKey:t.queryKey,pageParam:N,direction:X?"backward":"forward",meta:t.options.meta};F(R);const Y=await P(R),{maxPages:D}=t.options,j=X?Vv:Nv;return{pages:j(k.pages,Y,D),pageParams:j(k.pageParams,N,D)}};if(o&&l.length){const k=o==="backward",N=k?qv:Ed,X={pages:l,pageParams:a},R=N(u,X);c=await L(X,R,k)}else{const k=e??l.length;do{const N=f===0?a[0]??u.initialPageParam:Ed(u,c);if(f>0&&N==null)break;c=await L(c,N),f++}while(f<k)}return c};t.options.persister?t.fetchFn=()=>{var A,F;return(F=(A=t.options).persister)==null?void 0:F.call(A,h,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=h}}}function Ed(e,{pages:t,pageParams:r}){const u=t.length-1;return t.length>0?e.getNextPageParam(t[u],t,r[u],r):void 0}function qv(e,{pages:t,pageParams:r}){var u;return t.length>0?(u=e.getPreviousPageParam)==null?void 0:u.call(e,t[0],t,r[0],r):void 0}var $v=(hp=class{constructor(e={}){we(this,bt);we(this,Er);we(this,Fr);we(this,Oi);we(this,Ti);we(this,Pr);we(this,_i);we(this,Bi);ae(this,bt,e.queryCache||new Jv),ae(this,Er,e.mutationCache||new Qv),ae(this,Fr,e.defaultOptions||{}),ae(this,Oi,new Map),ae(this,Ti,new Map),ae(this,Pr,0)}mount(){Xs(this,Pr)._++,T(this,Pr)===1&&(ae(this,_i,_l.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,bt).onFocus())})),ae(this,Bi,co.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,bt).onOnline())})))}unmount(){var e,t;Xs(this,Pr)._--,T(this,Pr)===0&&((e=T(this,_i))==null||e.call(this),ae(this,_i,void 0),(t=T(this,Bi))==null||t.call(this),ae(this,Bi,void 0))}isFetching(e){return T(this,bt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,Er).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=T(this,bt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),u=T(this,bt).build(this,r);return e.revalidateIfStale&&u.isStaleByTime(Ci(r.staleTime,u))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return T(this,bt).findAll(e).map(({queryKey:t,state:r})=>{const u=r.data;return[t,u]})}setQueryData(e,t,r){const u=this.defaultQueryOptions({queryKey:e}),o=T(this,bt).get(u.queryHash),l=o==null?void 0:o.state.data,a=Dv(t,l);if(a!==void 0)return T(this,bt).build(this,u).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return kt.batch(()=>T(this,bt).findAll(e).map(({queryKey:u})=>[u,this.setQueryData(u,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=T(this,bt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=T(this,bt);kt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=T(this,bt),u={type:"active",...e};return kt.batch(()=>(r.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(u,t)))}cancelQueries(e={},t={}){const r={revert:!0,...t},u=kt.batch(()=>T(this,bt).findAll(e).map(o=>o.cancel(r)));return Promise.all(u).then(An).catch(An)}invalidateQueries(e={},t={}){return kt.batch(()=>{if(T(this,bt).findAll(e).forEach(u=>{u.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){const r={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},u=kt.batch(()=>T(this,bt).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let l=o.fetch(void 0,r);return r.throwOnError||(l=l.catch(An)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(u).then(An)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=T(this,bt).build(this,t);return r.isStaleByTime(Ci(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(An).catch(An)}fetchInfiniteQuery(e){return e.behavior=Sd(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(An).catch(An)}ensureInfiniteQueryData(e){return e.behavior=Sd(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return co.isOnline()?T(this,Er).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,bt)}getMutationCache(){return T(this,Er)}getDefaultOptions(){return T(this,Fr)}setDefaultOptions(e){ae(this,Fr,e)}setQueryDefaults(e,t){T(this,Oi).set(du(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,Oi).values()];let r={};return t.forEach(u=>{hu(e,u.queryKey)&&(r={...r,...u.defaultOptions})}),r}setMutationDefaults(e,t){T(this,Ti).set(du(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,Ti).values()];let r={};return t.forEach(u=>{hu(e,u.mutationKey)&&(r={...r,...u.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,Fr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=El(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ao&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,Fr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,bt).clear(),T(this,Er).clear()}},bt=new WeakMap,Er=new WeakMap,Fr=new WeakMap,Oi=new WeakMap,Ti=new WeakMap,Pr=new WeakMap,_i=new WeakMap,Bi=new WeakMap,hp),Kv=(pp=class extends fu{constructor(t,r){super();we(this,$e);we(this,en);we(this,ze);we(this,xu);we(this,Yt);we(this,$r);we(this,Gi);we(this,Or);we(this,Kn);we(this,Au);we(this,Ri);we(this,ki);we(this,Kr);we(this,ei);we(this,Tr);we(this,Li,new Set);this.options=r,ae(this,en,t),ae(this,Kn,null),ae(this,Or,Bl()),this.options.experimental_prefetchInRender||T(this,Or).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(T(this,ze).addObserver(this),Fd(T(this,ze),this.options)?Je(this,$e,Uu).call(this):this.updateResult(),Je(this,$e,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rl(T(this,ze),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rl(T(this,ze),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Je(this,$e,kc).call(this),Je(this,$e,Lc).call(this),T(this,ze).removeObserver(this)}setOptions(t,r){const u=this.options,o=T(this,ze);if(this.options=T(this,en).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Dn(this.options.enabled,T(this,ze))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Je(this,$e,Dc).call(this),T(this,ze).setOptions(this.options),u._defaulted&&!Pl(this.options,u)&&T(this,en).getQueryCache().notify({type:"observerOptionsUpdated",query:T(this,ze),observer:this});const l=this.hasListeners();l&&Pd(T(this,ze),o,this.options,u)&&Je(this,$e,Uu).call(this),this.updateResult(r),l&&(T(this,ze)!==o||Dn(this.options.enabled,T(this,ze))!==Dn(u.enabled,T(this,ze))||Ci(this.options.staleTime,T(this,ze))!==Ci(u.staleTime,T(this,ze)))&&Je(this,$e,_c).call(this);const a=Je(this,$e,Bc).call(this);l&&(T(this,ze)!==o||Dn(this.options.enabled,T(this,ze))!==Dn(u.enabled,T(this,ze))||a!==T(this,Tr))&&Je(this,$e,Gc).call(this,a)}getOptimisticResult(t){const r=T(this,en).getQueryCache().build(T(this,en),t),u=this.createResult(r,t);return tI(this,u)&&(ae(this,Yt,u),ae(this,Gi,this.options),ae(this,$r,T(this,ze).state)),u}getCurrentResult(){return T(this,Yt)}trackResult(t,r){const u={};return Object.keys(t).forEach(o=>{Object.defineProperty(u,o,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(o),r==null||r(o),t[o])})}),u}trackProp(t){T(this,Li).add(t)}getCurrentQuery(){return T(this,ze)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=T(this,en).defaultQueryOptions(t),u=T(this,en).getQueryCache().build(T(this,en),r);return u.fetch().then(()=>this.createResult(u,r))}fetch(t){return Je(this,$e,Uu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),T(this,Yt)))}createResult(t,r){var D;const u=T(this,ze),o=this.options,l=T(this,Yt),a=T(this,$r),c=T(this,Gi),h=t!==u?t.state:T(this,xu),{state:p}=t;let g={...p},I=!1,b;if(r._optimisticResults){const j=this.hasListeners(),Q=!j&&Fd(t,r),U=j&&Pd(t,u,r,o);(Q||U)&&(g={...g,...wd(p.data,t.options)}),r._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:S,errorUpdatedAt:A,status:F}=g;if(r.select&&g.data!==void 0)if(l&&g.data===(a==null?void 0:a.data)&&r.select===T(this,Au))b=T(this,Ri);else try{ae(this,Au,r.select),b=r.select(g.data),b=Tl(l==null?void 0:l.data,b,r),ae(this,Ri,b),ae(this,Kn,null)}catch(j){ae(this,Kn,j)}else b=g.data;if(r.placeholderData!==void 0&&b===void 0&&F==="pending"){let j;if(l!=null&&l.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData))j=l.data;else if(j=typeof r.placeholderData=="function"?r.placeholderData((D=T(this,ki))==null?void 0:D.state.data,T(this,ki)):r.placeholderData,r.select&&j!==void 0)try{j=r.select(j),ae(this,Kn,null)}catch(Q){ae(this,Kn,Q)}j!==void 0&&(F="success",b=Tl(l==null?void 0:l.data,j,r),I=!0)}T(this,Kn)&&(S=T(this,Kn),b=T(this,Ri),A=Date.now(),F="error");const P=g.fetchStatus==="fetching",L=F==="pending",k=F==="error",N=L&&P,X=b!==void 0,Y={status:F,fetchStatus:g.fetchStatus,isPending:L,isSuccess:F==="success",isError:k,isInitialLoading:N,isLoading:N,data:b,dataUpdatedAt:g.dataUpdatedAt,error:S,errorUpdatedAt:A,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>h.dataUpdateCount||g.errorUpdateCount>h.errorUpdateCount,isFetching:P,isRefetching:P&&!L,isLoadingError:k&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:I,isRefetchError:k&&X,isStale:kl(t,r),refetch:this.refetch,promise:T(this,Or)};if(this.options.experimental_prefetchInRender){const j=q=>{Y.status==="error"?q.reject(Y.error):Y.data!==void 0&&q.resolve(Y.data)},Q=()=>{const q=ae(this,Or,Y.promise=Bl());j(q)},U=T(this,Or);switch(U.status){case"pending":t.queryHash===u.queryHash&&j(U);break;case"fulfilled":(Y.status==="error"||Y.data!==U.value)&&Q();break;case"rejected":(Y.status!=="error"||Y.error!==U.reason)&&Q();break}}return Y}updateResult(t){const r=T(this,Yt),u=this.createResult(T(this,ze),this.options);if(ae(this,$r,T(this,ze).state),ae(this,Gi,this.options),T(this,$r).data!==void 0&&ae(this,ki,T(this,ze)),Pl(u,r))return;ae(this,Yt,u);const o={},l=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!T(this,Li).size)return!0;const f=new Set(c??T(this,Li));return this.options.throwOnError&&f.add("error"),Object.keys(T(this,Yt)).some(h=>{const p=h;return T(this,Yt)[p]!==r[p]&&f.has(p)})};(t==null?void 0:t.listeners)!==!1&&l()&&(o.listeners=!0),Je(this,$e,gm).call(this,{...o,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Je(this,$e,Rc).call(this)}},en=new WeakMap,ze=new WeakMap,xu=new WeakMap,Yt=new WeakMap,$r=new WeakMap,Gi=new WeakMap,Or=new WeakMap,Kn=new WeakMap,Au=new WeakMap,Ri=new WeakMap,ki=new WeakMap,Kr=new WeakMap,ei=new WeakMap,Tr=new WeakMap,Li=new WeakMap,$e=new WeakSet,Uu=function(t){Je(this,$e,Dc).call(this);let r=T(this,ze).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(An)),r},_c=function(){Je(this,$e,kc).call(this);const t=Ci(this.options.staleTime,T(this,ze));if(zr||T(this,Yt).isStale||!Sl(t))return;const u=pd(T(this,Yt).dataUpdatedAt,t)+1;ae(this,Kr,setTimeout(()=>{T(this,Yt).isStale||this.updateResult()},u))},Bc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(T(this,ze)):this.options.refetchInterval)??!1},Gc=function(t){Je(this,$e,Lc).call(this),ae(this,Tr,t),!(zr||Dn(this.options.enabled,T(this,ze))===!1||!Sl(T(this,Tr))||T(this,Tr)===0)&&ae(this,ei,setInterval(()=>{(this.options.refetchIntervalInBackground||_l.isFocused())&&Je(this,$e,Uu).call(this)},T(this,Tr)))},Rc=function(){Je(this,$e,_c).call(this),Je(this,$e,Gc).call(this,Je(this,$e,Bc).call(this))},kc=function(){T(this,Kr)&&(clearTimeout(T(this,Kr)),ae(this,Kr,void 0))},Lc=function(){T(this,ei)&&(clearInterval(T(this,ei)),ae(this,ei,void 0))},Dc=function(){const t=T(this,en).getQueryCache().build(T(this,en),this.options);if(t===T(this,ze))return;const r=T(this,ze);ae(this,ze,t),ae(this,xu,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},gm=function(t){kt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(T(this,Yt))}),T(this,en).getQueryCache().notify({query:T(this,ze),type:"observerResultsUpdated"})})},pp);function eI(e,t){return Dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fd(e,t){return eI(e,t)||e.state.data!==void 0&&Rl(e,t,t.refetchOnMount)}function Rl(e,t,r){if(Dn(t.enabled,e)!==!1){const u=typeof r=="function"?r(e):r;return u==="always"||u!==!1&&kl(e,t)}return!1}function Pd(e,t,r,u){return(e!==t||Dn(u.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&kl(e,r)}function kl(e,t){return Dn(t.enabled,e)!==!1&&e.isStaleByTime(Ci(t.staleTime,e))}function tI(e,t){return!Pl(e.getCurrentResult(),t)}var Od=Pe.createContext(void 0),nI=e=>{const t=Pe.useContext(Od);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rI=({client:e,children:t})=>(Pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),$.jsx(Od.Provider,{value:e,children:t})),Td=Pe.createContext(!1),iI=()=>Pe.useContext(Td);Td.Provider;function uI(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var oI=Pe.createContext(uI()),sI=()=>Pe.useContext(oI);function lI(e,t){return typeof e=="function"?e(...t):!!e}function _d(){}var aI=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},cI=e=>{Pe.useEffect(()=>{e.clearReset()},[e])},fI=({result:e,errorResetBoundary:t,throwOnError:r,query:u})=>e.isError&&!t.isReset()&&!e.isFetching&&u&&lI(r,[e.error,u]),dI=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},hI=(e,t)=>e.isLoading&&e.isFetching&&!t,pI=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Bd=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function gI(e,t,r){var p,g,I,b,S;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const u=nI(),o=iI(),l=sI(),a=u.defaultQueryOptions(e);(g=(p=u.getDefaultOptions().queries)==null?void 0:p._experimental_beforeQuery)==null||g.call(p,a),a._optimisticResults=o?"isRestoring":"optimistic",dI(a),aI(a,l),cI(l);const c=!u.getQueryCache().get(a.queryHash),[f]=Pe.useState(()=>new t(u,a)),h=f.getOptimisticResult(a);if(Pe.useSyncExternalStore(Pe.useCallback(A=>{const F=o?_d:f.subscribe(kt.batchCalls(A));return f.updateResult(),F},[f,o]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),Pe.useEffect(()=>{f.setOptions(a,{listeners:!1})},[a,f]),pI(a,h))throw Bd(a,f,l);if(fI({result:h,errorResetBoundary:l,throwOnError:a.throwOnError,query:u.getQueryCache().get(a.queryHash)}))throw h.error;if((b=(I=u.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||b.call(I,a,h),a.experimental_prefetchInRender&&!zr&&hI(h,o)){const A=c?Bd(a,f,l):(S=u.getQueryCache().get(a.queryHash))==null?void 0:S.promise;A==null||A.catch(_d).finally(()=>{f.updateResult()})}return a.notifyOnChangeProps?h:f.trackResult(h)}function Zr(e,t){return gI(e,Kv)}const Gd=H.createContext(void 0),ur=()=>{const e=H.useContext(Gd);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},mI=({children:e,client:t})=>{const r=new $v({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return $.jsx(rI,{client:r,children:$.jsx(Gd.Provider,{value:t,children:e})})};function Rd(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function bI(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,r=[];for(const u of t)if(typeof u=="object"&&u&&"emitValue"in u){const o=u.emitValue;typeof o=="object"&&o&&"__lv"in o?r.push(o.__lv.value):r.push(o)}else return[];return r}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function yI(e){const t=bI(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function vI(e){const t=Rd(e.value);if(t==null||typeof t>"u")return["required"]}function II(e){const{prop:t,value:r}=e,u=Rd(r);if(!t.default&&(u==null||typeof u>"u"))return["required"];const o=typeof u=="number"?u:parseInt(String(u));if(Number.isNaN(o))return["not a number"];const l=[];return typeof t.min=="number"&&o<t.min&&l.push("number too small"),typeof t.max=="number"&&o>t.max&&l.push("number too big"),l}function CI(e){const{prop:t,value:r}=e;if(!t.default&&(r==null||typeof r>"u"))return["required"]}function xI(e){const t=e.auth_type==="oauth",r=JSON.parse(e.custom_fields_json||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const u=(e.extracted_custom_fields_names||[]).map(o=>({name:o}));r.push(...u)}return r.map(u=>({...u,optional:u.optional||t}))}function AI(e){const{app:t,value:r}=e;if(!t)return["app field not registered"];if(!r)return["no app configured"];if(typeof r!="object")return["not an app"];const u=r;if("authProvisionId"in u&&!u.authProvisionId&&t.auth_type){const o=[];if(t.auth_type==="oauth"&&!u.oauth_access_token&&o.push("missing oauth token"),t.auth_type==="oauth"||t.auth_type==="keys"){const l=xI(t),a=u;for(const c of l)!c.optional&&!a[c.name]&&o.push(`missing custom field: ${c.name}`)}return t.auth_type!=="none"&&o.push("no auth provision configured"),o}}var ho={exports:{}};/**
15
+ * @license
16
+ * Lodash <https://lodash.com/>
17
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
18
+ * Released under MIT license <https://lodash.com/license>
19
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
20
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
21
+ */ho.exports,function(e,t){(function(){var r,u="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",g=1,I=2,b=4,S=1,A=2,F=1,P=2,L=4,k=8,N=16,X=32,R=64,Y=128,D=256,j=512,Q=30,U="...",q=800,be=16,Se=1,ue=2,pe=3,Ee=1/0,Oe=9007199254740991,Ke=17976931348623157e292,E=NaN,xe=4294967295,Le=xe-1,w=xe>>>1,je=[["ary",Y],["bind",F],["bindKey",P],["curry",k],["curryRight",N],["flip",j],["partial",X],["partialRight",R],["rearg",D]],ge="[object Arguments]",Ne="[object Array]",St="[object AsyncFunction]",Ve="[object Boolean]",yt="[object Date]",Xt="[object DOMException]",Lt="[object Error]",Dt="[object Function]",Nn="[object GeneratorFunction]",ne="[object Map]",oe="[object Number]",ve="[object Null]",Ge="[object Object]",vt="[object Promise]",_t="[object Proxy]",Sn="[object RegExp]",Mt="[object Set]",nt="[object String]",Qe="[object Symbol]",ft="[object Undefined]",et="[object WeakMap]",V="[object WeakSet]",te="[object ArrayBuffer]",he="[object DataView]",Re="[object Float32Array]",ke="[object Float64Array]",Bt="[object Int8Array]",tn="[object Int16Array]",Jt="[object Int32Array]",En="[object Uint8Array]",nn="[object Uint8ClampedArray]",Et="[object Uint16Array]",hn="[object Uint32Array]",pn=/\b__p \+= '';/g,lr=/\b(__p \+=) '' \+/g,Ro=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ko=/&(?:amp|lt|gt|quot|#39);/g,Lo=/[&<>"']/g,wu=RegExp(ko.source),ti=RegExp(Lo.source),Su=/<%-([\s\S]+?)%>/g,Eu=/<%([\s\S]+?)%>/g,Di=/<%=([\s\S]+?)%>/g,ni=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ta=/^\w*$/,na=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fu=/[\\^$.*+?()[\]{}|]/g,ra=RegExp(Fu.source),Pu=/^\s+/,Do=/\s/,Ou=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ar=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,ua=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,oa=/[()=,{}\[\]\/\s]/,sa=/\\(\\)?/g,la=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/\w*$/,aa=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,fa=/^\[object .+?Constructor\]$/,da=/^0o[0-7]+$/i,ha=/^(?:0|[1-9]\d*)$/,cr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mi=/($^)/,pa=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",ga="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",Vi="\\u20d0-\\u20ff",Mo=ga+ma+Vi,No="\\u2700-\\u27bf",Vn="a-z\\xdf-\\xf6\\xf8-\\xff",ba="\\xac\\xb1\\xd7\\xf7",ya="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",va="\\u2000-\\u206f",Ia=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Vo="A-Z\\xc0-\\xd6\\xd8-\\xde",Wo="\\ufe0e\\ufe0f",ri=ba+ya+va+Ia,Tu="['’]",ii="["+Ni+"]",_u="["+ri+"]",ui="["+Mo+"]",Xo="\\d+",Ca="["+No+"]",Ho="["+Vn+"]",zo="[^"+Ni+ri+Xo+No+Vn+Vo+"]",Wi="\\ud83c[\\udffb-\\udfff]",xa="(?:"+ui+"|"+Wi+")",Zo="[^"+Ni+"]",Xi="(?:\\ud83c[\\udde6-\\uddff]){2}",_r="[\\ud800-\\udbff][\\udc00-\\udfff]",gn="["+Vo+"]",Yo="\\u200d",Jo="(?:"+Ho+"|"+zo+")",er="(?:"+gn+"|"+zo+")",jo="(?:"+Tu+"(?:d|ll|m|re|s|t|ve))?",Uo="(?:"+Tu+"(?:D|LL|M|RE|S|T|VE))?",Qo=xa+"?",qo="["+Wo+"]?",Aa="(?:"+Yo+"(?:"+[Zo,Xi,_r].join("|")+")"+qo+Qo+")*",fr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$o="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ko=qo+Qo+Aa,Hi="(?:"+[Ca,Xi,_r].join("|")+")"+Ko,wa="(?:"+[Zo+ui+"?",ui,Xi,_r,ii].join("|")+")",Bu=RegExp(Tu,"g"),Sa=RegExp(ui,"g"),zi=RegExp(Wi+"(?="+Wi+")|"+wa+Ko,"g"),es=RegExp([gn+"?"+Ho+"+"+jo+"(?="+[_u,gn,"$"].join("|")+")",er+"+"+Uo+"(?="+[_u,gn+Jo,"$"].join("|")+")",gn+"?"+Jo+"+"+jo,gn+"+"+Uo,$o,fr,Xo,Hi].join("|"),"g"),ts=RegExp("["+Yo+Ni+Mo+Wo+"]"),oi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ns=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ea=-1,ut={};ut[Re]=ut[ke]=ut[Bt]=ut[tn]=ut[Jt]=ut[En]=ut[nn]=ut[Et]=ut[hn]=!0,ut[ge]=ut[Ne]=ut[te]=ut[Ve]=ut[he]=ut[yt]=ut[Lt]=ut[Dt]=ut[ne]=ut[oe]=ut[Ge]=ut[Sn]=ut[Mt]=ut[nt]=ut[et]=!1;var it={};it[ge]=it[Ne]=it[te]=it[he]=it[Ve]=it[yt]=it[Re]=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:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},J={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,Te=parseInt,dt=typeof Ln=="object"&&Ln&&Ln.Object===Object&&Ln,Ft=typeof self=="object"&&self&&self.Object===Object&&self,Ze=dt||Ft||Function("return this")(),st=t&&!t.nodeType&&t,Ct=st&&!0&&e&&!e.nodeType&&e,rn=Ct&&Ct.exports===st,Pt=rn&&dt.process,ht=function(){try{var _=Ct&&Ct.require&&Ct.require("util").types;return _||Pt&&Pt.binding&&Pt.binding("util")}catch{}}(),jt=ht&&ht.isArrayBuffer,Wn=ht&&ht.isDate,Pn=ht&&ht.isMap,tr=ht&&ht.isRegExp,Gu=ht&&ht.isSet,si=ht&&ht.isTypedArray;function Gt(_,W,M){switch(M.length){case 0:return _.call(W);case 1:return _.call(W,M[0]);case 2:return _.call(W,M[0],M[1]);case 3:return _.call(W,M[0],M[1],M[2])}return _.apply(W,M)}function Bx(_,W,M,le){for(var Fe=-1,qe=_==null?0:_.length;++Fe<qe;){var Ot=_[Fe];W(le,Ot,M(Ot),_)}return le}function On(_,W){for(var M=-1,le=_==null?0:_.length;++M<le&&W(_[M],M,_)!==!1;);return _}function Gx(_,W){for(var M=_==null?0:_.length;M--&&W(_[M],M,_)!==!1;);return _}function gp(_,W){for(var M=-1,le=_==null?0:_.length;++M<le;)if(!W(_[M],M,_))return!1;return!0}function Br(_,W){for(var M=-1,le=_==null?0:_.length,Fe=0,qe=[];++M<le;){var Ot=_[M];W(Ot,M,_)&&(qe[Fe++]=Ot)}return qe}function rs(_,W){var M=_==null?0:_.length;return!!M&&Zi(_,W,0)>-1}function Fa(_,W,M){for(var le=-1,Fe=_==null?0:_.length;++le<Fe;)if(M(W,_[le]))return!0;return!1}function pt(_,W){for(var M=-1,le=_==null?0:_.length,Fe=Array(le);++M<le;)Fe[M]=W(_[M],M,_);return Fe}function Gr(_,W){for(var M=-1,le=W.length,Fe=_.length;++M<le;)_[Fe+M]=W[M];return _}function Pa(_,W,M,le){var Fe=-1,qe=_==null?0:_.length;for(le&&qe&&(M=_[++Fe]);++Fe<qe;)M=W(M,_[Fe],Fe,_);return M}function Rx(_,W,M,le){var Fe=_==null?0:_.length;for(le&&Fe&&(M=_[--Fe]);Fe--;)M=W(M,_[Fe],Fe,_);return M}function Oa(_,W){for(var M=-1,le=_==null?0:_.length;++M<le;)if(W(_[M],M,_))return!0;return!1}var kx=Ta("length");function Lx(_){return _.split("")}function Dx(_){return _.match(ua)||[]}function mp(_,W,M){var le;return M(_,function(Fe,qe,Ot){if(W(Fe,qe,Ot))return le=qe,!1}),le}function is(_,W,M,le){for(var Fe=_.length,qe=M+(le?1:-1);le?qe--:++qe<Fe;)if(W(_[qe],qe,_))return qe;return-1}function Zi(_,W,M){return W===W?Ux(_,W,M):is(_,bp,M)}function Mx(_,W,M,le){for(var Fe=M-1,qe=_.length;++Fe<qe;)if(le(_[Fe],W))return Fe;return-1}function bp(_){return _!==_}function yp(_,W){var M=_==null?0:_.length;return M?Ba(_,W)/M:E}function Ta(_){return function(W){return W==null?r:W[_]}}function _a(_){return function(W){return _==null?r:_[W]}}function vp(_,W,M,le,Fe){return Fe(_,function(qe,Ot,lt){M=le?(le=!1,qe):W(M,qe,Ot,lt)}),M}function Nx(_,W){var M=_.length;for(_.sort(W);M--;)_[M]=_[M].value;return _}function Ba(_,W){for(var M,le=-1,Fe=_.length;++le<Fe;){var qe=W(_[le]);qe!==r&&(M=M===r?qe:M+qe)}return M}function Ga(_,W){for(var M=-1,le=Array(_);++M<_;)le[M]=W(M);return le}function Vx(_,W){return pt(W,function(M){return[M,_[M]]})}function Ip(_){return _&&_.slice(0,wp(_)+1).replace(Pu,"")}function mn(_){return function(W){return _(W)}}function Ra(_,W){return pt(W,function(M){return _[M]})}function Ru(_,W){return _.has(W)}function Cp(_,W){for(var M=-1,le=_.length;++M<le&&Zi(W,_[M],0)>-1;);return M}function xp(_,W){for(var M=_.length;M--&&Zi(W,_[M],0)>-1;);return M}function Wx(_,W){for(var M=_.length,le=0;M--;)_[M]===W&&++le;return le}var Xx=_a(C),Hx=_a(B);function zx(_){return"\\"+se[_]}function Zx(_,W){return _==null?r:_[W]}function Yi(_){return ts.test(_)}function Yx(_){return oi.test(_)}function Jx(_){for(var W,M=[];!(W=_.next()).done;)M.push(W.value);return M}function ka(_){var W=-1,M=Array(_.size);return _.forEach(function(le,Fe){M[++W]=[Fe,le]}),M}function Ap(_,W){return function(M){return _(W(M))}}function Rr(_,W){for(var M=-1,le=_.length,Fe=0,qe=[];++M<le;){var Ot=_[M];(Ot===W||Ot===p)&&(_[M]=p,qe[Fe++]=M)}return qe}function us(_){var W=-1,M=Array(_.size);return _.forEach(function(le){M[++W]=le}),M}function jx(_){var W=-1,M=Array(_.size);return _.forEach(function(le){M[++W]=[le,le]}),M}function Ux(_,W,M){for(var le=M-1,Fe=_.length;++le<Fe;)if(_[le]===W)return le;return-1}function Qx(_,W,M){for(var le=M+1;le--;)if(_[le]===W)return le;return le}function Ji(_){return Yi(_)?$x(_):kx(_)}function Xn(_){return Yi(_)?Kx(_):Lx(_)}function wp(_){for(var W=_.length;W--&&Do.test(_.charAt(W)););return W}var qx=_a(J);function $x(_){for(var W=zi.lastIndex=0;zi.test(_);)++W;return W}function Kx(_){return _.match(zi)||[]}function eA(_){return _.match(es)||[]}var tA=function _(W){W=W==null?Ze:ji.defaults(Ze.Object(),W,ji.pick(Ze,ns));var M=W.Array,le=W.Date,Fe=W.Error,qe=W.Function,Ot=W.Math,lt=W.Object,La=W.RegExp,nA=W.String,Tn=W.TypeError,os=M.prototype,rA=qe.prototype,Ui=lt.prototype,ss=W["__core-js_shared__"],ls=rA.toString,rt=Ui.hasOwnProperty,iA=0,Sp=function(){var n=/[^.]+$/.exec(ss&&ss.keys&&ss.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),as=Ui.toString,uA=ls.call(lt),oA=Ze._,sA=La("^"+ls.call(rt).replace(Fu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cs=rn?W.Buffer:r,kr=W.Symbol,fs=W.Uint8Array,Ep=cs?cs.allocUnsafe:r,ds=Ap(lt.getPrototypeOf,lt),Fp=lt.create,Pp=Ui.propertyIsEnumerable,hs=os.splice,Op=kr?kr.isConcatSpreadable:r,ku=kr?kr.iterator:r,li=kr?kr.toStringTag:r,ps=function(){try{var n=hi(lt,"defineProperty");return n({},"",{}),n}catch{}}(),lA=W.clearTimeout!==Ze.clearTimeout&&W.clearTimeout,aA=le&&le.now!==Ze.Date.now&&le.now,cA=W.setTimeout!==Ze.setTimeout&&W.setTimeout,gs=Ot.ceil,ms=Ot.floor,Da=lt.getOwnPropertySymbols,fA=cs?cs.isBuffer:r,Tp=W.isFinite,dA=os.join,hA=Ap(lt.keys,lt),Tt=Ot.max,Ht=Ot.min,pA=le.now,gA=W.parseInt,_p=Ot.random,mA=os.reverse,Ma=hi(W,"DataView"),Lu=hi(W,"Map"),Na=hi(W,"Promise"),Qi=hi(W,"Set"),Du=hi(W,"WeakMap"),Mu=hi(lt,"create"),bs=Du&&new Du,qi={},bA=pi(Ma),yA=pi(Lu),vA=pi(Na),IA=pi(Qi),CA=pi(Du),ys=kr?kr.prototype:r,Nu=ys?ys.valueOf:r,Bp=ys?ys.toString:r;function y(n){if(It(n)&&!_e(n)&&!(n instanceof He)){if(n instanceof _n)return n;if(rt.call(n,"__wrapped__"))return Gg(n)}return new _n(n)}var $i=function(){function n(){}return function(i){if(!gt(i))return{};if(Fp)return Fp(i);n.prototype=i;var s=new n;return n.prototype=r,s}}();function vs(){}function _n(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=r}y.templateSettings={escape:Su,evaluate:Eu,interpolate:Di,variable:"",imports:{_:y}},y.prototype=vs.prototype,y.prototype.constructor=y,_n.prototype=$i(vs.prototype),_n.prototype.constructor=_n;function He(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=xe,this.__views__=[]}function xA(){var n=new He(this.__wrapped__);return n.__actions__=un(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=un(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=un(this.__views__),n}function AA(){if(this.__filtered__){var n=new He(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function wA(){var n=this.__wrapped__.value(),i=this.__dir__,s=_e(n),d=i<0,m=s?n.length:0,v=Lw(0,m,this.__views__),x=v.start,O=v.end,G=O-x,z=d?O:x-1,Z=this.__iteratees__,K=Z.length,re=0,fe=Ht(G,this.__takeCount__);if(!s||!d&&m==G&&fe==G)return ng(n,this.__actions__);var Ie=[];e:for(;G--&&re<fe;){z+=i;for(var Me=-1,Ce=n[z];++Me<K;){var Xe=Z[Me],Ye=Xe.iteratee,vn=Xe.type,qt=Ye(Ce);if(vn==ue)Ce=qt;else if(!qt){if(vn==Se)continue e;break e}}Ie[re++]=Ce}return Ie}He.prototype=$i(vs.prototype),He.prototype.constructor=He;function ai(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function SA(){this.__data__=Mu?Mu(null):{},this.size=0}function EA(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}function FA(n){var i=this.__data__;if(Mu){var s=i[n];return s===f?r:s}return rt.call(i,n)?i[n]:r}function PA(n){var i=this.__data__;return Mu?i[n]!==r:rt.call(i,n)}function OA(n,i){var s=this.__data__;return this.size+=this.has(n)?0:1,s[n]=Mu&&i===r?f:i,this}ai.prototype.clear=SA,ai.prototype.delete=EA,ai.prototype.get=FA,ai.prototype.has=PA,ai.prototype.set=OA;function dr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function TA(){this.__data__=[],this.size=0}function _A(n){var i=this.__data__,s=Is(i,n);if(s<0)return!1;var d=i.length-1;return s==d?i.pop():hs.call(i,s,1),--this.size,!0}function BA(n){var i=this.__data__,s=Is(i,n);return s<0?r:i[s][1]}function GA(n){return Is(this.__data__,n)>-1}function RA(n,i){var s=this.__data__,d=Is(s,n);return d<0?(++this.size,s.push([n,i])):s[d][1]=i,this}dr.prototype.clear=TA,dr.prototype.delete=_A,dr.prototype.get=BA,dr.prototype.has=GA,dr.prototype.set=RA;function hr(n){var i=-1,s=n==null?0:n.length;for(this.clear();++i<s;){var d=n[i];this.set(d[0],d[1])}}function kA(){this.size=0,this.__data__={hash:new ai,map:new(Lu||dr),string:new ai}}function LA(n){var i=Bs(this,n).delete(n);return this.size-=i?1:0,i}function DA(n){return Bs(this,n).get(n)}function MA(n){return Bs(this,n).has(n)}function NA(n,i){var s=Bs(this,n),d=s.size;return s.set(n,i),this.size+=s.size==d?0:1,this}hr.prototype.clear=kA,hr.prototype.delete=LA,hr.prototype.get=DA,hr.prototype.has=MA,hr.prototype.set=NA;function ci(n){var i=-1,s=n==null?0:n.length;for(this.__data__=new hr;++i<s;)this.add(n[i])}function VA(n){return this.__data__.set(n,f),this}function WA(n){return this.__data__.has(n)}ci.prototype.add=ci.prototype.push=VA,ci.prototype.has=WA;function Hn(n){var i=this.__data__=new dr(n);this.size=i.size}function XA(){this.__data__=new dr,this.size=0}function HA(n){var i=this.__data__,s=i.delete(n);return this.size=i.size,s}function zA(n){return this.__data__.get(n)}function ZA(n){return this.__data__.has(n)}function YA(n,i){var s=this.__data__;if(s instanceof dr){var d=s.__data__;if(!Lu||d.length<o-1)return d.push([n,i]),this.size=++s.size,this;s=this.__data__=new hr(d)}return s.set(n,i),this.size=s.size,this}Hn.prototype.clear=XA,Hn.prototype.delete=HA,Hn.prototype.get=zA,Hn.prototype.has=ZA,Hn.prototype.set=YA;function Gp(n,i){var s=_e(n),d=!s&&gi(n),m=!s&&!d&&Vr(n),v=!s&&!d&&!m&&nu(n),x=s||d||m||v,O=x?Ga(n.length,nA):[],G=O.length;for(var z in n)(i||rt.call(n,z))&&!(x&&(z=="length"||m&&(z=="offset"||z=="parent")||v&&(z=="buffer"||z=="byteLength"||z=="byteOffset")||br(z,G)))&&O.push(z);return O}function Rp(n){var i=n.length;return i?n[Qa(0,i-1)]:r}function JA(n,i){return Gs(un(n),fi(i,0,n.length))}function jA(n){return Gs(un(n))}function Va(n,i,s){(s!==r&&!zn(n[i],s)||s===r&&!(i in n))&&pr(n,i,s)}function Vu(n,i,s){var d=n[i];(!(rt.call(n,i)&&zn(d,s))||s===r&&!(i in n))&&pr(n,i,s)}function Is(n,i){for(var s=n.length;s--;)if(zn(n[s][0],i))return s;return-1}function UA(n,i,s,d){return Lr(n,function(m,v,x){i(d,m,s(m),x)}),d}function kp(n,i){return n&&rr(i,Rt(i),n)}function QA(n,i){return n&&rr(i,sn(i),n)}function pr(n,i,s){i=="__proto__"&&ps?ps(n,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):n[i]=s}function Wa(n,i){for(var s=-1,d=i.length,m=M(d),v=n==null;++s<d;)m[s]=v?r:Cc(n,i[s]);return m}function fi(n,i,s){return n===n&&(s!==r&&(n=n<=s?n:s),i!==r&&(n=n>=i?n:i)),n}function Bn(n,i,s,d,m,v){var x,O=i&g,G=i&I,z=i&b;if(s&&(x=m?s(n,d,m,v):s(n)),x!==r)return x;if(!gt(n))return n;var Z=_e(n);if(Z){if(x=Mw(n),!O)return un(n,x)}else{var K=zt(n),re=K==Dt||K==Nn;if(Vr(n))return ug(n,O);if(K==Ge||K==ge||re&&!m){if(x=G||re?{}:wg(n),!O)return G?Fw(n,QA(x,n)):Ew(n,kp(x,n))}else{if(!it[K])return m?n:{};x=Nw(n,K,O)}}v||(v=new Hn);var fe=v.get(n);if(fe)return fe;v.set(n,x),Kg(n)?n.forEach(function(Ce){x.add(Bn(Ce,i,s,Ce,n,v))}):qg(n)&&n.forEach(function(Ce,Xe){x.set(Xe,Bn(Ce,i,s,Xe,n,v))});var Ie=z?G?sc:oc:G?sn:Rt,Me=Z?r:Ie(n);return On(Me||n,function(Ce,Xe){Me&&(Xe=Ce,Ce=n[Xe]),Vu(x,Xe,Bn(Ce,i,s,Xe,n,v))}),x}function qA(n){var i=Rt(n);return function(s){return Lp(s,n,i)}}function Lp(n,i,s){var d=s.length;if(n==null)return!d;for(n=lt(n);d--;){var m=s[d],v=i[m],x=n[m];if(x===r&&!(m in n)||!v(x))return!1}return!0}function Dp(n,i,s){if(typeof n!="function")throw new Tn(a);return Ju(function(){n.apply(r,s)},i)}function Wu(n,i,s,d){var m=-1,v=rs,x=!0,O=n.length,G=[],z=i.length;if(!O)return G;s&&(i=pt(i,mn(s))),d?(v=Fa,x=!1):i.length>=o&&(v=Ru,x=!1,i=new ci(i));e:for(;++m<O;){var Z=n[m],K=s==null?Z:s(Z);if(Z=d||Z!==0?Z:0,x&&K===K){for(var re=z;re--;)if(i[re]===K)continue e;G.push(Z)}else v(i,K,d)||G.push(Z)}return G}var Lr=cg(nr),Mp=cg(Ha,!0);function $A(n,i){var s=!0;return Lr(n,function(d,m,v){return s=!!i(d,m,v),s}),s}function Cs(n,i,s){for(var d=-1,m=n.length;++d<m;){var v=n[d],x=i(v);if(x!=null&&(O===r?x===x&&!yn(x):s(x,O)))var O=x,G=v}return G}function KA(n,i,s,d){var m=n.length;for(s=De(s),s<0&&(s=-s>m?0:m+s),d=d===r||d>m?m:De(d),d<0&&(d+=m),d=s>d?0:tm(d);s<d;)n[s++]=i;return n}function Np(n,i){var s=[];return Lr(n,function(d,m,v){i(d,m,v)&&s.push(d)}),s}function Nt(n,i,s,d,m){var v=-1,x=n.length;for(s||(s=Ww),m||(m=[]);++v<x;){var O=n[v];i>0&&s(O)?i>1?Nt(O,i-1,s,d,m):Gr(m,O):d||(m[m.length]=O)}return m}var Xa=fg(),Vp=fg(!0);function nr(n,i){return n&&Xa(n,i,Rt)}function Ha(n,i){return n&&Vp(n,i,Rt)}function xs(n,i){return Br(i,function(s){return yr(n[s])})}function di(n,i){i=Mr(i,n);for(var s=0,d=i.length;n!=null&&s<d;)n=n[ir(i[s++])];return s&&s==d?n:r}function Wp(n,i,s){var d=i(n);return _e(n)?d:Gr(d,s(n))}function Ut(n){return n==null?n===r?ft:ve:li&&li in lt(n)?kw(n):jw(n)}function za(n,i){return n>i}function ew(n,i){return n!=null&&rt.call(n,i)}function tw(n,i){return n!=null&&i in lt(n)}function nw(n,i,s){return n>=Ht(i,s)&&n<Tt(i,s)}function Za(n,i,s){for(var d=s?Fa:rs,m=n[0].length,v=n.length,x=v,O=M(v),G=1/0,z=[];x--;){var Z=n[x];x&&i&&(Z=pt(Z,mn(i))),G=Ht(Z.length,G),O[x]=!s&&(i||m>=120&&Z.length>=120)?new ci(x&&Z):r}Z=n[0];var K=-1,re=O[0];e:for(;++K<m&&z.length<G;){var fe=Z[K],Ie=i?i(fe):fe;if(fe=s||fe!==0?fe:0,!(re?Ru(re,Ie):d(z,Ie,s))){for(x=v;--x;){var Me=O[x];if(!(Me?Ru(Me,Ie):d(n[x],Ie,s)))continue e}re&&re.push(Ie),z.push(fe)}}return z}function rw(n,i,s,d){return nr(n,function(m,v,x){i(d,s(m),v,x)}),d}function Xu(n,i,s){i=Mr(i,n),n=Pg(n,i);var d=n==null?n:n[ir(Rn(i))];return d==null?r:Gt(d,n,s)}function Xp(n){return It(n)&&Ut(n)==ge}function iw(n){return It(n)&&Ut(n)==te}function uw(n){return It(n)&&Ut(n)==yt}function Hu(n,i,s,d,m){return n===i?!0:n==null||i==null||!It(n)&&!It(i)?n!==n&&i!==i:ow(n,i,s,d,Hu,m)}function ow(n,i,s,d,m,v){var x=_e(n),O=_e(i),G=x?Ne:zt(n),z=O?Ne:zt(i);G=G==ge?Ge:G,z=z==ge?Ge:z;var Z=G==Ge,K=z==Ge,re=G==z;if(re&&Vr(n)){if(!Vr(i))return!1;x=!0,Z=!1}if(re&&!Z)return v||(v=new Hn),x||nu(n)?Cg(n,i,s,d,m,v):Gw(n,i,G,s,d,m,v);if(!(s&S)){var fe=Z&&rt.call(n,"__wrapped__"),Ie=K&&rt.call(i,"__wrapped__");if(fe||Ie){var Me=fe?n.value():n,Ce=Ie?i.value():i;return v||(v=new Hn),m(Me,Ce,s,d,v)}}return re?(v||(v=new Hn),Rw(n,i,s,d,m,v)):!1}function sw(n){return It(n)&&zt(n)==ne}function Ya(n,i,s,d){var m=s.length,v=m,x=!d;if(n==null)return!v;for(n=lt(n);m--;){var O=s[m];if(x&&O[2]?O[1]!==n[O[0]]:!(O[0]in n))return!1}for(;++m<v;){O=s[m];var G=O[0],z=n[G],Z=O[1];if(x&&O[2]){if(z===r&&!(G in n))return!1}else{var K=new Hn;if(d)var re=d(z,Z,G,n,i,K);if(!(re===r?Hu(Z,z,S|A,d,K):re))return!1}}return!0}function Hp(n){if(!gt(n)||Hw(n))return!1;var i=yr(n)?sA:fa;return i.test(pi(n))}function lw(n){return It(n)&&Ut(n)==Sn}function aw(n){return It(n)&&zt(n)==Mt}function cw(n){return It(n)&&Ns(n.length)&&!!ut[Ut(n)]}function zp(n){return typeof n=="function"?n:n==null?ln:typeof n=="object"?_e(n)?Jp(n[0],n[1]):Yp(n):dm(n)}function Ja(n){if(!Yu(n))return hA(n);var i=[];for(var s in lt(n))rt.call(n,s)&&s!="constructor"&&i.push(s);return i}function fw(n){if(!gt(n))return Jw(n);var i=Yu(n),s=[];for(var d in n)d=="constructor"&&(i||!rt.call(n,d))||s.push(d);return s}function ja(n,i){return n<i}function Zp(n,i){var s=-1,d=on(n)?M(n.length):[];return Lr(n,function(m,v,x){d[++s]=i(m,v,x)}),d}function Yp(n){var i=ac(n);return i.length==1&&i[0][2]?Eg(i[0][0],i[0][1]):function(s){return s===n||Ya(s,n,i)}}function Jp(n,i){return fc(n)&&Sg(i)?Eg(ir(n),i):function(s){var d=Cc(s,n);return d===r&&d===i?xc(s,n):Hu(i,d,S|A)}}function As(n,i,s,d,m){n!==i&&Xa(i,function(v,x){if(m||(m=new Hn),gt(v))dw(n,i,x,s,As,d,m);else{var O=d?d(hc(n,x),v,x+"",n,i,m):r;O===r&&(O=v),Va(n,x,O)}},sn)}function dw(n,i,s,d,m,v,x){var O=hc(n,s),G=hc(i,s),z=x.get(G);if(z){Va(n,s,z);return}var Z=v?v(O,G,s+"",n,i,x):r,K=Z===r;if(K){var re=_e(G),fe=!re&&Vr(G),Ie=!re&&!fe&&nu(G);Z=G,re||fe||Ie?_e(O)?Z=O:xt(O)?Z=un(O):fe?(K=!1,Z=ug(G,!0)):Ie?(K=!1,Z=og(G,!0)):Z=[]:ju(G)||gi(G)?(Z=O,gi(O)?Z=nm(O):(!gt(O)||yr(O))&&(Z=wg(G))):K=!1}K&&(x.set(G,Z),m(Z,G,d,v,x),x.delete(G)),Va(n,s,Z)}function jp(n,i){var s=n.length;if(s)return i+=i<0?s:0,br(i,s)?n[i]:r}function Up(n,i,s){i.length?i=pt(i,function(v){return _e(v)?function(x){return di(x,v.length===1?v[0]:v)}:v}):i=[ln];var d=-1;i=pt(i,mn(ye()));var m=Zp(n,function(v,x,O){var G=pt(i,function(z){return z(v)});return{criteria:G,index:++d,value:v}});return Nx(m,function(v,x){return Sw(v,x,s)})}function hw(n,i){return Qp(n,i,function(s,d){return xc(n,d)})}function Qp(n,i,s){for(var d=-1,m=i.length,v={};++d<m;){var x=i[d],O=di(n,x);s(O,x)&&zu(v,Mr(x,n),O)}return v}function pw(n){return function(i){return di(i,n)}}function Ua(n,i,s,d){var m=d?Mx:Zi,v=-1,x=i.length,O=n;for(n===i&&(i=un(i)),s&&(O=pt(n,mn(s)));++v<x;)for(var G=0,z=i[v],Z=s?s(z):z;(G=m(O,Z,G,d))>-1;)O!==n&&hs.call(O,G,1),hs.call(n,G,1);return n}function qp(n,i){for(var s=n?i.length:0,d=s-1;s--;){var m=i[s];if(s==d||m!==v){var v=m;br(m)?hs.call(n,m,1):Ka(n,m)}}return n}function Qa(n,i){return n+ms(_p()*(i-n+1))}function gw(n,i,s,d){for(var m=-1,v=Tt(gs((i-n)/(s||1)),0),x=M(v);v--;)x[d?v:++m]=n,n+=s;return x}function qa(n,i){var s="";if(!n||i<1||i>Oe)return s;do i%2&&(s+=n),i=ms(i/2),i&&(n+=n);while(i);return s}function We(n,i){return pc(Fg(n,i,ln),n+"")}function mw(n){return Rp(ru(n))}function bw(n,i){var s=ru(n);return Gs(s,fi(i,0,s.length))}function zu(n,i,s,d){if(!gt(n))return n;i=Mr(i,n);for(var m=-1,v=i.length,x=v-1,O=n;O!=null&&++m<v;){var G=ir(i[m]),z=s;if(G==="__proto__"||G==="constructor"||G==="prototype")return n;if(m!=x){var Z=O[G];z=d?d(Z,G,O):r,z===r&&(z=gt(Z)?Z:br(i[m+1])?[]:{})}Vu(O,G,z),O=O[G]}return n}var $p=bs?function(n,i){return bs.set(n,i),n}:ln,yw=ps?function(n,i){return ps(n,"toString",{configurable:!0,enumerable:!1,value:wc(i),writable:!0})}:ln;function vw(n){return Gs(ru(n))}function Gn(n,i,s){var d=-1,m=n.length;i<0&&(i=-i>m?0:m+i),s=s>m?m:s,s<0&&(s+=m),m=i>s?0:s-i>>>0,i>>>=0;for(var v=M(m);++d<m;)v[d]=n[d+i];return v}function Iw(n,i){var s;return Lr(n,function(d,m,v){return s=i(d,m,v),!s}),!!s}function ws(n,i,s){var d=0,m=n==null?d:n.length;if(typeof i=="number"&&i===i&&m<=w){for(;d<m;){var v=d+m>>>1,x=n[v];x!==null&&!yn(x)&&(s?x<=i:x<i)?d=v+1:m=v}return m}return $a(n,i,ln,s)}function $a(n,i,s,d){var m=0,v=n==null?0:n.length;if(v===0)return 0;i=s(i);for(var x=i!==i,O=i===null,G=yn(i),z=i===r;m<v;){var Z=ms((m+v)/2),K=s(n[Z]),re=K!==r,fe=K===null,Ie=K===K,Me=yn(K);if(x)var Ce=d||Ie;else z?Ce=Ie&&(d||re):O?Ce=Ie&&re&&(d||!fe):G?Ce=Ie&&re&&!fe&&(d||!Me):fe||Me?Ce=!1:Ce=d?K<=i:K<i;Ce?m=Z+1:v=Z}return Ht(v,Le)}function Kp(n,i){for(var s=-1,d=n.length,m=0,v=[];++s<d;){var x=n[s],O=i?i(x):x;if(!s||!zn(O,G)){var G=O;v[m++]=x===0?0:x}}return v}function eg(n){return typeof n=="number"?n:yn(n)?E:+n}function bn(n){if(typeof n=="string")return n;if(_e(n))return pt(n,bn)+"";if(yn(n))return Bp?Bp.call(n):"";var i=n+"";return i=="0"&&1/n==-Ee?"-0":i}function Dr(n,i,s){var d=-1,m=rs,v=n.length,x=!0,O=[],G=O;if(s)x=!1,m=Fa;else if(v>=o){var z=i?null:_w(n);if(z)return us(z);x=!1,m=Ru,G=new ci}else G=i?[]:O;e:for(;++d<v;){var Z=n[d],K=i?i(Z):Z;if(Z=s||Z!==0?Z:0,x&&K===K){for(var re=G.length;re--;)if(G[re]===K)continue e;i&&G.push(K),O.push(Z)}else m(G,K,s)||(G!==O&&G.push(K),O.push(Z))}return O}function Ka(n,i){return i=Mr(i,n),n=Pg(n,i),n==null||delete n[ir(Rn(i))]}function tg(n,i,s,d){return zu(n,i,s(di(n,i)),d)}function Ss(n,i,s,d){for(var m=n.length,v=d?m:-1;(d?v--:++v<m)&&i(n[v],v,n););return s?Gn(n,d?0:v,d?v+1:m):Gn(n,d?v+1:0,d?m:v)}function ng(n,i){var s=n;return s instanceof He&&(s=s.value()),Pa(i,function(d,m){return m.func.apply(m.thisArg,Gr([d],m.args))},s)}function ec(n,i,s){var d=n.length;if(d<2)return d?Dr(n[0]):[];for(var m=-1,v=M(d);++m<d;)for(var x=n[m],O=-1;++O<d;)O!=m&&(v[m]=Wu(v[m]||x,n[O],i,s));return Dr(Nt(v,1),i,s)}function rg(n,i,s){for(var d=-1,m=n.length,v=i.length,x={};++d<m;){var O=d<v?i[d]:r;s(x,n[d],O)}return x}function tc(n){return xt(n)?n:[]}function nc(n){return typeof n=="function"?n:ln}function Mr(n,i){return _e(n)?n:fc(n,i)?[n]:Bg(tt(n))}var Cw=We;function Nr(n,i,s){var d=n.length;return s=s===r?d:s,!i&&s>=d?n:Gn(n,i,s)}var ig=lA||function(n){return Ze.clearTimeout(n)};function ug(n,i){if(i)return n.slice();var s=n.length,d=Ep?Ep(s):new n.constructor(s);return n.copy(d),d}function rc(n){var i=new n.constructor(n.byteLength);return new fs(i).set(new fs(n)),i}function xw(n,i){var s=i?rc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.byteLength)}function Aw(n){var i=new n.constructor(n.source,Fn.exec(n));return i.lastIndex=n.lastIndex,i}function ww(n){return Nu?lt(Nu.call(n)):{}}function og(n,i){var s=i?rc(n.buffer):n.buffer;return new n.constructor(s,n.byteOffset,n.length)}function sg(n,i){if(n!==i){var s=n!==r,d=n===null,m=n===n,v=yn(n),x=i!==r,O=i===null,G=i===i,z=yn(i);if(!O&&!z&&!v&&n>i||v&&x&&G&&!O&&!z||d&&x&&G||!s&&G||!m)return 1;if(!d&&!v&&!z&&n<i||z&&s&&m&&!d&&!v||O&&s&&m||!x&&m||!G)return-1}return 0}function Sw(n,i,s){for(var d=-1,m=n.criteria,v=i.criteria,x=m.length,O=s.length;++d<x;){var G=sg(m[d],v[d]);if(G){if(d>=O)return G;var z=s[d];return G*(z=="desc"?-1:1)}}return n.index-i.index}function lg(n,i,s,d){for(var m=-1,v=n.length,x=s.length,O=-1,G=i.length,z=Tt(v-x,0),Z=M(G+z),K=!d;++O<G;)Z[O]=i[O];for(;++m<x;)(K||m<v)&&(Z[s[m]]=n[m]);for(;z--;)Z[O++]=n[m++];return Z}function ag(n,i,s,d){for(var m=-1,v=n.length,x=-1,O=s.length,G=-1,z=i.length,Z=Tt(v-O,0),K=M(Z+z),re=!d;++m<Z;)K[m]=n[m];for(var fe=m;++G<z;)K[fe+G]=i[G];for(;++x<O;)(re||m<v)&&(K[fe+s[x]]=n[m++]);return K}function un(n,i){var s=-1,d=n.length;for(i||(i=M(d));++s<d;)i[s]=n[s];return i}function rr(n,i,s,d){var m=!s;s||(s={});for(var v=-1,x=i.length;++v<x;){var O=i[v],G=d?d(s[O],n[O],O,s,n):r;G===r&&(G=n[O]),m?pr(s,O,G):Vu(s,O,G)}return s}function Ew(n,i){return rr(n,cc(n),i)}function Fw(n,i){return rr(n,xg(n),i)}function Es(n,i){return function(s,d){var m=_e(s)?Bx:UA,v=i?i():{};return m(s,n,ye(d,2),v)}}function Ki(n){return We(function(i,s){var d=-1,m=s.length,v=m>1?s[m-1]:r,x=m>2?s[2]:r;for(v=n.length>3&&typeof v=="function"?(m--,v):r,x&&Qt(s[0],s[1],x)&&(v=m<3?r:v,m=1),i=lt(i);++d<m;){var O=s[d];O&&n(i,O,d,v)}return i})}function cg(n,i){return function(s,d){if(s==null)return s;if(!on(s))return n(s,d);for(var m=s.length,v=i?m:-1,x=lt(s);(i?v--:++v<m)&&d(x[v],v,x)!==!1;);return s}}function fg(n){return function(i,s,d){for(var m=-1,v=lt(i),x=d(i),O=x.length;O--;){var G=x[n?O:++m];if(s(v[G],G,v)===!1)break}return i}}function Pw(n,i,s){var d=i&F,m=Zu(n);function v(){var x=this&&this!==Ze&&this instanceof v?m:n;return x.apply(d?s:this,arguments)}return v}function dg(n){return function(i){i=tt(i);var s=Yi(i)?Xn(i):r,d=s?s[0]:i.charAt(0),m=s?Nr(s,1).join(""):i.slice(1);return d[n]()+m}}function eu(n){return function(i){return Pa(cm(am(i).replace(Bu,"")),n,"")}}function Zu(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var s=$i(n.prototype),d=n.apply(s,i);return gt(d)?d:s}}function Ow(n,i,s){var d=Zu(n);function m(){for(var v=arguments.length,x=M(v),O=v,G=tu(m);O--;)x[O]=arguments[O];var z=v<3&&x[0]!==G&&x[v-1]!==G?[]:Rr(x,G);if(v-=z.length,v<s)return bg(n,i,Fs,m.placeholder,r,x,z,r,r,s-v);var Z=this&&this!==Ze&&this instanceof m?d:n;return Gt(Z,this,x)}return m}function hg(n){return function(i,s,d){var m=lt(i);if(!on(i)){var v=ye(s,3);i=Rt(i),s=function(O){return v(m[O],O,m)}}var x=n(i,s,d);return x>-1?m[v?i[x]:x]:r}}function pg(n){return mr(function(i){var s=i.length,d=s,m=_n.prototype.thru;for(n&&i.reverse();d--;){var v=i[d];if(typeof v!="function")throw new Tn(a);if(m&&!x&&_s(v)=="wrapper")var x=new _n([],!0)}for(d=x?d:s;++d<s;){v=i[d];var O=_s(v),G=O=="wrapper"?lc(v):r;G&&dc(G[0])&&G[1]==(Y|k|X|D)&&!G[4].length&&G[9]==1?x=x[_s(G[0])].apply(x,G[3]):x=v.length==1&&dc(v)?x[O]():x.thru(v)}return function(){var z=arguments,Z=z[0];if(x&&z.length==1&&_e(Z))return x.plant(Z).value();for(var K=0,re=s?i[K].apply(this,z):Z;++K<s;)re=i[K].call(this,re);return re}})}function Fs(n,i,s,d,m,v,x,O,G,z){var Z=i&Y,K=i&F,re=i&P,fe=i&(k|N),Ie=i&j,Me=re?r:Zu(n);function Ce(){for(var Xe=arguments.length,Ye=M(Xe),vn=Xe;vn--;)Ye[vn]=arguments[vn];if(fe)var qt=tu(Ce),In=Wx(Ye,qt);if(d&&(Ye=lg(Ye,d,m,fe)),v&&(Ye=ag(Ye,v,x,fe)),Xe-=In,fe&&Xe<z){var At=Rr(Ye,qt);return bg(n,i,Fs,Ce.placeholder,s,Ye,At,O,G,z-Xe)}var Zn=K?s:this,Ir=re?Zn[n]:n;return Xe=Ye.length,O?Ye=Uw(Ye,O):Ie&&Xe>1&&Ye.reverse(),Z&&G<Xe&&(Ye.length=G),this&&this!==Ze&&this instanceof Ce&&(Ir=Me||Zu(Ir)),Ir.apply(Zn,Ye)}return Ce}function gg(n,i){return function(s,d){return rw(s,n,i(d),{})}}function Ps(n,i){return function(s,d){var m;if(s===r&&d===r)return i;if(s!==r&&(m=s),d!==r){if(m===r)return d;typeof s=="string"||typeof d=="string"?(s=bn(s),d=bn(d)):(s=eg(s),d=eg(d)),m=n(s,d)}return m}}function ic(n){return mr(function(i){return i=pt(i,mn(ye())),We(function(s){var d=this;return n(i,function(m){return Gt(m,d,s)})})})}function Os(n,i){i=i===r?" ":bn(i);var s=i.length;if(s<2)return s?qa(i,n):i;var d=qa(i,gs(n/Ji(i)));return Yi(i)?Nr(Xn(d),0,n).join(""):d.slice(0,n)}function Tw(n,i,s,d){var m=i&F,v=Zu(n);function x(){for(var O=-1,G=arguments.length,z=-1,Z=d.length,K=M(Z+G),re=this&&this!==Ze&&this instanceof x?v:n;++z<Z;)K[z]=d[z];for(;G--;)K[z++]=arguments[++O];return Gt(re,m?s:this,K)}return x}function mg(n){return function(i,s,d){return d&&typeof d!="number"&&Qt(i,s,d)&&(s=d=r),i=vr(i),s===r?(s=i,i=0):s=vr(s),d=d===r?i<s?1:-1:vr(d),gw(i,s,d,n)}}function Ts(n){return function(i,s){return typeof i=="string"&&typeof s=="string"||(i=kn(i),s=kn(s)),n(i,s)}}function bg(n,i,s,d,m,v,x,O,G,z){var Z=i&k,K=Z?x:r,re=Z?r:x,fe=Z?v:r,Ie=Z?r:v;i|=Z?X:R,i&=~(Z?R:X),i&L||(i&=~(F|P));var Me=[n,i,m,fe,K,Ie,re,O,G,z],Ce=s.apply(r,Me);return dc(n)&&Og(Ce,Me),Ce.placeholder=d,Tg(Ce,n,i)}function uc(n){var i=Ot[n];return function(s,d){if(s=kn(s),d=d==null?0:Ht(De(d),292),d&&Tp(s)){var m=(tt(s)+"e").split("e"),v=i(m[0]+"e"+(+m[1]+d));return m=(tt(v)+"e").split("e"),+(m[0]+"e"+(+m[1]-d))}return i(s)}}var _w=Qi&&1/us(new Qi([,-0]))[1]==Ee?function(n){return new Qi(n)}:Fc;function yg(n){return function(i){var s=zt(i);return s==ne?ka(i):s==Mt?jx(i):Vx(i,n(i))}}function gr(n,i,s,d,m,v,x,O){var G=i&P;if(!G&&typeof n!="function")throw new Tn(a);var z=d?d.length:0;if(z||(i&=~(X|R),d=m=r),x=x===r?x:Tt(De(x),0),O=O===r?O:De(O),z-=m?m.length:0,i&R){var Z=d,K=m;d=m=r}var re=G?r:lc(n),fe=[n,i,s,d,m,Z,K,v,x,O];if(re&&Yw(fe,re),n=fe[0],i=fe[1],s=fe[2],d=fe[3],m=fe[4],O=fe[9]=fe[9]===r?G?0:n.length:Tt(fe[9]-z,0),!O&&i&(k|N)&&(i&=~(k|N)),!i||i==F)var Ie=Pw(n,i,s);else i==k||i==N?Ie=Ow(n,i,O):(i==X||i==(F|X))&&!m.length?Ie=Tw(n,i,s,d):Ie=Fs.apply(r,fe);var Me=re?$p:Og;return Tg(Me(Ie,fe),n,i)}function vg(n,i,s,d){return n===r||zn(n,Ui[s])&&!rt.call(d,s)?i:n}function Ig(n,i,s,d,m,v){return gt(n)&&gt(i)&&(v.set(i,n),As(n,i,r,Ig,v),v.delete(i)),n}function Bw(n){return ju(n)?r:n}function Cg(n,i,s,d,m,v){var x=s&S,O=n.length,G=i.length;if(O!=G&&!(x&&G>O))return!1;var z=v.get(n),Z=v.get(i);if(z&&Z)return z==i&&Z==n;var K=-1,re=!0,fe=s&A?new ci:r;for(v.set(n,i),v.set(i,n);++K<O;){var Ie=n[K],Me=i[K];if(d)var Ce=x?d(Me,Ie,K,i,n,v):d(Ie,Me,K,n,i,v);if(Ce!==r){if(Ce)continue;re=!1;break}if(fe){if(!Oa(i,function(Xe,Ye){if(!Ru(fe,Ye)&&(Ie===Xe||m(Ie,Xe,s,d,v)))return fe.push(Ye)})){re=!1;break}}else if(!(Ie===Me||m(Ie,Me,s,d,v))){re=!1;break}}return v.delete(n),v.delete(i),re}function Gw(n,i,s,d,m,v,x){switch(s){case he:if(n.byteLength!=i.byteLength||n.byteOffset!=i.byteOffset)return!1;n=n.buffer,i=i.buffer;case te:return!(n.byteLength!=i.byteLength||!v(new fs(n),new fs(i)));case Ve:case yt:case oe:return zn(+n,+i);case Lt:return n.name==i.name&&n.message==i.message;case Sn:case nt:return n==i+"";case ne:var O=ka;case Mt:var G=d&S;if(O||(O=us),n.size!=i.size&&!G)return!1;var z=x.get(n);if(z)return z==i;d|=A,x.set(n,i);var Z=Cg(O(n),O(i),d,m,v,x);return x.delete(n),Z;case Qe:if(Nu)return Nu.call(n)==Nu.call(i)}return!1}function Rw(n,i,s,d,m,v){var x=s&S,O=oc(n),G=O.length,z=oc(i),Z=z.length;if(G!=Z&&!x)return!1;for(var K=G;K--;){var re=O[K];if(!(x?re in i:rt.call(i,re)))return!1}var fe=v.get(n),Ie=v.get(i);if(fe&&Ie)return fe==i&&Ie==n;var Me=!0;v.set(n,i),v.set(i,n);for(var Ce=x;++K<G;){re=O[K];var Xe=n[re],Ye=i[re];if(d)var vn=x?d(Ye,Xe,re,i,n,v):d(Xe,Ye,re,n,i,v);if(!(vn===r?Xe===Ye||m(Xe,Ye,s,d,v):vn)){Me=!1;break}Ce||(Ce=re=="constructor")}if(Me&&!Ce){var qt=n.constructor,In=i.constructor;qt!=In&&"constructor"in n&&"constructor"in i&&!(typeof qt=="function"&&qt instanceof qt&&typeof In=="function"&&In instanceof In)&&(Me=!1)}return v.delete(n),v.delete(i),Me}function mr(n){return pc(Fg(n,r,Lg),n+"")}function oc(n){return Wp(n,Rt,cc)}function sc(n){return Wp(n,sn,xg)}var lc=bs?function(n){return bs.get(n)}:Fc;function _s(n){for(var i=n.name+"",s=qi[i],d=rt.call(qi,i)?s.length:0;d--;){var m=s[d],v=m.func;if(v==null||v==n)return m.name}return i}function tu(n){var i=rt.call(y,"placeholder")?y:n;return i.placeholder}function ye(){var n=y.iteratee||Sc;return n=n===Sc?zp:n,arguments.length?n(arguments[0],arguments[1]):n}function Bs(n,i){var s=n.__data__;return Xw(i)?s[typeof i=="string"?"string":"hash"]:s.map}function ac(n){for(var i=Rt(n),s=i.length;s--;){var d=i[s],m=n[d];i[s]=[d,m,Sg(m)]}return i}function hi(n,i){var s=Zx(n,i);return Hp(s)?s:r}function kw(n){var i=rt.call(n,li),s=n[li];try{n[li]=r;var d=!0}catch{}var m=as.call(n);return d&&(i?n[li]=s:delete n[li]),m}var cc=Da?function(n){return n==null?[]:(n=lt(n),Br(Da(n),function(i){return Pp.call(n,i)}))}:Pc,xg=Da?function(n){for(var i=[];n;)Gr(i,cc(n)),n=ds(n);return i}:Pc,zt=Ut;(Ma&&zt(new Ma(new ArrayBuffer(1)))!=he||Lu&&zt(new Lu)!=ne||Na&&zt(Na.resolve())!=vt||Qi&&zt(new Qi)!=Mt||Du&&zt(new Du)!=et)&&(zt=function(n){var i=Ut(n),s=i==Ge?n.constructor:r,d=s?pi(s):"";if(d)switch(d){case bA:return he;case yA:return ne;case vA:return vt;case IA:return Mt;case CA:return et}return i});function Lw(n,i,s){for(var d=-1,m=s.length;++d<m;){var v=s[d],x=v.size;switch(v.type){case"drop":n+=x;break;case"dropRight":i-=x;break;case"take":i=Ht(i,n+x);break;case"takeRight":n=Tt(n,i-x);break}}return{start:n,end:i}}function Dw(n){var i=n.match(ar);return i?i[1].split(ia):[]}function Ag(n,i,s){i=Mr(i,n);for(var d=-1,m=i.length,v=!1;++d<m;){var x=ir(i[d]);if(!(v=n!=null&&s(n,x)))break;n=n[x]}return v||++d!=m?v:(m=n==null?0:n.length,!!m&&Ns(m)&&br(x,m)&&(_e(n)||gi(n)))}function Mw(n){var i=n.length,s=new n.constructor(i);return i&&typeof n[0]=="string"&&rt.call(n,"index")&&(s.index=n.index,s.input=n.input),s}function wg(n){return typeof n.constructor=="function"&&!Yu(n)?$i(ds(n)):{}}function Nw(n,i,s){var d=n.constructor;switch(i){case te:return rc(n);case Ve:case yt:return new d(+n);case he:return xw(n,s);case Re:case ke:case Bt:case tn:case Jt:case En:case nn:case Et:case hn:return og(n,s);case ne:return new d;case oe:case nt:return new d(n);case Sn:return Aw(n);case Mt:return new d;case Qe:return ww(n)}}function Vw(n,i){var s=i.length;if(!s)return n;var d=s-1;return i[d]=(s>1?"& ":"")+i[d],i=i.join(s>2?", ":" "),n.replace(Ou,`{
22
+ /* [wrapped with `+i+`] */
23
+ `)}function Ww(n){return _e(n)||gi(n)||!!(Op&&n&&n[Op])}function br(n,i){var s=typeof n;return i=i??Oe,!!i&&(s=="number"||s!="symbol"&&ha.test(n))&&n>-1&&n%1==0&&n<i}function Qt(n,i,s){if(!gt(s))return!1;var d=typeof i;return(d=="number"?on(s)&&br(i,s.length):d=="string"&&i in s)?zn(s[i],n):!1}function fc(n,i){if(_e(n))return!1;var s=typeof n;return s=="number"||s=="symbol"||s=="boolean"||n==null||yn(n)?!0:ta.test(n)||!ni.test(n)||i!=null&&n in lt(i)}function Xw(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function dc(n){var i=_s(n),s=y[i];if(typeof s!="function"||!(i in He.prototype))return!1;if(n===s)return!0;var d=lc(s);return!!d&&n===d[0]}function Hw(n){return!!Sp&&Sp in n}var zw=ss?yr:Oc;function Yu(n){var i=n&&n.constructor,s=typeof i=="function"&&i.prototype||Ui;return n===s}function Sg(n){return n===n&&!gt(n)}function Eg(n,i){return function(s){return s==null?!1:s[n]===i&&(i!==r||n in lt(s))}}function Zw(n){var i=Ds(n,function(d){return s.size===h&&s.clear(),d}),s=i.cache;return i}function Yw(n,i){var s=n[1],d=i[1],m=s|d,v=m<(F|P|Y),x=d==Y&&s==k||d==Y&&s==D&&n[7].length<=i[8]||d==(Y|D)&&i[7].length<=i[8]&&s==k;if(!(v||x))return n;d&F&&(n[2]=i[2],m|=s&F?0:L);var O=i[3];if(O){var G=n[3];n[3]=G?lg(G,O,i[4]):O,n[4]=G?Rr(n[3],p):i[4]}return O=i[5],O&&(G=n[5],n[5]=G?ag(G,O,i[6]):O,n[6]=G?Rr(n[5],p):i[6]),O=i[7],O&&(n[7]=O),d&Y&&(n[8]=n[8]==null?i[8]:Ht(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=m,n}function Jw(n){var i=[];if(n!=null)for(var s in lt(n))i.push(s);return i}function jw(n){return as.call(n)}function Fg(n,i,s){return i=Tt(i===r?n.length-1:i,0),function(){for(var d=arguments,m=-1,v=Tt(d.length-i,0),x=M(v);++m<v;)x[m]=d[i+m];m=-1;for(var O=M(i+1);++m<i;)O[m]=d[m];return O[i]=s(x),Gt(n,this,O)}}function Pg(n,i){return i.length<2?n:di(n,Gn(i,0,-1))}function Uw(n,i){for(var s=n.length,d=Ht(i.length,s),m=un(n);d--;){var v=i[d];n[d]=br(v,s)?m[v]:r}return n}function hc(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var Og=_g($p),Ju=cA||function(n,i){return Ze.setTimeout(n,i)},pc=_g(yw);function Tg(n,i,s){var d=i+"";return pc(n,Vw(d,Qw(Dw(d),s)))}function _g(n){var i=0,s=0;return function(){var d=pA(),m=be-(d-s);if(s=d,m>0){if(++i>=q)return arguments[0]}else i=0;return n.apply(r,arguments)}}function Gs(n,i){var s=-1,d=n.length,m=d-1;for(i=i===r?d:i;++s<i;){var v=Qa(s,m),x=n[v];n[v]=n[s],n[s]=x}return n.length=i,n}var Bg=Zw(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(na,function(s,d,m,v){i.push(m?v.replace(sa,"$1"):d||s)}),i});function ir(n){if(typeof n=="string"||yn(n))return n;var i=n+"";return i=="0"&&1/n==-Ee?"-0":i}function pi(n){if(n!=null){try{return ls.call(n)}catch{}try{return n+""}catch{}}return""}function Qw(n,i){return On(je,function(s){var d="_."+s[0];i&s[1]&&!rs(n,d)&&n.push(d)}),n.sort()}function Gg(n){if(n instanceof He)return n.clone();var i=new _n(n.__wrapped__,n.__chain__);return i.__actions__=un(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function qw(n,i,s){(s?Qt(n,i,s):i===r)?i=1:i=Tt(De(i),0);var d=n==null?0:n.length;if(!d||i<1)return[];for(var m=0,v=0,x=M(gs(d/i));m<d;)x[v++]=Gn(n,m,m+=i);return x}function $w(n){for(var i=-1,s=n==null?0:n.length,d=0,m=[];++i<s;){var v=n[i];v&&(m[d++]=v)}return m}function Kw(){var n=arguments.length;if(!n)return[];for(var i=M(n-1),s=arguments[0],d=n;d--;)i[d-1]=arguments[d];return Gr(_e(s)?un(s):[s],Nt(i,1))}var eS=We(function(n,i){return xt(n)?Wu(n,Nt(i,1,xt,!0)):[]}),tS=We(function(n,i){var s=Rn(i);return xt(s)&&(s=r),xt(n)?Wu(n,Nt(i,1,xt,!0),ye(s,2)):[]}),nS=We(function(n,i){var s=Rn(i);return xt(s)&&(s=r),xt(n)?Wu(n,Nt(i,1,xt,!0),r,s):[]});function rS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),Gn(n,i<0?0:i,d)):[]}function iS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),i=d-i,Gn(n,0,i<0?0:i)):[]}function uS(n,i){return n&&n.length?Ss(n,ye(i,3),!0,!0):[]}function oS(n,i){return n&&n.length?Ss(n,ye(i,3),!0):[]}function sS(n,i,s,d){var m=n==null?0:n.length;return m?(s&&typeof s!="number"&&Qt(n,i,s)&&(s=0,d=m),KA(n,i,s,d)):[]}function Rg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:De(s);return m<0&&(m=Tt(d+m,0)),is(n,ye(i,3),m)}function kg(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d-1;return s!==r&&(m=De(s),m=s<0?Tt(d+m,0):Ht(m,d-1)),is(n,ye(i,3),m,!0)}function Lg(n){var i=n==null?0:n.length;return i?Nt(n,1):[]}function lS(n){var i=n==null?0:n.length;return i?Nt(n,Ee):[]}function aS(n,i){var s=n==null?0:n.length;return s?(i=i===r?1:De(i),Nt(n,i)):[]}function cS(n){for(var i=-1,s=n==null?0:n.length,d={};++i<s;){var m=n[i];d[m[0]]=m[1]}return d}function Dg(n){return n&&n.length?n[0]:r}function fS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=s==null?0:De(s);return m<0&&(m=Tt(d+m,0)),Zi(n,i,m)}function dS(n){var i=n==null?0:n.length;return i?Gn(n,0,-1):[]}var hS=We(function(n){var i=pt(n,tc);return i.length&&i[0]===n[0]?Za(i):[]}),pS=We(function(n){var i=Rn(n),s=pt(n,tc);return i===Rn(s)?i=r:s.pop(),s.length&&s[0]===n[0]?Za(s,ye(i,2)):[]}),gS=We(function(n){var i=Rn(n),s=pt(n,tc);return i=typeof i=="function"?i:r,i&&s.pop(),s.length&&s[0]===n[0]?Za(s,r,i):[]});function mS(n,i){return n==null?"":dA.call(n,i)}function Rn(n){var i=n==null?0:n.length;return i?n[i-1]:r}function bS(n,i,s){var d=n==null?0:n.length;if(!d)return-1;var m=d;return s!==r&&(m=De(s),m=m<0?Tt(d+m,0):Ht(m,d-1)),i===i?Qx(n,i,m):is(n,bp,m,!0)}function yS(n,i){return n&&n.length?jp(n,De(i)):r}var vS=We(Mg);function Mg(n,i){return n&&n.length&&i&&i.length?Ua(n,i):n}function IS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,ye(s,2)):n}function CS(n,i,s){return n&&n.length&&i&&i.length?Ua(n,i,r,s):n}var xS=mr(function(n,i){var s=n==null?0:n.length,d=Wa(n,i);return qp(n,pt(i,function(m){return br(m,s)?+m:m}).sort(sg)),d});function AS(n,i){var s=[];if(!(n&&n.length))return s;var d=-1,m=[],v=n.length;for(i=ye(i,3);++d<v;){var x=n[d];i(x,d,n)&&(s.push(x),m.push(d))}return qp(n,m),s}function gc(n){return n==null?n:mA.call(n)}function wS(n,i,s){var d=n==null?0:n.length;return d?(s&&typeof s!="number"&&Qt(n,i,s)?(i=0,s=d):(i=i==null?0:De(i),s=s===r?d:De(s)),Gn(n,i,s)):[]}function SS(n,i){return ws(n,i)}function ES(n,i,s){return $a(n,i,ye(s,2))}function FS(n,i){var s=n==null?0:n.length;if(s){var d=ws(n,i);if(d<s&&zn(n[d],i))return d}return-1}function PS(n,i){return ws(n,i,!0)}function OS(n,i,s){return $a(n,i,ye(s,2),!0)}function TS(n,i){var s=n==null?0:n.length;if(s){var d=ws(n,i,!0)-1;if(zn(n[d],i))return d}return-1}function _S(n){return n&&n.length?Kp(n):[]}function BS(n,i){return n&&n.length?Kp(n,ye(i,2)):[]}function GS(n){var i=n==null?0:n.length;return i?Gn(n,1,i):[]}function RS(n,i,s){return n&&n.length?(i=s||i===r?1:De(i),Gn(n,0,i<0?0:i)):[]}function kS(n,i,s){var d=n==null?0:n.length;return d?(i=s||i===r?1:De(i),i=d-i,Gn(n,i<0?0:i,d)):[]}function LS(n,i){return n&&n.length?Ss(n,ye(i,3),!1,!0):[]}function DS(n,i){return n&&n.length?Ss(n,ye(i,3)):[]}var MS=We(function(n){return Dr(Nt(n,1,xt,!0))}),NS=We(function(n){var i=Rn(n);return xt(i)&&(i=r),Dr(Nt(n,1,xt,!0),ye(i,2))}),VS=We(function(n){var i=Rn(n);return i=typeof i=="function"?i:r,Dr(Nt(n,1,xt,!0),r,i)});function WS(n){return n&&n.length?Dr(n):[]}function XS(n,i){return n&&n.length?Dr(n,ye(i,2)):[]}function HS(n,i){return i=typeof i=="function"?i:r,n&&n.length?Dr(n,r,i):[]}function mc(n){if(!(n&&n.length))return[];var i=0;return n=Br(n,function(s){if(xt(s))return i=Tt(s.length,i),!0}),Ga(i,function(s){return pt(n,Ta(s))})}function Ng(n,i){if(!(n&&n.length))return[];var s=mc(n);return i==null?s:pt(s,function(d){return Gt(i,r,d)})}var zS=We(function(n,i){return xt(n)?Wu(n,i):[]}),ZS=We(function(n){return ec(Br(n,xt))}),YS=We(function(n){var i=Rn(n);return xt(i)&&(i=r),ec(Br(n,xt),ye(i,2))}),JS=We(function(n){var i=Rn(n);return i=typeof i=="function"?i:r,ec(Br(n,xt),r,i)}),jS=We(mc);function US(n,i){return rg(n||[],i||[],Vu)}function QS(n,i){return rg(n||[],i||[],zu)}var qS=We(function(n){var i=n.length,s=i>1?n[i-1]:r;return s=typeof s=="function"?(n.pop(),s):r,Ng(n,s)});function Vg(n){var i=y(n);return i.__chain__=!0,i}function $S(n,i){return i(n),n}function Rs(n,i){return i(n)}var KS=mr(function(n){var i=n.length,s=i?n[0]:0,d=this.__wrapped__,m=function(v){return Wa(v,n)};return i>1||this.__actions__.length||!(d instanceof He)||!br(s)?this.thru(m):(d=d.slice(s,+s+(i?1:0)),d.__actions__.push({func:Rs,args:[m],thisArg:r}),new _n(d,this.__chain__).thru(function(v){return i&&!v.length&&v.push(r),v}))});function eE(){return Vg(this)}function tE(){return new _n(this.value(),this.__chain__)}function nE(){this.__values__===r&&(this.__values__=em(this.value()));var n=this.__index__>=this.__values__.length,i=n?r:this.__values__[this.__index__++];return{done:n,value:i}}function rE(){return this}function iE(n){for(var i,s=this;s instanceof vs;){var d=Gg(s);d.__index__=0,d.__values__=r,i?m.__wrapped__=d:i=d;var m=d;s=s.__wrapped__}return m.__wrapped__=n,i}function uE(){var n=this.__wrapped__;if(n instanceof He){var i=n;return this.__actions__.length&&(i=new He(this)),i=i.reverse(),i.__actions__.push({func:Rs,args:[gc],thisArg:r}),new _n(i,this.__chain__)}return this.thru(gc)}function oE(){return ng(this.__wrapped__,this.__actions__)}var sE=Es(function(n,i,s){rt.call(n,s)?++n[s]:pr(n,s,1)});function lE(n,i,s){var d=_e(n)?gp:$A;return s&&Qt(n,i,s)&&(i=r),d(n,ye(i,3))}function aE(n,i){var s=_e(n)?Br:Np;return s(n,ye(i,3))}var cE=hg(Rg),fE=hg(kg);function dE(n,i){return Nt(ks(n,i),1)}function hE(n,i){return Nt(ks(n,i),Ee)}function pE(n,i,s){return s=s===r?1:De(s),Nt(ks(n,i),s)}function Wg(n,i){var s=_e(n)?On:Lr;return s(n,ye(i,3))}function Xg(n,i){var s=_e(n)?Gx:Mp;return s(n,ye(i,3))}var gE=Es(function(n,i,s){rt.call(n,s)?n[s].push(i):pr(n,s,[i])});function mE(n,i,s,d){n=on(n)?n:ru(n),s=s&&!d?De(s):0;var m=n.length;return s<0&&(s=Tt(m+s,0)),Vs(n)?s<=m&&n.indexOf(i,s)>-1:!!m&&Zi(n,i,s)>-1}var bE=We(function(n,i,s){var d=-1,m=typeof i=="function",v=on(n)?M(n.length):[];return Lr(n,function(x){v[++d]=m?Gt(i,x,s):Xu(x,i,s)}),v}),yE=Es(function(n,i,s){pr(n,s,i)});function ks(n,i){var s=_e(n)?pt:Zp;return s(n,ye(i,3))}function vE(n,i,s,d){return n==null?[]:(_e(i)||(i=i==null?[]:[i]),s=d?r:s,_e(s)||(s=s==null?[]:[s]),Up(n,i,s))}var IE=Es(function(n,i,s){n[s?0:1].push(i)},function(){return[[],[]]});function CE(n,i,s){var d=_e(n)?Pa:vp,m=arguments.length<3;return d(n,ye(i,4),s,m,Lr)}function xE(n,i,s){var d=_e(n)?Rx:vp,m=arguments.length<3;return d(n,ye(i,4),s,m,Mp)}function AE(n,i){var s=_e(n)?Br:Np;return s(n,Ms(ye(i,3)))}function wE(n){var i=_e(n)?Rp:mw;return i(n)}function SE(n,i,s){(s?Qt(n,i,s):i===r)?i=1:i=De(i);var d=_e(n)?JA:bw;return d(n,i)}function EE(n){var i=_e(n)?jA:vw;return i(n)}function FE(n){if(n==null)return 0;if(on(n))return Vs(n)?Ji(n):n.length;var i=zt(n);return i==ne||i==Mt?n.size:Ja(n).length}function PE(n,i,s){var d=_e(n)?Oa:Iw;return s&&Qt(n,i,s)&&(i=r),d(n,ye(i,3))}var OE=We(function(n,i){if(n==null)return[];var s=i.length;return s>1&&Qt(n,i[0],i[1])?i=[]:s>2&&Qt(i[0],i[1],i[2])&&(i=[i[0]]),Up(n,Nt(i,1),[])}),Ls=aA||function(){return Ze.Date.now()};function TE(n,i){if(typeof i!="function")throw new Tn(a);return n=De(n),function(){if(--n<1)return i.apply(this,arguments)}}function Hg(n,i,s){return i=s?r:i,i=n&&i==null?n.length:i,gr(n,Y,r,r,r,r,i)}function zg(n,i){var s;if(typeof i!="function")throw new Tn(a);return n=De(n),function(){return--n>0&&(s=i.apply(this,arguments)),n<=1&&(i=r),s}}var bc=We(function(n,i,s){var d=F;if(s.length){var m=Rr(s,tu(bc));d|=X}return gr(n,d,i,s,m)}),Zg=We(function(n,i,s){var d=F|P;if(s.length){var m=Rr(s,tu(Zg));d|=X}return gr(i,d,n,s,m)});function Yg(n,i,s){i=s?r:i;var d=gr(n,k,r,r,r,r,r,i);return d.placeholder=Yg.placeholder,d}function Jg(n,i,s){i=s?r:i;var d=gr(n,N,r,r,r,r,r,i);return d.placeholder=Jg.placeholder,d}function jg(n,i,s){var d,m,v,x,O,G,z=0,Z=!1,K=!1,re=!0;if(typeof n!="function")throw new Tn(a);i=kn(i)||0,gt(s)&&(Z=!!s.leading,K="maxWait"in s,v=K?Tt(kn(s.maxWait)||0,i):v,re="trailing"in s?!!s.trailing:re);function fe(At){var Zn=d,Ir=m;return d=m=r,z=At,x=n.apply(Ir,Zn),x}function Ie(At){return z=At,O=Ju(Xe,i),Z?fe(At):x}function Me(At){var Zn=At-G,Ir=At-z,hm=i-Zn;return K?Ht(hm,v-Ir):hm}function Ce(At){var Zn=At-G,Ir=At-z;return G===r||Zn>=i||Zn<0||K&&Ir>=v}function Xe(){var At=Ls();if(Ce(At))return Ye(At);O=Ju(Xe,Me(At))}function Ye(At){return O=r,re&&d?fe(At):(d=m=r,x)}function vn(){O!==r&&ig(O),z=0,d=G=m=O=r}function qt(){return O===r?x:Ye(Ls())}function In(){var At=Ls(),Zn=Ce(At);if(d=arguments,m=this,G=At,Zn){if(O===r)return Ie(G);if(K)return ig(O),O=Ju(Xe,i),fe(G)}return O===r&&(O=Ju(Xe,i)),x}return In.cancel=vn,In.flush=qt,In}var _E=We(function(n,i){return Dp(n,1,i)}),BE=We(function(n,i,s){return Dp(n,kn(i)||0,s)});function GE(n){return gr(n,j)}function Ds(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new Tn(a);var s=function(){var d=arguments,m=i?i.apply(this,d):d[0],v=s.cache;if(v.has(m))return v.get(m);var x=n.apply(this,d);return s.cache=v.set(m,x)||v,x};return s.cache=new(Ds.Cache||hr),s}Ds.Cache=hr;function Ms(n){if(typeof n!="function")throw new Tn(a);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function RE(n){return zg(2,n)}var kE=Cw(function(n,i){i=i.length==1&&_e(i[0])?pt(i[0],mn(ye())):pt(Nt(i,1),mn(ye()));var s=i.length;return We(function(d){for(var m=-1,v=Ht(d.length,s);++m<v;)d[m]=i[m].call(this,d[m]);return Gt(n,this,d)})}),yc=We(function(n,i){var s=Rr(i,tu(yc));return gr(n,X,r,i,s)}),Ug=We(function(n,i){var s=Rr(i,tu(Ug));return gr(n,R,r,i,s)}),LE=mr(function(n,i){return gr(n,D,r,r,r,i)});function DE(n,i){if(typeof n!="function")throw new Tn(a);return i=i===r?i:De(i),We(n,i)}function ME(n,i){if(typeof n!="function")throw new Tn(a);return i=i==null?0:Tt(De(i),0),We(function(s){var d=s[i],m=Nr(s,0,i);return d&&Gr(m,d),Gt(n,this,m)})}function NE(n,i,s){var d=!0,m=!0;if(typeof n!="function")throw new Tn(a);return gt(s)&&(d="leading"in s?!!s.leading:d,m="trailing"in s?!!s.trailing:m),jg(n,i,{leading:d,maxWait:i,trailing:m})}function VE(n){return Hg(n,1)}function WE(n,i){return yc(nc(i),n)}function XE(){if(!arguments.length)return[];var n=arguments[0];return _e(n)?n:[n]}function HE(n){return Bn(n,b)}function zE(n,i){return i=typeof i=="function"?i:r,Bn(n,b,i)}function ZE(n){return Bn(n,g|b)}function YE(n,i){return i=typeof i=="function"?i:r,Bn(n,g|b,i)}function JE(n,i){return i==null||Lp(n,i,Rt(i))}function zn(n,i){return n===i||n!==n&&i!==i}var jE=Ts(za),UE=Ts(function(n,i){return n>=i}),gi=Xp(function(){return arguments}())?Xp:function(n){return It(n)&&rt.call(n,"callee")&&!Pp.call(n,"callee")},_e=M.isArray,QE=jt?mn(jt):iw;function on(n){return n!=null&&Ns(n.length)&&!yr(n)}function xt(n){return It(n)&&on(n)}function qE(n){return n===!0||n===!1||It(n)&&Ut(n)==Ve}var Vr=fA||Oc,$E=Wn?mn(Wn):uw;function KE(n){return It(n)&&n.nodeType===1&&!ju(n)}function e2(n){if(n==null)return!0;if(on(n)&&(_e(n)||typeof n=="string"||typeof n.splice=="function"||Vr(n)||nu(n)||gi(n)))return!n.length;var i=zt(n);if(i==ne||i==Mt)return!n.size;if(Yu(n))return!Ja(n).length;for(var s in n)if(rt.call(n,s))return!1;return!0}function t2(n,i){return Hu(n,i)}function n2(n,i,s){s=typeof s=="function"?s:r;var d=s?s(n,i):r;return d===r?Hu(n,i,r,s):!!d}function vc(n){if(!It(n))return!1;var i=Ut(n);return i==Lt||i==Xt||typeof n.message=="string"&&typeof n.name=="string"&&!ju(n)}function r2(n){return typeof n=="number"&&Tp(n)}function yr(n){if(!gt(n))return!1;var i=Ut(n);return i==Dt||i==Nn||i==St||i==_t}function Qg(n){return typeof n=="number"&&n==De(n)}function Ns(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Oe}function gt(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function It(n){return n!=null&&typeof n=="object"}var qg=Pn?mn(Pn):sw;function i2(n,i){return n===i||Ya(n,i,ac(i))}function u2(n,i,s){return s=typeof s=="function"?s:r,Ya(n,i,ac(i),s)}function o2(n){return $g(n)&&n!=+n}function s2(n){if(zw(n))throw new Fe(l);return Hp(n)}function l2(n){return n===null}function a2(n){return n==null}function $g(n){return typeof n=="number"||It(n)&&Ut(n)==oe}function ju(n){if(!It(n)||Ut(n)!=Ge)return!1;var i=ds(n);if(i===null)return!0;var s=rt.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&ls.call(s)==uA}var Ic=tr?mn(tr):lw;function c2(n){return Qg(n)&&n>=-Oe&&n<=Oe}var Kg=Gu?mn(Gu):aw;function Vs(n){return typeof n=="string"||!_e(n)&&It(n)&&Ut(n)==nt}function yn(n){return typeof n=="symbol"||It(n)&&Ut(n)==Qe}var nu=si?mn(si):cw;function f2(n){return n===r}function d2(n){return It(n)&&zt(n)==et}function h2(n){return It(n)&&Ut(n)==V}var p2=Ts(ja),g2=Ts(function(n,i){return n<=i});function em(n){if(!n)return[];if(on(n))return Vs(n)?Xn(n):un(n);if(ku&&n[ku])return Jx(n[ku]());var i=zt(n),s=i==ne?ka:i==Mt?us:ru;return s(n)}function vr(n){if(!n)return n===0?n:0;if(n=kn(n),n===Ee||n===-Ee){var i=n<0?-1:1;return i*Ke}return n===n?n:0}function De(n){var i=vr(n),s=i%1;return i===i?s?i-s:i:0}function tm(n){return n?fi(De(n),0,xe):0}function kn(n){if(typeof n=="number")return n;if(yn(n))return E;if(gt(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=gt(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=Ip(n);var s=ca.test(n);return s||da.test(n)?Te(n.slice(2),s?2:8):aa.test(n)?E:+n}function nm(n){return rr(n,sn(n))}function m2(n){return n?fi(De(n),-Oe,Oe):n===0?n:0}function tt(n){return n==null?"":bn(n)}var b2=Ki(function(n,i){if(Yu(i)||on(i)){rr(i,Rt(i),n);return}for(var s in i)rt.call(i,s)&&Vu(n,s,i[s])}),rm=Ki(function(n,i){rr(i,sn(i),n)}),Ws=Ki(function(n,i,s,d){rr(i,sn(i),n,d)}),y2=Ki(function(n,i,s,d){rr(i,Rt(i),n,d)}),v2=mr(Wa);function I2(n,i){var s=$i(n);return i==null?s:kp(s,i)}var C2=We(function(n,i){n=lt(n);var s=-1,d=i.length,m=d>2?i[2]:r;for(m&&Qt(i[0],i[1],m)&&(d=1);++s<d;)for(var v=i[s],x=sn(v),O=-1,G=x.length;++O<G;){var z=x[O],Z=n[z];(Z===r||zn(Z,Ui[z])&&!rt.call(n,z))&&(n[z]=v[z])}return n}),x2=We(function(n){return n.push(r,Ig),Gt(im,r,n)});function A2(n,i){return mp(n,ye(i,3),nr)}function w2(n,i){return mp(n,ye(i,3),Ha)}function S2(n,i){return n==null?n:Xa(n,ye(i,3),sn)}function E2(n,i){return n==null?n:Vp(n,ye(i,3),sn)}function F2(n,i){return n&&nr(n,ye(i,3))}function P2(n,i){return n&&Ha(n,ye(i,3))}function O2(n){return n==null?[]:xs(n,Rt(n))}function T2(n){return n==null?[]:xs(n,sn(n))}function Cc(n,i,s){var d=n==null?r:di(n,i);return d===r?s:d}function _2(n,i){return n!=null&&Ag(n,i,ew)}function xc(n,i){return n!=null&&Ag(n,i,tw)}var B2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=as.call(i)),n[i]=s},wc(ln)),G2=gg(function(n,i,s){i!=null&&typeof i.toString!="function"&&(i=as.call(i)),rt.call(n,i)?n[i].push(s):n[i]=[s]},ye),R2=We(Xu);function Rt(n){return on(n)?Gp(n):Ja(n)}function sn(n){return on(n)?Gp(n,!0):fw(n)}function k2(n,i){var s={};return i=ye(i,3),nr(n,function(d,m,v){pr(s,i(d,m,v),d)}),s}function L2(n,i){var s={};return i=ye(i,3),nr(n,function(d,m,v){pr(s,m,i(d,m,v))}),s}var D2=Ki(function(n,i,s){As(n,i,s)}),im=Ki(function(n,i,s,d){As(n,i,s,d)}),M2=mr(function(n,i){var s={};if(n==null)return s;var d=!1;i=pt(i,function(v){return v=Mr(v,n),d||(d=v.length>1),v}),rr(n,sc(n),s),d&&(s=Bn(s,g|I|b,Bw));for(var m=i.length;m--;)Ka(s,i[m]);return s});function N2(n,i){return um(n,Ms(ye(i)))}var V2=mr(function(n,i){return n==null?{}:hw(n,i)});function um(n,i){if(n==null)return{};var s=pt(sc(n),function(d){return[d]});return i=ye(i),Qp(n,s,function(d,m){return i(d,m[0])})}function W2(n,i,s){i=Mr(i,n);var d=-1,m=i.length;for(m||(m=1,n=r);++d<m;){var v=n==null?r:n[ir(i[d])];v===r&&(d=m,v=s),n=yr(v)?v.call(n):v}return n}function X2(n,i,s){return n==null?n:zu(n,i,s)}function H2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:zu(n,i,s,d)}var om=yg(Rt),sm=yg(sn);function z2(n,i,s){var d=_e(n),m=d||Vr(n)||nu(n);if(i=ye(i,4),s==null){var v=n&&n.constructor;m?s=d?new v:[]:gt(n)?s=yr(v)?$i(ds(n)):{}:s={}}return(m?On:nr)(n,function(x,O,G){return i(s,x,O,G)}),s}function Z2(n,i){return n==null?!0:Ka(n,i)}function Y2(n,i,s){return n==null?n:tg(n,i,nc(s))}function J2(n,i,s,d){return d=typeof d=="function"?d:r,n==null?n:tg(n,i,nc(s),d)}function ru(n){return n==null?[]:Ra(n,Rt(n))}function j2(n){return n==null?[]:Ra(n,sn(n))}function U2(n,i,s){return s===r&&(s=i,i=r),s!==r&&(s=kn(s),s=s===s?s:0),i!==r&&(i=kn(i),i=i===i?i:0),fi(kn(n),i,s)}function Q2(n,i,s){return i=vr(i),s===r?(s=i,i=0):s=vr(s),n=kn(n),nw(n,i,s)}function q2(n,i,s){if(s&&typeof s!="boolean"&&Qt(n,i,s)&&(i=s=r),s===r&&(typeof i=="boolean"?(s=i,i=r):typeof n=="boolean"&&(s=n,n=r)),n===r&&i===r?(n=0,i=1):(n=vr(n),i===r?(i=n,n=0):i=vr(i)),n>i){var d=n;n=i,i=d}if(s||n%1||i%1){var m=_p();return Ht(n+m*(i-n+ot("1e-"+((m+"").length-1))),i)}return Qa(n,i)}var $2=eu(function(n,i,s){return i=i.toLowerCase(),n+(s?lm(i):i)});function lm(n){return Ac(tt(n).toLowerCase())}function am(n){return n=tt(n),n&&n.replace(cr,Xx).replace(Sa,"")}function K2(n,i,s){n=tt(n),i=bn(i);var d=n.length;s=s===r?d:fi(De(s),0,d);var m=s;return s-=i.length,s>=0&&n.slice(s,m)==i}function eF(n){return n=tt(n),n&&ti.test(n)?n.replace(Lo,Hx):n}function tF(n){return n=tt(n),n&&ra.test(n)?n.replace(Fu,"\\$&"):n}var nF=eu(function(n,i,s){return n+(s?"-":"")+i.toLowerCase()}),rF=eu(function(n,i,s){return n+(s?" ":"")+i.toLowerCase()}),iF=dg("toLowerCase");function uF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;if(!i||d>=i)return n;var m=(i-d)/2;return Os(ms(m),s)+n+Os(gs(m),s)}function oF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;return i&&d<i?n+Os(i-d,s):n}function sF(n,i,s){n=tt(n),i=De(i);var d=i?Ji(n):0;return i&&d<i?Os(i-d,s)+n:n}function lF(n,i,s){return s||i==null?i=0:i&&(i=+i),gA(tt(n).replace(Pu,""),i||0)}function aF(n,i,s){return(s?Qt(n,i,s):i===r)?i=1:i=De(i),qa(tt(n),i)}function cF(){var n=arguments,i=tt(n[0]);return n.length<3?i:i.replace(n[1],n[2])}var fF=eu(function(n,i,s){return n+(s?"_":"")+i.toLowerCase()});function dF(n,i,s){return s&&typeof s!="number"&&Qt(n,i,s)&&(i=s=r),s=s===r?xe:s>>>0,s?(n=tt(n),n&&(typeof i=="string"||i!=null&&!Ic(i))&&(i=bn(i),!i&&Yi(n))?Nr(Xn(n),0,s):n.split(i,s)):[]}var hF=eu(function(n,i,s){return n+(s?" ":"")+Ac(i)});function pF(n,i,s){return n=tt(n),s=s==null?0:fi(De(s),0,n.length),i=bn(i),n.slice(s,s+i.length)==i}function gF(n,i,s){var d=y.templateSettings;s&&Qt(n,i,s)&&(i=r),n=tt(n),i=Ws({},i,d,vg);var m=Ws({},i.imports,d.imports,vg),v=Rt(m),x=Ra(m,v),O,G,z=0,Z=i.interpolate||Mi,K="__p += '",re=La((i.escape||Mi).source+"|"+Z.source+"|"+(Z===Di?la:Mi).source+"|"+(i.evaluate||Mi).source+"|$","g"),fe="//# sourceURL="+(rt.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ea+"]")+`
24
+ `;n.replace(re,function(Ce,Xe,Ye,vn,qt,In){return Ye||(Ye=vn),K+=n.slice(z,In).replace(pa,zx),Xe&&(O=!0,K+=`' +
25
+ __e(`+Xe+`) +
26
+ '`),qt&&(G=!0,K+=`';
27
+ `+qt+`;
28
+ __p += '`),Ye&&(K+=`' +
29
+ ((__t = (`+Ye+`)) == null ? '' : __t) +
30
+ '`),z=In+Ce.length,Ce}),K+=`';
31
+ `;var Ie=rt.call(i,"variable")&&i.variable;if(!Ie)K=`with (obj) {
32
+ `+K+`
33
+ }
34
+ `;else if(oa.test(Ie))throw new Fe(c);K=(G?K.replace(pn,""):K).replace(lr,"$1").replace(Ro,"$1;"),K="function("+(Ie||"obj")+`) {
35
+ `+(Ie?"":`obj || (obj = {});
36
+ `)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(G?`, __j = Array.prototype.join;
37
+ function print() { __p += __j.call(arguments, '') }
38
+ `:`;
39
+ `)+K+`return __p
40
+ }`;var Me=fm(function(){return qe(v,fe+"return "+K).apply(r,x)});if(Me.source=K,vc(Me))throw Me;return Me}function mF(n){return tt(n).toLowerCase()}function bF(n){return tt(n).toUpperCase()}function yF(n,i,s){if(n=tt(n),n&&(s||i===r))return Ip(n);if(!n||!(i=bn(i)))return n;var d=Xn(n),m=Xn(i),v=Cp(d,m),x=xp(d,m)+1;return Nr(d,v,x).join("")}function vF(n,i,s){if(n=tt(n),n&&(s||i===r))return n.slice(0,wp(n)+1);if(!n||!(i=bn(i)))return n;var d=Xn(n),m=xp(d,Xn(i))+1;return Nr(d,0,m).join("")}function IF(n,i,s){if(n=tt(n),n&&(s||i===r))return n.replace(Pu,"");if(!n||!(i=bn(i)))return n;var d=Xn(n),m=Cp(d,Xn(i));return Nr(d,m).join("")}function CF(n,i){var s=Q,d=U;if(gt(i)){var m="separator"in i?i.separator:m;s="length"in i?De(i.length):s,d="omission"in i?bn(i.omission):d}n=tt(n);var v=n.length;if(Yi(n)){var x=Xn(n);v=x.length}if(s>=v)return n;var O=s-Ji(d);if(O<1)return d;var G=x?Nr(x,0,O).join(""):n.slice(0,O);if(m===r)return G+d;if(x&&(O+=G.length-O),Ic(m)){if(n.slice(O).search(m)){var z,Z=G;for(m.global||(m=La(m.source,tt(Fn.exec(m))+"g")),m.lastIndex=0;z=m.exec(Z);)var K=z.index;G=G.slice(0,K===r?O:K)}}else if(n.indexOf(bn(m),O)!=O){var re=G.lastIndexOf(m);re>-1&&(G=G.slice(0,re))}return G+d}function xF(n){return n=tt(n),n&&wu.test(n)?n.replace(ko,qx):n}var AF=eu(function(n,i,s){return n+(s?" ":"")+i.toUpperCase()}),Ac=dg("toUpperCase");function cm(n,i,s){return n=tt(n),i=s?r:i,i===r?Yx(n)?eA(n):Dx(n):n.match(i)||[]}var fm=We(function(n,i){try{return Gt(n,r,i)}catch(s){return vc(s)?s:new Fe(s)}}),wF=mr(function(n,i){return On(i,function(s){s=ir(s),pr(n,s,bc(n[s],n))}),n});function SF(n){var i=n==null?0:n.length,s=ye();return n=i?pt(n,function(d){if(typeof d[1]!="function")throw new Tn(a);return[s(d[0]),d[1]]}):[],We(function(d){for(var m=-1;++m<i;){var v=n[m];if(Gt(v[0],this,d))return Gt(v[1],this,d)}})}function EF(n){return qA(Bn(n,g))}function wc(n){return function(){return n}}function FF(n,i){return n==null||n!==n?i:n}var PF=pg(),OF=pg(!0);function ln(n){return n}function Sc(n){return zp(typeof n=="function"?n:Bn(n,g))}function TF(n){return Yp(Bn(n,g))}function _F(n,i){return Jp(n,Bn(i,g))}var BF=We(function(n,i){return function(s){return Xu(s,n,i)}}),GF=We(function(n,i){return function(s){return Xu(n,s,i)}});function Ec(n,i,s){var d=Rt(i),m=xs(i,d);s==null&&!(gt(i)&&(m.length||!d.length))&&(s=i,i=n,n=this,m=xs(i,Rt(i)));var v=!(gt(s)&&"chain"in s)||!!s.chain,x=yr(n);return On(m,function(O){var G=i[O];n[O]=G,x&&(n.prototype[O]=function(){var z=this.__chain__;if(v||z){var Z=n(this.__wrapped__),K=Z.__actions__=un(this.__actions__);return K.push({func:G,args:arguments,thisArg:n}),Z.__chain__=z,Z}return G.apply(n,Gr([this.value()],arguments))})}),n}function RF(){return Ze._===this&&(Ze._=oA),this}function Fc(){}function kF(n){return n=De(n),We(function(i){return jp(i,n)})}var LF=ic(pt),DF=ic(gp),MF=ic(Oa);function dm(n){return fc(n)?Ta(ir(n)):pw(n)}function NF(n){return function(i){return n==null?r:di(n,i)}}var VF=mg(),WF=mg(!0);function Pc(){return[]}function Oc(){return!1}function XF(){return{}}function HF(){return""}function zF(){return!0}function ZF(n,i){if(n=De(n),n<1||n>Oe)return[];var s=xe,d=Ht(n,xe);i=ye(i),n-=xe;for(var m=Ga(d,i);++s<n;)i(s);return m}function YF(n){return _e(n)?pt(n,ir):yn(n)?[n]:un(Bg(tt(n)))}function JF(n){var i=++iA;return tt(n)+i}var jF=Ps(function(n,i){return n+i},0),UF=uc("ceil"),QF=Ps(function(n,i){return n/i},1),qF=uc("floor");function $F(n){return n&&n.length?Cs(n,ln,za):r}function KF(n,i){return n&&n.length?Cs(n,ye(i,2),za):r}function eP(n){return yp(n,ln)}function tP(n,i){return yp(n,ye(i,2))}function nP(n){return n&&n.length?Cs(n,ln,ja):r}function rP(n,i){return n&&n.length?Cs(n,ye(i,2),ja):r}var iP=Ps(function(n,i){return n*i},1),uP=uc("round"),oP=Ps(function(n,i){return n-i},0);function sP(n){return n&&n.length?Ba(n,ln):0}function lP(n,i){return n&&n.length?Ba(n,ye(i,2)):0}return y.after=TE,y.ary=Hg,y.assign=b2,y.assignIn=rm,y.assignInWith=Ws,y.assignWith=y2,y.at=v2,y.before=zg,y.bind=bc,y.bindAll=wF,y.bindKey=Zg,y.castArray=XE,y.chain=Vg,y.chunk=qw,y.compact=$w,y.concat=Kw,y.cond=SF,y.conforms=EF,y.constant=wc,y.countBy=sE,y.create=I2,y.curry=Yg,y.curryRight=Jg,y.debounce=jg,y.defaults=C2,y.defaultsDeep=x2,y.defer=_E,y.delay=BE,y.difference=eS,y.differenceBy=tS,y.differenceWith=nS,y.drop=rS,y.dropRight=iS,y.dropRightWhile=uS,y.dropWhile=oS,y.fill=sS,y.filter=aE,y.flatMap=dE,y.flatMapDeep=hE,y.flatMapDepth=pE,y.flatten=Lg,y.flattenDeep=lS,y.flattenDepth=aS,y.flip=GE,y.flow=PF,y.flowRight=OF,y.fromPairs=cS,y.functions=O2,y.functionsIn=T2,y.groupBy=gE,y.initial=dS,y.intersection=hS,y.intersectionBy=pS,y.intersectionWith=gS,y.invert=B2,y.invertBy=G2,y.invokeMap=bE,y.iteratee=Sc,y.keyBy=yE,y.keys=Rt,y.keysIn=sn,y.map=ks,y.mapKeys=k2,y.mapValues=L2,y.matches=TF,y.matchesProperty=_F,y.memoize=Ds,y.merge=D2,y.mergeWith=im,y.method=BF,y.methodOf=GF,y.mixin=Ec,y.negate=Ms,y.nthArg=kF,y.omit=M2,y.omitBy=N2,y.once=RE,y.orderBy=vE,y.over=LF,y.overArgs=kE,y.overEvery=DF,y.overSome=MF,y.partial=yc,y.partialRight=Ug,y.partition=IE,y.pick=V2,y.pickBy=um,y.property=dm,y.propertyOf=NF,y.pull=vS,y.pullAll=Mg,y.pullAllBy=IS,y.pullAllWith=CS,y.pullAt=xS,y.range=VF,y.rangeRight=WF,y.rearg=LE,y.reject=AE,y.remove=AS,y.rest=DE,y.reverse=gc,y.sampleSize=SE,y.set=X2,y.setWith=H2,y.shuffle=EE,y.slice=wS,y.sortBy=OE,y.sortedUniq=_S,y.sortedUniqBy=BS,y.split=dF,y.spread=ME,y.tail=GS,y.take=RS,y.takeRight=kS,y.takeRightWhile=LS,y.takeWhile=DS,y.tap=$S,y.throttle=NE,y.thru=Rs,y.toArray=em,y.toPairs=om,y.toPairsIn=sm,y.toPath=YF,y.toPlainObject=nm,y.transform=z2,y.unary=VE,y.union=MS,y.unionBy=NS,y.unionWith=VS,y.uniq=WS,y.uniqBy=XS,y.uniqWith=HS,y.unset=Z2,y.unzip=mc,y.unzipWith=Ng,y.update=Y2,y.updateWith=J2,y.values=ru,y.valuesIn=j2,y.without=zS,y.words=cm,y.wrap=WE,y.xor=ZS,y.xorBy=YS,y.xorWith=JS,y.zip=jS,y.zipObject=US,y.zipObjectDeep=QS,y.zipWith=qS,y.entries=om,y.entriesIn=sm,y.extend=rm,y.extendWith=Ws,Ec(y,y),y.add=jF,y.attempt=fm,y.camelCase=$2,y.capitalize=lm,y.ceil=UF,y.clamp=U2,y.clone=HE,y.cloneDeep=ZE,y.cloneDeepWith=YE,y.cloneWith=zE,y.conformsTo=JE,y.deburr=am,y.defaultTo=FF,y.divide=QF,y.endsWith=K2,y.eq=zn,y.escape=eF,y.escapeRegExp=tF,y.every=lE,y.find=cE,y.findIndex=Rg,y.findKey=A2,y.findLast=fE,y.findLastIndex=kg,y.findLastKey=w2,y.floor=qF,y.forEach=Wg,y.forEachRight=Xg,y.forIn=S2,y.forInRight=E2,y.forOwn=F2,y.forOwnRight=P2,y.get=Cc,y.gt=jE,y.gte=UE,y.has=_2,y.hasIn=xc,y.head=Dg,y.identity=ln,y.includes=mE,y.indexOf=fS,y.inRange=Q2,y.invoke=R2,y.isArguments=gi,y.isArray=_e,y.isArrayBuffer=QE,y.isArrayLike=on,y.isArrayLikeObject=xt,y.isBoolean=qE,y.isBuffer=Vr,y.isDate=$E,y.isElement=KE,y.isEmpty=e2,y.isEqual=t2,y.isEqualWith=n2,y.isError=vc,y.isFinite=r2,y.isFunction=yr,y.isInteger=Qg,y.isLength=Ns,y.isMap=qg,y.isMatch=i2,y.isMatchWith=u2,y.isNaN=o2,y.isNative=s2,y.isNil=a2,y.isNull=l2,y.isNumber=$g,y.isObject=gt,y.isObjectLike=It,y.isPlainObject=ju,y.isRegExp=Ic,y.isSafeInteger=c2,y.isSet=Kg,y.isString=Vs,y.isSymbol=yn,y.isTypedArray=nu,y.isUndefined=f2,y.isWeakMap=d2,y.isWeakSet=h2,y.join=mS,y.kebabCase=nF,y.last=Rn,y.lastIndexOf=bS,y.lowerCase=rF,y.lowerFirst=iF,y.lt=p2,y.lte=g2,y.max=$F,y.maxBy=KF,y.mean=eP,y.meanBy=tP,y.min=nP,y.minBy=rP,y.stubArray=Pc,y.stubFalse=Oc,y.stubObject=XF,y.stubString=HF,y.stubTrue=zF,y.multiply=iP,y.nth=yS,y.noConflict=RF,y.noop=Fc,y.now=Ls,y.pad=uF,y.padEnd=oF,y.padStart=sF,y.parseInt=lF,y.random=q2,y.reduce=CE,y.reduceRight=xE,y.repeat=aF,y.replace=cF,y.result=W2,y.round=uP,y.runInContext=_,y.sample=wE,y.size=FE,y.snakeCase=fF,y.some=PE,y.sortedIndex=SS,y.sortedIndexBy=ES,y.sortedIndexOf=FS,y.sortedLastIndex=PS,y.sortedLastIndexBy=OS,y.sortedLastIndexOf=TS,y.startCase=hF,y.startsWith=pF,y.subtract=oP,y.sum=sP,y.sumBy=lP,y.template=gF,y.times=ZF,y.toFinite=vr,y.toInteger=De,y.toLength=tm,y.toLower=mF,y.toNumber=kn,y.toSafeInteger=m2,y.toString=tt,y.toUpper=bF,y.trim=yF,y.trimEnd=vF,y.trimStart=IF,y.truncate=CF,y.unescape=xF,y.uniqueId=JF,y.upperCase=AF,y.upperFirst=Ac,y.each=Wg,y.eachRight=Xg,y.first=Dg,Ec(y,function(){var n={};return nr(y,function(i,s){rt.call(y.prototype,s)||(n[s]=i)}),n}(),{chain:!1}),y.VERSION=u,On(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){y[n].placeholder=y}),On(["drop","take"],function(n,i){He.prototype[n]=function(s){s=s===r?1:Tt(De(s),0);var d=this.__filtered__&&!i?new He(this):this.clone();return d.__filtered__?d.__takeCount__=Ht(s,d.__takeCount__):d.__views__.push({size:Ht(s,xe),type:n+(d.__dir__<0?"Right":"")}),d},He.prototype[n+"Right"]=function(s){return this.reverse()[n](s).reverse()}}),On(["filter","map","takeWhile"],function(n,i){var s=i+1,d=s==Se||s==pe;He.prototype[n]=function(m){var v=this.clone();return v.__iteratees__.push({iteratee:ye(m,3),type:s}),v.__filtered__=v.__filtered__||d,v}}),On(["head","last"],function(n,i){var s="take"+(i?"Right":"");He.prototype[n]=function(){return this[s](1).value()[0]}}),On(["initial","tail"],function(n,i){var s="drop"+(i?"":"Right");He.prototype[n]=function(){return this.__filtered__?new He(this):this[s](1)}}),He.prototype.compact=function(){return this.filter(ln)},He.prototype.find=function(n){return this.filter(n).head()},He.prototype.findLast=function(n){return this.reverse().find(n)},He.prototype.invokeMap=We(function(n,i){return typeof n=="function"?new He(this):this.map(function(s){return Xu(s,n,i)})}),He.prototype.reject=function(n){return this.filter(Ms(ye(n)))},He.prototype.slice=function(n,i){n=De(n);var s=this;return s.__filtered__&&(n>0||i<0)?new He(s):(n<0?s=s.takeRight(-n):n&&(s=s.drop(n)),i!==r&&(i=De(i),s=i<0?s.dropRight(-i):s.take(i-n)),s)},He.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},He.prototype.toArray=function(){return this.take(xe)},nr(He.prototype,function(n,i){var s=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),m=y[d?"take"+(i=="last"?"Right":""):i],v=d||/^find/.test(i);m&&(y.prototype[i]=function(){var x=this.__wrapped__,O=d?[1]:arguments,G=x instanceof He,z=O[0],Z=G||_e(x),K=function(Xe){var Ye=m.apply(y,Gr([Xe],O));return d&&re?Ye[0]:Ye};Z&&s&&typeof z=="function"&&z.length!=1&&(G=Z=!1);var re=this.__chain__,fe=!!this.__actions__.length,Ie=v&&!re,Me=G&&!fe;if(!v&&Z){x=Me?x:new He(this);var Ce=n.apply(x,O);return Ce.__actions__.push({func:Rs,args:[K],thisArg:r}),new _n(Ce,re)}return Ie&&Me?n.apply(this,O):(Ce=this.thru(K),Ie?d?Ce.value()[0]:Ce.value():Ce)})}),On(["pop","push","shift","sort","splice","unshift"],function(n){var i=os[n],s=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",d=/^(?:pop|shift)$/.test(n);y.prototype[n]=function(){var m=arguments;if(d&&!this.__chain__){var v=this.value();return i.apply(_e(v)?v:[],m)}return this[s](function(x){return i.apply(_e(x)?x:[],m)})}}),nr(He.prototype,function(n,i){var s=y[i];if(s){var d=s.name+"";rt.call(qi,d)||(qi[d]=[]),qi[d].push({name:i,func:s})}}),qi[Fs(r,P).name]=[{name:"wrapper",func:r}],He.prototype.clone=xA,He.prototype.reverse=AA,He.prototype.value=wA,y.prototype.at=KS,y.prototype.chain=eE,y.prototype.commit=tE,y.prototype.next=nE,y.prototype.plant=iE,y.prototype.reverse=uE,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=oE,y.prototype.first=y.prototype.head,ku&&(y.prototype[ku]=rE),y},ji=tA();Ct?((Ct.exports=ji)._=ji,st._=ji):Ze._=ji}).call(Ln)}(ho,ho.exports);var wI=ho.exports;const SI=Us(wI),pu=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer"],Ll=H.createContext(void 0),po=()=>{const e=H.useContext(Ll);if(!e)throw new Error("Must be used inside provider");return e},kd=({children:e,props:t})=>{const r=ur(),u=H.useId(),{component:o,configuredProps:l,propNames:a,userId:c,sdkResponse:f,enableDebugging:h}=t,p=o.key,[g,I]=H.useState(0),[b,S]=H.useState({}),[A,F]=H.useState(!1),[P,L]=H.useState({}),[k,N]=H.useState([]),[X,R]=H.useState({});H.useEffect(()=>{R({})},[o.key]);const Y=ne=>X[ne.name];let D=l||{};const[j,Q]=H.useState(D),U=t.onUpdateConfiguredProps||Q;t.onUpdateConfiguredProps||(D=j);const[q,be]=H.useState(),[Se,ue]=H.useState(),pe={userId:c,componentId:p,configuredProps:D,dynamicPropsId:q==null?void 0:q.id},Ee={...pe},{isFetching:Oe}=Zr({queryKey:["dynamicProps",Ee],queryFn:async()=>{var vt;const ne=await r.componentReloadProps(pe),{dynamicProps:oe,observations:ve,errors:Ge}=ne;return ve&&ve.filter(_t=>_t.k==="error").length>0?Dt(ve):Dt(Ge),oe&&((vt=t.onUpdateDynamicProps)==null||vt.call(t,oe),be(oe)),ue(void 0),[]},enabled:Se!=null}),[Ke,E]=H.useState([]);H.useEffect(()=>{Xt()},[D]);let xe=(q==null?void 0:q.configurableProps)||t.component.configurable_props||[];if(a!=null&&a.length){const ne=[];for(const oe of xe)a.findIndex(ve=>oe.name===ve)>=0&&ne.push(oe);xe=ne}Se!=null&&(xe=xe.slice(0,Se+1));const Le=(ne,oe)=>{const ve=[];if(ne.optional||ne.hidden||ne.disabled||pu.includes(ne.type))return[];if(ne.type==="app"){const Ge=b[ne.name];if(Ge){const vt=Ge.extra.app;ve.push(...AI({prop:ne,value:oe,app:vt})??[])}else ve.push("field not registered")}else ne.type==="boolean"?ve.push(...vI({prop:ne,value:oe})??[]):ne.type==="integer"?ve.push(...II({prop:ne,value:oe})??[]):ne.type==="string"?ve.push(...CI({prop:ne,value:oe})??[]):ne.type==="string[]"&&ve.push(...yI({prop:ne,value:oe})??[]);return ve},w=ne=>{let oe;for(let ve=0;ve<xe.length;ve++){const Ge=xe[ve];if(Ge.hidden||Ge.optional&&!Y(Ge))continue;if(ne[Ge.name]===void 0&&oe==null&&(Ge.type==="app"||Ge.remoteOptions)){oe=ve;break}}I(oe)},je=ne=>{U(ne),w(ne),ge(ne)},ge=ne=>{const oe={};for(let ve=0;ve<xe.length;ve++){const Ge=xe[ve],vt=ne[Ge.name],_t=Le(Ge,vt);_t.length&&(oe[Ge.name]=_t)}L(oe)};H.useEffect(()=>{w(j)},[j]),H.useEffect(()=>{ge(D)},[D,Se,g]),H.useEffect(()=>{Dt(f)},[f]),H.useEffect(()=>{const ne={};for(const oe of xe){if(oe.hidden||pu.includes(oe.type)||oe.optional&&!Y(oe))continue;const ve=D[oe.name];ve===void 0?"default"in oe&&oe.default!=null&&(ne[oe.name]=oe.default):oe.type==="integer"&&typeof ve!="number"?delete ne[oe.name]:ne[oe.name]=ve}Lv(ne,D)||je(ne)},[xe]);const[Ne,St]=H.useState(c);H.useEffect(()=>{Ne!==c&&(je({}),St(c))},[c]);const Ve=(ne,oe)=>{const ve=xe[ne],Ge={...D};oe===void 0?delete Ge[ve.name]:Ge[ve.name]=oe,U(Ge),ve.reloadProps&&ue(ne),(ve.type==="app"||ve.remoteOptions)&&w(Ge);const vt=Le(ve,oe),_t={...P};vt.length?_t[ve.name]=vt:delete _t[ve.name],L(_t)},yt=(ne,oe)=>{const ve={...X};oe?ve[ne.name]=!0:delete ve[ne.name];const Ge=xe.findIndex(vt=>vt.name===ne.name);oe?(l==null?void 0:l[ne.name])!==void 0?Ve(Ge,l[ne.name]):"default"in ne&&ne.default!=null&&Ve(Ge,ne.default):Ve(Ge,void 0),R(ve)},Xt=()=>{const ne=[];for(const oe of xe){if(!oe||oe.optional||oe.hidden||pu.includes(oe.type))continue;const ve=D[oe.name];Le(oe,ve).length&&ne.push(oe.name)}ne&&Ke&&SI.isEqual(ne,Ke)||E(ne)},Lt=ne=>{S(oe=>(oe[ne.prop.name]=ne,oe)),Xt()},Dt=ne=>{if(!ne)return;let oe=[...k];const ve=(nt,Qe)=>{try{const ft=JSON.parse(nt),et={name:ft.name,message:ft.message};et.name&&et.message&&Qe.push(et)}catch{}},Ge=(nt,Qe)=>{const ft={name:nt.name,message:nt.message};ft.name&&ft.message&&Qe.push(ft)},vt=(nt,Qe)=>{var et,V;const ft={name:(et=nt.err)==null?void 0:et.name,message:(V=nt.err)==null?void 0:V.message};ft.name&&ft.message&&Qe.push(ft)},_t=(nt,Qe)=>{const ft=nt.os||nt.observations;if(Array.isArray(ft)&&ft.length>0)for(let et=0;et<ft.length;et++)ft[et].k==="error"&&vt(ft[et],Qe)},Sn=(nt,Qe)=>{Qe.push({name:nt.error,message:JSON.stringify(nt.details)})},Mt=(nt,Qe)=>{var ft;try{const et=(ft=JSON.parse(nt.message))==null?void 0:ft.data;et&&"observations"in et?_t(et,Qe):et&&"error"in et&&"details"in et&&Sn(et,Qe)}catch{}};if(Array.isArray(ne)&&ne.length>0)for(let nt=0;nt<ne.length;nt++){const Qe=ne[nt];typeof Qe=="string"?ve(Qe,oe):typeof Qe=="object"&&"name"in Qe&&"message"in Qe?Ge(Qe,oe):typeof Qe=="object"&&Qe.k==="error"&&vt(Qe,oe)}else typeof ne=="object"&&"os"in ne||"observations"in ne?_t(ne,oe):typeof ne=="object"&&"message"in ne?Mt(ne,oe):oe=[];N(oe)},Nn={id:u,isValid:!Object.keys(P).length,props:t,userId:c,component:o,configurableProps:xe,configuredProps:D,dynamicProps:q,dynamicPropsQueryIsFetching:Oe,errors:P,fields:b,optionalPropIsEnabled:Y,optionalPropSetEnabled:yt,propsNeedConfiguring:Ke,queryDisabledIdx:g,registerField:Lt,setConfiguredProp:Ve,setSubmitting:F,submitting:A,sdkErrors:k,enableDebugging:h};return $.jsx(Ll.Provider,{value:Nn,children:e})};function Yr(e){"@babel/helpers - typeof";return Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(e)}function EI(e,t){if(Yr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var u=r.call(e,t||"default");if(Yr(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ld(e){var t=EI(e,"string");return Yr(t)=="symbol"?t:t+""}function gu(e,t,r){return(t=Ld(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,u)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dd(Object(r),!0).forEach(function(u){gu(e,u,r[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dd(Object(r)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(r,u))})}return e}function FI(e){if(Array.isArray(e))return e}function PI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var u,o,l,a,c=[],f=!0,h=!1;try{if(l=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(u=l.call(r)).done)&&(c.push(u.value),c.length!==t);f=!0);}catch(p){h=!0,o=p}finally{try{if(!f&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(h)throw o}}return c}}function Dl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,u=Array(t);r<t;r++)u[r]=e[r];return u}function Md(e,t){if(e){if(typeof e=="string")return Dl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dl(e,t):void 0}}function OI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
41
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function or(e,t){return FI(e)||PI(e,t)||Md(e,t)||OI()}function TI(e,t){if(e==null)return{};var r={};for(var u in e)if({}.hasOwnProperty.call(e,u)){if(t.includes(u))continue;r[u]=e[u]}return r}function Un(e,t){if(e==null)return{};var r,u,o=TI(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(u=0;u<l.length;u++)r=l[u],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var _I=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Nd(e){var t=e.defaultInputValue,r=t===void 0?"":t,u=e.defaultMenuIsOpen,o=u===void 0?!1:u,l=e.defaultValue,a=l===void 0?null:l,c=e.inputValue,f=e.menuIsOpen,h=e.onChange,p=e.onInputChange,g=e.onMenuClose,I=e.onMenuOpen,b=e.value,S=Un(e,_I),A=H.useState(c!==void 0?c:r),F=or(A,2),P=F[0],L=F[1],k=H.useState(f!==void 0?f:o),N=or(k,2),X=N[0],R=N[1],Y=H.useState(b!==void 0?b:a),D=or(Y,2),j=D[0],Q=D[1],U=H.useCallback(function(Oe,Ke){typeof h=="function"&&h(Oe,Ke),Q(Oe)},[h]),q=H.useCallback(function(Oe,Ke){var E;typeof p=="function"&&(E=p(Oe,Ke)),L(E!==void 0?E:Oe)},[p]),be=H.useCallback(function(){typeof I=="function"&&I(),R(!0)},[I]),Se=H.useCallback(function(){typeof g=="function"&&g(),R(!1)},[g]),ue=c!==void 0?c:P,pe=f!==void 0?f:X,Ee=b!==void 0?b:j;return de(de({},S),{},{inputValue:ue,menuIsOpen:pe,onChange:U,onInputChange:q,onMenuClose:Se,onMenuOpen:be,value:Ee})}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var u in r)({}).hasOwnProperty.call(r,u)&&(e[u]=r[u])}return e},me.apply(null,arguments)}function BI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vd(e,t){for(var r=0;r<t.length;r++){var u=t[r];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,Ld(u.key),u)}}function GI(e,t,r){return t&&Vd(e.prototype,t),r&&Vd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ml(e,t){return Ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,u){return r.__proto__=u,r},Ml(e,t)}function RI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ml(e,t)}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},go(e)}function Wd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Wd=function(){return!!e})()}function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LI(e,t){if(t&&(Yr(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kI(e)}function DI(e){var t=Wd();return function(){var r,u=go(e);if(t){var o=go(this).constructor;r=Reflect.construct(u,arguments,o)}else r=u.apply(this,arguments);return LI(this,r)}}function MI(e){if(Array.isArray(e))return Dl(e)}function NI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
42
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xi(e){return MI(e)||NI(e)||Md(e)||VI()}function WI(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const XI=Math.min,HI=Math.max,mo=Math.round,bo=Math.floor,yo=e=>({x:e,y:e});function zI(e){const{x:t,y:r,width:u,height:o}=e;return{width:u,height:o,top:r,left:t,right:t+u,bottom:r+o,x:t,y:r}}function vo(){return typeof window<"u"}function Xd(e){return zd(e)?(e.nodeName||"").toLowerCase():"#document"}function sr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Hd(e){var t;return(t=(zd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zd(e){return vo()?e instanceof Node||e instanceof sr(e).Node:!1}function ZI(e){return vo()?e instanceof Element||e instanceof sr(e).Element:!1}function Nl(e){return vo()?e instanceof HTMLElement||e instanceof sr(e).HTMLElement:!1}function Zd(e){return!vo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof sr(e).ShadowRoot}function Yd(e){const{overflow:t,overflowX:r,overflowY:u,display:o}=Vl(e);return/auto|scroll|overlay|hidden|clip/.test(t+u+r)&&!["inline","contents"].includes(o)}function YI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function JI(e){return["html","body","#document"].includes(Xd(e))}function Vl(e){return sr(e).getComputedStyle(e)}function jI(e){if(Xd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zd(e)&&e.host||Hd(e);return Zd(t)?t.host:t}function Jd(e){const t=jI(e);return JI(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nl(t)&&Yd(t)?t:Jd(t)}function Io(e,t,r){var u;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Jd(e),l=o===((u=e.ownerDocument)==null?void 0:u.body),a=sr(o);if(l){const c=Wl(a);return t.concat(a,a.visualViewport||[],Yd(o)?o:[],c&&r?Io(c):[])}return t.concat(o,Io(o,[],r))}function Wl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function UI(e){const t=Vl(e);let r=parseFloat(t.width)||0,u=parseFloat(t.height)||0;const o=Nl(e),l=o?e.offsetWidth:r,a=o?e.offsetHeight:u,c=mo(r)!==l||mo(u)!==a;return c&&(r=l,u=a),{width:r,height:u,$:c}}function Xl(e){return ZI(e)?e:e.contextElement}function jd(e){const t=Xl(e);if(!Nl(t))return yo(1);const r=t.getBoundingClientRect(),{width:u,height:o,$:l}=UI(t);let a=(l?mo(r.width):r.width)/u,c=(l?mo(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const QI=yo(0);function qI(e){const t=sr(e);return!YI()||!t.visualViewport?QI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $I(e,t,r){return!1}function Ud(e,t,r,u){t===void 0&&(t=!1);const o=e.getBoundingClientRect(),l=Xl(e);let a=yo(1);t&&(a=jd(e));const c=$I()?qI(l):yo(0);let f=(o.left+c.x)/a.x,h=(o.top+c.y)/a.y,p=o.width/a.x,g=o.height/a.y;if(l){const I=sr(l),b=u;let S=I,A=Wl(S);for(;A&&u&&b!==S;){const F=jd(A),P=A.getBoundingClientRect(),L=Vl(A),k=P.left+(A.clientLeft+parseFloat(L.paddingLeft))*F.x,N=P.top+(A.clientTop+parseFloat(L.paddingTop))*F.y;f*=F.x,h*=F.y,p*=F.x,g*=F.y,f+=k,h+=N,S=sr(A),A=Wl(S)}}return zI({width:p,height:g,x:f,y:h})}function KI(e,t){let r=null,u;const o=Hd(e);function l(){var c;clearTimeout(u),(c=r)==null||c.disconnect(),r=null}function a(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const{left:h,top:p,width:g,height:I}=e.getBoundingClientRect();if(c||t(),!g||!I)return;const b=bo(p),S=bo(o.clientWidth-(h+g)),A=bo(o.clientHeight-(p+I)),F=bo(h),L={rootMargin:-b+"px "+-S+"px "+-A+"px "+-F+"px",threshold:HI(0,XI(1,f))||1};let k=!0;function N(X){const R=X[0].intersectionRatio;if(R!==f){if(!k)return a();R?a(!1,R):u=setTimeout(()=>{a(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(N,{...L,root:o.ownerDocument})}catch{r=new IntersectionObserver(N,L)}r.observe(e)}return a(!0),l}function e1(e,t,r,u){u===void 0&&(u={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=u,h=Xl(e),p=o||l?[...h?Io(h):[],...Io(t)]:[];p.forEach(P=>{o&&P.addEventListener("scroll",r,{passive:!0}),l&&P.addEventListener("resize",r)});const g=h&&c?KI(h,r):null;let I=-1,b=null;a&&(b=new ResizeObserver(P=>{let[L]=P;L&&L.target===h&&b&&(b.unobserve(t),cancelAnimationFrame(I),I=requestAnimationFrame(()=>{var k;(k=b)==null||k.observe(t)})),r()}),h&&!f&&b.observe(h),b.observe(t));let S,A=f?Ud(e):null;f&&F();function F(){const P=Ud(e);A&&(P.x!==A.x||P.y!==A.y||P.width!==A.width||P.height!==A.height)&&r(),A=P,S=requestAnimationFrame(F)}return r(),()=>{var P;p.forEach(L=>{o&&L.removeEventListener("scroll",r),l&&L.removeEventListener("resize",r)}),g==null||g(),(P=b)==null||P.disconnect(),b=null,f&&cancelAnimationFrame(S)}}var Hl=H.useLayoutEffect,t1=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Co=function(){};function n1(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function r1(e,t){for(var r=arguments.length,u=new Array(r>2?r-2:0),o=2;o<r;o++)u[o-2]=arguments[o];var l=[].concat(u);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&l.push("".concat(n1(e,a)));return l.filter(function(c){return c}).map(function(c){return String(c).trim()}).join(" ")}var xo=function(t){return d1(t)?t.filter(Boolean):Yr(t)==="object"&&t!==null?[t]:[]},Qd=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var r=Un(t,t1);return de({},r)},mt=function(t,r,u){var o=t.cx,l=t.getStyles,a=t.getClassNames,c=t.className;return{css:l(r,t),className:o(u??{},a(r,t),c)}};function Ao(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function i1(e){return Ao(e)?window.innerHeight:e.clientHeight}function qd(e){return Ao(e)?window.pageYOffset:e.scrollTop}function wo(e,t){if(Ao(e)){window.scrollTo(0,t);return}e.scrollTop=t}function u1(e){var t=getComputedStyle(e),r=t.position==="absolute",u=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(r&&t.position==="static")&&u.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function o1(e,t,r,u){return r*((e=e/u-1)*e*e+1)+t}function So(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Co,o=qd(e),l=t-o,a=10,c=0;function f(){c+=a;var h=o1(c,o,l,r);wo(e,h),c<r?window.requestAnimationFrame(f):u(e)}f()}function $d(e,t){var r=e.getBoundingClientRect(),u=t.getBoundingClientRect(),o=t.offsetHeight/3;u.bottom+o>r.bottom?wo(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):u.top-o<r.top&&wo(e,Math.max(t.offsetTop-o,0))}function s1(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Kd(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function l1(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var eh=!1,a1={get passive(){return eh=!0}},Eo=typeof window<"u"?window:{};Eo.addEventListener&&Eo.removeEventListener&&(Eo.addEventListener("p",Co,a1),Eo.removeEventListener("p",Co,!1));var c1=eh;function f1(e){return e!=null}function d1(e){return Array.isArray(e)}function mu(e,t,r){return e?t:r}function CP(e){return e}function xP(e){return e}var h1=function(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var l=Object.entries(t).filter(function(a){var c=or(a,1),f=c[0];return!u.includes(f)});return l.reduce(function(a,c){var f=or(c,2),h=f[0],p=f[1];return a[h]=p,a},{})},p1=["children","innerProps"],g1=["children","innerProps"];function m1(e){var t=e.maxHeight,r=e.menuEl,u=e.minHeight,o=e.placement,l=e.shouldScroll,a=e.isFixedPosition,c=e.controlHeight,f=u1(r),h={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return h;var p=f.getBoundingClientRect(),g=p.height,I=r.getBoundingClientRect(),b=I.bottom,S=I.height,A=I.top,F=r.offsetParent.getBoundingClientRect(),P=F.top,L=a?window.innerHeight:i1(f),k=qd(f),N=parseInt(getComputedStyle(r).marginBottom,10),X=parseInt(getComputedStyle(r).marginTop,10),R=P-X,Y=L-A,D=R+k,j=g-k-A,Q=b-L+k+N,U=k+A-X,q=160;switch(o){case"auto":case"bottom":if(Y>=S)return{placement:"bottom",maxHeight:t};if(j>=S&&!a)return l&&So(f,Q,q),{placement:"bottom",maxHeight:t};if(!a&&j>=u||a&&Y>=u){l&&So(f,Q,q);var be=a?Y-N:j-N;return{placement:"bottom",maxHeight:be}}if(o==="auto"||a){var Se=t,ue=a?R:D;return ue>=u&&(Se=Math.min(ue-N-c,t)),{placement:"top",maxHeight:Se}}if(o==="bottom")return l&&wo(f,Q),{placement:"bottom",maxHeight:t};break;case"top":if(R>=S)return{placement:"top",maxHeight:t};if(D>=S&&!a)return l&&So(f,U,q),{placement:"top",maxHeight:t};if(!a&&D>=u||a&&R>=u){var pe=t;return(!a&&D>=u||a&&R>=u)&&(pe=a?R-X:D-X),l&&So(f,U,q),{placement:"top",maxHeight:pe}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return h}function b1(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var th=function(t){return t==="auto"?"bottom":t},y1=function(t,r){var u,o=t.placement,l=t.theme,a=l.borderRadius,c=l.spacing,f=l.colors;return de((u={label:"menu"},gu(u,b1(o),"100%"),gu(u,"position","absolute"),gu(u,"width","100%"),gu(u,"zIndex",1),u),r?{}:{backgroundColor:f.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},nh=H.createContext(null),v1=function(t){var r=t.children,u=t.minMenuHeight,o=t.maxMenuHeight,l=t.menuPlacement,a=t.menuPosition,c=t.menuShouldScrollIntoView,f=t.theme,h=H.useContext(nh)||{},p=h.setPortalPlacement,g=H.useRef(null),I=H.useState(o),b=or(I,2),S=b[0],A=b[1],F=H.useState(null),P=or(F,2),L=P[0],k=P[1],N=f.spacing.controlHeight;return Hl(function(){var X=g.current;if(X){var R=a==="fixed",Y=c&&!R,D=m1({maxHeight:o,menuEl:X,minHeight:u,placement:l,shouldScroll:Y,isFixedPosition:R,controlHeight:N});A(D.maxHeight),k(D.placement),p==null||p(D.placement)}},[o,l,a,c,u,p,N]),r({ref:g,placerProps:de(de({},t),{},{placement:L||th(l),maxHeight:S})})},I1=function(t){var r=t.children,u=t.innerRef,o=t.innerProps;return ce.jsx("div",me({},mt(t,"menu",{menu:!0}),{ref:u},o),r)},C1=I1,x1=function(t,r){var u=t.maxHeight,o=t.theme.spacing.baseUnit;return de({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:o,paddingTop:o})},A1=function(t){var r=t.children,u=t.innerProps,o=t.innerRef,l=t.isMulti;return ce.jsx("div",me({},mt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":l}),{ref:o},u),r)},rh=function(t,r){var u=t.theme,o=u.spacing.baseUnit,l=u.colors;return de({textAlign:"center"},r?{}:{color:l.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},w1=rh,S1=rh,E1=function(t){var r=t.children,u=r===void 0?"No options":r,o=t.innerProps,l=Un(t,p1);return ce.jsx("div",me({},mt(de(de({},l),{},{children:u,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),u)},F1=function(t){var r=t.children,u=r===void 0?"Loading...":r,o=t.innerProps,l=Un(t,g1);return ce.jsx("div",me({},mt(de(de({},l),{},{children:u,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),u)},P1=function(t){var r=t.rect,u=t.offset,o=t.position;return{left:r.left,position:o,top:u,width:r.width,zIndex:1}},O1=function(t){var r=t.appendTo,u=t.children,o=t.controlElement,l=t.innerProps,a=t.menuPlacement,c=t.menuPosition,f=H.useRef(null),h=H.useRef(null),p=H.useState(th(a)),g=or(p,2),I=g[0],b=g[1],S=H.useMemo(function(){return{setPortalPlacement:b}},[]),A=H.useState(null),F=or(A,2),P=F[0],L=F[1],k=H.useCallback(function(){if(o){var Y=s1(o),D=c==="fixed"?0:window.pageYOffset,j=Y[I]+D;(j!==(P==null?void 0:P.offset)||Y.left!==(P==null?void 0:P.rect.left)||Y.width!==(P==null?void 0:P.rect.width))&&L({offset:j,rect:Y})}},[o,c,I,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);Hl(function(){k()},[k]);var N=H.useCallback(function(){typeof h.current=="function"&&(h.current(),h.current=null),o&&f.current&&(h.current=e1(o,f.current,k,{elementResize:"ResizeObserver"in window}))},[o,k]);Hl(function(){N()},[N]);var X=H.useCallback(function(Y){f.current=Y,N()},[N]);if(!r&&c!=="fixed"||!P)return null;var R=ce.jsx("div",me({ref:X},mt(de(de({},t),{},{offset:P.offset,position:c,rect:P.rect}),"menuPortal",{"menu-portal":!0}),l),u);return ce.jsx(nh.Provider,{value:S},r?Hs.createPortal(R,r):R)},T1=function(t){var r=t.isDisabled,u=t.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},_1=function(t){var r=t.children,u=t.innerProps,o=t.isDisabled,l=t.isRtl;return ce.jsx("div",me({},mt(t,"container",{"--is-disabled":o,"--is-rtl":l}),u),r)},B1=function(t,r){var u=t.theme.spacing,o=t.isMulti,l=t.hasValue,a=t.selectProps.controlShouldRenderValue;return de({alignItems:"center",display:o&&l&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},G1=function(t){var r=t.children,u=t.innerProps,o=t.isMulti,l=t.hasValue;return ce.jsx("div",me({},mt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":l}),u),r)},R1=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},k1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"indicatorsContainer",{indicators:!0}),u),r)},ih,L1=["size"],D1=["innerProps","isRtl","size"];function M1(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var N1=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29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bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:M1},uh=function(t){var r=t.size,u=Un(t,L1);return ce.jsx("svg",me({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:N1},u))},zl=function(t){return ce.jsx(uh,me({size:20},t),ce.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},oh=function(t){return ce.jsx(uh,me({size:20},t),ce.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sh=function(t,r){var u=t.isFocused,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return de({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:u?a.neutral60:a.neutral20,padding:l*2,":hover":{color:u?a.neutral80:a.neutral40}})},V1=sh,W1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),r||ce.jsx(oh,null))},X1=sh,H1=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),r||ce.jsx(zl,null))},z1=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing.baseUnit,a=o.colors;return de({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:u?a.neutral10:a.neutral20,marginBottom:l*2,marginTop:l*2})},Z1=function(t){var r=t.innerProps;return ce.jsx("span",me({},r,mt(t,"indicatorSeparator",{"indicator-separator":!0})))},Y1=ce.keyframes(ih||(ih=WI([`
4
43
  0%, 80%, 100% { opacity: 0; }
5
44
  40% { opacity: 1; }
6
- `]))),md=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,s=o.colors,u=o.spacing.baseUnit;return Y({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:u*2})},ci=function(t){var n=t.delay,r=t.offset;return H.jsx("span",{css:H.css({animation:"".concat(gd," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHls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jdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},bd=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,o=i===void 0?4:i,s=rt(t,sd);return H.jsx("div",_({},Ce(Y(Y({},s),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),H.jsx(ci,{delay:0,offset:r}),H.jsx(ci,{delay:160,offset:!0}),H.jsx(ci,{delay:320,offset:!r}))},yd=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,s=o.colors,u=o.borderRadius,a=o.spacing;return Y({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},Id=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,s=t.innerProps,u=t.menuIsOpen;return H.jsx("div",_({ref:o},Ce(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),s,{"aria-disabled":r||void 0}),n)},vd=Id,Cd=["data"],xd=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},Ad=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,s=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return H.jsx("div",_({},Ce(t,"group",{group:!0}),a),H.jsx(s,_({},u,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),l),H.jsx("div",null,n))},Sd=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return Y({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},wd=function(t){var n=ss(t);n.data;var r=rt(n,Cd);return H.jsx("div",_({},Ce(t,"groupHeading",{"group-heading":!0}),r))},Ed=Ad,Fd=["innerRef","isDisabled","isHidden","inputClassName"],Pd=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,s=o.spacing,u=o.colors;return Y(Y({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},Gd),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},ys={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Gd={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Y({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ys)},kd=function(t){return Y({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ys)},Bd=function(t){var n=t.cx,r=t.value,i=ss(t),o=i.innerRef,s=i.isDisabled,u=i.isHidden,a=i.inputClassName,l=rt(i,Fd);return H.jsx("div",_({},Ce(t,"input",{"input-container":!0}),{"data-value":r||""}),H.jsx("input",_({className:n({input:!0},a),ref:o,style:kd(u),disabled:s},l)))},Od=Bd,Td=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors;return Y({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},Vd=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,s=t.cropWithEllipsis;return Y({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Rd=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors,u=t.isFocused;return Y({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Is=function(t){var n=t.children,r=t.innerProps;return H.jsx("div",r,n)},Dd=Is,Nd=Is;function Md(e){var t=e.children,n=e.innerProps;return H.jsx("div",_({role:"button"},n),t||H.jsx(li,{size:14}))}var Ld=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,s=t.isDisabled,u=t.removeProps,a=t.selectProps,l=r.Container,c=r.Label,d=r.Remove;return H.jsx(l,{data:i,innerProps:Y(Y({},Ce(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:a},H.jsx(c,{data:i,innerProps:Y({},Ce(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),H.jsx(d,{data:i,innerProps:Y(Y({},Ce(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},Xd=Ld,zd=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.theme,u=s.spacing,a=s.colors;return Y({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?a.primary:i?a.primary25:"transparent",color:r?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?a.primary:a.primary50}})},Hd=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.innerRef,u=t.innerProps;return H.jsx("div",_({},Ce(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:s,"aria-disabled":r},u),n)},Wd=Hd,Zd=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return Y({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},jd=function(t){var n=t.children,r=t.innerProps;return H.jsx("div",_({},Ce(t,"placeholder",{placeholder:!0}),r),n)},Yd=jd,Jd=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,s=i.colors;return Y({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},_d=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return H.jsx("div",_({},Ce(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Ud=_d,fr={ClearIndicator:pd,Control:vd,DropdownIndicator:cd,DownChevron:ms,CrossIcon:li,Group:Ed,GroupHeading:wd,IndicatorsContainer:id,IndicatorSeparator:hd,Input:Od,LoadingIndicator:bd,Menu:Zc,MenuList:Yc,MenuPortal:$c,LoadingMessage:Qc,NoOptionsMessage:Uc,MultiValue:Xd,MultiValueContainer:Dd,MultiValueLabel:Nd,MultiValueRemove:Md,Option:Wd,Placeholder:Yd,SelectContainer:ed,SingleValue:Ud,ValueContainer:nd},Qd=function(t){return Y(Y({},fr),t.components)},vs=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function qd(e,t){return!!(e===t||vs(e)&&vs(t))}function $d(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!qd(e[n],t[n]))return!1;return!0}function Kd(e,t){t===void 0&&(t=$d);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}function ep(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var tp=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:ep},np=function(t){return H.jsx("span",_({css:tp},t))},Cs=np,rp={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,o=t.context,s=t.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,o=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,s=o===void 0?"":o,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(m,I){return m&&m.length?"".concat(m.indexOf(I)+1," of ").concat(m.length):""};if(n==="value"&&u)return"value ".concat(s," focused, ").concat(d(u,r),".");if(n==="menu"&&c){var f=a?" disabled":"",p="".concat(l?" selected":"").concat(f);return"".concat(s).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},ip=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,s=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,p=a.inputValue,y=a.isMulti,m=a.isOptionDisabled,I=a.isSearchable,v=a.menuIsOpen,E=a.options,S=a.screenReaderStatus,w=a.tabSelectsValue,P=a.isLoading,A=a["aria-label"],T=a["aria-live"],k=O.useMemo(function(){return Y(Y({},rp),d||{})},[d]),V=O.useMemo(function(){var W="";if(n&&k.onChange){var K=n.option,ce=n.options,ge=n.removedValue,j=n.removedValues,g=n.value,J=function(me){return Array.isArray(me)?null:me},U=ge||K||J(g),b=U?f(U):"",he=ce||j||void 0,re=he?he.map(f):[],de=Y({isDisabled:U&&m(U,u),label:b,labels:re},n);W=k.onChange(de)}return W},[n,k,m,u,f]),Z=O.useMemo(function(){var W="",K=r||i,ce=!!(r&&u&&u.includes(r));if(K&&k.onFocus){var ge={focused:K,label:f(K),isDisabled:m(K,u),isSelected:ce,options:o,context:K===r?"menu":"value",selectValue:u,isAppleDevice:c};W=k.onFocus(ge)}return W},[r,i,f,m,k,o,u,c]),M=O.useMemo(function(){var W="";if(v&&E.length&&!P&&k.onFilter){var K=S({count:o.length});W=k.onFilter({inputValue:p,resultsMessage:K})}return W},[o,p,v,k,E,S,P]),B=(n==null?void 0:n.action)==="initial-input-focus",te=O.useMemo(function(){var W="";if(k.guidance){var K=i?"value":v?"menu":"input";W=k.guidance({"aria-label":A,context:K,isDisabled:r&&m(r,u),isMulti:y,isSearchable:I,tabSelectsValue:w,isInitialFocus:B})}return W},[A,r,i,y,m,I,v,k,u,w,B]),oe=H.jsx(O.Fragment,null,H.jsx("span",{id:"aria-selection"},V),H.jsx("span",{id:"aria-focused"},Z),H.jsx("span",{id:"aria-results"},M),H.jsx("span",{id:"aria-guidance"},te));return H.jsx(O.Fragment,null,H.jsx(Cs,{id:l},B&&oe),H.jsx(Cs,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!B&&oe))},op=ip,di=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],sp=new RegExp("["+di.map(function(e){return e.letters}).join("")+"]","g"),xs={},pi=0;pi<di.length;pi++)for(var fi=di[pi],hi=0;hi<fi.letters.length;hi++)xs[fi.letters[hi]]=fi.base;var As=function(t){return t.replace(sp,function(n){return xs[n]})},up=Kd(As),Ss=function(t){return t.replace(/^\s+|\s+$/g,"")},ap=function(t){return"".concat(t.label," ").concat(t.value)},lp=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Y({ignoreCase:!0,ignoreAccents:!0,stringify:ap,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,s=i.ignoreAccents,u=i.stringify,a=i.trim,l=i.matchFrom,c=a?Ss(r):r,d=a?Ss(u(n)):u(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=up(c),d=As(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},cp=["innerRef"];function dp(e){var t=e.innerRef,n=rt(e,cp),r=Dc(n,"onExited","in","enter","exit","appear");return H.jsx("input",_({ref:t},r,{css:H.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var pp=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function fp(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=O.useRef(!1),u=O.useRef(!1),a=O.useRef(0),l=O.useRef(null),c=O.useCallback(function(I,v){if(l.current!==null){var E=l.current,S=E.scrollTop,w=E.scrollHeight,P=E.clientHeight,A=l.current,T=v>0,k=w-P-S,V=!1;k>v&&s.current&&(r&&r(I),s.current=!1),T&&u.current&&(o&&o(I),u.current=!1),T&&v>k?(n&&!s.current&&n(I),A.scrollTop=w,V=!0,s.current=!0):!T&&-v>S&&(i&&!u.current&&i(I),A.scrollTop=0,V=!0,u.current=!0),V&&pp(I)}},[n,r,i,o]),d=O.useCallback(function(I){c(I,I.deltaY)},[c]),f=O.useCallback(function(I){a.current=I.changedTouches[0].clientY},[]),p=O.useCallback(function(I){var v=a.current-I.changedTouches[0].clientY;c(I,v)},[c]),y=O.useCallback(function(I){if(I){var v=Tc?{passive:!1}:!1;I.addEventListener("wheel",d,v),I.addEventListener("touchstart",f,v),I.addEventListener("touchmove",p,v)}},[p,f,d]),m=O.useCallback(function(I){I&&(I.removeEventListener("wheel",d,!1),I.removeEventListener("touchstart",f,!1),I.removeEventListener("touchmove",p,!1))},[p,f,d]);return O.useEffect(function(){if(t){var I=l.current;return y(I),function(){m(I)}}},[t,y,m]),function(I){l.current=I}}var ws=["boxSizing","height","overflow","paddingRight","position"],Es={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Fs(e){e.cancelable&&e.preventDefault()}function Ps(e){e.stopPropagation()}function Gs(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ks(){return"ontouchstart"in window||navigator.maxTouchPoints}var Bs=!!(typeof window<"u"&&window.document&&window.document.createElement),Tn=0,on={capture:!1,passive:!1};function hp(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=O.useRef({}),o=O.useRef(null),s=O.useCallback(function(a){if(Bs){var l=document.body,c=l&&l.style;if(r&&ws.forEach(function(y){var m=c&&c[y];i.current[y]=m}),r&&Tn<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(Es).forEach(function(y){var m=Es[y];c&&(c[y]=m)}),c&&(c.paddingRight="".concat(p,"px"))}l&&ks()&&(l.addEventListener("touchmove",Fs,on),a&&(a.addEventListener("touchstart",Gs,on),a.addEventListener("touchmove",Ps,on))),Tn+=1}},[r]),u=O.useCallback(function(a){if(Bs){var l=document.body,c=l&&l.style;Tn=Math.max(Tn-1,0),r&&Tn<1&&ws.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),l&&ks()&&(l.removeEventListener("touchmove",Fs,on),a&&(a.removeEventListener("touchstart",Gs,on),a.removeEventListener("touchmove",Ps,on)))}},[r]);return O.useEffect(function(){if(t){var a=o.current;return s(a),function(){u(a)}}},[t,s,u]),function(a){o.current=a}}function gp(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var mp=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},bp=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7X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toString:gp};function yp(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=fp({isEnabled:i,onBottomArrive:o,onBottomLeave:s,onTopArrive:u,onTopLeave:a}),c=hp({isEnabled:n}),d=function(p){l(p),c(p)};return H.jsx(O.Fragment,null,n&&H.jsx("div",{onClick:mp,css:bp}),t(d))}function Ip(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var vp=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Ip},Cp=function(t){var n=t.name,r=t.onFocus;return H.jsx("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:vp,value:"",onChange:function(){}})},xp=Cp;function gi(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Ap(){return gi(/^iPhone/i)}function Os(){return gi(/^Mac/i)}function Sp(){return gi(/^iPad/i)||Os()&&navigator.maxTouchPoints>1}function wp(){return Ap()||Sp()}function Ep(){return Os()||wp()}var Fp=function(t){return t.label},Ts=function(t){return t.label},Vs=function(t){return t.value},Pp=function(t){return!!t.isDisabled},Gp={clearIndicator:dd,container:Kc,control:yd,dropdownIndicator:ld,group:xd,groupHeading:Sd,indicatorsContainer:rd,indicatorSeparator:fd,input:Pd,loadingIndicator:md,loadingMessage:_c,menu:zc,menuList:jc,menuPortal:qc,multiValue:Td,multiValueLabel:Vd,multiValueRemove:Rd,noOptionsMessage:Jc,option:zd,placeholder:Zd,singleValue:Jd,valueContainer:td};function kp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Y({},e);return Object.keys(t).forEach(function(r){var i=r;e[i]?n[i]=function(o,s){return t[i](e[i](o,s),s)}:n[i]=t[i]}),n}var Bp={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Op=4,Rs=4,Tp=38,Vp=Rs*2,Rp={baseUnit:Rs,controlHeight:Tp,menuGutter:Vp},Vn={borderRadius:Op,colors:Bp,spacing:Rp},Dp={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ls(),captureMenuScroll:!ls(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:lp(),formatGroupLabel:Fp,getOptionLabel:Ts,getOptionValue:Vs,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Pp,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Bc(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Ds(e,t,n,r){var i=zs(e,t,n),o=Hs(e,t,n),s=Xs(e,t),u=gr(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:s,value:u,index:r}}function hr(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,u){return Ds(e,s,t,u)}).filter(function(s){return Ls(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Ds(e,n,t,r);return Ls(e,o)?o:void 0}).filter(Vc)}function Ns(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,rn(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Ms(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,rn(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function Np(e,t){return Ns(hr(e,t))}function Ls(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,s=t.label,u=t.value;return(!Zs(e)||!o)&&Ws(e,{label:s,value:u,data:i},r)}function Mp(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function Lp(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var mi=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},Xs=function(t,n){return t.getOptionLabel(n)},gr=function(t,n){return t.getOptionValue(n)};function zs(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Hs(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=gr(e,t);return n.some(function(i){return gr(e,i)===r})}function Ws(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Zs=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Xp=1,bi=function(e){rc(n,e);var t=sc(n);function n(r){var i;if(tc(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=Ep(),i.controlRef=null,i.getControlRef=function(a){i.controlRef=a},i.focusedOptionRef=null,i.getFocusedOptionRef=function(a){i.focusedOptionRef=a},i.menuListRef=null,i.getMenuListRef=function(a){i.menuListRef=a},i.inputRef=null,i.getInputRef=function(a){i.inputRef=a},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(a,l){var c=i.props,d=c.onChange,f=c.name;l.name=f,i.ariaOnChange(a,l),d(a,l)},i.setValue=function(a,l,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,y=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:y}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(a,{action:l,option:c})},i.selectOption=function(a){var l=i.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=i.state.selectValue,y=d&&i.isOptionSelected(a,p),m=i.isOptionDisabled(a,p);if(y){var I=i.getOptionValue(a);i.setValue(p.filter(function(v){return i.getOptionValue(v)!==I}),"deselect-option",a)}else if(!m)d?i.setValue([].concat(rn(p),[a]),"select-option",a):i.setValue(a,"select-option");else{i.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&i.blurInput()},i.removeValue=function(a){var l=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(a),f=c.filter(function(y){return i.getOptionValue(y)!==d}),p=On(l,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:a}),i.focusInput()},i.clearValue=function(){var a=i.state.selectValue;i.onChange(On(i.props.isMulti,[],null),{action:"clear",removedValues:a})},i.popValue=function(){var a=i.props.isMulti,l=i.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=On(a,d,d[0]||null);c&&i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(a){return mi(i.state.focusableOptionsWithIds,a)},i.getFocusableOptionsWithIds=function(){return Ms(hr(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Ec.apply(void 0,[i.props.classNamePrefix].concat(l))},i.getOptionLabel=function(a){return Xs(i.props,a)},i.getOptionValue=function(a){return gr(i.props,a)},i.getStyles=function(a,l){var c=i.props.unstyled,d=Gp[a](l,c);d.boxSizing="border-box";var f=i.props.styles[a];return f?f(d,l):d},i.getClassNames=function(a,l){var c,d;return(c=(d=i.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},i.getElementId=function(a){return"".concat(i.state.instancePrefix,"-").concat(a)},i.getComponents=function(){return Qd(i.props)},i.buildCategorizedOptions=function(){return hr(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Ns(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(a,l){i.setState({ariaSelection:Y({value:a},l)})},i.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(a){i.blockOptionHover=!1},i.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&i.onMenuClose():l&&i.openMenu("first"):(l&&(i.openAfterFocus=!0),i.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},i.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!i.props.isDisabled){var l=i.props,c=l.isMulti,d=l.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),a.preventDefault()}},i.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(i.clearValue(),a.preventDefault(),i.openAfterFocus=!1,a.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(a){typeof i.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&lr(a.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(a)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),f=Math.abs(c.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(a){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(a.target)&&i.menuListRef&&!i.menuListRef.contains(a.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(a){i.userIsDragging||i.onControlMouseDown(a)},i.onClearIndicatorTouchEnd=function(a){i.userIsDragging||i.onClearIndicatorMouseDown(a)},i.onDropdownIndicatorTouchEnd=function(a){i.userIsDragging||i.onDropdownIndicatorMouseDown(a)},i.handleInputChange=function(a){var l=i.props.inputValue,c=a.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:l}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(a){i.props.onFocus&&i.props.onFocus(a),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(a){var l=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(a),i.onInputChange("",{action:"input-blur",prevInputValue:l}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(a){if(!(i.blockOptionHover||i.state.focusedOption===a)){var l=i.getFocusableOptions(),c=l.indexOf(a);i.setState({focusedOption:a,focusedOptionId:c>-1?i.getFocusedOptionId(a):null})}},i.shouldHideSelectedOptions=function(){return Zs(i.props)},i.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),i.focus()},i.onKeyDown=function(a){var l=i.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,y=l.isClearable,m=l.isDisabled,I=l.menuIsOpen,v=l.onKeyDown,E=l.tabSelectsValue,S=l.openMenuOnFocus,w=i.state,P=w.focusedOption,A=w.focusedValue,T=w.selectValue;if(!m&&!(typeof v=="function"&&(v(a),a.defaultPrevented))){switch(i.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(A)i.removeValue(A);else{if(!d)return;c?i.popValue():y&&i.clearValue()}break;case"Tab":if(i.isComposing||a.shiftKey||!I||!E||!P||S&&i.isOptionSelected(P,T))return;i.selectOption(P);break;case"Enter":if(a.keyCode===229)break;if(I){if(!P||i.isComposing)return;i.selectOption(P);break}return;case"Escape":I?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):y&&f&&i.clearValue();break;case" ":if(p)return;if(!I){i.openMenu("first");break}if(!P)return;i.selectOption(P);break;case"ArrowUp":I?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":I?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!I)return;i.focusOption("pageup");break;case"PageDown":if(!I)return;i.focusOption("pagedown");break;case"Home":if(!I)return;i.focusOption("first");break;case"End":if(!I)return;i.focusOption("last");break;default:return}a.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Xp),i.state.selectValue=ar(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),u=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=s[u],i.state.focusedOptionId=mi(o,s[u])}return i}return nc(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&as(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isDisabled,u=o.menuIsOpen,a=this.state.isFocused;(a&&!s&&i.isDisabled||a&&u&&!i.menuIsOpen)&&this.focusInput(),a&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(as(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,s=this.state,u=s.selectValue,a=s.isFocused,l=this.buildFocusableOptions(),c=i==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,s=o.selectValue,u=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(u);u||(a=-1);var l=s.length-1,c=-1;if(s.length){switch(i){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(s);s||(l=-1),i==="up"?a=l>0?l-1:u.length-1:i==="down"?a=(l+1)%u.length:i==="pageup"?(a=l-o,a<0&&(a=0)):i==="pagedown"?(a=l+o,a>u.length-1&&(a=u.length-1)):i==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Vn):Y(Y({},Vn),this.props.theme):Vn}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,s=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,y=d.options,m=this.hasValue();return{clearValue:i,cx:o,getStyles:s,getClassNames:u,getValue:a,hasValue:m,isMulti:f,isRtl:p,options:y,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,s=i.isMulti;return o===void 0?s:o}},{key:"isOptionDisabled",value:function(i,o){return zs(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return Hs(this.props,i,o)}},{key:"filterOption",value:function(i,o){return Ws(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:s,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,o=i.isDisabled,s=i.isSearchable,u=i.inputId,a=i.inputValue,l=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),y=p.Input,m=this.state,I=m.inputIsHidden,v=m.ariaSelection,E=this.commonProps,S=u||this.getElementId("input"),w=Y(Y(Y({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?(v==null?void 0:v.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?ee.createElement(y,_({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:o,isHidden:I,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},w)):ee.createElement(dp,_({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ur,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},w))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),s=o.MultiValue,u=o.MultiValueContainer,a=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,f=this.commonProps,p=this.props,y=p.controlShouldRenderValue,m=p.isDisabled,I=p.isMulti,v=p.inputValue,E=p.placeholder,S=this.state,w=S.selectValue,P=S.focusedValue,A=S.isFocused;if(!this.hasValue()||!y)return v?null:ee.createElement(d,_({},f,{key:"placeholder",isDisabled:m,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),E);if(I)return w.map(function(k,V){var Z=k===P,M="".concat(i.getOptionLabel(k),"-").concat(i.getOptionValue(k));return ee.createElement(s,_({},f,{components:{Container:u,Label:a,Remove:l},isFocused:Z,isDisabled:m,key:M,index:V,removeProps:{onClick:function(){return i.removeValue(k)},onTouchEnd:function(){return i.removeValue(k)},onMouseDown:function(te){te.preventDefault()}},data:k}),i.formatOptionLabel(k,"value"))});if(v)return null;var T=w[0];return ee.createElement(c,_({},f,{data:T,isDisabled:m}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ee.createElement(o,_({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return ee.createElement(o,_({},s,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,s=i.IndicatorSeparator;if(!o||!s)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return ee.createElement(s,_({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var s=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ee.createElement(o,_({},s,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),s=o.Group,u=o.GroupHeading,a=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,f=o.NoOptionsMessage,p=o.Option,y=this.commonProps,m=this.state.focusedOption,I=this.props,v=I.captureMenuScroll,E=I.inputValue,S=I.isLoading,w=I.loadingMessage,P=I.minMenuHeight,A=I.maxMenuHeight,T=I.menuIsOpen,k=I.menuPlacement,V=I.menuPosition,Z=I.menuPortalTarget,M=I.menuShouldBlockScroll,B=I.menuShouldScrollIntoView,te=I.noOptionsMessage,oe=I.onMenuScrollToTop,W=I.onMenuScrollToBottom;if(!T)return null;var K=function(b,he){var re=b.type,de=b.data,ke=b.isDisabled,me=b.isSelected,Me=b.label,Ke=b.value,dt=m===de,kt=ke?void 0:function(){return i.onOptionHover(de)},Sn=ke?void 0:function(){return i.selectOption(de)},_t="".concat(i.getElementId("option"),"-").concat(he),wn={id:_t,onClick:Sn,onMouseMove:kt,onMouseOver:kt,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:me};return ee.createElement(p,_({},y,{innerProps:wn,data:de,isDisabled:ke,isSelected:me,key:_t,label:Me,type:re,value:Ke,isFocused:dt,innerRef:dt?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(b.data,"menu"))},ce;if(this.hasOptions())ce=this.getCategorizedOptions().map(function(U){if(U.type==="group"){var b=U.data,he=U.options,re=U.index,de="".concat(i.getElementId("group"),"-").concat(re),ke="".concat(de,"-heading");return ee.createElement(s,_({},y,{key:de,data:b,options:he,Heading:u,headingProps:{id:ke,data:U.data},label:i.formatGroupLabel(U.data)}),U.options.map(function(me){return K(me,"".concat(re,"-").concat(me.index))}))}else if(U.type==="option")return K(U,"".concat(U.index))});else if(S){var ge=w({inputValue:E});if(ge===null)return null;ce=ee.createElement(d,y,ge)}else{var j=te({inputValue:E});if(j===null)return null;ce=ee.createElement(f,y,j)}var g={minMenuHeight:P,maxMenuHeight:A,menuPlacement:k,menuPosition:V,menuShouldScrollIntoView:B},J=ee.createElement(Hc,_({},y,g),function(U){var b=U.ref,he=U.placerProps,re=he.placement,de=he.maxHeight;return ee.createElement(a,_({},y,g,{innerRef:b,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:S,placement:re}),ee.createElement(yp,{captureEnabled:v,onTopArrive:oe,onBottomArrive:W,lockEnabled:M},function(ke){return ee.createElement(l,_({},y,{innerRef:function(Me){i.getMenuListRef(Me),ke(Me)},innerProps:{role:"listbox","aria-multiselectable":y.isMulti,id:i.getElementId("listbox")},isLoading:S,maxHeight:de,focusedOption:m}),ce)}))});return Z||V==="fixed"?ee.createElement(c,_({},y,{appendTo:Z,controlElement:this.controlRef,menuPlacement:k,menuPosition:V}),J):J}},{key:"renderFormField",value:function(){var i=this,o=this.props,s=o.delimiter,u=o.isDisabled,a=o.isMulti,l=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return ee.createElement(xp,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(s){var f=d.map(function(m){return i.getOptionValue(m)}).join(s);return ee.createElement("input",{name:l,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(m,I){return ee.createElement("input",{key:"i-".concat(I),name:l,type:"hidden",value:i.getOptionValue(m)})}):ee.createElement("input",{name:l,type:"hidden",value:""});return ee.createElement("div",null,p)}else{var y=d[0]?this.getOptionValue(d[0]):"";return ee.createElement("input",{name:l,type:"hidden",value:y})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,s=o.ariaSelection,u=o.focusedOption,a=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return ee.createElement(op,_({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,s=i.IndicatorsContainer,u=i.SelectContainer,a=i.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,p=l.menuIsOpen,y=this.state.isFocused,m=this.commonProps=this.getCommonProps();return ee.createElement(u,_({},m,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:y}),this.renderLiveRegion(),ee.createElement(o,_({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:y,menuIsOpen:p}),ee.createElement(a,_({},m,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),ee.createElement(s,_({},m,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var s=o.prevProps,u=o.clearFocusValueOnUpdate,a=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,f=o.instancePrefix,p=i.options,y=i.value,m=i.menuIsOpen,I=i.inputValue,v=i.isMulti,E=ar(y),S={};if(s&&(y!==s.value||p!==s.options||m!==s.menuIsOpen||I!==s.inputValue)){var w=m?Np(i,E):[],P=m?Ms(hr(i,E),"".concat(f,"-option")):[],A=u?Mp(o,E):null,T=Lp(o,w),k=mi(P,T);S={selectValue:E,focusedOption:T,focusedOptionId:k,focusableOptionsWithIds:P,focusedValue:A,clearFocusValueOnUpdate:!1}}var V=a!=null&&i!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},Z=l,M=c&&d;return c&&!M&&(Z={value:On(v,E,E[0]||null),options:E,action:"initial-input-focus"},M=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(Z=null),Y(Y(Y({},S),V),{},{prevProps:i,ariaSelection:Z,prevWasFocused:M})}}]),n}(O.Component);bi.defaultProps=Dp;var zp=O.forwardRef(function(e,t){var n=Uo(e);return ee.createElement(bi,_({ref:t},n))}),mr=zp;const Hp=Vn,br={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},js={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Ys(e){if(!e)return Vn;const t=typeof e=="function"?e(br):e,{colors:n,spacing:r,borderRadius:i}=yr(Hp,t);return{borderRadius:i,colors:n,spacing:r}}function yr(e,...t){const n={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const r of t)r&&(n.borderRadius=r.borderRadius??n.borderRadius,Object.assign(n.boxShadow,r.boxShadow),Object.assign(n.colors,r.colors),Object.assign(n.spacing,r.spacing));return n}function yy(){}function Iy(){}function Wp(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Zp=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jp=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yp={};function Js(e,t){return(Yp.jsx?jp:Zp).test(e)}const Jp=/[ \t\n\f\r]/g;function _p(e){return typeof e=="object"?e.type==="text"?_s(e.value):!1:_s(e)}function _s(e){return e.replace(Jp,"")===""}class Rn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Rn.prototype.property={},Rn.prototype.normal={},Rn.prototype.space=null;function Us(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Rn(n,r,t)}function yi(e){return e.toLowerCase()}class Ye{constructor(t,n){this.property=t,this.attribute=n}}Ye.prototype.space=null,Ye.prototype.boolean=!1,Ye.prototype.booleanish=!1,Ye.prototype.overloadedBoolean=!1,Ye.prototype.number=!1,Ye.prototype.commaSeparated=!1,Ye.prototype.spaceSeparated=!1,Ye.prototype.commaOrSpaceSeparated=!1,Ye.prototype.mustUseProperty=!1,Ye.prototype.defined=!1;let Up=0;const ne=Mt(),Se=Mt(),Qs=Mt(),R=Mt(),be=Mt(),sn=Mt(),Xe=Mt();function Mt(){return 2**++Up}const Ii=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:Se,commaOrSpaceSeparated:Xe,commaSeparated:sn,number:R,overloadedBoolean:Qs,spaceSeparated:be},Symbol.toStringTag,{value:"Module"})),vi=Object.keys(Ii);class Ci extends Ye{constructor(t,n,r,i){let o=-1;if(super(t,n),qs(this,"space",i),typeof r=="number")for(;++o<vi.length;){const s=vi[o];qs(this,vi[o],(r&Ii[s])===Ii[s])}}}Ci.prototype.defined=!0;function qs(e,t,n){n&&(e[t]=n)}const Qp={}.hasOwnProperty;function un(e){const t={},n={};let r;for(r in e.properties)if(Qp.call(e.properties,r)){const i=e.properties[r],o=new Ci(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[yi(r)]=r,n[yi(o.attribute)]=r}return new Rn(t,n,e.space)}const $s=un({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ks=un({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function eu(e,t){return t in e?e[t]:t}function tu(e,t){return eu(e,t.toLowerCase())}const nu=un({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tu,properties:{xmlns:null,xmlnsXLink:null}}),ru=un({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Se,ariaAutoComplete:null,ariaBusy:Se,ariaChecked:Se,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:be,ariaCurrent:null,ariaDescribedBy:be,ariaDetails:null,ariaDisabled:Se,ariaDropEffect:be,ariaErrorMessage:null,ariaExpanded:Se,ariaFlowTo:be,ariaGrabbed:Se,ariaHasPopup:null,ariaHidden:Se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:be,ariaLevel:R,ariaLive:null,ariaModal:Se,ariaMultiLine:Se,ariaMultiSelectable:Se,ariaOrientation:null,ariaOwns:be,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:Se,ariaReadOnly:Se,ariaRelevant:null,ariaRequired:Se,ariaRoleDescription:be,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:Se,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null}}),qp=un({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sn,acceptCharset:be,accessKey:be,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:be,autoFocus:ne,autoPlay:ne,blocking:be,capture:null,charSet:null,checked:ne,cite:null,className:be,cols:R,colSpan:null,content:null,contentEditable:Se,controls:ne,controlsList:be,coords:R|sn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:Qs,draggable:Se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:be,height:R,hidden:ne,high:R,href:null,hrefLang:null,htmlFor:be,httpEquiv:be,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:be,itemRef:be,itemScope:ne,itemType:be,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,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:ne,optimum:R,pattern:null,ping:be,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:be,required:ne,reversed:ne,rows:R,rowSpan:R,sandbox:be,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:Se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:ne,useMap:null,value:Se,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:be,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:Se,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ne,disableRemotePlayback:ne,prefix:null,property:null,results:R,security:null,unselectable:null}}),$p=un({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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"},transform:eu,properties:{about:Xe,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:be,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:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:ne,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,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:sn,g2:sn,glyphName:sn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Xe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,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:R,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:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:be,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xe,rev:Xe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xe,requiredFeatures:Xe,requiredFonts:Xe,requiredFormats:Xe,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:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Xe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xe,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Kp=/^data[-\w.:]+$/i,iu=/-[a-z]/g,ef=/[A-Z]/g;function tf(e,t){const n=yi(t);let r=t,i=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Kp.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(iu,rf);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!iu.test(o)){let s=o.replace(ef,nf);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Ci}return new i(r,t)}function nf(e){return"-"+e.toLowerCase()}function rf(e){return e.charAt(1).toUpperCase()}const of={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"},sf=Us([Ks,$s,nu,ru,qp],"html"),xi=Us([Ks,$s,nu,ru,$p],"svg");function uf(e){return e.join(" ").trim()}var ou={},su=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,af=/\n/g,lf=/^\s*/,cf=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,df=/^:\s*/,pf=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ff=/^[;\s]*/,hf=/^\s+|\s+$/g,gf=`
7
- `,uu="/",au="*",Lt="",mf="comment",bf="declaration",yf=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(y){var m=y.match(af);m&&(n+=m.length);var I=y.lastIndexOf(gf);r=~I?y.length-I:r+y.length}function o(){var y={line:n,column:r};return function(m){return m.position=new s(y),l(),m}}function s(y){this.start=y,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function u(y){var m=new Error(t.source+":"+n+":"+r+": "+y);if(m.reason=y,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function a(y){var m=y.exec(e);if(m){var I=m[0];return i(I),e=e.slice(I.length),m}}function l(){a(lf)}function c(y){var m;for(y=y||[];m=d();)m!==!1&&y.push(m);return y}function d(){var y=o();if(!(uu!=e.charAt(0)||au!=e.charAt(1))){for(var m=2;Lt!=e.charAt(m)&&(au!=e.charAt(m)||uu!=e.charAt(m+1));)++m;if(m+=2,Lt===e.charAt(m-1))return u("End of comment missing");var I=e.slice(2,m-2);return r+=2,i(I),e=e.slice(m),r+=2,y({type:mf,comment:I})}}function f(){var y=o(),m=a(cf);if(m){if(d(),!a(df))return u("property missing ':'");var I=a(pf),v=y({type:bf,property:lu(m[0].replace(su,Lt)),value:I?lu(I[0].replace(su,Lt)):Lt});return a(ff),v}}function p(){var y=[];c(y);for(var m;m=f();)m!==!1&&(y.push(m),c(y));return y}return l(),p()};function lu(e){return e?e.replace(hf,Lt):Lt}var If=en&&en.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ou,"__esModule",{value:!0});var cu=ou.default=Cf,vf=If(yf);function Cf(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,vf.default)(e),i=typeof t=="function";return r.forEach(function(o){if(o.type==="declaration"){var s=o.property,u=o.value;i?t(s,u,o):u&&(n=n||{},n[s]=u)}}),n}const xf=cu.default||cu,du=pu("end"),Ai=pu("start");function pu(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Af(e){const t=Ai(e),n=du(e);if(t&&n)return{start:t,end:n}}function Dn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fu(e.position):"start"in e||"end"in e?fu(e):"line"in e||"column"in e?Si(e):""}function Si(e){return hu(e&&e.line)+":"+hu(e&&e.column)}function fu(e){return Si(e&&e.start)+"-"+Si(e&&e.end)}function hu(e){return e&&typeof e=="number"?e:1}class Pe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?o.ruleId=r:(o.source=r.slice(0,a),o.ruleId=r.slice(a+1))}if(!o.place&&o.ancestors&&o.ancestors){const a=o.ancestors[o.ancestors.length-1];a&&(o.place=a.position)}const u=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=u?u.line:void 0,this.name=Dn(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Pe.prototype.file="",Pe.prototype.name="",Pe.prototype.reason="",Pe.prototype.message="",Pe.prototype.stack="",Pe.prototype.column=void 0,Pe.prototype.line=void 0,Pe.prototype.ancestors=void 0,Pe.prototype.cause=void 0,Pe.prototype.fatal=void 0,Pe.prototype.place=void 0,Pe.prototype.ruleId=void 0,Pe.prototype.source=void 0;const wi={}.hasOwnProperty,Sf=new Map,wf=/[A-Z]/g,Ef=/-([a-z])/g,Ff=new Set(["table","tbody","thead","tfoot","tr"]),Pf=new Set(["td","th"]),gu="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Gf(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Nf(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Df(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?xi:sf,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=mu(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function mu(e,t,n){if(t.type==="element")return kf(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Bf(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Tf(e,t,n);if(t.type==="mdxjsEsm")return Of(e,t);if(t.type==="root")return Vf(e,t,n);if(t.type==="text")return Rf(e,t)}function kf(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=xi,e.schema=i),e.ancestors.push(t);const o=yu(e,t.tagName,!1),s=Mf(e,t);let u=Fi(e,t);return Ff.has(t.tagName)&&(u=u.filter(function(a){return typeof a=="string"?!_p(a):!0})),bu(e,s,o,t),Ei(s,u),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function Bf(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Nn(e,t.position)}function Of(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Nn(e,t.position)}function Tf(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=xi,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:yu(e,t.name,!0),s=Lf(e,t),u=Fi(e,t);return bu(e,s,o,t),Ei(s,u),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function Vf(e,t,n){const r={};return Ei(r,Fi(e,t)),e.create(t,e.Fragment,r,n)}function Rf(e,t){return t.value}function bu(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ei(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Df(e,t,n){return r;function r(i,o,s,u){const l=Array.isArray(s.children)?n:t;return u?l(o,s,u):l(o,s)}}function Nf(e,t){return n;function n(r,i,o,s){const u=Array.isArray(o.children),a=Ai(r);return t(i,o,s,u,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function Mf(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&wi.call(t.properties,i)){const o=Xf(e,i,t.properties[i]);if(o){const[s,u]=o;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&Pf.has(t.tagName)?r=u:n[s]=u}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Lf(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const s=o.expression;s.type;const u=s.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else Nn(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,o=e.evaluater.evaluateExpression(u.expression)}else Nn(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function Fi(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Sf;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const a=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(a){const l=i.get(a)||0;s=a+"-"+l,i.set(a,l+1)}}const u=mu(e,o,s);u!==void 0&&n.push(u)}return n}function Xf(e,t,n){const r=tf(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Wp(n):uf(n)),r.property==="style"){let i=typeof n=="object"?n:zf(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Hf(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?of[r.property]||r.property:r.attribute,n]}}function zf(e,t){const n={};try{xf(t,r)}catch(i){if(!e.ignoreInvalidStyle){const o=i,s=new Pe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=gu+"#cannot-parse-style-attribute",s}}return n;function r(i,o){let s=i;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(Ef,Zf)),n[s]=o}}function yu(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,s;for(;++o<i.length;){const u=Js(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};s=s?{type:"MemberExpression",object:s,property:u,computed:!!(o&&u.type==="Literal"),optional:!1}:u}r=s}else r=Js(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return wi.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Nn(e)}function Nn(e,t){const n=new Pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=gu+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Hf(e){const t={};let n;for(n in e)wi.call(e,n)&&(t[Wf(n)]=e[n]);return t}function Wf(e){let t=e.replace(wf,jf);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Zf(e,t){return t.toUpperCase()}function jf(e){return"-"+e.toLowerCase()}const Pi={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"]},Yf={};function Jf(e,t){const n=Yf,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Iu(e,r,i)}function Iu(e,t,n){if(_f(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return vu(e.children,t,n)}return Array.isArray(e)?vu(e,t,n):""}function vu(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Iu(e[i],t,n);return r.join("")}function _f(e){return!!(e&&typeof e=="object")}const Cu=document.createElement("i");function Gi(e){const t="&"+e+";";Cu.innerHTML=t;const n=Cu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function it(e,t,n,r){const i=e.length;let o=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function Je(e,t){return e.length>0?(it(e,e.length,0,t),e):t}const xu={}.hasOwnProperty;function Uf(e){const t={};let n=-1;for(;++n<e.length;)Qf(t,e[n]);return t}function Qf(e,t){let n;for(n in t){const i=(xu.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let s;if(o)for(s in o){xu.call(i,s)||(i[s]=[]);const u=o[s];qf(i[s],Array.isArray(u)?u:u?[u]:[])}}}function qf(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);it(e,0,0,r)}function Au(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function an(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ot=Ct(/[A-Za-z]/),ze=Ct(/[\dA-Za-z]/),$f=Ct(/[#-'*+\--9=?A-Z^-~]/);function ki(e){return e!==null&&(e<32||e===127)}const Bi=Ct(/\d/),Kf=Ct(/[\dA-Fa-f]/),eh=Ct(/[!-/:-@[-`{-~]/);function Q(e){return e!==null&&e<-2}function Re(e){return e!==null&&(e<0||e===32)}function pe(e){return e===-2||e===-1||e===32}const th=Ct(new RegExp("\\p{P}|\\p{S}","u")),nh=Ct(/\s/);function Ct(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ln(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(o===37&&ze(e.charCodeAt(n+1))&&ze(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(s=String.fromCharCode(o,u),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ye(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(a){return pe(a)?(e.enter(n),u(a)):t(a)}function u(a){return pe(a)&&o++<i?(e.consume(a),u):(e.exit(n),t(a))}}const rh={tokenize:ih};function ih(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ye(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),o(u)}function o(u){const a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Q(u)?(e.consume(u),e.exit("chunkText"),o):(e.consume(u),s)}}const oh={tokenize:sh},Su={tokenize:uh};function sh(e){const t=this,n=[];let r=0,i,o,s;return u;function u(S){if(r<n.length){const w=n[r];return t.containerState=w[1],e.attempt(w[0].continuation,a,l)(S)}return l(S)}function a(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const w=t.events.length;let P=w,A;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){A=t.events[P][1].end;break}v(r);let T=w;for(;T<t.events.length;)t.events[T][1].end={...A},T++;return it(t.events,P+1,0,t.events.slice(w)),t.events.length=T,l(S)}return u(S)}function l(S){if(r===n.length){if(!i)return f(S);if(i.currentConstruct&&i.currentConstruct.concrete)return y(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Su,c,d)(S)}function c(S){return i&&E(),v(r),f(S)}function d(S){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,y(S)}function f(S){return t.containerState={},e.attempt(Su,p,y)(S)}function p(S){return r++,n.push([t.currentConstruct,t.containerState]),f(S)}function y(S){if(S===null){i&&E(),v(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),m(S)}function m(S){if(S===null){I(e.exit("chunkFlow"),!0),v(0),e.consume(S);return}return Q(S)?(e.consume(S),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(S),m)}function I(S,w){const P=t.sliceStream(S);if(w&&P.push(null),S.previous=o,o&&(o.next=S),o=S,i.defineSkip(S.start),i.write(P),t.parser.lazy[S.start.line]){let A=i.events.length;for(;A--;)if(i.events[A][1].start.offset<s&&(!i.events[A][1].end||i.events[A][1].end.offset>s))return;const T=t.events.length;let k=T,V,Z;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){if(V){Z=t.events[k][1].end;break}V=!0}for(v(r),A=T;A<t.events.length;)t.events[A][1].end={...Z},A++;it(t.events,k+1,0,t.events.slice(T)),t.events.length=A}}function v(S){let w=n.length;for(;w-- >S;){const P=n[w];t.containerState=P[1],P[0].exit.call(t,e)}n.length=S}function E(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function uh(e,t,n){return ye(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wu(e){if(e===null||Re(e)||nh(e))return 1;if(th(e))return 2}function Oi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Ti={name:"attention",resolveAll:ah,tokenize:lh};function ah(e,t){let n=-1,r,i,o,s,u,a,l,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},f={...e[n][1].start};Eu(d,-a),Eu(f,a),s={type:a>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},u={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:a>1?"strong":"emphasis",start:{...s.start},end:{...u.end}},e[r][1].end={...s.start},e[n][1].start={...u.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Je(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Je(l,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",o,t]]),l=Je(l,Oi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Je(l,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=Je(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,it(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function lh(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=wu(r);let o;return s;function s(a){return o=a,e.enter("attentionSequence"),u(a)}function u(a){if(a===o)return e.consume(a),u;const l=e.exit("attentionSequence"),c=wu(a),d=!c||c===2&&i||n.includes(a),f=!i||i===2&&c||n.includes(r);return l._open=!!(o===42?d:d&&(i||!f)),l._close=!!(o===42?f:f&&(c||!d)),t(a)}}function Eu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ch={name:"autolink",tokenize:dh};function dh(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return ot(p)?(e.consume(p),s):p===64?n(p):l(p)}function s(p){return p===43||p===45||p===46||ze(p)?(r=1,u(p)):l(p)}function u(p){return p===58?(e.consume(p),r=0,a):(p===43||p===45||p===46||ze(p))&&r++<32?(e.consume(p),u):(r=0,l(p))}function a(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||ki(p)?n(p):(e.consume(p),a)}function l(p){return p===64?(e.consume(p),c):$f(p)?(e.consume(p),l):n(p)}function c(p){return ze(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||ze(p))&&r++<63){const y=p===45?f:d;return e.consume(p),y}return n(p)}}const Ir={partial:!0,tokenize:ph};function ph(e,t,n){return r;function r(o){return pe(o)?ye(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||Q(o)?t(o):n(o)}}const Fu={continuation:{tokenize:hh},exit:gh,name:"blockQuote",tokenize:fh};function fh(e,t,n){const r=this;return i;function i(s){if(s===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return pe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function hh(e,t,n){const r=this;return i;function i(s){return pe(s)?ye(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(Fu,t,n)(s)}}function gh(e){e.exit("blockQuote")}const Pu={name:"characterEscape",tokenize:mh};function mh(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return eh(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Gu={name:"characterReference",tokenize:bh};function bh(e,t,n){const r=this;let i=0,o,s;return u;function u(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),a}function a(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,s=ze,c(d))}function l(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=Kf,c):(e.enter("characterReferenceValue"),o=7,s=Bi,c(d))}function c(d){if(d===59&&i){const f=e.exit("characterReferenceValue");return s===ze&&!Gi(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&i++<o?(e.consume(d),c):n(d)}}const ku={partial:!0,tokenize:Ih},Bu={concrete:!0,name:"codeFenced",tokenize:yh};function yh(e,t,n){const r=this,i={partial:!0,tokenize:P};let o=0,s=0,u;return a;function a(A){return l(A)}function l(A){const T=r.events[r.events.length-1];return o=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,u=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(A)}function c(A){return A===u?(s++,e.consume(A),c):s<3?n(A):(e.exit("codeFencedFenceSequence"),pe(A)?ye(e,d,"whitespace")(A):d(A))}function d(A){return A===null||Q(A)?(e.exit("codeFencedFence"),r.interrupt?t(A):e.check(ku,m,w)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(A))}function f(A){return A===null||Q(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(A)):pe(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ye(e,p,"whitespace")(A)):A===96&&A===u?n(A):(e.consume(A),f)}function p(A){return A===null||Q(A)?d(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(A))}function y(A){return A===null||Q(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(A)):A===96&&A===u?n(A):(e.consume(A),y)}function m(A){return e.attempt(i,w,I)(A)}function I(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),v}function v(A){return o>0&&pe(A)?ye(e,E,"linePrefix",o+1)(A):E(A)}function E(A){return A===null||Q(A)?e.check(ku,m,w)(A):(e.enter("codeFlowValue"),S(A))}function S(A){return A===null||Q(A)?(e.exit("codeFlowValue"),E(A)):(e.consume(A),S)}function w(A){return e.exit("codeFenced"),t(A)}function P(A,T,k){let V=0;return Z;function Z(W){return A.enter("lineEnding"),A.consume(W),A.exit("lineEnding"),M}function M(W){return A.enter("codeFencedFence"),pe(W)?ye(A,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):B(W)}function B(W){return W===u?(A.enter("codeFencedFenceSequence"),te(W)):k(W)}function te(W){return W===u?(V++,A.consume(W),te):V>=s?(A.exit("codeFencedFenceSequence"),pe(W)?ye(A,oe,"whitespace")(W):oe(W)):k(W)}function oe(W){return W===null||Q(W)?(A.exit("codeFencedFence"),T(W)):k(W)}}}function Ih(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const Vi={name:"codeIndented",tokenize:Ch},vh={partial:!0,tokenize:xh};function Ch(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),ye(e,o,"linePrefix",5)(l)}function o(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):n(l)}function s(l){return l===null?a(l):Q(l)?e.attempt(vh,s,a)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||Q(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),u)}function a(l){return e.exit("codeIndented"),t(l)}}function xh(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):Q(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ye(e,o,"linePrefix",5)(s)}function o(s){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):Q(s)?i(s):n(s)}}const Ah={name:"codeText",previous:wh,resolve:Sh,tokenize:Eh};function Sh(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function wh(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Eh(e,t,n){let r=0,i,o;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),u(d)}function u(d){return d===96?(e.consume(d),r++,u):(e.exit("codeTextSequence"),a(d))}function a(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),a):d===96?(o=e.enter("codeTextSequence"),i=0,c(d)):Q(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(d))}function l(d){return d===null||d===32||d===96||Q(d)?(e.exit("codeTextData"),a(d)):(e.consume(d),l)}function c(d){return d===96?(e.consume(d),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(o.type="codeTextData",l(d))}}class Fh{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mn(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Mn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Mn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Mn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Mn(this.left,n.reverse())}}}function Mn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ou(e){const t={};let n=-1,r,i,o,s,u,a,l;const c=new Fh(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,o=0,o<a.length&&a[o][1].type==="lineEndingBlank"&&(o+=2),o<a.length&&a[o][1].type==="content"))for(;++o<a.length&&a[o][1].type!=="content";)a[o][1].type==="chunkText"&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Ph(c,n)),n=t[n],l=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(s=c.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=o);i&&(r[1].end={...c.get(i)[1].start},u=c.slice(i,n),u.unshift(r),c.splice(i,n-i+1,u))}}return it(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function Ph(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),u=s.events,a=[],l={};let c,d,f=-1,p=n,y=0,m=0;const I=[m];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<u.length;)u[f][0]==="exit"&&u[f-1][0]==="enter"&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,I.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),f=I.length;f--;){const v=u.slice(I[f],I[f+1]),E=o.pop();a.push([E,E+v.length-1]),e.splice(E,2,v)}for(a.reverse(),f=-1;++f<a.length;)l[y+a[f][0]]=y+a[f][1],y+=a[f][1]-a[f][0]-1;return l}const Gh={resolve:Bh,tokenize:Oh},kh={partial:!0,tokenize:Th};function Bh(e){return Ou(e),e}function Oh(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?o(u):Q(u)?e.check(kh,s,o)(u):(e.consume(u),i)}function o(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function s(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Th(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ye(e,o,"linePrefix")}function o(s){if(s===null||Q(s))return n(s);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function Tu(e,t,n,r,i,o,s,u,a){const l=a||Number.POSITIVE_INFINITY;let c=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),f):v===null||v===32||v===41||ki(v)?n(v):(e.enter(r),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(v))}function f(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(u),f(v)):v===null||v===60||Q(v)?n(v):(e.consume(v),v===92?y:p)}function y(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function m(v){return!c&&(v===null||v===41||Re(v))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(r),t(v)):c<l&&v===40?(e.consume(v),c++,m):v===41?(e.consume(v),c--,m):v===null||v===32||v===40||ki(v)?n(v):(e.consume(v),v===92?I:m)}function I(v){return v===40||v===41||v===92?(e.consume(v),m):m(v)}}function Vu(e,t,n,r,i,o){const s=this;let u=0,a;return l;function l(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),c}function c(p){return u>999||p===null||p===91||p===93&&!a||p===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):Q(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||Q(p)||u++>999?(e.exit("chunkString"),c(p)):(e.consume(p),a||(a=!pe(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),u++,d):d(p)}}function Ru(e,t,n,r,i,o){let s;return u;function u(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),s=f===40?41:f,a):n(f)}function a(f){return f===s?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(o),l(f))}function l(f){return f===s?(e.exit(o),a(s)):f===null?n(f):Q(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),ye(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===s||f===null||Q(f)?(e.exit("chunkString"),l(f)):(e.consume(f),f===92?d:c)}function d(f){return f===s||f===92?(e.consume(f),c):c(f)}}function Ln(e,t){let n;return r;function r(i){return Q(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):pe(i)?ye(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Vh={name:"definition",tokenize:Dh},Rh={partial:!0,tokenize:Nh};function Dh(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),s(p)}function s(p){return Vu.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return i=an(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a):n(p)}function a(p){return Re(p)?Ln(e,l)(p):l(p)}function l(p){return Tu(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(Rh,d,d)(p)}function d(p){return pe(p)?ye(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Q(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function Nh(e,t,n){return r;function r(u){return Re(u)?Ln(e,i)(u):n(u)}function i(u){return Ru(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function o(u){return pe(u)?ye(e,s,"whitespace")(u):s(u)}function s(u){return u===null||Q(u)?t(u):n(u)}}const Mh={name:"hardBreakEscape",tokenize:Lh};function Lh(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Q(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Xh={name:"headingAtx",resolve:zh,tokenize:Hh};function zh(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},it(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Hh(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&r++<6?(e.consume(c),s):c===null||Re(c)?(e.exit("atxHeadingSequence"),u(c)):n(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||Q(c)?(e.exit("atxHeading"),t(c)):pe(c)?ye(e,u,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),u(c))}function l(c){return c===null||c===35||Re(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),l)}}const Wh=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Du=["pre","script","style","textarea"],Zh={concrete:!0,name:"htmlFlow",resolveTo:Jh,tokenize:_h},jh={partial:!0,tokenize:Qh},Yh={partial:!0,tokenize:Uh};function Jh(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function _h(e,t,n){const r=this;let i,o,s,u,a;return l;function l(b){return c(b)}function c(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),d}function d(b){return b===33?(e.consume(b),f):b===47?(e.consume(b),o=!0,m):b===63?(e.consume(b),i=3,r.interrupt?t:g):ot(b)?(e.consume(b),s=String.fromCharCode(b),I):n(b)}function f(b){return b===45?(e.consume(b),i=2,p):b===91?(e.consume(b),i=5,u=0,y):ot(b)?(e.consume(b),i=4,r.interrupt?t:g):n(b)}function p(b){return b===45?(e.consume(b),r.interrupt?t:g):n(b)}function y(b){const he="CDATA[";return b===he.charCodeAt(u++)?(e.consume(b),u===he.length?r.interrupt?t:B:y):n(b)}function m(b){return ot(b)?(e.consume(b),s=String.fromCharCode(b),I):n(b)}function I(b){if(b===null||b===47||b===62||Re(b)){const he=b===47,re=s.toLowerCase();return!he&&!o&&Du.includes(re)?(i=1,r.interrupt?t(b):B(b)):Wh.includes(s.toLowerCase())?(i=6,he?(e.consume(b),v):r.interrupt?t(b):B(b)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):o?E(b):S(b))}return b===45||ze(b)?(e.consume(b),s+=String.fromCharCode(b),I):n(b)}function v(b){return b===62?(e.consume(b),r.interrupt?t:B):n(b)}function E(b){return pe(b)?(e.consume(b),E):Z(b)}function S(b){return b===47?(e.consume(b),Z):b===58||b===95||ot(b)?(e.consume(b),w):pe(b)?(e.consume(b),S):Z(b)}function w(b){return b===45||b===46||b===58||b===95||ze(b)?(e.consume(b),w):P(b)}function P(b){return b===61?(e.consume(b),A):pe(b)?(e.consume(b),P):S(b)}function A(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),a=b,T):pe(b)?(e.consume(b),A):k(b)}function T(b){return b===a?(e.consume(b),a=null,V):b===null||Q(b)?n(b):(e.consume(b),T)}function k(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||Re(b)?P(b):(e.consume(b),k)}function V(b){return b===47||b===62||pe(b)?S(b):n(b)}function Z(b){return b===62?(e.consume(b),M):n(b)}function M(b){return b===null||Q(b)?B(b):pe(b)?(e.consume(b),M):n(b)}function B(b){return b===45&&i===2?(e.consume(b),K):b===60&&i===1?(e.consume(b),ce):b===62&&i===4?(e.consume(b),J):b===63&&i===3?(e.consume(b),g):b===93&&i===5?(e.consume(b),j):Q(b)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(jh,U,te)(b)):b===null||Q(b)?(e.exit("htmlFlowData"),te(b)):(e.consume(b),B)}function te(b){return e.check(Yh,oe,U)(b)}function oe(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),W}function W(b){return b===null||Q(b)?te(b):(e.enter("htmlFlowData"),B(b))}function K(b){return b===45?(e.consume(b),g):B(b)}function ce(b){return b===47?(e.consume(b),s="",ge):B(b)}function ge(b){if(b===62){const he=s.toLowerCase();return Du.includes(he)?(e.consume(b),J):B(b)}return ot(b)&&s.length<8?(e.consume(b),s+=String.fromCharCode(b),ge):B(b)}function j(b){return b===93?(e.consume(b),g):B(b)}function g(b){return b===62?(e.consume(b),J):b===45&&i===2?(e.consume(b),g):B(b)}function J(b){return b===null||Q(b)?(e.exit("htmlFlowData"),U(b)):(e.consume(b),J)}function U(b){return e.exit("htmlFlow"),t(b)}}function Uh(e,t,n){const r=this;return i;function i(s){return Q(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):n(s)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Qh(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ir,t,n)}}const qh={name:"htmlText",tokenize:$h};function $h(e,t,n){const r=this;let i,o,s;return u;function u(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),a}function a(g){return g===33?(e.consume(g),l):g===47?(e.consume(g),P):g===63?(e.consume(g),S):ot(g)?(e.consume(g),k):n(g)}function l(g){return g===45?(e.consume(g),c):g===91?(e.consume(g),o=0,y):ot(g)?(e.consume(g),E):n(g)}function c(g){return g===45?(e.consume(g),p):n(g)}function d(g){return g===null?n(g):g===45?(e.consume(g),f):Q(g)?(s=d,ce(g)):(e.consume(g),d)}function f(g){return g===45?(e.consume(g),p):d(g)}function p(g){return g===62?K(g):g===45?f(g):d(g)}function y(g){const J="CDATA[";return g===J.charCodeAt(o++)?(e.consume(g),o===J.length?m:y):n(g)}function m(g){return g===null?n(g):g===93?(e.consume(g),I):Q(g)?(s=m,ce(g)):(e.consume(g),m)}function I(g){return g===93?(e.consume(g),v):m(g)}function v(g){return g===62?K(g):g===93?(e.consume(g),v):m(g)}function E(g){return g===null||g===62?K(g):Q(g)?(s=E,ce(g)):(e.consume(g),E)}function S(g){return g===null?n(g):g===63?(e.consume(g),w):Q(g)?(s=S,ce(g)):(e.consume(g),S)}function w(g){return g===62?K(g):S(g)}function P(g){return ot(g)?(e.consume(g),A):n(g)}function A(g){return g===45||ze(g)?(e.consume(g),A):T(g)}function T(g){return Q(g)?(s=T,ce(g)):pe(g)?(e.consume(g),T):K(g)}function k(g){return g===45||ze(g)?(e.consume(g),k):g===47||g===62||Re(g)?V(g):n(g)}function V(g){return g===47?(e.consume(g),K):g===58||g===95||ot(g)?(e.consume(g),Z):Q(g)?(s=V,ce(g)):pe(g)?(e.consume(g),V):K(g)}function Z(g){return g===45||g===46||g===58||g===95||ze(g)?(e.consume(g),Z):M(g)}function M(g){return g===61?(e.consume(g),B):Q(g)?(s=M,ce(g)):pe(g)?(e.consume(g),M):V(g)}function B(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,te):Q(g)?(s=B,ce(g)):pe(g)?(e.consume(g),B):(e.consume(g),oe)}function te(g){return g===i?(e.consume(g),i=void 0,W):g===null?n(g):Q(g)?(s=te,ce(g)):(e.consume(g),te)}function oe(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||Re(g)?V(g):(e.consume(g),oe)}function W(g){return g===47||g===62||Re(g)?V(g):n(g)}function K(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function ce(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ge}function ge(g){return pe(g)?ye(e,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):j(g)}function j(g){return e.enter("htmlTextData"),s(g)}}const Ri={name:"labelEnd",resolveAll:ng,resolveTo:rg,tokenize:ig},Kh={tokenize:og},eg={tokenize:sg},tg={tokenize:ug};function ng(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&it(e,0,e.length,n),e}function rg(e,t){let n=e.length,r=0,i,o,s,u;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const a={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[o][1].start},end:{...e[s][1].end}},c={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[s-2][1].start}};return u=[["enter",a,t],["enter",l,t]],u=Je(u,e.slice(o+1,o+r+3)),u=Je(u,[["enter",c,t]]),u=Je(u,Oi(t.parser.constructs.insideSpan.null,e.slice(o+r+4,s-3),t)),u=Je(u,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),u=Je(u,e.slice(s+1)),u=Je(u,[["exit",a,t]]),it(e,o,e.length,u),e}function ig(e,t,n){const r=this;let i=r.events.length,o,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return u;function u(f){return o?o._inactive?d(f):(s=r.parser.defined.includes(an(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),a):n(f)}function a(f){return f===40?e.attempt(Kh,c,s?c:d)(f):f===91?e.attempt(eg,c,s?l:d)(f):s?c(f):d(f)}function l(f){return e.attempt(tg,c,d)(f)}function c(f){return t(f)}function d(f){return o._balanced=!0,n(f)}}function og(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Re(d)?Ln(e,o)(d):o(d)}function o(d){return d===41?c(d):Tu(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Re(d)?Ln(e,a)(d):c(d)}function u(d){return n(d)}function a(d){return d===34||d===39||d===40?Ru(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function l(d){return Re(d)?Ln(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function sg(e,t,n){const r=this;return i;function i(u){return Vu.call(r,e,o,s,"reference","referenceMarker","referenceString")(u)}function o(u){return r.parser.defined.includes(an(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function s(u){return n(u)}}function ug(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const ag={name:"labelStartImage",resolveAll:Ri.resolveAll,tokenize:lg};function lg(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),o}function o(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),s):n(u)}function s(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const cg={name:"labelStartLink",resolveAll:Ri.resolveAll,tokenize:dg};function dg(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Di={name:"lineEnding",tokenize:pg};function pg(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ye(e,t,"linePrefix")}}const vr={name:"thematicBreak",tokenize:fg};function fg(e,t,n){let r=0,i;return o;function o(l){return e.enter("thematicBreak"),s(l)}function s(l){return i=l,u(l)}function u(l){return l===i?(e.enter("thematicBreakSequence"),a(l)):r>=3&&(l===null||Q(l))?(e.exit("thematicBreak"),t(l)):n(l)}function a(l){return l===i?(e.consume(l),r++,a):(e.exit("thematicBreakSequence"),pe(l)?ye(e,u,"whitespace")(l):u(l))}}const De={continuation:{tokenize:bg},exit:Ig,name:"list",tokenize:mg},hg={partial:!0,tokenize:vg},gg={partial:!0,tokenize:yg};function mg(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return u;function u(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Bi(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(vr,n,l)(p):l(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(p)}return n(p)}function a(p){return Bi(p)&&++s<10?(e.consume(p),a):(!r.interrupt||s<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Ir,r.interrupt?n:c,e.attempt(hg,f,d))}function c(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return pe(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function bg(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Ir,i,o);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ye(e,t,"listItemIndent",r.containerState.size+1)(u)}function o(u){return r.containerState.furtherBlankLines||!pe(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(gg,t,s)(u))}function s(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,ye(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function yg(e,t,n){const r=this;return ye(e,i,"listItemIndent",r.containerState.size+1);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Ig(e){e.exit(this.containerState.type)}function vg(e,t,n){const r=this;return ye(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const s=r.events[r.events.length-1];return!pe(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const Nu={name:"setextUnderline",resolveTo:Cg,tokenize:xg};function Cg(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const s={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",s,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function xg(e,t,n){const r=this;let i;return o;function o(l){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=l,s(l)):n(l)}function s(l){return e.enter("setextHeadingLineSequence"),u(l)}function u(l){return l===i?(e.consume(l),u):(e.exit("setextHeadingLineSequence"),pe(l)?ye(e,a,"lineSuffix")(l):a(l))}function a(l){return l===null||Q(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const Ag={tokenize:Sg};function Sg(e){const t=this,n=e.attempt(Ir,r,e.attempt(this.parser.constructs.flowInitial,i,ye(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Gh,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const wg={resolveAll:Lu()},Eg=Mu("string"),Fg=Mu("text");function Mu(e){return{resolveAll:Lu(e==="text"?Pg:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,s,u);return s;function s(c){return l(c)?o(c):u(c)}function u(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),a}function a(c){return l(c)?(n.exit("data"),o(c)):(n.consume(c),a)}function l(c){if(c===null)return!0;const d=i[c];let f=-1;if(d)for(;++f<d.length;){const p=d[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Lu(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Pg(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,s=-1,u=0,a;for(;o--;){const l=i[o];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(l===-2)a=!0,u++;else if(l!==-1){o++;break}}if(u){const l={type:n===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:r.start._bufferIndex+s,_index:r.start._index+o,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const Gg=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Vh},disable:{null:[]},document:{42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Fu},flow:{35:Xh,42:vr,45:[Nu,vr],60:Zh,61:Nu,95:vr,96:Bu,126:Bu},flowInitial:{[-2]:Vi,[-1]:Vi,32:Vi},insideSpan:{null:[Ti,wg]},string:{38:Gu,92:Pu},text:{[-5]:Di,[-4]:Di,[-3]:Di,33:ag,38:Gu,42:Ti,60:[ch,qh],91:cg,92:[Mh,Pu],93:Ri,95:Ti,96:Ah}},Symbol.toStringTag,{value:"Module"}));function kg(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let s=[],u=[];const a={attempt:T(P),check:T(A),consume:E,enter:S,exit:w,interrupt:T(A,{interrupt:!0})},l={code:null,containerState:{},defineSkip:m,events:[],now:y,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d};let c=t.tokenize.call(l,a);return t.resolveAll&&o.push(t),l;function d(M){return s=Je(s,M),I(),s[s.length-1]!==null?[]:(k(t,0),l.events=Oi(o,l.events,l),l.events)}function f(M,B){return Og(p(M),B)}function p(M){return Bg(s,M)}function y(){const{_bufferIndex:M,_index:B,line:te,column:oe,offset:W}=r;return{_bufferIndex:M,_index:B,line:te,column:oe,offset:W}}function m(M){i[M.line]=M.column,Z()}function I(){let M;for(;r._index<s.length;){const B=s[r._index];if(typeof B=="string")for(M=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===M&&r._bufferIndex<B.length;)v(B.charCodeAt(r._bufferIndex));else v(B)}}function v(M){c=c(M)}function E(M){Q(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,Z()):M!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=M}function S(M,B){const te=B||{};return te.type=M,te.start=y(),l.events.push(["enter",te,l]),u.push(te),te}function w(M){const B=u.pop();return B.end=y(),l.events.push(["exit",B,l]),B}function P(M,B){k(M,B.from)}function A(M,B){B.restore()}function T(M,B){return te;function te(oe,W,K){let ce,ge,j,g;return Array.isArray(oe)?U(oe):"tokenize"in oe?U([oe]):J(oe);function J(de){return ke;function ke(me){const Me=me!==null&&de[me],Ke=me!==null&&de.null,dt=[...Array.isArray(Me)?Me:Me?[Me]:[],...Array.isArray(Ke)?Ke:Ke?[Ke]:[]];return U(dt)(me)}}function U(de){return ce=de,ge=0,de.length===0?K:b(de[ge])}function b(de){return ke;function ke(me){return g=V(),j=de,de.partial||(l.currentConstruct=de),de.name&&l.parser.constructs.disable.null.includes(de.name)?re():de.tokenize.call(B?Object.assign(Object.create(l),B):l,a,he,re)(me)}}function he(de){return M(j,g),W}function re(de){return g.restore(),++ge<ce.length?b(ce[ge]):K}}}function k(M,B){M.resolveAll&&!o.includes(M)&&o.push(M),M.resolve&&it(l.events,B,l.events.length-B,M.resolve(l.events.slice(B),l)),M.resolveTo&&(l.events=M.resolveTo(l.events,l))}function V(){const M=y(),B=l.previous,te=l.currentConstruct,oe=l.events.length,W=Array.from(u);return{from:oe,restore:K};function K(){r=M,l.previous=B,l.currentConstruct=te,l.events.length=oe,u=W,Z()}}function Z(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Bg(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const u=s[0];typeof u=="string"?s[0]=u.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function Og(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
8
- `;break}case-3:{s=`\r
9
- `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(o)}i=o===-2,r.push(s)}return r.join("")}function Tg(e){const r={constructs:Uf([Gg,...(e||{}).extensions||[]]),content:i(rh),defined:[],document:i(oh),flow:i(Ag),lazy:{},string:i(Eg),text:i(Fg)};return r;function i(o){return s;function s(u){return kg(r,o,u)}}}function Vg(e){for(;!Ou(e););return e}const Xu=/[\0\t\n\r]/g;function Rg(){let e=1,t="",n=!0,r;return i;function i(o,s,u){const a=[];let l,c,d,f,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),d=0,t="",n&&(o.charCodeAt(0)===65279&&d++,n=void 0);d<o.length;){if(Xu.lastIndex=d,l=Xu.exec(o),f=l&&l.index!==void 0?l.index:o.length,p=o.charCodeAt(f),!l){t=o.slice(d);break}if(p===10&&d===f&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),d<f&&(a.push(o.slice(d,f)),e+=f-d),p){case 0:{a.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,a.push(-2);e++<c;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return u&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}const Dg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ng(e){return e.replace(Dg,Mg)}function Mg(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Au(n.slice(o?2:1),o?16:10)}return Gi(n)||e}const zu={}.hasOwnProperty;function Lg(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Xg(n)(Vg(Tg(n).document().write(Rg()(e,t,!0))))}function Xg(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Vr),autolinkProtocol:V,autolinkEmail:V,atxHeading:o(wn),blockQuote:o(Ke),characterEscape:V,characterReference:V,codeFenced:o(dt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(dt,s),codeText:o(kt,s),codeTextData:V,data:V,codeFlowValue:V,definition:o(Sn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(_t),hardBreakEscape:o(Or),hardBreakTrailing:o(Or),htmlFlow:o(Tr,s),htmlFlowData:V,htmlText:o(Tr,s),htmlTextData:V,image:o(eo),label:s,link:o(Vr),listItem:o(to),listItemValue:f,listOrdered:o(Rr,d),listUnordered:o(Rr),paragraph:o(no),reference:b,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(wn),strong:o(ro),thematicBreak:o(oo)},exit:{atxHeading:a(),atxHeadingSequence:P,autolink:a(),autolinkEmail:Me,autolinkProtocol:me,blockQuote:a(),characterEscapeValue:Z,characterReferenceMarkerHexadecimal:re,characterReferenceMarkerNumeric:re,characterReferenceValue:de,characterReference:ke,codeFenced:a(I),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:Z,codeIndented:a(v),codeText:a(W),codeTextData:Z,data:Z,definition:a(),definitionDestinationString:w,definitionLabelString:E,definitionTitleString:S,emphasis:a(),hardBreakEscape:a(B),hardBreakTrailing:a(B),htmlFlow:a(te),htmlFlowData:Z,htmlText:a(oe),htmlTextData:Z,image:a(ce),label:j,labelText:ge,lineEnding:M,link:a(K),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:he,resourceDestinationString:g,resourceTitleString:J,resource:U,setextHeading:a(k),setextHeadingLineSequence:T,setextHeadingText:A,strong:a(),thematicBreak:a()}};Hu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(F){let N={type:"root",children:[]};const q={stack:[N],tokenStack:[],config:t,enter:u,exit:l,buffer:s,resume:c,data:n},se=[];let ue=-1;for(;++ue<F.length;)if(F[ue][1].type==="listOrdered"||F[ue][1].type==="listUnordered")if(F[ue][0]==="enter")se.push(ue);else{const Le=se.pop();ue=i(F,Le,ue)}for(ue=-1;++ue<F.length;){const Le=t[F[ue][0]];zu.call(Le,F[ue][1].type)&&Le[F[ue][1].type].call(Object.assign({sliceSerialize:F[ue][2].sliceSerialize},q),F[ue][1])}if(q.tokenStack.length>0){const Le=q.tokenStack[q.tokenStack.length-1];(Le[1]||Wu).call(q,void 0,Le[0])}for(N.position={start:xt(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:xt(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)N=t.transforms[ue](N)||N;return N}function i(F,N,q){let se=N-1,ue=-1,Le=!1,pt,et,Bt,ft;for(;++se<=q;){const Be=F[se];switch(Be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Be[0]==="enter"?ue++:ue--,ft=void 0;break}case"lineEndingBlank":{Be[0]==="enter"&&(pt&&!ft&&!ue&&!Bt&&(Bt=se),ft=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ft=void 0}if(!ue&&Be[0]==="enter"&&Be[1].type==="listItemPrefix"||ue===-1&&Be[0]==="exit"&&(Be[1].type==="listUnordered"||Be[1].type==="listOrdered")){if(pt){let bt=se;for(et=void 0;bt--;){const tt=F[bt];if(tt[1].type==="lineEnding"||tt[1].type==="lineEndingBlank"){if(tt[0]==="exit")continue;et&&(F[et][1].type="lineEndingBlank",Le=!0),tt[1].type="lineEnding",et=bt}else if(!(tt[1].type==="linePrefix"||tt[1].type==="blockQuotePrefix"||tt[1].type==="blockQuotePrefixWhitespace"||tt[1].type==="blockQuoteMarker"||tt[1].type==="listItemIndent"))break}Bt&&(!et||Bt<et)&&(pt._spread=!0),pt.end=Object.assign({},et?F[et][1].start:Be[1].end),F.splice(et||se,0,["exit",pt,Be[2]]),se++,q++}if(Be[1].type==="listItemPrefix"){const bt={type:"listItem",_spread:!1,start:Object.assign({},Be[1].start),end:void 0};pt=bt,F.splice(se,0,["enter",bt,Be[2]]),se++,q++,Bt=void 0,ft=!0}}}return F[N][1]._spread=Le,q}function o(F,N){return q;function q(se){u.call(this,F(se),se),N&&N.call(this,se)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(F,N,q){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([N,q||void 0]),F.position={start:xt(N.start),end:void 0}}function a(F){return N;function N(q){F&&F.call(this,q),l.call(this,q)}}function l(F,N){const q=this.stack.pop(),se=this.tokenStack.pop();if(se)se[0].type!==F.type&&(N?N.call(this,F,se[0]):(se[1]||Wu).call(this,F,se[0]));else throw new Error("Cannot close `"+F.type+"` ("+Dn({start:F.start,end:F.end})+"): it’s not open");q.position.end=xt(F.end)}function c(){return Jf(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(F){if(this.data.expectingFirstListItemValue){const N=this.stack[this.stack.length-2];N.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function p(){const F=this.resume(),N=this.stack[this.stack.length-1];N.lang=F}function y(){const F=this.resume(),N=this.stack[this.stack.length-1];N.meta=F}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const F=this.resume(),N=this.stack[this.stack.length-1];N.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const F=this.resume(),N=this.stack[this.stack.length-1];N.value=F.replace(/(\r?\n|\r)$/g,"")}function E(F){const N=this.resume(),q=this.stack[this.stack.length-1];q.label=N,q.identifier=an(this.sliceSerialize(F)).toLowerCase()}function S(){const F=this.resume(),N=this.stack[this.stack.length-1];N.title=F}function w(){const F=this.resume(),N=this.stack[this.stack.length-1];N.url=F}function P(F){const N=this.stack[this.stack.length-1];if(!N.depth){const q=this.sliceSerialize(F).length;N.depth=q}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function T(F){const N=this.stack[this.stack.length-1];N.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function k(){this.data.setextHeadingSlurpLineEnding=void 0}function V(F){const q=this.stack[this.stack.length-1].children;let se=q[q.length-1];(!se||se.type!=="text")&&(se=io(),se.position={start:xt(F.start),end:void 0},q.push(se)),this.stack.push(se)}function Z(F){const N=this.stack.pop();N.value+=this.sliceSerialize(F),N.position.end=xt(F.end)}function M(F){const N=this.stack[this.stack.length-1];if(this.data.atHardBreak){const q=N.children[N.children.length-1];q.position.end=xt(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(N.type)&&(V.call(this,F),Z.call(this,F))}function B(){this.data.atHardBreak=!0}function te(){const F=this.resume(),N=this.stack[this.stack.length-1];N.value=F}function oe(){const F=this.resume(),N=this.stack[this.stack.length-1];N.value=F}function W(){const F=this.resume(),N=this.stack[this.stack.length-1];N.value=F}function K(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const N=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=N,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function ce(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const N=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=N,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function ge(F){const N=this.sliceSerialize(F),q=this.stack[this.stack.length-2];q.label=Ng(N),q.identifier=an(N).toLowerCase()}function j(){const F=this.stack[this.stack.length-1],N=this.resume(),q=this.stack[this.stack.length-1];if(this.data.inReference=!0,q.type==="link"){const se=F.children;q.children=se}else q.alt=N}function g(){const F=this.resume(),N=this.stack[this.stack.length-1];N.url=F}function J(){const F=this.resume(),N=this.stack[this.stack.length-1];N.title=F}function U(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function he(F){const N=this.resume(),q=this.stack[this.stack.length-1];q.label=N,q.identifier=an(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function re(F){this.data.characterReferenceType=F.type}function de(F){const N=this.sliceSerialize(F),q=this.data.characterReferenceType;let se;q?(se=Au(N,q==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):se=Gi(N);const ue=this.stack[this.stack.length-1];ue.value+=se}function ke(F){const N=this.stack.pop();N.position.end=xt(F.end)}function me(F){Z.call(this,F);const N=this.stack[this.stack.length-1];N.url=this.sliceSerialize(F)}function Me(F){Z.call(this,F);const N=this.stack[this.stack.length-1];N.url="mailto:"+this.sliceSerialize(F)}function Ke(){return{type:"blockquote",children:[]}}function dt(){return{type:"code",lang:null,meta:null,value:""}}function kt(){return{type:"inlineCode",value:""}}function Sn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function _t(){return{type:"emphasis",children:[]}}function wn(){return{type:"heading",depth:0,children:[]}}function Or(){return{type:"break"}}function Tr(){return{type:"html",value:""}}function eo(){return{type:"image",title:null,url:"",alt:null}}function Vr(){return{type:"link",title:null,url:"",children:[]}}function Rr(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function to(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function no(){return{type:"paragraph",children:[]}}function ro(){return{type:"strong",children:[]}}function io(){return{type:"text",value:""}}function oo(){return{type:"thematicBreak"}}}function xt(e){return{line:e.line,column:e.column,offset:e.offset}}function Hu(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Hu(e,r):zg(e,r)}}function zg(e,t){let n;for(n in t)if(zu.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Wu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Dn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Dn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Dn({start:t.start,end:t.end})+") is still open")}function Hg(e){const t=this;t.parser=n;function n(r){return Lg(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Wg(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Zg(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
10
- `}]}function jg(e,t){const n=t.value?t.value+`
11
- `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Yg(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jg(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _g(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=ln(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let s,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=o+1,u+=1,e.footnoteCounts.set(r,u);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function Ug(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Qg(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Zu(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function qg(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={src:ln(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function $g(e,t){const n={src:ln(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Kg(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function em(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={href:ln(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function tm(e,t){const n={href:ln(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nm(e,t,n){const r=e.all(t),i=n?rm(n):ju(t),o={},s=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const c=r[u];(i||u!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
12
- `}),c.type==="element"&&c.tagName==="p"&&!i?s.push(...c.children):s.push(c)}const a=r[r.length-1];a&&(i||a.type!=="element"||a.tagName!=="p")&&s.push({type:"text",value:`
13
- `});const l={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,l),e.applyData(t,l)}function rm(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=ju(n[r])}return t}function ju(e){const t=e.spread;return t??e.children.length>1}function im(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function om(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sm(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function um(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function am(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=Ai(t.children[1]),a=du(t.children[t.children.length-1]);u&&a&&(s.position={start:u,end:a}),i.push(s)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function lm(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,u=s?s.length:t.children.length;let a=-1;const l=[];for(;++a<u;){const d=t.children[a],f={},p=s?s[a]:void 0;p&&(f.align=p);let y={type:"element",tagName:o,properties:f,children:[]};d&&(y.children=e.all(d),e.patch(d,y),y=e.applyData(d,y)),l.push(y)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function cm(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Yu=9,Ju=32;function dm(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(_u(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(_u(t.slice(i),i>0,!1)),o.join("")}function _u(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Yu||o===Ju;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Yu||o===Ju;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function pm(e,t){const n={type:"text",value:dm(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function fm(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const hm={blockquote:Wg,break:Zg,code:jg,delete:Yg,emphasis:Jg,footnoteReference:_g,heading:Ug,html:Qg,imageReference:qg,image:$g,inlineCode:Kg,linkReference:em,link:tm,listItem:nm,list:im,paragraph:om,root:sm,strong:um,table:am,tableCell:cm,tableRow:lm,text:pm,thematicBreak:fm,toml:Cr,yaml:Cr,definition:Cr,footnoteDefinition:Cr};function Cr(){}const Uu=-1,xr=0,Ar=1,Sr=2,Ni=3,Mi=4,Li=5,Xi=6,Qu=7,qu=8,$u=typeof self=="object"?self:globalThis,gm=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,s]=t[i];switch(o){case xr:case Uu:return n(s,i);case Ar:{const u=n([],i);for(const a of s)u.push(r(a));return u}case Sr:{const u=n({},i);for(const[a,l]of s)u[r(a)]=r(l);return u}case Ni:return n(new Date(s),i);case Mi:{const{source:u,flags:a}=s;return n(new RegExp(u,a),i)}case Li:{const u=n(new Map,i);for(const[a,l]of s)u.set(r(a),r(l));return u}case Xi:{const u=n(new Set,i);for(const a of s)u.add(r(a));return u}case Qu:{const{name:u,message:a}=s;return n(new $u[u](a),i)}case qu:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new $u[o](s),i)};return r},Ku=e=>gm(new Map,e)(0),cn="",{toString:mm}={},{keys:bm}=Object,Xn=e=>{const t=typeof e;if(t!=="object"||!e)return[xr,t];const n=mm.call(e).slice(8,-1);switch(n){case"Array":return[Ar,cn];case"Object":return[Sr,cn];case"Date":return[Ni,cn];case"RegExp":return[Mi,cn];case"Map":return[Li,cn];case"Set":return[Xi,cn]}return n.includes("Array")?[Ar,n]:n.includes("Error")?[Qu,n]:[Sr,n]},wr=([e,t])=>e===xr&&(t==="function"||t==="symbol"),ym=(e,t,n,r)=>{const i=(s,u)=>{const a=r.push(s)-1;return n.set(u,a),a},o=s=>{if(n.has(s))return n.get(s);let[u,a]=Xn(s);switch(u){case xr:{let c=s;switch(a){case"bigint":u=qu,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);c=null;break;case"undefined":return i([Uu],s)}return i([u,c],s)}case Ar:{if(a)return i([a,[...s]],s);const c=[],d=i([u,c],s);for(const f of s)c.push(o(f));return d}case Sr:{if(a)switch(a){case"BigInt":return i([a,s.toString()],s);case"Boolean":case"Number":case"String":return i([a,s.valueOf()],s)}if(t&&"toJSON"in s)return o(s.toJSON());const c=[],d=i([u,c],s);for(const f of bm(s))(e||!wr(Xn(s[f])))&&c.push([o(f),o(s[f])]);return d}case Ni:return i([u,s.toISOString()],s);case Mi:{const{source:c,flags:d}=s;return i([u,{source:c,flags:d}],s)}case Li:{const c=[],d=i([u,c],s);for(const[f,p]of s)(e||!(wr(Xn(f))||wr(Xn(p))))&&c.push([o(f),o(p)]);return d}case Xi:{const c=[],d=i([u,c],s);for(const f of s)(e||!wr(Xn(f)))&&c.push(o(f));return d}}const{message:l}=s;return i([u,{name:a,message:l}],s)};return o},ea=(e,{json:t,lossy:n}={})=>{const r=[];return ym(!(t||n),!!t,new Map,r)(e),r},Er=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ku(ea(e,t)):structuredClone(e):(e,t)=>Ku(ea(e,t));function Im(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function vm(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Cm(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Im,r=e.options.footnoteBackLabel||vm,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let a=-1;for(;++a<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[a]);if(!l)continue;const c=e.all(l),d=String(l.identifier).toUpperCase(),f=ln(d.toLowerCase());let p=0;const y=[],m=e.footnoteCounts.get(d);for(;m!==void 0&&++p<=m;){y.length>0&&y.push({type:"text",value:" "});let E=typeof n=="string"?n:n(a,p);typeof E=="string"&&(E={type:"text",value:E}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(a,p),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const I=c[c.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const E=I.children[I.children.length-1];E&&E.type==="text"?E.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...y)}else c.push(...y);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(c,!0)};e.patch(l,v),u.push(v)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Er(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
14
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
15
- `}]}}const ta=function(e){if(e==null)return wm;if(typeof e=="function")return Fr(e);if(typeof e=="object")return Array.isArray(e)?xm(e):Am(e);if(typeof e=="string")return Sm(e);throw new Error("Expected function, string, or object as test")};function xm(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ta(e[n]);return Fr(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function Am(e){const t=e;return Fr(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Sm(e){return Fr(t);function t(n){return n&&n.type===e}}function Fr(e){return t;function t(n,r,i){return!!(Em(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function wm(){return!0}function Em(e){return e!==null&&typeof e=="object"&&"type"in e}function Gy(e){return e}const na=[],Fm=!0,ra=!1,Pm="skip";function Gm(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=ta(i),s=r?-1:1;u(e,void 0,[])();function u(a,l,c){const d=a&&typeof a=="object"?a:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(a.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=na,y,m,I;if((!t||o(a,l,c[c.length-1]||void 0))&&(p=km(n(a,c)),p[0]===ra))return p;if("children"in a&&a.children){const v=a;if(v.children&&p[0]!==Pm)for(m=(r?v.children.length:-1)+s,I=c.concat(v);m>-1&&m<v.children.length;){const E=v.children[m];if(y=u(E,m,I)(),y[0]===ra)return y;m=typeof y[1]=="number"?y[1]:m+s}}return p}}}function km(e){return Array.isArray(e)?e:typeof e=="number"?[Fm,e]:e==null?na:[e]}function ia(e,t,n,r){let i,o,s;typeof t=="function"&&typeof n!="function"?(o=void 0,s=t,i=n):(o=t,s=n,i=r),Gm(e,o,u,i);function u(a,l){const c=l[l.length-1],d=c?c.children.indexOf(a):void 0;return s(a,d,c)}}const zi={}.hasOwnProperty,Bm={};function Om(e,t){const n=t||Bm,r=new Map,i=new Map,o=new Map,s={...hm,...n.handlers},u={all:l,applyData:Vm,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:s,one:a,options:n,patch:Tm,wrap:Dm};return ia(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const d=c.type==="definition"?r:i,f=String(c.identifier).toUpperCase();d.has(f)||d.set(f,c)}}),u;function a(c,d){const f=c.type,p=u.handlers[f];if(zi.call(u.handlers,f)&&p)return p(u,c,d);if(u.options.passThrough&&u.options.passThrough.includes(f)){if("children"in c){const{children:m,...I}=c,v=Er(I);return v.children=u.all(c),v}return Er(c)}return(u.options.unknownHandler||Rm)(u,c,d)}function l(c){const d=[];if("children"in c){const f=c.children;let p=-1;for(;++p<f.length;){const y=u.one(f[p],c);if(y){if(p&&f[p-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=oa(y.value)),!Array.isArray(y)&&y.type==="element")){const m=y.children[0];m&&m.type==="text"&&(m.value=oa(m.value))}Array.isArray(y)?d.push(...y):d.push(y)}}}return d}}function Tm(e,t){e.position&&(t.position=Af(e))}function Vm(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&o&&Object.assign(n.properties,Er(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Rm(e,t){const n=t.data||{},r="value"in t&&!(zi.call(n,"hProperties")||zi.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Dm(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
16
- `});++r<e.length;)r&&n.push({type:"text",value:`
17
- `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
18
- `}),n}function oa(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function sa(e,t){const n=Om(e,t),r=n.one(e,void 0),i=Cm(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
19
- `},i),o}function Nm(e,t){return e&&"run"in e?async function(n,r){const i=sa(n,{file:r,...t});await e.run(i,r)}:function(n,r){return sa(n,{file:r,...e||t})}}function ua(e){if(e)throw e}var Pr=Object.prototype.hasOwnProperty,aa=Object.prototype.toString,la=Object.defineProperty,ca=Object.getOwnPropertyDescriptor,da=function(t){return typeof Array.isArray=="function"?Array.isArray(t):aa.call(t)==="[object Array]"},pa=function(t){if(!t||aa.call(t)!=="[object Object]")return!1;var n=Pr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Pr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Pr.call(t,i)},fa=function(t,n){la&&n.name==="__proto__"?la(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},ha=function(t,n){if(n==="__proto__")if(Pr.call(t,n)){if(ca)return ca(t,n).value}else return;return t[n]},Mm=function e(){var t,n,r,i,o,s,u=arguments[0],a=1,l=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},a=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});a<l;++a)if(t=arguments[a],t!=null)for(n in t)r=ha(u,n),i=ha(t,n),u!==i&&(c&&i&&(pa(i)||(o=da(i)))?(o?(o=!1,s=r&&da(r)?r:[]):s=r&&pa(r)?r:{},fa(u,{name:n,newValue:e(c,s,i)})):typeof i<"u"&&fa(u,{name:n,newValue:i}));return u};const Hi=xo(Mm);function Wi(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Lm(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);u(null,...i);function u(a,...l){const c=e[++o];let d=-1;if(a){s(a);return}for(;++d<i.length;)(l[d]===null||l[d]===void 0)&&(l[d]=i[d]);i=l,c?Xm(c,u)(...l):s(null,...l)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Xm(e,t){let n;return r;function r(...s){const u=e.length>s.length;let a;u&&s.push(i);try{a=e.apply(this,s)}catch(l){const c=l;if(u&&n)throw c;return i(c)}u||(a&&a.then&&typeof a.then=="function"?a.then(o,i):a instanceof Error?i(a):o(a))}function i(s,...u){n||(n=!0,t(s,...u))}function o(s){i(null,s)}}const st={basename:zm,dirname:Hm,extname:Wm,join:Zm,sep:"/"};function zm(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zn(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function Hm(e){if(zn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Wm(e){zn(e);let t=e.length,n=-1,r=0,i=-1,o=0,s;for(;t--;){const u=e.codePointAt(t);if(u===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),u===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Zm(...e){let t=-1,n;for(;++t<e.length;)zn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":jm(n)}function jm(e){zn(e);const t=e.codePointAt(0)===47;let n=Ym(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Ym(e,t){let n="",r=0,i=-1,o=0,s=-1,u,a;for(;++s<=e.length;){if(s<e.length)u=e.codePointAt(s);else{if(u===47)break;u=47}if(u===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,o=0}else u===46&&o>-1?o++:o=-1}return n}function zn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Jm={cwd:_m};function _m(){return"/"}function Zi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Um(e){if(typeof e=="string")e=new URL(e);else if(!Zi(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Qm(e)}function Qm(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const ji=["history","path","basename","stem","extname","dirname"];class ga{constructor(t){let n;t?Zi(t)?n={path:t}:typeof t=="string"||qm(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Jm.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ji.length;){const o=ji[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)ji.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?st.basename(this.path):void 0}set basename(t){Ji(t,"basename"),Yi(t,"basename"),this.path=st.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?st.dirname(this.path):void 0}set dirname(t){ma(this.basename,"dirname"),this.path=st.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?st.extname(this.path):void 0}set extname(t){if(Yi(t,"extname"),ma(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=st.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Zi(t)&&(t=Um(t)),Ji(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?st.basename(this.path,this.extname):void 0}set stem(t){Ji(t,"stem"),Yi(t,"stem"),this.path=st.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Pe(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Yi(e,t){if(e&&e.includes(st.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+st.sep+"`")}function Ji(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ma(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function qm(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const $m=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},Km={}.hasOwnProperty;class _i extends $m{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Lm()}copy(){const t=new _i;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Hi(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(qi("data",this.frozen),this.namespace[t]=n,this):Km.call(this.namespace,t)&&this.namespace[t]||void 0:t?(qi("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Gr(t),r=this.parser||this.Parser;return Ui("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ui("process",this.parser||this.Parser),Qi("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){const u=Gr(t),a=r.parse(u);r.run(a,u,function(c,d,f){if(c||!d||!f)return l(c);const p=d,y=r.stringify(p,f);nb(y)?f.value=y:f.result=y,l(c,f)});function l(c,d){c||!d?s(c):o?o(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),Ui("processSync",this.parser||this.Parser),Qi("processSync",this.compiler||this.Compiler),this.process(t,i),ya("processSync","process",n),r;function i(o,s){n=!0,ua(o),r=s}}run(t,n,r){ba(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,u){const a=Gr(n);i.run(t,a,l);function l(c,d,f){const p=d||t;c?u(c):s?s(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),ya("runSync","run",r),i;function o(s,u){ua(s),i=u,r=!0}}stringify(t,n){this.freeze();const r=Gr(n),i=this.compiler||this.Compiler;return Qi("stringify",i),ba(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(qi("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(l){if(typeof l=="function")a(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[c,...d]=l;a(c,d)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(l.plugins),l.settings&&(i.settings=Hi(!0,i.settings,l.settings))}function u(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){const d=l[c];o(d)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function a(l,c){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===l){f=d;break}if(f===-1)r.push([l,...c]);else if(c.length>0){let[p,...y]=c;const m=r[f][1];Wi(m)&&Wi(p)&&(p=Hi(!0,m,p)),r[f]=[l,p,...y]}}}}const eb=new _i().freeze();function Ui(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Qi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function qi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ba(e){if(!Wi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ya(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Gr(e){return tb(e)?e:new ga(e)}function tb(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function nb(e){return typeof e=="string"||rb(e)}function rb(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ib="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ia=[],va={allowDangerousHtml:!0},ob=/^(https?|ircs?|mailto|xmpp)$/i,sb=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ub(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,u=e.rehypePlugins||Ia,a=e.remarkPlugins||Ia,l=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...va}:va,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||ab,p=eb().use(Hg).use(a).use(Nm,l).use(u),y=new ga;typeof r=="string"&&(y.value=r);for(const E of sb)Object.hasOwn(e,E.from)&&(""+E.from+(E.to?"use `"+E.to+"` instead":"remove it")+ib+E.id,void 0);const m=p.parse(y);let I=p.runSync(m,y);return i&&(I={type:"element",tagName:"div",properties:{className:i},children:I.type==="root"?I.children:[I]}),ia(I,v),Gf(I,{Fragment:D.Fragment,components:o,ignoreInvalidStyle:!0,jsx:D.jsx,jsxs:D.jsxs,passKeys:!0,passNode:!0});function v(E,S,w){if(E.type==="raw"&&w&&typeof S=="number")return c?w.children.splice(S,1):w.children[S]={type:"text",value:E.value},S;if(E.type==="element"){let P;for(P in Pi)if(Object.hasOwn(Pi,P)&&Object.hasOwn(E.properties,P)){const A=E.properties[P],T=Pi[P];(T===null||T.includes(E.tagName))&&(E.properties[P]=f(String(A||""),P,E))}}if(E.type==="element"){let P=t?!t.includes(E.tagName):s?s.includes(E.tagName):!1;if(!P&&n&&typeof S=="number"&&(P=!n(E,S,w)),P&&w&&typeof S=="number")return d&&E.children?w.children.splice(S,1,...E.children):w.children.splice(S,1),S}}}function ab(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||ob.test(e.slice(0,t))?e:""}function Ca(e){e.field||console.log("props",e);const{field:t,markdown:n}=e,{prop:r}=t,{getClassNames:i,getStyles:o,theme:s}=He(),u={color:s.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"};return r.type==="app"?D.jsx("p",{className:i("description",e),style:o("description",u,e),children:"Credentials are encrypted."}):r.description?D.jsx("div",{className:i("description",e),style:o("description",u,e),children:D.jsx(ub,{children:n})}):null}function xa(e){const{errors:t}=e,{getProps:n,theme:r}=He(),i={color:r.colors.danger,gridArea:"errors"};return t.length?D.jsx("ul",{...n("errors",i,e),children:t.map(o=>D.jsx("li",{...n("error",i,e),children:o},o))}):null}function Aa(e){const{text:t,field:n}=e,{id:r}=n,{getProps:i,theme:o}=He(),s={color:o.colors.neutral90,fontWeight:450,gridArea:"label",textTransform:"capitalize",lineHeight:"1.5"};return D.jsx("label",{htmlFor:r,...i("label",s,e),children:t})}const Sa=e=>{const{prop:t,enabled:n,onClick:r}=e,{getProps:i,theme:o}=He(),s={color:o.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${o.spacing.baseUnit}px ${o.spacing.baseUnit*1.5}px ${o.spacing.baseUnit}px ${o.spacing.baseUnit*2.5}px`,border:`1px solid ${o.colors.neutral30}`,borderRadius:o.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:o.spacing.baseUnit*2,textWrap:"nowrap"};return D.jsxs("button",{onClick:r,type:"button",...i("optionalFieldButton",s,e),children:[D.jsx("span",{children:n?"-":"+"}),D.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},wa={Description:Ca,Errors:xa,Label:Aa,OptionalFieldButton:Sa},kr=O.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:br,unstyled:!1});function lb(){const e=O.useContext(kr)??{},t=Ys(e.theme??{});function n(){return e.classNamePrefix??""}function r(u){var c;const a=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${u}`,l={...((c=e.classNames)==null?void 0:c[u])??{}};return typeof(l==null?void 0:l.container)=="function"&&(l.container=typeof(l==null?void 0:l.container)=="function"?(...d)=>{var f;return[(f=l==null?void 0:l.container)==null?void 0:f.call(l,...d),a].join(" ")}:()=>a),l}function i(u,a){var l;return{...fr,...a??{},...((l=e==null?void 0:e.components)==null?void 0:l[u])??{}}}function o(u,a){var l;return kp(((l=e.styles)==null?void 0:l[u])??{},a??{})}function s(u,a){return{classNamePrefix:n(),classNames:r(u),components:i(u,a==null?void 0:a.components),styles:o(u,a==null?void 0:a.styles),theme:t}}return{getClassNamePrefix:n,getClassNames:r,getComponents:i,getProps:s,getStyles:o,theme:t}}function He(){const e=O.useContext(kr)??{},t=e.theme,n=e.unstyled?js:br,r=typeof t=="function"?yr(n,t(n)):yr(n,t);function i(a,l){var f;const c=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${a.toLowerCase()}`,d=(f=e.classNames)==null?void 0:f[a];if(typeof d=="function"){const p=d,y={...l??{},theme:r};return[c,p(y)].filter(Boolean).join(" ")}return[c,d].filter(Boolean).join(" ")}function o(){return{...wa,...(e==null?void 0:e.components)??{}}}function s(a,l,c){var f;const d=(f=e.styles)==null?void 0:f[a];if(typeof d=="function"){const p=d,y={...c??{},theme:r};return p(l,y)}return d?{...l,...d}:l}function u(a,l,c){return{className:i(a,c),style:s(a,l,c)}}return{getClassNames:i,getComponents:o,getProps:u,getStyles:s,select:lb(),theme:r}}const cb=({children:e,...t})=>D.jsx(kr.Provider,{value:t,children:e}),$i=O.createContext(void 0),Xt=()=>{const e=O.useContext($i);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Ea=(e,t)=>{var i;const n=ht(),r=nn({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>n.getAccounts(e)});return{...r,accounts:((i=r.data)==null?void 0:i.data)||[]}},db=e=>D.jsx(fr.Option,{...e,children:e.data.name});function Fa({app:e}){const t=ht(),n=Xt(),{id:r,prop:i,value:o,onChange:s}=n,{getProps:u,select:a,theme:l}=He(),c={color:l.colors.neutral60,gridArea:"control"},d={borderRadius:l.borderRadius,border:"solid 1px",borderColor:l.colors.neutral20,color:l.colors.neutral60,padding:"0.25rem 0.5rem",gridArea:"control"},f={components:{Option:db},styles:{control:w=>({...w,gridArea:"control",boxShadow:l.boxShadow.input})}},p=a.getProps("controlAppSelect",f),y=void 0,{isLoading:m,accounts:I,refetch:v}=Ea({app:e.name_slug,oauth_app_id:y},{useQueryOpts:{enabled:!!e,suspense:!!e}}),E=async()=>{t.connectAccount({app:i.app,oauthAppId:y,onSuccess:async w=>{await v(),s({authProvisionId:w.id})},onError:()=>{}})},S=O.useMemo(()=>{let w=o;if(w!=null){for(const P of I)if(w.authProvisionId===P.id){w=P;break}}return w},[I,o]);return D.jsx("div",{...u("controlApp",c,{app:e,...n}),children:m?`Loading ${e.name} accounts...`:I.length?D.jsx(mr,{instanceId:r,value:S,options:[...I,{id:"_new",name:`Connect new ${e.name} account...`}],...p,required:!0,placeholder:`Select ${e.name} account...`,isLoading:m,isClearable:!0,isSearchable:!0,getOptionLabel:w=>w.name,getOptionValue:w=>w.id,onChange:w=>{w?w.id==="_new"?E():s({authProvisionId:w.id}):s(void 0)}}):D.jsxs("button",{type:"button",...u("connectButton",d,{app:e,...n}),onClick:()=>E(),children:["Connect ",e.name]})})}function Pa(){const e=Xt(),{id:t,value:n,onChange:r}=e,{getProps:i}=He(),o={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return D.jsx("input",{id:t,type:"checkbox",...i("controlBoolean",o,e),checked:n??!1,onChange:s=>r(s.target.checked)})}function Ga(){const e=Xt(),{id:t,onChange:n,prop:r,value:i}=e,{getProps:o,theme:s}=He(),u={color:s.colors.neutral60,display:"block",border:"1px solid",borderColor:s.colors.neutral20,padding:6,width:"100%",borderRadius:s.borderRadius,gridArea:"control",boxShadow:s.boxShadow.input};let a="off",l="text",c=d=>d;switch(r.type){case"string":break;case"integer":l="number",c=d=>d?parseInt(d):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+r.type)}return"secret"in r&&r.secret&&(l="password",a="new-password"),D.jsx("input",{id:t,type:l,name:r.name,value:i??"",onChange:d=>n(c(d.target.value)),...o("controlInput",u,e),min:"min"in r?r.min:void 0,max:"max"in r?r.max:void 0,autoComplete:a,"data-lpignore":"true","data-1p-ignore":"true",required:!r.optional})}var pb=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],ka=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),o=String(r.getOptionValue(n)).toLowerCase(),s=String(r.getOptionLabel(n)).toLowerCase();return o===i||s===i},Ki={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(o){return ka(t,o,i)})||r.some(function(o){return ka(t,o,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function fb(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,o=e.formatCreateLabel,s=o===void 0?Ki.formatCreateLabel:o,u=e.isValidNewOption,a=u===void 0?Ki.isValidNewOption:u,l=e.getNewOptionData,c=l===void 0?Ki.getNewOptionData:l,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,y=e.onChange,m=rt(e,pb),I=m.getOptionValue,v=I===void 0?Vs:I,E=m.getOptionLabel,S=E===void 0?Ts:E,w=m.inputValue,P=m.isLoading,A=m.isMulti,T=m.value,k=m.name,V=O.useMemo(function(){return a(w,ar(T),p,{getOptionValue:v,getOptionLabel:S})?c(w,s(w)):void 0},[s,c,S,v,w,a,p,T]),Z=O.useMemo(function(){return(n||!P)&&V?i==="first"?[V].concat(rn(p)):[].concat(rn(p),[V]):p},[n,i,P,V,p]),M=O.useCallback(function(B,te){if(te.action!=="select-option")return y(B,te);var oe=Array.isArray(B)?B:[B];if(oe[oe.length-1]===V){if(d)d(w);else{var W=c(w,w),K={action:"create-option",name:k,option:W};y(On(A,[].concat(rn(ar(T)),[W]),W),K)}return}y(B,te)},[c,w,A,k,V,d,y,T]);return Y(Y({},m),{},{options:Z,onChange:M})}var hb=O.forwardRef(function(e,t){var n=Uo(e),r=fb(n);return ee.createElement(bi,_({ref:t},r))}),gb=hb;function Br({isCreatable:e,options:t,selectProps:n}){const r=Xt(),{id:i,prop:o,value:s,onChange:u}=r,{select:a,theme:l}=He(),c={styles:{container:p=>({...p,gridArea:"control",boxShadow:l.boxShadow.input})}},d=O.useMemo(()=>{let p=s;if(p!=null){if(Array.isArray(p)){if(typeof p[0]!="object"){const y=[];for(const m of p)y.push({label:m,value:m});p=y}}else if(typeof p!="object"&&(t==null?void 0:t[0])&&typeof t[0]=="object"){for(const m of t)if(m.value===s){p=m;break}}}return p},[s,t]),f=e?gb:mr;return D.jsx(f,{inputId:i,instanceId:i,options:t,value:d,isMulti:o.type.endsWith("[]"),isClearable:!0,required:!o.optional,...a.getProps("controlSelect",c),...n,onChange:p=>{if(p)if(Array.isArray(p))if(typeof p[0]=="object"&&"value"in p[0]){const y=[];for(const m of p)y.push(m.value);u(y)}else u(p);else if(typeof p=="object"&&"value"in p)u(p.value);else throw new Error("unhandled option type");else u(void 0)}})}function Ba({queryEnabled:e}){const t=ht(),{userId:n,component:r,configurableProps:i,configuredProps:o,dynamicProps:s,props:{disableQueryDisabling:u}}=er(),{idx:a,prop:l}=Xt(),[c,d]=O.useState(""),f={};for(let A=0;A<a;A++){const T=i[A];f[T.name]=o[T.name]}const p={userId:n,componentId:r.key,propName:l.name,configuredProps:f,dynamicPropsId:s==null?void 0:s.id};l.useQuery&&(p.query=c||"");const y={...p};delete y.dynamicPropsId;const[m,I]=O.useState(),{isFetching:v,data:E,refetch:S}=nn({queryKey:["componentConfigure",y],queryFn:async()=>{I(void 0);const A=await t.componentConfigure(p),{options:T,string_options:k,errors:V}=A;if(V!=null&&V.length){try{I(JSON.parse(V[0]))}catch{I({name:"Error",message:V[0]})}return[]}if(T!=null&&T.length)return T;if(k!=null&&k.length){const Z=[];for(const M of k)Z.push({label:M,value:M});return Z}return[]},enabled:!!e}),w=m?m.message:u?"Click to configure":e?void 0:"Configure props above first",P=u?!1:!e;return D.jsx(Br,{options:E||[],selectProps:{isLoading:v,placeholder:w,isDisabled:P,inputValue:l.useQuery?c:void 0,onInputChange(A){l.useQuery&&(d(A),S())},onMenuOpen(){u&&!e&&S()}}})}function Oa(e){const{field:t,form:n}=e,{queryDisabledIdx:r}=n,{prop:i,idx:o}=t,s="app"in t.extra?t.extra.app:void 0;if(i.remoteOptions||i.type==="$.discord.channel")return D.jsx(Ba,{queryEnabled:r==null||r>=o});if("options"in i&&i.options){let u=i.options;return typeof u[0]!="object"&&(u=u.map(a=>({label:a,value:a}))),D.jsx(Br,{options:u,components:{IndicatorSeparator:()=>null}})}if(i.type.endsWith("[][]"))throw new Error("Unsupported property type: "+i.type);if(i.type.endsWith("[]"))return D.jsx(Br,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(i.type){case"app":return D.jsx(Fa,{app:s});case"boolean":return D.jsx(Pa,{});case"string":case"integer":return D.jsx(Ga,{});default:throw new Error("Unsupported property type: "+i.type)}}function Ta(e){const{form:t,field:n}=e,{prop:r}=n,{getProps:i,getComponents:o}=He(),s={display:"grid",gridTemplateAreas:n.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:u,Description:a,Errors:l}=o(),c=[],d="app"in n.extra?n.extra.app:void 0;if(d&&!d.auth_type)return null;let f=r.label||r.name;return d&&(f=`Connect ${d.name} account`),D.jsxs("div",{...i("field",s,e),children:[D.jsx(u,{text:f,field:n,form:t}),D.jsx(Oa,{field:n,form:t}),D.jsx(a,{markdown:r.description,field:n,form:t}),D.jsx(l,{errors:c,field:n,form:t})]})}const Va=(e,t)=>{var i;const n=ht(),r=Jl({queryKey:["app",e],queryFn:()=>n.app(e),...t==null?void 0:t.useQueryOpts});return{...r,app:(i=r.data)==null?void 0:i.data}};function Ra({prop:e,idx:t}){const n=er(),{id:r,configuredProps:i,setConfiguredProp:o}=n,s=e.type==="app"&&"app"in e?e.app:void 0,{app:u}=Va(s||"",{useQueryOpts:{enabled:!!s,suspense:!!s}}),l={id:`pd${r}${e.name}`,prop:e,idx:t,value:i[e.name],onChange(c){o(t,c)},extra:{app:u}};return D.jsx($i.Provider,{value:l,children:D.jsx(Ta,{field:l,form:n})})}class Da extends O.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function Na(e){var s;const{form:t}=e,{submitting:n}=t,{getProps:r,theme:i}=He(),o={width:"fit-content",textTransform:"capitalize",backgroundColor:i.colors.primary,color:i.colors.neutral0,padding:`${i.spacing.baseUnit*1.75}px ${i.spacing.baseUnit*16}px`,borderRadius:i.borderRadius,boxShadow:(s=i.boxShadow)==null?void 0:s.button,cursor:"pointer",fontSize:"0.875rem",opacity:n?.5:void 0,margin:"0.5rem 0 0 0"};return D.jsx("input",{type:"submit",value:n?"Submitting...":"Submit",...r("controlSubmit",o,e),disabled:n})}function Ma(){const e=er(),{configurableProps:t,dynamicPropsQueryIsFetching:n,isValid:r,optionalPropIsEnabled:i,optionalPropSetEnabled:o,props:s,setSubmitting:u}=e,{hideOptionalProps:a,onSubmit:l}=s,{getComponents:c,getProps:d,theme:f}=He(),{OptionalFieldButton:p}=c(),y={display:"flex",flexDirection:"column",gap:"1.5rem"},m={display:"flex",flexWrap:"wrap",gap:"0.375rem"},I={fontWeight:600,textTransform:"capitalize",color:f.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},v=async w=>{if(l&&(w.preventDefault(),r)){u(!0);try{await l(e)}finally{u(!1)}}},E=[],S=[];for(let w=0;w<t.length;w++){const P=t[w];if(!P.hidden){if(P.optional){const A=i(P);if(S.push([P,A]),!A)continue}E.push([P,w])}}return D.jsx(Da,{fallback:w=>D.jsxs("p",{style:{color:"red"},children:["Error: ",w&&typeof w=="object"&&"message"in w&&typeof w.message=="string"?w.message:"Unknown"]}),children:D.jsx(O.Suspense,{fallback:D.jsx("p",{children:"Loading form..."}),children:D.jsxs("form",{...d("componentForm",y,s),onSubmit:v,children:[E.map(([w,P])=>w.type==="alert"?D.jsx(Co,{prop:w},w.name):D.jsx(Ra,{prop:w,idx:P},w.name)),n&&D.jsx("p",{children:"Loading dynamic props..."}),!a&&S.length?D.jsxs("div",{children:[D.jsx("div",{...d("heading",I,s),children:"Optional Props"}),D.jsx("div",{...d("optionalFields",m,s),children:S.map(([w,P])=>D.jsx(p,{prop:w,enabled:P,onClick:()=>o(w,!P)},w.name))})]}):null,l&&D.jsx(Na,{form:e})]})})})}function La(e){return D.jsx(jo,{props:e,children:D.jsx(Ma,{})})}const Xa=({key:e},t)=>{var i;const n=ht(),r=nn({queryKey:["component",e],queryFn:()=>n.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...r,component:(i=r.data)==null?void 0:i.data}};function mb(e){const{isLoading:t,error:n,component:r}=Xa({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?D.jsx("p",{children:"Loading..."}):n?D.jsxs("p",{children:["Error: ",n.message]}):r?D.jsx(La,{component:r,...e}):D.jsx("p",{children:"Component not found"})}function bb(){const e=Xt(),{id:t,onChange:n,value:r}=e,{getProps:i,theme:o}=He(),s={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:o.boxShadow.input};let u=r;return typeof u=="object"&&(u=JSON.stringify(u)),D.jsx("textarea",{id:t,value:u,onChange:a=>n(a.target.value),...i("controlAny",s,e)})}const za=e=>{var r;const t=ht(),n=nn({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...n,apps:(r=n.data)==null?void 0:r.data}};function yb({value:e,onChange:t}){const[n,r]=O.useState(""),i=O.useId(),{isLoading:o,apps:s}=za({q:n}),{Option:u}=fr;return D.jsx(mr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:a=>D.jsx(u,{...a,children:D.jsxs("div",{style:{display:"flex",gap:10},children:[D.jsx("img",{src:`https://pipedream.com/s.v0/${a.data.id}/logo/48`,style:{height:24,width:24},alt:a.data.name}),D.jsx("span",{style:{whiteSpace:"nowrap"},children:a.data.name})]})}),IndicatorSeparator:()=>null},options:s||[],getOptionLabel:a=>a.name||a.name_slug,getOptionValue:a=>a.name_slug,value:e,onChange:a=>t==null?void 0:t(a||void 0),onInputChange:a=>r(a),isLoading:o})}const Ha=e=>{var r;const t=ht(),n=nn({queryKey:["components",e],queryFn:()=>t.components(e)});return{...n,components:((r=n.data)==null?void 0:r.data)||[]}};function Ib({app:e,componentType:t,value:n,onChange:r}){const i=O.useId(),{isLoading:o,components:s}=Ha({app:e==null?void 0:e.name_slug,componentType:t});return D.jsx(mr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",options:s,getOptionLabel:u=>u.name||u.key,getOptionValue:u=>u.key,value:n,onChange:u=>r==null?void 0:r(u||void 0),isLoading:o,components:{IndicatorSeparator:()=>null}})}L.Alert=Co,L.ComponentForm=La,L.ComponentFormContainer=mb,L.Control=Oa,L.ControlAny=bb,L.ControlApp=Fa,L.ControlBoolean=Pa,L.ControlInput=Ga,L.ControlSelect=Br,L.ControlSubmit=Na,L.CustomizationContext=kr,L.CustomizeProvider=cb,L.Description=Ca,L.ErrorBoundary=Da,L.Errors=xa,L.Field=Ta,L.FormContext=ti,L.FormContextProvider=jo,L.FormFieldContext=$i,L.FrontendClientProvider=_l,L.InternalComponentForm=Ma,L.InternalField=Ra,L.Label=Aa,L.OptionalFieldButton=Sa,L.RemoteOptionsContainer=Ba,L.SelectApp=yb,L.SelectComponent=Ib,L.defaultComponents=wa,L.defaultTheme=br,L.getReactSelectTheme=Ys,L.mergeTheme=yr,L.unstyledTheme=js,L.useAccounts=Ea,L.useApp=Va,L.useApps=za,L.useComponent=Xa,L.useComponents=Ha,L.useCustomize=He,L.useFormContext=er,L.useFormFieldContext=Xt,L.useFrontendClient=ht,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})});
45
+ `]))),J1=function(t,r){var u=t.isFocused,o=t.size,l=t.theme,a=l.colors,c=l.spacing.baseUnit;return de({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},r?{}:{color:u?a.neutral60:a.neutral20,padding:c*2})},Zl=function(t){var r=t.delay,u=t.offset;return ce.jsx("span",{css:ce.css({animation:"".concat(Y1," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PV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3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},j1=function(t){var r=t.innerProps,u=t.isRtl,o=t.size,l=o===void 0?4:o,a=Un(t,D1);return ce.jsx("div",me({},mt(de(de({},a),{},{innerProps:r,isRtl:u,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),ce.jsx(Zl,{delay:0,offset:u}),ce.jsx(Zl,{delay:160,offset:!0}),ce.jsx(Zl,{delay:320,offset:!u}))},U1=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.theme,a=l.colors,c=l.borderRadius,f=l.spacing;return de({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:u?a.neutral5:a.neutral0,borderColor:u?a.neutral10:o?a.primary:a.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},Q1=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.innerRef,a=t.innerProps,c=t.menuIsOpen;return ce.jsx("div",me({ref:l},mt(t,"control",{control:!0,"control--is-disabled":u,"control--is-focused":o,"control--menu-is-open":c}),a,{"aria-disabled":u||void 0}),r)},q1=Q1,$1=["data"],K1=function(t,r){var u=t.theme.spacing;return r?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},eC=function(t){var r=t.children,u=t.cx,o=t.getStyles,l=t.getClassNames,a=t.Heading,c=t.headingProps,f=t.innerProps,h=t.label,p=t.theme,g=t.selectProps;return ce.jsx("div",me({},mt(t,"group",{group:!0}),f),ce.jsx(a,me({},c,{selectProps:g,theme:p,getStyles:o,getClassNames:l,cx:u}),h),ce.jsx("div",null,r))},tC=function(t,r){var u=t.theme,o=u.colors,l=u.spacing;return de({label:"group",cursor:"default",display:"block"},r?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:l.baseUnit*3,paddingRight:l.baseUnit*3,textTransform:"uppercase"})},nC=function(t){var r=Qd(t);r.data;var u=Un(r,$1);return ce.jsx("div",me({},mt(t,"groupHeading",{"group-heading":!0}),u))},rC=eC,iC=["innerRef","isDisabled","isHidden","inputClassName"],uC=function(t,r){var u=t.isDisabled,o=t.value,l=t.theme,a=l.spacing,c=l.colors;return de(de({visibility:u?"hidden":"visible",transform:o?"translateZ(0)":""},oC),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:c.neutral80})},lh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},oC={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":de({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},lh)},sC=function(t){return de({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},lh)},lC=function(t){var r=t.cx,u=t.value,o=Qd(t),l=o.innerRef,a=o.isDisabled,c=o.isHidden,f=o.inputClassName,h=Un(o,iC);return ce.jsx("div",me({},mt(t,"input",{"input-container":!0}),{"data-value":u||""}),ce.jsx("input",me({className:r({input:!0},f),ref:l,style:sC(c),disabled:a},h)))},aC=lC,cC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors;return de({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:l/2,margin:o.baseUnit/2})},fC=function(t,r){var u=t.theme,o=u.borderRadius,l=u.colors,a=t.cropWithEllipsis;return de({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:o/2,color:l.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},dC=function(t,r){var u=t.theme,o=u.spacing,l=u.borderRadius,a=u.colors,c=t.isFocused;return de({alignItems:"center",display:"flex"},r?{}:{borderRadius:l/2,backgroundColor:c?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},ah=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",u,r)},hC=ah,pC=ah;function gC(e){var t=e.children,r=e.innerProps;return ce.jsx("div",me({role:"button"},r),t||ce.jsx(zl,{size:14}))}var mC=function(t){var r=t.children,u=t.components,o=t.data,l=t.innerProps,a=t.isDisabled,c=t.removeProps,f=t.selectProps,h=u.Container,p=u.Label,g=u.Remove;return ce.jsx(h,{data:o,innerProps:de(de({},mt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),l),selectProps:f},ce.jsx(p,{data:o,innerProps:de({},mt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},r),ce.jsx(g,{data:o,innerProps:de(de({},mt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},c),selectProps:f}))},bC=mC,yC=function(t,r){var u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.theme,c=a.spacing,f=a.colors;return de({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:l?f.primary:o?f.primary25:"transparent",color:u?f.neutral20:l?f.neutral0:"inherit",padding:"".concat(c.baseUnit*2,"px ").concat(c.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:l?f.primary:f.primary50}})},vC=function(t){var r=t.children,u=t.isDisabled,o=t.isFocused,l=t.isSelected,a=t.innerRef,c=t.innerProps;return ce.jsx("div",me({},mt(t,"option",{option:!0,"option--is-disabled":u,"option--is-focused":o,"option--is-selected":l}),{ref:a,"aria-disabled":u},c),r)},IC=vC,CC=function(t,r){var u=t.theme,o=u.spacing,l=u.colors;return de({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:l.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},xC=function(t){var r=t.children,u=t.innerProps;return ce.jsx("div",me({},mt(t,"placeholder",{placeholder:!0}),u),r)},AC=xC,wC=function(t,r){var u=t.isDisabled,o=t.theme,l=o.spacing,a=o.colors;return de({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:u?a.neutral40:a.neutral80,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},SC=function(t){var r=t.children,u=t.isDisabled,o=t.innerProps;return ce.jsx("div",me({},mt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),o),r)},EC=SC,bu={ClearIndicator:H1,Control:q1,DropdownIndicator:W1,DownChevron:oh,CrossIcon:zl,Group:rC,GroupHeading:nC,IndicatorsContainer:k1,IndicatorSeparator:Z1,Input:aC,LoadingIndicator:j1,Menu:C1,MenuList:A1,MenuPortal:O1,LoadingMessage:F1,NoOptionsMessage:E1,MultiValue:bC,MultiValueContainer:hC,MultiValueLabel:pC,MultiValueRemove:gC,Option:IC,Placeholder:AC,SelectContainer:_1,SingleValue:EC,ValueContainer:G1},FC=function(t){return de(de({},bu),t.components)},ch=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function PC(e,t){return!!(e===t||ch(e)&&ch(t))}function OC(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!PC(e[r],t[r]))return!1;return!0}function TC(e,t){t===void 0&&(t=OC);var r=null;function u(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];if(r&&r.lastThis===this&&t(o,r.lastArgs))return r.lastResult;var a=e.apply(this,o);return r={lastResult:a,lastArgs:o,lastThis:this},a}return u.clear=function(){r=null},u}function _C(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var BC=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:_C},GC=function(t){return ce.jsx("span",me({css:BC},t))},fh=GC,RC={guidance:function(t){var r=t.isSearchable,u=t.isMulti,o=t.tabSelectsValue,l=t.context,a=t.isInitialFocus;switch(l){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(u?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var r=t.action,u=t.label,o=u===void 0?"":u,l=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(l.length>1?"s":""," ").concat(l.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var r=t.context,u=t.focused,o=t.options,l=t.label,a=l===void 0?"":l,c=t.selectValue,f=t.isDisabled,h=t.isSelected,p=t.isAppleDevice,g=function(A,F){return A&&A.length?"".concat(A.indexOf(F)+1," of ").concat(A.length):""};if(r==="value"&&c)return"value ".concat(a," focused, ").concat(g(c,u),".");if(r==="menu"&&p){var I=f?" disabled":"",b="".concat(h?" selected":"").concat(I);return"".concat(a).concat(b,", ").concat(g(o,u),".")}return""},onFilter:function(t){var r=t.inputValue,u=t.resultsMessage;return"".concat(u).concat(r?" for search term "+r:"",".")}},kC=function(t){var r=t.ariaSelection,u=t.focusedOption,o=t.focusedValue,l=t.focusableOptions,a=t.isFocused,c=t.selectValue,f=t.selectProps,h=t.id,p=t.isAppleDevice,g=f.ariaLiveMessages,I=f.getOptionLabel,b=f.inputValue,S=f.isMulti,A=f.isOptionDisabled,F=f.isSearchable,P=f.menuIsOpen,L=f.options,k=f.screenReaderStatus,N=f.tabSelectsValue,X=f.isLoading,R=f["aria-label"],Y=f["aria-live"],D=H.useMemo(function(){return de(de({},RC),g||{})},[g]),j=H.useMemo(function(){var ue="";if(r&&D.onChange){var pe=r.option,Ee=r.options,Oe=r.removedValue,Ke=r.removedValues,E=r.value,xe=function(Ve){return Array.isArray(Ve)?null:Ve},Le=Oe||pe||xe(E),w=Le?I(Le):"",je=Ee||Ke||void 0,ge=je?je.map(I):[],Ne=de({isDisabled:Le&&A(Le,c),label:w,labels:ge},r);ue=D.onChange(Ne)}return ue},[r,D,A,c,I]),Q=H.useMemo(function(){var ue="",pe=u||o,Ee=!!(u&&c&&c.includes(u));if(pe&&D.onFocus){var Oe={focused:pe,label:I(pe),isDisabled:A(pe,c),isSelected:Ee,options:l,context:pe===u?"menu":"value",selectValue:c,isAppleDevice:p};ue=D.onFocus(Oe)}return ue},[u,o,I,A,D,l,c,p]),U=H.useMemo(function(){var ue="";if(P&&L.length&&!X&&D.onFilter){var pe=k({count:l.length});ue=D.onFilter({inputValue:b,resultsMessage:pe})}return ue},[l,b,P,D,L,k,X]),q=(r==null?void 0:r.action)==="initial-input-focus",be=H.useMemo(function(){var ue="";if(D.guidance){var pe=o?"value":P?"menu":"input";ue=D.guidance({"aria-label":R,context:pe,isDisabled:u&&A(u,c),isMulti:S,isSearchable:F,tabSelectsValue:N,isInitialFocus:q})}return ue},[R,u,o,S,A,F,P,D,c,N,q]),Se=ce.jsx(H.Fragment,null,ce.jsx("span",{id:"aria-selection"},j),ce.jsx("span",{id:"aria-focused"},Q),ce.jsx("span",{id:"aria-results"},U),ce.jsx("span",{id:"aria-guidance"},be));return ce.jsx(H.Fragment,null,ce.jsx(fh,{id:h},q&&Se),ce.jsx(fh,{"aria-live":Y,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!q&&Se))},LC=kC,Yl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],DC=new RegExp("["+Yl.map(function(e){return e.letters}).join("")+"]","g"),dh={},Jl=0;Jl<Yl.length;Jl++)for(var jl=Yl[Jl],Ul=0;Ul<jl.letters.length;Ul++)dh[jl.letters[Ul]]=jl.base;var hh=function(t){return t.replace(DC,function(r){return dh[r]})},MC=TC(hh),ph=function(t){return t.replace(/^\s+|\s+$/g,"")},NC=function(t){return"".concat(t.label," ").concat(t.value)},VC=function(t){return function(r,u){if(r.data.__isNew__)return!0;var o=de({ignoreCase:!0,ignoreAccents:!0,stringify:NC,trim:!0,matchFrom:"any"},t),l=o.ignoreCase,a=o.ignoreAccents,c=o.stringify,f=o.trim,h=o.matchFrom,p=f?ph(u):u,g=f?ph(c(r)):c(r);return l&&(p=p.toLowerCase(),g=g.toLowerCase()),a&&(p=MC(p),g=hh(g)),h==="start"?g.substr(0,p.length)===p:g.indexOf(p)>-1}},WC=["innerRef"];function XC(e){var t=e.innerRef,r=Un(e,WC),u=h1(r,"onExited","in","enter","exit","appear");return ce.jsx("input",me({ref:t},u,{css:ce.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var HC=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function zC(e){var t=e.isEnabled,r=e.onBottomArrive,u=e.onBottomLeave,o=e.onTopArrive,l=e.onTopLeave,a=H.useRef(!1),c=H.useRef(!1),f=H.useRef(0),h=H.useRef(null),p=H.useCallback(function(F,P){if(h.current!==null){var L=h.current,k=L.scrollTop,N=L.scrollHeight,X=L.clientHeight,R=h.current,Y=P>0,D=N-X-k,j=!1;D>P&&a.current&&(u&&u(F),a.current=!1),Y&&c.current&&(l&&l(F),c.current=!1),Y&&P>D?(r&&!a.current&&r(F),R.scrollTop=N,j=!0,a.current=!0):!Y&&-P>k&&(o&&!c.current&&o(F),R.scrollTop=0,j=!0,c.current=!0),j&&HC(F)}},[r,u,o,l]),g=H.useCallback(function(F){p(F,F.deltaY)},[p]),I=H.useCallback(function(F){f.current=F.changedTouches[0].clientY},[]),b=H.useCallback(function(F){var P=f.current-F.changedTouches[0].clientY;p(F,P)},[p]),S=H.useCallback(function(F){if(F){var P=c1?{passive:!1}:!1;F.addEventListener("wheel",g,P),F.addEventListener("touchstart",I,P),F.addEventListener("touchmove",b,P)}},[b,I,g]),A=H.useCallback(function(F){F&&(F.removeEventListener("wheel",g,!1),F.removeEventListener("touchstart",I,!1),F.removeEventListener("touchmove",b,!1))},[b,I,g]);return H.useEffect(function(){if(t){var F=h.current;return S(F),function(){A(F)}}},[t,S,A]),function(F){h.current=F}}var gh=["boxSizing","height","overflow","paddingRight","position"],mh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function bh(e){e.cancelable&&e.preventDefault()}function yh(e){e.stopPropagation()}function vh(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Ih(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ch=!!(typeof window<"u"&&window.document&&window.document.createElement),yu=0,Ai={capture:!1,passive:!1};function ZC(e){var t=e.isEnabled,r=e.accountForScrollbars,u=r===void 0?!0:r,o=H.useRef({}),l=H.useRef(null),a=H.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;if(u&&gh.forEach(function(S){var A=p&&p[S];o.current[S]=A}),u&&yu<1){var g=parseInt(o.current.paddingRight,10)||0,I=document.body?document.body.clientWidth:0,b=window.innerWidth-I+g||0;Object.keys(mh).forEach(function(S){var A=mh[S];p&&(p[S]=A)}),p&&(p.paddingRight="".concat(b,"px"))}h&&Ih()&&(h.addEventListener("touchmove",bh,Ai),f&&(f.addEventListener("touchstart",vh,Ai),f.addEventListener("touchmove",yh,Ai))),yu+=1}},[u]),c=H.useCallback(function(f){if(Ch){var h=document.body,p=h&&h.style;yu=Math.max(yu-1,0),u&&yu<1&&gh.forEach(function(g){var I=o.current[g];p&&(p[g]=I)}),h&&Ih()&&(h.removeEventListener("touchmove",bh,Ai),f&&(f.removeEventListener("touchstart",vh,Ai),f.removeEventListener("touchmove",yh,Ai)))}},[u]);return H.useEffect(function(){if(t){var f=l.current;return a(f),function(){c(f)}}},[t,a,c]),function(f){l.current=f}}function YC(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var JC=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},jC=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZ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sXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:YC};function UC(e){var t=e.children,r=e.lockEnabled,u=e.captureEnabled,o=u===void 0?!0:u,l=e.onBottomArrive,a=e.onBottomLeave,c=e.onTopArrive,f=e.onTopLeave,h=zC({isEnabled:o,onBottomArrive:l,onBottomLeave:a,onTopArrive:c,onTopLeave:f}),p=ZC({isEnabled:r}),g=function(b){h(b),p(b)};return ce.jsx(H.Fragment,null,r&&ce.jsx("div",{onClick:JC,css:jC}),t(g))}function QC(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var qC=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:QC},$C=function(t){var r=t.name,u=t.onFocus;return ce.jsx("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:qC,value:"",onChange:function(){}})},KC=$C;function Ql(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ex(){return Ql(/^iPhone/i)}function xh(){return Ql(/^Mac/i)}function tx(){return Ql(/^iPad/i)||xh()&&navigator.maxTouchPoints>1}function nx(){return ex()||tx()}function rx(){return xh()||nx()}var ix=function(t){return t.label},Ah=function(t){return t.label},wh=function(t){return t.value},ux=function(t){return!!t.isDisabled},ox={clearIndicator:X1,container:T1,control:U1,dropdownIndicator:V1,group:K1,groupHeading:tC,indicatorsContainer:R1,indicatorSeparator:z1,input:uC,loadingIndicator:J1,loadingMessage:S1,menu:y1,menuList:x1,menuPortal:P1,multiValue:cC,multiValueLabel:fC,multiValueRemove:dC,noOptionsMessage:w1,option:yC,placeholder:CC,singleValue:wC,valueContainer:B1};function sx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=de({},e);return Object.keys(t).forEach(function(u){var o=u;e[o]?r[o]=function(l,a){return t[o](e[o](l,a),a)}:r[o]=t[o]}),r}var lx={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ax=4,Sh=4,cx=38,fx=Sh*2,dx={baseUnit:Sh,controlHeight:cx,menuGutter:fx},vu={borderRadius:ax,colors:lx,spacing:dx},hx={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Kd(),captureMenuScroll:!Kd(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:VC(),formatGroupLabel:ix,getOptionLabel:Ah,getOptionValue:wh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ux,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!l1(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Eh(e,t,r,u){var o=_h(e,t,r),l=Bh(e,t,r),a=Th(e,t),c=Po(e,t);return{type:"option",data:t,isDisabled:o,isSelected:l,label:a,value:c,index:u}}function Fo(e,t){return e.options.map(function(r,u){if("options"in r){var o=r.options.map(function(a,c){return Eh(e,a,t,c)}).filter(function(a){return Oh(e,a)});return o.length>0?{type:"group",data:r,options:o,index:u}:void 0}var l=Eh(e,r,t,u);return Oh(e,l)?l:void 0}).filter(f1)}function Fh(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,xi(r.options.map(function(u){return u.data}))):t.push(r.data),t},[])}function Ph(e,t){return e.reduce(function(r,u){return u.type==="group"?r.push.apply(r,xi(u.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(u.index,"-").concat(o.index)}}))):r.push({data:u.data,id:"".concat(t,"-").concat(u.index)}),r},[])}function px(e,t){return Fh(Fo(e,t))}function Oh(e,t){var r=e.inputValue,u=r===void 0?"":r,o=t.data,l=t.isSelected,a=t.label,c=t.value;return(!Rh(e)||!l)&&Gh(e,{label:a,value:c,data:o},u)}function gx(e,t){var r=e.focusedValue,u=e.selectValue,o=u.indexOf(r);if(o>-1){var l=t.indexOf(r);if(l>-1)return r;if(o<t.length)return t[o]}return null}function mx(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var ql=function(t,r){var u,o=(u=t.find(function(l){return l.data===r}))===null||u===void 0?void 0:u.id;return o||null},Th=function(t,r){return t.getOptionLabel(r)},Po=function(t,r){return t.getOptionValue(r)};function _h(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Bh(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var u=Po(e,t);return r.some(function(o){return Po(e,o)===u})}function Gh(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Rh=function(t){var r=t.hideSelectedOptions,u=t.isMulti;return r===void 0?u:r},bx=1,$l=function(e){RI(r,e);var t=DI(r);function r(u){var o;if(BI(this,r),o=t.call(this,u),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=rx(),o.controlRef=null,o.getControlRef=function(f){o.controlRef=f},o.focusedOptionRef=null,o.getFocusedOptionRef=function(f){o.focusedOptionRef=f},o.menuListRef=null,o.getMenuListRef=function(f){o.menuListRef=f},o.inputRef=null,o.getInputRef=function(f){o.inputRef=f},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(f,h){var p=o.props,g=p.onChange,I=p.name;h.name=I,o.ariaOnChange(f,h),g(f,h)},o.setValue=function(f,h,p){var g=o.props,I=g.closeMenuOnSelect,b=g.isMulti,S=g.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:S}),I&&(o.setState({inputIsHiddenAfterUpdate:!b}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(f,{action:h,option:p})},o.selectOption=function(f){var h=o.props,p=h.blurInputOnSelect,g=h.isMulti,I=h.name,b=o.state.selectValue,S=g&&o.isOptionSelected(f,b),A=o.isOptionDisabled(f,b);if(S){var F=o.getOptionValue(f);o.setValue(b.filter(function(P){return o.getOptionValue(P)!==F}),"deselect-option",f)}else if(!A)g?o.setValue([].concat(xi(b),[f]),"select-option",f):o.setValue(f,"select-option");else{o.ariaOnChange(f,{action:"select-option",option:f,name:I});return}p&&o.blurInput()},o.removeValue=function(f){var h=o.props.isMulti,p=o.state.selectValue,g=o.getOptionValue(f),I=p.filter(function(S){return o.getOptionValue(S)!==g}),b=mu(h,I,I[0]||null);o.onChange(b,{action:"remove-value",removedValue:f}),o.focusInput()},o.clearValue=function(){var f=o.state.selectValue;o.onChange(mu(o.props.isMulti,[],null),{action:"clear",removedValues:f})},o.popValue=function(){var f=o.props.isMulti,h=o.state.selectValue,p=h[h.length-1],g=h.slice(0,h.length-1),I=mu(f,g,g[0]||null);p&&o.onChange(I,{action:"pop-value",removedValue:p})},o.getFocusedOptionId=function(f){return ql(o.state.focusableOptionsWithIds,f)},o.getFocusableOptionsWithIds=function(){return Ph(Fo(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return r1.apply(void 0,[o.props.classNamePrefix].concat(h))},o.getOptionLabel=function(f){return Th(o.props,f)},o.getOptionValue=function(f){return Po(o.props,f)},o.getStyles=function(f,h){var p=o.props.unstyled,g=ox[f](h,p);g.boxSizing="border-box";var I=o.props.styles[f];return I?I(g,h):g},o.getClassNames=function(f,h){var p,g;return(p=(g=o.props.classNames)[f])===null||p===void 0?void 0:p.call(g,h)},o.getElementId=function(f){return"".concat(o.state.instancePrefix,"-").concat(f)},o.getComponents=function(){return FC(o.props)},o.buildCategorizedOptions=function(){return Fo(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Fh(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(f,h){o.setState({ariaSelection:de({value:f},h)})},o.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(f){o.blockOptionHover=!1},o.onControlMouseDown=function(f){if(!f.defaultPrevented){var h=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&o.onMenuClose():h&&o.openMenu("first"):(h&&(o.openAfterFocus=!0),o.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},o.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!o.props.isDisabled){var h=o.props,p=h.isMulti,g=h.menuIsOpen;o.focusInput(),g?(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()):o.openMenu("first"),f.preventDefault()}},o.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(o.clearValue(),f.preventDefault(),o.openAfterFocus=!1,f.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(f){typeof o.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&Ao(f.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(f)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(f){var h=f.touches,p=h&&h.item(0);p&&(o.initialTouchX=p.clientX,o.initialTouchY=p.clientY,o.userIsDragging=!1)},o.onTouchMove=function(f){var h=f.touches,p=h&&h.item(0);if(p){var g=Math.abs(p.clientX-o.initialTouchX),I=Math.abs(p.clientY-o.initialTouchY),b=5;o.userIsDragging=g>b||I>b}},o.onTouchEnd=function(f){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(f.target)&&o.menuListRef&&!o.menuListRef.contains(f.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(f){o.userIsDragging||o.onControlMouseDown(f)},o.onClearIndicatorTouchEnd=function(f){o.userIsDragging||o.onClearIndicatorMouseDown(f)},o.onDropdownIndicatorTouchEnd=function(f){o.userIsDragging||o.onDropdownIndicatorMouseDown(f)},o.handleInputChange=function(f){var h=o.props.inputValue,p=f.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(p,{action:"input-change",prevInputValue:h}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(f){o.props.onFocus&&o.props.onFocus(f),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(f){var h=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(f),o.onInputChange("",{action:"input-blur",prevInputValue:h}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(f){if(!(o.blockOptionHover||o.state.focusedOption===f)){var h=o.getFocusableOptions(),p=h.indexOf(f);o.setState({focusedOption:f,focusedOptionId:p>-1?o.getFocusedOptionId(f):null})}},o.shouldHideSelectedOptions=function(){return Rh(o.props)},o.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),o.focus()},o.onKeyDown=function(f){var h=o.props,p=h.isMulti,g=h.backspaceRemovesValue,I=h.escapeClearsValue,b=h.inputValue,S=h.isClearable,A=h.isDisabled,F=h.menuIsOpen,P=h.onKeyDown,L=h.tabSelectsValue,k=h.openMenuOnFocus,N=o.state,X=N.focusedOption,R=N.focusedValue,Y=N.selectValue;if(!A&&!(typeof P=="function"&&(P(f),f.defaultPrevented))){switch(o.blockOptionHover=!0,f.key){case"ArrowLeft":if(!p||b)return;o.focusValue("previous");break;case"ArrowRight":if(!p||b)return;o.focusValue("next");break;case"Delete":case"Backspace":if(b)return;if(R)o.removeValue(R);else{if(!g)return;p?o.popValue():S&&o.clearValue()}break;case"Tab":if(o.isComposing||f.shiftKey||!F||!L||!X||k&&o.isOptionSelected(X,Y))return;o.selectOption(X);break;case"Enter":if(f.keyCode===229)break;if(F){if(!X||o.isComposing)return;o.selectOption(X);break}return;case"Escape":F?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:b}),o.onMenuClose()):S&&I&&o.clearValue();break;case" ":if(b)return;if(!F){o.openMenu("first");break}if(!X)return;o.selectOption(X);break;case"ArrowUp":F?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":F?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!F)return;o.focusOption("pageup");break;case"PageDown":if(!F)return;o.focusOption("pagedown");break;case"Home":if(!F)return;o.focusOption("first");break;case"End":if(!F)return;o.focusOption("last");break;default:return}f.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++bx),o.state.selectValue=xo(u.value),u.menuIsOpen&&o.state.selectValue.length){var l=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),c=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=l,o.state.focusedOption=a[c],o.state.focusedOptionId=ql(l,a[c])}return o}return GI(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&$d(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var l=this.props,a=l.isDisabled,c=l.menuIsOpen,f=this.state.isFocused;(f&&!a&&o.isDisabled||f&&c&&!o.menuIsOpen)&&this.focusInput(),f&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($d(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,l){this.props.onInputChange(o,l)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var l=this,a=this.state,c=a.selectValue,f=a.isFocused,h=this.buildFocusableOptions(),p=o==="first"?0:h.length-1;if(!this.props.isMulti){var g=h.indexOf(c[0]);g>-1&&(p=g)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[p],focusedOptionId:this.getFocusedOptionId(h[p])},function(){return l.onMenuOpen()})}},{key:"focusValue",value:function(o){var l=this.state,a=l.selectValue,c=l.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=a.indexOf(c);c||(f=-1);var h=a.length-1,p=-1;if(a.length){switch(o){case"previous":f===0?p=0:f===-1?p=h:p=f-1;break;case"next":f>-1&&f<h&&(p=f+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:a[p]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",l=this.props.pageSize,a=this.state.focusedOption,c=this.getFocusableOptions();if(c.length){var f=0,h=c.indexOf(a);a||(h=-1),o==="up"?f=h>0?h-1:c.length-1:o==="down"?f=(h+1)%c.length:o==="pageup"?(f=h-l,f<0&&(f=0)):o==="pagedown"?(f=h+l,f>c.length-1&&(f=c.length-1)):o==="last"&&(f=c.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:c[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(c[f])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(vu):de(de({},vu),this.props.theme):vu}},{key:"getCommonProps",value:function(){var o=this.clearValue,l=this.cx,a=this.getStyles,c=this.getClassNames,f=this.getValue,h=this.selectOption,p=this.setValue,g=this.props,I=g.isMulti,b=g.isRtl,S=g.options,A=this.hasValue();return{clearValue:o,cx:l,getStyles:a,getClassNames:c,getValue:f,hasValue:A,isMulti:I,isRtl:b,options:S,selectOption:h,selectProps:g,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,l=o.isClearable,a=o.isMulti;return l===void 0?a:l}},{key:"isOptionDisabled",value:function(o,l){return _h(this.props,o,l)}},{key:"isOptionSelected",value:function(o,l){return Bh(this.props,o,l)}},{key:"filterOption",value:function(o,l){return Gh(this.props,o,l)}},{key:"formatOptionLabel",value:function(o,l){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,c=this.state.selectValue;return this.props.formatOptionLabel(o,{context:l,inputValue:a,selectValue:c})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,l=o.isDisabled,a=o.isSearchable,c=o.inputId,f=o.inputValue,h=o.tabIndex,p=o.form,g=o.menuIsOpen,I=o.required,b=this.getComponents(),S=b.Input,A=this.state,F=A.inputIsHidden,P=A.ariaSelection,L=this.commonProps,k=c||this.getElementId("input"),N=de(de(de({"aria-autocomplete":"list","aria-expanded":g,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":I,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?Pe.createElement(S,me({},L,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:k,innerRef:this.getInputRef,isDisabled:l,isHidden:F,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:p,type:"text",value:f},N)):Pe.createElement(XC,me({id:k,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Co,onFocus:this.onInputFocus,disabled:l,tabIndex:h,inputMode:"none",form:p,value:""},N))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,l=this.getComponents(),a=l.MultiValue,c=l.MultiValueContainer,f=l.MultiValueLabel,h=l.MultiValueRemove,p=l.SingleValue,g=l.Placeholder,I=this.commonProps,b=this.props,S=b.controlShouldRenderValue,A=b.isDisabled,F=b.isMulti,P=b.inputValue,L=b.placeholder,k=this.state,N=k.selectValue,X=k.focusedValue,R=k.isFocused;if(!this.hasValue()||!S)return P?null:Pe.createElement(g,me({},I,{key:"placeholder",isDisabled:A,isFocused:R,innerProps:{id:this.getElementId("placeholder")}}),L);if(F)return N.map(function(D,j){var Q=D===X,U="".concat(o.getOptionLabel(D),"-").concat(o.getOptionValue(D));return Pe.createElement(a,me({},I,{components:{Container:c,Label:f,Remove:h},isFocused:Q,isDisabled:A,key:U,index:j,removeProps:{onClick:function(){return o.removeValue(D)},onTouchEnd:function(){return o.removeValue(D)},onMouseDown:function(be){be.preventDefault()}},data:D}),o.formatOptionLabel(D,"value"))});if(P)return null;var Y=N[0];return Pe.createElement(p,me({},I,{data:Y,isDisabled:A}),this.formatOptionLabel(Y,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),l=o.ClearIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!this.isClearable()||!l||f||!this.hasValue()||h)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:g,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),l=o.LoadingIndicator,a=this.commonProps,c=this.props,f=c.isDisabled,h=c.isLoading,p=this.state.isFocused;if(!l||!h)return null;var g={"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:g,isDisabled:f,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator,a=o.IndicatorSeparator;if(!l||!a)return null;var c=this.commonProps,f=this.props.isDisabled,h=this.state.isFocused;return Pe.createElement(a,me({},c,{isDisabled:f,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),l=o.DropdownIndicator;if(!l)return null;var a=this.commonProps,c=this.props.isDisabled,f=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Pe.createElement(l,me({},a,{innerProps:h,isDisabled:c,isFocused:f}))}},{key:"renderMenu",value:function(){var o=this,l=this.getComponents(),a=l.Group,c=l.GroupHeading,f=l.Menu,h=l.MenuList,p=l.MenuPortal,g=l.LoadingMessage,I=l.NoOptionsMessage,b=l.Option,S=this.commonProps,A=this.state.focusedOption,F=this.props,P=F.captureMenuScroll,L=F.inputValue,k=F.isLoading,N=F.loadingMessage,X=F.minMenuHeight,R=F.maxMenuHeight,Y=F.menuIsOpen,D=F.menuPlacement,j=F.menuPosition,Q=F.menuPortalTarget,U=F.menuShouldBlockScroll,q=F.menuShouldScrollIntoView,be=F.noOptionsMessage,Se=F.onMenuScrollToTop,ue=F.onMenuScrollToBottom;if(!Y)return null;var pe=function(w,je){var ge=w.type,Ne=w.data,St=w.isDisabled,Ve=w.isSelected,yt=w.label,Xt=w.value,Lt=A===Ne,Dt=St?void 0:function(){return o.onOptionHover(Ne)},Nn=St?void 0:function(){return o.selectOption(Ne)},ne="".concat(o.getElementId("option"),"-").concat(je),oe={id:ne,onClick:Nn,onMouseMove:Dt,onMouseOver:Dt,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:Ve};return Pe.createElement(b,me({},S,{innerProps:oe,data:Ne,isDisabled:St,isSelected:Ve,key:ne,label:yt,type:ge,value:Xt,isFocused:Lt,innerRef:Lt?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(w.data,"menu"))},Ee;if(this.hasOptions())Ee=this.getCategorizedOptions().map(function(Le){if(Le.type==="group"){var w=Le.data,je=Le.options,ge=Le.index,Ne="".concat(o.getElementId("group"),"-").concat(ge),St="".concat(Ne,"-heading");return Pe.createElement(a,me({},S,{key:Ne,data:w,options:je,Heading:c,headingProps:{id:St,data:Le.data},label:o.formatGroupLabel(Le.data)}),Le.options.map(function(Ve){return pe(Ve,"".concat(ge,"-").concat(Ve.index))}))}else if(Le.type==="option")return pe(Le,"".concat(Le.index))});else if(k){var Oe=N({inputValue:L});if(Oe===null)return null;Ee=Pe.createElement(g,S,Oe)}else{var Ke=be({inputValue:L});if(Ke===null)return null;Ee=Pe.createElement(I,S,Ke)}var E={minMenuHeight:X,maxMenuHeight:R,menuPlacement:D,menuPosition:j,menuShouldScrollIntoView:q},xe=Pe.createElement(v1,me({},S,E),function(Le){var w=Le.ref,je=Le.placerProps,ge=je.placement,Ne=je.maxHeight;return Pe.createElement(f,me({},S,E,{innerRef:w,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:k,placement:ge}),Pe.createElement(UC,{captureEnabled:P,onTopArrive:Se,onBottomArrive:ue,lockEnabled:U},function(St){return Pe.createElement(h,me({},S,{innerRef:function(yt){o.getMenuListRef(yt),St(yt)},innerProps:{role:"listbox","aria-multiselectable":S.isMulti,id:o.getElementId("listbox")},isLoading:k,maxHeight:Ne,focusedOption:A}),Ee)}))});return Q||j==="fixed"?Pe.createElement(p,me({},S,{appendTo:Q,controlElement:this.controlRef,menuPlacement:D,menuPosition:j}),xe):xe}},{key:"renderFormField",value:function(){var o=this,l=this.props,a=l.delimiter,c=l.isDisabled,f=l.isMulti,h=l.name,p=l.required,g=this.state.selectValue;if(p&&!this.hasValue()&&!c)return Pe.createElement(KC,{name:h,onFocus:this.onValueInputFocus});if(!(!h||c))if(f)if(a){var I=g.map(function(A){return o.getOptionValue(A)}).join(a);return Pe.createElement("input",{name:h,type:"hidden",value:I})}else{var b=g.length>0?g.map(function(A,F){return Pe.createElement("input",{key:"i-".concat(F),name:h,type:"hidden",value:o.getOptionValue(A)})}):Pe.createElement("input",{name:h,type:"hidden",value:""});return Pe.createElement("div",null,b)}else{var S=g[0]?this.getOptionValue(g[0]):"";return Pe.createElement("input",{name:h,type:"hidden",value:S})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,l=this.state,a=l.ariaSelection,c=l.focusedOption,f=l.focusedValue,h=l.isFocused,p=l.selectValue,g=this.getFocusableOptions();return Pe.createElement(LC,me({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:c,focusedValue:f,isFocused:h,selectValue:p,focusableOptions:g,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),l=o.Control,a=o.IndicatorsContainer,c=o.SelectContainer,f=o.ValueContainer,h=this.props,p=h.className,g=h.id,I=h.isDisabled,b=h.menuIsOpen,S=this.state.isFocused,A=this.commonProps=this.getCommonProps();return Pe.createElement(c,me({},A,{className:p,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:I,isFocused:S}),this.renderLiveRegion(),Pe.createElement(l,me({},A,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:I,isFocused:S,menuIsOpen:b}),Pe.createElement(f,me({},A,{isDisabled:I}),this.renderPlaceholderOrValue(),this.renderInput()),Pe.createElement(a,me({},A,{isDisabled:I}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,l){var a=l.prevProps,c=l.clearFocusValueOnUpdate,f=l.inputIsHiddenAfterUpdate,h=l.ariaSelection,p=l.isFocused,g=l.prevWasFocused,I=l.instancePrefix,b=o.options,S=o.value,A=o.menuIsOpen,F=o.inputValue,P=o.isMulti,L=xo(S),k={};if(a&&(S!==a.value||b!==a.options||A!==a.menuIsOpen||F!==a.inputValue)){var N=A?px(o,L):[],X=A?Ph(Fo(o,L),"".concat(I,"-option")):[],R=c?gx(l,L):null,Y=mx(l,N),D=ql(X,Y);k={selectValue:L,focusedOption:Y,focusedOptionId:D,focusableOptionsWithIds:X,focusedValue:R,clearFocusValueOnUpdate:!1}}var j=f!=null&&o!==a?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},Q=h,U=p&&g;return p&&!U&&(Q={value:mu(P,L,L[0]||null),options:L,action:"initial-input-focus"},U=!g),(h==null?void 0:h.action)==="initial-input-focus"&&(Q=null),de(de(de({},k),j),{},{prevProps:o,ariaSelection:Q,prevWasFocused:U})}}]),r}(H.Component);$l.defaultProps=hx;var yx=H.forwardRef(function(e,t){var r=Nd(e);return Pe.createElement($l,me({ref:t},r))}),Oo=yx;const vx=vu,To={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},kh={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Lh(e){if(!e)return vu;const t=typeof e=="function"?e(To):e,{colors:r,spacing:u,borderRadius:o}=_o(vx,t);return{borderRadius:o,colors:r,spacing:u}}function _o(e,...t){const r={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const u of t)u&&(r.borderRadius=u.borderRadius??r.borderRadius,Object.assign(r.boxShadow,u.boxShadow),Object.assign(r.colors,u.colors),Object.assign(r.spacing,u.spacing));return r}function Dh(e){const{field:t,markdown:r}=e,{prop:u}=t,{getClassNames:o,getStyles:l,theme:a}=fn(),c={color:a.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"};return u.type==="app"?$.jsx("p",{className:o("description",e),style:l("description",c,e),children:"Credentials are encrypted."}):u.description?$.jsxs("div",{className:o("description",e),style:l("description",c,e),children:[" ",$.jsx(hd,{components:{a:({...f})=>$.jsx("a",{...f,target:"_blank",rel:"noopener noreferrer"})},children:r})]}):null}function Mh(e){const{field:t}=e,{errors:r={},prop:u={},enableDebugging:o}=t;if(!o||!r[u.name])return null;const l=r[u.name].map(f=>({type:"alert",alertType:"error",content:f})),a={display:"grid",gridTemplateColumns:"max-content"},c=()=>$.jsx($.Fragment,{children:l.map((f,h)=>$.jsx(so,{prop:f},h))});return $.jsx("div",{className:"pd-errors",style:a,children:$.jsx(c,{})})}function Nh(e){const{text:t,field:r}=e,{id:u}=r,{getProps:o,theme:l}=fn(),a={color:l.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return $.jsx("label",{htmlFor:u,...o("label",a,e),children:t})}const Vh=e=>{const{prop:t,enabled:r,onClick:u}=e,{getProps:o,theme:l}=fn(),a={color:l.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${l.spacing.baseUnit}px ${l.spacing.baseUnit*1.5}px ${l.spacing.baseUnit}px ${l.spacing.baseUnit*2.5}px`,border:`1px solid ${l.colors.neutral30}`,borderRadius:l.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:l.spacing.baseUnit*2,textWrap:"nowrap"};return $.jsxs("button",{onClick:u,type:"button",...o("optionalFieldButton",a,e),children:[$.jsx("span",{children:r?"-":"+"}),$.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Wh=e=>{const{onChange:t}=e,{getProps:r,theme:u}=fn(),o={backgroundColor:u.colors.primary,borderRadius:u.borderRadius,border:"solid 1px",borderColor:u.colors.primary25,color:u.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return $.jsx("button",{onClick:t,type:"button",...r("loadMoreButton",o,e),children:"Load More"})},Xh={Description:Dh,Errors:Mh,Label:Nh,OptionalFieldButton:Vh,Button:Wh},Bo=H.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:To,unstyled:!1});function Ix(){const e=H.useContext(Bo)??{},t=Lh(e.theme??{});function r(){return e.classNamePrefix??""}function u(c){var p;const f=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${c}`,h={...((p=e.classNames)==null?void 0:p[c])??{}};return typeof(h==null?void 0:h.container)=="function"&&(h.container=typeof(h==null?void 0:h.container)=="function"?(...g)=>{var I;return[(I=h==null?void 0:h.container)==null?void 0:I.call(h,...g),f].join(" ")}:()=>f),h}function o(c,f){var h;return{...bu,...f??{},...((h=e==null?void 0:e.components)==null?void 0:h[c])??{}}}function l(c,f){var h;return sx(((h=e.styles)==null?void 0:h[c])??{},f??{})}function a(c,f){return{classNamePrefix:r(),classNames:u(c),components:o(c,f==null?void 0:f.components),styles:l(c,f==null?void 0:f.styles),theme:t}}return{getClassNamePrefix:r,getClassNames:u,getComponents:o,getProps:a,getStyles:l,theme:t}}function fn(){const e=H.useContext(Bo)??{},t=e.theme,r=e.unstyled?kh:To,u=typeof t=="function"?_o(r,t(r)):_o(r,t);function o(f,h){var I;const p=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${f.toLowerCase()}`,g=(I=e.classNames)==null?void 0:I[f];if(typeof g=="function"){const b=g,S={...h??{},theme:u};return[p,b(S)].filter(Boolean).join(" ")}return[p,g].filter(Boolean).join(" ")}function l(){return{...Xh,...(e==null?void 0:e.components)??{}}}function a(f,h,p){var I;const g=(I=e.styles)==null?void 0:I[f];if(typeof g=="function"){const b=g,S={...p??{},theme:u};return b(h,S)}return g?{...h,...g}:h}function c(f,h,p){return{className:o(f,p),style:a(f,h,p)}}return{getClassNames:o,getComponents:l,getProps:c,getStyles:a,select:Ix(),theme:u}}const Cx=({children:e,...t})=>$.jsx(Bo.Provider,{value:t,children:e}),Kl=H.createContext(void 0),Jr=()=>{const e=H.useContext(Kl);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Hh=(e,t)=>{var o;const r=ur(),u=Zr({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>r.getAccounts(e)});return{...u,accounts:((o=u.data)==null?void 0:o.data)||[]}},xx=e=>$.jsx(bu.Option,{...e,children:e.data.name});function zh({app:e}){const t=ur(),r=Jr(),{id:u,prop:o,value:l,onChange:a}=r,{getProps:c,select:f,theme:h}=fn(),p={color:h.colors.neutral60,gridArea:"control"},g={backgroundColor:h.colors.primary,borderRadius:h.borderRadius,border:"solid 1px",borderColor:h.colors.primary25,color:h.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},I={components:{Option:xx},styles:{control:N=>({...N,gridArea:"control",boxShadow:h.boxShadow.input})}},b=f.getProps("controlAppSelect",I),S=void 0,{isLoading:A,accounts:F,refetch:P}=Hh({app:e.name_slug,oauth_app_id:S},{useQueryOpts:{enabled:!!e,suspense:!!e}}),L=async()=>{t.connectAccount({app:o.app,oauthAppId:S,onSuccess:async N=>{await P(),a({authProvisionId:N.id})},onError:()=>{}})},k=H.useMemo(()=>{let N=l;if(N!=null){for(const X of F)if(N.authProvisionId===X.id){N=X;break}}return N},[F,l]);return $.jsx("div",{...c("controlApp",p,{app:e,...r}),children:A?`Loading ${e.name} accounts...`:F.length?$.jsx(Oo,{instanceId:u,value:k,options:[...F,{id:"_new",name:`Connect new ${e.name} account...`}],...b,required:!0,placeholder:`Select ${e.name} account...`,isLoading:A,isClearable:!0,isSearchable:!0,getOptionLabel:N=>N.name,getOptionValue:N=>N.id,onChange:N=>{N?N.id==="_new"?L():a({authProvisionId:N.id}):a(void 0)}}):$.jsxs("button",{type:"button",...c("connectButton",g,{app:e,...r}),onClick:()=>L(),children:["Connect ",e.name]})})}function Zh(){const e=Jr(),{id:t,value:r,onChange:u}=e,{getProps:o}=fn(),l={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return $.jsx("input",{id:t,type:"checkbox",...o("controlBoolean",l,e),checked:r??!1,onChange:a=>u(a.target.checked)})}function Yh(){const e=Jr(),{id:t,onChange:r,prop:u,value:o}=e,{getProps:l,theme:a}=fn(),c={color:a.colors.neutral60,display:"block",border:"1px solid",borderColor:a.colors.neutral20,padding:6,width:"100%",borderRadius:a.borderRadius,gridArea:"control",boxShadow:a.boxShadow.input};let f="off",h="text",p=g=>g;switch(u.type){case"string":break;case"integer":h="number",p=g=>g?parseInt(g):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+u.type)}return"secret"in u&&u.secret&&(h="password",f="new-password"),$.jsx("input",{id:t,type:h,name:u.name,value:o??"",onChange:g=>r(p(g.target.value)),...l("controlInput",c,e),min:"min"in u?u.min:void 0,max:"max"in u?u.max:void 0,autoComplete:f,"data-lpignore":"true","data-1p-ignore":"true",required:!u.optional})}var Ax=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Jh=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,u=arguments.length>2?arguments[2]:void 0,o=String(t).toLowerCase(),l=String(u.getOptionValue(r)).toLowerCase(),a=String(u.getOptionLabel(r)).toLowerCase();return l===o||a===o},ea={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,u,o){return!(!t||r.some(function(l){return Jh(t,l,o)})||u.some(function(l){return Jh(t,l,o)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function wx(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,u=e.createOptionPosition,o=u===void 0?"last":u,l=e.formatCreateLabel,a=l===void 0?ea.formatCreateLabel:l,c=e.isValidNewOption,f=c===void 0?ea.isValidNewOption:c,h=e.getNewOptionData,p=h===void 0?ea.getNewOptionData:h,g=e.onCreateOption,I=e.options,b=I===void 0?[]:I,S=e.onChange,A=Un(e,Ax),F=A.getOptionValue,P=F===void 0?wh:F,L=A.getOptionLabel,k=L===void 0?Ah:L,N=A.inputValue,X=A.isLoading,R=A.isMulti,Y=A.value,D=A.name,j=H.useMemo(function(){return f(N,xo(Y),b,{getOptionValue:P,getOptionLabel:k})?p(N,a(N)):void 0},[a,p,k,P,N,f,b,Y]),Q=H.useMemo(function(){return(r||!X)&&j?o==="first"?[j].concat(xi(b)):[].concat(xi(b),[j]):b},[r,o,X,j,b]),U=H.useCallback(function(q,be){if(be.action!=="select-option")return S(q,be);var Se=Array.isArray(q)?q:[q];if(Se[Se.length-1]===j){if(g)g(N);else{var ue=p(N,N),pe={action:"create-option",name:D,option:ue};S(mu(R,[].concat(xi(xo(Y)),[ue]),ue),pe)}return}S(q,be)},[p,N,R,D,j,g,S,Y]);return de(de({},A),{},{options:Q,onChange:U})}var Sx=H.forwardRef(function(e,t){var r=Nd(e),u=wx(r);return Pe.createElement($l,me({ref:t},u))}),Ex=Sx;function Go({isCreatable:e,options:t,selectProps:r,showLoadMoreButton:u,onLoadMore:o}){const l=Jr(),{id:a,prop:c,value:f,onChange:h}=l,{select:p,theme:g}=fn(),[I,b]=H.useState(t),[S,A]=H.useState(f);H.useEffect(()=>{b(t)},[t]),H.useEffect(()=>{A(f)},[f]);const F={styles:{container:D=>({...D,gridArea:"control",boxShadow:g.boxShadow.input})}},P=H.useMemo(()=>{let D=S;if(D!=null)if(Array.isArray(D)){if(typeof D[0]!="object"){const j=[];for(const Q of D){let U={label:Q,value:Q};for(const q of I)if(q.value===Q){U=q;break}j.push(U)}D=j}}else if(typeof D!="object")if((I==null?void 0:I[0])&&typeof I[0]=="object"){for(const Q of I)if(Q.value===S){D=Q;break}}else D={label:S,value:S};else D.__lv&&(D=D.__lv);return D},[S,I]),L=({children:D,...j})=>$.jsxs(bu.MenuList,{...j,children:[D,$.jsx("div",{className:"pt-4",children:$.jsx(Wh,{onChange:o})})]}),k=p.getProps("controlSelect",F);u&&(k.components={...k.components,MenuList:L});const N=D=>{const j=be=>typeof be=="object"?be:{label:be,value:be},Q=j(D);let U=Q;const q=I?[Q,...I]:[Q];b(q),c.type.endsWith("[]")&&(Array.isArray(S)?U=[...S.map(j),Q]:U=[Q]),A(U),X(U)},X=D=>{if(D)if(Array.isArray(D))typeof D[0]=="object"&&"value"in D[0]?h({__lv:D}):h(D);else if(typeof D=="object"&&"value"in D)h({__lv:D});else throw new Error("unhandled option type");else h(void 0)},R={onCreateOption:c.remoteOptions?N:void 0},Y=e?Ex:Oo;return $.jsx(Y,{inputId:a,instanceId:a,options:I,value:P,isMulti:c.type.endsWith("[]"),isClearable:!0,required:!c.optional,...k,...r,...R,onChange:X})}function jh({queryEnabled:e}){const t=ur(),{userId:r,component:u,configurableProps:o,configuredProps:l,dynamicProps:a,props:{disableQueryDisabling:c}}=po(),{idx:f,prop:h}=Jr(),[p,g]=H.useState(""),[I,b]=H.useState(0),[S,A]=H.useState(!0),[F,P]=H.useState(void 0),[L,k]=H.useState({page:0,prevContext:{},data:[],values:new Set}),N={};for(let ue=0;ue<f;ue++){const pe=o[ue];N[pe.name]=l[pe.name]}const X={userId:r,page:I,prevContext:F,componentId:u.key,propName:h.name,configuredProps:N,dynamicPropsId:a==null?void 0:a.id};h.useQuery&&(X.query=p||"");const R={...X};delete R.dynamicPropsId;const[Y,D]=H.useState(),j=()=>{b(L.page),P(L.prevContext),k({...L,prevContext:{}})},{isFetching:Q,refetch:U}=Zr({queryKey:["componentConfigure",R],queryFn:async()=>{D(void 0);const ue=await t.componentConfigure(X),{options:pe,stringOptions:Ee,errors:Oe}=ue;if(Oe!=null&&Oe.length){try{D(JSON.parse(Oe[0]))}catch{D({name:"Error",message:Oe[0]})}return[]}let Ke=[];if(pe!=null&&pe.length&&(Ke=pe),Ee!=null&&Ee.length){const w=[];for(const je of Ee)w.push({label:je,value:je});Ke=w}const E=[],xe=new Set(L.values);for(const w of Ke||[]){const je=typeof w=="string"?w:w.value;xe.has(je)||(xe.add(je),E.push(w))}let Le=L.data;return E.length?(Le=[...L.data,...E],k({page:I+1,prevContext:ue.context,data:Le,values:xe})):A(!1),Le},enabled:!!e}),q=()=>!Q&&!Y&&S,be=Y?Y.message:c?"Click to configure":e?void 0:"Configure props above first",Se=c?!1:!e;return $.jsx(Go,{isCreatable:!0,showLoadMoreButton:q(),onLoadMore:j,options:L.data,selectProps:{isLoading:Q,placeholder:be,isDisabled:Se,inputValue:h.useQuery?p:void 0,onInputChange(ue){h.useQuery&&(g(ue),U())},onMenuOpen(){c&&!e&&U()}}})}function Uh(e){const{field:t,form:r}=e,{queryDisabledIdx:u}=r,{prop:o,idx:l}=t,a="app"in t.extra?t.extra.app:void 0;if(o.remoteOptions||o.type==="$.discord.channel")return $.jsx(jh,{queryEnabled:u==null||u>=l});if("options"in o&&o.options){let c=o.options;return typeof c[0]!="object"&&(c=c.map(f=>({label:f,value:f}))),$.jsx(Go,{options:c,components:{IndicatorSeparator:()=>null}})}if(o.type.endsWith("[][]"))throw new Error("Unsupported property type: "+o.type);if(o.type.endsWith("[]"))return $.jsx(Go,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(o.type){case"app":return $.jsx(zh,{app:a});case"boolean":return $.jsx(Zh,{});case"string":case"integer":return $.jsx(Yh,{});default:throw new Error("Unsupported property type: "+o.type)}}function Qh(e){const{form:t,field:r}=e,{prop:u}=r,{getProps:o,getComponents:l}=fn(),a={display:"grid",gridTemplateAreas:r.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:c,Description:f,Errors:h}=l(),p="app"in r.extra?r.extra.app:void 0;if(p&&!p.auth_type)return null;let g=u.label||u.name;return p&&(g=`Connect ${p.name} account`),$.jsxs("div",{...o("field",a,e),children:[$.jsx(c,{text:g,field:r,form:t}),$.jsx(Uh,{field:r,form:t}),$.jsx(f,{markdown:u.description,field:r,form:t}),$.jsx(h,{field:r,form:t})]})}const qh=(e,t)=>{var o;const r=ur(),u=Zr({queryKey:["app",e],queryFn:()=>r.app(e),...t==null?void 0:t.useQueryOpts});return{...u,app:(o=u.data)==null?void 0:o.data}};function $h({prop:e,idx:t}){const r=po(),{id:u,configuredProps:o,registerField:l,setConfiguredProp:a,errors:c,enableDebugging:f}=r,h=e.type==="app"&&"app"in e?e.app:void 0,{app:p}=qh(h||"",{useQueryOpts:{enabled:!!h,suspense:!!h}}),I={id:`pd${u}${e.name}`,prop:e,idx:t,value:o[e.name],onChange(b){a(t,b)},extra:{app:p},errors:c,enableDebugging:f};return H.useEffect(()=>l(I),[I]),$.jsx(Kl.Provider,{value:I,children:$.jsx(Qh,{field:I,form:r})})}class Kh extends H.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function ep(e){const{form:t}=e,{propsNeedConfiguring:r,submitting:u}=t,{getProps:o,theme:l}=fn(),a=c=>{var f;return{width:"fit-content",textTransform:"capitalize",backgroundColor:c?l.colors.neutral10:l.colors.primary,color:c?l.colors.neutral40:l.colors.neutral0,padding:`${l.spacing.baseUnit*1.75}px ${l.spacing.baseUnit*16}px`,borderRadius:l.borderRadius,boxShadow:(f=l.boxShadow)==null?void 0:f.button,cursor:"pointer",fontSize:"0.875rem",opacity:u?.5:void 0,margin:"0.5rem 0 0 0"}};return $.jsx("input",{type:"submit",value:u?"Submitting...":"Submit",...o("controlSubmit",a(r.length||u),e),disabled:r.length||u})}const Fx=["ConfigurationError"];function tp(){const e=po(),{configurableProps:t,dynamicPropsQueryIsFetching:r,isValid:u,optionalPropIsEnabled:o,optionalPropSetEnabled:l,props:a,setSubmitting:c,sdkErrors:f,submitting:h,enableDebugging:p}=e,g=p||f.filter(Q=>Fx.includes(Q.name)).length>0,{hideOptionalProps:I,onSubmit:b}=a,[S,A]=H.useState([]);H.useEffect(()=>{h?A([]):f&&f.length&&A(f.map(Q=>({type:"alert",alertType:"error",content:`# ${Q.name}
46
+ ${Q.message}`})))},[f,h]);const{getComponents:F,getProps:P,theme:L}=fn(),{OptionalFieldButton:k}=F(),N={display:"flex",flexDirection:"column",gap:"1.5rem"},X={display:"flex",flexWrap:"wrap",gap:"0.375rem"},R={fontWeight:600,textTransform:"capitalize",color:L.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},Y=async Q=>{if(b&&(Q.preventDefault(),u)){c(!0);try{await b(e)}finally{c(!1)}}},D=[],j=[];for(let Q=0;Q<t.length;Q++){const U=t[Q];if(!U.hidden&&!pu.includes(U.type)){if(U.optional){const q=o(U);if(j.push([U,q]),!q)continue}D.push([U,Q])}}return $.jsx(Kh,{fallback:Q=>$.jsxs("p",{style:{color:"red"},children:["Error: ",Q&&typeof Q=="object"&&"message"in Q&&typeof Q.message=="string"?Q.message:"Unknown"]}),children:$.jsx(H.Suspense,{fallback:$.jsx("p",{children:"Loading form..."}),children:$.jsxs("form",{...P("componentForm",N,a),onSubmit:Y,children:[D.map(([Q,U])=>Q.type==="alert"?$.jsx(so,{prop:Q},Q.name):$.jsx($h,{prop:Q,idx:U},Q.name)),r&&$.jsx("p",{children:"Loading dynamic props..."}),!I&&j.length?$.jsxs("div",{children:[$.jsx("div",{...P("heading",R,a),children:"Optional Props"}),$.jsx("div",{...P("optionalFields",X,a),children:j.map(([Q,U])=>$.jsx(k,{prop:Q,enabled:U,onClick:()=>l(Q,!U)},Q.name))})]}):null,g&&(S==null?void 0:S.map((Q,U)=>$.jsx(so,{prop:Q},U))),b&&$.jsx(ep,{form:e})]})})})}function np(e){return $.jsx(kd,{props:e,children:$.jsx(tp,{})})}const rp=({key:e},t)=>{var o;const r=ur(),u=Zr({queryKey:["component",e],queryFn:()=>r.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...u,component:(o=u.data)==null?void 0:o.data}};function Px(e){const{isLoading:t,error:r,component:u}=rp({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?$.jsx("p",{children:"Loading..."}):r?$.jsxs("p",{children:["Error: ",r.message]}):u?$.jsx(np,{component:u,...e}):$.jsx("p",{children:"Component not found"})}function Ox(){const e=Jr(),{id:t,onChange:r,value:u}=e,{getProps:o,theme:l}=fn(),a={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:l.boxShadow.input};let c=u;return typeof c=="object"&&(c=JSON.stringify(c)),$.jsx("textarea",{id:t,value:c,onChange:f=>r(f.target.value),...o("controlAny",a,e)})}const ip=e=>{var u;const t=ur(),r=Zr({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...r,apps:((u=r.data)==null?void 0:u.data)||[]}};function Tx({value:e,onChange:t}){const[r,u]=H.useState(""),o=H.useId(),{isLoading:l,apps:a}=ip({q:r}),{Option:c,SingleValue:f}=bu,h=(a==null?void 0:a.find(p=>p.name_slug===(e==null?void 0:e.name_slug)))||null;return $.jsx(Oo,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:p=>$.jsx(c,{...p,children:$.jsxs("div",{style:{display:"flex",gap:10},children:[$.jsx("img",{src:`https://pipedream.com/s.v0/${p.data.id}/logo/48`,style:{height:24,width:24},alt:p.data.name}),$.jsx("span",{style:{whiteSpace:"nowrap"},children:p.data.name})]})}),SingleValue:p=>$.jsx(f,{...p,children:$.jsxs("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[$.jsx("img",{src:`https://pipedream.com/s.v0/${p.data.id}/logo/48`,style:{height:24,width:24},alt:p.data.name}),$.jsx("span",{style:{whiteSpace:"nowrap"},children:p.data.name})]})}),IndicatorSeparator:()=>null},options:a||[],getOptionLabel:p=>p.name||p.name_slug,getOptionValue:p=>p.name_slug,value:h,onChange:p=>t==null?void 0:t(p||void 0),onInputChange:p=>{p&&u(p)},isLoading:l})}const up=e=>{var u;const t=ur(),r=Zr({queryKey:["components",e],queryFn:()=>t.components(e)});return{...r,components:((u=r.data)==null?void 0:u.data)||[]}};function _x({app:e,componentType:t,value:r,onChange:u}){const o=H.useId(),{isLoading:l,components:a}=up({app:e==null?void 0:e.name_slug,componentType:t}),c=(a==null?void 0:a.find(f=>f.key===(r==null?void 0:r.key)))||null;return $.jsx(Oo,{instanceId:o,className:"react-select-container text-sm",classNamePrefix:"react-select",options:a,getOptionLabel:f=>f.name||f.key,getOptionValue:f=>f.key,value:c,onChange:f=>u==null?void 0:u(f||void 0),isLoading:l,components:{IndicatorSeparator:()=>null}})}ie.Alert=so,ie.ComponentForm=np,ie.ComponentFormContainer=Px,ie.Control=Uh,ie.ControlAny=Ox,ie.ControlApp=zh,ie.ControlBoolean=Zh,ie.ControlInput=Yh,ie.ControlSelect=Go,ie.ControlSubmit=ep,ie.CustomizationContext=Bo,ie.CustomizeProvider=Cx,ie.Description=Dh,ie.ErrorBoundary=Kh,ie.Errors=Mh,ie.Field=Qh,ie.FormContext=Ll,ie.FormContextProvider=kd,ie.FormFieldContext=Kl,ie.FrontendClientProvider=mI,ie.InternalComponentForm=tp,ie.InternalField=$h,ie.Label=Nh,ie.OptionalFieldButton=Vh,ie.RemoteOptionsContainer=jh,ie.SelectApp=Tx,ie.SelectComponent=_x,ie.defaultComponents=Xh,ie.defaultTheme=To,ie.getReactSelectTheme=Lh,ie.mergeTheme=_o,ie.skippablePropTypes=pu,ie.unstyledTheme=kh,ie.useAccounts=Hh,ie.useApp=qh,ie.useApps=ip,ie.useComponent=rp,ie.useComponents=up,ie.useCustomize=fn,ie.useFormContext=po,ie.useFormFieldContext=Jr,ie.useFrontendClient=ur,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});