aadcdn.msftauth.net Open in urlscan Pro
2606:2800:233:1cb7:261b:1f9c:2074:3c  Public Scan

URL: https://aadcdn.msftauth.net/shared/1.0/content/js/BssoInterrupt_Core_sw-M8KkV3_nBot-G1ImRcw2.js
Submission: On June 20 via api from SA — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*!
 * ------------------------------------------- START OF THIRD PARTY NOTICE -----------------------------------------
 * 
 * This file is based on or incorporates material from the projects listed below (Third Party IP). The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under the licensing terms for the Microsoft product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
 * 
 *   json2.js (2016-05-01)
 *   https://github.com/douglascrockford/JSON-js
 *   License: Public Domain
 * 
 * Provided for Informational Purposes Only
 * 
 * ----------------------------------------------- END OF THIRD PARTY NOTICE ------------------------------------------
 */!function(e){function n(n){for(var t,r,i=n[0],a=n[1],s=0,u=[];s<i.length;s++)r=i[s],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t]);for(c&&c(n);u.length;)u.shift()()}var t,r={},o={1:0};function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}Function.prototype.bind||(t=Array.prototype.slice,Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var n=t.call(arguments,1),r=n.length,o=this,i=function(){},a=function(){return n.length=r,n.push.apply(n,arguments),o.apply(i.prototype.isPrototypeOf(this)?this:e,n)};return this.prototype&&(i.prototype=this.prototype),a.prototype=new i,a}),document.head=document.head||document.getElementsByTagName("head")[0],function(){function e(n){var t=this,r=0,o=null,i=[];function a(){if(i.length>0){var e=i.slice();i=[],setTimeout((function(){for(var n=0,t=e.length;n<t;++n)e[n]()}),0)}}function s(e){0===r&&(o=e,r=1,a())}function u(e){0===r&&(o=e,r=2,a())}t.then=function(n,t){return new e((function(s,u){!function(n,t,s,u){i.push((function(){var i;try{i=1===r?"function"==typeof n?n(o):o:"function"==typeof t?t(o):o}catch(a){return void u(a)}i instanceof e?i.then(s,u):2===r&&"function"!=typeof t?u(i):s(i)})),0!==r&&a()}(n,t,s,u)}))},t["catch"]=function(e){return t.then(null,e)},function(){if("function"!=typeof n)throw new TypeError("Promise: argument is not a Function object");try{n(s,u)}catch(e){u(e)}}()}function n(e,n,t,r,o){return function(i){e[n]=r?i:o?{status:"fulfilled",value:i}:{status:"rejected",reason:i},t()}}function t(t,r){return t&&t.length?new e((function(o,i){for(var a=[],s=0,u=0,c=t.length;u<c;++u){var l=t[u];if(l instanceof e){s++;var d=function(){0==--s&&o(a)};r?l.then(n(a,u,d,r),i):l.then(n(a,u,d,r,!0),n(a,u,d,r,!1))}else a[u]=l}0===s&&setTimeout((function(){o(a)}),0)})):e.resolve([])}function r(e,n){return function(){e(n)}}e.all=function(e){return t(e,!0)},e.allSettled=function(e){return t(e,!1)},e.race=function(n){return new e((function(t,o){if(n&&n.length)for(var i=0,a=n.length;i<a;++i){var s=n[i];s instanceof e?s.then(t,o):setTimeout(r(t,s),0)}}))},e.reject=function(n){return new e((function(e,t){t(n)}))},e.resolve=function(n){return n instanceof e?n:n&&"function"==typeof n.then?new e((function(e,t){n.then(e,t)})):new e((function(e){e(n)}))},window.Promise||(window.Promise=e),window.Promise.all||(window.Promise.all=e.all),window.Promise.allSettled||(window.Promise.allSettled=e.allSettled),window.Promise.race||(window.Promise.race=e.race),window.Promise.reject||(window.Promise.reject=e.reject),window.Promise.resolve||(window.Promise.resolve=e.resolve)}(),i.e=function(e){var n=[],t=o[e];if(0!==t)if(t)n.push(t[2]);else{var r=new Promise((function(n,r){t=o[e]=[n,r]}));n.push(t[2]=r);var a=window.ServerData,s=a&&a.loader&&a.loader.cdnRoots||[],u=a&&a.slMaxRetry?a.slMaxRetry:s.length-1,c=new Error;var l=function d(n,t){var r,i=document.createElement("script");i.charset="utf-8",i.timeout=120;var a=document.querySelector("script[nonce]");if(a){var l=a.nonce||a.getAttribute("nonce");i.setAttribute("nonce",l)}i.src=n,r=function(r){i.onerror=i.onload=null,clearTimeout(f);var a=o[e];if(0!==a)if(a)if(u<=0||t===u){var l=r&&("load"===r.type?"missing":r.type),p=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed after "+(u+1)+" tries.\n("+l+": "+p+")",c.name="ChunkLoadError",c.type=l,c.request=p,a[1](c),o[e]=undefined,SRSRetry&&(window.external.notify(JSON.stringify({type:"invoke",value:{name:"CloudExperienceHost.Telemetry.logEvent",args:["MSA.ResourceDownloadError","Javascript failed to download on IDUX: "+p],context:"criticalError1"}})),window.external.notify(JSON.stringify({type:"event",value:{name:"CloudExperienceHost.done",data:"fail"}})))}else{var h=d(function(e,n){if(!n)return e;for(var t=0;t<n.length;t++)if(0==e.indexOf(n[t]))return n[(t+1)%n.length]+e.substring(n[t].length);return e}(n,s),t+1);document.head.appendChild(h)}else o[e]=undefined};var f=setTimeout((function(){r({type:"timeout",target:i})}),12e4);return i.onerror=i.onload=r,i}(function(e){return i.p+"content/js/asyncchunk/bssointerrupt_"+({0:"clienttracing"}[e]||e)+"_"+{0:"7423ac93515a2123bb59"}[e]+".js"}(e),0);document.head.appendChild(l)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=n,a=a.slice();for(var u=0;u<a.length;u++)n(a[u]);var c=s;i(i.s=11)}([function(e,n,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=t(4),i=t(3),a=t(15),s=window,u=n.Object={assignRecursive:function(){return u.assignRecursiveWithCurrentDepth.apply(this,[1].concat(Array.prototype.slice.call(arguments)))},assignRecursiveWithCurrentDepth:function(e,n){if("number"==typeof e){for(var t=2,o=arguments.length;t<o;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&""!==i[a]&&("object"===r(i[a])&&e<=3?(n[a]=n[a]||{},u.assignRecursiveWithCurrentDepth(++e,n[a],i[a])):n[a]=i[a])}return n}},clone:function(e){var n={};return e&&(n=i.parse(i.stringify(e))),n},join:function(e,n,t){var r="";return e&&u.forEach(e,(function(e,o){r&&(r+=n),r+=e+t+(o||"")})),r},forEach:function(e,n){o.utils.objectForEach(e,n)},findOwnProperty:function(e,n,t){var r;for(var o in t&&(r=n.toLowerCase()),e)if(e.hasOwnProperty(o)&&(o===n||t&&o.toLowerCase()===r))return o;return null},extend:o.utils.extend},c=n.String={trim:function(e){return e.replace(/^\s+|\s+$/g,"")},find:function(e,n,t,r){return e?t?e.toLowerCase().indexOf(n.toLowerCase(),r):e.indexOf(n,r):-1},format:a.format,doubleSplit:function(e,n,t,r,o){var i={};return e&&l.forEach(e.split(n),(function(e){if(e){var n=e.split(t),a=n[0];o&&(a=o(a)),1===n.length?i[a]=null:i[a]=r?n.slice(1):n.slice(1).join(t)}})),i},isEmailAddress:function(e){if((e=c.trim(e)).charAt(0)>"~"||-1!==e.indexOf(" "))return!1;var n=e.indexOf("@");if(-1===n||-1===e.indexOf(".",n))return!1;var t=e.split("@");if(t.length>2||t[0].length<1||t[1].length<2)return!1;if(s.ServerData.fApplyAsciiRegexOnInput){var r=new RegExp(/^[\x21-\x7E]+$/);return!!e.match(r)}return!0},isPhoneNumber:function(e){var n=e.replace(/\D+/g,"");return n.length>=4&&n.length<=50},isSkypeName:function(e){e=c.trim(e);var n=new RegExp(/^[a-zA-Z][a-zA-Z0-9.,\-_:']{0,128}$/);return!!e.match(n)},extractDomain:function(e,n,t){if(!c.isEmailAddress(e))return e;var r=c.trim(e).split("@")[1];return e=t?"@":"",n?e+r.slice(0,r.lastIndexOf(".")+1):e+r},extractDomainFromUrl:function(e){if(e){var n=document.createElement("a");return n.href=e,n.hostname}return""},extractOriginFromUrl:function(e){if(e){var n=document.createElement("a");n.href=e;var t=n.origin;return t||(t=n.protocol+"//"+n.hostname+(n.port?":"+n.port:"")),t}return""},doOriginsMatch:function(e,n){var t=c.extractOriginFromUrl(e);return c.extractOriginFromUrl(n)===t},capFirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},cleanseUsername:function(e,n){if(!e)return"";if(e=c.trim(e).toLowerCase(),!c.isEmailAddress(e)&&!c.isSkypeName(e)&&c.isPhoneNumber(e)){var t="";return n&&"+"===e.charAt(0)&&(t="+"),t+e.replace(/\D+/g,"")}return e},maskString:function(e,n){if(!e)return"";if(e.length<=2*n)return e;var t=e.length-2*n,r=Array(t+1).join("*");return e.substring(0,n)+r+e.substring(n+t)},utf8Encode:function(e){e=e.replace(/\r\n/g,"\n");for(var n="",t=0;t<e.length;t++){var r=e.charCodeAt(t);r<128?n+=String.fromCharCode(r):r>127&&r<2048?(n+=String.fromCharCode(r>>6|192),n+=String.fromCharCode(63&r|128)):(n+=String.fromCharCode(r>>12|224),n+=String.fromCharCode(r>>6&63|128),n+=String.fromCharCode(63&r|128))}return n}},l=n.Array={first:o.utils.arrayFirst,forEach:o.utils.arrayForEach,map:o.utils.arrayMap,removeItem:o.utils.arrayRemoveItem,arrayFilter:o.utils.arrayFilter,findIndex:function(e,n){if(e&&"object"===r(e)&&e.length)for(var t=0;t<e.length;t++)if(n(e[t]))return t;return-1}};n.DateTime={getCurrentTime:function(){return(new Date).getTime()},getUTCString:function(){return Date.prototype.toISOString?(new Date).toISOString():(new Date).toUTCString()}},n.ErrorData=function(e,n){var t=this;t.errorText=e,t.remediationText=n,t.toString=function(){return t.errorText}}},function(e,n,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=t(16),i=t(0),a=t(2),s=t(8),u=i.Object,c=i.String,l=i.Array,d=window,f=null,p={},h={},g={},m=null,v=null,b=null,y=null,S=null,E=null,C=null,w=null,P=!!d.ServerData.fUseSameSite,T=null,A=!!d.ServerData.fUseHighContrastOverrides;n.HttpCode={Ok:200,NotModified:304,Timeout:408,ClientClosedRequest:499};var _=n.Helper={isIEOlderThan:function(e){if(p[e]===undefined){var n=_.getIEVersion();p[e]=n&&n<e+1}return p[e]},isEdge:function(){if(null===f){f=!1;var e=_.getWindowsVersion();if(null!==e&&e>=10){var n=_.getIEVersion();f=null!==n&&n>=12}}return f},isChrome:function(){return null===m&&(m=navigator.userAgent.toLowerCase().indexOf("chrome")>-1),m},isFirefoxNewerThan:function(e){if(h[e]===undefined){var n=_.getFirefoxVersion();h[e]=n&&n>e}return h[e]},isChromeNewerThan:function(e){if(g[e]===undefined){var n=_.getChromeVersion();g[e]=n&&n>e}return g[e]},isIOSSafari:function(){if(null===v){var e=d.navigator.userAgent.toLowerCase();v=/safari/.test(e)&&/iphone|ipod|ipad/.test(e)&&!d.MSStream}return v},isIOSUIWebView:function(){if(null===b){var e=d.navigator.userAgent.toLowerCase();b=!1===/safari/.test(e)&&/iphone|ipod|ipad/.test(e)&&!d.MSStream}return b},isQtCarBrowser:function(){return null===y&&(y=navigator.userAgent.toLowerCase().indexOf("qtcarbrowser")>-1),y},isEdgeClientBrowser:function(){return null===S&&(S=navigator.userAgent.toLowerCase().indexOf("edgeclient/")>-1),S},isOnTouchStartEventSupported:function(){return"ontouchstart"in document.documentElement},getIEVersion:function(){var e=d.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);if(e.indexOf("Trident/")>0){var t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):null},getFirefoxVersion:function(){var e=d.navigator.userAgent.match(/(firefox(?=\/))\/?\s*(\d+)/i);return e&&3===e.length&&"firefox"===e[1].toLowerCase()?parseInt(e[2]):null},getChromeVersion:function(){var e=d.navigator.userAgent.match(/(chrome(?=\/))\/?\s*(\d+)/i);return e&&3===e.length&&"chrome"===e[1].toLowerCase()?parseInt(e[2]):null},getWindowsVersion:function(){return null!==new RegExp("Windows NT ([0-9]{1,}[.0-9]{0,})").exec(navigator.userAgent)?parseFloat(RegExp.$1):null},htmlEscape:function(e){if(!e)return"";var n=document.createElement("textarea");return n.innerText=e,n.innerHTML},htmlUnescape:function(e){if(!e)return"";if(e.match(/<[^<>]+>/))return e;var n=document.createElement("textarea");return n.innerHTML=e,n.value},getStackSize:function(e){var n=0,t=null==e;try{!function r(){n++,(t||n<=e)&&r()}()}catch(r){}return n},getAnimationEndEventName:function(){var e=document.createElement("div"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(var t in n)if(e.style[t]!==undefined)return n[t];return""},isStackSizeGreaterThan:function(e){return e=e||0,_.getStackSize(e)>e},isSvgImgSupported:function(){return null===T&&(T=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")),T},isPlaceholderAttributeAllowed:function(e){return null===C&&(C=_.isChromeNewerThan(16)||_.isEdge()||_.isFirefoxNewerThan(14)||e&&_.isIOSUIWebView()||_.isIOSSafari()||_.isQtCarBrowser()),C},isCSSAnimationSupported:function(){var e=!1,n=document.createElement("div");(e=n.style.animationName!==undefined)||(e=!!l.first(["Webkit","Moz","O"],(function(e){return n.style[e+"AnimationName"]!==undefined})));return e},isStyleSupported:function(e){return e in document.documentElement.style},isCORSSupported:function(){return d.XDomainRequest||d.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest},isHistorySupported:function(){if(null===w){if(w=d.history&&d.history.pushState&&"undefined"!=typeof d.history.state&&"undefined"!=typeof d.onpopstate)try{d.history.replaceState("__history_test",""),("__history_test"!==d.history.state||_.isEdgeClientBrowser())&&(w=!1)}catch(e){w=!1}}return w},isFidoSupportedAsync:function(e,n){if(!n){if(!(d.navigator.credentials!==undefined&&d.navigator.credentials.create!==undefined&&d.navigator.credentials.get!==undefined&&d.PublicKeyCredential!==undefined&&d.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable!==undefined))return a.resolve(!1);if(d.PublicKeyCredential.isExternalCTAP2SecurityKeySupported)return s.newPromiseWithTimeout(d.PublicKeyCredential.isExternalCTAP2SecurityKeySupported,o.PromiseTimeout,!1)}return a.resolve(e)},isChangingInputTypeSupported:function(){return!_.isIEOlderThan(9)},isHighContrast:function(){if(null===E){var e=document.createElement("span");e.style.borderLeftColor="red",e.style.borderRightColor="blue",e.style.position="absolute",e.style.top="-999px",document.body.appendChild(e);var n=_.getComputedStyle(e);E=n.borderLeftColor===n.borderRightColor,document.body.removeChild(e)}return E},getHighContrastTheme:function(){function e(e,n,t){function r(e,n,t,r){return new RegExp("^rgba?\\("+n+",\\s?"+t+",\\s?"+r+"(,\\s?\\d+\\.?\\d*)?\\)$","i").test(e.trim())}for(var o=0;o<n.length;o++){var i=n[o].split(",").map(Number),a=i[0],s=i[1],u=i[2];if(r(e,a,s,u))return!0}return!!l.first(t,(function(n){return n===e.trim()}))}if(_.isHighContrast()){var n=document.getElementsByTagName("body")[0],t=_.getComputedStyle(n);if(t.backgroundColor){var r=t.backgroundColor.toLowerCase().replace(new RegExp(" ","g"),"");if(A){var o=e(r,["0,0,0"],["#000000","#000"]),i=e(r,["255,255,255"],["#ffffff","#fff"]),a=e(r,["32,32,32"],["#202020"]),s=e(r,["45,50,54"],["#2d3236"]),u=e(r,["255,250,239"],["#fffaef"]);if(o||a||s)return"black";if(i||u)return"white"}else{if("rgb(0,0,0)"===r||"#000000"===r||"#000"===r||("rgb(32,32,32)"===r||"#202020"===r)||("rgb(45,50,54)"===r||"#2d3236"===r))return"black";if("rgb(255,255,255)"===r||"#ffffff"===r||"#fff"===r||("rgb(255,250,239)"===r||"#fffaef"===r))return"white"}}}},getComputedStyle:function(e){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null):e.currentStyle?e.currentStyle:{}},history:{pushState:function(e,n){_.isHistorySupported()&&d.history.pushState(e,n)},replaceState:function(e,n){_.isHistorySupported()&&d.history.replaceState(e,n)}},addEventListener:function(e,n,t,r){e.addEventListener?e.addEventListener(n,t,r):e.attachEvent&&e.attachEvent("on"+n,t)},removeEventListener:function(e,n,t,r){e.removeEventListener?e.removeEventListener(n,t,r):e.detachEvent&&e.detachEvent("on"+n,t)},getEventTarget:function(e){return e?e.target?e.target:e.srcElement?e.srcElement:null:null}},x=n.QueryString={parse:function(e){var n=e,t=null,r=null;if(e){var o=e.indexOf("?"),i=e.indexOf("#");-1!==i&&(-1===o||i<o)?(n=e.substring(0,i),r=c.doubleSplit(e.substring(i+1),"&","=")):-1!==o&&-1===i?(n=e.substring(0,o),t=c.doubleSplit(e.substring(o+1),"&","=")):-1!==o&&-1!==i&&(n=e.substring(0,o),t=c.doubleSplit(e.substring(o+1,i),"&","="),r=c.doubleSplit(e.substring(i+1),"&","="))}return{originAndPath:n,query:t,fragment:r}},join:function(e){var n=e.originAndPath||"";return e.query&&(n+="?"+u.join(e.query,"&","=")),e.fragment&&(n+="#"+u.join(e.fragment,"&","=")),n},appendCurrentQueryParameterIfNotExist:function(e){var n=x.parse(window.location.href);return u.forEach(n.query,(function(n,t){e=x.addIfNotExist(e,n,t)})),e},append:function(e,n){var t=x.parse(e),r=c.doubleSplit(n,"&","=");return t.query=t.query||{},u.forEach(r,(function(e,n){t.query[e]=n||null})),x.join(t)},addIfNotExist:function(e,n,t){t=t||"";var r=x.parse(e);return null===u.findOwnProperty(r.query||{},n,!0)&&(r.query=r.query||{},r.query[n.toLowerCase()]=t),x.join(r)},add:function(e,n){var t=x.parse(e);return e&&n&&n.length&&(t.query=t.query||{},l.forEach(n,(function(e){t.query[e[0]]=e[1]}))),x.join(t)},addFragment:function(e,n){var t="";if(e&&n&&n.length){(t=x.parse(e)).fragment=t.fragment||{};var r=[];l.forEach(n,(function(e){r.includes(e[0])||(t.fragment[e[0]]=e[1],r.push(e[0]))}))}return t},appendOrReplace:function(e,n,t,r){var o=x.parse(e);o.query=o.query||{};var i=u.findOwnProperty(o.query,n,!0);i&&delete o.query[i],o.query[n.toLowerCase()]=t;var a=x.join(o);return r&&a.length>r?e:a},remove:function(e,n){var t=x.parse(e);t.query=t.query||{};var r=u.findOwnProperty(t.query,n,!0);return r&&delete t.query[r],x.join(t)},extract:function(e,n){n||""===n||(n=document.location.search);var t=x.parse(n);t.query=t.query||{};var r=u.findOwnProperty(t.query,e,!0);return r?t.query[r]:""},appendOrReplaceFromCurrentUrl:function(e,n){var t=x.extract(n);return t?x.appendOrReplace(e,n,t):e},stripQueryStringAndFragment:function(e){return x.parse(e).originAndPath}},O=n.Cookies={expireDate:"Thu, 30-Oct-1980 16:00:00 GMT",persistTTLDays:390,cookieSafeRegex:/^[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]+$/,enabled:function(){var e="G"+(new Date).getTime();O.write("CkTst",e);var n=!!O.getCookie("CkTst");return O.remove("CkTst"),n},getCookies:function(){return c.doubleSplit(document.cookie,";","=",!1,c.trim)},getCookie:function(e){var n=O.getCookies();return n[e]?n[e]:null},getObject:function(e){var n=O.getCookie(e)||"";return c.doubleSplit(n,"&","=")},remove:function(e,n,t){var r=n||document.location.hostname,o=r.split("."),i=o.length,a=o[i-2]+"."+o[i-1],s=t||"/",u="https:"===document.location.protocol,l=u?";secure":"",d=O.getDefaultSameSiteAttribute(u);document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,a,s,O.expireDate,l,d),document.cookie=c.format("{0}= ;domain=.{1};path={2};expires={3}{4}{5}",e,r,s,O.expireDate,l,d)},write:function(e,n,t,r,o,i,a,s,u){var c=i?".":"",l=document.domain.split(".");o&&l.splice(0,Math.max(0,l.length-2));var d=c+l.join(".");O.writeWithExpiration(e,n,t,r?O.getPersistDate():null,d,a,s,u)},writeWithExpiration:function(e,n,t,o,i,a,s,l){if(""===n)O.remove(e,i);else{"object"===r(n)&&(n=u.join(n,"&","="));var d,f=o?";expires="+o:"",p=i?";domain="+i:"",h=a||"/",g=t?";secure":"";d=s&&"none"!==s.toLowerCase()?";SameSite="+s:O.getDefaultSameSiteAttribute(t);var m=c.format("{0};path={1}{2}{3}{4}",p,h,f,g,d);if(l){for(var v=4e3-m.length-e.length-1,b=Math.ceil(n.length/v),y=O.getCookies(),S=0;S<b;S++){var E=0===S?"":S.toString(),C=n.substring(S*v,(S+1)*v),w=c.format("{0}{1}={2}{3}",e,E,C,m);document.cookie=w}for(;;S++){var P=e+S.toString();if(!y[P])break;O.remove(P,i,a)}}else{var T=c.format("{0}={1}{2}",e,n,m);document.cookie=T}}},isCookieSafeValue:function(e){return O.cookieSafeRegex.test(e)},getDefaultSameSiteAttribute:function(e){return e&&P?";SameSite=None":""},getPersistDate:function(){var e=new Date;return e.setDate(e.getDate()+O.persistTTLDays),e.toUTCString()}}},function(e,n,t){var r=window;e.exports=r.Promise},function(module,exports){var JSON;JSON||(JSON={}),function(){"use strict";var global=Function("return this")(),JSON=global.JSON;function f(e){return e<10?"0"+e:e}JSON||(JSON={}),"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,(function(e){var n=meta[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,n){var t,r,o,i,a,s=gap,u=n[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(n,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,t=0;t<i;t+=1)a[t]=str(t,u)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,o}if(rep&&"object"==typeof rep)for(i=rep.length,t=0;t<i;t+=1)"string"==typeof rep[t]&&(o=str(r=rep[t],u))&&a.push(quote(r)+(gap?": ":":")+o);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u))&&a.push(quote(r)+(gap?": ":":")+o);return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,o}}"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,n,t){var r;if(gap="",indent="","number"==typeof t)for(r=0;r<t;r+=1)indent+=" ";else"string"==typeof t&&(indent=t);if(rep=n,n&&"function"!=typeof n&&("object"!=typeof n||"number"!=typeof n.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,n){var t,r,o=e[n];if(o&&"object"==typeof o)for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&((r=walk(o,t))!==undefined?o[t]=r:delete o[t]);return reviver.call(e,n,o)}if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")}),global.JSON=JSON,module.exports=JSON}()},function(e,n,t){var r=window,o=r.document.documentMode,i=r.navigator;!function(){var n=null,a=i.userAgent,s=null,u=a.match(/MSIE ([^ ]+)/);if(u&&(n=parseInt(u[1])),"function"==typeof r.Symbol&&a.match(/AppleWebKit\/601/)&&(r.Symbol=null),n&&o&&n!==o&&Object.defineProperty)try{Object.defineProperty(i,"userAgent",{get:function(){return s}}),s=a.replace(/MSIE [^ ]+/,"MSIE "+o+".0"),e.exports=t(6),s=a}catch(c){e.exports=t(6)}else e.exports=t(6)}()},function(e,n){n.EventIds={Unknown:0,Event_PaginationControl_ViewSwitch:1e4,Api_GetOneTimeCode:2e4,Api_GetOneTimeToken:20001,Api_CanaryValidation:20002,Api_GetCustomCss:20003,Api_GetCredentialType:20004,Api_CheckSessionState:20005,Api_GetIwaSsoToken:20006,Api_OtcAuthentication:20007,Api_DeviceAuthentication:20008,Api_BeginOtcAuthentication:20009,Api_ConfirmOneTimeCode:20010,Api_BeginSessionApproval:20011,Api_EndSessionApproval:20012,Api_Forget:20013,Api_GetRecoveryCredentialType:20014,Redirect_Unknown:4e4,Redirect_MSASignUpPage:40001,Redirect_AADSignUpPage:40002,Redirect_SkipZeroTouch:40003,Redirect_ResetPasswordPage:40004,Redirect_MSAUserRecoveryPage:40005,Redirect_OtherIdpRedirection:40006,Redriect_SwitchUser:40007},n.EventLevel={None:0,Critical:1,Info:2,ApiRequest:4,CXH:8,Debug:16,Verbose:32,All:65535},n.HidingMode={None:0,Hide:1,Mask:2},n.DataPointScope={ClientEvent:1,Global:2},n.EventStage={None:0,Begin:1,End:2}},function(e,n,t){(function(n){e.exports=n.ko=t(13)}).call(this,t(12))},function(e,n){n.UsernameMaxLength=113,n.SATOTPV1Length=6,n.SATOTPLength=8,n.SAEOTPLength=8,n.PhoneNumberConfirmationLength=4,n.OneTimeCodeDefaultLength=16,n.OneTimeCodeMaxAcceptedLength=10,n.PCExperienceQS="pcexp",n.PCExperienceDisabled=n.PCExperienceQS+"=false",n.NotPreferredCredentialQs="npc",n.AnimationTimeout=700,n.PageSummaryVersion=1,n.GuidTemplate="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",n.Regex={PhoneNumberValidation:/^[0-9 ()[\].\-#*/+]+$/},n.ProofUpRedirectLandingView={AccountCompromised:1,RiskySession:2},n.LoginMode={None:0,Login:1,ForceCredType:3,LWAConsent:4,GenericError:5,ForceSignin:6,OTS:7,HIP_Login:8,HIP_Lockout:9,InviteBlocked:10,SwitchUser:11,LWADelegation:12,ServiceBlocked:13,IDPFailed:14,StrongAuthOTC:16,StrongAuthMobileOTC:25,Finish:27,LoginWizard_Login:28,StrongAuthWABOTC:30,LoginWizard_HIP_Login:32,LoginWizard_Finish:34,LoginMobile:36,ForceSigninMobile:37,GenericErrorMobile:38,LoginHost:39,ForceSigninHost:40,GenericErrorHost:42,StrongAuthHostOTC:43,HIP_LoginHost:45,HIP_LoginMobile:46,HIP_LockoutHost:47,HIP_LockoutMobile:48,SwitchUserHost:49,LoginXbox_Login:50,HIP_LoginXbox:51,FinishXbox:52,IfExistsXbox:53,StartIfExistsXbox:54,StrongAuthXboxOTC:55,LoginWPWiz_Login:56,LoginWPWiz_HIP_Login:57,LoginWPWiz_Finish:58,StrongAuthWizOTC:59,StrongAuthWPWizOTC:60,FinishWPWiz:61,SwitchUserMobile:62,LoginWPWiz_PhoneSignIn:63,LoginWPWiz_HIP_PhoneSignIn:64,Login_PhoneSignIn:65,Login_HIP_PhoneSignIn:66,LoginHost_PhoneSignIn:67,LoginHost_HIP_PhoneSignIn:68,LoginMobile_PhoneSignIn:69,LoginMobile_HIP_PhoneSignIn:70,LoginWizard_PhoneSignIn:71,LoginWizard_HIP_PhoneSignIn:72,LoginXbox_PhoneSignIn:73,LoginXbox_HIP_PhoneSignIn:74,LoginWin10:75,HIP_LoginWin10:76,FinishWin10:77,FinishBlockedWin10:78,LoginWin10_PhoneSignIn:79,HIP_LoginWin10_PhoneSignIn:80,FinishWin10_TokenBroker:81,SwitchUserWin10:82,ForceSignInXbox:88,LoginClientSDK_Login:92,LoginClientSDK_HIP_Login:93,LoginClientSDK_Finish:94,StrongAuthClientSDKOTC:95,FinishClientSDK:96,LoginClientSDK_PhoneSignIn:97,LoginClientSDK_HIP_PhoneSignIn:98,Win10InclusiveOOBE_Finish:99,Win10InclusiveOOBE_FinishBlocked:100,Tiles:102,RemoteConnect:103,FedConflict:105,Win10Host_Login:106,Win10Host_Login_PhoneSignin:107,Win10Host_Finish:108,Win10Host_StrongAuth:109,Win10Host_HIP_Login:110,Fido:111,Win10Host_HIP_Login_PhoneSignIn:112,FedLink:113,UserCredentialPolicyBlocked:114,BindFailed:115,Win10HostOOBE_HIP_Login:116,Win10HostOOBE_HIP_Login_PhoneSignIn:117,AadFedConflict:118,ProofFedConflict:119,FedBoundLink:120,FetchSessionsProgress:121,Win10Host_TransferLogin:122,TransferLogin:123,Signup:124,CredentialPicker:129,SignupBlocked:132,QrCodePin:133},n.LoginBody={Login_OTC:5},n.SessionPullFlags={Msa:1,Dsso:2},n.ResponseMode={Fragment:"Fragment",Query:"Query",FormPost:"FormPost",NotSpecified:"NotSpecified",Unsupported:"Unsupported"},n.ResponseType={code:"code",token:"token",id_token:"id_token",none:"none"},n.PaginatedState={Previous:-1,Unknown:0,Username:1,Password:2,OneTimeCode:3,RemoteNGC:4,PhoneDisambiguation:5,LwaConsent:6,IdpDisambiguation:7,IdpRedirect:8,ViewAgreement:10,LearnMore:11,Tiles:12,ConfirmSend:13,RemoteConnectCode:14,RemoteLoginPolling:15,BindRedirect:16,TermsOfUse:17,DesktopSsoProgress:18,ResetPasswordSplitter:19,Kmsi:20,CheckPasswordType:21,ChangePassword:22,Fido:23,CredentialPicker:24,Consent:25,Error:26,ConfirmSignup:27,ConfirmRecoverUsername:28,ConfirmConsentSelection:29,FedConflict:30,ProofUpRedirect:32,ProofUpRedirectLanding:33,ConditionalAccessInstallBroker:34,ConditionalAccessWorkplaceJoin:35,ConditionalAccessError:36,CreateFido:37,FedLink:38,FedLinkComplete:40,IdpRedirectSpeedbump:41,TransferLogin:42,Cmsi:43,ProofConfirmation:44,MessagePrompt:45,FinishError:46,Hip:48,LearnMoreOfflineAccount:49,TenantDisambiguation:50,AadFedConflict:51,RemoteConnectCanaryValidation:52,PartnerCanaryValidation:53,ProofFedConflict:54,FetchSessionsProgress:55,AccessPass:56,SignupUsername:57,ReportSuspiciousApp:58,MoreInfo:59,AuthenticatorAddAccountView:60,SignupCredentialPicker:61,LoginError:62,SearchOrganization:63,Ptca:64,GuestConsent:65,RemoteConnectLocation:66,AttributeCollection:67,RdpDevicePrompt:68,GuestConsentConnect:69,SeeHowDataIsManaged:70,SecurityDefaultsUpsell:71,SecurityDefaultsUpsellOptOut:72,SecurityDefaultsUpsellAutoEnabled:73,WebNativeBridge:74,TransferLoginChallengePin:75,RecoveryCredentialPicker:76,OneTimeCodeRecovery:77,PhoneLinkLearnMore:78,PhoneLinkSupport:79,CertificateInterstitialView:80,ConsentResourceApp:81,SignupBlocked:82,VCPresentation:83,QrCodeScan:84,QrCodePin:85,AttributeCollectionRedirect:86},n.PostType={Password:11,Federation:13,SHA1:15,StrongAuth:18,StrongAuthTOTP:19,LWAConsent:30,PasswordInline:20,RemoteNGC:21,SessionApproval:22,NGC:23,OtcNoPassword:24,RemoteConnect_NativePlatform:25,OTC:27,Kmsi:28,TransferTokenOTC:31,QrCodePin:32},n.UserProperty={USERNAME:"login",ERROR_CODE:"HR",ERR_MSG:"ErrorMessage",EXT_ERROR:"ExtErr",ERR_URL:"ErrUrl",DATOKEN:"DAToken",DA_SESKEY:"DASessionKey",DA_START:"DAStartTime",DA_EXPIRE:"DAExpires",STS_ILFT:"STSInlineFlowToken",SIGNINNAME:"SigninName",FIRST_NAME:"LastName",LAST_NAME:"FirstName",TILE_URL:"TileUrl",CID:"CID",PUID:"PUID"},n.DEFAULT_CHANNEL_ID="53ee284d-920a-4b59-9d30-a60315b26836",n.DEFAULT_PREFERRED_EXTENSION_ID="ppnbnpeolgkicgegkbkbjmhlideopiji",n.WebNativeBridgeSuccess="Success",n.DFPPrefix="dfp:",n.Error={S_OK:"0",InvalidRealmDiscLogin:10,UsernameInvalid:1e3,PasswordEmpty:1001,HIPEmpty:1002,AltEmailInvalid:1005,PhoneInvalid:1006,SAContainsName:1007,OTCEmpty:1009,OTCInvalid:1010,NotEnoughProofs:1013,PhoneEmpty:1015,FedUser:1016,FedUserConflict:1017,FedUserInviteBlocked:1018,EmptyFields:1020,PhoneHasSpecialChars:1021,AutoVerifyNoCodeSent:1022,ProofConfirmationEmpty:1023,ProofConfirmationInvalid:1024,TOTPInvalid:1025,SessionNotApproved:1026,PhoneNumberInvalid:1027,PhoneFormattingInvalid:1028,PollingTimedOut:1029,SendNotificationFailed:1030,Server_MessageOnly:9999,PP_E_DB_MEMBERDOESNOTEXIST:"CFFFFC15",PP_E_EXCLUDED:"80041010",PP_E_MEMBER_LOCKED:"80041011",PP_E_BAD_PASSWORD:"80041012",PP_E_MISSING_MEMBERNAME:"80041031",PP_E_MISSING_PASSWORD:"80041032",PP_E_FEDERATION_INLINELOGIN_DISALLOWED:"800478AC",PP_E_PE_RULEFALSE:"8004490C",PP_E_MOBILECREDS_PHONENUMBER_BLANK:"80045801",PP_E_MOBILECREDS_PHONENUMBER_TOOSHORT:"80045806",PP_E_MOBILECREDS_PHONENUMBER_TOOLONG:"80045807",PP_E_MOBILECREDS_PHONENUMBER_INVALID:"80045800",PP_E_NAME_BLANK:"80041100",PP_E_EMAIL_INCOMPLETE:"8004110D",PP_E_EMAIL_INVALID:"8004110B",PP_E_NAME_TOO_SHORT:"80041101",PP_E_NAME_INVALID:"80041103",PP_E_INVALIDARG:"80048388",PP_E_SA_TOOSHORT:"80041120",PP_E_SA_TOOLONG:"80041121",PP_E_INVALID_PHONENUMBER:"8004113F",PP_E_SECRETQ_CONTAINS_SECRETA:"80041165",PP_E_SECRETA_CONTAINS_SECRETQ:"8004117D",PP_E_SA_CONTAINS_MEMBERNAME:"8004116A",PP_E_STRONGPROCESS_ALTEMAILSAMEASMAILBOX:"80049C2D",PP_E_EMAIL_RIGHT_TOO_LONG:"8004110C",PP_E_NAME_TOO_LONG:"80041102",PP_E_ALIAS_AUTH_NOTPERMITTED:"8004788B",PP_E_TOTP_INVALID:"80049C34",PP_E_OLD_SKYPE_PASSWORD:"80043557",PP_E_OTT_DATA_INVALID:"8004348F",PP_E_OTT_ALREADY_CONSUMED:"80043490",PP_E_OTT_INVALID_PURPOSE:"80043496",PP_E_PPSA_RPT_NOTOADDRESS:"80048120",PP_E_STRONGPROCESS_BADDEVICENAME:"80049C22",PP_E_INLINELOGIN_INVALID_SMS:"800434E1",PP_E_INLINELOGIN_INVALID_ALT:"800434E2",PP_E_PREVIOUS_PASSWORD:"80041013",PP_E_HIP_VALIDATION_WRONG:"80045505",PP_E_HIP_VALIDATION_ERROR_FATAL:"80045537",PP_E_HIP_VALIDATION_ERROR_UNAUTHENTICATED:"80045538",PP_E_HIP_VALIDATION_ERROR_OTHER:"80045539",PP_E_SQ_CONTAINS_PASSWORD:"8004341E",PP_E_SA_CONTAINS_PASSWORD:"8004341C",PP_E_SA_CONTAINED_IN_PASSWORD:"8004341D",PP_E_LIBPHONENUMBERINTEROP_NUMBERPARSE_EXCEPTION:"80043510",PP_E_STRONGPROCESS_EMAIL_HAS_MOBILE_DOMAIN:"80049C33",PP_E_STRONGPROCESS_MXALIAS_NOTALLOWED:"80049C23",PP_E_INVALID_MEMBERNAME:"80041034",PP_E_SA_TOO_MANY_CACHE_SESSIONS:"8004A00C",PP_E_INTERFACE_DISABLED:"80043448",PP_E_ASSOCIATE_DUPLICATE_ACCOUNT:"80043534",PP_E_OAUTH_REMOTE_CONNECT_USER_CODE_MISSING_OR_INVALID:"800478C7",PP_E_LOGIN_NOPA_USER_PASSWORD_REQUIRED:"800478CE",PP_E_IDP_LINKEDIN_BINDING_NOT_ALLOWED:"800478D5",PP_E_IDP_GOOGLE_BINDING_NOT_ALLOWED:"800478D6",PP_E_IDP_GITHUB_BINDING_NOT_ALLOWED:"800478D7",PP_E_IDP_BINDING_EXISTS_SAMSUNG:"8004453E",PP_E_TRANSFER_TOKEN_INVALID_SESSION:"800435A0"},n.EstsError={UserAccountSelectionInvalid:"16001",UserUnauthorized:"50020",UserUnauthorizedApiVersionNotSupported:"500201",UserUnauthorizedMsaGuestUsersNotSupported:"500202",UserAccountNotFound:"50034",UserAccountDeleted:"500341",UserAlreadyExists:"1003037",UserAccountNotFoundNotConfiguredForRemoteNgc:"500342",UserAccountNotFoundFailedToCreateRemoteSignIn:"500343",UserAccountNotFoundForFidoSignIn:"500344",IdsLocked:"50053",InvalidPasswordLastPasswordUsed:"50054",InvalidPasswordExpiredPassword:"50055",InvalidPasswordNullPassword:"50056",UserDisabled:"50057",GuestUserDisabled:"500571",FlowTokenExpired:"50089",InvalidUserNameOrPassword:"50126",InvalidDomainName:"50128",ProtectedKeyMisuse:"50141",MissingCustomSigningKey:"50146",IdpLoopDetected:"50174",InvalidOneTimePasscode:"50181",ExpiredOneTimePasscode:"50182",OneTimePasscodeCacheError:"50183",OneTimePasscodeCacheErrorNoMoreOTPGenerated:"501831",OneTimePasscodeEntryNotExist:"50184",OneTimePasscodeMessageDeliveryFailed:"50185",InvalidPassword:"50193",InvalidOneTimePasscodeOTPNotGiven:"501811",InvalidGrantDeviceNotFound:"700003",SsoArtifactExpiredDueToConditionalAccess:"70044",SsoArtifactExpiredDueToConditionalAccessReAuth:"70046",InvalidTenantName:"90002",InvalidTenantNameEmptyGuidIdentifier:"900021",InvalidTenantNameEmptyIdentifier:"900022",InvalidTenantNameFormat:"900023",PhoneSignInBlockedByUserCredentialPolicy:"130500",AccessPassBlockedByPolicy:"130502",InvalidAccessPass:"130503",AccessPassExpired:"130504",AccessPassAlreadyUsed:"130505",PublicIdentifierSasBeginCallRetriableError:"131001",PublicIdentifierAuthUserNotAllowedByPolicy:"131010",PublicIdentifierSasBeginCallNonRetriableError:"131002",PublicIdentifierSasEndCallRetriableError:"131003",PublicIdentifierSasEndCallNonRetriableError:"131004",DeviceIsDisabled:"135011",FidoBlockedByPolicy:"135016",BlockedAdalVersion:"220300",BlockedClientId:"220400",InvalidCredentialDueToMfaClassification:"54009",ProofupBlockedDueToMfaClassification:"54010",NoEmailAddressCollectedFromExternalOidcIDP:"901011",EmailAddressCollectedFromExternalOidcIDPNotVerified:"901012",EmailAddressCollectedFromExternalOidcIDPNotPublic:"901013",NoExternalIdentifierCollectedFromExternalOidcIDP:"901014",UserVoiceAuthFailedCallWentToVoicemail:"UserVoiceAuthFailedCallWentToVoicemail",UserVoiceAuthFailedInvalidPhoneInput:"UserVoiceAuthFailedInvalidPhoneInput",UserVoiceAuthFailedPhoneHungUp:"UserVoiceAuthFailedPhoneHungUp",UserVoiceAuthFailedInvalidPhoneNumber:"UserVoiceAuthFailedInvalidPhoneNumber",UserVoiceAuthFailedInvalidExtension:"UserVoiceAuthFailedInvalidExtension",InvalidFormat:"InvalidFormat",UserAuthFailedDuplicateRequest:"UserAuthFailedDuplicateRequest",UserVoiceAuthFailedPhoneUnreachable:"UserVoiceAuthFailedPhoneUnreachable",UserVoiceAuthFailedProviderCouldntSendCall:"UserVoiceAuthFailedProviderCouldntSendCall",User2WaySMSAuthFailedProviderCouldntSendSMS:"User2WaySMSAuthFailedProviderCouldntSendSMS",SMSAuthFailedProviderCouldntSendSMS:"SMSAuthFailedProviderCouldntSendSMS",User2WaySMSAuthFailedNoResponseTimeout:"User2WaySMSAuthFailedNoResponseTimeout",SMSAuthFailedNoResponseTimeout:"SMSAuthFailedNoResponseTimeout",SMSAuthFailedWrongCodeEntered:"SMSAuthFailedWrongCodeEntered",IncorrectOTP:"IncorrectOTP",OathCodeIncorrect:"OathCodeIncorrect",OathCodeDuplicate:"OathCodeDuplicate",OathCodeOld:"OathCodeOld",ProofDataNotFound:"ProofDataNotFound",OathCodeCorrectButDeviceNotAllowed:"OathCodeCorrectButDeviceNotAllowed",OathCodeFailedMaxAllowedRetryReached:"OathCodeFailedMaxAllowedRetryReached",InvalidSession:"InvalidSession",PhoneAppNoResponse:"PhoneAppNoResponse",User2WaySMSAuthFailedWrongCodeEntered:"User2WaySMSAuthFailedWrongCodeEntered",PhoneAppInvalidResult:"PhoneAppInvalidResult",PhoneAppDenied:"PhoneAppDenied",PhoneAppTokenChanged:"PhoneAppTokenChanged",SMSAuthFailedMaxAllowedCodeRetryReached:"SMSAuthFailedMaxAllowedCodeRetryReached",PhoneAppFraudReported:"PhoneAppFraudReported",FraudCodeEntered:"FraudCodeEntered",UserIsBlocked:"UserIsBlocked",PhoneAppEntropyIncorrect:"PhoneAppEntropyIncorrect",VoiceOTPAuthFailedWrongCodeEntered:"VoiceOTPAuthFailedWrongCodeEntered",VoiceOTPAuthFailedMaxAllowedCodeRetryReached:"VoiceOTPAuthFailedMaxAllowedCodeRetryReached",AccessPassBlockedByPolicyTfa:"AccessPassBlockedByPolicy",InvalidAccessPassTfa:"InvalidAccessPass",AccessPassExpiredTfa:"AccessPassExpired",AccessPassAlreadyUsedTfa:"AccessPassAlreadyUsed",AppLockRequiredButNotUsed:"AppLockRequiredButNotUsed",IncompatibleAppVersion:"IncompatibleAppVersion",FlowTokenExpiredTfa:"FlowTokenExpired",ApplicationUsedIsNotAnApprovedAppRequiredByConditionalAccess:"530021",BlockedByConditionalAccess:"53003",BlockedByConditionalAccessForRemoteDeviceFlow:"530033",BrokerAppNotInstalled:"50127",BrokerAppNotInstalledDeviceAuthenticationFailed:"501271",DeviceIsNotWorkplaceJoined:"50129",DeviceIsNotWorkplaceJoinedForMamApp:"501291",DeviceNotCompliant:"53000",DeviceNotCompliantBrowserNotSupported:"530001",DeviceNotCompliantDeviceCompliantRequired:"530002",DeviceNotCompliantDeviceManagementRequired:"530003",DeviceNotDomainJoined:"53001",DeviceNotDomainJoinedBrowserNotSupported:"530011",ProofUpBlockedDueToRisk:"53004",ProofUpBlockedDueToUserRisk:"53011",RemediateCompliantApp:"53009",RemediateDeviceStateManagedBrowserRequired:"530081",RemediateDeviceStateWorkplaceJoinRequired:"530082",AuthenticatorAppRegistrationRequiredInterrupt:"50203",AuthenticatorAppRegistrationEnforcementInterrupt:"502031",UserStrongAuthEnrollmentRequiredInterrupt:"50072",UserStrongAuthClientAuthNRequiredInterrupt:"50074",RequiredDeviceStateNotSupported:"9001011",AdminConsentRequired:"90094",AdminConsentRequiredRequestAccess:"90095",CertificateValidationBlockedByPolicy:"500186",IssuerHintsPropagationDelay:"2205016",TenantDoesNotSupportNativeCredentialRecovery:"500207",UserDoesNotSupportNativeCredentialRecovery:"500208",CredentialDoesNotSupportNativeRecovery:"500209",QrCodeKeyInvalidKey:"130100",InvalidRequestNonce:"140000",QrPinInvalid:"1301021",InvalidGrantQrPinChanged:"1301024"},n.Fido={MaxUserPromptLength:99,FinishStates:{Success:0,Cancel:1,Error:2,NotSupported:3},UnexpectedErrorCode:9999,EdgeErrorCodes:{SyntaxError:3,NotFoundError:8,NotSupportedError:9,InvalidAccessError:15,AbortError:20}},n.IfExistsResult={Unknown:-1,Exists:0,NotExist:1,Throttled:2,Error:4,ExistsInOtherMicrosoftIDP:5,ExistsBothIDPs:6},n.ThrottleStatus={NotThrottled:0,AadThrottled:1,MsaThrottled:2},n.DomainType={Unknown:1,Consumer:2,Managed:3,Federated:4,CloudFederated:5},n.CredentialType={None:0,Password:1,RemoteNGC:2,OneTimeCode:3,Federation:4,CloudFederation:5,OtherMicrosoftIdpFederation:6,Fido:7,GitHub:8,PublicIdentifierCode:9,LinkedIn:10,RemoteLogin:11,Google:12,AccessPass:13,Facebook:14,Certificate:15,OfflineAccount:16,VerifiableCredential:17,QrCodePin:18,NoPreferredCredential:1e3},n.RemoteNgcType={PushNotification:1,ListSessions:3},n.SessionPollingType={Image:1,Json:2},n.AgreementType={Privacy:"privacy",Tou:"tou",Impressum:"impressum",A11yConforme:"a11yConforme"},n.ApiErrorCodes={GeneralError:6e3,AuthFailure:6001,InvalidArgs:6002,Generic:8e3,Timeout:8001,Aborted:8002},n.DefaultRequestTimeout=3e4,PROOF={Type:{Email:1,AltEmail:2,SMS:3,DeviceId:4,CSS:5,SQSA:6,Certificate:7,HIP:8,Birthday:9,TOTPAuthenticator:10,RecoveryCode:11,StrongTicket:13,TOTPAuthenticatorV2:14,TwoWayVoice:15,TwoWaySMS:16,FidoKey:17,AccessPass:18,TransferToken:19,CompanionApp:21,ExternalAuth:22,ConsolidatedTelephony:23,Voice:-3}},n.ContentType={Json:"application/json; charset=utf-8",FormUrlEncoded:"application/x-www-form-urlencoded"},n.BindProvider={LinkedIn:0,GitHub:1,Google:2,Samsung:3,Facebook:4},n.PromotedAltCredFlags={None:0,GitHub:1,LinkedIn:2},n.EnvironmentName={Internal:1,TestSlice:2,FirstSlice:3},n.AnimationState={Begin:0,End:-1,RenderNewView:1,AnimateNewView:2},n.AnimationName={None:0,SlideOutNext:1,SlideInNext:2,SlideOutBack:3,SlideInBack:4},n.DialogId={None:0,FidoHelp:1,GitHubHelp:2,ConsentAppInfo:3,QrCodePinHelp:4},n.KeyCode={Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowUp:38,ArrowDown:40,WinKeyLeft:91,F6:117,GamePadB:196},n.ProofOfPossession={AuthenticatorKey:"cpa",CanaryTokenKey:"canary",MethodHint:"cpa_method_hint"},n.UpgradeMigrationUXId={Invalid:0,Mojang:1},n.TransferLoginStringsVariant={Default:0,Mmx:1,MmxPhoneFirst:2,AppNameOnly:3,AppNameAndUsername:4,MmxGe:5,OutlookMobileCustom:6,TeamsMobileCustom:7},n.LayoutTemplateType={Lightbox:0,VerticalSplit:1},n.StringCustomizationPageId={ConditionalAccess:0,AttributeCollection:1,MessagePage:2,ProofUpPage:3,ErrorPage:4,LoginPage:5},n.ProofUpRedirectViewType={DefaultProofUpRedirectView:0,AuthAppProofUpRedirectView:1},n.ConfirmationInputDisplayType={None:0,Retype:1,RetypeWithReveal:2},n.SecurityDefaultsUpsellAction={None:0,Upsell:1,AutoEnable:2,AutoEnableAfterPrompt:3,ReevaluateLegacy:4,AutoEnabledNotify:5},n.Branding={DefaultBackgroundColor:"#FAF9F8"},n.CredentialDeviceType={SingleDevice:"singleDevice",MultiDevice:"multiDevice"},n.AttestationParseError={Unknown:1,InvalidAuthDataSize:2,SingleDeviceBackedUp:3,CBORDataEmpty:4},n.ExternalFederatedIdpType={Google:50,Facebook:51,Apple:200},n.CameraMode={Environment:"environment",User:"user",Back:"back"}},function(e,n,t){var r=t(2);n.throwUnhandledExceptionOnRejection=function(e){e["catch"]((function(e){var n=e;e instanceof Error||(n=new Error("Unhandled Promise rejection: "+e)),setTimeout((function(){throw n}),0)}))},n.newPromiseWithTimeout=function(e,n,t){return new r((function(o,i){r.resolve(e()).then(o,i),setTimeout((function(){o(t)}),n)}))}},function(e,n,t){var r=t(5),o=t(10),i=t(0),a=t(2);function s(e){var n,s=this,u=i.DateTime.getCurrentTime(),c=e&&e.fEnableClientTelemetry&&e.iClientLogLevel,l=null;function d(e){return function(){if(l)return l[e].apply(l,arguments)}}s.createLoadClientTracingPromise=function(){return new a((function(n){c&&!l?t.e(0).then(function(){var r=t(25).getInstance(e,u);l||(l=r),n()}.bind(null,t))["catch"](t.oe):n()}))},s.logRedirection=function(e,n){var t=e,r=null;return e&&"string"!=typeof e?(t=e.url,r=e.eventOptions,n=e.traceParameters?n:null,e.traceUrl&&(n?n.url=t:n=t)):n=null,r&&r.eventId&&s.logEvent({eventType:"onRedirect",eventId:r.eventId,eventLevel:r.eventLevel,eventArgs:n,eventOptions:r}),t},s.getPropertyLogOption=function(e,n){return(n=n||{}).hasOwnProperty("tracingPropertyChange")||(n.tracingPropertyChange=!0),n.eventLevel=n.eventLevel||r.EventLevel.Info,{viewModel:e,tracingOptions:n}},s.getDefaultTextBoxPropertyLogOption=function(e,n){return(n=n||{}).hasOwnProperty("hidingMode")||(n.hidingMode=r.HidingMode.None),n.rateLimit={method:"notifyWhenChangesStop"},s.getPropertyLogOption(e,n)},s.getPIITextBoxPropertyLogOption=function(e,n){return(n=n||{}).hidingMode=r.HidingMode.Mask,s.getDefaultTextBoxPropertyLogOption(e,n)},s.getPasswordTextBoxPropertyLogOption=function(e,n){return(n=n||{}).hidingMode=r.HidingMode.Hide,s.getDefaultTextBoxPropertyLogOption(e,n)},s.getDefaultEventTracingOptions=function(e,n,t){return{eventId:e,eventLevel:t||r.EventLevel.Info,hidingMode:n?r.HidingMode.None:r.HidingMode.Hide}},s.attachViewLoadClientTracingOptions=(n="attachViewLoadClientTracingOptions",function(){if(o)return o[n].apply(o,arguments)}),s.logEvent=d("logEvent"),s.logUserInteractionEvent=d("logUserInteractionEvent"),s.traceBeginRequest=d("traceBeginRequest"),s.traceEndRequest=function(e,n,t,r,o){l?l.traceEndRequest(e,n,t,r,o):o&&o()},s.setPageViewModel=d("setPageViewModel"),s.logComponentEvent=d("logComponentEvent"),s.logViewState=d("logViewState"),s.setViewViewModel=d("setViewViewModel"),s.switchView=d("switchView"),s.postEvent=d("postEvent")}var u=null;n.getInstance=function(e){return u=u||new s(e)}},function(e,n,t){var r=t(0),o=t(5),i={},a=null;n.setDataPoint=function(e,n,t,r){var i={scope:r||o.DataPointScope.ClientEvent},a=s(e);a.tracingDataPoints=a.tracingDataPoints||{},a.tracingDataPoints[n]={options:i,value:function(){return t}}};var s=n.getTracingContextObject=function(e){return e?(i[e]||(i[e]={}),i[e]):a=a||{}};n.getTracingContextObjects=function(){var e=[];return r.Object.forEach(i,(function(n,t){t&&e.push({viewModel:n,context:t})})),a&&e.push(a),e},n.registerTracingObservables=function(e,n,t){var r=s(e);r.tracingObservables=r.tracingObservables||[],r.tracingObservables.push({options:t,value:n})},n.deleteTracingContextObject=function(e){e?i[e]&&delete i[e]:a=null},n.attachViewLoadClientTracingOptions=function(e,n){s(e).viewLoadClientTracingOptions=n}},function(e,n,t){var r=window,o=t(4),i=t(14),a=t(18);i.applyExtensions(o),o.utils.registerEventHandler(r,"load",(function(){document.body.appendChild(document.createElement("div")).innerHTML=t(24),o.applyBindings(new a(r.ServerData))}))},function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(r){"object"==typeof window&&(t=window)}e.exports=t},function(e,n,t){var r,o,i;
/*!
 * Knockout JavaScript library v3.5.1
 * (c) The Knockout.js team - http://knockoutjs.com/
 * License: MIT (http://www.opensource.org/licenses/mit-license.php)
 */!function(a){var s=this||(0,eval)("this"),u=s.document,c=s.navigator,l=s.jQuery,d=s.JSON;l||"undefined"==typeof jQuery||(l=jQuery),function(a){o=[n,t],(i="function"==typeof(r=a)?r.apply(n,o):r)===undefined||(e.exports=i)}((function(e,n){function t(e,n){return(null===e||typeof e in E)&&e===n}function r(e,n){var t;return function(){t||(t=S.a.setTimeout((function(){t=a,e()}),n))}}function o(e,n){var t;return function(){clearTimeout(t),t=S.a.setTimeout(e,n)}}function i(e,n){n&&"change"!==n?"beforeChange"===n?this.pc(e):this.gb(e,n):this.qc(e)}function f(e,n){null!==n&&n.s&&n.s()}function p(e,n){var t=this.qd,r=t[A];r.ra||(this.Qb&&this.mb[n]?(t.uc(n,e,this.mb[n]),this.mb[n]=null,--this.Qb):r.I[n]||t.uc(n,e,r.J?{da:e}:t.$c(e)),e.Ja&&e.gd())}var h,g,m,v,b,y,S=void 0!==e?e:{};S.b=function(e,n){for(var t=e.split("."),r=S,o=0;o<t.length-1;o++)r=r[t[o]];r[t[t.length-1]]=n},S.L=function(e,n,t){e[n]=t},S.version="3.5.1",S.b("version",S.version),S.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},S.a=function(){function e(e,n){for(var t in e)o.call(e,t)&&n(t,e[t])}function n(e,n){if(n)for(var t in n)o.call(n,t)&&(e[t]=n[t]);return e}function t(e,n){return e.__proto__=n,e}function r(e,n,t,r){var o=e[n].match(b)||[];S.a.D(t.match(b),(function(e){S.a.Na(o,e,r)})),e[n]=o.join(" ")}var o=Object.prototype.hasOwnProperty,i={__proto__:[]}instanceof Array,f="function"==typeof Symbol,p={},h={};p[c&&/Firefox\/2/i.test(c.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],p.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),e(p,(function(e,n){if(n.length)for(var t=0,r=n.length;t<r;t++)h[n[t]]=e}));var g,m={propertychange:!0},v=u&&function(){for(var e=3,n=u.createElement("div"),t=n.getElementsByTagName("i");n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",t[0];);return 4<e?e:a}(),b=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(e,n,t){for(var r=0,o=e.length;r<o;r++)n.call(t,e[r],r,e)},A:"function"==typeof Array.prototype.indexOf?function(e,n){return Array.prototype.indexOf.call(e,n)}:function(e,n){for(var t=0,r=e.length;t<r;t++)if(e[t]===n)return t;return-1},Lb:function(e,n,t){for(var r=0,o=e.length;r<o;r++)if(n.call(t,e[r],r,e))return e[r];return a},Pa:function(e,n){var t=S.a.A(e,n);0<t?e.splice(t,1):0===t&&e.shift()},wc:function(e){var n=[];return e&&S.a.D(e,(function(e){0>S.a.A(n,e)&&n.push(e)})),n},Mb:function(e,n,t){var r=[];if(e)for(var o=0,i=e.length;o<i;o++)r.push(n.call(t,e[o],o));return r},jb:function(e,n,t){var r=[];if(e)for(var o=0,i=e.length;o<i;o++)n.call(t,e[o],o)&&r.push(e[o]);return r},Nb:function(e,n){if(n instanceof Array)e.push.apply(e,n);else for(var t=0,r=n.length;t<r;t++)e.push(n[t]);return e},Na:function(e,n,t){var r=S.a.A(S.a.bc(e),n);0>r?t&&e.push(n):t||e.splice(r,1)},Ba:i,extend:n,setPrototypeOf:t,Ab:i?t:n,P:e,Ga:function(e,n,t){if(!e)return e;var r,i={};for(r in e)o.call(e,r)&&(i[r]=n.call(t,e[r],r,e));return i},Tb:function(e){for(;e.firstChild;)S.removeNode(e.firstChild)},Yb:function(e){for(var n=((e=S.a.la(e))[0]&&e[0].ownerDocument||u).createElement("div"),t=0,r=e.length;t<r;t++)n.appendChild(S.oa(e[t]));return n},Ca:function(e,n){for(var t=0,r=e.length,o=[];t<r;t++){var i=e[t].cloneNode(!0);o.push(n?S.oa(i):i)}return o},va:function(e,n){if(S.a.Tb(e),n)for(var t=0,r=n.length;t<r;t++)e.appendChild(n[t])},Xc:function(e,n){var t=e.nodeType?[e]:e;if(0<t.length){for(var r=t[0],o=r.parentNode,i=0,a=n.length;i<a;i++)o.insertBefore(n[i],r);for(i=0,a=t.length;i<a;i++)S.removeNode(t[i])}},Ua:function(e,n){if(e.length){for(n=8===n.nodeType&&n.parentNode||n;e.length&&e[0].parentNode!==n;)e.splice(0,1);for(;1<e.length&&e[e.length-1].parentNode!==n;)e.length--;if(1<e.length){var t=e[0],r=e[e.length-1];for(e.length=0;t!==r;)e.push(t),t=t.nextSibling;e.push(r)}}return e},Zc:function(e,n){7>v?e.setAttribute("selected",n):e.selected=n},Db:function(e){return null===e||e===a?"":e.trim?e.trim():e.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(e,n){return e=e||"",!(n.length>e.length)&&e.substring(0,n.length)===n},vd:function(e,n){if(e===n)return!0;if(11===e.nodeType)return!1;if(n.contains)return n.contains(1!==e.nodeType?e.parentNode:e);if(n.compareDocumentPosition)return 16==(16&n.compareDocumentPosition(e));for(;e&&e!=n;)e=e.parentNode;return!!e},Sb:function(e){return S.a.vd(e,e.ownerDocument.documentElement)},kd:function(e){return!!S.a.Lb(e,S.a.Sb)},R:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},Ac:function(e){return S.onError?function(){try{return e.apply(this,arguments)}catch(n){throw S.onError&&S.onError(n),n}}:e},setTimeout:function(e,n){return setTimeout(S.a.Ac(e),n)},Gc:function(e){setTimeout((function(){throw S.onError&&S.onError(e),e}),0)},B:function(e,n,t){var r=S.a.Ac(t);if(t=m[n],S.options.useOnlyNativeEvents||t||!l)if(t||"function"!=typeof e.addEventListener){if("undefined"==typeof e.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");var o=function(n){r.call(e,n)},i="on"+n;e.attachEvent(i,o),S.a.K.za(e,(function(){e.detachEvent(i,o)}))}else e.addEventListener(n,r,!1);else g||(g="function"==typeof l(e).on?"on":"bind"),l(e)[g](n,r)},Fb:function(e,n){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var t;if(t=!("input"!==S.a.R(e)||!e.type||"click"!=n.toLowerCase())&&("checkbox"==(t=e.type)||"radio"==t),S.options.useOnlyNativeEvents||!l||t)if("function"==typeof u.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(t=u.createEvent(h[n]||"HTMLEvents")).initEvent(n,!0,!0,s,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(t)}else if(t&&e.click)e.click();else{if("undefined"==typeof e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+n)}else l(e).trigger(n)},f:function(e){return S.O(e)?e():e},bc:function(e){return S.O(e)?e.v():e},Eb:function(e,n,t){var o;n&&("object"==typeof e.classList?(o=e.classList[t?"add":"remove"],S.a.D(n.match(b),(function(n){o.call(e.classList,n)}))):"string"==typeof e.className.baseVal?r(e.className,"baseVal",n,t):r(e,"className",n,t))},Bb:function(e,n){var t=S.a.f(n);null!==t&&t!==a||(t="");var r=S.h.firstChild(e);!r||3!=r.nodeType||S.h.nextSibling(r)?S.h.va(e,[e.ownerDocument.createTextNode(t)]):r.data=t,S.a.Ad(e)},Yc:function(e,n){if(e.name=n,7>=v)try{var r=e.name.replace(/[&<>'"]/g,(function(e){return"&#"+e.charCodeAt(0)+";"}));e.mergeAttributes(u.createElement("<input name='"+r+"'/>"),!1)}catch(t){}},Ad:function(e){9<=v&&(e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom)},wd:function(e){if(v){var n=e.style.width;e.style.width=0,e.style.width=n}},Pd:function(e,n){e=S.a.f(e),n=S.a.f(n);for(var t=[],r=e;r<=n;r++)t.push(r);return t},la:function(e){for(var n=[],t=0,r=e.length;t<r;t++)n.push(e[t]);return n},Da:function(e){return f?Symbol(e):e},Zd:6===v,$d:7===v,W:v,Lc:function(e,n){for(var t=S.a.la(e.getElementsByTagName("input")).concat(S.a.la(e.getElementsByTagName("textarea"))),r="string"==typeof n?function(e){return e.name===n}:function(e){return n.test(e.name)},o=[],i=t.length-1;0<=i;i--)r(t[i])&&o.push(t[i]);return o},Nd:function(e){return"string"==typeof e&&(e=S.a.Db(e))?d&&d.parse?d.parse(e):new Function("return "+e)():null},hc:function(e,n,t){if(!d||!d.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return d.stringify(S.a.f(e),n,t)},Od:function(n,t,r){var o=(r=r||{}).params||{},i=r.includeFields||this.Jc,a=n;if("object"==typeof n&&"form"===S.a.R(n)){a=n.action;for(var s=i.length-1;0<=s;s--)for(var c=S.a.Lc(n,i[s]),l=c.length-1;0<=l;l--)o[c[l].name]=c[l].value}t=S.a.f(t);var d=u.createElement("form");for(var f in d.style.display="none",d.action=a,d.method="post",t)(n=u.createElement("input")).type="hidden",n.name=f,n.value=S.a.hc(S.a.f(t[f])),d.appendChild(n);e(o,(function(e,n){var t=u.createElement("input");t.type="hidden",t.name=e,t.value=n,d.appendChild(t)})),u.body.appendChild(d),r.submitter?r.submitter(d):d.submit(),setTimeout((function(){d.parentNode.removeChild(d)}),0)}}}(),S.b("utils",S.a),S.b("utils.arrayForEach",S.a.D),S.b("utils.arrayFirst",S.a.Lb),S.b("utils.arrayFilter",S.a.jb),S.b("utils.arrayGetDistinctValues",S.a.wc),S.b("utils.arrayIndexOf",S.a.A),S.b("utils.arrayMap",S.a.Mb),S.b("utils.arrayPushAll",S.a.Nb),S.b("utils.arrayRemoveItem",S.a.Pa),S.b("utils.cloneNodes",S.a.Ca),S.b("utils.createSymbolOrString",S.a.Da),S.b("utils.extend",S.a.extend),S.b("utils.fieldsIncludedWithJsonPost",S.a.Jc),S.b("utils.getFormFields",S.a.Lc),S.b("utils.objectMap",S.a.Ga),S.b("utils.peekObservable",S.a.bc),S.b("utils.postJson",S.a.Od),S.b("utils.parseJson",S.a.Nd),S.b("utils.registerEventHandler",S.a.B),S.b("utils.stringifyJson",S.a.hc),S.b("utils.range",S.a.Pd),S.b("utils.toggleDomNodeCssClass",S.a.Eb),S.b("utils.triggerEvent",S.a.Fb),S.b("utils.unwrapObservable",S.a.f),S.b("utils.objectForEach",S.a.P),S.b("utils.addOrRemoveItem",S.a.Na),S.b("utils.setTextContent",S.a.Bb),S.b("unwrap",S.a.f),Function.prototype.bind||(Function.prototype.bind=function(e){var n=this;if(1===arguments.length)return function(){return n.apply(e,arguments)};var t=Array.prototype.slice.call(arguments,1);return function(){var r=t.slice(0);return r.push.apply(r,arguments),n.apply(e,r)}}),S.a.g=new function(){var e,n,t=0,r="__ko__"+(new Date).getTime(),o={};return S.a.W?(e=function(e,n){var i=e[r];if(!i||"null"===i||!o[i]){if(!n)return a;i=e[r]="ko"+t++,o[i]={}}return o[i]},n=function(e){var n=e[r];return!!n&&(delete o[n],e[r]=null,!0)}):(e=function(e,n){var t=e[r];return!t&&n&&(t=e[r]={}),t},n=function(e){return!!e[r]&&(delete e[r],!0)}),{get:function(n,t){var r=e(n,!1);return r&&r[t]},set:function(n,t,r){(n=e(n,r!==a))&&(n[t]=r)},Ub:function(n,t,r){return(n=e(n,!0))[t]||(n[t]=r)},clear:n,Z:function(){return t+++r}}},S.b("utils.domData",S.a.g),S.b("utils.domData.clear",S.a.g.clear),S.a.K=new function(){function e(e,n){var t=S.a.g.get(e,r);return t===a&&n&&(t=[],S.a.g.set(e,r,t)),t}function n(n){if(r=e(n,!1))for(var r=r.slice(0),o=0;o<r.length;o++)r[o](n);S.a.g.clear(n),S.a.K.cleanExternalData(n),i[n.nodeType]&&t(n.childNodes,!0)}function t(e,t){for(var r,o=[],i=0;i<e.length;i++)if((!t||8===e[i].nodeType)&&(n(o[o.length]=r=e[i]),e[i]!==r))for(;i--&&-1==S.a.A(o,e[i]););}var r=S.a.g.Z(),o={1:!0,8:!0,9:!0},i={1:!0,9:!0};return{za:function(n,t){if("function"!=typeof t)throw Error("Callback must be a function");e(n,!0).push(t)},yb:function(n,t){var o=e(n,!1);o&&(S.a.Pa(o,t),0==o.length&&S.a.g.set(n,r,a))},oa:function(e){return S.u.G((function(){o[e.nodeType]&&(n(e),i[e.nodeType]&&t(e.getElementsByTagName("*")))})),e},removeNode:function(e){S.oa(e),e.parentNode&&e.parentNode.removeChild(e)},cleanExternalData:function(e){l&&"function"==typeof l.cleanData&&l.cleanData([e])}}},S.oa=S.a.K.oa,S.removeNode=S.a.K.removeNode,S.b("cleanNode",S.oa),S.b("removeNode",S.removeNode),S.b("utils.domNodeDisposal",S.a.K),S.b("utils.domNodeDisposal.addDisposeCallback",S.a.K.za),S.b("utils.domNodeDisposal.removeDisposeCallback",S.a.K.yb),h=[0,"",""],b={thead:g=[1,"<table>","</table>"],tbody:g,tfoot:g,tr:[2,"<table><tbody>","</tbody></table>"],td:m=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:m,option:v=[1,"<select multiple='multiple'>","</select>"],optgroup:v},y=8>=S.a.W,S.a.ua=function(e,n){var t;if(l){if(l.parseHTML)t=l.parseHTML(e,n)||[];else if((t=l.clean([e],n))&&t[0]){for(var r=t[0];r.parentNode&&11!==r.parentNode.nodeType;)r=r.parentNode;r.parentNode&&r.parentNode.removeChild(r)}}else{(t=n)||(t=u),r=t.parentWindow||t.defaultView||s;var o,i=S.a.Db(e).toLowerCase(),a=t.createElement("div");for(o=(i=i.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&b[i[1]]||h,i=o[0],o="ignored<div>"+o[1]+e+o[2]+"</div>","function"==typeof r.innerShiv?a.appendChild(r.innerShiv(o)):(y&&t.body.appendChild(a),a.innerHTML=o,y&&a.parentNode.removeChild(a));i--;)a=a.lastChild;t=S.a.la(a.lastChild.childNodes)}return t},S.a.Md=function(e,n){var t=S.a.ua(e,n);return t.length&&t[0].parentElement||S.a.Yb(t)},S.a.fc=function(e,n){if(S.a.Tb(e),null!==(n=S.a.f(n))&&n!==a)if("string"!=typeof n&&(n=n.toString()),l)l(e).html(n);else for(var t=S.a.ua(n,e.ownerDocument),r=0;r<t.length;r++)e.appendChild(t[r])},S.b("utils.parseHtmlFragment",S.a.ua),S.b("utils.setHtml",S.a.fc),S.aa=function(){var e={};return{Xb:function(n){if("function"!=typeof n)throw Error("You can only pass a function to ko.memoization.memoize()");var t=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return e[t]=n,"\x3c!--[ko_memo:"+t+"]--\x3e"},bd:function(n,t){var r=e[n];if(r===a)throw Error("Couldn't find any memo with ID "+n+". Perhaps it's already been unmemoized.");try{return r.apply(null,t||[]),!0}finally{delete e[n]}},cd:function(e,n){var t=[];!function s(e,n){if(e)if(8==e.nodeType)null!=(t=S.aa.Uc(e.nodeValue))&&n.push({ud:e,Kd:t});else if(1==e.nodeType)for(var t=0,r=e.childNodes,o=r.length;t<o;t++)s(r[t],n)}(e,t);for(var r=0,o=t.length;r<o;r++){var i=t[r].ud,a=[i];n&&S.a.Nb(a,n),S.aa.bd(t[r].Kd,a),i.nodeValue="",i.parentNode&&i.parentNode.removeChild(i)}},Uc:function(e){return(e=e.match(/^\[ko_memo\:(.*?)\]$/))?e[1]:null}}}(),S.b("memoization",S.aa),S.b("memoization.memoize",S.aa.Xb),S.b("memoization.unmemoize",S.aa.bd),S.b("memoization.parseMemoText",S.aa.Uc),S.b("memoization.unmemoizeDomNodeAndDescendants",S.aa.cd),S.na=function(){function e(){if(r)for(var e,n=r,o=0;i<r;)if(e=t[i++]){if(i>n){if(5e3<=++o){i=r,S.a.Gc(Error("'Too much recursion' after processing "+o+" task groups."));break}n=r}try{e()}catch(a){S.a.Gc(a)}}}function n(){e(),i=r=t.length=0}var t=[],r=0,o=1,i=0;return{scheduler:s.MutationObserver?function(e){var n=u.createElement("div");return new MutationObserver(e).observe(n,{attributes:!0}),function(){n.classList.toggle("foo")}}(n):u&&"onreadystatechange"in u.createElement("script")?function(e){var n=u.createElement("script");n.onreadystatechange=function(){n.onreadystatechange=null,u.documentElement.removeChild(n),n=null,e()},u.documentElement.appendChild(n)}:function(e){setTimeout(e,0)},zb:function(e){return r||S.na.scheduler(n),t[r++]=e,o++},cancel:function(e){(e-=o-r)>=i&&e<r&&(t[e]=null)},resetForTesting:function(){var e=r-i;return i=r=t.length=0,e},Sd:e}}(),S.b("tasks",S.na),S.b("tasks.schedule",S.na.zb),S.b("tasks.runEarly",S.na.Sd),S.Ta={throttle:function(e,n){e.throttleEvaluation=n;var t=null;return S.$({read:e,write:function(r){clearTimeout(t),t=S.a.setTimeout((function(){e(r)}),n)}})},rateLimit:function(e,n){var t,i,a;"number"==typeof n?t=n:(t=n.timeout,i=n.method),e.Hb=!1,a="function"==typeof i?i:"notifyWhenChangesStop"==i?o:r,e.ub((function(e){return a(e,t,n)}))},deferred:function(e,n){if(!0!==n)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");e.Hb||(e.Hb=!0,e.ub((function(n){var t,r=!1;return function(){if(!r){S.na.cancel(t),t=S.na.zb(n);try{r=!0,e.notifySubscribers(a,"dirty")}finally{r=!1}}}})))},notify:function(e,n){e.equalityComparer="always"==n?null:t}};var E={undefined:1,boolean:1,number:1,string:1};S.b("extenders",S.Ta),S.ic=function(e,n,t){this.da=e,this.lc=n,this.mc=t,this.Ib=!1,this.fb=this.Jb=null,S.L(this,"dispose",this.s),S.L(this,"disposeWhenNodeIsRemoved",this.l)},S.ic.prototype.s=function(){this.Ib||(this.fb&&S.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},S.ic.prototype.l=function(e){this.Jb=e,S.a.K.za(e,this.fb=this.s.bind(this))},S.T=function(){S.a.Ab(this,C),C.qb(this)};var C={qb:function(e){e.U={change:[]},e.sc=1},subscribe:function(e,n,t){var r=this;t=t||"change";var o=new S.ic(r,n?e.bind(n):e,(function(){S.a.Pa(r.U[t],o),r.hb&&r.hb(t)}));return r.Qa&&r.Qa(t),r.U[t]||(r.U[t]=[]),r.U[t].push(o),o},notifySubscribers:function(e,n){if("change"===(n=n||"change")&&this.Gb(),this.Wa(n)){var t="change"===n&&this.ed||this.U[n].slice(0);try{S.u.xc();for(var r,o=0;r=t[o];++o)r.Ib||r.lc(e)}finally{S.u.end()}}},ob:function(){return this.sc},Dd:function(e){return this.ob()!==e},Gb:function(){++this.sc},ub:function(e){var n,t,r,o,a,s=this,u=S.O(s);s.gb||(s.gb=s.notifySubscribers,s.notifySubscribers=i);var c=e((function(){s.Ja=!1,u&&o===s&&(o=s.nc?s.nc():s());var e=t||a&&s.sb(r,o);a=t=n=!1,e&&s.gb(r=o)}));s.qc=function(e,t){t&&s.Ja||(a=!t),s.ed=s.U.change.slice(0),s.Ja=n=!0,o=e,c()},s.pc=function(e){n||(r=e,s.gb(e,"beforeChange"))},s.rc=function(){a=!0},s.gd=function(){s.sb(r,s.v(!0))&&(t=!0)}},Wa:function(e){return this.U[e]&&this.U[e].length},Bd:function(e){if(e)return this.U[e]&&this.U[e].length||0;var n=0;return S.a.P(this.U,(function(e,t){"dirty"!==e&&(n+=t.length)})),n},sb:function(e,n){return!this.equalityComparer||!this.equalityComparer(e,n)},toString:function(){return"[object Object]"},extend:function(e){var n=this;return e&&S.a.P(e,(function(e,t){var r=S.Ta[e];"function"==typeof r&&(n=r(n,t)||n)})),n}};S.L(C,"init",C.qb),S.L(C,"subscribe",C.subscribe),S.L(C,"extend",C.extend),S.L(C,"getSubscriptionsCount",C.Bd),S.a.Ba&&S.a.setPrototypeOf(C,Function.prototype),S.T.fn=C,S.Qc=function(e){return null!=e&&"function"==typeof e.subscribe&&"function"==typeof e.notifySubscribers},S.b("subscribable",S.T),S.b("isSubscribable",S.Qc),S.S=S.u=function(){function e(e){r.push(t),t=e}function n(){t=r.pop()}var t,r=[],o=0;return{xc:e,end:n,cc:function(e){if(t){if(!S.Qc(e))throw Error("Only subscribable things can act as dependencies");t.od.call(t.pd,e,e.fd||(e.fd=++o))}},G:function(t,r,o){try{return e(),t.apply(r,o||[])}finally{n()}},qa:function(){if(t)return t.o.qa()},Va:function(){if(t)return t.o.Va()},Ya:function(){if(t)return t.Ya},o:function(){if(t)return t.o}}}(),S.b("computedContext",S.S),S.b("computedContext.getDependenciesCount",S.S.qa),S.b("computedContext.getDependencies",S.S.Va),S.b("computedContext.isInitial",S.S.Ya),S.b("computedContext.registerDependency",S.S.cc),S.b("ignoreDependencies",S.Yd=S.u.G);var w=S.a.Da("_latestValue");S.ta=function(e){function n(){return 0<arguments.length?(n.sb(n[w],arguments[0])&&(n.ya(),n[w]=arguments[0],n.xa()),this):(S.u.cc(n),n[w])}return n[w]=e,S.a.Ba||S.a.extend(n,S.T.fn),S.T.fn.qb(n),S.a.Ab(n,P),S.options.deferUpdates&&S.Ta.deferred(n,!0),n};var P={equalityComparer:t,v:function(){return this[w]},xa:function(){this.notifySubscribers(this[w],"spectate"),this.notifySubscribers(this[w])},ya:function(){this.notifySubscribers(this[w],"beforeChange")}};S.a.Ba&&S.a.setPrototypeOf(P,S.T.fn);var T=S.ta.Ma="__ko_proto__";P[T]=S.ta,S.O=function(e){if((e="function"==typeof e&&e[T])&&e!==P[T]&&e!==S.o.fn[T])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!e},S.Za=function(e){return"function"==typeof e&&(e[T]===P[T]||e[T]===S.o.fn[T]&&e.Nc)},S.b("observable",S.ta),S.b("isObservable",S.O),S.b("isWriteableObservable",S.Za),S.b("isWritableObservable",S.Za),S.b("observable.fn",P),S.L(P,"peek",P.v),S.L(P,"valueHasMutated",P.xa),S.L(P,"valueWillMutate",P.ya),S.Ha=function(e){if("object"!=typeof(e=e||[])||!("length"in e))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return e=S.ta(e),S.a.Ab(e,S.Ha.fn),e.extend({trackArrayChanges:!0})},S.Ha.fn={remove:function(e){for(var n=this.v(),t=[],r="function"!=typeof e||S.O(e)?function(n){return n===e}:e,o=0;o<n.length;o++){var i=n[o];if(r(i)){if(0===t.length&&this.ya(),n[o]!==i)throw Error("Array modified during remove; cannot remove item");t.push(i),n.splice(o,1),o--}}return t.length&&this.xa(),t},removeAll:function(e){if(e===a){var n=this.v(),t=n.slice(0);return this.ya(),n.splice(0,n.length),this.xa(),t}return e?this.remove((function(n){return 0<=S.a.A(e,n)})):[]},destroy:function(e){var n=this.v(),t="function"!=typeof e||S.O(e)?function(n){return n===e}:e;this.ya();for(var r=n.length-1;0<=r;r--){var o=n[r];t(o)&&(o._destroy=!0)}this.xa()},destroyAll:function(e){return e===a?this.destroy((function(){return!0})):e?this.destroy((function(n){return 0<=S.a.A(e,n)})):[]},indexOf:function(e){var n=this();return S.a.A(n,e)},replace:function(e,n){var t=this.indexOf(e);0<=t&&(this.ya(),this.v()[t]=n,this.xa())},sorted:function(e){var n=this().slice(0);return e?n.sort(e):n.sort()},reversed:function(){return this().slice(0).reverse()}},S.a.Ba&&S.a.setPrototypeOf(S.Ha.fn,S.ta.fn),S.a.D("pop push reverse shift sort splice unshift".split(" "),(function(e){S.Ha.fn[e]=function(){var n=this.v();this.ya(),this.zc(n,e,arguments);var t=n[e].apply(n,arguments);return this.xa(),t===n?this:t}})),S.a.D(["slice"],(function(e){S.Ha.fn[e]=function(){var n=this();return n[e].apply(n,arguments)}})),S.Pc=function(e){return S.O(e)&&"function"==typeof e.remove&&"function"==typeof e.push},S.b("observableArray",S.Ha),S.b("isObservableArray",S.Pc),S.Ta.trackArrayChanges=function(e,n){function t(){function n(){if(c){var n,t=[].concat(e.v()||[]);e.Wa("arrayChange")&&((!u||1<c)&&(u=S.a.Pb(i,t,e.Ob)),n=u),i=t,u=null,c=0,n&&n.length&&e.notifySubscribers(n,"arrayChange")}}s?n():(s=!0,o=e.subscribe((function(){++c}),null,"spectate"),i=[].concat(e.v()||[]),u=null,r=e.subscribe(n))}if(e.Ob={},n&&"object"==typeof n&&S.a.extend(e.Ob,n),e.Ob.sparse=!0,!e.zc){var r,o,i,s=!1,u=null,c=0,l=e.Qa,d=e.hb;e.Qa=function(n){l&&l.call(e,n),"arrayChange"===n&&t()},e.hb=function(n){d&&d.call(e,n),"arrayChange"!==n||e.Wa("arrayChange")||(r&&r.s(),o&&o.s(),o=r=null,s=!1,i=a)},e.zc=function(e,n,t){function r(e,n,t){return o[o.length]={status:e,value:n,index:t}}if(s&&!c){var o=[],i=e.length,a=t.length,l=0;switch(n){case"push":l=i;case"unshift":for(n=0;n<a;n++)r("added",t[n],l+n);break;case"pop":l=i-1;case"shift":i&&r("deleted",e[l],l);break;case"splice":n=Math.min(Math.max(0,0>t[0]?i+t[0]:t[0]),i),i=1===a?i:Math.min(n+(t[1]||0),i),a=n+a-2,l=Math.max(i,a);for(var d=[],f=[],p=2;n<l;++n,++p)n<i&&f.push(r("deleted",e[n],n)),n<a&&d.push(r("added",t[p],n));S.a.Kc(f,d);break;default:return}u=o}}}};var A=S.a.Da("_state");S.o=S.$=function(e,n,t){function r(){if(0<arguments.length){if("function"!=typeof o)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return o.apply(i.nb,arguments),this}return i.ra||S.u.cc(r),(i.ka||i.J&&r.Xa())&&r.ha(),i.X}if("object"==typeof e?t=e:(t=t||{},e&&(t.read=e)),"function"!=typeof t.read)throw Error("Pass a function that returns the value of the ko.computed");var o=t.write,i={X:a,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:t.read,nb:n||t.owner,l:t.disposeWhenNodeIsRemoved||t.l||null,Sa:t.disposeWhen||t.Sa,Rb:null,I:{},V:0,Ic:null};return r[A]=i,r.Nc="function"==typeof o,S.a.Ba||S.a.extend(r,S.T.fn),S.T.fn.qb(r),S.a.Ab(r,_),t.pure?(i.wb=!0,i.J=!0,S.a.extend(r,x)):t.deferEvaluation&&S.a.extend(r,O),S.options.deferUpdates&&S.Ta.deferred(r,!0),i.l&&(i.jc=!0,i.l.nodeType||(i.l=null)),i.J||t.deferEvaluation||r.ha(),i.l&&r.ja()&&S.a.K.za(i.l,i.Rb=function(){r.s()}),r};var _={equalityComparer:t,qa:function(){return this[A].V},Va:function(){var e=[];return S.a.P(this[A].I,(function(n,t){e[t.Ka]=t.da})),e},Vb:function(e){if(!this[A].V)return!1;var n=this.Va();return-1!==S.a.A(n,e)||!!S.a.Lb(n,(function(n){return n.Vb&&n.Vb(e)}))},uc:function(e,n,t){if(this[A].wb&&n===this)throw Error("A 'pure' computed must not be called recursively");this[A].I[e]=t,t.Ka=this[A].V++,t.La=n.ob()},Xa:function(){var e,n,t=this[A].I;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&(n=t[e],this.Ia&&n.da.Ja||n.da.Dd(n.La)))return!0},Jd:function(){this.Ia&&!this[A].rb&&this.Ia(!1)},ja:function(){var e=this[A];return e.ka||0<e.V},Rd:function(){this.Ja?this[A].ka&&(this[A].sa=!0):this.Hc()},$c:function(e){if(e.Hb){var n=e.subscribe(this.Jd,this,"dirty"),t=e.subscribe(this.Rd,this);return{da:e,s:function(){n.s(),t.s()}}}return e.subscribe(this.Hc,this)},Hc:function(){var e=this,n=e.throttleEvaluation;n&&0<=n?(clearTimeout(this[A].Ic),this[A].Ic=S.a.setTimeout((function(){e.ha(!0)}),n)):e.Ia?e.Ia(!0):e.ha(!0)},ha:function(e){var n=this[A],t=n.Sa,r=!1;if(!n.rb&&!n.ra){if(n.l&&!S.a.Sb(n.l)||t&&t()){if(!n.jc)return void this.s()}else n.jc=!1;n.rb=!0;try{r=this.zd(e)}finally{n.rb=!1}return r}},zd:function(e){var n=this[A],t=!1,r=n.wb?a:!n.V;t={qd:this,mb:n.I,Qb:n.V},S.u.xc({pd:t,od:p,o:this,Ya:r}),n.I={},n.V=0;var o=this.yd(n,t);return n.V?t=this.sb(n.X,o):(this.s(),t=!0),t&&(n.J?this.Gb():this.notifySubscribers(n.X,"beforeChange"),n.X=o,this.notifySubscribers(n.X,"spectate"),!n.J&&e&&this.notifySubscribers(n.X),this.rc&&this.rc()),r&&this.notifySubscribers(n.X,"awake"),t},yd:function(e,n){try{var t=e.Wc;return e.nb?t.call(e.nb):t()}finally{S.u.end(),n.Qb&&!e.J&&S.a.P(n.mb,f),e.sa=e.ka=!1}},v:function(e){var n=this[A];return(n.ka&&(e||!n.V)||n.J&&this.Xa())&&this.ha(),n.X},ub:function(e){S.T.fn.ub.call(this,e),this.nc=function(){return this[A].J||(this[A].sa?this.ha():this[A].ka=!1),this[A].X},this.Ia=function(e){this.pc(this[A].X),this[A].ka=!0,e&&(this[A].sa=!0),this.qc(this,!e)}},s:function(){var e=this[A];!e.J&&e.I&&S.a.P(e.I,(function(e,n){n.s&&n.s()})),e.l&&e.Rb&&S.a.K.yb(e.l,e.Rb),e.I=a,e.V=0,e.ra=!0,e.sa=!1,e.ka=!1,e.J=!1,e.l=a,e.Sa=a,e.Wc=a,this.Nc||(e.nb=a)}},x={Qa:function(e){var n=this,t=n[A];if(!t.ra&&t.J&&"change"==e){if(t.J=!1,t.sa||n.Xa())t.I=null,t.V=0,n.ha()&&n.Gb();else{var r=[];S.a.P(t.I,(function(e,n){r[n.Ka]=e})),S.a.D(r,(function(e,r){var o=t.I[e],i=n.$c(o.da);i.Ka=r,i.La=o.La,t.I[e]=i})),n.Xa()&&n.ha()&&n.Gb()}t.ra||n.notifySubscribers(t.X,"awake")}},hb:function(e){var n=this[A];n.ra||"change"!=e||this.Wa("change")||(S.a.P(n.I,(function(e,t){t.s&&(n.I[e]={da:t.da,Ka:t.Ka,La:t.La},t.s())})),n.J=!0,this.notifySubscribers(a,"asleep"))},ob:function(){var e=this[A];return e.J&&(e.sa||this.Xa())&&this.ha(),S.T.fn.ob.call(this)}},O={Qa:function(e){"change"!=e&&"beforeChange"!=e||this.v()}};S.a.Ba&&S.a.setPrototypeOf(_,S.T.fn);var I=S.ta.Ma;_[I]=S.o,S.Oc=function(e){return"function"==typeof e&&e[I]===_[I]},S.Fd=function(e){return S.Oc(e)&&e[A]&&e[A].wb},S.b("computed",S.o),S.b("dependentObservable",S.o),S.b("isComputed",S.Oc),S.b("isPureComputed",S.Fd),S.b("computed.fn",_),S.L(_,"peek",_.v),S.L(_,"dispose",_.s),S.L(_,"isActive",_.ja),S.L(_,"getDependenciesCount",_.qa),S.L(_,"getDependencies",_.Va),S.xb=function(e,n){return"function"==typeof e?S.o(e,n,{pure:!0}):((e=S.a.extend({},e)).pure=!0,S.o(e,n))},S.b("pureComputed",S.xb),function(){function e(t,r,o){if(o=o||new n,"object"!=typeof(t=r(t))||null===t||t===a||t instanceof RegExp||t instanceof Date||t instanceof String||t instanceof Number||t instanceof Boolean)return t;var i=t instanceof Array?[]:{};return o.save(t,i),function(e,n){if(e instanceof Array){for(var t=0;t<e.length;t++)n(t);"function"==typeof e.toJSON&&n("toJSON")}else for(t in e)n(t)}(t,(function(n){var s=r(t[n]);switch(typeof s){case"boolean":case"number":case"string":case"function":i[n]=s;break;case"object":case"undefined":var u=o.get(s);i[n]=u!==a?u:e(s,r,o)}})),i}function n(){this.keys=[],this.values=[]}S.ad=function(n){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return e(n,(function(e){for(var n=0;S.O(e)&&10>n;n++)e=e();return e}))},S.toJSON=function(e,n,t){return e=S.ad(e),S.a.hc(e,n,t)},n.prototype={constructor:n,save:function(e,n){var t=S.a.A(this.keys,e);0<=t?this.values[t]=n:(this.keys.push(e),this.values.push(n))},get:function(e){return 0<=(e=S.a.A(this.keys,e))?this.values[e]:a}}}(),S.b("toJS",S.ad),S.b("toJSON",S.toJSON),S.Wd=function(e,n,t){function r(n){var r=S.xb(e,t).extend({ma:"always"}),o=r.subscribe((function(e){e&&(o.s(),n(e))}));return r.notifySubscribers(r.v()),o}return"function"!=typeof Promise||n?r(n.bind(t)):new Promise(r)},S.b("when",S.Wd),S.w={M:function(e){switch(S.a.R(e)){case"option":return!0===e.__ko__hasDomDataOptionValue__?S.a.g.get(e,S.c.options.$b):7>=S.a.W?e.getAttributeNode("value")&&e.getAttributeNode("value").specified?e.value:e.text:e.value;case"select":return 0<=e.selectedIndex?S.w.M(e.options[e.selectedIndex]):a;default:return e.value}},cb:function(e,n,t){switch(S.a.R(e)){case"option":"string"==typeof n?(S.a.g.set(e,S.c.options.$b,a),"__ko__hasDomDataOptionValue__"in e&&delete e.__ko__hasDomDataOptionValue__,e.value=n):(S.a.g.set(e,S.c.options.$b,n),e.__ko__hasDomDataOptionValue__=!0,e.value="number"==typeof n?n:"");break;case"select":""!==n&&null!==n||(n=a);for(var r,o=-1,i=0,s=e.options.length;i<s;++i)if((r=S.w.M(e.options[i]))==n||""===r&&n===a){o=i;break}(t||0<=o||n===a&&1<e.size)&&(e.selectedIndex=o,6===S.a.W&&S.a.setTimeout((function(){e.selectedIndex=o}),0));break;default:null!==n&&n!==a||(n=""),e.value=n}}},S.b("selectExtensions",S.w),S.b("selectExtensions.readValue",S.w.M),S.b("selectExtensions.writeValue",S.w.cb),S.m=function(){function e(e){123===(e=S.a.Db(e)).charCodeAt(0)&&(e=e.slice(1,-1));var n,t=[],a=(e+="\n,").match(r),s=[],u=0;if(1<a.length){for(var c,l=0;c=a[l];++l){var d=c.charCodeAt(0);if(44===d){if(0>=u){t.push(n&&s.length?{key:n,value:s.join("")}:{unknown:n||s.join("")}),n=u=0,s=[];continue}}else if(58===d){if(!u&&!n&&1===s.length){n=s.pop();continue}}else{if(47===d&&1<c.length&&(47===c.charCodeAt(1)||42===c.charCodeAt(1)))continue;47===d&&l&&1<c.length?(d=a[l-1].match(o))&&!i[d[0]]&&(a=(e=e.substr(e.indexOf(c)+1)).match(r),l=-1,c="/"):40===d||123===d||91===d?++u:41===d||125===d||93===d?--u:n||s.length||34!==d&&39!==d||(c=c.slice(1,-1))}s.push(c)}if(0<u)throw Error("Unbalanced parentheses, braces, or brackets")}return t}var n=["true","false","null","undefined"],t=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,r=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),o=/[\])"'A-Za-z0-9_$]+$/,i={"in":1,"return":1,"typeof":1},a={};return{Ra:[],wa:a,ac:e,vb:function(r,o){function i(e,r){var o;if(!l){var d=S.getBindingHandler(e);if(d&&d.preprocess&&!(r=d.preprocess(r,e,i)))return;(d=a[e])&&(o=r,0<=S.a.A(n,o)?o=!1:(d=o.match(t),o=null!==d&&(d[1]?"Object("+d[1]+")"+d[2]:o)),d=o),d&&u.push("'"+("string"==typeof a[e]?a[e]:e)+"':function(_z){"+o+"=_z}")}c&&(r="function(){return "+r+" }"),s.push("'"+e+"':"+r)}var s=[],u=[],c=(o=o||{}).valueAccessors,l=o.bindingParams,d="string"==typeof r?e(r):r;return S.a.D(d,(function(e){i(e.key||e.unknown,e.value)})),u.length&&i("_ko_property_writers","{"+u.join(",")+" }"),s.join(",")},Id:function(e,n){for(var t=0;t<e.length;t++)if(e[t].key==n)return!0;return!1},eb:function(e,n,t,r,o){e&&S.O(e)?!S.Za(e)||o&&e.v()===r||e(r):(e=n.get("_ko_property_writers"))&&e[t]&&e[t](r)}}}(),S.b("expressionRewriting",S.m),S.b("expressionRewriting.bindingRewriteValidators",S.m.Ra),S.b("expressionRewriting.parseObjectLiteral",S.m.ac),S.b("expressionRewriting.preProcessBindings",S.m.vb),S.b("expressionRewriting._twoWayBindings",S.m.wa),S.b("jsonExpressionRewriting",S.m),S.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",S.m.vb),function(){function e(e){return 8==e.nodeType&&i.test(o?e.text:e.nodeValue)}function n(e){return 8==e.nodeType&&a.test(o?e.text:e.nodeValue)}function t(t,r){for(var o=t,i=1,a=[];o=o.nextSibling;){if(n(o)&&(S.a.g.set(o,c,!0),0==--i))return a;a.push(o),e(o)&&i++}if(!r)throw Error("Cannot find closing comment tag to match: "+t.nodeValue);return null}function r(e,n){var r=t(e,n);return r?0<r.length?r[r.length-1].nextSibling:e.nextSibling:null}var o=u&&"\x3c!--test--\x3e"===u.createComment("test").text,i=o?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,a=o?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,s={ul:!0,ol:!0},c="__ko_matchedEndComment__";S.h={ea:{},childNodes:function(n){return e(n)?t(n):n.childNodes},Ea:function(n){if(e(n))for(var t=0,r=(n=S.h.childNodes(n)).length;t<r;t++)S.removeNode(n[t]);else S.a.Tb(n)},va:function(n,t){if(e(n)){S.h.Ea(n);for(var r=n.nextSibling,o=0,i=t.length;o<i;o++)r.parentNode.insertBefore(t[o],r)}else S.a.va(n,t)},Vc:function(n,t){var r;e(n)?(r=n.nextSibling,n=n.parentNode):r=n.firstChild,r?t!==r&&n.insertBefore(t,r):n.appendChild(t)},Wb:function(n,t,r){r?(r=r.nextSibling,e(n)&&(n=n.parentNode),r?t!==r&&n.insertBefore(t,r):n.appendChild(t)):S.h.Vc(n,t)},firstChild:function(t){if(e(t))return!t.nextSibling||n(t.nextSibling)?null:t.nextSibling;if(t.firstChild&&n(t.firstChild))throw Error("Found invalid end comment, as the first child of "+t);return t.firstChild},nextSibling:function(t){if(e(t)&&(t=r(t)),t.nextSibling&&n(t.nextSibling)){var o=t.nextSibling;if(n(o)&&!S.a.g.get(o,c))throw Error("Found end comment without a matching opening comment, as child of "+t);return null}return t.nextSibling},Cd:e,Vd:function(e){return(e=(o?e.text:e.nodeValue).match(i))?e[1]:null},Sc:function(t){if(s[S.a.R(t)]){var o=t.firstChild;if(o)do{if(1===o.nodeType){var i,a=null;if(i=o.firstChild)do{if(a)a.push(i);else if(e(i)){var u=r(i,!0);u?i=u:a=[i]}else n(i)&&(a=[i])}while(i=i.nextSibling);if(i=a)for(a=o.nextSibling,u=0;u<i.length;u++)a?t.insertBefore(i[u],a):t.appendChild(i[u])}}while(o=o.nextSibling)}}}}(),S.b("virtualElements",S.h),S.b("virtualElements.allowedBindings",S.h.ea),S.b("virtualElements.emptyNode",S.h.Ea),S.b("virtualElements.insertAfter",S.h.Wb),S.b("virtualElements.prepend",S.h.Vc),S.b("virtualElements.setDomNodeChildren",S.h.va),S.ga=function(){this.nd={}},S.a.extend(S.ga.prototype,{nodeHasBindings:function(e){switch(e.nodeType){case 1:return null!=e.getAttribute("data-bind")||S.j.getComponentNameForNode(e);case 8:return S.h.Cd(e);default:return!1}},getBindings:function(e,n){var t=(t=this.getBindingsString(e,n))?this.parseBindingsString(t,n,e):null;return S.j.tc(t,e,n,!1)},getBindingAccessors:function(e,n){var t=(t=this.getBindingsString(e,n))?this.parseBindingsString(t,n,e,{valueAccessors:!0}):null;return S.j.tc(t,e,n,!0)},getBindingsString:function(e){switch(e.nodeType){case 1:return e.getAttribute("data-bind");case 8:return S.h.Vd(e);default:return null}},parseBindingsString:function(e,n,t,r){try{var o,i=this.nd,a=e+(r&&r.valueAccessors||"");if(!(o=i[a])){var s,u="with($context){with($data||{}){return{"+S.m.vb(e,r)+"}}}";s=new Function("$context","$element",u),o=i[a]=s}return o(n,t)}catch(c){throw c.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+c.message,c}}}),S.ga.instance=new S.ga,S.b("bindingProvider",S.ga),function(){function e(e){var n=(e=S.a.g.get(e,E))&&e.N;n&&(e.N=null,n.Tc())}function n(n,t,r){this.node=n,this.yc=t,this.kb=[],this.H=!1,t.N||S.a.K.za(n,e),r&&r.N&&(r.N.kb.push(n),this.Kb=r)}function t(e){return function(){return e}}function r(e){return e()}function o(e){return S.a.Ga(S.u.G(e),(function(n,t){return function(){return e()[t]}}))}function i(e,n,r){return"function"==typeof e?o(e.bind(null,n,r)):S.a.Ga(e,t)}function c(e,n){return o(this.getBindings.bind(this,e,n))}function d(e,n){var t=S.h.firstChild(n);if(t){var r,o=S.ga.instance,i=o.preprocessNode;if(i){for(;r=t;)t=S.h.nextSibling(r),i.call(o,r);t=S.h.firstChild(n)}for(;r=t;)t=S.h.nextSibling(r),f(e,r)}S.i.ma(n,S.i.H)}function f(e,n){var t=e,r=1===n.nodeType;r&&S.h.Sc(n),(r||S.ga.instance.nodeHasBindings(n))&&(t=p(n,null,e).bindingContextForDescendants),t&&!b[S.a.R(n)]&&d(t,n)}function p(e,n,t){var o,i=S.a.g.Ub(e,E,{}),s=i.hd;if(!n){if(s)throw Error("You cannot apply bindings multiple times to the same element.");i.hd=!0}if(s||(i.context=t),i.Zb||(i.Zb={}),n&&"function"!=typeof n)o=n;else{var u=S.ga.instance,l=u.getBindingAccessors||c,d=S.$((function(){return(o=n?n(t,e):l.call(u,e,t))&&(t[g]&&t[g](),t[v]&&t[v]()),o}),null,{l:e});o&&d.ja()||(d=null)}var f,p=t;if(o){var h=function(){return S.a.Ga(d?d():o,r)},m=d?function(e){return function(){return r(d()[e])}}:function(e){return o[e]};h.get=function(e){return o[e]&&r(m(e))},h.has=function(e){return e in o},S.i.H in o&&S.i.subscribe(e,S.i.H,(function(){var n=(0,o[S.i.H])();if(n){var t=S.h.childNodes(e);t.length&&n(t,S.Ec(t[0]))}})),S.i.pa in o&&(p=S.i.Cb(e,t),S.i.subscribe(e,S.i.pa,(function(){var n=(0,o[S.i.pa])();n&&S.h.firstChild(e)&&n(e)}))),i=function(e){var n=[],t={},r=[];return S.a.P(e,(function o(i){if(!t[i]){var a=S.getBindingHandler(i);a&&(a.after&&(r.push(i),S.a.D(a.after,(function(n){if(e[n]){if(-1!==S.a.A(r,n))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+r.join(", "));o(n)}})),r.length--),n.push({key:i,Mc:a})),t[i]=!0}})),n}(o),S.a.D(i,(function(n){var t=n.Mc.init,r=n.Mc.update,i=n.key;if(8===e.nodeType&&!S.h.ea[i])throw Error("The binding '"+i+"' cannot be used with virtual elements");try{"function"==typeof t&&S.u.G((function(){var n=t(e,m(i),h,p.$data,p);if(n&&n.controlsDescendantBindings){if(f!==a)throw Error("Multiple bindings ("+f+" and "+i+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");f=i}})),"function"==typeof r&&S.$((function(){r(e,m(i),h,p.$data,p)}),null,{l:e})}catch(s){throw s.message='Unable to process binding "'+i+": "+o[i]+'"\nMessage: '+s.message,s}}))}return{shouldBindDescendants:i=f===a,bindingContextForDescendants:i&&p}}function h(e,n){return e&&e instanceof S.fa?e:new S.fa(e,a,a,n)}var g=S.a.Da("_subscribable"),m=S.a.Da("_ancestorBindingInfo"),v=S.a.Da("_dataDependency");S.c={};var b={script:!0,textarea:!0,template:!0};S.getBindingHandler=function(e){return S.c[e]};var y={};S.fa=function(e,n,t,r,o){function i(){var e=d?l():l,o=S.a.f(e);return n?(S.a.extend(u,n),m in n&&(u[m]=n[m])):(u.$parents=[],u.$root=o,u.ko=S),u[g]=s,c?o=u.$data:(u.$rawData=e,u.$data=o),t&&(u[t]=o),r&&r(u,n,o),n&&n[g]&&!S.S.o().Vb(n[g])&&n[g](),f&&(u[v]=f),u.$data}var s,u=this,c=e===y,l=c?a:e,d="function"==typeof l&&!S.O(l),f=o&&o.dataDependency;o&&o.exportDependencies?i():((s=S.xb(i)).v(),s.ja()?s.equalityComparer=null:u[g]=a)},S.fa.prototype.createChildContext=function(e,n,t,r){if(!r&&n&&"object"==typeof n&&(n=(r=n).as,t=r.extend),n&&r&&r.noChildContext){var o="function"==typeof e&&!S.O(e);return new S.fa(y,this,null,(function(r){t&&t(r),r[n]=o?e():e}),r)}return new S.fa(e,this,n,(function(e,n){e.$parentContext=n,e.$parent=n.$data,e.$parents=(n.$parents||[]).slice(0),e.$parents.unshift(e.$parent),t&&t(e)}),r)},S.fa.prototype.extend=function(e,n){return new S.fa(y,this,null,(function(n){S.a.extend(n,"function"==typeof e?e(n):e)}),n)};var E=S.a.g.Z();n.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},n.prototype.sd=function(e){S.a.Pa(this.kb,e),!this.kb.length&&this.H&&this.Cc()},n.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,S.a.K.yb(this.node,e),S.i.ma(this.node,S.i.pa),this.Tc())},S.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(e,n,t,r,o){var i=S.a.g.Ub(e,E,{});return i.Fa||(i.Fa=new S.T),o&&o.notifyImmediately&&i.Zb[n]&&S.u.G(t,r,[e]),i.Fa.subscribe(t,r,n)},ma:function(e,n){var t=S.a.g.get(e,E);if(t&&(t.Zb[n]=!0,t.Fa&&t.Fa.notifySubscribers(e,n),n==S.i.H))if(t.N)t.N.Cc();else if(t.N===a&&t.Fa&&t.Fa.Wa(S.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")},Cb:function(e,t){var r=S.a.g.Ub(e,E,{});return r.N||(r.N=new n(e,r,t[m])),t[m]==r?t:t.extend((function(e){e[m]=r}))}},S.Td=function(e){return(e=S.a.g.get(e,E))&&e.context},S.ib=function(e,n,t){return 1===e.nodeType&&S.h.Sc(e),p(e,n,h(t))},S.ld=function(e,n,t){return t=h(t),S.ib(e,i(n,t,e),t)},S.Oa=function(e,n){1!==n.nodeType&&8!==n.nodeType||d(h(e),n)},S.vc=function(e,n,t){if(!l&&s.jQuery&&(l=s.jQuery),2>arguments.length){if(!(n=u.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!n||1!==n.nodeType&&8!==n.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");f(h(e,t),n)},S.Dc=function(e){return!e||1!==e.nodeType&&8!==e.nodeType?a:S.Td(e)},S.Ec=function(e){return(e=S.Dc(e))?e.$data:a},S.b("bindingHandlers",S.c),S.b("bindingEvent",S.i),S.b("bindingEvent.subscribe",S.i.subscribe),S.b("bindingEvent.startPossiblyAsyncContentBinding",S.i.Cb),S.b("applyBindings",S.vc),S.b("applyBindingsToDescendants",S.Oa),S.b("applyBindingAccessorsToNode",S.ib),S.b("applyBindingsToNode",S.ld),S.b("contextFor",S.Dc),S.b("dataFor",S.Ec)}(),function(e){function n(n,r){var a,s=Object.prototype.hasOwnProperty.call(o,n)?o[n]:e;s?s.subscribe(r):((s=o[n]=new S.T).subscribe(r),t(n,(function(e,t){var r=!(!t||!t.synchronous);i[n]={definition:e,Gd:r},delete o[n],a||r?s.notifySubscribers(e):S.na.zb((function(){s.notifySubscribers(e)}))})),a=!0)}function t(e,n){r("getConfig",[e],(function(t){t?r("loadComponent",[e,t],(function(e){n(e,t)})):n(null,null)}))}function r(n,t,o,i){i||(i=S.j.loaders.slice(0));var a=i.shift();if(a){var s=a[n];if(s){var u=!1;if(s.apply(a,t.concat((function(e){u?o(null):null!==e?o(e):r(n,t,o,i)})))!==e&&(u=!0,!a.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else r(n,t,o,i)}else o(null)}var o={},i={};S.j={get:function(t,r){var o=Object.prototype.hasOwnProperty.call(i,t)?i[t]:e;o?o.Gd?S.u.G((function(){r(o.definition)})):S.na.zb((function(){r(o.definition)})):n(t,r)},Bc:function(e){delete i[e]},oc:r},S.j.loaders=[],S.b("components",S.j),S.b("components.get",S.j.get),S.b("components.clearCachedDefinition",S.j.Bc)}(),function(){function e(e,n,t,r){function i(){0==--s&&r(a)}var a={},s=2,u=t.template;t=t.viewModel,u?o(n,u,(function(n){S.j.oc("loadTemplate",[e,n],(function(e){a.template=e,i()}))})):i(),t?o(n,t,(function(n){S.j.oc("loadViewModel",[e,n],(function(e){a[c]=e,i()}))})):i()}function t(e){switch(S.a.R(e)){case"script":return S.a.ua(e.text);case"textarea":return S.a.ua(e.value);case"template":if(r(e.content))return S.a.Ca(e.content.childNodes)}return S.a.Ca(e.childNodes)}function r(e){return s.DocumentFragment?e instanceof DocumentFragment:e&&11===e.nodeType}function o(e,t,r){"string"==typeof t.require?n||s.require?(n||s.require)([t.require],(function(e){e&&"object"==typeof e&&e.Xd&&e["default"]&&(e=e["default"]),r(e)})):e("Uses require, but no AMD loader is present"):r(t)}function i(e){return function(n){throw Error("Component '"+e+"': "+n)}}var a={};S.j.register=function(e,n){if(!n)throw Error("Invalid configuration for "+e);if(S.j.tb(e))throw Error("Component "+e+" is already registered");a[e]=n},S.j.tb=function(e){return Object.prototype.hasOwnProperty.call(a,e)},S.j.unregister=function(e){delete a[e],S.j.Bc(e)},S.j.Fc={getConfig:function(e,n){n(S.j.tb(e)?a[e]:null)},loadComponent:function(n,t,r){var a=i(n);o(a,t,(function(t){e(n,a,t,r)}))},loadTemplate:function(e,n,o){if(e=i(e),"string"==typeof n)o(S.a.ua(n));else if(n instanceof Array)o(n);else if(r(n))o(S.a.la(n.childNodes));else if(n.element)if(n=n.element,s.HTMLElement?n instanceof HTMLElement:n&&n.tagName&&1===n.nodeType)o(t(n));else if("string"==typeof n){var a=u.getElementById(n);a?o(t(a)):e("Cannot find element with ID "+n)}else e("Unknown element type: "+n);else e("Unknown template value: "+n)},loadViewModel:function(e,n,t){!function r(e,n,t){if("function"==typeof n)t((function(e){return new n(e)}));else if("function"==typeof n[c])t(n[c]);else if("instance"in n){var o=n.instance;t((function(){return o}))}else"viewModel"in n?r(e,n.viewModel,t):e("Unknown viewModel value: "+n)}(i(e),n,t)}};var c="createViewModel";S.b("components.register",S.j.register),S.b("components.isRegistered",S.j.tb),S.b("components.unregister",S.j.unregister),S.b("components.defaultLoader",S.j.Fc),S.j.loaders.push(S.j.Fc),S.j.dd=a}(),function(){function e(e,t){if(r=e.getAttribute("params")){var r=n.parseBindingsString(r,t,e,{valueAccessors:!0,bindingParams:!0}),o=(r=S.a.Ga(r,(function(n){return S.o(n,null,{l:e})})),S.a.Ga(r,(function(n){var t=n.v();return n.ja()?S.o({read:function(){return S.a.f(n())},write:S.Za(t)&&function(e){n()(e)},l:e}):t})));return Object.prototype.hasOwnProperty.call(o,"$raw")||(o.$raw=r),o}return{$raw:{}}}S.j.getComponentNameForNode=function(e){var n=S.a.R(e);if(S.j.tb(n)&&(-1!=n.indexOf("-")||"[object HTMLUnknownElement]"==""+e||8>=S.a.W&&e.tagName===n))return n},S.j.tc=function(n,t,r,o){if(1===t.nodeType){var i=S.j.getComponentNameForNode(t);if(i){if((n=n||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');var a={name:i,params:e(t,r)};n.component=o?function(){return a}:a}}return n};var n=new S.ga;9>S.a.W&&(S.j.register=function(e){return function(n){return e.apply(this,arguments)}}(S.j.register),u.createDocumentFragment=function(e){return function(){var n,t=e(),r=S.j.dd;for(n in r);return t}}(u.createDocumentFragment))}(),function(){var e=0;S.c.component={init:function(n,t,r,o,i){function a(){var e=s&&s.dispose;"function"==typeof e&&e.call(s),c&&c.s(),u=s=c=null}var s,u,c,l=S.a.la(S.h.childNodes(n));return S.h.Ea(n),S.a.K.za(n,a),S.o((function(){var r,o,d=S.a.f(t());if("string"==typeof d?r=d:(r=S.a.f(d.name),o=S.a.f(d.params)),!r)throw Error("No component name specified");var f=S.i.Cb(n,i),p=u=++e;S.j.get(r,(function(e){if(u===p){if(a(),!e)throw Error("Unknown component '"+r+"'");!function(e,n,t){if(!(n=n.template))throw Error("Component '"+e+"' has no template");e=S.a.Ca(n),S.h.va(t,e)}(r,e,n);var t=function(e,n,t){var r=e.createViewModel;return r?r.call(e,n,t):n}(e,o,{element:n,templateNodes:l});e=f.createChildContext(t,{extend:function(e){e.$component=t,e.$componentTemplateNodes=l}}),t&&t.koDescendantsComplete&&(c=S.i.subscribe(n,S.i.pa,t.koDescendantsComplete,t)),s=t,S.Oa(e,n)}}))}),null,{l:n}),{controlsDescendantBindings:!0}}},S.h.ea.component=!0}();var N={"class":"className","for":"htmlFor"};S.c.attr={update:function(e,n){var t=S.a.f(n())||{};S.a.P(t,(function(n,t){t=S.a.f(t);var r=n.indexOf(":"),o=(r="lookupNamespaceURI"in e&&0<r&&e.lookupNamespaceURI(n.substr(0,r)),!1===t||null===t||t===a);o?r?e.removeAttributeNS(r,n):e.removeAttribute(n):t=t.toString(),8>=S.a.W&&n in N?(n=N[n],o?e.removeAttribute(n):e[n]=t):o||(r?e.setAttributeNS(r,n,t):e.setAttribute(n,t)),"name"===n&&S.a.Yc(e,o?"":t)}))}},S.c.checked={after:["value","attr"],init:function(e,n,t){function r(){var r=e.checked,u=o();if(!S.S.Ya()&&(r||!s&&!S.S.qa())){var d=S.u.G(n);if(c){var p=l?d.v():d,h=f;f=u,h!==u?r&&(S.a.Na(p,u,!0),S.a.Na(p,h,!1)):S.a.Na(p,u,r),l&&S.Za(d)&&d(p)}else i&&(u===a?u=r:r||(u=a)),S.m.eb(d,t,"checked",u,!0)}}var o=S.xb((function(){return t.has("checkedValue")?S.a.f(t.get("checkedValue")):d?t.has("value")?S.a.f(t.get("value")):e.value:void 0})),i="checkbox"==e.type,s="radio"==e.type;if(i||s){var u=n(),c=i&&S.a.f(u)instanceof Array,l=!(c&&u.push&&u.splice),d=s||c,f=c?o():a;s&&!e.name&&S.c.uniqueName.init(e,(function(){return!0})),S.o(r,null,{l:e}),S.a.B(e,"click",r),S.o((function(){var t=S.a.f(n()),r=o();c?(e.checked=0<=S.a.A(t,r),f=r):e.checked=i&&r===a?!!t:o()===t}),null,{l:e}),u=a}}},S.m.wa.checked=!0,S.c.checkedValue={update:function(e,n){e.value=S.a.f(n())}},S.c["class"]={update:function(e,n){var t=S.a.Db(S.a.f(n()));S.a.Eb(e,e.__ko__cssValue,!1),e.__ko__cssValue=t,S.a.Eb(e,t,!0)}},S.c.css={update:function(e,n){var t=S.a.f(n());null!==t&&"object"==typeof t?S.a.P(t,(function(n,t){t=S.a.f(t),S.a.Eb(e,n,t)})):S.c["class"].update(e,n)}},S.c.enable={update:function(e,n){var t=S.a.f(n());t&&e.disabled?e.removeAttribute("disabled"):t||e.disabled||(e.disabled=!0)}},S.c.disable={update:function(e,n){S.c.enable.update(e,(function(){return!S.a.f(n())}))}},S.c.event={init:function(e,n,t,r,o){var i=n()||{};S.a.P(i,(function(i){"string"==typeof i&&S.a.B(e,i,(function(e){var a,s=n()[i];if(s){try{var u=S.a.la(arguments);r=o.$data,u.unshift(r),a=s.apply(r,u)}finally{!0!==a&&(e.preventDefault?e.preventDefault():e.returnValue=!1)}!1===t.get(i+"Bubble")&&(e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation())}}))}))}},S.c.foreach={Rc:function(e){return function(){var n=e(),t=S.a.bc(n);return t&&"number"!=typeof t.length?(S.a.f(n),{foreach:t.data,as:t.as,noChildContext:t.noChildContext,includeDestroyed:t.includeDestroyed,afterAdd:t.afterAdd,beforeRemove:t.beforeRemove,afterRender:t.afterRender,beforeMove:t.beforeMove,afterMove:t.afterMove,templateEngine:S.ba.Ma}):{foreach:n,templateEngine:S.ba.Ma}}},init:function(e,n){return S.c.template.init(e,S.c.foreach.Rc(n))},update:function(e,n,t,r,o){return S.c.template.update(e,S.c.foreach.Rc(n),t,r,o)}},S.m.Ra.foreach=!1,S.h.ea.foreach=!0,S.c.hasfocus={init:function(e,n,t){function r(r){e.__ko_hasfocusUpdating=!0;var o=e.ownerDocument;if("activeElement"in o){var i;try{i=o.activeElement}catch(a){i=o.body}r=i===e}o=n(),S.m.eb(o,t,"hasfocus",r,!0),e.__ko_hasfocusLastValue=r,e.__ko_hasfocusUpdating=!1}var o=r.bind(null,!0),i=r.bind(null,!1);S.a.B(e,"focus",o),S.a.B(e,"focusin",o),S.a.B(e,"blur",i),S.a.B(e,"focusout",i),e.__ko_hasfocusLastValue=!1},update:function(e,n){var t=!!S.a.f(n());e.__ko_hasfocusUpdating||e.__ko_hasfocusLastValue===t||(t?e.focus():e.blur(),!t&&e.__ko_hasfocusLastValue&&e.ownerDocument.body.focus(),S.u.G(S.a.Fb,null,[e,t?"focusin":"focusout"]))}},S.m.wa.hasfocus=!0,S.c.hasFocus=S.c.hasfocus,S.m.wa.hasFocus="hasfocus",S.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(e,n){S.a.fc(e,n())}},function(){function e(e,n,t){S.c[e]={init:function(e,r,o,i,a){var s,u,c,l,d,f={};if(n){i=o.get("as");var p=o.get("noChildContext");f={as:i,noChildContext:p,exportDependencies:d=!(i&&p)}}return l=(c="render"==o.get("completeOn"))||o.has(S.i.pa),S.o((function(){var o,i=S.a.f(r()),p=!t!=!i,h=!u;(d||p!==s)&&(l&&(a=S.i.Cb(e,a)),p&&(n&&!d||(f.dataDependency=S.S.o()),o=n?a.createChildContext("function"==typeof i?i:r,f):S.S.qa()?a.extend(null,f):a),h&&S.S.qa()&&(u=S.a.Ca(S.h.childNodes(e),!0)),p?(h||S.h.va(e,S.a.Ca(u)),S.Oa(o,e)):(S.h.Ea(e),c||S.i.ma(e,S.i.H)),s=p)}),null,{l:e}),{controlsDescendantBindings:!0}}},S.m.Ra[e]=!1,S.h.ea[e]=!0}e("if"),e("ifnot",!1,!0),e("with",!0)}(),S.c["let"]={init:function(e,n,t,r,o){return n=o.extend(n),S.Oa(n,e),{controlsDescendantBindings:!0}}},S.h.ea["let"]=!0;var D={};S.c.options={init:function(e){if("select"!==S.a.R(e))throw Error("options binding applies only to SELECT elements");for(;0<e.length;)e.remove(0);return{controlsDescendantBindings:!0}},update:function(e,n,t){function r(){return S.a.jb(e.options,(function(e){return e.selected}))}function o(e,n,t){var r=typeof n;return"function"==r?n(e):"string"==r?e[n]:t}function i(n,t){if(h&&l)S.i.ma(e,S.i.H);else if(p.length){var r=0<=S.a.A(p,S.w.M(t[0]));S.a.Zc(t[0],r),h&&!r&&S.u.G(S.a.Fb,null,[e,"change"])}}var s=e.multiple,u=0!=e.length&&s?e.scrollTop:null,c=S.a.f(n()),l=t.get("valueAllowUnset")&&t.has("value"),d=t.get("optionsIncludeDestroyed");n={};var f,p=[];l||(s?p=S.a.Mb(r(),S.w.M):0<=e.selectedIndex&&p.push(S.w.M(e.options[e.selectedIndex]))),c&&("undefined"==typeof c.length&&(c=[c]),f=S.a.jb(c,(function(e){return d||e===a||null===e||!S.a.f(e._destroy)})),t.has("optionsCaption")&&null!==(c=S.a.f(t.get("optionsCaption")))&&c!==a&&f.unshift(D));var h=!1;n.beforeRemove=function(n){e.removeChild(n)},c=i,t.has("optionsAfterRender")&&"function"==typeof t.get("optionsAfterRender")&&(c=function(e,n){i(0,n),S.u.G(t.get("optionsAfterRender"),null,[n[0],e!==D?e:a])}),S.a.ec(e,f,(function(n,r,i){return i.length&&(p=!l&&i[0].selected?[S.w.M(i[0])]:[],h=!0),r=e.ownerDocument.createElement("option"),n===D?(S.a.Bb(r,t.get("optionsCaption")),S.w.cb(r,a)):(i=o(n,t.get("optionsValue"),n),S.w.cb(r,S.a.f(i)),n=o(n,t.get("optionsText"),i),S.a.Bb(r,n)),[r]}),n,c),l||(s?p.length&&r().length<p.length:p.length&&0<=e.selectedIndex?S.w.M(e.options[e.selectedIndex])!==p[0]:p.length||0<=e.selectedIndex)&&S.u.G(S.a.Fb,null,[e,"change"]),(l||S.S.Ya())&&S.i.ma(e,S.i.H),S.a.wd(e),u&&20<Math.abs(u-e.scrollTop)&&(e.scrollTop=u)}},S.c.options.$b=S.a.g.Z(),S.c.selectedOptions={init:function(e,n,t){function r(){var r=n(),o=[];S.a.D(e.getElementsByTagName("option"),(function(e){e.selected&&o.push(S.w.M(e))})),S.m.eb(r,t,"selectedOptions",o)}function o(){var t=S.a.f(n()),r=e.scrollTop;t&&"number"==typeof t.length&&S.a.D(e.getElementsByTagName("option"),(function(e){var n=0<=S.a.A(t,S.w.M(e));e.selected!=n&&S.a.Zc(e,n)})),e.scrollTop=r}if("select"!=S.a.R(e))throw Error("selectedOptions binding applies only to SELECT elements");var i;S.i.subscribe(e,S.i.H,(function(){i?r():(S.a.B(e,"change",r),i=S.o(o,null,{l:e}))}),null,{notifyImmediately:!0})},update:function(){}},S.m.wa.selectedOptions=!0,S.c.style={update:function(e,n){var t=S.a.f(n()||{});S.a.P(t,(function(n,t){if(null!==(t=S.a.f(t))&&t!==a&&!1!==t||(t=""),l)l(e).css(n,t);else if(/^--/.test(n))e.style.setProperty(n,t);else{n=n.replace(/-(\w)/g,(function(e,n){return n.toUpperCase()}));var r=e.style[n];e.style[n]=t,t===r||e.style[n]!=r||isNaN(t)||(e.style[n]=t+"px")}}))}},S.c.submit={init:function(e,n,t,r,o){if("function"!=typeof n())throw Error("The value for a submit binding must be a function");S.a.B(e,"submit",(function(t){var r,i=n();try{r=i.call(o.$data,e)}finally{!0!==r&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}}))}},S.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(e,n){S.a.Bb(e,n())}},S.h.ea.text=!0,function(){if(s&&s.navigator){var e,n,t,r,o,i=function(e){if(e)return parseFloat(e[1])},u=s.navigator.userAgent;(e=s.opera&&s.opera.version&&parseInt(s.opera.version()))||(o=i(u.match(/Edge\/([^ ]+)$/)))||i(u.match(/Chrome\/([^ ]+)/))||(n=i(u.match(/Version\/([^ ]+) Safari/)))||(t=i(u.match(/Firefox\/([^ ]+)/)))||(r=S.a.W||i(u.match(/MSIE ([^ ]+)/)))||(r=i(u.match(/rv:([^ )]+)/)))}if(8<=r&&10>r)var c=S.a.g.Z(),l=S.a.g.Z(),d=function(e){var n=this.activeElement;(n=n&&S.a.g.get(n,l))&&n(e)},f=function(e,n){var t=e.ownerDocument;S.a.g.get(t,c)||(S.a.g.set(t,c,!0),S.a.B(t,"selectionchange",d)),S.a.g.set(e,l,n)};S.c.textInput={init:function(i,s,u){function c(e,n){S.a.B(i,e,n)}function l(){p||(h=i.value,p=S.a.setTimeout(d,4))}function d(){clearTimeout(p),h=p=a;var e=i.value;g!==e&&(g=e,S.m.eb(s(),u,"textInput",e))}var p,h,g=i.value,m=9==S.a.W?l:d,v=!1;r&&c("keypress",d),11>r&&c("propertychange",(function(e){v||"value"!==e.propertyName||m(e)})),8==r&&(c("keyup",d),c("keydown",d)),f&&(f(i,m),c("dragend",l)),(!r||9<=r)&&c("input",m),5>n&&"textarea"===S.a.R(i)?(c("keydown",l),c("paste",l),c("cut",l)):11>e?c("keydown",l):4>t?(c("DOMAutoComplete",d),c("dragdrop",d),c("drop",d)):o&&"number"===i.type&&c("keydown",l),c("change",d),c("blur",d),S.o((function b(){var e=S.a.f(s());null!==e&&e!==a||(e=""),h!==a&&e===h?S.a.setTimeout(b,4):i.value!==e&&(v=!0,i.value=e,v=!1,g=i.value)}),null,{l:i})}},S.m.wa.textInput=!0,S.c.textinput={preprocess:function(e,n,t){t("textInput",e)}}}(),S.c.uniqueName={init:function(e,n){if(n()){var t="ko_unique_"+ ++S.c.uniqueName.rd;S.a.Yc(e,t)}}},S.c.uniqueName.rd=0,S.c.using={init:function(e,n,t,r,o){var i;return t.has("as")&&(i={as:t.get("as"),noChildContext:t.get("noChildContext")}),n=o.createChildContext(n,i),S.Oa(n,e),{controlsDescendantBindings:!0}}},S.h.ea.using=!0,S.c.value={init:function(e,n,t){var r=S.a.R(e),o="input"==r;if(!o||"checkbox"!=e.type&&"radio"!=e.type){var i=[],s=t.get("valueUpdate"),u=!1,c=null;s&&(i="string"==typeof s?[s]:S.a.wc(s),S.a.Pa(i,"change"));var l,d,f=function(){c=null,u=!1;var r=n(),o=S.w.M(e);S.m.eb(r,t,"value",o)};!S.a.W||!o||"text"!=e.type||"off"==e.autocomplete||e.form&&"off"==e.form.autocomplete||-1!=S.a.A(i,"propertychange")||(S.a.B(e,"propertychange",(function(){u=!0})),S.a.B(e,"focus",(function(){u=!1})),S.a.B(e,"blur",(function(){u&&f()}))),S.a.D(i,(function(n){var t=f;S.a.Ud(n,"after")&&(t=function(){c=S.w.M(e),S.a.setTimeout(f,0)},n=n.substring(5)),S.a.B(e,n,t)})),l=o&&"file"==e.type?function(){var t=S.a.f(n());null===t||t===a||""===t?e.value="":S.u.G(f)}:function(){var o=S.a.f(n()),i=S.w.M(e);null!==c&&o===c?S.a.setTimeout(l,0):o===i&&i!==a||("select"===r?(i=t.get("valueAllowUnset"),S.w.cb(e,o,i),i||o===S.w.M(e)||S.u.G(f)):S.w.cb(e,o))},"select"===r?S.i.subscribe(e,S.i.H,(function(){d?t.get("valueAllowUnset")?l():f():(S.a.B(e,"change",f),d=S.o(l,null,{l:e}))}),null,{notifyImmediately:!0}):(S.a.B(e,"change",f),S.o(l,null,{l:e}))}else S.ib(e,{checkedValue:n})},update:function(){}},S.m.wa.value=!0,S.c.visible={update:function(e,n){var t=S.a.f(n()),r="none"!=e.style.display;t&&!r?e.style.display="":!t&&r&&(e.style.display="none")}},S.c.hidden={update:function(e,n){S.c.visible.update(e,(function(){return!S.a.f(n())}))}},function(e){S.c[e]={init:function(n,t,r,o,i){return S.c.event.init.call(this,n,(function(){var n={};return n[e]=t(),n}),r,o,i)}}}("click"),S.ca=function(){},S.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},S.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},S.ca.prototype.makeTemplateSource=function(e,n){if("string"==typeof e){var t=(n=n||u).getElementById(e);if(!t)throw Error("Cannot find template with ID "+e);return new S.C.F(t)}if(1==e.nodeType||8==e.nodeType)return new S.C.ia(e);throw Error("Unknown template type: "+e)},S.ca.prototype.renderTemplate=function(e,n,t,r){return e=this.makeTemplateSource(e,r),this.renderTemplateSource(e,n,t,r)},S.ca.prototype.isTemplateRewritten=function(e,n){return!1===this.allowTemplateRewriting||this.makeTemplateSource(e,n).data("isRewritten")},S.ca.prototype.rewriteTemplate=function(e,n,t){n=n((e=this.makeTemplateSource(e,t)).text()),e.text(n),e.data("isRewritten",!0)},S.b("templateEngine",S.ca),S.kc=function(){function e(e,n,t,r){e=S.m.ac(e);for(var o=S.m.Ra,i=0;i<e.length;i++){var a=e[i].key;if(Object.prototype.hasOwnProperty.call(o,a)){var s=o[a];if("function"==typeof s){if(a=s(e[i].value))throw Error(a)}else if(!s)throw Error("This template engine does not support the '"+a+"' binding within its templates")}}return t="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+S.m.vb(e,{valueAccessors:!0})+" } })()},'"+t.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(t)+n}var n=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,t=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(e,n,t){n.isTemplateRewritten(e,t)||n.rewriteTemplate(e,(function(e){return S.kc.Ld(e,n)}),t)},Ld:function(r,o){return r.replace(n,(function(n,t,r,i,a){return e(a,t,r,o)})).replace(t,(function(n,t){return e(t,"\x3c!-- ko --\x3e","#comment",o)}))},md:function(e,n){return S.aa.Xb((function(t,r){var o=t.nextSibling;o&&o.nodeName.toLowerCase()===n&&S.ib(o,e,r)}))}}}(),S.b("__tr_ambtns",S.kc.md),function(){S.C={},S.C.F=function(e){if(this.F=e){var n=S.a.R(e);this.ab="script"===n?1:"textarea"===n?2:"template"==n&&e.content&&11===e.content.nodeType?3:4}},S.C.F.prototype.text=function(){var e=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[e];var n=arguments[0];"innerHTML"===e?S.a.fc(this.F,n):this.F[e]=n};var e=S.a.g.Z()+"_";S.C.F.prototype.data=function(n){if(1===arguments.length)return S.a.g.get(this.F,e+n);S.a.g.set(this.F,e+n,arguments[1])};var n=S.a.g.Z();S.C.F.prototype.nodes=function(){var e=this.F;if(0==arguments.length){var t=S.a.g.get(e,n)||{},r=t.lb||(3===this.ab?e.content:4===this.ab?e:a);if(!r||t.jd){var o=this.text();o&&o!==t.bb&&(r=S.a.Md(o,e.ownerDocument),S.a.g.set(e,n,{lb:r,bb:o,jd:!0}))}return r}t=arguments[0],this.ab!==a&&this.text(""),S.a.g.set(e,n,{lb:t})},S.C.ia=function(e){this.F=e},S.C.ia.prototype=new S.C.F,S.C.ia.prototype.constructor=S.C.ia,S.C.ia.prototype.text=function(){if(0==arguments.length){var e=S.a.g.get(this.F,n)||{};return e.bb===a&&e.lb&&(e.bb=e.lb.innerHTML),e.bb}S.a.g.set(this.F,n,{bb:arguments[0]})},S.b("templateSources",S.C),S.b("templateSources.domElement",S.C.F),S.b("templateSources.anonymousTemplate",S.C.ia)}(),function(){function e(e,n,t){var r;for(n=S.h.nextSibling(n);e&&(r=e)!==n;)t(r,e=S.h.nextSibling(r))}function n(n,t){if(n.length){var r=n[0],o=n[n.length-1],i=r.parentNode,a=S.ga.instance,s=a.preprocessNode;if(s){if(e(r,o,(function(e,n){var t=e.previousSibling,i=s.call(a,e);i&&(e===r&&(r=i[0]||n),e===o&&(o=i[i.length-1]||t))})),n.length=0,!r)return;r===o?n.push(r):(n.push(r,o),S.a.Ua(n,i))}e(r,o,(function(e){1!==e.nodeType&&8!==e.nodeType||S.vc(t,e)})),e(r,o,(function(e){1!==e.nodeType&&8!==e.nodeType||S.aa.cd(e,[t])})),S.a.Ua(n,i)}}function t(e){return e.nodeType?e:0<e.length?e[0]:null}function r(e,r,o,a,s){s=s||{};var u=(e&&t(e)||o||{}).ownerDocument,c=s.templateEngine||i;if(S.kc.xd(o,c,u),"number"!=typeof(o=c.renderTemplate(o,a,s,u)).length||0<o.length&&"number"!=typeof o[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(u=!1,r){case"replaceChildren":S.h.va(e,o),u=!0;break;case"replaceNode":S.a.Xc(e,o),u=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+r)}return u&&(n(o,a),s.afterRender&&S.u.G(s.afterRender,null,[o,a[s.as||"$data"]]),"replaceChildren"==r&&S.i.ma(e,S.i.H)),o}function o(e,n,t){return S.O(e)?e():"function"==typeof e?e(n,t):e}var i;S.gc=function(e){if(e!=a&&!(e instanceof S.ca))throw Error("templateEngine must inherit from ko.templateEngine");i=e},S.dc=function(e,n,s,u,c){if(((s=s||{}).templateEngine||i)==a)throw Error("Set a template engine before calling renderTemplate");if(c=c||"replaceChildren",u){var l=t(u);return S.$((function(){var i=n&&n instanceof S.fa?n:new S.fa(n,null,null,null,{exportDependencies:!0}),a=o(e,i.$data,i);i=r(u,c,a,i,s),"replaceNode"==c&&(l=t(u=i))}),null,{Sa:function(){return!l||!S.a.Sb(l)},l:l&&"replaceNode"==c?l.parentNode:l})}return S.aa.Xb((function(t){S.dc(e,n,s,t,"replaceNode")}))},S.Qd=function(e,t,i,s,u){function c(e,n){S.u.G(S.a.ec,null,[s,e,d,i,l,n]),S.i.ma(s,S.i.H)}function l(e,t){n(t,f),i.afterRender&&i.afterRender(t,e),f=null}function d(n,t){f=u.createChildContext(n,{as:p,noChildContext:i.noChildContext,extend:function(e){e.$index=t,p&&(e[p+"Index"]=t)}});var a=o(e,n,f);return r(s,"ignoreTargetNode",a,f,i)}var f,p=i.as,h=!1===i.includeDestroyed||S.options.foreachHidesDestroyed&&!i.includeDestroyed;if(h||i.beforeRemove||!S.Pc(t))return S.$((function(){var e=S.a.f(t)||[];"undefined"==typeof e.length&&(e=[e]),h&&(e=S.a.jb(e,(function(e){return e===a||null===e||!S.a.f(e._destroy)}))),c(e)}),null,{l:s});c(t.v());var g=t.subscribe((function(e){c(t(),e)}),null,"arrayChange");return g.l(s),g};var s=S.a.g.Z(),u=S.a.g.Z();S.c.template={init:function(e,n){var t=S.a.f(n());if("string"==typeof t||"name"in t)S.h.Ea(e);else if("nodes"in t){if(t=t.nodes||[],S.O(t))throw Error('The "nodes" option must be a plain, non-observable array.');var r=t[0]&&t[0].parentNode;r&&S.a.g.get(r,u)||(r=S.a.Yb(t),S.a.g.set(r,u,!0)),new S.C.ia(e).nodes(r)}else{if(!(0<(t=S.h.childNodes(e)).length))throw Error("Anonymous template defined, but no template content was provided");r=S.a.Yb(t),new S.C.ia(e).nodes(r)}return{controlsDescendantBindings:!0}},update:function(e,n,t,r,o){var i=n();t=!0,r=null,"string"==typeof(n=S.a.f(i))?n={}:(i="name"in n?n.name:e,"if"in n&&(t=S.a.f(n["if"])),t&&"ifnot"in n&&(t=!S.a.f(n.ifnot)),t&&!i&&(t=!1)),"foreach"in n?r=S.Qd(i,t&&n.foreach||[],n,e,o):t?(t=o,"data"in n&&(t=o.createChildContext(n.data,{as:n.as,noChildContext:n.noChildContext,exportDependencies:!0})),r=S.dc(i,t,n,e)):S.h.Ea(e),o=r,(n=S.a.g.get(e,s))&&"function"==typeof n.s&&n.s(),S.a.g.set(e,s,!o||o.ja&&!o.ja()?a:o)}},S.m.Ra.template=function(e){return 1==(e=S.m.ac(e)).length&&e[0].unknown||S.m.Id(e,"name")?null:"This template engine does not support anonymous templates nested within its templates"},S.h.ea.template=!0}(),S.b("setTemplateEngine",S.gc),S.b("renderTemplate",S.dc),S.a.Kc=function(e,n,t){var r,o,i,a,s;if(e.length&&n.length)for(r=o=0;(!t||r<t)&&(a=e[o]);++o){for(i=0;s=n[i];++i)if(a.value===s.value){a.moved=s.index,s.moved=a.index,n.splice(i,1),r=i=0;break}r+=i}},S.a.Pb=function(){function e(e,n,t,r,o){var i,a,s,u,c,l=Math.min,d=Math.max,f=[],p=e.length,h=n.length,g=h-p||1,m=p+h+1;for(i=0;i<=p;i++)for(u=s,f.push(s=[]),c=l(h,i+g),a=d(0,i-1);a<=c;a++)s[a]=a?i?e[i-1]===n[a-1]?u[a-1]:l(u[a]||m,s[a-1]||m)+1:a+1:i+1;for(l=[],d=[],g=[],i=p,a=h;i||a;)h=f[i][a]-1,a&&h===f[i][a-1]?d.push(l[l.length]={status:t,value:n[--a],index:a}):i&&h===f[i-1][a]?g.push(l[l.length]={status:r,value:e[--i],index:i}):(--a,--i,o.sparse||l.push({status:"retained",value:n[a]}));return S.a.Kc(g,d,!o.dontLimitMoves&&10*p),l.reverse()}return function(n,t,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},t=t||[],(n=n||[]).length<t.length?e(n,t,"added","deleted",r):e(t,n,"deleted","added",r)}}(),S.b("utils.compareArrays",S.a.Pb),function(){function e(e,n,t,r,o){var i=[],s=S.$((function(){var a=n(t,o,S.a.Ua(i,e))||[];0<i.length&&(S.a.Xc(i,a),r&&S.u.G(r,null,[t,a,o])),i.length=0,S.a.Nb(i,a)}),null,{l:e,Sa:function(){return!S.a.kd(i)}});return{Y:i,$:s.ja()?s:a}}var n=S.a.g.Z(),t=S.a.g.Z();S.a.ec=function(r,o,i,s,u,c){function l(e){p={Aa:e,pb:S.ta(C++)},y.push(p),b||_.push(p)}function d(e){p=v[e],C!==p.pb.v()&&A.push(p),p.pb(C++),S.a.Ua(p.Y,r),y.push(p)}function f(e,n){if(e)for(var t=0,r=n.length;t<r;t++)S.a.D(n[t].Y,(function(r){e(r,t,n[t].Aa)}))}"undefined"==typeof(o=o||[]).length&&(o=[o]),s=s||{};var p,h,g,m,v=S.a.g.get(r,n),b=!v,y=[],E=0,C=0,w=[],P=[],T=[],A=[],_=[],x=0;if(b)S.a.D(o,l);else{if(!c||v&&v._countWaitingForRemove){var O=S.a.Mb(v,(function(e){return e.Aa}));c=S.a.Pb(O,o,{dontLimitMoves:s.dontLimitMoves,sparse:!0})}var N,D,k;for(O=0;N=c[O];O++)switch(D=N.moved,k=N.index,N.status){case"deleted":for(;E<k;)d(E++);D===a&&((p=v[E]).$&&(p.$.s(),p.$=a),S.a.Ua(p.Y,r).length&&(s.beforeRemove&&(y.push(p),x++,p.Aa===t?p=null:T.push(p)),p&&w.push.apply(w,p.Y))),E++;break;case"added":for(;C<k;)d(E++);D!==a?(P.push(y.length),d(D)):l(N.value)}for(;C<o.length;)d(E++);y._countWaitingForRemove=x}S.a.g.set(r,n,y),f(s.beforeMove,A),S.a.D(w,s.beforeRemove?S.oa:S.removeNode);try{m=r.ownerDocument.activeElement}catch(I){}if(P.length)for(;(O=P.shift())!=a;){for(p=y[O],h=a;O;)if((g=y[--O].Y)&&g.length){h=g[g.length-1];break}for(o=0;E=p.Y[o];h=E,o++)S.h.Wb(r,E,h)}for(O=0;p=y[O];O++){for(p.Y||S.a.extend(p,e(r,i,p.Aa,u,p.pb)),o=0;E=p.Y[o];h=E,o++)S.h.Wb(r,E,h);!p.Ed&&u&&(u(p.Aa,p.Y,p.pb),p.Ed=!0,h=p.Y[p.Y.length-1])}for(m&&r.ownerDocument.activeElement!=m&&m.focus(),f(s.beforeRemove,T),O=0;O<T.length;++O)T[O].Aa=t;f(s.afterMove,A),f(s.afterAdd,_)}}(),S.b("utils.setDomNodeChildrenFromArrayMapping",S.a.ec),S.ba=function(){this.allowTemplateRewriting=!1},S.ba.prototype=new S.ca,S.ba.prototype.constructor=S.ba,S.ba.prototype.renderTemplateSource=function(e,n,t,r){return(n=9>S.a.W||!e.nodes?null:e.nodes())?S.a.la(n.cloneNode(!0).childNodes):(e=e.text(),S.a.ua(e,r))},S.ba.Ma=new S.ba,S.gc(S.ba.Ma),S.b("nativeTemplateEngine",S.ba),function(){S.$a=function(){var e=this.Hd=function(){if(!l||!l.tmpl)return 0;try{if(0<=l.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(e){}return 1}();this.renderTemplateSource=function(n,t,r,o){if(o=o||u,r=r||{},2>e)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var i=n.data("precompiled");return i||(i=n.text()||"",i=l.template(null,"{{ko_with $item.koBindingContext}}"+i+"{{/ko_with}}"),n.data("precompiled",i)),n=[t.$data],t=l.extend({koBindingContext:t},r.templateOptions),(t=l.tmpl(i,n,t)).appendTo(o.createElement("div")),l.fragments={},t},this.createJavaScriptEvaluatorBlock=function(e){return"{{ko_code ((function() { return "+e+" })()) }}"},this.addTemplate=function(e,n){u.write("<script type='text/html' id='"+e+"'>"+n+"<\/script>")},0<e&&(l.tmpl.tag.ko_code={open:"__.push($1 || '');"},l.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},S.$a.prototype=new S.ca,S.$a.prototype.constructor=S.$a;var e=new S.$a;0<e.Hd&&S.gc(e),S.b("jqueryTmplTemplateEngine",S.$a)}()}))}()},function(e,n,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=t(7),i=t(0),a=t(1),s=t(17),u=t(9).getInstance(window.ServerData),c=i.String,l=a.Helper,d=o.KeyCode;function f(e){e.preventDefault?e.preventDefault():e.returnValue=!1}n.applyExtensions=function(e){var n,t=1,o={};e.components.loaders.unshift({loadComponent:function(n,t,r){e.components.defaultLoader.loadComponent(n,t,(function(n){var i;t.enableExtensions&&(i=n.createViewModel,n.createViewModel=function(n,t){var r=i(n,t);return function(n,t){var r=t.componentId;if(r&&o[r]){var i=o[r],a=i.parentViewModel,c=i.alias,l=e.unwrap(i.events)||{};c&&("string"==typeof c&&(c=a[c]),e.isWritableObservable(c)&&(c(n),e.utils.domNodeDisposal.addDisposeCallback(t,(function(){c(null)})))),e.utils.objectForEach(l,(function(e,t){e&&t&&("load"===e?t.call(a,n):(e="on"+e.charAt(0).toUpperCase()+e.substr(1),s.isComponentEvent(n[e])&&n[e].subscribe((function(r){return n[e].tracingOptions&&u.logComponentEvent(n,n[e].tracingOptions,e,r),t.apply(a,r)}))))}))}}(r,t.element),r}),r(n)}))}}),n=e.bindingHandlers.component.init,e.bindingHandlers.component.init=function(r,i,a,s,u){var c=e.unwrap(i());if("string"!=typeof c){var l=c.publicMethods,d=c.event;if(c.disabled)return;if(l||d){var f=r.componentId=t++;o[f]={parentViewModel:s,alias:l,events:d},e.utils.domNodeDisposal.addDisposeCallback(r,(function(){delete o[f]}))}}return n(r,i,a,s,u)},e.bindingHandlers.pageViewComponent={init:function(n,t,r,o,i){var a=e.unwrap(t());a.publicMethods=o.viewInterfaces[i.$index()],a.event=a.event||{},a.event.load=o.view_onLoad,a.event.switchView=o.view_onSwitchView;return e.bindingHandlers.component.init(n,(function(){return a}),r,o,i)}},e.bindingHandlers.component.preprocess=function(e){return!e||'"'!==e.charAt(0)&&"'"!==e.charAt(0)?e:c.format("{ name: {0}, params: { } }",e)},e.bindingHandlers.defineGlobals={init:function(n,t,r,o,i){function a(e){var n="";try{var t=document.createElement("div");t.innerHTML=e,t.childNodes.length>0&&t.childNodes[0].value&&(n=t.childNodes[0].value)}catch(r){}return n}var s=e.unwrap(t());s.sFT=a(s.sFT)||s.sFT||a(s.sFTTag);var u=i.extend({svr:s,str:s.str,html:s.html,$location:e.observable()});if(u.$location.subscribe((function(e){e&&document.location.replace(e)})),r.has("bodyCssClass")){var c=l.getIEVersion();if(c){var d={css:{}};d.css["IE_M"+c]=!0,e.applyBindingsToNode(n,d)}if(l.isHighContrast()){var f=l.getHighContrastTheme(),p="black"===f;if(p||"white"===f){var h=p?"theme-dark":"theme-light",g={css:{}};g.css[h]=!0,e.applyBindingsToNode(n,g)}}}return e.applyBindingsToDescendants(u,n),{controlsDescendantBindings:!0}}},e.bindingHandlers.autoSubmit={update:function(n,t){var r=t();e.unwrap(r)&&(e.isWritableObservable(r)&&r(!1),n.submit())}},e.bindingHandlers.postRedirectForm={init:function(e){e.setAttribute("method","POST"),e.setAttribute("aria-hidden","true"),e.setAttribute("target","_top")},update:function(n,t){var r=e.unwrap(t());r&&r.url&&(n.setAttribute("action",r.url),r.target&&n.setAttribute("target",r.target),r.postParams&&e.utils.objectForEach(r.postParams,(function(e,t){"unsafe_"===e.substr(0,7)&&(e=e.substr(7)),null!==t&&t!==undefined||(t="");var r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",e),r.setAttribute("value",t),n.appendChild(r)})),n.submit())}},e.bindingHandlers.href={update:function(n,t){e.bindingHandlers.attr.update(n,(function(){return{href:t()}}))}},e.bindingHandlers.placeholder={update:function(n,t){e.bindingHandlers.attr.update(n,(function(){return{placeholder:t()}}))}},e.bindingHandlers.ariaLabel={update:function(n,t){e.bindingHandlers.attr.update(n,(function(){return{"aria-label":t()}}))}},e.bindingHandlers.ariaDescribedBy={update:function(n,t){e.bindingHandlers.attr.update(n,(function(){return{"aria-describedby":t()}}))}},e.bindingHandlers.htmlWithBindings={init:function(){return{controlsDescendantBindings:!0}},update:function(n,t,r,o,i){e.utils.setHtml(n,t());var a=r.get("childBindings");if(a)for(var s in a)if(a.hasOwnProperty(s)){var u=document.getElementById(s);u&&e.applyBindingsToNode(u,a[s],i)}e.applyBindingsToDescendants(i,n)}},e.bindingHandlers.backgroundImage={update:function(e,n){var t=n();function r(n){e.style.backgroundImage=n?c.format("url('{0}')",n):""}var o=window.$Loader,i=new Image;i.onerror=function(){o&&o.On&&o.On(i,!0,r)},i.src=t,r(t)}},e.bindingHandlers.addEventHandlers={init:function(e){var n=window.$Loader;e.onerror=function(){if(n&&n.OnError)return n.OnError(e,(function(n){e.src=n}))}}},e.bindingHandlers.wizardCssCheck={update:function(e,n,t,r,o){if(CSSLoadFail()){var i=document.getElementById("mainDiv");i&&(i.style.display="none")}}},e.bindingHandlers.withProperties={init:function(n,t,r,o,i){var a=i.extend(t);return e.applyBindingsToDescendants(a,n),{controlsDescendantBindings:!0}}},e.bindingHandlers.clickExpr={preprocess:function(e){return"function ($data, $event) { "+e+" }"},init:function(n,t,r,o,i){return e.bindingHandlers.click.init.call(this,n,t,r,o,i)}},e.bindingHandlers.imgSrc={init:function(e){var n=window.$Loader;e.onerror=function(){if(n&&n.On)return n.On(e,!0,(function(n){e.src=n}))},l.isSvgImgSupported()?e.src=e.getAttribute("svgSrc"):e.src=e.getAttribute("pngSrc")}},e.bindingHandlers.svgSrc={update:function(n,t,r){var o=e.unwrap(t());e.bindingHandlers.attr.update(n,(function(){o&&l.isSvgImgSupported()&&(o=o.replace(new RegExp(".png$"),".svg"));var e=r.get("format");if(e)for(var n in e)e.hasOwnProperty(n)&&!e[n]&&(o=o.replace(n,""));return{src:o}}))}},e.bindingHandlers.injectScript={init:function(n,t){var r=e.unwrap(t()),o=document.createElement("script");return o.type="text/javascript",o.src=r,n.appendChild(o),{controlsDescendantBindings:!0}}},e.bindingHandlers.injectIframe={init:function(n,t){var r=e.unwrap(t());if(r&&r.url){var o=document.createElement("iframe");o.height="0",o.width="0",o.style.display="none",o.src=e.unwrap(r.url),r.onload&&(o.onload=function(){r.onload(o)}),n.appendChild(o)}return{controlsDescendantBindings:!0}}},e.bindingHandlers.injectDfpIframe={init:function(n,t){var r=e.unwrap(t());if(r&&r.url){var o=document.createElement("iframe");o.id="iDeviceFingerPrinting",o.setAttribute("style","color:#000000;float:left;visibility:hidden;position:absolute;width:1px;height:1px;left:-10000px;top:-10000px;border:0px"),o.src=e.unwrap(r.url),r.onload&&(o.onload=function(){r.onload(o)}),n.appendChild(o)}return{controlsDescendantBindings:!0}}},e.bindingHandlers.hasFocusEx={init:e.bindingHandlers.hasFocus.init,update:function(n,t,r,o,i){if(e.bindingHandlers.hasFocus.update(n,t,r,o,i),e.unwrap(t())){if(n.value){var a=n.value.length;if("selectionStart"in n)setTimeout((function(){try{n.selectionStart=a,n.selectionEnd=a}catch(e){}}),0);else if("createTextRange"in n){var s=n.createTextRange();s.moveStart("character",a),s.collapse(),s.moveEnd("character",a),s.select()}}n.focus()}else n.blur()}},e.bindingHandlers.preventTabbing={init:function(n,t){var r=e.unwrap(t())||{};"none"!==r.direction&&e.utils.registerEventHandler(n,"keydown",(function(e){return"Tab"!==(e=e||window.event).code&&e.keyCode!==d.Tab||!(!r.direction||"both"===r.direction||"up"===r.direction&&e.shiftKey||"down"===r.direction&&!e.shiftKey)||(f(e),!1)}))}},e.bindingHandlers.ariaHidden={update:function(n,t){e.bindingHandlers.attr.update(n,(function(){return{"aria-hidden":e.unwrap(t())}}))}},e.bindingHandlers.moveOffScreen={update:function(n,t){var o=e.unwrap(t());if("object"!==r(o)){var i=!1!==o;o={setClass:i,setTabIndex:i,setAriaHidden:i}}e.bindingHandlers.css.update(n,(function(){return{moveOffScreen:!1!==o.setClass}})),e.bindingHandlers.attr.update(n,(function(){return{tabindex:!1!==o.setTabIndex?-1:0}})),e.bindingHandlers.ariaHidden.update(n,(function(){return!1!==o.setAriaHidden}))}},e.bindingHandlers.pressEnter={init:function(n,t,r,o,i){var a=e.unwrap(t()),s=i.$data;e.utils.registerEventHandler(n,"keydown",(function(e){return"Enter"!==(e=e||window.event).code&&e.keyCode!==d.Enter||(f(e),a(s,e),!1)}))}},e.bindingHandlers.isScrolledToBottom={init:function(n,t){var r=e.unwrap(t()),o=r.disabled,i=r.value,a=r.sticky;function s(){var e=n.scrollTop+n.offsetHeight>=n.scrollHeight;return i(e),a&&e&&u(),e}function u(){l.removeEventListener(n,"scroll",s),l.removeEventListener(window,"resize",s)}!o&&e.isWritableObservable(i)&&(a&&s()||(l.addEventListener(n,"scroll",s),l.addEventListener(window,"resize",s),e.utils.domNodeDisposal.addDisposeCallback(n,u)))},update:function(n,t){e.unwrap(t()).value()&&(n.scrollTop=n.scrollHeight)}},e.bindingHandlers.animationEnd={init:function(n,t,r,o,i){var a=l.getAnimationEndEventName();a&&e.bindingHandlers.event.init(n,(function(){var n={};return n[a]=e.unwrap(t()),n}),r,o,i)}},e.bindingHandlers.htmlWithMods={init:function(n,t,r){var o=e.unwrap(t());if(o){var i=r.get("htmlMods");if(i&&i.filterLinks){var a=document.createElement("div");a.innerHTML=o;for(var s=a.getElementsByTagName("a"),u=s.length-1;u>=0;u--){var c=s[u],l=c.innerText,d=c.protocol;if("mailto:"===d||"tel:"===d){if(!1!==i.allowContactProtocols)continue;l=p(l,c.pathname)}else l=p(l,c.getAttribute("href"));var f=document.createElement("span");f.innerText=l,c.parentNode.replaceChild(f,c)}o=a.innerHTML}e.utils.setHtml(n,o)}function p(e,n){return e!==n?e+" ("+n+")":e}}},e.bindingHandlers.externalCss={update:function(n,t){e.utils.objectForEach(e.unwrap(t()),(function(t,r){var o=e.unwrap(r);e.utils.toggleDomNodeCssClass(n,t,o),e.utils.toggleDomNodeCssClass(n,"ext-"+t,o)}))}},e.virtualElements.allowedBindings.withProperties=!0,(e.options=e.options||{}).createChildContextWithAs=!0}},function(e,n){e.exports={format:function(e){if(e)for(var n=1;n<arguments.length;n++)e=e.replace(new RegExp("\\{"+(n-1)+"\\}","g"),arguments[n]);return e}}},function(e,n){n.PlatformTimeout=0,n.Timeout=6e5,n.PromiseTimeout=250,n.SupportedKeyAlgorithms=[-7,-257],n.Error={Internal:"InternalError",FidoCreateCallUnexpectedResponse:"FidoCreateCallUnexpectedResponse"}},function(e,n,t){var r=t(4);n.create=function(e){var n,t=!1;function o(){return t=!0,o.eventArgs(Array.prototype.slice.call(arguments)),n}return o.eventArgs=r.observable().extend({notify:"always"}),o.tracingOptions=e,o.subscribe=function(e){o.eventArgs.subscribe((function(t){n=e(t)})),t&&(n=e(o.eventArgs.peek()))},o},n.isComponentEvent=function(e){return e&&r.isObservable(e.eventArgs)}},function(e,n,t){var r=t(4),o=t(1),i=t(0),a=t(19),s=t(2),u=t(8),c=o.Helper,l=i.Object;e.exports=function(e){var n=this,t=e,o=t.bsso,i=t.urlPost,d=t.oPostParams;function f(){d?n.forceSubmit(!0):document.location.replace(n.postUrl())}n.postParams=[],n.forceSubmit=r.observable(!1),n.postUrl=r.observable(),function(){n.postUrl(i),l.forEach(d,(function(e,t){n.postParams.push({unsafe_name:c.htmlUnescape(e),unsafe_value:c.htmlUnescape(t)})}));var e=new a(t);if(e.isEnabled()){var r=new s((function(e){setTimeout(e,o.overallTimeoutMs)}));u.throwUnhandledExceptionOnRejection(s.race([e.pullBrowserSsoCookieAsync(),r]).then((function(e){e&&e.redirectUrl&&n.postUrl(e.redirectUrl)})).then(f,f))}else setTimeout(f,0)}()}},function(e,n,t){var r=t(3),o=t(0),i=t(1),a=t(20),s=t(2),u=t(22),c=t(23),l=window,d=i.QueryString,f=i.Cookies,p=o.Array;e.exports=function(e){var n=e,t=n.bsso||{enabled:!1},o=n.fIsCloudBuild,i=n.fTrimChromeBssoUrl,h=!1!==n.checkApiCanary,g=t.cookieNames,m=null;function v(){var e=new Date;e.setSeconds(e.getSeconds()+60),f.writeWithExpiration(g.ssoPulled,"1",!o,e.toUTCString());var n=l.location.href;return n=d.appendOrReplace(n,"sso_reload","true"),t.reloadOnFailure||"select_account"!==d.extract("prompt").toLowerCase()||(n=d.appendOrReplace(n,"prompt","")),n}function b(e){m.traces.push(e)}function y(e,n){m.data[e]=n}function S(e){return m.result=e.newSessions?"UserList":"Reload",C().then((function(){return e}))}function E(e){return m.result="Error",e instanceof u.Error?"OSError"===e.code&&e.externalData&&e.externalData.error?m.error=e.externalData.error:m.error=e.code:m.error=e,C().then((function(){return s.reject(e)}))}function C(){return new s((function(e){try{l.console&&l.console.info("BSSO Telemetry: "+r.stringify(m))}catch(n){}t.telemetry.url?new a({checkApiCanary:h}).Beacon({url:t.telemetry.url},m,e,e,500):e()}))}this.loginWindowsUserAsync=function(e){return t.enabled?function(e){if(!l.navigator||"function"!=typeof l.navigator.msLaunchUri)return y("BSSO.info","not-supported"),b("window.navigator.msLaunchUri is not available for _loginWindowsUser"),s.reject("bssoNotSupported");var n="abort"===t.initiatePullTimeoutAction;return new c({logMessage:b,logDataPoint:y},t.initiatePullTimeoutMs,t.overallTimeoutMs,n).loginWindowsUserAsync(e).then((function(e){return e.reload?(b("SSO cookie detected. Refreshing page."),v()):s.reject("error")}))}(e).then(S,E):s.reject("bssoDisabled")},this.pullBrowserSsoCookieAsync=function(){var e,n=t.failureRedirectUrl||t.reloadOnFailure,a=t.type;return t.enabled?("windows"===a?e=function(){if(!l.navigator||"function"!=typeof l.navigator.msLaunchUri)return y("BSSO.info","not-supported"),b("window.navigator.msLaunchUri is not available for _pullBrowserSsoCookie"),s.reject("bssoNotSupported");var e=f.getCookie(g.ssoTiles)||t.forceTiles;if(!e&&f.getCookie(g.ssoPulled))return y("BSSO.info","throttled"),b("Cookie pull throttled"),s.reject("throttled");var n="tbauth://login.windows.net?context="+encodeURIComponent(l.location.href.split("/",3).join("/"))+(t.nonce?"&request_nonce="+encodeURIComponent(t.nonce):"")+(t.rid?"&rid="+encodeURIComponent(t.rid):""),o=n;e&&(o=d.appendOrReplace(o,"user_id","*"),f.remove(g.ssoTiles));var i="abort"===t.initiatePullTimeoutAction;return new c({logMessage:b,logDataPoint:y},t.initiatePullTimeoutMs,t.overallTimeoutMs,i).pullBrowserSsoCookieAsync(o).then((function(e){if(e.reload)return b("SSO cookie detected. Refreshing page."),{redirectUrl:v()};if(e.userList){var t=function(e,n){var t=[],o=r.parse(e).users;o&&o.length>0?(p.forEach(o,(function(e){var r={ssoUniqueId:e.unique_id,displayName:e.display_name||"",name:e.upn,isWindowsSso:!0,isSignedIn:!0,url:n};t.push(r)})),b("User list processed. List: "+r.stringify(t))):b("User list is empty.");return t}(e.userList,n);return t.length>0?{newSessions:t}:s.reject("noUsers")}}))}():"chrome"===a&&(e=new u({logMessage:b,logDataPoint:y},t.nonce,"login.microsoftonline.com",o,i).getCookiesAsync().then((function(e){if(!e||!e.length)return s.reject(new u.Error("PageException","Extension returned no cookies"));for(var n=0,t=e.length;n<t;++n){var r=e[n].data;-1!==r.indexOf(";")&&(r=r.substr(0,r.indexOf(";"))),f.write(e[n].name,r,!o)}return b("SSO cookie detected. Refreshing page."),{redirectUrl:v()}})).then(null,(function(e){return f.write(g.aadSso,e.toCookieString(),!o),b("Error: "+e.toString()),s.reject(e)}))),e.then((function(e){return n&&!e.redirectUrl?s.reject("silentPullFailed"):e})).then(S,E).then(null,(function(e){return n?t.reloadOnFailure?{redirectUrl:v()}:{redirectUrl:t.failureRedirectUrl}:s.reject(e)}))):s.reject("bssoDisabled")},this.isEnabled=function(){return!!t.enabled},t.enabled&&(m={result:null,error:null,type:t.telemetry.type||null,data:{},traces:[]},t.initiatePullTimeoutMs=t.initiatePullTimeoutMs||t.overallTimeoutMs,t.initiatePullTimeoutAction=t.initiatePullTimeoutAction||"abort",b("BrowserSSO Initialized"))}},function(e,n,t){var r=t(3),o=t(21),i=t(7),a=t(0),s=t(1),u=t(9).getInstance(window.ServerData),c=t(5),l=window,d=l.$Config||l.ServerData||{},f=a.Object,p=s.QueryString;e.exports=function(e){var n=this,t=!1!==(e=e||{}).checkApiCanary,a=e.withCredentials||!1,s=e.breakCache||!1,h=e.responseType||"",g=e.notifyOnClientAbort||!1,m=l.ServerData.fSasEndAuthPostToGetSwitch,v=l.ServerData.fFixUICrashForApiRequestHandler;function b(e){var n={hpgid:d.hpgid||0,hpgact:d.hpgact||0};return e||(n.Accept="application/json",t&&d.apiCanary&&(n.canary=d.apiCanary)),d.correlationId&&(n["client-request-id"]=d.correlationId),d.sessionId&&(n.hpgrequestid=d.sessionId),n}function y(e){var n=e;if(e&&"string"!=typeof e){var t={};f.forEach(e,(function(e,n){"unsafe_"===e.substr(0,7)&&(e=e.substr(7)),t[e]=n})),n=r.stringify(t)}return n&&(n=n.replace(/\?/g,"\\u003F")),n}function S(e){e.headers=b(),e.withCredentials=a,e.breakCache=s,e.responseType=h}function E(e,n,t,r,o,i){var a=null;if(n){var s=n.eventOptions||{};if(s.eventId=n.eventId||s.eventId,s.hasOwnProperty("hidingMode")||(s.hidingMode=c.HidingMode.None),s.eventId){(a={}).eventType=t,a.eventId=s.eventId,a.eventLevel=s.eventLevel||c.EventLevel.ApiRequest;var l={};l.requestTimeout=r,o&&(l.contentType=o),l.requestType=t,i&&(l.noCallback=!0),a.eventArgs=l,a.eventOptions=s,u.traceBeginRequest(e,a)}}e.eventData=a}function C(e,n,t,r,o){u.traceEndRequest(e,n,t,r,o)}function w(e,n){var t={};return e&&(t.xhr_status=e.status),t.textStatus=n,t}n.Errors=[],n.Json=function(e,o,a,s,u,c,l){var f=!(!a&&!s),p=(new Date).getTime(),h=e.url;function b(e,n){var t={};if(500===e.status)try{t=r.parse(e.responseText)||{}}catch(s){}if(!t.error){var o=!1,i=8e3,a="Request Failed -- No Response from Server";switch(n){case"timeout":i=8001,a="Timeout Error",o=!0;break;case"abort":i=8002,a="Aborted";break;case"error":e.status>=400&&(o=!0);break;case"parsererror":a="Unable to parse response",o=!0}t.error={code:i,message:a,debugMessage:"(xhr status "+e.status+") xhr.responseText: "+e.responseText,stackTrace:"",isFatal:o}}return t}function S(e){var t,o=(e=e||{}).error||null,i={startTime:p,endTime:(new Date).getTime()};if(e.apiCanary&&(d.apiCanary=e.apiCanary,delete e.apiCanary),o){t=(t=o.stackTrace)&&t.encodeJson?t.encodeJson():"";var u=r.stringify({code:o.code,message:o.message,debug:o.debugMessage,stacktrace:t,requestUrl:h});n.Errors.push(u),n.Errors.length>100&&n.Errors.shift(),(8002!==o.code||g)&&s&&s(e,i)}else a&&a(e,i)}function E(e){return setTimeout((function(){S({error:{code:e,message:"Request Failed!",isFatal:!0}})}),0),null}if(t&&!d.apiCanary)return v?E(8002):(setTimeout((function(){S({error:{code:8002,message:"Request Failed!",isFatal:!0}})}),0),null);if(m&&null===o&&null!==c)n.Get(e,i.ContentType.Json,(function(e,n){if(f)if(v)try{S(r.parse(n))}catch(t){E(8e3)}else S(r.parse(n))}),(function(e,n,t,r){f&&S(b(n,t))}),u,c,l);else{var C=y(o);n.Post(e,i.ContentType.Json,C,(function(e,n){if(f)if(v)try{S(r.parse(n))}catch(t){E(8e3)}else S(r.parse(n))}),(function(e,n,t,r){f&&S(b(n,t))}),u)}},n.Post=function(e,t,r,i,a,s){var u=e.url,c={},l=!1;i||a||(l=!0),E(c,e,o.RequestType.Post,s,t,l);var d={targetUrl:u,contentType:t,data:r,requestType:o.RequestType.Post,timeout:s||3e4,successCallback:function(e,n){C(c,"Success",n,!0,(function(){i&&i(e,n)}))},failureCallback:function(e,n,t){C(c,"Failed",w(n,t),!1,(function(){a&&a(e,n,t)}))},timeoutCallback:function(e,n,t){C(c,"Timeout",w(n,t),!1,(function(){a&&a(e,n,t)}))}};S(d),o.Handler.call(n,d),n.sendRequest()},n.Get=function(e,t,r,i,a,s,u){var c=e.url,l={},d=!1;r||i||(d=!0),E(l,e,o.RequestType.Get,a,t,d);var f={targetUrl:c,contentType:t,requestType:o.RequestType.Get,timeout:a||3e4,successCallback:function(e,n){C(l,"Success",n,!0,(function(){r&&r(e,n)}))},failureCallback:function(e,n,t){C(l,"Failed",w(n,t),!1,(function(){i&&i(e,n,t)}))},timeoutCallback:function(e,n,t){C(l,"Timeout",w(n,t),!1,(function(){i&&i(e,n,t)}))}};if(S(f),m){if(s)for(var h in s)s.hasOwnProperty(h)&&(f.headers[h]=s[h]);if(u){var g=p.add(c,u);f.targetUrl=g}}o.Handler.call(n,f),n.sendRequest()},n.Beacon=function(e,t,r,o,i){var a=[],s=b(!0);f.forEach(s,(function(e,n){a.push([e,n])}));var u=e.url;if(u=p.add(u,a),e.url=u,navigator.sendBeacon){var c={};E(c,e,"Beacon",i,null,!1);var l=y(t),d=navigator.sendBeacon(u,l);C(c,d?"Success":"Failed",null,d,(function(){d&&r?r():!d&&o&&o()}))}else n.Json(e,t,r,o,i)}}},function(e,n,t){var r=t(3),o=t(1),i=t(0),a=i.Object,s=o.HttpCode,u=window;n.RequestType={Post:"POST",Get:"GET"};var c=n.State={Unsupported:-1,Unsent:0,Done:4,Timeout:5};n.Event={OnSuccess:"ajaxsuccess",OnError:"ajaxerror",OnTimeout:"ajaxtimeout"},n.Helper={generateRequestString:function(e){var n="";return e&&a.forEach(e,(function(e,t){(t||""===t)&&(n.length>0&&(n+="&"),n+=e+"="+t)})),n}},n.Handler=function(e){var n=this,t="",l=[],d=null,f=null,p=!1,h=!0,g=null,m=!1,v=!!e.contentType,b=!!e.headers,y=!!e.headerValue,S=e.data||"",E=e.targetUrl||"",C=e.requestType||"",w=!1!==e.isAsync,P=e.timeout||0,T=e.username||"",A=e.password||"",_=e.contentType||"application/x-www-form-urlencoded",x=e.withCredentials||!1,O=e.breakCache||!1,I=e.responseType||"",N=e.headers||{},D=e.successCallback,k=e.failureCallback,R=e.timeoutCallback;function L(e,r){e||n.isSuccess()?D&&D(d,t):(r||!n.isSuccess()&&!p)&&k&&k(d,f,f.statusText)}function M(){if(g=null,p=!0,n.cancel(),R){var e={status:s.Timeout,statusText:"timeout"};R(d,e,e.statusText)}}function F(e){if(j(),!n.isComplete()&&!f.canceled&&k){var t={status:s.ClientClosedRequest,statusText:"abort"};k(e,t,t.statusText)}}function U(e){n.isComplete()||H(e)}function B(e){n.isComplete()&&!p&&H(e)}function H(e){j(),t=f.responseText,d=e,L()}function j(){g&&(clearTimeout(g),g=null)}function V(e){j(),t=f.responseText,L(e,!e)}n.sendRequest=function(e){d=e,function(){p=!1;var e="withCredentials"in new XMLHttpRequest;if(!m||e){var t=E;(f=new XMLHttpRequest).onreadystatechange=B,f.addEventListener&&(f.addEventListener("abort",F),f.addEventListener("error",U)),O&&(t=o.QueryString.appendOrReplace(t,"_",(new Date).getTime())),T.length>0?f.open(C,t,w,T,A):f.open(C,t,w),n.clearResponse(),a.forEach(N,(function(e,n){f.setRequestHeader(e,n)})),f.responseType=I,f.withCredentials=x}else u.XDomainRequest?!w||T||A||v||b||y||x?h=!1:((f=new u.XDomainRequest).onerror=function(){V(!1)},f.onload=function(){V(!0)},f.open(C,E),n.clearResponse()):h=!1}(),h&&(P>0&&(g=setTimeout((function(){M.call(n)}),P)),f.send(S))},n.getState=function(){return h?p?c.Timeout:f?f.readyState:c.Unsent:c.Unsupported},n.getStatus=function(){return p?s.Timeout:f?f.status:0},n.cancel=function(){f&&(f.canceled=!0,f.abort())},n.getResponseJson=function(){return t?r.parse(t):{}},n.isComplete=function(){return n.getState()===c.Done||n.getState()===c.Timeout},n.isSuccess=function(){return n.isComplete()&&l[n.getStatus()]},n.clearResponse=function(){t=""},function(){N["Content-type"]=_,l[s.Ok]=!0,l[s.NotModified]=!0,l[s.Timeout]=!1;var e=i.String.extractDomainFromUrl(E);e&&(m=i.String.extractDomainFromUrl(document.location.href)!==e)}()}},function(e,n,t){var r=t(3),o=t(1),i=t(2),a=window,s=a.document,u=o.QueryString,c=o.Cookies,l=-2147186943;function d(e,n,t,r,o){var c="53ee284d-920a-4b59-9d30-a60315b26836",f=e,p=n,h=t,g=r,m=o,v={},b=0,y=null,S=null,E=null,C=null;function w(e){if(e.source===a){var n=e.data,t=n&&n.channel,r=n&&n.responseId,o=n&&n.body,i=o&&o.method;if(t===c&&r&&("CreateProviderAsync"===i||"Response"===i)){f.logMessage("Received message for method "+i);var s=v[r];delete v[r],setTimeout((function(){s(o.response||{})}),0)}}}function P(e,n){return new i((function(t){var r={channel:c,responseId:++b,body:e};n&&(r.extensionId=n),v[r.responseId]=t,f.logMessage("Sending message for method "+(e||{}).method||!1),a.postMessage(r,"*")})).then((function(e){return"Success"===e.status?i.resolve(e.result||{}):i.reject(new d.Error(e.code,e.description,e.ext))}))}function T(){return C||(a.addEventListener&&a.addEventListener("message",w),f.logMessage("Creating ChromeBrowserCore provider"),C=P({method:"CreateProviderAsync",response:{status:"Success"}}).then(A)),C}function A(){for(var e=null,n=y.firstChild;n;)!n.id||null!==e&&"ppnbnpeolgkicgegkbkbjmhlideopiji"!==n.id||(e=n.id),y.removeChild(n),n=y.firstChild;if(!e)throw new d.Error("NoExtension","Extension is not installed.",null);return f.logDataPoint("extension.id",e),f.logMessage("Using Chrome extension with id "+e),e}function _(e){return"OSError"===e.code&&e.externalData&&e.externalData.error===l?(f.logMessage("GetCookies method not found, falling back to GetCookie"),T().then((function(e){return P({method:"GetCookie",uri:S},e)}))):i.reject(e)}function x(e){var n=e.response||[];if(n&&n.length)for(var t=0,r=n.length;t<r;++t){var o=o=n[t].data||"",i=o.indexOf(";");-1!==i&&(o=o.substr(0,i)),n[t].data=o+E}return n}this.getCookiesAsync=function(){return T().then((function(e){return f.logMessage("Pulling SSO cookies"),P({method:"GetCookies",uri:S},e).then(null,_).then(x)}))},function(){if(S=u.appendOrReplace(a.location.href,"sso_nonce",p),m){var e=u.parse(S);e.fragment&&(e.fragment=null,S=u.join(e))}E="; path=/; domain="+h+(g?"":"; secure");(y=s.getElementById("ch-53ee284d-920a-4b59-9d30-a60315b26836"))||((y=s.createElement("div")).id="ch-53ee284d-920a-4b59-9d30-a60315b26836",s.body.appendChild(y))}()}d.Error=function(e,n,t){var o=e,i=n,a=t;this.code=o,this.description=i,this.externalData=a,this.toString=function(){var e="ChromeBrowserCore error "+(o||"")+": "+(i||"");return a&&(e+=" (ext: "+r.stringify(a)+")"),e},this.toCookieString=function(){var e="NA";if(c.isCookieSafeValue(o)){e+="|"+o;var n=a?encodeURIComponent(r.stringify(a)):null;n&&c.isCookieSafeValue(n)&&(e+="|"+n)}return e}},e.exports=d},function(e,n,t){var r=t(1),o=t(2),i=window,a=r.Cookies;e.exports=function(e,n,t,r){var s=e,u=n,c=t,l=r;function d(e,n,t){var r=(new Date).getTime();return function(e,n,t){return new o((function(n,t){i.navigator.msLaunchUri(e,n,t),setTimeout((function(){t("timeout")}),u)})).then((function(){var e=(new Date).getTime()-t;s.logDataPoint("msLaunchUri.success.ms",e),s.logMessage(n+" initiated successfully (took "+e+" ms)")}),(function(e){if("timeout"===e)s.logDataPoint("msLaunchUri.response",l?"timeout":"timeout-continue"),s.logMessage("");else{var r=(new Date).getTime()-t;s.logDataPoint("msLaunchUri.failure.ms",r),s.logMessage(n+" was NOT initiated successfully (took "+r+" ms)")}if("timeout"!==e||l)return o.reject(e||"noHandler")}))}(e,n,r).then((function(){return function(e,n,t){return new o((function(r,o){var i=setInterval((function(){var e=t?null:a.getCookie("ESTSUSERLIST"),o=a.getCookie("ESTSSSO");(e||o)&&(clearInterval(i),s.logDataPoint((e?"ESTSUSERLIST":"ESTSSSO")+".cookie.ms",(new Date).getTime()-n),e?(s.logMessage("Users list cookie detected"),a.remove("ESTSUSERLIST"),r({userList:decodeURIComponent(e).replace(/\+/g," ")})):r({reload:!0}))}),250);setTimeout((function(){clearInterval(i),s.logDataPoint("TB.response.timeout.ms",(new Date).getTime()-n),s.logMessage(e+" timed out."),o("timeout")}),c)}))}(n,r,t)}))}this.pullBrowserSsoCookieAsync=function(e){return d(e,"cookie pull",!1)},this.loginWindowsUserAsync=function(e){return d(e,"Windows user login",!0)}}},function(e,n){e.exports='<form aria-hidden="true" name="f1" autocomplete="off" method="POST" data-bind="\n    autoSubmit: forceSubmit,\n    attr: { action: postUrl }">\n\n    \x3c!-- ko foreach: postParams --\x3e\n    <input type="hidden" data-bind="attr: { name: $data.unsafe_name }, value: $data.unsafe_value" />\n    \x3c!-- /ko --\x3e\n</form>'}]),window.__BssoInterrupt_Core=!0;
//# sourceMappingURL=428336eecd158017725b.map