/*! ATOOnline 2023-10-31, Copyright (c) 2023 Australian Taxation Office */ !function(U){U.fn._fadeIn=U.fn.fadeIn;function C(){}var e=document.documentMode||0,S=U.browser.msie&&(U.browser.version<8&&!e||e<8),O=U.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!e;U.blockUI=function(e){o(window,e)},U.unblockUI=function(e){M(window,e)},U.growlUI=function(e,o,t,i){var n=U('
');e&&n.append("

"+e+"

"),o&&n.append("

"+o+"

"),null==t&&(t=3e3),U.blockUI({message:n,fadeIn:700,fadeOut:1e3,centerY:!1,timeout:t,showOverlay:!1,onUnblock:i,css:U.blockUI.defaults.growlCSS})},U.fn.block=function(e){return this.unblock({fadeOut:0}).each(function(){"static"==U.css(this,"position")&&(this.style.position="relative"),U.browser.msie&&(this.style.zoom=1),o(this,e)})},U.fn.unblock=function(e){return this.each(function(){M(this,e)})},U.blockUI.version=2.39,U.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"inherit"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:50,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!1,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,applyPlatformOpacityRules:!0,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg"};var T=null,E=[];function o(e,n){var l=e==window,o=n&&void 0!==n.message?n.message:void 0;(n=U.extend({},U.blockUI.defaults,n||{})).overlayCSS=U.extend({},U.blockUI.defaults.overlayCSS,n.overlayCSS||{});var t=U.extend({},U.blockUI.defaults.css,n.css||{}),i=U.extend({},U.blockUI.defaults.themedCSS,n.themedCSS||{});if(o=void 0===o?n.message:o,l&&T&&M(window,{fadeOut:0}),o&&"string"!=typeof o&&(o.parentNode||o.jquery)){var s=o.jquery?o[0]:o,a={};U(e).data("blockUI.history",a),a.el=s,a.parent=s.parentNode,a.display=s.style.display,a.position=s.style.position,a.parent&&a.parent.removeChild(s)}U(e).data("blockUI.onUnblock",n.onUnblock);var d,r,c=n.baseZ,u=U.browser.msie||n.forceIframe?U(''):U(''),b=n.theme?U(''):U('');r=n.theme&&l?'':n.theme?'':l?'':'',d=U(r),o&&(n.theme?(d.css(i),d.addClass("ui-widget-content")):d.css(t)),n.theme||n.applyPlatformOpacityRules&&U.browser.mozilla&&/Linux/.test(navigator.platform)||b.css(n.overlayCSS),b.css("position",l?"fixed":"absolute"),(U.browser.msie||n.forceIframe)&&u.css("opacity",0);var f=[u,b,d],p=U(l?"body":e);U.each(f,function(){this.appendTo(p)}),n.theme&&n.draggable&&U.fn.draggable&&d.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var h=S&&(!U.boxModel||0 .blockUI"):U(".blockUI",e),i&&(T=E=null),o.fadeOut?(t.fadeOut(o.fadeOut),setTimeout(function(){a(t,l,o,e)},o.fadeOut)):a(t,l,o,e)}function a(e,o,t,i){e.each(function(e,o){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.parent&&o.parent.appendChild(o.el),U(i).removeData("blockUI.history")),"function"==typeof t.onUnblock&&t.onUnblock(i,t)}function z(e,o,t){var i=o==window,n=U(o);if((e||(!i||T)&&(i||n.data("blockUI.isBlocked")))&&(i||n.data("blockUI.isBlocked",e),t.bindEvents&&(!e||t.showOverlay))){var l="mousedown mouseup keydown keypress";e?U(document).bind(l,t,s):U(document).unbind(l,s)}}function s(e){if(e.keyCode&&9==e.keyCode&&T&&e.data.constrainTabKey){var o=E,t=!e.shiftKey&&e.target===o[o.length-1],i=e.shiftKey&&e.target===o[0];if(t||i)return setTimeout(function(){H(i)},10),!1}var n=e.data;return 0