(()=>{var Un=Object.create;var Je=Object.defineProperty;var Vn=Object.getOwnPropertyDescriptor;var jn=Object.getOwnPropertyNames,Br=Object.getOwnPropertySymbols,qn=Object.getPrototypeOf,Zr=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable;var et=(e,r,n)=>r in e?Je(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,Ye=(e,r)=>{for(var n in r||(r={}))Zr.call(r,n)&&et(e,n,r[n]);if(Br)for(var n of Br(r))Nn.call(r,n)&&et(e,n,r[n]);return e};var $n=e=>Je(e,"__esModule",{value:!0});var ve=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Dn=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of jn(r))!Zr.call(e,o)&&(n||o!=="default")&&Je(e,o,{get:()=>r[o],enumerable:!(t=Vn(r,o))||t.enumerable});return e},Pr=(e,r)=>Dn($n(Je(e!=null?Un(qn(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var wt=ve((Io,Be)=>{/*! ***************************************************************************** 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 rt,tt,nt,ot,it,at,ft,ut,ct,Ge,Fr,st,lt,pt,_e,mt,dt,ht,vt,xt,bt,yt,gt,Xe;(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(t){e(n(r,n(t)))}):typeof Be=="object"&&typeof Be.exports=="object"?e(n(r,n(Be.exports))):e(n(r));function n(t,o){return t!==r&&(typeof Object.create=="function"?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(i,f){return t[i]=o?o(i,f):f}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])};rt=function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function i(){this.constructor=t}t.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},tt=Object.assign||function(t){for(var o,i=1,f=arguments.length;i=0;s--)(c=t[s])&&(a=(u<3?c(a):u>3?c(o,i,a):c(o,i))||a);return u>3&&a&&Object.defineProperty(o,i,a),a},it=function(t,o){return function(i,f){o(i,f,t)}},at=function(t,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,o)},ft=function(t,o,i,f){function u(a){return a instanceof i?a:new i(function(c){c(a)})}return new(i||(i=Promise))(function(a,c){function s(d){try{l(f.next(d))}catch(h){c(h)}}function p(d){try{l(f.throw(d))}catch(h){c(h)}}function l(d){d.done?a(d.value):u(d.value).then(s,p)}l((f=f.apply(t,o||[])).next())})},ut=function(t,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},f,u,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(l){return function(d){return p([l,d])}}function p(l){if(f)throw new TypeError("Generator is already executing.");for(;i;)try{if(f=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=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++,u=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]=t.length&&(t=void 0),{value:t&&t[f++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Fr=function(t,o){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var f=i.call(t),u,a=[],c;try{for(;(o===void 0||o-- >0)&&!(u=f.next()).done;)a.push(u.value)}catch(s){c={error:s}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(c)throw c.error}}return a},st=function(){for(var t=[],o=0;o1||s(m,x)})})}function s(m,x){try{p(f[m](x))}catch(w){h(a[0][3],w)}}function p(m){m.value instanceof _e?Promise.resolve(m.value.v).then(l,d):h(a[0][2],m)}function l(m){s("next",m)}function d(m){s("throw",m)}function h(m,x){m(x),a.shift(),a.length&&s(a[0][0],a[0][1])}},dt=function(t){var o,i;return o={},f("next"),f("throw",function(u){throw u}),f("return"),o[Symbol.iterator]=function(){return this},o;function f(u,a){o[u]=t[u]?function(c){return(i=!i)?{value:_e(t[u](c)),done:u==="return"}:a?a(c):c}:a}},ht=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=t[Symbol.asyncIterator],i;return o?o.call(t):(t=typeof Ge=="function"?Ge(t):t[Symbol.iterator](),i={},f("next"),f("throw"),f("return"),i[Symbol.asyncIterator]=function(){return this},i);function f(a){i[a]=t[a]&&function(c){return new Promise(function(s,p){c=t[a](c),u(s,p,c.done,c.value)})}}function u(a,c,s,p){Promise.resolve(p).then(function(l){a({value:l,done:s})},c)}},vt=function(t,o){return Object.defineProperty?Object.defineProperty(t,"raw",{value:o}):t.raw=o,t};var n=Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o};xt=function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var i in t)i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)&&Xe(o,t,i);return n(o,t),o},bt=function(t){return t&&t.__esModule?t:{default:t}},yt=function(t,o){if(!o.has(t))throw new TypeError("attempted to get private field on non-instance");return o.get(t)},gt=function(t,o,i){if(!o.has(t))throw new TypeError("attempted to set private field on non-instance");return o.set(t,i),i},e("__extends",rt),e("__assign",tt),e("__rest",nt),e("__decorate",ot),e("__param",it),e("__metadata",at),e("__awaiter",ft),e("__generator",ut),e("__exportStar",ct),e("__createBinding",Xe),e("__values",Ge),e("__read",Fr),e("__spread",st),e("__spreadArrays",lt),e("__spreadArray",pt),e("__await",_e),e("__asyncGenerator",mt),e("__asyncDelegator",dt),e("__asyncValues",ht),e("__makeTemplateObject",vt),e("__importStar",xt),e("__importDefault",bt),e("__classPrivateFieldGet",yt),e("__classPrivateFieldSet",gt)})});var De=ve(G=>{(function(){var e,r,n,t,o,i,f,u,a,c,s,p,l,d,h,m,x,w,_,L;L=150,c=20,_=150,a=.75,G.score=function(v,b,S){var E,y,g,T;return y=S.preparedQuery,E=S.allowErrors,E||o(v,y.core_lw,y.core_up)?(T=v.toLowerCase(),g=r(v,T,y),Math.ceil(g)):0},G.isMatch=o=function(v,b,S){var E,y,g,T,F,H,C;if(g=v.length,T=b.length,!g||T>g)return!1;for(E=-1,y=-1;++y-1)return h(v,b,de,ie,ue,N,q);for(Se=new Array(N),F=new Array(N),Lr=w(N,q),V=Math.ceil(a*N)+5,oe=V,C=!0,M=-1;++Mce&&(ce=Ke),H=0,ie[M]===Mr)if(Cr=u(R,v,b),H=T>0?T:l(v,b,de,ie,R,M,Cr),g=Ir+p(R,M,Cr,y,H),g>ce)ce=g,oe=V;else{if(he&&--oe<=0)return Math.max(ce,Se[N-1])*Lr;he=!1}Ir=Ke,T=F[M],F[M]=H,Se[M]=ce}}return ce=Se[N-1],ce*Lr},G.isWordStart=u=function(v,b,S){var E,y;return v===0?!0:(E=b[v],y=b[v-1],i(y)||E!==S[v]&&y===S[v-1])},G.isWordEnd=f=function(v,b,S,E){var y,g;return v===E-1?!0:(y=b[v],g=b[v+1],i(g)||y===S[v]&&g!==S[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},x=function(v){var b;return vy?E:y)+10):g+L*y},G.scoreConsecutives=l=function(v,b,S,E,y,g,T){var F,H,C,R,M,q,V;for(H=v.length,R=S.length,C=H-y,M=R-g,F=C-1&&(M=u(C,v,b),M&&(y=C))),H=-1,R=0;++H1&&C>1))return n;for(y=0,V=0,oe=0,M=0,T=-1,F=-1;++F-1){V++;continue}else break;for(;++T12*F)return!1;for(g=-1;++gE)return!1;return!0}}).call(G)});var Tr=ve(Qe=>{(function(){var e,r,n,t,o,i,f,u,a,c;c=De(),i=c.isMatch,e=c.computeScore,u=c.scoreSize,a=20,n=2.5,Qe.score=function(s,p,l){var d,h,m,x;return h=l.preparedQuery,d=l.allowErrors,d||i(s,h.core_lw,h.core_up)?(x=s.toLowerCase(),m=e(s,x,h),m=f(s,x,m,l),Math.ceil(m)):0},f=function(s,p,l,d){var h,m,x,w,_,L,v,b,S,E;if(l===0)return 0;for(S=d.preparedQuery,E=d.useExtensionBonus,b=d.pathSeparator,_=s.length-1;s[_]===b;)_--;if(x=s.lastIndexOf(b,_),v=_-x,L=1,E&&(L+=o(p,S.ext,x,_,2),l*=L),x===-1)return l;for(w=S.depth;x>-1&&w-- >0;)x=s.lastIndexOf(b,x-1);return m=x===-1?l:L*e(s.slice(x+1,_+1),p.slice(x+1,_+1),S),h=.5*a/(a+r(s,_+1,b)),h*m+(1-h)*l*u(0,n*v)},Qe.countDir=r=function(s,p,l){var d,h;if(p<1)return 0;for(d=0,h=-1;++hl)))return 0;for(w=p.length,m=d-_,m0?.9*o(s,p,l,_-2,h-1):x/m}}).call(Qe)});var Gr=ve((Sn,_n)=>{(function(){var e,r,n,t,o,i,f,u;u=Tr(),n=u.countDir,o=u.getExtension,_n.exports=e=function(){function a(c,s){var p,l,d;if(d=s!=null?s:{},p=d.optCharRegEx,l=d.pathSeparator,!(c&&c.length))return null;this.query=c,this.query_lw=c.toLowerCase(),this.core=r(c,p),this.core_lw=this.core.toLowerCase(),this.core_up=f(this.core),this.depth=n(c,c.length,l),this.ext=o(this.query_lw),this.charCodes=t(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,c){return c==null&&(c=i),a.replace(c,"")},f=function(a){var c,s,p,l;for(s="",p=0,l=a.length;p{(function(){var e,r,n,t,o;t=De(),r=Tr(),e=Gr(),n=function(i){return i.candidate},o=function(i,f){return f.score-i.score},On.exports=function(i,f,u){var a,c,s,p,l,d,h,m,x,w,_,L,v;for(m=[],s=u.key,l=u.maxResults,p=u.maxInners,_=u.usePathScoring,x=p!=null&&p>0?p:i.length+1,a=s!=null,h=_?r:t,L=0,v=i.length;L0&&(m.push({candidate:c,score:d}),!--x))));L++);return m.sort(o),i=m.map(n),l!=null&&(i=i.slice(0,l)),i}}).call(En)});var An=ve(Ar=>{(function(){var e,r,n,t,o,i,f,u,a,c;c=De(),n=c.isMatch,t=c.isWordStart,a=c.scoreConsecutives,u=c.scoreCharacter,f=c.scoreAcronyms,Ar.match=o=function(s,p,l){var d,h,m,x,w,_;return d=l.allowErrors,w=l.preparedQuery,x=l.pathSeparator,d||n(s,w.core_lw,w.core_up)?(_=s.toLowerCase(),m=r(s,_,w),m.length===0||s.indexOf(x)>-1&&(h=e(s,_,w,x),m=i(m,h)),m):[]},Ar.wrap=function(s,p,l){var d,h,m,x,w,_,L,v,b;if(l.wrap!=null&&(b=l.wrap,_=b.tagClass,v=b.tagOpen,L=b.tagClose),_==null&&(_="highlight"),v==null&&(v=''),L==null&&(L=""),s===p)return v+s+L;if(m=o(s,p,l),m.length===0)return s;for(x="",d=-1,w=0;++dw&&(x+=s.substring(w,h),w=h);++dw&&(x+=v,x+=s.substring(w,h),x+=L,w=h)}return w<=s.length-1&&(x+=s.substring(w)),x},e=function(s,p,l,d){var h,m,x;for(x=s.length-1;s[x]===d;)x--;if(h=s.lastIndexOf(d,x),h===-1)return[];for(m=l.depth;m-- >0;)if(h=s.lastIndexOf(d,h-1),h===-1)return[];return h++,x++,r(s.slice(h,x),p.slice(h,x),l,h)},i=function(s,p){var l,d,h,m,x,w,_;if(x=s.length,w=p.length,w===0)return s.slice();if(x===0)return p.slice();for(h=-1,m=0,d=p[m],_=[];++h0?b:a(s,p,M,q,y,g,ie),L=oe+u(y,g,ie,_,E)),ue=N[g],b=S[g],V>ue?H=m:(V=ue,H=w),L>V?(V=L,H=h):E=0,N[g]=V,S[g]=E,he[++R]=V>0?H:x;for(y=T-1,g=C-1,R=y*C+g,v=!0,F=[];v&&y>=0&&g>=0;)switch(he[R]){case w:y--,R-=C;break;case m:g--,R--;break;case h:F.push(y+d),g--,y--,R-=C+1;break;default:v=!1}return F.reverse(),F}}).call(Ar)});var Xr=ve((In,Mn)=>{(function(){var e,r,n,t,o,i,f,u;n=Tn(),t=An(),u=De(),i=Tr(),e=Gr(),f=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",Mn.exports={filter:function(a,c,s){return s==null&&(s={}),(c!=null?c.length:void 0)&&(a!=null?a.length:void 0)?(s=o(s,c),n(a,c,s)):[]},score:function(a,c,s){return s==null&&(s={}),(a!=null?a.length:void 0)&&(c!=null?c.length:void 0)?(s=o(s,c),s.usePathScoring?i.score(a,c,s):u.score(a,c,s)):0},match:function(a,c,s){var p,l,d;return s==null&&(s={}),a?c?a===c?function(){d=[];for(var h=0,m=a.length;0<=m?hm;0<=m?h++:h--)d.push(h);return d}.apply(this):(s=o(s,c),t.match(a,c,s)):[]:[]},wrap:function(a,c,s){return s==null&&(s={}),a?c?(s=o(s,c),t.wrap(a,c,s)):[]:[]},prepareQuery:function(a,c){return c==null&&(c={}),c=o(c,a),c.preparedQuery}},o=function(a,c){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=f&&f.query===c?f:f=new e(c,a)),a}}).call(In)});var St=Pr(wt(),1),{__extends:j,__assign:Mo,__rest:Co,__decorate:Lo,__param:Po,__metadata:Fo,__awaiter:_t,__generator:Ze,__exportStar:Ro,__createBinding:ko,__values:Z,__read:k,__spread:Ho,__spreadArrays:Wo,__spreadArray:z,__await:er,__asyncGenerator:Et,__asyncDelegator:zo,__asyncValues:Ot,__makeTemplateObject:Uo,__importStar:Vo,__importDefault:jo,__classPrivateFieldGet:qo,__classPrivateFieldSet:No}=St.default;function O(e){return typeof e=="function"}function rr(e){var r=function(t){Error.call(t),t.stack=new Error().stack},n=e(r);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var tr=rr(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription: `+n.map(function(t,o){return o+1+") "+t.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=n}});function se(e,r){if(e){var n=e.indexOf(r);0<=n&&e.splice(n,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,n,t,o,i;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var u=Z(f),a=u.next();!a.done;a=u.next()){var c=a.value;c.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}else f.remove(this);var s=this.initialTeardown;if(O(s))try{s()}catch(m){i=m instanceof tr?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var l=Z(p),d=l.next();!d.done;d=l.next()){var h=d.value;try{Tt(h)}catch(m){i=i!=null?i:[],m instanceof tr?i=z(z([],k(i)),k(m.errors)):i.push(m)}}}catch(m){t={error:m}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(t)throw t.error}}}if(i)throw new tr(i)}},e.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)Tt(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(n=this._teardowns)!==null&&n!==void 0?n:[]).push(r)}},e.prototype._hasParent=function(r){var n=this._parentage;return n===r||Array.isArray(n)&&n.includes(r)},e.prototype._addParent=function(r){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(r),n):n?[n,r]:r},e.prototype._removeParent=function(r){var n=this._parentage;n===r?this._parentage=null:Array.isArray(n)&&se(n,r)},e.prototype.remove=function(r){var n=this._teardowns;n&&se(n,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Rr=ae.EMPTY;function nr(e){return e instanceof ae||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function Tt(e){O(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ee={setTimeout:function(){for(var e=[],r=0;r0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},r.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},r.prototype._innerSubscribe=function(n){var t=this,o=t.hasError,i=t.isStopped,f=t.observers;return o||i?Rr:(f.push(n),new ae(function(){return se(f,n)}))},r.prototype._checkFinalizedStatuses=function(n){var t=this,o=t.hasError,i=t.thrownError,f=t.isStopped;o?n.error(i):f&&n.complete()},r.prototype.asObservable=function(){var n=new P;return n.source=this,n},r.create=function(n,t){return new kt(n,t)},r}(P);var kt=function(e){j(r,e);function r(n,t){var o=e.call(this)||this;return o.destination=n,o.source=t,o}return r.prototype.next=function(n){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.next)===null||o===void 0||o.call(t,n)},r.prototype.error=function(n){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.error)===null||o===void 0||o.call(t,n)},r.prototype.complete=function(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)},r.prototype._subscribe=function(n){var t,o;return(o=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&o!==void 0?o:Rr},r}(X);var He={now:function(){return(He.delegate||Date).now()},delegate:void 0};var Ht=function(e){j(r,e);function r(n,t,o){n===void 0&&(n=1/0),t===void 0&&(t=1/0),o===void 0&&(o=He);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=t,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,t),i}return r.prototype.next=function(n){var t=this,o=t.isStopped,i=t._buffer,f=t._infiniteTimeWindow,u=t._timestampProvider,a=t._windowTime;o||(i.push(n),!f&&i.push(u.now()+a)),this._trimBuffer(),e.prototype.next.call(this,n)},r.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,f=o._buffer,u=f.slice(),a=0;a0?e.prototype.requestAsyncId.call(this,n,t,o):(n.actions.push(this),n._scheduled||(n._scheduled=Ae.requestAnimationFrame(function(){return n.flush(void 0)})))},r.prototype.recycleAsyncId=function(n,t,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,t,o);n.actions.length===0&&(Ae.cancelAnimationFrame(t),n._scheduled=void 0)},r}(ir);var Ut=function(e){j(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(n){this._active=!0,this._scheduled=void 0;var t=this.actions,o,i=-1;n=n||t.shift();var f=t.length;do if(o=n.execute(n.state,n.delay))break;while(++i{let r=Er();return typeof r!="undefined"?e.contains(r):!1}),Ce(e===Er()),me())}function pn(e){return{x:e.scrollLeft,y:e.scrollTop}}function mn(e){return $(K(e,"scroll"),K(window,"resize")).pipe(jr(0,Ur),U(()=>pn(e)),Ce(pn(e)))}var go=new X,Xl=je(()=>te(new ResizeObserver(e=>{for(let r of e)go.next(r)}))).pipe(Y(e=>$(qe,te(e)).pipe(ye(()=>e.disconnect()))),ge(1));function dn(e){return{width:e.offsetWidth,height:e.offsetHeight}}function hn(e){return{width:e.scrollWidth,height:e.scrollHeight}}var wo=new X,ap=je(()=>te(new IntersectionObserver(e=>{for(let r of e)wo.next(r)},{threshold:1}))).pipe(Y(e=>$(qe,te(e)).pipe(ye(()=>e.disconnect()))),ge(1));function vn(e,r=16){return mn(e).pipe(U(({y:n})=>{let t=dn(e),o=hn(e);return n>=o.height-t.height-r}),me())}var hp={drawer:B("[data-md-toggle=drawer]"),search:B("[data-md-toggle=search]")};function xn(){return new URL(location.href)}function bn(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 n of r)bn(e,n)}function ne(e,r,...n){let t=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?t.setAttribute(o,r[o]):r[o]&&t.setAttribute(o,"");for(let o of n)bn(t,o);return t}function yn(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function So(e,r={credentials:"same-origin"}){return Q(fetch(`${e}`,r)).pipe(pe(n=>n.status===200),_r(()=>le))}function Or(e,r){return So(e,r).pipe(Y(n=>n.json()),ge(1))}function Fe(e,r=document){return B(`[data-mdx-component=${e}]`,r)}function Yr(e,r=document){return cn(`[data-mdx-component=${e}]`,r)}var _o=B("#__config"),$e=JSON.parse(_o.textContent);$e.base=`${new URL($e.base,xn())}`;function gn(){return $e}function we(e,r){return typeof r!="undefined"?$e.translations[e].replace("#",r.toString()):$e.translations[e]}function wn(e){let r=ln(e),n=$(K(e,"keyup"),K(e,"focus").pipe(Dr(1))).pipe(U(()=>e.value),me());return r.pipe(pe(t=>!t),Pe(n)).subscribe(([,t])=>{let o=document.location.pathname;t.length&&ga("send","pageview",`${o}?q=[icon]+${t}`)}),Ue([n,r]).pipe(U(([t,o])=>({ref:e,value:t,focus:o})))}var Rn=Pr(Xr());var Cn=Pr(Xr());function Eo(e,r){return(0,Cn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Ln(e,r){return ne("li",{class:"mdx-iconsearch-result__item"},ne("span",{class:"twemoji"},ne("img",{src:e.url})),ne("button",{class:"md-clipboard--inline",title:we("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ne("code",null,`:${Eo(e,r)}:`)))}function Pn(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function Fn(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function Oo(e,{index$:r,query$:n}){return Ue([n.pipe(Qr("value")),r.pipe(U(({icons:t,emojis:o})=>[...Object.keys(t.data),...Object.keys(o.data)]))]).pipe(U(([{value:t},o])=>(0,Rn.filter)(o,t)),Y(t=>r.pipe(U(({icons:o,emojis:i})=>({data:t.map(f=>{let u=f in o.data?o:i;return{shortcode:f,url:[u.base,u.data[f]].join("")}})})))))}function kn(e,{index$:r,query$:n}){let t=new X,o=vn(e).pipe(pe(Boolean)),i=B(":scope > :first-child",e);t.pipe(Pe(n)).subscribe(([{data:u},{value:a}])=>{if(a)switch(u.length){case 0:i.textContent=we("search.result.none");break;case 1:i.textContent=we("search.result.one");break;default:i.textContent=we("search.result.other",yn(u.length))}else i.textContent=we("search.result.placeholder")});let f=B(":scope > :last-child",e);return t.pipe(Le(()=>f.innerHTML=""),Y(({data:u})=>$(te(...u.slice(0,10)),te(...u.slice(10)).pipe(qr(10),Jr(o),Y(([a])=>te(...a))))),Pe(n)).subscribe(([u,{value:a}])=>f.appendChild(Ln(u,a))),Oo(e,{query$:n,index$:r}).pipe(Le(u=>t.next(u)),ye(()=>t.complete()),U(u=>Ye({ref:e},u)))}function Hn(e){let r=gn(),n=Or(new URL("overrides/assets/javascripts/iconsearch_index.json",r.base)),t=Fe("iconsearch-query",e),o=Fe("iconsearch-result",e),i=wn(t),f=kn(o,{index$:n,query$:i});return $(i,f)}function Wn(e){let r=Or("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),n=Fe("sponsorship-count"),t=Fe("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=B(":scope > :first-child",e);for(let f of o.sponsors)f.type==="public"&&i.appendChild(Pn(f.user));i.appendChild(Fn(o.sponsors.filter(({type:f})=>f==="private").length)),n.innerText=`${o.sponsors.length}`,t.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(U(o=>Ye({ref:e},o)))}function zn(){let{origin:e}=new URL(location.href);K(document.body,"click").subscribe(r=>{if(r.target instanceof HTMLElement){let n=r.target.closest("a");n&&n.origin!==e&&ga("send","event","outbound","click",n.href)}})}zn();var To=document$.pipe(Y(()=>$(...Yr("iconsearch").map(e=>Hn(e)),...Yr("sponsorship").map(e=>Wn(e)))));To.subscribe();})(); //# sourceMappingURL=bundle.7af4aac1.min.js.map