-
Notifications
You must be signed in to change notification settings - Fork 0
/
0.aee479165d4714d6a18d.chunk.js
4 lines (4 loc) · 176 KB
/
0.aee479165d4714d6a18d.chunk.js
1
2
3
4
webpackJsonp([0],{"0yuy":function(n,t,e){(function(t){/*! @license Firebase v3.9.0
Build: rev-cc77c9e
Terms: https://firebase.google.com/terms/ */
var i=e("2D4A");(function(){(function(){var n,t=t||{},e=this,r=function(){},o=function(n){var t=typeof n;if("object"==t){if(!n)return"null";if(n instanceof Array)return"array";if(n instanceof Object)return t;var e=Object.prototype.toString.call(n);if("[object Window]"==e)return"object";if("[object Array]"==e||"number"==typeof n.length&&void 0!==n.splice&&void 0!==n.propertyIsEnumerable&&!n.propertyIsEnumerable("splice"))return"array";if("[object Function]"==e||void 0!==n.call&&void 0!==n.propertyIsEnumerable&&!n.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===n.call)return"object";return t},l=function(n){return null===n},u=function(n){return"array"==o(n)},a=function(n){var t=o(n);return"array"==t||"object"==t&&"number"==typeof n.length},s=function(n){return"string"==typeof n},c=function(n){return"number"==typeof n},h=function(n){return"function"==o(n)},d=function(n){var t=typeof n;return"object"==t&&null!=n||"function"==t},f=function(n,t,e){return n.call.apply(n.bind,arguments)},p=function(n,t,e){if(!n)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(e,i),n.apply(t,e)}}return function(){return n.apply(t,arguments)}},v=function(n,t,e){return v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?f:p,v.apply(null,arguments)},g=function(n,t){var e=Array.prototype.slice.call(arguments,1);return function(){var t=e.slice();return t.push.apply(t,arguments),n.apply(this,t)}},m=Date.now||function(){return+new Date},b=function(n,t){function e(){}e.prototype=t.prototype,n.xd=t.prototype,n.prototype=new e,n.prototype.constructor=n,n.Tf=function(n,e,i){for(var r=Array(arguments.length-2),o=2;o<arguments.length;o++)r[o-2]=arguments[o];return t.prototype[e].apply(n,r)}},y=function(n){if(Error.captureStackTrace)Error.captureStackTrace(this,y);else{var t=Error().stack;t&&(this.stack=t)}n&&(this.message=String(n))};b(y,Error),y.prototype.name="CustomError";var w=function(n,t){for(var e=n.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<e.length;)i+=e.shift()+r.shift();return i+e.join("%s")},_=String.prototype.trim?function(n){return n.trim()}:function(n){return n.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},E=/&/g,k=/</g,A=/>/g,I=/"/g,C=/'/g,S=/\x00/g,T=/[\x00&<>"']/,N=function(n,t){return-1!=n.indexOf(t)},O=function(n,t){return n<t?-1:n>t?1:0},R=function(n,t){t.unshift(n),y.call(this,w.apply(null,t)),t.shift()};b(R,y),R.prototype.name="AssertionError";var P,D=function(n,t,e,i){var r="Assertion failed";if(e)var r=r+": "+e,o=i;else n&&(r+=": "+n,o=t);throw new R(""+r,o||[])},L=function(n,t,e){n||D("",null,t,Array.prototype.slice.call(arguments,2))},M=function(n,t){throw new R("Failure"+(n?": "+n:""),Array.prototype.slice.call(arguments,1))},x=function(n,t,e){return c(n)||D("Expected number but got %s: %s.",[o(n),n],t,Array.prototype.slice.call(arguments,2)),n},V=function(n,t,e){s(n)||D("Expected string but got %s: %s.",[o(n),n],t,Array.prototype.slice.call(arguments,2))},U=function(n,t,e){h(n)||D("Expected function but got %s: %s.",[o(n),n],t,Array.prototype.slice.call(arguments,2))},F=Array.prototype.indexOf?function(n,t,e){return L(null!=n.length),Array.prototype.indexOf.call(n,t,e)}:function(n,t,e){if(e=null==e?0:0>e?Math.max(0,n.length+e):e,s(n))return s(t)&&1==t.length?n.indexOf(t,e):-1;for(;e<n.length;e++)if(e in n&&n[e]===t)return e;return-1},j=Array.prototype.forEach?function(n,t,e){L(null!=n.length),Array.prototype.forEach.call(n,t,e)}:function(n,t,e){for(var i=n.length,r=s(n)?n.split(""):n,o=0;o<i;o++)o in r&&t.call(e,r[o],o,n)},q=function(n,t){for(var e=s(n)?n.split(""):n,i=n.length-1;0<=i;--i)i in e&&t.call(void 0,e[i],i,n)},X=Array.prototype.map?function(n,t,e){return L(null!=n.length),Array.prototype.map.call(n,t,e)}:function(n,t,e){for(var i=n.length,r=Array(i),o=s(n)?n.split(""):n,l=0;l<i;l++)l in o&&(r[l]=t.call(e,o[l],l,n));return r},K=Array.prototype.some?function(n,t,e){return L(null!=n.length),Array.prototype.some.call(n,t,e)}:function(n,t,e){for(var i=n.length,r=s(n)?n.split(""):n,o=0;o<i;o++)if(o in r&&t.call(e,r[o],o,n))return!0;return!1},B=function(n){var t;n:{t=Ri;for(var e=n.length,i=s(n)?n.split(""):n,r=0;r<e;r++)if(r in i&&t.call(void 0,i[r],r,n)){t=r;break n}t=-1}return 0>t?null:s(n)?n.charAt(t):n[t]},G=function(n,t){return 0<=F(n,t)},W=function(n,t){t=F(n,t);var e;return(e=0<=t)&&H(n,t),e},H=function(n,t){return L(null!=n.length),1==Array.prototype.splice.call(n,t,1).length},Y=function(n,t){var e=0;q(n,function(i,r){t.call(void 0,i,r,n)&&H(n,r)&&e++})},z=function(n){return Array.prototype.concat.apply([],arguments)},J=function(n){var t=n.length;if(0<t){for(var e=Array(t),i=0;i<t;i++)e[i]=n[i];return e}return[]},$=function(n){return X(n,function(n){return n=n.toString(16),1<n.length?n:"0"+n}).join("")};n:{var Z=e.navigator;if(Z){var Q=Z.userAgent;if(Q){P=Q;break n}}P=""}var nn=function(n){return N(P,n)},tn=function(n,t){for(var e in n)t.call(void 0,n[e],e,n)},en=function(n){var t,e=[],i=0;for(t in n)e[i++]=n[t];return e},rn=function(n){var t,e=[],i=0;for(t in n)e[i++]=t;return e},on=function(n){for(var t in n)return!1;return!0},ln=function(n,t){for(var e in n)if(!(e in t)||n[e]!==t[e])return!1;for(e in t)if(!(e in n))return!1;return!0},un=function(n){var t,e={};for(t in n)e[t]=n[t];return e},an="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),sn=function(n,t){for(var e,i,r=1;r<arguments.length;r++){i=arguments[r];for(e in i)n[e]=i[e];for(var o=0;o<an.length;o++)e=an[o],Object.prototype.hasOwnProperty.call(i,e)&&(n[e]=i[e])}},cn=function(n){return cn[" "](n),n};cn[" "]=r;var hn,dn=function(n,t){var e=In;return Object.prototype.hasOwnProperty.call(e,n)?e[n]:e[n]=t(n)},fn=nn("Opera"),pn=nn("Trident")||nn("MSIE"),vn=nn("Edge"),gn=vn||pn,mn=nn("Gecko")&&!(N(P.toLowerCase(),"webkit")&&!nn("Edge"))&&!(nn("Trident")||nn("MSIE"))&&!nn("Edge"),bn=N(P.toLowerCase(),"webkit")&&!nn("Edge"),yn=function(){var n=e.document;return n?n.documentMode:void 0};n:{var wn="",_n=function(){var n=P;return mn?/rv\:([^\);]+)(\)|;)/.exec(n):vn?/Edge\/([\d\.]+)/.exec(n):pn?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(n):bn?/WebKit\/(\S+)/.exec(n):fn?/(?:Version)[ \/]?(\S+)/.exec(n):void 0}();if(_n&&(wn=_n?_n[1]:""),pn){var En=yn();if(null!=En&&En>parseFloat(wn)){hn=String(En);break n}}hn=wn}var kn,An=hn,In={},Cn=function(n){return dn(n,function(){for(var t=0,e=_(String(An)).split("."),i=_(String(n)).split("."),r=Math.max(e.length,i.length),o=0;0==t&&o<r;o++){var l=e[o]||"",u=i[o]||"";do{if(l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""],u=/(\d*)(\D*)(.*)/.exec(u)||["","","",""],0==l[0].length&&0==u[0].length)break;t=O(0==l[1].length?0:parseInt(l[1],10),0==u[1].length?0:parseInt(u[1],10))||O(0==l[2].length,0==u[2].length)||O(l[2],u[2]),l=l[3],u=u[3]}while(0==t)}return 0<=t})},Sn=e.document;kn=Sn&&pn?yn()||("CSS1Compat"==Sn.compatMode?parseInt(An,10):5):void 0;var Tn,Nn=null,On=null,Rn=function(n){var t="";return Pn(n,function(n){t+=String.fromCharCode(n)}),t},Pn=function(n,t){function e(t){for(;i<n.length;){var e=n.charAt(i++),r=On[e];if(null!=r)return r;if(!/^[\s\xa0]*$/.test(e))throw Error("Unknown base64 encoding at char: "+e)}return t}Dn();for(var i=0;;){var r=e(-1),o=e(0),l=e(64),u=e(64);if(64===u&&-1===r)break;t(r<<2|o>>4),64!=l&&(t(o<<4&240|l>>2),64!=u&&t(l<<6&192|u))}},Dn=function(){if(!Nn){Nn={},On={};for(var n=0;65>n;n++)Nn[n]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(n),On[Nn[n]]=n,62<=n&&(On["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(n)]=n)}},Ln=function(){this.Da=-1},Mn=function(n,t){this.Da=64,this.ec=e.Uint8Array?new Uint8Array(this.Da):Array(this.Da),this.Fc=this.hb=0,this.h=[],this.lf=n,this.Wd=t,this.Mf=e.Int32Array?new Int32Array(64):Array(64),void 0!==Tn||(Tn=e.Int32Array?new Int32Array(jn):jn),this.reset()};b(Mn,Ln);for(var xn=[],Vn=0;63>Vn;Vn++)xn[Vn]=0;var Un=z(128,xn);Mn.prototype.reset=function(){this.Fc=this.hb=0,this.h=e.Int32Array?new Int32Array(this.Wd):J(this.Wd)};var Fn=function(n){var t=n.ec;L(t.length==n.Da);for(var e=n.Mf,i=0,r=0;r<t.length;)e[i++]=t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3],r=4*i;for(t=16;64>t;t++){var r=0|e[t-15],i=0|e[t-2],o=(0|e[t-16])+((r>>>7|r<<25)^(r>>>18|r<<14)^r>>>3)|0,l=(0|e[t-7])+((i>>>17|i<<15)^(i>>>19|i<<13)^i>>>10)|0;e[t]=o+l|0}for(var i=0|n.h[0],r=0|n.h[1],u=0|n.h[2],a=0|n.h[3],s=0|n.h[4],c=0|n.h[5],h=0|n.h[6],o=0|n.h[7],t=0;64>t;t++)var d=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&r^i&u^r&u)|0,l=s&c^~s&h,o=o+((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))|0,l=l+(0|Tn[t])|0,l=o+(l+(0|e[t])|0)|0,o=h,h=c,c=s,s=a+l|0,a=u,u=r,r=i,i=l+d|0;n.h[0]=n.h[0]+i|0,n.h[1]=n.h[1]+r|0,n.h[2]=n.h[2]+u|0,n.h[3]=n.h[3]+a|0,n.h[4]=n.h[4]+s|0,n.h[5]=n.h[5]+c|0,n.h[6]=n.h[6]+h|0,n.h[7]=n.h[7]+o|0};Mn.prototype.update=function(n,t){void 0===t&&(t=n.length);var e=0,i=this.hb;if(s(n))for(;e<t;)this.ec[i++]=n.charCodeAt(e++),i==this.Da&&(Fn(this),i=0);else{if(!a(n))throw Error("message must be string or array");for(;e<t;){var r=n[e++];if(!("number"==typeof r&&0<=r&&255>=r&&r==(0|r)))throw Error("message must be a byte array");this.ec[i++]=r,i==this.Da&&(Fn(this),i=0)}}this.hb=i,this.Fc+=t},Mn.prototype.digest=function(){var n=[],t=8*this.Fc;56>this.hb?this.update(Un,56-this.hb):this.update(Un,this.Da-(this.hb-56));for(var e=63;56<=e;e--)this.ec[e]=255&t,t/=256;for(Fn(this),e=t=0;e<this.lf;e++)for(var i=24;0<=i;i-=8)n[t++]=this.h[e]>>i&255;return n};var jn=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],qn=function(){Mn.call(this,8,Xn)};b(qn,Mn);var Xn=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Kn=function(){this.Ga=this.Ga,this.tc=this.tc};Kn.prototype.Ga=!1,Kn.prototype.isDisposed=function(){return this.Ga},Kn.prototype.cb=function(){if(this.tc)for(;this.tc.length;)this.tc.shift()()};var Bn=!pn||9<=Number(kn),Gn=pn&&!Cn("9");!bn||Cn("528"),mn&&Cn("1.9b")||pn&&Cn("8")||fn&&Cn("9.5")||bn&&Cn("528"),mn&&!Cn("8")||pn&&Cn("9");var Wn=function(n,t){this.type=n,this.currentTarget=this.target=t,this.defaultPrevented=this.nb=!1,this.ee=!0};Wn.prototype.preventDefault=function(){this.defaultPrevented=!0,this.ee=!1};var Hn=function(n,t){Wn.call(this,n?n.type:""),this.relatedTarget=this.currentTarget=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.key="",this.charCode=this.keyCode=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.eb=this.state=null,n&&this.init(n,t)};b(Hn,Wn),Hn.prototype.init=function(n,t){var e=this.type=n.type,i=n.changedTouches?n.changedTouches[0]:null;if(this.target=n.target||n.srcElement,this.currentTarget=t,t=n.relatedTarget){if(mn){var r;n:{try{cn(t.nodeName),r=!0;break n}catch(n){}r=!1}r||(t=null)}}else"mouseover"==e?t=n.fromElement:"mouseout"==e&&(t=n.toElement);this.relatedTarget=t,null===i?(this.offsetX=bn||void 0!==n.offsetX?n.offsetX:n.layerX,this.offsetY=bn||void 0!==n.offsetY?n.offsetY:n.layerY,this.clientX=void 0!==n.clientX?n.clientX:n.pageX,this.clientY=void 0!==n.clientY?n.clientY:n.pageY,this.screenX=n.screenX||0,this.screenY=n.screenY||0):(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0),this.button=n.button,this.keyCode=n.keyCode||0,this.key=n.key||"",this.charCode=n.charCode||("keypress"==e?n.keyCode:0),this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.state=n.state,this.eb=n,n.defaultPrevented&&this.preventDefault()},Hn.prototype.preventDefault=function(){Hn.xd.preventDefault.call(this);var n=this.eb;if(n.preventDefault)n.preventDefault();else if(n.returnValue=!1,Gn)try{(n.ctrlKey||112<=n.keyCode&&123>=n.keyCode)&&(n.keyCode=-1)}catch(n){}},Hn.prototype.Pe=function(){return this.eb};var Yn="closure_listenable_"+(1e6*Math.random()|0),zn=0,Jn=function(n,t,e,i,r){this.listener=n,this.xc=null,this.src=t,this.type=e,this.capture=!!i,this.kc=r,this.key=++zn,this.rb=this.dc=!1},$n=function(n){n.rb=!0,n.listener=null,n.xc=null,n.src=null,n.kc=null},Zn=function(n){this.src=n,this.G={},this.$b=0};Zn.prototype.add=function(n,t,e,i,r){var o=n.toString();(n=this.G[o])||(n=this.G[o]=[],this.$b++);var l=nt(n,t,i,r);return-1<l?(t=n[l],e||(t.dc=!1)):(t=new Jn(t,this.src,o,!!i,r),t.dc=e,n.push(t)),t},Zn.prototype.remove=function(n,t,e,i){if(!((n=n.toString())in this.G))return!1;var r=this.G[n];return-1<(t=nt(r,t,e,i))&&($n(r[t]),H(r,t),0==r.length&&(delete this.G[n],this.$b--),!0)};var Qn=function(n,t){var e=t.type;e in n.G&&W(n.G[e],t)&&($n(t),0==n.G[e].length&&(delete n.G[e],n.$b--))};Zn.prototype.Uc=function(n,t,e,i){n=this.G[n.toString()];var r=-1;return n&&(r=nt(n,t,e,i)),-1<r?n[r]:null};var nt=function(n,t,e,i){for(var r=0;r<n.length;++r){var o=n[r];if(!o.rb&&o.listener==t&&o.capture==!!e&&o.kc==i)return r}return-1},tt="closure_lm_"+(1e6*Math.random()|0),et={},it=0,rt=function(n,t,e,i,r){if(u(t))for(var o=0;o<t.length;o++)rt(n,t[o],e,i,r);else e=gt(e),n&&n[Yn]?n.listen(t,e,i,r):ot(n,t,e,!1,i,r)},ot=function(n,t,e,i,r,o){if(!t)throw Error("Invalid event type");var l=!!r,u=pt(n);if(u||(n[tt]=u=new Zn(n)),e=u.add(t,e,i,r,o),!e.xc){if(i=lt(),e.xc=i,i.src=n,i.listener=e,n.addEventListener)n.addEventListener(t.toString(),i,l);else{if(!n.attachEvent)throw Error("addEventListener and attachEvent are unavailable.");n.attachEvent(ct(t.toString()),i)}it++}},lt=function(){var n=ft,t=Bn?function(e){return n.call(t.src,t.listener,e)}:function(e){if(!(e=n.call(t.src,t.listener,e)))return e};return t},ut=function(n,t,e,i,r){if(u(t))for(var o=0;o<t.length;o++)ut(n,t[o],e,i,r);else e=gt(e),n&&n[Yn]?mi(n,t,e,i,r):ot(n,t,e,!0,i,r)},at=function(n,t,e,i,r){if(u(t))for(var o=0;o<t.length;o++)at(n,t[o],e,i,r);else e=gt(e),n&&n[Yn]?n.fa.remove(String(t),e,i,r):n&&(n=pt(n))&&(t=n.Uc(t,e,!!i,r))&&st(t)},st=function(n){if(!c(n)&&n&&!n.rb){var t=n.src;if(t&&t[Yn])Qn(t.fa,n);else{var e=n.type,i=n.xc;t.removeEventListener?t.removeEventListener(e,i,n.capture):t.detachEvent&&t.detachEvent(ct(e),i),it--,(e=pt(t))?(Qn(e,n),0==e.$b&&(e.src=null,t[tt]=null)):$n(n)}}},ct=function(n){return n in et?et[n]:et[n]="on"+n},ht=function(n,t,e,i){var r=!0;if((n=pt(n))&&(t=n.G[t.toString()]))for(t=t.concat(),n=0;n<t.length;n++){var o=t[n];o&&o.capture==e&&!o.rb&&(o=dt(o,i),r=r&&!1!==o)}return r},dt=function(n,t){var e=n.listener,i=n.kc||n.src;return n.dc&&st(n),e.call(i,t)},ft=function(n,t){if(n.rb)return!0;if(!Bn){if(!t)n:{t=["window","event"];for(var i,r=e;i=t.shift();){if(null==r[i]){t=null;break n}r=r[i]}t=r}if(i=t,t=new Hn(i,this),r=!0,!(0>i.keyCode||void 0!=i.returnValue)){n:{var o=!1;if(0==i.keyCode)try{i.keyCode=-1;break n}catch(n){o=!0}(o||void 0==i.returnValue)&&(i.returnValue=!0)}for(i=[],o=t.currentTarget;o;o=o.parentNode)i.push(o);for(n=n.type,o=i.length-1;!t.nb&&0<=o;o--){t.currentTarget=i[o];var l=ht(i[o],n,!0,t),r=r&&l}for(o=0;!t.nb&&o<i.length;o++)t.currentTarget=i[o],l=ht(i[o],n,!1,t),r=r&&l}return r}return dt(n,new Hn(t,this))},pt=function(n){return n=n[tt],n instanceof Zn?n:null},vt="__closure_events_fn_"+(1e9*Math.random()>>>0),gt=function(n){return L(n,"Listener can not be null."),h(n)?n:(L(n.handleEvent,"An object listener must have handleEvent method."),n[vt]||(n[vt]=function(t){return n.handleEvent(t)}),n[vt])},mt=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/,bt=function(){this.Cc="",this.we=wt};bt.prototype.Eb=!0,bt.prototype.Bb=function(){return this.Cc},bt.prototype.toString=function(){return"Const{"+this.Cc+"}"};var yt=function(n){return n instanceof bt&&n.constructor===bt&&n.we===wt?n.Cc:(M("expected object of type Const, got '"+n+"'"),"type_error:Const")},wt={},_t=function(n){var t=new bt;return t.Cc=n,t};_t("");var Et=function(){this.wc="",this.xe=kt};Et.prototype.Eb=!0,Et.prototype.Bb=function(){return this.wc},Et.prototype.toString=function(){return"TrustedResourceUrl{"+this.wc+"}"};var kt={},At=function(){this.pa="",this.ve=Tt};At.prototype.Eb=!0,At.prototype.Bb=function(){return this.pa},At.prototype.toString=function(){return"SafeUrl{"+this.pa+"}"};var It=function(n){return n instanceof At&&n.constructor===At&&n.ve===Tt?n.pa:(M("expected object of type SafeUrl, got '"+n+"' of type "+o(n)),"type_error:SafeUrl")},Ct=/^(?:(?:https?|mailto|ftp):|[^&:\/?#]*(?:[\/?#]|$))/i,St=function(n){return n instanceof At?n:(n=n.Eb?n.Bb():String(n),Ct.test(n)||(n="about:invalid#zClosurez"),Nt(n))},Tt={},Nt=function(n){var t=new At;return t.pa=n,t};Nt("about:blank");var Ot=function(n){var t=[];return Pt(new Rt,n,t),t.join("")},Rt=function(){this.yc=void 0},Pt=function(n,t,e){if(null==t)e.push("null");else{if("object"==typeof t){if(u(t)){var i=t;t=i.length,e.push("[");for(var r="",o=0;o<t;o++)e.push(r),r=i[o],Pt(n,n.yc?n.yc.call(i,String(o),r):r,e),r=",";return void e.push("]")}if(!(t instanceof String||t instanceof Number||t instanceof Boolean)){e.push("{"),o="";for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&"function"!=typeof(r=t[i])&&(e.push(o),Mt(i,e),e.push(":"),Pt(n,n.yc?n.yc.call(t,i,r):r,e),o=",");return void e.push("}")}t=t.valueOf()}switch(typeof t){case"string":Mt(t,e);break;case"number":e.push(isFinite(t)&&!isNaN(t)?String(t):"null");break;case"boolean":e.push(String(t));break;case"function":e.push("null");break;default:throw Error("Unknown type: "+typeof t)}}},Dt={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Lt=/\uffff/.test("")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Mt=function(n,t){t.push('"',n.replace(Lt,function(n){var t=Dt[n];return t||(t="\\u"+(65536|n.charCodeAt(0)).toString(16).substr(1),Dt[n]=t),t}),'"')},xt=function(){};xt.prototype.Dd=null;var Vt,Ut=function(n){return n.Dd||(n.Dd=n.$c())},Ft=function(){};b(Ft,xt),Ft.prototype.fc=function(){var n=jt(this);return n?new ActiveXObject(n):new XMLHttpRequest},Ft.prototype.$c=function(){var n={};return jt(this)&&(n[0]=!0,n[1]=!0),n};var jt=function(n){if(!n.Vd&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],e=0;e<t.length;e++){var i=t[e];try{return new ActiveXObject(i),n.Vd=i}catch(n){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return n.Vd};Vt=new Ft;var qt=function(){};b(qt,xt),qt.prototype.fc=function(){var n=new XMLHttpRequest;if("withCredentials"in n)return n;if("undefined"!=typeof XDomainRequest)return new Xt;throw Error("Unsupported browser")},qt.prototype.$c=function(){return{}};var Xt=function(){this.ua=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseText="",this.status=-1,this.statusText=this.responseXML=null,this.ua.onload=v(this.Re,this),this.ua.onerror=v(this.Sd,this),this.ua.onprogress=v(this.Se,this),this.ua.ontimeout=v(this.Te,this)};n=Xt.prototype,n.open=function(n,t,e){if(null!=e&&!e)throw Error("Only async requests are supported.");this.ua.open(n,t)},n.send=function(n){if(n){if("string"!=typeof n)throw Error("Only string data is supported");this.ua.send(n)}else this.ua.send()},n.abort=function(){this.ua.abort()},n.setRequestHeader=function(){},n.Re=function(){this.status=200,this.responseText=this.ua.responseText,Kt(this,4)},n.Sd=function(){this.status=500,this.responseText="",Kt(this,4)},n.Te=function(){this.Sd()},n.Se=function(){this.status=200,Kt(this,1)};var Kt=function(n,t){n.readyState=t,n.onreadystatechange&&n.onreadystatechange()},Bt=function(n,t,e){this.ef=e,this.Fe=n,this.wf=t,this.sc=0,this.lc=null};Bt.prototype.get=function(){var n;return 0<this.sc?(this.sc--,n=this.lc,this.lc=n.next,n.next=null):n=this.Fe(),n},Bt.prototype.put=function(n){this.wf(n),this.sc<this.ef&&(this.sc++,n.next=this.lc,this.lc=n)};var Gt,Wt=function(n){e.setTimeout(function(){throw n},0)},Ht=function(){var n=e.MessageChannel;if(void 0===n&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!nn("Presto")&&(n=function(){var n=document.createElement("IFRAME");n.style.display="none",n.src="",document.documentElement.appendChild(n);var t=n.contentWindow,n=t.document;n.open(),n.write(""),n.close();var e="callImmediate"+Math.random(),i="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host,n=v(function(n){"*"!=i&&n.origin!=i||n.data!=e||this.port1.onmessage()},this);t.addEventListener("message",n,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(e,i)}}}),void 0!==n&&!nn("Trident")&&!nn("MSIE")){var t=new n,i={},r=i;return t.port1.onmessage=function(){if(void 0!==i.next){i=i.next;var n=i.Gd;i.Gd=null,n()}},function(n){r.next={Gd:n},r=r.next,t.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(n){var t=document.createElement("SCRIPT");t.onreadystatechange=function(){t.onreadystatechange=null,t.parentNode.removeChild(t),t=null,n(),n=null},document.documentElement.appendChild(t)}:function(n){e.setTimeout(n,0)}},Yt=function(){this.Jc=this.Za=null},zt=new Bt(function(){return new Jt},function(n){n.reset()},100);Yt.prototype.add=function(n,t){var e=zt.get();e.set(n,t),this.Jc?this.Jc.next=e:(L(!this.Za),this.Za=e),this.Jc=e},Yt.prototype.remove=function(){var n=null;return this.Za&&(n=this.Za,this.Za=this.Za.next,this.Za||(this.Jc=null),n.next=null),n};var Jt=function(){this.next=this.scope=this.Tc=null};Jt.prototype.set=function(n,t){this.Tc=n,this.scope=t,this.next=null},Jt.prototype.reset=function(){this.next=this.scope=this.Tc=null};var $t,Zt=function(n,t){$t||Qt(),ne||($t(),ne=!0),te.add(n,t)},Qt=function(){if(-1!=String(e.Promise).indexOf("[native code]")){var n=e.Promise.resolve(void 0);$t=function(){n.then(ee)}}else $t=function(){var n=ee;!h(e.setImmediate)||e.Window&&e.Window.prototype&&!nn("Edge")&&e.Window.prototype.setImmediate==e.setImmediate?(Gt||(Gt=Ht()),Gt(n)):e.setImmediate(n)}},ne=!1,te=new Yt,ee=function(){for(var n;n=te.remove();){try{n.Tc.call(n.scope)}catch(n){Wt(n)}zt.put(n)}ne=!1};!mn&&!pn||pn&&9<=Number(kn)||mn&&Cn("1.9.1"),pn&&Cn("9");var ie=function(){this.pa="",this.ue=oe};ie.prototype.Eb=!0,ie.prototype.Bb=function(){return this.pa},ie.prototype.toString=function(){return"SafeHtml{"+this.pa+"}"};var re=function(n){return n instanceof ie&&n.constructor===ie&&n.ue===oe?n.pa:(M("expected object of type SafeHtml, got '"+n+"' of type "+o(n)),"type_error:SafeHtml")},oe={};ie.prototype.$e=function(n){return this.pa=n,this};var le=function(n,t){tn(t,function(t,e){t&&t.Eb&&(t=t.Bb()),"style"==e?n.style.cssText=t:"class"==e?n.className=t:"for"==e?n.htmlFor=t:ue.hasOwnProperty(e)?n.setAttribute(ue[e],t):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?n.setAttribute(e,t):n[e]=t})},ue={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},ae=function(n){n.prototype.then=n.prototype.then,n.prototype.$goog_Thenable=!0},se=function(n){if(!n)return!1;try{return!!n.$goog_Thenable}catch(n){return!1}},ce=function(n,t){if(this.N=0,this.ra=void 0,this.bb=this.na=this.s=null,this.jc=this.Sc=!1,n!=r)try{var e=this;n.call(t,function(n){Ee(e,2,n)},function(n){if(!(n instanceof Re))try{if(n instanceof Error)throw n;throw Error("Promise rejected.")}catch(n){}Ee(e,3,n)})}catch(n){Ee(this,3,n)}},he=function(){this.next=this.context=this.jb=this.Oa=this.child=null,this.xb=!1};he.prototype.reset=function(){this.context=this.jb=this.Oa=this.child=null,this.xb=!1};var de=new Bt(function(){return new he},function(n){n.reset()},100),fe=function(n,t,e){var i=de.get();return i.Oa=n,i.jb=t,i.context=e,i},pe=function(n){if(n instanceof ce)return n;var t=new ce(r);return Ee(t,2,n),t},ve=function(n){return new ce(function(t,e){e(n)})},ge=function(n,t,e){ke(n,t,e,null)||Zt(g(t,n))},me=function(n){return new ce(function(t){var e=n.length,i=[];if(e)for(var r,o=function(n,r,o){e--,i[n]=r?{Ne:!0,value:o}:{Ne:!1,reason:o},0==e&&t(i)},l=0;l<n.length;l++)r=n[l],ge(r,g(o,l,!0),g(o,l,!1));else t(i)})};ce.prototype.then=function(n,t,e){return null!=n&&U(n,"opt_onFulfilled should be a function."),null!=t&&U(t,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?"),_e(this,h(n)?n:null,h(t)?t:null,e)},ae(ce);var be=function(n,t){return t=fe(t,t,void 0),t.xb=!0,we(n,t),n};ce.prototype.f=function(n,t){return _e(this,null,n,t)},ce.prototype.cancel=function(n){0==this.N&&Zt(function(){var t=new Re(n);ye(this,t)},this)};var ye=function(n,t){if(0==n.N)if(n.s){var e=n.s;if(e.na){for(var i=0,r=null,o=null,l=e.na;l&&(l.xb||(i++,l.child==n&&(r=l),!(r&&1<i)));l=l.next)r||(o=l);r&&(0==e.N&&1==i?ye(e,t):(o?(i=o,L(e.na),L(null!=i),i.next==e.bb&&(e.bb=i),i.next=i.next.next):Ce(e),Se(e,r,3,t)))}n.s=null}else Ee(n,3,t)},we=function(n,t){n.na||2!=n.N&&3!=n.N||Ie(n),L(null!=t.Oa),n.bb?n.bb.next=t:n.na=t,n.bb=t},_e=function(n,t,e,i){var r=fe(null,null,null);return r.child=new ce(function(n,o){r.Oa=t?function(e){try{var r=t.call(i,e);n(r)}catch(n){o(n)}}:n,r.jb=e?function(t){try{var r=e.call(i,t);void 0===r&&t instanceof Re?o(t):n(r)}catch(n){o(n)}}:o}),r.child.s=n,we(n,r),r.child};ce.prototype.Jf=function(n){L(1==this.N),this.N=0,Ee(this,2,n)},ce.prototype.Kf=function(n){L(1==this.N),this.N=0,Ee(this,3,n)};var Ee=function(n,t,e){0==n.N&&(n===e&&(t=3,e=new TypeError("Promise cannot resolve to itself")),n.N=1,ke(e,n.Jf,n.Kf,n)||(n.ra=e,n.N=t,n.s=null,Ie(n),3!=t||e instanceof Re||Ne(n,e)))},ke=function(n,t,e,i){if(n instanceof ce)return null!=t&&U(t,"opt_onFulfilled should be a function."),null!=e&&U(e,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?"),we(n,fe(t||r,e||null,i)),!0;if(se(n))return n.then(t,e,i),!0;if(d(n))try{var o=n.then;if(h(o))return Ae(n,o,t,e,i),!0}catch(n){return e.call(i,n),!0}return!1},Ae=function(n,t,e,i,r){var o=!1,l=function(n){o||(o=!0,e.call(r,n))},u=function(n){o||(o=!0,i.call(r,n))};try{t.call(n,l,u)}catch(n){u(n)}},Ie=function(n){n.Sc||(n.Sc=!0,Zt(n.Je,n))},Ce=function(n){var t=null;return n.na&&(t=n.na,n.na=t.next,t.next=null),n.na||(n.bb=null),null!=t&&L(null!=t.Oa),t};ce.prototype.Je=function(){for(var n;n=Ce(this);)Se(this,n,this.N,this.ra);this.Sc=!1};var Se=function(n,t,e,i){if(3==e&&t.jb&&!t.xb)for(;n&&n.jc;n=n.s)n.jc=!1;if(t.child)t.child.s=null,Te(t,e,i);else try{t.xb?t.Oa.call(t.context):Te(t,e,i)}catch(n){Oe.call(null,n)}de.put(t)},Te=function(n,t,e){2==t?n.Oa.call(n.context,e):n.jb&&n.jb.call(n.context,e)},Ne=function(n,t){n.jc=!0,Zt(function(){n.jc&&Oe.call(null,t)})},Oe=Wt,Re=function(n){y.call(this,n)};b(Re,y),Re.prototype.name="cancel";var Pe=function(n,t){this.zc=[],this.$d=n,this.Jd=t||null,this.Cb=this.fb=!1,this.ra=void 0,this.ud=this.Cd=this.Nc=!1,this.Gc=0,this.s=null,this.Oc=0};Pe.prototype.cancel=function(n){if(this.fb)this.ra instanceof Pe&&this.ra.cancel();else{if(this.s){var t=this.s;delete this.s,n?t.cancel(n):0>=--t.Oc&&t.cancel()}this.$d?this.$d.call(this.Jd,this):this.ud=!0,this.fb||Me(this,new Xe)}},Pe.prototype.Hd=function(n,t){this.Nc=!1,De(this,n,t)};var De=function(n,t,e){n.fb=!0,n.ra=e,n.Cb=!t,je(n)},Le=function(n){if(n.fb){if(!n.ud)throw new qe;n.ud=!1}};Pe.prototype.callback=function(n){Le(this),xe(n),De(this,!0,n)};var Me=function(n,t){Le(n),xe(t),De(n,!1,t)},xe=function(n){L(!(n instanceof Pe),"An execution sequence may not be initiated with a blocking Deferred.")},Ve=function(n){var t=Ge("https://apis.google.com/js/client.js?onload="+Ko);Ue(t,null,n,void 0)},Ue=function(n,t,e,i){L(!n.Cd,"Blocking Deferreds can not be re-used"),n.zc.push([t,e,i]),n.fb&&je(n)};Pe.prototype.then=function(n,t,e){var i,r,o=new ce(function(n,t){i=n,r=t});return Ue(this,i,function(n){n instanceof Xe?o.cancel():r(n)}),o.then(n,t,e)},ae(Pe);var Fe=function(n){return K(n.zc,function(n){return h(n[1])})},je=function(n){if(n.Gc&&n.fb&&Fe(n)){var t=n.Gc,i=Be[t];i&&(e.clearTimeout(i.Db),delete Be[t]),n.Gc=0}n.s&&(n.s.Oc--,delete n.s);for(var t=n.ra,r=i=!1;n.zc.length&&!n.Nc;){var o=n.zc.shift(),l=o[0],u=o[1],o=o[2];if(l=n.Cb?u:l)try{var a=l.call(o||n.Jd,t);void 0!==a&&(n.Cb=n.Cb&&(a==t||a instanceof Error),n.ra=t=a),(se(t)||"function"==typeof e.Promise&&t instanceof e.Promise)&&(r=!0,n.Nc=!0)}catch(e){t=e,n.Cb=!0,Fe(n)||(i=!0)}}n.ra=t,r&&(a=v(n.Hd,n,!0),r=v(n.Hd,n,!1),t instanceof Pe?(Ue(t,a,r),t.Cd=!0):t.then(a,r)),i&&(t=new Ke(t),Be[t.Db]=t,n.Gc=t.Db)},qe=function(){y.call(this)};b(qe,y),qe.prototype.message="Deferred has already fired",qe.prototype.name="AlreadyCalledError";var Xe=function(){y.call(this)};b(Xe,y),Xe.prototype.message="Deferred was canceled",Xe.prototype.name="CanceledError";var Ke=function(n){this.Db=e.setTimeout(v(this.If,this),0),this.P=n};Ke.prototype.If=function(){throw L(Be[this.Db],"Cannot throw an error that is not scheduled."),delete Be[this.Db],this.P};var Be={},Ge=function(n){var t=new Et;return t.wc=n,We(t)},We=function(n){var t,e={},i=e.document||document;n instanceof Et&&n.constructor===Et&&n.xe===kt?t=n.wc:(M("expected object of type TrustedResourceUrl, got '"+n+"' of type "+o(n)),t="type_error:TrustedResourceUrl");var r=document.createElement("SCRIPT");n={fe:r,Zb:void 0};var l=new Pe(Ye,n),u=null,a=null!=e.timeout?e.timeout:5e3;return 0<a&&(u=window.setTimeout(function(){ze(r,!0),Me(l,new Je(1,"Timeout reached for loading script "+t))},a),n.Zb=u),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(ze(r,e.Uf||!1,u),l.callback(null))},r.onerror=function(){ze(r,!0,u),Me(l,new Je(0,"Error while loading script "+t))},n=e.attributes||{},sn(n,{type:"text/javascript",charset:"UTF-8",src:t}),le(r,n),He(i).appendChild(r),l},He=function(n){var t;return(t=(n||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:n.documentElement},Ye=function(){if(this&&this.fe){var n=this.fe;n&&"SCRIPT"==n.tagName&&ze(n,!0,this.Zb)}},ze=function(n,t,i){null!=i&&e.clearTimeout(i),n.onload=r,n.onerror=r,n.onreadystatechange=r,t&&window.setTimeout(function(){n&&n.parentNode&&n.parentNode.removeChild(n)},0)},Je=function(n,t){var e="Jsloader error (code #"+n+")";t&&(e+=": "+t),y.call(this,e),this.code=n};b(Je,y);var $e="StopIteration"in e?e.StopIteration:{message:"StopIteration",stack:""},Ze=function(){};Ze.prototype.next=function(){throw $e},Ze.prototype.ye=function(){return this};var Qe=function(n,t){this.ga={},this.w=[],this.wb=this.o=0;var e=arguments.length;if(1<e){if(e%2)throw Error("Uneven number of arguments");for(var i=0;i<e;i+=2)this.set(arguments[i],arguments[i+1])}else n&&this.addAll(n)};Qe.prototype.Z=function(){ni(this);for(var n=[],t=0;t<this.w.length;t++)n.push(this.ga[this.w[t]]);return n},Qe.prototype.oa=function(){return ni(this),this.w.concat()},Qe.prototype.yb=function(n){return ti(this.ga,n)},Qe.prototype.remove=function(n){return!!ti(this.ga,n)&&(delete this.ga[n],this.o--,this.wb++,this.w.length>2*this.o&&ni(this),!0)};var ni=function(n){if(n.o!=n.w.length){for(var t=0,e=0;t<n.w.length;){var i=n.w[t];ti(n.ga,i)&&(n.w[e++]=i),t++}n.w.length=e}if(n.o!=n.w.length){for(var r={},e=t=0;t<n.w.length;)i=n.w[t],ti(r,i)||(n.w[e++]=i,r[i]=1),t++;n.w.length=e}};n=Qe.prototype,n.get=function(n,t){return ti(this.ga,n)?this.ga[n]:t},n.set=function(n,t){ti(this.ga,n)||(this.o++,this.w.push(n),this.wb++),this.ga[n]=t},n.addAll=function(n){var t;n instanceof Qe?(t=n.oa(),n=n.Z()):(t=rn(n),n=en(n));for(var e=0;e<t.length;e++)this.set(t[e],n[e])},n.forEach=function(n,t){for(var e=this.oa(),i=0;i<e.length;i++){var r=e[i],o=this.get(r);n.call(t,o,r,this)}},n.clone=function(){return new Qe(this)},n.ye=function(n){ni(this);var t=0,e=this.wb,i=this,r=new Ze;return r.next=function(){if(e!=i.wb)throw Error("The map has changed since the iterator was created");if(t>=i.w.length)throw $e;var r=i.w[t++];return n?r:i.ga[r]},r};var ti=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},ei=function(n){if(n.Z&&"function"==typeof n.Z)return n.Z();if(s(n))return n.split("");if(a(n)){for(var t=[],e=n.length,i=0;i<e;i++)t.push(n[i]);return t}return en(n)},ii=function(n){if(n.oa&&"function"==typeof n.oa)return n.oa();if(!n.Z||"function"!=typeof n.Z){if(a(n)||s(n)){var t=[];n=n.length;for(var e=0;e<n;e++)t.push(e);return t}return rn(n)}},ri=function(n,t){if(n.forEach&&"function"==typeof n.forEach)n.forEach(t,void 0);else if(a(n)||s(n))j(n,t,void 0);else for(var e=ii(n),i=ei(n),r=i.length,o=0;o<r;o++)t.call(void 0,i[o],e&&e[o],n)},oi=function(n,t,e,i,r){this.reset(n,t,e,i,r)};oi.prototype.Md=null;var li=0;oi.prototype.reset=function(n,t,e,i,r){"number"==typeof r||li++,i||m(),this.Ib=n,this.hf=t,delete this.Md},oi.prototype.ie=function(n){this.Ib=n};var ui=function(n){this.jf=n,this.Td=this.Pc=this.Ib=this.s=null},ai=function(n,t){this.name=n,this.value=t};ai.prototype.toString=function(){return this.name};var si=new ai("SEVERE",1e3),ci=new ai("CONFIG",700),hi=new ai("FINE",500);ui.prototype.getParent=function(){return this.s},ui.prototype.ie=function(n){this.Ib=n};var di=function(n){return n.Ib?n.Ib:n.s?di(n.s):(M("Root logger has no level set."),null)};ui.prototype.log=function(n,t,i){if(n.value>=di(this).value)for(h(t)&&(t=t()),n=new oi(n,String(t),this.jf),i&&(n.Md=i),i="log:"+n.hf,e.console&&(e.console.timeStamp?e.console.timeStamp(i):e.console.markTimeline&&e.console.markTimeline(i)),e.msWriteProfilerMark&&e.msWriteProfilerMark(i),i=this;i;){var r=i,o=n;if(r.Td)for(var l=0;t=r.Td[l];l++)t(o);i=i.getParent()}};var fi={},pi=null,vi=function(n){pi||(pi=new ui(""),fi[""]=pi,pi.ie(ci));var t;if(!(t=fi[n])){t=new ui(n);var e=n.lastIndexOf("."),i=n.substr(e+1),e=vi(n.substr(0,e));e.Pc||(e.Pc={}),e.Pc[i]=t,t.s=e,fi[n]=t}return t},gi=function(){Kn.call(this),this.fa=new Zn(this),this.ze=this,this.hd=null};b(gi,Kn),gi.prototype[Yn]=!0,n=gi.prototype,n.addEventListener=function(n,t,e,i){rt(this,n,t,e,i)},n.removeEventListener=function(n,t,e,i){at(this,n,t,e,i)},n.dispatchEvent=function(n){yi(this);var t,e=this.hd;if(e){t=[];for(var i=1;e;e=e.hd)t.push(e),L(1e3>++i,"infinite loop")}if(e=this.ze,i=n.type||n,s(n))n=new Wn(n,e);else if(n instanceof Wn)n.target=n.target||e;else{var r=n;n=new Wn(i,e),sn(n,r)}var o,r=!0;if(t)for(var l=t.length-1;!n.nb&&0<=l;l--)o=n.currentTarget=t[l],r=bi(o,i,!0,n)&&r;if(n.nb||(o=n.currentTarget=e,r=bi(o,i,!0,n)&&r,n.nb||(r=bi(o,i,!1,n)&&r)),t)for(l=0;!n.nb&&l<t.length;l++)o=n.currentTarget=t[l],r=bi(o,i,!1,n)&&r;return r},n.cb=function(){if(gi.xd.cb.call(this),this.fa){var n,t=this.fa,e=0;for(n in t.G){for(var i=t.G[n],r=0;r<i.length;r++)++e,$n(i[r]);delete t.G[n],t.$b--}}this.hd=null},n.listen=function(n,t,e,i){return yi(this),this.fa.add(String(n),t,!1,e,i)};var mi=function(n,t,e,i,r){n.fa.add(String(t),e,!0,i,r)},bi=function(n,t,e,i){if(!(t=n.fa.G[String(t)]))return!0;t=t.concat();for(var r=!0,o=0;o<t.length;++o){var l=t[o];if(l&&!l.rb&&l.capture==e){var u=l.listener,a=l.kc||l.src;l.dc&&Qn(n.fa,l),r=!1!==u.call(a,i)&&r}}return r&&0!=i.ee};gi.prototype.Uc=function(n,t,e,i){return this.fa.Uc(String(n),t,e,i)};var yi=function(n){L(n.fa,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")},wi=function(n,t){n&&n.log(hi,t,void 0)},_i=function(n,t,i){if(h(n))i&&(n=v(n,i));else{if(!n||"function"!=typeof n.handleEvent)throw Error("Invalid listener argument");n=v(n.handleEvent,n)}return 2147483647<Number(t)?-1:e.setTimeout(n,t||0)},Ei=function(n){var t=null;return new ce(function(e,i){-1==(t=_i(function(){e(void 0)},n))&&i(Error("Failed to schedule timer."))}).f(function(n){throw e.clearTimeout(t),n})},ki=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Ai=function(n,t){if(n){n=n.split("&");for(var e=0;e<n.length;e++){var i,r=n[e].indexOf("="),o=null;0<=r?(i=n[e].substring(0,r),o=n[e].substring(r+1)):i=n[e],t(i,o?decodeURIComponent(o.replace(/\+/g," ")):"")}}},Ii=function(n){gi.call(this),this.headers=new Qe,this.Lc=n||null,this.va=!1,this.Kc=this.b=null,this.Hb=this.Zd=this.qc="",this.Ka=this.Yc=this.oc=this.Rc=!1,this.sb=0,this.Ec=null,this.de="",this.Hc=this.sf=this.te=!1};b(Ii,gi);var Ci=Ii.prototype,Si=vi("goog.net.XhrIo");Ci.U=Si;var Ti=/^https?$/i,Ni=["POST","PUT"];Ii.prototype.send=function(n,t,i,r){if(this.b)throw Error("[goog.net.XhrIo] Object is active with another request="+this.qc+"; newUri="+n);t=t?t.toUpperCase():"GET",this.qc=n,this.Hb="",this.Zd=t,this.Rc=!1,this.va=!0,this.b=this.Lc?this.Lc.fc():Vt.fc(),this.Kc=Ut(this.Lc?this.Lc:Vt),this.b.onreadystatechange=v(this.be,this),this.sf&&"onprogress"in this.b&&(this.b.onprogress=v(function(n){this.ae(n,!0)},this),this.b.upload&&(this.b.upload.onprogress=v(this.ae,this)));try{wi(this.U,ji(this,"Opening Xhr")),this.Yc=!0,this.b.open(t,String(n),!0),this.Yc=!1}catch(n){return wi(this.U,ji(this,"Error opening Xhr: "+n.message)),void this.P(5,n)}n=i||"";var o=this.headers.clone();r&&ri(r,function(n,t){o.set(t,n)}),r=B(o.oa()),i=e.FormData&&n instanceof e.FormData,!G(Ni,t)||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(n,t){this.b.setRequestHeader(t,n)},this),this.de&&(this.b.responseType=this.de),"withCredentials"in this.b&&this.b.withCredentials!==this.te&&(this.b.withCredentials=this.te);try{xi(this),0<this.sb&&(this.Hc=Oi(this.b),wi(this.U,ji(this,"Will abort after "+this.sb+"ms if incomplete, xhr2 "+this.Hc)),this.Hc?(this.b.timeout=this.sb,this.b.ontimeout=v(this.Zb,this)):this.Ec=_i(this.Zb,this.sb,this)),wi(this.U,ji(this,"Sending request")),this.oc=!0,this.b.send(n),this.oc=!1}catch(n){wi(this.U,ji(this,"Send error: "+n.message)),this.P(5,n)}};var Oi=function(n){return pn&&Cn(9)&&c(n.timeout)&&void 0!==n.ontimeout},Ri=function(n){return"content-type"==n.toLowerCase()};Ii.prototype.Zb=function(){void 0!==t&&this.b&&(this.Hb="Timed out after "+this.sb+"ms, aborting",wi(this.U,ji(this,this.Hb)),this.dispatchEvent("timeout"),this.abort(8))},Ii.prototype.P=function(n,t){this.va=!1,this.b&&(this.Ka=!0,this.b.abort(),this.Ka=!1),this.Hb=t,Pi(this),Mi(this)};var Pi=function(n){n.Rc||(n.Rc=!0,n.dispatchEvent("complete"),n.dispatchEvent("error"))};Ii.prototype.abort=function(){this.b&&this.va&&(wi(this.U,ji(this,"Aborting")),this.va=!1,this.Ka=!0,this.b.abort(),this.Ka=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Mi(this))},Ii.prototype.cb=function(){this.b&&(this.va&&(this.va=!1,this.Ka=!0,this.b.abort(),this.Ka=!1),Mi(this,!0)),Ii.xd.cb.call(this)},Ii.prototype.be=function(){this.isDisposed()||(this.Yc||this.oc||this.Ka?Di(this):this.nf())},Ii.prototype.nf=function(){Di(this)};var Di=function(n){if(n.va&&void 0!==t)if(n.Kc[1]&&4==Vi(n)&&2==Ui(n))wi(n.U,ji(n,"Local request error detected and ignored"));else if(n.oc&&4==Vi(n))_i(n.be,0,n);else if(n.dispatchEvent("readystatechange"),4==Vi(n)){wi(n.U,ji(n,"Request complete")),n.va=!1;try{var i,r=Ui(n);n:switch(r){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:i=!0;break n;default:i=!1}var o;if(!(o=i)){var l;if(l=0===r){var u=String(n.qc).match(ki)[1]||null;if(!u&&e.self&&e.self.location)var a=e.self.location.protocol,u=a.substr(0,a.length-1);l=!Ti.test(u?u.toLowerCase():"")}o=l}if(o)n.dispatchEvent("complete"),n.dispatchEvent("success");else{var s;try{s=2<Vi(n)?n.b.statusText:""}catch(t){wi(n.U,"Can not get status: "+t.message),s=""}n.Hb=s+" ["+Ui(n)+"]",Pi(n)}}finally{Mi(n)}}};Ii.prototype.ae=function(n,t){L("progress"===n.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress."),this.dispatchEvent(Li(n,"progress")),this.dispatchEvent(Li(n,t?"downloadprogress":"uploadprogress"))};var Li=function(n,t){return{type:t,lengthComputable:n.lengthComputable,loaded:n.loaded,total:n.total}},Mi=function(n,t){if(n.b){xi(n);var e=n.b,i=n.Kc[0]?r:null;n.b=null,n.Kc=null,t||n.dispatchEvent("ready");try{e.onreadystatechange=i}catch(t){(n=n.U)&&n.log(si,"Problem encountered resetting onreadystatechange: "+t.message,void 0)}}},xi=function(n){n.b&&n.Hc&&(n.b.ontimeout=null),c(n.Ec)&&(e.clearTimeout(n.Ec),n.Ec=null)},Vi=function(n){return n.b?n.b.readyState:0},Ui=function(n){try{return 2<Vi(n)?n.b.status:-1}catch(n){return-1}},Fi=function(n){try{return n.b?n.b.responseText:""}catch(t){return wi(n.U,"Can not get responseText: "+t.message),""}},ji=function(n,t){return t+" ["+n.Zd+" "+n.qc+" "+Ui(n)+"]"},qi=function(n,t){this.ea=this.Xa=this.ha="",this.lb=null,this.Ja=this.xa="",this.S=this.df=!1;var e;n instanceof qi?(this.S=void 0!==t?t:n.S,Xi(this,n.ha),e=n.Xa,zi(this),this.Xa=e,Ki(this,n.ea),Bi(this,n.lb),Gi(this,n.xa),Wi(this,n.W.clone()),n=n.Ja,zi(this),this.Ja=n):n&&(e=String(n).match(ki))?(this.S=!!t,Xi(this,e[1]||"",!0),n=e[2]||"",zi(this),this.Xa=Zi(n),Ki(this,e[3]||"",!0),Bi(this,e[4]),Gi(this,e[5]||"",!0),Wi(this,e[6]||"",!0),n=e[7]||"",zi(this),this.Ja=Zi(n)):(this.S=!!t,this.W=new lr(null,0,this.S))};qi.prototype.toString=function(){var n=[],t=this.ha;t&&n.push(Qi(t,tr,!0),":");var e=this.ea;return(e||"file"==t)&&(n.push("//"),(t=this.Xa)&&n.push(Qi(t,tr,!0),"@"),n.push(encodeURIComponent(String(e)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(e=this.lb)&&n.push(":",String(e))),(e=this.xa)&&(this.ea&&"/"!=e.charAt(0)&&n.push("/"),n.push(Qi(e,"/"==e.charAt(0)?ir:er,!0))),(e=this.W.toString())&&n.push("?",e),(e=this.Ja)&&n.push("#",Qi(e,or)),n.join("")},qi.prototype.resolve=function(n){var t=this.clone(),e=!!n.ha;if(e?Xi(t,n.ha):e=!!n.Xa,e){var i=n.Xa;zi(t),t.Xa=i}else e=!!n.ea;if(e?Ki(t,n.ea):e=null!=n.lb,i=n.xa,e)Bi(t,n.lb);else if(e=!!n.xa){if("/"!=i.charAt(0))if(this.ea&&!this.xa)i="/"+i;else{var r=t.xa.lastIndexOf("/");-1!=r&&(i=t.xa.substr(0,r+1)+i)}if(".."==(r=i)||"."==r)i="";else if(N(r,"./")||N(r,"/.")){for(var i=0==r.lastIndexOf("/",0),r=r.split("/"),o=[],l=0;l<r.length;){var u=r[l++];"."==u?i&&l==r.length&&o.push(""):".."==u?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&l==r.length&&o.push("")):(o.push(u),i=!0)}i=o.join("/")}else i=r}return e?Gi(t,i):e=""!==n.W.toString(),e?Wi(t,n.W.clone()):e=!!n.Ja,e&&(n=n.Ja,zi(t),t.Ja=n),t},qi.prototype.clone=function(){return new qi(this)};var Xi=function(n,t,e){zi(n),n.ha=e?Zi(t,!0):t,n.ha&&(n.ha=n.ha.replace(/:$/,""))},Ki=function(n,t,e){zi(n),n.ea=e?Zi(t,!0):t},Bi=function(n,t){if(zi(n),t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);n.lb=t}else n.lb=null},Gi=function(n,t,e){zi(n),n.xa=e?Zi(t,!0):t},Wi=function(n,t,e){zi(n),t instanceof lr?(n.W=t,n.W.td(n.S)):(e||(t=Qi(t,rr)),n.W=new lr(t,0,n.S))},Hi=function(n,t,e){zi(n),n.W.set(t,e)},Yi=function(n,t){return n.W.get(t)};qi.prototype.removeParameter=function(n){return zi(this),this.W.remove(n),this};var zi=function(n){if(n.df)throw Error("Tried to modify a read-only Uri")};qi.prototype.td=function(n){return this.S=n,this.W&&this.W.td(n),this};var Ji=function(n){return n instanceof qi?n.clone():new qi(n,void 0)},$i=function(n,t){var e=new qi(null,void 0);return Xi(e,"https"),n&&Ki(e,n),t&&Gi(e,t),e},Zi=function(n,t){return n?t?decodeURI(n.replace(/%25/g,"%2525")):decodeURIComponent(n):""},Qi=function(n,t,e){return s(n)?(n=encodeURI(n).replace(t,nr),e&&(n=n.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),n):null},nr=function(n){return n=n.charCodeAt(0),"%"+(n>>4&15).toString(16)+(15&n).toString(16)},tr=/[#\/\?@]/g,er=/[\#\?:]/g,ir=/[\#\?]/g,rr=/[\#\?@]/g,or=/#/g,lr=function(n,t,e){this.o=this.l=null,this.O=n||null,this.S=!!e},ur=function(n){n.l||(n.l=new Qe,n.o=0,n.O&&Ai(n.O,function(t,e){n.add(decodeURIComponent(t.replace(/\+/g," ")),e)}))},ar=function(n){var t=ii(n);if(void 0===t)throw Error("Keys are undefined");var e=new lr(null,0,void 0);n=ei(n);for(var i=0;i<t.length;i++){var r=t[i],o=n[i];u(o)?sr(e,r,o):e.add(r,o)}return e};n=lr.prototype,n.add=function(n,t){ur(this),this.O=null,n=this.R(n);var e=this.l.get(n);return e||this.l.set(n,e=[]),e.push(t),this.o=x(this.o)+1,this},n.remove=function(n){return ur(this),n=this.R(n),!!this.l.yb(n)&&(this.O=null,this.o=x(this.o)-this.l.get(n).length,this.l.remove(n))},n.yb=function(n){return ur(this),n=this.R(n),this.l.yb(n)},n.oa=function(){ur(this);for(var n=this.l.Z(),t=this.l.oa(),e=[],i=0;i<t.length;i++)for(var r=n[i],o=0;o<r.length;o++)e.push(t[i]);return e},n.Z=function(n){ur(this);var t=[];if(s(n))this.yb(n)&&(t=z(t,this.l.get(this.R(n))));else{n=this.l.Z();for(var e=0;e<n.length;e++)t=z(t,n[e])}return t},n.set=function(n,t){return ur(this),this.O=null,n=this.R(n),this.yb(n)&&(this.o=x(this.o)-this.l.get(n).length),this.l.set(n,[t]),this.o=x(this.o)+1,this},n.get=function(n,t){return n=n?this.Z(n):[],0<n.length?String(n[0]):t};var sr=function(n,t,e){n.remove(t),0<e.length&&(n.O=null,n.l.set(n.R(t),J(e)),n.o=x(n.o)+e.length)};lr.prototype.toString=function(){if(this.O)return this.O;if(!this.l)return"";for(var n=[],t=this.l.oa(),e=0;e<t.length;e++)for(var i=t[e],r=encodeURIComponent(String(i)),i=this.Z(i),o=0;o<i.length;o++){var l=r;""!==i[o]&&(l+="="+encodeURIComponent(String(i[o]))),n.push(l)}return this.O=n.join("&")},lr.prototype.clone=function(){var n=new lr;return n.O=this.O,this.l&&(n.l=this.l.clone(),n.o=this.o),n},lr.prototype.R=function(n){return n=String(n),this.S&&(n=n.toLowerCase()),n},lr.prototype.td=function(n){n&&!this.S&&(ur(this),this.O=null,this.l.forEach(function(n,t){var e=t.toLowerCase();t!=e&&(this.remove(t),sr(this,e,n))},this)),this.S=n};var cr=function(){var n=Tr();return pn&&!!kn&&11==kn||/Edge\/\d+/.test(n)},hr=function(){return e.window&&e.window.location.href||""},dr=function(n,t){t=t||e.window;var i="about:blank";n&&(i=It(St(n))),t.location.href=i},fr=function(n,t){var e,i=[];for(e in n)e in t?typeof n[e]!=typeof t[e]?i.push(e):u(n[e])?ln(n[e],t[e])||i.push(e):"object"==typeof n[e]&&null!=n[e]&&null!=t[e]?0<fr(n[e],t[e]).length&&i.push(e):n[e]!==t[e]&&i.push(e):i.push(e);for(e in t)e in n||i.push(e);return i},pr=function(){var n;return n=Tr(),!((n="Chrome"!=Cr(n)?null:(n=n.match(/\sChrome\/(\d+)/i))&&2==n.length?parseInt(n[1],10):null)&&30>n)&&(!pn||!kn||9<kn)},vr=function(n){return n=(n||Tr()).toLowerCase(),!!(n.match(/android/)||n.match(/webos/)||n.match(/iphone|ipad|ipod/)||n.match(/blackberry/)||n.match(/windows phone/)||n.match(/iemobile/))},gr=function(n){n=n||e.window;try{n.close()}catch(n){}},mr=function(n,t,e){var i=Math.floor(1e9*Math.random()).toString();t=t||500,e=e||600;var r=(window.screen.availHeight-e)/2,o=(window.screen.availWidth-t)/2;t={width:t,height:e,top:0<r?r:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},e=Tr().toLowerCase(),i&&(t.target=i,N(e,"crios/")&&(t.target="_blank")),"Firefox"==Cr(Tr())&&(n=n||"http://localhost",t.scrollbars=!0);var l;e=n||"about:blank",(i=t)||(i={}),n=window,t=e instanceof At?e:St(void 0!==e.href?e.href:String(e)),e=i.target||e.target,r=[];for(l in i)switch(l){case"width":case"height":case"top":case"left":r.push(l+"="+i[l]);break;case"target":case"noreferrer":break;default:r.push(l+"="+(i[l]?1:0))}if(l=r.join(","),(nn("iPhone")&&!nn("iPod")&&!nn("iPad")||nn("iPad")||nn("iPod"))&&n.navigator&&n.navigator.standalone&&e&&"_self"!=e?(l=n.document.createElement("A"),"undefined"!=typeof HTMLAnchorElement&&"undefined"!=typeof Location&&"undefined"!=typeof Element&&(r=l&&(l instanceof HTMLAnchorElement||!(l instanceof Location||l instanceof Element)),o=d(l)?l.constructor.displayName||l.constructor.name||Object.prototype.toString.call(l):void 0===l?"undefined":null===l?"null":typeof l,L(r,"Argument is not a HTMLAnchorElement (or a non-Element mock); got: %s",o)),t=t instanceof At?t:St(t),l.href=It(t),l.setAttribute("target",e),i.noreferrer&&l.setAttribute("rel","noreferrer"),i=document.createEvent("MouseEvent"),i.initMouseEvent("click",!0,!0,n,1),l.dispatchEvent(i),l={}):i.noreferrer?(l=n.open("",e,l),i=It(t),l&&(gn&&N(i,";")&&(i="'"+i.replace(/'/g,"%27")+"'"),l.opener=null,n=_t("b/12014412, meta tag with sanitized URL"),T.test(i)&&(-1!=i.indexOf("&")&&(i=i.replace(E,"&")),-1!=i.indexOf("<")&&(i=i.replace(k,"<")),-1!=i.indexOf(">")&&(i=i.replace(A,">")),-1!=i.indexOf('"')&&(i=i.replace(I,""")),-1!=i.indexOf("'")&&(i=i.replace(C,"'")),-1!=i.indexOf("\0")&&(i=i.replace(S,"�"))),i='<META HTTP-EQUIV="refresh" content="0; url='+i+'">',V(yt(n),"must provide justification"),L(!/^[\s\xa0]*$/.test(yt(n)),"must provide non-empty justification"),l.document.write(re((new ie).$e(i))),l.document.close())):l=n.open(It(t),e,l),l)try{l.focus()}catch(n){}return l},br=function(n){return new ce(function(t){var e=function(){Ei(2e3).then(function(){if(n&&!n.closed)return e();t()})};return e()})},yr=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,wr=function(){var n=null;return new ce(function(t){"complete"==e.document.readyState?t():(n=function(){t()},ut(window,"load",n))}).f(function(t){throw at(window,"load",n),t})},_r=function(){return Er(void 0)?wr().then(function(){return new ce(function(n,t){var i=e.document,r=setTimeout(function(){t(Error("Cordova framework is not ready."))},1e3);i.addEventListener("deviceready",function(){clearTimeout(r),n()},!1)})}):ve(Error("Cordova must run in an Android or iOS file scheme."))},Er=function(n){return n=n||Tr(),!("file:"!==Pr()||!n.toLowerCase().match(/iphone|ipad|ipod|android/))},kr=function(){var n=e.window;try{return!(!n||n==n.top)}catch(n){return!1}},Ar=function(){return i.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":i.INTERNAL.hasOwnProperty("node")?"Node":"Browser"},Ir=function(){var n=Ar();return"ReactNative"===n||"Node"===n},Cr=function(n){var t=n.toLowerCase();return N(t,"opera/")||N(t,"opr/")||N(t,"opios/")?"Opera":N(t,"iemobile")?"IEMobile":N(t,"msie")||N(t,"trident/")?"IE":N(t,"edge/")?"Edge":N(t,"firefox/")?"Firefox":N(t,"silk/")?"Silk":N(t,"blackberry")?"Blackberry":N(t,"webos")?"Webos":!N(t,"safari/")||N(t,"chrome/")||N(t,"crios/")||N(t,"android")?!N(t,"chrome/")&&!N(t,"crios/")||N(t,"edge/")?N(t,"android")?"Android":(n=n.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==n.length?n[1]:"Other":"Chrome":"Safari"},Sr=function(n){var t=Ar();return("Browser"===t?Cr(Tr()):t)+"/JsCore/"+n},Tr=function(){return e.navigator&&e.navigator.userAgent||""},Nr=function(n,t){n=n.split("."),t=t||e;for(var i=0;i<n.length&&"object"==typeof t&&null!=t;i++)t=t[n[i]];return i!=n.length&&(t=void 0),t},Or=function(){var n;if(n=(Rr()||"chrome-extension:"===Pr()||Er())&&!Ir())n:{try{var t=e.localStorage,i=Vr();if(t){t.setItem(i,"1"),t.removeItem(i),n=!cr()||!!e.indexedDB;break n}}catch(n){}n=!1}return n},Rr=function(){return"http:"===Pr()||"https:"===Pr()},Pr=function(){return e.location&&e.location.protocol||null},Dr=function(n){return n=n||Tr(),!vr(n)&&"Firefox"!=Cr(n)},Lr=function(n){return void 0===n?null:Ot(n)},Mr=function(n){var t,e={};for(t in n)n.hasOwnProperty(t)&&null!==n[t]&&void 0!==n[t]&&(e[t]=n[t]);return e},xr=function(n){if(null!==n)return JSON.parse(n)},Vr=function(n){return n||""+Math.floor(1e9*Math.random()).toString()},Ur=function(n){return n=n||Tr(),"Safari"!=Cr(n)&&!n.toLowerCase().match(/iphone|ipad|ipod/)},Fr=function(){var n=e.___jsl;if(n&&n.H)for(var t in n.H)if(n.H[t].r=n.H[t].r||[],n.H[t].L=n.H[t].L||[],n.H[t].r=n.H[t].L.concat(),n.CP)for(var i=0;i<n.CP.length;i++)n.CP[i]=null},jr=function(){return!e.navigator||"boolean"!=typeof e.navigator.onLine||e.navigator.onLine},qr=function(n,t,e,i){if(n>t)throw Error("Short delay should be less than long delay!");this.Ff=n,this.gf=t,n=e||Tr(),i=i||Ar(),this.cf=vr(n)||"ReactNative"===i};qr.prototype.get=function(){return this.cf?this.gf:this.Ff};var Xr,Kr=function(){var n=e.document;return!n||void 0===n.visibilityState||"visible"==n.visibilityState},Br=function(){var n=e.document,t=null;return Kr()||!n?pe():new ce(function(e){t=function(){Kr()&&(n.removeEventListener("visibilitychange",t,!1),e())},n.addEventListener("visibilitychange",t,!1)}).f(function(e){throw n.removeEventListener("visibilitychange",t,!1),e})},Gr={},Wr=function(n){Gr[n]||(Gr[n]=!0,"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(n))};try{var Hr={};Object.defineProperty(Hr,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(Hr,"abcd",{configurable:!0,enumerable:!0,value:2}),Xr=2==Hr.abcd}catch(n){Xr=!1}var Yr=function(n,t,e){Xr?Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:e}):n[t]=e},zr=function(n,t){Xr?Object.defineProperty(n,"provider",{configurable:!0,enumerable:!0,get:function(){return Wr("firebase.auth.AuthCredential.provider is deprecated. Please use the providerId field instead."),t}}):n.provider=t},Jr=function(n,t){if(t)for(var e in t)t.hasOwnProperty(e)&&Yr(n,e,t[e])},$r=function(n){var t={};return Jr(t,n),t},Zr=function(n){var t,e={};for(t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e},Qr=function(n,t){if(!t||!t.length)return!0;if(!n)return!1;for(var e=0;e<t.length;e++){var i=n[t[e]];if(void 0===i||null===i||""===i)return!1}return!0},no=function(n){var t=n;if("object"==typeof n&&null!=n){var e,t="length"in n?[]:{};for(e in n)Yr(t,e,no(n[e]))}return t},to="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),eo=["client_id","response_type","scope","redirect_uri","state"],io={Pf:{Mb:500,Lb:600,providerId:"facebook.com",qd:eo},Qf:{Mb:500,Lb:620,providerId:"github.com",qd:eo},Rf:{Mb:515,Lb:680,providerId:"google.com",qd:eo},Sf:{Mb:485,Lb:705,providerId:"twitter.com",qd:to}},ro=function(n){for(var t in io)if(io[t].providerId==n)return io[t];return null},oo=function(n,t){this.code="auth/"+n,this.message=t||uo[n]||""};b(oo,Error),oo.prototype.C=function(){return{code:this.code,message:this.message}},oo.prototype.toJSON=function(){return this.C()};var lo=function(n){var t=n&&n.code;return t?new oo(t.substring(5),n.message):null},uo={"argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"","code-expired":"","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"The user's credential is no longer valid. The user must sign in again.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-identifier-number":"","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"","missing-iframe-start":"An internal error has occurred.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"","missing-verification-code":"","missing-identifier-number":"","missing-verification-id":"","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","user-cancelled":"User did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},ao=function(n,t,e,i,r){if(this.da=n,this.J=t||null,this.tb=e||null,this.sd=i||null,this.P=r||null,!this.tb&&!this.P)throw new oo("invalid-auth-event");if(this.tb&&this.P)throw new oo("invalid-auth-event");if(this.tb&&!this.sd)throw new oo("invalid-auth-event")};ao.prototype.ic=function(){return this.sd},ao.prototype.getError=function(){return this.P},ao.prototype.C=function(){return{type:this.da,eventId:this.J,urlResponse:this.tb,sessionId:this.sd,error:this.P&&this.P.C()}};var so=function(n){return n=n||{},n.type?new ao(n.type,n.eventId,n.urlResponse,n.sessionId,n.error&&lo(n.error)):null},co=function(n){var t="unauthorized-domain",e=void 0,i=Ji(n);n=i.ea,i=i.ha,"chrome-extension"==i?e=w("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",n):"http"==i||"https"==i?e=w("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",n):t="operation-not-supported-in-this-environment",oo.call(this,t,e)};b(co,oo);var ho=function(n){this.ff=n.sub,m(),this.gc=n.email||null},fo=function(n,t){return n.then(function(n){if(n.idToken){var e;n:{var i=n.idToken.split(".");if(3==i.length){for(var i=i[1],r=(4-i.length%4)%4,o=0;o<r;o++)i+=".";try{var l=JSON.parse(Rn(i));if(l.sub&&l.iss&&l.aud&&l.exp){e=new ho(l);break n}}catch(n){}}e=null}if(!e||t!=e.ff)throw new oo("user-mismatch");return n}throw new oo("user-mismatch")}).f(function(n){throw n&&n.code&&"auth/user-not-found"==n.code?new oo("user-mismatch"):n})},po=function(n,t){if(t.idToken||t.accessToken)t.idToken&&Yr(this,"idToken",t.idToken),t.accessToken&&Yr(this,"accessToken",t.accessToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new oo("internal-error","failed to construct a credential");Yr(this,"accessToken",t.oauthToken),Yr(this,"secret",t.oauthTokenSecret)}zr(this,n),Yr(this,"providerId",n)};po.prototype.Ab=function(n){return il(n,vo(this))},po.prototype.cd=function(n,t){var e=vo(this);return e.idToken=t,rl(n,e)},po.prototype.ed=function(n,t){var e=vo(this);return fo(ol(n,e),t)};var vo=function(n){var t={};return n.idToken&&(t.id_token=n.idToken),n.accessToken&&(t.access_token=n.accessToken),n.secret&&(t.oauth_token_secret=n.secret),t.providerId=n.providerId,{postBody:ar(t).toString(),requestUri:"http://localhost"}};po.prototype.C=function(){var n={providerId:this.providerId};return this.idToken&&(n.oauthIdToken=this.idToken),this.accessToken&&(n.oauthAccessToken=this.accessToken),this.secret&&(n.oauthTokenSecret=this.secret),n};var go=function(n,t){this.vf=t||[],Jr(this,{providerId:n,isOAuthProvider:!0}),this.Id={}};go.prototype.setCustomParameters=function(n){return this.Id=un(n),this};var mo=function(n){go.call(this,n,eo),this.rd=[]};b(mo,go),mo.prototype.addScope=function(n){return G(this.rd,n)||this.rd.push(n),this},mo.prototype.Rd=function(){return J(this.rd)},mo.prototype.credential=function(n,t){if(!n&&!t)throw new oo("argument-error","credential failed: must provide the ID token and/or the access token.");return new po(this.providerId,{idToken:n||null,accessToken:t||null})};var bo=function(){mo.call(this,"facebook.com")};b(bo,mo),Yr(bo,"PROVIDER_ID","facebook.com");var yo=function(n){if(!n)throw new oo("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=n;return d(n)&&(t=n.accessToken),(new bo).credential(null,t)},wo=function(){mo.call(this,"github.com")};b(wo,mo),Yr(wo,"PROVIDER_ID","github.com");var _o=function(n){if(!n)throw new oo("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=n;return d(n)&&(t=n.accessToken),(new wo).credential(null,t)},Eo=function(){mo.call(this,"google.com"),this.addScope("profile")};b(Eo,mo),Yr(Eo,"PROVIDER_ID","google.com");var ko=function(n,t){var e=n;return d(n)&&(e=n.idToken,t=n.accessToken),(new Eo).credential(e,t)},Ao=function(){go.call(this,"twitter.com",to)};b(Ao,go),Yr(Ao,"PROVIDER_ID","twitter.com");var Io=function(n,t){var e=n;if(d(e)||(e={oauthToken:n,oauthTokenSecret:t}),!e.oauthToken||!e.oauthTokenSecret)throw new oo("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new po("twitter.com",e)},Co=function(n,t){this.gc=n,this.jd=t,zr(this,"password"),Yr(this,"providerId","password")};Co.prototype.Ab=function(n){return Ol(n,Cl,{email:this.gc,password:this.jd})},Co.prototype.cd=function(n,t){return Ol(n,wl,{idToken:t,email:this.gc,password:this.jd})},Co.prototype.ed=function(n,t){return fo(this.Ab(n),t)},Co.prototype.C=function(){return{email:this.gc,password:this.jd}};var So=function(){Jr(this,{providerId:"password",isOAuthProvider:!1})};Jr(So,{PROVIDER_ID:"password"});var To=function(n){if(!(n.Bd&&n.Ad||n.Yb&&n.ya))throw new oo("internal-error");this.I=n,Yr(this,"providerId","identifier")};To.prototype.Ab=function(n){return n.se(No(this))},To.prototype.cd=function(n,t){var e=No(this);return e.idToken=t,Ol(n,Tl,e)},To.prototype.ed=function(n,t){var e=No(this);return e.operation="REAUTH",n=Ol(n,Nl,e),fo(n,t)},To.prototype.C=function(){var n={providerId:"identifier"};return this.I.Bd&&(n.verificationId=this.I.Bd),this.I.Ad&&(n.verificationCode=this.I.Ad),this.I.Yb&&(n.temporaryProof=this.I.Yb),this.I.ya&&(n.identifierNumber=this.I.ya),n};var No=function(n){return n.I.Yb&&n.I.ya?{temporaryProof:n.I.Yb,identifierNumber:n.I.ya}:{sessionInfo:n.I.Bd,code:n.I.Ad}},Oo=function(n){try{this.Ce=n||i.auth()}catch(n){throw new oo("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.identifierAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Jr(this,{providerId:"identifier",isOAuthProvider:!1})};Oo.prototype.se=function(n,t){var e=this.Ce.g;return pe(t.verify()).then(function(i){if(!s(i))throw new oo("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(t.type){case"recaptcha":return Ol(e,bl,{identifierNumber:n,recaptchaToken:i});default:throw new oo("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}})},Jr(Oo,{PROVIDER_ID:"identifier"});var Ro=function(n){if(n.temporaryProof&&n.identifierNumber)return new To({Yb:n.temporaryProof,ya:n.identifierNumber});var t=n&&n.providerId;if(!t||"password"===t)return null;var e=n&&n.oauthAccessToken,i=n&&n.oauthTokenSecret;n=n&&n.oauthIdToken;try{switch(t){case"google.com":return ko(n,e);case"facebook.com":return yo(e);case"github.com":return _o(e);case"twitter.com":return Io(e,i);default:return new mo(t).credential(n,e)}}catch(n){return null}},Po=function(n){if(!n.isOAuthProvider)throw new oo("invalid-oauth-provider")},Do=function(n,t,e){oo.call(this,n,e),n=t||{},n.email&&Yr(this,"email",n.email),n.ya&&Yr(this,"identifierNumber",n.ya),n.credential&&Yr(this,"credential",n.credential)};b(Do,oo),Do.prototype.C=function(){var n={code:this.code,message:this.message};this.email&&(n.email=this.email),this.identifierNumber&&(n.identifierNumber=this.identifierNumber);var t=this.credential&&this.credential.C();return t&&sn(n,t),n},Do.prototype.toJSON=function(){return this.C()};var Lo=function(n){if(n.code){var t=n.code||"";0==t.indexOf("auth/")&&(t=t.substring(5));var e={credential:Ro(n)};if(n.email)e.email=n.email;else{if(!n.identifierNumber)return new oo(t,n.message||void 0);e.ya=n.identifierNumber}return new Do(t,e,n.message)}return null},Mo=function(n){this.Of=n};b(Mo,xt),Mo.prototype.fc=function(){return new this.Of},Mo.prototype.$c=function(){return{}};var xo,Vo=function(n,t,r){var o;if(o="Node"==Ar(),!(o=e.XMLHttpRequest||o&&i.INTERNAL.node&&i.INTERNAL.node.XMLHttpRequest))throw new oo("internal-error","The XMLHttpRequest compatibility library was not found.");this.j=n,n=t||{},this.Bf=n.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.Cf=n.secureTokenTimeout||Uo,this.ge=un(n.secureTokenHeaders||Fo),this.Le=n.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.Me=n.firebaseTimeout||jo,this.Pd=un(n.firebaseHeaders||qo),r&&(this.Pd["X-Client-Version"]=r,this.ge["X-Client-Version"]=r),this.Ee=new qt,this.Nf=new Mo(o)},Uo=new qr(3e4,6e4),Fo={"Content-Type":"application/x-www-form-urlencoded"},jo=new qr(3e4,6e4),qo={"Content-Type":"application/json"},Xo=function(n,t,e,i,r,o,l){jr()?(pr()?n=v(n.Ef,n):(xo||(xo=new ce(function(n,t){Bo(n,t)})),n=v(n.Df,n)),n(t,e,i,r,o,l)):e&&e(null)};Vo.prototype.Ef=function(n,t,e,i,r,o){var l,u="Node"==Ar(),a=Ir()?u?new Ii(this.Nf):new Ii:new Ii(this.Ee);o&&(a.sb=Math.max(0,o),l=setTimeout(function(){a.dispatchEvent("timeout")},o)),a.listen("complete",function(){l&&clearTimeout(l);var n=null;try{n=JSON.parse(Fi(this))||null}catch(t){n=null}t&&t(n)}),mi(a,"ready",function(){l&&clearTimeout(l),this.Ga||(this.Ga=!0,this.cb())}),mi(a,"timeout",function(){l&&clearTimeout(l),this.Ga||(this.Ga=!0,this.cb()),t&&t(null)}),a.send(n,e,i,r)};var Ko="__fcb"+Math.floor(1e6*Math.random()).toString(),Bo=function(n,t){((window.gapi||{}).client||{}).request?n():(e[Ko]=function(){((window.gapi||{}).client||{}).request?n():t(Error("CORS_UNSUPPORTED"))},Ve(function(){t(Error("CORS_UNSUPPORTED"))}))};Vo.prototype.Df=function(n,t,e,i,r){var o=this;xo.then(function(){window.gapi.client.setApiKey(o.j);var l=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:n,method:e,body:i,headers:r,authType:"none",callback:function(n){window.gapi.auth.setToken(l),t&&t(n)}})}).f(function(n){t&&t({error:{message:n&&n.message||"CORS_UNSUPPORTED"}})})};var Go=function(n,t){return new ce(function(e,i){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?Xo(n,n.Bf+"?key="+encodeURIComponent(n.j),function(n){n?n.error?i(Rl(n)):n.access_token&&n.refresh_token?e(n):i(new oo("internal-error")):i(new oo("network-request-failed"))},"POST",ar(t).toString(),n.ge,n.Cf.get()):i(new oo("internal-error"))})},Wo=function(n,t,e,i,r,o){var l=Ji(n.Le+t);Hi(l,"key",n.j),o&&Hi(l,"cb",m().toString());var u="GET"==e;if(u)for(var a in i)i.hasOwnProperty(a)&&Hi(l,a,i[a]);return new ce(function(t,o){Xo(n,l.toString(),function(n){n?n.error?o(Rl(n,r||{})):t(n):o(new oo("network-request-failed"))},e,u?void 0:Ot(Mr(i)),n.Pd,n.Me.get())})},Ho=function(n){if(!mt.test(n.email))throw new oo("invalid-email")},Yo=function(n){"email"in n&&Ho(n)},zo=function(n,t){return Ol(n,cl,{identifier:t,continueUri:Rr()?hr():"http://localhost"}).then(function(n){return n.allProviders||[]})},Jo=function(n){return Ol(n,gl,{}).then(function(n){return n.authorizedDomains||[]})},$o=function(n){if(!n.idToken)throw new oo("internal-error")},Zo=function(n){if(n.identifierNumber||n.temporaryProof){if(!n.identifierNumber||!n.temporaryProof)throw new oo("internal-error")}else{if(!n.sessionInfo)throw new oo("missing-verification-id");if(!n.code)throw new oo("missing-verification-code")}};Vo.prototype.signInAnonymously=function(){return Ol(this,_l,{})},Vo.prototype.updateEmail=function(n,t){return Ol(this,yl,{idToken:n,email:t})},Vo.prototype.updatePassword=function(n,t){return Ol(this,wl,{idToken:n,password:t})};var Qo={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};Vo.prototype.updateProfile=function(n,t){var e={idToken:n},i=[];return tn(Qo,function(n,r){var o=t[r];null===o?i.push(n):r in t&&(e[r]=o)}),i.length&&(e.deleteAttribute=i),Ol(this,yl,e)},Vo.prototype.sendPasswordResetEmail=function(n){return Ol(this,vl,{requestType:"PASSWORD_RESET",email:n})},Vo.prototype.sendEmailVerification=function(n){return Ol(this,pl,{requestType:"VERIFY_EMAIL",idToken:n})},Vo.prototype.se=function(n){return Ol(this,Sl,n)};var nl=function(n,t,e){return Ol(n,dl,{idToken:t,deleteProvider:e})},tl=function(n){if(!n.requestUri||!n.sessionId&&!n.postBody)throw new oo("internal-error")},el=function(n){var t=null;if(n.needConfirmation?(n.code="account-exists-with-different-credential",t=Lo(n)):"FEDERATED_USER_ID_ALREADY_LINKED"==n.errorMessage?(n.code="credential-already-in-use",t=Lo(n)):"EMAIL_EXISTS"==n.errorMessage&&(n.code="email-already-in-use",t=Lo(n)),t)throw t;if(!n.idToken)throw new oo("internal-error")},il=function(n,t){return t.returnIdpCredential=!0,Ol(n,El,t)},rl=function(n,t){return t.returnIdpCredential=!0,Ol(n,Al,t)},ol=function(n,t){return t.returnIdpCredential=!0,t.autoCreate=!1,Ol(n,kl,t)},ll=function(n){if(!n.oobCode)throw new oo("invalid-action-code")};Vo.prototype.confirmPasswordReset=function(n,t){return Ol(this,ml,{oobCode:n,newPassword:t})},Vo.prototype.checkActionCode=function(n){return Ol(this,al,{oobCode:n})},Vo.prototype.applyActionCode=function(n){return Ol(this,ul,{oobCode:n})};var ul={endpoint:"setAccountInfo",A:ll,Wa:"email"},al={endpoint:"resetPassword",A:ll,Y:function(n){if(!n.email||!n.requestType)throw new oo("internal-error")}},sl={endpoint:"signupNewUser",A:function(n){if(Ho(n),!n.password)throw new oo("weak-password")},Y:$o,sa:!0},cl={endpoint:"createAuthUri"},hl={endpoint:"deleteAccount",Ua:["idToken"]},dl={endpoint:"setAccountInfo",Ua:["idToken","deleteProvider"],A:function(n){if(!u(n.deleteProvider))throw new oo("internal-error")}},fl={endpoint:"getAccountInfo"},pl={endpoint:"getOobConfirmationCode",Ua:["idToken","requestType"],A:function(n){if("VERIFY_EMAIL"!=n.requestType)throw new oo("internal-error")},Wa:"email"},vl={endpoint:"getOobConfirmationCode",Ua:["requestType"],A:function(n){if("PASSWORD_RESET"!=n.requestType)throw new oo("internal-error");Ho(n)},Wa:"email"},gl={De:!0,endpoint:"getProjectConfig",We:"GET"},ml={endpoint:"resetPassword",A:ll,Wa:"email"},bl={endpoint:"sendVerificationCode",Ua:["identifierNumber","recaptchaToken"],Wa:"sessionInfo"},yl={endpoint:"setAccountInfo",Ua:["idToken"],A:Yo,sa:!0},wl={endpoint:"setAccountInfo",Ua:["idToken"],A:function(n){if(Yo(n),!n.password)throw new oo("weak-password")},Y:$o,sa:!0},_l={endpoint:"signupNewUser",Y:$o,sa:!0},El={endpoint:"verifyAssertion",A:tl,Y:el,sa:!0},kl={endpoint:"verifyAssertion",A:tl,Y:function(n){if(n.errorMessage&&"USER_NOT_FOUND"==n.errorMessage)throw new oo("user-not-found");if(!n.idToken)throw new oo("internal-error")},sa:!0},Al={endpoint:"verifyAssertion",A:function(n){if(tl(n),!n.idToken)throw new oo("internal-error")},Y:el,sa:!0},Il={endpoint:"verifyCustomToken",A:function(n){if(!n.token)throw new oo("invalid-custom-token")},Y:$o,sa:!0},Cl={endpoint:"verifyPassword",A:function(n){if(Ho(n),!n.password)throw new oo("wrong-password")},Y:$o,sa:!0},Sl={endpoint:"verifyidentifierNumber",A:Zo,Y:$o},Tl={endpoint:"verifyidentifierNumber",A:function(n){if(!n.idToken)throw new oo("internal-error");Zo(n)},Y:function(n){if(n.temporaryProof)throw n.code="credential-already-in-use",Lo(n);$o(n)}},Nl={Ge:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyidentifierNumber",A:Zo,Y:$o},Ol=function(n,t,e){if(!Qr(e,t.Ua))return ve(new oo("internal-error"));var i,r=t.We||"POST";return pe(e).then(t.A).then(function(){return t.sa&&(e.returnSecureToken=!0),Wo(n,t.endpoint,r,e,t.Ge,t.De||!1)}).then(function(n){return i=n}).then(t.Y).then(function(){if(!t.Wa)return i;if(!(t.Wa in i))throw new oo("internal-error");return i[t.Wa]})},Rl=function(n,t){var e;e=(n.error&&n.error.errors&&n.error.errors[0]||{}).reason||"";var i={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(e=i[e]?new oo(i[e]):null)return e;e=n.error&&n.error.message||"",i={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_identifier_NUMBER:"invalid-identifier-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_identifier_NUMBER:"missing-identifier-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired"},sn(i,t||{}),t=(t=e.match(/^[^\s]+\s*:\s*(.*)$/))&&1<t.length?t[1]:void 0;for(var r in i)if(0===e.indexOf(r))return new oo(i[r],t);return!t&&n&&(t=Lr(n)),new oo("internal-error",t)},Pl=function(n){this.V=n};Pl.prototype.value=function(){return this.V},Pl.prototype.je=function(n){return this.V.style=n,this};var Dl=function(n){this.V=n||{}};Dl.prototype.value=function(){return this.V},Dl.prototype.je=function(n){return this.V.style=n,this};var Ll=function(n){this.Lf=n,this.nc=null,this.gd=xl(this)},Ml=function(n){var t=new Dl;return t.V.where=document.body,t.V.url=n.Lf,t.V.messageHandlersFilter=Nr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),t.V.attributes=t.V.attributes||{},new Pl(t.V.attributes).je({position:"absolute",top:"-100px",width:"1px",height:"1px"}),t.V.dontclear=!0,t},xl=function(n){return jl().then(function(){return new ce(function(t,e){Nr("gapi.iframes.getContext")().open(Ml(n).value(),function(i){n.nc=i,n.nc.restyle({setHideOnLeave:!1});var r=setTimeout(function(){e(Error("Network Error"))},Fl.get()),o=function(){clearTimeout(r),t()};i.ping(o).then(o,function(){e(Error("Network Error"))})})})})};Ll.prototype.sendMessage=function(n){var t=this;return this.gd.then(function(){return new ce(function(e){t.nc.send(n.type,n,e,Nr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})};var Vl=function(n,t){n.gd.then(function(){n.nc.register("authEvent",t,Nr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})},Ul=new qr(3e4,6e4),Fl=new qr(5e3,15e3),jl=function(){return new ce(function(n,t){if(jr()){var i=function(){Fr(),Nr("gapi.load")("gapi.iframes",{callback:n,ontimeout:function(){Fr(),t(Error("Network Error"))},timeout:Ul.get()})};if(Nr("gapi.iframes.Iframe"))n();else if(Nr("gapi.load"))i();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();e[r]=function(){Nr("gapi.load")?i():t(Error("Network Error"))},pe(Ge("https://apis.google.com/js/api.js?onload="+r)).f(function(){t(Error("Network Error"))})}}else t(Error("Network Error"))})},ql=function(n,t,e){this.v=n,this.j=t,this.D=e,this.Ya=null,this.ac=$i(this.v,"/__/auth/iframe"),Hi(this.ac,"apiKey",this.j),Hi(this.ac,"appName",this.D)};ql.prototype.setVersion=function(n){return this.Ya=n,this},ql.prototype.toString=function(){return this.Ya?Hi(this.ac,"v",this.Ya):this.ac.removeParameter("v"),this.ac.toString()};var Xl=function(n,t,e,i,r){this.v=n,this.j=t,this.D=e,this.Be=i,this.Ya=this.J=this.pd=null,this.Pb=r};Xl.prototype.setVersion=function(n){return this.Ya=n,this},Xl.prototype.toString=function(){var n=$i(this.v,"/__/auth/handler");if(Hi(n,"apiKey",this.j),Hi(n,"appName",this.D),Hi(n,"authType",this.Be),this.Pb.isOAuthProvider){Hi(n,"providerId",this.Pb.providerId);var t,e=this.Pb,i=Mr(e.Id);for(t in i)i[t]=i[t].toString();for(e=e.vf,i=un(i),t=0;t<e.length;t++){var r=e[t];r in i&&delete i[r]}on(i)||Hi(n,"customParameters",Lr(i))}if("function"==typeof this.Pb.Rd&&(e=this.Pb.Rd(),e.length&&Hi(n,"scopes",e.join(","))),this.pd?Hi(n,"redirectUrl",this.pd):n.removeParameter("redirectUrl"),this.J?Hi(n,"eventId",this.J):n.removeParameter("eventId"),this.Ya?Hi(n,"v",this.Ya):n.removeParameter("v"),this.bc)for(var o in this.bc)this.bc.hasOwnProperty(o)&&!Yi(n,o)&&Hi(n,o,this.bc[o]);return n.toString()};var Kl=function(n,t,e,i){this.v=n,this.j=t,this.D=e,this.Oe=(this.Ea=i||null)?Sr(this.Ea):null,i=this.Ea,this.Xe=new ql(n,t,e).setVersion(i).toString(),this.ma=[],this.g=new Vo(t,null,this.Oe),this.pc=this.wa=null},Bl=function(n){var t=hr();return Jo(n).then(function(n){n:{for(var e=Ji(t),i=e.ha,e=e.ea,r=0;r<n.length;r++){var o,l=n[r];o=e;var u=i;if(0==l.indexOf("chrome-extension://")?o=Ji(l).ea==o&&"chrome-extension"==u:"http"!=u&&"https"!=u?o=!1:yr.test(l)?o=o==l:(l=l.split(".").join("\\."),o=new RegExp("^(.+\\."+l+"|"+l+")$","i").test(o)),o){n=!0;break n}}n=!1}if(!n)throw new co(hr())})};n=Kl.prototype,n.Gb=function(){if(this.pc)return this.pc;var n=this;return this.pc=wr().then(function(){n.mc=new Ll(n.Xe),Wl(n)})},n.Vb=function(n,t,e){var i=new oo("popup-closed-by-user"),r=new oo("web-storage-unsupported"),o=this,l=!1;return this.La().then(function(){Hl(o).then(function(e){e||(n&&gr(n),t(r),l=!0)})}).f(function(){}).then(function(){if(!l)return br(n)}).then(function(){if(!l)return Ei(e).then(function(){t(i)})})},n.ke=function(){var n=Tr();return!Dr(n)&&!Ur(n)},n.Ud=function(){return!1},n.Nb=function(n,t,e,i,r,o,l){if(!n)return ve(new oo("popup-blocked"));if(l&&!Dr())return this.La().f(function(t){gr(n),r(t)}),i(),pe();this.wa||(this.wa=Bl(this.g));var u=this;return this.wa.then(function(){var t=u.La().f(function(t){throw gr(n),r(t),t});return i(),t}).then(function(){if(Po(e),!l){var i=Gl(u.v,u.j,u.D,t,e,null,o,u.Ea);dr(i,n)}}).f(function(n){throw"auth/network-request-failed"==n.code&&(u.wa=null),n})},n.Ob=function(n,t,e){this.wa||(this.wa=Bl(this.g));var i=this;return this.wa.then(function(){Po(t);var r=Gl(i.v,i.j,i.D,n,t,hr(),e,i.Ea);dr(r)})},n.La=function(){var n=this;return this.Gb().then(function(){return n.mc.gd}).f(function(){throw n.wa=null,new oo("network-request-failed")})},n.ne=function(){return!0};var Gl=function(n,t,e,i,r,o,l,u,a){return n=new Xl(n,t,e,i,r),n.pd=o,n.J=l,o=n.setVersion(u),o.bc=un(a||null),o.toString()},Wl=function(n){if(!n.mc)throw Error("IfcHandler must be initialized!");Vl(n.mc,function(t){var e={};if(t&&t.authEvent){var i=!1;for(t=so(t.authEvent),e=0;e<n.ma.length;e++)i=n.ma[e](t)||i;return e={},e.status=i?"ACK":"ERROR",pe(e)}return e.status="ERROR",pe(e)})},Hl=function(n){var t={type:"webStorageSupport"};return n.Gb().then(function(){return n.mc.sendMessage(t)}).then(function(n){if(n&&n.length&&void 0!==n[0].webStorageSupport)return n[0].webStorageSupport;throw Error()})};Kl.prototype.$a=function(n){this.ma.push(n)},Kl.prototype.Tb=function(n){Y(this.ma,function(t){return t==n})};var Yl=function(n){if(this.B=n||i.INTERNAL.reactNative&&i.INTERNAL.reactNative.AsyncStorage,!this.B)throw new oo("internal-error","The React Native compatibility library was not found.")};n=Yl.prototype,n.get=function(n){return pe(this.B.getItem(n)).then(function(n){return n&&xr(n)})},n.set=function(n,t){return pe(this.B.setItem(n,Lr(t)))},n.remove=function(n){return pe(this.B.removeItem(n))},n.ab=function(){},n.Ta=function(){};var zl=function(){this.B={}};n=zl.prototype,n.get=function(n){return pe(this.B[n])},n.set=function(n,t){return this.B[n]=t,pe()},n.remove=function(n){return delete this.B[n],pe()},n.ab=function(){},n.Ta=function(){};var Jl=function(){if(!$l()){if("Node"==Ar())throw new oo("internal-error","The LocalStorage compatibility library was not found.");throw new oo("web-storage-unsupported")}this.B=e.localStorage||i.INTERNAL.node.localStorage},$l=function(){var n="Node"==Ar(),n=e.localStorage||n&&i.INTERNAL.node&&i.INTERNAL.node.localStorage;if(!n)return!1;try{return n.setItem("__sak","1"),n.removeItem("__sak"),!0}catch(n){return!1}};n=Jl.prototype,n.get=function(n){var t=this;return pe().then(function(){var e=t.B.getItem(n);return xr(e)})},n.set=function(n,t){var e=this;return pe().then(function(){var i=Lr(t);null===i?e.remove(n):e.B.setItem(n,i)})},n.remove=function(n){var t=this;return pe().then(function(){t.B.removeItem(n)})},n.ab=function(n){e.window&&rt(e.window,"storage",n)},n.Ta=function(n){e.window&&at(e.window,"storage",n)};var Zl=function(){this.B={}};n=Zl.prototype,n.get=function(){return pe(null)},n.set=function(){return pe()},n.remove=function(){return pe()},n.ab=function(){},n.Ta=function(){};var Ql=function(){if(!nu()){if("Node"==Ar())throw new oo("internal-error","The SessionStorage compatibility library was not found.");throw new oo("web-storage-unsupported")}this.B=e.sessionStorage||i.INTERNAL.node.sessionStorage},nu=function(){var n="Node"==Ar(),n=e.sessionStorage||n&&i.INTERNAL.node&&i.INTERNAL.node.sessionStorage;if(!n)return!1;try{return n.setItem("__sak","1"),n.removeItem("__sak"),!0}catch(n){return!1}};n=Ql.prototype,n.get=function(n){var t=this;return pe().then(function(){var e=t.B.getItem(n);return xr(e)})},n.set=function(n,t){var e=this;return pe().then(function(){var i=Lr(t);null===i?e.remove(n):e.B.setItem(n,i)})},n.remove=function(n){var t=this;return pe().then(function(){t.B.removeItem(n)})},n.ab=function(){},n.Ta=function(){};var tu,eu=function(n,t,i,r,o,l){if(!window.indexedDB)throw new oo("web-storage-unsupported");this.He=n,this.fd=t,this.Qc=i,this.re=r,this.wb=o,this.$={},this.Wb=[],this.Jb=0,this.Ye=l||e.indexedDB},iu=function(n){return new ce(function(t,e){var i=n.Ye.open(n.He,n.wb);i.onerror=function(n){e(Error(n.target.errorCode))},i.onupgradeneeded=function(t){t=t.target.result;try{t.createObjectStore(n.fd,{keyPath:n.Qc})}catch(n){e(n)}},i.onsuccess=function(n){t(n.target.result)}})},ru=function(n){return n.Xd||(n.Xd=iu(n)),n.Xd},ou=function(n,t){return t.objectStore(n.fd)},lu=function(n,t,e){return t.transaction([n.fd],e?"readwrite":"readonly")},uu=function(n){return new ce(function(t,e){n.onsuccess=function(n){n&&n.target?t(n.target.result):t()},n.onerror=function(n){e(Error(n.target.errorCode))}})};n=eu.prototype,n.set=function(n,t){var e,i=!1,r=this;return be(ru(this).then(function(t){return e=t,t=ou(r,lu(r,e,!0)),uu(t.get(n))}).then(function(o){var l=ou(r,lu(r,e,!0));return o?(o.value=t,uu(l.put(o))):(r.Jb++,i=!0,o={},o[r.Qc]=n,o[r.re]=t,uu(l.add(o)))}).then(function(){r.$[n]=t}),function(){i&&r.Jb--})},n.get=function(n){var t=this;return ru(this).then(function(e){return uu(ou(t,lu(t,e,!1)).get(n))}).then(function(n){return n&&n.value})},n.remove=function(n){var t=!1,e=this;return be(ru(this).then(function(i){return t=!0,e.Jb++,uu(ou(e,lu(e,i,!0)).delete(n))}).then(function(){delete e.$[n]}),function(){t&&e.Jb--})},n.Hf=function(){var n=this;return ru(this).then(function(t){var e=ou(n,lu(n,t,!1));return e.getAll?uu(e.getAll()):new ce(function(n,t){var i=[],r=e.openCursor();r.onsuccess=function(t){(t=t.target.result)?(i.push(t.value),t.continue()):n(i)},r.onerror=function(n){t(Error(n.target.errorCode))}})}).then(function(t){var e={},i=[];if(0==n.Jb){for(i=0;i<t.length;i++)e[t[i][n.Qc]]=t[i][n.re];i=fr(n.$,e),n.$=e}return i})},n.ab=function(n){0==this.Wb.length&&this.vd(),this.Wb.push(n)},n.Ta=function(n){Y(this.Wb,function(t){return t==n}),0==this.Wb.length&&this.Bc()},n.vd=function(){var n=this;this.Bc();var t=function(){return n.kd=Ei(800).then(v(n.Hf,n)).then(function(t){0<t.length&&j(n.Wb,function(n){n(t)})}).then(t).f(function(n){"STOP_EVENT"!=n.message&&t()}),n.kd};t()},n.Bc=function(){this.kd&&this.kd.cancel("STOP_EVENT")};var au,su=function(){this.Ld={Browser:cu,Node:hu,ReactNative:du}[Ar()]},cu={M:Jl,yd:Ql},hu={M:Jl,yd:Ql},du={M:Yl,yd:Zl},fu=function(n){var t={},e=n.email,i=n.newEmail;if(n=n.requestType,!e||!n)throw Error("Invalid provider user info!");t.fromEmail=i||null,t.email=e,Yr(this,"operation",n),Yr(this,"data",no(t))},pu=function(n,t,e,i,r,o){if(this.pf=n,this.xf=t,this.Qe=e,this.rc=i,this.zd=r,this.yf=!!o,this.kb=null,this.Ma=this.rc,this.zd<this.rc)throw Error("Proactive refresh lower bound greater than upper bound!")};pu.prototype.start=function(){this.Ma=this.rc,gu(this,!0)};var vu=function(n,t){return t?(n.Ma=n.rc,n.Qe()):(t=n.Ma,n.Ma*=2,n.Ma>n.zd&&(n.Ma=n.zd),t)},gu=function(n,t){n.stop(),n.kb=Ei(vu(n,t)).then(function(){return n.yf?pe():Br()}).then(function(){return n.pf()}).then(function(){gu(n,!0)}).f(function(t){n.xf(t)&&gu(n,!1)})};pu.prototype.stop=function(){this.kb&&(this.kb.cancel(),this.kb=null)};var mu=function(n){var t={};t["facebook.com"]=yu,t["google.com"]=_u,t["github.com"]=wu,t["twitter.com"]=Eu;var e=n&&n.providerId;return e?t[e]?new t[e](n):new bu(n):null},bu=function(n){var t=xr(n.rawUserInfo||"{}");if(!(n=n.providerId))throw Error("Invalid additional user info!");Yr(this,"profile",no(t||{})),Yr(this,"providerId",n)},yu=function(n){if(bu.call(this,n),"facebook.com"!=this.providerId)throw Error("Invalid provider id!")};b(yu,bu);var wu=function(n){if(bu.call(this,n),"github.com"!=this.providerId)throw Error("Invalid provider id!");Yr(this,"username",this.profile&&this.profile.login||null)};b(wu,bu);var _u=function(n){if(bu.call(this,n),"google.com"!=this.providerId)throw Error("Invalid provider id!")};b(_u,bu);var Eu=function(n){if(bu.call(this,n),"twitter.com"!=this.providerId)throw Error("Invalid provider id!");Yr(this,"username",n.screenName||null)};b(Eu,bu);var ku,Au=function(n,t,e,i){this.kf=n,this.he=t,this.zf=e,this.Ub=i,this.T={},au||(au=new su),n=au;try{var r;cr()?(tu||(tu=new eu("firebaseLocalStorageDb","firebaseLocalStorage","fbase_key","value",1)),r=tu):r=new n.Ld.M,this.Qa=r}catch(n){this.Qa=new zl,this.Ub=!0}try{this.Dc=new n.Ld.yd}catch(n){this.Dc=new zl}this.wd=v(this.le,this),this.$={}},Iu=function(){return ku||(ku=new Au("firebase",":",!(Ur(Tr())||!kr()),Dr())),ku};n=Au.prototype,n.R=function(n,t){return this.kf+this.he+n.name+(t?this.he+t:"")},n.get=function(n,t){return(n.M?this.Qa:this.Dc).get(this.R(n,t))},n.remove=function(n,t){return t=this.R(n,t),n.M&&!this.Ub&&(this.$[t]=null),(n.M?this.Qa:this.Dc).remove(t)},n.set=function(n,t,e){var i=this.R(n,e),r=this,o=n.M?this.Qa:this.Dc;return o.set(i,t).then(function(){return o.get(i)}).then(function(t){n.M&&!this.Ub&&(r.$[i]=t)})},n.addListener=function(n,t,i){n=this.R(n,t),this.Ub||(this.$[n]=e.localStorage.getItem(n)),on(this.T)&&this.vd(),this.T[n]||(this.T[n]=[]),this.T[n].push(i)},n.removeListener=function(n,t,e){n=this.R(n,t),this.T[n]&&(Y(this.T[n],function(n){return n==e}),0==this.T[n].length&&delete this.T[n]),on(this.T)&&this.Bc()},n.vd=function(){this.Qa.ab(this.wd),this.Ub||cr()||Cu(this)};var Cu=function(n){Su(n),n.dd=setInterval(function(){for(var t in n.T){var i=e.localStorage.getItem(t),r=n.$[t];i!=r&&(n.$[t]=i,i=new Hn({type:"storage",key:t,target:window,oldValue:r,newValue:i,rf:!0}),n.le(i))}},1e3)},Su=function(n){n.dd&&(clearInterval(n.dd),n.dd=null)};Au.prototype.Bc=function(){this.Qa.Ta(this.wd),Su(this)},Au.prototype.le=function(n){if(n&&n.Pe){var t=n.eb.key;if(void 0!==n.eb.rf?this.Qa.Ta(this.wd):Su(this),this.zf){var i=e.localStorage.getItem(t);n=n.eb.newValue,n!=i&&(n?e.localStorage.setItem(t,n):n||e.localStorage.removeItem(t))}this.$[t]=e.localStorage.getItem(t),this.Ed(t)}else j(n,v(this.Ed,this))},Au.prototype.Ed=function(n){this.T[n]&&j(this.T[n],function(n){n()})};var Tu=function(n,t){this.u=n,this.i=t||Iu()},Nu={name:"authEvent",M:!0},Ou=function(n){return n.i.get(Nu,n.u).then(function(n){return so(n)})};Tu.prototype.$a=function(n){this.i.addListener(Nu,this.u,n)},Tu.prototype.Tb=function(n){this.i.removeListener(Nu,this.u,n)};var Ru=function(n){this.i=n||Iu()},Pu={name:"sessionId",M:!1};Ru.prototype.ic=function(n){return this.i.get(Pu,n)};var Du=function(n,t,e,i,r,o){this.v=n,this.j=t,this.D=e,this.Ea=i||null,this.me=t+":"+e,this.Af=new Ru,this.Qd=new Tu(this.me),this.Zc=null,this.ma=[],this.bf=r||500,this.tf=o||2e3,this.Fb=this.uc=null},Lu=function(n){return new oo("invalid-cordova-configuration",n)};Du.prototype.La=function(){return this.ad?this.ad:this.ad=_r().then(function(){if("function"!=typeof Nr("universalLinks.subscribe",e))throw Lu("cordova-universal-links-plugin is not installed");if(void 0===Nr("BuildInfo.packageName",e))throw Lu("cordova-plugin-buildinfo is not installed");if("function"!=typeof Nr("cordova.plugins.browsertab.openUrl",e))throw Lu("cordova-plugin-browsertab is not installed");if("function"!=typeof Nr("cordova.InAppBrowser.open",e))throw Lu("cordova-plugin-inappbrowser is not installed")},function(){throw new oo("cordova-not-ready")})};var Mu=function(){for(var n=20,t=[];0<n;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),n--;return t.join("")},xu=function(n){var t=new qn;return t.update(n),$(t.digest())};n=Du.prototype,n.Vb=function(n,t){return t(new oo("operation-not-supported-in-this-environment")),pe()},n.Nb=function(){return ve(new oo("operation-not-supported-in-this-environment"))},n.ne=function(){return!1},n.ke=function(){return!0},n.Ud=function(){return!0},n.Ob=function(n,t,i){if(this.uc)return ve(new oo("redirect-operation-pending"));var r=this,o=e.document,l=null,u=null,a=null,s=null;return this.uc=be(pe().then(function(){return Po(t),Fu(r)}).then(function(){return Vu(r,n,t,i)}).then(function(){return new ce(function(n,t){u=function(){var t=Nr("cordova.plugins.browsertab.close",e);return n(),"function"==typeof t&&t(),r.Fb&&"function"==typeof r.Fb.close&&(r.Fb.close(),r.Fb=null),!1},r.$a(u),a=function(){l||(l=Ei(r.tf).then(function(){t(new oo("redirect-cancelled-by-user"))}))},s=function(){Kr()&&a()},o.addEventListener("resume",a,!1),Tr().toLowerCase().match(/android/)||o.addEventListener("visibilitychange",s,!1)}).f(function(n){return ju(r).then(function(){throw n})})}),function(){a&&o.removeEventListener("resume",a,!1),s&&o.removeEventListener("visibilitychange",s,!1),l&&l.cancel(),u&&r.Tb(u),r.uc=null})};var Vu=function(n,t,i,r){var o=Mu(),l=new ao(t,r,null,o,new oo("no-auth-event")),u=Nr("BuildInfo.packageName",e);if("string"!=typeof u)throw new oo("invalid-cordova-configuration");var a=Nr("BuildInfo.displayName",e),s={};if(Tr().toLowerCase().match(/iphone|ipad|ipod/))s.ibi=u;else{if(!Tr().toLowerCase().match(/android/))return ve(new oo("operation-not-supported-in-this-environment"));s.apn=u}a&&(s.appDisplayName=a),o=xu(o),s.sessionId=o;var c=Gl(n.v,n.j,n.D,t,i,null,r,n.Ea,s);return n.La().then(function(){var t=n.me;return n.Af.i.set(Nu,l.C(),t)}).then(function(){var t=Nr("cordova.plugins.browsertab.isAvailable",e);if("function"!=typeof t)throw new oo("invalid-cordova-configuration");var i=null;t(function(t){if(t){if("function"!=typeof(i=Nr("cordova.plugins.browsertab.openUrl",e)))throw new oo("invalid-cordova-configuration");i(c)}else{if("function"!=typeof(i=Nr("cordova.InAppBrowser.open",e)))throw new oo("invalid-cordova-configuration");t=i;var r;r=Tr(),r=!(!r.match(/(iPad|iPhone|iPod).*OS 7_\d/i)&&!r.match(/(iPad|iPhone|iPod).*OS 8_\d/i)),n.Fb=t(c,r?"_blank":"_system","location=yes")}})})},Uu=function(n,t){for(var e=0;e<n.ma.length;e++)try{n.ma[e](t)}catch(n){}},Fu=function(n){return n.Zc||(n.Zc=n.La().then(function(){return new ce(function(t){var e=function(i){return t(i),n.Tb(e),!1};n.$a(e),qu(n)})})),n.Zc},ju=function(n){var t=null;return Ou(n.Qd).then(function(e){return t=e,e=n.Qd,e.i.remove(Nu,e.u)}).then(function(){return t})},qu=function(n){var t=Nr("universalLinks.subscribe",e);if("function"!=typeof t)throw new oo("invalid-cordova-configuration");var i=new ao("unknown",null,null,null,new oo("no-auth-event")),r=!1,o=Ei(n.bf).then(function(){return ju(n).then(function(){r||Uu(n,i)})}),l=function(t){r=!0,o&&o.cancel(),ju(n).then(function(e){var r=i;if(e&&t&&t.url){var o,r=null;o=t.url;var l=Ji(o),u=Yi(l,"link"),a=Yi(Ji(u),"link"),l=Yi(l,"deep_link_id");o=Yi(Ji(l),"link")||l||a||u||o,-1!=o.indexOf("/__/auth/callback")&&(r=Ji(o),r=xr(Yi(r,"firebaseError")||null),r=(r="object"==typeof r?lo(r):null)?new ao(e.da,e.J,null,null,r):new ao(e.da,e.J,o,e.ic())),r=r||i}Uu(n,r)})},u=e.handleOpenURL;e.handleOpenURL=function(n){if(0==n.indexOf(Nr("BuildInfo.packageName",e)+"://")&&l({url:n}),"function"==typeof u)try{u(n)}catch(n){console.error(n)}},t(null,l)};Du.prototype.$a=function(n){this.ma.push(n),Fu(this).f(function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new ao("unknown",null,null,null,new oo("no-auth-event")),n(t))})},Du.prototype.Tb=function(n){Y(this.ma,function(t){return t==n})};var Xu=function(n){this.u=n,this.i=Iu()},Ku={name:"pendingRedirect",M:!1},Bu=function(n){return n.i.set(Ku,"pending",n.u)},Gu=function(n){return n.i.remove(Ku,n.u)},Wu=function(n){return n.i.get(Ku,n.u).then(function(n){return"pending"==n})},Hu=function(n,t,e){this.v=n,this.j=t,this.D=e,this.Xb=[],this.ib=!1,this.Mc=v(this.Wc,this),this.Ra=new ta(this),this.ld=new ua(this),this.Kb=new Xu(this.j+":"+this.D),this.Aa={},this.Aa.unknown=this.Ra,this.Aa.signInViaRedirect=this.Ra,this.Aa.linkViaRedirect=this.Ra,this.Aa.reauthViaRedirect=this.Ra,this.Aa.signInViaPopup=this.ld,this.Aa.linkViaPopup=this.ld,this.Aa.reauthViaPopup=this.ld,this.K=Yu(this.v,this.j,this.D)},Yu=function(n,t,e){var r=i.SDK_VERSION||null;return Er()?new Du(n,t,e,r):new Kl(n,t,e,r)};Hu.prototype.reset=function(){this.ib=!1,this.K.Tb(this.Mc),this.K=Yu(this.v,this.j,this.D)},Hu.prototype.Gb=function(){var n=this;this.ib||(this.ib=!0,this.K.$a(this.Mc));var t=this.K;return this.K.La().f(function(e){throw n.K==t&&n.reset(),e})};var zu=function(n){n.K.ke()&&n.Gb().f(function(t){var e=new ao("unknown",null,null,null,new oo("operation-not-supported-in-this-environment"));Zu(t)&&n.Wc(e)}),n.K.Ud()||ea(n.Ra)};Hu.prototype.subscribe=function(n){if(G(this.Xb,n)||this.Xb.push(n),!this.ib){var t=this;Wu(this.Kb).then(function(n){n?Gu(t.Kb).then(function(){t.Gb().f(function(n){var e=new ao("unknown",null,null,null,new oo("operation-not-supported-in-this-environment"));Zu(n)&&t.Wc(e)})}):zu(t)}).f(function(){zu(t)})}},Hu.prototype.unsubscribe=function(n){Y(this.Xb,function(t){return t==n})},Hu.prototype.Wc=function(n){if(!n)throw new oo("invalid-auth-event");for(var t=!1,e=0;e<this.Xb.length;e++){var i=this.Xb[e];if(i.Fd(n.da,n.J)){(t=this.Aa[n.da])&&t.ce(n,i),t=!0;break}}return ea(this.Ra),t};var Ju=new qr(2e3,1e4),$u=new qr(3e4,6e4);Hu.prototype.getRedirectResult=function(){return this.Ra.getRedirectResult()},Hu.prototype.Nb=function(n,t,e,i,r){var o=this;return this.K.Nb(n,t,e,function(){o.ib||(o.ib=!0,o.K.$a(o.Mc))},function(){o.reset()},i,r)};var Zu=function(n){return!(!n||"auth/cordova-not-ready"!=n.code)};Hu.prototype.Ob=function(n,t,e){var i,r=this;return Bu(this.Kb).then(function(){return r.K.Ob(n,t,e).f(function(n){if(Zu(n))throw new oo("operation-not-supported-in-this-environment");return i=n,Gu(r.Kb).then(function(){throw i})}).then(function(){return r.K.ne()?new ce(function(){}):Gu(r.Kb).then(function(){return r.getRedirectResult()}).then(function(){}).f(function(){})})})},Hu.prototype.Vb=function(n,t,e,i){return this.K.Vb(e,function(e){n.Va(t,null,e,i)},Ju.get())};var Qu={},na=function(n,t,e){var i=t+":"+e;return Qu[i]||(Qu[i]=new Hu(n,t,e)),Qu[i]},ta=function(n){this.i=n,this.qb=null,this.Rb=[],this.Qb=[],this.ob=null,this.od=!1};ta.prototype.reset=function(){this.qb=null,this.ob&&(this.ob.cancel(),this.ob=null)},ta.prototype.ce=function(n,t){if(!n)return ve(new oo("invalid-auth-event"));this.reset(),this.od=!0;var e=n.da,i=n.J,r=n.getError()&&"auth/web-storage-unsupported"==n.getError().code,o=n.getError()&&"auth/operation-not-supported-in-this-environment"==n.getError().code;return"unknown"!=e||r||o?n=n.P?this.md(n,t):t.zb(e,i)?this.nd(n,t):ve(new oo("invalid-auth-event")):(oa(this,!1,null,null),n=pe()),n};var ea=function(n){n.od||(n.od=!0,oa(n,!1,null,null))};ta.prototype.md=function(n){return oa(this,!0,null,n.getError()),pe()},ta.prototype.nd=function(n,t){var e=this;t=t.zb(n.da,n.J);var i=n.tb,r=n.ic(),o=!!n.da.match(/Redirect$/);return t(i,r).then(function(n){oa(e,o,n,null)}).f(function(n){oa(e,o,null,n)})};var ia=function(n,t){if(n.qb=function(){return ve(t)},n.Qb.length)for(var e=0;e<n.Qb.length;e++)n.Qb[e](t)},ra=function(n,t){if(n.qb=function(){return pe(t)},n.Rb.length)for(var e=0;e<n.Rb.length;e++)n.Rb[e](t)},oa=function(n,t,e,i){t?i?ia(n,i):ra(n,e):ra(n,{user:null}),n.Rb=[],n.Qb=[]};ta.prototype.getRedirectResult=function(){var n=this;return new ce(function(t,e){n.qb?n.qb().then(t,e):(n.Rb.push(t),n.Qb.push(e),la(n))})};var la=function(n){var t=new oo("timeout");n.ob&&n.ob.cancel(),n.ob=Ei($u.get()).then(function(){n.qb||oa(n,!0,null,t)})},ua=function(n){this.i=n};ua.prototype.ce=function(n,t){if(!n)return ve(new oo("invalid-auth-event"));var e=n.da,i=n.J;return n.P?this.md(n,t):t.zb(e,i)?this.nd(n,t):ve(new oo("invalid-auth-event"))},ua.prototype.md=function(n,t){return t.Va(n.da,null,n.getError(),n.J),pe()},ua.prototype.nd=function(n,t){var e=n.J,i=n.da,r=t.zb(i,e),o=n.tb;return n=n.ic(),r(o,n).then(function(n){t.Va(i,n,null,e)}).f(function(n){t.Va(i,null,n,e)})};var aa=function(n){this.g=n,this.Ba=this.X=null,this.Ha=0};aa.prototype.C=function(){return{apiKey:this.g.j,refreshToken:this.X,accessToken:this.Ba,expirationTime:this.Ha}};var sa=function(n,t){var e=t.idToken,i=t.refreshToken;t=ca(t.expiresIn),n.Ba=e,n.Ha=t,n.X=i},ca=function(n){return m()+1e3*parseInt(n,10)},ha=function(n,t){return Go(n.g,t).then(function(t){return n.Ba=t.access_token,n.Ha=ca(t.expires_in),n.X=t.refresh_token,{accessToken:n.Ba,expirationTime:n.Ha,refreshToken:n.X}}).f(function(t){throw"auth/user-token-expired"==t.code&&(n.X=null),t})};aa.prototype.getToken=function(n){return n=!!n,this.Ba&&!this.X?ve(new oo("user-token-expired")):n||!this.Ba||m()>this.Ha-3e4?this.X?ha(this,{grant_type:"refresh_token",refresh_token:this.X}):pe(null):pe({accessToken:this.Ba,expirationTime:this.Ha,refreshToken:this.X})};var da=function(n,t,e,i,r){Jr(this,{uid:n,displayName:i||null,photoURL:r||null,email:e||null,providerId:t})},fa=function(n,t){Wn.call(this,n);for(var e in t)this[e]=t[e]};b(fa,Wn);var pa=function(n,t,e){this.ba=[],this.j=n.apiKey,this.D=n.appName,this.v=n.authDomain||null,n=i.SDK_VERSION?Sr(i.SDK_VERSION):null,this.g=new Vo(this.j,null,n),this.ia=new aa(this.g),ba(this,t.idToken),sa(this.ia,t),Yr(this,"refreshToken",this.ia.X),Ea(this,e||{}),gi.call(this),this.vc=!1,this.v&&Or()&&(this.m=na(this.v,this.j,this.D)),this.Ac=[],this.ka=null,this.mb=va(this),this.vb=v(this.Xc,this)};b(pa,gi),pa.prototype.Xc=function(){this.mb.kb&&(this.mb.stop(),this.mb.start())};var va=function(n){return new pu(function(){return n.getToken(!0)},function(n){return!(!n||"auth/network-request-failed"!=n.code)},function(){var t=n.ia.Ha-m()-3e5;return 0<t?t:0},3e4,96e4,!1)},ga=function(n){n.Kd||n.mb.kb||(n.mb.start(),at(n,"tokenChanged",n.vb),rt(n,"tokenChanged",n.vb))},ma=function(n){at(n,"tokenChanged",n.vb),n.mb.stop()},ba=function(n,t){n.Yd=t,Yr(n,"_lat",t)},ya=function(n,t){Y(n.Ac,function(n){return n==t})},wa=function(n){for(var t=[],e=0;e<n.Ac.length;e++)t.push(n.Ac[e](n));return me(t).then(function(){return n})},_a=function(n){n.m&&!n.vc&&(n.vc=!0,n.m.subscribe(n))},Ea=function(n,t){Jr(n,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,identifierNumber:t.identifierNumber||null,isAnonymous:t.isAnonymous||!1,providerData:[]})};Yr(pa.prototype,"providerId","firebase");var ka=function(){},Aa=function(n){return pe().then(function(){if(n.Kd)throw new oo("app-deleted")})},Ia=function(n){return X(n.providerData,function(n){return n.providerId})},Ca=function(n,t){t&&(Sa(n,t.providerId),n.providerData.push(t))},Sa=function(n,t){Y(n.providerData,function(n){return n.providerId==t})},Ta=function(n,t,e){("uid"!=t||e)&&n.hasOwnProperty(t)&&Yr(n,t,e)};pa.prototype.copy=function(n){var t=this;t!=n&&(Jr(this,{uid:n.uid,displayName:n.displayName,photoURL:n.photoURL,email:n.email,emailVerified:n.emailVerified,identifierNumber:n.identifierNumber,isAnonymous:n.isAnonymous,providerData:[]}),j(n.providerData,function(n){Ca(t,n)}),this.ia=n.ia,Yr(this,"refreshToken",this.ia.X))},pa.prototype.reload=function(){var n=this;return this.c(Aa(this).then(function(){return Na(n).then(function(){return wa(n)}).then(ka)}))};var Na=function(n){return n.getToken().then(function(t){var e=n.isAnonymous;return Ra(n,t).then(function(){return e||Ta(n,"isAnonymous",!1),t})})};pa.prototype.getToken=function(n){var t=this;return this.c(Aa(this).then(function(){return t.ia.getToken(n)}).then(function(n){if(!n)throw new oo("internal-error");return n.accessToken!=t.Yd&&(ba(t,n.accessToken),t.Na()),Ta(t,"refreshToken",n.refreshToken),n.accessToken}))};var Oa=function(n,t){t.idToken&&n.Yd!=t.idToken&&(sa(n.ia,t),n.Na(),ba(n,t.idToken),Ta(n,"refreshToken",n.ia.X))};pa.prototype.Na=function(){this.dispatchEvent(new fa("tokenChanged"))};var Ra=function(n,t){return Ol(n.g,fl,{idToken:t}).then(v(n.qf,n))};pa.prototype.qf=function(n){if(!(n=n.users)||!n.length)throw new oo("internal-error");n=n[0],Ea(this,{uid:n.localId,displayName:n.displayName,photoURL:n.photoUrl,email:n.email,emailVerified:!!n.emailVerified,identifierNumber:n.identifierNumber});for(var t=Pa(n),e=0;e<t.length;e++)Ca(this,t[e]);Ta(this,"isAnonymous",!(this.email&&n.passwordHash||this.providerData&&this.providerData.length))};var Pa=function(n){return(n=n.providerUserInfo)&&n.length?X(n,function(n){return new da(n.rawId,n.providerId,n.email,n.displayName,n.photoUrl)}):[]},Da=function(n,t){var e=null;return n.c(t.ed(n.g,n.uid).then(function(t){return Oa(n,t),e=xa(n,t,"reauthenticate"),n.ka=null,n.reload()}).then(function(){return e}),!0)};pa.prototype.reauthenticate=function(n){return Wr("firebase.User.prototype.reauthenticate is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.reauthenticateWithCredential(n)},pa.prototype.reauthenticateWithCredential=function(n){return Da(this,n).then(function(){})};var La=function(n,t){return Na(n).then(function(){if(G(Ia(n),t))return wa(n).then(function(){throw new oo("provider-already-linked")})})},Ma=function(n,t){var e=null;return n.c(La(n,t.providerId).then(function(){return n.getToken()}).then(function(e){return t.cd(n.g,e)}).then(function(t){return e=xa(n,t,"link"),Va(n,t)}).then(function(){return e}))};pa.prototype.link=function(n){return Wr("firebase.User.prototype.link is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.linkWithCredential(n)},pa.prototype.linkWithCredential=function(n){return Ma(this,n).then(function(n){return n.user})};var xa=function(n,t,e){var i=Ro(t);return t=mu(t),$r({user:n,credential:i,additionalUserInfo:t,operationType:e})},Va=function(n,t){return Oa(n,t),n.reload().then(function(){return n})};n=pa.prototype,n.updateEmail=function(n){var t=this;return this.c(this.getToken().then(function(e){return t.g.updateEmail(e,n)}).then(function(n){return Oa(t,n),t.reload()}))},n.updatePassword=function(n){var t=this;return this.c(this.getToken().then(function(e){return t.g.updatePassword(e,n)}).then(function(n){return Oa(t,n),t.reload()}))},n.updateProfile=function(n){if(void 0===n.displayName&&void 0===n.photoURL)return Aa(this);var t=this;return this.c(this.getToken().then(function(e){return t.g.updateProfile(e,{displayName:n.displayName,photoUrl:n.photoURL})}).then(function(n){return Oa(t,n),Ta(t,"displayName",n.displayName||null),Ta(t,"photoURL",n.photoUrl||null),wa(t)}).then(ka))},n.unlink=function(n){var t=this;return this.c(Na(this).then(function(e){return G(Ia(t),n)?nl(t.g,e,[n]).then(function(n){var e={};return j(n.providerUserInfo||[],function(n){e[n.providerId]=!0}),j(Ia(t),function(n){e[n]||Sa(t,n)}),wa(t)}):wa(t).then(function(){throw new oo("no-such-provider")})}))},n.delete=function(){var n=this;return this.c(this.getToken().then(function(t){return Ol(n.g,hl,{idToken:t})}).then(function(){n.dispatchEvent(new fa("userDeleted"))})).then(function(){for(var t=0;t<n.ba.length;t++)n.ba[t].cancel("app-deleted");n.ba=[],n.Kd=!0,ma(n),Yr(n,"refreshToken",null),n.m&&n.m.unsubscribe(n)})},n.Fd=function(n,t){return!!("linkViaPopup"==n&&(this.ca||null)==t&&this.aa||"reauthViaPopup"==n&&(this.ca||null)==t&&this.aa||"linkViaRedirect"==n&&(this.za||null)==t||"reauthViaRedirect"==n&&(this.za||null)==t)},n.Va=function(n,t,e,i){"linkViaPopup"!=n&&"reauthViaPopup"!=n||i!=(this.ca||null)||(e&&this.Pa?this.Pa(e):t&&!e&&this.aa&&this.aa(t),this.F&&(this.F.cancel(),this.F=null),delete this.aa,delete this.Pa)},n.zb=function(n,t){return"linkViaPopup"==n&&t==(this.ca||null)?v(this.Nd,this):"reauthViaPopup"==n&&t==(this.ca||null)?v(this.Od,this):"linkViaRedirect"==n&&(this.za||null)==t?v(this.Nd,this):"reauthViaRedirect"==n&&(this.za||null)==t?v(this.Od,this):null},n.hc=function(){return Vr(this.uid+":::")};var Ua=function(n,t){return ja(n,"linkViaPopup",t,function(){return La(n,t.providerId).then(function(){return wa(n)})},!1)};pa.prototype.linkWithPopup=function(n){return Ua(this,n).then(function(n){return n?$r({user:n.user,credential:n.credential,operationType:n.operationType}):n})};var Fa=function(n,t){return ja(n,"reauthViaPopup",t,function(){return pe()},!0)};pa.prototype.reauthenticateWithPopup=function(n){return Fa(this,n).then(function(n){return n?$r({user:n.user,credential:n.credential,operationType:n.operationType}):n})};var ja=function(n,t,e,r,o){if(!Or())return ve(new oo("operation-not-supported-in-this-environment"));if(n.ka&&!o)return ve(n.ka);var l=ro(e.providerId),u=n.hc(),a=null;(!Dr()||kr())&&n.v&&e.isOAuthProvider&&(a=Gl(n.v,n.j,n.D,t,e,null,u,i.SDK_VERSION||null));var s=mr(a,l&&l.Mb,l&&l.Lb);return r=r().then(function(){if(Xa(n),!o)return n.getToken().then(function(){})}).then(function(){return n.m.Nb(s,t,e,u,!!a)}).then(function(){return new ce(function(e,i){n.Va(t,null,new oo("cancelled-popup-request"),n.ca||null),n.aa=e,n.Pa=i,n.ca=u,n.F=n.m.Vb(n,t,s,u)})}).then(function(n){return s&&gr(s),n}).f(function(n){throw s&&gr(s),n}),n.c(r,o)};pa.prototype.linkWithRedirect=function(n){var t=this;return qa(this,"linkViaRedirect",n,function(){return La(t,n.providerId)},!1)},pa.prototype.reauthenticateWithRedirect=function(n){return qa(this,"reauthViaRedirect",n,function(){return pe()},!0)};var qa=function(n,t,e,i,r){if(!Or())return ve(new oo("operation-not-supported-in-this-environment"));if(n.ka&&!r)return ve(n.ka);var o=null,l=n.hc();return i=i().then(function(){if(Xa(n),!r)return n.getToken().then(function(){})}).then(function(){return n.za=l,wa(n)}).then(function(t){return n.Sa&&(t=n.Sa,t=t.i.set(Ha,n.C(),t.u)),t}).then(function(){return n.m.Ob(t,e,l)}).f(function(t){if(o=t,n.Sa)return Ya(n.Sa);throw o}).then(function(){if(o)throw o}),n.c(i,r)},Xa=function(n){if(!n.m||!n.vc){if(n.m&&!n.vc)throw new oo("internal-error");throw new oo("auth-domain-config-required")}};pa.prototype.Nd=function(n,t){var e=this;this.F&&(this.F.cancel(),this.F=null);var i=null,r=this.getToken().then(function(i){return rl(e.g,{requestUri:n,sessionId:t,idToken:i})}).then(function(n){return i=xa(e,n,"link"),Va(e,n)}).then(function(){return i});return this.c(r)},pa.prototype.Od=function(n,t){var e=this;this.F&&(this.F.cancel(),this.F=null);var i=null,r=pe().then(function(){return fo(ol(e.g,{requestUri:n,sessionId:t}),e.uid)}).then(function(n){return i=xa(e,n,"reauthenticate"),Oa(e,n),e.ka=null,e.reload()}).then(function(){return i});return this.c(r,!0)},pa.prototype.sendEmailVerification=function(){var n=this;return this.c(this.getToken().then(function(t){return n.g.sendEmailVerification(t)}).then(function(t){if(n.email!=t)return n.reload()}).then(function(){}))},pa.prototype.c=function(n,t){var e=this,i=Ka(this,n,t);return this.ba.push(i),be(i,function(){W(e.ba,i)}),i};var Ka=function(n,t,e){return n.ka&&!e?(t.cancel(),ve(n.ka)):t.f(function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(n.ka||n.dispatchEvent(new fa("userInvalidated")),n.ka=t),t})};pa.prototype.toJSON=function(){return this.C()},pa.prototype.C=function(){var n={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,identifierNumber:this.identifierNumber,isAnonymous:this.isAnonymous,providerData:[],apiKey:this.j,appName:this.D,authDomain:this.v,stsTokenManager:this.ia.C(),redirectEventId:this.za||null};return j(this.providerData,function(t){n.providerData.push(Zr(t))}),n};var Ba=function(n){if(!n.apiKey)return null;var t={apiKey:n.apiKey,authDomain:n.authDomain,appName:n.appName},e={};if(!(n.stsTokenManager&&n.stsTokenManager.accessToken&&n.stsTokenManager.expirationTime))return null;e.idToken=n.stsTokenManager.accessToken,e.refreshToken=n.stsTokenManager.refreshToken||null,e.expiresIn=(n.stsTokenManager.expirationTime-m())/1e3;var i=new pa(t,e,n);return n.providerData&&j(n.providerData,function(n){n&&Ca(i,$r(n))}),n.redirectEventId&&(i.za=n.redirectEventId),i},Ga=function(n,t,e){var i=new pa(n,t);return e&&(i.Sa=e),i.reload().then(function(){return i})},Wa=function(n){this.u=n,this.i=Iu()},Ha={name:"redirectUser",M:!1},Ya=function(n){return n.i.remove(Ha,n.u)},za=function(n,t){return n.i.get(Ha,n.u).then(function(n){return n&&t&&(n.authDomain=t),Ba(n||{})})},Ja=function(n){this.u=n,this.i=Iu()},$a={name:"authUser",M:!0},Za=function(n,t){return n.i.set($a,t.C(),n.u)},Qa=function(n){return n.i.remove($a,n.u)},ns=function(n,t){return n.i.get($a,n.u).then(function(n){return n&&t&&(n.authDomain=t),Ba(n||{})})},ts=function(n){if(this.Fa=!1,Yr(this,"app",n),!fs(this).options||!fs(this).options.apiKey)throw new oo("invalid-api-key");n=i.SDK_VERSION?Sr(i.SDK_VERSION):null,this.g=new Vo(fs(this).options&&fs(this).options.apiKey,null,n),this.ba=[],this.Ca=[],this.ub=[],this.mf=i.INTERNAL.createSubscribe(v(this.Ze,this)),this.Ic=void 0,i.INTERNAL.createSubscribe(v(this.af,this)),us(this,null),this.ta=new Ja(fs(this).options.apiKey+":"+fs(this).name),this.pb=new Wa(fs(this).options.apiKey+":"+fs(this).name),this.cc=this.c(ss(this)),this.qa=this.c(cs(this)),this.bd=!1,this.Vc=v(this.Gf,this),this.qe=v(this.gb,this),this.vb=v(this.Xc,this),this.oe=v(this.Ue,this),this.pe=v(this.Ve,this),is(this),this.INTERNAL={},this.INTERNAL.delete=v(this.delete,this),this.Ia=0};ts.prototype.toJSON=function(){return{apiKey:fs(this).options.apiKey,authDomain:fs(this).options.authDomain,appName:fs(this).name,currentUser:ps(this)&&ps(this).C()}};var es=function(n){return n.Ie||ve(new oo("auth-domain-config-required"))},is=function(n){var t=fs(n).options.authDomain,e=fs(n).options.apiKey;t&&Or()&&(n.Ie=n.cc.then(function(){if(!n.Fa)return n.m=na(t,e,fs(n).name),n.m.subscribe(n),ps(n)&&_a(ps(n)),n.Sb&&(_a(n.Sb),n.Sb=null),n.m}))};n=ts.prototype,n.Fd=function(n,t){switch(n){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.ca==t&&!!this.aa;default:return!1}},n.Va=function(n,t,e,i){"signInViaPopup"==n&&this.ca==i&&(e&&this.Pa?this.Pa(e):t&&!e&&this.aa&&this.aa(t),this.F&&(this.F.cancel(),this.F=null),delete this.aa,delete this.Pa)},n.zb=function(n,t){return"signInViaRedirect"==n||"signInViaPopup"==n&&this.ca==t&&this.aa?v(this.Ke,this):null},n.Ke=function(n,t){var e=this;n={requestUri:n,sessionId:t},this.F&&(this.F.cancel(),this.F=null);var i=null,r=null,o=il(e.g,n).then(function(n){return i=Ro(n),r=mu(n),n});return n=e.cc.then(function(){return o}).then(function(n){return ls(e,n)}).then(function(){return $r({user:ps(e),credential:i,additionalUserInfo:r,operationType:"signIn"})}),this.c(n)},n.hc=function(){return Vr()};var rs=function(n,t){if(!Or())return ve(new oo("operation-not-supported-in-this-environment"));var e=ro(t.providerId),r=n.hc(),o=null;(!Dr()||kr())&&fs(n).options.authDomain&&t.isOAuthProvider&&(o=Gl(fs(n).options.authDomain,fs(n).options.apiKey,fs(n).name,"signInViaPopup",t,null,r,i.SDK_VERSION||null));var l=mr(o,e&&e.Mb,e&&e.Lb),e=es(n).then(function(n){return n.Nb(l,"signInViaPopup",t,r,!!o)}).then(function(){return new ce(function(t,e){n.Va("signInViaPopup",null,new oo("cancelled-popup-request"),n.ca),n.aa=t,n.Pa=e,n.ca=r,n.F=n.m.Vb(n,"signInViaPopup",l,r)})}).then(function(n){return l&&gr(l),n}).f(function(n){throw l&&gr(l),n});return n.c(e)};ts.prototype.signInWithPopup=function(n){return rs(this,n).then(function(n){return n?$r({user:n.user,credential:n.credential,operationType:n.operationType}):n})},ts.prototype.getRedirectResult=function(){return os(this).then(function(n){return n?$r({user:n.user,credential:n.credential,operationType:n.operationType}):n})},ts.prototype.signInWithRedirect=function(n){if(!Or())return ve(new oo("operation-not-supported-in-this-environment"));var t=this,e=es(this).then(function(){return t.m.Ob("signInViaRedirect",n)});return this.c(e)};var os=function(n){if(!Or())return ve(new oo("operation-not-supported-in-this-environment"));var t=es(n).then(function(){return n.m.getRedirectResult()});return n.c(t)},ls=function(n,t){var e={};return e.apiKey=fs(n).options.apiKey,e.authDomain=fs(n).options.authDomain,e.appName=fs(n).name,n.cc.then(function(){return Ga(e,t,n.pb)}).then(function(t){return ps(n)&&t.uid==ps(n).uid?(ps(n).copy(t),n.gb(t)):(us(n,t),_a(t),n.gb(t))}).then(function(){n.Na()})},us=function(n,t){ps(n)&&(ya(ps(n),n.qe),at(ps(n),"tokenChanged",n.vb),at(ps(n),"userDeleted",n.oe),at(ps(n),"userInvalidated",n.pe),ma(ps(n))),t&&(t.Ac.push(n.qe),rt(t,"tokenChanged",n.vb),rt(t,"userDeleted",n.oe),rt(t,"userInvalidated",n.pe),0<n.Ia&&ga(t)),Yr(n,"currentUser",t)};ts.prototype.signOut=function(){var n=this,t=this.qa.then(function(){return ps(n)?(us(n,null),Qa(n.ta).then(function(){n.Na()})):pe()});return this.c(t)};var as=function(n){var t=za(n.pb,fs(n).options.authDomain).then(function(t){return(n.Sb=t)&&(t.Sa=n.pb),Ya(n.pb)});return n.c(t)},ss=function(n){var t=fs(n).options.authDomain,e=as(n).then(function(){return ns(n.ta,t)}).then(function(t){return t?(t.Sa=n.pb,n.Sb&&(n.Sb.za||null)==(t.za||null)?t:t.reload().then(function(){return Za(n.ta,t).then(function(){return t})}).f(function(e){return"auth/network-request-failed"==e.code?t:Qa(n.ta)})):null}).then(function(t){us(n,t||null)});return n.c(e)},cs=function(n){return n.cc.then(function(){return n.getRedirectResult()}).f(function(){}).then(function(){if(!n.Fa)return n.Vc()}).f(function(){}).then(function(){if(!n.Fa){n.bd=!0;var t=n.ta;t.i.addListener($a,t.u,n.Vc)}})};n=ts.prototype,n.Gf=function(){var n=this;return ns(this.ta,fs(this).options.authDomain).then(function(t){if(!n.Fa){var e;if(e=ps(n)&&t){e=ps(n).uid;var i=t.uid;e=void 0!==e&&null!==e&&""!==e&&void 0!==i&&null!==i&&""!==i&&e==i}if(e)return ps(n).copy(t),ps(n).getToken();(ps(n)||t)&&(us(n,t),t&&(_a(t),t.Sa=n.pb),n.m&&n.m.subscribe(n),n.Na())}})},n.gb=function(n){return Za(this.ta,n)},n.Xc=function(){this.Na(),this.gb(ps(this))},n.Ue=function(){this.signOut()},n.Ve=function(){this.signOut()};var hs=function(n,t){var e=null,i=null;return n.c(t.then(function(t){return e=Ro(t),i=mu(t),ls(n,t)}).then(function(){return $r({user:ps(n),credential:e,additionalUserInfo:i,operationType:"signIn"})}))};n=ts.prototype,n.Ze=function(n){var t=this;this.addAuthTokenListener(function(){n.next(ps(t))})},n.af=function(n){var t=this;gs(this,function(){n.next(ps(t))})},n.onAuthStateChanged=function(n,t,e){var r=this;return this.bd&&i.Promise.resolve().then(function(){h(n)?n(ps(r)):h(n.next)&&n.next(ps(r))}),this.mf(n,t,e)},n.getToken=function(n){var t=this,e=this.qa.then(function(){return ps(t)?ps(t).getToken(n).then(function(n){return{accessToken:n}}):null});return this.c(e)},n.signInWithCustomToken=function(n){var t=this;return this.qa.then(function(){return hs(t,Ol(t.g,Il,{token:n}))}).then(function(n){return n=n.user,Ta(n,"isAnonymous",!1),t.gb(n)}).then(function(){return ps(t)})},n.signInWithEmailAndPassword=function(n,t){var e=this;return this.qa.then(function(){return hs(e,Ol(e.g,Cl,{email:n,password:t}))}).then(function(n){return n.user})},n.createUserWithEmailAndPassword=function(n,t){var e=this;return this.qa.then(function(){return hs(e,Ol(e.g,sl,{email:n,password:t}))}).then(function(n){return n.user})},n.signInWithCredential=function(n){return ds(this,n).then(function(n){return n.user})};var ds=function(n,t){return n.qa.then(function(){return hs(n,t.Ab(n.g))})};ts.prototype.signInAnonymously=function(){var n=ps(this),t=this;return n&&n.isAnonymous?pe(n):this.qa.then(function(){return hs(t,t.g.signInAnonymously())}).then(function(n){return n=n.user,Ta(n,"isAnonymous",!0),t.gb(n)}).then(function(){return ps(t)})};var fs=function(n){return n.app},ps=function(n){return n.currentUser};ts.prototype.getUid=function(){return ps(this)&&ps(this).uid||null};var vs=function(n){return ps(n)&&ps(n)._lat||null};n=ts.prototype,n.Na=function(){if(this.bd){for(var n=0;n<this.Ca.length;n++)this.Ca[n]&&this.Ca[n](vs(this));if(this.Ic!==this.getUid()&&this.ub.length)for(this.Ic=this.getUid(),n=0;n<this.ub.length;n++)this.ub[n]&&this.ub[n](vs(this))}},n.Ae=function(n){this.addAuthTokenListener(n),0<++this.Ia&&ps(this)&&ga(ps(this))},n.uf=function(n){var t=this;j(this.Ca,function(e){e==n&&t.Ia--}),0>this.Ia&&(this.Ia=0),0==this.Ia&&ps(this)&&ma(ps(this)),this.removeAuthTokenListener(n)},n.addAuthTokenListener=function(n){var t=this;this.Ca.push(n),this.c(this.qa.then(function(){t.Fa||G(t.Ca,n)&&n(vs(t))}))},n.removeAuthTokenListener=function(n){Y(this.Ca,function(t){return t==n})};var gs=function(n,t){n.ub.push(t),n.c(n.qa.then(function(){!n.Fa&&G(n.ub,t)&&n.Ic!==n.getUid()&&(n.Ic=n.getUid(),t(vs(n)))}))};n=ts.prototype,n.delete=function(){this.Fa=!0;for(var n=0;n<this.ba.length;n++)this.ba[n].cancel("app-deleted");return this.ba=[],this.ta&&(n=this.ta,n.i.removeListener($a,n.u,this.Vc)),this.m&&this.m.unsubscribe(this),i.Promise.resolve()},n.c=function(n){var t=this;return this.ba.push(n),be(n,function(){W(t.ba,n)}),n},n.fetchProvidersForEmail=function(n){return this.c(zo(this.g,n))},n.verifyPasswordResetCode=function(n){return this.checkActionCode(n).then(function(n){return n.data.email})},n.confirmPasswordReset=function(n,t){return this.c(this.g.confirmPasswordReset(n,t).then(function(){}))},n.checkActionCode=function(n){return this.c(this.g.checkActionCode(n).then(function(n){return new fu(n)}))},n.applyActionCode=function(n){return this.c(this.g.applyActionCode(n).then(function(){}))},n.sendPasswordResetEmail=function(n){return this.c(this.g.sendPasswordResetEmail(n).then(function(){}))};var ms="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" "),bs=function(n,t){return{name:n||"",ja:"a valid string",optional:!!t,la:s}},ys=function(n){return{name:n||"",ja:"a valid object",optional:!1,la:d}},ws=function(n,t){return{name:n||"",ja:"a function",optional:!!t,la:h}},_s=function(){return{name:"",ja:"null",optional:!1,la:l}},Es=function(){return{name:"credential",ja:"a valid credential",optional:!1,la:function(n){return!!n&&!!n.Ab}}},ks=function(){return{name:"authProvider",ja:"a valid Auth provider",optional:!1,la:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}},As=function(n,t,e,i){return{name:e||"",ja:n.ja+" or "+t.ja,optional:!!i,la:function(e){return n.la(e)||t.la(e)}}},Is=function(n,t){for(var e in t){var i=t[e].name;n[i]=Ss(i,n[e],t[e].a)}},Cs=function(n,t,e,i){n[t]=Ss(t,e,i)},Ss=function(n,t,e){if(!e)return t;var i=Ts(n);n=function(){var n,r=Array.prototype.slice.call(arguments);n:{n=Array.prototype.slice.call(r);var o;o=0;for(var l=!1,u=0;u<e.length;u++)if(e[u].optional)l=!0;else{if(l)throw new oo("internal-error","Argument validator encountered a required argument after an optional argument.");o++}if(l=e.length,n.length<o||l<n.length)n="Expected "+(o==l?1==o?"1 argument":o+" arguments":o+"-"+l+" arguments")+" but got "+n.length+".";else{for(o=0;o<n.length;o++)if(l=e[o].optional&&void 0===n[o],!e[o].la(n[o])&&!l){if(n=e[o],0>o||o>=ms.length)throw new oo("internal-error","Argument validator received an unsupported number of arguments.");n=ms[o]+" argument "+(n.name?'"'+n.name+'" ':"")+"must be "+n.ja+".";break n}n=null}}if(n)throw new oo("argument-error",i+" failed: "+n);return t.apply(this,r)};for(var r in t)n[r]=t[r];for(r in t.prototype)n.prototype[r]=t.prototype[r];return n},Ts=function(n){return n=n.split("."),n[n.length-1]};Is(ts.prototype,{applyActionCode:{name:"applyActionCode",a:[bs("code")]},checkActionCode:{name:"checkActionCode",a:[bs("code")]},confirmPasswordReset:{name:"confirmPasswordReset",a:[bs("code"),bs("newPassword")]},createUserWithEmailAndPassword:{name:"createUserWithEmailAndPassword",a:[bs("email"),bs("password")]},fetchProvidersForEmail:{name:"fetchProvidersForEmail",a:[bs("email")]},getRedirectResult:{name:"getRedirectResult",a:[]},onAuthStateChanged:{name:"onAuthStateChanged",a:[As(ys(),ws(),"nextOrObserver"),ws("opt_error",!0),ws("opt_completed",!0)]},sendPasswordResetEmail:{name:"sendPasswordResetEmail",a:[bs("email")]},signInAnonymously:{name:"signInAnonymously",a:[]},signInWithCredential:{name:"signInWithCredential",a:[Es()]},signInWithCustomToken:{name:"signInWithCustomToken",a:[bs("token")]},signInWithEmailAndPassword:{name:"signInWithEmailAndPassword",a:[bs("email"),bs("password")]},signInWithPopup:{name:"signInWithPopup",a:[ks()]},signInWithRedirect:{name:"signInWithRedirect",a:[ks()]},signOut:{name:"signOut",a:[]},toJSON:{name:"toJSON",a:[bs(null,!0)]},verifyPasswordResetCode:{name:"verifyPasswordResetCode",a:[bs("code")]}}),Is(pa.prototype,{delete:{name:"delete",a:[]},getToken:{name:"getToken",a:[{name:"opt_forceRefresh",ja:"a boolean",optional:!0,la:function(n){return"boolean"==typeof n}}]},link:{name:"link",a:[Es()]},linkWithCredential:{name:"linkWithCredential",a:[Es()]},linkWithPopup:{name:"linkWithPopup",a:[ks()]},linkWithRedirect:{name:"linkWithRedirect",a:[ks()]},reauthenticate:{name:"reauthenticate",a:[Es()]},reauthenticateWithCredential:{name:"reauthenticateWithCredential",a:[Es()]},reauthenticateWithPopup:{name:"reauthenticateWithPopup",a:[ks()]},reauthenticateWithRedirect:{name:"reauthenticateWithRedirect",a:[ks()]},reload:{name:"reload",a:[]},sendEmailVerification:{name:"sendEmailVerification",a:[]},toJSON:{name:"toJSON",a:[bs(null,!0)]},unlink:{name:"unlink",a:[bs("provider")]},updateEmail:{name:"updateEmail",a:[bs("email")]},updatePassword:{name:"updatePassword",a:[bs("password")]},updateProfile:{name:"updateProfile",a:[ys("profile")]}}),Is(ce.prototype,{f:{name:"catch"},then:{name:"then"}}),Cs(So,"credential",function(n,t){return new Co(n,t)},[bs("email"),bs("password")]),Is(bo.prototype,{addScope:{name:"addScope",a:[bs("scope")]},setCustomParameters:{name:"setCustomParameters",a:[ys("customOAuthParameters")]}}),Cs(bo,"credential",yo,[As(bs(),ys(),"token")]),Is(wo.prototype,{addScope:{name:"addScope",a:[bs("scope")]},setCustomParameters:{name:"setCustomParameters",a:[ys("customOAuthParameters")]}}),Cs(wo,"credential",_o,[As(bs(),ys(),"token")]),Is(Eo.prototype,{addScope:{name:"addScope",a:[bs("scope")]},setCustomParameters:{name:"setCustomParameters",a:[ys("customOAuthParameters")]}}),Cs(Eo,"credential",ko,[As(bs(),As(ys(),_s()),"idToken"),As(bs(),_s(),"accessToken",!0)]),Is(Ao.prototype,{setCustomParameters:{name:"setCustomParameters",a:[ys("customOAuthParameters")]}}),Cs(Ao,"credential",Io,[As(bs(),ys(),"token"),bs("secret",!0)]),Is(oo.prototype,{toJSON:{name:"toJSON",a:[bs(null,!0)]}}),Is(Do.prototype,{toJSON:{name:"toJSON",a:[bs(null,!0)]}}),Is(co.prototype,{toJSON:{name:"toJSON",a:[bs(null,!0)]}}),function(){if(void 0===i||!i.INTERNAL||!i.INTERNAL.registerService)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var n={Auth:ts,Error:oo};Cs(n,"EmailAuthProvider",So,[]),Cs(n,"FacebookAuthProvider",bo,[]),Cs(n,"GithubAuthProvider",wo,[]),Cs(n,"GoogleAuthProvider",Eo,[]),Cs(n,"TwitterAuthProvider",Ao,[]),i.INTERNAL.registerService("auth",function(n,t){return n=new ts(n),t({INTERNAL:{getUid:v(n.getUid,n),getToken:v(n.getToken,n),addAuthTokenListener:v(n.Ae,n),removeAuthTokenListener:v(n.uf,n)}}),n},n,function(n,t){if("create"===n)try{t.auth()}catch(n){}}),i.INTERNAL.extendNamespace({User:pa})}()}).call(this)}).call(void 0!==typeof t?t:void 0!==typeof self?self:void 0!==typeof window?window:{}),n.exports=i.auth}).call(t,e("fRUx"))},"8k1a":function(n,t,e){"use strict";var i=e("DQLw");e.d(t,"a",function(){return i.a});e("Q1nW")},A6fs:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},BDgk:function(n,t,e){"use strict";var i=e("5v8a"),r=(e.n(i),e("eqpX")),o=(e.n(r),e("BkNc")),l=e("Ki9k");e.d(t,"a",function(){return u});var u=function(){function n(n,t){this.adminService=n,this.router=t}return n.prototype.canActivate=function(n,t){var e=this;return this.adminService.user.map(function(n){return null!==n}).do(function(n){n||e.router.navigate(["/admin"])})},n.ctorParameters=function(){return[{type:l.a},{type:o.j}]},n}()},DQLw:function(n,t,e){"use strict";function i(n){var t=a.Observable.create(function(t){n.auth().onAuthStateChanged(function(n){return t.next(n)},function(n){return t.error(n)},function(){return t.complete()})});return s.observeOn.call(t,new o.a(Zone.current))}function r(n){var t=a.Observable.create(function(t){n.auth().onIdTokenChanged(function(n){return t.next(n)},function(n){return t.error(n)},function(){return t.complete()})});return s.observeOn.call(t,new o.a(Zone.current))}var o=e("mqtq"),l=e("0yuy"),u=(e.n(l),e("/oeL")),a=e("bKpL"),s=(e.n(a),e("AHF9")),c=(e.n(s),e("Rfiw"));e.d(t,"a",function(){return h});var h=function(){function n(n){this.app=n,this.authState=i(n),this.idToken=r(n),this.auth=n.auth()}return n}();h.decorators=[{type:u.Injectable}],h.ctorParameters=function(){return[{type:c.a}]}},Gv5v:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},J4Nl:function(n,t,e){"use strict";function i(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["歷來活動"])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵeld"](0,null,null,39,"div",[["class","list"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["清單"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,33,"table",[["class","table"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,13,"thead",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,10,"tr",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"th",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["#"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"th",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["活動主題"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"th",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["更新日期"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,15,"tbody",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,12,"tr",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"td",[["class","col-sm-2"]],null,[[null,"click"]],function(n,t,e){var i=!0;if("click"===t){i=!1!==l["ɵnov"](n,30).onClick()&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.y,[u.j,u.v,[8,null],l.Renderer,l.ElementRef],{routerLink:[0,"routerLink"]},null),l["ɵpad"](1),(n()(),l["ɵted"](null,["修改"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"td",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["2016"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"td",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["2016/07/01"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"]))],function(n,t){n(t,30,0,n(t,31,0,"./1"))},null)}function r(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"augt-activity-maintain",[],null,null,null,i,c)),l["ɵdid"](114688,null,0,a.a,[],null,null)],function(n,t){n(t,1,0)},null)}var o=e("w42L"),l=e("/oeL"),u=e("BkNc"),a=e("X4Ck");e.d(t,"a",function(){return h});var s=[o.a],c=l["ɵcrt"]({encapsulation:0,styles:s,data:{}}),h=l["ɵccf"]("augt-activity-maintain",a.a,r,{},{},[])},Ki9k:function(n,t,e){"use strict";var i=e("XL2q"),r=(e.n(i),e("8k1a")),o=e("B2Lq"),l=e("bKpL");e.n(l);e.d(t,"a",function(){return u});var u=function(){function n(n,t){this.auth=n,this.af=t,this.user=n.authState}return n.prototype.login=function(n){var t=n.email,e=n.password;return l.Observable.from(this.auth.auth.signInWithEmailAndPassword(t,e))},n.prototype.logout=function(){this.auth.auth.signOut()},n.prototype.loadStudy=function(){return this.af.list("/study")},n.prototype.getStudy=function(n){return this.af.object("/study/"+n)},n.prototype.createStudy=function(n){return n.updateDate=new Date,this.af.list("/study").push(n)},n.prototype.saveStudy=function(n,t){return t.updateDate=new Date,this.af.list("/study").update(n,t)},n.ctorParameters=function(){return[{type:r.a},{type:o.a}]},n}()},Kscp:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=function(){function n(){}return n.prototype.ngOnInit=function(){},n.ctorParameters=function(){return[]},n}()},M2SI:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},PAir:function(n,t,e){"use strict";function i(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,null,null,13,"tr",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,3,"td",[["class","col-sm-2"]],null,[[null,"click"]],function(n,t,e){var i=!0;if("click"===t){i=!1!==u["ɵnov"](n,3).onClick()&&i}return i},null,null)),u["ɵdid"](16384,null,0,a.y,[a.j,a.v,[8,null],u.Renderer,u.ElementRef],{routerLink:[0,"routerLink"]},null),u["ɵpad"](2),(n()(),u["ɵted"](null,["修改"])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"td",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["",""])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,2,"td",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["",""])),u["ɵppd"](1),(n()(),u["ɵted"](null,["\n "]))],function(n,t){n(t,3,0,n(t,4,0,"./",t.context.$implicit.$key))},function(n,t){n(t,8,0,t.context.$implicit.title),n(t,11,0,u["ɵunv"](t,11,0,n(t,12,0,u["ɵnov"](t.parent,0),t.context.$implicit.updateDate)))})}function r(n){return u["ɵvid"](0,[u["ɵpid"](0,s.l,[u.LOCALE_ID]),(n()(),u["ɵeld"](0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["線上讀書會"])),(n()(),u["ɵted"](null,["\n"])),(n()(),u["ɵeld"](0,null,null,43,"div",[["class","list"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["清單"])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,37,"table",[["class","table"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,12,"thead",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,9,"tr",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,6,"th",[["colspan","3"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,3,"button",[["class","btn"]],null,[[null,"click"]],function(n,t,e){var i=!0,r=n.component;if("click"===t){i=!1!==r.newEpisode()&&i}return i},null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(n()(),u["ɵted"](null,[" 新增\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,13,"thead",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,10,"tr",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"th",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["#"])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"th",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["活動主題"])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,1,"th",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),u["ɵted"](null,["更新日期"])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵeld"](0,null,null,5,"tbody",[],null,null,null,null,null)),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵand"](16777216,null,null,2,null,i)),u["ɵdid"](802816,null,0,s.m,[u.ViewContainerRef,u.TemplateRef,u.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),u["ɵpid"](131072,s.n,[u.ChangeDetectorRef]),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n "])),(n()(),u["ɵted"](null,["\n"])),(n()(),u["ɵted"](null,["\n"]))],function(n,t){var e=t.component;n(t,43,0,u["ɵunv"](t,43,0,u["ɵnov"](t,44).transform(e.items)))},null)}function o(n){return u["ɵvid"](0,[(n()(),u["ɵeld"](0,null,null,1,"augt-study-maintain",[],null,null,null,r,f)),u["ɵdid"](114688,null,0,c.a,[h.a,a.j],null,null)],function(n,t){n(t,1,0)},null)}var l=e("A6fs"),u=e("/oeL"),a=e("BkNc"),s=e("qbdv"),c=e("o388"),h=e("Ki9k");e.d(t,"a",function(){return p});var d=[l.a],f=u["ɵcrt"]({encapsulation:0,styles:d,data:{}}),p=u["ɵccf"]("augt-study-maintain",c.a,o,{},{},[])},Pic8:function(n,t,e){"use strict";var i=e("bKpL"),r=e("aCMF");i.Observable.prototype.switchMap=r.switchMap},Q1nW:function(n,t,e){"use strict";function i(n){return new a.a(n)}var r=e("/oeL"),o=e("0yuy"),l=(e.n(o),e("Rfiw")),u=e("axsj"),a=e("DQLw");t.a=i,e.d(t,"b",function(){return h});var s={provide:a.a,useFactory:i,deps:[l.a]},c=[s],h=function(){function n(){}return n}();h.decorators=[{type:r.NgModule,args:[{imports:[u.a],providers:[c]}]}],h.ctorParameters=function(){return[]}},SQzb:function(n,t,e){"use strict";var i=e("BkNc"),r=e("Ki9k");e.d(t,"a",function(){return o});var o=function(){function n(n,t){this.adminService=n,this.router=t,this.loginState={email:"chgc.tw@gmail.com",password:"982314"}}return n.prototype.ngOnInit=function(){},n.prototype.login=function(){var n=this;this.adminService.login(this.loginState).subscribe(function(t){n.router.navigate(["/admin/maintain"])},function(t){console.log(t),n.errorMessage=t.message})},n.ctorParameters=function(){return[{type:r.a},{type:i.j}]},n}()},X4Ck:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=function(){function n(){this.isEdit=!1}return n.prototype.ngOnInit=function(){},n.ctorParameters=function(){return[]},n}()},XL2q:function(n,t,e){"use strict";var i=e("bKpL"),r=e("7JOC");i.Observable.from=r.from},bPiv:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("/oeL"),r=e("fgGg"),o=e("qbdv"),l=e("bm2B"),u=e("CPp0"),a=e("+idH"),s=(e.n(a),e("i9QB")),c=e("BkNc"),h=e("yR5I"),d=e("axsj"),f=e("Q1nW"),p=e("R/0y"),v=e("Ki9k"),g=e("BDgk"),m=e("dgZX"),b=e("vKdk"),y=e("PAir"),w=e("tICe"),_=e("J4Nl"),E=e("lVXx"),k=e("Kfbv"),A=e("SQzb"),I=e("c50F"),C=e("o388"),S=e("mvY4"),T=e("X4Ck"),N=e("Kscp"),O=e("DQLw"),R=e("6cxu");e.d(t,"AdminModuleNgFactory",function(){return L});var P=this&&this.__extends||function(){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])};return function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),D=function(n){function t(t){return n.call(this,t,[m.a,b.a,y.a,w.a,_.a,E.a],[])||this}return P(t,n),Object.defineProperty(t.prototype,"_NgLocalization_12",{get:function(){return null==this.__NgLocalization_12&&(this.__NgLocalization_12=new o.a(this.parent.get(i.LOCALE_ID))),this.__NgLocalization_12},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ɵi_13",{get:function(){return null==this.__ɵi_13&&(this.__ɵi_13=new l["ɵi"]),this.__ɵi_13},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_BrowserXhr_14",{get:function(){return null==this.__BrowserXhr_14&&(this.__BrowserXhr_14=new u.a),this.__BrowserXhr_14},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ResponseOptions_15",{get:function(){return null==this.__ResponseOptions_15&&(this.__ResponseOptions_15=new u.b),this.__ResponseOptions_15},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_XSRFStrategy_16",{get:function(){return null==this.__XSRFStrategy_16&&(this.__XSRFStrategy_16=u.c()),this.__XSRFStrategy_16},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_XHRBackend_17",{get:function(){return null==this.__XHRBackend_17&&(this.__XHRBackend_17=new u.d(this._BrowserXhr_14,this._ResponseOptions_15,this._XSRFStrategy_16)),this.__XHRBackend_17},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_RequestOptions_18",{get:function(){return null==this.__RequestOptions_18&&(this.__RequestOptions_18=new u.e),this.__RequestOptions_18},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_Http_19",{get:function(){return null==this.__Http_19&&(this.__Http_19=u.f(this._XHRBackend_17,this._RequestOptions_18)),this.__Http_19},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_FirebaseApp_21",{get:function(){return null==this.__FirebaseApp_21&&(this.__FirebaseApp_21=k.a(this.parent.get(k.b),this.parent.get(d.b))),this.__FirebaseApp_21},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AngularFireAuth_22",{get:function(){return null==this.__AngularFireAuth_22&&(this.__AngularFireAuth_22=f.a(this._FirebaseApp_21)),this.__AngularFireAuth_22},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AngularFireDatabase_23",{get:function(){return null==this.__AngularFireDatabase_23&&(this.__AngularFireDatabase_23=p.a(this._FirebaseApp_21)),this.__AngularFireDatabase_23},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AdminService_24",{get:function(){return null==this.__AdminService_24&&(this.__AdminService_24=new v.a(this._AngularFireAuth_22,this._AngularFireDatabase_23)),this.__AdminService_24},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_AuthGuard_25",{get:function(){return null==this.__AuthGuard_25&&(this.__AuthGuard_25=new g.a(this._AdminService_24,this.parent.get(c.j))),this.__AuthGuard_25},enumerable:!0,configurable:!0}),t.prototype.createInternal=function(){return this._CommonModule_0=new o.b,this._ɵba_1=new l["ɵba"],this._FormsModule_2=new l.FormsModule,this._HttpModule_3=new u.g,this._CustomFormsModule_4=new a.CustomFormsModule,this._ShareModule_5=new s.a,this._RouterModule_6=new c.q(this.parent.get(c.r,null),this.parent.get(c.j,null)),this._AdminRoutingModule_7=new h.a,this._AngularFireModule_8=new d.a,this._AngularFireAuthModule_9=new f.b,this._AngularFireDatabaseModule_10=new p.b,this._AdminModule_11=new r.a,this._ROUTES_20=[[{path:"",component:A.a},{path:"maintain",canActivate:[g.a],component:I.a,children:[{path:"study",component:C.a},{path:"study/:id",component:S.a},{path:"activity",component:T.a},{path:"activity/:id",component:N.a},{path:"",redirectTo:"/admin/maintain/study",pathMatch:"full"}]}]],this._AdminModule_11},t.prototype.getInternal=function(n,t){return n===o.b?this._CommonModule_0:n===l["ɵba"]?this._ɵba_1:n===l.FormsModule?this._FormsModule_2:n===u.g?this._HttpModule_3:n===a.CustomFormsModule?this._CustomFormsModule_4:n===s.a?this._ShareModule_5:n===c.q?this._RouterModule_6:n===h.a?this._AdminRoutingModule_7:n===d.a?this._AngularFireModule_8:n===f.b?this._AngularFireAuthModule_9:n===p.b?this._AngularFireDatabaseModule_10:n===r.a?this._AdminModule_11:n===o.g?this._NgLocalization_12:n===l["ɵi"]?this._ɵi_13:n===u.a?this._BrowserXhr_14:n===u.h?this._ResponseOptions_15:n===u.i?this._XSRFStrategy_16:n===u.d?this._XHRBackend_17:n===u.j?this._RequestOptions_18:n===u.k?this._Http_19:n===c.u?this._ROUTES_20:n===k.c?this._FirebaseApp_21:n===O.a?this._AngularFireAuth_22:n===R.a?this._AngularFireDatabase_23:n===v.a?this._AdminService_24:n===g.a?this._AuthGuard_25:t},t.prototype.destroyInternal=function(){},t}(i["ɵNgModuleInjector"]),L=new i.NgModuleFactory(D,r.a)},c50F:function(n,t,e){"use strict";var i=e("BkNc"),r=e("Ki9k");e.d(t,"a",function(){return o});var o=function(){function n(n,t){this.adminService=n,this.router=t}return n.prototype.ngOnInit=function(){},n.prototype.logout=function(){this.adminService.logout(),this.router.navigate(["/admin"])},n.ctorParameters=function(){return[{type:r.a},{type:i.j}]},n}()},dgZX:function(n,t,e){"use strict";function i(n){return l["ɵvid"](0,[(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵeld"](0,null,null,39,"div",[["class","contact"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,36,"div",[["class","container"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,33,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,t,e){var i=!0;if("submit"===t){i=!1!==l["ɵnov"](n,7).onSubmit(e)&&i}if("reset"===t){i=!1!==l["ɵnov"](n,7).onReset()&&i}return i},null,null)),l["ɵdid"](16384,null,0,u["ɵbf"],[],null,null),l["ɵdid"](16384,[["myForm",4]],0,u.NgForm,[[8,null],[8,null]],null,null),l["ɵprd"](2048,null,u.ControlContainer,null,[u.NgForm]),l["ɵdid"](16384,null,0,u.NgControlStatusGroup,[u.ControlContainer],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"p",[["class","title"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["後台登入"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"p",[["class","text-danger"]],[[8,"hidden",0]],null,null,null,null)),(n()(),l["ɵted"](null,["\n ","\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,8,"input",[["class","input"],["email",""],["name","email"],["placeholder","Email"],["type","email"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,18)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,18).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,18)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,18)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.loginState.email=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](16384,null,0,u.EmailValidator,[],{email:[0,"email"]},null),l["ɵdid"](16384,null,0,s.EmailValidator,[],null,null),l["ɵprd"](1024,null,u.NG_VALIDATORS,function(n,t){return[n,t]},[u.EmailValidator,s.EmailValidator]),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,[["email",4]],0,u.NgModel,[[2,u.ControlContainer],[2,u.NG_VALIDATORS],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"input",[["class","input"],["name","password"],["placeholder","Password"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,28)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,28).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,28)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,28)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.loginState.password=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](16384,null,0,u.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,u.NG_VALIDATORS,function(n){return[n]},[u.RequiredValidator]),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,[["password",4]],0,u.NgModel,[[2,u.ControlContainer],[2,u.NG_VALIDATORS],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"button",[["class","btn"]],[[8,"disabled",0]],[[null,"click"]],function(n,t,e){var i=!0,r=n.component;if("click"===t){i=!1!==r.login()&&i}return i},null,null)),(n()(),l["ɵted"](null,["登入"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"]))],function(n,t){var e=t.component;n(t,19,0,"");n(t,23,0,"email",e.loginState.email);n(t,29,0,"");n(t,32,0,"password",e.loginState.password)},function(n,t){var e=t.component;n(t,5,0,l["ɵnov"](t,9).ngClassUntouched,l["ɵnov"](t,9).ngClassTouched,l["ɵnov"](t,9).ngClassPristine,l["ɵnov"](t,9).ngClassDirty,l["ɵnov"](t,9).ngClassValid,l["ɵnov"](t,9).ngClassInvalid,l["ɵnov"](t,9).ngClassPending),n(t,14,0,!e.errorMessage),n(t,15,0,e.errorMessage),n(t,17,0,l["ɵnov"](t,25).ngClassUntouched,l["ɵnov"](t,25).ngClassTouched,l["ɵnov"](t,25).ngClassPristine,l["ɵnov"](t,25).ngClassDirty,l["ɵnov"](t,25).ngClassValid,l["ɵnov"](t,25).ngClassInvalid,l["ɵnov"](t,25).ngClassPending),n(t,27,0,l["ɵnov"](t,29).required?"":null,l["ɵnov"](t,34).ngClassUntouched,l["ɵnov"](t,34).ngClassTouched,l["ɵnov"](t,34).ngClassPristine,l["ɵnov"](t,34).ngClassDirty,l["ɵnov"](t,34).ngClassValid,l["ɵnov"](t,34).ngClassInvalid,l["ɵnov"](t,34).ngClassPending),n(t,36,0,!l["ɵnov"](t,7).form.valid)})}function r(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"augt-login",[],null,null,null,i,f)),l["ɵdid"](114688,null,0,a.a,[c.a,h.j],null,null)],function(n,t){n(t,1,0)},null)}var o=e("M2SI"),l=e("/oeL"),u=e("bm2B"),a=e("SQzb"),s=e("wU5P"),c=(e.n(s),e("Ki9k")),h=e("BkNc");e.d(t,"a",function(){return p});var d=[o.a],f=l["ɵcrt"]({encapsulation:0,styles:d,data:{}}),p=l["ɵccf"]("augt-login",a.a,r,{},{},[])},eqpX:function(n,t,e){"use strict";var i=e("bKpL"),r=e("rDIt");i.Observable.prototype.do=r._do,i.Observable.prototype._do=r._do},fgGg:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=function(){function n(){}return n}()},lVXx:function(n,t,e){"use strict";function i(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["編輯活動內容"])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵeld"](0,null,null,58,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,t,e){var i=!0;if("submit"===t){i=!1!==l["ɵnov"](n,5).onSubmit(e)&&i}if("reset"===t){i=!1!==l["ɵnov"](n,5).onReset()&&i}return i},null,null)),l["ɵdid"](16384,null,0,u["ɵbf"],[],null,null),l["ɵdid"](16384,null,0,u.NgForm,[[8,null],[8,null]],null,null),l["ɵprd"](2048,null,u.ControlContainer,null,[u.NgForm]),l["ɵdid"](16384,null,0,u.NgControlStatusGroup,[u.ControlContainer],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["主題"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,0,"input",[["class","form-control"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["封面"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,0,"input",[["class","form-control"],["type","file"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["描述"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,0,"textarea",[["class","form-control"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["Youtube"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,0,"input",[["class","form-control"],["type","text"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,4,"div",[["class","col-sm-10 col-sm-offset-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"button",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["Save"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"]))],null,function(n,t){n(t,3,0,l["ɵnov"](t,7).ngClassUntouched,l["ɵnov"](t,7).ngClassTouched,l["ɵnov"](t,7).ngClassPristine,l["ɵnov"](t,7).ngClassDirty,l["ɵnov"](t,7).ngClassValid,l["ɵnov"](t,7).ngClassInvalid,l["ɵnov"](t,7).ngClassPending)})}function r(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"augt-activitity-maintain-detail",[],null,null,null,i,c)),l["ɵdid"](114688,null,0,a.a,[],null,null)],function(n,t){n(t,1,0)},null)}var o=e("Gv5v"),l=e("/oeL"),u=e("bm2B"),a=e("Kscp");e.d(t,"a",function(){return h});var s=[o.a],c=l["ɵcrt"]({encapsulation:0,styles:s,data:{}}),h=l["ɵccf"]("augt-activitity-maintain-detail",a.a,r,{},{},[])},mvY4:function(n,t,e){"use strict";var i=e("Pic8"),r=(e.n(i),e("eqpX")),o=(e.n(r),e("BkNc")),l=e("Ki9k");e.d(t,"a",function(){return u});var u=function(){function n(n,t,e){var i=this;this.route=n,this.router=t,this.adminService=e,this.item={title:"",speaker:"",description:"",youtube:""},this.paramsSub=this.route.params.switchMap(function(n){return i.adminService.getStudy(n.id)}).do(function(n){i.isEdit=null!==n.$value}).subscribe(function(n){i.item=i.isEdit?n:i.initItem()})}return n.prototype.initItem=function(){return{title:"",speaker:"",description:"",youtube:"",updateDate:new Date}},n.prototype.ngOnInit=function(){},n.prototype.ngOnDestroy=function(){this.paramsSub.unsubscribe()},n.prototype.save=function(){var n=this;this.isEdit?this.adminService.saveStudy(this.route.snapshot.params.id,this.item).then(function(){n.back()}):this.adminService.createStudy(this.item).then(function(){n.back()})},n.prototype.back=function(){this.router.navigate(["../"],{relativeTo:this.route})},n.ctorParameters=function(){return[{type:o.v},{type:o.j},{type:l.a}]},n}()},nah3:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},o388:function(n,t,e){"use strict";var i=e("BkNc"),r=e("Ki9k");e.d(t,"a",function(){return o});var o=function(){function n(n,t){this.adminService=n,this.router=t,this.items=n.loadStudy()}return n.prototype.ngOnInit=function(){},n.prototype.newEpisode=function(){this.router.navigate(["/admin/maintain/study/new"])},n.ctorParameters=function(){return[{type:r.a},{type:i.j}]},n}()},r7cU:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},rDIt:function(n,t,e){"use strict";function i(n,t,e){return this.lift(new l(n,t,e))}var r=this&&this.__extends||function(n,t){function e(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)},o=e("T14+");t._do=i;var l=function(){function n(n,t,e){this.nextOrObserver=n,this.error=t,this.complete=e}return n.prototype.call=function(n,t){return t.subscribe(new u(n,this.nextOrObserver,this.error,this.complete))},n}(),u=function(n){function t(t,e,i,r){n.call(this,t);var l=new o.Subscriber(e,i,r);l.syncErrorThrowable=!0,this.add(l),this.safeSubscriber=l}return r(t,n),t.prototype._next=function(n){var t=this.safeSubscriber;t.next(n),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(n)},t.prototype._error=function(n){var t=this.safeSubscriber;t.error(n),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.error(n)},t.prototype._complete=function(){var n=this.safeSubscriber;n.complete(),n.syncErrorThrown?this.destination.error(n.syncErrorValue):this.destination.complete()},t}(o.Subscriber)},tICe:function(n,t,e){"use strict";function i(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["讀書會內容"])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵeld"](0,null,null,126,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,t,e){var i=!0;if("submit"===t){i=!1!==l["ɵnov"](n,5).onSubmit(e)&&i}if("reset"===t){i=!1!==l["ɵnov"](n,5).onReset()&&i}return i},null,null)),l["ɵdid"](16384,null,0,u["ɵbf"],[],null,null),l["ɵdid"](16384,[["myForm",4]],0,u.NgForm,[[8,null],[8,null]],null,null),l["ɵprd"](2048,null,u.ControlContainer,null,[u.NgForm]),l["ɵdid"](16384,null,0,u.NgControlStatusGroup,[u.ControlContainer],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,5,"input",[["name","updateDate"],["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,10)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,10).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,10)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,10)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.updateDate=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["主題"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,10,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"input",[["class","form-control"],["name","subject"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,24)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,24).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,24)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,24)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.title=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](16384,null,0,u.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,u.NG_VALIDATORS,function(n){return[n]},[u.RequiredValidator]),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[2,u.NG_VALIDATORS],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["講者"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,10,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"input",[["class","form-control"],["name","speaker"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,42)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,42).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,42)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,42)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.speaker=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](16384,null,0,u.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,u.NG_VALIDATORS,function(n){return[n]},[u.RequiredValidator]),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[2,u.NG_VALIDATORS],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["日期"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,8,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control"],["name","episodeDate"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,60)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,60).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,60)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,60)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.episodeDate=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["封面"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,8,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control"],["name","cover"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,76)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,76).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,76)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,76)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.cover=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["描述"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,10,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"textarea",[["class","form-control"],["name","description"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,92)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,92).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,92)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,92)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.description=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](16384,null,0,u.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,u.NG_VALIDATORS,function(n){return[n]},[u.RequiredValidator]),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[2,u.NG_VALIDATORS],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"label",[["class","col-sm-2 control-label"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["Youtube"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,8,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,5,"input",[["class","form-control"],["name","youtube"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,e){var i=!0,r=n.component;if("input"===t){i=!1!==l["ɵnov"](n,110)._handleInput(e.target.value)&&i}if("blur"===t){i=!1!==l["ɵnov"](n,110).onTouched()&&i}if("compositionstart"===t){i=!1!==l["ɵnov"](n,110)._compositionStart()&&i}if("compositionend"===t){i=!1!==l["ɵnov"](n,110)._compositionEnd(e.target.value)&&i}if("ngModelChange"===t){i=!1!==(r.item.youtube=e)&&i}return i},null,null)),l["ɵdid"](16384,null,0,u.DefaultValueAccessor,[l.Renderer,l.ElementRef,[2,u.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,u.NG_VALUE_ACCESSOR,function(n){return[n]},[u.DefaultValueAccessor]),l["ɵdid"](671744,null,0,u.NgModel,[[2,u.ControlContainer],[8,null],[8,null],[2,u.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,u.NgControl,null,[u.NgModel]),l["ɵdid"](16384,null,0,u.NgControlStatus,[u.NgControl],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"div",[["class","col-sm-10 col-sm-offset-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"button",[["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(n,t,e){var i=!0,r=n.component;if("click"===t){i=!1!==r.save()&&i}return i},null,null)),(n()(),l["ɵted"](null,["Save"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,1,"button",[["type","button"]],null,[[null,"click"]],function(n,t,e){var i=!0,r=n.component;if("click"===t){i=!1!==r.back()&&i}return i},null,null)),(n()(),l["ɵted"](null,["Back"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"]))],function(n,t){var e=t.component;n(t,12,0,"updateDate",e.item.updateDate);n(t,25,0,"");n(t,28,0,"subject",e.item.title);n(t,43,0,"");n(t,46,0,"speaker",e.item.speaker);n(t,62,0,"episodeDate",e.item.episodeDate);n(t,78,0,"cover",e.item.cover);n(t,93,0,"");n(t,96,0,"description",e.item.description);n(t,112,0,"youtube",e.item.youtube)},function(n,t){n(t,3,0,l["ɵnov"](t,7).ngClassUntouched,l["ɵnov"](t,7).ngClassTouched,l["ɵnov"](t,7).ngClassPristine,l["ɵnov"](t,7).ngClassDirty,l["ɵnov"](t,7).ngClassValid,l["ɵnov"](t,7).ngClassInvalid,l["ɵnov"](t,7).ngClassPending),n(t,9,0,l["ɵnov"](t,14).ngClassUntouched,l["ɵnov"](t,14).ngClassTouched,l["ɵnov"](t,14).ngClassPristine,l["ɵnov"](t,14).ngClassDirty,l["ɵnov"](t,14).ngClassValid,l["ɵnov"](t,14).ngClassInvalid,l["ɵnov"](t,14).ngClassPending),n(t,23,0,l["ɵnov"](t,25).required?"":null,l["ɵnov"](t,30).ngClassUntouched,l["ɵnov"](t,30).ngClassTouched,l["ɵnov"](t,30).ngClassPristine,l["ɵnov"](t,30).ngClassDirty,l["ɵnov"](t,30).ngClassValid,l["ɵnov"](t,30).ngClassInvalid,l["ɵnov"](t,30).ngClassPending),n(t,41,0,l["ɵnov"](t,43).required?"":null,l["ɵnov"](t,48).ngClassUntouched,l["ɵnov"](t,48).ngClassTouched,l["ɵnov"](t,48).ngClassPristine,l["ɵnov"](t,48).ngClassDirty,l["ɵnov"](t,48).ngClassValid,l["ɵnov"](t,48).ngClassInvalid,l["ɵnov"](t,48).ngClassPending),n(t,59,0,l["ɵnov"](t,64).ngClassUntouched,l["ɵnov"](t,64).ngClassTouched,l["ɵnov"](t,64).ngClassPristine,l["ɵnov"](t,64).ngClassDirty,l["ɵnov"](t,64).ngClassValid,l["ɵnov"](t,64).ngClassInvalid,l["ɵnov"](t,64).ngClassPending),n(t,75,0,l["ɵnov"](t,80).ngClassUntouched,l["ɵnov"](t,80).ngClassTouched,l["ɵnov"](t,80).ngClassPristine,l["ɵnov"](t,80).ngClassDirty,l["ɵnov"](t,80).ngClassValid,l["ɵnov"](t,80).ngClassInvalid,l["ɵnov"](t,80).ngClassPending),n(t,91,0,l["ɵnov"](t,93).required?"":null,l["ɵnov"](t,98).ngClassUntouched,l["ɵnov"](t,98).ngClassTouched,l["ɵnov"](t,98).ngClassPristine,l["ɵnov"](t,98).ngClassDirty,l["ɵnov"](t,98).ngClassValid,l["ɵnov"](t,98).ngClassInvalid,l["ɵnov"](t,98).ngClassPending),n(t,109,0,l["ɵnov"](t,114).ngClassUntouched,l["ɵnov"](t,114).ngClassTouched,l["ɵnov"](t,114).ngClassPristine,l["ɵnov"](t,114).ngClassDirty,l["ɵnov"](t,114).ngClassValid,l["ɵnov"](t,114).ngClassInvalid,l["ɵnov"](t,114).ngClassPending),n(t,122,0,!l["ɵnov"](t,5).form.valid)})}function r(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"augt-study-maintain-detail",[],null,null,null,i,d)),l["ɵdid"](245760,null,0,a.a,[s.v,s.j,c.a],null,null)],function(n,t){n(t,1,0)},null)}var o=e("nah3"),l=e("/oeL"),u=e("bm2B"),a=e("mvY4"),s=e("BkNc"),c=e("Ki9k");e.d(t,"a",function(){return f});var h=[o.a],d=l["ɵcrt"]({encapsulation:0,styles:h,data:{}}),f=l["ɵccf"]("augt-study-maintain-detail",a.a,r,{},{},[])},vKdk:function(n,t,e){"use strict";function i(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,33,"div",[["class","row"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,21,"div",[["class","col-sm-2"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,18,"div",[["class","menu"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,15,"ul",[],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"li",[],null,null,null,null,null)),(n()(),l["ɵeld"](0,null,null,2,"a",[["routerLink","/admin/maintain/study"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;if("click"===t){i=!1!==l["ɵnov"](n,10).onClick(e.button,e.ctrlKey,e.metaKey)&&i}return i},null,null)),l["ɵdid"](671744,null,0,u.z,[u.j,u.v,a.f],{routerLink:[0,"routerLink"]},null),(n()(),l["ɵted"](null,["線上讀書會"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,3,"li",[],null,null,null,null,null)),(n()(),l["ɵeld"](0,null,null,2,"a",[["routerLink","/admin/maintain/activity"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,t,e){var i=!0;if("click"===t){i=!1!==l["ɵnov"](n,15).onClick(e.button,e.ctrlKey,e.metaKey)&&i}return i},null,null)),l["ɵdid"](671744,null,0,u.z,[u.j,u.v,a.f],{routerLink:[0,"routerLink"]},null),(n()(),l["ɵted"](null,["歷來活動"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,2,"li",[],null,null,null,null,null)),(n()(),l["ɵeld"](0,null,null,1,"span",[],null,[[null,"click"]],function(n,t,e){var i=!0,r=n.component;if("click"===t){i=!1!==r.logout()&&i}return i},null,null)),(n()(),l["ɵted"](null,["登出"])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,7,"div",[["class","col-sm-10"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](0,null,null,4,"div",[["class","content"]],null,null,null,null,null)),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵeld"](16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l["ɵdid"](147456,null,0,u.A,[u.l,l.ViewContainerRef,l.ComponentFactoryResolver,[8,null]],null,null),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n "])),(n()(),l["ɵted"](null,["\n"])),(n()(),l["ɵted"](null,["\n"]))],function(n,t){n(t,10,0,"/admin/maintain/study");n(t,15,0,"/admin/maintain/activity")},function(n,t){n(t,9,0,l["ɵnov"](t,10).target,l["ɵnov"](t,10).href),n(t,14,0,l["ɵnov"](t,15).target,l["ɵnov"](t,15).href)})}function r(n){return l["ɵvid"](0,[(n()(),l["ɵeld"](0,null,null,1,"augt-maintain",[],null,null,null,i,d)),l["ɵdid"](114688,null,0,s.a,[c.a,u.j],null,null)],function(n,t){n(t,1,0)},null)}var o=e("r7cU"),l=e("/oeL"),u=e("BkNc"),a=e("qbdv"),s=e("c50F"),c=e("Ki9k");e.d(t,"a",function(){return f});var h=[o.a],d=l["ɵcrt"]({encapsulation:0,styles:h,data:{}}),f=l["ɵccf"]("augt-maintain",s.a,r,{},{},[])},w42L:function(n,t,e){"use strict";e.d(t,"a",function(){return i});var i=[""]},yR5I:function(n,t,e){"use strict";var i=e("Kscp"),r=e("X4Ck"),o=e("BDgk"),l=e("SQzb"),u=e("c50F"),a=e("mvY4"),s=e("o388");e.d(t,"a",function(){return c});var c=(l.a,o.a,u.a,s.a,a.a,r.a,i.a,function(){function n(){}return n}())}});