-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-1c73820e.js
54 lines (54 loc) · 35.5 KB
/
index-1c73820e.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
(function(){function a(a,b){var c=new Error('Cannot find module "'+a+'"'+(b?' from "'+b+'"':''));return c.code='MODULE_NOT_FOUND',c}function b(a){this.id=this.filename=a,this.loaded=!1,this.exports=void 0}function c(a){var b,c=0,d=a.length;for(b=0;b<d;b++){var e=a[b];'.'===e||('..'===e?c--:(a[c]=e,c++))}return 1==c?'/':(2<c&&0===a[c-1].length&&c--,a.length=c,a.join('/'))}function d(a,b){var d=b.split('/'),e='/'==a?['']:a.split('/');return c(e.concat(d))}function e(a){var b,c=a.lastIndexOf('.');return-1===c||-1!==(b=a.lastIndexOf('/'))&&b>c?null:a.substring(0,c)}function f(a){a=a.substring(1);var b=a.indexOf('/');'@'===a.charAt(1)&&(b=a.indexOf('/',b+1));var c=-1===b?a.length:b;return[a.substring(0,c),a.substring(c)]}function g(a,b){'/'===a.charAt(a.length-1)&&(a=a.slice(0,-1));var c=u[a];if(c)return c;var d,e,g=f(b),h=g[0],i=a.indexOf('/');0>i?(d=a,e=''):('@'===a.charAt(0)&&(i=a.indexOf('/',i+1)),d=a.substring(0,i),e=a.substring(i));var j=t[h+'/'+d];if(j){var k='/'+d+'$'+j;return e&&(k+=e),k}}function h(a,b){var f;if('.'===a.charAt(0))f=d(b,a);else if('/'===a.charAt(0))f=c(a.split('/'));else{for(var j=p.length,k=0;k<j;k++){var i=p[k]+a,l=h(i,b);if(l)return l}f=g(a,b)}if(f){var m;void 0!==(m=v[f])&&(!m&&(m='index'),f=d(f,m));var n=w[f];n&&(f=n);var q=o[f];if(void 0===q){var r;if(null===(r=e(f))||void 0===(q=o[r]))return;f=r}return[f,q]}}function j(c,d){if(!c)throw a('');var e=h(c,d);if(!e)throw a(c,d);var f=e[0],g=s[f];if(void 0!==g)return g;if(y.hasOwnProperty(f))return y[f];var i=e[1];return g=new b(f),s[f]=g,g.load(i),g}function i(a,b){var c=j(a,b);return c.exports}function k(a,b){var c=!b||!1!==b.wait;return c&&!q?r.push([a,b]):void i(a,'/')}function l(){q=!0;for(var a;a=r.length;){var b=r;r=[];for(var c,d=0;d<a;d++)c=b[d],k(c[0],c[1]);if(!q)break}}var m;if('undefined'!=typeof window){if(m=window,m.$_mod)return;m.global=m}var n,o={},p=[],q=!1,r=[],s={},t={},u={},v={},w={},x={},y={};b.cache=s;var z=b.prototype;z.load=function(b){var c=this.id;if(b&&b.constructor===Function){var d=c.lastIndexOf('/'),e=c.substring(0,d),f=x[e]||(x[e]={}),g=function(a){var b=f[a]||(f[a]=j(a,e));return b.exports};g.resolve=function(b){if(!b)throw a('');var c=h(b,e);if(!c)throw a(b,e);return c[0]},g.cache=s,g.runtime=n,this.exports={},b.call(this,g,this.exports,this,c,e)}else this.exports=b;this.loaded=!0};var A=0,B=function(){A--,A||l()};z.__runtime=n={def:function(a,b,c){var d=c&&c.globals;if(o[a]=b,d)for(var e=m||global,f=0;f<d.length;f++){var g=d[f],h=y[a]=j(a);e[g]=h.exports}},installed:function(a,b,c){t[a+'/'+b]=c},run:k,main:function(a,b){v[a]=b},remap:function(a,b){w[a]=b},builtin:function(a,b){u[a]=b},require:i,resolve:h,join:d,ready:l,searchPath:function(a){p.push(a)},loaderMetadata:function(a){z.__loaderMetadata=a},pending:function(){return q=!1,A++,{done:B}}},m?m.$_mod=n:module.exports=n})();
$_mod.def('/trooba-website$1.0.0/components/site-header/component-browser',function(a,b,c){var d={base:'headspace',fixed:'headspace--fixed',hidden:'headspace--hidden'},e=(a)=>()=>window.requestAnimationFrame(a);c.exports={onMount(){var a=window.pageYOffset,b=this.el.offsetHeight,c=e(()=>{var c=window.pageYOffset;if(0>=c)this.reset();else if(!this.paused&&c>b){var d=Math.abs(c-a)>=3,e=c>a,f=a<=b;(d||e&&f)&&(c>a?this.hide():this.fix())}a=c});window.addEventListener('scroll',c)},reset(){this.removeClass(d.fixed),this.removeClass(d.hidden),this.emit('reset')},fix(){this.addClass(d.fixed),this.removeClass(d.hidden),this.emit('fix')},hide(){this.addClass(d.hidden),this.emit('hide')},addClass(a){this.el.classList.add(a)},removeClass(a){this.el.classList.remove(a)},pause(){this.paused=!0},resume(){setTimeout(()=>window.requestAnimationFrame(()=>{this.paused=!1}))}}});
$_mod.remap("/marko$4.4.21/dist/components/index","/marko$4.4.21/dist/components/index-browser");
$_mod.remap("/marko$4.4.21/dist/components/init-components","/marko$4.4.21/dist/components/init-components-browser");
$_mod.installed("marko$4.4.21","warp10","1.3.5");
$_mod.def('/warp10$1.3.5/src/finalize',function(a,b,c){function d(a,b,c){for(var d=a,e=0;e<c;e++)d=d[b[e]];return d}function e(a){if('Date'===a.type)return new Date(a.value);throw new Error('Bad type')}var f=Array.isArray;c.exports=function(a){if(!a)return a;var b=a.$$;if(b){var c,g=a.o;if(b&&(c=b.length))for(var h=0;h<c;h++){var i,j=b[h],k=j.r;i=f(k)?d(g,k,k.length):e(k);var l=j.l,m=l.length-1;if(-1==m){g=a.o=i;break}else{var n=d(g,l,m);n[l[m]]=i}}return b.length=0,null==g?null:g}return a}});
$_mod.def("/warp10$1.3.5/finalize",function(a,b,c){c.exports=a("/warp10$1.3.5/src/finalize")});
$_mod.remap("/marko$4.4.21/dist/components/util","/marko$4.4.21/dist/components/util-browser");
$_mod.installed("marko$4.4.21","raptor-util","3.2.0");
$_mod.def("/raptor-util$3.2.0/extend",function(a,b,c){c.exports=function(a,b){if(a||(a={}),b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}});
$_mod.def('/marko$4.4.21/dist/components/util-browser',function(a,b){function c(a){var b=a._w;if(b)for(b.j_(),a._w=null;b=b.i_;)b.i_=null,b.j_()}function d(a){for(var b=a.firstChild;b;)1===b.nodeType&&(c(b),d(b)),b=b.nextSibling}function e(){return'b'+g.uid++}var f=a('/raptor-util$3.2.0/extend'),g=f(window.$MG,{uid:0});window.$MG=g;var h=g.uid++,i=document,j={},k={};['create','render','update','mount','destroy'].forEach(function(a){k[a]='on'+a[0].toUpperCase()+a.substring(1)}),b._M_=h,b.a_={},b._Q_=function(a,b){if(a){var c='string'==typeof a?(b||i).getElementById(a):a;if(c){for(var d=c._w;d;){var e=d.i_;if(e)d=e;else break}return d}}},b.b_=function(a,b,c,d){var e=a[k[b]];e!==void 0&&e.call(a,c,d),a.emit(b,c,d)},b.c_=c,b.d_=d,b._y_=function(){return e},b.e_=function(a,b){return a.getElementById(b)},b._i_=function(a,b,c){if(b){var d=a.id;if(c){var e=a._j_.Z_;if(!0===e){var f=a.h_,g=f.v_||(f.v_=[]);return void g.push(c)}return[b,d,c]}return[b,d]}},b._N_=function(a){var b=a._vprops;return void 0===b&&(b=a.getAttribute('data-marko'),b&&(b=JSON.parse(b)),a._vprops=b=b||j),b}});
$_mod.def('/marko$4.4.21/dist/components/bubble',function(a,b,c){c.exports=['click','dblclick','mousedown','mouseup','dragstart','drag','drop','dragend','keydown','keypress','keyup','select','change','submit','reset','input','attach','detach']});
$_mod.def('/marko$4.4.21/dist/components/event-delegation',function(a,b){function c(a,b){var c=j(a),d=c[b];return'string'==typeof d&&(d=d.split(' '),3==d.length&&(d[2]=parseInt(d[2],10))),d}function d(a,b,c){var d=b[0],e=b[1],f=b[2],g=i[e];if(g){var h=g[d];if(!h)throw Error('Method not found: '+d);null!=f&&'number'==typeof f&&(f=g.v_[f]),f?h.apply(g,f.concat(c,a)):h.call(g,c,a)}}function e(b){var e=b.body;a('/marko$4.4.21/dist/components/bubble').forEach(function(a){e.addEventListener(a,function(b){var e=!1,f=b.stopPropagation;b.stopPropagation=function(){f.call(b),e=!0};var g=b.target;if(g){var h;do if((h=c(g,'on'+a))&&(d(g,h,b),e))break;while((g=g.parentNode)&&g.getAttribute)}})})}function f(){}var g=a('/marko$4.4.21/dist/components/util-browser'),h=g._M_,i=g.a_,j=g._N_,k='$MED'+h;b.p_=f,b.m_=f,b._I_=d,b._J_=c,b._O_=function(a){a[k]||(a[k]=!0,e(a))}});
$_mod.def('/marko$4.4.21/dist/components/ComponentDef',function(a,b,c){'use strict';function d(a,b,c,d,e){this._j_=c,this._k_=d,this._l_=e,this.h_=a,this.id=b,this.s_=null,this._m_=null,this._n_=void 0,this._o_=!1,this._p_=!1,this._q_=0}var e=/\[\]$/,f=a('/marko$4.4.21/dist/components/util-browser'),g=f._i_,h=a('/raptor-util$3.2.0/extend');d.prototype={_r_:function(){this._k_.length=this._l_},_s_:function(a){var b=this._m_;b?b.push(a):this._m_=[a]},elId:function(a){var b=this.id;return null==a?b:'string'==typeof a&&e.test(a)?this._j_._t_(b,a):b+'-'+a},e:function(a,b,c,d){b&&(this._n_||(this._n_=[])).push([a,b,c,d])},_u_:function(){var a=this.id;return null===a?this._j_._u_(this.q_):a+'-c'+this._q_++},d:function(a,b){return g(this,a,b)}},d._v_=function(a,b,c,d){var e=a[0],f=b[a[1]],g=a[2],i=a[3],j=i.s,k=i.w,l=f&&d._w_(f,e);if(i.b&&(l.v_=i.b),l.C_=!0,j){var m=i.u;m&&m.forEach(function(a){j[a]=void 0}),l.state=j}l.y_=g,k&&h(l,k);var n=i.p,o=i.e;return o&&l._g_(o,n),l.A_=c,{h_:l,s_:i.r,_n_:i.d,_p_:1===i._}},c.exports=d});
$_mod.remap("/marko$4.4.21/dist/components/registry","/marko$4.4.21/dist/components/registry-browser");
$_mod.remap("/marko$4.4.21/dist/components/loadComponent","/marko$4.4.21/dist/components/loadComponent-dynamic");
$_mod.def("/marko$4.4.21/dist/components/loadComponent-dynamic",function(a,b,c){"use strict";c.exports=function(b){return a(b)}});
$_mod.def("/marko$4.4.21/dist/components/State",function(a,b,c){function d(a,b){var c=a.constructor.prototype;b in c||Object.defineProperty(c,b,{get:function(){return this._f_[b]},set:function(a){this.N_(b,a,!1)}})}function e(a){this.h_=a,this._f_={},this.D_=!1,this.S_=null,this.R_=null,this._H_=null,Object.seal(this)}var f=a("/raptor-util$3.2.0/extend");e.prototype={l_:function(){var a=this;a.D_=!1,a.S_=null,a.R_=null,a._H_=null},L_:function(a){var b,c=this,d=this._f_;for(b in d)b in a||c.N_(b,void 0,!1,!1);for(b in a)c.N_(b,a[b],!0,!1)},N_:function(a,b,c,e){var g=this._f_;if(c&&d(this,a),e){var h=this._H_||(this._H_={});h[a]=!0}else if(g[a]===b)return;this.D_||(this.D_=!0,this.S_=g,this._f_=g=f({},g),this.R_={},this.h_.M_()),this.R_[a]=b,void 0===b?delete g[a]:g[a]=b},toJSON:function(){return this._f_}},c.exports=e});
$_mod.def('/marko$4.4.21/dist/runtime/dom-insert',function(a,b,c){function d(a){if('string'==typeof a){var b=a;if(a=document.getElementById(b),!a)throw Error('Not found: '+b)}return a}function e(a){i(a),h(a)}var f=a('/raptor-util$3.2.0/extend'),g=a('/marko$4.4.21/dist/components/util-browser'),h=g.c_,i=g.d_;c.exports=function(a,b,c){f(a,{appendTo:function(a){a=d(a);var e=b(this,a);return a.appendChild(e),c(this,a)},prependTo:function(a){a=d(a);var e=b(this,a);return a.insertBefore(e,a.firstChild||null),c(this,a)},replace:function(a){a=d(a);var f=b(this,a);return e(a),a.parentNode.replaceChild(f,a),c(this,a)},replaceChildrenOf:function(a){a=d(a);for(var f,g=b(this,a),h=a.firstChild;h;)f=h.nextSibling,1==h.nodeType&&e(h),h=f;return a.innerHTML='',a.appendChild(g),c(this,a)},insertBefore:function(a){a=d(a);var e=b(this,a);return a.parentNode.insertBefore(e,a),c(this,a)},insertAfter:function(a){a=d(a);var e=b(this,a);e=e;var f=a.nextSibling,g=a.parentNode;return f?g.insertBefore(e,f):g.appendChild(e),c(this,a)}})}});
$_mod.def("/marko$4.4.21/dist/runtime/createOut",function(a,b,c){function d(a){return e(a)}var e;d.ah_=function(a){e=a},c.exports=d});
$_mod.remap("/marko$4.4.21/dist/components/beginComponent","/marko$4.4.21/dist/components/beginComponent-browser");
$_mod.def("/marko$4.4.21/dist/components/beginComponent-browser",function(a,b,c){var d=a("/marko$4.4.21/dist/components/ComponentDef");c.exports=function(a){var b=this._k_,c=b.length,e=b[c-1],f=a.id,g=new d(a,f,this.X_,b,c);return e._s_(g),this.X_.f_[f]=g,b.push(g),g}});
$_mod.def('/marko$4.4.21/dist/components/ComponentsContext',function(a,b,c){'use strict';function d(a){this.s_=[],this.n_=i,this.o_=i,this.f_={},this.q_=a,this.Y_=void 0,this._x_=null,this._u_=g._y_(a)}function e(a,b,c){var e,g;if(b===void 0)g=a.global._B_,void 0===g&&(a.global._B_=g=new d(a)),e=new f(null,null,g),!1!==c&&g.s_.push(e);else{g=b.X_;var h=b._k_;e=h[h.length-1]}this.X_=g,this.q_=a,this._k_=[e]}var f=a('/marko$4.4.21/dist/components/ComponentDef'),g=a('/marko$4.4.21/dist/components/util-browser'),h=a('/marko$4.4.21/dist/components/beginComponent-browser'),i={};d.prototype={_z_:function(a){var b=null;return this.s_.forEach(function(c){var d=c._m_;d&&(e._A_(d,a),b=null==b?d:b.concat(d))}),this.s_=null,this.q_.global._B_=void 0,b},_C_:function(a,b){var c=!0===b?this.o_:this.n_;c===i&&(!0===b?c=this.o_={}:c=this.n_={}),c[a]=!0},_t_:function(a,b){var c=this._x_||(this._x_={}),d=a+'-'+b,e=c[d];return e=null==e?c[d]=0:++c[d],d.slice(0,-2)+'['+e+']'}},e.prototype={_D_:function(a){return new e(a,this)},_E_:h,_u_:function(){var a=this._k_,b=a[a.length-1];return b._u_()}},c.exports=b=e,b.__=function(a){return a.data._B_||(a.data._B_=new e(a))}});
$_mod.installed("marko$4.4.21","events-light","1.0.5");
$_mod.main("/events-light$1.0.5","src/index");
$_mod.def('/events-light$1.0.5/src/index',function(a,b,c){function d(a){return'function'==typeof a}function e(a){if(!d(a))throw TypeError('Invalid listener')}function f(a,b,c){switch(c.length){case 1:b.call(a);break;case 2:b.call(a,c[1]);break;case 3:b.call(a,c[1],c[2]);break;default:b.apply(a,j.call(c,1));}}function g(a,b,c,f){e(c);var g=a.$e||(a.$e={}),h=g[b];return h?d(h)?g[b]=f?[c,h]:[h,c]:f?h.unshift(c):h.push(c):g[b]=c,a}function h(){this.$e=this.$e||{}}var j=Array.prototype.slice;h.EventEmitter=h,h.prototype={$e:null,emit:function(a){var b=arguments,c=this.$e;if(c){var e=c&&c[a];if(!e){if('error'===a){var g=b[1];if(!(g instanceof Error)){var h=g;g=new Error('Error: '+h),g.context=h}throw g}return!1}if(d(e))f(this,e,b);else{e=j.call(e);for(var k,l=0,i=e.length;l<i;l++)k=e[l],f(this,k,b)}return!0}},on:function(a,b){return g(this,a,b,!1)},prependListener:function(a,b){return g(this,a,b,!0)},once:function(a,b){function c(){this.removeListener(a,c),b&&(b.apply(this,arguments),b=null)}return e(b),this.on(a,c),this},removeListener:function(a,b){e(b);var c,f=this.$e;if(f&&(c=f[a]))if(d(c))c===b&&delete f[a];else for(var g=c.length-1;0<=g;g--)c[g]===b&&c.splice(g,1);return this},removeAllListeners:function(a){var b=this.$e;b&&delete b[a]},listenerCount:function(a){var b=this.$e,c=b&&b[a];return c?d(c)?1:c.length:0}},c.exports=h});
$_mod.def('/marko$4.4.21/dist/runtime/RenderResult',function(a,b,c){function d(a){var b=a._B_;if(!b)throw Error('No component');return b}function e(a){this.out=this.q_=a,this._B_=void 0}var f=a('/marko$4.4.21/dist/runtime/dom-insert');c.exports=e;var g=e.prototype={getComponent:function(){return this.getComponents()[0]},getComponents:function(a){if(void 0===this._B_)throw Error('Not added to DOM');var b=d(this),c=[];return b.forEach(function(b){var d=b.h_;(!a||a(d))&&c.push(d)}),c},afterInsert:function(a){var b=this.q_,c=b.global._B_;return this._B_=c?c._z_(a):null,this},getNode:function(a){return this.q_.ag_(a)},getOutput:function(){return this.q_.___()},toString:function(){return this.q_.toString()},document:'undefined'!=typeof document&&document};f(g,function(a,b){return a.getNode(b.ownerDocument)},function(a,b){return a.afterInsert(b.ownerDocument)})});
$_mod.installed("marko$4.4.21","listener-tracker","2.0.0");
$_mod.main("/listener-tracker$2.0.0","lib/listener-tracker");
$_mod.def("/listener-tracker$2.0.0/lib/listener-tracker",function(a,b,c){function d(a){return!a.once}function e(a){this._=a,this.a=[],this.b=null}function f(a){this._=a}function g(){this.d=[]}var h=0,j=1,k="destroy";e.prototype={c:function(a,b){var c=this._,d=this.a;this.a=d.filter(function(d){var e=d[h],f=d[j],g=d[2];if(b){if(g&&a(e,g))return c.removeListener(e,g),!1;}else if(a(e,f))return c.removeListener(e,g||f),!1;return!0});var e=this.b;if(!this.a.length&&e){var f=this,g=e.d;e.d=g.filter(function(a){return a!==f})}},on:function(a,b){return this._.on(a,b),this.a.push([a,b]),this},once:function(a,b){var c=this,d=function(){c.c(function(a,b){return d===b},!0),b.apply(this,arguments)};return this._.once(a,d),this.a.push([a,b,d]),this},removeListener:function(a,b){return"function"==typeof a&&(b=a,a=null),b&&a?this.c(function(c,d){return a===c&&b===d}):b?this.c(function(a,c){return b===c}):a&&this.removeAllListeners(a),this},removeAllListeners:function(a){var b=this.a,c=this._;if(a)this.c(function(b){return a===b});else{for(var d,e=b.length-1;0<=e;e--)d=b[e],c.removeListener(d[h],d[j]);this.a.length=0}return this}},f.prototype={on:function(a,b){return this._.addEventListener(a,b),this},once:function(a,b){var c=this,d=function(){c._.removeEventListener(a,d),b()};return this._.addEventListener(a,d),this},removeListener:function(a,b){return this._.removeEventListener(a,b),this}},g.prototype={subscribeTo:function(a,b){for(var c,g,h,j=!b||!1!==b.addDestroyListener,l=this.d,m=0,i=l.length;m<i;m++)if(h=l[m],h._===a){c=h;break}return c||(d(a)&&(g=new f(a)),c=new e(g||a),j&&!g&&c.once(k,function(){c.removeAllListeners();for(var b=l.length-1;0<=b;b--)if(l[b]._===a){l.splice(b,1);break}}),c.b=this,l.push(c)),c},removeAllListeners:function(a,b){var c,d=this.d;if(a)for(c=d.length-1;0<=c;c--){var e=d[c];if(e._===a){e.removeAllListeners(b),e.a.length||d.splice(c,1);break}}else{for(c=d.length-1;0<=c;c--)d[c].removeAllListeners();d.length=0}}},b=c.exports=g,b.wrap=function(a){var b,c;return d(a)&&(b=new f(a)),c=new e(b||a),b||a.once(k,function(){c.a.length=0}),c},b.createTracker=function(){return new g}});
$_mod.def("/raptor-util$3.2.0/copyProps",function(a,b,c){c.exports=function(a,b){Object.getOwnPropertyNames(a).forEach(function(c){var d=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(b,c,d)})}});
$_mod.def("/raptor-util$3.2.0/inherit",function(a,b,c){function d(a,b,c){var d=a.prototype,f=a.prototype=Object.create(b.prototype,{constructor:{value:a,writable:!0,configurable:!0}});return d&&!1!==c&&e(d,f),a.$super=b,a.prototype=f,a}var e=a("/raptor-util$3.2.0/copyProps");c.exports=d,d._inherit=d});
$_mod.remap("/marko$4.4.21/dist/runtime/nextTick","/marko$4.4.21/dist/runtime/nextTick-browser");
$_mod.def('/marko$4.4.21/dist/runtime/nextTick-browser',function(a,b,c){var d=window,e=d.setImmediate;if(!e)if(d.postMessage){var f=[],g='si';d.addEventListener('message',function(a){var b=a.source;if((b==d||!b&&a.data===g)&&(a.stopPropagation(),0<f.length)){var c=f.shift();c()}},!0),e=function(a){f.push(a),d.postMessage(g,'*')}}else e=setTimeout;c.exports=e});
$_mod.def('/marko$4.4.21/dist/components/update-manager',function(a,b){'use strict';function c(){if(h.length)try{e(h)}finally{f=!1}}function d(){f||(f=!0,i(c))}function e(a){for(var b,c=0;c<a.length;c++)b=a[c],b._h_();a.length=0}var f=!1,g=[],h=[],i=a('/marko$4.4.21/dist/runtime/nextTick-browser');b.P_=function(a){var b=g.length;if(b){var c=g[b-1];c.a__?c.a__.push(a):c.a__=[a]}else d(),h.push(a)},b.W_=function(a){var b={a__:null};g.push(b);try{a()}finally{try{b.a__&&e(b.a__)}finally{g.length--}}}});
$_mod.main("/marko$4.4.21/dist/morphdom","");
$_mod.def('/marko$4.4.21/dist/morphdom/specialElHandlers',function(a,b,c){function d(a,b,c){a[c]!==b[c]&&(a[c]=b[c],a[c]?a.setAttribute(c,''):a.removeAttribute(c,''))}c.exports={OPTION:function(a,b){d(a,b,'selected')},INPUT:function(a,b){d(a,b,'checked'),d(a,b,'disabled'),a.value!=b.value&&(a.value=b.value),b.af_('value')||a.removeAttribute('value')},TEXTAREA:function(a,b){var c=b.value;a.value!=c&&(a.value=c);var d=a.firstChild;if(d){var e=d.nodeValue;if(e==c||!c&&e==a.placeholder)return;d.nodeValue=c}},SELECT:function(a,b){if(!b.af_('multiple')){for(var c=0,d=b._a_;d;){if('OPTION'==d._b_){if(d.af_('selected')){break}c++}d=d._c_}a.selectedIndex=c}}}});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VNode',function(a,b,c){function d(){}var e=a('/marko$4.4.21/dist/morphdom/specialElHandlers');d.prototype={aL_:function(a){this.aY_=a,this.aZ_=0,this.aP_=null,this.b__=null,this.aM_=null,this.aN_=null},get _a_(){var a=this.aP_;if(a&&a.aO_){var b=a._a_;return b||a._c_}return a},get _c_(){var a=this.aN_;if(!a){var b=this.aM_;if(b&&b.aO_)return b._c_}else if(a.aO_){var c=a._a_;return c||a._c_}return a},aD_:function(a){if(this.aZ_++,!this.aV_){var b=this.b__;a.aM_=this,b?b.aN_=a:this.aP_=a,this.b__=a}else if(a.aH_){var c=a.ae_;this.aT_=(this.aT_||'')+c}else throw TypeError();return a},aU_:function(){return this.aZ_==this.aY_&&this.aM_?this.aM_.aU_():this},actualize:function(a){for(var b=this.ab_(a),c=this._a_;c;)b.appendChild(c.actualize(a)),c=c._c_;if(1===this.ac_){var d=e[this._b_];d!==void 0&&d(b,this)}return b}},c.exports=d});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VElement',function(a,b,c){function d(a,b){return!0===b?'':'object'==a?JSON.stringify(b):m(b)}function e(a,b,c,d){null===b?a.setAttribute(c,d):a.setAttributeNS(b,c,d)}function f(a,b,c){null===b?a.removeAttribute(c):a.removeAttributeNS(b,c)}function g(a){this.aP_=a.aP_,this.aM_=null,this.aN_=null,this.aQ_=a.aQ_,this.aR_=a.aR_,this.aS_=a.aS_,this._b_=a._b_,this.ax_=a.ax_,this.aT_=a.aT_,this.ad_=a.ad_}function h(a,b,c,d,e){this.aL_(c);var f,g;e&&(f=e.c),(this.ax_=d||0)&&d&n&&(g='http://www.w3.org/2000/svg'),this.aQ_=b||s,this.aR_=e||s,this.aS_=g,this._b_=a,this.aT_=null,this.ad_=f}var i=a('/marko$4.4.21/dist/runtime/vdom/VNode'),j=a('/raptor-util$3.2.0/inherit'),k='http://www.w3.org/1999/xlink',l='xlink:href',m=String,n=1,o=2,p=4,q=Object.defineProperty,r='href',s=Object.freeze({});h.prototype={am_:!0,ac_:1,aG_:function(){return new g(this)},e:function(a,b,c,d,e){var f=this.aD_(new h(a,b,c,d,e));return 0===c?this.aU_():f},ed:function(a,b,c,d,e){var f=this.aD_(h.aF_(a,b,c,d,e));return 0===c?this.aU_():f},n:function(a){return this.aD_(a.aG_()),this.aU_()},ab_:function(a){var b=this.aS_,c=this._b_,f=this.aQ_,g=this.ax_,h=void 0===b?a.createElement(c):a.createElementNS(b,c);for(var i in f){var j=f[i];if(!1!==j&&null!=j){var m=typeof j;'string'!=m&&(j=d(m,j)),i==l?e(h,k,r,j):h.setAttribute(i,j)}}return g&o&&(h.value=this.aT_),h._vattrs=f,h._vprops=this.aR_,h._vflags=g,h},af_:function(a){var b=this.aQ_[a];return null!=b&&!1!==b}},j(h,i);var t=g.prototype=h.prototype;['checked','selected','disabled'].forEach(function(a){q(t,a,{get:function(){var b=this.aQ_[a];return!1!==b&&null!=b}})}),q(t,'id',{get:function(){return this.aQ_.id}}),q(t,'value',{get:function(){var a=this.aT_;return null==a&&(a=this.aQ_.value),null==a?'':m(a)}}),q(t,'aV_',{get:function(){return this.ax_&o}}),h.aF_=function(a,b,c,d,e){var f=b&&b.xmlns;a=f?a:a.toUpperCase();var g=new h(a,b,c,d,e);return g.aS_=f,g},h.aW_=function(a){return a},h.aa_=function(a,b){var c,g,i=h.aW_,j=b.aQ_,m=a._vprops=b.aR_,n=a._vattrs;if(n){if(n==j)return;n=i(n,m,!0)}else{n={};var o=a.attributes;for(g=o.length-1;0<=g;--g){var q=o[g];if(!1!==q.specified&&(c=q.name,'data-marko'!==c)){var s=q.namespaceURI;s===k?n[l]=q.value:n[c]=q.value}}i(n,m,!1)}a._vattrs=j;var t,u,v=b.ax_;if(v&p&&(u=a._vflags)&p)return n['class']!==(t=j['class'])&&(a.className=t),n.id!==(t=j.id)&&(a.id=t),void(n.style!==(t=j.style)&&(a.style.cssText=t));j=i(j,m,!0);var w;for(c in j)if(t=j[c],w=null,c===l&&(w=k,c=r),null==t||!1===t)f(a,w,c);else if(n[c]!==t){var x=typeof t;'string'!=x&&(t=d(x,t)),e(a,w,c,t)}if(!j.id||!0===m.aX_)for(c in n)c in j||(c===l?a.removeAttributeNS(l,r):a.removeAttribute(c))},c.exports=h});
$_mod.def('/marko$4.4.21/dist/morphdom/index',function(a,b,c){'use strict';function d(a,b){return a.nodeName===b._b_}function e(a,b){return a.getElementById(b)}var f='undefined'==typeof document?void 0:document,g=a('/marko$4.4.21/dist/morphdom/specialElHandlers'),h=a('/marko$4.4.21/dist/runtime/vdom/VElement').aa_,j=1,k=3,l=8;c.exports=function(a,b,c,m,n,o,p,q){function r(a){p(a);for(var b=a.firstChild;b;)r(b),b=b.nextSibling}function s(a,b){var f=a.ab_(v);b&&b.appendChild(f),m(f,c);for(var h=a._a_;h;){var i=null,j=h.id;if(j){var k=e(v,j);k&&d(h,k)&&(t(k,h,!1),f.appendChild(i=k))}i||s(h,f),h=h._c_}if(1===a.ac_){var l=g[a.nodeName];l!==void 0&&l(f,a)}return f}function t(a,b,f){var i=b.id,m=b._b_;if(!1===f){i&&(x[i]=!0);var o=b.ad_;if(o!==void 0){var p=a._vprops;if(p!==void 0&&o===p.c)return}if(!0===n(a,i,c))return;h(a,b)}if(!0!==q(a,i,c)){if('TEXTAREA'!==m){var r,u,y,z,A,B=b._a_,C=a.firstChild;outer:for(;B;){for(z=B._c_,r=B.id;C;){y=C.nextSibling,u=C.id;var D=C.nodeType,E=void 0;if(D===B.ac_&&(D===j?(r?r!==u&&((A=e(v,r))?C.nextSibling===A?E=!1:(a.insertBefore(A,C),y=C.nextSibling,w.push(C),C=A):E=!1):u&&(E=!1),E=!1!==E&&!0===d(C,B),!0===E&&t(C,B,!1)):(D===k||D===l)&&(E=!0,C.nodeValue=B.ae_)),!0===E){B=z,C=y;continue outer}w.push(C),C=y}r&&(A=e(v,r))&&d(A,B)?(a.appendChild(A),t(A,B,!1)):s(B,a),B=z,C=y}for(;C;)w.push(C),C=C.nextSibling}var F=g[m];F&&F(a,b)}}var u,v=a.ownerDocument||f,w=[],x={},y=a,z=y.nodeType,A=b.ac_,B=!1,C=!0;if(z==j)A==j?!d(a,b)&&(u=b.ab_(v),B=!0,w.push(a)):(w.push(a),u=b.ab_(v),C=!1);else if(z==k||z==l){if(A==z)return y.nodeValue=b.ae_,y;w.push(a),u=s(b),C=!1}!0==C&&t(u||y,b,B),u&&a.parentNode&&a.parentNode.replaceChild(u,a);for(var D=0,i=w.length;D<i;D++){var E=w[D],F=E.id;if(!F||x[F]===void 0){var G=E.parentNode;if(null!==G||E===a){if(!1==o(E))continue;null!==G&&G.removeChild(E),r(E)}}}return u||y}});
$_mod.def('/marko$4.4.21/dist/components/Component',function(a,b,c){'use strict';function d(){return this}function e(a){a()}function f(a,b){for(var c=b._w;c;){var d=c.id,e=a.f_[d];if(e&&c.g_==e.h_.g_)break;var f=c.i_;if(f)c=f;else{c.j_();break}}}function g(a,b,c,d){c.push(a),d&&(c=d.concat(c));var e=w[a.k_],f=e[b];if(!f)throw Error('Method not found: '+b);f.apply(e,c)}function h(a,b,c){var d=a.id,e=null==b?d:d+'-'+b;return null!=c&&(e+='['+c+']'),e}function i(a,b,c){var d,e;for(var f in b)if(b.hasOwnProperty(f)){if(d=a['update_'+f],d)(e||(e=[])).push([f,d]);else return}return e&&(e.forEach(function(e){var f=e[0];d=e[1];var g=b[f],h=c[f];d.call(a,g,h)}),x(a,'update'),a.l_()),!0}function j(a,b,c){if(b!=c){if(null==b||null==c)return!0;var d=Object.keys(b),e=Object.keys(c),f=d.length;if(f!==e.length)return!0;for(var g,h=0;h<f;h++)if(g=d[h],b[g]!==c[g])return!0}return!1}function k(a){1===a.nodeType&&y(a)}function l(a){return H.m_(a)}function m(a,b,c){if(b){var d=c.n_[b];if(!0===d)return J;f(c,a)}}function n(a,b,c){if(b){var d=c.o_[b];if(!0===d)return J}}function o(a,b){H.p_(a,b.q_)}function p(a){B.call(this),this.id=a,this.el=null,this.r_=null,this.s_=null,this.t_=null,this.u_=null,this.v_=null,this.w_=null,this.k_=null,this.x_=null,this.y_=void 0,this.z_=!1,this.A_=void 0,this.B_=!1,this.C_=!1,this.D_=!1,this.E_=!1,this.F_=void 0}var q,r,s=a('/marko$4.4.21/dist/runtime/dom-insert'),t=a('/marko$4.4.21/dist/runtime/createOut'),u=a('/marko$4.4.21/dist/components/ComponentsContext').__,v=a('/marko$4.4.21/dist/components/util-browser'),w=v.a_,x=v.b_,y=v.c_,z=v.d_,A=v.e_,B=a('/events-light$1.0.5/src/index'),C=a('/marko$4.4.21/dist/runtime/RenderResult'),D=a('/listener-tracker$2.0.0/lib/listener-tracker'),E=a('/raptor-util$3.2.0/inherit'),F=a('/marko$4.4.21/dist/components/update-manager'),G=a('/marko$4.4.21/dist/morphdom/index'),H=a('/marko$4.4.21/dist/components/event-delegation'),I=Array.prototype.slice,J=!0,K={addDestroyListener:!1},L=B.prototype.emit;p.prototype=r={G_:!0,subscribeTo:function(a){if(!a)throw TypeError();var b=this.t_||(this.t_=new D),c=a.G_?q:K;return b.subscribeTo(a,c)},emit:function(a){var b,c=this.w_;if(c&&(b=c[a])){var d=b[0],e=b[1],f=I.call(arguments,1);g(this,d,f,e)}return this.listenerCount(a)?L.apply(this,arguments):void 0},getElId:function(a,b){return h(this,a,b)},getEl:function(a,b){var c=this.F_;return null==a?this.el||A(c,h(this)):A(c,h(this,a,b))},getEls:function(a){for(var b,c=[],d=0;b=this.getEl(a,d);)c.push(b),d++;return c},getComponent:function(a,b){return w[h(this,a,b)]},getComponents:function(a){for(var b,c=[],d=0;b=w[h(this,a,d)];)c.push(b),d++;return c},destroy:function(){if(!this.B_){var a=this.els;this.j_();var b=this.H_;b&&b.forEach(function(a){a.I_()}),a.forEach(function(a){z(a);var b=a.parentNode;b&&b.removeChild(a)})}},j_:function(){if(!this.B_){x(this,'destroy'),this.B_=!0,this.el=null,this.J_();var a=this.t_;a&&(a.removeAllListeners(),this.t_=null),delete w[this.id]}},isDestroyed:function(){return this.B_},get state(){return this.r_},set state(a){var b=this.r_;(b||a)&&(!b&&(b=this.r_=new this.K_(this)),b.L_(a||{}),b.D_&&this.M_(),!a&&(this.r_=null))},setState:function(a,b){var c=this.r_;if('object'==typeof a){var d=a;for(var e in d)d.hasOwnProperty(e)&&c.N_(e,d[e],!0)}else c.N_(a,b,!0)},setStateDirty:function(a,b){var c=this.r_;1==arguments.length&&(b=c[a]),c.N_(a,b,!0,!0)},replaceState:function(a){this.r_.L_(a)},get input(){return this.y_},set input(a){this.E_?this.y_=a:this.O_(a)},O_:function(a,b,c){b=b||this.onInput;var d,e=this.y_;return this.y_=void 0,b&&(this.E_=!0,d=b.call(this,a||{},c),this.E_=!1),a=this.x_=d||a,(this.D_=j(this,e,a))&&this.M_(),void 0===this.y_&&(this.y_=a),a},forceUpdate:function(){this.D_=!0,this.M_()},M_:function(){this.C_||F.P_(this)},update:function(){if(!0!==this.B_&&!1!==this.Q_){var a=this.y_,b=this.r_;!1===this.D_&&null!==b&&!0===b.D_&&i(this,b.R_,b.S_,b)&&(b.D_=!1),!0===this.Q_&&!1!==this.shouldUpdate(a,b)&&this.T_(!1),this.l_()}},get Q_(){return!0===this.D_||null!==this.r_&&!0===this.r_.D_},l_:function(){this.D_=!1,this.C_=!1,this.x_=null;var a=this.r_;a&&a.l_()},shouldUpdate:function(){return!0},b_:function(a,b,c){x(this,a,b,c)},T_:function(a){var b=this,c=b.U_;if(!c)throw TypeError();var e=b.V_({}),f=b.F_,g=this.x_||this.y_,h=this.A_;F.W_(function(){var i=c.createOut||t,j=i(h);j.sync(),j.F_=b.F_,!0===a&&(j.e=j.be=j.ee=j.t=j.h=j.w=j.write=j.html=d);var p=u(j),q=p.X_;q.Y_=b,q.Z_=a,c(g,j);var r=new C(j);if(!0!==a)for(var s,v,w=j.___(),x=w._a_;x;)v=x._b_,s='HTML'===v?document.documentElement:'BODY'===v?document.body:'HEAD'===v?document.head:e[x.id],s&&G(s,x,q,o,m,l,k,n),x=x._c_;r.afterInsert(f),j.emit('_d_')}),this.l_()},V_:function(a){var b,c,d=this.els;for(b=0,c=d.length;b<c;b++){var e=d[b];a[e.id]=e}var f=this.H_;if(f)for(b=0,c=f.length;b<c;b++){var g=f[b];g.V_(a)}return a},J_:function(){var a=this.u_;a&&(a.forEach(e),this.u_=null)},get _e_(){var a=this.r_;return a&&a._f_},_g_:function(a,b){var c=this.w_={};this.k_=b,a.forEach(function(a){var b=a[0],d=a[1],e=a[2];c[b]=[d,e]})}},r.elId=r.getElId,r._h_=r.update,r.I_=r.destroy,s(r,function(a){var b=this.els,c=b.length;if(1<c){var d=a.F_.createDocumentFragment();return b.forEach(function(a){d.appendChild(a)}),d}return b[0]},function(a){return a}),E(p,B),c.exports=p});
$_mod.def('/marko$4.4.21/dist/components/defineComponent',function(a,b,c){'use strict';var d=a('/marko$4.4.21/dist/components/State'),e=a('/marko$4.4.21/dist/components/Component'),f=a('/raptor-util$3.2.0/inherit');c.exports=function(a,b){function c(a){e.call(this,a)}function g(a){d.call(this,a)}if(a.G_)return a;var h,i=function(){},j=typeof a;if('function'==j)h=a.prototype;else if('object'==j)h=a;else throw TypeError();return i.prototype=h,h.G_||f(i,e),h=c.prototype=i.prototype,c.G_=!0,f(g,d),h.K_=g,h.U_=b,c}});
$_mod.def('/marko$4.4.21/dist/components/registry-browser',function(a,b){function c(a){var b=h[a];if(!b){if(b=g[a],b=b?b():e(a),!b)throw Error('Not found: '+a);h[a]=b}return b}function d(a){var b=i[a];return b?b:(b=c(a),b=b.Component||b,b.G_||(b=f(b,b.renderer)),b.prototype.g_=a,i[a]=b,b)}var e=a('/marko$4.4.21/dist/components/loadComponent-dynamic'),f=a('/marko$4.4.21/dist/components/defineComponent'),g={},h={},i={};b._P_=function(a,b){return b(),g[a]=b,delete h[a],delete i[a],a},b._w_=function(a,b){var c=d(a);return new c(b)}});
$_mod.def('/marko$4.4.21/dist/components/init-components-browser',function(a,b){'use strict';function c(a,b,c){var d=a[b];if(!d)throw Error('Method not found: '+b);d.apply(a,c)}function d(a,b,c){return a.addEventListener(b,c,!1),function(){a.removeEventListener(b,c)}}function e(a,b,e,f,g,h){var i=d(b,e,function(d){var e=[d,b];g&&(e=g.concat(e)),c(a,f,e)});h.push(i)}function f(a,b){var c=a.h_;if(c&&c.G_){c.l_(),c.F_=b;var d=a._o_,f=c.id,g=a.s_;if(g){var h,i=[];g.forEach(function(a){var d=f+'-'+a,e=n[d];if(e)e.i_=c,h?h.push(e):h=c.H_=[e];else{var g=o(b,d);g&&(g._w=c,i.push(g))}}),c.el=i[0],c.els=i,n[f]=c}else if(!d){var j=o(b,f);j._w=c,c.el=j,c.els=[j],n[f]=c}if(a._p_)return void c.T_(!0);d&&c.J_();var k=a._n_;if(k){var l=[];k.forEach(function(a){var d=a[0],f=a[1],g=o(b,a[2]),h=a[3];e(c,g,d,f,h,l)}),l.length&&(c.u_=l)}c.z_?c.b_('update'):(c.z_=!0,c.b_('mount'))}}function g(a,b){j._O_(b),b=b||l;for(var c,d=0,e=a.length;d<e;d++)c=a[d],c._m_&&g(c._m_,b),f(c,b)}function h(a,b){if(!a)return a=k.$components,a&&a.forEach&&a.forEach(function(a){h(a,b)}),void(k.$components={concat:h});j._O_(b||l),a=i(a);var c=a.w,d=a.t,e=window.$MG;e&&(r=i(e),delete window.$MG),c.forEach(function(a){a=p._v_(a,d,r,q),f(a,b||l)})}var i=a('/warp10$1.3.5/finalize'),j=a('/marko$4.4.21/dist/components/event-delegation'),k=window,l=document,m=a('/marko$4.4.21/dist/components/util-browser'),n=m.a_,o=m.e_,p=a('/marko$4.4.21/dist/components/ComponentDef'),q=a('/marko$4.4.21/dist/components/registry-browser'),r={};b._A_=g,b._L_=h});
$_mod.def("/marko$4.4.21/dist/components/boot",function(a){a("/marko$4.4.21/dist/components/init-components-browser")._L_()});
$_mod.run("/marko$4.4.21/dist/components/boot");
$_mod.def('/marko$4.4.21/dist/components/index-browser',function(a,b){var c=a('/marko$4.4.21/dist/components/util-browser'),d=a('/marko$4.4.21/dist/components/init-components-browser');a('/marko$4.4.21/dist/components/ComponentsContext')._A_=d._A_,b.getComponentForEl=c._Q_,b.init=d._L_});
$_mod.def('/trooba-website$1.0.0/components/site-search/component-browser',function(a,b,c){c.exports={focus(a){var b=this.getEl('input');a.target!=b&&b.focus()},grow(){this.el.classList.add('large'),this.getEl('input').value=''},shrink(){this.el.classList.remove('large')},search(a){var b=this.getEl('input').value;b=encodeURIComponent(b.replace(/\s+/g,' ')).replace(/\%20/g,'+'),window.location.href='https://google.com/search?q='+b+'+site:trooba.github.io',a.preventDefault()}}});
$_mod.installed("trooba-website$1.0.0","marko","4.4.21");
$_mod.remap("/marko$4.4.21/components","/marko$4.4.21/components-browser.marko");
$_mod.main("/marko$4.4.21/dist/components","");
$_mod.def("/marko$4.4.21/components-browser.marko",function(a,b,c){c.exports=a("/marko$4.4.21/dist/components/index-browser")});
$_mod.def('/trooba-website$1.0.0/components/doc-sidebar/component-browser',function(a,b,c){var d=a('/marko$4.4.21/components-browser.marko').getComponentForEl,e=[].forEach,f=[].filter,g=[].slice;c.exports={onMount(){this.preventOverscroll(),this.listenForHeaderChanges(),this.initScrollSpy()},initScrollSpy(){var a=[1,2,3,4,5,6].map((a)=>'.doc-content h'+a).join(','),b=g.call(document.querySelectorAll(a)),c=!1;b.length&&this.subscribeTo(window).on('scroll',()=>{c||(c=!0,setTimeout(()=>{var a,d,g=window.innerHeight/3;b.map((b)=>{var c=Math.abs,e=b.getBoundingClientRect().top;(null==d||e<g&&c(e)<c(d))&&(d=e,a=b)});var h=a.id,i=this.el.querySelector('a[href="#'+h+'"]')||this.el.querySelector('a.selected'),j=i,k=j.nextSibling;for(k&&e.call(k.querySelectorAll('a[href^=\\#]'),(b)=>b.classList.remove('selected'));j;){var l=j.closest('ul'),m=l&&f.call(l.querySelectorAll(':scope > li > a[href^=\\#]'),(b)=>b!==j);m&&m.forEach((b)=>b.classList.remove('selected')),j.classList.add('selected'),j=l&&l.previousSibling}this.scrollAnchorIntoView(i),c=!1},50))})},listenForHeaderChanges(){var a=d(document.querySelector('.site-header'));e.call(this.el.querySelectorAll('a[href^=\\#]'),(b)=>{this.subscribeTo(b).on('click',()=>{a.hide(),a.pause(),a.resume(),this.hide()})});var b=g.call(this.el.querySelectorAll('a.selected')).pop();b&&this.subscribeTo(b).on('click',(b)=>{window.scrollTo(0,0),a.reset(),b.preventDefault()}),this.subscribeTo(a).on('reset',()=>{this.el.classList.remove('no-header'),this.el.classList.remove('fixed'),setTimeout(()=>this.el.classList.remove('transition'),0)}).on('fix',()=>{this.el.classList.remove('no-header'),this.el.classList.add('fixed'),setTimeout(()=>this.el.classList.add('transition'),0)}).on('hide',()=>{this.el.classList.add('no-header'),this.el.classList.add('fixed'),setTimeout(()=>this.el.classList.add('transition'),0)}).on('toggle-menu',()=>{this.el.classList.contains('show')?(this.el.classList.remove('show'),document.body.style.overflow=''):this.el.classList.add('show')}),window.pageYOffset>a.el.offsetHeight&&(this.el.classList.add('no-header'),this.el.classList.add('fixed'))},preventOverscroll(){var a=this.getEl('sidebar');this.subscribeTo(document.body).on('wheel',(b)=>{var c=b.deltaY,d=a.scrollTop+c,e=0,f=a.scrollHeight-a.offsetHeight,g=d<=e,h=d>=f;(0>c&&g||0<c&&h)&&(b.target===a||a.contains(b.target))&&(g&&a.scrollTop!=e?a.scrollTop=e:h&&a.scrollTop!=f&&(a.scrollTop=f),b.preventDefault())})},scrollAnchorIntoView(a){for(var b,c=this.getEl('sidebar'),d=a.offsetTop,e=c.scrollTop,f=c.offsetHeight,g=e+f,h=a.closest('li');b=h.parentNode.closest('ul'),b&&b.offsetHeight<f;)h=b;var i=h.offsetTop,j=h.offsetHeight;i>e&&i+j<g||(c.scrollTop=i+j/2-f/2)},hide(){this.el.classList.remove('show'),document.body.style.overflow=''}}});
$_mod.def('/trooba-website$1.0.0/components/doc-sidebar/components/version-switcher/component-browser',function(a,b,c){c.exports={switchVersion(a){var b=a.target.value;'current'!==b&&(a.target.value='current',window.location.href=b)}}});