(()=>{var Xn=Object.create;var Ke=Object.defineProperty;var Zn=Object.getOwnPropertyDescriptor;var eo=Object.getOwnPropertyNames,tt=Object.getOwnPropertySymbols,ro=Object.getPrototypeOf,nt=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable;var ot=(e,r,t)=>r in e?Ke(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ye=(e,r)=>{for(var t in r||(r={}))nt.call(r,t)&&ot(e,t,r[t]);if(tt)for(var t of tt(r))to.call(r,t)&&ot(e,t,r[t]);return e};var no=e=>Ke(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var oo=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of eo(r))!nt.call(e,o)&&(t||o!=="default")&&Ke(e,o,{get:()=>r[o],enumerable:!(n=Zn(r,o))||n.enumerable});return e},kr=(e,r)=>oo(no(Ke(e!=null?Xn(ro(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Ot=be((oi,Xe)=>{/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var it,at,st,ft,ut,ct,lt,pt,mt,Je,Hr,ht,dt,vt,Ee,bt,yt,xt,gt,wt,_t,St,Et,Be;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(t(r,t(n)))}):typeof Xe=="object"&&typeof Xe.exports=="object"?e(t(r,t(Xe.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};it=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},at=Object.assign||function(n){for(var o,i=1,s=arguments.length;i=0;c--)(u=n[c])&&(a=(f<3?u(a):f>3?u(o,i,a):u(o,i))||a);return f>3&&a&&Object.defineProperty(o,i,a),a},ut=function(n,o){return function(i,s){o(i,s,n)}},ct=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},lt=function(n,o,i,s){function f(a){return a instanceof i?a:new i(function(u){u(a)})}return new(i||(i=Promise))(function(a,u){function c(h){try{l(s.next(h))}catch(d){u(d)}}function p(h){try{l(s.throw(h))}catch(d){u(d)}}function l(h){h.done?a(h.value):f(h.value).then(c,p)}l((s=s.apply(n,o||[])).next())})},pt=function(n,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,f,a,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(h){return p([l,h])}}function p(l){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,f&&(a=l[0]&2?f.return:l[0]?f.throw||((a=f.return)&&a.call(f),0):f.next)&&!(a=a.call(f,l[1])).done)return a;switch(f=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,f=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Hr=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var s=i.call(n),f,a=[],u;try{for(;(o===void 0||o-- >0)&&!(f=s.next()).done;)a.push(f.value)}catch(c){u={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(u)throw u.error}}return a},ht=function(){for(var n=[],o=0;o1||c(m,b)})})}function c(m,b){try{p(s[m](b))}catch(w){d(a[0][3],w)}}function p(m){m.value instanceof Ee?Promise.resolve(m.value.v).then(l,h):d(a[0][2],m)}function l(m){c("next",m)}function h(m){c("throw",m)}function d(m,b){m(b),a.shift(),a.length&&c(a[0][0],a[0][1])}},yt=function(n){var o,i;return o={},s("next"),s("throw",function(f){throw f}),s("return"),o[Symbol.iterator]=function(){return this},o;function s(f,a){o[f]=n[f]?function(u){return(i=!i)?{value:Ee(n[f](u)),done:f==="return"}:a?a(u):u}:a}},xt=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof Je=="function"?Je(n):n[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(a){i[a]=n[a]&&function(u){return new Promise(function(c,p){u=n[a](u),f(c,p,u.done,u.value)})}}function f(a,u,c,p){Promise.resolve(p).then(function(l){a({value:l,done:c})},u)}},gt=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var t=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};wt=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&Be(o,n,i);return t(o,n),o},_t=function(n){return n&&n.__esModule?n:{default:n}},St=function(n,o,i,s){if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?n!==o||!s:!o.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?s:i==="a"?s.call(n):s?s.value:o.get(n)},Et=function(n,o,i,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?n!==o||!f:!o.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(n,i):f?f.value=i:o.set(n,i),i},e("__extends",it),e("__assign",at),e("__rest",st),e("__decorate",ft),e("__param",ut),e("__metadata",ct),e("__awaiter",lt),e("__generator",pt),e("__exportStar",mt),e("__createBinding",Be),e("__values",Je),e("__read",Hr),e("__spread",ht),e("__spreadArrays",dt),e("__spreadArray",vt),e("__await",Ee),e("__asyncGenerator",bt),e("__asyncDelegator",yt),e("__asyncValues",xt),e("__makeTemplateObject",gt),e("__importStar",wt),e("__importDefault",_t),e("__classPrivateFieldGet",St),e("__classPrivateFieldSet",Et)})});var $e=be(J=>{(function(){var e,r,t,n,o,i,s,f,a,u,c,p,l,h,d,m,b,w,S,L;L=150,u=20,S=150,a=.75,J.score=function(v,y,_){var E,x,g,T;return x=_.preparedQuery,E=_.allowErrors,E||o(v,x.core_lw,x.core_up)?(T=v.toLowerCase(),g=r(v,T,x),Math.ceil(g)):0},J.isMatch=o=function(v,y,_){var E,x,g,T,R,z,C;if(g=v.length,T=y.length,!g||T>g)return!1;for(E=-1,x=-1;++x-1)return d(v,y,he,ie,fe,N,q);for(Se=new Array(N),R=new Array(N),Fr=w(N,q),V=Math.ceil(a*N)+5,oe=V,C=!0,I=-1;++Iue&&(ue=Qe),z=0,ie[I]===Pr)if(Rr=f(k,v,y),z=T>0?T:l(v,y,he,ie,k,I,Rr),g=Lr+p(k,I,Rr,x,z),g>ue)ue=g,oe=V;else{if(ve&&--oe<=0)return Math.max(ue,Se[N-1])*Fr;ve=!1}Lr=Qe,T=R[I],R[I]=z,Se[I]=ue}}return ue=Se[N-1],ue*Fr},J.isWordStart=f=function(v,y,_){var E,x;return v===0?!0:(E=y[v],x=y[v-1],i(x)||E!==_[v]&&x===_[v-1])},J.isWordEnd=s=function(v,y,_,E){var x,g;return v===E-1?!0:(x=y[v],g=y[v+1],i(g)||x===_[v]&&g!==_[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var y;return vx?E:x)+10):g+L*x},J.scoreConsecutives=l=function(v,y,_,E,x,g,T){var R,z,C,k,I,q,V;for(z=v.length,k=_.length,C=z-x,I=k-g,R=C-1&&(I=f(C,v,y),I&&(x=C))),z=-1,k=0;++z1&&C>1))return t;for(x=0,V=0,oe=0,I=0,T=-1,R=-1;++R-1){V++;continue}else break;for(;++T12*R)return!1;for(g=-1;++gE)return!1;return!0}}).call(J)});var Ir=be(Ge=>{(function(){var e,r,t,n,o,i,s,f,a,u;u=$e(),i=u.isMatch,e=u.computeScore,f=u.scoreSize,a=20,t=2.5,Ge.score=function(c,p,l){var h,d,m,b;return d=l.preparedQuery,h=l.allowErrors,h||i(c,d.core_lw,d.core_up)?(b=c.toLowerCase(),m=e(c,b,d),m=s(c,b,m,l),Math.ceil(m)):0},s=function(c,p,l,h){var d,m,b,w,S,L,v,y,_,E;if(l===0)return 0;for(_=h.preparedQuery,E=h.useExtensionBonus,y=h.pathSeparator,S=c.length-1;c[S]===y;)S--;if(b=c.lastIndexOf(y,S),v=S-b,L=1,E&&(L+=o(p,_.ext,b,S,2),l*=L),b===-1)return l;for(w=_.depth;b>-1&&w-- >0;)b=c.lastIndexOf(y,b-1);return m=b===-1?l:L*e(c.slice(b+1,S+1),p.slice(b+1,S+1),_),d=.5*a/(a+r(c,S+1,y)),d*m+(1-d)*l*f(0,t*v)},Ge.countDir=r=function(c,p,l){var h,d;if(p<1)return 0;for(h=0,d=-1;++dl)))return 0;for(w=p.length,m=h-S,m0?.9*o(c,p,l,S-2,d-1):b/m}}).call(Ge)});var Zr=be((kn,Hn)=>{(function(){var e,r,t,n,o,i,s,f;f=Ir(),t=f.countDir,o=f.getExtension,Hn.exports=e=function(){function a(u,c){var p,l,h;if(h=c!=null?c:{},p=h.optCharRegEx,l=h.pathSeparator,!(u&&u.length))return null;this.query=u,this.query_lw=u.toLowerCase(),this.core=r(u,p),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=t(u,u.length,l),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,u){return u==null&&(u=i),a.replace(u,"")},s=function(a){var u,c,p,l;for(c="",p=0,l=a.length;p{(function(){var e,r,t,n,o;n=$e(),r=Ir(),e=Zr(),t=function(i){return i.candidate},o=function(i,s){return s.score-i.score},Wn.exports=function(i,s,f){var a,u,c,p,l,h,d,m,b,w,S,L,v;for(m=[],c=f.key,l=f.maxResults,p=f.maxInners,S=f.usePathScoring,b=p!=null&&p>0?p:i.length+1,a=c!=null,d=S?r:n,L=0,v=i.length;L0&&(m.push({candidate:u,score:h}),!--b))));L++);return m.sort(o),i=m.map(t),l!=null&&(i=i.slice(0,l)),i}}).call(zn)});var Vn=be(Cr=>{(function(){var e,r,t,n,o,i,s,f,a,u;u=$e(),t=u.isMatch,n=u.isWordStart,a=u.scoreConsecutives,f=u.scoreCharacter,s=u.scoreAcronyms,Cr.match=o=function(c,p,l){var h,d,m,b,w,S;return h=l.allowErrors,w=l.preparedQuery,b=l.pathSeparator,h||t(c,w.core_lw,w.core_up)?(S=c.toLowerCase(),m=r(c,S,w),m.length===0||c.indexOf(b)>-1&&(d=e(c,S,w,b),m=i(m,d)),m):[]},Cr.wrap=function(c,p,l){var h,d,m,b,w,S,L,v,y;if(l.wrap!=null&&(y=l.wrap,S=y.tagClass,v=y.tagOpen,L=y.tagClose),S==null&&(S="highlight"),v==null&&(v=''),L==null&&(L=""),c===p)return v+c+L;if(m=o(c,p,l),m.length===0)return c;for(b="",h=-1,w=0;++hw&&(b+=c.substring(w,d),w=d);++hw&&(b+=v,b+=c.substring(w,d),b+=L,w=d)}return w<=c.length-1&&(b+=c.substring(w)),b},e=function(c,p,l,h){var d,m,b;for(b=c.length-1;c[b]===h;)b--;if(d=c.lastIndexOf(h,b),d===-1)return[];for(m=l.depth;m-- >0;)if(d=c.lastIndexOf(h,d-1),d===-1)return[];return d++,b++,r(c.slice(d,b),p.slice(d,b),l,d)},i=function(c,p){var l,h,d,m,b,w,S;if(b=c.length,w=p.length,w===0)return c.slice();if(b===0)return p.slice();for(d=-1,m=0,h=p[m],S=[];++d0?y:a(c,p,I,q,x,g,ie),L=oe+f(x,g,ie,S,E)),fe=N[g],y=_[g],V>fe?z=m:(V=fe,z=w),L>V?(V=L,z=d):E=0,N[g]=V,_[g]=E,ve[++k]=V>0?z:b;for(x=T-1,g=C-1,k=x*C+g,v=!0,R=[];v&&x>=0&&g>=0;)switch(ve[k]){case w:x--,k-=C;break;case m:g--,k--;break;case d:R.push(x+h),g--,x--,k-=C+1;break;default:v=!1}return R.reverse(),R}}).call(Cr)});var et=be((Un,qn)=>{(function(){var e,r,t,n,o,i,s,f;t=jn(),n=Vn(),f=$e(),i=Ir(),e=Zr(),s=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",qn.exports={filter:function(a,u,c){return c==null&&(c={}),(u!=null?u.length:void 0)&&(a!=null?a.length:void 0)?(c=o(c,u),t(a,u,c)):[]},score:function(a,u,c){return c==null&&(c={}),(a!=null?a.length:void 0)&&(u!=null?u.length:void 0)?(c=o(c,u),c.usePathScoring?i.score(a,u,c):f.score(a,u,c)):0},match:function(a,u,c){var p,l,h;return c==null&&(c={}),a?u?a===u?function(){h=[];for(var d=0,m=a.length;0<=m?dm;0<=m?d++:d--)h.push(d);return h}.apply(this):(c=o(c,u),n.match(a,u,c)):[]:[]},wrap:function(a,u,c){return c==null&&(c={}),a?u?(c=o(c,u),n.wrap(a,u,c)):[]:[]},prepareQuery:function(a,u){return u==null&&(u={}),u=o(u,a),u.preparedQuery}},o=function(a,u){return a.allowErrors==null&&(a.allowErrors=!1),a.usePathScoring==null&&(a.usePathScoring=!0),a.useExtensionBonus==null&&(a.useExtensionBonus=!1),a.pathSeparator==null&&(a.pathSeparator=r),a.optCharRegEx==null&&(a.optCharRegEx=null),a.wrap==null&&(a.wrap=null),a.preparedQuery==null&&(a.preparedQuery=s&&s.query===u?s:s=new e(u,a)),a}}).call(Un)});var Tt=kr(Ot(),1),{__extends:U,__assign:ii,__rest:ai,__decorate:si,__param:fi,__metadata:ui,__awaiter:At,__generator:Ze,__exportStar:ci,__createBinding:li,__values:Z,__read:H,__spread:pi,__spreadArrays:mi,__spreadArray:j,__await:er,__asyncGenerator:Mt,__asyncDelegator:hi,__asyncValues:It,__makeTemplateObject:di,__importStar:vi,__importDefault:bi,__classPrivateFieldGet:yi,__classPrivateFieldSet:xi}=Tt.default;function O(e){return typeof e=="function"}function rr(e){var r=function(n){Error.call(n),n.stack=new Error().stack},t=e(r);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var tr=rr(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: `+t.map(function(n,o){return o+1+") "+n.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=t}});function ce(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var ae=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var r,t,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var f=Z(s),a=f.next();!a.done;a=f.next()){var u=a.value;u.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(t=f.return)&&t.call(f)}finally{if(r)throw r.error}}else s.remove(this);var c=this.initialTeardown;if(O(c))try{c()}catch(m){i=m instanceof tr?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var l=Z(p),h=l.next();!h.done;h=l.next()){var d=h.value;try{Ct(d)}catch(m){i=i!=null?i:[],m instanceof tr?i=j(j([],H(i)),H(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}if(i)throw new tr(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)Ct(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(t=this._teardowns)!==null&&t!==void 0?t:[]).push(r)}},e.prototype._hasParent=function(r){var t=this._parentage;return t===r||Array.isArray(t)&&t.includes(r)},e.prototype._addParent=function(r){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(r),t):t?[t,r]:r},e.prototype._removeParent=function(r){var t=this._parentage;t===r?this._parentage=null:Array.isArray(t)&&ce(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&ce(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var zr=ae.EMPTY;function nr(e){return e instanceof ae||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function Ct(e){O(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Oe={setTimeout:function(){for(var e=[],r=0;r0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},r.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},r.prototype._innerSubscribe=function(t){var n=this,o=n.hasError,i=n.isStopped,s=n.observers;return o||i?zr:(s.push(t),new ae(function(){return ce(s,t)}))},r.prototype._checkFinalizedStatuses=function(t){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?t.error(i):s&&t.complete()},r.prototype.asObservable=function(){var t=new P;return t.source=this,t},r.create=function(t,n){return new jt(t,n)},r}(P);var jt=function(e){U(r,e);function r(t,n){var o=e.call(this)||this;return o.destination=t,o.source=n,o}return r.prototype.next=function(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,t)},r.prototype.error=function(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,t)},r.prototype.complete=function(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)},r.prototype._subscribe=function(t){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&o!==void 0?o:zr},r}(B);var We={now:function(){return(We.delegate||Date).now()},delegate:void 0};var Vt=function(e){U(r,e);function r(t,n,o){t===void 0&&(t=1/0),n===void 0&&(n=1/0),o===void 0&&(o=We);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return r.prototype.next=function(t){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,f=n._timestampProvider,a=n._windowTime;o||(i.push(t),!s&&i.push(f.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(t),o=this,i=o._infiniteTimeWindow,s=o._buffer,f=s.slice(),a=0;a0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t._scheduled||(t._scheduled=Ie.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);t.actions.some(function(i){return i.id===n})||(Ie.cancelAnimationFrame(n),t._scheduled=void 0)},r}(ir);var Dt=function(e){U(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;t=t||o.shift();do if(i=t.execute(t.state,t.delay))break;while((t=o[0])&&t.id===n&&o.shift());if(this._active=!1,i){for(;(t=o[0])&&t.id===n&&o.shift();)t.unsubscribe();throw i}},r}(ar);var qr=new Dt(Nt);var le=new P(function(e){return e.complete()});function sr(e){return e&&O(e.schedule)}function Nr(e){return e[e.length-1]}function Ce(e){return O(Nr(e))?e.pop():void 0}function se(e){return sr(Nr(e))?e.pop():void 0}function $t(e,r){return typeof Nr(e)=="number"?e.pop():r}var Le=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function fr(e){return O(e==null?void 0:e.then)}function ur(e){return O(e[Me])}function cr(e){return Symbol.asyncIterator&&O(e==null?void 0:e[Symbol.asyncIterator])}function lr(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function uo(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var pr=uo();function mr(e){return O(e==null?void 0:e[pr])}function hr(e){return Mt(this,arguments,function(){var t,n,o,i;return Ze(this,function(s){switch(s.label){case 0:t=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,er(t.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,er(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,er(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function dr(e){return O(e==null?void 0:e.getReader)}function W(e){if(e instanceof P)return e;if(e!=null){if(ur(e))return co(e);if(Le(e))return lo(e);if(fr(e))return po(e);if(cr(e))return Gt(e);if(mr(e))return mo(e);if(dr(e))return ho(e)}throw lr(e)}function co(e){return new P(function(r){var t=e[Me]();if(O(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lo(e){return new P(function(r){for(var t=0;t{let r=Er();return typeof r!="undefined"?e.contains(r):!1}),de(e===Er()),me())}function bn(e){return{x:e.scrollLeft,y:e.scrollTop}}function yn(e){return D(Q(e,"scroll"),Q(window,"resize")).pipe(Dr(0,qr),F(()=>bn(e)),de(bn(e)))}var xn=function(){if(typeof Map!="undefined")return Map;function e(r,t){var n=-1;return r.some(function(o,i){return o[0]===t?(n=i,!0):!1}),n}return function(){function r(){this.__entries__=[]}return Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},r.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},r.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},r.prototype.has=function(t){return!!~e(this.__entries__,t)},r.prototype.clear=function(){this.__entries__.splice(0)},r.prototype.forEach=function(t,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!Br||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Wo?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Br||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(r){var t=r.propertyName,n=t===void 0?"":t,o=zo.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),gn=function(e,r){for(var t=0,n=Object.keys(r);t0},e}(),Sn=typeof WeakMap!="undefined"?new WeakMap:new xn,En=function(){function e(r){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=jo.getInstance(),n=new Yo(r,t,this);Sn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){En.prototype[e]=function(){var r;return(r=Sn.get(this))[e].apply(r,arguments)}});var Jo=function(){return typeof Or.ResizeObserver!="undefined"?Or.ResizeObserver:En}(),On=Jo;var Bo=new B,Ip=Ue(()=>te(new On(e=>{for(let r of e)Bo.next(r)}))).pipe(K(e=>D(qe,te(e)).pipe(we(()=>e.disconnect()))),_e(1));function Tn(e){return{width:e.offsetWidth,height:e.offsetHeight}}function An(e){return{width:e.scrollWidth,height:e.scrollHeight}}var Xo=new B,Wp=Ue(()=>te(new IntersectionObserver(e=>{for(let r of e)Xo.next(r)},{threshold:1}))).pipe(K(e=>D(qe,te(e)).pipe(we(()=>e.disconnect()))),_e(1));function Mn(e,r=16){return yn(e).pipe(F(({y:t})=>{let n=Tn(e),o=An(e);return t>=o.height-n.height-r}),me())}var Qp={drawer:X("[data-md-toggle=drawer]"),search:X("[data-md-toggle=search]")};function In(){return new URL(location.href)}function Cn(e,r){if(typeof r=="string"||typeof r=="number")e.innerHTML+=r.toString();else if(r instanceof Node)e.appendChild(r);else if(Array.isArray(r))for(let t of r)Cn(e,t)}function ne(e,r,...t){let n=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?n.setAttribute(o,r[o]):r[o]&&n.setAttribute(o,"");for(let o of t)Cn(n,o);return n}function Ln(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Zo(e,r={credentials:"same-origin"}){return G(fetch(`${e}`,r)).pipe(pe(t=>t.status===200),_r(()=>le))}function Mr(e,r){return Zo(e,r).pipe(K(t=>t.json()),_e(1))}function He(e,r=document){return X(`[data-mdx-component=${e}]`,r)}function Xr(e,r=document){return hn(`[data-mdx-component=${e}]`,r)}var ei=X("#__config"),De=JSON.parse(ei.textContent);De.base=`${new URL(De.base,In())}`;function Pn(){return De}function Rn(e,r){return typeof r!="undefined"?De.translations[e].replace("#",r.toString()):De.translations[e]}function Fn(e){let r=vn(e),t=D(Q(e,"keyup"),Q(e,"focus").pipe(Kr(1))).pipe(F(()=>e.value),de(e.value),me());return r.pipe(pe(n=>!n),Fe(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Pe([t,r]).pipe(F(([n,o])=>({ref:e,value:n,focus:o})))}var rt=kr(et());var Nn=kr(et());function Dn(e,r){return(0,Nn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function $n(e,r,t){return ne("li",{class:"mdx-iconsearch-result__item"},ne("span",{class:"twemoji"},ne("img",{src:e.url})),ne("button",{class:"md-clipboard--inline",title:Rn("clipboard.copy"),"data-clipboard-text":t?e.shortcode:`:${e.shortcode}:`},ne("code",null,t?Dn(e,r):`:${Dn(e,r)}:`)))}function Gn(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function Qn(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function ri(e,{index$:r,query$:t}){switch(e.getAttribute("data-mdx-mode")){case"file":return Pe([t.pipe(Sr("value")),r.pipe(F(({icons:n})=>Object.values(n.data).map(o=>o.replace(/\.svg$/,""))))]).pipe(F(([{value:n},o])=>(0,rt.filter)(o,n)),K(n=>r.pipe(F(({icons:o})=>({data:n.map(i=>({shortcode:i,url:[o.base,i,".svg"].join("")}))})))));default:return Pe([t.pipe(Sr("value")),r.pipe(F(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(F(([{value:n},o])=>(0,rt.filter)(o,n)),K(n=>r.pipe(F(({icons:o,emojis:i})=>({data:n.map(s=>{let f=s in o.data?o:i;return{shortcode:s,url:[f.base,f.data[s]].join("")}})})))))}}function Kn(e,{index$:r,query$:t}){let n=new B,o=Mn(e).pipe(pe(Boolean)),i=X(":scope > :first-child",e);n.pipe(Fe(t)).subscribe(([{data:a},{value:u}])=>{if(u)switch(a.length){case 0:i.textContent="No matches";break;case 1:i.textContent="1 match";break;default:i.textContent=`${Ln(a.length)} matches`}else i.textContent="Type to start searching"});let s=e.getAttribute("data-mdx-mode")==="file",f=X(":scope > :last-child",e);return n.pipe(Re(()=>f.innerHTML=""),K(({data:a})=>D(te(...a.slice(0,10)),te(...a.slice(10)).pipe($r(10),Jr(o),K(([u])=>te(...u))))),Fe(t)).subscribe(([a,{value:u}])=>f.appendChild($n(a,u,s))),ri(e,{query$:t,index$:r}).pipe(Re(a=>n.next(a)),we(()=>n.complete()),F(a=>Ye({ref:e},a)))}function Yn(e){let r=Pn(),t=Mr(new URL("overrides/assets/javascripts/iconsearch_index.json",r.base)),n=He("iconsearch-query",e),o=He("iconsearch-result",e),i=Fn(n),s=Kn(o,{index$:t,query$:i});return D(i,s)}function Jn(e){let r=Mr("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),t=He("sponsorship-count"),n=He("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=X(":scope > :first-child",e);for(let s of o.sponsors)s.type==="public"&&i.appendChild(Gn(s.user));i.appendChild(Qn(o.sponsors.filter(({type:s})=>s==="private").length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(F(o=>Ye({ref:e},o)))}function Bn(){let{origin:e}=new URL(location.href);Q(document.body,"click").subscribe(r=>{if(r.target instanceof HTMLElement){let t=r.target.closest("a");t&&t.origin!==e&&ga("send","event","outbound","click",t.href)}})}Bn();var ti=document$.pipe(K(()=>D(...Xr("iconsearch").map(e=>Yn(e)),...Xr("sponsorship").map(e=>Jn(e)))));ti.subscribe();})(); //# sourceMappingURL=bundle.752f5537.min.js.map