!function(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(o,i,function(n){return e[n]}.bind(null,i));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1096)}({1096:function(e,n,t){t(1097),t(1098),e.exports=t(1099)},1097:function(e,n){(function(){ /*! * Detectizr v2.2.0 * http://barisaydinoglu.github.com/Detectizr/ * * Written by Baris Aydinoglu (http://baris.aydinoglu.info) - Copyright 2012 * Released under the MIT license * * Date: 2015-09-28T21:37Z */ window.Detectizr=function(e,n,t,o){var i,r,s={},a=e.Modernizr,d=["tv","tablet","mobile","desktop"],c={addAllFeaturesAsClass:!1,detectDevice:!0,detectDeviceModel:!0,detectScreen:!0,detectOS:!0,detectBrowser:!0,detectPlugins:!0},l=[{name:"adobereader",substrs:["Adobe","Acrobat"],progIds:["AcroPDF.PDF","PDF.PDFCtrl.5"]},{name:"flash",substrs:["Shockwave Flash"],progIds:["ShockwaveFlash.ShockwaveFlash.1"]},{name:"wmplayer",substrs:["Windows Media"],progIds:["wmplayer.ocx"]},{name:"silverlight",substrs:["Silverlight"],progIds:["AgControl.AgControl"]},{name:"quicktime",substrs:["QuickTime"],progIds:["QuickTime.QuickTime"]}],p=/[\t\r\n]/g,m=t.documentElement;function g(e){return s.browser.userAgent.indexOf(e)>-1}function u(e){return e.test(s.browser.userAgent)}function f(e){return e.exec(s.browser.userAgent)}function w(e){return null==e?"":String(e).replace(/((\s|\-|\.)+[a-z0-9])/g,(function(e){return e.toUpperCase().replace(/(\s|\-|\.)/g,"")}))}function v(e,n,t){e&&(e=w(e),n&&(y(e+(n=w(n)),!0),t&&y(e+n+"_"+t,!0)))}function y(e,n){e&&a&&(c.addAllFeaturesAsClass?a.addTest(e,n):(n="function"==typeof n?n():n)?a.addTest(e,!0):(delete a[e],function(e,n){var t=n||"",o=1===e.nodeType&&(e.className?(" "+e.className+" ").replace(p," "):"");if(o){for(;o.indexOf(" "+t+" ")>=0;)o=o.replace(" "+t+" "," ");e.className=n?function(e){return e.replace(/^\s+|\s+$/g,"")}(o):""}}(m,e)))}function b(e,n){e.version=n;var t=n.split(".");t.length>0?(t=t.reverse(),e.major=t.pop(),t.length>0?(e.minor=t.pop(),t.length>0?(t=t.reverse(),e.patch=t.join(".")):e.patch="0"):e.minor="0"):e.major="0"}function h(){e.clearTimeout(i),i=e.setTimeout((function(){r=s.device.orientation,e.innerHeight>e.innerWidth?s.device.orientation="portrait":s.device.orientation="landscape",y(s.device.orientation,!0),r!==s.device.orientation&&y(r,!1)}),10)}function E(e){var t,o,i,r,s,a=n.plugins;for(r=a.length-1;r>=0;r--){for(o=(t=a[r]).name+t.description,i=0,s=e.length;s>=0;s--)-1!==o.indexOf(e[s])&&(i+=1);if(i===e.length)return!0}return!1}function S(e){var n;for(n=e.length-1;n>=0;n--)try{new ActiveXObject(e[n])}catch(e){}return!1}function x(o){var i,r,p,m,x,O,L;if((c=function e(n,t){var o,i,r;if(arguments.length>2)for(o=1,i=arguments.length;o=0;i--)O=l[i],L=!1,e.ActiveXObject?L=S(O.progIds):n.plugins&&(L=E(O.substrs)),L&&(x.plugins.push(O.name),y(O.name,!0));n.javaEnabled()&&(x.plugins.push("java"),y("java",!0))}}return s.detect=function(e){return x(e)},s.init=function(){void 0!==s&&(s.browser={userAgent:(n.userAgent||n.vendor||e.opera).toLowerCase()},s.detect())},s.init(),s}(this,this.navigator,this.document),e.exports=window.Detectizr}).call(window)},1098:function(e,n){(function(){"use strict";var n,t,o,i,r,s,a,d,c,l,p,m;n=window,i=(o={URL:"/jslog",METHOD:"POST",EXCEPTION_PRETEXT:"APPLE ID : ",LOG_LEVEL:"ERROR",ALLOWED_LOG_LEVELS:["ERROR","DEBUG","OFF","INFO"],WARN_CAPTURE_CONSOLE_COLOR:"background: #FFF0F0; color: red",NAMESPACE_FOR_PM:"pmrpc.",POST_MESSAGE_LOG_STATUS:"ON"}).URL,r=o.LOG_LEVEL,s=o.NAMESPACE_FOR_PM,a="",d="",c=o.POST_MESSAGE_LOG_STATUS,m={log:function(e,n){if(function(e){var n=" type, title, message are mandatory. ";if(void 0===e)throw new l("logObject is not defined.");if(void 0===e.type)throw new l("logObject.type is not defined."+n);if(void 0===e.title)throw new l("logObject.title is not defined."+n);if(void 0===e.message)throw new l("logObject.message is not defined."+n);return!0}(e)){var s=function(){!function(e,n){if(e&&"string"==typeof e&&n&&"string"==typeof n)try{window.sessionStorage&&sessionStorage.setItem(e,n)}catch(e){}}(o.EXCEPTION_PRETEXT,"Logging transaction failed or cancelled at."+i)};e.message=o.EXCEPTION_PRETEXT+e.message,void 0!==e.details?e.details.pageVisibilityState=document.visibilityState:e.details={pageVisibilityState:document.visibilityState},e.details&&(e.details=JSON.stringify(e.details)),n&&p(n);try{var c,m=new XMLHttpRequest;if(m.open(o.METHOD,i,!0),m.setRequestHeader("Content-type","application/json"),m.setRequestHeader("Accept","application/json"),m.setRequestHeader("scnt",a),m.setRequestHeader("x-csrf-token",d),void 0!==t)for(c in t)m.setRequestHeader(c,t[c]);m.addEventListener("error",s),m.addEventListener("abort",s),m.onreadystatechange=function(){m.status},"OFF"!==r&&("INFO"===r||"ERROR"===r?"ERROR"!==e.type.toUpperCase().trim()&&"INFO"!==e.type.toUpperCase().trim()||m.send(JSON.stringify(e)):"DEBUG"===r&&m.send(JSON.stringify(e)))}catch(e){}}},onerror:function(e){setTimeout((function(){throw e}),0)},getLoggingEndpoint:function(){return i},setLoggingEndpoint:function(e){(function(e){if(!e)throw new l("Invalid endpoint URL: "+e);return!0})(e)&&(i=e)},setGlobalLogLevel:function(e){e&&"string"==typeof e&&e.toUpperCase().trim()&&-1!==o.ALLOWED_LOG_LEVELS.indexOf(e.toUpperCase().trim())&&(r=e.toUpperCase().trim())},getGlobalLogLevel:function(e){return r},setSCNT:p=function(e){if(!e||"NULL"===e.toString().toUpperCase().trim()||"UNDEFINED"===e.toString().toUpperCase().trim())throw new l("SCNT token is not valid.");a=e},setCSRF:function(e){if(!e||"NULL"===e.toString().toUpperCase().trim()||"UNDEFINED"===e.toString().toUpperCase().trim())throw new l("CSRF token is not valid.");d=e},getNamespaceForPM:function(){return s},setNamespaceForPM:function(e){"string"==typeof e&&e.trim()&&(s=e)},getPMLoggingStatus:function(){return c},setPMLoggingStatus:function(e){c="string"==typeof e&&e.trim()&&-1!==["ON","OFF"].indexOf(e.toUpperCase().trim())?e.toUpperCase().trim():o.POST_MESSAGE_LOG_STATUS},setHeaders:function(e){void 0!==e&&(t=e)}},((l=function(e){this.name="IllegalLogException",this.message=o.EXCEPTION_PRETEXT+e,this.stack=(new Error).stack}).prototype=Object.create(Error.prototype)).constructor=l,n.AppleID=n.AppleID||{},n.AppleID.service=n.AppleID.service||{},n.AppleID.service.JSLogger=n.AppleID.service.JSLogger||m,window.onerror=function(e,t,i,r,a){if("ON"===c){var d={jsonrpc:"2.0",method:"log",params:[{data:"AppleAuth failed to load."}],id:parseInt(1e16*Math.random()).toString()};window.parent.postMessage(s+JSON.stringify(d),"*")}n.AppleID.service.JSLogger.log({title:a&&(a.name||"ERROR"),type:o.LOG_LEVEL,message:e,stacktrace:a&&(a.stack||JSON.stringify(a)),details:{file:t,lineno:i,colno:r,caught:"NO"}})},e.exports=window.AppleID.service.JSLogger}).call(window)},1099:function(e,n){!function(){try{window.AppleID.service.JSLogger.setLoggingEndpoint("/appleauth/jslog")}catch(e){}}()}});