!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=2)}([,,function(t,e,n){t.exports=n(3)},function(t,e){!function(){"use strict";({init:function(){"undefined"!=typeof CustomPageScript&&this.loadScript(CustomPageScript)},loadScript:function(t){$.each(t,(function(t,e){var n=document.createElement("script");n.type="application/javascript",n.src=e,document.body.appendChild(n)}))}}).init()}()}]); //required field indicator $(document).ready((function () { if($("div[class*='required']").length > 0){ $("#WebFormPanel").append("
indicates a mandatory field
"); } })); //Previous Button var prevhandler; $(document).ready((function () { if($("#PreviousButton")){ prevhandler = $("#PreviousButton").prop('onclick'); $("#PreviousButton").prop("onclick", null).off("click"); //$("#PreviousButton").attr('onclick',''); $("#PreviousButton").on('click', function(){ if($("input.dirty,textarea.dirty,select.dirty").length > 0){ ConfirmDialog("Changes have been made which will be lost. Are you sure you wish to continue?"); return false; } else { prevhandler.call(); return true; } }); } })); function ConfirmDialog(message) { $('
').appendTo('body') .html('
' + message + '
') .dialog({ dialogClass: "no-close", modal: true, title: 'Warning', zIndex: 10000, autoOpen: true, width: 'auto', resizable: false, buttons: { Yes: function() { $(this).dialog("close"); prevhandler.call(); //restore previous click behaviour incase page takes a while to load //$("#PreviousButton").prop("onclick", null).off("click"); //$("#PreviousButton").on("click", prevhandler); }, No: function() { $(this).dialog("close"); } }, close: function(event, ui) { $(this).remove(); } }); } // Read a page's GET URL variables and return them as an associative array. function getUrlVars() { var vars = [], hash; var qs = window.location.href.slice(window.location.href.indexOf('?') + 1); qs = qs.slice(0, (qs.indexOf('#') > 0 ? qs.indexOf('#') : qs.length)); var hashes = qs.split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } //function iOS() { // return ([ // 'iPad Simulator', // 'iPhone Simulator', // 'iPod Simulator', // 'iPad', // 'iPhone', // 'iPod' // ].includes(navigator.platform) // // iPad on iOS 13 detection // || (navigator.userAgent.includes("Mac") && "ontouchend" in document)) // && !window.MSStream //} //if(iOS()){ // window.onload = function() { // if (!window.jQuery) { // setTimeout(function(){ document.location.href = '/ie';},500); // } // } //}