text: ﻿"use strict";var isStarted=!1,isLoaded=!1;window.Bootstrap={Modal:{Show:function(n){$(n).modal({show:!0,focus:!0}).on("shown.bs.modal",function(){var i=$(n),t=i.find("[data-select]");t.length>0&&t[0].setSelectionRange(0,t[0].value.length);i.find("[data-autofocus]").first().trigger("focus")})},Hide:function(n){$(n).modal("hide")},Dispose:function(n){$(n).modal("dispose")}}};window.Network={Initialize:function(n){function t(){n.invokeMethodAsync("Network.StatusChanged",navigator.onLine)}window.addEventListener("online",t);window.addEventListener("offline",t);navigator.onLine||t()}};window.Visibility={Initialize:function(n){function r(){n.invokeMethodAsync("Visibility.StatusChanged",!document[t])}var t=undefined,i=undefined;typeof document.hidden!="undefined"?(t="hidden",i="visibilitychange"):typeof document.msHidden!="undefined"?(t="msHidden",i="msvisibilitychange"):typeof document.webkitHidden!="undefined"&&(t="webkitHidden",i="webkitvisibilitychange");typeof document.addEventListener=="undefined"||t===undefined?console.log("This demo requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API."):(document.addEventListener(i,r,!1),document[t]&&r())}};window.Money={ApplicationStarted:function(){isLoaded=!0},NavigateTo:function(n){return window.location.href=n,!0},AnimateSplash:function(){setTimeout(function(){$(".splash").addClass("animate")},300)}};window.PullToRefresh={Initialize:function(n){window.PullToRefresh._interop=n;var o=200,t=!1,i=undefined,r=0,u=document.body,f={passive:!0},e=$(".refresher");u.addEventListener("touchstart",function(n){i=0;r=0;document.scrollingElement.scrollTop===0?(i=Math.floor(n.touches[0].pageY),t=!0):t=!1},f);u.addEventListener("touchmove",function(n){var f=n.touches[0].pageY,u;r=Math.floor(f);u=Math.floor(r-i);t&&u>o?e.addClass("visible"):e.removeClass("visible")},f);u.addEventListener("touchend",function(){var n=Math.floor(r-i);t&&n>o&&window.PullToRefresh.Raise();e.removeClass("visible")},f)},Raise:function(){window.PullToRefresh._interop.invokeMethodAsync("PullToRefresh.Pulled")}};