'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(!1===d.options.responsive)return!1;if(!0===d.options.singleItem)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),!1!==d.options.itemsCustom)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c
d.itemsAmount&&!0===d.options.itemsScaleUp&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;if(!0!==e.options.responsive)return!1;d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(!1!==e.options.autoPlay&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},a(b).resize(e.resizer)},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),!1!==a.options.autoPlay&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),e%b.options.items!=0&&e!==d||e>d||(c+=1),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),!0===b.options.pagination&&b.buildPagination(),!0===b.options.navigation&&b.buildButtons()},buildButtons:function(){var b=this,c=a('');b.owlControls.append(c),b.buttonPrev=a("",{class:"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("",{class:"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a(''),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(!1===h.options.pagination)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e",{class:"owl-page"}),g=a("",{text:!0===h.options.paginationNumbers?b:"",class:!0===h.options.paginationNumbers?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;if(!1===b.options.pagination)return!1;b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;if(!1===a.options.navigation)return!1;!1===a.options.rewindNav&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled")))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=!0===b.options.scrollPerPage?b.options.items:1,b.currentItem>b.maximumItem+(!0===b.options.scrollPerPage?b.options.items-1:0)){if(!0!==b.options.rewindNav)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(!0===b.options.scrollPerPage&&b.currentItem>0&&b.currentItem=f.maximumItem?a=f.maximumItem:a<=0&&(a=0),f.currentItem=f.owl.currentItem=a,!1!==f.options.transitionStyle&&"drag"!==d&&1===f.options.items&&!0===f.browser.support3d?(f.swapSpeed(0),!0===f.browser.support3d?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],!0===f.browser.support3d?(f.isCss3Finish=!1,!0===c?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):!0===c?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:a<=0&&(a=0),b.swapSpeed(0),!0===b.browser.support3d?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),!1!==a.options.autoPlay&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;if(a.apStatus="play",!1===a.options.autoPlay)return!1;b.clearInterval(a.autoPlayInterval),a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a))},addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){this.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;!1===a.options.mouseDrag&&!1===a.options.touchDrag||(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},!0===a.options.mouseDrag&&!0===a.options.touchDrag?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:!1===a.options.mouseDrag&&!0===a.options.touchDrag?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===a.options.mouseDrag&&!1===a.options.touchDrag&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(!1===i.isCssFinish&&!i.options.dragBeforeAnimFinish)return!1;if(!1===i.isCss3Finish&&!i.options.dragBeforeAnimFinish)return!1;!1!==i.options.autoPlay&&b.clearInterval(i.autoPlayInterval),!0===i.browser.isTouch||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&!0!==j.dragging&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&!0===i.browser.isTouch&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&!1===j.sliding&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),!0===i.browser.support3d?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,!0!==i.browser.isTouch&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&!0!==i.browser.isTouch&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=!0===b.options.scrollPerPage?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(!0===b.options.scrollPerPage?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;!0===a.options.stopOnHover&&!0!==a.browser.isTouch&&!1!==a.options.autoPlay&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f=this;if(!1===f.options.lazyLoad)return!1;for(b=0;b=f.currentItem)&&d=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()))},removeItem:function(a){var b,c=this;if(0===c.$elem.children().length)return!1;b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),c.setVars()}};a.fn.owlCarousel=function(b){return this.each(function(){if(!0===a(this).data("owl-init"))return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),function(a){a(document).ready(function(){b.handleEvents()});var b={handleEvents:function(){a(".iasd-dropdown-navigation .dropdown-menu").on("click",b.preventClosing),a(".iasd-dropdown-navigation .dropdown-toggle").on("click",b.openMenu),a(".iasd-dropdown-navigation .dropdown-menu > ul > li:not(.dsa-link) > a").bind("click",b.openSubmenu),a(".iasd-dropdown-navigation .back > a").bind("click",b.closeSubmenu)},preventClosing:function(a){a.stopPropagation()},openMenu:function(){var b=a(".iasd-dropdown-navigation .dropdown-menu > ul > li").find("ul.active");b.size()&&setTimeout(function(){a(".iasd-dropdown-navigation .dropdown-menu").css("height",b.height()+15)},15)},openSubmenu:function(b){var c=a(this),d=c.closest("li").find("ul");d.toggleClass("active"),a(".iasd-dropdown-navigation .dropdown-menu").css("height",d.height()+15),b.preventDefault()},closeSubmenu:function(b){var c=a(this),d=c.closest("ul");a(".iasd-dropdown-navigation .dropdown-menu").css("height",""),d.removeClass("active"),b.preventDefault()}}}(jQuery),function(a){a(document).ready(function(){b.handleEvents()});var b={handleEvents:function(){a("body > footer .back-top").on("click",b.backTop)},backTop:function(b){a("body,html").animate({scrollTop:0},500,"swing"),b.preventDefault()}}}(jQuery),window.matchMedia||(window.matchMedia=function(){return{matches:!1}}),function(a){a(document).ready(function(){c.handleEvents()});var b=window.matchMedia("(max-width: 767px)").matches,c={handleEvents:function(){a(".iasd-global_navbar .more-panel a").on("click",c.changeActiveTab),a(".iasd-global_navbar .more a").on("click",c.toggleMorePanel),a(".iasd-global_navbar .navbar-header button").on("click",c.toggleResponsiveMenu),a(".iasd-global_navbar .headquarters > li > a").on("click",c.toggleSubmenu),a(".iasd-global_navbar .headquarters > li > a").on("mouseover",c.changeMap),a(".iasd-global_navbar .headquarters > li > a").on("mouseout",c.cleanMap),a(".iasd-global_navbar .search-link").on("click",c.toggleSearchBox)},changeActiveTab:function(c){var d=a(this);b?d.parent().toggleClass("active").find("> ul").toggleClass("open"):d.tab("show"),c.preventDefault()},toggleMorePanel:function(b){var c=a(this);a(".iasd-global_navbar .search-link").removeClass("active"),a(".iasd-global_navbar .iasd-global_navbar-search").removeClass("open"),c.parent().toggleClass("active"),a(".iasd-global_navbar .iasd-global_navbar-more").toggleClass("open"),a(".iasd-global_navbar .more-panel a:first").trigger("click"),b.preventDefault()},toggleResponsiveMenu:function(){a(".iasd-global_navbar .search-link").removeClass("active"),a(".iasd-global_navbar .iasd-global_navbar-search").removeClass("open"),a(".iasd-global_navbar .navbar-collapse").toggleClass("collapse").toggleClass("in"),a(".iasd-global_navbar .iasd-global_navbar-more").toggleClass("open"),a(".iasd-global_navbar .more-panel a").each(function(){var c=a(this),d=c.attr("href");b&&a(d).children("ul").insertAfter(c)})},toggleSubmenu:function(c){var d=a(this);b?d.parent().toggleClass("active").find("ul").toggleClass("open"):(d.parent().parent().find("ul").removeClass("open"),d.parent().find("> ul").addClass("open"),d.parent().parent().find("li").removeClass("active"),d.parent().addClass("active"),a(".tutorial").remove()),c.preventDefault()},toggleSearchBox:function(b){var c=a(this);a(".iasd-global_navbar .navbar-collapse").addClass("collapse").removeClass("in"),a(".iasd-global_navbar .more a").parent().removeClass("active"),a(".iasd-global_navbar .iasd-global_navbar-more").removeClass("open"),c.toggleClass("active"),a(".iasd-global_navbar .iasd-global_navbar-search").toggleClass("open"),b.preventDefault()},changeMap:function(){var b=a(this).attr("data-region");a(".headquarters-map").attr("class","headquarters-map visible-md visible-lg"),a(".headquarters-map").addClass("map-region_"+b)},cleanMap:function(){var b=(a(this),a(".iasd-global_navbar .headquarters > li.active > a").attr("data-region"));b?a(".headquarters-map").attr("class","headquarters-map visible-md visible-lg map-region_"+b):a(".headquarters-map").attr("class","headquarters-map visible-md visible-lg map-region_01")}}}(jQuery),window.matchMedia||(window.matchMedia=function(){return{matches:!1}}),function(a){a(document).ready(function(){c.handleEvents(),c.duplicateTouchLink()});var b=window.matchMedia("(max-width: 767px)").matches,c={handleEvents:function(){a(".iasd-main_navbar .navbar-nav li > a").on("click",c.preventDefaultTouchBehavior),a(".iasd-main_navbar .navbar-toggle").on("click",c.toggleResponsiveMenu)},preventDefaultTouchBehavior:function(c){var d=a(this).parent();b||d.siblings().removeClass("open"),d.toggleClass("open"),d.find("ul").length>0&&(b||a("html").hasClass("touch"))&&c.preventDefault();var e=d.find(">:first-child");e&&"#"==e.attr("href")&&c.preventDefault()},duplicateTouchLink:function(){(b||a("html").hasClass("touch"))&&a(".iasd-main_navbar .navbar-nav li.has-children").each(function(){var b=a(this),c=b.find("> a").attr("href"),d=b.find("> a").html();"#"!=c&&b.find("> ul").prepend(''+d+"")})},toggleResponsiveMenu:function(){a(".iasd-main_navbar .navbar-collapse").toggleClass("collapse").toggleClass("in")}}}(jQuery),function(a){a(document).ready(function(){b.closeModal(),c.handleEvents(),e.handleEvents(),d.handleEvents()});var b={closeModal:function(b){a(".modal").each(function(){var b=a(this).find("iframe").attr("src");a(this).on("click",function(){a(this).find("iframe").attr("src",""),a(this).find("iframe").attr("src",b)})})}},c={handleEvents:function(){a(".iasd-search-filters > a > h3").on("click",c.filterToggleActive)},filterToggleActive:function(b){a(this).toggleClass("active")}},d={handleEvents:function(){a("body").on("click",".iasd-plugin-return_page .toggle-visibility-link",d.toggleVisibility)},toggleVisibility:function(b){jqThis=a(this),jqThis.parent().toggleClass("collapsed"),jqThis.parent().hasClass("collapsed")?jqThis.attr("title","Clique para visualizar o link da página anterior"):jqThis.attr("title","Clique para fechar este link"),b.preventDefault()}},e={handleEvents:function(){a(".load-more_posts-link").on("click",e.loadMorePosts)},loadMorePosts:function(b){var c=jQuery(this);c.hasClass("loading")||(c.addClass("loading"),a.ajax({url:c.attr("href"),context:c,dataType:"html"}).done(e.renderMorePosts).fail(e.renderMorePostsError)),b.preventDefault()},renderMorePosts:function(a,b,c){var d=jQuery(a),e=jQuery(".iasd-post-list-ajax"),f=d.find(".iasd-post-list-ajax"),g=d.find(".load-more_posts-link").attr("href");f.find("> .iasd-post-list-item-ajax").appendTo(e);var h=f.data("page"),i=e.data("pages");e.data("page",h);var j=jQuery(this);j.removeClass("loading"),i==h&&j.hide(),jQuery(".load-more_posts-link").attr("href",g),j.trigger("after-render-page.iasd")},renderMorePostsError:function(){jQuery(this).removeClass("loading")}}}(jQuery),function(a){var b=[],c=!1;a(document).ready(function(){d.handleEvents(),e.initPostCarousel(),e.initServiceCarouselFull(),e.initServiceCarouselLarge(),e.initServiceCarouselSmall(),e.initGalleriesCarousel(),e.initColumnsCarousel(),e.initMagazineCarousel(),e.initNewsstandCarouselSmall(),e.initNewsstandCarouselLarge(),e.initInstitutionalCarousel(),e.initAppCarousel(),e.initHighlightAppCarousel(),e.initAppScreenShotsCarousel(),a(".iasd-images-gallery").IASDImageGallery(),b.length>0&&(c=setInterval(function(){for(var a=b.length-1;a>=0;a--)b[a].updateVars()},2e3),setTimeout(function(){clearInterval(c)},3e4))});var d={handleEvents:function(){a(".toggle-config-link").on("click",d.toggleConfig),a(".custom-select > select").on("change",d.removeFocus)},toggleConfig:function(b){jqThis=a(this),jqThis.parent().toggleClass("open"),b.preventDefault()},removeFocus:function(){jqThis=a(this),jqThis.blur()}},e={initPostCarousel:function(){var c=a(".iasd-widget-slider > .posts, .iasd-widget-slider > .header");c.length>0&&b.push(c.owlCarousel({navigation:!1,slideSpeed:500,paginationSpeed:1e3,singleItem:!0,autoPlay:!0,stopOnHover:!0,lazyLoad:!0}).data("owlCarousel"))},initServiceCarouselFull:function(){var c=a(".iasd-widget-slider > .services.full");c.length>0&&b.push(c.owlCarousel({items:7,itemsDesktop:[1200,7],itemsDesktopSmall:[991,7],itemsTablet:[768,5],itemsMobile:[479,3],slideSpeed:500,paginationSpeed:1e3,autoPlay:!1,stopOnHover:!0}).data("owlCarousel"))},initServiceCarouselLarge:function(){var c=a(".iasd-widget-slider > .services.large");c.length>0&&b.push(c.owlCarousel({items:5,itemsDesktop:[1200,5],itemsDesktopSmall:[991,5],itemsTablet:[768,3],itemsMobile:[479,2],slideSpeed:500,paginationSpeed:1e3,autoPlay:!1,stopOnHover:!0}).data("owlCarousel"))},initServiceCarouselSmall:function(){var c=a(".iasd-widget-slider > .services.small");c.length>0&&b.push(c.owlCarousel({items:2,itemsDesktop:[1200,2],itemsDesktopSmall:[991,2],itemsTablet:[768,5],itemsMobile:[479,2],navigation:!1,slideSpeed:500,paginationSpeed:1e3,autoPlay:!1,stopOnHover:!0}).data("owlCarousel"))},initGalleriesCarousel:function(){var c=a(".iasd-widget-slider > .galleries");c.length>0&&b.push(c.owlCarousel({navigation:!0,slideSpeed:500,pagination:!1,singleItem:!0,autoPlay:!1,stopOnHover:!0,navigationText:!1,mouseDrag:!1,touchDrag:!1,transitionStyle:"fade",lazyLoad:!0}).data("owlCarousel"))},initColumnsCarousel:function(){var c=a(".iasd-widget-slider .columns > div");c.length>0&&b.push(c.owlCarousel({items:5,itemsDesktop:[1200,4],itemsDesktopSmall:[992,4],itemsTablet:[768,2],itemsMobile:[480,1],navigation:!1,slideSpeed:500,paginationSpeed:1e3,autoPlay:!1,stopOnHover:!0}).data("owlCarousel"))},initMagazineCarousel:function(){var c=a(".iasd-widget-slider > .magazine");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:1,itemsDesktop:[1200,1],itemsDesktopSmall:[991,1],itemsTablet:[768,3],itemsMobile:[479,1],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))},initNewsstandCarouselSmall:function(){var c=a(".iasd-widget-slider > .newsstand.small");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:1,itemsDesktop:[1200,1],itemsDesktopSmall:[991,3],itemsTablet:[768,2],itemsMobile:[479,1],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))},initNewsstandCarouselLarge:function(){var c=a(".iasd-widget-slider > .newsstand.large");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:2,itemsDesktop:[1200,2],itemsDesktopSmall:[991,2],itemsTablet:[768,2],itemsMobile:[479,1],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))},initInstitutionalCarousel:function(){var c=a(".iasd-institutional-gallery");c.length>0&&b.push(c.owlCarousel({items:1,itemsDesktop:[1200,1],itemsDesktopSmall:[991,1],itemsTablet:[768,1],itemsMobile:[479,1]}).data("owlCarousel"))},initAppCarousel:function(){var c=a(".iasd-apps");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:5,itemsDesktop:[1200,5],itemsDesktopSmall:[991,3],itemsTablet:[768,4],itemsTabletSmall:[627,3],itemsMobile:[479,2],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))},initHighlightAppCarousel:function(){var c=a(".iasd-highlight-apps-carousel");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:4,itemsDesktop:[1200,4],itemsDesktopSmall:[991,3],itemsTablet:[768,3],itemsTabletSmall:[627,3],itemsMobile:[479,2],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))},initAppScreenShotsCarousel:function(){var c=a(".iasd-app-screen-shots");c.length>0&&b.push(c.owlCarousel({navigation:!0,items:4,itemsDesktop:[1200,4],itemsDesktopSmall:[991,4],itemsTablet:[768,3],itemsTabletSmall:[627,2],itemsMobile:[479,1],slideSpeed:500,pagination:!1,paginationSpeed:1e3,autoPlay:!1,navigationText:!1,stopOnHover:!0,mouseDrag:!1,touchDrag:!1,lazyLoad:!0}).data("owlCarousel"))}};a.fn.IASDImageGallery=function(b){"object"!=a.type(b)&&(b={}),this.each(function(){f.init.apply(this,[b])})};var f={defaultOptions:{items:7,itemsDesktop:[1199,7],itemsDesktopSmall:[979,5],itemsTablet:[768,6],itemsMobile:[479,3],pagination:!1,responsiveRefreshRate:100,afterInit:function(a){a.find(".owl-item").eq(0).addClass("synced")}},init:function(b){var c=a(this),d=a.extend({},f.defaultOptions,b),e=c.find(".iasd-images-gallery-pics"),g=c.find(".iasd-images-gallery-thumbs");e.owlCarousel({afterAction:f.syncPosition,pagination:!1,responsiveRefreshRate:200,navigation:!1,singleItem:!0,slideSpeed:1e3,autoHeight:!0,autoPlay:!1,lazyLoad:!0,transitionStyle:"fade"}),g.owlCarousel({pagination:!1,navigation:!1,responsiveRefreshRate:200,autoPlay:!1,autoHeight:!0,lazyLoad:!0,items:7,itemsDesktop:[1199,7],itemsDesktopSmall:[979,5],itemsTablet:[768,6],itemsMobile:[479,3],pagination:!1,transitionStyle:"fade"}),g.owlCarousel(d),g.on("click",".owl-item",f.onClickThumbItem)},syncPosition:function(b){$thumbs=a(b).closest(".iasd-images-gallery").find(".iasd-images-gallery-thumbs");var c=this.currentItem;$thumbs.find(".owl-item").removeClass("synced").eq(c).addClass("synced"),void 0!==$thumbs.data("owlCarousel")&&f.center(c,$thumbs)},onClickThumbItem:function(b){b.preventDefault(),$this=a(this),$pics=$this.closest(".iasd-images-gallery").find(".iasd-images-gallery-pics");var c=$this.data("owlItem");$pics.trigger("owl.goTo",c)},center:function(a,b){var c=b.data("owlCarousel").owl.visibleItems,d=a,e=!1;for(var f in c)if(d===c[f])var e=!0;!1===e?d>c[c.length-1]?b.trigger("owl.goTo",d-c.length+2):(d-1==-1&&(d=0),b.trigger("owl.goTo",d)):d===c[c.length-1]?b.trigger("owl.goTo",c[1]):d===c[0]&&b.trigger("owl.goTo",d-1)}}}(jQuery),function(a){a(window).load(function(){a(".iasd-widget-posts_box address, .iasd-widget-posts_box h2, .iasd-widget-posts_categories h2, .iasd-widget-posts_categories p, .iasd-widget-posts_grid h2, .iasd-widget-posts_grid .post-horizontal-list-item h2, .iasd-widget-posts_grid .post-horizontal-list-item p, .iasd-widget-posts_list h2, .iasd-widget-slider .owl-carousel .slider-item h2, .iasd-widget-slider .owl-carousel .slider-item h3, .iasd-widget-slider .owl-carousel .slider-item p").badonkatrunc({fitDirection:"vertical",automaticSizeTracking:!0}),a(".entry-content footer .more-posts li h3, .iasd-archive>article h2, .iasd-archive>article h2+p, .iasd-blogs-last-posts h1").badonkatrunc({fitDirection:"vertical",automaticSizeTracking:!0})})}(jQuery);