mkdocs-material/material/overrides/assets/javascripts/bundle.76b3621f.min.js
2021-05-10 14:20:52 +02:00

20 lines
50 KiB
JavaScript

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