"use strict";(()=>{var An=Object.create;var Cr=Object.defineProperty;var Mn=Object.getOwnPropertyDescriptor;var In=Object.getOwnPropertyNames,Zr=Object.getOwnPropertySymbols,Cn=Object.getPrototypeOf,rt=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable;var et=(e,r,t)=>r in e?Cr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ke=(e,r)=>{for(var t in r||(r={}))rt.call(r,t)&&et(e,t,r[t]);if(Zr)for(var t of Zr(r))Ln.call(r,t)&&et(e,t,r[t]);return e};var Oe=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Rn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of In(r))!rt.call(e,o)&&o!==t&&Cr(e,o,{get:()=>r[o],enumerable:!(n=Mn(r,o))||n.enumerable});return e};var tt=(e,r,t)=>(t=e!=null?An(Cn(e)):{},Rn(r||!e||!e.__esModule?Cr(t,"default",{value:e,enumerable:!0}):t,e));var Ne=Oe(J=>{(function(){var e,r,t,n,o,i,a,c,u,s,f,p,l,v,h,m,b,w,S,R;R=150,s=20,S=150,u=.75,J.score=function(d,x,E){var O,y,g,T;return y=E.preparedQuery,O=E.allowErrors,O||o(d,y.core_lw,y.core_up)?(T=d.toLowerCase(),g=r(d,T,y),Math.ceil(g)):0},J.isMatch=o=function(d,x,E){var O,y,g,T,F,z,C;if(g=d.length,T=x.length,!g||T>g)return!1;for(O=-1,y=-1;++y-1)return h(d,x,me,oe,se,$,q);for(_e=new Array($),F=new Array($),Ir=w($,q),V=Math.ceil(u*$)+5,ne=V,C=!0,I=-1;++I<$;)_e[I]=0,F[I]=0;for(H=-1;++Hue&&(ue=Qe),z=0,oe[I]===Ar)if(Mr=c(H,d,x),z=T>0?T:l(d,x,me,oe,H,I,Mr),g=Tr+p(H,I,Mr,y,z),g>ue)ue=g,ne=V;else{if(de&&--ne<=0)return Math.max(ue,_e[$-1])*Ir;de=!1}Tr=Qe,T=F[I],F[I]=z,_e[I]=ue}}return ue=_e[$-1],ue*Ir},J.isWordStart=c=function(d,x,E){var O,y;return d===0?!0:(O=x[d],y=x[d-1],i(y)||O!==E[d]&&y===E[d-1])},J.isWordEnd=a=function(d,x,E,O){var y,g;return d===O-1?!0:(y=x[d],g=x[d+1],i(g)||y===E[d]&&g!==E[d+1])},i=function(d){return d===" "||d==="."||d==="-"||d==="_"||d==="/"||d==="\\"},b=function(d){var x;return dy?O:y)+10):g+R*y},J.scoreConsecutives=l=function(d,x,E,O,y,g,T){var F,z,C,H,I,q,V;for(z=d.length,H=E.length,C=z-y,I=H-g,F=C-1&&(I=c(C,d,x),I&&(y=C))),z=-1,H=0;++z1&&C>1))return t;for(y=0,V=0,ne=0,I=0,T=-1,F=-1;++F-1){V++;continue}else break;for(;++T12*F)return!1;for(g=-1;++gO)return!1;return!0}}).call(J)});var _r=Oe(De=>{(function(){var e,r,t,n,o,i,a,c,u,s;s=Ne(),i=s.isMatch,e=s.computeScore,c=s.scoreSize,u=20,t=2.5,De.score=function(f,p,l){var v,h,m,b;return h=l.preparedQuery,v=l.allowErrors,v||i(f,h.core_lw,h.core_up)?(b=f.toLowerCase(),m=e(f,b,h),m=a(f,b,m,l),Math.ceil(m)):0},a=function(f,p,l,v){var h,m,b,w,S,R,d,x,E,O;if(l===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,x=v.pathSeparator,S=f.length-1;f[S]===x;)S--;if(b=f.lastIndexOf(x,S),d=S-b,R=1,O&&(R+=o(p,E.ext,b,S,2),l*=R),b===-1)return l;for(w=E.depth;b>-1&&w-- >0;)b=f.lastIndexOf(x,b-1);return m=b===-1?l:R*e(f.slice(b+1,S+1),p.slice(b+1,S+1),E),h=.5*u/(u+r(f,S+1,x)),h*m+(1-h)*l*c(0,t*d)},De.countDir=r=function(f,p,l){var v,h;if(p<1)return 0;for(v=0,h=-1;++hl)))return 0;for(w=p.length,m=v-S,m0?.9*o(f,p,l,S-2,h-1):b/m}}).call(De)});var Jr=Oe((cn,pn)=>{(function(){var e,r,t,n,o,i,a,c;c=_r(),t=c.countDir,o=c.getExtension,pn.exports=e=function(){function u(s,f){var p,l,v;if(v=f!=null?f:{},p=v.optCharRegEx,l=v.pathSeparator,!(s&&s.length))return null;this.query=s,this.query_lw=s.toLowerCase(),this.core=r(s,p),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=t(s,s.length,l),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return u}(),i=/[ _\-:\/\\]/g,r=function(u,s){return s==null&&(s=i),u.replace(s,"")},a=function(u){var s,f,p,l;for(f="",p=0,l=u.length;p{(function(){var e,r,t,n,o;n=Ne(),r=_r(),e=Jr(),t=function(i){return i.candidate},o=function(i,a){return a.score-i.score},mn.exports=function(i,a,c){var u,s,f,p,l,v,h,m,b,w,S,R,d;for(m=[],f=c.key,l=c.maxResults,p=c.maxInners,S=c.usePathScoring,b=p!=null&&p>0?p:i.length+1,u=f!=null,h=S?r:n,R=0,d=i.length;R0&&(m.push({candidate:s,score:v}),!--b))));R++);return m.sort(o),i=m.map(t),l!=null&&(i=i.slice(0,l)),i}}).call(ln)});var dn=Oe(Or=>{(function(){var e,r,t,n,o,i,a,c,u,s;s=Ne(),t=s.isMatch,n=s.isWordStart,u=s.scoreConsecutives,c=s.scoreCharacter,a=s.scoreAcronyms,Or.match=o=function(f,p,l){var v,h,m,b,w,S;return v=l.allowErrors,w=l.preparedQuery,b=l.pathSeparator,v||t(f,w.core_lw,w.core_up)?(S=f.toLowerCase(),m=r(f,S,w),m.length===0||f.indexOf(b)>-1&&(h=e(f,S,w,b),m=i(m,h)),m):[]},Or.wrap=function(f,p,l){var v,h,m,b,w,S,R,d,x;if(l.wrap!=null&&(x=l.wrap,S=x.tagClass,d=x.tagOpen,R=x.tagClose),S==null&&(S="highlight"),d==null&&(d=''),R==null&&(R=""),f===p)return d+f+R;if(m=o(f,p,l),m.length===0)return f;for(b="",v=-1,w=0;++vw&&(b+=f.substring(w,h),w=h);++vw&&(b+=d,b+=f.substring(w,h),b+=R,w=h)}return w<=f.length-1&&(b+=f.substring(w)),b},e=function(f,p,l,v){var h,m,b;for(b=f.length-1;f[b]===v;)b--;if(h=f.lastIndexOf(v,b),h===-1)return[];for(m=l.depth;m-- >0;)if(h=f.lastIndexOf(v,h-1),h===-1)return[];return h++,b++,r(f.slice(h,b),p.slice(h,b),l,h)},i=function(f,p){var l,v,h,m,b,w,S;if(b=f.length,w=p.length,w===0)return f.slice();if(b===0)return p.slice();for(h=-1,m=0,v=p[m],S=[];++h0?x:u(f,p,I,q,y,g,oe),R=ne+c(y,g,oe,S,O)),se=$[g],x=E[g],V>se?z=m:(V=se,z=w),R>V?(V=R,z=h):O=0,$[g]=V,E[g]=O,de[++H]=V>0?z:b;for(y=T-1,g=C-1,H=y*C+g,d=!0,F=[];d&&y>=0&&g>=0;)switch(de[H]){case w:y--,H-=C;break;case m:g--,H--;break;case h:F.push(y+v),g--,y--,H-=C+1;break;default:d=!1}return F.reverse(),F}}).call(Or)});var Br=Oe((vn,bn)=>{(function(){var e,r,t,n,o,i,a,c;t=hn(),n=dn(),c=Ne(),i=_r(),e=Jr(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",bn.exports={filter:function(u,s,f){return f==null&&(f={}),s!=null&&s.length&&(u!=null&&u.length)?(f=o(f,s),t(u,s,f)):[]},score:function(u,s,f){return f==null&&(f={}),u!=null&&u.length&&(s!=null&&s.length)?(f=o(f,s),f.usePathScoring?i.score(u,s,f):c.score(u,s,f)):0},match:function(u,s,f){var p,l,v;return f==null&&(f={}),u?s?u===s?function(){v=[];for(var h=0,m=u.length;0<=m?hm;0<=m?h++:h--)v.push(h);return v}.apply(this):(f=o(f,s),n.match(u,s,f)):[]:[]},wrap:function(u,s,f){return f==null&&(f={}),u?s?(f=o(f,s),n.wrap(u,s,f)):[]:[]},prepareQuery:function(u,s){return s==null&&(s={}),s=o(s,u),s.preparedQuery}},o=function(u,s){return u.allowErrors==null&&(u.allowErrors=!1),u.usePathScoring==null&&(u.usePathScoring=!0),u.useExtensionBonus==null&&(u.useExtensionBonus=!1),u.pathSeparator==null&&(u.pathSeparator=r),u.optCharRegEx==null&&(u.optCharRegEx=null),u.wrap==null&&(u.wrap=null),u.preparedQuery==null&&(u.preparedQuery=a&&a.query===s?a:a=new e(s,u)),u}}).call(vn)});/*! ***************************************************************************** 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 Lr=function(e,r){return Lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},Lr(e,r)};function j(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");Lr(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}function nt(e,r,t,n){function o(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function c(f){try{s(n.next(f))}catch(p){a(p)}}function u(f){try{s(n.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((n=n.apply(e,r||[])).next())})}function Ge(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,o=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],a;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(c){a={error:c}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i}function U(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n1||c(l,v)})})}function c(l,v){try{u(n[l](v))}catch(h){p(i[0][3],h)}}function u(l){l.value instanceof ve?Promise.resolve(l.value.v).then(s,f):p(i[0][2],l)}function s(l){c("next",l)}function f(l){c("throw",l)}function p(l,v){l(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function it(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],t;return r?r.call(e):(e=typeof G=="function"?G(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(a){return new Promise(function(c,u){a=e[i](a),o(c,u,a.done,a.value)})}}function o(i,a,c,u){Promise.resolve(u).then(function(s){i({value:s,done:c})},a)}}function _(e){return typeof e=="function"}function Ye(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 Je=Ye(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 fe(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var ie=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var r,t,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var c=G(a),u=c.next();!u.done;u=c.next()){var s=u.value;s.remove(this)}}catch(m){r={error:m}}finally{try{u&&!u.done&&(t=c.return)&&t.call(c)}finally{if(r)throw r.error}}else a.remove(this);var f=this.initialTeardown;if(_(f))try{f()}catch(m){i=m instanceof Je?m.errors:[m]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var l=G(p),v=l.next();!v.done;v=l.next()){var h=v.value;try{at(h)}catch(m){i=i!=null?i:[],m instanceof Je?i=U(U([],W(i)),W(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{v&&!v.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}if(i)throw new Je(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)at(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(t=this._finalizers)!==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)&&fe(t,r)},e.prototype.remove=function(r){var t=this._finalizers;t&&fe(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Rr=ie.EMPTY;function Be(e){return e instanceof ie||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function at(e){_(e)?e():e.unsubscribe()}var te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Te={setTimeout:function(e,r){for(var t=[],n=2;n0},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=this,i=o.hasError,a=o.isStopped,c=o.observers;return i||a?Rr:(this.currentObservers=null,c.push(t),new ie(function(){n.currentObservers=null,fe(c,t)}))},r.prototype._checkFinalizedStatuses=function(t){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?t.error(i):a&&t.complete()},r.prototype.asObservable=function(){var t=new L;return t.source=this,t},r.create=function(t,n){return new ht(t,n)},r}(L);var ht=function(e){j(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:Rr},r}(B);var ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0};var dt=function(e){j(r,e);function r(t,n,o){t===void 0&&(t=1/0),n===void 0&&(n=1/0),o===void 0&&(o=ze);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,a=n._infiniteTimeWindow,c=n._timestampProvider,u=n._windowTime;o||(i.push(t),!a&&i.push(c.now()+u)),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,a=o._buffer,c=a.slice(),u=0;u0?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){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);var a=t.actions;n!=null&&((i=a[a.length-1])===null||i===void 0?void 0:i.id)!==n&&(Ie.cancelAnimationFrame(n),t._scheduled=void 0)},r}(er);var yt=function(e){j(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}(rr);var Wr=new yt(xt);var pe=new L(function(e){return e.complete()});function tr(e){return e&&_(e.schedule)}function zr(e){return e[e.length-1]}function Ce(e){return _(zr(e))?e.pop():void 0}function ae(e){return tr(zr(e))?e.pop():void 0}function gt(e,r){return typeof zr(e)=="number"?e.pop():r}var Le=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function nr(e){return _(e==null?void 0:e.then)}function or(e){return _(e[Me])}function ir(e){return Symbol.asyncIterator&&_(e==null?void 0:e[Symbol.asyncIterator])}function ar(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 jn(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sr=jn();function ur(e){return _(e==null?void 0:e[sr])}function fr(e){return ot(this,arguments,function(){var t,n,o,i;return Ge(this,function(a){switch(a.label){case 0:t=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ve(t.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,ve(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ve(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function cr(e){return _(e==null?void 0:e.getReader)}function P(e){if(e instanceof L)return e;if(e!=null){if(or(e))return qn(e);if(Le(e))return $n(e);if(nr(e))return Nn(e);if(ir(e))return wt(e);if(ur(e))return Dn(e);if(cr(e))return Qn(e)}throw ar(e)}function qn(e){return new L(function(r){var t=e[Me]();if(_(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $n(e){return new L(function(r){for(var t=0;t0&&(f=new xe({next:function(E){return x.next(E)},error:function(E){m=!0,b(),p=Qr(w,o,E),x.error(E)},complete:function(){h=!0,b(),p=Qr(w,a),x.complete()}}),P(R).subscribe(f))})(s)}}function Qr(e,r){for(var t=[],n=2;n{let r=yr();return typeof r!="undefined"?e.contains(r):!1}),he(e===yr()),le())}function Dt(e){return{x:e.scrollLeft,y:e.scrollTop}}function Qt(e){return N(K(e,"scroll"),K(window,"resize")).pipe(Vr(0,Wr),k(()=>Dt(e)),he(Dt(e)))}var Gt=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(){!Gr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),vo?(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(){!Gr||!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=ho.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}(),Yt=function(e,r){for(var t=0,n=Object.keys(r);t0},e}(),Bt=typeof WeakMap!="undefined"?new WeakMap:new Gt,Xt=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=bo.getInstance(),n=new Ao(r,t,this);Bt.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Xt.prototype[e]=function(){var r;return(r=Bt.get(this))[e].apply(r,arguments)}});var Mo=function(){return typeof gr.ResizeObserver!="undefined"?gr.ResizeObserver:Xt}(),Zt=Mo;var Io=new B,Yp=je(()=>Z(new Zt(e=>{for(let r of e)Io.next(r)}))).pipe(D(e=>N(qe,Z(e)).pipe(Ee(()=>e.disconnect()))),Se(1));function en(e){return{width:e.offsetWidth,height:e.offsetHeight}}function rn(e){return{width:e.scrollWidth,height:e.scrollHeight}}var Co=new B,ol=je(()=>Z(new IntersectionObserver(e=>{for(let r of e)Co.next(r)},{threshold:0}))).pipe(D(e=>N(qe,Z(e)).pipe(Ee(()=>e.disconnect()))),Se(1));function tn(e,r=16){return Qt(e).pipe(k(({y:t})=>{let n=en(e),o=rn(e);return t>=o.height-n.height-r}),le())}var ml={drawer:ee("[data-md-toggle=drawer]"),search:ee("[data-md-toggle=search]")};function nn(){return new URL(location.href)}function on(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)on(e,t)}function re(e,r,...t){let n=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="undefined"&&(typeof r[o]!="boolean"?n.setAttribute(o,r[o]):n.setAttribute(o,""));for(let o of t)on(n,o);return n}function an(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Lo(e,r={credentials:"same-origin"}){return X(fetch(`${e}`,r)).pipe(br(()=>pe),D(t=>t.status!==200?Ur(()=>new Error(t.statusText)):Z(t)))}function Sr(e,r){return Lo(e,r).pipe(D(t=>t.json()),Se(1))}function He(e,r=document){return ee(`[data-mdx-component=${e}]`,r)}function Yr(e,r=document){return qt(`[data-mdx-component=${e}]`,r)}var Ro=ee("#__config"),$e=JSON.parse(Ro.textContent);$e.base=`${new URL($e.base,nn())}`;function sn(){return $e}function un(e,r){return typeof r!="undefined"?$e.translations[e].replace("#",r.toString()):$e.translations[e]}function fn(e){let r=Nt(e),t=N(K(e,"keyup"),K(e,"focus").pipe(Dr(1))).pipe(k(()=>e.value),he(e.value),le());return r.pipe(we(n=>!n),Fe(t)).subscribe(([,n])=>{let o=document.location.pathname;typeof ga=="function"&&n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Re([t,r]).pipe(k(([n,o])=>({ref:e,value:n,focus:o})))}var Xr=tt(Br());var yn=tt(Br());function xn(e,r){return(0,yn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function gn(e,r,t){return re("li",{class:"mdx-iconsearch-result__item"},re("span",{class:"twemoji"},re("img",{src:e.url})),re("button",{class:"md-clipboard--inline",title:un("clipboard.copy"),"data-clipboard-text":t?e.shortcode:`:${e.shortcode}:`},re("code",null,t?xn(e,r):`:${xn(e,r)}:`)))}function wn(e){let r=`@${e.name}`;return re("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},re("img",{src:e.image}))}function En(e){return re("a",{href:"https://github.com/sponsors/squidfunk?metadata_origin=docs",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function Po(e,{index$:r,query$:t}){switch(e.getAttribute("data-mdx-mode")){case"file":return Re([t.pipe(xr("value")),r.pipe(k(({icons:n})=>Object.values(n.data).map(o=>o.replace(/\.svg$/,""))))]).pipe(k(([{value:n},o])=>(0,Xr.filter)(o,n)),D(n=>r.pipe(k(({icons:o})=>({data:n.map(i=>({shortcode:i,url:[o.base,i,".svg"].join("")}))})))));default:return Re([t.pipe(xr("value")),r.pipe(k(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(k(([{value:n},o])=>(0,Xr.filter)(o,n)),D(n=>r.pipe(k(({icons:o,emojis:i})=>({data:n.map(a=>{let c=a in o.data?o:i;return{shortcode:a,url:[c.base,c.data[a]].join("")}})})))))}}function Sn(e,{index$:r,query$:t}){let n=new B,o=tn(e).pipe(we(Boolean)),i=ee(":scope > :first-child",e);n.pipe(Fe(t)).subscribe(([{data:u},{value:s}])=>{if(s)switch(u.length){case 0:i.textContent="No matches";break;case 1:i.textContent="1 match";break;default:i.textContent=`${an(u.length)} matches`}else i.textContent="Type to start searching"});let a=e.getAttribute("data-mdx-mode")==="file",c=ee(":scope > :last-child",e);return n.pipe(Pe(()=>c.innerHTML=""),D(({data:u})=>N(Z(...u.slice(0,10)),Z(...u.slice(10)).pipe(jr(10),Kr(o),D(([s])=>s)))),Fe(t)).subscribe(([u,{value:s}])=>c.appendChild(gn(u,s,a))),Po(e,{query$:t,index$:r}).pipe(Pe(u=>n.next(u)),Ee(()=>n.complete()),k(u=>Ke({ref:e},u)))}function _n(e){let r=sn(),t=Sr(new URL("assets/javascripts/iconsearch_index.json",r.base)),n=He("iconsearch-query",e),o=He("iconsearch-result",e),i=fn(n),a=Sn(o,{index$:t,query$:i});return N(i,a)}function On(e){let r=Sr("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=ee(":scope > :first-child",e);for(let a of o.sponsors)a.type==="public"&&i.appendChild(wn(a.user));i.appendChild(En(o.sponsors.filter(({type:a})=>a==="private").length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(k(o=>Ke({ref:e},o)))}function Tn(){let{origin:e}=new URL(location.href);K(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)}})}Tn();var Fo=document$.pipe(D(()=>N(...Yr("iconsearch").map(e=>_n(e)),...Yr("sponsorship").map(e=>On(e)))));Fo.subscribe();})(); //# sourceMappingURL=custom.ed9684d4.min.js.map