!function(e){function t(t){for(var n,o,i=t[0],a=t[1],s=0,u=[];se.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.events=t,this.hop=t.hasOwnProperty}return a(e,[{key:"on",value:function(e,t){if(!w(e)){this.hop.call(this.events,e)||(this.events[e]=[]);var n=this.events[e].push(t)-1;return{remove:function(){delete this.events[e][n]}}}for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this._c={},this._t=[],this._e=new S,this.disabled=!1,this.selector=t,this.settings=E(p,n),this.index=this.settings.startAt}return a(e,[{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),y(e)?this._c=_(this,e,this._e):h("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return w(e)?this._t=e:h("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=E(this.settings,e),e.hasOwnProperty("startAt")&&(this.index=e.startAt),this._e.emit("update"),this}},{key:"go",value:function(e){return this._c.Run.make(e),this}},{key:"move",value:function(e){return this._c.Transition.disable(),this._c.Move.make(e),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&(this.settings.autoplay=e),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(e,t){return this._e.on(e,t),this}},{key:"isType",value:function(e){return this.settings.type===e}},{key:"settings",get:function(){return this._o},set:function(e){y(e)?this._o=e:h("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(e){this._i=v(e)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(e){this._d=!!e}}]),e}();function O(){return(new Date).getTime()}function A(e,t,n){var r,o,i,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:O(),r=null,a=e.apply(o,i),r||(o=i=null)},u=function(){var u=O();s||!1!==n.leading||(s=u);var l=t-(u-s);return o=this,i=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),s=u,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(c,l)),a};return u.cancel=function(){clearTimeout(r),s=0,r=o=i=null},u}var k={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function C(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}return[]}function T(e){return!!(e&&e instanceof window.HTMLElement)}var F='[data-glide-el="track"]';var j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.listeners=t}return a(e,[{key:"on",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];m(e)&&(e=[e]);for(var o=0;o2&&void 0!==arguments[2]&&arguments[2];m(e)&&(e=[e]);for(var r=0;r":"<","<":">","=":"="};function I(e,t){return{modify:function(e){return t.Direction.is("rtl")?-e:e}}}function P(e,t){return{modify:function(e){var n=Math.floor(e/t.Sizes.slideWidth);return e+t.Gaps.value*n}}}function q(e,t){return{modify:function(e){return e+t.Clones.grow/2}}}function N(e,t){return{modify:function(n){if(e.settings.focusAt>=0){var r=t.Peek.value;return y(r)?n-r.before:n-r}return n}}}function B(e,t){return{modify:function(n){var r=t.Gaps.value,o=t.Sizes.width,i=e.settings.focusAt,a=t.Sizes.slideWidth;return"center"===i?n-(o/2-a/2):n-a*i-r*i}}}var R=!1;try{var z=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("testPassive",null,z),window.removeEventListener("testPassive",null,z)}catch(Z){}var H=R,V=["touchstart","mousedown"],W=["touchmove","mousemove"],U=["touchend","touchcancel","mouseup","mouseleave"],G=["mousedown","mousemove","mouseup","mouseleave"];var Y='[data-glide-el^="controls"]',J="".concat(Y,' [data-glide-dir*="<"]'),K="".concat(Y,' [data-glide-dir*=">"]');function X(e){return y(e)?(t=e,Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e[n],e}),{})):(h("Breakpoints option must be an object"),{});var t}var $={Html:function(e,t,n){var r={mount:function(){this.root=e.selector,this.track=this.root.querySelector(F),this.collectSlides()},collectSlides:function(){this.slides=Array.prototype.slice.call(this.wrapper.children).filter((function(t){return!t.classList.contains(e.settings.classes.slide.clone)}))}};return x(r,"root",{get:function(){return r._r},set:function(e){m(e)&&(e=document.querySelector(e)),T(e)?r._r=e:h("Root element must be a existing Html node")}}),x(r,"track",{get:function(){return r._t},set:function(e){T(e)?r._t=e:h("Could not find track element. Please use ".concat(F," attribute."))}}),x(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",(function(){r.collectSlides()})),r},Translate:function(e,t,n){var r={set:function(n){var r=function(e,t,n){var r=[P,q,N,B].concat(e._t,[I]);return{mutate:function(o){for(var i=0;i")||t.Run.isOffset("|>")?n+(r-o):(r+o)%n},getTravelDistance:function(){var n=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?-1*n:n}};return n.on("move",(function(o){if(!e.isType("carousel")||!t.Run.isOffset())return r.set(o.movement);t.Transition.after((function(){n.emit("translate.jump"),r.set(t.Sizes.slideWidth*e.index)}));var i=t.Sizes.slideWidth*t.Translate.getStartIndex();return r.set(i-t.Translate.getTravelDistance())})),n.on("destroy",(function(){r.remove()})),r},Transition:function(e,t,n){var r=!1,o={compose:function(t){var n=e.settings;return r?"".concat(t," 0ms ").concat(n.animationTimingFunc):"".concat(t," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(e)},remove:function(){t.Html.wrapper.style.transition=""},after:function(e){setTimeout((function(){e()}),this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return x(o,"duration",{get:function(){var n=e.settings;return e.isType("slider")&&t.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){o.set()})),n.on(["build.before","resize","translate.jump"],(function(){o.disable()})),n.on("run",(function(){o.enable()})),n.on("destroy",(function(){o.remove()})),o},Direction:function(e,t,n){var r={mount:function(){this.value=e.settings.direction},resolve:function(e){var t=e.slice(0,1);return this.is("rtl")?e.split(t).join(M[t]):e},is:function(e){return this.value===e},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return x(r,"value",{get:function(){return r._v},set:function(e){D.indexOf(e)>-1?r._v=e:h("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){r.removeClass()})),n.on("update",(function(){r.mount()})),n.on(["build.before","update"],(function(){r.addClass()})),r},Peek:function(e,t,n){var r={mount:function(){this.value=e.settings.peek}};return x(r,"value",{get:function(){return r._v},set:function(e){y(e)?(e.before=v(e.before),e.after=v(e.after)):e=v(e),r._v=e}}),x(r,"reductor",{get:function(){var t=r.value,n=e.settings.perView;return y(t)?t.before/n+t.after/n:2*t/n}}),n.on(["resize","update"],(function(){r.mount()})),r},Sizes:function(e,t,n){var r={setupSlides:function(){for(var e="".concat(this.slideWidth,"px"),n=t.Html.slides,r=0;r0&&void 0!==arguments[0]?arguments[0]:0;this.offset=r,n.emit("move",{movement:this.value}),t.Transition.after((function(){n.emit("move.after",{movement:e.value})}))}};return x(r,"offset",{get:function(){return r._o},set:function(e){r._o=b(e)?0:v(e)}}),x(r,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),x(r,"value",{get:function(){var e=this.offset,n=this.translate;return t.Direction.is("rtl")?n+e:n-e}}),n.on(["build.before","run"],(function(){r.make()})),r},Clones:function(e,t,n){var r={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=t.Html.slides,o=e.settings,i=o.perView,a=o.classes,s=o.cloningRatio;if(0!==r.length)for(var c=+!!e.settings.peek,u=i+c+Math.round(i/2),l=r.slice(0,u).reverse(),d=r.slice(-1*u),f=0;fn?void(e.index=n):void(e.index=o);if(">"!==i||">"!==o)if("<"!==i||"<"!==o){if("|"===i&&(a=e.settings.perView||1),">"===i||"|"===i&&">"===o){var s=function(t){var n=e.index;if(e.isType("carousel"))return n+t;return n+(t-n%t)}(a);return s>n&&(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t<=o)return t;if(e.isType("carousel"))return t-(o+1);if(e.settings.rewind)return r.isBound()&&!r.isEnd()?o:0;if(r.isBound())return o;return Math.floor(o/n)*n}(s,a))}if("<"===i||"|"===i&&"<"===o){var c=function(t){var n=e.index;if(e.isType("carousel"))return n-t;return(Math.ceil(n/t)-1)*t}(a);return c<0&&(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t>=0)return t;if(e.isType("carousel"))return t+(o+1);if(e.settings.rewind)return r.isBound()&&r.isStart()?o:Math.floor(o/n)*n;return 0}(c,a))}h("Invalid direction pattern [".concat(i).concat(o,"] has been used"))}else e.index=0;else e.index=n},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return e?!!this._o&&("|>"===e?"|"===this.move.direction&&">"===this.move.steps:"|<"===e?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===e):this._o},isBound:function(){return e.isType("slider")&&"center"!==e.settings.focusAt&&e.settings.bound}};return x(r,"move",{get:function(){return this._m},set:function(e){var t=e.substr(1);this._m={direction:e.substr(0,1),steps:t?v(t)?v(t):t:0}}}),x(r,"length",{get:function(){var n=e.settings,r=t.Html.slides.length;return this.isBound()?r-1-(v(n.perView)-1)+v(n.focusAt):r-1}}),x(r,"offset",{get:function(){return this._o}}),r},Swipe:function(e,t,n){var r=new j,o=0,i=0,a=0,s=!1,c=!!H&&{passive:!0},u={mount:function(){this.bindSwipeStart()},start:function(t){if(!s&&!e.disabled){this.disable();var r=this.touches(t);o=null,i=v(r.pageX),a=v(r.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(r){if(!e.disabled){var s=e.settings,c=s.touchAngle,u=s.touchRatio,l=s.classes,d=this.touches(r),f=v(d.pageX)-i,p=v(d.pageY)-a,h=Math.abs(f<<2),m=Math.abs(p<<2),y=Math.sqrt(h+m),g=Math.sqrt(m);if(!(180*(o=Math.asin(g/y))/Math.PId&&p"))):t.Move.make(),t.Html.root.classList.remove(u.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,o=e.settings,i=o.swipeThreshold,a=o.dragThreshold;i&&r.on(V[0],t.Html.wrapper,(function(e){n.start(e)}),c),a&&r.on(V[1],t.Html.wrapper,(function(e){n.start(e)}),c)},unbindSwipeStart:function(){r.off(V[0],t.Html.wrapper,c),r.off(V[1],t.Html.wrapper,c)},bindSwipeMove:function(){var n=this;r.on(W,t.Html.wrapper,A((function(e){n.move(e)}),e.settings.throttle),c)},unbindSwipeMove:function(){r.off(W,t.Html.wrapper,c)},bindSwipeEnd:function(){var e=this;r.on(U,t.Html.wrapper,(function(t){e.end(t)}))},unbindSwipeEnd:function(){r.off(U,t.Html.wrapper)},touches:function(e){return G.indexOf(e.type)>-1?e:e.touches[0]||e.changedTouches[0]},threshold:function(t){var n=e.settings;return G.indexOf(t.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return s=!1,t.Transition.enable(),this},disable:function(){return s=!0,t.Transition.disable(),this}};return n.on("build.after",(function(){t.Html.root.classList.add(e.settings.classes.swipeable)})),n.on("destroy",(function(){u.unbindSwipeStart(),u.unbindSwipeMove(),u.unbindSwipeEnd(),r.destroy()})),u},Images:function(e,t,n){var r=new j,o={mount:function(){this.bind()},bind:function(){r.on("dragstart",t.Html.wrapper,this.dragstart)},unbind:function(){r.off("dragstart",t.Html.wrapper)},dragstart:function(e){e.preventDefault()}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Anchors:function(e,t,n){var r=new j,o=!1,i=!1,a={mount:function(){this._a=t.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){r.on("click",t.Html.wrapper,this.click)},unbind:function(){r.off("click",t.Html.wrapper)},click:function(e){i&&(e.stopPropagation(),e.preventDefault())},detach:function(){if(i=!0,!o){for(var e=0;e"))),37===n.keyCode&&t.Run.make(t.Direction.resolve("".concat(r,"<")))}};return n.on(["destroy","update"],(function(){o.unbind()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Autoplay:function(e,t,n){var r=new j,o={mount:function(){this.enable(),this.start(),e.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var r=this;this._e&&(this.enable(),e.settings.autoplay&&b(this._i)&&(this._i=setInterval((function(){r.stop(),t.Run.make(">"),r.start(),n.emit("autoplay")}),this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var e=this;r.on("mouseover",t.Html.root,(function(){e._e&&e.stop()})),r.on("mouseout",t.Html.root,(function(){e._e&&e.start()}))},unbind:function(){r.off(["mouseover","mouseout"],t.Html.root)}};return x(o,"time",{get:function(){var n=t.Html.slides[e.index].getAttribute("data-glide-autoplay");return v(n||e.settings.autoplay)}}),n.on(["destroy","update"],(function(){o.unbind()})),n.on(["run.before","swipe.start","update"],(function(){o.stop()})),n.on(["pause","destroy"],(function(){o.disable(),o.stop()})),n.on(["run.after","swipe.end"],(function(){o.start()})),n.on(["play"],(function(){o.enable(),o.start()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Breakpoints:function(e,t,n){var r=new j,o=e.settings,i=X(o.breakpoints),a=Object.assign({},o),s={match:function(e){if("undefined"!==typeof window.matchMedia)for(var t in e)if(e.hasOwnProperty(t)&&window.matchMedia("(max-width: ".concat(t,"px)")).matches)return e[t];return a}};return Object.assign(o,s.match(i)),r.on("resize",window,A((function(){e.settings=E(o,s.match(i))}),e.settings.throttle)),n.on("update",(function(){i=X(i),a=Object.assign({},o)})),n.on("destroy",(function(){r.off("resize",window)})),s}},Q=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(n,e);var t=l(n);function n(){return o(this,n),t.apply(this,arguments)}return a(n,[{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f(s(n.prototype),"mount",this).call(this,Object.assign({},$,e))}}]),n}(L)},function(e,t,n){var r=n(8).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(F){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new k(r||[]);return a(i,"_invoke",{value:S(e,n,s)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(F){return{type:"throw",arg:F}}}t.wrap=f;var h={};function v(){}function m(){}function y(){}var g={};d(g,c,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(C([])));w&&w!==n&&i.call(w,c)&&(g=w);var _=y.prototype=v.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,s,c){var u=p(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function S(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=p(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function C(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t){var n=document.querySelector(e),r=null===n||void 0===n?void 0:n.getBoundingClientRect().left,o=null===n||void 0===n?void 0:n.getAttribute("data-middle-point"),i=window.innerWidth/2,a=parseInt(r,10)-parseInt(i,10)+parseInt(o,10);t&&t.scrollBy({left:a,behavior:"smooth"})}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"initTopicDirectory",(function(){return se}));var r=n(2),o=n.n(r),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}"function"===typeof SuppressedError&&SuppressedError;var l,d="KEYS",f="VALUES",p="",h=function(){function e(e,t){var n=e._tree,r=Array.from(n.keys());this.set=e,this._type=t,this._path=r.length>0?[{node:n,keys:r}]:[]}return e.prototype.next=function(){var e=this.dive();return this.backtrack(),e},e.prototype.dive=function(){if(0===this._path.length)return{done:!0,value:void 0};var e=v(this._path),t=e.node,n=e.keys;if(v(n)===p)return{done:!1,value:this.result()};var r=t.get(v(n));return this._path.push({node:r,keys:Array.from(r.keys())}),this.dive()},e.prototype.backtrack=function(){if(0!==this._path.length){var e=v(this._path).keys;e.pop(),e.length>0||(this._path.pop(),this.backtrack())}},e.prototype.key=function(){return this.set._prefix+this._path.map((function(e){var t=e.keys;return v(t)})).filter((function(e){return e!==p})).join("")},e.prototype.value=function(){return v(this._path).node.get(p)},e.prototype.result=function(){switch(this._type){case f:return this.value();case d:return this.key();default:return[this.key(),this.value()]}},e.prototype[Symbol.iterator]=function(){return this},e}(),v=function(e){return e[e.length-1]},m=function(e,t,n,r,o,i,a,s){var u,l,d=i*a;try{e:for(var f=c(e.keys()),h=f.next();!h.done;h=f.next()){var v=h.value;if(v===p){var y=o[d-1];y<=n&&r.set(s,[e.get(v),y])}else{for(var g=i,b=0;bn)continue e}m(e.get(v),t,n,r,o,g,a,s+v)}}}catch(j){u={error:j}}finally{try{h&&!h.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}},y=function(){function e(e,t){void 0===e&&(e=new Map),void 0===t&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return e.prototype.atPrefix=function(t){var n,r;if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");var o=u(g(this._tree,t.slice(this._prefix.length)),2),i=o[0],a=o[1];if(void 0===i){var s=u(S(a),2),l=s[0],d=s[1];try{for(var f=c(l.keys()),h=f.next();!h.done;h=f.next()){var v=h.value;if(v!==p&&v.startsWith(d)){var m=new Map;return m.set(v.slice(d.length),l.get(v)),new e(m,t)}}}catch(y){n={error:y}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}return new e(i,t)},e.prototype.clear=function(){this._size=void 0,this._tree.clear()},e.prototype.delete=function(e){return this._size=void 0,_(this._tree,e)},e.prototype.entries=function(){return new h(this,"ENTRIES")},e.prototype.forEach=function(e){var t,n;try{for(var r=c(this),o=r.next();!o.done;o=r.next()){var i=u(o.value,2);e(i[0],i[1],this)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.fuzzyGet=function(e,t){return function(e,t,n){var r=new Map;if(void 0===t)return r;for(var o=t.length+1,i=o+n,a=new Uint8Array(i*o).fill(n+1),s=0;s0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new y,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},e.prototype.discard=function(e){var t=this,n=this._idToShortId.get(e);if(null==n)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEach((function(e,r){t.removeFieldLength(n,r,t._documentCount,e)})),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},e.prototype.maybeAutoVacuum=function(){if(!1!==this._options.autoVacuum){var e=this._options.autoVacuum,t=e.minDirtFactor,n=e.minDirtCount,r=e.batchSize,o=e.batchWait;this.conditionalVacuum({batchSize:r,batchWait:o},{minDirtCount:n,minDirtFactor:t})}},e.prototype.discardAll=function(e){var t,n,r=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var o=c(e),i=o.next();!i.done;i=o.next()){var a=i.value;this.discard(a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=r}this.maybeAutoVacuum()},e.prototype.replace=function(e){var t=this._options,n=t.idField,r=(0,t.extractField)(e,n);this.discard(r),this.add(e)},e.prototype.vacuum=function(e){return void 0===e&&(e={}),this.conditionalVacuum(e)},e.prototype.conditionalVacuum=function(e,t){var n=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,null!=this._enqueuedVacuum||(this._enqueuedVacuum=this._currentVacuum.then((function(){var t=n._enqueuedVacuumConditions;return n._enqueuedVacuumConditions=I,n.performVacuuming(e,t)}))),this._enqueuedVacuum):!1===this.vacuumConditionsMet(t)?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},e.prototype.performVacuuming=function(e,t){return a(this,void 0,void 0,(function(){var n,r,o,i,a,l,d,f,p,h,v,m,y,g,b,w,_,x,E,S,L,O,A,k,C;return s(this,(function(s){switch(s.label){case 0:if(n=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];r=e.batchSize||M.batchSize,o=e.batchWait||M.batchWait,i=1,s.label=1;case 1:s.trys.push([1,7,8,9]),a=c(this._index),l=a.next(),s.label=2;case 2:if(l.done)return[3,6];d=u(l.value,2),f=d[0],p=d[1];try{for(O=void 0,h=c(p),v=h.next();!v.done;v=h.next()){m=u(v.value,2),y=m[0],g=m[1];try{for(k=void 0,b=c(g),w=b.next();!w.done;w=b.next())_=u(w.value,1),x=_[0],this._documentIds.has(x)||(g.size<=1?p.delete(y):g.delete(x))}catch(T){k={error:T}}finally{try{w&&!w.done&&(C=b.return)&&C.call(b)}finally{if(k)throw k.error}}}}catch(F){O={error:F}}finally{try{v&&!v.done&&(A=h.return)&&A.call(h)}finally{if(O)throw O.error}}return 0===this._index.get(f).size&&this._index.delete(f),i%r!==0?[3,4]:[4,new Promise((function(e){return setTimeout(e,o)}))];case 3:s.sent(),s.label=4;case 4:i+=1,s.label=5;case 5:return l=a.next(),[3,2];case 6:return[3,9];case 7:return E=s.sent(),S={error:E},[3,9];case 8:try{l&&!l.done&&(L=a.return)&&L.call(a)}finally{if(S)throw S.error}return[7];case 9:this._dirtCount-=n,s.label=10;case 10:return[4,null];case 11:return s.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}}))}))},e.prototype.vacuumConditionsMet=function(e){if(null==e)return!0;var t=e.minDirtCount,n=e.minDirtFactor;return t=t||P.minDirtCount,n=n||P.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n},Object.defineProperty(e.prototype,"isVacuuming",{get:function(){return null!=this._currentVacuum},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),e.prototype.has=function(e){return this._idToShortId.has(e)},e.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(null!=t)return this._storedFields.get(t)},e.prototype.search=function(t,n){var r,o;void 0===n&&(n={});var i=this.executeQuery(t,n),a=[];try{for(var s=c(i),l=s.next();!l.done;l=s.next()){var d=u(l.value,2),f=d[0],p=d[1],h=p.score,v=p.terms,m=p.match,y=v.length||1,g={id:this._documentIds.get(f),score:h*y,terms:Object.keys(m),queryTerms:v,match:m};Object.assign(g,this._storedFields.get(f)),(null==n.filter||n.filter(g))&&a.push(g)}}catch(b){r={error:b}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return t===e.wildcard&&null==n.boostDocument&&null==this._options.searchOptions.boostDocument||a.sort(B),a},e.prototype.autoSuggest=function(e,t){var n,r,o,a;void 0===t&&(t={}),t=i(i({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var l=c(this.search(e,t)),d=l.next();!d.done;d=l.next()){var f=d.value,p=f.score,h=(_=f.terms).join(" ");null!=(b=s.get(h))?(b.score+=p,b.count+=1):s.set(h,{score:p,terms:_,count:1})}}catch(E){n={error:E}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}var v=[];try{for(var m=c(s),y=m.next();!y.done;y=m.next()){var g=u(y.value,2),b=g[0],w=g[1],_=(p=w.score,w.terms),x=w.count;v.push({suggestion:b,terms:_,score:p/x})}}catch(S){o={error:S}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}return v.sort(B),v},Object.defineProperty(e.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),e.loadJSON=function(e,t){if(null==t)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},e.getDefault=function(e){if(F.hasOwnProperty(e))return A(F,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},e.loadJS=function(t,n){var r,o,i,a,s,l,d=t.index,f=t.documentCount,p=t.nextId,h=t.documentIds,v=t.fieldIds,m=t.fieldLength,g=t.averageFieldLength,b=t.storedFields,w=t.dirtCount,_=t.serializationVersion;if(1!==_&&2!==_)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var x=new e(n);x._documentCount=f,x._nextId=p,x._documentIds=z(h),x._idToShortId=new Map,x._fieldIds=v,x._fieldLength=z(m),x._avgFieldLength=g,x._storedFields=z(b),x._dirtCount=w||0,x._index=new y;try{for(var E=c(x._documentIds),S=E.next();!S.done;S=E.next()){var L=u(S.value,2),O=L[0],A=L[1];x._idToShortId.set(A,O)}}catch(N){r={error:N}}finally{try{S&&!S.done&&(o=E.return)&&o.call(E)}finally{if(r)throw r.error}}try{for(var k=c(d),C=k.next();!C.done;C=k.next()){var T=u(C.value,2),F=T[0],j=T[1],D=new Map;try{for(var M=(s=void 0,c(Object.keys(j))),I=M.next();!I.done;I=M.next()){var P=I.value,q=j[P];1===_&&(q=q.ds),D.set(parseInt(P,10),z(q))}}catch(B){s={error:B}}finally{try{I&&!I.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}x._index.set(F,D)}}catch(R){i={error:R}}finally{try{C&&!C.done&&(a=k.return)&&a.call(k)}finally{if(i)throw i.error}}return x},e.prototype.executeQuery=function(t,n){var r=this;if(void 0===n&&(n={}),t===e.wildcard)return this.executeWildcardQuery(n);if("string"!==typeof t){var o=i(i(i({},n),t),{queries:void 0}),a=t.queries.map((function(e){return r.executeQuery(e,o)}));return this.combineResults(a,o.combineWith)}var s=this._options,c=s.tokenize,u=s.processTerm,l=s.searchOptions,d=i(i({tokenize:c,processTerm:u},l),n),f=d.tokenize,p=d.processTerm,h=f(t).flatMap((function(e){return p(e)})).filter((function(e){return!!e})).map(T(d)).map((function(e){return r.executeQuerySpec(e,d)}));return this.combineResults(h,d.combineWith)},e.prototype.executeQuerySpec=function(e,t){var n,r,o,a,s,l,d=i(i({},this._options.searchOptions),t),f=(d.fields||this._options.fields).reduce((function(e,t){var n;return i(i({},e),((n={})[t]=A(d.boost,t)||1,n))}),{}),p=d.boostDocument,h=d.weights,v=d.maxFuzzy,m=d.bm25,y=i(i({},j.weights),h),g=y.fuzzy,b=y.prefix,w=this._index.get(e.term),_=this.termResults(e.term,e.term,1,w,f,p,m);if(e.prefix&&(s=this._index.atPrefix(e.term)),e.fuzzy){var x=!0===e.fuzzy?.2:e.fuzzy,E=x<1?Math.min(v,Math.round(e.term.length*x)):x;E&&(l=this._index.fuzzyGet(e.term,E))}if(s)try{for(var S=c(s),L=S.next();!L.done;L=S.next()){var O=u(L.value,2),k=O[0],C=O[1];if(M=k.length-e.term.length){null===l||void 0===l||l.delete(k);var T=b*k.length/(k.length+.3*M);this.termResults(e.term,k,T,C,f,p,m,_)}}}catch(q){n={error:q}}finally{try{L&&!L.done&&(r=S.return)&&r.call(S)}finally{if(n)throw n.error}}if(l)try{for(var F=c(l.keys()),D=F.next();!D.done;D=F.next()){k=D.value;var M,I=u(l.get(k),2),P=I[0];if(M=I[1]){T=g*k.length/(k.length+M);this.termResults(e.term,k,T,P,f,p,m,_)}}}catch(N){o={error:N}}finally{try{D&&!D.done&&(a=F.return)&&a.call(F)}finally{if(o)throw o.error}}return _},e.prototype.executeWildcardQuery=function(e){var t,n,r=new Map,o=i(i({},this._options.searchOptions),e);try{for(var a=c(this._documentIds),s=a.next();!s.done;s=a.next()){var l=u(s.value,2),d=l[0],f=l[1],p=o.boostDocument?o.boostDocument(f,"",this._storedFields.get(d)):1;r.set(d,{score:p,terms:[],match:{}})}}catch(h){t={error:h}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},e.prototype.combineResults=function(e,t){if(void 0===t&&(t=L),0===e.length)return new Map;var n=t.toLowerCase();return e.reduce(k[n])||new Map},e.prototype.toJSON=function(){var e,t,n,r,o=[];try{for(var i=c(this._index),a=i.next();!a.done;a=i.next()){var s=u(a.value,2),l=s[0],d=s[1],f={};try{for(var p=(n=void 0,c(d)),h=p.next();!h.done;h=p.next()){var v=u(h.value,2),m=v[0],y=v[1];f[m]=Object.fromEntries(y)}}catch(g){n={error:g}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}o.push([l,f])}}catch(b){e={error:b}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:o,serializationVersion:2}},e.prototype.termResults=function(e,t,n,r,o,i,a,s){var u,l,d,f,p;if(void 0===s&&(s=new Map),null==r)return s;try{for(var h=c(Object.keys(o)),v=h.next();!v.done;v=h.next()){var m=v.value,y=o[m],g=this._fieldIds[m],b=r.get(g);if(null!=b){var w=b.size,_=this._avgFieldLength[g];try{for(var x=(d=void 0,c(b.keys())),E=x.next();!E.done;E=x.next()){var S=E.value;if(this._documentIds.has(S)){var L=i?i(this._documentIds.get(S),t,this._storedFields.get(S)):1;if(L){var O=b.get(S),k=this._fieldLength.get(S)[g],T=n*y*L*C(O,w,this._documentCount,k,_,a),F=s.get(S);if(F){F.score+=T,q(F.terms,e);var j=A(F.match,t);j?j.push(m):F.match[t]=[m]}else s.set(S,{score:T,terms:[e],match:(p={},p[t]=[m],p)})}}else this.removeTerm(g,S,t),w-=1}}catch(D){d={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(d)throw d.error}}}}}catch(M){u={error:M}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}return s},e.prototype.addTerm=function(e,t,n){var r=this._index.fetch(n,R),o=r.get(e);if(null==o)(o=new Map).set(t,1),r.set(e,o);else{var i=o.get(t);o.set(t,(i||0)+1)}},e.prototype.removeTerm=function(e,t,n){if(this._index.has(n)){var r=this._index.fetch(n,R),o=r.get(e);null==o||null==o.get(t)?this.warnDocumentChanged(t,e,n):o.get(t)<=1?o.size<=1?r.delete(e):o.delete(t):o.set(t,o.get(t)-1),0===this._index.get(n).size&&this._index.delete(n)}else this.warnDocumentChanged(t,e,n)},e.prototype.warnDocumentChanged=function(e,t,n){var r,o;try{for(var i=c(Object.keys(this._fieldIds)),a=i.next();!a.done;a=i.next()){var s=a.value;if(this._fieldIds[s]===t)return void this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(n,'" was not present in field "').concat(s,'". Removing a document after it has changed can corrupt the index!'),"version_conflict")}}catch(u){r={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},e.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},e.prototype.addFields=function(e){for(var t=0;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n We're always expanding our topics. Check back later for updates.",n.appendChild(r),n.appendChild(o),document.querySelector(".topic-directory__main").appendChild(n)},re=function(){var e=new O({fields:["name"],storeFields:["id","name","URL","implicitType","explicitType"]}),t=function(){var t=document.querySelector('input[name="query"]').value;if(0===t.length&&(ee(),te(),Z()),t.length>2){te(),function(){for(var e=document.getElementsByClassName("topic-directory__section"),t=0;t0?function(e,t){var n=document.createElement("div");n.id=X;var r=document.createElement("div");r.classList.add("topic-directory__selected-indicator"),r.innerHTML=t;var o=document.createElement("div");o.classList.add("topic-directory__main-content");for(var i=document.createElement("ul"),a=0;a768?"flex":"grid"}var c=document.getElementById("places-search");null!==c&&void 0!==c&&c.style&&(c.style.display="places"===t.dataset.tabKey?"block":"none");var u=new URL(window.location.href);"all"!==t.dataset.tabKey?u.searchParams.set("tab",t.dataset.tabKey):u.searchParams.delete("tab"),window.history.replaceState(null,null,u),document.getElementById("selected-topic").innerHTML=t.dataset.titleText}};document.querySelectorAll(".topic-directory__tablink").forEach((function(t){t.addEventListener("click",(function(n){e(0,t)}))}))},ie=function(){var e;null===(e=document.getElementById("custom-select"))||void 0===e||e.addEventListener("click",(function(){document.querySelector(".select-items").classList.toggle("open"),document.querySelector(".topic-directory__main").classList.toggle("opened")})),document.addEventListener("click",(function(e){var t,n;e.target.closest(".custom-select")||(null===(t=document.querySelector(".select-items"))||void 0===t||t.classList.remove("open"),null===(n=document.querySelector(".topic-directory__main"))||void 0===n||n.classList.remove("opened"))}));document.querySelectorAll(".select-items .option").forEach((function(e){e.addEventListener("click",(function(t){!function(e,t){ee(),te();var n=!0;if(document.querySelectorAll(".topic-directory__button-nav .button").forEach((function(e){e.textContent===t.textContent&&e.classList.add("active")})),document.querySelector("#custom-select .selected-letter").textContent=t.textContent,"All"!==t.textContent){for(var r=document.getElementsByClassName("topic-directory__section"),o=0;ot?e.classList.add("hide"):e.classList.remove("hide"),t=n<=0?0:n}),!1)}();var e=function(){var e=new URLSearchParams(window.location.search).get("tab");e&&document.querySelectorAll(".topic-directory__tablink").forEach((function(t){t.dataset.tabKey===e&&t.click()}));!function(){var e=new MutationObserver((function(e,t){var n=document.getElementById("search-results"),r=document.querySelector(".icon-close"),i=document.querySelector(".topic-directory__places-search-input-group-field");function a(){var e=n.getElementsByTagName("p"),t=n.getElementsByTagName("a");Array.from([].concat(G()(e),G()(t))).forEach((function(e){e.remove()}))}function s(){i&&r&&n&&(i.value="",r.style.visibility="hidden",a(),n.style.visibility="hidden")}s();var c={},u=function(e){for(var t=0;tn&&t&&t[o[n]]&&Array.isArray(t[o[n]])){var i=1===t[o[n]].length?t[o[n]][0]:t[o[n]];return Array.isArray(i)&&i.find((function(t){return t&&(t.name&&t.name===e||t.Name&&t.Name===e)}))?o[n]:d(e,t,n+1)}return(null===o||void 0===o?void 0:o.length)>n?d(e,t[o[n]],0):"Region"}function f(e,t,n){return n.filter((function(n){return n[t]===e}))}function p(e){var t={},n={},r=[];for(var o in e.forEach((function(e){var n;null!==(n=t[e.name||e.Name])&&void 0!==n&&n.length?t[e.name||e.Name].push(e):t[e.name||e.Name]=[e]})),t){var i,a=Y(t[o]);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(n[s.name||s.Name]=s,"type"in s)break}}catch(u){a.e(u)}finally{a.f()}}for(var c in n)r.push(n[c]);return r}l.addAll(u);var h=function(e,t){var n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i=0;a--)if("type"in E[a]){o=E[a];break}c[(null===(e=o)||void 0===e?void 0:e.name)||(null===(t=o)||void 0===t?void 0:t.Name)]=s;var u=d((null===(n=o)||void 0===n?void 0:n.name)||(null===(r=o)||void 0===r?void 0:r.Name),placesJson,0);u&&o&&(i[u]?i[u].some((function(e){var t,n,r,i;return(null===e||void 0===e?void 0:e.name)===(null===(t=o)||void 0===t?void 0:t.name)||(null===e||void 0===e?void 0:e.Name)===(null===(n=o)||void 0===n?void 0:n.Name)||(null===e||void 0===e?void 0:e.name)===(null===(r=o)||void 0===r?void 0:r.Name)||(null===e||void 0===e?void 0:e.Name)===(null===(i=o)||void 0===i?void 0:i.name)}))||i[u].push(o):i[u]=[o])}(),s=p(f((null===(_=s)||void 0===_?void 0:_.name)||(null===(x=s)||void 0===x?void 0:x.Name),"parentName",u))[0],h+=1}h=0;for(var S=0;S]+src=(['"])(.*?)\1/i,l=/[\s\S]*?createElement[\s\S]*?src\s?=\s?(['"])(.*?)\1/i,d={"connect.facebook.net":{isLoaded:function(){if(!document.querySelector("body > #fb-root")){a()(document.querySelectorAll("#fb-root")).forEach((function(e){return e.parentNode.removeChild(e)}));var e=document.createElement("div");e.id="fb-root",document.body.appendChild(e)}return void 0!==window.FB},reload:function(e){return window.FB.XFBML.parse(e)}},"instagram.com":{isLoaded:function(){return void 0!==window.instgrm},reload:function(){return window.instgrm.Embeds.process()}},"twitter.com":{isLoaded:function(){return void 0!==window.twttr&&void 0!==window.twttr.widgets},reload:function(){return window.twttr.widgets.load()}},"trellocdn.com":{isLoaded:function(){return void 0!==window.TrelloCards&&void 0!==window.TrelloCards.load},reload:function(){return window.TrelloCards.load(document,{compact:!1,allAnchors:!1})}}},f=function(e){return function(e){var t=e.match(u);return t&&t[2]}(e)||function(e){var t=e.match(l);return t&&t[2]}(e)},p=function(e){var t=e.match(//gi);return t?function(e){return Object.keys(e.reduce((function(e,t){return t?c(c({},e),{},o()({},t,!0)):e}),{}))}(t.map(f)):[]};function h(e){var t=e.innerHTML;t&&(window.onYouTubeIframeAPIReady&&window.onYouTubeIframeAPIReady(),p(t).map((function(t){var n=function(e){return Object.keys(d).reduce((function(t,n){return t||e.indexOf(n)>-1&&d[n]||null}),null)}(t);return n&&n.isLoaded()?n.reload(e):function(e){var t=document.createElement("script");return t.src=e.replace("&","&"),document.head.appendChild(t),t}(t)})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){var t=e.slice(-1)[0],n=o(e),r=window.matchMedia("(min-width: 1180px)");n>window.innerWidth&&r.matches&&(t.style.paddingRight="77px",navigator.userAgent.includes("Firefox")&&t.setAttribute("data-last-item","true"))},o=function(e){if(!e.length)return 0;var t=0;return e.forEach((function(e){var n=e.currentStyle||window.getComputedStyle(e),r=e.offsetWidth,o=parseFloat(n.marginLeft)+parseFloat(n.marginRight),i=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight);t+=r+o+i;var a=(r/2).toString();e.setAttribute("data-middle-point",a)})),t}},,,function(e,t,n){var r=n(12);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(8).default,o=n(32);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(8).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";n.r(t),n.d(t,"glideCarousel",(function(){return r}));var r=new(n(14).a)(".glide__carousel",{peek:200,focusAt:"center",startAt:0,perView:3,gap:10,breakpoints:{640:{peek:0,perView:1},1024:{peek:0,perView:2},1440:{peek:50,perView:3}}});document.querySelector(".glide__carousel")&&(r.mount(),window.addEventListener("resize",(function(){var e={peek:200,perView:3};window.matchMedia("(max-width: 640px)").matches?e={peek:0,perView:1}:window.matchMedia("(min-width: 641px) and (max-width: 1024px)").matches?e={peek:0,perView:2}:window.matchMedia("(min-width: 1025px) and (max-width: 1440px)").matches?e={peek:50,perView:3}:window.matchMedia("(min-width: 1441px)").matches&&(e={peek:200,perView:3}),r.update(e)})))},,,,,,,,,,,,,,,,function(e,t,n){n.p||(n.p="/content/themes/rappler/build/")},function(e,t,n){"use strict";n.r(t);var r=new(n(14).a)(".glide__videos",{focusAt:0,perView:1.5,gap:40,breakpoints:{768:{perView:1.1,gap:10}}});if(document.querySelector(".glide__videos")){r.mutate([function(e,t){return{modify:function(n){return 0===e.index?n:e.index===t.Sizes.length-1?n-(t.Sizes.width-t.Sizes.slideWidth):n-(t.Sizes.width-t.Sizes.slideWidth)/2}}}]).mount();var o=document.querySelector(".glide__slides").children.length;r.on("run",(function(){var e=r.index;0===e?document.querySelector(".latest-videos__control.arrow-left").classList.add("hide"):e===o-1?document.querySelector(".latest-videos__control.arrow-right").classList.add("hide"):document.querySelectorAll(".latest-videos__control").forEach((function(e){return e.classList.remove("hide")}))}))}},function(e,t,n){"use strict";n.r(t);for(var r=n(14),o=0,i=[],a=document.querySelector("body"),s=null===a||void 0===a?void 0:a.classList.contains("ontology-topic-template-default"),c=".carousel",u=".carousel--videos",l=".carousel--cta",d=".glide__bullets",f="data-glide-options",p={focusAt:0,perView:4.2,gap:32,bound:!0,breakpoints:{250:{perView:1,gap:24},500:{perView:1.5,gap:24},600:{perView:2.5,gap:24},768:{perView:3,gap:24},960:{perView:3.2,gap:32},1024:{perView:3.5,gap:32},1180:{perView:3.8,gap:32}}},h=".carousel__controls",v=document.querySelectorAll(".glide__portrait"),m=function(e,t){var n=e>o?"next":"prev";o=e;var r=[];if(i.includes(e))return i;if(e<=5&&["next",""].includes(n)){for(var a=5;a>=0;a--)r.push(a);return i=r,r}if("next"===n)for(var s=e-5>t-5?t-5:e-5,c=e;c>=s;c--)r.push(c);else for(var u=e;u<=e+5;u++)r.push(u);return i=r,r},y=function(e){var t=v[e],n=t.getAttribute("data-item-count"),r=n?parseInt(n):0;if(r>0&&!Number.isNaN(r)){var o=t.querySelectorAll(d);if(o.length){for(;o[0].firstChild;)o[0].removeChild(o[0].firstChild);var i=r;window.matchMedia("(min-width: 1181px)").matches?i=r-4:window.matchMedia("(min-width: 768px) and (max-width: 1180px)").matches&&(i=r-3);for(var a=m(0,i),c=0;c<=i;c++){var u=document.createElement("div");u.classList.add("carousel__bullet"),!a.includes(c)&&s&&u.classList.add("hide"),u.setAttribute("data-glide-dir","=".concat(c)),o[0].appendChild(u)}}}},g=function(e){var t=v[e].getAttribute(f)?JSON.parse(v[e].getAttribute(f)):p,n=new r.a(v[e],t),o=v[e].querySelector(".glide__slides").children.length;n.on("mount.before",(function(){var t;v[e].setAttribute("data-item-count",o);var r=v[e].getAttribute("data-item-count"),i=r?parseInt(r):0;y(e);var a={dragThreshold:!1};null!==(t=v[e].closest(c))&&void 0!==t&&t.classList.contains("carousel--cta")&&(window.matchMedia("(min-width: 1181px)").matches&&i<=5||window.matchMedia("(min-width: 768px) and (max-width: 1180px)").matches&&i<=3)&&(v[e].closest(c).querySelectorAll(h).forEach((function(e){return e.classList.add("hide")})),n.update(a)),v[e].closest(c).querySelectorAll(h).length>0&&(window.matchMedia("(min-width: 1181px)").matches&&i<=4||window.matchMedia("(min-width: 768px) and (max-width: 1180px)").matches&&i<=3)&&(v[e].closest(c).querySelectorAll(h).forEach((function(e){return e.classList.add("hide")})),n.update(a))})),n.mount();var i=v[e].closest(c).querySelector(".next"),a=v[e].closest(c).querySelector(".prev");i&&i.addEventListener("click",(function(e){e.preventDefault(),n.go(">")})),a&&a.addEventListener("click",(function(e){e.preventDefault(),n.go("<")})),n.on("run",(function(){var t=n.index,r=parseInt(v[e].getAttribute("data-item-count"),10);if(v[e].closest(l)&&v[e].closest(l).querySelectorAll(h).length>0){var o=v[e].closest(l).querySelector(".next"),i=v[e].closest(l).querySelector(".prev");0===t?(o.classList.remove("disabled"),i.classList.add("disabled")):t===r-5?(i.classList.remove("disabled"),o.classList.add("disabled")):(i.classList.remove("disabled"),o.classList.remove("disabled"))}if(v[e].closest(u)&&v[e].closest(u).querySelectorAll(h).length>0&&(0===t?(v[e].closest(u).querySelector(".carousel__controls--prev").classList.add("hide"),v[e].closest(u).querySelector(".carousel__controls--next").classList.remove("hide")):window.matchMedia("(min-width: 768px) and (max-width: 1180px)").matches&&t===r-3||window.matchMedia("(min-width: 1181px)").matches&&t===r-4?(v[e].closest(u).querySelector(".carousel__controls--prev").classList.remove("hide"),v[e].closest(u).querySelector(".carousel__controls--next").classList.add("hide")):v[e].closest(u).querySelectorAll(h).forEach((function(e){return e.classList.remove("hide")})),s)){var a=m(t,r),c=v[e].closest(u);if(c){var f,p=null===(f=c.querySelectorAll(d)[0])||void 0===f?void 0:f.childNodes;if(p.length)for(var y=0;y .global-election-banner__container"),r=document.querySelector(".global-election-links"),i=(document.querySelectorAll(".sticky-leaderboard"),document.querySelector(".rappler-ad--top-billboard")),a=document.querySelector("main"),s=window.matchMedia("(max-width: 720px)"),c="up",u=0,l=document.documentElement,d=(document.querySelector(".site-header"),document.querySelector(".global-election-banner__mobile-footer")),f=function(){if(e&&n&&!s.matches){e instanceof HTMLElement&&(e.style.display="none",e.offsetHeight,e.style.display="");var t=e.getBoundingClientRect().height;document.documentElement.style.setProperty("--banner-height","".concat(t,"px")),document.body.classList.add("banner-height-calculated")}};f(),window.addEventListener("resize",f);document.body.classList.add("has-election-banner"),window.addEventListener("scroll",(function(){s.matches||(window.scrollY>u?c="down":window.scrollY64&&(r&&r.classList.add("fixed"),n&&n.classList.add("hide"),i?window.matchMedia("(min-width: 1024px)").matches&&i.classList.add("top"):window.matchMedia("(min-width: 1024px)").matches&&a&&a.classList.add("top")):"up"===c&&(r&&r.classList.remove("fixed"),window.scrollY<64&&n&&n.classList.remove("hide"),i?l.scrollTop<180&&i.classList.remove("top"):window.matchMedia("(min-width: 1024px)").matches&&a&&a.classList.remove("top")),u=window.scrollY)})),d&&(s.matches?d.classList.add("show"):d.classList.remove("show"),s.addEventListener("change",(function(e){e.matches?d.classList.add("show"):d.classList.remove("show")})))}else o()}function o(){document.body.classList.remove("has-election-banner"),document.body.classList.remove("banner-height-calculated")}n.r(t),n.d(t,"init",(function(){return r})),n.d(t,"cleanup",(function(){return o})),document.addEventListener("lazy-loaded-template-election-banner",r),r()},function(e,t){!function(){var e=!1,t=document.querySelector(".post-single__image .overlay"),n=document.querySelector(".post-single__image .overlay .overlay__button");n&&n.addEventListener("click",(function(){(e=!e)?(t.classList.add("overlay--opened"),t.classList.remove("overlay--closed"),n.textContent="hide"):(t.classList.remove("overlay--opened"),t.classList.add("overlay--closed"),n.textContent="info")}))}()},function(e,t,n){"use strict";n.r(t),n.d(t,"filterClickHandler",(function(){return c}));var r,o=n(34),i=document.querySelector(".filtered-list"),a=document.querySelectorAll(".filter"),s=document.querySelector(".glide__slides");s&&(r=s.cloneNode(!0));var c=function(e){var t,n=document.querySelector(".glide__track"),i=e.target;t=!i.classList.contains("active"),a.forEach((function(e){e.classList.remove("active")})),i.classList.add("active");var c=i.getAttribute("data-filter-posts");if(t){n.removeChild(document.querySelector(".glide__slides")),n.append(r),r=s.cloneNode(!0);var u=document.querySelectorAll(".filtered-item");"-1"!==c&&u.forEach((function(e){var t=e.getAttribute("data-post-id");-1===c.indexOf(t)&&e.remove()})),o.glideCarousel.update({startAt:0})}};i&&a.forEach((function(e){e.addEventListener("click",c)}))},function(e,t){!function(){var e,t=document.documentElement,n=window,r=n.scrollY||t.scrollTop,o=0,i=0,a=document.getElementsByClassName("site-header"),s=document.querySelector(".masthead-lower__homepage"),c=document.querySelector(".masthead-lower__section"),u=document.querySelector(".masthead__breadcrumbs");if(a[0]){var l=function(e,t){2===e&&t>64&&null===c?(a[0].classList.add("hide"),null!==s&&s.classList.add("top"),null!==u&&u.classList.add("hide"),i=e):1===e&&(a[0].classList.remove("hide"),null!==s&&s.classList.remove("top"),null!==u&&u.classList.remove("hide"),i=e)};window.addEventListener("scroll",(function(){(e=n.scrollY||t.scrollTop)>r?o=2:eo?(e.classList.add("alt-color"),t.classList.add("to-top")):(e.classList.remove("alt-color"),t.classList.remove("to-top")),n>a?r.classList.add("to-top"):r.classList.remove("to-top")}))}}()},function(e,t,n){"use strict";n.r(t);var r=n(20),o=n(5),i=n(25);!function(){var e=document.querySelector(".masthead-lower__homepage ul"),t=Array.from(document.getElementsByClassName("masthead-lower__homepage-item")),n=Array.from(document.getElementsByClassName("anchor")),a="";if(window.addEventListener("load",(function(){Object(i.a)(t)})),t.length){var s=new IntersectionObserver((function(n,o){n.forEach((function(n){!0===n.isIntersecting&&(a=n.target.id,t.forEach((function(t){t.firstChild&&(t.firstChild.getAttribute("href")==="#".concat(a)?(t.classList.add("active"),Object(r.a)(".masthead-lower__homepage-item.active",e)):t.classList.remove("active"))})))}))}),{root:null,rootMargin:"128px 0px 0px 0px",threshold:.1});n.forEach((function(e){s.observe(e)})),t.forEach((function(e){e.addEventListener("click",c)}))}function c(e){e.preventDefault();var t=document.querySelector(e.currentTarget.firstChild.hash),n=100;if(window.matchMedia("(min-width: 721px)").matches)if(document.body.classList.contains("has-election-banner")||document.body.classList.contains("has-election-banner--transmission")){var r=document.querySelector(".global-election-banner"),o=document.querySelector(".global-election-banner__container"),i=document.querySelector(".global-election-links"),a=0;r&&o&&!o.classList.contains("hide")&&(a+=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--banner-height")||"0",10)),i&&!i.classList.contains("hide")&&"none"!==window.getComputedStyle(i).display&&(a+=i.getBoundingClientRect().height),n=a>0?window.pageYOffset>t.offsetTop?160+a:100+a:window.pageYOffset>t.offsetTop?160:100}else n=window.pageYOffset>t.offsetTop?160:100;else n=window.pageYOffset>t.offsetTop?160:100;window.scroll({top:t.offsetTop-n,left:0,behavior:"smooth"})}Object(o.a)(e)}()},function(e,t,n){"use strict";n.r(t);var r=n(20),o=n(5),i=n(25);!function(){var e=document.querySelector(".masthead-lower__section ul"),t=Array.from(document.getElementsByClassName("masthead-lower__section-item")),n=document.querySelectorAll(".section-template .anchor"),a="";if(window.addEventListener("load",(function(){Object(i.a)(t)})),t.length){Object(o.a)(e),window.addEventListener("load",(function(){Object(r.a)(".masthead-lower__section-item.active",e)}));var s=new IntersectionObserver((function(n,o){n.forEach((function(n){!0===n.isIntersecting&&(a=n.target.getAttribute("data-slug"),t.forEach((function(t){t.getAttribute("data-slug")===a?(t.classList.add("active"),Object(r.a)(".masthead-lower__section-item.active",e)):t.classList.remove("active")})))}))}),{root:null,rootMargin:"128px 0px 0px 0px",threshold:.1});n&&n.forEach((function(e){s.observe(e)}))}window.history.scrollRestoration?window.history.scrollRestoration="auto":window.onbeforeunload=function(){window.scrollTo(0,0)}}()},function(e,t,n){"use strict";function r(){for(var e=document.getElementsByClassName("rappler-lazy-load"),t="".concat(rapplerThemeData.restBase,"rappler/v1/batch?"),n=[],r=0;r299)return"continue";if(!n.body||!n.body.html)return"continue";var r=n.body;document.querySelectorAll(".rappler-lazy-load[data-template=".concat(r.id,"]")).forEach((function(e){e.innerHTML=r.html,e.dataset.loaded=!0,document.dispatchEvent(new CustomEvent("lazy-loaded-template",{template:r.id,element:e})),document.dispatchEvent(new CustomEvent("lazy-loaded-template-".concat(r.id),{template:r.id,element:e}))}))},n=0;n0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var a=(p(e)?f(e):window).visualViewport,s=!w()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,l=r.width/o,d=r.height/i;return{width:l,height:d,top:u,right:c+l,bottom:u+d,left:c,x:c,y:u}}function x(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function E(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((p(e)?e.ownerDocument:e.document)||window.document).documentElement}function L(e){return _(S(e)).left+x(e).scrollLeft}function O(e){return f(e).getComputedStyle(e)}function A(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function k(e,t,n){void 0===n&&(n=!1);var r=h(t),o=h(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=S(t),a=_(e,o,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==E(t)||A(i))&&(s=function(e){return e!==f(e)&&h(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:x(e);var t}(t)),h(t)?((c=_(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=L(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function C(e){var t=_(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||S(e)}function F(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:h(e)&&A(e)?e:F(T(e))}function j(e,t){var n;void 0===t&&(t=[]);var r=F(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=f(r),a=o?[i].concat(i.visualViewport||[],A(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(j(T(a)))}function D(e){return["table","td","th"].indexOf(E(e))>=0}function M(e){return h(e)&&"fixed"!==O(e).position?e.offsetParent:null}function I(e){for(var t=f(e),n=M(e);n&&D(n)&&"static"===O(n).position;)n=M(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===O(n).position)?t:n||function(e){var t=/firefox/i.test(b());if(/Trident/i.test(b())&&h(e)&&"fixed"===O(e).position)return null;var n=T(e);for(v(n)&&(n=n.host);h(n)&&["html","body"].indexOf(E(n))<0;){var r=O(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var P="top",q="bottom",N="right",B="left",R="auto",z=[P,q,N,B],H="start",V="end",W="viewport",U="popper",G=z.reduce((function(e,t){return e.concat([t+"-"+H,t+"-"+V])}),[]),Y=[].concat(z,[R]).reduce((function(e,t){return e.concat([t,t+"-"+H,t+"-"+V])}),[]),J=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function K(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function X(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var $={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?te(o):null,a=o?ne(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case P:t={x:s,y:n.y-r.height};break;case q:t={x:s,y:n.y+n.height};break;case N:t={x:n.x+n.width,y:c};break;case B:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?re(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case H:t[u]=t[u]-(n[l]/2-r[l]/2);break;case V:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ae(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,v=a.y,m=void 0===v?0:v,y="function"===typeof l?l({x:h,y:m}):{x:h,y:m};h=y.x,m=y.y;var b=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),_=B,x=P,E=window;if(u){var L=I(n),A="clientHeight",k="clientWidth";if(L===f(n)&&"static"!==O(L=S(n)).position&&"absolute"===s&&(A="scrollHeight",k="scrollWidth"),o===P||(o===B||o===N)&&i===V)x=q,m-=(d&&L===E&&E.visualViewport?E.visualViewport.height:L[A])-r.height,m*=c?1:-1;if(o===B||(o===P||o===q)&&i===V)_=N,h-=(d&&L===E&&E.visualViewport?E.visualViewport.width:L[k])-r.width,h*=c?1:-1}var C,T=Object.assign({position:s},u&&ie),F=!0===l?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:g(n*o)/o||0,y:g(r*o)/o||0}}({x:h,y:m},f(n)):{x:h,y:m};return h=F.x,m=F.y,c?Object.assign({},T,((C={})[x]=w?"0":"",C[_]=b?"0":"",C.transform=(E.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},T,((t={})[x]=w?m+"px":"",t[_]=b?h+"px":"",t.transform="",t))}var se={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];h(o)&&E(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});h(r)&&E(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ce={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(e){return e.replace(/left|right|bottom|top/g,(function(e){return ce[e]}))}var le={start:"end",end:"start"};function de(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function he(e,t,n){return t===W?pe(function(e,t){var n=f(e),r=S(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=w();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+L(e),y:c}}(e,n)):p(t)?function(e,t){var n=_(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):pe(function(e){var t,n=S(e),r=x(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=m(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=m(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+L(e),c=-r.scrollTop;return"rtl"===O(o||n).direction&&(s+=m(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(S(e)))}function ve(e,t,n,r){var o="clippingParents"===t?function(e){var t=j(T(e)),n=["absolute","fixed"].indexOf(O(e).position)>=0&&h(e)?I(e):e;return p(n)?t.filter((function(e){return p(e)&&fe(e,n)&&"body"!==E(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=he(e,n,r);return t.top=m(o.top,t.top),t.right=y(o.right,t.right),t.bottom=y(o.bottom,t.bottom),t.left=m(o.left,t.left),t}),he(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function me(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ye(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ge(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,u=n.rootBoundary,l=void 0===u?W:u,d=n.elementContext,f=void 0===d?U:d,h=n.altBoundary,v=void 0!==h&&h,m=n.padding,y=void 0===m?0:m,g=me("number"!==typeof y?y:ye(y,z)),b=f===U?"reference":U,w=e.rects.popper,x=e.elements[v?b:f],E=ve(p(x)?x:x.contextElement||S(e.elements.popper),c,l,a),L=_(e.elements.reference),O=oe({reference:L,element:w,strategy:"absolute",placement:o}),A=pe(Object.assign({},w,O)),k=f===U?A:L,C={top:E.top-k.top+g.top,bottom:k.bottom-E.bottom+g.bottom,left:E.left-k.left+g.left,right:k.right-E.right+g.right},T=e.modifiersData.offset;if(f===U&&T){var F=T[o];Object.keys(C).forEach((function(e){var t=[N,q].indexOf(e)>=0?1:-1,n=[P,q].indexOf(e)>=0?"y":"x";C[e]+=F[n]*t}))}return C}function be(e,t,n){return m(e,y(t,n))}function we(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[P,N,q,B].some((function(t){return e[t]>=0}))}var xe=Z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=f(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ee)})),s&&c.addEventListener("resize",n.update,ee),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ee)})),s&&c.removeEventListener("resize",n.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:te(t.placement),variation:ne(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ae(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ae(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},se,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Y.reduce((function(e,n){return e[n]=function(e,t,n){var r=te(e),o=[B,P].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[B,N].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,y=te(m),g=c||(y===m||!h?[ue(m)]:function(e){if(te(e)===R)return[];var t=ue(e);return[de(e),t,de(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(te(n)===R?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?Y:c,l=ne(r),d=l?s?G:G.filter((function(e){return ne(e)===l})):z,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[te(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,S=b[0],L=0;L=0,T=C?"width":"height",F=ge(t,{placement:O,boundary:l,rootBoundary:d,altBoundary:f,padding:u}),j=C?k?N:B:k?q:P;w[T]>_[T]&&(j=ue(j));var D=ue(j),M=[];if(i&&M.push(F[A]<=0),s&&M.push(F[j]<=0,F[D]<=0),M.every((function(e){return e}))){S=O,E=!1;break}x.set(O,M)}if(E)for(var I=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},V=h?3:1;V>0;V--){if("break"===I(V))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,v=void 0===h?0:h,g=ge(t,{boundary:c,rootBoundary:u,padding:d,altBoundary:l}),b=te(t.placement),w=ne(t.placement),_=!w,x=re(b),E="x"===x?"y":"x",S=t.modifiersData.popperOffsets,L=t.rects.reference,O=t.rects.popper,A="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,k="number"===typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(S){if(i){var j,D="y"===x?P:B,M="y"===x?q:N,R="y"===x?"height":"width",z=S[x],V=z+g[D],W=z-g[M],U=p?-O[R]/2:0,G=w===H?L[R]:O[R],Y=w===H?-O[R]:-L[R],J=t.elements.arrow,K=p&&J?C(J):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=X[D],Q=X[M],Z=be(0,L[R],K[R]),ee=_?L[R]/2-U-Z-$-k.mainAxis:G-Z-$-k.mainAxis,oe=_?-L[R]/2+U+Z+Q+k.mainAxis:Y+Z+Q+k.mainAxis,ie=t.elements.arrow&&I(t.elements.arrow),ae=ie?"y"===x?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(j=null==T?void 0:T[x])?j:0,ce=z+oe-se,ue=be(p?y(V,z+ee-se-ae):V,z,p?m(W,ce):W);S[x]=ue,F[x]=ue-z}if(s){var le,de="x"===x?P:B,fe="x"===x?q:N,pe=S[E],he="y"===E?"height":"width",ve=pe+g[de],me=pe-g[fe],ye=-1!==[P,B].indexOf(b),we=null!=(le=null==T?void 0:T[E])?le:0,_e=ye?ve:pe-L[he]-O[he]-we+k.altAxis,xe=ye?pe+L[he]+O[he]-we-k.altAxis:me,Ee=p&&ye?function(e,t,n){var r=be(e,t,n);return r>n?n:r}(_e,pe,xe):be(p?_e:ve,pe,p?xe:me);S[E]=Ee,F[E]=Ee-pe}t.modifiersData[r]=F}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=te(n.placement),c=re(s),u=[B,N].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return me("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ye(e,z))}(o.padding,n),d=C(i),f="y"===c?P:B,p="y"===c?q:N,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],v=a[c]-n.rects.reference[c],m=I(i),y=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=l[f],w=y-d[u]-l[p],_=y/2-d[u]/2+g,x=be(b,_,w),E=c;n.modifiersData[r]=((t={})[E]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ge(t,{elementContext:"reference"}),s=ge(t,{altBoundary:!0}),c=we(a,r),u=we(s,o,i),l=_e(c),d=_e(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}}]}),Ee="tippy-content",Se="tippy-backdrop",Le="tippy-arrow",Oe="tippy-svg-arrow",Ae={passive:!0,capture:!0},ke=function(){return document.body};function Ce(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Te(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Fe(e,t){return"function"===typeof e?e.apply(void 0,t):e}function je(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function De(e){return[].concat(e)}function Me(e,t){-1===e.indexOf(t)&&e.push(t)}function Ie(e){return e.split("-")[0]}function Pe(e){return[].slice.call(e)}function qe(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ne(){return document.createElement("div")}function Be(e){return["Element","Fragment"].some((function(t){return Te(e,t)}))}function Re(e){return Te(e,"MouseEvent")}function ze(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function He(e){return Be(e)?[e]:function(e){return Te(e,"NodeList")}(e)?Pe(e):Array.isArray(e)?e:Pe(document.querySelectorAll(e))}function Ve(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function We(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ue(e){var t,n=De(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ge(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Ye(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Je={isTouch:!1},Ke=0;function Xe(){Je.isTouch||(Je.isTouch=!0,window.performance&&document.addEventListener("mousemove",$e))}function $e(){var e=performance.now();e-Ke<20&&(Je.isTouch=!1,document.removeEventListener("mousemove",$e)),Ke=e}function Qe(){var e=document.activeElement;if(ze(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ze=!!("undefined"!==typeof window&&"undefined"!==typeof document)&&!!window.msCrypto;var et={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},tt=Object.assign({appendTo:ke,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},et,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),nt=Object.keys(tt);function rt(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=tt[o])?r:i);return t}),{});return Object.assign({},e,t)}function ot(e,t){var n=Object.assign({},t,{content:Fe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(rt(Object.assign({},tt,{plugins:t}))):nt).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},tt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function it(e,t){e.innerHTML=t}function at(e){var t=Ne();return!0===e?t.className=Le:(t.className=Oe,Be(e)?t.appendChild(e):it(t,e)),t}function st(e,t){Be(t.content)?(it(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?it(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=Pe(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Ee)})),arrow:n.find((function(e){return e.classList.contains(Le)||e.classList.contains(Oe)})),backdrop:n.find((function(e){return e.classList.contains(Se)}))}}function ut(e){var t=Ne(),n=Ne();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ne();function o(n,r){var o=ct(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"===typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||st(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(at(r.arrow))):i.appendChild(at(r.arrow)):s&&i.removeChild(s)}return r.className=Ee,r.setAttribute("data-state","hidden"),st(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ut.$$tippy=!0;var lt=1,dt=[],ft=[];function pt(e,t){var n,r,o,i,a,s,c,u,l=ot(e,Object.assign({},tt,rt(qe(t)))),d=!1,f=!1,p=!1,h=!1,v=[],m=je(Y,l.interactiveDebounce),y=lt++,g=(u=l.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:y,reference:e,popper:Ne(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(b.state.isDestroyed)return;D("onBeforeUpdate",[b,t]),U();var n=b.props,r=ot(e,Object.assign({},n,qe(t),{ignoreAttributes:!0}));b.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(P(),m=je(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?De(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");I(),j(),x&&x(n,r);b.popperInstance&&($(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Je.isTouch&&!b.props.touch,o=Ce(b.props.duration,0,tt.duration);if(e||t||n||r)return;if(k().hasAttribute("disabled"))return;if(D("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(_.style.visibility="visible");j(),R(),b.state.isMounted||(_.style.transition="none");if(A()){var i=T(),a=i.box,c=i.content;Ve([a,c],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,_.offsetHeight,_.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=T(),n=t.box,r=t.content;Ve([n,r],o),We([n,r],"visible")}M(),I(),Me(ft,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&A()&&function(e,t){H(e,t)}(o,(function(){b.state.isShown=!0,D("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=k();e=b.props.interactive&&t===ke||"parent"===t?n.parentNode:Fe(t,[n]);e.contains(_)||e.appendChild(_);b.state.isMounted=!0,$(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ce(b.props.duration,1,tt.duration);if(e||t||n)return;if(D("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,A()&&(_.style.visibility="hidden");if(P(),z(),j(!0),A()){var o=T(),i=o.box,a=o.content;b.props.animation&&(Ve([i,a],r),We([i,a],"hidden"))}M(),I(),b.props.animation?A()&&function(e,t){H(e,(function(){!b.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;C().addEventListener("mousemove",m),Me(dt,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),_.parentNode&&_.parentNode.removeChild(_);ft=ft.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b])}};if(!l.render)return b;var w=l.render(b),_=w.popper,x=w.onUpdate;_.setAttribute("data-tippy-root",""),_.id="tippy-"+b.id,b.popper=_,e._tippy=b,_._tippy=b;var E=g.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),I(),j(),D("onCreate",[b]),l.showOnCreate&&ee(),_.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),_.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",m)})),b;function L(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function O(){return"hold"===L()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function k(){return c||e}function C(){var e=k().parentNode;return e?Ue(e):document}function T(){return ct(_)}function F(e){return b.state.isMounted&&!b.state.isVisible||Je.isTouch||i&&"focus"===i.type?0:Ce(b.props.delay,e?0:1,tt.delay)}function j(e){void 0===e&&(e=!1),_.style.pointerEvents=b.props.interactive&&!e?"":"none",_.style.zIndex=""+b.props.zIndex}function D(e,t,n){var r;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function M(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=_.id;De(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function I(){!S&&b.props.aria.expanded&&De(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===k()?"true":"false"):e.removeAttribute("aria-expanded")}))}function P(){C().removeEventListener("mousemove",m),dt=dt.filter((function(e){return e!==m}))}function q(t){if(!Je.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Ye(_,n)){if(De(b.props.triggerTarget||e).some((function(e){return Ye(e,n)}))){if(Je.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||z())}}}function N(){p=!0}function B(){p=!1}function R(){var e=C();e.addEventListener("mousedown",q,!0),e.addEventListener("touchend",q,Ae),e.addEventListener("touchstart",B,Ae),e.addEventListener("touchmove",N,Ae)}function z(){var e=C();e.removeEventListener("mousedown",q,!0),e.removeEventListener("touchend",q,Ae),e.removeEventListener("touchstart",B,Ae),e.removeEventListener("touchmove",N,Ae)}function H(e,t){var n=T().box;function r(e){e.target===n&&(Ge(n,"remove",r),t())}if(0===e)return t();Ge(n,"remove",a),Ge(n,"add",r),a=r}function V(t,n,r){void 0===r&&(r=!1),De(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function W(){var e;O()&&(V("touchstart",G,{passive:!0}),V("touchend",J,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,G),e){case"mouseenter":V("mouseleave",J);break;case"focus":V(Ze?"focusout":"blur",K);break;case"focusin":V("focusout",K)}}))}function U(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function G(e){var t,n=!1;if(b.state.isEnabled&&!X(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,I(),!b.state.isVisible&&Re(e)&&dt.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=k().contains(t)||_.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(_).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Ie(o.placement),s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,d="left"===a?s.right.x:0,f=t.top-r+c>i,p=r-t.bottom-u>i,h=t.left-n+l>i,v=n-t.right-d>i;return f||p||h||v}))})(r,e)&&(P(),te(e))}}function J(e){X(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function K(e){b.props.trigger.indexOf("focusin")<0&&e.target!==k()||b.props.interactive&&e.relatedTarget&&_.contains(e.relatedTarget)||te(e)}function X(e){return!!Je.isTouch&&O()!==e.type.indexOf("touch")>=0}function $(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=A()?ct(_).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||k()}:e,l={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=T().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},l];A()&&c&&d.push({name:"arrow",options:{element:c,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=xe(u,_,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Pe(_.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),R();var t=F(!0),r=L(),o=r[0],i=r[1];Je.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=F(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else z()}}function ht(e,t){void 0===t&&(t={});var n=tt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Xe,Ae),window.addEventListener("blur",Qe);var r=Object.assign({},t,{plugins:n}),o=He(e).reduce((function(e,t){var n=t&&pt(t,r);return n&&e.push(n),e}),[]);return Be(e)?o[0]:o}ht.defaultProps=tt,ht.setDefaultProps=function(e){Object.keys(e).forEach((function(t){tt[t]=e[t]}))},ht.currentInput=Je;Object.assign({},se,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});ht.setDefaultProps({render:ut});var vt=ht;function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yt(e){for(var t=1;tt,l=a.children.length;e?l>1&&function(){var e=i.getElementsByTagName("p")[0];if("undefined"!==typeof e){var t=i.children.length>1,n=e.offsetHeight,o=getComputedStyle(e);n+=parseInt(o.marginTop)+parseInt(o.marginBottom),t&&(i.classList.add("toggled-off"),i.insertAdjacentHTML("afterend",r),i.style.height=n+"px");var a=document.querySelector(".see-more__button");a&&a.addEventListener("click",(function(){i.classList.contains("toggled-off")?(i.classList.remove("toggled-off"),i.style.height="auto"):(i.classList.add("toggled-off"),i.style.height=n+"px"),"See more"===a.textContent?a.textContent="See less":a.textContent="See more",a.classList.contains("toggled")?a.classList.remove("toggled"):a.classList.add("toggled")}))}}():n&&function(){if(o){var e=o.classList.contains("infobox__content")?150:120;o.clientHeight>e&&(o.classList.add("toggled-off","see-more-enabled"),o.insertAdjacentHTML("afterend",r));var t=document.querySelector(".see-more__button");t&&t.addEventListener("click",(function(){o.classList.contains("toggled-off")?o.classList.remove("toggled-off"):o.classList.add("toggled-off"),"See more"===t.textContent?t.textContent="See less":t.textContent="See more",t.classList.contains("toggled")?t.classList.remove("toggled"):t.classList.add("toggled");var e=t.closest(".see-more");e&&e.classList.toggle("toggled")}))}}()}};"loading"!==document.readyState?l():document.addEventListener("DOMContentLoaded",(function(e){l()}))},function(e,t,n){"use strict";n.r(t);var r=n(4),o=n.n(r),i=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],a=i.join(","),s="undefined"===typeof Element,c=s?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!s&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},l=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(a));return t&&c.call(e,a)&&r.unshift(e),r=r.filter(n)},d=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if("SLOT"===s.tagName){var u=s.assignedElements(),l=e(u.length?u:s.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scope:s,candidates:l})}else{c.call(s,a)&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var d=s.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(s),f=!r.shadowRootFilter||r.shadowRootFilter(s);if(d&&f){var p=e(!0===d?s.children:d.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:s,candidates:p})}else i.unshift.apply(i,s.children)}}return o},f=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},v=function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(c.call(o,"details:not([open]) *"))return!0;var i=u(e).host,a=(null===i||void 0===i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"===typeof r){for(var s=e;e;){var l=e.parentElement,d=u(e);if(l&&!l.shadowRoot&&!0===r(l))return m(e);e=e.assignedSlot?e.assignedSlot:l||d===e.ownerDocument?l:d.host}e=s}if(a)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},w=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,a=i?t.scope:t,s=f(a,i),c=i?e(t.candidates):a;0===s?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:c})})),r.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},_=function(e,t){var n;return n=(t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:b}):l(e,t.includeContainer,g.bind(null,t)),w(n)},x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==c.call(e,a)&&g(t,e)},E=i.concat("iframe").join(","),S=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==c.call(e,E)&&y(t,e)};function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),C=function(e){return setTimeout(e,0)},T=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},F=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?n-1:0),a=1;a=0)e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},f=function(){if(i.containerGroups=i.containers.map((function(e){var t,n,r=_(e,o.tabbableOptions),i=(t=e,(n=(n=o.tabbableOptions)||{}).getShadowRoot?d([t],n.includeContainer,{filter:y.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):l(t,n.includeContainer,y.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:i,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=i.findIndex((function(t){return t===e}));if(!(n<0))return t?i.slice(n+1).find((function(e){return x(e,o.tabbableOptions)})):i.slice(0,n).reverse().find((function(e){return x(e,o.tabbableOptions)}))}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeof e.select}(t)&&t.select()):e(u()))},h=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},v=function(e){var t=j(e);s(t)>=0||(F(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!S(t,o.tabbableOptions)}):F(o.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=j(e),n=s(t)>=0;n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),p(i.mostRecentlyFocusedNode||u()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==F(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=j(e);f();var n=null;if(i.tabbableGroups.length>0){var r=s(t),a=r>=0?i.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var u=T(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(a.container===t||S(t,o.tabbableOptions)&&!x(t,o.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(u=r),u>=0){var l=0===u?i.tabbableGroups.length-1:u-1;n=i.tabbableGroups[l].lastTabbableNode}}else{var d=T(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(a.container===t||S(t,o.tabbableOptions)&&!x(t,o.tabbableOptions)&&!a.nextTabbableNode(t))&&(d=r),d>=0){var h=d===i.tabbableGroups.length-1?0:d+1;n=i.tabbableGroups[h].firstTabbableNode}}}else n=c("fallbackFocus");n&&(e.preventDefault(),p(n))}(e)},b=function(e){var t=j(e);s(t)>=0||F(o.clickOutsideDeactivates,e)||F(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(i.active)return k.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?C((function(){p(u())})):p(u()),r.addEventListener("focusin",m,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},E=function(){if(i.active)return r.removeEventListener("focusin",m,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",g,!0),n};return(n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){o&&f(),w(),n&&n()};return o?(o(i.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!i.active)return this;var t=O({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,E(),i.active=!1,i.paused=!1,k.deactivateTrap(n);var r=a(t,"onDeactivate"),s=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),u=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var l=function(){C((function(){u&&p(h(i.nodeFocusedBeforeActivation)),s&&s()}))};return u&&c?(c(h(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,E()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,f(),w(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"===typeof e?r.querySelector(e):e})),i.active&&f(),this}}).updateContainerElements(e),n};!function(){var e=document.getElementById("burger-nav__toggle"),t=document.getElementById("burger-nav-overlay"),n=document.getElementById("burger-menu-close"),r=document.querySelector("body"),i=document.querySelectorAll(".menu-item-has-children"),a=document.getElementById("burger-nav__logo"),s=document.getElementById("burger-nav__back"),c=document.getElementById("burger-nav__top-bar"),u=null,l=27,d=document.getElementById("burger-nav__main-panel"),f=[d],p=!0,h=null,v=!1;function m(){f.length>1?c.classList.add("burger-nav__top-bar--show-back"):c.classList.remove("burger-nav__top-bar--show-back")}function y(){var e=f[f.length-1],n=p?[c].concat(f):[c,e];null!==u&&n.push(u),n.push(t);var r=h;(h=D(n,{initialFocus:e.querySelector(".menu-item a"),onActivate:function(){null!==r&&r.deactivate()}})).activate()}function g(e){p=e.matches,v&&y()}function b(e){e.keyCode===l&&(f.length>1?S():L())}function w(e){return parseInt(e.dataset.depth,10)}function _(e){var t=e.id.replace("submenu-panel-","");return document.querySelector("#menu-item-".concat(t," a"))}function x(e){return e.closest(".burger-nav__sub-panel")}function E(e){var t=w(e);if(1===t?2===f.length?S():3===f.length&&(S(),S()):2===t&&3===f.length&&S(),1===f.length)d.classList.remove("burger-nav__main-panel--show");else{var n=f[f.length-1];n.classList.add("burger-nav__sub-panel--show-child")}f.push(e),function(e){e.classList.add("burger-nav__sub-panel--show"),_(e).closest(".menu-item").classList.add("menu-item--sub-panel-open")}(e),m(),y()}function S(){if(1!==f.length){var e,t=f.pop();if((e=t).classList.remove("burger-nav__sub-panel--show"),_(e).closest(".menu-item").classList.remove("menu-item--sub-panel-open"),1===f.length)d.classList.add("burger-nav__main-panel--show");else!function(e){e.classList.remove("burger-nav__sub-panel--show-child")}(f[f.length-1]);m(),y()}}function L(){for(v=!1,t.classList.remove("burger-nav-overlay--show"),r.style.overflowY="",t.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false");f.length>1;)S();null!==h&&(h.deactivate(),h=null),window.dispatchEvent(new CustomEvent("burger-nav-menu-close"))}function O(){v=!0;var n=t.classList;n.remove("burger-nav-overlay--no-transition"),n.add("burger-nav-overlay--show"),r.style.overflowY="hidden",t.setAttribute("aria-hidden","false"),e.setAttribute("aria-expanded","true"),y();var o=document.querySelector(".current-menu-item");null!==o&&function(e){var t=x(e);if(null!==t){var n=w(t);1===n&&E(t),2===n&&(E(x(_(t))),E(t))}}(o),window.dispatchEvent(new CustomEvent("burger-nav-menu-open"))}function A(){t.classList.contains("burger-nav-overlay--show")?L():O()}window.addEventListener("rappler-toggle-burger-nav",(function(){A()})),function(){e.addEventListener("click",A),n.addEventListener("click",L),o()(i).forEach((function(e){var t=e.querySelector("a");t&&t.addEventListener("click",(function(t){t.preventDefault();var n,r=e.id.replace("menu-item-","");E((n=r,document.getElementById("submenu-panel-"+n)))}))})),a.addEventListener("click",L),s.addEventListener("click",S),t.addEventListener("keydown",b),t.addEventListener("click",(function(e){e.target===t&&L()}));var r=window.matchMedia("(min-width: 1180px)");r.addEventListener("change",g),g(r),document.addEventListener("DOMContentLoaded",(function(){u=document.getElementById("wpadminbar")}))}()}()},,,function(e,t,n){"use strict";n.r(t);var r=function(e){e.preventDefault();var t=e.target;t.closest(".modal__inner").querySelector(".modal__page--1").classList.add("hidden"),t.closest(".modal__inner").querySelector(".modal__page--2").classList.remove("hidden")};n.e(0).then(n.bind(null,19)).then((function(e){e.default.init({disableScroll:!0,disableFocus:!0})}));var o=document.querySelectorAll(".modal__button--next");o&&o.forEach((function(e){return e.addEventListener("click",r)}))}]);