"use strict";(()=>{var ho=Object.create;var Tr=Object.defineProperty;var vo=Object.getOwnPropertyDescriptor;var xo=Object.getOwnPropertyNames,Kr=Object.getOwnPropertySymbols,bo=Object.getPrototypeOf,Yr=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable;var Jr=(e,r,t)=>r in e?Tr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ke=(e,r)=>{for(var t in r||(r={}))Yr.call(r,t)&&Jr(e,t,r[t]);if(Kr)for(var t of Kr(r))yo.call(r,t)&&Jr(e,t,r[t]);return e};var Te=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var go=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of xo(r))!Yr.call(e,n)&&n!==t&&Tr(e,n,{get:()=>r[n],enumerable:!(o=vo(r,n))||o.enumerable});return e};var Gr=(e,r,t)=>(t=e!=null?ho(bo(e)):{},go(r||!e||!e.__esModule?Tr(t,"default",{value:e,enumerable:!0}):t,e));var qe=Te(X=>{(function(){var e,r,t,o,n,i,f,s,u,a,c,p,l,v,d,m,x,w,E,R;R=150,a=20,E=150,u=.75,X.score=function(h,b,S){var T,y,g,_;return y=S.preparedQuery,T=S.allowErrors,T||n(h,y.core_lw,y.core_up)?(_=h.toLowerCase(),g=r(h,_,y),Math.ceil(g)):0},X.isMatch=n=function(h,b,S){var T,y,g,_,F,U,M;if(g=h.length,_=b.length,!g||_>g)return!1;for(T=-1,y=-1;++y<_;){for(F=b.charCodeAt(y),U=S.charCodeAt(y);++T-1)return d(h,b,de,te,ae,q,j);for(Oe=new Array(q),F=new Array(q),Or=w(q,j),V=Math.ceil(u*q)+5,re=V,M=!0,I=-1;++Ife&&(fe=Qe),U=0,te[I]===Sr)if(Er=s(H,h,b),U=_>0?_:l(h,b,de,te,H,I,Er),g=wr+p(H,I,Er,y,U),g>fe)fe=g,re=V;else{if(ve&&--re<=0)return Math.max(fe,Oe[q-1])*Or;ve=!1}wr=Qe,_=F[I],F[I]=U,Oe[I]=fe}}return fe=Oe[q-1],fe*Or},X.isWordStart=s=function(h,b,S){var T,y;return h===0?!0:(T=b[h],y=b[h-1],i(y)||T!==S[h]&&y===S[h-1])},X.isWordEnd=f=function(h,b,S,T){var y,g;return h===T-1?!0:(y=b[h],g=b[h+1],i(g)||y===S[h]&&g!==S[h+1])},i=function(h){return h===" "||h==="."||h==="-"||h==="_"||h==="/"||h==="\\"},x=function(h){var b;return hy?T:y)+10):g+R*y},X.scoreConsecutives=l=function(h,b,S,T,y,g,_){var F,U,M,H,I,j,V;for(U=h.length,H=S.length,M=U-y,I=H-g,F=M-1&&(I=s(M,h,b),I&&(y=M))),U=-1,H=0;++U1&&M>1))return t;for(y=0,V=0,re=0,I=0,_=-1,F=-1;++F-1){V++;continue}else break;for(;++_12*F)return!1;for(g=-1;++g<_;)if(s(g,h,b)&&++y>T)return!1;return!0}}).call(X)});var yr=Te(De=>{(function(){var e,r,t,o,n,i,f,s,u,a;a=qe(),i=a.isMatch,e=a.computeScore,s=a.scoreSize,u=20,t=2.5,De.score=function(c,p,l){var v,d,m,x;return d=l.preparedQuery,v=l.allowErrors,v||i(c,d.core_lw,d.core_up)?(x=c.toLowerCase(),m=e(c,x,d),m=f(c,x,m,l),Math.ceil(m)):0},f=function(c,p,l,v){var d,m,x,w,E,R,h,b,S,T;if(l===0)return 0;for(S=v.preparedQuery,T=v.useExtensionBonus,b=v.pathSeparator,E=c.length-1;c[E]===b;)E--;if(x=c.lastIndexOf(b,E),h=E-x,R=1,T&&(R+=n(p,S.ext,x,E,2),l*=R),x===-1)return l;for(w=S.depth;x>-1&&w-- >0;)x=c.lastIndexOf(b,x-1);return m=x===-1?l:R*e(c.slice(x+1,E+1),p.slice(x+1,E+1),S),d=.5*u/(u+r(c,E+1,b)),d*m+(1-d)*l*s(0,t*h)},De.countDir=r=function(c,p,l){var v,d;if(p<1)return 0;for(v=0,d=-1;++dl)))return 0;for(w=p.length,m=v-E,m0?.9*n(c,p,l,E-2,d-1):x/m}}).call(De)});var qr=Te((Xt,Bt)=>{(function(){var e,r,t,o,n,i,f,s;s=yr(),t=s.countDir,n=s.getExtension,Bt.exports=e=function(){function u(a,c){var p,l,v;if(v=c!=null?c:{},p=v.optCharRegEx,l=v.pathSeparator,!(a&&a.length))return null;this.query=a,this.query_lw=a.toLowerCase(),this.core=r(a,p),this.core_lw=this.core.toLowerCase(),this.core_up=f(this.core),this.depth=t(a,a.length,l),this.ext=n(this.query_lw),this.charCodes=o(this.query_lw)}return u}(),i=/[ _\-:\/\\]/g,r=function(u,a){return a==null&&(a=i),u.replace(a,"")},f=function(u){var a,c,p,l;for(c="",p=0,l=u.length;p{(function(){var e,r,t,o,n;o=qe(),r=yr(),e=qr(),t=function(i){return i.candidate},n=function(i,f){return f.score-i.score},eo.exports=function(i,f,s){var u,a,c,p,l,v,d,m,x,w,E,R,h;for(m=[],c=s.key,l=s.maxResults,p=s.maxInners,E=s.usePathScoring,x=p!=null&&p>0?p:i.length+1,u=c!=null,d=E?r:o,R=0,h=i.length;R0&&(m.push({candidate:a,score:v}),!--x))));R++);return m.sort(n),i=m.map(t),l!=null&&(i=i.slice(0,l)),i}}).call(Zt)});var to=Te(gr=>{(function(){var e,r,t,o,n,i,f,s,u,a;a=qe(),t=a.isMatch,o=a.isWordStart,u=a.scoreConsecutives,s=a.scoreCharacter,f=a.scoreAcronyms,gr.match=n=function(c,p,l){var v,d,m,x,w,E;return v=l.allowErrors,w=l.preparedQuery,x=l.pathSeparator,v||t(c,w.core_lw,w.core_up)?(E=c.toLowerCase(),m=r(c,E,w),m.length===0||c.indexOf(x)>-1&&(d=e(c,E,w,x),m=i(m,d)),m):[]},gr.wrap=function(c,p,l){var v,d,m,x,w,E,R,h,b;if(l.wrap!=null&&(b=l.wrap,E=b.tagClass,h=b.tagOpen,R=b.tagClose),E==null&&(E="highlight"),h==null&&(h=''),R==null&&(R=""),c===p)return h+c+R;if(m=n(c,p,l),m.length===0)return c;for(x="",v=-1,w=0;++vw&&(x+=c.substring(w,d),w=d);++vw&&(x+=h,x+=c.substring(w,d),x+=R,w=d)}return w<=c.length-1&&(x+=c.substring(w)),x},e=function(c,p,l,v){var d,m,x;for(x=c.length-1;c[x]===v;)x--;if(d=c.lastIndexOf(v,x),d===-1)return[];for(m=l.depth;m-- >0;)if(d=c.lastIndexOf(v,d-1),d===-1)return[];return d++,x++,r(c.slice(d,x),p.slice(d,x),l,d)},i=function(c,p){var l,v,d,m,x,w,E;if(x=c.length,w=p.length,w===0)return c.slice();if(x===0)return p.slice();for(d=-1,m=0,v=p[m],E=[];++d0?b:u(c,p,I,j,y,g,te),R=re+s(y,g,te,E,T)),ae=q[g],b=S[g],V>ae?U=m:(V=ae,U=w),R>V?(V=R,U=d):T=0,q[g]=V,S[g]=T,ve[++H]=V>0?U:x;for(y=_-1,g=M-1,H=y*M+g,h=!0,F=[];h&&y>=0&&g>=0;)switch(ve[H]){case w:y--,H-=M;break;case m:g--,H--;break;case d:F.push(y+v),g--,y--,H-=M+1;break;default:h=!1}return F.reverse(),F}}).call(gr)});var Dr=Te((oo,no)=>{(function(){var e,r,t,o,n,i,f,s;t=ro(),o=to(),s=qe(),i=yr(),e=qr(),f=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",no.exports={filter:function(u,a,c){return c==null&&(c={}),a!=null&&a.length&&(u!=null&&u.length)?(c=n(c,a),t(u,a,c)):[]},score:function(u,a,c){return c==null&&(c={}),u!=null&&u.length&&(a!=null&&a.length)?(c=n(c,a),c.usePathScoring?i.score(u,a,c):s.score(u,a,c)):0},match:function(u,a,c){var p,l,v;return c==null&&(c={}),u?a?u===a?function(){v=[];for(var d=0,m=u.length;0<=m?dm;0<=m?d++:d--)v.push(d);return v}.apply(this):(c=n(c,a),o.match(u,a,c)):[]:[]},wrap:function(u,a,c){return c==null&&(c={}),u?a?(c=n(c,a),o.wrap(u,a,c)):[]:[]},prepareQuery:function(u,a){return a==null&&(a={}),a=n(a,u),a.preparedQuery}},n=function(u,a){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=f&&f.query===a?f:f=new e(a,u)),u}}).call(oo)});/*! ***************************************************************************** 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 _r=function(e,r){return _r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},_r(e,r)};function $(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");_r(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}function Xr(e,r,t,o){function n(i){return i instanceof t?i:new t(function(f){f(i)})}return new(t||(t=Promise))(function(i,f){function s(c){try{a(o.next(c))}catch(p){f(p)}}function u(c){try{a(o.throw(c))}catch(p){f(p)}}function a(c){c.done?i(c.value):n(c.value).then(s,u)}a((o=o.apply(e,r||[])).next())})}function Je(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,f;return f={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function s(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,n=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[o++],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 o=t.call(e),n,i=[],f;try{for(;(r===void 0||r-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){f={error:s}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(f)throw f.error}}return i}function z(e,r,t){if(t||arguments.length===2)for(var o=0,n=r.length,i;o1||s(l,v)})})}function s(l,v){try{u(o[l](v))}catch(d){p(i[0][3],d)}}function u(l){l.value instanceof xe?Promise.resolve(l.value.v).then(a,c):p(i[0][2],l)}function a(l){s("next",l)}function c(l){s("throw",l)}function p(l,v){l(v),i.shift(),i.length&&s(i[0][0],i[0][1])}}function Zr(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 Y=="function"?Y(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(i){t[i]=e[i]&&function(f){return new Promise(function(s,u){f=e[i](f),n(s,u,f.done,f.value)})}}function n(i,f,s,u){Promise.resolve(u).then(function(a){i({value:a,done:s})},f)}}function O(e){return typeof e=="function"}function Ye(e){var r=function(o){Error.call(o),o.stack=new Error().stack},t=e(r);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ge=Ye(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: `+t.map(function(o,n){return n+1+") "+o.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=t}});function ue(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var oe=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var r,t,o,n,i;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var s=Y(f),u=s.next();!u.done;u=s.next()){var a=u.value;a.remove(this)}}catch(m){r={error:m}}finally{try{u&&!u.done&&(t=s.return)&&t.call(s)}finally{if(r)throw r.error}}else f.remove(this);var c=this.initialTeardown;if(O(c))try{c()}catch(m){i=m instanceof Ge?m.errors:[m]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var l=Y(p),v=l.next();!v.done;v=l.next()){var d=v.value;try{et(d)}catch(m){i=i!=null?i:[],m instanceof Ge?i=z(z([],W(i)),W(m.errors)):i.push(m)}}}catch(m){o={error:m}}finally{try{v&&!v.done&&(n=l.return)&&n.call(l)}finally{if(o)throw o.error}}}if(i)throw new Ge(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)et(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)&&ue(t,r)},e.prototype.remove=function(r){var t=this._finalizers;t&&ue(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Ar=oe.EMPTY;function Xe(e){return e instanceof oe||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function et(e){O(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _e={setTimeout:function(e,r){for(var t=[],o=2;o0},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 o=this,n=this,i=n.hasError,f=n.isStopped,s=n.observers;return i||f?Ar:(this.currentObservers=null,s.push(t),new oe(function(){o.currentObservers=null,ue(s,t)}))},r.prototype._checkFinalizedStatuses=function(t){var o=this,n=o.hasError,i=o.thrownError,f=o.isStopped;n?t.error(i):f&&t.complete()},r.prototype.asObservable=function(){var t=new C;return t.source=this,t},r.create=function(t,o){return new ut(t,o)},r}(C);var ut=function(e){$(r,e);function r(t,o){var n=e.call(this)||this;return n.destination=t,n.source=o,n}return r.prototype.next=function(t){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,t)},r.prototype.error=function(t){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,t)},r.prototype.complete=function(){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||o===void 0||o.call(t)},r.prototype._subscribe=function(t){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(t))!==null&&n!==void 0?n:Ar},r}(B);var ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0};var ct=function(e){$(r,e);function r(t,o,n){t===void 0&&(t=1/0),o===void 0&&(o=1/0),n===void 0&&(n=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,o),i}return r.prototype.next=function(t){var o=this,n=o.isStopped,i=o._buffer,f=o._infiniteTimeWindow,s=o._timestampProvider,u=o._windowTime;n||(i.push(t),!f&&i.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(t),n=this,i=n._infiniteTimeWindow,f=n._buffer,s=f.slice(),u=0;u0?e.prototype.requestAsyncId.call(this,t,o,n):(t.actions.push(this),t._scheduled||(t._scheduled=Ce.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,o,n);var f=t.actions;o!=null&&((i=f[f.length-1])===null||i===void 0?void 0:i.id)!==o&&(Ce.cancelAnimationFrame(o),t._scheduled=void 0)},r}(er);var mt=function(e){$(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var n=this.actions,i;t=t||n.shift();do if(i=t.execute(t.state,t.delay))break;while((t=n[0])&&t.id===o&&n.shift());if(this._active=!1,i){for(;(t=n[0])&&t.id===o&&n.shift();)t.unsubscribe();throw i}},r}(rr);var Pr=new mt(lt);var Me=new C(function(e){return e.complete()});function tr(e){return e&&O(e.schedule)}function Rr(e){return e[e.length-1]}function Le(e){return O(Rr(e))?e.pop():void 0}function ne(e){return tr(Rr(e))?e.pop():void 0}function dt(e,r){return typeof Rr(e)=="number"?e.pop():r}var Pe=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function or(e){return O(e==null?void 0:e.then)}function nr(e){return O(e[Ie])}function ir(e){return Symbol.asyncIterator&&O(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 Co(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fr=Co();function ur(e){return O(e==null?void 0:e[fr])}function cr(e){return Br(this,arguments,function(){var t,o,n,i;return Je(this,function(f){switch(f.label){case 0:t=e.getReader(),f.label=1;case 1:f.trys.push([1,,9,10]),f.label=2;case 2:return[4,xe(t.read())];case 3:return o=f.sent(),n=o.value,i=o.done,i?[4,xe(void 0)]:[3,5];case 4:return[2,f.sent()];case 5:return[4,xe(n)];case 6:return[4,f.sent()];case 7:return f.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function sr(e){return O(e==null?void 0:e.getReader)}function k(e){if(e instanceof C)return e;if(e!=null){if(nr(e))return Mo(e);if(Pe(e))return Lo(e);if(or(e))return Po(e);if(ir(e))return ht(e);if(ur(e))return Ro(e);if(sr(e))return ko(e)}throw ar(e)}function Mo(e){return new C(function(r){var t=e[Ie]();if(O(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lo(e){return new C(function(r){for(var t=0;t0&&(c=new ye({next:function(S){return b.next(S)},error:function(S){m=!0,x(),p=Vr(w,n,S),b.error(S)},complete:function(){d=!0,x(),p=Vr(w,f),b.complete()}}),k(R).subscribe(c))})(a)}}function Vr(e,r){for(var t=[],o=2;ojr()||document.body),me(1));function Ut(e){return Bo.pipe(P(r=>e.contains(r)),pe())}function zt(e){return{x:e.scrollLeft,y:e.scrollTop}}function Vt(e){return N(D(e,"scroll"),D(window,"resize")).pipe(Fr(0,Pr),P(()=>zt(e)),he(zt(e)))}function $t(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)$t(e,t)}function J(e,r,...t){let o=document.createElement(e);if(r)for(let n of Object.keys(r))typeof r[n]!="undefined"&&(typeof r[n]!="boolean"?o.setAttribute(n,r[n]):o.setAttribute(n,""));for(let n of t)$t(o,n);return o}function jt(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Nt(e){let r=J("script",{src:e});return Se(()=>(document.head.appendChild(r),N(D(r,"load"),D(r,"error").pipe(Q(()=>kr(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(P(()=>{}),le(()=>document.head.removeChild(r)),ke(1))))}var Zo=new B,Ep=Se(()=>typeof ResizeObserver=="undefined"?Nt("https://unpkg.com/resize-observer-polyfill"):ie(void 0)).pipe(P(()=>new ResizeObserver(e=>{for(let r of e)Zo.next(r)})),Q(e=>N(je,ie(e)).pipe(le(()=>e.disconnect()))),me(1));function qt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Dt(e){return{width:e.scrollWidth,height:e.scrollHeight}}var en=new B,Pp=Se(()=>ie(new IntersectionObserver(e=>{for(let r of e)en.next(r)},{threshold:0}))).pipe(Q(e=>N(je,ie(e)).pipe(le(()=>e.disconnect()))),me(1));function Qt(e,r=16){return Vt(e).pipe(P(({y:t})=>{let o=qt(e),n=Dt(e);return t>=n.height-o.height-r}),pe())}var $p={drawer:Z("[data-md-toggle=drawer]"),search:Z("[data-md-toggle=search]")};var rn=Z("#__config"),Ne=JSON.parse(rn.textContent);Ne.base=`${new URL(Ne.base,Yt())}`;function Kt(){return Ne}function Jt(e,r){return typeof r!="undefined"?Ne.translations[e].replace("#",r.toString()):Ne.translations[e]}function Yt(){return new URL(location.href)}function tn(e,r){return new C(t=>{let o=new XMLHttpRequest;o.open("GET",`${e}`),o.responseType="blob",o.addEventListener("load",()=>{o.status>=200&&o.status<300?(t.next(o.response),t.complete()):t.error(new Error(o.statusText))}),o.addEventListener("error",()=>{t.error(new Error("Network Error"))}),o.addEventListener("abort",()=>{t.error(new Error("Request aborted"))}),typeof(r==null?void 0:r.progress$)!="undefined"&&(o.addEventListener("progress",n=>{r.progress$.next(n.loaded/n.total*100)}),r.progress$.next(5)),o.send()})}function br(e,r){return tn(e,r).pipe(Q(t=>t.text()),P(t=>JSON.parse(t)),me(1))}function We(e,r=document){return Z(`[data-mdx-component=${e}]`,r)}function Nr(e,r=document){return Ht(`[data-mdx-component=${e}]`,r)}function Gt(e){let r=Ut(e),t=N(D(e,"keyup"),D(e,"focus").pipe(zr(1))).pipe(P(()=>e.value),he(e.value),pe());return r.pipe(Ee(o=>!o),He(t)).subscribe(([,o])=>{let n=document.location.pathname;typeof ga=="function"&&o.length&&ga("send","pageview",`${n}?q=[icon]+${o}`)}),Re([t,r]).pipe(P(([o,n])=>({ref:e,value:o,focus:n})))}var Qr=Gr(Dr());var ao=Gr(Dr());function io(e,r){return(0,ao.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function fo(e,r,t){return J("li",{class:"mdx-iconsearch-result__item"},J("span",{class:"twemoji"},J("img",{src:e.url})),J("button",{class:"md-clipboard--inline",title:Jt("clipboard.copy"),"data-clipboard-text":t?e.shortcode:`:${e.shortcode}:`},J("code",null,t?io(e,r):`:${io(e,r)}:`)))}function uo(e){let r=`@${e.name}`;return J("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},J("img",{src:e.image}))}function co(e){return J("a",{href:"https://github.com/sponsors/squidfunk?metadata_origin=docs",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function on(e,{index$:r,query$:t}){switch(e.getAttribute("data-mdx-mode")){case"file":return Re([t.pipe(xr("value")),r.pipe(P(({icons:o})=>Object.values(o.data).map(n=>n.replace(/\.svg$/,""))))]).pipe(P(([{value:o},n])=>(0,Qr.filter)(n,o)),Q(o=>r.pipe(P(({icons:n})=>({data:o.map(i=>({shortcode:i,url:[n.base,i,".svg"].join("")}))})))));default:return Re([t.pipe(xr("value")),r.pipe(P(({icons:o,emojis:n})=>[...Object.keys(o.data),...Object.keys(n.data)]))]).pipe(P(([{value:o},n])=>(0,Qr.filter)(n,o)),Q(o=>r.pipe(P(({icons:n,emojis:i})=>({data:o.map(f=>{let s=f in n.data?n:i;return{shortcode:f,url:[s.base,s.data[f]].join("")}})})))))}}function so(e,{index$:r,query$:t}){let o=new B,n=Qt(e).pipe(Ee(Boolean)),i=Z(":scope > :first-child",e);o.pipe(He(t)).subscribe(([{data:u},{value:a}])=>{if(a)switch(u.length){case 0:i.textContent="No matches";break;case 1:i.textContent="1 match";break;default:i.textContent=`${jt(u.length)} matches`}else i.textContent="Type to start searching"});let f=e.getAttribute("data-mdx-mode")==="file",s=Z(":scope > :last-child",e);return o.pipe(Fe(()=>s.innerHTML=""),Q(({data:u})=>N(ie(...u.slice(0,10)),ie(...u.slice(10)).pipe(Hr(10),$r(n),Q(([a])=>a)))),He(t)).subscribe(([u,{value:a}])=>s.appendChild(fo(u,a,f))),on(e,{query$:t,index$:r}).pipe(Fe(u=>o.next(u)),le(()=>o.complete()),P(u=>Ke({ref:e},u)))}function po(e){let r=Kt(),t=br(new URL("assets/javascripts/iconsearch_index.json",r.base)),o=We("iconsearch-query",e),n=We("iconsearch-result",e),i=Gt(o),f=so(n,{index$:t,query$:i});return N(i,f)}function lo(e){let r=br("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),t=We("sponsorship-count"),o=We("sponsorship-total");return r.subscribe(n=>{e.removeAttribute("hidden");let i=Z(":scope > :first-child",e);for(let f of n.sponsors)f.type==="public"&&i.appendChild(uo(f.user));i.appendChild(co(n.sponsors.filter(({type:f})=>f==="private").length)),t.innerText=`${n.sponsors.length}`,o.innerText=`$ ${n.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(P(n=>Ke({ref:e},n)))}function mo(){let{origin:e}=new URL(location.href);D(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)}})}mo();var nn=document$.pipe(Q(()=>N(...Nr("iconsearch").map(e=>po(e)),...Nr("sponsorship").map(e=>lo(e)))));nn.subscribe();})(); //# sourceMappingURL=custom.9458f965.min.js.map