PageSourceSearch

https://www.rappler.com/content/themes/rappler/build/rappler-theme…?ver=59573dbc580d8af286f6

js rappler.com collected 2026-09-24 08:25:46 UTC 171,772 bytes, 1 lines download raw bytes

1!function(e){function t(t){for(var n,o,i=t[0],a=t[1],s=0,u=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={6:0,8:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(e){return o.p+""+({}[e]||e)+"."+{0:"c4de9dc15f11c067ccb7"}[e]+".chunk.js"}(e);var c=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var c=a;o(o.s=89)}([function(e,t,n){var r=n(7)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(19),o=n(20),i=n(11),a=n(21);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}},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){if(e){var t={left:0,x:0},n=function(n){var r=n.clientX-t.x;e.scrollLeft=t.left-r},r=function t(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t),e.style.cursor="grab",e.style.removeProperty("user-select")};e.addEventListener("mousedown",(function(o){t={left:e.scrollLeft,x:o.clientX},e.style.cursor="grabbing",e.style.userSelect="none",document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)}))}}},,function(e,t,n){var r=n(22),o=n(23),i=n(11),a=n(24);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(6).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)}))}
vendor: 4,707 bytes, line 1
1))}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<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:void 0,done:!0}}return m.prototype=y,a(_,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:m,configurable:!0}),m.displayName=d(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,d(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},x(E.prototype),d(E.prototype,u,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(_),d(_,l,"Generator"),d(_,c,(function(){return this})),d(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=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<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);
1var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=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,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(12),o=n.n(r),i=n(1),a=n.n(i);function s(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=/<script[^>]+src=(['"])(.*?)\1/i,l=/<script[\s\S]*?>[\s\S]*?createElement[\s\S]*?src\s?=\s?(['"])(.*?)\1/i,d={"connect.facebook.net":{isLoaded:function(){if(!document.querySelector("body >
1 #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(/<script[\s\S]*?<\/script>/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("&amp;","&"),document.head.appendChild(t),t}(t)})))}},function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}
1function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function d(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}function f(){return f="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=d(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},f.apply(this,arguments)}n.d(t,"a",(function(){return Q}));var p={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function h(e){console.error("[Glide warn]: ".concat(e))}function v(e){return parseInt(e)}function m(e){return"string"===typeof e}function y(e){var t=r(e);return"function"===t||"object"===t&&!!e}function g(e){return"function"===typeof e}function b(e){return"undefined"===typeof e}function w(e){return e.constructor===Array}function _(e,t,n){var r={};for(var o in t)g(t[o])?r[o]=t[o](e,r,n):h("Extension must be a function");for(var i in r)g(r[i].mount)&&r[i].mount();return r}function x(e,t,n){Object.defineProperty(e,t,n)}function E(e,t){var n=Object.assign({},e,t);return t.hasOwnProperty("classes")&&(n.classes=Object.assign({},e.classes,t.classes),t.classes.hasOwnProperty("direction")&&(n.classes.direction=Object.assign({},e.classes.direction,t.classes.direction)),t.classes.hasOwnProperty("type")&&(n.classes.type=Object.assign({},e.classes.type,t.classes.type)),t.classes.hasOwnProperty("slide")&&(n.classes.slide=Object.assign({},e.classes.slide,t.classes.slide)),t.classes.hasOwnProperty("arrow")&&(n.classes.arrow=Object.assign({},e.classes.arrow,t.classes.arrow)),t.classes.hasOwnProperty("nav")&&(n.classes.nav=Object.assign({},e.classes.nav,t.classes.nav))),t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var S=function(){function e(){var t=arguments.length>0&&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;r<e.length;r++)this.on(e[r],t)}},{key:"emit",value:function(e,t){if(w(e))for(var n=0;n<e.length;n++)this.emit(e[n],t);else this.hop.call(this.events,e)&&this.events[e].forEach((function(e){e(t||{})}))}}]),e}(),L=function(){function e(t){var n=arguments.length>1&&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||(
vendor: 16,106 bytes, line 1
1o=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;o<e.length;o++)this.listeners[e[o]]=n,t.addEventListener(e[o],this.listeners[e[o]],r)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(e)&&(e=[e]);for(var r=0;r<e.length;r++)t.removeEventListener(e[r],this.listeners[e[r]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();var D=["ltr","rtl"],M={">":"<","<":">","=":"="};function I(e,t){return{modify:function(e){return t.Direction.is("rtl")?-e:e}}}function q(e,t){return{modify:function(e){var n=Math.floor(e/t.Sizes.slideWidth);return e+t.Gaps.value*n}}}function P(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 $(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 X={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=[q,P,N,B].concat(e._t,[I]);return{mutate:function(o){for(var i=0;i<r.length;i++){var a=r[i];g(a)&&g(a().modify)?o=a(e,t,n).modify(o):h("Transformer should be a function that returns an object with `modify()` method")}return o}}}(e,t).mutate(n),o="translate3d(".concat(-1*r,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=o,t.Html.wrapper.style.webkitTransform=o,t.Html.wrapper.style.transform=o},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var n=t.Sizes.length,r=e.index,o=e.settings.perView;return t.Run.isOffset(">")||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;r<n.length;r++)n[r].style.width=e},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var e=t.Html.slides,n=0;n<e.length;n++)e[n].style.width="";t.Html.wrapper.style.width=""}};return x(r,"length",{get:function(){return t.Html.slides.length}}),x(r,"width",{get:function(){return t.Html.track.offsetWidth}}),x(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+t.Gaps.grow+t.Clones.grow}}),x(r,"slideWidth",{get:function(){return r.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){r.setupSlides(),r.setupWrapper()})),n.on("destroy",(function(){r.remove()})),r},Gaps:function(e,t,n){var r={apply:function(e){for(var n=0,r=e.length;n<r;n++){var o=e[n].style,i=t.Direction.value;o[k[i][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==e.length-1?o[k[i][1]]="".concat(this.value/2,"px"):o[k[i][1]]=""}},remove:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t].style;r.marginLeft="",r.marginRight=""}}};return x(r,"value",{get:function(){return v(e.settings.gap)}}),x(r,"grow",{get:function(){return r.value*t.Sizes.length}}),x(r,"reductor",{get:function(){var t=e.settings.perView;return r.value*(t-1)/t}}),n.on(["build.after","update"],A((function(){r.apply(t.Html.wrapper.children)}),30)),n.on("destroy",(function(){r.remove(t.Html.wrapper.children)})),r},Move:function(e,t,n){var r={mount:function(){this._o=0},make:function(){var e=this,r=arguments.length>0&&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;f<Math.max(s,Math.floor(i/r.length));f++){for(var p=0;p<l.length;p++){var h=l[p].cloneNode(!0);h.classList.add(a.slide.clone),n.push(h)}for(var v=0;v<d.length;v++){var m=d[v].cloneNode(!0);m.classList.add(a.slide.clone),n.unshift(m)}}return n},append:function(){for(var e=this.items,n=t.Html,r=n.wrapper,o=n.slides,i=Math.floor(e.length/2),a=e.slice(0,i).reverse(),s=e.slice(-1*i).reverse(),c="".concat(t.Sizes.slideWidth,"px"),u=0;u<s.length;u++)r.appendChild(s[u]);for(var l=0;l<a.length;l++)r.insertBefore(a[l],o[0]);for(var d=0;d<e.length;d++)e[d].style.width=c},remove:function(){for(var e=this.items,n=0;n<e.length;n++)t.Html.wrapper.removeChild(e[n])}};return x(r,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*r.items.length}}),n.on("update",(function(){r.remove(),r.mount(),r.append()})),n.on("build.before",(function(){e.isType("carousel")&&r.append()})),n.on("destroy",(function(){r.remove()})),r},Resize:function(e,t,n){var r=new j,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,A((function(){n.emit("resize")}),e.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Build:function(e,t,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var n=e.settings.classes,r=t.Html.slides[e.index];r&&(r.classList.add(n.slide.active),C(r).forEach((function(e){e.classList.remove(n.slide.active)})))},removeClasses:function(){var n=e.settings.classes,r=n.type,o=n.slide;t.Html.root.classList.remove(r[e.settings.type]),t.Html.slides.forEach((function(e){e.classList.remove(o.active)}))}};return n.on(["destroy","update"],(function(){r.removeClasses()})),n.on(["resize","update"],(function(){r.mount()})),n.on("move.after",(function(){r.activeClass()})),r},Run:function(e,t,n){var r={mount:function(){this._o=!1},make:function(r){var o=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=r,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after((function(){o.isStart()&&n.emit("run.start",o.move),o.isEnd()&&n.emit("run.end",o.move),o.isOffset()&&(o._o=!1,n.emit("run.offset",o.move)),n.emit("run.after",o.move),e.enable()})))},calculate:function(){var t=this.move,n=this.length,o=t.steps,i=t.direction,a=1;if("="===i)return e.settings.bound&&v(o)>n?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.PI<c))return!1;r.stopPropagation(),t.Move.make(f*parseFloat(u)),t.Html.root.classList.add(l.dragging),n.emit("swipe.move")}},end:function(r){if(!e.disabled){var a=e.settings,s=a.perSwipe,c=a.touchAngle,u=a.classes,l=this.touches(r),d=this.threshold(r),f=l.pageX-i,p=180*o/Math.PI;this.enable(),f>d&&p<c?t.Run.make(t.Direction.resolve("".concat(s,"<"))):f<-d&&p<c?t.Run.make(t.Direction.resolve("".concat(s,">"))):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<this.items.length;e++)this.items[e].draggable=!1;o=!0}return this},attach:function(){if(i=!1,o){for(var e=0;e<this.items.length;e++)this.items[e].draggable=!0;o=!1}return this}};return x(a,"items",{get:function(){return a._a}}),n.on("swipe.move",(function(){a.detach()})),n.on("swipe.end",(function(){t.Transition.after((function(){a.attach()}))})),n.on("destroy",(function(){a.attach(),a.unbind(),r.destroy()})),a},Controls:function(e,t,n){var r=new j,o=!!H&&{passive:!0},i={mount:function(){this._n=t.Html.root.querySelectorAll('[data-glide-el="
1controls[nav]"]'),this._c=t.Html.root.querySelectorAll(Y),this._arrowControls={previous:t.Html.root.querySelectorAll(J),next:t.Html.root.querySelectorAll(K)},this.addBindings()},setActive:function(){for(var e=0;e<this._n.length;e++)this.addClass(this._n[e].children)},removeActive:function(){for(var e=0;e<this._n.length;e++)this.removeClass(this._n[e].children)},addClass:function(t){var n=e.settings,r=t[e.index];r&&r&&(r.classList.add(n.classes.nav.active),C(r).forEach((function(e){e.classList.remove(n.classes.nav.active)})))},removeClass:function(t){var n=t[e.index];n&&n.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var n=i._arrowControls.next,r=i._arrowControls.previous;this.resetArrowState(n,r),0===e.index&&this.disableArrow(r),e.index===t.Run.length&&this.disableArrow(n)}},resetArrowState:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach((function(e){e.forEach((function(e){e.classList.remove(t.classes.arrow.disabled)}))}))},disableArrow:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach((function(e){e.forEach((function(e){e.classList.add(t.classes.arrow.disabled)}))}))},addBindings:function(){for(var e=0;e<this._c.length;e++)this.bind(this._c[e].children)},removeBindings:function(){for(var e=0;e<this._c.length;e++)this.unbind(this._c[e].children)},bind:function(e){for(var t=0;t<e.length;t++)r.on("click",e[t],this.click),r.on("touchstart",e[t],this.click,o)},unbind:function(e){for(var t=0;t<e.length;t++)r.off(["click","touchstart"],e[t])},click:function(e){H||"touchstart"!==e.type||e.preventDefault();var n=e.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(n))}};return x(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],(function(){i.setActive()})),n.on(["mount.after","run"],(function(){i.setArrowState()})),n.on("destroy",(function(){i.removeBindings(),i.removeActive(),r.destroy()})),i},Keyboard:function(e,t,n){var r=new j,o={mount:function(){e.settings.keyboard&&this.bind()},bind:function(){r.on("keyup",document,this.press)},unbind:function(){r.off("keyup",document)},press:function(n){var r=e.settings.perSwipe;39===n.keyCode&&t.Run.make(t.Direction.resolve("".concat(r,">"))),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=$(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=$(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({}
1,X,e))}}]),n}(L)},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(10);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(44);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},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(5),o=n.n(r),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function c(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=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}
1)).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;b<v.length;++b,++g){for(var w=v[b],_=a*g,x=_-a,E=o[_],S=Math.max(0,g-n-1),L=Math.min(a-1,g+n),O=S;O<L;++O){var A=w!==t[O],k=o[x+O]+ +A,C=o[x+O+1]+1,T=o[_+O]+1,F=o[_+O+1]=Math.min(k,C,T);F<E&&(E=F)}if(E>n)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;s<o;++s)a[s]=s;for(var c=1;c<i;++c)a[c*o]=c;return m(e,t,n,r,a,1,o,""),r}(this._tree,e,t)},e.prototype.get=function(e){var t=b(this._tree,e);return void 0!==t?t.get(p):void 0},e.prototype.has=function(e){var t=b(this._tree,e);return void 0!==t&&t.has(p)},e.prototype.keys=function(){return new h(this,d)},e.prototype.set=function(e,t){if("string"!==typeof e)throw new Error("key must be a string");return this._size=void 0,w(this._tree,e).set(p,t),this},Object.defineProperty(e.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),e.prototype.update=function(e,t){if("string"!==typeof e)throw new Error("key must be a string");this._size=void 0;var n=w(this._tree,e);return n.set(p,t(n.get(p))),this},e.prototype.fetch=function(e,t){if("string"!==typeof e)throw new Error("key must be a string");this._size=void 0;var n=w(this._tree,e),r=n.get(p);return void 0===r&&n.set(p,r=t()),r},e.prototype.values=function(){return new h(this,f)},e.prototype[Symbol.iterator]=function(){return this.entries()},e.from=function(t){var n,r,o=new e;try{for(var i=c(t),a=i.next();!a.done;a=i.next()){var s=u(a.value,2),l=s[0],d=s[1];o.set(l,d)}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o},e.fromObject=function(t){return e.from(Object.entries(t))},e}(),g=function(e,t,n){var r,o;if(void 0===n&&(n=[]),0===t.length||null==e)return[e,n];try{for(var i=c(e.keys()),a=i.next();!a.done;a=i.next()){var s=a.value;if(s!==p&&t.startsWith(s))return n.push([e,s]),g(e.get(s),t.slice(s.length),n)}}catch(u){r={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return n.push([e,t]),g(void 0,"",n)},b=function(e,t){var n,r;if(0===t.length||null==e)return e;try{for(var o=c(e.keys()),i=o.next();!i.done;i=o.next()){var a=i.value;if(a!==p&&t.startsWith(a))return b(e.get(a),t.slice(a.length))}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},w=function(e,t){var n,r,o=t.length;e:for(var i=0;e&&i<o;){try{for(var a=(n=void 0,c(e.keys())),s=a.next();!s.done;s=a.next()){var u=s.value;if(u!==p&&t[i]===u[0]){for(var l=Math.min(o-i,u.length),d=1;d<l&&t[i+d]===u[d];)++d;var f=e.get(u);if(d===u.length)e=f;else{var h=new Map;h.set(u.slice(d),f),e.set(t.slice(i,i+d),h),e.delete(u),e=h}i+=d;continue e}}}catch(m){n={error:m}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}var v=new Map;return e.set(t.slice(i),v),v}return e},_=function(e,t){var n=u(g(e,t),2),r=n[0],o=n[1];if(void 0!==r)if(r.delete(p),0===r.size)x(o);
1else if(1===r.size){var i=u(r.entries().next().value,2),a=i[0],s=i[1];E(o,a,s)}},x=function(e){if(0!==e.length){var t=u(S(e),2),n=t[0],r=t[1];if(n.delete(r),0===n.size)x(e.slice(0,-1));else if(1===n.size){var o=u(n.entries().next().value,2),i=o[0],a=o[1];i!==p&&E(e.slice(0,-1),i,a)}}},E=function(e,t,n){if(0!==e.length){var r=u(S(e),2),o=r[0],i=r[1];o.set(i+t,n),o.delete(i)}},S=function(e){return e[e.length-1]},L="or",O=function(){function e(e){if(null==(null===e||void 0===e?void 0:e.fields))throw new Error('MiniSearch: option "fields" must be provided');var t=null==e.autoVacuum||!0===e.autoVacuum?q:e.autoVacuum;this._options=i(i(i({},F),e),{autoVacuum:t,searchOptions:i(i({},j),e.searchOptions||{}),autoSuggestOptions:i(i({},D),e.autoSuggestOptions||{})}),this._index=new y,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=I,this.addFields(this._options.fields)}return e.prototype.add=function(e){var t,n,r,o,i,a,s=this._options,u=s.extractField,l=s.tokenize,d=s.processTerm,f=s.fields,p=s.idField,h=u(e,p);if(null==h)throw new Error('MiniSearch: document does not have ID field "'.concat(p,'"'));if(this._idToShortId.has(h))throw new Error("MiniSearch: duplicate ID ".concat(h));var v=this.addDocumentId(h);this.saveStoredFields(v,e);try{for(var m=c(f),y=m.next();!y.done;y=m.next()){var g=y.value,b=u(e,g);if(null!=b){var w=l(b.toString(),g),_=this._fieldIds[g],x=new Set(w).size;this.addFieldLength(v,_,this._documentCount-1,x);try{for(var E=(r=void 0,c(w)),S=E.next();!S.done;S=E.next()){var L=d(S.value,g);if(Array.isArray(L))try{for(var O=(i=void 0,c(L)),A=O.next();!A.done;A=O.next()){var k=A.value;this.addTerm(_,v,k)}}catch(C){i={error:C}}finally{try{A&&!A.done&&(a=O.return)&&a.call(O)}finally{if(i)throw i.error}}else L&&this.addTerm(_,v,L)}}catch(T){r={error:T}}finally{try{S&&!S.done&&(o=E.return)&&o.call(E)}finally{if(r)throw r.error}}}}}catch(F){t={error:F}}finally{try{y&&!y.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}},e.prototype.addAll=function(e){var t,n;try{for(var r=c(e),o=r.next();!o.done;o=r.next()){var i=o.value;this.add(i)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.addAllAsync=function(e,t){var n=this;void 0===t&&(t={});var r=t.chunkSize,o=void 0===r?10:r,i={chunk:[],promise:Promise.resolve()},a=e.reduce((function(e,t,r){var i=e.chunk,a=e.promise;return i.push(t),(r+1)%o===0?{chunk:[],promise:a.then((function(){return new Promise((function(e){return setTimeout(e,0)}))})).then((function(){return n.addAll(i)}))}:{chunk:i,promise:a}}),i),s=a.chunk;return a.promise.then((function(){return n.addAll(s)}))},e.prototype.remove=function(e){var t,n,r,o,i,a,s=this._options,u=s.tokenize,l=s.processTerm,d=s.extractField,f=s.fields,p=s.idField,h=d(e,p);if(null==h)throw new Error('MiniSearch: document does not have ID field "'.concat(p,'"'));var v=this._idToShortId.get(h);if(null==v)throw new Error("MiniSearch: cannot remove document with ID ".concat(h,": it is not in the index"));try{for(var m=c(f),y=m.next();!y.done;y=m.next()){var g=y.value,b=d(e,g);if(null!=b){var w=u(b.toString(),g),_=this._fieldIds[g],x=new Set(w).size;this.removeFieldLength(v,_,this._documentCount,x);try{for(var E=(r=void 0,c(w)),S=E.next();!S.done;S=E.next()){var L=l(S.value,g);if(Array.isArray(L))try{for(var O=(i=void 0,c(L)),A=O.next();!A.done;A=O.next()){var k=A.value;this.removeTerm(_,v,k)}}catch(C){i={error:C}}finally{try{A&&!A.done&&(a=O.return)&&a.call(O)}finally{if(i)throw i.error}}else L&&this.removeTerm(_,v,L)}}catch(T){r={error:T}}finally{try{S&&!S.done&&(o=E.return)&&o.call(E)}finally{if(r)throw r.error}}}}}catch(F){t={error:F}}finally{try{y&&!y.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}this._storedFields.delete(v),this._documentIds.delete(v),this._idToShortId.delete(h),this._fieldLength.delete(v),this._documentCount-=1},e.prototype.removeAll=function(e){var t,n;if(e)try{for(var r=c(e),o=r.next();!o.done;o=r.next()){var i=o.value;this.remove(i)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}else{if(arguments.length>0)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)||[]).forEac
1h((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||q.minDirtCount,n=n||q.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}
1,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 q=I.value,P=j[q];1===_&&(P=P.ds),D.set(parseInt(q,10),z(P))}}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(P){n={error:P}}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),q=I[0];if(M=I[1]){T=g*k.length/(k.length+M);this.termResults(e.term,k,T,q,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,P(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}}
1finally{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;t++)this._fieldIds[e[t]]=t},e.prototype.addFieldLength=function(e,t,n,r){var o=this._fieldLength.get(e);null==o&&this._fieldLength.set(e,o=[]),o[t]=r;var i=(this._avgFieldLength[t]||0)*n+r;this._avgFieldLength[t]=i/(n+1)},e.prototype.removeFieldLength=function(e,t,n,r){if(1!==n){var o=this._avgFieldLength[t]*n-r;this._avgFieldLength[t]=o/(n-1)}else this._avgFieldLength[t]=0},e.prototype.saveStoredFields=function(e,t){var n,r,o=this._options,i=o.storeFields,a=o.extractField;if(null!=i&&0!==i.length){var s=this._storedFields.get(e);null==s&&this._storedFields.set(e,s={});try{for(var u=c(i),l=u.next();!l.done;l=u.next()){var d=l.value,f=a(t,d);void 0!==f&&(s[d]=f)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}},e.wildcard=Symbol("*"),e}(),A=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0},k=((l={}).or=function(e,t){var n,r;try{for(var o=c(t.keys()),i=o.next();!i.done;i=o.next()){var a=i.value,s=e.get(a);if(null==s)e.set(a,t.get(a));else{var u=t.get(a),l=u.score,d=u.terms,f=u.match;s.score=s.score+l,s.match=Object.assign(s.match,f),N(s.terms,d)}}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e},l.and=function(e,t){var n,r,o=new Map;try{for(var i=c(t.keys()),a=i.next();!a.done;a=i.next()){var s=a.value,u=e.get(s);if(null!=u){var l=t.get(s),d=l.score,f=l.terms,p=l.match;N(u.terms,f),o.set(s,{score:u.score+d,terms:u.terms,match:Object.assign(u.match,p)})}}}catch(h){n={error:h}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o},l.and_not=function(e,t){var n,r;try{for(var o=c(t.keys()),i=o.next();!i.done;i=o.next()){var a=i.value;e.delete(a)}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e},l),C=function(e,t,n,r,o,i){var a=i.k,s=i.b,c=i.d;return Math.log(1+(n-t+.5)/(t+.5))*(c+e*(a+1)/(e+a*(1-s+s*r/o)))},T=function(e){return function(t,n,r){return{term:t,fuzzy:"function"===typeof e.fuzzy?e.fuzzy(t,n,r):e.fuzzy||!1,prefix:"function"===typeof e.prefix?e.prefix(t,n,r):!0===e.prefix}}},F={idField:"id",extractField:function(e,t){return e[t]},tokenize:function(e){return e.split(H)},processTerm:function(e){return e.toLowerCase()},fields:void 0,searchOptions:void 0,storeFields:[],logger:function(e,t){"function"===typeof(null===console||void 0===console?void 0:console[e])&&console[e](t)},autoVacuum:!0},j={combineWith:L,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:{k:1.2,b:.7,d:.5}},D={combineWith:"and",prefix:function(e,t,n){return t===n.length-1}},M={batchSize:1e3,batchWait:10},I={minDirtFactor:.1,minDirtCount:20},q=i(i({},M),I),P=function(e,t){e.includes(t)||e.push(t)},N=function(e,t){var n,r;try{for(var o=c(t),i=o.next();!i.done;i=o.next()){var a=i.value;e.includes(a)||e.push(a)}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},B=function(e,t){var n=e.score;return t.score-n},R=function(){return new Map},z=function(e){var t,n,r=new Map;try{for(var o=c(Object.keys(e)),i=o.next();!i.done;i=o.next()){var a=i.value;r.set(parseInt(a,10),e[a])}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},H=/[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u,V=n(3),W=function(){var e=function(e,t){t.dataset.tabKey&&t.dataset.titleText&&(!function(){for(var e=document.getElementsByClassName("topic-directory-places__tabcontent"),t=0;t<e.length;t++)e[t].style.display="none";for(var n=document.getElementsByClassName("topic-directory-places__tablink"),r=0;r<n.length;r++)n[r].classList.remove("active")}(),document.getElementById("".concat(t.dataset.tabKey,"-place-section")).style.display="block",t.classList.add("active"))};document.querySelectorAll(".topic-directory-places__tablink").forEach((function(t){t.addEventListener("click",(function(n){e(0,t)}))}))},U=n(1),G=n.n(U);function Y(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=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<t;n++)r[n]=e[n];return r}var K="empty-section",$="search-section",X={people:"https://schema.org/Person",event:"https://schema.org/Event",organizations:"https://schema.org/Organization",places:"https://schema.org/Place"},Q=function(){var e,t="all",n=document.querySelector(".topic-directory__tablink.active");n instanceof HTMLElement&&(t=(null===n||void 0===n||null===(e=n.dataset)||void 0===e?void 0:e.tabKey)||"all");return t},Z=function(){document.querySelectorAll(".topic-directory__button-nav .button").forEach((function(e){e.classList.remove("active"),"All"===e.textContent&&e.classList.add("active")}))},ee=function(){for(var e=document.getElementsByClassName("topic-directory__section"),t=0;t<e.length;t++)e[t].style.display="block";document.querySelectorAll(".topic-directory__button-nav .button").forEach((function(e){e.classList.remove("active")}))},te=function(){var e=document.querySelector("#".concat(K));null===e||void 0===e||e.remove();var t=document.querySelector("#".concat($));null===t||void 0===t||t.remove()},ne=function(e){var t=document.querySelector("#".concat(K));null===t||void 0===t||t.remove();var n=document.createElement("div");n.id=K;var r=document.createElement("div");r.classList.add("topic-directory__selected-indicator"),r.innerHTML=e;var o=document.createElement("p");o.classList.add("topic-directory__main-no-content"),o.innerHTML="Sorry, nothing to see here yet. <br/> 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;t<e.length;t++)e[t].style.display="none";document.querySelectorAll(".topic-directory__button-nav .button").forEach((function(e){e.classList.remove("active")}))}();var n=Q(),r=e.search(t,{prefix:!0,fuzzy:.2,filter:function(e){if("all"!==n){var t,r,i=null!==(t=e.implicitType)&&void 0!==t?t:[],a=null!==(r=e.explicitType)&&void 0!==r?r:[];if("newsTopics"!==n)return i.includes(X[n])||a.includes(X[n]);var s=!1;return Object.entries(X).forEach((function(e){var t=o()(e,2),n=(t[0],t[1]);(i.includes(n)||a.includes(n))&&(s=!0)})),!s}return!0}});r.length>0?function(e,t){var n=document.createElement("div");n.id=$;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;a<e.length;a++){var s=document.createElement("a");s.href=e[a].URL,s.target="_blank",s.textContent=e[a].name;var c=document.createElement("li");c.appendChild(s),i.appendChild(c)}o.appendChild(i),n.appendChild(r),n.appendChild(o),document.querySelector(".topic-directory__main").appendChild(n)}(r,t):ne(t)}},n=document.getElementById("topic-directory-search");n&&n.addEventListener("submit",(function(e){e.preventDefault(),0===document.querySelector('input[name="query"]').value.length||n.checkValidity()?t():n.reportValidity()}));var r=document.querySelector(".topic-directory__search-button");r&&r.addEventListener("click",t);var i=document.querySelector('input[name="query"]');i&&i.addEventListener("keydown",(function(e){13===e.keyCode&&t()})),window.topicDirectorySearch=e},oe=function(){var e=function(e,t){if(t.dataset.tabKey&&t.dataset.titleText){!function(){for(var e=document.getElementsByClassName("topic-directory__button-nav"),t=0;t<e.length;t++)e[t].style.display="grid";for(var n=document.getElementsByClassName("topic-directory__tabcontent"),r=0;r<n.length;r++)n[r].style.display="none";for(var o=document.getElementsByClassName("topic-directory__tablink"),i=0;i<o.length;i++)o[i].classList.remove("active")}(),ee(),te(),Z(),document.getElementById(t.dataset.tabKey).style.display="block",t.classList.add("active"),document.getElementById("tab-title").textContent=t.dataset.titleText;
1for(var n=document.getElementsByClassName("topic-directory__select-nav"),r=0;r<n.length;r++)n[r].style.display="places"===t.dataset.tabKey?"none":"";for(var o=document.getElementsByClassName("topic-directory__button-nav"),i=0;i<o.length;i++)o[i].style.display="places"===t.dataset.tabKey?"none":"grid";var a=document.getElementById("topic-directory-search");if(null!==a&&void 0!==a&&a.style){var s=window.innerWidth;a.style.display="places"===t.dataset.tabKey?"none":s>768?"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;o<r.length;o++){var i="".concat(t.textContent,"-section")===r[o].id;r[o].style.display="none",i&&(r[o].style.display="block",n=!1)}n?ne(t.textContent):te()}}(0,e)}))}))},ae=function(){document.querySelectorAll(".topic-directory__button-nav .button").forEach((function(e){e.addEventListener("click",(function(t){!function(e,t){ee(),te();var n=!0;if(t.classList.add("active"),document.querySelector("#custom-select .selected-letter").textContent=t.textContent,"All"!==t.textContent){for(var r=Q(),o=document.querySelectorAll("#".concat(r,".topic-directory__tabcontent .topic-directory__section")),i=0;i<o.length;i++){var a="".concat(t.textContent,"-section")===o[i].id;o[i].style.display="none",a&&(o[i].style.display="block",n=!1)}n?ne(t.textContent):te()}}(0,e)}))}))},se=function(){if("/topic-directory/"===window.location.pathname||"/topic-directory"===window.location.pathname){Object(V.a)(document.querySelector(".topic-directory__tabs ul")),re(),oe(),ie(),ae(),W(),Object(V.a)(document.querySelector(".topic-directory-places__tabs ul")),function(){var e=document.querySelector(".masthead__breadcrumbs--override"),t=0;window.addEventListener("scroll",(function(){var n=window.pageYOffset||document.documentElement.scrollTop;n>t?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;t<e.length;t++)e[t]&&(e[t].id=t+1);return null===e||void 0===e?void 0:e.filter((function(e){return e}))}(function(e){for(var t,n=[],r=Object.values(e),o=0;o<r.length;o++)n=n.concat(Object.values(r[o]));return(t=[]).concat.apply(t,G()(n)).filter((function(e){return e}))}(placesJson)),l=new O({fields:["Name","name"],storeFields:["id","Name","name","Section","parentName","url","URL","isPublished"]});function d(e,t,n){var r=u.find((function(t){return((null===t||void 0===t?void 0:t.name)===e||(null===t||void 0===t?void 0:t.Name)===e)&&"type"in t}));if(r)return r.type;var o=Object.keys(1===t.length?t[0]:t);if((null===o||void 0===o?void 0:o.length)>n&&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<r;i++)o[i]=arguments[i];window.clearTimeout(n),n=window.setTimeout((function(){e.apply(void 0,o)}),t)}}((function(e,t){for(var n=l.search(e,{fuzzy:.2,prefix:!0}),r=p(n.slice(0,5)),o=r.map((function(e){return d(e.name||e.Name,placesJson,0)})).filter((function(e){return e})),i={},a=0;a<o.length;a++)!i[o[a]]&&o[a]&&(i[o[a]]=[]),i[o[a]].push(r[a]);for(var s=r[0],h=0;d((null===(v=s)||void 0===v?void 0:v.name)||(null===(m=s)||void 0===m?void 0:m.Name),placesJson,0)&&d((null===(y=s)||void 0===y?void 0:y.name)||(null===(g=s)||void 0===g?void 0:g.Name),placesJson,0)&&h<4;){var v,m,y,g,b,w,_,x,E=p(f((null===(b=s)||void 0===b?void 0:b.name)||(null===(w=s)||void 0===w?void 0:w.Name),"parentName",u));E&&s&&function(){for(var e,t,n,r,o=E[0],a=E.length-1;a>=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<r.length;S++)for(s=r[S];d((null===(L=s)||void 0===L?void 0:L.name)||(null===(O=s)||void 0===O?void 0:O.Name),placesJson,0)&&!["Points of Interest"].includes(d((null===(A=s)||void 0===A?void 0:A.name)||(null===(k=s)||void 0===k?void 0:k.Name),placesJson,0))&&h<4;){var L,O,A,k,C;null!==(C=s)&&void 0!==C&&C.parentName&&function(){var e=p(f(s.parentName,"Name",u));if(s&&e[0]){var t,n;c[s.Name||s.name]=e[0];var r=d((null===(t=e[0])||void 0===t?void 0:t.name)||(null===(n=e[0])||void 0===n?void 0:n.Name),placesJson,0);0===S&&r&&(i[r]?i[r].some((function(t){var n,r,o,i;return(null===t||void 0===t?void 0:t.name)===(null===(n=e[0])||void 0===n?void 0:n.name)||(null===t||void 0===t?void 0:t.Name)===(null===(r=e[0])||void 0===r?void 0:r.Name)||(null===t||void 0===t?void 0:t.name)===(null===(o=e[0])||void 0===o?void 0:o.Name)||(null===t||void 0===t?void 0:t.Name)===(null===(i=e[0])||void 0===i?void 0:i.name)}))||i[r].push(e[0]):i[r]=[e[0]])}s=p(f(s.parentName,"Name",u))[0]}(),h+=1}t({primaryCategories:o,mappedPrimaryCategories:i,minisearchResult:n})}),500);function v(e,t,n,r,o){var i=document.createElement(e);
1if("a"===e){var a=document.createElement("p"),s=document.createAttribute("href");t.isPublished&&(t.URL||t.url)?(s.value=t.URL||t.url,i.setAttributeNode(s)):(a.style.pointerEvents="none",a.style.cursor="default"),i.appendChild(a);var u=document.createTextNode(t.Name||t.name);if(a.appendChild(u),o&&(t.Name||t.name)&&c[t.Name||t.name]){var l=document.createElement("p"),d=document.createTextNode("".concat(o," ").concat(c[t.Name||t.name].Name||c[t.name||t.Name].name));l.appendChild(d),i.appendChild(l)}}else if(t.includes("No results found for")||t.includes("Try adjusting your search to find what you are looking for.")){var f=document.createTextNode(t);i.appendChild(f)}else{var p=document.createTextNode(t);i.appendChild(p);var h=document.createElement("i"),v=document.createAttribute("class");v.value="arrow-icon",h.setAttributeNode(v),i.appendChild(h)}var m=document.createAttribute("class");m.value=n,i.setAttributeNode(m),r.appendChild(i)}n&&r&&i&&(null===r||void 0===r||r.addEventListener("click",s),null===i||void 0===i||i.addEventListener("input",(function(){n.style.visibility="hidden",a(),null!==i&&void 0!==i&&i.value&&i.value.length?h(i.value,(function(e){r.style.visibility="visible",n.style.visibility="visible";var t=e.minisearchResult,a=Object.keys(e.mappedPrimaryCategories),c={Provinces:"Province in",Cities:"City in",City:"City in",Regions:"Region in",BARMM:"Province or Independent City in"},u=new Set;t.forEach((function(e){return u.add(e.Name)}));for(var l=function(){var t=o()(f[d],2),n=t[0],r=t[1];if("BARMM"===n||"City"===n){var i=[];r.forEach((function(e){u.has(e.Name)&&i.push(r)})),i.length||delete e.mappedPrimaryCategories[n]}},d=0,f=Object.entries(e.mappedPrimaryCategories);d<f.length;d++)l();if(console.log("asdf last",e.mappedPrimaryCategories,t),a.length&&t.length||(v("p",'No results found for "'.concat(i.value,'"'),"topic-directory__places-search-results-empty-title",n),v("p","Try adjusting your search to find what you are looking for.","topic-directory__places-search-results-empty-body",n)),"Provinces"===e.primaryCategories[0]||e.primaryCategories[0].includes("Cit")||"Region"===e.primaryCategories[0]||"Regions"===e.primaryCategories[0]||"BARMM"===e.primaryCategories[0])for(var p=0;p<(null===a||void 0===a?void 0:a.length);p++){var h=e.mappedPrimaryCategories[a[p]];if(h){var m;v("p",a[p],"topic-directory__places-search-results-title",n);for(var y=null!==(m=c[a[p]])&&void 0!==m?m:"",g=0;g<h.length;g++)v("a",h[g],"topic-directory__places-search-results-item",n,y)}}else for(var b=0;b<(null===a||void 0===a?void 0:a.length);b++){var w=e.mappedPrimaryCategories[a[b]];if(w){var _;v("p",a[b],"topic-directory__places-search-results-title",n);for(var x=null!==(_=c[a[b]])&&void 0!==_?_:"",E=0;E<w.length;E++)v("a",w[E],"topic-directory__places-search-results-item",n,x)}}null!==i&&void 0!==i&&i.value&&""!==i.value||s()})):window.setTimeout((function(){r.style.visibility="hidden",a(),n.style.visibility="hidden"}),500)})),i.addEventListener("keydown",(function(e){if("Enter"===e.key){var t=n.querySelector("a");t&&t.click(),e.preventDefault()}})),n.addEventListener("click",(function(e){if(e.target&&(e.target.matches(".topic-directory__places-search-results-title")||e.target.matches(".arrow-icon"))){var t=e.target;"P"===e.target.tagName&&(t=e.target.querySelector(".arrow-icon")),"rotate(180deg)"===t.style.transform?t.style.transform="rotate(0deg)":t.style.transform="rotate(180deg)";for(var n="P"===e.target.tagName?e.target.nextElementSibling:e.target.parentElement.nextElementSibling;n&&"A"===n.tagName;)n.style.display="rotate(180deg)"===t.style.transform?"none":"block",n=n.nextElementSibling}})),t.disconnect())}));e.observe(document.body,{childList:!0,subtree:!0})}()};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e()):e()}}},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(10);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){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}
1finally{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.r(t),n.d(t,"glideCarousel",(function(){return r}));var r=new(n(9).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){var r=n(6).default,o=n(45);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(6).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);var r=new(n(9).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(9),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: 1181p
1x)").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<p.length;y++)p[y].classList.remove("hide"),a.includes(y)||p[y].classList.add("hide")}}})),n.on("resize",(function(){return y(e)}))},b=0;b<v.length;b++)g(b)},function(e,t){for(var n=document.querySelectorAll(".carousel--cta"),r=function(e){e.preventDefault(),e.stopPropagation()},o=0;o<n.length;o++){var i=n[o].querySelector(".glide"),a=n[o].querySelector(".glide__slides"),s=null===i||void 0===i?void 0:i.getAttribute("data-item-count"),c=parseInt(s,10);c<5&&i.classList.add("no-scroll"),window.matchMedia("(min-width: 1180px)").matches&&c<5&&(a.style.marginLeft="40px",a.addEventListener("pointerdown",r),a.addEventListener("MSPointerDown",r),a.addEventListener("touchstart",r),a.addEventListener("mousedown",r))}},function(e,t,n){"use strict";n.r(t);var r=n(5),o=n.n(r),i=n(8),a=/#story-([0-9]+)/;function s(e){var t=document.location.hash,n=a.exec(t);null!==n&&(e.querySelector("#".concat(t.replace("#","")))||function(e,t){Promise.all([u(e),c()]).then((function(e){var n=o()(e,2),r=n[0],a=n[1];if(r){var s=t.querySelector("#modal-child-story-content");s.innerHTML=r,Object(i.a)(s);var c=s.querySelector(".post-single__title");c&&(c.id="modal-child-story-title"),a.show("modal-child-story",{openClass:"modal--open",disableScroll:!0,onClose:function(){s.innerHTML=""}})}}))}(parseInt(n[1],10),e))}function c(){return n.e(0).then(n.bind(null,40)).then((function(e){return e.default}))}function u(e){var t=rapplerThemeData.restBase,n="".concat(t,"wp/v2/child_story/").concat(e,"?_fields[]=rendered_in_parent_context");return fetch(n).then((function(e){return e.json()})).then((function(e){return e.rendered_in_parent_context}))}window.rapplerDevelopingStoryInit=function(e){s(e)},document.querySelector("body.single-developing_story")&&s(document)},function(e,t,n){"use strict";function r(){var e=document.querySelector(".global-election-banner"),t=document.querySelector(".app-election-banner-container");if(document.documentElement.classList.contains("r6-app")&&t)return t instanceof HTMLElement&&(t.style.display="block"),e&&e instanceof HTMLElement&&(e.style.display="none"),void o();if(!t&&e){var n=document.querySelector(".global-election-banner > .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.scrollY<u&&(c="up"),"down"===c?window.scrollY>64&&(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}
1)),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(26),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:e<r&&(o=1),o!==i&&l(o,e),window.dispatchEvent(new CustomEvent("fixed-header-scroll",{detail:{direction:o,curScroll:e}})),r=e}))}}()},function(e,t){!function(){var e=document.querySelector(".masthead-upper"),t=document.querySelector(".site-header"),n=document.querySelector(".masthead__breadcrumbs"),r=document.querySelector(".section-template .masthead-lower");if(e&&r&&n){var o=e.offsetHeight,i=n.offsetHeight,a=r.offsetTop;window.addEventListener("scroll",(function(){var n=window.scrollY+o+i;n>o?(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(13),o=n(3),i=n(16);!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(13),o=n(3),i=n(16);!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)}));
1var 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;r<e.length;r++){var o=e[r];n.push(o.dataset.template)}if(!(n.length<1)){n.sort();for(var i=0;i<n.length;i++){var a=n[i];t+="&requests[][path]=/rappler/v1/templates/"+encodeURIComponent(a)}fetch(t).then((function(e){return e.json()})).then((function(e){if(e.responses)for(var t=function(t){var n=e.responses[t];if(n.status>299)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;n<e.responses.length;n++)t(n)}))}}n.r(t),n.d(t,"init",(function(){return r})),r()},function(e,t,n){"use strict";n.r(t);var r=n(3),o=document.querySelectorAll(".topics__nav-container ul");o&&o.forEach((function(e){return Object(r.a)(e)}))},function(e,t){!function(){var e=document.getElementById("join-chat-summary-button");e&&(e.style.display="block",e.addEventListener("click",(function(){/Android/i.test(navigator.userAgent)?window.location.href=e.dataset.androidDeeplinkUrl:/iPhone|iPad|iPod/i.test(navigator.userAgent)?window.location.href=e.dataset.iosDeeplinkUrl:window.open(e.dataset.communityUrl,"_blank")})))}()},function(e,t,n){var r="modal-app-interstitial";function o(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"app_interstitial",event_action:e})}!function(){if(document.documentElement.classList.contains("is-inapp-browser")){var e=document.getElementById(r);if(e&&!/[?&]app_modal=0(&|$)/.test(window.location.search)){var t=/Android/i.test(navigator.userAgent),i=/iPhone|iPad|iPod/i.test(navigator.userAgent)||/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints>0;if(t||i){var a=e.dataset.appDeeplinkUrl,s=t?e.dataset.androidStoreUrl:e.dataset.iosStoreUrl,c=e.querySelector("[data-app-interstitial-open]"),u=e.querySelector("[data-app-interstitial-store]"),l=e.querySelector("[data-app-interstitial-dismiss]");a?(c.setAttribute("href",a),c.addEventListener("pointerdown",(function(){return o("open_app")}),{once:!0})):c.remove(),u.setAttribute("href",s),u.addEventListener("pointerdown",(function(){return o("get_app")}),{once:!0}),e.removeAttribute("hidden"),n.e(0).then(n.bind(null,40)).then((function(e){var t=e.default;t.show(r,{disableScroll:!0}),o("shown"),l.addEventListener("click",(function(){o("dismissed"),t.close(r)}))}))}}}}()},function(e,t){document.addEventListener("click",(function(e){var t,n,r;(null===(t=(n=e.target).closest)||void 0===t?void 0:t.call(n,".social-icon--preferred-source"))&&(function(){try{window.localStorage.setItem("rappler_preferred_source_added","1")}catch(e){}}(),document.documentElement.classList.add("has-preferred-source"),r="add",window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"preferred_source",event_action:r}))}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(43);var r=n(1),o=n.n(r),i=n(8),a=n(2),s=n.n(a),c=n(0),u=n.n(c),l=n(12),d=n.n(l);function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function p(e){return e instanceof f(e).Element||e instanceof Element}function h(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function v(e){return"undefined"!==typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m=Math.max,y=Math.min,g=Math.round;function b(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function w(){return!/^((?!chrome|android).)*safari/i.test(b())}function _(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&h(e)&&(o=e.offsetWidth>0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);
vendor: 18,219 bytes, line 1
1var 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 q="top",P="bottom",N="right",B="left",R="auto",z=[q,P,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 $(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var X={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Z(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?X:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},X,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,c={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:p(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var l=function(e){var t=K(e);return J.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:c,options:r}),u=function(){};a.push(s||u)}})),c.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(Q(t,n)){o.rects={reference:k(t,I(n),"fixed"===o.options.strategy),popper:C(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,l=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:l,name:d,instance:c})||o)}else o.reset=!1,r=-1}}},update:$((function(){return new Promise((function(e){c.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!Q(e,t))return c;function u(){a.forEach((function(e){return e()})),a=[]}return c.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var ee={passive:!0};function te(e){return e.split("-")[0]}function ne(e){return e.split("-")[1]}function re(e){return["top","bottom"].indexOf(e)>=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 q:t={x:s,y:n.y-r.height};break;case P: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=q,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===q||(o===B||o===N)&&i===V)x=P,m-=(d&&L===E&&E.visualViewport?E.visualViewport.height:L[A])-r.height,m*=c?1:-1;if(o===B||(o===q||o===P)&&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,P].indexOf(e)>=0?1:-1,n=[q,P].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[q,N,P,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,q].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<b.length;L++){var O=b[L],A=te(O),k=ne(O)===H,C=[q,P].indexOf(A)>=0,T=C?"width":"height",F=ge(t,{placement:O,boundary:l,rootBoundary:d,altBoundary:f,padding:u}),j=C?k?N:B:k?P:q;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?q:B,M="y"===x?P: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},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=$[D],Q=$[M],Z=be(0,L[R],K[R]),ee=_?L[R]/2-U-Z-X-k.mainAxis:G-Z-X-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?q:B,fe="x"===x?P:N,pe=S[E],he="y"===E?"height":"width",ve=pe+g[de],me=pe-g[fe],ye=-1!==[q,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?q:B,p="y"===c?P: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.re
1cts.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 qe(e){return[].slice.call(e)}function Pe(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)?qe(e):Array.isArray(e)?e:qe(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 $e(){Je.isTouch||(Je.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xe))}function Xe(){var e=performance.now();e-Ke<20&&(Je.isTouch=!1,document.removeEventListener("mousemove",Xe)),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=qe(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(Pe(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,Pe(t),{ignoreAttributes:!0}));b.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(q(),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);
vendor: 9,161 bytes, line 1
1b.popperInstance&&(X(),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,X(),!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(q(),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 q(){C().removeEventListener("mousemove",m),dt=dt.filter((function(e){return e!==m}))}function P(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",P,!0),e.addEventListener("touchend",P,Ae),e.addEventListener("touchstart",B,Ae),e.addEventListener("touchmove",N,Ae)}function z(){var e=C();e.removeEventListener("mousedown",P,!0),e.removeEventListener("touchend",P,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&&!$(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)&&(q(),te(e))}}function J(e){$(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 $(e){return!!Je.isTouch&&O()!==e.type.indexOf("touch")>=0}function X(){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 qe(_.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",$e,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
1:"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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gt="Share in Chat",bt="Share Link",wt=".social-icon--share-in-chat",_t=".social-icon--share",xt=function(e,t,n){return{role:"tooltip",theme:null!==n&&void 0!==n?n:"default",content:e,placement:t}},Et=function(e,t){return{popperOptions:{strategy:"fixed"},hideOnClick:!0,theme:null!==t&&void 0!==t?t:"share-options",placement:null!==e&&void 0!==e?e:"right",trigger:"click",content:function(e){var t,n,r=null===(t=e.closest("div"))||void 0===t?void 0:t.querySelector(".social-share__more-actions .social-share__more-actions__label .social-share__more-actions__buttons");return null!==(n=null===r||void 0===r?void 0:r.innerHTML)&&void 0!==n?n:""},allowHTML:!0,interactive:!0,onShow:function(){!function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;ft.forEach((function(e){var t=!1;if(n&&(t=ze(n)?e.reference===n:e.popper===n.popper),!t){var o=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:o})}}))}()}}},St=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=function(t){return e.querySelectorAll(t)},n=".post-card__primary-story__footer";vt(t("".concat(n," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(n," ").concat(_t)),xt(bt,"bottom","default"));var r=".post-card__more-secondary-story__footer";vt(t("".concat(r," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(r," ").concat(_t)),xt(bt,"bottom","default"));var o=".featured-topic";vt(t("".concat(o," ").concat(wt)),xt(gt,"bottom","onto")),vt(t("".concat(o," ").concat(_t)),xt(bt,"bottom","onto"));var i=".single-ontology-header__content .ontology-metadata-social";vt(t("".concat(i," ").concat(wt)),xt(gt,"top","onto")),vt(t("".concat(i," ").concat(_t)),xt(bt,"bottom","onto"));var a=".archive-article__footer .social-share__actions";vt(t("".concat(a," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(a," ").concat(_t)),xt(bt,"bottom","default"));var s=".archive__header .social-share__actions";vt(t("".concat(s," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(s," ").concat(_t)),xt(bt,"bottom","default"));var c=".post-template-default .related-topics article.archive-article .archive-article__content .social-share__actions";vt(t("".concat(c," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(c," ").concat(_t)),xt(bt,"bottom","default"));var u=".post-template-template-video .related-topics article.archive-article .archive-article__content .social-share__actions";vt(t("".concat(u," ").concat(wt)),xt(gt,"bottom","onto")),vt(t("".concat(u," ").concat(_t)),xt(bt,"bottom","onto"));var l=".archive.tag .archive-article__content";vt(t("".concat(l," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(l," ").concat(_t)),xt(bt,"bottom","default"));var d=".tax-movement .container .social-share__actions";vt(t("".concat(d," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(d," ").concat(_t)),xt(bt,"bottom","default"));var f=".developing-stories__feed .developing-stories__post .post-card__share";vt(t("".concat(f," ").concat(wt)),xt(gt,"bottom","default")),vt(t("".concat(f," ").concat(_t)),xt(bt,"bottom","default"));var p=document.querySelector("".concat(i," ").concat(_t));p?vt(t("".concat(i," ").concat(_t)),yt({},Et("bottom-start"))):vt(t("".concat(_t)),yt({},Et()))},Lt=function(e,t){e&&vt(e,xt(t,"bottom","default"))},Ot=function(){var e=window.innerWidth<768,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!(!e||!t)},At=function(){var e=s()(u.a.mark((function e(t){var n,r,o,i,a,s;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=t.target.closest(".social-icon--share")){e.next=4;break}return e.abrupt("return");case 4:if(Ot()){e.next=6;break}return e.abrupt("return");case 6:if(r=n.getAttribute("data-title")||"",o=n.getAttribute("data-permalink")||"",!("AndroidShareHandler"in window)){e.
1next=11;break}return window.AndroidShareHandler.share(o),e.abrupt("return");case 11:if(navigator.share){e.next=23;break}if(console.error("Share API not available"),i=n.closest("div").querySelector(".social-share__actions-tooltip .tooltip-dark"),a=function(e){e.style.opacity="1",e.style.visibility="visible",setTimeout((function(){e.style.opacity="0",e.style.visibility="hidden"}),500)},navigator.clipboard){e.next=21;break}(s=document.createElement("textarea")).value=o,s.select();try{document.execCommand("copy"),a(i)}catch(c){console.error("Failed to copy!",c)}return e.abrupt("return");case 21:try{navigator.clipboard.writeText(o),a(i)}catch(c){console.error("Failed to copy!",c)}return e.abrupt("return");case 23:navigator.share({title:r,url:o}).then((function(){console.log("Thanks for sharing!")})).catch(console.error);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kt=function(e){var t=e.target;t&&(/Android/i.test(navigator.userAgent)?t.dataset.androidDeeplinkUrl&&(window.location.href=t.dataset.androidDeeplinkUrl):/iPhone|iPad|iPod/i.test(navigator.userAgent)?t.dataset.iosDeeplinkUrl&&(window.location.href=t.dataset.iosDeeplinkUrl):t.dataset.communityUrl&&window.open(t.dataset.communityUrl,"_blank"))};function Ct(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;St(e);var t=e.querySelectorAll(".social-icon--share"),n=e.querySelectorAll(".social-icon--share-in-chat");t.forEach((function(e){e.addEventListener("click",At)})),n.forEach((function(e){e.addEventListener("click",kt)}))}var Tt,Ft="primary",jt="",Dt=!1;function Mt(){var e=document.querySelectorAll(".pagination__load-more");o()(e).forEach((function(e){e.removeEventListener("click",It),e.addEventListener("click",It)}))}function It(e){if(e.preventDefault(),!Dt){Dt=!0;var t,n=e.target,r=n.href,a=r;try{(t=new URL(r)).searchParams.set("timestamp",jt),a=t.href}catch(l){if(r.includes("?timestamp=")||r.includes("&timestamp="))a=r;else{var s=r.includes("?")?"&":"?";a="".concat(r).concat(s,"timestamp=").concat(encodeURIComponent(jt))}}n.classList.toggle("hide");var c=n.nextElementSibling;c&&c.classList.toggle("hide");var u=!n.hasAttribute("data-no-replace-history-state");fetch(a).then((function(e){return e.text()})).then((function(e){return(new DOMParser).parseFromString(e,"text/html")})).then((function(e){n.closest(".pagination").remove();var t,a=e.getElementById(Ft);t=a,o()(t.querySelectorAll(".archive__header")).forEach((function(e){e.remove()}));var s,c=null===a||void 0===a?void 0:a.querySelectorAll(".social-icon--share");Lt(c,"Share Link"),(s=c)&&vt(s,Et()),null===c||void 0===c||c.forEach((function(e){e.addEventListener("click",At)}));var l=null===a||void 0===a?void 0:a.querySelectorAll(".social-icon--share-in-chat");Lt(l,"Share in Chat"),null===l||void 0===l||l.forEach((function(e){e.addEventListener("click",kt)})),o()(a.childNodes).forEach((function(e){document.adoptNode(e),Tt.appendChild(e),Object(i.a)(e)})),Mt(),u&&window.history.replaceState({},"",r.replace(/(\?|&)timestamp=[^&]*/,"")),Dt=!1})).catch((function(){Dt=!1})).finally((function(){var e;if(null===(e=window.rapplerAds)||void 0===e?void 0:e.targeting.page_type.includes("Topic")){var t=r.match(/\/page\/(\d*)\//);if(t){var o=t[1],i=Number(o)-1,a="leaderboard-".concat(i),s="mobile-middle-".concat(i),u=window.rapplerAds.availableSlots;u[a]&&(window.googletag.cmd.push((function(){window.rapplerAds.defineAdSlot(a)})),window.rapplerAds.displayAd(a)),u[s]&&(window.googletag.cmd.push((function(){window.rapplerAds.defineAdSlot(s)})),window.rapplerAds.displayAd(s))}}n.classList.toggle("hide"),c&&c.classList.toggle("hide")}))}}var qt=n(15),Pt=!1,Nt="ontology-topic-latest-news-container";function Bt(){var e=document.querySelector(".pagination__load-more--topic-news-list");e&&(e.removeEventListener("click",Rt),e.addEventListener("click",Rt))}function Rt(e){if(e.preventDefault(),!Pt){Pt=!0;var t=e.target,n=rapplerThemeData.restBase,r=t.dataset.postId,o=t.dataset.nextPage,i="".concat(n,"rappler/v1/ontology-topics/").concat(r,"/latest-news?page=").concat(o);t.classList.toggle("hide");var a=t.nextElementSibling;a&&a.classList.toggle("hide"),fetch(i).then((function(e){return e.json()})).then((function(e){var n;null===(n=t.closest(".pagination"))||void 0===n||n.remove();var r=document.getElementById(Nt);e.forEach((function(e){null===r||void 0===r||r.insertAdjacentHTML("beforeend",e.html)})),Bt(),Pt=!1})).catch((function(){Pt=!1}))}}!function(){var e=function(e){e.style.opacity=1,e.style.visibility="visible",setTimeout((function(){e.style.opacity=0,e.style.visibility="hidden"}),500)},t=function(){var t=s()(u.a.mark((function t(n){var r,o,i,a;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.target.closest(".social-icon--copy")){t.next=3;break}return t.abrupt("return");case 3:if(n.preventDefault(),o=r.getAttribute("data-permalink"),i=r.closest("div").querySelector(".social-share__actions-tooltip .tooltip-dark"),navigator.clipboard){t.next=12;break}(a=document.createElement("textarea")).value=o,a.select();try{document.execCommand("copy"),e(i)}catch(s){console.error("Failed to copy!",s)}return t.abrupt("return");case 12:try{navigator.clipboard.writeText(o),e(i)}catch(s){console.error("Failed to copy!",s)}case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();document.body.addEventListener("click",t)}(),Ct(),Tt=document.getElementById(Ft),Mt(),jt=(new Date).toISOString(),Object(qt.initTopicDirectory)(),document.getElementById(Nt)&&Bt(),window.rapplerInitEmbeds=i.a,window.rapplerSocialShareInit=Ct,n(91),n(26),n(46),n(47),n(48),n(49),n(50),n(51),n(52),n(53),n(54),n(55),n(94),n(56),n(90),n(57),n(58),n(59),n(60),n(61)},function(e,t,n){"use strict";n.r(t);var r='\n\t<div class="see-more">\n\t\t<div class="rappler-divider">\n\t\t\t<hr class="rappler-separator rappler-separator--shaded">\n\t\t</div>\n\t\t<button class="see-more__button">See more</button>\n\t</div>\n\t',o=document.querySelector(".see-more-target"),i=document.querySelector(".see-more-target"),a=document.querySelector(".see-more-target"),s=150,c=150,u=120,l=function(){if(a){var e=a.classList.contains("infobox__content"),t=u;e?t=c:a.classList.contains("ontology-metadata-table-bio-content")&&(t=s);var n=a.clientHeight>t,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()}
1))},function(e,t,n){"use strict";n.r(t);var r=n(1),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;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},m=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},y=function(e,t){return!(t.disabled||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=c.call(e,"details>summary: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<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!c.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(v(t)||f(t)<0||!y(e,t))},b=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=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)}
1,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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(){var e=[];return{activateTrap:function(t){if(e.length>0){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;r<t;r++)n[r-1]=arguments[r];return"function"===typeof e?e.apply(void 0,n):e},j=function(e){return e.target.shadowRoot&&"function"===typeof e.composedPath?e.composedPath()[0]:e.target},D=function(e,t){var n,r=(null===t||void 0===t?void 0:t.document)||document,o=O({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},s=function(e){return i.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"===typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"===typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement)>=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.ke
1yCode}(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}
1,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()}
1)),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,40)).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)}))}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.