(()=>{var Ln=Object.create,ze=Object.defineProperty,Cn=Object.getPrototypeOf,kr=Object.prototype.hasOwnProperty,Pn=Object.getOwnPropertyNames,Hn=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertySymbols,Fn=Object.prototype.propertyIsEnumerable;var Ur=(e,r,t)=>r in e?ze(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ue=(e,r)=>{for(var t in r||(r={}))kr.call(r,t)&&Ur(e,t,r[t]);if(zr)for(var t of zr(r))Fn.call(r,t)&&Ur(e,t,r[t]);return e},Rn=e=>ze(e,"__esModule",{value:!0});var me=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var jn=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Pn(r))!kr.call(e,n)&&n!=="default"&&ze(e,n,{get:()=>r[n],enumerable:!(t=Hn(r,n))||t.enumerable});return e},br=e=>jn(Rn(ze(e!=null?Ln(Cn(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var at=me((yo,We)=>{var Wr,Vr,qr,$r,Nr,Dr,Qr,Kr,Jr,Ve,yr,Yr,Gr,Xr,ye,Br,Zr,et,rt,tt,nt,ot,it,qe;(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(n){e(t(r,t(n)))}):typeof We=="object"&&typeof We.exports=="object"?e(t(r,t(We.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};Wr=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Vr=Object.assign||function(n){for(var o,i=1,s=arguments.length;i=0;c--)(l=n[c])&&(a=(u<3?l(a):u>3?l(o,i,a):l(o,i))||a);return u>3&&a&&Object.defineProperty(o,i,a),a},Nr=function(n,o){return function(i,s){o(i,s,n)}},Dr=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},Qr=function(n,o,i,s){function u(a){return a instanceof i?a:new i(function(l){l(a)})}return new(i||(i=Promise))(function(a,l){function c(d){try{f(s.next(d))}catch(h){l(h)}}function p(d){try{f(s.throw(d))}catch(h){l(h)}}function f(d){d.done?a(d.value):u(d.value).then(c,p)}f((s=s.apply(n,o||[])).next())})},Kr=function(n,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,u,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(d){return p([f,d])}}function p(f){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,u&&(a=f[0]&2?u.return:f[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,f[1])).done)return a;switch(u=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,u=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},yr=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var s=i.call(n),u,a=[],l;try{for(;(o===void 0||o-- >0)&&!(u=s.next()).done;)a.push(u.value)}catch(c){l={error:c}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(l)throw l.error}}return a},Yr=function(){for(var n=[],o=0;o1||c(m,b)})})}function c(m,b){try{p(s[m](b))}catch(g){h(a[0][3],g)}}function p(m){m.value instanceof ye?Promise.resolve(m.value.v).then(f,d):h(a[0][2],m)}function f(m){c("next",m)}function d(m){c("throw",m)}function h(m,b){m(b),a.shift(),a.length&&c(a[0][0],a[0][1])}},Zr=function(n){var o,i;return o={},s("next"),s("throw",function(u){throw u}),s("return"),o[Symbol.iterator]=function(){return this},o;function s(u,a){o[u]=n[u]?function(l){return(i=!i)?{value:ye(n[u](l)),done:u==="return"}:a?a(l):l}:a}},et=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof Ve=="function"?Ve(n):n[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(a){i[a]=n[a]&&function(l){return new Promise(function(c,p){l=n[a](l),u(c,p,l.done,l.value)})}}function u(a,l,c,p){Promise.resolve(p).then(function(f){a({value:f,done:c})},l)}},rt=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var t=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};tt=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&qe(o,n,i);return t(o,n),o},nt=function(n){return n&&n.__esModule?n:{default:n}},ot=function(n,o){if(!o.has(n))throw new TypeError("attempted to get private field on non-instance");return o.get(n)},it=function(n,o,i){if(!o.has(n))throw new TypeError("attempted to set private field on non-instance");return o.set(n,i),i},e("__extends",Wr),e("__assign",Vr),e("__rest",qr),e("__decorate",$r),e("__param",Nr),e("__metadata",Dr),e("__awaiter",Qr),e("__generator",Kr),e("__exportStar",Jr),e("__createBinding",qe),e("__values",Ve),e("__read",yr),e("__spread",Yr),e("__spreadArrays",Gr),e("__spreadArray",Xr),e("__await",ye),e("__asyncGenerator",Br),e("__asyncDelegator",Zr),e("__asyncValues",et),e("__makeTemplateObject",rt),e("__importStar",tt),e("__importDefault",nt),e("__classPrivateFieldGet",ot),e("__classPrivateFieldSet",it)})});var Re=me(K=>{(function(){var e,r,t,n,o,i,s,u,a,l,c,p,f,d,h,m,b,g,S,R;R=150,l=20,S=150,a=.75,K.score=function(v,w,E){var _,y,x,O;return y=E.preparedQuery,_=E.allowErrors,_||o(v,y.core_lw,y.core_up)?(O=v.toLowerCase(),x=r(v,O,y),Math.ceil(x)):0},K.isMatch=o=function(v,w,E){var _,y,x,O,P,F,M;if(x=v.length,O=w.length,!x||O>x)return!1;for(_=-1,y=-1;++y-1)return h(v,w,ue,ee,oe,q,V);for(be=new Array(q),P=new Array(q),vr=g(q,V),z=Math.ceil(a*q)+5,Z=z,M=!0,A=-1;++Aie&&(ie=ke),F=0,ee[A]===dr)if(hr=u(H,v,w),F=O>0?O:f(v,w,ue,ee,H,A,hr),x=mr+p(H,A,hr,y,F),x>ie)ie=x,Z=z;else{if(pe&&--Z<=0)return Math.max(ie,be[q-1])*vr;pe=!1}mr=ke,O=P[A],P[A]=F,be[A]=ie}}return ie=be[q-1],ie*vr},K.isWordStart=u=function(v,w,E){var _,y;return v===0?!0:(_=w[v],y=w[v-1],i(y)||_!==E[v]&&y===E[v-1])},K.isWordEnd=s=function(v,w,E,_){var y,x;return v===_-1?!0:(y=w[v],x=w[v+1],i(x)||y===E[v]&&x!==E[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var w;return vy?_:y)+10):x+R*y},K.scoreConsecutives=f=function(v,w,E,_,y,x,O){var P,F,M,H,A,V,z;for(F=v.length,H=E.length,M=F-y,A=H-x,P=M-1&&(A=u(M,v,w),A&&(y=M))),F=-1,H=0;++F1&&M>1))return t;for(y=0,z=0,Z=0,A=0,O=-1,P=-1;++P-1){z++;continue}else break;for(;++O12*P)return!1;for(x=-1;++x_)return!1;return!0}}).call(K)});var lr=me(je=>{(function(){var e,r,t,n,o,i,s,u,a,l;l=Re(),i=l.isMatch,e=l.computeScore,u=l.scoreSize,a=20,t=2.5,je.score=function(c,p,f){var d,h,m,b;return h=f.preparedQuery,d=f.allowErrors,d||i(c,h.core_lw,h.core_up)?(b=c.toLowerCase(),m=e(c,b,h),m=s(c,b,m,f),Math.ceil(m)):0},s=function(c,p,f,d){var h,m,b,g,S,R,v,w,E,_;if(f===0)return 0;for(E=d.preparedQuery,_=d.useExtensionBonus,w=d.pathSeparator,S=c.length-1;c[S]===w;)S--;if(b=c.lastIndexOf(w,S),v=S-b,R=1,_&&(R+=o(p,E.ext,b,S,2),f*=R),b===-1)return f;for(g=E.depth;b>-1&&g-- >0;)b=c.lastIndexOf(w,b-1);return m=b===-1?f:R*e(c.slice(b+1,S+1),p.slice(b+1,S+1),E),h=.5*a/(a+r(c,S+1,w)),h*m+(1-h)*f*u(0,t*v)},je.countDir=r=function(c,p,f){var d,h;if(p<1)return 0;for(d=0,h=-1;++hf)))return 0;for(g=p.length,m=d-S,m0?.9*o(c,p,f,S-2,h-1):b/m}}).call(je)});var Rr=me((sn,un)=>{(function(){var e,r,t,n,o,i,s,u;u=lr(),t=u.countDir,o=u.getExtension,un.exports=e=function(){function a(l,c){var p,f,d;if(d=c!=null?c:{},p=d.optCharRegEx,f=d.pathSeparator,!(l&&l.length))return null;this.query=l,this.query_lw=l.toLowerCase(),this.core=r(l,p),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=t(l,l.length,f),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,l){return l==null&&(l=i),a.replace(l,"")},s=function(a){var l,c,p,f;for(c="",p=0,f=a.length;p{(function(){var e,r,t,n,o;n=Re(),r=lr(),e=Rr(),t=function(i){return i.candidate},o=function(i,s){return s.score-i.score},ln.exports=function(i,s,u){var a,l,c,p,f,d,h,m,b,g,S,R,v;for(m=[],c=u.key,f=u.maxResults,p=u.maxInners,S=u.usePathScoring,b=p!=null&&p>0?p:i.length+1,a=c!=null,h=S?r:n,R=0,v=i.length;R0&&(m.push({candidate:l,score:d}),!--b))));R++);return m.sort(o),i=m.map(t),f!=null&&(i=i.slice(0,f)),i}}).call(cn)});var pn=me(fr=>{(function(){var e,r,t,n,o,i,s,u,a,l;l=Re(),t=l.isMatch,n=l.isWordStart,a=l.scoreConsecutives,u=l.scoreCharacter,s=l.scoreAcronyms,fr.match=o=function(c,p,f){var d,h,m,b,g,S;return d=f.allowErrors,g=f.preparedQuery,b=f.pathSeparator,d||t(c,g.core_lw,g.core_up)?(S=c.toLowerCase(),m=r(c,S,g),m.length===0||c.indexOf(b)>-1&&(h=e(c,S,g,b),m=i(m,h)),m):[]},fr.wrap=function(c,p,f){var d,h,m,b,g,S,R,v,w;if(f.wrap!=null&&(w=f.wrap,S=w.tagClass,v=w.tagOpen,R=w.tagClose),S==null&&(S="highlight"),v==null&&(v=''),R==null&&(R=""),c===p)return v+c+R;if(m=o(c,p,f),m.length===0)return c;for(b="",d=-1,g=0;++dg&&(b+=c.substring(g,h),g=h);++dg&&(b+=v,b+=c.substring(g,h),b+=R,g=h)}return g<=c.length-1&&(b+=c.substring(g)),b},e=function(c,p,f,d){var h,m,b;for(b=c.length-1;c[b]===d;)b--;if(h=c.lastIndexOf(d,b),h===-1)return[];for(m=f.depth;m-- >0;)if(h=c.lastIndexOf(d,h-1),h===-1)return[];return h++,b++,r(c.slice(h,b),p.slice(h,b),f,h)},i=function(c,p){var f,d,h,m,b,g,S;if(b=c.length,g=p.length,g===0)return c.slice();if(b===0)return p.slice();for(h=-1,m=0,d=p[m],S=[];++h0?w:a(c,p,A,V,y,x,ee),R=Z+u(y,x,ee,S,_)),oe=q[x],w=E[x],z>oe?F=m:(z=oe,F=g),R>z?(z=R,F=h):_=0,q[x]=z,E[x]=_,pe[++H]=z>0?F:b;for(y=O-1,x=M-1,H=y*M+x,v=!0,P=[];v&&y>=0&&x>=0;)switch(pe[H]){case g:y--,H-=M;break;case m:x--,H--;break;case h:P.push(y+d),x--,y--,H-=M+1;break;default:v=!1}return P.reverse(),P}}).call(fr)});var jr=me((mn,dn)=>{(function(){var e,r,t,n,o,i,s,u;t=fn(),n=pn(),u=Re(),i=lr(),e=Rr(),s=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",dn.exports={filter:function(a,l,c){return c==null&&(c={}),(l!=null?l.length:void 0)&&(a!=null?a.length:void 0)?(c=o(c,l),t(a,l,c)):[]},score:function(a,l,c){return c==null&&(c={}),(a!=null?a.length:void 0)&&(l!=null?l.length:void 0)?(c=o(c,l),c.usePathScoring?i.score(a,l,c):u.score(a,l,c)):0},match:function(a,l,c){var p,f,d;return c==null&&(c={}),a?l?a===l?function(){d=[];for(var h=0,m=a.length;0<=m?hm;0<=m?h++:h--)d.push(h);return d}.apply(this):(c=o(c,l),n.match(a,l,c)):[]:[]},wrap:function(a,l,c){return c==null&&(c={}),a?l?(c=o(c,l),n.wrap(a,l,c)):[]:[]},prepareQuery:function(a,l){return l==null&&(l={}),l=o(l,a),l.preparedQuery}},o=function(a,l){return a.allowErrors==null&&(a.allowErrors=!1),a.usePathScoring==null&&(a.usePathScoring=!0),a.useExtensionBonus==null&&(a.useExtensionBonus=!1),a.pathSeparator==null&&(a.pathSeparator=r),a.optCharRegEx==null&&(a.optCharRegEx=null),a.wrap==null&&(a.wrap=null),a.preparedQuery==null&&(a.preparedQuery=s&&s.query===l?s:s=new e(l,a)),a}}).call(mn)});var st=br(at()),{__extends:W,__assign:xo,__rest:wo,__decorate:So,__param:Eo,__metadata:_o,__awaiter:ut,__generator:ct,__exportStar:Oo,__createBinding:To,__values:G,__read:j,__spread:Ao,__spreadArrays:Mo,__spreadArray:k,__await:Io,__asyncGenerator:Lo,__asyncDelegator:Co,__asyncValues:lt,__makeTemplateObject:Po,__importStar:Ho,__importDefault:Fo,__classPrivateFieldGet:Ro,__classPrivateFieldSet:jo}=st.default;function T(e){return typeof e=="function"}function $e(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 Ne=$e(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 ae(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var N=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var r,t,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(Array.isArray(s))try{for(var u=G(s),a=u.next();!a.done;a=u.next()){var l=a.value;l.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(t=u.return)&&t.call(u)}finally{if(r)throw r.error}}else s==null||s.remove(this);var c=this.initialTeardown;if(T(c))try{c()}catch(m){i=m instanceof Ne?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var f=G(p),d=f.next();!d.done;d=f.next()){var h=d.value;try{ft(h)}catch(m){i=i!=null?i:[],m instanceof Ne?i=k(k([],j(i)),j(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new Ne(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)ft(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)&&ae(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&ae(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var gr=N.EMPTY;function De(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ft(e){T(e)?e():e.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ge={setTimeout:function(){for(var e=[],r=0;r0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t.scheduled||(t.scheduled=xe.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);t.actions.length===0&&(xe.cancelAnimationFrame(n),t.scheduled=void 0)},r}(Ke);var _t=function(e){W(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 n=this.actions,o,i=-1;t=t||n.shift();var s=n.length;do if(o=t.execute(t.state,t.delay))break;while(++ir==="focus"),Ae(e===Pr()))}var co=new se,Al=zt(()=>Oe(new ResizeObserver(e=>{for(let r of e)co.next(r)}))).pipe(te(e=>Vt.pipe(Ae(e)).pipe(ar(()=>e.disconnect()))),sr(1));function en(e){return{width:e.offsetWidth,height:e.offsetHeight}}function rn(e){return{width:e.scrollWidth,height:e.scrollHeight}}function tn(e){return{x:e.scrollLeft,y:e.scrollTop}}function lo(e){return J(Q(e,"scroll"),Q(window,"resize")).pipe(U(()=>tn(e)),Ae(tn(e)))}function nn(e,r=16){return lo(e).pipe(U(({y:t})=>{let n=en(e),o=rn(e);return t>=o.height-n.height-r}),Te())}var ql={drawer:Y("[data-md-toggle=drawer]"),search:Y("[data-md-toggle=search]")};function on(){return new URL(location.href)}function fo(e,r={credentials:"same-origin"}){return de(fetch(e.toString(),r)).pipe(ve(t=>t.status===200))}function cr(e,r){return fo(e,r).pipe(te(t=>t.json()),sr(1))}function Me(e,r=document){return Y(`[data-mdx-component=${e}]`,r)}function Hr(e,r=document){return Bt(`[data-mdx-component=${e}]`,r)}var po=Y("#__config"),Fe=JSON.parse(po.textContent);Fe.base=new URL(Fe.base,on()).toString().replace(/\/$/,"");function Fr(){return Fe}function fe(e,r){return typeof r!="undefined"?Fe.translations[e].replace("#",r.toString()):Fe.translations[e]}function an(e){let r=Zt(e),t=J(Q(e,"keyup"),Q(e,"focus").pipe(Qt(1))).pipe(U(()=>e.value),Te());return r.pipe(ve(n=>!n),He(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),nr([t,r]).pipe(U(([n,o])=>({ref:e,value:n,focus:o})))}var On=br(jr());function hn(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)hn(e,t)}function ne(e,r,...t){let n=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?n.setAttribute(o,r[o]):r[o]&&n.setAttribute(o,"");for(let o of t)hn(n,o);return n}function vn(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function bn(e,r){switch(r){case 0:e.textContent=fe("search.result.none");break;case 1:e.textContent=fe("search.result.one");break;default:e.textContent=fe("search.result.other",vn(r))}}function yn(e){e.textContent=fe("search.result.placeholder")}function gn(e,r){e.appendChild(r)}function xn(e){e.innerHTML=""}var wn=br(jr());function mo(e,r){return(0,wn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Sn(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:fe("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ne("code",null,`:${mo(e,r)}:`)))}function En(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function _n(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function ho(e,{index$:r,query$:t}){return nr([t.pipe(Kt("value")),r.pipe(U(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(U(([{value:n},o])=>(0,On.filter)(o,n)),te(n=>r.pipe(U(({icons:o,emojis:i})=>({data:n.map(s=>{let u=s in o.data?o:i;return{shortcode:s,url:[u.base,u.data[s]].join("")}})})))))}function Tn(e,{index$:r,query$:t}){let n=new se,o=nn(e).pipe(ve(Boolean)),i=Y(":scope > :first-child",e);n.pipe(Ir(Tr),He(t)).subscribe(([{data:u},{value:a}])=>{a?bn(i,u.length):yn(i)});let s=Y(":scope > :last-child",e);return n.pipe(Ir(Tr),ur(()=>xn(s)),te(({data:u})=>J(Oe(...u.slice(0,10)),Oe(...u.slice(10)).pipe($t(10),Gt(o),te(([a])=>Oe(...a))))),He(t)).subscribe(([u,{value:a}])=>{gn(s,Sn(u,a))}),ho(e,{query$:t,index$:r}).pipe(ur(n),ar(()=>n.complete()),U(u=>Ue({ref:e},u)))}function An(e){let r=Fr(),t=cr(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),n=Me("iconsearch-query",e),o=Me("iconsearch-result",e),i=an(n);return J(i,Tn(o,{index$:t,query$:i}))}var pr;(function(e){e.PUBLIC="PUBLIC",e.PRIVATE="PRIVATE"})(pr||(pr={}));function Mn(e){let r=cr("https://gpiqp43wvb.execute-api.us-east-1.amazonaws.com/_/"),t=Me("sponsorship-count"),n=Me("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=Y(":scope > :first-child",e);for(let s of o.sponsors)s.type===pr.PUBLIC&&i.appendChild(En(s));i.appendChild(_n(o.sponsors.filter(({type:s})=>s===pr.PRIVATE).length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(U(o=>Ue({ref:e},o)))}function In(){Q(document.body,"click").subscribe(e=>{if(e.target instanceof HTMLElement){let r=e.target.closest("a[href^=http]");r instanceof HTMLLinkElement&&ga("send","event","outbound","click",r.href)}})}In();var vo=document$.pipe(te(()=>J(...Hr("iconsearch").map(e=>An(e)),...Hr("sponsorship").map(e=>Mn(e)))));vo.subscribe();})(); /*! ***************************************************************************** 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. ***************************************************************************** */ //# sourceMappingURL=bundle.afdf7228.min.js.map