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