(window.webpackJsonp=window.webpackJsonp||[]).push([[167,68],{"+U0L":function(e,t,n){function r(){throw new Error('Looks like you are expecting the previous "elasticsearch" module. It is now the "es" module. To create a client with this module use `new es.Client(params)`.')}r.Client=n("JvoY"),r.ConnectionPool=n("IDUY"),r.Transport=n("3B+5"),r.errors=n("3lc3"),e.exports=r},"+jTQ":function(e,t,n){"use strict";var r=n("KQm4"),o=n("q1tI"),i=n.n(o),a=n("fhwx"),l=n.n(a),s=(n("2iKN"),n("2v50")),c=i.a.createElement;t.a=function(e){var t=e.introData,n=Object(o.useState)(!1),a=n[0],u=n[1],d=Object(o.useState)([0,1,2]),f=d[0],h=d[1],p=Object(o.useState)(0),m=p[0],v=p[1],g=function(){var e=[].concat(Object(r.a)(f.slice(1)),[f[0]]);u((function(e){return!e})),h(e),v((m+1)%f.length)},y=function(){var e=[f[f.length-1]].concat(Object(r.a)(f.slice(0,f.length-1)));u((function(e){return!e})),h(e),v((m-1+f.length)%f.length)};return Object(o.useEffect)((function(){u((function(e){return!e}))}),[f]),c(i.a.Fragment,null,c("div",null,Object(s.o)()?c("div",{className:"container-fluid"},c("h3",{className:"heading-02 missionintro-slider-heading"},"OUR WORK THEMES")):c("h3",{className:"heading-02 missionintro-slider-heading"},"OUR WORK THEMES"),Object(s.o)()&&c("div",{className:"container-fluid"},c("div",{className:a?"fade-in missionintro-image-middle top-image":"missionintro-image-middle top-image fade-out",style:{backgroundSize:"cover",backgroundPosition:"center",backgroundImage:"url(".concat(t.work_themes[f[1]].image,")"),width:"100%"}},c("div",{className:"center-image-wrapper"},c("div",{className:"center-image-content"},c("h2",{className:"text-white heading-02"},l()(t.work_themes[f[1]].description.slice(t.work_themes[f[1]].description.indexOf("<h2>")+4,t.work_themes[f[1]].description.indexOf("</h2>")))),c("p",{className:"text-white"},t.work_themes[f[1]].description.slice(t.work_themes[f[1]].description.indexOf("<p>")+4,t.work_themes[f[1]].description.indexOf("</p>"))))))),c("div",{className:"missionintro-slider",style:{display:"flex",flexDirection:"row"}},(null===t||void 0===t?void 0:t.work_themes)&&t.work_themes.map((function(e,n){return c(i.a.Fragment,null,1!==n?c("div",{className:"missionintro-image prev-image"},c("img",{className:a?"fade-in":"fade-out",src:t.work_themes[f[n]].image,alt:"workThemesBackground"})):c("div",{className:a?"fade-in missionintro-image-middle middle-mob":"missionintro-image-middle fade-out middle-mob",style:{backgroundSize:"cover",backgroundPosition:"center",backgroundImage:"url(".concat(t.work_themes[f[n]].image,")")}},c("div",{className:"center-image-wrapper"},c("div",{className:"center-image-content"},c("h2",{className:"text-white heading-02"},l()(t.work_themes[f[n]].description.slice(t.work_themes[f[n]].description.indexOf("<h2>")+4,t.work_themes[f[n]].description.indexOf("</h2>")))),!Object(s.o)()&&c("p",{className:"text-white"},t.work_themes[f[n]].description.slice(t.work_themes[f[n]].description.indexOf("<p>")+4,t.work_themes[f[n]].description.indexOf("</p>")))),c("button",{className:"arrow-yellow-prev arrow-yellow",onClick:y}),c("button",{className:"arrow-yellow-next arrow-yellow",onClick:g}))))})))))}},"+xXU":function(e,t,n){var r=n("nqsp"),o=n("2XKd");function i(){}r.inherits(i,o),i.prototype.encode=function(e){switch(typeof e){case"string":return e;case"object":if(e)return angular.toJson(e);default:return}},e.exports=i},"/M1s":function(e,t,n){},"/wW9":function(e,t,n){var r={xhr:n("Pt6o"),jquery:n("1zUT"),angular:n("5Tn3")};n("LvDl").each(r,(function(e,t){"function"!==typeof e&&delete r[t]})),r.xhr?r._default="xhr":r.angular?r._default="angular":r._default="jquery",e.exports=r},"0WgE":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=(n("JyNM"),o.a.createElement);t.default=function(e){var t=e.isOpen,n=e.onClose,r=e.children,o=e.width,a=e.height,l=e.modalContentHeight,s=e.closeButtonStyle,c=void 0===s?{}:s,u=e.showClosebutton,d=e.overFlowX,f=void 0===d?"hidden":d,h=e.overFlowY,p=void 0===h?"hidden":h,m=e.padding;return t?i("div",{className:"modal-overlay",style:{width:o,height:a}},i("div",{className:"modal-content",style:{height:l,overflowX:f,overflowY:p,padding:void 0===m?"20px":m}},u&&i("span",{className:"close-button",style:c,onClick:n},"\xd7"),r)):null}},"0sBl":function(e,t,n){},"1TCz":function(e,t,n){"use strict";n.r(t),n.d(t,"MyContext",(function(){return ot}));var r={};n.r(r),n.d(r,"initialize",(function(){return V})),n.d(r,"ga",(function(){return G})),n.d(r,"set",(function(){return K})),n.d(r,"send",(function(){return $})),n.d(r,"pageview",(function(){return J})),n.d(r,"modalview",(function(){return Y})),n.d(r,"timing",(function(){return X})),n.d(r,"event",(function(){return Z})),n.d(r,"exception",(function(){return Q})),n.d(r,"plugin",(function(){return ee})),n.d(r,"outboundLink",(function(){return te})),n.d(r,"testModeAPI",(function(){return ne})),n.d(r,"default",(function(){return re}));var o=n("nOHt"),i=n("q1tI"),a=n.n(i),l=n("9a8T"),s=n.n(l),c=n("17x9"),u=n.n(c);function d(e){console.warn("[react-ga]",e)}function f(e){return(f="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)}function h(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 p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function m(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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w="_blank",k=1,O=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=function(e,t){return!t||"object"!==f(t)&&"function"!==typeof t?g(e):t}(this,(e=v(t)).call.apply(e,[this].concat(o))),b(g(n),"handleClick",(function(e){var r=n.props,o=r.target,i=r.eventLabel,a=r.to,l=r.onClick,s=r.trackerNames,c={label:i},u=o!==w,d=!(e.ctrlKey||e.shiftKey||e.metaKey||e.button===k);u&&d?(e.preventDefault(),t.trackLink(c,(function(){window.location.href=a}),s)):t.trackLink(c,(function(){}),s),l&&l(e)})),n}var n,r,o;return 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&&y(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.to,n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},p(e,["to"]),{href:t,onClick:this.handleClick});return this.props.target===w&&(n.rel="noopener noreferrer"),delete n.eventLabel,delete n.trackerNames,a.a.createElement("a",n)}}])&&m(n.prototype,r),o&&m(n,o),t}(i.Component);function S(e){return e.replace(/^\s+|\s+$/g,"")}b(O,"trackLink",(function(){d("ga tracking not enabled")})),b(O,"propTypes",{eventLabel:u.a.string.isRequired,target:u.a.string,to:u.a.string,onClick:u.a.func,trackerNames:u.a.arrayOf(u.a.string)}),b(O,"defaultProps",{target:null,to:null,onClick:null,trackerNames:null});var T=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;var x="REDACTED (Potential Email Address)";function j(e,t){return function(e){return"string"===typeof e&&-1!==e.indexOf("@")}(e)?(d("This arg looks like an email address, redacting."),x):t?S(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(T)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})):e}var _=function(e){var t,n,r,o,i,a,l,s="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?s=e.gaAddress:e&&e.debug&&(s="https://www.google-analytics.com/analytics_debug.js"),t=window,n=document,r="script",o=s,i="ga",t.GoogleAnalyticsObject=i,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,a=n.createElement(r),l=n.getElementsByTagName(r)[0],a.async=1,a.src=o,l.parentNode.insertBefore(a,l)};function E(e){console.info("[react-ga]",e)}var N=[],C={calls:N,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];N.push([].concat(t))},resetCalls:function(){N.length=0}};function L(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function P(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 A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){return(D="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)}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var H="undefined"===typeof window||"undefined"===typeof document,q=!1,z=!0,I=!1,R=!0,F=function(){var e;return I?C.ga.apply(C,arguments):!H&&(window.ga?(e=window).ga.apply(e,arguments):d("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function U(e){return j(e,z)}function B(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0];if("function"===typeof F){if("string"!==typeof o)return void d("ga command must be a string");!R&&Array.isArray(e)||F.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){F.apply(void 0,M(["".concat(e,".").concat(o)].concat(n.slice(1))))}))}}function W(e,t){e?t&&(t.debug&&!0===t.debug&&(q=!0),!1===t.titleCase&&(z=!1),t.useExistingGa)||(t&&t.gaOptions?F("create",e,t.gaOptions):F("create",e,"auto")):d("gaTrackingID is required in initialize()")}function V(e,t){if(t&&!0===t.testMode)I=!0;else{if(H)return!1;t&&!0===t.standardImplementation||_(t)}return R=!t||"boolean"!==typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,Array.isArray(e)?e.forEach((function(e){"object"===D(e)?W(e.trackingId,e):d("All configs must be an object")})):W(e,t),!0}function G(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(F.apply(void 0,t),q&&(E("called ga('arguments');"),E("with arguments: ".concat(JSON.stringify(t))))),window.ga}function K(e,t){e?"object"===D(e)?(0===Object.keys(e).length&&d("empty `fieldsObject` given to .set()"),B(t,"set",e),q&&(E("called ga('set', fieldsObject);"),E("with fieldsObject: ".concat(JSON.stringify(e))))):d("Expected `fieldsObject` arg to be an Object"):d("`fieldsObject` is required in .set()")}function $(e,t){B(t,"send",e),q&&(E("called ga('send', fieldObject);"),E("with fieldObject: ".concat(JSON.stringify(e))),E("with trackers: ".concat(JSON.stringify(t))))}function J(e,t,n){if(e){var r=S(e);if(""!==r){var o={};if(n&&(o.title=n),B(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},o)),q){E("called ga('send', 'pageview', path);");var i="";n&&(i=" and title: ".concat(n)),E("with path: ".concat(r).concat(i))}}else d("path cannot be an empty string in .pageview()")}else d("path is required in .pageview()")}function Y(e,t){if(e){var n,r="/"===(n=S(e)).substring(0,1)?n.substring(1):n;if(""!==r){var o="/modal/".concat(r);B(t,"send","pageview",o),q&&(E("called ga('send', 'pageview', path);"),E("with path: ".concat(o)))}else d("modalName cannot be an empty string or a single / in .modalview()")}else d("modalName is required in .modalview(modalName)")}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,o=e.label,i=arguments.length>1?arguments[1]:void 0;if(t&&n&&r&&"number"===typeof r){var a={hitType:"timing",timingCategory:U(t),timingVar:U(n),timingValue:r};o&&(a.timingLabel=U(o)),$(a,i)}else d("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,o=e.value,i=e.nonInteraction,a=e.transport,l=L(e,["category","action","label","value","nonInteraction","transport"]),s=arguments.length>1?arguments[1]:void 0;if(t&&n){var c={hitType:"event",eventCategory:U(t),eventAction:U(n)};r&&(c.eventLabel=U(r)),"undefined"!==typeof o&&("number"!==typeof o?d("Expected `args.value` arg to be a Number."):c.eventValue=o),"undefined"!==typeof i&&("boolean"!==typeof i?d("`args.nonInteraction` must be a boolean."):c.nonInteraction=i),"undefined"!==typeof a&&("string"!==typeof a?d("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(a)&&d("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),c.transport=a)),Object.keys(l).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){c[e]=l[e]})),Object.keys(l).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){c[e]=l[e]})),$(c,s)}else d("args.category AND args.action are required in event()")}function Q(e,t){var n=e.description,r=e.fatal,o={hitType:"exception"};n&&(o.exDescription=U(n)),"undefined"!==typeof r&&("boolean"!==typeof r?d("`args.fatal` must be a boolean."):o.exFatal=r),$(o,t)}var ee={require:function(e,t,n){if(e){var r=S(e);if(""!==r){var o=n?"".concat(n,".require"):"require";if(t){if("object"!==D(t))return void d("Expected `options` arg to be an Object");0===Object.keys(t).length&&d("Empty `options` given to .require()"),G(o,r,t),q&&E("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else G(o,r),q&&E("called ga('require', '".concat(r,"');"))}else d("`name` cannot be an empty string in .require()")}else d("`name` is required in .require()")},execute:function(e,t){var n,r;if(1===(arguments.length<=2?0:arguments.length-2)?n=arguments.length<=2?void 0:arguments[2]:(r=arguments.length<=2?void 0:arguments[2],n=arguments.length<=3?void 0:arguments[3]),"string"!==typeof e)d("Expected `pluginName` arg to be a String.");else if("string"!==typeof t)d("Expected `action` arg to be a String.");else{var o="".concat(e,":").concat(t);n=n||null,r&&n?(G(o,r,n),q&&(E("called ga('".concat(o,"');")),E('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(G(o,n),q&&(E("called ga('".concat(o,"');")),E("with payload: ".concat(JSON.stringify(n))))):(G(o),q&&E("called ga('".concat(o,"');")))}}};function te(e,t,n){if("function"===typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:U(e.label)},o=!1,i=setTimeout((function(){o=!0,t()}),250);r.hitCallback=function(){clearTimeout(i),o||t()},$(r,n)}else d("args.label is required in outboundLink()");else d("hitCallback function is required")}var ne=C,re={initialize:V,ga:G,set:K,send:$,pageview:J,modalview:Y,timing:X,event:Z,exception:Q,plugin:ee,outboundLink:te,testModeAPI:C};function oe(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 ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}O.origTrackLink=O.trackLink,O.trackLink=te;var ae=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(n,!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{OutboundLink:O}),le=n("838P"),se=n("81xT"),ce=n("YFqc"),ue=n.n(ce),de=n("2v50"),fe=n("Ff2n"),he=n("wx14"),pe=n("k82f"),me=(n("1kDh"),a.a.createElement),ve=a.a.memo((function(e){var t=Object(i.useState)(!1),n=t[0],r=t[1],o=e.maxHeight;Object(i.useEffect)((function(){for(var e=document.querySelectorAll(".custom-scrollbar"),t=0;t<e.length;t++){e[t].clientHeight>=e[t].children[0].querySelector(".inner-scroll").clientHeight&&e[t].classList.add("disabled-state")}}),[n]);return me(pe.Scrollbars,{className:"custom-scrollbar",renderTrackHorizontal:function(e){return me("div",Object(he.a)({},e,{className:"track track-horizontal"}))},renderTrackVertical:function(e){return me("div",Object(he.a)({},e,{className:"track track-vertical"}))},renderThumbHorizontal:function(e){return me("div",Object(he.a)({},e,{className:"thumb thumb-horizontal"}))},renderThumbVertical:function(e){return me("div",Object(he.a)({},e,{className:"thumb thumb-vertical"}))},renderView:function(e){return me("div",Object(he.a)({},e,{className:"scroll-body"}))},autoHeight:!0,universal:!0,autoHeightMax:o,autoHideTimeout:1e3,autoHideDuration:200},me("div",{className:"inner-scroll",onMouseOver:function(){r(!0)}}," ",e.children))})),ge=(n("T5sl"),n("i+1a"),n("mwIZ")),ye=n.n(ge),be=n("cTJO"),we=n.n(be),ke=["condition","children"],Oe=a.a.createElement,Se=(a.a.memo((function(e){var t=e.menuItems,n=e.modalActive,r=Object(i.useState)([]),o=r[0],l=r[1],s=Object(i.useState)(!1),c=s[0],u=s[1],d=Object(i.useState)(0),f=d[0],h=d[1],p=Object(de.k)(),m=Object(i.useState)(null),v=m[0],g=m[1],y=Object(i.useState)(null),b=y[0],w=y[1],k=Object(i.useState)(null),O=k[0],S=k[1],T=e.toggleState,x=e.selectedIndex,j=e.setToggleData,_=e.mobileToggleClose,E=function(e){e.id;var t=e.title,n=e.children,r=e.data,o=(e.modalActive,Object(i.useState)(r===t)),a=o[0],l=o[1];return Object(i.useEffect)((function(){var e=document.getElementsByClassName("mobileNavigation")[0];(null===e||void 0===e?void 0:e.classList.value.includes("active"))?l(r===t):(l(!1),w(null),g(null))}),[]),Oe("div",null,Oe("p",{onClick:function(){return l(!a)}},t),a&&Oe("div",null,n))};Object(i.useEffect)((function(){var e=[];t&&t.forEach((function(t,n){t&&t.childrens&&ye()(t,"childrens",[]).forEach((function(n){n&&n.subheader&&(-1!==e.findIndex((function(e){return e.linkName===t.linkName}))||e.push(t.linkName))}))})),l(e)}),[]);var N=function(e){var t=e.condition,n=e.children,r=Object(fe.a)(e,ke);return t?n:Oe(ve,r,n)};return Oe("div",{className:"header_menu"},e.menuItems.map((function(e,t){return Oe("div",{key:"".concat(e.linkName,"-").concat(t),className:"menu_item ".concat(t==x&&1==T&&e.hasChild?"active":""," ").concat(e.hasChild?"sub_menu":"")},Oe("span",{onClick:function(){return j(t)}},e.hasChild?Oe("a",null,"".concat(e.linkName)):e.linkUrl?Oe(we.a,{prefetch:!1,href:e&&e.apiKey?"".concat(p).concat(e.linkUrl):"".concat(p,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},Oe("a",{onClick:function(){return _()}},e&&e.linkName)):Oe("a",{onClick:function(){return _()}},e&&e.linkName)),e.hasChild&&Oe("div",{className:"menu_list ".concat(o.indexOf(e.linkName)>-1?"sub-header-full":"sub-header-default")},Oe(N,{condition:ye()(e,"childrens",[]).some((function(e){return"subheader"in e})),maxHeight:480},Oe("ul",null,e.childrens&&e.childrens.map((function(e,t){var r,o,i;return(null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.length)>0?Oe(a.a.Fragment,null,Oe("div",{className:"inner_submenu--desktop"},Oe("li",{class:["inner_submenu",f===t+1&&"inner_submenu--active"].join(" "),key:t,onClick:function(){return function(e){var t=e.i;u(!c),h(f===t+1?0:t+1)}({i:t})}},Oe("a",{href:"#"},e.linkName),Oe("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.map((function(e,n){var r;return Oe("li",{key:n,class:["inner_submenu",f===t+1&&"inner_submenu--active"].join(" ")},Oe("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"".concat(e.linkUrl,"/").concat(e.id)},Oe("div",{onClick:function(){return _()}},e.linkName),e.hasChild&&Oe("ul",{className:"SubMenuChild thirdLevelList"},null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.map((function(e,t){return Oe("li",{key:t},Oe("a",{href:e.linkUrl},e.linkName))})))))}))))),Oe("div",{className:"inner_submenu--mobile"},Oe(E,{modalActive:n,id:t,data:b,title:e.linkName},Oe("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(i=e.childrens)||void 0===i?void 0:i.map((function(t,n){var r;return Oe("li",{key:n},Oe("a",{href:t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id),onClick:function(e){e.preventDefault(),!0===O&&S(!1),t.hasChild?(!0===O||!1===O)&&(window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)):window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)}},Oe("div",{onClick:function(){t.hasChild?(S(!0),g(n),w(e.linkName)):_()}},t.linkName),t.hasChild&&Oe("ul",{style:v===n?{display:"block"}:{display:"none"},className:"SubMenuChild thirdLevelList"},null===t||void 0===t?void 0:null===(r=t.childrens)||void 0===r?void 0:r.map((function(e,t){return Oe("li",{key:t},Oe("a",{onClick:function(t){t.stopPropagation(),window.location.href=e.linkUrl},href:e.linkUrl},e.linkName))})))))})))))):Oe("li",{key:t},Oe("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"/innerPage".concat(e.linkUrl,"/").concat(e.id)},Oe("span",{onClick:function(){return _()}},e.linkName)))}))))))})))})),n("9gS8"),a.a.createElement,n("1OyB")),Te=n("vuIU"),xe=n("JX7q"),je=n("Ji7U"),_e=n("md7G"),Ee=n("foSv"),Ne=n("rePB"),Ce=n("KQm4"),Le=n("E+oP"),Pe=n.n(Le),Ae=function(e){var t=[];return e&&Object.values(e).map((function(e){if(!Pe()(e._source)){var n={},r="",o="";"publication"==e._source.type?(n={url:"/assets/images/search-pdf-img.jpg",alt:e._source.resource_img_alt},r="VIEW PDF",o="pdf"):"video_img_url"in e._source&&"video"==e._source.type?(n={url:e._source.video_img_url,alt:e._source.video_img_alt},r="WATCH VIDEO",o=e._source.type):"resource_img_url"in e._source||"video_img_url"in e._source?(n={url:e._source.resource_img_url||e._source.video_img_url,alt:e._source.resource_img_alt||e._source.video_img_alt},r="article"===e._source.type?e._source.resource_link_title?e._source.resource_link_title:"READ ARTICLE":"VISIT PAGE",o="article"===e._source.type?"article":"page"):(n={url:"/assets/images/SearchDefaultImage.png",alt:"defaultImage"},r="VISIT PAGE",o="page"),t.push({title:e._source.title,link:{url:e._source.resource_link?e._source.resource_link:null,type:e._source.resource_link_type?e._source.resource_link_type:null},body:e._source.body?e._source.body.replace(/(<([^>]+)>)/gi,""):null,image:Object.keys(n).length>0?n:null,link_title:e._source.resource_link&&r?r:"",type:o||""})}})),t},De=n("yJGS"),Me=n("60Bi"),He=n.n(Me),qe=(n("PEOI"),a.a.createElement);function ze(){ze=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(E){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new x(o||[]);return r(a,"_invoke",{value:k(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=c;var d={};function f(){}function h(){}function p(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(j([])));g&&g!==t&&n.call(g,i)&&(m=g);var y=p.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,l)}))}l(s.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function k(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 _()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=O(a,n);if(l){if(l===d)continue;return l}}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 s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function O(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,O(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;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,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return h.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.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}},e.values=j,x.prototype={constructor:x,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(T),!e)for(var t in this)"t"===t.charAt(0)&&n.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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):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),d},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),T(n),d}},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;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Ie(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=Object(Ee.a)(e);if(t){var o=Object(Ee.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(_e.a)(this,n)}}i.Component,n("hKr0"),a.a.createElement,n("Zp/L"),a.a.createElement;var Re="https://static.psa.gov.in/",Fe=(n("gF98"),a.a.createElement,n("BkrC"),n("FuTH"),["condition","children"]),Ue=a.a.createElement,Be=a.a.memo((function(e){var t=e.menuItems,n=e.modalActive,r=Object(i.useState)([]),o=r[0],l=r[1],s=Object(i.useState)(!1),c=s[0],u=s[1],d=Object(i.useState)(0),f=d[0],h=d[1],p=Object(de.k)(),m=Object(i.useState)(null),v=m[0],g=m[1],y=Object(i.useState)(null),b=y[0],w=y[1],k=Object(i.useState)(null),O=k[0],S=k[1],T=e.toggleState,x=e.selectedIndex,j=e.setToggleData,_=e.mobileToggleClose,E=function(e){e.id;var t=e.title,n=e.children,r=e.data,o=(e.modalActive,Object(i.useState)(r===t)),a=o[0],l=o[1];return Object(i.useEffect)((function(){var e=document.getElementsByClassName("mobileNavigation")[0];(null===e||void 0===e?void 0:e.classList.value.includes("active"))?l(r===t):(l(!1),w(null),g(null))}),[]),Ue("div",null,Ue("p",{onClick:function(){return l(!a)}},t),a&&Ue("div",null,n))};Object(i.useEffect)((function(){var e=[];t&&t.forEach((function(t,n){t&&t.childrens&&ye()(t,"childrens",[]).forEach((function(n){n&&n.subheader&&(-1!==e.findIndex((function(e){return e.linkName===t.linkName}))||e.push(t.linkName))}))})),l(e)}),[]);var N=function(e){var t=e.condition,n=e.children,r=Object(fe.a)(e,Fe);return t?n:Ue(ve,r,n)};return Ue("div",{className:"header-nav"},e.menuItems.map((function(e,t){return Ue("div",{key:"".concat(e.linkName,"-").concat(t),className:"menu_item ".concat(t==x&&1==T&&e.hasChild?"active":""," ").concat(e.hasChild?"sub_menu":"")},Ue("span",{onClick:function(){return j(t)}},e.hasChild?Ue("a",null,"".concat(e.linkName)):e.linkUrl?Ue(we.a,{prefetch:!1,href:e&&e.apiKey?"".concat(p).concat(e.linkUrl):"".concat(p,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},Ue("a",{onClick:function(){return _()}},e&&e.linkName)):Ue("a",{onClick:function(){return _()}},e&&e.linkName)),e.hasChild&&Ue("div",{className:"menu_list ".concat(o.indexOf(e.linkName)>-1?"sub-header-full":"sub-header-default")},Ue(N,{condition:ye()(e,"childrens",[]).some((function(e){return"subheader"in e})),maxHeight:480},Ue("ul",null,e.childrens&&e.childrens.map((function(e,t){var r,o,i;return(null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.length)>0?Ue(a.a.Fragment,null,Ue("div",{className:"inner_submenu--desktop"},Ue("li",{class:["inner_submenu link-with-arrow",f===t+1&&"inner_submenu--active"].join(" "),key:t,onClick:function(){return function(e){var t=e.i;u(!c),h(f===t+1?0:t+1)}({i:t})}},Ue("a",{href:"#"},e.linkName),Ue("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.map((function(e,n){var r;return Ue("li",{key:n,class:["inner_submenu link-with-arrow",f===t+1&&"inner_submenu--active"].join(" ")},Ue("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"".concat(e.linkUrl,"/").concat(e.id)},Ue("div",{onClick:function(){return _()}},e.linkName),e.hasChild&&Ue("ul",{className:"SubMenuChild thirdLevelList"},null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.map((function(e,t){return Ue("li",{class:"link-with-arrow",key:t},Ue("a",{href:e.linkUrl},e.linkName))})))))}))))),Ue("div",{className:"inner_submenu--mobile"},Ue(E,{modalActive:n,id:t,data:b,title:e.linkName},Ue("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(i=e.childrens)||void 0===i?void 0:i.map((function(t,n){var r;return Ue("li",{class:"link-with-arrow",key:n},Ue("a",{href:t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id),onClick:function(e){e.preventDefault(),!0===O&&S(!1),t.hasChild?(!0===O||!1===O)&&(window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)):window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)}},Ue("div",{onClick:function(){t.hasChild?(S(!0),g(n),w(e.linkName)):_()}},t.linkName),t.hasChild&&Ue("ul",{style:v===n?{display:"block"}:{display:"none"},className:"SubMenuChild thirdLevelList"},null===t||void 0===t?void 0:null===(r=t.childrens)||void 0===r?void 0:r.map((function(e,t){return Ue("li",{class:"link-with-arrow",key:t},Ue("a",{onClick:function(t){t.stopPropagation(),window.location.href=e.linkUrl},href:e.linkUrl},e.linkName))})))))})))))):Ue("li",{class:"link-with-arrow",key:t},Ue("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"/innerPage".concat(e.linkUrl,"/").concat(e.id)},Ue("span",{onClick:function(){return _()}},e.linkName)))}))))))})))})),We=n("0WgE"),Ve=n("fhwx"),Ge=n.n(Ve),Ke=(n("kqTW"),a.a.createElement);function $e(){$e=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(E){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new x(o||[]);return r(a,"_invoke",{value:k(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=c;var d={};function f(){}function h(){}function p(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(j([])));g&&g!==t&&n.call(g,i)&&(m=g);var y=p.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,l)}))}l(s.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function k(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 _()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=O(a,n);if(l){if(l===d)continue;return l}}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 s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function O(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,O(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;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,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return h.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.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}},e.values=j,x.prototype={constructor:x,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(T),!e)for(var t in this)"t"===t.charAt(0)&&n.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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):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),d},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),T(n),d}},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;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}var Je=function(e){var t=Object(i.useState)(null),n=t[0],r=t[1],o=Object(i.useState)(null),l=o[0],s=o[1],c=Object(i.useState)(!1),u=c[0],d=c[1],f=Object(i.useState)(0),h=f[0],p=f[1],m=Object(i.useState)(""),v=m[0],g=m[1],y=Object(i.useState)(""),b=y[0],w=y[1],k=Object(i.useState)(""),O=k[0],S=k[1],T=Object(i.useState)(""),x=T[0],j=T[1],_=Object(i.useState)(""),E=(_[0],_[1]),N=Object(i.useState)([]),C=N[0],L=N[1],P=Object(i.useState)(!1),A=P[0],D=P[1],M=Object(i.useState)(null),H=M[0],q=M[1],z=Object(i.useState)(!1),I=z[0],R=z[1],F=Object(i.useState)(!1),U=F[0],B=F[1],W=Object(i.useState)(!1),V=W[0],G=W[1];Object(i.useEffect)((function(){g(U?"font-accessibility activeAccess":"")}),[U]);var K=Object(i.useRef)(null),$=Object(i.useRef)(null),J=Object(i.useRef)(null),Y=Object(i.useRef)(null),X=Object(i.useRef)(),Z=Object(i.useRef)(null),Q=function(e){s(e),l==e?r(!n):(0==n||null==n)&&r(!n)},ee=function(e){K&&K.current&&!K.current.contains(e.target)&&te(),$.current&&!$.current.contains(e.target)&&g(""),J.current&&!J.current.contains(e.target)&&G(!1),J.current&&!J.current.contains(e.target)&&w(!1),J.current.contains(e.target)||S(!1),Y.current&&!Y.current.contains(e.target)&&(L([]),D(!1))};Object(i.useEffect)((function(){return document.addEventListener("click",ee,!0),sessionStorage.setItem("increaseFontSize",h),function(){document.removeEventListener("click",ee,!0)}}),[]);Object(i.useEffect)((function(){return document.addEventListener("click",ee,!0),sessionStorage.setItem("increaseFontSize",h),document.documentElement.style.setProperty("--font-size","".concat(100+h,"%")),document.documentElement.style.setProperty("--font-size-pixel","".concat(h,"px")),function(){document.removeEventListener("click",ee,!0)}}),[h]);var te=function(){s(null),r(null),document.getElementsByTagName("body")[0].classList.remove("menuOpen"),document.getElementsByClassName("mobileNavigation")[0].classList.remove("active")},ne=function(e){return $e().async((function(t){for(;;)switch(t.prev=t.next){case 0:j(e.target.value||document.getElementsByName("searchValue")[0].value),E("");case 2:case"end":return t.stop()}}),null,null,null,Promise)},re=function(e){var t,n,r,o,i,a;return $e().async((function(l){for(;;)switch(l.prev=l.next){case 0:if(!((e.target.value&&e.target.value.length>=3||x.length>=3)&&"searchButtontest"===e.target.className||e.target.value&&e.target.value.length>=3&&13==e.keyCode)||!0===I){l.next=12;break}return R(!0),r=e.target.value||document.getElementsByName("searchValue")[0].value,l.next=5,$e().awrap(Object(De.b)("api/content-search?q="+r,{method:"POST",mode:"cors"}));case 5:return o=l.sent,void 0===(i=o.data.resultItems)&&null===i||R(!1),a=i&&i.length>0?i:[],L(Object(Ce.a)(a)),D(!0),l.abrupt("return",a);case 12:(null===e||void 0===e?void 0:null===(t=e.target)||void 0===t?void 0:null===(n=t.value)||void 0===n?void 0:n.length)<3&&D(!1);case 13:case"end":return l.stop()}}),null,null,null,Promise)};return Ke("header",{className:"sticky"},Ke("div",{className:"header_container_white",ref:Z},Ke("div",{className:"container-fluid"},Ke("div",{className:"header-main"},Ke("div",{className:"site-logo"},Ke(ue.a,{prefetch:!1,href:"".concat(Object(de.g)(),"/")},Ke("a",null,Ke("img",{src:e&&e.logoImage?e.logoImage.url:"",alt:e&&e.logoImage?e.logoImage.alt:""})))),Ke("div",{className:"search-layer nav-search-field",onClick:function(){S(!O)}},Object(de.o)()&&Ke("img",{className:"searchButtonMob",onClick:function(){G(!V)},src:"/assets/images/new_search.svg"}),0===x.length&&Ke("div",{className:"search_data_suggestion ".concat(O?"active":"")},Ke("div",{className:"most-search"},Ke("h4",null,"You may be interested in"),Ke("ul",null,Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/covid-related-information"},"Information about Covid-19")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/pm-stiac"},"Prime Minister's Science, Technology and Innovation Advisory Council")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/etg"},"Empowered Technology Group (ETG)")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/mission/natural-language-translation/33"},"Natural Language Translation")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/st-clusters"},"Science & Technology Clusters")))))),Ke("div",{className:"mobileToggle",onClick:function(){d(!1),document.getElementsByTagName("body")[0].classList.add("menuOpen"),document.getElementsByClassName("mobileNavigation")[0].classList.add("active")}},Ke("span",null),Ke("span",null),Ke("span",null)),Ke(Be,{modalActive:u,mobileToggleClose:te,setToggleData:Q,toggleState:n,selectedIndex:n,menuItems:e&&e.pageProps?e.pageProps.headerMenu:[]}),Ke("div",{className:"search-layer nav-search-field",onClick:function(){w(!b)},ref:J},!Object(de.o)()&&Ke("input",{type:"text",name:"searchValue",style:{zIndex:4,position:"relative"},placeholder:"Search Here...",onChange:function(e){return ne(e)},onKeyUp:function(e){return re(e)},value:x}),Object(de.o)()&&V&&Ke("div",{className:"searchMob"},Ke("div",{className:"searchMob-wrap"},Ke("input",{className:"test",type:"text",name:"searchValue",style:{position:"relative"},placeholder:"Search..",onChange:function(e){return ne(e)},onKeyUp:function(e){return re(e)},value:x}),Ke("img",I?{className:"search-loader",src:"/assets/images/Loader.gif",alt:"search-button"}:{className:"searchButtontest",onClick:function(e){return re(e)},src:"/assets/images/new_search.svg"}))),!Object(de.o)()&&V&&Ke("input",{className:"test",type:"text",name:"searchValue",style:{zIndex:4,position:"relative"},placeholder:"Search Here...",onChange:function(e){return ne(e)},onKeyUp:function(e){return re(e)},value:x}),!Object(de.o)()&&Ke("img",I?{src:"/assets/images/Loader.gif",className:"search-loader",alt:"search-button"}:{className:"searchButtontest",onClick:function(e){return re(e)},src:"/assets/images/new_search.svg"}),0===x.length&&Ke("div",{className:"search_data_suggestion ".concat(b?"active":"")},Ke("div",{className:"most-search"},Ke("h4",null,"You may be interested in"),Ke("ul",null,Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/covid-related-information"},"Information about Covid-19")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/pm-stiac"},"Prime Minister's Science, Technology and Innovation Advisory Council")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/etg"},"Empowered Technology Group (ETG)")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/mission/natural-language-translation/33"},"Natural Language Translation")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/st-clusters"},"Science & Technology Clusters"))))),!I&&Ke(We.default,{closeButtonStyle:{},width:"100vw",height:"100vh",modalContentHeight:"50vh",padding:"0",overFlowX:"hidden",overFlowY:"hidden",showClosebutton:!1,isOpen:A,onClose:function(){D(!1)}},Ke("div",{className:"search_data_content ",ref:Y},Ke("div",{className:"search-result-wrap ".concat(b?"active":"")},Ke("div",{class:"search-view-block"},Ke("div",{class:"search-result-text"},Ke("p",null,"Showing ",Ke("b",null," ")," Search Results for ",Ke("b",null,"'",x,"'")),Ke("span",{className:"close-button",onClick:function(){D(!1)}}))),C.length>0?Ke("div",{className:"search-result-grid ".concat(C.length<=2?"no-arrow":""),onScroll:function(){var e=X.current.scrollTop,t=X.current.scrollHeight-X.current.clientHeight;e===t!==H&&q(e===t)},ref:X},C&&C.map((function(e,t){return Ke(a.a.Fragment,null,Ke("div",{className:"search-result-item"},Ke("div",{className:"search-result-info"},Ke("div",{className:"search-result-info-text"},Ke("h5",null,e.title),Ke("p",null,Ge()(e.description))),Ke("a",{href:e.clickUrl,className:"readmore"},"Read More"))))}))):Ke("div",{class:"search-no-result"},Ke("div",{className:"search-result-grid"},Ke("p",null,"No Result Found!"))),Ke("div",{className:"icon-arrow"},H?"":Ke("img",{src:"assets/images/dropdown_arrow.svg"}))))),Ke("div",null)),Ke("div",{onClick:function(){return g("font-accessibility activeAccess")},className:v||"font-accessibility",ref:$},Ke("div",{className:"accesss-toggle",onClick:function(){B(!U)}},Ke("img",{src:"/assets/images/accessibility_icon2.svg",alt:"fontSizeChange"})),Ke("ul",null,Ke("li",{onClick:function(){h<15&&(p((function(e){return e+1})),sessionStorage.setItem("increaseFontSize",h+1))}},"A+"),Ke("li",{onClick:function(){p(0),sessionStorage.setItem("increaseFontSize",0)}},"A"),Ke("li",{onClick:function(){h>-3&&(p((function(e){return e-1})),sessionStorage.setItem("increaseFontSize",h-1))}},"A-")))))),Ke("div",{ref:K,className:"mobileNavigation"},Ke("div",{className:"mNavigationHead"},Ke("span",null,"Menu"),Ke("div",{className:"menuCloseToggle",onClick:te})),Ke("div",{className:"mobMenuWrap"},Ke(Be,{modalActive:u,mobileToggleClose:te,setToggleData:Q,toggleState:n,selectedIndex:l,menuItems:e&&e.pageProps?e.pageProps.headerMenu:[]}))))},Ye=(n("IrBP"),a.a.createElement),Xe=function(e){e.settings;var t=e.pageProps,n=e.logoImage,r=e.lastUpdatedOn,l=void 0===r?"":r,s=Object(de.k)(),c=(Object(o.useRouter)(),function(){var e=document.getElementById("myBtn");document.body.scrollTop>300||document.documentElement.scrollTop,e.style.display="none"});return Object(i.useEffect)((function(){window.addEventListener("scroll",c)}),[]),Ye(a.a.Fragment,null,Ye("div",{className:"footer-main-wrapper"},t&&t.ourAssociation&&t.ourAssociation.label?Ye("h3",{className:"text-center"},t.ourAssociation.label.normal):null,Ye("ul",{className:"association-wrapper"},Ye("div",{className:"container"},Ye("div",{className:"association-items"},t&&t.ourAssociation&&t.ourAssociation.data&&t.ourAssociation.data.map((function(e,t){return Ye("li",{className:"association-item",key:"association-".concat(t)},Ye("a",{href:"".concat(s).concat(e.link),target:"_blank"},Ye("img",{src:e.image&&e.image.url,alt:e.image.alt})))}))))),Ye("div",{className:"footer-bottom"},Ye("div",{className:"container"},Ye("div",{className:"footer-bottom-main"},Ye("div",{className:"footer-bottom-left"},Ye("div",{className:"footer-info"},Ye("div",{className:"logo"},Ye("img",{src:n&&n.url,alt:n&&n.alt})),Ye("div",{className:"footer-info-text"},Ye("p",null,"The Government of India established the Office of the Principal Scientific Adviser (PSA) in November 1999. The PSA's office aims to provide pragmatic and objective advice to the Prime Minister and the cabinet in matters of Science and Technology.")),Ye("div",{className:"social-icons"},Ye("div",null,Ye(ue.a,{prefetch:!1,href:"https://www.facebook.com/prinsciadvoff/"},Ye("a",{className:"facebook",target:"_blank"},Ye("img",{src:"/assets/images/facebook-square.svg",alt:"facebook"}))),Ye(ue.a,{prefetch:!1,href:"https://twitter.com/PrinSciAdvOff"},Ye("a",{className:"twitter",target:"_blank"},Ye("img",{src:"/assets/images/twitter-square.svg",alt:"twitter"}))),Ye(ue.a,{prefetch:!1,href:"https://in.linkedin.com/company/prinsciadvoff"},Ye("a",{className:"linkedin",target:"_blank"},Ye("img",{src:"/assets/images/linkedin-square.svg",alt:"instagram"})))),l&&Ye("div",{className:"updated-at"},"Last Updated on : ",l)))),Ye("div",{className:"footer_menu"},Ye("ul",null,t&&t.footerMenu.map((function(e,t){return Ye("li",{key:"".concat(e.linkName,"-").concat(t)},Ye("a",{prefetch:!1,href:e&&e.apiKey?"".concat(s).concat(e.linkUrl):"".concat(s,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},e.linkName))})))))))),Ye("div",{className:"topbutton",id:"myBtn",onClick:function(){return window.scrollTo(0,0)}},Ye("div",null,Ye("figure",null,Ye("img",{src:"/assets/images/back-arrow2.svg",alt:"topbutton"})),!Object(de.o)()&&Ye("p",null,"Back to Top"))))},Ze=a.a.createElement,Qe=function(e){var t=e.children,n=e.pageProps,r=e.componentProps,l=Object(i.useState)(!1),s=l[0],c=l[1],u=Object(i.useState)(""),d=u[0],f=u[1],h=Object(i.useState)(""),p=h[0],m=h[1],v=Object(o.useRouter)();Object(i.useEffect)((function(){n&&n.pageData&&n.pageData.errorCode&&"/_error"!==window.location.pathname&&Object(de.c)(n.pageData.errorCode,v)}),[n]);var g=Object(i.useCallback)((function(e){var t=Object(de.e)(e),n=!!e&&!!e.path&&e.path.sort()||!!t&&t.sort(),r=n[n.length-1],o=!!r&&"A"==r.nodeName&&r.getAttribute("href"),i=!!r&&"A"==r.nodeName&&!!r.getAttribute("class")&&"btn is-external"==r.getAttribute("class"),a=!!r&&"A"==r.nodeName&&r.getAttribute("target"),l=!!r&&!!r.baseURI&&r.baseURI.split("/").slice(0,3).join("/")+"/";f(o),m(a);var s="";!o||i||0!=o.indexOf("http://")&&0!=o.indexOf("https://")||(s=o.split("/").slice(0,3).join("/")+"/",o&&l!==s&&s!==Re&&"_blank"==a?(e.preventDefault(),c(!0)):(c(!1),f("")))}),[]);Object(i.useEffect)((function(){return window.addEventListener("click",g,!1),function(){window.removeEventListener("click",g,!1),f(""),m(""),c(!1)}}),[g]);return Ze(a.a.Fragment,null,Ze(se.a,{showModal:s,modalClass:"external-links-modal"},Ze("div",{className:"external-link-wrap text-align-center"},Ze("p",null,Ze("strong",null,"You are being redirected to an external website."),Ze("span",null,"Please note that the Office of Principal Scientific Adviser, Government of India cannot be held responsible for external websites content & privacy policies.")),Ze("a",{className:"btn is-external",href:d,onClick:function(){return c(!1),!0},target:p||"_self"},"OK"),Ze("button",{className:"cross_btn",onClick:function(){c(!1),f(""),m("")}},"\xd7"))),Ze("div",null,Ze(Je,{pageProps:r&&r.header,logoImage:r&&r.logoImage}),Ze("div",{className:"content-region"},t),Ze(Xe,{pageProps:r&&r.footer,logoImage:r&&r.logoImage,lastUpdatedOn:r&&(null===r||void 0===r?void 0:r.UpdatedContentDate)})))},et=(n("wyBh"),n("+/r8"),a.a.createElement,n("wWBu"),n("pdi6"),n("qWJ0"),n("tyWD"),n("K7k0"),n("jDDT"),n("6Cl6"),n("1qWt")),tt=a.a.createElement;function nt(){nt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),l=new C(r||[]);return o(a,"_invoke",{value:j(e,n,l)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function g(){}function y(){}function b(){}var w={};c(w,a,(function(){return this}));var k=Object.getPrototypeOf,O=k&&k(k(L([])));O&&O!==n&&r.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,l){var s=d(e[o],e,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,n,r){var o=f;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var s=_(l,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function _(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,_(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},T(x.prototype),c(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(S),c(S,s,"Generator"),c(S,a,(function(){return this})),c(S,"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=L,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):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),v},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),N(n),v}},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;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}var rt=n("00EI").SITE_KEY,ot=a.a.createContext("default");function it(e){ae.set({page:window.location.pathname}),ae.pageview(window.location.pathname),setTimeout((function(){s.a.init(),s.a.refreshHard()}),1e3);var t=e.Component,n=e.pageProps,r=e.componentProps;return tt(ot.Provider,{value:{manifest:{aboutUs:"/web/api/v1/about-us",pmStiac:"/web/api/v1/pm-stiac",etgData:"/web/api/v1/etg-data",missionDetail:"/web/api/v1/mission",commonPage:"/api/v1/common-page"},pageProps:n}},tt(Qe,{pageProps:n,componentProps:r},tt(le.ToastContainer,{autoClose:2e3}),tt(et.a,{reCaptchaKey:rt},tt(t,n)),tt("noscript",null,tt("iframe",{src:"https://www.googletagmanager.com/ns.html?id=GTM-5VK6TZR2",height:"0",width:"0",style:{display:"none",visibility:"hidden"}}))))}o.Router.events.on("routeChangeStart",(function(){})),o.Router.events.on("routeChangeComplete",(function(){})),o.Router.events.on("routeChangeError",(function(){})),ae.initialize("UA-110918455-3",{debug:!0}),it.getInitialProps=function(e){var t;return nt().async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nt().awrap(De.a.get("api/v1/header-footer-menu"));case 2:return t=e.sent,e.abrupt("return",{componentProps:t.data.data});case 4:case"end":return e.stop()}}),null,null,null,Promise)};t.default=it},"1qWt":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n("q1tI"),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}).apply(this,arguments)};var a,l=function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+e);n&&n.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()},s=function(e){var t=e.render,n=e.onLoadCallbackName,r=e.language,o=e.onLoad,i=e.useRecaptchaNet,a=e.useEnterprise,l=e.scriptProps,s=void 0===l?{}:l,c=s.nonce,u=void 0===c?"":c,d=s.defer,f=void 0!==d&&d,h=s.async,p=void 0!==h&&h,m=s.id,v=void 0===m?"":m,g=s.appendTo,y=v||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(y))o();else{var b=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:a,useRecaptchaNet:i}),w=document.createElement("script");w.id=y,w.src=b+"?render="+t+("explicit"===t?"&onload="+n:"")+(r?"&hl="+r:""),u&&(w.nonce=u),w.defer=!!f,w.async=!!p,w.onload=o,("body"===g?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}},c=function(t){"undefined"!=typeof e&&e.env,console.warn(t)};(a||(a={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var u=Object(r.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});u.Consumer;function d(e){var t=e.reCaptchaKey,n=e.useEnterprise,d=void 0!==n&&n,f=e.useRecaptchaNet,h=void 0!==f&&f,p=e.scriptProps,m=e.language,v=e.container,g=e.children,y=Object(r.useState)(null),b=y[0],w=y[1],k=Object(r.useRef)(t),O=JSON.stringify(p),S=JSON.stringify(null==v?void 0:v.parameters);Object(r.useEffect)((function(){if(t){var e=(null==p?void 0:p.id)||"google-recaptcha-v3",n=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=d?window.grecaptcha.enterprise:window.grecaptcha,n=i({badge:"inline",size:"invisible",sitekey:t},(null==v?void 0:v.parameters)||{});k.current=e.render(null==v?void 0:v.element,n)},s({render:(null==v?void 0:v.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:d,useRecaptchaNet:h,scriptProps:p,language:m,onLoad:function(){if(window&&window.grecaptcha){var e=d?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){w(e)}))}else c("<GoogleRecaptchaProvider /> "+a.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){l(e,null==v?void 0:v.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[d,h,O,S,m,t,null==v?void 0:v.element]);var T=Object(r.useCallback)((function(e){if(!b||!b.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(k.current,{action:e})}),[b,k]),x=Object(r.useMemo)((function(){return{executeRecaptcha:b?T:void 0,container:null==v?void 0:v.element}}),[T,b,null==v?void 0:v.element]);return o.a.createElement(u.Provider,{value:x},g)}function f(e,t){return e(t={exports:{}},t.exports),t.exports}var h="function"==typeof Symbol&&Symbol.for,p=h?Symbol.for("react.element"):60103,m=h?Symbol.for("react.portal"):60106,v=h?Symbol.for("react.fragment"):60107,g=h?Symbol.for("react.strict_mode"):60108,y=h?Symbol.for("react.profiler"):60114,b=h?Symbol.for("react.provider"):60109,w=h?Symbol.for("react.context"):60110,k=h?Symbol.for("react.async_mode"):60111,O=h?Symbol.for("react.concurrent_mode"):60111,S=h?Symbol.for("react.forward_ref"):60112,T=h?Symbol.for("react.suspense"):60113,x=h?Symbol.for("react.suspense_list"):60120,j=h?Symbol.for("react.memo"):60115,_=h?Symbol.for("react.lazy"):60116,E=h?Symbol.for("react.block"):60121,N=h?Symbol.for("react.fundamental"):60117,C=h?Symbol.for("react.responder"):60118,L=h?Symbol.for("react.scope"):60119;function P(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case p:switch(e=e.type){case k:case O:case v:case y:case g:case T:return e;default:switch(e=e&&e.$$typeof){case w:case S:case _:case j:case b:return e;default:return t}}case m:return t}}}function A(e){return P(e)===O}var D={AsyncMode:k,ConcurrentMode:O,ContextConsumer:w,ContextProvider:b,Element:p,ForwardRef:S,Fragment:v,Lazy:_,Memo:j,Portal:m,Profiler:y,StrictMode:g,Suspense:T,isAsyncMode:function(e){return A(e)||P(e)===k},isConcurrentMode:A,isContextConsumer:function(e){return P(e)===w},isContextProvider:function(e){return P(e)===b},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===p},isForwardRef:function(e){return P(e)===S},isFragment:function(e){return P(e)===v},isLazy:function(e){return P(e)===_},isMemo:function(e){return P(e)===j},isPortal:function(e){return P(e)===m},isProfiler:function(e){return P(e)===y},isStrictMode:function(e){return P(e)===g},isSuspense:function(e){return P(e)===T},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===v||e===O||e===y||e===g||e===T||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===j||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===N||e.$$typeof===C||e.$$typeof===L||e.$$typeof===E)},typeOf:P},M=f((function(e,t){})),H=(M.AsyncMode,M.ConcurrentMode,M.ContextConsumer,M.ContextProvider,M.Element,M.ForwardRef,M.Fragment,M.Lazy,M.Memo,M.Portal,M.Profiler,M.StrictMode,M.Suspense,M.isAsyncMode,M.isConcurrentMode,M.isContextConsumer,M.isContextProvider,M.isElement,M.isForwardRef,M.isFragment,M.isLazy,M.isMemo,M.isPortal,M.isProfiler,M.isStrictMode,M.isSuspense,M.isValidElementType,M.typeOf,f((function(e){e.exports=D}))),q={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},z={};z[H.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z[H.Memo]=q;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}).call(this,n("8oxB"))},"1zUT":function(e,t,n){e.exports=a;var r=n("nqsp"),o=n("AHSw"),i=n("3lc3").ConnectionFault;function a(e,t){o.call(this,e,t)}r.inherits(a,o),a.prototype.request=function(e,t){var n={url:this.host.makeUrl(e),data:e.body,type:e.method,dataType:"text",headers:this.host.getHeaders(e.headers),done:t},r=jQuery.ajax(n).done((function(e){t(null,e,r.statusCode(),{"content-type":r.getResponseHeader("content-type")})})).fail((function(e,n,o){e&&e.responseText?t(null,e.responseText,r.statusCode(),{"content-type":r.getResponseHeader("content-type")}):t(new i(o&&o.message))}));return function(){r.abort()}}},"2XKd":function(e,t,n){e.exports=o;var r=n("LvDl");function o(){}o.prototype.serialize=function(e,t,n){switch(typeof e){case"string":return e;case"object":if(e)return t||n?JSON.stringify(e,t,n):JSON.stringify(e);default:return}},o.prototype.serialize.contentType="application/json",o.prototype.deserialize=function(e){if("string"===typeof e)try{return JSON.parse(e)}catch(t){}},o.prototype.bulkBody=function(e){var t,n="";if(r.isArray(e))for(t=0;t<e.length;t++)n+=this.serialize(e[t])+"\n";else{if("string"!==typeof e)throw new TypeError("Bulk body should either be an Array of commands/string, or a String");n=e+("\n"===e[e.length-1]?"":"\n")}return n},o.prototype.bulkBody.contentType="application/x-ndjson"},"2qu3":function(e,t,n){"use strict";var r=n("/GRZ"),o=n("i2R6");function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return a(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 a(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,l=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw i}}}}function a(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 l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=l(n("q1tI")),c=n("8L3h"),u=n("jwwS"),d=[],f=[],h=!1;function p(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function m(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=p(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function v(e,t){return s.default.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:v,webpack:null,modules:null},t),r=null;function o(){if(!r){var t=new y(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!h&&"function"===typeof n.webpack){var a=n.webpack();f.push((function(e){var t,n=i(a);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return o()}}catch(l){n.e(l)}finally{n.f()}}))}var l=function(e,t){o();var i=s.default.useContext(u.LoadableContext),a=c.useSubscription(r);return s.default.useImperativeHandle(t,(function(){return{retry:r.retry}}),[]),i&&Array.isArray(n.modules)&&n.modules.forEach((function(e){i(e)})),s.default.useMemo((function(){return a.loading||a.error?s.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?n.render(a.loaded,e):null}),[e,a])};return l.preload=function(){return o()},l.displayName="LoadableComponent",s.default.forwardRef(l)}var y=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=Object.assign(Object.assign(Object.assign({},this._state),{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function b(e){return g(p,e)}function w(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return w(e,t)}))}b.Map=function(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(m,e)},b.preloadAll=function(){return new Promise((function(e,t){w(d).then(e,t)}))},b.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return h=!0,t()};w(f,e).then(n,n)}))},window.__NEXT_PRELOADREADY=b.preloadReady,t.default=b},"3B+5":function(e,t,n){(function(t){e.exports=c;var r=n("LvDl"),o=n("nqsp"),i=n("3lc3"),a=n("TWcL"),l=n("k5Bo"),s=n("fcP5");function c(e){var t=this,i="function"===typeof(e=t._config=e||{}).log?e.log:n("fTNz");e.log=t.log=new i(e);var u=o.funcEnum(e,"connectionPool",c.connectionPools,"main");t.connectionPool=new u(e);var d=o.funcEnum(e,"serializer",c.serializers,"json");t.serializer=new d(e),t.nodesToHostCallback=o.funcEnum(e,"nodesToHostCallback",c.nodesToHostCallbacks,"main"),t.maxRetries=e.hasOwnProperty("maxRetries")?e.maxRetries:3,t.sniffEndpoint=e.hasOwnProperty("sniffEndpoint")?e.sniffEndpoint:"/_nodes/_all/http",t.requestTimeout=e.hasOwnProperty("requestTimeout")?e.requestTimeout:3e4,t.pingTimeout=e.hasOwnProperty("pingTimeout")?e.pingTimeout:3e3,e.hasOwnProperty("defer")&&(t.defer=e.defer);var f=!e.hasOwnProperty("randomizeHosts")||!!e.randomizeHosts;if(e.host&&(e.hosts=e.host),e.hosts){var h=o.createArray(e.hosts,(function(e){if(r.isPlainObject(e)||r.isString(e)||e instanceof a)return e}));if(!h)throw new TypeError("Invalid hosts config. Expected a URL, an array of urls, a host config object, or an array of host config objects.");f&&(h=r.shuffle(h)),t.setHosts(h)}e.hasOwnProperty("sniffedNodesProtocol")?t.sniffedNodesProtocol=e.sniffedNodesProtocol||null:t.sniffedNodesProtocol=s(t.connectionPool.getAllHosts())||null,e.hasOwnProperty("sniffedNodesFilterPath")?t.sniffedNodesFilterPath=e.sniffedNodesFilterPath:t.sniffedNodesFilterPath=["nodes.*.http.publish_address","nodes.*.name","nodes.*.hostname","nodes.*.host","nodes.*.version"].join(","),e.sniffOnStart&&t.sniff(),e.sniffInterval&&t._timeout((function n(){t.sniff(),t._timeout(n,e.sniffInterval)}),e.sniffInterval),e.sniffOnConnectionFault&&l(t)}c.connectionPools={main:n("IDUY")},c.serializers=n("eT2a"),c.nodesToHostCallbacks={main:n("cs6Z")},c.prototype.defer=function(){if("undefined"===typeof Promise)throw new Error("No Promise implementation found. In order for elasticsearch-js to create promises either specify the `defer` configuration or include a global Promise shim");var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e},c.prototype.request=function(e,n){var a,l,s,c,u,d=this,f=this.maxRetries,h=this.requestTimeout,p=!1,m=e.body,v=e.headers?r.transform(e.headers,(function(e,t,n){e[String(n).toLowerCase()]=t})):{};if(d.log.debug("starting request",e),"function"===typeof n?(t.domain&&(n=t.domain.bind(n)),c={abort:O}):(c=(u=this.defer()).promise).abort=O,m&&"GET"===e.method)return o.nextTick(k,new TypeError('Body can not be sent with method "GET"')),c;if(m){var g=d.serializer,y=g[e.bulkBody?"bulkBody":"serialize"];m=y.call(g,m),v["content-type"]||(v["content-type"]=y.contentType)}if(e.hasOwnProperty("maxRetries")&&(f=e.maxRetries),e.hasOwnProperty("requestTimeout")&&(h=e.requestTimeout),"/"===e.path&&"HEAD"===e.method){const t=e.hasOwnProperty("requestTimeout")&&e.requestTimeout;h=t||this.pingTimeout}function b(t,n){p||(t?k(t):n?l=(a=n).request(e.req,w):(d.log.warning("No living connections"),k(new i.NoConnections)))}function w(t,n,r,o){if(!p){if(l=void 0,t instanceof i.RequestTypeError)return d.log.error("Connection refused to execute the request",t),void k(t,n,r,o);if(t){a.setStatus("dead");var s=t.message||"";s="\n"+e.req.method+" "+a.host.makeUrl(e.req)+(s.length?" => ":"")+s,f?(f--,d.log.error("Request error, retrying"+s),d.connectionPool.select(b)):(d.log.error("Request complete with error"+s),k(new i.ConnectionFault(t)))}else d.log.debug("Request complete"),k(void 0,n,r,o)}}function k(t,o,a,l){if(!p){var c;d._timeout(s);var f=!l||l["content-type"]&&~l["content-type"].indexOf("application/json");if(!t&&o&&(f?null==(c=d.serializer.deserialize(o))&&(t=new i.Serialization,c=o):c=o),(!t||t instanceof i.Serialization)&&(a<200||a>=300)&&(!e.ignore||!r.includes(e.ignore,a))){var h=r.pick(e.req,["path","query","body"]);h.statusCode=a,h.response=o,401===a&&l&&l["www-authenticate"]&&(h.wwwAuthenticateDirective=l["www-authenticate"]),t=i[a]?new i[a](c&&c.error,h):new i.Generic("unknown error",h)}e.castExists&&(t&&t instanceof i.NotFound?(c=!1,t=void 0):c=!t),"function"===typeof n?n(t||void 0,c,a):t?(t.body=c,t.status=a,u.reject(t)):u.resolve(c)}}function O(){p||(p=!0,f=0,d._timeout(s),"function"===typeof l&&l())}return e.req={method:e.method,path:e.path||"/",query:e.query,body:m,headers:v},h&&h!==1/0&&(s=this._timeout((function(){k(new i.RequestTimeout("Request Timeout after "+h+"ms")),O()}),h)),a?b(void 0,a):d.connectionPool.select(b),c},c.prototype._timeout=function(e,t){if(!this.closed){var n,o=this._timers||(this._timers=[]);if("function"!==typeof e&&(n=e,e=void 0),e)return n=setTimeout((function(){r.pull(o,n),e()}),t),o.push(n),n;if(n){clearTimeout(n);var i=this._timers.indexOf(n);-1!==i&&this._timers.splice(i,1)}}},c.prototype.sniff=function(e){var t=this,n=this.nodesToHostCallback,o=this.log,i=this.sniffedNodesProtocol,a=this.sniffedNodesFilterPath;e="function"===typeof e?e:r.noop,this.request({path:this.sniffEndpoint,query:{filter_path:a},method:"GET"},(function(a,l,s){if(!a&&l&&l.nodes){var c;try{c=n(l.nodes)}catch(u){return void o.error(new Error("Unable to convert node list from "+t.sniffEndpoint+" to hosts durring sniff. Encountered error:\n"+(u.stack||u.message)))}r.forEach(c,(function(e){i&&(e.protocol=i)})),t.setHosts(c)}e(a,l,s)}))},c.prototype.setHosts=function(e){var t=this._config;this.connectionPool.setHosts(r.map(e,(function(e){return e instanceof a?e:new a(e,t)})))},c.prototype.close=function(){this.log.close(),this.closed=!0,r.each(this._timers,clearTimeout),this._timers=null,this.connectionPool.close()}}).call(this,n("8oxB"))},"3GpW":function(e,t){e.exports=function(e){return e[Math.floor(Math.random()*e.length)]}},"3IO0":function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(i,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():o.test(e)?function(e){return e.replace(a,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,o=/([a-z][A-Z]|[A-Z][a-z])/;var i=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g},"3lc3":function(e,t,n){var r=n("LvDl"),o=n("nqsp"),i=e.exports,a="function"===typeof Error.captureStackTrace,l=!!(new Error).stack;function s(e,t,n){this.message=e,Error.call(this,this.message),a?Error.captureStackTrace(this,t):this.stack=l?(new Error).stack:"",n&&(r.assign(this,n),this.toString=function(){return e+" :: "+JSON.stringify(n)},this.toJSON=function(){return r.assign({msg:e},n)})}i._Abstract=s,o.inherits(s,Error),i.ConnectionFault=function(e){s.call(this,e||"Connection Failure",i.ConnectionFault)},o.inherits(i.ConnectionFault,s),i.NoConnections=function(e){s.call(this,e||"No Living connections",i.NoConnections)},o.inherits(i.NoConnections,s),i.Generic=function(e,t){s.call(this,e||"Generic Error",i.Generic,t)},o.inherits(i.Generic,s),i.RequestTimeout=function(e){s.call(this,e||"Request Timeout",i.RequestTimeout)},o.inherits(i.RequestTimeout,s),i.Serialization=function(e){s.call(this,e||"Unable to parse/serialize body",i.Serialization)},o.inherits(i.Serialization,s),i.RequestTypeError=function(e){s.call(this,"Cross-domain AJAX requests "+e+" are not supported",i.RequestTypeError)},o.inherits(i.RequestTypeError,s);r.each([[300,"Multiple Choices"],[301,"Moved Permanently"],[302,"Found"],[303,"See Other"],[304,"Not Modified"],[305,"Use Proxy"],[307,"Temporary Redirect"],[308,"Permanent Redirect"],[400,"Bad Request"],[401,"Authentication Exception"],[402,"Payment Required"],[403,["Authorization Exception","Forbidden"]],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[407,"Proxy Authentication Required"],[408,"Request Timeout"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Request Entity Too Large"],[414,"Request URIToo Long"],[415,"Unsupported Media Type"],[416,"Requested Range Not Satisfiable"],[417,"Expectation Failed"],[418,"Im ATeapot"],[421,"Too Many Connections From This IP"],[426,"Upgrade Required"],[429,"Too Many Requests"],[450,"Blocked By Windows Parental Controls"],[494,"Request Header Too Large"],[497,"HTTPTo HTTPS"],[499,"Client Closed Request"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Timeout"],[505,"HTTPVersion Not Supported"],[506,"Variant Also Negotiates"],[510,"Not Extended"]],(function(e){var t=e[0],n=e[1],a=[].concat(n,t),l=a[0],c=o.studlyCase(l);function u(e,n){this.status=t,this.displayName=c;var o=null;return r.isPlainObject(e)&&(o=e,e=null),o?((e=[].concat(o.root_cause||[]).reduce((function(e,t){e&&(e+=" (and) "),e+="["+t.type+"] "+t.reason;var n=r.omit(t,["type","reason"]);return r.size(n)&&(e+=", with "+function(e){const t=[];return function e(n){if("object"!==typeof n)return JSON.stringify(n);if(t.indexOf(n)>-1)return"[circular]";t.push(n);try{return"{ "+r.map(n,(function(t,n){return n+"="+e(t)})).join(" & ")+" }"}finally{t.pop()}}(e)}(n)),e}),""))||(o.type&&(e+="["+o.type+"] "),o.reason&&(e+=o.reason)),s.call(this,e||l,u,n),this):(s.call(this,e||l,u,n),this)}a=r.uniq(a.concat(c)),o.inherits(u,s),a.forEach((function(e){i[e]=u}))}))},"5Tn3":function(e,t,n){e.exports=a;var r=n("nqsp"),o=n("AHSw"),i=n("3lc3").ConnectionFault;function a(e,t){o.call(this,e,t);var n=this;t.$injector.invoke(["$http","$q",function(e,t){n.$q=t,n.$http=e}])}r.inherits(a,o),a.prototype.request=function(e,t){var n=this.$q.defer();return this.$http({method:e.method,url:this.host.makeUrl(e),data:e.body,cache:!1,headers:this.host.getHeaders(e.headers),transformRequest:[],transformResponse:[],timeout:n.promise}).then((function(e){t(null,e.data,e.status,e.headers())}),(function(e){e.status?t(null,e.data,e.status,e.headers()):t(new i(e.message))})),function(){n.resolve()}}},"6ecz":function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return y}));var r=n("rePB"),o=n("q1tI"),i=n.n(o),a=(n("LvDl"),n("fhwx")),l=n.n(a),s=(n("60Bi"),n("OS56")),c=n.n(s),u=(n("YFqc"),n("gF98")),d=n("YVY1"),f=n("X27C"),h=n("MYpF"),p=n("kdJN"),m=n("2v50"),v=(n("nl0m"),n("tqSo"),n("/M1s"),i.a.createElement);function g(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}var y=!0;t.default=function(e){var t,n,a,s,y,b,w,k,O,S,T,x,j=e.pageData,_=(void 0===j?{}:j).componentData,E=void 0===_?{}:_,N=E.title,C=E.introduction,L=E.video,P=E.videoImage,A=E.objectives,D=E.clusters,M=E.clusterNews,H=E.otherInfo,q=E.publication,z=(E.challengeEvents,E.metatags),I=Object(o.useState)(0),R=I[0],F=I[1],U=Object(o.useState)(0),B=U[0],W=U[1],V=Object(o.useState)(0),G=V[0],K=V[1];Object(o.useRef)(null);Object(o.useEffect)((function(){document.querySelectorAll(".other-info a").forEach((function(e){e.classList.add("readmore"),e.classList.add("blue")}))}),[]),Object(o.useEffect)((function(){var e=document.querySelector(".card"),t=document.querySelector(".hide");e.classList.add("hide"),e.classList.remove("card"),t.classList.add("card"),t.classList.remove("hide");var n=setTimeout((function(){}),500);return function(){return clearTimeout(n)}}),[R,B]);var $=function(e){K(e);for(var t,n=document.querySelector(".card"),r=document.querySelector(".hide"),o=n.getAttribute("src"),i=0;i<D.data.length;i++){var a,l;(null===(a=D.data[i])||void 0===a?void 0:null===(l=a.new_image)||void 0===l?void 0:l.url)===o&&(t=i)}B===t&&e!==t?(R===e&&B===t&&(n.classList.add("hide"),n.classList.remove("card"),r.classList.add("card"),r.classList.remove("hide")),F((function(t){return e})),W((function(e){return t}))):e!==t&&(R===t&&B===e&&(n.classList.add("hide"),n.classList.remove("card"),r.classList.add("card"),r.classList.remove("hide")),F((function(e){return t})),W((function(t){return e})))},J=Object(m.k)(),Y=z?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},z):{title:"Science & Technology Cluster",robots:"index, follow",canonical_url:"https://www.psa.gov.in/st-clusters",description:"Science & Technology Cluster",Keywords:"Bengaluru Science and Technology Cluster (Best)"},X=Object(o.useState)(!1),Z=X[0],Q=X[1];return Object(o.useEffect)((function(){var e=function(){Q(window.screen.width<990)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),v(i.a.Fragment,null,v(u.a,Y),v(d.a,{dataProps:{title:N,video:L,videoImage:P}}),v(f.a,{introData:C}),v("div",{className:"mt-50 mt-md-50"},v("div",{className:"border-container-left bg-grey-09 p-50 "},v(p.a,{baseUrl:J,data:q.data}))),v("div",null),v(h.a,{introData:A.headline}),v("div",{className:"container-fluid lato-paragraph"},l()(A.description)),v(h.a,{introData:D.label}),v("div",{className:"cluster-wrapper"},v("img",{style:{position:"absolute",top:0},className:"hide",src:null===(t=D.data[B])||void 0===t?void 0:null===(n=t.new_image)||void 0===n?void 0:n.url,alt:null===(a=D.data[B])||void 0===a?void 0:null===(s=a.new_image)||void 0===s?void 0:s.alt}),v("img",{style:{position:"absolute",top:0},className:"card image",src:null===(y=D.data[R])||void 0===y?void 0:null===(b=y.new_image)||void 0===b?void 0:b.url,alt:null===(w=D.data[R])||void 0===w?void 0:null===(k=w.new_image)||void 0===k?void 0:k.alt}),v("a",{href:null===(O=D.data[G])||void 0===O?void 0:null===(S=O.link)||void 0===S?void 0:S.uri,className:"secondary-button-01 cluster-link",target:"_blank"},(null===(T=D.data[B])||void 0===T?void 0:null===(x=T.link)||void 0===x?void 0:x.title)||"Visit Website")),v("div",{className:"container-fluid"},v("div",{className:"cluster-grid"},Z?D.data.map((function(e,t){var n,r;return v("div",{className:"cluster-item ".concat(G===t&&"active")},v("div",{className:"cluster-image",onClick:function(){return $(t)}},v("img",{src:e.image.url,alt:e.image.alt})),v("div",{className:"cluster-text",style:{textAlign:"center"}},e.title),v("a",{href:null===e||void 0===e?void 0:null===(n=e.link)||void 0===n?void 0:n.uri,className:"cluster-link"},(null===e||void 0===e?void 0:null===(r=e.link)||void 0===r?void 0:r.title)||"Visit Website"))})):D.data.map((function(e,t){return v("div",{className:"cluster-item ".concat(G===t&&"active")},v("div",{className:"cluster-image",onClick:function(){return $(t)}},v("img",{src:e.image.url,alt:e.image.alt})),v("div",{className:"cluster-text",style:{textAlign:"center"}},e.title))})))),v(h.a,{introData:M.label}),v("div",{className:"container-fluid"},v("div",{className:"imageWrapBox-wrapper image-box-slider"},v("div",{class:"imageWrapBox"},v(c.a,{dots:!1,arrows:!0,infinite:!0,slidesToShow:2,slidesToScroll:1,pauseOnHover:!0,autoplay:!1,autoplaySpeed:5e3,responsive:[{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}]},M.data.map((function(e,t){return v("div",{class:"boxList ",key:t},v("img",{src:e.image.url,alt:e.image.alt?e.image.alt:""}),v("div",{className:"imagebox-content"},v("div",{className:"imagebox-text"},v("h6",null,e.title),v("a",{className:"readmore lato-paragraph-small",href:e.link},e.title)),v("div",{className:"imagebox-image"},v("img",{src:e.image,alt:e.alt?e.alt:""}))))})))))),v("div",{className:"additional-info"},v(f.a,{introData:H})))}},"7tlc":function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),s=r[n];n<i;s=r[++n])m(s)||!w(s)?a+=" "+s:a+=" "+l(s);return a},t.deprecate=function(n,r){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),o=!0}return n.apply(this,arguments)}};var i,a={};function l(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),u(r,e,r.depth)}function s(e,t){var n=l.styles[t];return n?"\x1b["+l.colors[n][0]+"m"+e+"\x1b["+l.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return g(o)||(o=u(e,o,r)),o}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),l=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(S(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(O(n))return d(n)}var c,w="",T=!1,x=["{","}"];(h(n)&&(T=!0,x=["[","]"]),S(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(w=" "+RegExp.prototype.toString.call(n)),k(n)&&(w=" "+Date.prototype.toUTCString.call(n)),O(n)&&(w=" "+d(n)),0!==a.length||T&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=T?function(e,t,n,r,o){for(var i=[],a=0,l=t.length;a<l;++a)E(t,String(a))?i.push(f(e,t,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,n,r,o,!0))})),i}(e,n,r,l,a):a.map((function(t){return f(e,n,r,l,t,T)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,x)):x[0]+w+x[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,o,i){var a,l,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?l=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(l=e.stylize("[Setter]","special")),E(r,o)||(a="["+o+"]"),l||(e.seen.indexOf(s.value)<0?(l=m(n)?u(e,s.value,null):u(e,s.value,n-1)).indexOf("\n")>-1&&(l=i?l.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+l.split("\n").map((function(e){return" "+e})).join("\n")):l=e.stylize("[Circular]","special")),y(a)){if(i&&o.match(/^\d+$/))return l;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+l}function h(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function m(e){return null===e}function v(e){return"number"===typeof e}function g(e){return"string"===typeof e}function y(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===T(e)}function w(e){return"object"===typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===T(e)}function O(e){return w(e)&&("[object Error]"===T(e)||e instanceof Error)}function S(e){return"function"===typeof e}function T(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(y(i)&&(i=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=w,t.isDate=k,t.isError=O,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n("j/1Z");var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",_(),t.format.apply(t,arguments))},t.inherits=n("FfBw"),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!==typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,o)}catch(a){n(a)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=N,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var o=n.pop();if("function"!==typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,n).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(C,t,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this,n("8oxB"))},"81xT":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("q1tI"),o=n.n(r),i=n("9rZX"),a=n.n(i),l=o.a.createElement,s={overlay:{zIndex:"99"}};function c(e){var t=e.showModal,n=e.closeModal,r=e.modalClass,o=e.overlayClassName,i="Modal ".concat(r);return l("div",{className:"modal_wrapper"},l(a.a,{isOpen:t,onRequestClose:n,className:i,overlayClassName:"overlay ".concat(o||""),contentLabel:"Example Modal",style:s,closeTimeoutMS:200,ariaHideApp:!1},e.children))}},"8xmT":function(e,t,n){},"9a8T":function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(r(n(1)),n(6)),a=r(i),l=r(n(7)),s=r(n(8)),c=r(n(9)),u=r(n(10)),d=r(n(11)),f=r(n(14)),h=[],p=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},v=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(p=!0),p)return h=(0,d.default)(h,m),(0,u.default)(h,m.once),h},g=function(){h=(0,f.default)(),v()};e.exports={init:function(e){m=o(m,e),h=(0,f.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(m.disable)||t?void h.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(m.disableMutationObserver||s.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?v(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){v(!0)})):document.addEventListener(m.startEvent,(function(){v(!0)})),window.addEventListener("resize",(0,l.default)(v,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(v,m.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,u.default)(h,m.once)}),m.throttleDelay)),m.disableMutationObserver||s.default.ready("[data-aos]",g),h)},refresh:v,refreshHard:g}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=d,r=f;return d=f=void 0,g=t,p=e.apply(r,n)}function a(e){var n=e-v;return void 0===v||n>=t||n<0||O&&e-g>=h}function s(){var e=k();return a(e)?c(e):void(m=setTimeout(s,function(e){var n=t-(e-v);return O?w(n,h-(e-g)):n}(e)))}function c(e){return m=void 0,S&&d?o(e):(d=f=void 0,p)}function u(){var e=k(),n=a(e);if(d=arguments,f=this,v=e,n){if(void 0===m)return function(e){return g=e,m=setTimeout(s,t),y?o(e):p}(v);if(O)return m=setTimeout(s,t),o(v)}return void 0===m&&(m=setTimeout(s,t)),p}var d,f,h,p,m,v,g=0,y=!1,O=!1,S=!0;if("function"!=typeof e)throw new TypeError(l);return t=i(t)||0,r(n)&&(y=!!n.leading,h=(O="maxWait"in n)?b(i(n.maxWait)||0,t):h,S="trailing"in n?!!n.trailing:S),u.cancel=function(){void 0!==m&&clearTimeout(m),g=0,d=v=f=m=void 0},u.flush=function(){return void 0===m?p:c(k())},u}function r(e){var t="undefined"==typeof e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function o(e){return"symbol"==("undefined"==typeof e?"undefined":a(e))||function(e){return!!e&&"object"==("undefined"==typeof e?"undefined":a(e))}(e)&&y.call(e)==c}function i(e){if("number"==typeof e)return e;if(o(e))return s;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=f.test(e);return n||h.test(e)?p(e.slice(2),n?2:8):d.test(e)?s:+e}var a="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},l="Expected a function",s=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,h=/^0o[0-7]+$/i,p=parseInt,m="object"==("undefined"==typeof t?"undefined":a(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype.toString,b=Math.max,w=Math.min,k=function(){return g.Date.now()};e.exports=function(e,t,o){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(l);return r(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t="undefined"==typeof e?"undefined":i(e);return!!e&&("object"==t||"function"==t)}function r(e){return"symbol"==("undefined"==typeof e?"undefined":i(e))||function(e){return!!e&&"object"==("undefined"==typeof e?"undefined":i(e))}(e)&&g.call(e)==s}function o(e){if("number"==typeof e)return e;if(r(e))return l;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var o=d.test(e);return o||f.test(e)?h(e.slice(2),o?2:8):u.test(e)?l:+e}var i="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},a="Expected a function",l=NaN,s="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,f=/^0o[0-7]+$/i,h=parseInt,p="object"==("undefined"==typeof t?"undefined":i(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,v=p||m||Function("return this")(),g=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return v.Date.now()};e.exports=function(e,t,r){function i(t){var n=d,r=f;return d=f=void 0,g=t,p=e.apply(r,n)}function l(e){var n=e-v;return void 0===v||n>=t||n<0||O&&e-g>=h}function s(){var e=w();return l(e)?c(e):void(m=setTimeout(s,function(e){var n=t-(e-v);return O?b(n,h-(e-g)):n}(e)))}function c(e){return m=void 0,S&&d?i(e):(d=f=void 0,p)}function u(){var e=w(),n=l(e);if(d=arguments,f=this,v=e,n){if(void 0===m)return function(e){return g=e,m=setTimeout(s,t),k?i(e):p}(v);if(O)return m=setTimeout(s,t),i(v)}return void 0===m&&(m=setTimeout(s,t)),p}var d,f,h,p,m,v,g=0,k=!1,O=!1,S=!0;if("function"!=typeof e)throw new TypeError(a);return t=o(t)||0,n(r)&&(k=!!r.leading,h=(O="maxWait"in r)?y(o(r.maxWait)||0,t):h,S="trailing"in r?!!r.trailing:S),u.cancel=function(){void 0!==m&&clearTimeout(m),g=0,d=v=f=m=void 0},u.flush=function(){return void 0===m?p:c(w())},u}}).call(t,function(){return this}())},function(e,t){"use strict";function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(function e(t){var n=void 0,r=void 0;for(n=0;n<t.length;n+=1){if((r=t[n]).dataset&&r.dataset.aos)return!0;if(r.children&&e(r.children))return!0}return!1}(t.concat(n)))return o()}))}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var i=window.document,a=new(n())(r);o=t,a.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"phone",value:function(){var e=n();return!(!o.test(e)&&!i.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!a.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=window.pageYOffset,r=window.innerHeight;e.forEach((function(e,o){!function(e,t,n){var r=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof r&&("false"===r||!n&&"true"!==r)&&e.node.classList.remove("aos-animate")}(e,r+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,r.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,o=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,r.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(o=t),n+o}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])},AHSw:function(e,t,n){e.exports=c;var r=n("LvDl"),o=n("nqsp"),i=n("+qE3").EventEmitter,a=n("fTNz"),l=n("TWcL"),s=n("3lc3");function c(e,t){if(t=t||{},i.call(this),this.log=t.log||new a,this.pingTimeout=t.pingTimeout||3e3,!e)throw new TypeError("Missing host");if(!(e instanceof l))throw new TypeError("Invalid host");this.host=e,o.makeBoundMethods(this)}o.inherits(c,i),c.prototype.request=function(){throw new Error("Connection#request must be overwritten by the Connector")},c.prototype.ping=function(e,t){"function"===typeof e?(t=e,e=null):t="function"===typeof t?t:null;var n,o,i,a=this.pingTimeout;e&&e.hasOwnProperty("requestTimeout")&&(a=e.requestTimeout),i=this.request(r.defaults(e||{},{path:"/",method:"HEAD"}),(function(e){o||(clearTimeout(n),t&&t(e))})),a&&(n=setTimeout((function(){i&&i(),o=!0,t&&t(new s.RequestTimeout("Ping Timeout after "+a+"ms"))}),a))},c.prototype.setStatus=function(e){var t=this.status;this.status=e,this.emit("status set",e,t,this),"closed"===e&&this.removeAllListeners()}},EiQ3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,o=n.paddingRight;return t-parseFloat(r)-parseFloat(o)}},F39V:function(e,t,n){var r=n("NtLt");e.exports=function(e){return r(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},FfBw:function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},HF17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e}},IDUY:function(e,t,n){(function(t){e.exports=a;var r=n("LvDl"),o=n("nqsp"),i=n("fTNz");function a(e){e=e||{},o.makeBoundMethods(this),e.log?this.log=e.log:(this.log=new i,e.log=this.log),this._config=e,this.selector=o.funcEnum(e,"selector",a.selectors,a.defaultSelector),this.Connection=o.funcEnum(e,"connectionClass",a.connectionClasses,a.defaultConnectionClass),this.deadTimeout=e.hasOwnProperty("deadTimeout")?e.deadTimeout:6e4,this.maxDeadTimeout=e.hasOwnProperty("maxDeadTimeout")?e.maxDeadTimeout:18e5,this.calcDeadTimeout=o.funcEnum(e,"calcDeadTimeout",a.calcDeadTimeoutOptions,"exponential"),this.index={},this._conns={alive:[],dead:[]},this._timeouts=[]}a.selectors=n("TIcO"),a.defaultSelector="roundRobin",a.connectionClasses=n("/wW9"),a.defaultConnectionClass=a.connectionClasses._default,delete a.connectionClasses._default,a.calcDeadTimeoutOptions={flat:function(e,t){return t},exponential:function(e,t){return Math.min(2*t*Math.pow(2,.5*e-1),this.maxDeadTimeout)}},a.prototype.select=function(e){if(this._conns.alive.length)if(this.selector.length>1)this.selector(this._conns.alive,e);else try{o.nextTick(e,void 0,this.selector(this._conns.alive))}catch(t){e(t)}else this._timeouts.length?this._selectDeadConnection(e):o.nextTick(e,void 0)},a.prototype.onStatusSet=o.handler((function(e,t,n){var o,i="dead"===e,a=i&&"dead"===t,l=!i&&"dead"===t,s=t===e,c=this._conns[t],u=this._conns[e];if(s&&!i)return!0;c!==u&&(r.isArray(c)&&-1!==(o=c.indexOf(n))&&c.splice(o,1),r.isArray(u)&&-1===(o=u.indexOf(n))&&u.push(n)),i&&this._onConnectionDied(n,a),l&&this._onConnectionRevived(n)})),a.prototype._onConnectionRevived=function(e){for(var t,n=0;n<this._timeouts.length;n++)if(this._timeouts[n].conn===e){(t=this._timeouts[n]).id&&clearTimeout(t.id),this._timeouts.splice(n,1);break}},a.prototype._onConnectionDied=function(e,t){var n;if(t){for(var r=0;r<this._timeouts.length;r++)if(this._timeouts[r].conn===e){n=this._timeouts[r];break}}else n={conn:e,attempt:0,revive:function(t){n.attempt++,e.ping((function(n){e.setStatus(n?"dead":"alive"),t&&"function"===typeof t&&t(n)}))}},this._timeouts.push(n);n.id&&clearTimeout(n.id);var i=this.calcDeadTimeout(n.attempt,this.deadTimeout);n.id=setTimeout(n.revive,i),n.runAt=o.now()+i},a.prototype._selectDeadConnection=function(e){var n=r.sortBy(this._timeouts,"runAt"),o=this.log;t.nextTick((function r(){var i=n.shift();i?i.conn?"dead"===i.conn.status?i.revive((function(n){n?(o.warning("Unable to revive connection: "+i.conn.id),t.nextTick(r)):e(void 0,i.conn)})):e(void 0,i.conn):r():e(void 0)}))},a.prototype.getConnections=function(e,t){var n;return n=e?this._conns[e]:this._conns[this._conns.alive.length?"alive":"dead"],null==t?n.slice(0):r.shuffle(n).slice(0,t)},a.prototype.addConnection=function(e){e.id||(e.id=e.host.toString()),this.index[e.id]||(this.log.info("Adding connection to",e.id),this.index[e.id]=e,e.on("status set",this.bound.onStatusSet),e.setStatus("alive"))},a.prototype.removeConnection=function(e){e.id||(e.id=e.host.toString()),this.index[e.id]&&(delete this.index[e.id],e.setStatus("closed"),e.removeListener("status set",this.bound.onStatusSet))},a.prototype.setHosts=function(e){var t,n,o,i,a=r.clone(this.index);for(n=0;n<e.length;n++)o=(i=e[n]).toString(),this.index[o]?delete a[o]:((t=new this.Connection(i,this._config)).id=o,this.addConnection(t));var l=r.keys(a);for(n=0;n<l.length;n++)this.removeConnection(this.index[l[n]])},a.prototype.getAllHosts=function(){return r.values(this.index).map((function(e){return e.host}))},a.prototype.close=function(){this.setHosts([])},a.prototype.empty=a.prototype.close}).call(this,n("8oxB"))},J1sY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("xEkU"),a=g(i),l=g(n("cegH")),s=n("q1tI"),c=g(n("17x9")),u=g(n("HF17")),d=g(n("KSAl")),f=g(n("ToH2")),h=g(n("EiQ3")),p=g(n("eYAL")),m=n("yXmM"),v=n("h27F");function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(o)));return a.getScrollLeft=a.getScrollLeft.bind(a),a.getScrollTop=a.getScrollTop.bind(a),a.getScrollWidth=a.getScrollWidth.bind(a),a.getScrollHeight=a.getScrollHeight.bind(a),a.getClientWidth=a.getClientWidth.bind(a),a.getClientHeight=a.getClientHeight.bind(a),a.getValues=a.getValues.bind(a),a.getThumbHorizontalWidth=a.getThumbHorizontalWidth.bind(a),a.getThumbVerticalHeight=a.getThumbVerticalHeight.bind(a),a.getScrollLeftForOffset=a.getScrollLeftForOffset.bind(a),a.getScrollTopForOffset=a.getScrollTopForOffset.bind(a),a.scrollLeft=a.scrollLeft.bind(a),a.scrollTop=a.scrollTop.bind(a),a.scrollToLeft=a.scrollToLeft.bind(a),a.scrollToTop=a.scrollToTop.bind(a),a.scrollToRight=a.scrollToRight.bind(a),a.scrollToBottom=a.scrollToBottom.bind(a),a.handleTrackMouseEnter=a.handleTrackMouseEnter.bind(a),a.handleTrackMouseLeave=a.handleTrackMouseLeave.bind(a),a.handleHorizontalTrackMouseDown=a.handleHorizontalTrackMouseDown.bind(a),a.handleVerticalTrackMouseDown=a.handleVerticalTrackMouseDown.bind(a),a.handleHorizontalThumbMouseDown=a.handleHorizontalThumbMouseDown.bind(a),a.handleVerticalThumbMouseDown=a.handleVerticalThumbMouseDown.bind(a),a.handleWindowResize=a.handleWindowResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a.state={didMountUniversal:!1},a}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,i.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r,i=e.scrollWidth,a=void 0===i?0:i,l=e.scrollHeight,s=void 0===l?0:l,c=e.clientWidth,u=void 0===c?0:c,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(a-u)||0,top:o/(s-f)||0,scrollLeft:n,scrollTop:o,scrollWidth:a,scrollHeight:s,clientWidth:u,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollWidth,i=r.clientWidth,a=(0,h.default)(this.trackHorizontal),l=Math.ceil(i/o*a);return a===l?0:t||Math.max(l,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollHeight,i=r.clientHeight,a=(0,p.default)(this.trackVertical),l=Math.ceil(i/o*a);return a===l?0:t||Math.max(l,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,h.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,p.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,o=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,o&&o(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,o=this.getThumbHorizontalWidth(),i=Math.abs(r-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(i)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,o=this.getThumbVerticalHeight(),i=Math.abs(r-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(i)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,o=t.getBoundingClientRect().left;this.prevPageX=r-(n-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,o=t.getBoundingClientRect().top;this.prevPageY=r-(n-o)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=f.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,o=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(o)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&a.default.cancel(this.requestFrame),this.requestFrame=(0,a.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,o=this.getValues();if((0,d.default)()){var i=o.scrollLeft,a=o.clientWidth,s=o.scrollWidth,c=(0,h.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),f={width:u,transform:"translateX("+i/(s-a)*(c-u)+"px)"},m=o.scrollTop,v=o.clientHeight,g=o.scrollHeight,y=(0,p.default)(this.trackVertical),b=this.getThumbVerticalHeight(),w={height:b,transform:"translateY("+m/(g-v)*(y-b)+"px)"};if(r){var k={visibility:s>a?"visible":"hidden"},O={visibility:g>v?"visible":"hidden"};(0,l.default)(this.trackHorizontal,k),(0,l.default)(this.trackVertical,O)}(0,l.default)(this.thumbHorizontal,f),(0,l.default)(this.thumbVertical,w)}n&&n(o),"function"===typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,d.default)(),n=this.props,o=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),i=n.renderTrackHorizontal,a=n.renderTrackVertical,l=n.renderThumbHorizontal,c=n.renderThumbVertical,f=n.tagName,h=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),v=(n.thumbSize,n.thumbMinSize,n.universal),g=n.autoHeight,y=n.autoHeightMin,b=n.autoHeightMax,w=n.style,k=n.children,O=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),S=this.state.didMountUniversal,T=r({},m.containerStyleDefault,g&&r({},m.containerStyleAutoHeight,{minHeight:y,maxHeight:b}),w),x=r({},m.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},g&&r({},m.viewStyleAutoHeight,{minHeight:(0,u.default)(y)?"calc("+y+" + "+t+"px)":y+t,maxHeight:(0,u.default)(b)?"calc("+b+" + "+t+"px)":b+t}),g&&v&&!S&&{minHeight:y,maxHeight:b},v&&!S&&m.viewStyleUniversalInitial),j={transition:"opacity "+p+"ms",opacity:0},_=r({},m.trackHorizontalStyleDefault,h&&j,(!t||v&&!S)&&{display:"none"}),E=r({},m.trackVerticalStyleDefault,h&&j,(!t||v&&!S)&&{display:"none"});return(0,s.createElement)(f,r({},O,{style:T,ref:function(t){e.container=t}}),[(0,s.cloneElement)(o({style:x}),{key:"view",ref:function(t){e.view=t}},k),(0,s.cloneElement)(i({style:_}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,s.cloneElement)(l({style:m.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,s.cloneElement)(a({style:E}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,s.cloneElement)(c({style:m.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(s.Component);t.default=y,y.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},y.defaultProps={renderView:v.renderViewDefault,renderTrackHorizontal:v.renderTrackHorizontalDefault,renderTrackVertical:v.renderTrackVerticalDefault,renderThumbHorizontal:v.renderThumbHorizontalDefault,renderThumbVertical:v.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},JvoY:function(e,t,n){e.exports=l;var r=n("3B+5"),o=n("u7TS"),i=n("LvDl"),a=n("nqsp");function l(e){if((e=e||{}).__reused)throw new Error("Do not reuse objects to configure the elasticsearch Client class: https://github.com/elasticsearch/elasticsearch-js/issues/33");function t(){e.hasOwnProperty("log")||(e.log="warning"),e.hosts||e.host||(e.host="http://localhost:9200"),this.close=function(){this.transport.close()},this.transport=new r(e),i.each(t.prototype,i.bind((function(e,t){e.prototype instanceof o.ApiNamespace&&(this[t]=new e(this.transport,this))}),this)),delete this._namespaces}e.__reused=!0,t.prototype=a.funcEnum(e,"apiVersion",l.apis,"_default"),e.sniffEndpoint||t.prototype!==l.apis["0.90"]||(e.sniffEndpoint="/_cluster/nodes");var s=t;return e.plugins&&(s.prototype=i.cloneDeep(s.prototype),i.each(e.plugins,(function(t){s=t(s,e,{apis:n("cmx5"),connectors:n("/wW9"),loggers:n("WCNl"),selectors:n("TIcO"),serializers:n("eT2a"),Client:n("JvoY"),clientAction:o,Connection:n("AHSw"),ConnectionPool:n("IDUY"),Errors:n("3lc3"),Host:n("TWcL"),Log:n("fTNz"),Logger:n("Jw19"),NodesToHost:n("cs6Z"),Transport:n("3B+5")})||s}))),new s}l.apis=n("cmx5")},Jw19:function(e,t,n){var r=n("LvDl"),o=n("nqsp");function i(e,t){this.log=e,this.listeningLevels=[],o.makeBoundMethods(this),this.log.once("closing",this.bound.cleanUpListeners),this.setupListeners(t.levels)}function a(e){return e<10?"0"+e.toString(10):e.toString(10)}i.prototype.timestamp=function(){var e=new Date;return e.getUTCFullYear()+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"Z"},i.prototype.format=function(e,t){return e+": "+this.timestamp()+"\n"+function(e,t){var n=o.repeat(" ",t||2);return(e||"").split(/\r?\n/).map((function(e){return n+e})).join("\n")}(t)+"\n\n"},i.prototype.write=function(){throw new Error("This should be overwritten by the logger")},i.prototype.setupListeners=function(e){this.cleanUpListeners(),this.listeningLevels=[],r.each(e,r.bind((function(e){var t="on"+o.ucfirst(e);if(!this.bound[t])throw new Error('Unable to listen for level "'+e+'"');this.listeningLevels.push(e),this.log.on(e,this.bound[t])}),this))},i.prototype.cleanUpListeners=o.handler((function(){r.each(this.listeningLevels,r.bind((function(e){this.log.removeListener(e,this.bound["on"+o.ucfirst(e)])}),this))})),i.prototype.onError=o.handler((function(e){this.write("Error"===e.name?"ERROR":e.name,e.stack)})),i.prototype.onWarning=o.handler((function(e){this.write("WARNING",e)})),i.prototype.onInfo=o.handler((function(e){this.write("INFO",e)})),i.prototype.onDebug=o.handler((function(e){this.write("DEBUG",e)})),i.prototype.onTrace=o.handler((function(e){this.write("TRACE",this._formatTraceMessage(e))})),i.prototype._formatTraceMessage=function(e){return"-> "+e.method+" "+e.url+"\n"+this._prettyJson(e.body)+"\n<- "+e.status+"\n"+this._prettyJson(e.response)},i.prototype._prettyJson=function(e){try{return"string"===typeof e&&(e=JSON.parse(e)),JSON.stringify(e,null," ").replace(/'/g,"\\u0027")}catch(t){return"string"===typeof e?e:""}},e.exports=i},KSAl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==a)return a;if("undefined"!==typeof document){var e=document.createElement("div");(0,i.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a||0};var r,o=n("cegH"),i=(r=o)&&r.__esModule?r:{default:r};var a=!1},MYpF:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=(n("fhwx"),n("0sBl"),n("8xmT"),o.a.createElement);t.a=function(e){var t=e.introData;return i("h3",{class:"heading-02 heading-with-border mt-50 mt-md-30 mb-50 mb-md-30"},i("span",null,t))}},NtLt:function(e,t,n){var r=n("3IO0");e.exports=function(e){return r(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},PEOI:function(e,t,n){(function(t){var r=n("+U0L"),o=t.env.ELASTIC_HOST,i=new r.Client({host:o});e.exports=i}).call(this,n("8oxB"))},Pt6o:function(e,t,n){e.exports=s;var r=n("LvDl"),o=n("nqsp"),i=n("AHSw"),a=n("3lc3").ConnectionFault,l=!(navigator&&/PhantomJS/i.test(navigator.userAgent));function s(e,t){i.call(this,e,t)}o.inherits(s,i);var c=r.noop;if(!(c="undefined"!==typeof XMLHttpRequest?function(){return new XMLHttpRequest}:r(["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"]).map((function(e){try{new window.ActiveXObject(e);return function(){return new window.ActiveXObject(e)}}catch(t){return!1}})).compact().head()))throw new Error("getXhr(): XMLHttpRequest not available");s.prototype.request=function(e,t){var n=c(),r=this.host,o=this.log,i=r.makeUrl(e),s=r.getHeaders(e.headers),u=!1!==e.async&&l;if(n.open(e.method||"GET",i,u),s)for(var d in s)void 0!==s[d]&&n.setRequestHeader(d,s[d]);return n.onreadystatechange=function(){if(4===n.readyState){clearTimeout(void 0),o.trace(e.method,i,e.body,n.responseText,n.status);var r=n.status?void 0:new a(n.statusText||"Request failed to complete.");t(r,n.responseText,n.status)}},n.send(e.body||void 0),function(){n.abort()}}},TIcO:function(e,t,n){e.exports={random:n("3GpW"),roundRobin:n("veZ0")}},TWcL:function(e,t,n){(function(t){e.exports=h;var r,o=n("QmWs"),i=n("s4NR"),a=n("LvDl"),l=n("nqsp"),s=/^([a-z]+:)?\/\//,c="http:";"undefined"!==typeof window&&"undefined"!==typeof window.location&&(c=window.location.protocol,r=window.btoa),r=r||function(e){return new t(e,"utf8").toString("base64")};var u=["protocol","hostname","pathname","port","auth","query"],d=["host","path"],f={pfx:null,key:null,passphrase:null,cert:null,ca:null,ciphers:void 0,rejectUnauthorized:!1,secureProtocol:null};function h(e,t){if(e=a.clone(e||{}),t=t||{},this.protocol="http",this.host="localhost",this.path="",this.port=9200,this.query=null,this.headers=null,this.suggestCompression=!!t.suggestCompression,this.ssl=a.defaults({},e.ssl||{},t.ssl||{},f),"string"===typeof e){var n=e.indexOf(":"),p=e.indexOf("/"),m=-1===p,v=n>-1&&m;if((m||v||!v&&n<p)&&!s.test(e)&&(e=c+"//"+e),!(e=a.pick(o.parse(e,!1,!0),u)).port){var g=e.protocol||"http";":"===g.charAt(g.length-1)&&(g=g.substring(0,g.length-1)),h.defaultPorts[g]&&(e.port=h.defaultPorts[g])}}a.isObject(e)?a.each(d,(function(t){var n=t+"name";e[n]&&e[t]?0===e[t].indexOf(e[n])&&(e[t]=e[n]):e[n]&&(e[t]=e[n]),delete e[n]})):e={},!e.auth&&t.httpAuth&&(e.auth=t.httpAuth),e.auth&&(e.headers=e.headers||{},e.headers.Authorization="Basic "+r(e.auth),delete e.auth),a.forOwn(e,a.bind((function(e,t){null!=e&&(this[t]=a.clone(e))}),this)),null===this.query?this.query={}:a.isPlainObject(this.query)||(this.query=i.parse(this.query)),l.isNumeric(this.port)?this.port=parseInt(this.port,10):this.port=9200,"/"===this.path?this.path="":this.path&&"/"!==this.path.charAt(0)&&(this.path="/"+(this.path||"")),":"===this.protocol.substr(-1)&&(this.protocol=this.protocol.substring(0,this.protocol.length-1))}function p(e,t){return function(n){t&&(n=t.call(this,n));var r=this[e];return r||n?(n&&(r=a.assign({},r,n)),a.size(r)?r:null):null}}h.defaultPorts={http:80,https:443},h.prototype.makeUrl=function(e){e=e||{};var t="";this.port!==h.defaultPorts[this.protocol]&&(t=":"+this.port);var n=""+(this.path||"")+(e.path||"");"/"!==n.charAt(0)&&(n="/"+n);var r=i.stringify(this.getQuery(e.query));return this.host?this.protocol+"://"+this.host+t+n+(r?"?"+r:""):n+(r?"?"+r:"")},h.prototype.getHeaders=p("headers",(function(e){return this.suggestCompression?a.defaults(e||{},{"Accept-Encoding":"gzip,deflate"}):e})),h.prototype.getQuery=p("query",(function(e){return"string"===typeof e?i.parse(e):e})),h.prototype.toString=function(){return this.makeUrl()}}).call(this,n("tjlA").Buffer)},ToH2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},WCNl:function(e,t,n){e.exports={console:n("gS9x")}},X27C:function(e,t,n){"use strict";n("KQm4");var r=n("q1tI"),o=n.n(r),i=n("fhwx"),a=n.n(i),l=(n("Ewtw"),n("0WgE"),n("+jTQ")),s=n("kdJN"),c=(n("2v50"),o.a.createElement);t.a=function(e){var t,n,i,u,d,f=e.introData,h=e.showSlider,p=void 0!==h&&h,m=e.bgColor,v=void 0===m||m,g=e.sliderData,y=void 0===g?{}:g,b=e.showAgniiSlider,w=void 0!==b&&b,k=Object(r.useState)(!1),O=(k[0],k[1]),S=Object(r.useState)([0,1,2]),T=S[0],x=(S[1],Object(r.useState)(0));x[0],x[1];return Object(r.useEffect)((function(){O((function(e){return!e}))}),[T]),c(o.a.Fragment,null,c("div",{className:"right-container-yellow-border ".concat(1==v?"bg-grey-09":"mob-full-width-white"," introduction-wrapper")},((null===f||void 0===f?void 0:null===(t=f.introduction)||void 0===t?void 0:null===(n=t.label)||void 0===n?void 0:n.normal)||(null===f||void 0===f?void 0:f.label)||f.agnii_title||f.title)&&c("h3",{className:"heading-02"},(null===f||void 0===f?void 0:null===(i=f.introduction)||void 0===i?void 0:null===(u=i.label)||void 0===u?void 0:u.normal)||(null===f||void 0===f?void 0:f.label)||f.agnii_title||f.title),c("p",{className:"intro-text"},a()((null===f||void 0===f?void 0:null===(d=f.introduction)||void 0===d?void 0:d.data)||f.data||(null===f||void 0===f?void 0:f.body)||(null===f||void 0===f?void 0:f.description))),p&&c(l.a,{introData:f}),w&&c("div",{className:"mt-50 mt-md-30"},c(s.a,{data:y}))))}},YVY1:function(e,t,n){"use strict";var r=n("wx14"),o=n("q1tI"),i=n.n(o),a=(n("m4a8"),n("wWBu")),l=n("1TCz"),s=n("60Bi"),c=n.n(s),u=n("E+oP"),d=n.n(u),f=n("fhwx"),h=n.n(f),p=n("zAOk"),m=n("mwIZ"),v=n.n(m),g=i.a.createElement;t.a=function(e){var t,n,i,s,u=e.dataProps,f=e.infotext,m=e.bannerDesc,y=void 0!==m&&m,b=e.showCounterSection,w=void 0!==b&&b,k=e.pageData,O=void 0===k?{}:k,S=e.counterVerticalView,T=void 0!==S&&S,x=e.pmstiacHeading,j=void 0!==x&&x,_=Object(o.useContext)(l.MyContext).pageProps,E=Object(o.useState)(!1),N=E[0],C=E[1],L=!d()(v()(u,"video"))&&v()(u,"video").split("=");return g("div",{className:"header-banner-mission"},g("div",{className:"header-banner-info"},g("div",{className:"header-banner-text"},u.title&&g("h1",{className:"heading-01"},h()(u.title)),u.subTitle&&g("span",{className:"subtitle-heading-01",style:{display:"flex",flexDirection:"row",alignItems:"center"}},g("span",null,"by \xa0"),g("h5",{style:{margin:"0px"}},u.subTitle)),u.agnii_logo&&g("div",null),g("div",{className:"header-banner-headline ".concat(1==j&&"pmstiac-heading")},u.body&&!y&&g("div",null," ",h()(u.body)),u.banner_desc&&y&&g("p",{dangerouslySetInnerHTML:{__html:u.test_banner_desc||u.banner_desc}}),u.linkData&&g("a",{className:"link-with-arrow",href:u.linkData.uri},u.linkData.title)),g(a.a,Object(r.a)({},_,{dataProps:u}))),L&&g("div",{className:"videoOnModal"},N&&g(c.a,{baseUrl:"",channel:"youtube",isOpen:N,videoId:L&&L[1],onClose:function(){return C(!1)}})),g("div",{className:"header-banner-images",onClick:function(){return L?C(!0):{}}},((null===u||void 0===u?void 0:null===(t=u.testBannerImage)||void 0===t?void 0:t.url)||(null===u||void 0===u?void 0:null===(n=u.videoImage)||void 0===n?void 0:n.url)||w)&&g("figure",{style:{position:"relative"}},!w&&g("img",{src:u.testBannerImage?u.testBannerImage.url:u.videoImage.url,alt:u.testBannerImage?u.testBannerImage.alt:u.videoImage.alt}),L&&g("div",{className:"playIcon lg",onClick:function(){return C(!0)}}),w?g(p.a,{infotext:f,showDescription:!1,counterVerticalView:T,pageData:O,introduction:(null===O||void 0===O?void 0:null===(i=O.componentData)||void 0===i?void 0:i.introduction)||null,announcement_info:(null===(s=O.componentData)||void 0===s?void 0:s.announcement_info)||null}):null))))}},a6RD:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("2qu3")),a=!1;function l(e,t){if(delete t.webpack,delete t.modules,!a)return e(t);var n=t.loading;return function(){return o.default.createElement(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}}t.noSSR=l,t.default=function(e,t){var n=i.default,r={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};if(e instanceof Promise?r.loader=function(){return e}:"function"===typeof e?r.loader=e:"object"===typeof e&&(r=Object.assign(Object.assign({},r),e)),r=Object.assign(Object.assign({},r),t),"object"===typeof e&&!(e instanceof Promise)&&(e.render&&(r.render=function(t,n){return e.render(n,t)}),e.modules)){n=i.default.Map;var o={},a=e.modules();Object.keys(a).forEach((function(e){var t=a[e];"function"!==typeof t.then?o[e]=t:o[e]=function(){return t.then((function(e){return e.default||e}))}})),r.loader=o}if(r.loadableGenerated&&delete(r=Object.assign(Object.assign({},r),r.loadableGenerated)).loadableGenerated,"boolean"===typeof r.ssr){if(!r.ssr)return delete r.ssr,l(n,r);delete r.ssr}return n(r)}},amwb:function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=r.length;i>=0;i--){var a=r[i]+o;if(a in t)return a}return!1}},bQgK:function(e,t,n){(function(t){(function(){var n,r,o,i,a,l;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),l=1e9*t.uptime(),a=i-l):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n("8oxB"))},cegH:function(e,t,n){var r=n("amwb"),o=n("F39V"),i={float:"cssFloat"},a=n("z/Nc");function l(e,t,n){var l=i[t];if("undefined"===typeof l&&(l=function(e){var t=o(e),n=r(t);return i[t]=i[e]=i[n]=n,n}(t)),l){if(void 0===n)return e.style[l];e.style[l]=a(l,n)}}function s(){2===arguments.length?"string"===typeof arguments[1]?arguments[0].style.cssText=arguments[1]:function(e,t){for(var n in t)t.hasOwnProperty(n)&&l(e,n,t[n])}(arguments[0],arguments[1]):l(arguments[0],arguments[1],arguments[2])}e.exports=s,e.exports.set=s,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=l(e,n||""),t}),{}):l(e,t||"")}},cmx5:function(e,t,n){e.exports={_default:n("6V6p"),7.6:n("6V6p"),7.5:n("MsHR"),7.4:n("McvC"),7.3:n("Gz6I"),7.2:n("gzIU"),7.7:n("jT8C"),"7.x":n("Nb7y"),master:n("HUE4")}},cs6Z:function(e,t,n){var r,o=n("LvDl"),i=/\[(?:(.*)\/)?(.+?):(\d+)\]/;e.exports=(r="http.publish_address",function(e){return o.transform(e,(function(e,t,n){var a=o.get(t,r);if(a){var l={host:void 0,port:void 0,_meta:{id:n,name:t.name,version:t.version}},s=new Error("Malformed "+r+". Got "+JSON.stringify(a)+' and expected it to match "{hostname?}/{ip}:{port}".'),c=i.exec(a);if(c)return l.host=c[1]||c[2],l.port=parseInt(c[3],10),void e.push(l);if(a.indexOf("/")>-1){var u=a.split("/");if(2!==u.length)throw s;l.host=u.shift(),a=u.shift()}if(a.indexOf(":")<0)throw s;var d=a.split(":");if(2!==d.length)throw s;l.host=l.host||d[0],l.port=parseInt(d[1],10),e.push(l)}}),[])})},eT2a:function(e,t,n){e.exports={angular:n("+xXU"),json:n("2XKd")}},eYAL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,o=n.paddingBottom;return t-parseFloat(r)-parseFloat(o)}},fTNz:function(e,t,n){var r=n("LvDl"),o=n("nqsp"),i=n("QmWs"),a=n("+qE3").EventEmitter;function l(e){if((e=e||{}).log){var t,n;if(!(n=o.isArrayOfStrings(e.log)?[{levels:e.log}]:o.createArray(e.log,(function(e){return r.isPlainObject(e)?e:"string"===typeof e?{level:e}:void 0}))))throw new TypeError("Invalid logging output config. Expected either a log level, array of log levels, a logger config object, or an array of logger config objects.");for(t=0;t<n.length;t++)this.addOutput(n[t])}}o.inherits(l,a),l.loggers=n("WCNl"),l.prototype.close=function(){this.emit("closing"),this.listenerCount()&&(console.error("Something is still listening for log events, but the logger is closing."),this.clearAllListeners())},a.prototype.listenerCount?l.prototype.listenerCount=a.prototype.listenerCount:a.listenerCount?l.prototype.listenerCount=function(e){return a.listenerCount(this,e)}:l.prototype.listenerCount=function(e){return this.listeners(e).length},l.levels=["error","warning","info","debug","trace"],l.parseLevels=function(e){switch(typeof e){case"string":var t=r.indexOf(l.levels,e);if(t>=0)return l.levels.slice(0,t+1);case"object":if(r.isArray(e)){var n=r.intersection(e,l.levels);if(n.length===e.length)return n}default:throw new TypeError("invalid logging level "+e+". Expected zero or more of these options: "+l.levels.join(", "))}},l.join=function(e){return r.map(e,(function(e){return r.isPlainObject(e)?JSON.stringify(e,null,2)+"\n":e.toString()})).join(" ")},l.prototype.addOutput=function(e){return(e=e||{}).levels=l.parseLevels(e.levels||e.level||"warning"),delete e.level,new(o.funcEnum(e,"type",l.loggers,"console"))(this,e)},l.prototype.error=function(e){if(this.listenerCount("error"))return this.emit("error",e instanceof Error?e:new Error(e))},l.prototype.warning=function(){if(this.listenerCount("warning"))return this.emit("warning",l.join(arguments))},l.prototype.info=function(){if(this.listenerCount("info"))return this.emit("info",l.join(arguments))},l.prototype.debug=function(){if(this.listenerCount("debug"))return this.emit("debug",l.join(arguments))},l.prototype.trace=function(e,t,n,r,o){if(this.listenerCount("trace"))return this.emit("trace",l.normalizeTraceArgs(e,t,n,r,o))},l.normalizeTraceArgs=function(e,t,n,o,a){return"string"===typeof t?t=i.parse(t,!0,!0):((t=r.clone(t)).path&&(t.query=i.parse(t.path,!0,!1).query),!t.pathname&&t.path&&(t.pathname=t.path.split("?").shift())),delete t.auth,{method:e,url:i.format(t),body:n,status:a,response:o}},e.exports=l},fcP5:function(e,t,n){var r=n("LvDl");e.exports=function(e){if(r.isEmpty(e))return!1;for(var t=e.shift().protocol,n=0;n<e.length;n++)if(t!==e[n].protocol)return!1;return t}},gS9x:function(e,t,n){e.exports=a;var r=n("Jw19"),o=n("LvDl"),i=n("nqsp");function a(e,t){r.call(this,e,t),this.color=!o.has(t,"color")||!!t.color}i.inherits(a,r),a.prototype.setupListeners=function(e){r.prototype.setupListeners.call(this,e)},a.prototype.write=function(e,t,n){console[n]&&console[n](this.format(e,t))},a.prototype.onError=i.handler((function(e){var t=console.error?"error":"log";this.write("Error"===e.name?"ERROR":e.name,e.stack||e.message,t)})),a.prototype.onWarning=i.handler((function(e){this.write("WARNING",e,console.warn?"warn":"log")})),a.prototype.onInfo=i.handler((function(e){this.write("INFO",e,console.info?"info":"log")})),a.prototype.onDebug=i.handler((function(e){this.write("DEBUG",e,console.debug?"debug":"log")})),a.prototype.onTrace=i.handler((function(e){this.write("TRACE",this._formatTraceMessage(e),"log")}))},h27F:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.renderViewDefault=function(e){return a.default.createElement("div",e)},t.renderTrackHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),o=r({},t,{right:2,bottom:2,left:2,borderRadius:3});return a.default.createElement("div",r({style:o},n))},t.renderTrackVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),o=r({},t,{right:2,bottom:2,top:2,borderRadius:3});return a.default.createElement("div",r({style:o},n))},t.renderThumbHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),o=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",r({style:o},n))},t.renderThumbVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),o=r({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",r({style:o},n))};var o,i=n("q1tI"),a=(o=i)&&o.__esModule?o:{default:o};function l(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},"j/1Z":function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},jwwS:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI"));t.LoadableContext=o.createContext(null)},k5Bo:function(e,t,n){var r=n("nqsp");e.exports=function(e){var t=0,n=e.connectionPool,o=n._onConnectionDied,i=function(){i.timerId=e._timeout(i.timerId),e.sniff()};n._onConnectionDied=function(a,l){var s=o.call(n,a,l);t=i.timerId?t+1:0;var c=n.calcDeadTimeout(t,1e3);return i.timerId&&c<i.timerId&&i.countdown()&&(i.timerId=e._timeout(i.timerId)),i.timerId||(i.timerId=e._timeout(i,c),i.countdown=function(e){var t=r.now();return function(){return t-e}}(c)),s},n._onConnectionDied.restore=function(){n._onConnectionDied=o}}},k82f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var r,o=n("J1sY"),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,t.Scrollbars=i.default},kdJN:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("wx14"),o=n("q1tI"),i=n.n(o),a=n("2v50"),l=n("OS56"),s=n.n(l),c=n("mwIZ"),u=n.n(c),d=n("E+oP"),f=n.n(d),h=n("a6RD"),p=n.n(h),m=(n("Ewtw"),n("3ux9"),i.a.createElement);p()((function(){return Promise.resolve().then(n.bind(null,"0WgE"))}),{loading:function(){return m("p",null,"Loading...")},loadableGenerated:{webpack:function(){return["0WgE"]},modules:["../ModalOverlay/modal"]}});function v(e){var t,n,l,c,d,h,p,v,g,y,b,w=e.data,k=void 0===w?{}:w,O=Object(o.useState)(null),S=(O[0],O[1]),T=Object(o.useState)(!0),x=(T[0],T[1],Object(o.useState)(!1)),j=(x[0],x[1],Object(o.useState)(!1)),_=(j[0],j[1],Object(o.useState)(null)),E=(_[0],_[1]),N=Object(o.useState)(!0),C=(N[0],N[1],Object(o.useState)(!0)),L=(C[0],C[1]),P=Object(o.useState)(!1),A=(P[0],P[1]),D=function(){window.innerWidth<=1e3&&L(!1),window.innerWidth<=1300&&A(!0)},M={slidesToShow:(null===(t=(null===k||void 0===k?void 0:k.data)||k)||void 0===t?void 0:t.length)>4?4:null===(n=(null===k||void 0===k?void 0:k.data)||k)||void 0===n?void 0:n.length,slidesToScroll:1,infinite:!0,arrows:!0,autoplay:!1,responsive:[{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:990,settings:{slidesToShow:(null===(l=(null===k||void 0===k?void 0:k.data)||k)||void 0===l?void 0:l.length)>3?3:null===(c=(null===k||void 0===k?void 0:k.data)||k)||void 0===c?void 0:c.length,slidesToScroll:1,infinite:!0}},{breakpoint:1565,settings:{slidesToShow:(null===(d=(null===k||void 0===k?void 0:k.data)||k)||void 0===d?void 0:d.length)>4?4:null===(h=(null===k||void 0===k?void 0:k.data)||k)||void 0===h?void 0:h.length,slidesToScroll:1,infinite:!0}},{breakpoint:1930,settings:{slidesToShow:(null===(p=(null===k||void 0===k?void 0:k.data)||k)||void 0===p?void 0:p.length)>4?5:null===(v=(null===k||void 0===k?void 0:k.data)||k)||void 0===v?void 0:v.length,slidesToScroll:1,infinite:!0}}]},H=function(e){S((function(t){return e}))};return Object(o.useEffect)((function(){var e=u()(k,"data",[]).map((function(e){return e.pdfFile}));return E(e),window.addEventListener("resize",D),function(){window.removeEventListener("resize",D)}}),[]),m(i.a.Fragment,null,m("div",{className:"publishing-section-new"},m("h2",{className:"heading-02"},f()(u()(k,"label"))?m("h2",{className:"heading-02"},(null===k||void 0===k?void 0:k.title)||"Publications and reports"):m("div",null,u()(k,"label.normal","")," ",u()(k,"label.colored",""))),m("div",{className:"publishing-wrap-new"},m("div",{className:"slider-container"},(null===k||void 0===k?void 0:null===(g=k.data)||void 0===g?void 0:g.length)>4||(null===k||void 0===k?void 0:k.length)>4?m(s.a,Object(r.a)({},M,{style:{overflow:"hidden"}}),null===(y=(null===k||void 0===k?void 0:k.data)||k)||void 0===y?void 0:y.map((function(e,t){var n,r;return m("div",{key:t,className:"emerging-slide publishing-content",onMouseOver:function(){return H(t)}},m("div",{className:"emerging-card ".concat(u()(e,"pdfColor")?u()(e,"pdfColor"):""),style:{backgroundImage:"url(".concat(u()(e,"cardImge.url")||u()(e,"image.url")||"assets/images/default_publication.png",")")}},m("div",{className:"emerging-info"},u()(e,"category")&&m("div",{className:"mark_row"},m("mark",null,u()(e,"category"))),m("p",{className:"card-text"},u()(e,"title")||e.description),m("div",{className:"link-detail"},m("div",{className:"details"},(!f()(u()(e,"created"))||e.date)&&m("span",null,e.created?Object(a.d)(e.created):Object(a.d)(e.date)))),(e.pdfFile||(null===(n=e.link)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.url)||e.pdf_file)&&m("div",null,m("a",{target:"_blank",href:"".concat(e.pdfFile),className:" publishing-download"},m("span",{className:"publishing-download-icon"}))))))}))):m("div",{className:"flexbox publication-less-cards"},null===(b=(null===k||void 0===k?void 0:k.data)||k)||void 0===b?void 0:b.map((function(e,t){var n,r,o,i;return m("div",{key:t,className:"emerging-slide publishing-content",onMouseOver:function(){return H(t)}},m("div",{className:"emerging-card ".concat(u()(e,"pdfColor")?u()(e,"pdfColor"):""),style:{backgroundImage:"url(".concat(u()(e,"cardImge.url")||u()(e,"image.url")||"assets/images/default_publication.png",")")}},m("div",{className:"emerging-info"},u()(e,"category")&&m("div",{className:"mark_row"},m("mark",null,u()(e,"category"))),m("p",{className:"card-text"},u()(e,"title")||e.description),m("div",{className:"link-detail"},m("div",{className:"details"},(!f()(u()(e,"created"))||e.date)&&m("span",null,e.created?Object(a.d)(e.created):Object(a.d)(e.date)))),(e.pdfFile||(null===(n=e.link)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.url)||e.pdf_file)&&m("div",null,m("a",{target:"_blank",href:"".concat(e.pdfFile||(null===(o=e.link)||void 0===o?void 0:null===(i=o[0])||void 0===i?void 0:i.url)||e.pdf_file),className:" publishing-download"},m("span",{className:"publishing-download-icon"}))))))})))))))}},lUz3:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/st-clusters",function(){return n("6ecz")}])},nqsp:function(e,t,n){(function(t,r){var o=n("LvDl"),i=n("7tlc"),a={};function l(e,t,n){return function(r){for(var o,i,a,l,s=0,c=[],u="";s<r.length;s++)o=r.charCodeAt(s),i=r.charAt(s),l=o>=97&&o<=122||o>=48&&o<=57,!(a=o>=65&&o<=90)&&l||(u.length&&c.push(u),u=""),(a||l)&&(l&&u.length?u+=i:u=!c.length&&e||c.length&&t?i.toUpperCase():i.toLowerCase());return u.length&&c.push(u),c.length&&"_"===r.charAt(0)&&(c[0]="_"+c[0]),c.join(n)}}a.inherits=i.inherits,a.isArrayOfStrings=function(e){return o.isArray(e)&&o.every(e.slice(0,10),o.isString)},a.ucfirst=function(e){return e[0].toUpperCase()+e.substring(1).toLowerCase()},a.studlyCase=l(!0,!0,""),a.camelCase=l(!1,!0,""),a.snakeCase=l(!1,!1,"_"),a.toUpperString=function(e){return e?"string"!==typeof e&&(e=e.toString()):e="",e.toUpperCase()},a.isNumeric=function(e){return"object"!==typeof e&&e-parseFloat(e)>=0};var s=/^(\d+(?:\.\d+)?)(M|w|d|h|m|s|y|ms)$/;a.isInterval=function(e){return!(!e.match||!e.match(s))},a.repeat=function(e,t){return new Array(t+1).join(e)},a.applyArgs=function(e,t,n,r){switch(r=r||0,n.length-r){case 0:return e.call(t);case 1:return e.call(t,n[0+r]);case 2:return e.call(t,n[0+r],n[1+r]);case 3:return e.call(t,n[0+r],n[1+r],n[2+r]);case 4:return e.call(t,n[0+r],n[1+r],n[2+r],n[3+r]);case 5:return e.call(t,n[0+r],n[1+r],n[2+r],n[3+r],n[4+r]);default:return e.apply(t,Array.prototype.slice.call(n,r))}},a.nextTick=function(e){t.nextTick(o.bindKey(a,"applyArgs",e,null,arguments,1))},a.handler=function(e){return e._provideBound=!0,e},a.makeBoundMethods=function(e){for(var t in e.bound={},e)"function"===typeof e[t]&&!0===e[t]._provideBound&&(e.bound[t]=o.bind(e[t],e))},a.funcEnum=function(e,t,n,r){var i=e[t];switch(typeof i){case"undefined":return n[r];case"function":return i;case"string":if(n.hasOwnProperty(i))return n[i];default:var a="Invalid "+t+' "'+i+'", expected a function';switch(o.size(n)){case 0:break;case 1:a+=" or "+o.keys(n)[0];break;default:a+=" or one of "+o.keys(n).join(", ")}throw new TypeError(a)}},a.createArray=function(e,t){t="function"===typeof t?t:o.identity;var n,r,i=[];for(o.isArray(e)||(e=[e]),r=0;r<e.length;r++){if(void 0===(n=t(e[r])))return!1;i.push(n)}return i},a.getUnwrittenFromStream=function(e){var t=a.getStreamWriteBuffer(e);if(t){var n="";return t.length?(o.each(t,(function(e){if(e.chunk)n+=""+e.chunk;else{if(!o.isArray(e)||"string"!==typeof e[0]&&!r.isBuffer(e[0]))return!1;n+=""+e[0]}})),n):n}},a.getStreamWriteBuffer=function(e){if(e&&e._writableState){var t=e._writableState;return t.getBuffer?t.getBuffer():t.buffer?t.buffer:void 0}},a.clearWriteStreamBuffer=function(e){var t=a.getStreamWriteBuffer(e);return t&&t.splice(0)},a.now=function(){return"function"===typeof Date.now?Date.now():(new Date).getTime()},e.exports=a}).call(this,n("8oxB"),n("tjlA").Buffer)},u7TS:function(e,t,n){var r=n("LvDl"),o=n("nqsp");function i(e){e=e||r.identity;var t=function(t){function n(e,n){"function"===typeof e?(n=e,e={}):(e=e||{},n="function"===typeof n?n:null);try{return function(e,t,n,i){var s,c={method:t.method},u={};t.requestTimeout&&(c.requestTimeout=t.requestTimeout);!n.body&&t.paramAsBody&&("object"===typeof t.paramAsBody?(n.body={},t.paramAsBody.castToArray?n.body[t.paramAsBody.body]=[].concat(n[t.paramAsBody.param]):n.body[t.paramAsBody.body]=n[t.paramAsBody.param],delete n[t.paramAsBody.param]):(n.body=n[t.paramAsBody],delete n[t.paramAsBody]));if(t.needsBody&&!n.body)throw new TypeError("A request body is required.");t.bulkBody&&(c.bulkBody=!0);"HEAD"===t.method&&(c.castExists=!0);if(t.url)c.path=l(t.url,n);else for(s=0;s<t.urls.length&&(c.path=l(t.urls[s],n),!c.path);s++);if(!c.path){var d=t.url||t.urls[t.urls.length-1];throw new TypeError("Unable to build a path with those params. Supply at least "+r.keys(d.req).join(", "))}t.paramKeys||(t.paramKeys=r.keys(t.params),t.requireParamKeys=r.transform(t.params,(function(e,t,n){t.required&&e.push(n)}),[]));for(var f in n)if(n.hasOwnProperty(f)&&null!=n[f])switch(f){case"body":case"headers":case"requestTimeout":case"maxRetries":c[f]=n[f];break;case"ignore":c.ignore=r.isArray(n[f])?n[f]:[n[f]];break;case"method":c.method=o.toUpperString(n[f]);break;default:var h=t.params[f];h?(h.name=h.name||f,null!=n[f]&&(a[h.type]?u[h.name]=a[h.type](h,n[f],f):u[h.name]=n[f],h.default&&u[h.name]===h.default&&delete u[h.name])):u[f]=n[f]}for(s=0;s<t.requireParamKeys.length;s++)if(!u.hasOwnProperty(t.requireParamKeys[s]))throw new TypeError("Missing required parameter "+t.requireParamKeys[s]);return c.query=u,e.request(c,i)}(this.transport,t,r.clone(e),n)}catch(s){if("function"!==typeof n){var i=this.transport.defer();return i.reject(s),i.promise}o.nextTick(n,s)}}return t=e(t),r.isPlainObject(t.params)||(t.params={}),t.method||(t.method="GET"),n.spec=t,n};return t.proxy=function(e,t){return function(n,r){return"function"===typeof n?(r=n,n={}):(n=n||{},r="function"===typeof r?r:null),t.transform&&t.transform(n),e.call(this,n,r)}},t}t.makeFactoryWithModifier=i,t.factory=i(),t.proxyFactory=t.factory.proxy,t._resolveUrl=l,t.ApiNamespace=function(){},t.namespaceFactory=function(){function e(e,t){this.transport=e,this.client=t}return e.prototype=new t.ApiNamespace,e};var a={enum:function e(t,n,o){if(r.isString(n)&&n.indexOf(",")>-1&&(n=s(n)),r.isArray(n))return n.map((function(n){return e(t,n,o)})).join(",");for(var i=0;i<t.options.length;i++)if(t.options[i]===String(n))return t.options[i];throw new TypeError("Invalid "+o+": expected "+(t.options.length>1?"one of "+t.options.join(","):t.options[0]))},duration:function(e,t,n){if(o.isNumeric(t)||o.isInterval(t))return t;throw new TypeError("Invalid "+n+": expected a number or interval (an integer followed by one of M, w, d, h, m, s, y or ms).")},list:function(e,t,n){switch(typeof t){case"number":case"boolean":return""+t;case"string":t=s(t);case"object":if(r.isArray(t))return t.join(",");default:throw new TypeError("Invalid "+n+": expected be a comma separated list, array, number or string.")}},boolean:function(e,t){return"no"!==(t=r.isString(t)?t.toLowerCase():t)&&"off"!==t&&!!t},number:function(e,t,n){if(o.isNumeric(t))return 1*t;throw new TypeError("Invalid "+n+": expected a number.")},string:function(e,t,n){switch(typeof t){case"number":case"string":return""+t;default:throw new TypeError("Invalid "+n+": expected a string.")}},time:function(e,t,n){if("string"===typeof t)return t;if(o.isNumeric(t))return""+t;if(t instanceof Date)return""+t.getTime();throw new TypeError("Invalid "+n+": expected some sort of time.")}};function l(e,t){var n,o,i={};if(e.req)for(e.reqParamKeys||(e.reqParamKeys=r.keys(e.req)),n=0;n<e.reqParamKeys.length;n++){if(o=e.reqParamKeys[n],!t.hasOwnProperty(o)||null==t[o])return!1;a[e.req[o].type]?i[o]=a[e.req[o].type](e.req[o],t[o],o):i[o]=t[o]}if(e.opt)for(e.optParamKeys||(e.optParamKeys=r.keys(e.opt)),n=0;n<e.optParamKeys.length;n++)o=e.optParamKeys[n],t[o]?a[e.opt[o].type]||null==t[o]?i[o]=a[e.opt[o].type](e.opt[o],t[o],o):i[o]=t[o]:i[o]=e.opt[o].default;return e.template||(e.template=r.template(e.fmt)),e.template(r.transform(i,(function(e,n,r){e[r]=encodeURIComponent(n),delete t[r]}),{}))}function s(e){return e.split(",").map((function(e){return e.trim()}))}},veZ0:function(e,t){e.exports=function(e){var t=e[0];return e.push(e.shift()),t}},wWBu:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("nOHt"),a=n("wyBh"),l=(n("ApMp"),o.a.createElement);t.a=function(e){var t=e.pageTitle,n=e.pageData,r=void 0===n?{}:n,s=r.pageTitle,c=(r.breadcrumbDarkFont,r.customBreadcrumbClass),u=void 0===c?"":c,d=Object(i.useRouter)(),f=d&&d.pathname,h=a.a.filter((function(e){return f&&-1!==f.indexOf(e.route)}))||[],p=[];h&&(p=h[0]&&h[0].link||[]);var m=!!(p&&p.length>0)||!!t||!!s||!1,v=t||s||"";return l("div",{className:"new-breadcrumb-container ".concat(u," dark")},m&&l("div",{className:"breadcrumb"},m&&l(o.a.Fragment,null,l("a",{href:"/"},"HOME"),p&&p instanceof Array&&p.map((function(e){return l(o.a.Fragment,{key:e.text},l("span",null," | "),e.url&&v?l("a",{href:e.url},e.text):l("span",null,e.text))})),v&&l(o.a.Fragment,null,l("span",null," "," | "," "),l("span",null,v)))),!m&&l("div",{class:"breadcrumb"},l("a",{href:"/"},"HOME"),l("span",null," | "),l("span",{class:"current"},e.dataProps&&e.dataProps.title)))}},xEkU:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,d=0,f=[];l=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},s=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},yXmM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},"z/Nc":function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!==typeof t||n[e]?t:t+"px"}}},[["lUz3",0,1,9,19,18,17,24,25,21,22,20,2,3,4,5,7,6,10,11,12,13,14,15,16,23,8]]]);