mkdocs-material/material/overrides/assets/javascripts/bundle.55e80bbe.min.js

20 lines
44 KiB
JavaScript

(()=>{var Zt=Object.create,pr=Object.defineProperty,en=Object.getPrototypeOf,rn=Object.prototype.hasOwnProperty,tn=Object.getOwnPropertyNames,nn=Object.getOwnPropertyDescriptor;var ze=Object.assign,on=e=>pr(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var an=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of tn(r))!rn.call(e,n)&&n!=="default"&&pr(e,n,{get:()=>r[n],enumerable:!(t=nn(r,n))||t.enumerable});return e},Pr=e=>e&&e.__esModule?e:an(on(pr(e!=null?Zt(en(e)):{},"default",{value:e,enumerable:!0})),e);var Re=be(K=>{(function(){var e,r,t,n,o,i,a,l,c,s,u,f,d,v,h,m,b,w,S,R;R=150,s=20,S=150,c=.75,K.score=function(p,g,E){var O,y,x,A;return y=E.preparedQuery,O=E.allowErrors,O||o(p,y.core_lw,y.core_up)?(A=p.toLowerCase(),x=r(p,A,y),Math.ceil(x)):0},K.isMatch=o=function(p,g,E){var O,y,x,A,P,F,M;if(x=p.length,A=g.length,!x||A>x)return!1;for(O=-1,y=-1;++y<A;){for(P=g.charCodeAt(y),F=E.charCodeAt(y);++O<x&&(M=p.charCodeAt(O),!(M===P||M===F)););if(O===x)return!1}return!0},K.computeScore=r=function(p,g,E){var O,y,x,A,P,F,M,H,_,q,k,Z,V,oe,ue,ee,pe,ie,ur,ve,ke,cr,lr,fr;if(ue=E.query,ee=E.query_lw,q=p.length,V=ue.length,O=u(p,g,ue,ee),y=O.score,O.count===V)return v(V,q,y,O.pos);if(oe=g.indexOf(ee),oe>-1)return h(p,g,ue,ee,oe,V,q);for(ve=new Array(V),P=new Array(V),fr=w(V,q),k=Math.ceil(c*V)+5,Z=k,M=!0,_=-1;++_<V;)ve[_]=0,P[_]=0;for(H=-1;++H<q;){if(cr=g[H],!cr.charCodeAt(0)in E.charCodes){if(M){for(_=-1;++_<V;)P[_]=0;M=!1}continue}for(ie=0,ur=0,A=0,pe=!0,M=!0,_=-1;++_<V;){if(ke=ve[_],ke>ie&&(ie=ke),F=0,ee[_]===cr)if(lr=l(H,p,g),F=A>0?A:d(p,g,ue,ee,H,_,lr),x=ur+f(H,_,lr,y,F),x>ie)ie=x,Z=k;else{if(pe&&--Z<=0)return Math.max(ie,ve[V-1])*fr;pe=!1}ur=ke,A=P[_],P[_]=F,ve[_]=ie}}return ie=ve[V-1],ie*fr},K.isWordStart=l=function(p,g,E){var O,y;return p===0?!0:(O=g[p],y=g[p-1],i(y)||O!==E[p]&&y===E[p-1])},K.isWordEnd=a=function(p,g,E,O){var y,x;return p===O-1?!0:(y=g[p],x=g[p+1],i(x)||y===E[p]&&x!==E[p+1])},i=function(p){return p===" "||p==="."||p==="-"||p==="_"||p==="/"||p==="\\"},b=function(p){var g;return p<s?(g=s-p,100+g*g):Math.max(100+s-p,0)},K.scoreSize=w=function(p,g){return S/(S+Math.abs(g-p))},v=function(p,g,E,O){return 2*p*(R*E+b(O))*w(p,g)},K.scorePattern=m=function(p,g,E,O,y){var x,A;return A=p,x=6,E===p&&(x+=2),O&&(x+=3),y&&(x+=1),p===g&&(O&&(E===g?A+=2:A+=1),y&&(x+=1)),E+A*(A+x)},K.scoreCharacter=f=function(p,g,E,O,y){var x;return x=b(p),E?x+R*((O>y?O:y)+10):x+R*y},K.scoreConsecutives=d=function(p,g,E,O,y,x,A){var P,F,M,H,_,q,k;for(F=p.length,H=E.length,M=F-y,_=H-x,P=M<_?M:_,q=0,k=0,E[x]===p[y]&&q++;++k<P&&O[++x]===g[++y];)E[x]===p[y]&&q++;return k<P&&y--,k===1?1+2*q:m(k,H,q,A,a(y,p,g,F))},K.scoreExactMatch=h=function(p,g,E,O,y,x,A){var P,F,M,H,_;for(_=l(y,p,g),_||(M=g.indexOf(O,y+1),M>-1&&(_=l(M,p,g),_&&(y=M))),F=-1,H=0;++F<x;)E[y+F]===p[F]&&H++;return P=a(y+x-1,p,g,A),v(x,A,m(x,x,H,_,P),y)},e=function(){function p(g,E,O){this.score=g,this.pos=E,this.count=O}return p}(),t=new e(0,.1,0),K.scoreAcronyms=u=function(p,g,E,O){var y,x,A,P,F,M,H,_,q,k,Z;if(F=p.length,M=E.length,!(F>1&&M>1))return t;for(y=0,k=0,Z=0,_=0,A=-1,P=-1;++P<M;){if(H=O[P],i(H))if(A=g.indexOf(H,A+1),A>-1){k++;continue}else break;for(;++A<F;)if(H===g[A]&&l(A,p,g)){E[P]===p[A]&&_++,Z+=A,y++;break}if(A===F)break}return y<2?t:(x=y===M?n(p,g,E,y):!1,q=m(y,M,_,!0,x),new e(q,Z/y,y+k))},n=function(p,g,E,O){var y,x,A,P;if(A=p.length,P=E.length,y=0,A>12*P)return!1;for(x=-1;++x<A;)if(l(x,p,g)&&++y>O)return!1;return!0}}).call(K)});var ir=be(je=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=Re(),i=s.isMatch,e=s.computeScore,l=s.scoreSize,c=20,t=2.5,je.score=function(u,f,d){var v,h,m,b;return h=d.preparedQuery,v=d.allowErrors,v||i(u,h.core_lw,h.core_up)?(b=u.toLowerCase(),m=e(u,b,h),m=a(u,b,m,d),Math.ceil(m)):0},a=function(u,f,d,v){var h,m,b,w,S,R,p,g,E,O;if(d===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,g=v.pathSeparator,S=u.length-1;u[S]===g;)S--;if(b=u.lastIndexOf(g,S),p=S-b,R=1,O&&(R+=o(f,E.ext,b,S,2),d*=R),b===-1)return d;for(w=E.depth;b>-1&&w-- >0;)b=u.lastIndexOf(g,b-1);return m=b===-1?d:R*e(u.slice(b+1,S+1),f.slice(b+1,S+1),E),h=.5*c/(c+r(u,S+1,g)),h*m+(1-h)*d*l(0,t*p)},je.countDir=r=function(u,f,d){var v,h;if(f<1)return 0;for(v=0,h=-1;++h<f&&u[h]===d;);for(;++h<f;)if(u[h]===d)for(v++;++h<f&&u[h]===d;);return v},je.getExtension=n=function(u){var f;return f=u.lastIndexOf("."),f<0?"":u.substr(f+1)},o=function(u,f,d,v,h){var m,b,w,S;if(!f.length||(S=u.lastIndexOf(".",v),!(S>d)))return 0;for(w=f.length,m=v-S,m<w&&(w=m,m=f.length),S++,b=-1;++b<w&&u[S+b]===f[b];);return b===0&&h>0?.9*o(u,f,d,S-2,h-1):b/m}}).call(je)});var Lr=be((Lt,Ct)=>{(function(){var e,r,t,n,o,i,a,l;l=ir(),t=l.countDir,o=l.getExtension,Ct.exports=e=function(){function c(s,u){var f,d,v;if(v=u!=null?u:{},f=v.optCharRegEx,d=v.pathSeparator,!(s&&s.length))return null;this.query=s,this.query_lw=s.toLowerCase(),this.core=r(s,f),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=t(s,s.length,d),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return c}(),i=/[ _\-:\/\\]/g,r=function(c,s){return s==null&&(s=i),c.replace(s,"")},a=function(c){var s,u,f,d;for(u="",f=0,d=c.length;f<d;f++)s=c[f],u+=s.toUpperCase()[0];return u},n=function(c){var s,u,f;for(f=c.length,u=-1,s=[];++u<f;)s[c.charCodeAt(u)]=!0;return s}}).call(Lt)});var Ft=be((Pt,Ht)=>{(function(){var e,r,t,n,o;n=Re(),r=ir(),e=Lr(),t=function(i){return i.candidate},o=function(i,a){return a.score-i.score},Ht.exports=function(i,a,l){var c,s,u,f,d,v,h,m,b,w,S,R,p;for(m=[],u=l.key,d=l.maxResults,f=l.maxInners,S=l.usePathScoring,b=f!=null&&f>0?f:i.length+1,c=u!=null,h=S?r:n,R=0,p=i.length;R<p&&(s=i[R],w=c?s[u]:s,!(!!w&&(v=h.score(w,a,l),v>0&&(m.push({candidate:s,score:v}),!--b))));R++);return m.sort(o),i=m.map(t),d!=null&&(i=i.slice(0,d)),i}}).call(Pt)});var Rt=be(ar=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=Re(),t=s.isMatch,n=s.isWordStart,c=s.scoreConsecutives,l=s.scoreCharacter,a=s.scoreAcronyms,ar.match=o=function(u,f,d){var v,h,m,b,w,S;return v=d.allowErrors,w=d.preparedQuery,b=d.pathSeparator,v||t(u,w.core_lw,w.core_up)?(S=u.toLowerCase(),m=r(u,S,w),m.length===0||u.indexOf(b)>-1&&(h=e(u,S,w,b),m=i(m,h)),m):[]},ar.wrap=function(u,f,d){var v,h,m,b,w,S,R,p,g;if(d.wrap!=null&&(g=d.wrap,S=g.tagClass,p=g.tagOpen,R=g.tagClose),S==null&&(S="highlight"),p==null&&(p='<strong class="'+S+'">'),R==null&&(R="</strong>"),u===f)return p+u+R;if(m=o(u,f,d),m.length===0)return u;for(b="",v=-1,w=0;++v<m.length;){for(h=m[v],h>w&&(b+=u.substring(w,h),w=h);++v<m.length;)if(m[v]===h+1)h++;else{v--;break}h++,h>w&&(b+=p,b+=u.substring(w,h),b+=R,w=h)}return w<=u.length-1&&(b+=u.substring(w)),b},e=function(u,f,d,v){var h,m,b;for(b=u.length-1;u[b]===v;)b--;if(h=u.lastIndexOf(v,b),h===-1)return[];for(m=d.depth;m-- >0;)if(h=u.lastIndexOf(v,h-1),h===-1)return[];return h++,b++,r(u.slice(h,b),f.slice(h,b),d,h)},i=function(u,f){var d,v,h,m,b,w,S;if(b=u.length,w=f.length,w===0)return u.slice();if(b===0)return f.slice();for(h=-1,m=0,v=f[m],S=[];++h<b;){for(d=u[h];v<=d&&++m<w;)v<d&&S.push(v),v=f[m];S.push(d)}for(;m<w;)S.push(f[m++]);return S},r=function(u,f,d,v){var h,m,b,w,S,R,p,g,E,O,y,x,A,P,F,M,H,_,q,k,Z,V,oe,ue,ee,pe;for(v==null&&(v=0),_=d.query,q=d.query_lw,A=u.length,M=_.length,S=a(u,f,_,q).score,V=new Array(M),E=new Array(M),b=0,w=1,m=2,h=3,pe=new Array(A*M),H=-1,x=-1;++x<M;)V[x]=0,E[x]=0;for(y=-1;++y<A;)for(k=0,oe=0,g=0,ue=f[y],x=-1;++x<M;)O=0,R=0,Z=oe,q[x]===ue&&(ee=n(y,u,f),O=g>0?g:c(u,f,_,q,y,x,ee),R=Z+l(y,x,ee,S,O)),oe=V[x],g=E[x],k>oe?F=m:(k=oe,F=w),R>k?(k=R,F=h):O=0,V[x]=k,E[x]=O,pe[++H]=k>0?F:b;for(y=A-1,x=M-1,H=y*M+x,p=!0,P=[];p&&y>=0&&x>=0;)switch(pe[H]){case w:y--,H-=M;break;case m:x--,H--;break;case h:P.push(y+v),x--,y--,H-=M+1;break;default:p=!1}return P.reverse(),P}}).call(ar)});var Cr=be((jt,kt)=>{(function(){var e,r,t,n,o,i,a,l;t=Ft(),n=Rt(),l=Re(),i=ir(),e=Lr(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",kt.exports={filter:function(c,s,u){return u==null&&(u={}),(s!=null?s.length:void 0)&&(c!=null?c.length:void 0)?(u=o(u,s),t(c,s,u)):[]},score:function(c,s,u){return u==null&&(u={}),(c!=null?c.length:void 0)&&(s!=null?s.length:void 0)?(u=o(u,s),u.usePathScoring?i.score(c,s,u):l.score(c,s,u)):0},match:function(c,s,u){var f,d,v;return u==null&&(u={}),c?s?c===s?function(){v=[];for(var h=0,m=c.length;0<=m?h<m:h>m;0<=m?h++:h--)v.push(h);return v}.apply(this):(u=o(u,s),n.match(c,s,u)):[]:[]},wrap:function(c,s,u){return u==null&&(u={}),c?s?(u=o(u,s),n.wrap(c,s,u)):[]:[]},prepareQuery:function(c,s){return s==null&&(s={}),s=o(s,c),s.preparedQuery}},o=function(c,s){return c.allowErrors==null&&(c.allowErrors=!1),c.usePathScoring==null&&(c.usePathScoring=!0),c.useExtensionBonus==null&&(c.useExtensionBonus=!1),c.pathSeparator==null&&(c.pathSeparator=r),c.optCharRegEx==null&&(c.optCharRegEx=null),c.wrap==null&&(c.wrap=null),c.preparedQuery==null&&(c.preparedQuery=a&&a.query===s?a:a=new e(s,c)),c}}).call(jt)});var mr=function(e,r){return mr=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])},mr(e,r)};function U(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 Hr(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 l(u){try{s(n.next(u))}catch(f){a(f)}}function c(u){try{s(n.throw(u))}catch(f){a(f)}}function s(u){u.done?i(u.value):o(u.value).then(l,c)}s((n=n.apply(e,r||[])).next())})}function Fr(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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(u){return c([s,u])}}function c(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]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1],i=s;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(s);break}i[2]&&t.ops.pop(),t.trys.pop();continue}s=r.call(e,t)}catch(u){s=[6,u],o=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function X(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=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 j(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(l){a={error:l}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i}function W(e,r){for(var t=0,n=r.length,o=e.length;t<n;t++,o++)e[o]=r[t];return e}function Rr(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={},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(l,c){a=e[i](a),o(l,c,a.done,a.value)})}}function o(i,a,l,c){Promise.resolve(c).then(function(s){i({value:s,done:l})},a)}}function T(e){return typeof e=="function"}function Ue(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 We=Ue(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 a=this._parentage;if(Array.isArray(a))try{for(var l=X(a),c=l.next();!c.done;c=l.next()){var s=c.value;s.remove(this)}}catch(m){r={error:m}}finally{try{c&&!c.done&&(t=l.return)&&t.call(l)}finally{if(r)throw r.error}}else a==null||a.remove(this);var u=this.initialTeardown;if(T(u))try{u()}catch(m){i=m instanceof We?m.errors:[m]}var f=this._teardowns;if(f){this._teardowns=null;try{for(var d=X(f),v=d.next();!v.done;v=d.next()){var h=v.value;try{jr(h)}catch(m){i=i!=null?i:[],m instanceof We?i=W(W([],j(i)),j(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}}if(i)throw new We(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)jr(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 dr=N.EMPTY;function qe(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function jr(e){T(e)?e():e.unsubscribe()}var G={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ye={setTimeout:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=ye.delegate;return((t==null?void 0:t.setTimeout)||setTimeout).apply(void 0,W([],j(e)))},clearTimeout:function(e){var r=ye.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ve(e){ye.setTimeout(function(){var r=G.onUnhandledError;if(r)r(e);else throw e})}function B(){}var kr=function(){return hr("C",void 0,void 0)}();function zr(e){return hr("E",void 0,e)}function Ur(e){return hr("N",e,void 0)}function hr(e,r,t){return{kind:e,value:r,error:t}}var Ie=function(e){U(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,qe(t)&&t.add(n)):n.destination=sn,n}return r.create=function(t,n,o){return new vr(t,n,o)},r.prototype.next=function(t){this.isStopped?br(Ur(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?br(zr(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?br(kr,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},r.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},r}(N);var vr=function(e){U(r,e);function r(t,n,o){var i=e.call(this)||this,a;if(T(t))a=t;else if(t){a=t.next,n=t.error,o=t.complete;var l;i&&G.useDeprecatedNextContext?(l=Object.create(t),l.unsubscribe=function(){return i.unsubscribe()}):l=t,a=a==null?void 0:a.bind(l),n=n==null?void 0:n.bind(l),o=o==null?void 0:o.bind(l)}return i.destination={next:a?yr(a,i):B,error:yr(n||Wr,i),complete:o?yr(o,i):B},i}return r}(Ie);function yr(e,r){return G.useDeprecatedSynchronousErrorHandling?function(t){try{e(t)}catch(n){r.__syncError=n}}:e}function Wr(e){if(G.useDeprecatedSynchronousErrorHandling)throw e;Ve(e)}function br(e,r){var t=G.onStoppedNotification;t&&ye.setTimeout(function(){return t(e,r)})}var sn={closed:!0,next:B,error:Wr,complete:B};var ce=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function D(e){return e}function qr(e){return e.length===0?D:e.length===1?e[0]:function(t){return e.reduce(function(n,o){return o(n)},t)}}var I=function(){function e(r){r&&(this._subscribe=r)}return e.prototype.lift=function(r){var t=new e;return t.source=this,t.operator=r,t},e.prototype.subscribe=function(r,t,n){var o=un(r)?r:new vr(r,t,n),i=this,a=i.operator,l=i.source;if(o.add(a?a.call(o,l):l||G.useDeprecatedSynchronousErrorHandling?this._subscribe(o):this._trySubscribe(o)),G.useDeprecatedSynchronousErrorHandling)for(var c=o;c;){if(c.__syncError)throw c.__syncError;c=c.destination}return o},e.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(t){r.error(t)}},e.prototype.forEach=function(r,t){var n=this;return t=Vr(t),new t(function(o,i){var a;a=n.subscribe(function(l){try{r(l)}catch(c){i(c),a==null||a.unsubscribe()}},i,o)})},e.prototype._subscribe=function(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)},e.prototype[ce]=function(){return this},e.prototype.pipe=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.length?qr(r)(this):this},e.prototype.toPromise=function(r){var t=this;return r=Vr(r),new r(function(n,o){var i;t.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(r){return new e(r)},e}();function Vr(e){var r;return(r=e!=null?e:G.Promise)!==null&&r!==void 0?r:Promise}function cn(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function un(e){return e&&e instanceof Ie||cn(e)&&qe(e)}function ln(e){return T(e==null?void 0:e.lift)}function L(e){return function(r){if(ln(r))return r.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var C=function(e){U(r,e);function r(t,n,o,i,a){var l=e.call(this,t)||this;return l.onFinalize=a,l._next=n?function(c){try{n(c)}catch(s){this.destination.error(s)}}:e.prototype._next,l._error=o?function(c){try{o(c)}catch(s){this.destination.error(s)}this.unsubscribe()}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){this.destination.error(c)}this.unsubscribe()}:e.prototype._complete,l}return r.prototype.unsubscribe=function(){var t,n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))},r}(Ie);var xe={schedule:function(e){var r=requestAnimationFrame,t=cancelAnimationFrame,n=xe.delegate;n&&(r=n.requestAnimationFrame,t=n.cancelAnimationFrame);var o=r(function(i){t=void 0,e(i)});return new N(function(){return t==null?void 0:t(o)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=xe.delegate;return((t==null?void 0:t.requestAnimationFrame)||requestAnimationFrame).apply(void 0,W([],j(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=xe.delegate;return((t==null?void 0:t.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,W([],j(e)))},delegate:void 0};var $r=Ue(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var se=function(e){U(r,e);function r(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.prototype.lift=function(t){var n=new Nr(this,this);return n.operator=t,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new $r},r.prototype.next=function(t){var n,o;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var a=X(i),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(t)}}catch(s){n={error:s}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}},r.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var n=this.observers;n.length;)n.shift().error(t)}},r.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},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,l=o.observers;return i||a?dr:(l.push(t),new N(function(){return ae(n.observers,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 I;return t.source=this,t},r.create=function(t,n){return new Nr(t,n)},r}(I);var Nr=function(e){U(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:dr},r}(se);var Le={now:function(){return(Le.delegate||Date).now()},delegate:void 0};var Dr=function(e){U(r,e);function r(t,n,o){t===void 0&&(t=Infinity),n===void 0&&(n=Infinity),o===void 0&&(o=Le);var i=e.call(this)||this;return i.bufferSize=t,i.windowTime=n,i.timestampProvider=o,i.buffer=[],i.infiniteTimeWindow=!0,i.infiniteTimeWindow=n===Infinity,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,l=n.timestampProvider,c=n.windowTime;o||(i.push(t),!a&&i.push(l.now()+c)),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,l=a.slice(),c=0;c<l.length&&!t.closed;c+=i?1:2)t.next(l[c]);return this._checkFinalizedStatuses(t),n},r.prototype.trimBuffer=function(){var t=this,n=t.bufferSize,o=t.timestampProvider,i=t.buffer,a=t.infiniteTimeWindow,l=(a?1:2)*n;if(n<Infinity&&l<i.length&&i.splice(0,i.length-l),!a){for(var c=o.now(),s=0,u=1;u<i.length&&i[u]<=c;u+=2)s=u;s&&i.splice(0,s+1)}},r}(se);var Qr=function(e){U(r,e);function r(t,n){return e.call(this)||this}return r.prototype.schedule=function(t,n){return n===void 0&&(n=0),this},r}(N);var Ce={setInterval:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Ce.delegate;return((t==null?void 0:t.setInterval)||setInterval).apply(void 0,W([],j(e)))},clearInterval:function(e){var r=Ce.delegate;return((r==null?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0};var $e=function(e){U(r,e);function r(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.pending=!1,o}return r.prototype.schedule=function(t,n){if(n===void 0&&(n=0),this.closed)return this;this.state=t;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this},r.prototype.requestAsyncId=function(t,n,o){return o===void 0&&(o=0),Ce.setInterval(t.flush.bind(t,this),o)},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;Ce.clearInterval(n)},r.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(t,n){var o=!1,i;try{this.work(t)}catch(a){o=!0,i=!!a&&a||new Error(a)}if(o)return this.unsubscribe(),i},r.prototype.unsubscribe=function(){if(!this.closed){var t=this,n=t.id,o=t.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ae(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(Qr);var xr=function(){function e(r,t){t===void 0&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(r,t,n){return t===void 0&&(t=0),new this.schedulerActionCtor(this,r).schedule(n,t)},e.now=Le.now,e}();var Ne=function(e){U(r,e);function r(t,n){n===void 0&&(n=xr.now);var o=e.call(this,t,n)||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.prototype.flush=function(t){var n=this.actions;if(this.active){n.push(t);return}var o;this.active=!0;do if(o=t.execute(t.state,t.delay))break;while(t=n.shift());if(this.active=!1,o){for(;t=n.shift();)t.unsubscribe();throw o}},r}(xr);var gr=new Ne($e),Kr=gr;var Jr=function(e){U(r,e);function r(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o}return r.prototype.requestAsyncId=function(t,n,o){return o===void 0&&(o=0),o!==null&&o>0?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}($e);var Yr=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 n=this.actions,o,i=-1;t=t||n.shift();var a=n.length;do if(o=t.execute(t.state,t.delay))break;while(++i<a&&(t=n.shift()));if(this.active=!1,o){for(;++i<a&&(t=n.shift());)t.unsubscribe();throw o}},r}(Ne);var wr=new Yr(Jr);var ge=new I(function(e){return e.complete()});function we(e,r){return new I(function(t){var n=0;return r.schedule(function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())})})}var Se=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function De(e){return T(e==null?void 0:e.then)}function fn(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ee=fn();function Xr(e,r){return new I(function(t){var n=new N;return n.add(r.schedule(function(){var o=e[ce]();n.add(o.subscribe({next:function(i){n.add(r.schedule(function(){return t.next(i)}))},error:function(i){n.add(r.schedule(function(){return t.error(i)}))},complete:function(){n.add(r.schedule(function(){return t.complete()}))}}))})),n})}function Gr(e,r){return new I(function(t){return r.schedule(function(){return e.then(function(n){t.add(r.schedule(function(){t.next(n),t.add(r.schedule(function(){return t.complete()}))}))},function(n){t.add(r.schedule(function(){return t.error(n)}))})})})}function Br(e,r,t,n){n===void 0&&(n=0);var o=r.schedule(function(){try{t.call(this)}catch(i){e.error(i)}},n);return e.add(o),o}function Zr(e,r){return new I(function(t){var n;return t.add(r.schedule(function(){n=e[Ee](),Br(t,r,function(){var o=n.next(),i=o.value,a=o.done;a?t.complete():(t.next(i),this.schedule())})})),function(){return T(n==null?void 0:n.return)&&n.return()}})}function Qe(e){return T(e[ce])}function Ke(e){return T(e==null?void 0:e[Ee])}function et(e,r){if(!e)throw new Error("Iterable cannot be null");return new I(function(t){var n=new N;return n.add(r.schedule(function(){var o=e[Symbol.asyncIterator]();n.add(r.schedule(function(){var i=this;o.next().then(function(a){a.done?t.complete():(t.next(a.value),i.schedule())})}))})),n})}function Je(e){return Symbol.asyncIterator&&T(e==null?void 0:e[Symbol.asyncIterator])}function Ye(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, Array, AsyncIterable, or Iterable.")}function rt(e,r){if(e!=null){if(Qe(e))return Xr(e,r);if(Se(e))return we(e,r);if(De(e))return Gr(e,r);if(Je(e))return et(e,r);if(Ke(e))return Zr(e,r)}throw Ye(e)}function me(e,r){return r?rt(e,r):$(e)}function $(e){if(e instanceof I)return e;if(e!=null){if(Qe(e))return pn(e);if(Se(e))return Sr(e);if(De(e))return mn(e);if(Je(e))return hn(e);if(Ke(e))return dn(e)}throw Ye(e)}function pn(e){return new I(function(r){var t=e[ce]();if(T(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Sr(e){return new I(function(r){for(var t=0;t<e.length&&!r.closed;t++)r.next(e[t]);r.complete()})}function mn(e){return new I(function(r){e.then(function(t){r.closed||(r.next(t),r.complete())},function(t){return r.error(t)}).then(null,Ve)})}function dn(e){return new I(function(r){for(var t=e[Ee]();!r.closed;){var n=t.next(),o=n.done,i=n.value;o?r.complete():r.next(i)}return function(){return T(t==null?void 0:t.return)&&t.return()}})}function hn(e){return new I(function(r){vn(e,r).catch(function(t){return r.error(t)})})}function vn(e,r){var t,n,o,i;return Hr(this,void 0,void 0,function(){var a,l;return Fr(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),t=Rr(e),c.label=1;case 1:return[4,t.next()];case 2:if(n=c.sent(),!!n.done)return[3,4];a=n.value,r.next(a),c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=c.sent(),o={error:l},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=t.return)?[4,i.call(t)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function le(e,r){return r?we(e,r):Sr(e)}function Xe(e){return e&&T(e.schedule)}function Er(e){return e[e.length-1]}function Oe(e){return T(Er(e))?e.pop():void 0}function re(e){return Xe(Er(e))?e.pop():void 0}function tt(e,r){return typeof Er(e)=="number"?e.pop():r}function Te(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e);return t?we(e,t):le(e)}function nt(e){return e instanceof Date&&!isNaN(e)}function z(e,r){return L(function(t,n){var o=0;t.subscribe(new C(n,function(i){n.next(e.call(r,i,o++))}))})}var bn=Array.isArray;function yn(e,r){return bn(r)?e.apply(void 0,W([],j(r))):e(r)}function Ge(e){return z(function(r){return yn(e,r)})}function Or(e,r){return r===void 0&&(r=0),L(function(t,n){t.subscribe(new C(n,function(o){return n.add(e.schedule(function(){return n.next(o)},r))},function(o){return n.add(e.schedule(function(){return n.error(o)},r))},function(){return n.add(e.schedule(function(){return n.complete()},r))}))})}var xn=Array.isArray,gn=Object.getPrototypeOf,wn=Object.prototype,Sn=Object.keys;function ot(e){if(e.length===1){var r=e[0];if(xn(r))return{args:r,keys:null};if(En(r)){var t=Sn(r);return{args:t.map(function(n){return r[n]}),keys:t}}}return{args:e,keys:null}}function En(e){return e&&typeof e=="object"&&gn(e)===wn}function it(e,r){return e.reduce(function(t,n,o){return t[n]=r[o],t},{})}function Be(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e),n=Oe(e),o=ot(e),i=o.args,a=o.keys;if(i.length===0)return me([],t);var l=new I(On(i,t,a?function(c){return it(a,c)}:D));return n?l.pipe(Ge(n)):l}function On(e,r,t){return t===void 0&&(t=D),function(n){at(r,function(){for(var o=e.length,i=new Array(o),a=o,l=o,c=function(u){at(r,function(){var f=me(e[u],r),d=!1;f.subscribe(new C(n,function(v){i[u]=v,d||(d=!0,l--),l||n.next(t(i.slice()))},void 0,function(){--a||n.complete()}))},n)},s=0;s<o;s++)c(s)},n)}}function at(e,r,t){e?t.add(e.schedule(r)):r()}function st(e,r,t,n,o,i,a,l){var c=[],s=0,u=0,f=!1,d=function(){f&&!c.length&&!s&&r.complete()},v=function(m){return s<n?h(m):c.push(m)},h=function(m){i&&r.next(m),s++;var b=!1;$(t(m,u++)).subscribe(new C(r,function(w){o==null||o(w),i?v(w):r.next(w)},void 0,function(){b=!0},function(){if(b)try{s--;for(var w=function(){var S=c.shift();a?r.add(a.schedule(function(){return h(S)})):h(S)};c.length&&s<n;)w();d()}catch(S){r.error(S)}}))};return e.subscribe(new C(r,v,void 0,function(){f=!0,d()})),function(){l==null||l()}}function de(e,r,t){return t===void 0&&(t=Infinity),T(r)?de(function(n,o){return z(function(i,a){return r(n,i,o,a)})($(e(n,o)))},t):(typeof r=="number"&&(t=r),L(function(n,o){return st(n,o,e,t)}))}function Ze(e){return e===void 0&&(e=Infinity),de(D,e)}function ut(){return Ze(1)}function Pe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return ut()(le(e,re(e)))}function ct(e){return new I(function(r){$(e()).subscribe(r)})}var Tn=["addListener","removeListener"],An=["addEventListener","removeEventListener"],_n=["on","off"];function Q(e,r,t,n){if(T(t)&&(n=t,t=void 0),n)return Q(e,r,t).pipe(Ge(n));var o=j(Ln(e)?An.map(function(l){return function(c){return e[l](r,c,t)}}):Mn(e)?Tn.map(lt(e,r)):In(e)?_n.map(lt(e,r)):[],2),i=o[0],a=o[1];return!i&&Se(e)?de(function(l){return Q(l,r,t)})(le(e)):new I(function(l){if(!i)throw new TypeError("Invalid event target");var c=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return l.next(1<s.length?s:s[0])};return i(c),function(){return a(c)}})}function lt(e,r){return function(t){return function(n){return e[t](r,n)}}}function Mn(e){return T(e.addListener)&&T(e.removeListener)}function In(e){return T(e.on)&&T(e.off)}function Ln(e){return T(e.addEventListener)&&T(e.removeEventListener)}function ft(e,r,t){e===void 0&&(e=0),t===void 0&&(t=Kr);var n=-1;return r!=null&&(Xe(r)?t=r:n=r),new I(function(o){var i=nt(e)?+e-t.now():e;i<0&&(i=0);var a=0;return t.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}var Cn=Array.isArray;function er(e){return e.length===1&&Cn(e[0])?e[0]:e}function J(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e),n=tt(e,Infinity),o=er(e);return o.length?o.length===1?$(o[0]):Ze(n)(le(o,t)):ge}var pt=new I(B);function he(e,r){return L(function(t,n){var o=0;t.subscribe(new C(n,function(i){return e.call(r,i,o++)&&n.next(i)}))})}function mt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Oe(e),n=er(e);return n.length?new I(function(o){var i=n.map(function(){return[]}),a=n.map(function(){return!1});o.add(function(){i=a=null});for(var l=function(s){$(n[s]).subscribe(new C(o,function(u){if(i[s].push(u),i.every(function(d){return d.length})){var f=i.map(function(d){return d.shift()});o.next(t?t.apply(void 0,W([],j(f))):f),i.some(function(d,v){return!d.length&&a[v]})&&o.complete()}},void 0,function(){a[s]=!0,!i[s].length&&o.complete()}))},c=0;!o.closed&&c<n.length;c++)l(c);return function(){i=a=null}}):ge}function dt(e,r){return r===void 0&&(r=null),r=r!=null?r:e,L(function(t,n){var o=[],i=0;t.subscribe(new C(n,function(a){var l,c,s,u,f=null;i++%r==0&&o.push([]);try{for(var d=X(o),v=d.next();!v.done;v=d.next()){var h=v.value;h.push(a),e<=h.length&&(f=f!=null?f:[],f.push(h))}}catch(w){l={error:w}}finally{try{v&&!v.done&&(c=d.return)&&c.call(d)}finally{if(l)throw l.error}}if(f)try{for(var m=X(f),b=m.next();!b.done;b=m.next()){var h=b.value;ae(o,h),n.next(h)}}catch(w){s={error:w}}finally{try{b&&!b.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}},void 0,function(){var a,l;try{for(var c=X(o),s=c.next();!s.done;s=c.next()){var u=s.value;n.next(u)}}catch(f){a={error:f}}finally{try{s&&!s.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}n.complete()},function(){o=null}))})}function Tr(e){return e<=0?function(){return ge}:L(function(r,t){var n=0;r.subscribe(new C(t,function(o){++n<=e&&(t.next(o),e<=n&&t.complete())}))})}function ht(){return L(function(e,r){e.subscribe(new C(r,B))})}function vt(e){return L(function(r,t){r.subscribe(new C(t,function(){return t.next(e)}))})}function Ar(e,r){return r?function(t){return Pe(r.pipe(Tr(1),ht()),t.pipe(Ar(e)))}:de(function(t,n){return e(t,n).pipe(Tr(1),vt(t))})}function bt(e,r){r===void 0&&(r=gr);var t=ft(e,r);return Ar(function(){return t})}function Ae(e,r){return r===void 0&&(r=D),e=e!=null?e:Pn,L(function(t,n){var o,i=!0;t.subscribe(new C(n,function(a){var l=r(a);(i||!e(o,l))&&(i=!1,o=l,n.next(a))}))})}function Pn(e,r){return e===r}function yt(e,r){return Ae(function(t,n){return r?r(t[e],n[e]):t[e]===n[e]})}function rr(e){return L(function(r,t){r.subscribe(t),t.add(e)})}function xt(e){e=e||{};var r=e.connector,t=r===void 0?function(){return new se}:r,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,a=i===void 0?!0:i,l=e.resetOnRefCountZero,c=l===void 0?!0:l,s=null,u=null,f=0,d=!1,v=!1,h=function(){s=u=null,d=v=!1};return L(function(m,b){return f++,u=u!=null?u:t(),u.subscribe(b),s||(s=me(m).subscribe({next:function(w){return u.next(w)},error:function(w){v=!0;var S=u;a&&h(),S.error(w)},complete:function(){d=!0;var w=u;o&&h(),w.complete()}})),function(){if(f--,c&&!f&&!v&&!d){var w=s;h(),w==null||w.unsubscribe()}}})}function tr(e,r,t){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,r=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,a=!!e.refCount,t=e.scheduler):i=e!=null?e:Infinity,xt({connector:function(){return new Dr(i,r,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function _e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e);return L(function(n,o){(t?Pe(e,n,t):Pe(e,n)).subscribe(o)})}function te(e,r){return L(function(t,n){var o=null,i=0,a=!1,l=function(){return a&&!o&&n.complete()};t.subscribe(new C(n,function(c){o==null||o.unsubscribe();var s=0,u=i++;$(e(c,u)).subscribe(o=new C(n,function(f){return n.next(r?r(c,f,u,s++):f)},void 0,function(){o=null,l()}))},void 0,function(){a=!0,l()}))})}function nr(e,r,t){var n=T(e)||r||t?{next:e,error:r,complete:t}:e;return n?L(function(o,i){o.subscribe(new C(i,function(a){var l;(l=n.next)===null||l===void 0||l.call(n,a),i.next(a)},function(a){var l;(l=n.error)===null||l===void 0||l.call(n,a),i.error(a)},function(){var a;(a=n.complete)===null||a===void 0||a.call(n),i.complete()}))}):D}function He(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Oe(e);return L(function(n,o){for(var i=e.length,a=new Array(i),l=e.map(function(){return!1}),c=!1,s=function(f){$(e[f]).subscribe(new C(o,function(d){a[f]=d,!c&&!l[f]&&(l[f]=!0,(c=l.every(D))&&(l=null))},void 0,B))},u=0;u<i;u++)s(u);n.subscribe(new C(o,function(f){if(c){var d=W([f],j(a));o.next(t?t.apply(void 0,W([],j(d))):d)}}))})}function Hn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return L(function(t,n){mt.apply(void 0,W([t],j(e))).subscribe(n)})}function gt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Hn.apply(void 0,W([],j(e)))}function wt(e,r=document){return r.querySelector(e)||void 0}function Y(e,r=document){let t=wt(e,r);if(typeof t=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return t}function _r(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function St(e,r=document){return Array.from(r.querySelectorAll(e))}function Et(e){return J(Q(e,"focus"),Q(e,"blur")).pipe(z(({type:r})=>r==="focus"),_e(e===_r()))}var Fn=new se,Cc=ct(()=>Te(new ResizeObserver(e=>{for(let r of e)Fn.next(r)}))).pipe(te(e=>pt.pipe(_e(e)).pipe(rr(()=>e.disconnect()))),tr(1));function Ot(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Tt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function At(e){return{x:e.scrollLeft,y:e.scrollTop}}function Rn(e){return J(Q(e,"scroll"),Q(window,"resize")).pipe(z(()=>At(e)),_e(At(e)))}function _t(e,r=16){return Rn(e).pipe(z(({y:t})=>{let n=Ot(e),o=Tt(e);return t>=o.height-n.height-r}),Ae())}var Qc={drawer:Y("[data-md-toggle=drawer]"),search:Y("[data-md-toggle=search]")};function Mt(){return new URL(location.href)}function jn(e,r={credentials:"same-origin"}){return me(fetch(e.toString(),r)).pipe(he(t=>t.status===200))}function or(e,r){return jn(e,r).pipe(te(t=>t.json()),tr(1))}function Me(e,r=document){return Y(`[data-mdx-component=${e}]`,r)}function Mr(e,r=document){return St(`[data-mdx-component=${e}]`,r)}var kn=Y("#__config"),Fe=JSON.parse(kn.textContent);Fe.base=new URL(Fe.base,Mt()).toString().replace(/\/$/,"");function Ir(){return Fe}function fe(e,r){return typeof r!="undefined"?Fe.translations[e].replace("#",r.toString()):Fe.translations[e]}function It(e){let r=Et(e),t=J(Q(e,"keyup"),Q(e,"focus").pipe(bt(1))).pipe(z(()=>e.value),Ae());return r.pipe(he(n=>!n),He(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Be([t,r]).pipe(z(([n,o])=>({ref:e,value:n,focus:o})))}var Jt=Pr(Cr());function zt(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)zt(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)zt(n,o);return n}function Ut(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Wt(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",Ut(r))}}function qt(e){e.textContent=fe("search.result.placeholder")}function Vt(e,r){e.appendChild(r)}function $t(e){e.innerHTML=""}var Nt=Pr(Cr());function zn(e,r){return Nt.wrap(e.shortcode,r,{wrap:{tagOpen:"<b>",tagClose:"</b>"}})}function Dt(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,`:${zn(e,r)}:`)))}function Qt(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function Kt(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function Un(e,{index$:r,query$:t}){return Be([t.pipe(yt("value")),r.pipe(z(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(z(([{value:n},o])=>Jt.filter(o,n)),te(n=>r.pipe(z(({icons:o,emojis:i})=>({data:n.map(a=>{let l=a in o.data?o:i;return{shortcode:a,url:[l.base,l.data[a]].join("")}})})))))}function Yt(e,{index$:r,query$:t}){let n=new se,o=_t(e).pipe(he(Boolean)),i=Y(":scope > :first-child",e);n.pipe(Or(wr),He(t)).subscribe(([{data:l},{value:c}])=>{c?Wt(i,l.length):qt(i)});let a=Y(":scope > :last-child",e);return n.pipe(Or(wr),nr(()=>$t(a)),te(({data:l})=>J(Te(...l.slice(0,10)),Te(...l.slice(10)).pipe(dt(10),gt(o),te(([c])=>Te(...c))))),He(t)).subscribe(([l,{value:c}])=>{Vt(a,Dt(l,c))}),Un(e,{query$:t,index$:r}).pipe(nr(n),rr(()=>n.complete()),z(l=>ze({ref:e},l)))}function Xt(e){let r=Ir(),t=or(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),n=Me("iconsearch-query",e),o=Me("iconsearch-result",e),i=It(n);return J(i,Yt(o,{index$:t,query$:i}))}var sr;(function(e){e.PUBLIC="PUBLIC",e.PRIVATE="PRIVATE"})(sr||(sr={}));function Gt(e){let r=or("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 a of o.sponsors)a.type===sr.PUBLIC&&i.appendChild(Qt(a));i.appendChild(Kt(o.sponsors.filter(({type:a})=>a===sr.PRIVATE).length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(z(o=>ze({ref:e},o)))}function Bt(){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)}})}Bt();document$.pipe(te(()=>J(...Mr("iconsearch").map(e=>Xt(e)),...Mr("sponsorship").map(e=>Gt(e))))).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.55e80bbe.min.js.map