$(".featured-image--youtube .btn--video").click(function(){var r=$(this).parent(),e=r.parent().children(".iframe-wrapper"),t=e.children("iframe");t.attr("src");e.fadeIn(),r.hide(),t.attr("src",t.attr("src")+"?rel=0&modestbranding=1&autoplay=1&mute=1")});
$(".breadcrumbs li span").each(function(){300<$(this).width()&&($(this).addClass("truncate"),$(this).parent().prepend("<div class='tooltip'><span>"+$(this).html()+"</span></div>"))});
$(document).ready(function(){$(".dropdown").each(function(){for(var e=$(this),t=$(this).children("option").length,i=(e.addClass("s-hidden"),e.wrap('<div class="dropdown"></div>'),e.after('<div class="styledSelect"></div>'),e.next("div.styledSelect")),o=(i.text(e.children("option").eq(0).text()),$("<ul />",{class:"options"}).insertAfter(i)),l=0;l<t;l++)$("<li />",{text:e.children("option").eq(l).text(),rel:e.children("option").eq(l).val()}).appendTo(o);var s,a=o.children("li");i.click(function(t){t.stopPropagation(),$("div.styledSelect.active").not(this).each(function(){$(this).removeClass("active").next("ul.options").slideUp("fast")}),$(this).toggleClass("active").next("ul.options").slideToggle("fast")}),a.click(function(t){t.stopPropagation(),i.text($(this).text()).removeClass("active"),e.val($(this).attr("rel")),o.hide()}),$(document).click(function(){i.removeClass("active"),o.slideUp("fast")}),$("#project-index").length&&(a=$("#project-index"),("dropdown_0"===(s=i.parent().parent().parent().attr("id"))?i.text(a.data("tagTitleBuild")):"dropdown_1"===s?i.text(a.data("tagTitleService")):i.text(a.data("tagTitleGeography"))).removeClass("active"),e.val($(this).attr("rel")),o.hide())}),$(".selectpicker").each(function(){for(var e=$(this),t=$(this).children("option").length,i=(e.addClass("s-hidden"),e.wrap('<div class="dropdown"></div>'),e.after('<div class="styledSelect"></div>'),e.next("div.styledSelect")),o=(i.text(e.children("option").eq(0).text()),$("<ul />",{class:"options"}).insertAfter(i)),l=0;l<t;l++)$("<li />",{text:e.children("option").eq(l).text(),rel:e.children("option").eq(l).val()}).appendTo(o);var s=o.children("li");i.click(function(t){t.stopPropagation(),$("div.styledSelect.active").not(this).each(function(){$(this).removeClass("active").next("ul.options").slideUp("fast")}),$(this).toggleClass("active").next("ul.options").slideToggle("fast")}),s.click(function(t){t.stopPropagation(),i.text($(this).text()).removeClass("active"),e.val($(this).attr("rel")),o.hide()}),$(document).click(function(){i.removeClass("active"),o.slideUp("fast")})})});
$(document).ready(function(){$(".goTop").click(function(){goToElement("body")})});
$(document).ready(function(){var a,i,e,d,l,o,n,s,t,r,f,p,m,_,c,w=$("body.parallax"),h=w.find(".main-header.parallax");w.length&&(a=function(){t=$(window).scrollTop(),r<t?(e.addClass("hide"),l.addClass("opacity")):(e.removeClass("hide"),l.removeClass("opacity")),f<t?(l.addClass("translate"),d.addClass("full")):(l.removeClass("translate"),d.removeClass("full")),p<t?h.css({position:"absolute",top:p}):h.css({position:"fixed",top:0})},i=function(a){var i=a.offset().top-175,i=100*$(window).scrollTop()/i,i=m+_/100*i,e=.5*(100*$(window).scrollTop()/c)/2.5;a.width(i),o.css("transform","translateY(-"+e+"%)"),n.css("transform","translateY(-"+e+"%)")},w=h.find(".header"),e=h.find(".subHeader"),d=$(".parallaxMedia"),l=d.find(".parallaxMedia__title"),o=$(".parallaxMedia__media--image img"),n=$(".parallaxMedia__media--video video"),s=$(".parallaxMedia__media"),r=w.innerHeight()-e.innerHeight(),f=l.offset().top,m=d.find(".parallaxMedia__media").width(),_=$(window).width()-m,c=d.find(".parallaxMedia__media").offset().top+d.find(".parallaxMedia__media").height(),a(),$(window).scroll(function(){p=s.offset().top-h.innerHeight(),a(),i(d.find(".parallaxMedia__media"))}),$(window).resize(function(){p=s.offset().top-h.innerHeight(),a(),i(d.find(".parallaxMedia__media"))}))});
function goToElement(e){$("html, body").animate({scrollTop:$(e).offset().top},600)}var ua=navigator.userAgent,os=/Android/.test(ua)?"android":/iPhone/.test(ua)||/iPod/.test(ua)||/iPad/.test(ua)?"ios":"default",bodyelement=document.getElementsByTagName("BODY")[0];switch(os){case"android":bodyelement.classList.add("android");break;case"ios":bodyelement.classList.add("ios");break;default:bodyelement.classList.add("default")}$(function(){var e=$(".articles__listArticles--item .infoItem .ingressItem p"),t=$(".related-content__item .infoItem .ingressItem p");$(window).trigger("resize"),$(window).resize(function(){e.line(3," "),t.line(3," ")}),setTimeout(function(){$(window).trigger("resize")},100)}),$(document).ready(function(){var e=$(".filterBtn .btn, .projects__filter--options .optionsHeader__btnClose, .overlayOptions"),t=$(".projects__filter--options, .overlayOptions");e.click(function(){t.toggleClass("active")})});
var CURRENT_AJAX_REQUEST="";function search(){var t=$(".search__inputField input").val(),e=$("#service-url").val(),n=$(".search__results--list"),a=$(".search__results");a.hide("fast"),window.dataLayer.push({event:"search",searchTerm:t}),CURRENT_AJAX_REQUEST=$.ajax({url:e,data:"searchText=".concat(t),success:function(e){var a=e.items.map(getItemHTML);updateItemsFound(t,e.total),n.empty(),n.append(a)},complete:function(){a.show("slow")}})}function getItemHTML(e){return'\n  <a href="'.concat(e.url,'" ').concat(e.external?'target="_blank"':"",'>\n    <div class="item">\n      <div class="item__col">').concat(e.type,'</div>\n      <div class="item__col">').concat(e.name,"</div>\n    </div>\n  </a>\n  ")}function updateItemsFound(e,a){var t=$(".search__results--info"),n=t.attr("data-message-many");n=(n=0===a?t.attr("data-message-zero"):1===a?t.attr("data-message-one"):n.replace("{1}",a)).replace("{0}",'<span>"'.concat(e,'"</span>')),t.html(n)}function handleClickBtnSearch(){$(".search__inputField input").val()&&($(".btnSearch").hide(),search())}function resetSearchPageStatus(){$(".btnSearch").show("fast"),$(".search__inputField input").val(""),$(".search__results").hide("fast"),$(".search__results--list").empty()}$(document).ready(function(){window.dataLayer=window.dataLayer||[];var a,t=$(".search__results"),e=$(".btnSearch"),n=$(".search__inputField input");e.on("click",handleClickBtnSearch),n.on("keyup",function(e){"Enter"!==e.key||t.is(":visible")||handleClickBtnSearch()}),n.on("input",function(){var e;t.is(":visible")&&(e=$(this),CURRENT_AJAX_REQUEST&&CURRENT_AJAX_REQUEST.abort(),clearTimeout(a),a=setTimeout(function(){e.val()||resetSearchPageStatus(),e.val()&&search()},500))}),$(".btn-search").on("click",resetSearchPageStatus)});
$(document).ready(function(){var e=$("header.main-header .header__buttons--menu"),t=$(".navigation .overlay, .navigation__wrapper--buttons .btn-menu, .search__buttons .btn-menu"),a=$(".navigation"),s=$(".navigation__wrapper--buttons .btn-menu"),n=$(".header__buttons--search"),i=$(".search__buttons .btn-search, .navigation__wrapper--buttons .btn-search"),o=$(".search"),r=$(".search__buttons .btn-search");function c(){a.addClass("active"),o.addClass("inactive"),a.fadeIn(300,"linear"),s.find(".menuCloseIcon").addClass("open")}function l(){a.removeClass("active"),o.removeClass("inactive"),a.fadeOut(300,"linear"),s.find(".menuCloseIcon").removeClass("open")}function d(){o.addClass("active"),a.addClass("inactive"),o.fadeIn(300,"linear"),r.addClass("open");var e=$(".search__inputField input");e&&e.focus()}function u(){o.removeClass("active"),a.removeClass("inactive"),o.fadeOut(300,"linear"),r.removeClass("open")}e.click(function(){c()}),t.click(function(){1==a.hasClass("active")&&l(),1==a.hasClass("inactive")&&(c(),u())}),n.click(function(){d()}),i.click(function(){1==o.hasClass("active")&&u(),1==o.hasClass("inactive")&&(d(),l())});var m,v,h,p=$(".dropMenu"),_=$(".dropMenu .btnClose"),C=($(".dropMenu .btnClose, .main__menu--desktop .item.dropDown, .main__menu--mobile .item.menu-hamburguer").click(function(){p.toggleClass("active"),_.toggleClass("active"),s.find(".menuCloseIcon").toggleClass("open")}),$(".dropMenu__desktop--items .item a")),f=$(".dropMenu__desktop--subItems .subItems"),e=($(C).hover(function(){m=$(this).attr("data-subItem"),C.removeClass("active"),$(this).toggleClass("active"),f.removeClass("active"),f.each(function(e,t){var a=$(this).attr("data-subItem");a==m&&$(".dropMenu__desktop--subItems .subItems[data-subItem='"+a+"']").addClass("active")})}),$(".dropMenu__mobile--items .item a"));$("header.main-header .dropMenu__mobile--items .item.item--expandable>a");e.click(function(){console.log(this,$(this).hasClass("active")),$(this).hasClass("active")?($(this).removeClass("active"),$(this).next(".subItems").removeClass("active")):($(this).addClass("active"),$(this).next(".subItems").addClass("active"))}),$(".dropMenu__desktop--items .item a, .dropMenu__mobile--items .item a").html(function(){var e=$(this).text().trim().split(" "),t=e.pop(),a=t.substring(0,t.length-1),s=t.split("").pop();return e.join(" ")+(t.length?" "+a+"<span>"+s+"</span>":t)}),v=0,h=$("header.main-header.fixed"),jQuery(document).scroll(function(){var e=jQuery(document).scrollTop();200<e?(e<v?h.addClass("show"):h.removeClass("show"),v=e):h.removeClass("show")});var t=$(window).width(),b=$(".search__inputField input"),g=b.attr("placeholder"),w=g&&g.split(",").slice(0,2).join(", ")+"...";function I(e,t){e<=992?t.attr("placeholder",w):t.attr("placeholder",g)}I(t,b),$(window).resize(function(){I($(window).width(),b)});var k=$(".header__options").find("a.active");$(".header__options a").not(".active").hover(function(){var e=$(this);setTimeout(function(){e.css("text-underline-offset","7px")},200),k.removeClass("active")},function(){$(this).css("text-underline-offset","6px"),k.addClass("active")})});
function _typeof(e){return(_typeof="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)}(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=e(require("jquery")):e(jQuery)})(function(d){var n=/\+/g;function a(e){return l.raw?e:encodeURIComponent(e)}function y(e,o){e=l.raw?e:(e=>{0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(n," ")),l.json?JSON.parse(e):e}catch(e){}})(e);return d.isFunction(o)?o(e):e}var l=d.cookie=function(e,o,n){var t,r;if(1<arguments.length&&!d.isFunction(o))return"number"==typeof(n=d.extend({},l.defaults,n)).expires&&(t=n.expires,(r=n.expires=new Date).setMilliseconds(r.getMilliseconds()+864e5*t)),document.cookie=[a(e),"=",(r=o,a(l.json?JSON.stringify(r):String(r))),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("");for(var i=e?void 0:{},c=document.cookie?document.cookie.split("; "):[],u=0,f=c.length;u<f;u++){var p=c[u].split("="),s=(s=p.shift(),l.raw?s:decodeURIComponent(s)),p=p.join("=");if(e===s){i=y(p,o);break}e||void 0===(p=y(p))||(i[s]=p)}return i};l.defaults={},d.removeCookie=function(e,o){return d.cookie(e,"",d.extend({},o,{expires:-1})),!d.cookie(e)}});
(r=>{var o=0,l=0,s=0,p=0;r.fn.line=function(a,e){this.each(function(t,n){var n=r(n),i=n.text();a=a||2,e=e||"...","static"===n.css("position")&&n.css("position","relative"),n.data("initial-content")||n.data("initial-content",i),n.data("initial-content").length>=i.length&&(i=n.data("initial-content")),n.html((t=>{for(var n=[],i=t.length;i--;){var a=t[i].trim();n[i]="<span>"+a+"</span> "}return n})(i.split(" ")).join("")),i=((t,n)=>{for(var i="",a=0;a<n;a++){var e="";if(!t[a])break;for(var r=t[a].length,o=0;o<r;o++)e+=t[a][o].text()+" ";i+=e+"\n"}return i.trim()})(((t,n)=>{for(var i=[],a=0;a<t.length;a++,l++){0===a&&(i[0]=[],0!==t.eq(a).position().top)&&(s=t.eq(a).position().top);var e=t.eq(a).position().top;s<e&&(s=e,l=0,i[++o]=[]),i[o][l]=t.eq(a)}return i[n]&&(p=1),i})(n.find("span"),a),a),n.html(((t,n,i)=>{var a;return p&&(a=n.length,t=t.slice(0,-a),t=(t+=n).replace(" "+n,n),i.next().show(),p=0),t})(i,e,n)),s=l=o=0})}})(jQuery);
$(document).ready(function(){var a,t,e=window.location.search,e=new URLSearchParams(e);0<$(".articles__pagination").length||0<$(".projects__pagination").length?(a=e.get("page"),t=$(".articles__pagination a.next, .projects__pagination a.next"),t=parseInt(t.attr("href").replace(/\?page=(\d+).*/,"$1"))-1,a<1?e.set("page",1):t<a&&e.set("page",t),a="".concat(window.location.pathname,"?").concat(e.toString()),window.history.replaceState({page:e.get("page")},"",a)):e.has("page")&&(e.delete("page"),t=e.toString()?"".concat(window.location.pathname,"?").concat(e.toString()):window.location.pathname,window.history.replaceState({},"",t))});
$(document).ready(function(){var e,i,t;$(".pop-up-site.new-website").length&&void 0===$.cookie("firstVisit")&&($.cookie("firstVisit","value",{expires:365,path:"/",secure:!0}),e=$(".pop-up-site.new-website"),t=e.find(".btn-close-pop-up, .btnWrapper a"),e.fadeIn(100),t.click(function(){e.fadeOut(100)})),$(".pop-up-site.ie-11").length&&document.documentMode&&void 0===$.cookie("isIE")&&($.cookie("isIE","value",{path:"/",secure:!0}),i=$(".pop-up-site.ie-11"),t=i.find(".btn-close-pop-up, .btnWrapper a"),i.fadeIn(100),t.click(function(){i.fadeOut(100)}))});
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var regeneratorRuntime=(i=>{var u,t=Object.prototype,f=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function a(t,r,e,n){var o,i,a,c,r=r&&r.prototype instanceof m?r:m,r=Object.create(r.prototype),n=new _(n||[]);return r._invoke=(o=t,i=e,a=n,c=l,function(t,r){if(c===p)throw new Error("Generator is already running");if(c===y){if("throw"===t)throw r;return O()}for(a.method=t,a.arg=r;;){var e=a.delegate;if(e){e=function t(r,e){var n=r.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(r.iterator.return&&(e.method="return",e.arg=u,t(r,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}n=h(n,r.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;n=n.arg;if(!n)return e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d;{if(!n.done)return n;e[r.resultName]=n.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u)}e.delegate=null;return d}(e,a);if(e){if(e===d)continue;return e}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===l)throw c=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=p;e=h(o,i,a);if("normal"===e.type){if(c=a.done?y:s,e.arg!==d)return{value:e.arg,done:a.done}}else"throw"===e.type&&(c=y,a.method="throw",a.arg=e.arg)}}),r}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=a;var l="suspendedStart",s="suspendedYield",p="executing",y="completed",d={};function m(){}function c(){}function g(){}(r={})[n]=function(){return this};var v=Object.getPrototypeOf,w=((v=v&&v(v(j([]))))&&v!==t&&f.call(v,n)&&(r=v),g.prototype=m.prototype=Object.create(r));function L(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function x(a){var r;this._invoke=function(e,n){function t(){return new Promise(function(t,r){!function r(t,e,n,o){var i,t=h(a[t],a,e);if("throw"!==t.type)return(e=(i=t.arg).value)&&"object"===_typeof(e)&&f.call(e,"__await")?Promise.resolve(e.__await).then(function(t){r("next",t,n,o)},function(t){r("throw",t,n,o)}):Promise.resolve(e).then(function(t){i.value=t,n(i)},function(t){return r("throw",t,n,o)});o(t.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}}function b(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function E(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function j(r){if(r){var e,t=r[n];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length))return e=-1,(t=function t(){for(;++e<r.length;)if(f.call(r,e))return t.value=r[e],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}return{next:O}}function O(){return{value:u,done:!0}}return(c.prototype=w.constructor=g).constructor=c,g[o]=c.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===c||"GeneratorFunction"===(t.displayName||t.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,o in t||(t[o]="GeneratorFunction")),t.prototype=Object.create(w),t},i.awrap=function(t){return{__await:t}},L(x.prototype),x.prototype[e]=function(){return this},i.AsyncIterator=x,i.async=function(t,r,e,n){var o=new x(a(t,r,e,n));return i.isGeneratorFunction(r)?o:o.next().then(function(t){return t.done?t.value:o.next()})},L(w),w[o]="Generator",w[n]=function(){return this},w.toString=function(){return"[object Generator]"},i.keys=function(e){var t,n=[];for(t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},i.values=j,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var r in this)"t"===r.charAt(0)&&f.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=u),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=f.call(o,"catchLoc"),c=f.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&f.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),E(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,E(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:j(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=u),d}},i})("object"===("undefined"==typeof module?"undefined":_typeof(module))?module.exports:{});
$(".text-media--youtube .btn--video").click(function(){var t=$(this).parent(),r=t.parent().children(".iframe-wrapper"),e=r.find("iframe");e.attr("src");r.fadeIn(),t.hide(),e.attr("src",e.attr("src")+"?rel=0&modestbranding=1&autoplay=1&mute=1")});
$(document).ready(function(){$(".text-accordion__content").hide(),$(".text-accordion__toggler").on("click",function(t){var e=$(this).next(".text-accordion__content"),o=$(this).parent();$(".text-accordion").not(o).removeClass("active"),o.hasClass("active")?o.removeClass("active"):o.addClass("active"),$(".text-accordion__content").not(e).slideUp("fast"),e.slideToggle("fast")})});
$(".featured-image--youtube .btn--video").click(function(){var r=$(this).parent(),e=r.parent().children(".iframe-wrapper"),t=e.children("iframe");t.attr("src");e.fadeIn(),r.hide(),t.attr("src",t.attr("src")+"?rel=0&modestbranding=1&autoplay=1&mute=1")});
$(document).ready(function(){$(".articles-slider__content").slick({slide:".articles-slider__content--item",infinite:!1,dots:!1,arrows:!0,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}]})});
$(function(){$(window).trigger("resize"),$(window).resize(function(){$(".ingressItem p").line(3," ")}),setTimeout(function(){$(window).trigger("resize")},100)});
function autocomplete(r,o){var s;function n(a){if(a){for(var e=a,n=0;n<e.length;n++)e[n].classList.remove("autocomplete-active");a[s=(s=s>=a.length?0:s)<0?a.length-1:s].classList.add("autocomplete-active")}}function l(a){for(var e=document.getElementsByClassName("autocomplete-items"),n=0;n<e.length;n++)a!=e[n]&&a!=r&&e[n].parentNode.removeChild(e[n]);$(".input-search-city").removeClass("active")}r.addEventListener("input",function(a){var e,n,i,t=this.value;if(l(),!t)return!1;for(s=-1,(e=document.createElement("DIV")).setAttribute("id",this.id+"autocomplete-list"),e.setAttribute("class","autocomplete-items"),this.parentNode.appendChild(e),i=0;i<o.length;i++)o[i].substr(0,t.length).toUpperCase()==t.toUpperCase()&&((n=document.createElement("DIV")).innerHTML="<strong>"+o[i].substr(0,t.length)+"</strong>",n.innerHTML+=o[i].substr(t.length),n.innerHTML+="<input type='hidden' value='"+o[i]+"'>",n.addEventListener("click",function(a){r.value=this.getElementsByTagName("input")[0].value,document.getElementById("myInput").classList.add("active"),l()}),e.appendChild(n))}),r.addEventListener("keydown",function(a){var e=(e=document.getElementById(this.id+"autocomplete-list"))&&e.getElementsByTagName("div");40==a.keyCode?(s++,n(e)):38==a.keyCode?(s--,n(e)):13==a.keyCode&&(a.preventDefault(),-1<s)&&e&&e[s].click()}),document.addEventListener("click",function(a){l(a.target)})}var countries=["Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antigua & Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia & Herzegovina","Botswana","Brazil","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central Arfrican Republic","Chad","Chile","China","Colombia","Congo","Cook Islands","Costa Rica","Cote D Ivoire","Croatia","Cuba","Curacao","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Polynesia","French West Indies","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guam","Guatemala","Guernsey","Guinea","Guinea Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macau","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauro","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","North Korea","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russia","Rwanda","Saint Pierre & Miquelon","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","St Kitts & Nevis","St Lucia","St Vincent","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Timor L'Este","Togo","Tonga","Trinidad & Tobago","Tunisia","Turkey","Turkmenistan","Turks & Caicos","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","Uruguay","Uzbekistan","Vanuatu","Vatican City","Venezuela","Vietnam","Virgin Islands (US)","Yemen","Zambia","Zimbabwe"];
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,l=Object.defineProperty||function(t,r,e){t[r]=e.value},r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{i({},"")}catch(u){i=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o,i,a,c,r=r&&r.prototype instanceof v?r:v,r=Object.create(r.prototype),n=new G(n||[]);return l(r,"_invoke",{value:(o=t,i=e,a=n,c=h,function(t,r){if(c===y)throw Error("Generator is already running");if(c===d){if("throw"===t)throw r;return{value:u,done:!0}}for(a.method=t,a.arg=r;;){var e=a.delegate;if(e){e=function t(r,e){var n=e.method,o=r.iterator[n];if(o===u)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=u,t(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;n=f(o,r.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,g;o=n.arg;return o?o.done?(e[r.resultName]=o.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}(e,a);if(e){if(e===g)continue;return e}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;e=f(o,i,a);if("normal"===e.type){if(c=a.done?d:p,e.arg===g)continue;return{value:e.arg,done:a.done}}"throw"===e.type&&(c=d,a.method="throw",a.arg=e.arg)}})}),r}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",g={};function v(){}function m(){}function w(){}var r={},b=(i(r,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(T([]))),_=(b&&b!==t&&s.call(b,n)&&(r=b),w.prototype=v.prototype=Object.create(r));function x(t){["next","throw","return"].forEach(function(r){i(t,r,function(t){return this._invoke(r,t)})})}function L(a,c){var r;l(this,"_invoke",{value:function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,o){var i,t=f(a[t],a,e);if("throw"!==t.type)return(e=(i=t.arg).value)&&"object"==_typeof(e)&&s.call(e,"__await")?c.resolve(e.__await).then(function(t){r("next",t,n,o)},function(t){r("throw",t,n,o)}):c.resolve(e).then(function(t){i.value=t,n(i)},function(t){return r("throw",t,n,o)});o(t.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}})}function S(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function E(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(r){if(r||""===r){var e,t=r[n];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length))return e=-1,(t=function t(){for(;++e<r.length;)if(s.call(r,e))return t.value=r[e],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(r)+" is not iterable")}return l(_,"constructor",{value:m.prototype=w,configurable:!0}),l(w,"constructor",{value:m,configurable:!0}),m.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(_),t},a.awrap=function(t){return{__await:t}},x(L.prototype),i(L.prototype,e,function(){return this}),a.AsyncIterator=L,a.async=function(t,r,e,n,o){void 0===o&&(o=Promise);var i=new L(c(t,r,e,n),o);return a.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(_),i(_,o,"Generator"),i(_,n,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),a.keys=function(t){var r,e=Object(t),n=[];for(r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},a.values=T,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var r in this)"t"===r.charAt(0)&&s.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=u),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),E(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,E(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:T(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=u),g}},a}function asyncGeneratorStep(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(r,e){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,r,e,o,i,"next",t)}function i(t){asyncGeneratorStep(n,r,e,o,i,"throw",t)}o(void 0)})}}function checkRerunGobi(){var t=document.querySelector(".gobi-stories");return!t||!(!t.children||!t.children.length)||void setTimeout(function(){try{gobi.discover({scroll:!1})}catch(t){}checkRerunGobi()},500)}function addCarrerGobiMacroCarousel(){return _addCarrerGobiMacroCarousel.apply(this,arguments)}function _addCarrerGobiMacroCarousel(){return(_addCarrerGobiMacroCarousel=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:$(".gobi-carousel .carousel-wrapper").each(function(t,r){var e=(r=$(r)).parent(),n=document.querySelector(".career-layout");r.find(".gobi-stories").length&&r.slick({slide:".gobi-stories",infinite:!1,dots:!1,autoplay:!1,arrows:!0,appendArrows:e,prevArrow:'<button id="article-gobi-previous"></button>',nextArrow:'<button id="article-gobi-next"></button>',adaptiveHeight:!1,slidesToShow:n?4:3,slidesToScroll:n?4:3,responsive:[{breakpoint:1080,settings:{slidesToShow:n?4:2,slidesToScroll:n?4:2}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!1,arrows:!0}}]})});case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}$(document).ready(_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,addCarrerGobiMacroCarousel();case 2:checkRerunGobi();case 3:case"end":return t.stop()}},t)})));
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return c};var l,c={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(l){i=function(t,e,r){return t[e]=r}}function a(t,e,r,n){var o,i,c,a,e=e&&e.prototype instanceof b?e:b,e=Object.create(e.prototype),n=new E(n||[]);return s(e,"_invoke",{value:(o=t,i=r,c=n,a=h,function(t,e){if(a===y)throw Error("Generator is already running");if(a===d){if("throw"===t)throw e;return{value:l,done:!0}}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===l)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=l,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=l),r.delegate=null,g):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}(r,c);if(r){if(r===g)continue;return r}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(a===h)throw a=d,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);a=y;r=f(o,i,c);if("normal"===r.type){if(a=c.done?d:p,r.arg===g)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(a=d,c.method="throw",c.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}c.wrap=a;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",g={};function b(){}function v(){}function m(){}var e={},w=(i(e,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(G([]))),x=(w&&w!==t&&u.call(w,n)&&(e=w),m.prototype=b.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function L(c,a){var e;s(this,"_invoke",{value:function(r,n){function t(){return new a(function(t,e){!function e(t,r,n,o){var i,t=f(c[t],c,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&u.call(r,"__await")?a.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):a.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function G(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=l,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return s(x,"constructor",{value:v.prototype=m,configurable:!0}),s(m,"constructor",{value:v,configurable:!0}),v.displayName=i(m,o,"GeneratorFunction"),c.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(x),t},c.awrap=function(t){return{__await:t}},_(L.prototype),i(L.prototype,r,function(){return this}),c.AsyncIterator=L,c.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new L(a(t,e,r,n),o);return c.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(x),i(x,o,"Generator"),i(x,n,function(){return this}),i(x,"toString",function(){return"[object Generator]"}),c.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},c.values=G,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=l)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=l),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var c=u.call(o,"catchLoc"),a=u.call(o,"finallyLoc");if(c&&a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!a)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,T(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:G(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=l),g}},c}function asyncGeneratorStep(t,e,r,n,o,i,c){try{var a=t[i](c),l=a.value}catch(t){return void r(t)}a.done?e(l):Promise.resolve(l).then(n,o)}function _asyncToGenerator(a){return function(){var t=this,c=arguments;return new Promise(function(e,r){var n=a.apply(t,c);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}function checkRerunGobi(){var t=document.querySelector(".gobi-stories");return!t||!(!t.children||!t.children.length)||void setTimeout(function(){try{gobi.discover({scroll:!1})}catch(t){}checkRerunGobi()},500)}function checkRerunGobiCollection(){var t=document.querySelectorAll(".gobi__item-collection .gobi-collection"),e=document.querySelectorAll(".gobi-container .gobi-collection");if(!(t&&0!==t.length||e&&0!==e.length))return!0;var e=$(".gobi-collection-textful"),r=$(".gobi-collection-textful").closest(".container"),r=(!e||!e.length||r&&r.length||e.parent().parent().addClass("container"),document.querySelectorAll(".gobi__item-collection .gobi-collection .shadow-root"));r&&r.length===t.length&&t.forEach(function(t){var o,t=$(t).closest(".gobi-carousel-container")[0];setTimeout((o=t,function(){var t,e=$(o).find(".shadow-root")[0],r=$(o).find(".gobi-step-previous")[0],n=$(o).find(".gobi-step-next")[0],e=e&&e.shadowRoot;e&&((t=document.createElement("style")).type="text/css",t.appendChild(document.createTextNode(".gobi-card { flex-shrink: 0; }")),e.append(t),t=Array.prototype.filter.call(e.children,function(t){return"DIV"===t.tagName})[0])&&(50<Math.abs(t.scrollWidth-t.offsetWidth)?(t.style.cssText="-moz-box-pack: start; -webkit-box-pack: start; justify-content: start;",r&&r.style&&(r.style.cssText="display: block;"),n&&n.style&&(n.style.cssText="display: block;")):(t.style.cssText="-moz-box-pack: center; -webkit-box-pack: center; justify-content: center;",r&&r.style&&(r.style.cssText="display: none;"),n&&n.style&&(n.style.cssText="display: none;")))}),1e3)}),setTimeout(function(){try{gobi.discover({scroll:!1})}catch(t){}checkRerunGobiCollection()},500)}function addCarrerGobiCarousel(){return _addCarrerGobiCarousel.apply(this,arguments)}function _addCarrerGobiCarousel(){return(_addCarrerGobiCarousel=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:$(".gobi__wrapper").each(function(t,e){var r,n=(e=$(e)).parent();n.addClass("gobi-carousel-container"),e.find(".gobi__item").length&&e.slick({slide:".gobi__item",infinite:!1,dots:!1,autoplay:!1,arrows:!0,appendArrows:n,prevArrow:'<button id="gobi-previous"></button>',nextArrow:'<button id="gobi-next"></button>',adaptiveHeight:!1,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!1,arrows:!0}}]}),e.find(".gobi__item-collection").length&&(n=(r=e.find(".gobi__item-collection .gobi-collection")[0])&&$(r).closest(".gobi-carousel-container")[0])&&($(n).off("click","**"),$(n).on("click",".gobi-step-previous",function(){r.scrollLeft-=50,setTimeout(function(){r.scrollLeft-=50},50)}),$(n).on("click",".gobi-step-next",function(){r.scrollLeft+=50,setTimeout(function(){r.scrollLeft+=50},50)}))});case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}$(document).ready(_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,addCarrerGobiCarousel();case 2:checkRerunGobi(),checkRerunGobiCollection();case 4:case"end":return t.stop()}},t)})));
$(document).ready(function(){$(".career-quote__slides").each(function(e,t){var o=(t=$(t)).find(".career-quote-id"),o=o&&o.val()||"",o="#career-quote__indicator-".concat(o);t.slick({slide:".career-quote__content--item",infinite:!0,dots:!0,appendDots:o,dotsClass:"indicator-wrapper",customPaging:function(e,t){return""},autoplay:!0,autoplaySpeed:2e3,arrows:!1,adaptiveHeight:!1,slidesToShow:1,slidesToScroll:1})})});
function handleFileLoaded(t){t.preventDefault();var e,t=$(this);t.val()&&(e=t.val().split(/(\\|\/)/g).pop(),t.parent().siblings(".upload-file-info").text(e),t.parent().parent().parent().find("button").prop("disabled",!1))}function showConfirmation(t){$("#create_new_contact_btn").prop("disabled",!0),parseContactCSVData("#contact_file",function(n){var o=$("#service").val(),i=$("#contact_country").val();setCountryOnConfirmation(),$("#create_new_contact_btn").off(),$("#create_new_contact_btn").on("click",function(t){t.preventDefault();var e=$(this);e.prop("disabled",!0),$("#close_modal_btn").prop("disabled",!0),$.ajax({type:"POST",url:"".concat(o,"?action=create&country=").concat(i),data:JSON.stringify(n),dataType:"json",contentType:"application/json; charset=utf-8",success:function(t){e.prop("disabled",!1),$("#close_modal_btn").prop("disabled",!1),$("#close_modal_btn").trigger("click"),$.ajax({type:"delete",url:"".concat(o,"?country=").concat(i)})},error:function(){alert("An error happened while creating the contacts!")}})}),$.ajax({type:"POST",url:"".concat(o,"?action=analyze&country=").concat(i),data:JSON.stringify(n),dataType:"json",contentType:"application/json; charset=utf-8",success:function(t){$(".contacts_identified > strong").text(t.new_contacts),$(".contacts_stored > strong").text(t.current_contacts||0),$(".date_last_upload > strong").text(t.current_creationTime?formatDate(t.current_creationTime):"-"),$("#create_new_contact_btn").prop("disabled",!1)},error:function(){alert("An error happened while analyzing the file!")}})})}function parseContactCSVData(t,e){$(t).length&&"function"==typeof e&&$(t).parse({config:{delimiter:";",encoding:"UTF-8",complete:function(t){t=groupCSVRows(t);e(t)}},error:function(t,e){console.error("We've encountered an error while parsing the CSV!")}})}function groupCSVRows(t){var c;if(t&&t.data)return t=t.data.slice(2),c={},t.forEach(function(t){var e=t[1]&&t[1].trim(),n=t[2]&&t[2].trim(),o=t[3]&&t[3].trim();if(!e||!n||!o)return!0;var t=[t.slice(4,8).filter(function(t){return!!t}),t.slice(8,12).filter(function(t){return!!t}),t.slice(12,16).filter(function(t){return!!t})].filter(function(t){return t.length}),i=(c[e]||(c[e]={}),c[e][n]||(c[e][n]={}),c[e][n][o]||(c[e][n][o]=[]),c[e][n][o]);c[e][n][o]=i.concat(t)}),c}function formatDate(t){var t=new Date(parseInt(t)),e="0".concat(t.getDate()).slice(-2),n="0".concat(t.getMonth()).slice(-2),o=t.getFullYear(),i="0".concat(t.getHours()).slice(-2),t="0".concat(t.getMinutes()).slice(-2);return"".concat(e,"/").concat(n,"/").concat(o," at ").concat(i,":").concat(t)}function resetUploadCSVForm(){$("#contact_file").val(""),$(".upload-file-info.contact").text(""),$("#open_modal_btn").prop("disabled",!0)}function setCountryOnConfirmation(){var t=$("#contact_country option:selected").text();$(".country_destination strong").text(t)}function uploadCitiesFile(t){var e=$(this),n=$("#serviceCities").val(),o=$("#contact_country").val();$("#cities_file").parse({config:{delimiter:",",encoding:"UTF-8",header:!0,complete:function(t){t=t.data.filter(function(t){return t.Locality&&t.Latitude&&t.Longitude}).map(function(t){return{name:t.Locality,location:"".concat(t.Latitude,",").concat(t.Longitude)}});t.length?(e.prop("disabled",!0),$.ajax({type:"POST",url:"".concat(n,"?country=").concat(o),data:JSON.stringify(t),dataType:"json",contentType:"application/json; charset=utf-8",success:function(t){$(".upload-file-info.citites-info").text(""),$("#cities_file").val(""),$(".upload-file-info.citites-info").text("Success!")},error:function(){alert("An error happened while creating cities!"),e.prop("disabled",!1)}})):alert("No cities found in the file!")}},error:function(t,e){console.error("We've encountered an error while parsing the CSV!")}})}function handleCitiesUploadVisibility(t){t.preventDefault(),$(this).parent().siblings().toggle("fast")}$(document).ready(function(t){$("#contact_file, #cities_file").on("change",handleFileLoaded),$("#open_modal_btn").on("click",showConfirmation),$("#close_modal_btn").on("click",function(t){resetUploadCSVForm()}),$("#cities_file_btn").on("click",uploadCitiesFile),$("#citiesUploadVisibility").on("click",handleCitiesUploadVisibility)});
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,f=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new k(n||[]);return f(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===y)throw Error("Generator is already running");if(c===d){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;n=l(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}(r,a);if(r){if(r===m)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;r=l(o,i,a);if("normal"===r.type){if(c=a.done?d:p,r.arg===m)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=d,a.method="throw",a.arg=r.arg)}})}),e}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function b(){}var e={},w=(i(e,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(S([]))),_=(w&&w!==t&&s.call(w,n)&&(e=w),b.prototype=v.prototype=Object.create(e));function $(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function x(a,c){var e;f(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=l(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&s.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function S(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return f(_,"constructor",{value:g.prototype=b,configurable:!0}),f(b,"constructor",{value:g,configurable:!0}),g.displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,i(t,o,"GeneratorFunction")),t.prototype=Object.create(_),t},a.awrap=function(t){return{__await:t}},$(x.prototype),i(x.prototype,r,function(){return this}),a.AsyncIterator=x,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new x(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},$(_),i(_,o,"Generator"),i(_,n,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,E(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),m}},a}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}$(document).ready(function(){$("[name=contactForm]").find("[name=form_consent]:checkbox").on("click",function(t){var e=$(this).prop("checked"),r=$("[name=contactForm]").find('[type="submit"]');r&&(e?r.prop("disabled",!1):r.prop("disabled",!0))}),$('[type="submit"]').on("click",function(t){$(".contact-form input , .contact-form textarea").addClass("touched")}),$(".contact-form__form").submit((()=>{var e=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var r,n,o;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:$('[type="submit"]').text("Sending"),$('[type="submit"]').append('<span class="loader"></span>'),r=new FormData($("#contact-form")[0]),$('[type="submit"]').data("district")&&(r.delete("district"),r.append("district",$('[type="submit"]').data("district"))),$('[type="submit"]').data("service-area")&&(r.delete("serviceArea"),r.append("serviceArea",$('[type="submit"]').data("service-area"))),r.append("senderIp",""),n=$('[type="submit"]').data().service,o=$(this),$.ajax({url:n,type:"POST",data:r,processData:!1,contentType:!1,success:function(t){t.success?(o.hide(),$(".contact-form__header").hide(),$(".contact-form__tankyou").fadeIn("fast")):($('[type="submit"]').text("Send"),$('[type="submit"]').remove(".loader"))}});case 10:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}})()),$(".contact-form__tankyou button").on("click",function(){$(".contact-form__form").fadeIn("fast"),$(".contact-form__header").fadeIn("fast"),$(".contact-form__tankyou").hide(),$('[type="submit"]').text("Send"),$('[type="submit"]').remove(".loader"),$("[name=contactForm]").find('[type="submit"]').prop("disabled",!1),$(".contact-form__form").each(function(){$(this).find(":input").each(function(){$(this).removeClass("touched")}),this.reset()})}),$(".dropdown__wrapper.service-area-input .options li").on("click",function(){$('[type="submit"]').data("service-area",$(this).attr("rel"))}),$(".dropdown__wrapper.district-input .options li").on("click",function(){$('[type="submit"]').data("district",$(this).attr("rel"))})});


$(document).ready(function(t){$(".offices-tabs--links a").click(function(){var t=$(this).attr("data-target");$(".offices-tabs--links a").removeClass("active"),$(this).addClass("active"),$(".offices-tabs--content .tabs").hide(),$(".offices-tabs--content .tabs.".concat(t)).show()})});


function _createForOfIteratorHelper(t,r){var e,n,o,a,c="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(c)return o=!(n=!0),{s:function(){c=c.call(t)},n:function(){var t=c.next();return n=t.done,t},e:function(t){o=!0,e=t},f:function(){try{n||null==c.return||c.return()}finally{if(o)throw e}}};if(Array.isArray(t)||(c=_unsupportedIterableToArray(t))||r&&t&&"number"==typeof t.length)return c&&(t=c),a=0,{s:r=function(){},n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,r){var e;if(t)return"string"==typeof t?_arrayLikeToArray(t,r):"Map"===(e="Object"===(e={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function goToScrollTop(t){$("html, body").animate({scrollTop:t.offset().top-150},700)}function checkRequiredFields(t,r){for(var e=!1,n=$("#".concat(t," :input[required]:visible")),o=0;o<n.length;o++){var a=n[o].id;r.get(a)?$("#".concat(a)).removeClass("invalid"):($("#".concat(a)).addClass("invalid"),e=!0)}return e}$(document).ready(function(){var f,s,d,p,t=$("#xp-formbuilder-submit");t.length&&(f=t.parent(),s=f.attr("action"),d=f.attr("id"),p=$("#".concat(d," h2")).text(),t.on("click",null,function(t){var r,e=document.getElementById(d),e=new FormData(e),n=new FormData,o=checkRequiredFields(d,e),a=_createForOfIteratorHelper(e.entries());try{for(a.s();!(r=a.n()).done;){var c=r.value,i=c[0],l=c[1],u=$("#".concat(i)).data("element-value");n.set(u,l)}}catch(t){a.e(t)}finally{a.f()}o||(f.addClass("form-loading"),$("#".concat(d)).submit(function(t){return t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),$.ajax({url:s,type:"POST",data:n,processData:!1,contentType:!1,success:function(t){f.removeClass("form-loading"),$("#".concat(d)).empty(),$("#".concat(d)).append("<h2>".concat(p,"</h2>")),$("#".concat(d)).append(t),goToScrollTop($("#".concat(d)))},error:function(t,r,e){console.log(e),f.removeClass("form-loading")}}),!1}))}))});
function SetUpImgCarousel(){var e=0;$(".image-carousel").each(function(){e++,$(this).attr("data-slider",e),$(this).addClass("image-carousel--"+e),$(this).slick({slide:".image-carousel__slide",infinite:!0,slidesToShow:1,slidesToScroll:1,prevArrow:$(".image-carousel--"+e+" .image-carousel__arrows .prev"),nextArrow:$(".image-carousel--"+e+" .image-carousel__arrows .next")}),ArrowsTopPosition()})}function ArrowsTopPosition(){var r=0;$(".image-carousel").each(function(){r++;var e=$(".image-carousel--"+r+" .image-carousel__arrows"),o=$(this).find("figure:eq(0)").outerHeight();e.css("top",o/2-e.outerHeight()/2)})}$(document).ready(function(){try{SetUpImgCarousel(),$(window).resize(function(){ArrowsTopPosition()})}catch(e){}});
function getAllParamsFromUrl(){for(var o=location.search.substr(1).split("&"),t={},n=0;n<o.length;n++){var a=o[n].split("="),c=a[0].replace(/\[|\]/g,""),a=a[1];t[c]?t[c].push(a):t[c]=[a]}return t}jQuery(function(){var t,o;try{contactForm&&(t=!1)}catch(o){t=!0}t&&(t=$("ul.options").children("li"),(o=(o=getAllParamsFromUrl()).location&&o.location[0])&&$(".styledSelect").text(decodeURIComponent(o)),t.on("click",function(){var o,t=$(this).attr("rel");t?((o=$("[name=location]")).val(t),o.closest("form").trigger("submit")):(t="".concat(window.location.origin).concat(window.location.pathname),window.location=t)}))});
$(document).ready(function(){$(".newsletter, .footer__newsletter").each(function(){var e=$(this),n=e.find(".custom-checkbox"),s=n.find("input"),t=e.find(".btn--submit"),e=(s.on("change",function(){s.is(":checked")?(t.removeClass("disabled"),n.removeClass("error")):t.addClass("disabled")}),t.on("click",function(e){(t.hasClass("btn--sending")||t.hasClass("btn--sent")||t.hasClass("disabled"))&&e.preventDefault()}),t.on("click",function(e){t.hasClass("disabled")&&(e.preventDefault(),n.addClass("error"))}),$(this).find(".custom-checkbox")),c=e.find("input"),i=e.find("a");e.on("click keypress",function(e){$(e.target).is("a")||"click"!==e.type&&("keypress"!==e.type||" "!==e.key&&"Enter"!==e.key)||c.prop("checked",!c.prop("checked"))}),i.click(function(e){e.stopPropagation()}),i.keypress(function(e){" "!==e.key&&e.key})})});

$(document).ready(function(){var e=$(".ourProjects");e.length&&e.each(function(e,i){var s,o=$(this).find(".ourProjects__slider"),a=o.find(".ourProjects__slider--item").length,a=(s=0,a=a,s=Math.ceil(s),a=Math.floor(a),Math.floor(Math.random()*(a-s)),o.slick({dots:!1,arrows:!1,infinite:!0,autoplay:!0,speed:100,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1,fade:!0,cssEase:"linear"}),o.slick("slickCurrentSlide")),t=($(this).find(".ourProjects__box--links .link[data_ref="+a+"]").addClass("active"),$(this).find(".ourProjects__box--links")),l=t.find(".link");o.on("beforeChange",function(e,i,s,o){l.removeClass("active"),t.find(".link[data_ref="+o+"]").addClass("active")}),l.mouseenter(function(){o.slick("slickPause");var e=$(this).attr("data_ref");o.slick("slickGoTo",e)}).mouseleave(function(){o.slick("slickPlay")})})});
function _typeof(e){return(_typeof="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)}(n=>{function e(e,t){var r;if(!(t=t||{}).worker||!D.WORKERS_SUPPORTED)return r=null,"string"==typeof e?r=new(t.download?i:o)(t):(n.File&&e instanceof File||e instanceof Object)&&(r=new a(t)),r.stream(e);(r=(()=>{if(!D.WORKERS_SUPPORTED)return!1;var e;if(b||null!==D.SCRIPT_PATH)return e=D.SCRIPT_PATH||c,e+=(-1!==e.indexOf("?")?"&":"?")+"papaworker",(e=new n.Worker(e)).onmessage=u,e.id=S++,v[e.id]=e;throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.")})()).userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=m(t.step),t.chunk=m(t.chunk),t.complete=m(t.complete),t.error=m(t.error),delete t.worker,r.postMessage({input:e,config:t,workerId:r.id})}function t(e,t){function r(e){if("object"!=_typeof(e))return[];var t,r=[];for(t in e)r.push(t);return r}function n(e,t){var r="",n=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),e instanceof Array&&0<e.length),i=!(t[0]instanceof Array);if(n){for(var s=0;s<e.length;s++)0<s&&(r+=l),r+=f(e[s],s);0<t.length&&(r+=c)}for(var a=0;a<t.length;a++){for(var o=(n?e:t[a]).length,u=0;u<o;u++){0<u&&(r+=l);var h=n&&i?e[u]:u;r+=f(t[a][h],u)}a<t.length-1&&(r+=c)}return r}function f(e,t){return null==e?"":(e=e.toString().replace(/"/g,'""'),"boolean"==typeof i&&i||i instanceof Array&&i[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(e,D.BAD_DELIMITERS)||-1<e.indexOf(l)||" "==e.charAt(0)||" "==e.charAt(e.length-1)?'"'+e+'"':e)}var i=!1,l=",",c="\r\n";if("object"==_typeof(t)&&("string"==typeof t.delimiter&&1==t.delimiter.length&&-1==D.BAD_DELIMITERS.indexOf(t.delimiter)&&(l=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(i=t.quotes),"string"==typeof t.newline)&&(c=t.newline),(e="string"==typeof e?JSON.parse(e):e)instanceof Array){if(!e.length||e[0]instanceof Array)return n(null,e);if("object"==_typeof(e[0]))return n(r(e[0]),e)}else if("object"==_typeof(e))return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:r(e.data[0])),e.data[0]instanceof Array||"object"==_typeof(e.data[0])||(e.data=[e.data])),n(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function s(e){this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=g(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new r(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e){this.isFirstChunk&&m(this._config.beforeFirstChunk)&&void 0!==(t=this._config.beforeFirstChunk(e))&&(e=t),this.isFirstChunk=!1;var t=this._partialLine+e,e=(this._partialLine="",this._handle.parse(t,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){var r=e.meta.cursor,t=(this._finished||(this._partialLine=t.substring(r-this._baseIndex),this._baseIndex=r),e&&e.data&&(this._rowCount+=e.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(y)n.postMessage({results:e,workerId:D.WORKER_ID,finished:t});else if(m(this._config.chunk)){if(this._config.chunk(e,this._handle),this._paused)return;this._completeResults=e=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(e.data),this._completeResults.errors=this._completeResults.errors.concat(e.errors),this._completeResults.meta=e.meta),!t||!m(this._config.complete)||e&&e.meta.aborted||this._config.complete(this._completeResults),t||e&&e.meta.paused||this._nextChunk(),e}},this._sendError=function(e){m(this._config.error)?this._config.error(e):y&&this._config.error&&n.postMessage({workerId:D.WORKER_ID,error:e,finished:!1})}}function i(e){var t;(e=e||{}).chunkSize||(e.chunkSize=D.RemoteChunkSize),s.call(this,e),this._nextChunk=k?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{var e;t=new XMLHttpRequest,k||(t.onload=l(this._chunkLoaded,this),t.onerror=l(this._chunkError,this)),t.open("GET",this._input,!k),this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e),t.setRequestHeader("If-None-Match","webkit-no-cache"));try{t.send()}catch(e){this._chunkError(e.message)}k&&0==t.status?this._chunkError():this._start+=this._config.chunkSize}},this._chunkLoaded=function(){var e;4==t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._finished=!this._config.chunkSize||this._start>(e=(e=t).getResponseHeader("Content-Range"),parseInt(e.substr(e.lastIndexOf("/")+1))),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e;this._sendError(e)}}function a(e){(e=e||{}).chunkSize||(e.chunkSize=D.LocalChunkSize),s.call(this,e);var r,n,i="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,i?((r=new FileReader).onload=l(this._chunkLoaded,this),r.onerror=l(this._chunkError,this)):r=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,t=(this._config.chunkSize&&(t=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,t)),r.readAsText(e,this._config.encoding));i||this._chunkLoaded({target:{result:t}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(r.error)}}function o(e){var r;s.call(this,e=e||{}),this.stream=function(e){return r=e,this._nextChunk()},this._nextChunk=function(){var e,t;if(!this._finished)return t=(e=this._config.chunkSize)?r.substr(0,e):r,r=e?r.substr(e):"",this._finished=!r,this.parseChunk(t)}}function r(c){function i(){if(p&&h&&(u("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+D.DefaultDelimiter+"'"),h=!1),c.skipEmptyLines)for(var e=0;e<p.data.length;e++)1==p.data[e].length&&""==p.data[e][0]&&p.data.splice(e--,1);if(o()&&p){for(var t=0;o()&&t<p.data.length;t++)for(var r=0;r<p.data[t].length;r++)d.push(p.data[t][r]);p.data.splice(0,1)}if(p&&(c.header||c.dynamicTyping)){for(var n=0;n<p.data.length;n++){for(var i,s={},a=0;a<p.data[n].length;a++)c.dynamicTyping&&(i=p.data[n][a],p.data[n][a]="true"==i||"TRUE"==i||"false"!=i&&"FALSE"!=i&&(e=>f.test(e)?parseFloat(e):e)(i)),c.header&&(a>=d.length?(s.__parsed_extra||(s.__parsed_extra=[]),s.__parsed_extra.push(p.data[n][a])):s[d[a]]=p.data[n][a]);c.header&&(p.data[n]=s,a>d.length?u("FieldMismatch","TooManyFields","Too many fields: expected "+d.length+" fields but parsed "+a,n):a<d.length&&u("FieldMismatch","TooFewFields","Too few fields: expected "+d.length+" fields but parsed "+a,n))}c.header&&p.meta&&(p.meta.fields=d)}}function o(){return c.header&&0==d.length}function u(e,t,r,n){p.errors.push({type:e,code:t,message:r,row:n})}var s,a,h,t,f=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,r=this,n=0,l=!1,e=!1,d=[],p={data:[],errors:[],meta:{}};m(c.step)&&(t=c.step,c.step=function(e){p=e,o()?i():(i(),0!=p.data.length&&(n+=e.data.length,c.preview&&n>c.preview?a.abort():t(p,r)))}),this.parse=function(e,t,r){c.newline||(c.newline=(e=>{var t=(e=e.substr(0,1048576)).split("\r");if(1==t.length)return"\n";for(var r=0,n=0;n<t.length;n++)"\n"==t[n][0]&&r++;return t.length/2<=r?"\r\n":"\r"})(e)),h=!1,c.delimiter||((n=(e=>{for(var t,r,n=[",","\t","|",";",D.RECORD_SEP,D.UNIT_SEP],i=0;i<n.length;i++){for(var s=n[i],a=0,o=0,u=void 0,h=new _({delimiter:s,preview:10}).parse(e),f=0;f<h.data.length;f++){var l=h.data[f].length;o+=l,void 0!==u?1<l&&(a+=Math.abs(l-u),u=l):u=l}0<h.data.length&&(o/=h.data.length),(void 0===r||a<r)&&1.99<o&&(r=a,t=s)}return{successful:!!(c.delimiter=t),bestDelimiter:t}})(e)).successful?c.delimiter=n.bestDelimiter:(h=!0,c.delimiter=D.DefaultDelimiter),p.meta.delimiter=c.delimiter);var n=g(c);return c.preview&&c.header&&n.preview++,s=e,a=new _(n),p=a.parse(s,t,r),i(),l?{meta:{paused:!0}}:p||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,a.abort(),s=s.substr(a.getCharIndex())},this.resume=function(){l=!1,r.streamer.parseChunk(s)},this.aborted=function(){return e},this.abort=function(){e=!0,a.abort(),p.meta.aborted=!0,m(c.complete)&&c.complete(p),s=""}}function _(e){var S=(e=e||{}).delimiter,R=e.newline,w=e.comments,C=e.step,E=e.preview,x=e.fastMode;if(("string"!=typeof S||-1<D.BAD_DELIMITERS.indexOf(S))&&(S=","),w===S)throw"Comment character same as delimiter";!0===w?w="#":("string"!=typeof w||-1<D.BAD_DELIMITERS.indexOf(w))&&(w=!1),"\n"!=R&&"\r"!=R&&"\r\n"!=R&&(R="\n");var O=0,I=!1;this.parse=function(t,r,n){function i(e){d.push(e),g=O}function e(e){return n||(void 0===e&&(e=t.substr(O)),_.push(e),O=u,i(_),c&&o()),a()}function s(e){O=e,i(_),_=[],b=t.indexOf(R,O)}function a(e){return{data:d,errors:p,meta:{delimiter:S,linebreak:R,aborted:I,truncated:!!e,cursor:g+(r||0)}}}function o(){C(a()),d=[],p=[]}if("string"!=typeof t)throw"Input must be a string";var u=t.length,h=S.length,f=R.length,l=w.length,c="function"==typeof C,d=[],p=[],_=[],g=O=0;if(!t)return a();if(x||!1!==x&&-1===t.indexOf('"')){for(var m=t.split(R),k=0;k<m.length;k++){_=m[k];if(O+=_.length,k!==m.length-1)O+=R.length;else if(n)return a();if(!w||_.substr(0,l)!=w){if(c){if(d=[],i(_.split(S)),o(),I)return a()}else i(_.split(S));if(E&&E<=k)return d=d.slice(0,E),a(!0)}}return a()}for(var y=t.indexOf(S,O),b=t.indexOf(R,O);;)if('"'!=t[O])if(w&&0===_.length&&t.substr(O,l)===w){if(-1==b)return a();O=b+f,b=t.indexOf(R,O),y=t.indexOf(S,O)}else if(-1!==y&&(y<b||-1===b))_.push(t.substring(O,y)),O=y+h,y=t.indexOf(S,O);else{if(-1===b)break;if(_.push(t.substring(O,b)),s(b+f),c&&(o(),I))return a();if(E&&d.length>=E)return a(!0)}else{var v=O;for(O++;;){if(-1===(v=t.indexOf('"',v+1)))return n||p.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:d.length,index:O}),e();if(v===u-1)return e(t.substring(O,v).replace(/""/g,'"'));if('"'!=t[v+1]){if(t[v+1]==S){_.push(t.substring(O,v).replace(/""/g,'"')),O=v+1+h,y=t.indexOf(S,O),b=t.indexOf(R,O);break}if(t.substr(v+1,f)===R){if(_.push(t.substring(O,v).replace(/""/g,'"')),s(v+1+f),y=t.indexOf(S,O),c&&(o(),I))return a();if(E&&d.length>=E)return a(!0);break}}else v++}}return e()},this.abort=function(){I=!0},this.getCharIndex=function(){return O}}function u(e){var t=e.data,r=v[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){n=!0,h(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:f,resume:f};if(m(r.userStep)){for(var s=0;s<t.results.data.length&&(r.userStep({data:[t.results.data[s]],errors:t.results.errors,meta:t.results.meta},i),!n);s++);delete t.results}else m(r.userChunk)&&(r.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!n&&h(t.workerId,t.results)}function h(e,t){var r=v[e];m(r.userComplete)&&r.userComplete(t),r.terminate(),delete v[e]}function f(){throw"Not implemented."}function g(e){if("object"!=_typeof(e))return e;var t,r=e instanceof Array?[]:{};for(t in e)r[t]=g(e[t]);return r}function l(e,t){return function(){e.apply(t,arguments)}}function m(e){return"function"==typeof e}var c,d,p,k=!n.document&&!!n.postMessage,y=k&&/(\?|&)papaworker(=|&|$)/.test(n.location.search),b=!1,v={},S=0,D={};D.parse=e,D.unparse=t,D.RECORD_SEP=String.fromCharCode(30),D.UNIT_SEP=String.fromCharCode(31),D.BYTE_ORDER_MARK="ï»¿",D.BAD_DELIMITERS=["\r","\n",'"',D.BYTE_ORDER_MARK],D.WORKERS_SUPPORTED=!k&&!!n.Worker,D.SCRIPT_PATH=null,D.LocalChunkSize=10485760,D.RemoteChunkSize=5242880,D.DefaultDelimiter=",",D.Parser=_,D.ParserHandle=r,D.NetworkStreamer=i,D.FileStreamer=a,D.StringStreamer=o,"undefined"!=typeof module&&module.exports?module.exports=D:m(n.define)&&n.define.amd?define(function(){return D}):n.Papa=D,n.jQuery&&((d=n.jQuery).fn.parse=function(o){function e(){if(0==h.length)return m(o.complete)&&o.complete();var e,t,r,n,i=h[0];if(m(o.before)){var s=o.before(i.file,i.inputElem);if("object"==_typeof(s)){if("abort"==s.action)return e="AbortError",t=i.file,r=i.inputElem,n=s.reason,m(o.error)&&o.error({name:e},t,r,n);if("skip"==s.action)return u();"object"==_typeof(s.config)&&(i.instanceConfig=d.extend(i.instanceConfig,s.config))}else if("skip"==s)return u()}var a=i.instanceConfig.complete;i.instanceConfig.complete=function(e){m(a)&&a(e,i.file,i.inputElem),u()},D.parse(i.file,i.instanceConfig)}function u(){h.splice(0,1),e()}var t=o.config||{},h=[];return this.each(function(){if(!("INPUT"==d(this).prop("tagName").toUpperCase()&&"file"==d(this).attr("type").toLowerCase()&&n.FileReader)||!this.files||0==this.files.length)return!0;for(var e=0;e<this.files.length;e++)h.push({file:this.files[e],inputElem:this,instanceConfig:d.extend({},t)})}),e(),this}),y?n.onmessage=function(e){var e=e.data;void 0===D.WORKER_ID&&e&&(D.WORKER_ID=e.workerId),"string"==typeof e.input?n.postMessage({workerId:D.WORKER_ID,results:D.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=D.parse(e.input,e.config))&&n.postMessage({workerId:D.WORKER_ID,results:e,finished:!0})}:D.WORKERS_SUPPORTED&&(p=document.getElementsByTagName("script"),c=p.length?p[p.length-1].src:"",document.body?document.addEventListener("DOMContentLoaded",function(){b=!0},!0):b=!0),(i.prototype=Object.create(s.prototype)).constructor=i,(a.prototype=Object.create(s.prototype)).constructor=a,(o.prototype=Object.create(o.prototype)).constructor=o})("undefined"!=typeof window?window:void 0);


function goToScrollTop(a){$("html, body").animate({scrollTop:a.offset().top},700)}$(document).ready(function(){var o,t,e,i;try{contactForm&&(t=!1)}catch(a){t=!0}t&&(o=$("#project-index"),t=$(".dropdown__wrapper .dropdown .options li"),e=$(".optionsBtn button"),(o.data("tagTitleBuild")||o.data("tagTitleService")||o.data("tagTitleGeography"))&&goToScrollTop($(".projects__filter")),t.on("click",function(a){var t=$(this).attr("rel");switch($(this).parent().find(">:first-child").attr("rel")){case"building_type":o.data("build",t);break;case"service":o.data("service",t);break;case"geography":o.data("geography",t)}i="?page=1","building_type"!==o.data("build")&&""!==o.data("build")&&(i+="&bygg=".concat(o.data("build"))),"service"!==o.data("service")&&""!==o.data("service")&&(i+="&tjeneste=".concat(o.data("service"))),"geography"!==o.data("geography")&&""!==o.data("geography")&&(i+="&sted=".concat(o.data("geography"))),"none"===$(".optionsBtn").css("display")&&(window.location.href=i),e.prop("disabled",!1)}),e.on("click",function(a){window.location.href=i}))});
$(document).ready(function(){var e,i=$(window).width(),t=$(".projects__listProjects--item.medium .imageItem"),s=$(".projects__listProjects--item.small .imageItem");$(window).resize(function(){e=t.height(),i<=992?s.css("height","auto"):s.css("height",e)}),$(window).trigger("resize")});
function slickControl(){$(".related-content__content").removeClass("row"),$(".related-content__content").find(".related-content__item").removeClass("col-lg-4"),$(".related-content__content").find(".related-content__item").removeClass("col-lg-3"),$(window).width()<992?$(".related-content__content:not(.slick-slider)").slick({slide:".related-content__item",infinite:!1,dots:!1,arrows:!1,slidesToShow:2,slidesToScroll:1,variableWidth:!0,responsive:[{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}]}):($(".related-content__content").addClass("row"),$(".related-content__content.career-artikler").find(".related-content__item").addClass("col-lg-3"),$(".related-content__content:not(.career-artikler)").find(".related-content__item").addClass("col-lg-4"),$(".related-content__content.slick-slider").slick("unslick"))}$(window).resize(function(){slickControl()}),$(document).ready(function(){slickControl()});



//# sourceMappingURL=app.min.js.map
