PageSourceSearch

https://www.avionrewards.com/dvl/v1.0/assets/js/dvl.min.js

js avionrewards.com collected 2026-09-29 09:35:30 UTC 4,924 bytes, 1 lines download raw bytes

1var DVL={lang:function(e){return/^fr(-CA)?$/.test(e.documentElement.lang)||/\/francais\//.test(e.location.href)?"fr":"en"}(document),plugins:void 0!==DVL&&DVL.plugins||["breadcrumb","overlays","header","footer","sidebar","mega-menu","intelli","tables","tabs","videoplayer","background-image","formfields","accordion","popup","carousel","notice","navigation-menu","side-anchor"],init:function(){$.getScripts({urls:_.map(DVL.plugins,function(e){return(/^\.\/|\.\.|\/|http/.test(e)?e:"/dvl/v1.0/assets/js/"+e)+".min.js"}),success:function(){},complete:function(){}}),DVL.fn.fixes(),DVL.fn.linkableTab(),DVL.fn.scrollTo(),DVL.fn.footerYear(),DVL.fn.equalHeight(),DVL.fn.tabbing()},device:{browser:function(e){return null==e?bowser.name:bowser[e]},os:function(e){return bowser[e]}},fn:{fixes:function(){$("header").find(".mega-menu-wpr").length&&$(".nav-bar").find(".nav-btn").hide();$(".grid-half, .grid-three-fourths, .grid-two-thirds, .grid-one-fourth, .grid-one-third").each(function(){1<=$(this).children(".callout").length&&$(this).children(".callout").is(":only-child")&&$(this).addClass("flex")}),DVL.device.os("ios")&&$("html").addClass("ios"),bowser.ios&&"10.2.1"==bowser.osversion&&$("html").addClass("ios10andless"),bowser.ipad&&bowser.version<10.3&&$("html").addClass("ios10andless");var e=$("span.tel-number");1<=e.length&&e.each(function(e,t){var n=$(this),o=n.text();$(window).width()<640&&n.html('<a href="tel:'+o+'">'+o+"</a>"),$(window).resize(function(e){o=n.text(),$(window).width()<640?n.html('<a href="tel:'+o+'">'+o+"</a>"):n.html(o)})}),$(".tabs, .section-tabs, .side-menu-secondary-menu").each(function(){$(this).find(".tab-nav > li.active > a").addClass("active")})},footerYear:function(){var e=(new Date).getFullYear();$(".footer-year").text(e)},linkableTab:function(){var e=document.location.toString();e.match("#")&&$('.tab-nav a[href="#'+e.split("#")[1]+'"]').tab("show"),$(".tab-nav a").on("shown.bs.tab",function(e){history.pushState?history.pushState(null,null,e.target.hash):window.location.hash=e.target.hash})},scrollTo:function(){var n,o=$(".nav-bar"),i=$(".anchor-bar, .anchor-bar2"),e=$(".tertiary-header"),a=0<o.length?o.outerHeight():0,r=0<i.length?i.outerHeight():0,s=0<e.length?e.outerHeight():0,l=a+r+s,e=($(document).on("click",".scrollto",function(e){e.preventDefault(),a=0<o.length?o.outerHeight():0,r=0<i.length?i.outerHeight():0,s=0<s.length?s.outerHeight():0,l=a+r+s;
1var e=$(this).data("target"),e=void 0!==e&&!1!==e?$(this).data("target"):$(this).attr("href"),t=$(e);0!==t.length&&t&&t.length&&((e=t.closest(".collapse-content"))&&e.length&&!e.hasClass("show")&&e.collapse("show"),n=t.offset().top-l,$("body, html").animate({scrollTop:n},500),t.is(":focusable")||t.attr("tabindex","-1"),setTimeout(function(){t.focus()},400))}),!!navigator.userAgent.match(/Trident.*rv\:11\./));_anchorToTarget=function(){if(window.location.hash){var e=location.href.split("#")[1];if(/[^A-Za-z0-9 _,-]+/g.test(e))return!1;if($(location.href.split("#")[1])){e=$("#"+location.href.split("#")[1]);if(e.length)return n=e.offset().top-l,$("html, body").animate({scrollTop:n},500),(e.is(":focusable")?e:e.attr("tabindex","-1")).focus(),!1}}},e?_anchorToTarget():window.onload=function(){_anchorToTarget()}},tabbing:function(){function t(e){9===e.keyCode&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",t),window.addEventListener("mousedown",n))}function n(){document.body.classList.remove("user-is-tabbing"),window.removeEventListener("mousedown",n),window.addEventListener("keydown",t)}window.addEventListener("keydown",t)},appendOverlay:function(){$("body").append('<div class="overlay"></div>').delay(1).queue(function(){$(".overlay").addClass("overlay-visible"),$(this).dequeue()}),$("body").addClass("overlay-visible"),$("header, main, footer").attr("aria-hidden","true")},removeOverlay:function(){$(".overlay").removeClass("overlay-visible").delay(1).queue(function(){$(this).remove(),$(this).dequeue()}),$("body").removeClass("overlay-visible"),$("header, main, footer").removeAttr("aria-hidden")},equalHeight:function(){(_eh=function(){var e;0===$(".eh-wpr").length||0!==(e=$(".eh-wpr")).find(".eh").length&&e.each(function(e,t){var n=$(this).find(".eh"),o=(n.css("min-height",0),n.map(function(){return $(this).outerHeight()}).get()),o=Math.max.apply(null,o);n.css("min-height",o)})})(),$(window).resize(function(e){_eh()})}},core:{getScripts:function(e){var t=[],n=e.urls;e.errorOccurred=!1;for(var o=function(){t.push(arguments),e.scriptsProcessed++,t.length===n.length&&"function"==typeof e.success&&e.success($.merge([],t))},i=function(){e.scriptsProcessed++,e.errorOccurred=!0},a=e.scriptsProcessed=0;a<n.length;a++)$.getScriptCached({url:n[a],success:o,error:i,complete:e.complete.bind(e)})},getScriptCached:function(e){_.defaults(e,{dataType:"script",crossDomain:!0,async:!0,cache:!0}),$.ajax(e)}}};$.extend(DVL.core),$(document).ready(DVL.init);

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.