/*! * IASD Bootstrap v1.7.10 (http://styleguide.adventistas.org) * Copyright 2014-2020 Igreja Adventista do Sétimo Dia * Licensed under MIT (https://github.com/igrejaadventista/styleguide/blob/master/LICENSE) */ if(window.Modernizr=function(a,b,c){function d(a){n.cssText=a}function e(a,b){return typeof a===b}var f,g,h="2.6.2",i={},j=!0,k=b.documentElement,l="modernizr",m=b.createElement(l),n=m.style,o=" -webkit- -moz- -o- -ms- ".split(" "),p={},q=[],r=q.slice,s=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:l+(d+1),j.appendChild(h);return f=["­",'"].join(""),j.id=l,(m?j:n).innerHTML+=f,n.appendChild(j),m||(n.style.background="",n.style.overflow="hidden",i=k.style.overflow,k.style.overflow="hidden",k.appendChild(n)),g=c(j,a),m?j.parentNode.removeChild(j):(n.parentNode.removeChild(n),k.style.overflow=i),!!g},t=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return s("@media "+b+" { #"+l+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},u={}.hasOwnProperty;g=e(u,"undefined")||e(u.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return u.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=r.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(r.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(r.call(arguments)))};return d}),p.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:s(["@media (",o.join("touch-enabled),("),l,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=9===a.offsetTop}),c};for(var v in p)g(p,v)&&(f=v.toLowerCase(),i[f]=p[v](),q.push((i[f]?"":"no-")+f));return i.addTest=function(a,b){if("object"==typeof a)for(var d in a)g(a,d)&&i.addTest(d,a[d]);else{if(a=a.toLowerCase(),i[a]!==c)return i;b="function"==typeof b?b():b,void 0!==j&&j&&(k.className+=" "+(b?"":"no-")+a),i[a]=b}return i},d(""),m=null,i._version=h,i._prefixes=o,i.mq=t,i.testStyles=s,k.className=k.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(j?" js "+q.join(" "):""),i}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==q.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=r.shift();s=1,a?a.t?o(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):s=0}function i(a,c,d,e,f,i,j){function k(b){if(!n&&g(l.readyState)&&(t.r=n=1,!s&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&o(function(){v.removeChild(l)},50);for(var d in A[c])A[c].hasOwnProperty(d)&&A[c][d].onload()}}var j=j||m.errorTimeout,l=b.createElement(a),n=0,q=0,t={t:d,s:c,e:f,a:i,x:j};1===A[c]&&(q=1,A[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,q)},r.splice(e,0,t),"img"!=a&&(q||2===A[c]?(v.insertBefore(l,u?null:p),o(k,j)):A[c].push(l))}function j(a,b,c,d,f){return s=0,b=b||"j",e(a)?i("c"==b?x:w,a,b,this.i++,c,d,f):(r.splice(this.i++,0,a),1==r.length&&h()),this}function k(){var a=m;return a.loader={load:j,i:0},a}var l,m,n=b.documentElement,o=a.setTimeout,p=b.getElementsByTagName("script")[0],q={}.toString,r=[],s=0,t="MozAppearance"in n.style,u=t&&!!b.createRange().compareNode,v=u?n:p.parentNode,n=a.opera&&"[object Opera]"==q.call(a.opera),n=!!b.attachEvent&&!n,w=t?"object":n?"script":"img",x=n?"script":w,y=Array.isArray||function(a){return"[object Array]"==q.call(a)},z=[],A={},B={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}};m=function(a){function b(a){var b,c,d,a=a.split("!"),e=z.length,f=a.pop(),g=a.length,f={url:f,origUrl:f,prefixes:a};for(c=0;cthis.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=!(null!=this.unpin&&d+this.unpin<=e.top)&&(null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d&&"top");this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery),function(a){var b={init:function(b){var d=this,f=a.extend(!0,{},a.fn.badonkatrunc.defaultOptions,b);return"horizontal"!=f.fitDirection&&"vertical"!=f.fitDirection?(a.error("'"+f.fitDirection+"' is not a valid fit direction. Use 'horizontal' or 'vertical.'"),this):"start"!=f.truncateLocation&&"middle"!=f.truncateLocation&&"end"!=f.truncateLocation?(a.error("'"+f.truncateLocation+"' is not a valid truncation location. Use 'start,' 'middle' or 'end.'"),this):f.minimumFontSize>f.maximumFontSize?(a.error("Minimum font size can not exceed the maximum font size."),this):f.minimumLetterSpacing>f.maximumLetterSpacing?(a.error("Minimum letter spacing can not exceed the maximum letter spacing."),this):this.each(function(){var b=a(this);a(this).data("badonkatrunc")&&b.badonkatrunc("destroy");var g=c(b,f,d);a(this).data("badonkatrunc",g),g.init(),g.options.automaticSizeTracking&&e.add(g)})},destroy:function(){return this.each(function(){var b=a(this),c=b.data("badonkatrunc");c.destroy(),e.remove(c),f.remove(c),a(window).unbind(".badonkatrunc"),b.removeData("badonkatrunc")})},refresh:function(){return this.each(function(){var b=a(this),c=b.data("badonkatrunc");f.remove(c),c.refresh()})},changeContents:function(b){return this.each(function(){var c=a(this),d=c.data("badonkatrunc");d.contentHtml="string"==typeof b?a("").text(b).html():a(b).html(),f.add(d)})}};a.fn.badonkatrunc=function(c){return b[c]?b[c].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof c&&c?void a.error("Method "+c+" does not exist on jQuery.badonkatrunc"):b.init.apply(this,arguments)},a.fn.badonkatrunc.settings={sizeTrackingTimeout:1e3/60},a.fn.badonkatrunc.defaultOptions={automaticSizeTracking:!1,fitDirection:"horizontal",minimumFontSize:1,maximumFontSize:1,fontSizeSynced:!1,minimumLetterSpacing:0,maximumLetterSpacing:0,letterSpacingSynced:!1,truncate:!0,truncateString:"…",truncateLocation:"end",truncateOnlyWholeWords:!1,extraOptimizeLimit:8},a.fn.btrunc=a.fn.badonkatrunc;var c=function(b,c,d){var e=function(a,b,c){return{content:a,fontSize:b,letterSpacing:c}};return{target:b,options:c,refresh:function(){var a=this,b=h(this.contentHtml),c=this.contentHtml,d=this.options.maximumFontSize,f=this.options.maximumLetterSpacing,j=function(){var b=e(c,d,f);a.renderState(b)},k=function(){return a.getCurrentOverflow()};if(this.options.maximumFontSize-this.options.minimumFontSize>0&&i(a.options.minimumFontSize,a.options.maximumFontSize,function(a){d=a,j()},k),this.options.maximumLetterSpacing-this.options.minimumLetterSpacing>0){var l=1;this.options.truncate&&i(0,1,function(d){l=d,c=g(b,a.options.truncateString,a.options.truncateLocation,d,!0),i(a.options.minimumLetterSpacing,0,function(a){f=a,j()},k),j()},k),1==l&&i(a.options.minimumLetterSpacing,a.options.maximumLetterSpacing,function(a){f=a,j()},k)}this.options.truncate&&i(0,1,function(d){c=g(b,a.options.truncateString,a.options.truncateLocation,d,a.options.truncateOnlyWholeWords),j()},k,this.options.extraOptimizeLimit),this.renderState(e(c,d,f),!this.options.truncate),this.currentOptimalState=this.currentRenderedState,this.syncFonts()},syncFonts:function(){if(d.length>1&&(this.options.fontSizeSynced||this.options.letterSpacingSynced)){for(var b=this.currentOptimalState.fontSize,c=this.currentOptimalState.letterSpacing,e=0;e'),this.settingsWrapper.addClass("badonkatrunc-wrapper"),this.settingsWrapper.css("display","block")),this.target.append(this.settingsWrapper),this.refresh()},destroy:function(){this.target.empty(),this.target.append(this.contentHtml)},renderState:function(a,b){this.settingsWrapper.css("font-size",a.fontSize+"em"),this.settingsWrapper.css("letter-spacing",a.letterSpacing+"em");var c=b||"horizontal"!=this.options.fitDirection?"normal":"nowrap";this.settingsWrapper.css("white-space",c),this.settingsWrapper.empty(),this.settingsWrapper.append(a.content),this.currentRenderedState=a},getCurrentOverflow:function(){var a=this.settingsWrapper[0];return"horizontal"==this.options.fitDirection?a.scrollWidth-b.width():a.offsetHeight-b.height()}}},d=function(b,c,d,e){var f={_instances:[],_updateLoop:function(){if(a.isFunction(b))for(var c=0;c0&&setTimeout(f._updateLoop,e):f._instances=[]},add:function(b){-1==a.inArray(b,this._instances)&&(a.isFunction(c)&&c(b),this._instances.push(b),1==this._instances.length&&(null==e?setTimeout(this._updateLoop):this._updateLoop()))},remove:function(b){var c=a.inArray(b,this._instances);-1!=c&&(this._instances.splice(c,1),a.isFunction(d)&&d(b))}};return f},e=d(function(a){a.elementSizeCache.update()},function(a){a.elementSizeCache={width:null,height:null,update:function(){var b=a.target.width(),c=a.target.height(),d=null!=this.width&&b!=this.width||null!=this.height&&c!=this.height;this.width=b,this.height=c,d&&this.changed()},changed:function(){f.add(a)}}},function(a){a.elementSizeCache=void 0},a.fn.badonkatrunc.settings.sizeTrackingTimeout),f=d(function(a){a.refresh.apply(a)},null,null,null),g=function(b,c,d,e,f){var g=b.text;if(e>1&&(e=1),e<0&&(e=0),1==e)return b.html;var h=function(a,c){var d=g.split(" "),e=f?d.length:g.length,h=e*a,i=e*c;if(f){var j=function(a){for(var b=0,c=0;c");return c.html(b),{html:b,text:c.text(),getHtmlSubstring:function(b,d){var e=c.clone()[0],f=0,g=0,h=[],i=!1,j=function(a){if(3==a.nodeType){for(var c=a.data.length,e="",k=!1,l=0;l=b&&gm?n=!1:m==j&&h<=k&&(n=!1)),n&&(j=m,k=h)}if(m==i&&(l++,void 0==e||l==e))return void(null!=k&&c(k));if(m>0){f=h;h-=(h-g)/2}else m<=0&&(g=h,h=f);i=m}}}(jQuery),"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data("owl-originalStyles",a.$elem.attr("style")).data("owl-originalClasses",a.$elem.attr("class")),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;if(0===a.$elem.children().length)return!1;a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),a.onStartup()},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),!1!==a.options.transitionStyle&&a.transitionTypes(a.options.transitionStyle),!0===a.options.autoPlay&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;!0===a.options.lazyLoad&&a.lazyLoad(),!0===a.options.autoHeight&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;if(!1!==a.$elem.is(":visible"))return!1;a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)},wrapItems:function(){var a=this;a.$userItems.wrapAll('
').wrap('
'),a.$elem.find(".owl-wrapper").wrap('
'),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;cd.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);