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