PageSourceSearch

https://www.uepg.br/wp-content/plugins/materialis-companion/theme-…/js/companion.bundle.min.js?ver=1.3.56

js uepg.br collected 2026-09-24 09:03:25 UTC 30,113 bytes, 2 lines download raw bytes

1!function(P){window.initHoverFX=function(e,t,i){var $,C,V,A,z,F,I;function S(e){return{width:"100%",height:Math.abs(parseFloat(P(e).outerHeight(!1)))}}C=P(".contentswap-effect"),I=!0,(V=e).resizeEvent=!!i,function(e){P();C.each(function(){var t,d,i,a,r,n,o,s,e,c,u,l,p,h,g,f,m;if((t=P(this)).unbind(".hoverfx"),t.css({width:"",height:""}),d=function(e){z=P(e).attr("class"),F=z.split(" ");for(var t=0;t<=C.length;t++)for(var i in V)F[t]===i&&(A=i);return V?V[A]:$[A]}(t),i=function(e,t){var i;switch(t){case"overlay":i=P(e).find(".swap-inner");break;case"imageSwap":i=P(e).find(".second-image");break;case"caption":i=P(e).find(".swap-inner")}return i}(t,d.contentType),r=t.find(".initial-image"),a=t.find(".overlay"),d.overlayColor=i.css("background-color"),d.innerColor=i.css("background-color"),i.removeAttr("style"),a.removeAttr("style"),r.removeAttr("style"),u=t,l=(c=r).css("margin-left"),p=c.css("margin-right"),h=c.css("margin-top"),g=c.css("margin-bottom"),f=c.css("float"),c.css({float:"none","margin-left":"0px","margin-right":"0px","margin-top":"0px","margin-bottom":"0px"}),u.css({float:f,"margin-left":l,"margin-right":p,"margin-top":h,"margin-bottom":g}),S(t),s=function(e){var t,i="",a=!1;switch(e.toLowerCase()){case"easeinoutback":t="cubic-bezier(0.680, -0.550, 0.265, 1.550)",a="cubic-bezier(0.680, 0, 0.265, 1)";break;case"quick-in":t="cubic-bezier(0.315, -0.185, 0.000, 1.270)",a="cubic-bezier(0.315, 0, 0.000, 1)";break;case"accelerate":t="cubic-bezier(0.885, 0.420, 0.000, 1.270)",a="cubic-bezier(0.885, 0.420, 0.000, 1)";break;case"super-fast":t="cubic-bezier(0.000, 0.870, 0.000, 0.890)";break;case"ease-in-out-back":t="cubic-bezier(0.680, -0.550, 0.265, 1.550)",a="cubic-bezier(0.680, 0, 0.265, 1)";break;case"ease-in-out-expo":t="cubic-bezier(1.000, 0.000, 0.000, 1.000)";break;case"ease-out-back":t="cubic-bezier(0.175, 0.885, 0.320, 1.275)",a="cubic-bezier(0.175, 0.885, 0.320, 1)";break;case"ease-out-circ":t="cubic-bezier(0.075, 0.820, 0.165, 1.000)";break;case"ease-in-back":t="cubic-bezier(0.600, -0.280, 0.735, 0.045)",a="cubic-bezier(0.600, 0, 0.735, 0.045)";break;case"ease-in-circ":a=t="cubic-bezier(0.600, 0.040, 0.980, 0.335)";break;case"ease":t="ease";break;case"ease-in":t="ease-in";break;case"ease-in-out":t="ease-in-out";break;case"ease-out":t="ease-out"}a&&(t=a);for(var r=["-webkit-","-moz-","-o-",""],n=0;n<r.length;n++)i+=r[n]+"transition-timing-function:"+t+";";return i}(d.effectEasing),n=d.contentType,e=i.find(".swap-icons img"),(m=P(e)).parent().css({width:m.width(),height:m.height()}),o="overlay"==n?"all":"margin",r.css("float","none"),"caption"==n){if(0==t.find(".caption-wrap").length){var y=P("<div />").addClass("caption-wrap overlay");i.wrap(y)}a=t.find(".caption-wrap")}else a=t.find(".overlay");function v(e,t,i,a,r){var n,o,s=t||"all",c=d.effectDelay+"ms",u=s+" "+c;e.css({"-webkit-transition":u,"-moz-transition":u,"-o-transition":u,transition:u}),r&&(o=i,(n=e).attr("style",n.attr("style")+o))}a.add(i).css("display","block"),t.addClass(d.effectType);var b=!1;if(0<r.height()){b=!0;var w=S(r);t.css({width:w.width}),"overlay"==n&&v(i,o,s,d.effectDelay,!0)}r.on("load",function(){var e=S(P(this));t.css({width:e.width}),"overlay"==n&&i.css({"margin-top":0,"margin-left":Math.abs(e.width-i.outerWidth())/2}),"overlay"==n&&v(i,o,s,d.effectDelay)}),i.css({"background-color":function(e,t,i){if(-1==e.indexOf("#")||-1<e.indexOf("rgb(")||-1<e.indexOf("rgba"))return{rgba:e};var n;n=t?(t/100).toFixed(2):1,e=(e=function(e){var t=/rgb *\( *([0-9]{1,3}) *, *([0-9]{1,3}) *, *([0-9]{1,3}) *\)/.exec(e);if(t||(t=/rgba *\( *([0-9]{1,3}) *, *([0-9]{1,3}) *, *([0-9]{1,3}) *, *(0.+[0-9]) *\)/.exec(e)),!t)return e;if(5!=t.length)return e;var i=Math.round(parseFloat(t[1])),a=Math.round(parseFloat(t[2])),r=Math.round(parseFloat(t[3]));return t[4]&&(n=t[4]),"#"+(i+65536).toString(16).substring(3).toUpperCase()+(a+65536).toString(16).substring(3).toUpperCase()+(r+65536).toString(16).substring(3).toUpperCase()}(e)).replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,i,a){return t+t+i+i+a+a});var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);function r(e){var t=255*e;return Math.floor(t).toString(16)}if(void 0!==i&&a)switch(I){case!0:i.css("background-color","rgba("+[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)].join(",")+","+n+")");break;case!1:i.css({background:"transparent",filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#"+r(n)+a[0].replace("#","")+",endColorstr=#"+r(n)+a[0].replace("#","")+");",zoom:1})}return a?{rgba:"rgba("+[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)].join(",")+","+n+")",fallback:r(n)+a[0].replace("#","")}:null}(d.overlayColor,d.overlayAlpha).rgba}
1),"overlay"==n&&v(a,"opacity",s,d.effectDelay,!0);var x,k,T={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return!!(T.Android()||T.BlackBerry()||T.iOS()||T.Opera()||T.Windows()||"ontouchstart"in document)}},_=T.any();if(d.link&&(1==_||t.bind("click.hoverfx",function(){"same"===d.openPage?window.location.assign(d.link):window.open(d.link,"_blank")})),"overlay"==n){t.unbind(".caption"),t.addClass("contentswap-overlay");var w=S(r);0<r.height()&&i.css({"margin-top":0,"margin-left":Math.abs(w.width-i.outerWidth())/2})}"caption"==n&&(t.addClass("caption"),"top"==d.direction?(b?a.css({"margin-top":-i.outerHeight()-1+"px",opacity:1}):setTimeout(function(){a.css({"margin-top":-i.outerHeight()-1+"px",opacity:1})},10),setTimeout(function(){a.insertBefore(r)},10)):setTimeout(function(){a.css({opacity:1})},10),k="over"==d.captionType?("top"==d.direction?a.css({position:"absolute","z-index":9991}):a.css({"margin-top":"1px"}),v(a,"margin",s,d.effectDelay,!0),x=function(){a.css({"margin-top":-i.outerHeight()+"px"}),"top"==d.direction&&a.css("margin-top",0)},function(){a.css({"margin-top":"0px"}),"top"==d.direction&&a.css("margin-top",-i.outerHeight()+"px")}):(v(a,"margin",s,d.effectDelay,!0),v(r,"margin",s,d.effectDelay,!0),x=function(){var e,t;d.captionHeight<=i.outerHeight()&&(e=d.captionHeight,t=i,"auto"==e&&"undefined"==e||t.css("height",parseInt(e)+"px")),"top"==d.direction&&"over"!=d.captionType?a.css({"margin-top":"0px"}):(a.css({"margin-top":-i.outerHeight()}),r.css({"margin-top":-i.outerHeight(),"margin-bottom":i.outerHeight()}))},function(){"top"==d.direction?a.css({"margin-top":-i.outerHeight()-1+"px"}):(a.css({"margin-top":"1px"}),r.css({"margin-top":"0px","margin-bottom":"0px"}))}));1==_?(t.addClass("hover"),"caption"==n&&x()):"caption"==n&&t.bind("mouseenter.hoverfx",x).bind("mouseleave.hoverfx",k)})}()}}(jQuery),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t(require,exports,module):e.CountUp=t()}(this,function(e,t,i){return function(e,t,i,a,r,n){var o=this;if(o.version=function(){return"1.9.1"},o.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(e,t,i,a){return i*(1-Math.pow(2,-10*e/a))*1024/1023+t},formattingFn:function(e){var t,i,a,r;if(e=e.toFixed(o.decimals),t=(e+="").split("."),i=t[0],a=1<t.length?o.options.decimal+t[1]:"",r=/(\d+)(\d{3})/,o.options.useGrouping)for(;r.test(i);)i=i.replace(r,"$1"+o.options.separator+"$2");return o.options.numerals.length&&(i=i.replace(/[0-9]/g,function(e){return o.options.numerals[+e]}),a=a.replace(/[0-9]/g,function(e){return o.options.numerals[+e]})),o.options.prefix+i+a+o.options.suffix},prefix:"",suffix:"",numerals:[],onUpdate:!1},n&&"object"==typeof n)for(var s in o.options)n.hasOwnProperty(s)&&null!==n[s]&&(o.options[s]=n[s]);""===o.options.separator&&(o.options.useGrouping=!1);for(var c=0,u=["webkit","moz","ms","o"],d=0;d<u.length&&!window.requestAnimationFrame;++d)window.requestAnimationFrame=window[u[d]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[u[d]+"CancelAnimationFrame"]||window[u[d]+"CancelRequestAnimationFrame"];function l(e){return"number"==typeof e&&!isNaN(e)}window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),a=Math.max(0,16-(i-c)),r=window.setTimeout(function(){e(i+a)},a);return c=i+a,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),o.initialize=function(){return!!o.initialized||(o.error="",o.d="string"==typeof e?document.getElementById(e):e,o.d?(o.startVal=Number(t),o.endVal=Number(i),l(o.startVal)&&l(o.endVal)?(o.decimals=Math.max(0,a||0),o.dec=Math.pow(10,o.decimals),o.duration=1e3*Number(r)||4e3,o.countDown=o.startVal>o.endVal,o.frameVal=o.startVal,o.initialized=!0):(o.error="[CountUp] startVal ("+t+") or endVal ("+i+") is not a number",!1)):!(o.error="[CountUp] target is null or undefined"))},o.printValue=function(e){var t=o.options.formattingFn(e);"INPUT"===o.d.tagName?this.d.value=t:"text"===o.d.tagName||"tspan"===o.d.tagName?this.d.textContent=t:this.d.innerHTML=t},o.count=function(e){o.startTime||(o.startTime=e);var t=(o.timestamp=e)-o.startTime;o.remaining=o.duration-t,o.options.useEasing?o.countDown?o.frameVal=o.startVal-o.options.easingFn(t,0,o.startVal-o.endVal,o.duration):o.frameVal=o.options.easingFn(t,o.startVal,o.endVal-o.startVal,o.duration):o.countDown?o.frameVal=o.startVal-(o.startVal-o.endVal)*(t/o.duration):o.frameVal=o.startVal+(o.endVal-o.startVal)*(t/o.duration),o.countDown?o.frameVal=o.frameVal<o.endVal?o.endVal:o.frameVal:o.frameVal=o.frameVal>o.endVal?o.endVal:o.frameVal,o.frameVal=Math.round(o.frameVal*o.dec)/o.dec,o.printValue(o.frameVal),o.options.onUpdate&&o.options.onUpdate(o.frameVal),t<o.duration?o.rAF=requestAnimationFrame(o.count):o.callback&&o.callback()}
1,o.start=function(e){o.initialize()&&(o.callback=e,o.rAF=requestAnimationFrame(o.count))},o.pauseResume=function(){o.paused?(o.paused=!1,delete o.startTime,o.duration=o.remaining,o.startVal=o.frameVal,requestAnimationFrame(o.count)):(o.paused=!0,cancelAnimationFrame(o.rAF))},o.reset=function(){o.paused=!1,delete o.startTime,o.initialized=!1,o.initialize()&&(cancelAnimationFrame(o.rAF),o.printValue(o.startVal))},o.update=function(e){o.initialize()&&(l(e=Number(e))?(o.error="",e!==o.frameVal&&(cancelAnimationFrame(o.rAF),o.paused=!1,delete o.startTime,o.startVal=o.frameVal,o.endVal=e,o.countDown=o.startVal>o.endVal,o.rAF=requestAnimationFrame(o.count))):o.error="[CountUp] update() - new endVal is not a number: "+e)},o.initialize()&&o.printValue(o.startVal)}}),function(o){"use strict";o.fn.LineProgressbar=function(n){return n=o.extend({min:0,max:100,stop:50,ShowProgressCount:!0,duration:2e3,color:"#654ea3",backgroundColor:"#f5f5f5",suffix:"%",text:"Category",radius:"0px",height:"10px",width:"100%"},n),o.options=n,this.each(function(e,t){o(t).html('<div class="progressbar"><div class="counterText"></div><div class="percentCount"></div><div class="proggress"></div></div>');var i=o(t).find(".proggress"),a=o(t).find(".progressbar"),r=o(t).find(".counterText");i.css({backgroundColor:n.color,height:n.height,borderRadius:n.radius}),a.css({width:n.width,backgroundColor:n.backgroundColor,borderRadius:n.radius}),r.html(n.text),i.animate({width:n.stop+"%"},{step:function(e){n.ShowProgressCount&&o(t).find(".percentCount").text(Math.round(e)+n.suffix)},duration:n.duration})})},o.fn.progressTo=function(a){var r=o.options;return this.each(function(e,t){var i=o(t).find(".proggress");o(t).find(".progressbar");i.animate({width:a+"%"},{step:function(e){r.ShowProgressCount&&o(t).find(".percentCount").text(Math.round(e)+r.suffix)},duration:r.duration})})}}(jQuery),function(e){function i(e,t){var i=jQuery(e),a=jQuery(".header-homepage.cp-video-bg"),r=a.width(),n=a.height();(r=Math.max(r,n))<16*n/9?r=16/9*n:n=9*r/16;var o=-.5*(r-a.width());i.css({width:r,height:n,opacity:1,left:o})}window.addEventListener("resize",function(){var e=document.querySelector("video#wp-custom-header-video")||document.querySelector("iframe#wp-custom-header-video");e&&i(e)}),jQuery(function(){var e=document.querySelector("video#wp-custom-header-video")||document.querySelector("iframe#wp-custom-header-video");e&&i(e)}),__cpVideoElementFirstPlayed=!1,document.addEventListener("wp-custom-header-video-loaded",function(){var e=document.querySelector("video#wp-custom-header-video");e?i(e):document.querySelector("#wp-custom-header").addEventListener("play",function(){var e=document.querySelector("iframe#wp-custom-header-video"),t=document.querySelector("video#wp-custom-header-video")||e;t&&!__cpVideoElementFirstPlayed&&(__cpVideoElementFirstPlayed=!0,i(t))})})}(jQuery),function(y,f,v){"use strict";var u=/^.*(youtu\.be\/|youtube\.com\/v\/|youtube\.com\/embed\/|youtube\.com\/watch\?v=|youtube\.com\/watch\?.*\&v=)([^#\&\?]*).*/i;y.fn.backstretch=function(n,o){var s,c=arguments;return 0===y(f).scrollTop()&&f.scrollTo(0,0),this.each(function(e){var t=y(this),i=t.data("backstretch");if(i){if("string"==typeof c[0]&&"function"==typeof i[c[0]]){var a=i[c[0]].apply(i,Array.prototype.slice.call(c,1));return a===i&&(a=v),void(a!==v&&((s=s||[])[e]=a))}o=y.extend(i.options,o),i.hasOwnProperty("destroy")&&i.destroy(!0)}if(!n||n&&0===n.length){var r=t.css("background-image");r&&"none"!==r?n=[{url:t.css("backgroundImage").replace(/url\(|\)|"|'/g,"")}]:y.error("No images were supplied for Backstretch, or element must have a CSS-defined background image.")}i=new k(this,n,o||{}),t.data("backstretch",i)}),s?1===s.length?s[0]:s:this},y.backstretch=function(e,t){return y("body").backstretch(e,t).data("backstretch")},y.expr[":"].backstretch=function(e){return y(e).data("backstretch")!==v},y.fn.backstretch.defaults={duration:5e3,transition:"fade",transitionDuration:0,animateFirst:!0,alignX:.5,alignY:.5,paused:!1,start:0,preload:2,preloadSize:1,resolutionRefreshRate:2500,resolutionChangeRatioThreshold:.1};var d,l,p,i,h,g,s={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},itemWrapper:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"100%",height:"100%",zIndex:-999999},item:{position:"absolute",margin:0,padding:0,border:"none",width:"100%",height:"100%",maxWidth:"none"}},m=(d=function(e){for(var t=1;t<e.length;t++){for(var i=e[t],a=t;e[a-1]&&parseInt(e[a-1].width,10)>parseInt(i.width,10);)e[a]=e[a-1],--a;e[a]=i}return e},l=function(e,t,i){for(var a,r,n=f.devicePixelRatio||1,o=z(),s=(F(),e<t?"portrait":t<e?"landscape":"square"),c=0,u=0;u<i.length&&("string"==typeof(r=i[u])&&(r=i[u]={url:r}),r.pixelRatio&&"auto"!==r.pixelRatio&&parseFloat(r.pixelRatio)!==n||r.deviceOrientation&&r.deviceOrientation!==o||r.windowOrientation&&r.windowOrientation!==o||r.orientation&&r.orientation!==s||(c=u,a=e,"auto"===r.pixelRatio&&(e*=n),!(r.width>=a)));u++);return i[Math.min(u,c)]},p=function(e,t){if("string"==typeof e)e=e.replace(/{{(width|height)}}/g,t);else if(e instanceof Array)for(var i=0;i<e.length;i++)e[i].src?e[i].src=p(e[i].src,t):e[i]=p(e[i],t);return e},function(e,t){for(var i=e.width(),a=e.height(),r=[],n=function(e,t){return"width"===t?i:"height"===t?a:e},o=0;o<t.length;o++)if(y.isArray(t[o])){t[o]=d(t[o]);var s=l(i,a,t[o]);r.push(s)}
1else{"string"==typeof t[o]&&(t[o]={url:t[o]});var c=y.extend({},t[o]);c.url=p(c.url,n),r.push(c)}return r}),b=function(e){return u.test(e.url)||e.isVideo},w=(i=[],h=function(e){for(var t=0;t<i.length;t++)if(i[t].src===e.src)return i[t];return i.push(e),e},g=function(e,t,i){"function"==typeof t&&t.call(e,i)},function e(t,i,a,r,n){if(void 0!==t){y.isArray(t)||(t=[t]),arguments.length<5&&"function"==typeof arguments[arguments.length-1]&&(n=arguments[arguments.length-1]),i="function"!=typeof i&&i?i:0,a="function"==typeof a||!a||a<0?t.length:Math.min(a,t.length),r="function"!=typeof r&&r?r:1,i>=t.length&&(a=i=0),r<0&&(r=a),r=Math.min(r,a);var o=t.slice(i+r,a-r);if(t=t.slice(i,r),a=t.length)for(var s,c=0,u=function(){++c===a&&(g(t,n,!o),e(o,0,0,r,n))},d=0;d<t.length;d++)b(t[d])||((s=new Image).src=t[d].url,(s=h(s)).complete?u():y(s).on("load error",u));else g(t,n,!0)}}),c=function(e){for(var t=[],i=0;i<e.length;i++)"string"==typeof e[i]?t.push({url:e[i]}):y.isArray(e[i])?t.push(c(e[i])):t.push(x(e[i]));return t},x=function(e,t){return(e.centeredX||e.centeredY)&&(f.console&&f.console.log&&f.console.log("jquery.backstretch: `centeredX`/`centeredY` is deprecated, please use `alignX`/`alignY`"),e.centeredX&&(e.alignX=.5),e.centeredY&&(e.alignY=.5)),e.speed!==v&&(f.console&&f.console.log&&f.console.log("jquery.backstretch: `speed` is deprecated, please use `transitionDuration`"),e.transitionDuration=e.speed,e.transition="fade"),e.resolutionChangeRatioTreshold!==v&&(f.console.log("jquery.backstretch: `treshold` is a typo!"),e.resolutionChangeRatioThreshold=e.resolutionChangeRatioTreshold),e.fadeFirst!==v&&(e.animateFirst=e.fadeFirst),e.fade!==v&&(e.transitionDuration=e.fade,e.transition="fade"),a(e)},a=function(e,t){return"left"===e.alignX?e.alignX=0:"center"===e.alignX?e.alignX=.5:"right"===e.alignX?e.alignX=1:(e.alignX!==v||t)&&(e.alignX=parseFloat(e.alignX),isNaN(e.alignX)&&(e.alignX=.5)),"top"===e.alignY?e.alignY=0:"center"===e.alignY?e.alignY=.5:"bottom"===e.alignY?e.alignY=1:(e.alignX!==v||t)&&(e.alignY=parseFloat(e.alignY),isNaN(e.alignY)&&(e.alignY=.5)),e},k=function(e,t,i){this.options=y.extend({},y.fn.backstretch.defaults,i||{}),this.firstShow=!0,x(this.options,!0),this.images=c(y.isArray(t)?t:[t]),this.options.paused&&(this.paused=!0),this.options.start>=this.images.length&&(this.options.start=this.images.length-1),this.options.start<0&&(this.options.start=0),this.isBody=e===document.body;var a=y(f);this.$container=y(e),this.$root=this.isBody?I?a:y(document):this.$container,this.originalImages=this.images,this.images=m(this.options.alwaysTestWindowResolution?a:this.$root,this.originalImages),w(this.images,this.options.start||0,this.options.preload||1);var r=this.$container.children(".backstretch").first();if(this.$wrap=r.length?r:y('<div class="backstretch"></div>').css(this.options.bypassCss?{}:s.wrap).appendTo(this.$container),!this.options.bypassCss){if(!this.isBody){var n=this.$container.css("position"),o=this.$container.css("zIndex");this.$container.css({position:"static"===n?"relative":n,zIndex:"auto"===o?0:o}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&I?"fixed":"absolute"})}this.index=this.options.start,this.show(this.index),a.on("resize.backstretch",y.proxy(this.resize,this)).on("orientationchange.backstretch",y.proxy(function(){this.isBody&&0===f.pageYOffset&&(f.scrollTo(0,1),this.resize())},this))};k.prototype={resize:function(){try{var e=this.options.alwaysTestWindowResolution?y(f):this.$root,t=e.width(),i=e.height(),a=t/(this._lastResizeContainerWidth||0),r=i/(this._lastResizeContainerHeight||0),n=this.options.resolutionChangeRatioThreshold||0;if((t!==this._lastResizeContainerWidth||i!==this._lastResizeContainerHeight)&&(Math.abs(a-1)>=n||isNaN(a)||Math.abs(r-1)>=n||isNaN(r))&&(this._lastResizeContainerWidth=t,this._lastResizeContainerHeight=i,this.images=m(e,this.originalImages),this.options.preload&&w(this.images,(this.index+1)%this.images.length,this.options.preload),1===this.images.length&&this._currentImage.url!==this.images[0].url)){var o=this;clearTimeout(o._selectAnotherResolutionTimeout),o._selectAnotherResolutionTimeout=setTimeout(function(){o.show(0)},this.options.resolutionRefreshRate)}var s={left:0,top:0,right:"auto",bottom:"auto"},c=this.isBody?this.$root.width():this.$root.innerWidth(),u=this.isBody?f.innerHe
1ight?f.innerHeight:this.$root.height():this.$root.innerHeight(),d=c,l=d/this.$itemWrapper.data("ratio"),p=y.Event("backstretch.resize",{relatedTarget:this.$container[0]}),h=this._currentImage.alignX===v?this.options.alignX:this._currentImage.alignX,g=this._currentImage.alignY===v?this.options.alignY:this._currentImage.alignY;u<=l?s.top=-(l-u)*g:(((d=(l=u)*this.$itemWrapper.data("ratio"))-c)/2,s.left=-(d-c)*h),this.options.bypassCss||this.$wrap.css({width:c,height:u}).find(">.backstretch-item").not(".deleteable").each(function(){y(this).find("img,video,iframe").css({width:d,height:l}).css(s)}),this.$container.trigger(p,this)}catch(e){}return this},show:function(d,l){if(!(Math.abs(d)>this.images.length-1)){var p=this,h=p.$wrap.find(">.backstretch-item").addClass("deleteable"),g=p.videoWrapper,f={relatedTarget:p.$container[0]};p.$container.trigger(y.Event("backstretch.before",f),[p,d]),this.index=d;var e=p.images[d];clearTimeout(p._cycleTimeout),delete p.videoWrapper;var m=b(e);return p.$item=m?(p.videoWrapper=new T(e),p.videoWrapper.$video.css("pointer-events","none")):y("<img />"),p.$itemWrapper=y('<div class="backstretch-item">').append(p.$item),this.options.bypassCss?p.$itemWrapper.css({display:"none"}):(p.$itemWrapper.css(s.itemWrapper),p.$item.css(s.item)),p.$item.bind(m?"canplay":"load",function(e){var t=y(this).parent(),i=t.data("options");l&&(i=y.extend({},i,l));var a=this.naturalWidth||this.videoWidth||this.width,r=this.naturalHeight||this.videoHeight||this.height;t.data("ratio",a/r);var n=function(e){return i[e]!==v?i[e]:p.options[e]},o=n("transition"),s=n("transitionEasing"),c=n("transitionDuration"),u=function(){g&&(g.stop(),g.destroy()),h.remove(),!p.paused&&1<p.images.length&&p.cycle(),p.options.bypassCss||p.isBody||p.$container.css("background-image","none"),y(["after","show"]).each(function(){p.$container.trigger(y.Event("backstretch."+this,f),[p,d])}),m&&p.videoWrapper.play()};p.firstShow&&!p.options.animateFirst||!c||!o?(t.show(),u()):function(e){var t=e.transition||"fade";"string"==typeof t&&-1<t.indexOf("|")&&(t=t.split("|")),t instanceof Array&&(t=t[Math.round(Math.random()*(t.length-1))]);var i=e.new,a=e.old?e.old:y([]);switch(t.toString().toLowerCase()){default:case"fade":i.fadeIn({duration:e.duration,complete:e.complete,easing:e.easing||v});break;case"fadeinout":case"fade_in_out":var r=function(){i.fadeIn({duration:e.duration/2,complete:e.complete,easing:e.easing||v})};a.length?a.fadeOut({duration:e.duration/2,complete:r,easing:e.easing||v}):r();break;case"pushleft":case"push_left":case"pushright":case"push_right":case"pushup":case"push_up":case"pushdown":case"push_down":case"coverleft":case"cover_left":case"coverright":case"cover_right":case"coverup":case"cover_up":case"coverdown":case"cover_down":var n=t.match(/^(cover|push)_?(.*)$/),o="left"===n[2]?"right":"right"===n[2]?"left":"down"===n[2]?"top":"up"===n[2]?"bottom":"right",s={display:""},c={};if(s[o]="-100%",c[o]=0,i.css(s).animate(c,{duration:e.duration,complete:function(){i.css(o,""),e.complete.apply(this,arguments)},easing:e.easing||v}),"push"===n[1]&&a.length){var u={};u[o]="100%",a.animate(u,{duration:e.duration,complete:function(){a.css("display","none")},easing:e.easing||v})}}}({new:t,old:h,transition:o,duration:c,easing:s,complete:u}),p.firstShow=!1,p.resize()}),p.$itemWrapper.appendTo(p.$wrap),p.$item.attr("alt",e.alt||""),p.$itemWrapper.data("options",e),m||p.$item.attr("src",e.url),p._currentImage=e,p}},current:function(){return this.index},next:function(){var e=Array.prototype.slice.call(arguments,0);return e.unshift(this.index<this.images.length-1?this.index+1:0),this.show.apply(this,e)},prev:function(){var e=Array.prototype.slice.call(arguments,0);return e.unshift(0===this.index?this.images.length-1:this.index-1),this.show.apply(this,e)},pause:function(){return this.paused=!0,this.videoWrapper&&this.videoWrapper.pause(),this},resume:function(){return this.paused=!1,this.videoWrapper&&this.videoWrapper.play(),this.cycle(),this},cycle:function(){if(1<this.images.length){clearTimeout(this._cycleTimeout);var e=this._currentImage&&this._currentImage.duration||this.options.duration,t=b(this._currentImage),i=function(){this.$item.off(".cycle"),this.paused||this.next()};if(t){if(!this._currentImage.loop){var a=0;this.$item.on("playing.cycle",function(){var e=y(this).data("player");clearTimeout(a),a=setTimeout(function(){e.pause(),e.$video.trigger("ended")},1e3*(e.getDuration()-e.getCurrentTime()))}).on("ended.cycle",function(){clearTimeout(a)})}this.$item.on("error.cycle initerror.cycle",y.proxy(i,this))}t&&!this._currentImage.duration?this.$item.on("ended.cycle",y.proxy(i,this)):this._cycleTimeout=setTimeout(y.proxy(i,this),e)}return this},destroy:function(e){y(f).off("resize.backstretch orientationchange.backstretch"),this.videoWrapper&&this.videoWrapper.destroy(),clearTimeout(this._cycleTimeout),e||this.$wrap.remove(),this.$container.removeData("backstretch")}};var T=function(){this.init.apply(this,arguments)};T.prototype.init=function(e){var t,i=this,a=function(){i.$video=t,i.video=t[0]},r="video";if(e.url instanceof Array||!u.test(e.url)||(r="youtube"),"youtube"===(i.type=r)){T.loadYoutubeAPI(),i.ytId=e.url.match(u)[2];var n="https://www.youtube.com/embed/"+i.ytId+"?rel=0&autoplay=0&showinfo=0&controls=0&modestbranding=1&cc_load_policy=0&disablekb=1&iv_load_policy=3&loop=0&enablejsapi=1&origin="+encodeURIComponent(f.location.origin);i.__ytStartMuted=!!e.mute||e.mute===v,t=y("<iframe />").attr({src_to_load:n}).css({border:0,margin:0,padding:0}).data("player",i),e.loop&&t.on("ended.loop",function(){i.__manuallyStopped||i.play()}),i.ytReady=!1,a(),f.YT?(i._initYoutube(),t.trigger("initsuccess")):y(f).one("youtube_api_load",function(){i._initYoutube(),t.trigger("initsuccess")})}else{t=y("<video>").prop("autoplay",!1).prop("controls",!1).prop("loop",!!e.loop).prop("muted",!!e.mute||e.mute===v).prop("preload","auto").prop("poster",e.poster||"");for(var o=e.url instanceof Array?e.url:[e.url],s=0;s<o.length;s++){var c=o[s];"string"==typeof c&&(c={src:c}),y("<source>").attr("src",c.src).attr("type",c.type||null).appendTo(t)}t[0].canPlayType&&o.length?t.trigger("initsuccess"):t.trigger("initerror"),a()}},T.prototype._initYoutube=function(){var t=this,i=f.YT;t.$video.attr("src",t.$video.attr("src_to_load")).removeAttr("src_to_load");var e=!!t.$video[0].parentNode;if(!e){var a=y("<div>").css("display","none !important").appendTo(document.body);t.$video.appendTo(a)}var r=new i.Player(t.video,{events:{onReady:function(){t.__ytStartMuted&&r.mute(),e||(t.$video[0].parentNode===a[0]&&t.$video.detach(),a.remove()),t.ytReady=!0,t._updateYoutubeSize(),t.$video.trigger("canplay")},onStateChange:function(e){switch(e.data){case i.PlayerState.PLAYING:t.$video.trigger("playing");break;case i.PlayerState.ENDED:t.$video.trigger("ended");break;case i.PlayerState.PAUSED:t.$video.trigger("pause");break;case i.PlayerState.BUFFERING:t.$video.trigger("waiting");break;case i.PlayerState.CUED:t.$video.trigger("canplay")}},onPlaybackQualityChange:function(){t._updateYoutubeSize(),t.$video.trigger("resize")},onError:function(e){t.hasError=!0,t.$video.trigger({type:"error",error:e})}}});return t.ytPlayer=r,t},T.prototype._updateYoutubeSize=function(){var e=this;switch(e.ytPlayer.getPlaybackQuality()||"medium"){case"small":e.video.videoWidth=426,e.video.videoHeight=240;break;case"medium":e.video.videoWidth=640,e.video.videoHeight=360;break;default:case"large":e.video.videoWidth=854,e.video.videoHeight=480;break;case"hd720":e.video.videoWidth=1280,e.video.videoHeight=720;break;case"hd1080":e.video.videoWidth=1920,e.video.videoHeight=1080;break;case"highres":e.video.videoWidth=2560,e.video.videoHeight=1440}return e},T.prototype.play=function(){var e=this;return e.__manuallyStopped=!1,"youtube"===e.type?e.ytReady&&(e.$video.trigger("play"),e.ytPlayer.playVideo()):e.video.play(),e},T.prototype.pause=function(){var e=this;return e.__manuallyStopped=!1,"youtube"===e.type?e.ytReady&&e.ytPlayer.pauseVideo():e.video.pause(),e},T.prototype.stop=function(){var e=this;return e.__manuallyStopped=!0,"youtube"===e.type?e.ytReady&&(e.ytPlayer.pauseVideo(),e.ytPlayer.seekTo(0)):(e.video.pause(),e.video.currentTime=0),e},T.prototype.destroy=function(){return this.ytPlayer&&this.ytPlayer.destroy(),this.$video.remove(),this},T.prototype.getCurrentTime=function(e){return"youtube"!==this.type?this.video.currentTime:this.ytReady?this.ytPlayer.getCurrentTime():0},T.prototype.setCurrentTime=function(e){var t=this;return"youtube"===t.type?t.ytReady&&t.ytPlayer.seekTo(e,!0):t.video.currentTime=e,t},T.prototype.getDuration=function(){return"youtube"!==this.type?this.video.duration:this.ytReady?this.ytPlayer.getDuration():0},T.loadYoutubeAPI=function(){if(!f.YT){y("script[src*=www\\.youtube\\.com\\/iframe_api]").length||y('<script type="text/javascript" src="https://www.youtube.com/iframe_api">').appendTo("body");var e=setInterval(function(){f.YT&&f.YT.loaded&&(y(f).trigger("youtube_api_load"),clearTimeout(e))},50)}};var e,t,r,n,o,_,$,C,V,A,z=function(){if("matchMedia"in f){if(f.matchMedia("(orientation: portrait)").matches)return"portrait";if(f.matchMedia("(orientation: landscape)").matches)return"landscape"}return screen.height>screen.width?"portrait":"landscape"}
1,F=function(){return f.innerHeight>f.innerWidth?"portrait":f.innerWidth>f.innerHeight?"landscape":"square"},I=(e=navigator.userAgent,t=navigator.platform,r=e.match(/AppleWebKit\/([0-9]+)/),n=!!r&&r[1],o=e.match(/Fennec\/([0-9]+)/),_=!!o&&o[1],$=e.match(/Opera Mobi\/([0-9]+)/),C=!!$&&$[1],V=e.match(/MSIE ([0-9]+)/),A=!!V&&V[1],!((-1<t.indexOf("iPhone")||-1<t.indexOf("iPad")||-1<t.indexOf("iPod"))&&n&&n<534||f.operamini&&"[object OperaMini]"==={}.toString.call(f.operamini)||$&&C<7458||-1<e.indexOf("Android")&&n&&n<533||_&&_<6||"palmGetResource"in f&&n&&n<534||-1<e.indexOf("MeeGo")&&-1<e.indexOf("NokiaBrowser/8.5.0")||A&&A<=6))}(jQuery,window),function(e){var i={"contentswap-effect":{effectType:"",contentType:"overlay",overflowEnabled:"false",effectDelay:"800",effectEasing:"Ease",overlayColor:"490A3D",innerColor:"ffffff",openPage:"same",name:"",captionType:"490A3D",operationType:"edit",hasls:"true",additionalWrapperClasses:"",direction:"bottom",useSameTemplate:"true"}};jQuery(document).ready(function(){var t=setTimeout(function(){window.initHoverFX&&initHoverFX(i)},10);jQuery(window).resize(function(e){clearTimeout(t),t=setTimeout(function(){window.initHoverFX&&initHoverFX(i,null,e)},150)})})}(jQuery);
2//# sourceMappingURL=companion.bundle.min.js.map

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