"use strict";(()=>{var go=Object.create;var Ar=Object.defineProperty;var wo=Object.getOwnPropertyDescriptor;var So=Object.getOwnPropertyNames,Zr=Object.getOwnPropertySymbols,Eo=Object.getPrototypeOf,rt=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable;var et=(e,r,t)=>r in e?Ar(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ye=(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))Oo.call(r,t)&&et(e,t,r[t]);return e};var _e=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var To=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of So(r))!rt.call(e,n)&&n!==t&&Ar(e,n,{get:()=>r[n],enumerable:!(o=wo(r,n))||o.enumerable});return e};var tt=(e,r,t)=>(t=e!=null?go(Eo(e)):{},To(r||!e||!e.__esModule?Ar(t,"default",{value:e,enumerable:!0}):t,e));var Qe=_e(B=>{(function(){var e,r,t,o,n,i,u,s,f,a,c,p,l,v,h,m,x,w,E,H;H=150,a=20,E=150,f=.75,B.score=function(d,b,S){var T,y,g,_;return y=S.preparedQuery,T=S.allowErrors,T||n(d,y.core_lw,y.core_up)?(_=d.toLowerCase(),g=r(d,_,y),Math.ceil(g)):0},B.isMatch=n=function(d,b,S){var T,y,g,_,W,z,C;if(g=d.length,_=b.length,!g||_>g)return!1;for(T=-1,y=-1;++y<_;){for(W=b.charCodeAt(y),z=S.charCodeAt(y);++T-1)return h(d,b,he,te,ae,D,N);for(Te=new Array(D),W=new Array(D),_r=w(D,N),V=Math.ceil(f*D)+5,re=V,C=!0,M=-1;++Mue&&(ue=Je),z=0,te[M]===Or)if(Tr=s(U,d,b),z=_>0?_:l(d,b,he,te,U,M,Tr),g=Er+p(U,M,Tr,y,z),g>ue)ue=g,re=V;else{if(xe&&--re<=0)return Math.max(ue,Te[D-1])*_r;xe=!1}Er=Je,_=W[M],W[M]=z,Te[M]=ue}}return ue=Te[D-1],ue*_r},B.isWordStart=s=function(d,b,S){var T,y;return d===0?!0:(T=b[d],y=b[d-1],i(y)||T!==S[d]&&y===S[d-1])},B.isWordEnd=u=function(d,b,S,T){var y,g;return d===T-1?!0:(y=b[d],g=b[d+1],i(g)||y===S[d]&&g!==S[d+1])},i=function(d){return d===" "||d==="."||d==="-"||d==="_"||d==="/"||d==="\\"},x=function(d){var b;return dy?T:y)+10):g+H*y},B.scoreConsecutives=l=function(d,b,S,T,y,g,_){var W,z,C,U,M,N,V;for(z=d.length,U=S.length,C=z-y,M=U-g,W=C-1&&(M=s(C,d,b),M&&(y=C))),z=-1,U=0;++z1&&C>1))return t;for(y=0,V=0,re=0,M=0,_=-1,W=-1;++W-1){V++;continue}else break;for(;++_12*W)return!1;for(g=-1;++g<_;)if(s(g,d,b)&&++y>T)return!1;return!0}}).call(B)});var wr=_e(Ke=>{(function(){var e,r,t,o,n,i,u,s,f,a;a=Qe(),i=a.isMatch,e=a.computeScore,s=a.scoreSize,f=20,t=2.5,Ke.score=function(c,p,l){var v,h,m,x;return h=l.preparedQuery,v=l.allowErrors,v||i(c,h.core_lw,h.core_up)?(x=c.toLowerCase(),m=e(c,x,h),m=u(c,x,m,l),Math.ceil(m)):0},u=function(c,p,l,v){var h,m,x,w,E,H,d,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),d=E-x,H=1,T&&(H+=n(p,S.ext,x,E,2),l*=H),x===-1)return l;for(w=S.depth;x>-1&&w-- >0;)x=c.lastIndexOf(b,x-1);return m=x===-1?l:H*e(c.slice(x+1,E+1),p.slice(x+1,E+1),S),h=.5*f/(f+r(c,E+1,b)),h*m+(1-h)*l*s(0,t*d)},Ke.countDir=r=function(c,p,l){var v,h;if(p<1)return 0;for(v=0,h=-1;++hl)))return 0;for(w=p.length,m=v-E,m0?.9*n(c,p,l,E-2,h-1):x/m}}).call(Ke)});var Xr=_e((to,oo)=>{(function(){var e,r,t,o,n,i,u,s;s=wr(),t=s.countDir,n=s.getExtension,oo.exports=e=function(){function f(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=u(this.core),this.depth=t(a,a.length,l),this.ext=n(this.query_lw),this.charCodes=o(this.query_lw)}return f}(),i=/[ _\-:\/\\]/g,r=function(f,a){return a==null&&(a=i),f.replace(a,"")},u=function(f){var a,c,p,l;for(c="",p=0,l=f.length;p{(function(){var e,r,t,o,n;o=Qe(),r=wr(),e=Xr(),t=function(i){return i.candidate},n=function(i,u){return u.score-i.score},io.exports=function(i,u,s){var f,a,c,p,l,v,h,m,x,w,E,H,d;for(m=[],c=s.key,l=s.maxResults,p=s.maxInners,E=s.usePathScoring,x=p!=null&&p>0?p:i.length+1,f=c!=null,h=E?r:o,H=0,d=i.length;H0&&(m.push({candidate:a,score:v}),!--x))));H++);return m.sort(n),i=m.map(t),l!=null&&(i=i.slice(0,l)),i}}).call(no)});var uo=_e(Sr=>{(function(){var e,r,t,o,n,i,u,s,f,a;a=Qe(),t=a.isMatch,o=a.isWordStart,f=a.scoreConsecutives,s=a.scoreCharacter,u=a.scoreAcronyms,Sr.match=n=function(c,p,l){var v,h,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&&(h=e(c,E,w,x),m=i(m,h)),m):[]},Sr.wrap=function(c,p,l){var v,h,m,x,w,E,H,d,b;if(l.wrap!=null&&(b=l.wrap,E=b.tagClass,d=b.tagOpen,H=b.tagClose),E==null&&(E="highlight"),d==null&&(d=''),H==null&&(H=""),c===p)return d+c+H;if(m=n(c,p,l),m.length===0)return c;for(x="",v=-1,w=0;++vw&&(x+=c.substring(w,h),w=h);++vw&&(x+=d,x+=c.substring(w,h),x+=H,w=h)}return w<=c.length-1&&(x+=c.substring(w)),x},e=function(c,p,l,v){var h,m,x;for(x=c.length-1;c[x]===v;)x--;if(h=c.lastIndexOf(v,x),h===-1)return[];for(m=l.depth;m-- >0;)if(h=c.lastIndexOf(v,h-1),h===-1)return[];return h++,x++,r(c.slice(h,x),p.slice(h,x),l,h)},i=function(c,p){var l,v,h,m,x,w,E;if(x=c.length,w=p.length,w===0)return c.slice();if(x===0)return p.slice();for(h=-1,m=0,v=p[m],E=[];++h0?b:f(c,p,M,N,y,g,te),H=re+s(y,g,te,E,T)),ae=D[g],b=S[g],V>ae?z=m:(V=ae,z=w),H>V?(V=H,z=h):T=0,D[g]=V,S[g]=T,xe[++U]=V>0?z:x;for(y=_-1,g=C-1,U=y*C+g,d=!0,W=[];d&&y>=0&&g>=0;)switch(xe[U]){case w:y--,U-=C;break;case m:g--,U--;break;case h:W.push(y+v),g--,y--,U-=C+1;break;default:d=!1}return W.reverse(),W}}).call(Sr)});var Gr=_e((fo,co)=>{(function(){var e,r,t,o,n,i,u,s;t=ao(),o=uo(),s=Qe(),i=wr(),e=Xr(),u=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",co.exports={filter:function(f,a,c){return c==null&&(c={}),a!=null&&a.length&&(f!=null&&f.length)?(c=n(c,a),t(f,a,c)):[]},score:function(f,a,c){return c==null&&(c={}),f!=null&&f.length&&(a!=null&&a.length)?(c=n(c,a),c.usePathScoring?i.score(f,a,c):s.score(f,a,c)):0},match:function(f,a,c){var p,l,v;return c==null&&(c={}),f?a?f===a?function(){v=[];for(var h=0,m=f.length;0<=m?hm;0<=m?h++:h--)v.push(h);return v}.apply(this):(c=n(c,a),o.match(f,a,c)):[]:[]},wrap:function(f,a,c){return c==null&&(c={}),f?a?(c=n(c,a),o.wrap(f,a,c)):[]:[]},prepareQuery:function(f,a){return a==null&&(a={}),a=n(a,f),a.preparedQuery}},n=function(f,a){return f.allowErrors==null&&(f.allowErrors=!1),f.usePathScoring==null&&(f.usePathScoring=!0),f.useExtensionBonus==null&&(f.useExtensionBonus=!1),f.pathSeparator==null&&(f.pathSeparator=r),f.optCharRegEx==null&&(f.optCharRegEx=null),f.wrap==null&&(f.wrap=null),f.preparedQuery==null&&(f.preparedQuery=u&&u.query===a?u:u=new e(a,f)),f}}).call(fo)});/*! ***************************************************************************** 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 Mr=function(e,r){return Mr=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])},Mr(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");Mr(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}function ot(e,r,t,o){function n(i){return i instanceof t?i:new t(function(u){u(i)})}return new(t||(t=Promise))(function(i,u){function s(c){try{a(o.next(c))}catch(p){u(p)}}function f(c){try{a(o.throw(c))}catch(p){u(p)}}function a(c){c.done?i(c.value):n(c.value).then(s,f)}a((o=o.apply(e,r||[])).next())})}function Xe(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(a){return function(c){return f([a,c])}}function f(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 R(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var o=t.call(e),n,i=[],u;try{for(;(r===void 0||r-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){u={error:s}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(u)throw u.error}}return i}function k(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{f(o[l](v))}catch(h){p(i[0][3],h)}}function f(l){l.value instanceof be?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 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 X=="function"?X(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(u){return new Promise(function(s,f){u=e[i](u),n(s,f,u.done,u.value)})}}function n(i,u,s,f){Promise.resolve(f).then(function(a){i({value:a,done:s})},u)}}function O(e){return typeof e=="function"}function Ge(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 Be=Ge(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 fe(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 u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=X(u),f=s.next();!f.done;f=s.next()){var a=f.value;a.remove(this)}}catch(m){r={error:m}}finally{try{f&&!f.done&&(t=s.return)&&t.call(s)}finally{if(r)throw r.error}}else u.remove(this);var c=this.initialTeardown;if(O(c))try{c()}catch(m){i=m instanceof Be?m.errors:[m]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var l=X(p),v=l.next();!v.done;v=l.next()){var h=v.value;try{at(h)}catch(m){i=i!=null?i:[],m instanceof Be?i=k(k([],R(i)),R(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 Be(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 Ir=oe.EMPTY;function Ze(e){return e instanceof oe||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function at(e){O(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ae={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,u=n.isStopped,s=n.observers;return i||u?Ir:(this.currentObservers=null,s.push(t),new oe(function(){o.currentObservers=null,fe(s,t)}))},r.prototype._checkFinalizedStatuses=function(t){var o=this,n=o.hasError,i=o.thrownError,u=o.isStopped;n?t.error(i):u&&t.complete()},r.prototype.asObservable=function(){var t=new I;return t.source=this,t},r.create=function(t,o){return new ht(t,o)},r}(I);var ht=function(e){j(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:Ir},r}(K);var Hr=function(e){j(r,e);function r(t){var o=e.call(this)||this;return o._value=t,o}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(t){var o=e.prototype._subscribe.call(this,t);return!o.closed&&t.next(this._value),o},r.prototype.getValue=function(){var t=this,o=t.hasError,n=t.thrownError,i=t._value;if(o)throw n;return this._throwIfClosed(),i},r.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},r}(K);var je={now:function(){return(je.delegate||Date).now()},delegate:void 0};var dt=function(e){j(r,e);function r(t,o,n){t===void 0&&(t=1/0),o===void 0&&(o=1/0),n===void 0&&(n=je);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,u=o._infiniteTimeWindow,s=o._timestampProvider,f=o._windowTime;n||(i.push(t),!u&&i.push(s.now()+f)),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,u=n._buffer,s=u.slice(),f=0;f0?e.prototype.requestAsyncId.call(this,t,o,n):(t.actions.push(this),t._scheduled||(t._scheduled=Le.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 u=t.actions;o!=null&&((i=u[u.length-1])===null||i===void 0?void 0:i.id)!==o&&(Le.cancelAnimationFrame(o),t._scheduled=void 0)},r}(tr);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 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}(or);var Fr=new yt(bt);var Ce=new I(function(e){return e.complete()});function nr(e){return e&&O(e.schedule)}function Wr(e){return e[e.length-1]}function de(e){return O(Wr(e))?e.pop():void 0}function ne(e){return nr(Wr(e))?e.pop():void 0}function gt(e,r){return typeof Wr(e)=="number"?e.pop():r}var Pe=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function ir(e){return O(e==null?void 0:e.then)}function ar(e){return O(e[Ie])}function ur(e){return Symbol.asyncIterator&&O(e==null?void 0:e[Symbol.asyncIterator])}function fr(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 Ho(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var cr=Ho();function sr(e){return O(e==null?void 0:e[cr])}function pr(e){return nt(this,arguments,function(){var t,o,n,i;return Xe(this,function(u){switch(u.label){case 0:t=e.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,be(t.read())];case 3:return o=u.sent(),n=o.value,i=o.done,i?[4,be(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,be(n)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function lr(e){return O(e==null?void 0:e.getReader)}function F(e){if(e instanceof I)return e;if(e!=null){if(ar(e))return ko(e);if(Pe(e))return Fo(e);if(ir(e))return Wo(e);if(ur(e))return wt(e);if(sr(e))return Uo(e);if(lr(e))return zo(e)}throw fr(e)}function ko(e){return new I(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 Fo(e){return new I(function(r){for(var t=0;t0&&(c=new ge({next:function(S){return b.next(S)},error:function(S){m=!0,x(),p=Kr(w,n,S),b.error(S)},complete:function(){h=!0,x(),p=Kr(w,u),b.complete()}}),F(H).subscribe(c))})(a)}}function Kr(e,r){for(var t=[],o=2;oYr()||document.body),me(1));function Nt(e){return tn.pipe(L(r=>e.contains(r)),pe())}function qt(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)qt(e,t)}function Y(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)qt(o,n);return o}function Dt(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Qt(e){let r=Y("script",{src:e});return Ee(()=>(document.head.appendChild(r),q($(r,"load"),$(r,"error").pipe(Q(()=>Ur(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(L(()=>{}),le(()=>document.head.removeChild(r)),ke(1))))}var on=new K,Wp=Ee(()=>typeof ResizeObserver=="undefined"?Qt("https://unpkg.com/resize-observer-polyfill"):ie(void 0)).pipe(L(()=>new ResizeObserver(e=>e.forEach(r=>on.next(r)))),Q(e=>q(Ne,ie(e)).pipe(le(()=>e.disconnect()))),me(1));function Kt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Jt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Yt(e){return{x:e.scrollLeft,y:e.scrollTop}}function Xt(e){return q($(e,"scroll"),$(window,"scroll"),$(window,"resize")).pipe(jr(0,Fr),L(()=>Yt(e)),ve(Yt(e)))}var nn=new K,rl=Ee(()=>ie(new IntersectionObserver(e=>{for(let r of e)nn.next(r)},{threshold:0}))).pipe(Q(e=>q(Ne,ie(e)).pipe(le(()=>e.disconnect()))),me(1));function Gt(e,r=16){return Xt(e).pipe(L(({y:t})=>{let o=Kt(e),n=Jt(e);return t>=n.height-o.height-r}),pe())}var pl={drawer:Z("[data-md-toggle=drawer]"),search:Z("[data-md-toggle=search]")};var an=Z("#__config"),qe=JSON.parse(an.textContent);qe.base=`${new URL(qe.base,eo())}`;function Bt(){return qe}function Zt(e,r){return typeof r!="undefined"?qe.translations[e].replace("#",r.toString()):qe.translations[e]}function eo(){return new URL(location.href)}function un(e,r){return new I(t=>{let o=new XMLHttpRequest;return 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.complete()}),typeof(r==null?void 0:r.progress$)!="undefined"&&(o.addEventListener("progress",n=>{var i;if(n.lengthComputable)r.progress$.next(n.loaded/n.total*100);else{let u=(i=o.getResponseHeader("Content-Length"))!=null?i:0;r.progress$.next(n.loaded/+u*100)}}),r.progress$.next(5)),o.send(),()=>o.abort()})}function gr(e,r){return un(e,r).pipe(Q(t=>t.text()),L(t=>JSON.parse(t)),me(1))}function Ue(e,r=document){return Z(`[data-mdx-component=${e}]`,r)}function De(e,r=document){return Vt(`[data-mdx-component=${e}]`,r)}function ro(e){let r=Nt(e),t=q($(e,"keyup"),$(e,"focus").pipe(Qr(1))).pipe(L(()=>e.value),ve(e.value),pe());return r.pipe(Oe(o=>!o),We(t)).subscribe(([,o])=>{let n=document.location.pathname;typeof ga=="function"&&o.length&&ga("send","pageview",`${n}?q=[icon]+${o}`)}),He([t,r]).pipe(L(([o,n])=>({ref:e,value:o,focus:n})))}var Br=tt(Gr());var po=tt(Gr());function so(e,r){return(0,po.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function lo(e,r,t){return Y("li",{class:"mdx-iconsearch-result__item"},Y("span",{class:"twemoji"},Y("img",{src:e.url})),Y("button",{class:"md-clipboard--inline",title:Zt("clipboard.copy"),"data-clipboard-text":t?e.shortcode:`:${e.shortcode}:`},Y("code",null,t?so(e,r):`:${so(e,r)}:`)))}function mo(e){let r=`@${e.name}`;return Y("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},Y("img",{src:e.image}))}function ho(e){return Y("a",{href:"https://github.com/sponsors/squidfunk?metadata_origin=docs",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function fn(e,{index$:r,query$:t,mode$:o}){switch(e.getAttribute("data-mdx-mode")){case"file":return He([t.pipe(yr("value")),r.pipe(L(({icons:n})=>Object.values(n.data).map(i=>i.replace(/\.svg$/,""))))]).pipe(L(([{value:n},i])=>(0,Br.filter)(i,n)),Q(n=>r.pipe(L(({icons:i})=>({data:n.map(u=>({shortcode:u,url:[i.base,u,".svg"].join("")}))})))));default:return He([t.pipe(yr("value")),r.pipe(Nr(o),L(([{icons:n,emojis:i},u])=>[...["all","icons"].includes(u)?Object.keys(n.data):[],...["all","emojis"].includes(u)?Object.keys(i.data):[]]))]).pipe(L(([{value:n},i])=>(0,Br.filter)(i,n)),Q(n=>r.pipe(L(({icons:i,emojis:u})=>({data:n.map(s=>{let f=s in i.data?i:u;return{shortcode:s,url:[f.base,f.data[s]].join("")}})})))))}}function vo(e,{index$:r,query$:t,mode$:o}){let n=new K,i=Gt(e).pipe(Oe(Boolean)),u=Z(".mdx-iconsearch-result__meta",e);n.pipe(We(t)).subscribe(([{data:a},{value:c}])=>{if(c)switch(a.length){case 0:u.textContent="No matches";break;case 1:u.textContent="1 match";break;default:u.textContent=`${Dt(a.length)} matches`}else u.textContent="Type to start searching"});let s=e.getAttribute("data-mdx-mode")==="file",f=Z(":scope > :last-child",e);return n.pipe(Fe(()=>f.innerHTML=""),Q(({data:a})=>q(ie(...a.slice(0,10)),ie(...a.slice(10)).pipe(Vr(10),Jr(i),Q(([c])=>c)))),We(t)).subscribe(([a,{value:c}])=>f.appendChild(lo(a,c,s))),fn(e,{query$:t,index$:r,mode$:o}).pipe(Fe(a=>n.next(a)),le(()=>n.complete()),L(a=>Ye({ref:e},a)))}function xo(e){let r=Bt(),t=gr(new URL("assets/javascripts/iconsearch_index.json",r.base)),o=Ue("iconsearch-query",e),n=Ue("iconsearch-result",e),i=new Hr("all"),u=De("iconsearch-select",e);for(let a of u)$(a,"change").pipe(L(c=>c.target.value)).subscribe(i);let s=ro(o),f=vo(n,{index$:t,query$:s,mode$:i});return q(s,f)}function bo(e){let r=gr("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),t=Ue("sponsorship-count"),o=Ue("sponsorship-total");return r.subscribe(n=>{e.removeAttribute("hidden");let i=Z(":scope > :first-child",e);for(let u of n.sponsors)u.type==="public"&&i.appendChild(mo(u.user));i.appendChild(ho(n.sponsors.filter(({type:u})=>u==="private").length)),t.innerText=`${n.sponsors.length}`,o.innerText=`$ ${n.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(L(n=>Ye({ref:e},n)))}function yo(){let{origin:e}=new URL(location.href);$(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)}})}yo();var cn=document$.pipe(Q(()=>q(...De("iconsearch").map(e=>xo(e)),...De("sponsorship").map(e=>bo(e)))));cn.subscribe();})(); //# sourceMappingURL=custom.63a6dff3.min.js.map