1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00
mkdocs-material/material/overrides/assets/javascripts/bundle.25e8c307.min.js
2021-03-17 21:12:51 +01:00

20 lines
49 KiB
JavaScript

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