From 3603f27d818e9ab674a8abcde3edb98ccc2f98d6 Mon Sep 17 00:00:00 2001 From: Tristan Rice Date: Tue, 14 Mar 2017 21:17:04 -0700 Subject: [PATCH] disabled minification --- bower.json | 2 +- components/index-page/index-page.html | 4 +- components/schedule-box/schedule-box.html | 6 +- docs/404.html | 36 +- docs/bower.json | 2 +- .../app-network-status-behavior.html | 73 +- .../app-storage/app-storage-behavior.html | 481 +- .../comma-separated-values/csv.min.js | 2 +- .../bower_components/firebase/firebase-app.js | 36 +- .../firebase/firebase-auth.js | 242 +- .../firebase/firebase-database.js | 260 +- docs/bower_components/font-roboto/roboto.html | 12 +- .../iron-a11y-announcer.html | 118 +- .../iron-a11y-keys-behavior.html | 496 +- .../bower_components/iron-ajax/iron-ajax.html | 533 +- .../iron-ajax/iron-request.html | 443 +- .../iron-autogrow-textarea.html | 305 +- .../iron-behaviors/iron-button-state.html | 228 +- .../iron-behaviors/iron-control-state.html | 110 +- .../iron-checked-element-behavior.html | 120 +- .../iron-dropdown-scroll-manager.html | 359 +- .../iron-dropdown/iron-dropdown.html | 341 +- .../iron-fit-behavior/iron-fit-behavior.html | 612 +- .../iron-flex-layout/iron-flex-layout.html | 51 +- .../iron-form-element-behavior.html | 86 +- .../bower_components/iron-form/iron-form.html | 513 +- .../bower_components/iron-icon/iron-icon.html | 195 +- .../iron-icons/image-icons.html | 171 +- .../iron-icons/iron-icons.html | 353 +- .../iron-icons/maps-icons.html | 84 +- .../iron-iconset-svg/iron-iconset-svg.html | 241 +- .../iron-image/iron-image.html | 358 +- .../iron-input/iron-input.html | 306 +- .../bower_components/iron-list/iron-list.html | 1863 +- .../iron-menu-behavior.html | 376 +- .../iron-menubar-behavior.html | 81 +- .../bower_components/iron-meta/iron-meta.html | 333 +- .../iron-focusables-helper.html | 220 +- .../iron-overlay-backdrop.html | 149 +- .../iron-overlay-behavior.html | 637 +- .../iron-overlay-manager.html | 365 +- .../iron-resizable-behavior.html | 195 +- .../iron-scroll-target-behavior.html | 260 +- .../iron-selector/iron-multi-selectable.html | 148 +- .../iron-selector/iron-selectable.html | 357 +- .../iron-selector/iron-selection.html | 117 +- .../iron-validatable-behavior.html | 149 +- .../lazy-pages/lazy-pages.html | 554 +- docs/bower_components/lunr.js/lunr.min.js | 8 +- ...moment-timezone-with-data-2010-2020.min.js | 8 +- .../bower_components/moment/min/moment.min.js | 8 +- .../animations/fade-in-animation.html | 49 +- .../animations/fade-out-animation.html | 49 +- .../animations/opaque-animation.html | 46 +- .../neon-animatable-behavior.html | 150 +- .../neon-animation-behavior.html | 86 +- .../neon-animation-runner-behavior.html | 130 +- .../neon-animation/web-animations.html | 11 +- docs/bower_components/page/page.js | 1114 +- .../paper-button-behavior.html | 97 +- .../paper-checked-element-behavior.html | 57 +- .../paper-inky-focus-behavior.html | 51 +- .../paper-ripple-behavior.html | 126 +- .../paper-button/paper-button.html | 129 +- .../paper-card/paper-card.html | 182 +- .../paper-checkbox/paper-checkbox.html | 145 +- .../paper-dialog-behavior.html | 140 +- .../paper-dialog-shared-styles.html | 35 +- .../paper-dialog/paper-dialog.html | 117 +- .../paper-dropdown-menu-icons.html | 17 +- .../paper-dropdown-menu-shared-styles.html | 17 +- .../paper-dropdown-menu.html | 392 +- .../paper-icon-button/paper-icon-button.html | 128 +- .../paper-input-addon-behavior.html | 47 +- .../paper-input/paper-input-behavior.html | 569 +- .../paper-input/paper-input-char-counter.html | 83 +- .../paper-input/paper-input-container.html | 415 +- .../paper-input/paper-input-error.html | 77 +- .../paper-input/paper-input.html | 105 +- .../paper-input/paper-textarea.html | 116 +- .../paper-item/paper-item-behavior.html | 36 +- .../paper-item/paper-item-shared-styles.html | 20 +- .../paper-item/paper-item.html | 103 +- .../paper-listbox/paper-listbox.html | 86 +- .../paper-material-shared-styles.html | 17 +- .../paper-material/paper-material.html | 74 +- .../paper-menu-button-animations.html | 109 +- .../paper-menu-button/paper-menu-button.html | 418 +- .../paper-radio-button.html | 124 +- .../paper-radio-group/paper-radio-group.html | 177 +- .../paper-ripple/paper-ripple.html | 700 +- docs/bower_components/paper-styles/color.html | 13 +- .../paper-styles/default-theme.html | 16 +- .../bower_components/paper-styles/shadow.html | 15 +- .../paper-styles/typography.html | 14 +- .../polymer/polymer-micro.html | 822 +- .../polymer/polymer-mini.html | 2167 +- docs/bower_components/polymer/polymer.html | 5470 +++- .../polymerfire/firebase-app.html | 127 +- .../polymerfire/firebase-auth.html | 301 +- .../polymerfire/firebase-common-behavior.html | 68 +- .../firebase-database-behavior.html | 115 +- .../polymerfire/firebase-document.html | 203 +- .../polymerfire/firebase-query.html | 411 +- .../promise-polyfill/Promise-Statics.js | 50 +- .../promise-polyfill/Promise.js | 138 +- .../promise-polyfill-lite.html | 17 +- .../promise-polyfill/promise-polyfill.html | 12 +- .../web-animations-next-lite.min.js | 18 +- .../webcomponentsjs/CustomElements.js | 2 +- .../webcomponentsjs/CustomElements.min.js | 2 +- .../webcomponentsjs/HTMLImports.js | 2 +- .../webcomponentsjs/HTMLImports.min.js | 2 +- .../webcomponentsjs/MutationObserver.js | 2 +- .../webcomponentsjs/MutationObserver.min.js | 2 +- .../webcomponentsjs/ShadowDOM.js | 2 +- .../webcomponentsjs/ShadowDOM.min.js | 2 +- .../webcomponentsjs/webcomponents-lite.js | 2 +- .../webcomponentsjs/webcomponents-lite.min.js | 2 +- .../webcomponentsjs/webcomponents.js | 2 +- .../webcomponentsjs/webcomponents.min.js | 2 +- docs/components/area-img.html | 90 +- docs/components/category-chart.html | 87 +- docs/components/chart-js.html | 3 +- .../components/checkin-page/checkin-page.html | 562 +- docs/components/checkin-page/checkin-page.js | 163 +- docs/components/dayof-page/dayof-page.html | 459 +- .../firebase-config/firebase-config.html | 77 +- docs/components/index-page/index-page.html | 303 +- docs/components/lodash.html | 3 +- docs/components/lunr-js.html | 3 +- docs/components/main-app/main-app.html | 25519 +++++++++++++++- docs/components/main-app/main-app.js | 78 +- docs/components/minimizable-box.html | 27 +- docs/components/moment-js.html | 3 +- docs/components/moment-timezone-js.html | 3 +- .../nwhacks-footer/nwhacks-footer.html | 50 +- .../nwhacks-header/nwhacks-header.html | 38 +- docs/components/radio-group.html | 75 +- .../register-closed/register-closed.html | 18 +- .../register-form/register-form.html | 641 +- .../components/register-form/register-form.js | 139 +- docs/components/rsvp-page/rsvp-page.html | 646 +- .../components/schedule-box/schedule-box.html | 132 +- .../select-hackers/select-hackers.html | 3228 +- .../select-hackers/select-hackers.js | 434 +- .../components/sponsor-page/sponsor-page.html | 57 +- docs/components/stats-page/stats-page.html | 468 +- docs/components/stats-page/stats-page.js | 297 +- docs/index.html | 36 +- polymer.json | 7 +- 151 files changed, 63035 insertions(+), 163 deletions(-) diff --git a/bower.json b/bower.json index 8e54277..66890ad 100644 --- a/bower.json +++ b/bower.json @@ -29,7 +29,7 @@ "paper-menu": "PolymerElements/paper-menu", "paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel", "paper-toolbar": "PolymerElements/paper-toolbar", - "polymer": "Polymer/polymer", + "polymer": "^1.8.1", "paper-icon-button": "PolymerElements/paper-icon-button", "file-upload": "winhowes/file-upload", "jquery": "", diff --git a/components/index-page/index-page.html b/components/index-page/index-page.html index a827c26..1b04eda 100644 --- a/components/index-page/index-page.html +++ b/components/index-page/index-page.html @@ -37,7 +37,7 @@ .mountains { margin: 0 -15px; } - .mountains object { + .mountains img { width: 100%; margin-bottom: calc(100% / -5); } @@ -115,7 +115,7 @@

WHAT HAPPENS IF I DON'T HAVE A TEAM?

- +
diff --git a/components/schedule-box/schedule-box.html b/components/schedule-box/schedule-box.html index 224115c..8e6b248 100644 --- a/components/schedule-box/schedule-box.html +++ b/components/schedule-box/schedule-box.html @@ -123,8 +123,7 @@

SCHEDULE

Google Calendar
- @@ -143,6 +142,9 @@

SCHEDULE

value: function() { return {}; }, }, }, + attached: function() { + this.$.ajax.generateRequest(); + }, map: function(location) { return "https://campus.fn.lc/#"+(location || '').replace(/ /g, '+'); }, diff --git a/docs/404.html b/docs/404.html index 21ea867..89ee84c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1,35 @@ -nwHacks 2017 \ No newline at end of file + + + + + + + + + + nwHacks 2017 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower.json b/docs/bower.json index 8e54277..66890ad 100644 --- a/docs/bower.json +++ b/docs/bower.json @@ -29,7 +29,7 @@ "paper-menu": "PolymerElements/paper-menu", "paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel", "paper-toolbar": "PolymerElements/paper-toolbar", - "polymer": "Polymer/polymer", + "polymer": "^1.8.1", "paper-icon-button": "PolymerElements/paper-icon-button", "file-upload": "winhowes/file-upload", "jquery": "", diff --git a/docs/bower_components/app-storage/app-network-status-behavior.html b/docs/bower_components/app-storage/app-network-status-behavior.html index 2e821f8..d926faa 100644 --- a/docs/bower_components/app-storage/app-network-status-behavior.html +++ b/docs/bower_components/app-storage/app-network-status-behavior.html @@ -1 +1,72 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/docs/bower_components/app-storage/app-storage-behavior.html b/docs/bower_components/app-storage/app-storage-behavior.html index 4768c02..1e71610 100644 --- a/docs/bower_components/app-storage/app-storage-behavior.html +++ b/docs/bower_components/app-storage/app-storage-behavior.html @@ -1 +1,480 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/comma-separated-values/csv.min.js b/docs/bower_components/comma-separated-values/csv.min.js index 7658eb1..e10eb33 100644 --- a/docs/bower_components/comma-separated-values/csv.min.js +++ b/docs/bower_components/comma-separated-values/csv.min.js @@ -1 +1 @@ -!function(k,q){"function"==typeof define&&define.amd?define([],q):"object"==typeof module&&module.exports?module.exports=q():k.CSV=q()}(this,function(){"use strict";function k(Q){var R=typeof Q;return"function"==R||"object"==R&&!!Q}function q(Q){return"string"==typeof Q}function x(Q){return!isNaN(+Q)}function z(Q){return 0==Q||1==Q}function B(Q){return null==Q}function C(Q){return null!=Q}function E(Q,R){return C(Q)?Q:R}function F(Q,R){for(var S=0,T=Q.length;T>S&&!1!==R(Q[S],S);S+=1);}function G(Q){return Q.replace(/"/g,"\\\"")}function H(Q){return"attrs["+Q+"]"}function I(Q,R){return x(Q)?"Number("+H(R)+")":z(Q)?"Boolean("+H(R)+" == true)":"String("+H(R)+")"}function J(Q,R,S,T){var U=[];return 3==arguments.length?(R?O(R)?F(S,function(V,W){q(R[W])?R[W]=R[W].toLowerCase():Q[R[W]]=R[W],U.push("deserialize[cast["+W+"]]("+H(W)+")")}):F(S,function(V,W){U.push(I(V,W))}):F(S,function(V,W){U.push(H(W))}),U="return ["+U.join(",")+"]"):(R?O(R)?F(S,function(V,W){q(R[W])?R[W]=R[W].toLowerCase():Q[R[W]]=R[W],U.push("\""+G(T[W])+"\": deserialize[cast["+W+"]]("+H(W)+")")}):F(S,function(V,W){U.push("\""+G(T[W])+"\": "+I(V,W))}):F(S,function(V,W){U.push("\""+G(T[W])+"\": "+H(W))}),U="return {"+U.join(",")+"}"),Function("attrs","deserialize","cast",U)}function K(Q,R){var S,T=0;return F(R,function(U){var V,W=U;-1!=L.indexOf(U)&&(W="\\"+W),V=Q.match(RegExp(W,"g")),V&&V.length>T&&(T=V.length,S=U)}),S||R[0]}var L=["|","^"],M=[",",";"," ","|","^"],N=["\r\n","\r","\n"],O=Array.isArray||function(Q){return"[object Array]"===toString.call(Q)},P=function(){function Q(U,V){if(V||(V={}),O(U))this.mode="encode";else{if(!q(U))throw Error("Incompatible format!");this.mode="parse"}this.data=U,this.options={header:E(V.header,!1),cast:E(V.cast,!0)};var W=V.lineDelimiter||V.line,X=V.cellDelimiter||V.delimiter;this.isParser()?(this.options.lineDelimiter=W||K(this.data,N),this.options.cellDelimiter=X||K(this.data,M),this.data=S(this.data,this.options.lineDelimiter)):this.isEncoder()&&(this.options.lineDelimiter=W||"\r\n",this.options.cellDelimiter=X||",")}function R(U,V,W,X,Y){U(new V(W,X,Y))}function S(U,V){return U.slice(-V.length)!=V&&(U+=V),U}function T(U){return O(U)?"array":k(U)?"object":q(U)?"string":B(U)?"null":"primitive"}return Q.prototype.set=function(U,V){return this.options[U]=V},Q.prototype.isParser=function(){return"parse"==this.mode},Q.prototype.isEncoder=function(){return"encode"==this.mode},Q.prototype.parse=function(U){function V(){_={escaped:!1,quote:!1,cell:!0}}function W(){fa.cell=""}function X(){fa.line=[]}function Y(na){fa.line.push(_.escaped?na.slice(1,-1).replace(/""/g,"\""):na),W(),V()}function Z(na){Y(na.slice(0,1-da.lineDelimiter.length))}function $(){ea?O(ea)?(aa=J(ga,da.cast,fa.line,ea),($=function(){R(U,aa,fa.line,ga,da.cast)})()):ea=fa.line:(aa||(aa=J(ga,da.cast,fa.line)),($=function(){R(U,aa,fa.line,ga,da.cast)})())}if("parse"==this.mode){if(0===this.data.trim().length)return[];var _,aa,ba,ca=this.data,da=this.options,ea=da.header,fa={cell:"",line:[]},ga=this.deserialize;U||(ba=[],U=function(na){ba.push(na)}),1==da.lineDelimiter.length&&(Z=Y);var ha,ia,ja,ka=ca.length,la=da.cellDelimiter.charCodeAt(0),ma=da.lineDelimiter.charCodeAt(da.lineDelimiter.length-1);for(V(),ha=0,ia=0;ka>ha;ha++)ja=ca.charCodeAt(ha),_.cell&&(_.cell=!1,34==ja)?_.escaped=!0:_.escaped&&34==ja?_.quote=!_.quote:(_.escaped&&_.quote||!_.escaped)&&(ja==la?(Y(fa.cell+ca.slice(ia,ha)),ia=ha+1):ja==ma&&(Z(fa.cell+ca.slice(ia,ha)),ia=ha+1,(1n&&e(t[n],n)!==!1;n+=1);}function s(t){return t.replace(/"/g,'\\"')}function a(t){return"attrs["+t+"]"}function l(t,e){return n(t)?"Number("+a(e)+")":i(t)?"Boolean("+a(e)+" == true)":"String("+a(e)+")"}function f(t,n,i,r){var o=[];return 3==arguments.length?(n?g(n)?u(i,function(i,r){e(n[r])?n[r]=n[r].toLowerCase():t[n[r]]=n[r],o.push("deserialize[cast["+r+"]]("+a(r)+")")}):u(i,function(t,e){o.push(l(t,e))}):u(i,function(t,e){o.push(a(e))}),o="return ["+o.join(",")+"]"):(n?g(n)?u(i,function(i,c){e(n[c])?n[c]=n[c].toLowerCase():t[n[c]]=n[c],o.push('"'+s(r[c])+'": deserialize[cast['+c+"]]("+a(c)+")")}):u(i,function(t,e){o.push('"'+s(r[e])+'": '+l(t,e))}):u(i,function(t,e){o.push('"'+s(r[e])+'": '+a(e))}),o="return {"+o.join(",")+"}"),Function("attrs","deserialize","cast",o)}function h(t,e){var n,i=0;return u(e,function(e){var r,o=e;-1!=p.indexOf(e)&&(o="\\"+o),r=t.match(RegExp(o,"g")),r&&r.length>i&&(i=r.length,n=e)}),n||e[0]}var p=["|","^"],d=[",",";"," ","|","^"],m=["\r\n","\r","\n"],g=Array.isArray||function(t){return"[object Array]"===toString.call(t)},y=function(){function n(t,n){if(n||(n={}),g(t))this.mode="encode";else{if(!e(t))throw Error("Incompatible format!");this.mode="parse"}this.data=t,this.options={header:c(n.header,!1),cast:c(n.cast,!0)};var i=n.lineDelimiter||n.line,r=n.cellDelimiter||n.delimiter;this.isParser()?(this.options.lineDelimiter=i||h(this.data,m),this.options.cellDelimiter=r||h(this.data,d),this.data=o(this.data,this.options.lineDelimiter)):this.isEncoder()&&(this.options.lineDelimiter=i||"\r\n",this.options.cellDelimiter=r||",")}function i(t,e,n,i,r){t(new e(n,i,r))}function o(t,e){return t.slice(-e.length)!=e&&(t+=e),t}function s(n){return g(n)?"array":t(n)?"object":e(n)?"string":r(n)?"null":"primitive"}return n.prototype.set=function(t,e){return this.options[t]=e},n.prototype.isParser=function(){return"parse"==this.mode},n.prototype.isEncoder=function(){return"encode"==this.mode},n.prototype.parse=function(t){function e(){s={escaped:!1,quote:!1,cell:!0}}function n(){m.cell=""}function r(){m.line=[]}function o(t){m.line.push(s.escaped?t.slice(1,-1).replace(/""/g,'"'):t),n(),e()}function c(t){o(t.slice(0,1-p.lineDelimiter.length))}function u(){d?g(d)?(a=f(y,p.cast,m.line,d),(u=function(){i(t,a,m.line,y,p.cast)})()):d=m.line:(a||(a=f(y,p.cast,m.line)),(u=function(){i(t,a,m.line,y,p.cast)})())}if("parse"==this.mode){if(0===this.data.trim().length)return[];var s,a,l,h=this.data,p=this.options,d=p.header,m={cell:"",line:[]},y=this.deserialize;t||(l=[],t=function(t){l.push(t)}),1==p.lineDelimiter.length&&(c=o);var v,A,D,b=h.length,j=p.cellDelimiter.charCodeAt(0),w=p.lineDelimiter.charCodeAt(p.lineDelimiter.length-1);for(e(),v=0,A=0;b>v;v++)D=h.charCodeAt(v),s.cell&&(s.cell=!1,34==D)?s.escaped=!0:s.escaped&&34==D?s.quote=!s.quote:(s.escaped&&s.quote||!s.escaped)&&(D==j?(o(m.cell+h.slice(A,v)),A=v+1):D==w&&(c(m.cell+h.slice(A,v)),A=v+1,(m.line.length>1||""!==m.line[0])&&u(),r()));return l?l:this}},n.prototype.deserialize={string:function(t){return t+""},number:function(t){return+t},"boolean":function(t){return!!t}},n.prototype.serialize={object:function(t){var e=this,n=Object.keys(t),i=Array(n.length);return u(n,function(n,r){i[r]=e[s(t[n])](t[n])}),i},array:function(t){var e=this,n=Array(t.length);return u(t,function(t,i){n[i]=e[s(t)](t)}),n},string:function(t){return'"'+(t+"").replace(/"/g,'""')+'"'},"null":function(){return""},primitive:function(t){return t}},n.prototype.encode=function(t){function n(t){return t.join(c.cellDelimiter)}if("encode"==this.mode){if(0==this.data.length)return"";var i,r,o=this.data,c=this.options,a=c.header,l=o[0],f=this.serialize,h=0;t||(r=Array(o.length),t=function(t,e){r[e+h]=t}),a&&(g(a)||(i=Object.keys(l),a=i),t(n(f.array(a)),0),h=1);var p,d=s(l);return"array"==d?(g(c.cast)?(p=Array(c.cast.length),u(c.cast,function(t,n){e(t)?p[n]=t.toLowerCase():(p[n]=t,f[t]=t)})):(p=Array(l.length),u(l,function(t,e){p[e]=s(t)})),u(o,function(e,i){var r=Array(p.length);u(e,function(t,e){r[e]=f[p[e]](t)}),t(n(r),i)})):"object"==d&&(i=Object.keys(l),g(c.cast)?(p=Array(c.cast.length),u(c.cast,function(t,n){e(t)?p[n]=t.toLowerCase():(p[n]=t,f[t]=t)})):(p=Array(i.length),u(i,function(t,e){p[e]=s(l[t])})),u(o,function(e,r){var o=Array(i.length);u(i,function(t,n){o[n]=f[p[n]](e[t])}),t(n(o),r)})),r?r.join(c.lineDelimiter):this}},n.prototype.forEach=function(t){return this[this.mode](t)},n}();return y.parse=function(t,e){return new y(t,e).parse()},y.encode=function(t,e){return new y(t,e).encode()},y.forEach=function(t,e,n){return 2==arguments.length&&(n=e),new y(t,e).forEach(n)},y}); \ No newline at end of file diff --git a/docs/bower_components/firebase/firebase-app.js b/docs/bower_components/firebase/firebase-app.js index 60d56c0..3e7e45b 100644 --- a/docs/bower_components/firebase/firebase-app.js +++ b/docs/bower_components/firebase/firebase-app.js @@ -1 +1,35 @@ -var firebase=null;(function(){function s(ac,bc){if(!(bc instanceof Object))return bc;switch(bc.constructor){case Date:return new Date(bc.getTime());case Object:void 0===ac&&(ac={});break;case Array:ac=[];break;default:return bc;}for(var cc in bc)bc.hasOwnProperty(cc)&&(ac[cc]=s(ac[cc],bc[cc]));return ac}function $(ac,bc){return ac=new Tb(ac,bc),ac.subscribe.bind(ac)}function _(ac){if("object"!=typeof ac||null===ac)return!1;var bc;bc=["next","error","complete"],Ta();var cc=bc[Symbol.iterator];for(bc=cc?cc.call(bc):Ua(bc),cc=bc.next();!cc.done;cc=bc.next())if(cc=cc.value,cc in ac&&"function"==typeof ac[cc])return!0;return!1}function Ka(){}function La(){function ac(hc){hc=hc||"[DEFAULT]";var ic=dc[hc];return void 0===ic&&Ma("noApp",{name:hc}),ic}function bc(hc,ic){Object.keys(ec).forEach(function(jc){jc=cc(hc,jc),null!==jc&&fc[jc]&&fc[jc](ic,hc)})}function cc(hc,ic){if("serverAuth"===ic)return null;var jc=ic;return hc=hc.options,"auth"===ic&&(hc.serviceAccount||hc.credential)&&(jc="serverAuth","serverAuth"in ec||Ma("serverAuthMissing")),jc}var dc={},ec={},fc={},gc={__esModule:!0,initializeApp:function(hc,ic){return void 0===ic?ic="[DEFAULT]":"string"==typeof ic&&""!==ic||Ma("bad-app-name",{name:ic+""}),void 0!==dc[ic]&&Ma("dupApp",{name:ic}),hc=new $b(hc,ic,gc),dc[ic]=hc,bc(hc,"create"),void 0!=hc.INTERNAL&&void 0!=hc.INTERNAL.getToken||s(hc,{INTERNAL:{getToken:function(){return Zb.resolve(null)},addAuthTokenListener:function(){},removeAuthTokenListener:function(){}}}),hc},app:ac,apps:null,Promise:Zb,SDK_VERSION:"0.0.0",INTERNAL:{registerService:function(hc,ic,jc,kc){return ec[hc]&&Ma("dupService",{name:hc}),ec[hc]=ic,kc&&(fc[hc]=kc),ic=function(lc){return void 0===lc&&(lc=ac()),lc[hc]()},void 0!==jc&&s(ic,jc),gc[hc]=ic},createFirebaseNamespace:La,extendNamespace:function(hc){s(gc,hc)},createSubscribe:$,ErrorFactory:Yb,removeApp:function(hc){bc(dc[hc],"delete"),delete dc[hc]},factories:ec,useAsService:cc,Promise:Cb,deepExtend:s}};return gc["default"]=gc,Object.defineProperty(gc,"apps",{get:function(){return Object.keys(dc).map(function(hc){return dc[hc]})}}),ac.App=$b,gc}function Ma(ac,bc){throw Error(Na(ac,bc))}function Na(ac,bc){return bc=bc||{},bc={noApp:"No Firebase App '"+bc.name+"' has been created - call Firebase App.initializeApp().","bad-app-name":"Illegal App name: '"+bc.name+"'.",dupApp:"Firebase App named '"+bc.name+"' already exists.",deleted:"Firebase App named '"+bc.name+"' already deleted.",dupService:"Firebase Service named '"+bc.name+"' already registered.",serverAuthMissing:"Initializing the Firebase SDK with a service account is only allowed in a Node.js environment. On client devices, you should instead initialize the SDK with an api key and auth domain."}[ac],void 0===bc?"Application Error: ("+ac+")":bc}var Oa="function"==typeof Object.defineProperties?Object.defineProperty:function(ac,bc,cc){if(cc.get||cc.set)throw new TypeError("ES3 does not support getters and setters.");ac!=Array.prototype&&ac!=Object.prototype&&(ac[bc]=cc.value)},Pa="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,Qa=function(){Qa=function(){},Pa.Symbol||(Pa.Symbol=Sa)},Ra=0,Sa=function(ac){return"jscomp_symbol_"+(ac||"")+Ra++},Ta=function(){Qa();var ac=Pa.Symbol.iterator;ac||(ac=Pa.Symbol.iterator=Pa.Symbol("iterator")),"function"!=typeof Array.prototype[ac]&&Oa(Array.prototype,ac,{configurable:!0,writable:!0,value:function(){return Ua(this)}}),Ta=function(){}},Ua=function(ac){var bc=0;return Va(function(){return bcec?bc:null===dc?dc=Object.getOwnPropertyDescriptor(bc,cc):dc;if(gc=db.Reflect,"object"==typeof gc&&"function"==typeof gc.decorate)fc=gc.decorate(ac,bc,cc,dc);else for(var hc=ac.length-1;0<=hc;hc--)(gc=ac[hc])&&(fc=(3>ec?gc(fc):3":ec.toString()}),cc=this.W+": "+cc+" ("+ac+").",cc=new Xb(ac,cc);for(dc in bc)bc.hasOwnProperty(dc)&&"_"!==dc.slice(-1)&&(cc[dc]=bc[dc]);return cc};var Zb=Rb,$b=function(ac,bc,cc){var dc=this;this.I=cc,this.J=!1,this.i={},this.C=bc,this.F=s(void 0,ac),ac="serviceAccount"in this.F,("credential"in this.F||ac)&&"undefined"!=typeof console&&console.log("The '"+(ac?"serviceAccount":"credential")+"' property specified in the first argument to initializeApp() is deprecated and will be removed in the next major version. You should instead use the 'firebase-admin' package. See https://firebase.google.com/docs/admin/setup for details on how to get started."),Object.keys(cc.INTERNAL.factories).forEach(function(ec){var fc=cc.INTERNAL.useAsService(dc,ec);null!==fc&&(fc=dc.S.bind(dc,fc),dc[ec]=fc)})};$b.prototype.delete=function(){var ac=this;return new Zb(function(bc){_b(ac),bc()}).then(function(){return ac.I.INTERNAL.removeApp(ac.C),Zb.all(Object.keys(ac.i).map(function(bc){return ac.i[bc].INTERNAL.delete()}))}).then(function(){ac.J=!0,ac.i={}})},$b.prototype.S=function(ac){return _b(this),void 0===this.i[ac]&&(this.i[ac]=this.I.INTERNAL.factories[ac](this,this.R.bind(this))),this.i[ac]},$b.prototype.R=function(ac){s(this,ac)};var _b=function(ac){ac.J&&Ma(Na("deleted",{name:ac.C}))};Pa.Object.defineProperties($b.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return _b(this),this.C}},options:{configurable:!0,enumerable:!0,get:function(){return _b(this),this.F}}}),$b.prototype.name&&$b.prototype.options||$b.prototype.delete||console.log("dc");"undefined"!=typeof firebase&&(firebase=La())})(),firebase.SDK_VERSION="3.6.2"; \ No newline at end of file +/*! @license Firebase v3.7.2 + Build: 3.7.2-rc.1 + Terms: https://firebase.google.com/terms/ */ +var firebase = null; (function() { var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},k="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,l=function(){l=function(){};k.Symbol||(k.Symbol=ba)},ca=0,ba=function(a){return"jscomp_symbol_"+(a||"")+ca++},p=function(){l();var a=k.Symbol.iterator;a||(a=k.Symbol.iterator= +k.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return m(this)}});p=function(){}},m=function(a){var b=0;return da(function(){return bb.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var e= +0;for(d=Object.getOwnPropertySymbols(a);eb.indexOf(d[e])&&(c[d[e]]=a[d[e]])}return c},__decorate=function(a,b,c,d){var e=arguments.length,h=3>e?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d,g;g=A.Reflect;if("object"===typeof g&&"function"===typeof g.decorate)h=g.decorate(a,b,c,d);else for(var f=a.length-1;0<=f;f--)if(g=a[f])h=(3>e?g(h):3f[0]&&c[1]"}),c=this.aa+": "+c+" ("+a+").",c=new V(a,c),d;for(d in b)b.hasOwnProperty(d)&&"_"!==d.slice(-1)&&(c[d]=b[d]);return c};var W=Q,X=function(a,b,c){var d=this;this.M=c;this.N=!1;this.c={};this.D=b;this.H=P(void 0,a);a="serviceAccount"in this.H;("credential"in this.H||a)&&"undefined"!==typeof console&&console.log("The '"+(a?"serviceAccount":"credential")+"' property specified in the first argument to initializeApp() is deprecated and will be removed in the next major version. You should instead use the 'firebase-admin' package. See https://firebase.google.com/docs/admin/setup for details on how to get started.");Object.keys(c.INTERNAL.factories).forEach(function(a){var b= +c.INTERNAL.useAsService(d,a);null!==b&&(b=d.X.bind(d,b),d[a]=b)})};X.prototype.delete=function(){var a=this;return(new W(function(b){Y(a);b()})).then(function(){a.M.INTERNAL.removeApp(a.D);var b=[];Object.keys(a.c).forEach(function(c){Object.keys(a.c[c]).forEach(function(d){b.push(a.c[c][d])})});return W.all(b.map(function(a){return a.INTERNAL.delete()}))}).then(function(){a.N=!0;a.c={}})}; +X.prototype.X=function(a,b){Y(this);"undefined"===typeof this.c[a]&&(this.c[a]={});var c=b||"[DEFAULT]";return"undefined"===typeof this.c[a][c]?(b=this.M.INTERNAL.factories[a](this,this.W.bind(this),b),this.c[a][c]=b):this.c[a][c]};X.prototype.W=function(a){P(this,a)};var Y=function(a){a.N&&Z("app-deleted",{name:a.D})};k.Object.defineProperties(X.prototype,{name:{configurable:!0,enumerable:!0,get:function(){Y(this);return this.D}},options:{configurable:!0,enumerable:!0,get:function(){Y(this);return this.H}}}); +X.prototype.name&&X.prototype.options||X.prototype.delete||console.log("dc"); +function Ia(){function a(a){a=a||"[DEFAULT]";var b=d[a];void 0===b&&Z("no-app",{name:a});return b}function b(a,b){Object.keys(e).forEach(function(d){d=c(a,d);if(null!==d&&h[d])h[d](b,a)})}function c(a,b){if("serverAuth"===b)return null;var c=b;a=a.options;"auth"===b&&(a.serviceAccount||a.credential)&&(c="serverAuth","serverAuth"in e||Z("sa-not-supported"));return c}var d={},e={},h={},g={__esModule:!0,initializeApp:function(a,c){void 0===c?c="[DEFAULT]":"string"===typeof c&&""!==c||Z("bad-app-name", +{name:c+""});void 0!==d[c]&&Z("duplicate-app",{name:c});a=new X(a,c,g);d[c]=a;b(a,"create");void 0!=a.INTERNAL&&void 0!=a.INTERNAL.getToken||P(a,{INTERNAL:{getUid:function(){return null},getToken:function(){return W.resolve(null)},addAuthTokenListener:function(){},removeAuthTokenListener:function(){}}});return a},app:a,apps:null,Promise:W,SDK_VERSION:"0.0.0",INTERNAL:{registerService:function(b,c,d,n,Ja){e[b]&&Z("duplicate-service",{name:b});e[b]=Ja?c:function(a,b){return c(a,b,"[DEFAULT]")};n&&(h[b]= +n);n=function(c){void 0===c&&(c=a());return c[b]()};void 0!==d&&P(n,d);return g[b]=n},createFirebaseNamespace:Ia,extendNamespace:function(a){P(g,a)},createSubscribe:Ea,ErrorFactory:U,removeApp:function(a){b(d[a],"delete");delete d[a]},factories:e,useAsService:c,Promise:O,deepExtend:P}};g["default"]=g;Object.defineProperty(g,"apps",{get:function(){return Object.keys(d).map(function(a){return d[a]})}});a.App=X;return g}function Z(a,b){throw Ka.create(a,b);} +var Ka=new U("app","Firebase",{"no-app":"No Firebase App '{$name}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$name}","duplicate-app":"Firebase App named '{$name}' already exists","app-deleted":"Firebase App named '{$name}' already deleted","duplicate-service":"Firebase service named '{$name}' already registered","sa-not-supported":"Initializing the Firebase SDK with a service account is only allowed in a Node.js environment. On client devices, you should instead initialize the SDK with an api key and auth domain"});"undefined"!==typeof firebase&&(firebase=Ia()); }).call(this); +firebase.SDK_VERSION = "3.7.2"; diff --git a/docs/bower_components/firebase/firebase-auth.js b/docs/bower_components/firebase/firebase-auth.js index 15f0bb4..88d8e41 100644 --- a/docs/bower_components/firebase/firebase-auth.js +++ b/docs/bower_components/firebase/firebase-auth.js @@ -1 +1,241 @@ -(function(){var h,aa=aa||{},l=this,ba=function(){},m=function(o){var i=typeof o;if("object"==i){if(o){if(o instanceof Array)return"array";if(o instanceof Object)return i;var s=Object.prototype.toString.call(o);if("[object Window]"==s)return"object";if("[object Array]"==s||"number"==typeof o.length&&"undefined"!=typeof o.splice&&"undefined"!=typeof o.propertyIsEnumerable&&!o.propertyIsEnumerable("splice"))return"array";if("[object Function]"==s||"undefined"!=typeof o.call&&"undefined"!=typeof o.propertyIsEnumerable&&!o.propertyIsEnumerable("call"))return"function"}else return"null";}else if("function"==i&&"undefined"==typeof o.call)return"object";return i},ca=function(o){return null===o},da=function(o){return"array"==m(o)},ea=function(o){var i=m(o);return"array"==i||"object"==i&&"number"==typeof o.length},n=function(o){return"string"==typeof o},fa=function(o){return"number"==typeof o},p=function(o){return"function"==m(o)},ga=function(o){var i=typeof o;return"object"==i&&null!=o||"function"==i},ha=function(o){return o.call.apply(o.bind,arguments)},ia=function(o,i){if(!o)throw Error();if(2/g,ra=/"/g,sa=/'/g,ta=/\x00/g,ua=/[\x00&<>"']/,v=function(o,i){return-1!=o.indexOf(i)},va=function(o,i){return oi?1:0},wa=function(o,i){i.unshift(o),u.call(this,la.apply(null,i)),i.shift()};r(wa,u),wa.prototype.name="AssertionError";var xa=function(o,i,s,_){var j="Assertion failed";if(s)var j=j+(": "+s),$=_;else o&&(j+=": "+o,$=i);throw new wa(""+j,$||[])},w=function(o,i){o||xa("",null,i,Array.prototype.slice.call(arguments,2))},ya=function(o){throw new wa("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1))},za=function(o,i){return fa(o)||xa("Expected number but got %s: %s.",[m(o),o],i,Array.prototype.slice.call(arguments,2)),o},Aa=function(o,i){n(o)||xa("Expected string but got %s: %s.",[m(o),o],i,Array.prototype.slice.call(arguments,2))},Ba=function(o,i){p(o)||xa("Expected function but got %s: %s.",[m(o),o],i,Array.prototype.slice.call(arguments,2))},Ca=Array.prototype.indexOf?function(o,i,s){return w(null!=o.length),Array.prototype.indexOf.call(o,i,s)}:function(o,i,s){if(s=null==s?0:0>s?Math.max(0,o.length+s):s,n(o))return n(i)&&1==i.length?o.indexOf(i,s):-1;for(;si?null:n(o)?o.charAt(i):o[i]},Ia=function(o,i){return 0<=Ca(o,i)},Ka=function(o,i){i=Ca(o,i);var s;return(s=0<=i)&&Ja(o,i),s},Ja=function(o,i){return w(null!=o.length),1==Array.prototype.splice.call(o,i,1).length},La=function(o,i){var s=0;Da(o,function(_,j){i.call(void 0,_,j,o)&&Ja(o,j)&&s++})},Ma=function(){return Array.prototype.concat.apply(Array.prototype,arguments)},Na=function(o){var i=o.length;if(0parseFloat(ib)){hb=kb+"";break a}}hb=ib}var mb,lb=hb,$a={},A=function(o){return ab(o,function(){for(var i=0,s=ma(lb+"").split("."),_=ma(o+"").split("."),j=Math.max(s.length,_.length),$=0;0==i&&$>4),64!=_e&&(i(240&$<<4|_e>>2),64!=et&&i(192&_e<<6|et))}},sb=function(){if(!ob){ob={},pb={};for(var o=0;65>o;o++)ob[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o),pb[ob[o]]=o,62<=o&&(pb["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(o)]=o)}},tb=!z||9<=+mb,ub=z&&!A("9");fb&&A("528"),eb&&A("1.9b")||z&&A("8")||bb&&A("9.5")||fb&&A("528"),eb&&!A("8")||z&&A("9");var vb=function(){this.za=this.za,this.Tb=this.Tb};vb.prototype.za=!1,vb.prototype.isDisposed=function(){return this.za},vb.prototype.Oa=function(){if(this.Tb)for(;this.Tb.length;)this.Tb.shift()()};var wb=function(o,i){this.type=o,this.currentTarget=this.target=i,this.defaultPrevented=this.Wa=!1,this.ud=!0};wb.prototype.preventDefault=function(){this.defaultPrevented=!0,this.ud=!1};var xb=function(o,i){wb.call(this,o?o.type:""),this.relatedTarget=this.currentTarget=this.target=null,this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.mb=this.state=null,o&&this.init(o,i)};r(xb,wb),xb.prototype.init=function(o,i){var s=this.type=o.type,_=o.changedTouches?o.changedTouches[0]:null;if(this.target=o.target||o.srcElement,this.currentTarget=i,!(i=o.relatedTarget))"mouseover"==s?i=o.fromElement:"mouseout"==s&&(i=o.toElement);else if(eb){var j;a:{try{Za(i.nodeName),j=!0;break a}catch($){}j=!1}j||(i=null)}this.relatedTarget=i,null===_?(this.offsetX=fb||void 0!==o.offsetX?o.offsetX:o.layerX,this.offsetY=fb||void 0!==o.offsetY?o.offsetY:o.layerY,this.clientX=void 0===o.clientX?o.pageX:o.clientX,this.clientY=void 0===o.clientY?o.pageY:o.clientY,this.screenX=o.screenX||0,this.screenY=o.screenY||0):(this.clientX=void 0===_.clientX?_.pageX:_.clientX,this.clientY=void 0===_.clientY?_.pageY:_.clientY,this.screenX=_.screenX||0,this.screenY=_.screenY||0),this.button=o.button,this.keyCode=o.keyCode||0,this.charCode=o.charCode||("keypress"==s?o.keyCode:0),this.ctrlKey=o.ctrlKey,this.altKey=o.altKey,this.shiftKey=o.shiftKey,this.metaKey=o.metaKey,this.state=o.state,this.mb=o,o.defaultPrevented&&this.preventDefault()},xb.prototype.preventDefault=function(){xb.Tc.preventDefault.call(this);var o=this.mb;if(o.preventDefault)o.preventDefault();else if(o.returnValue=!1,ub)try{(o.ctrlKey||112<=o.keyCode&&123>=o.keyCode)&&(o.keyCode=-1)}catch(i){}},xb.prototype.fe=function(){return this.mb};var yb="closure_listenable_"+(0|1E6*Math.random()),zb=0,Ab=function(o,i,s,_,j){this.listener=o,this.$b=null,this.src=i,this.type=s,this.capture=!!_,this.Kb=j,this.key=++zb,this.$a=this.Db=!1},Bb=function(o){o.$a=!0,o.listener=null,o.$b=null,o.src=null,o.Kb=null},Cb=function(o){this.src=o,this.w={},this.Bb=0};Cb.prototype.add=function(o,i,s,_,j){var $=o.toString();o=this.w[$],o||(o=this.w[$]=[],this.Bb++);var _e=Db(o,i,_,j);return-1<_e?(i=o[_e],s||(i.Db=!1)):(i=new Ab(i,this.src,$,!!_,j),i.Db=s,o.push(i)),i},Cb.prototype.remove=function(o,i,s,_){if(o=o.toString(),!(o in this.w))return!1;var j=this.w[o];return i=Db(j,i,s,_),!!(-1_.keyCode||void 0!=_.returnValue)){a:{var j=!1;if(0==_.keyCode)try{_.keyCode=-1;break a}catch(_e){j=!0}(j||void 0==_.returnValue)&&(_.returnValue=!0)}for(_=[],j=i.currentTarget;j;j=j.parentNode)_.push(j);for(o=o.type,j=_.length-1;!i.Wa&&0<=j;j--){i.currentTarget=_[j];var $=Ub(_[j],o,!0,i),s=s&&$}for(j=0;!i.Wa&&j<_.length;j++)i.currentTarget=_[j],$=Ub(_[j],o,!1,i),s=s&&$}return s}return Tb(o,new xb(i,this))},Lb=function(o){return o=o[Fb],o instanceof Cb?o:null},Vb="__closure_events_fn_"+(1E9*Math.random()>>>0),Jb=function(o){return(w(o,"Listener can not be null."),p(o))?o:(w(o.handleEvent,"An object listener must have handleEvent method."),o[Vb]||(o[Vb]=function(i){return o.handleEvent(i)}),o[Vb])},Wb=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/,Yb=function(){this.ic="",this.Md=Xb};Yb.prototype.Ob=!0,Yb.prototype.Ib=function(){return this.ic},Yb.prototype.toString=function(){return"Const{"+this.ic+"}"};var Zb=function(o){return o instanceof Yb&&o.constructor===Yb&&o.Md===Xb?o.ic:(ya("expected object of type Const, got '"+o+"'"),"type_error:Const")},Xb={},$b=function(o){var i=new Yb;return i.ic=o,i};$b("");var B=function(){this.ka="",this.Ld=ac};B.prototype.Ob=!0,B.prototype.Ib=function(){return this.ka},B.prototype.toString=function(){return"SafeUrl{"+this.ka+"}"};var bc=function(o){return o instanceof B&&o.constructor===B&&o.Ld===ac?o.ka:(ya("expected object of type SafeUrl, got '"+o+"' of type "+m(o)),"type_error:SafeUrl")},cc=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,ec=function(o){return o instanceof B?o:(o=o.Ob?o.Ib():o+"",cc.test(o)||(o="about:invalid#zClosurez"),dc(o))},ac={},dc=function(o){var i=new B;return i.ka=o,i};dc("about:blank");var fc=function(o){return!/^\s*$/.test(o)&&/^[\],:{}\s\u2028\u2029]*$/.test(o.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},gc=function(a){if(a+="",fc(a))try{return eval("("+a+")")}catch(o){}throw Error("Invalid JSON string: "+a)},jc=function(o){var i=[];return hc(new ic,o,i),i.join("")},ic=function(){this.bc=void 0},hc=function(o,i,s){if(null==i)s.push("null");else{if("object"==typeof i){if(da(i)){var _=i;i=_.length,s.push("[");for(var j="",$=0;$=i.tc&&i.cancel())}this.od?this.od.call(this.bd,this):this.Rc=!0,this.Qa||jd(this,new kd)}},F.prototype.$c=function(o,i){this.sc=!1,ld(this,o,i)};var ld=function(o,i,s){o.Qa=!0,o.ma=s,o.ob=!i,md(o)},od=function(o){if(o.Qa){if(!o.Rc)throw new nd;o.Rc=!1}};F.prototype.callback=function(o){od(this),pd(o),ld(this,!0,o)};var jd=function(o,i){od(o),pd(i),ld(o,!1,i)},pd=function(o){w(!(o instanceof F),"An execution sequence may not be initiated with a blocking Deferred.")},td=function(o){var i=qd("https://apis.google.com/js/client.js?onload="+rd);sd(i,null,o,void 0)},sd=function(o,i,s,_){w(!o.Vc,"Blocking Deferreds can not be re-used"),o.dc.push([i,s,_]),o.Qa&&md(o)};F.prototype.then=function(o,i,s){var _,j,$=new C(function(_e,et){_=_e,j=et});return sd(this,_,function(_e){_e instanceof kd?$.cancel():j(_e)}),$.then(o,i,s)},Pc(F);var ud=function(o){return Fa(o.dc,function(i){return p(i[1])})},md=function(o){if(o.lc&&o.Qa&&ud(o)){var i=o.lc,s=vd[i];s&&(l.clearTimeout(s.pb),delete vd[i]),o.lc=0}o.m&&(o.m.tc--,delete o.m);for(var i=o.ma,_=s=!1;o.dc.length&&!o.sc;){var j=o.dc.shift(),$=j[0],_e=j[1],j=j[2];if($=o.ob?_e:$)try{var et=$.call(j||o.bd,i);void 0!==et&&(o.ob=o.ob&&(et==i||et instanceof Error),o.ma=i=et),(Qc(i)||"function"==typeof l.Promise&&i instanceof l.Promise)&&(_=!0,o.sc=!0)}catch(tt){i=tt,o.ob=!0,ud(o)||(s=!0)}}o.ma=i,_&&(et=q(o.$c,o,!0),_=q(o.$c,o,!1),i instanceof F?(sd(i,et,_),i.Vc=!0):i.then(et,_)),s&&(i=new wd(i),vd[i.pb]=i,o.lc=i.pb)},nd=function(){u.call(this)};r(nd,u),nd.prototype.message="Deferred has already fired",nd.prototype.name="AlreadyCalledError";var kd=function(){u.call(this)};r(kd,u),kd.prototype.message="Deferred was canceled",kd.prototype.name="CanceledError";var wd=function(o){this.pb=l.setTimeout(q(this.Qe,this),0),this.K=o};wd.prototype.Qe=function(){throw w(vd[this.pb],"Cannot throw an error that is not scheduled."),delete vd[this.pb],this.K};var vd={},qd=function(o){var i=new wc;return i.Wb=o,xd(i)},xd=function(o){var _,i={},s=i.document||document;o instanceof wc&&o.constructor===wc&&o.Nd===vc?_=o.Wb:(ya("expected object of type TrustedResourceUrl, got '"+o+"' of type "+m(o)),_="type_error:TrustedResourceUrl");var j=document.createElement("SCRIPT");o={vd:j,Ab:void 0};var $=new F(yd,o),_e=null,et=null==i.timeout?5E3:i.timeout;return 0++_,"infinite loop")}if(s=this.Qd,_=o.type||o,n(o))o=new wb(o,s);else if(o instanceof wb)o.target=o.target||s;else{var j=o;o=new wb(_,s),Va(o,j)}var $,j=!0;if(i)for(var _e=i.length-1;!o.Wa&&0<=_e;_e--)$=o.currentTarget=i[_e],j=Dd($,_,!0,o)&&j;if(o.Wa||($=o.currentTarget=s,j=Dd($,_,!0,o)&&j,o.Wa||(j=Dd($,_,!1,o)&&j)),i)for(_e=0;!o.Wa&&_e2*this.l&&Hd(this),!0)};var Hd=function(o){if(o.l!=o.s.length){for(var _,i=0,s=0;i=_.s.length)throw Ed;var $=_.s[i++];return o?$:_.aa[$]},j};var Id=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},Jd=function(o){if(o.V&&"function"==typeof o.V)return o.V();if(n(o))return o.split("");if(ea(o)){for(var i=[],s=o.length,_=0;_=Td(this).value)for(p(i)&&(i=i()),o=new Md(o,i+"",this.Be),s&&(o.dd=s),s="log:"+o.Ae,l.console&&(l.console.timeStamp?l.console.timeStamp(s):l.console.markTimeline&&l.console.markTimeline(s)),l.msWriteProfilerMark&&l.msWriteProfilerMark(s),s=this;s;){var _=s,j=o;if(_.hd)for(var $=0;i=_.hd[$];$++)i(j);s=s.getParent()}};var Ud={},Vd=null,Wd=function(o){Vd||(Vd=new Od(""),Ud[""]=Vd,Vd.yd(Rd));var i;if(!(i=Ud[o])){i=new Od(o);var s=o.lastIndexOf("."),_=o.substr(s+1),s=Wd(o.substr(0,s));s.uc||(s.uc={}),s.uc[_]=i,i.m=s,Ud[o]=i}return i},H=function(o,i){o&&o.log(Sd,i,void 0)},Xd=function(o,i,s){if(p(o))s&&(o=q(o,s));else if(o&&"function"==typeof o.handleEvent)o=q(o.handleEvent,o);else throw Error("Invalid listener argument");return 2147483647<+i?-1:l.setTimeout(o,i||0)},Yd=function(o){var i=null;return new C(function(s,_){i=Xd(function(){s(void 0)},o),-1==i&&_(Error("Failed to schedule timer."))}).g(function(s){throw l.clearTimeout(i),s})},Zd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,$d=function(o,i){if(o){o=o.split("&");for(var s=0;si)throw Error("Bad port number "+i);o.Va=i}else o.Va=null},se=function(o,i,s){J(o),o.ra=s?ue(i,!0):i},te=function(o,i,s){J(o),i instanceof K?(o.Y=i,o.Y.Qc(o.N)):(s||(i=ve(i,Ae)),o.Y=new K(i,0,o.N))},L=function(o,i,s){J(o),o.Y.set(i,s)},Be=function(o,i){J(o),o.Y.remove(i)},J=function(o){if(o.ue)throw Error("Tried to modify a read-only Uri")};oe.prototype.Qc=function(o){return this.N=o,this.Y&&this.Y.Qc(o),this};var Ce=function(o){return o instanceof oe?o.clone():new oe(o,void 0)},De=function(o,i){var s=new oe(null,void 0);return pe(s,"https"),o&&qe(s,o),i&&se(s,i),s},ue=function(o,i){return o?i?decodeURI(o.replace(/%25/g,"%2525")):decodeURIComponent(o):""},ve=function(o,i,s){return n(o)?(o=encodeURI(o).replace(i,Ee),s&&(o=o.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),o):null},Ee=function(o){return o=o.charCodeAt(0),"%"+(15&o>>4).toString(16)+(15&o).toString(16)},we=/[#\/\?@]/g,ye=/[\#\?:]/g,xe=/[\#\?]/g,Ae=/[\#\?@]/g,ze=/#/g,K=function(o,i,s){this.l=this.h=null,this.J=o||null,this.N=!!s},Fe=function(o){o.h||(o.h=new Gd,o.l=0,o.J&&$d(o.J,function(i,s){o.add(decodeURIComponent(i.replace(/\+/g," ")),s)}))},He=function(o){var i=Kd(o);if("undefined"==typeof i)throw Error("Keys are undefined");var s=new K(null,0,void 0);o=Jd(o);for(var _=0;_o?!1:!z||!mb||9")&&(_=_.replace(qa,">")),-1!=_.indexOf("\"")&&(_=_.replace(ra,""")),-1!=_.indexOf("'")&&(_=_.replace(sa,"'")),-1!=_.indexOf("\0")&&(_=_.replace(ta,"�"))),_="",Aa(Zb(o),"must provide justification"),w(!/^[\s\xa0]*$/.test(Zb(o)),"must provide non-empty justification"),_e.document.write(zc(new yc().se(_))),_e.document.close())):_e=o.open(bc(i),s,_e),_e)try{_e.focus()}catch(et){}return _e},Qe=function(o){return new C(function(i){var s=function(){Yd(2E3).then(function(){return!o||o.closed?void i():s()})};return s()})},Re=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Se=function(){var o=null;return new C(function(i){"complete"==l.document.readyState?i():(o=function(){i()},Pb(window,"load",o))}).g(function(i){throw Rb(window,"load",o),i})},N=function(){return firebase.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":l.hasOwnProperty("process")?"Node":"Browser"},Te=function(){var o=N();return"ReactNative"===o||"Node"===o},Le=function(o){var i=o.toLowerCase();if(v(i,"opera/")||v(i,"opr/")||v(i,"opios/"))return"Opera";if(v(i,"iemobile"))return"IEMobile";if(v(i,"msie")||v(i,"trident/"))return"IE";if(v(i,"edge/"))return"Edge";if(v(i,"firefox/"))return"Firefox";if(v(i,"silk/"))return"Silk";if(v(i,"blackberry"))return"Blackberry";if(v(i,"webos"))return"Webos";if(!(!v(i,"safari/")||v(i,"chrome/")||v(i,"crios/")||v(i,"android")))return"Safari";if(!v(i,"chrome/")&&!v(i,"crios/")||v(i,"edge/")){if(v(i,"android"))return"Android";if((o=o.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==o.length)return o[1]}else return"Chrome";return"Other"},Ue=function(o){var i=N();return("Browser"===i?Le(M()):i)+"/JsCore/"+o},M=function(){return l.navigator&&l.navigator.userAgent||""},Ve=function(o){o=o.split(".");for(var i=l,s=0;si)throw Error("Short delay should be less than long delay!");this.Ne=o,this.ze=i,o=s||M(),_=_||N(),this.te=Ne(o)||"ReactNative"===_};ef.prototype.get=function(){return this.te?this.ze:this.Ne};var ff;try{var gf={};Object.defineProperty(gf,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(gf,"abcd",{configurable:!0,enumerable:!0,value:2}),ff=2==gf.abcd}catch(o){ff=!1}var O=function(o,i,s){ff?Object.defineProperty(o,i,{configurable:!0,enumerable:!0,value:s}):o[i]=s},hf=function(o,i){if(i)for(var s in i)i.hasOwnProperty(s)&&O(o,s,i[s])},jf=function(o){var s,i={};for(s in o)o.hasOwnProperty(s)&&(i[s]=o[s]);return i},kf=function(o,i){if(!i||!i.length)return!0;if(!o)return!1;for(var _,s=0;s Auth section -> Sign in method tab.",o),P.call(this,i,s)};r(sf,P);var tf=function(o){this.ye=o.sub,ka(),this.Fb=o.email||null},uf=function(o,i,s,_){var j={};if(ga(s)?j=s:i&&n(s)&&n(_)?j={oauthToken:s,oauthTokenSecret:_}:!i&&n(s)&&(j={accessToken:s}),!i&&(j.idToken||j.accessToken))j.idToken&&O(this,"idToken",j.idToken),j.accessToken&&O(this,"accessToken",j.accessToken);else if(i&&j.oauthToken&&j.oauthTokenSecret)O(this,"accessToken",j.oauthToken),O(this,"secret",j.oauthTokenSecret);else{if(i)throw new P("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");throw new P("argument-error","credential failed: expected 1 argument (the OAuth access token).")}O(this,"provider",o)};uf.prototype.Hb=function(o){return vf(o,wf(this))},uf.prototype.nd=function(o,i){var s=wf(this);return s.idToken=i,xf(o,s)};var wf=function(o){var i={};return o.idToken&&(i.id_token=o.idToken),o.accessToken&&(i.access_token=o.accessToken),o.secret&&(i.oauth_token_secret=o.secret),i.providerId=o.provider,{postBody:He(i).toString(),requestUri:Ye()?Je():"http://localhost"}};uf.prototype.I=function(){var o={provider:this.provider};return this.idToken&&(o.oauthIdToken=this.idToken),this.accessToken&&(o.oauthAccessToken=this.accessToken),this.secret&&(o.oauthTokenSecret=this.secret),o};var yf=function(o,i,s){var _=!!i,j=s||[];return i=function(){hf(this,{providerId:o,isOAuthProvider:!0}),this.Pc=[],this.ad={},"google.com"==o&&this.addScope("profile")},_||(i.prototype.addScope=function($){Ia(this.Pc,$)||this.Pc.push($)}),i.prototype.setCustomParameters=function($){this.ad=Ta($)},i.prototype.ge=function(){var _e,$=af(this.ad);for(_e in $)$[_e]=$[_e].toString();for($=Ta($),_e=0;_eet||et>=hh.length)throw new P("internal-error","Argument validator received an unsupported number of arguments.");_e=hh[et]+" argument "+(_e.name?"\""+_e.name+"\" ":"")+"must be "+_e.fa+".";break a}_e=null}}if(_e)throw new P("argument-error",_+" failed: "+_e);return i.apply(this,$)},i)o[j]=i[j];for(j in i.prototype)o.prototype[j]=i.prototype[j];return o},ph=function(o){return o=o.split("."),o[o.length-1]},qh=function(o,i,s,_){this.Ce=o,this.xd=i,this.Ie=s,this.cb=_,this.O={},fh||(fh=new eh),o=fh;try{var j;Ie()?(Wg||(Wg=new Vg("firebaseLocalStorageDb","firebaseLocalStorage","fbase_key","value",1)),j=Wg):j=new o.cd.X,this.Ua=j}catch($){this.Ua=new Pg,this.cb=!0}try{this.jc=new o.cd.Uc}catch($){this.jc=new Pg}this.Ad=q(this.Bd,this),this.P={}},rh,sh=function(){return rh||(rh=new qh("firebase",":",!cf(M())&&l.window&&l.window!=l.window.top,Ze())),rh};h=qh.prototype,h.M=function(o,i){return this.Ce+this.xd+o.name+(i?this.xd+i:"")},h.get=function(o,i){return(o.X?this.Ua:this.jc).get(this.M(o,i))},h.remove=function(o,i){return i=this.M(o,i),o.X&&!this.cb&&(this.P[i]=null),(o.X?this.Ua:this.jc).remove(i)},h.set=function(o,i,s){var _=this.M(o,s),j=this,$=o.X?this.Ua:this.jc;return $.set(_,i).then(function(){return $.get(_)}).then(function(_e){o.X&&!this.cb&&(j.P[_]=_e)})},h.addListener=function(o,i,s){o=this.M(o,i),this.cb||(this.P[o]=l.localStorage.getItem(o)),Ra(this.O)&&this.Sc(),this.O[o]||(this.O[o]=[]),this.O[o].push(s)},h.removeListener=function(o,i,s){o=this.M(o,i),this.O[o]&&(La(this.O[o],function(_){return _==s}),0==this.O[o].length&&delete this.O[o]),Ra(this.O)&&this.hc()},h.Sc=function(){this.Ua.Ka(this.Ad),this.cb||th(this)};var th=function(o){uh(o),o.Ec=setInterval(function(){for(var i in o.O){var s=l.localStorage.getItem(i);s!=o.P[i]&&(o.P[i]=s,s=new xb({type:"storage",key:i,target:window,oldValue:o.P[i],newValue:s}),o.Bd(s))}},1E3)},uh=function(o){o.Ec&&(clearInterval(o.Ec),o.Ec=null)};qh.prototype.hc=function(){this.Ua.Za(this.Ad),this.cb||uh(this)},qh.prototype.Bd=function(o){if(o&&o.fe){var i=o.mb.key;if(this.Ie){var s=l.localStorage.getItem(i);o=o.mb.newValue,o!=s&&(o?l.localStorage.setItem(i,o):o||l.localStorage.removeItem(i))}this.P[i]=l.localStorage.getItem(i),this.Xc(i)}else x(o,q(this.Xc,this))},qh.prototype.Xc=function(o){this.O[o]&&x(this.O[o],function(i){i()})};var vh=function(o){this.C=o,this.A=sh()},wh={name:"pendingRedirect",X:!1},xh=function(o){return o.A.set(wh,"pending",o.C)},yh=function(o){return o.A.remove(wh,o.C)},zh=function(o){return o.A.get(wh,o.C).then(function(i){return"pending"==i})},V=function(o,i,s){this.v=o,this.i=i,this.B=s,this.zb=[],this.Sa=!1,this.rc=q(this.ie,this),this.Xa=new Ah(this),this.rd=new Bh(this),this.Ub=new vh(this.i+":"+this.B),this.fb={},this.fb.unknown=this.Xa,this.fb.signInViaRedirect=this.Xa,this.fb.linkViaRedirect=this.Xa,this.fb.signInViaPopup=this.rd,this.fb.linkViaPopup=this.rd,this.ba=new Hg(this.v,this.i,this.B,firebase.SDK_VERSION||null)};V.prototype.reset=function(){this.Sa=!1,Ng(this.ba,this.rc),this.ba=new Hg(this.v,this.i,this.B,firebase.SDK_VERSION||null)},V.prototype.qb=function(){var o=this;this.Sa||(this.Sa=!0,this.ba.jb.push(this.rc));var i=this.ba;return Kg(this.ba).g(function(s){throw o.ba==i&&o.reset(),s})};var Dh=function(o){var i=M();Ze(i)||cf(i)||o.qb(),Ch(o.Xa)};V.prototype.subscribe=function(o){if(Ia(this.zb,o)||this.zb.push(o),!this.Sa){var i=this;zh(this.Ub).then(function(s){s?yh(i.Ub).then(function(){i.qb()}):Dh(i)}).g(function(){Dh(i)})}},V.prototype.unsubscribe=function(o){La(this.zb,function(i){return i==o})},V.prototype.ie=function(o){if(!o)throw new P("invalid-auth-event");for(var _,i=!1,s=0;sthis.Pa-3E4?this.T?Ph(this,{grant_type:"refresh_token",refresh_token:this.T}):D(null):D({accessToken:this.ya,expirationTime:this.Pa,refreshToken:this.T})};var Rh=function(o,i,s,_,j){hf(this,{uid:o,displayName:_||null,photoURL:j||null,email:s||null,providerId:i})},Sh=function(o,i){for(var s in wb.call(this,o),i)this[s]=i[s]};r(Sh,wb);var W=function(o,i,s){this.W=[],this.i=o.apiKey,this.B=o.appName,this.v=o.authDomain||null,o=firebase.SDK_VERSION?Ue(firebase.SDK_VERSION):null,this.f=new R(this.i,null,o),this.ea=new Mh(this.f),Th(this,i.idToken),Oh(this.ea,i),O(this,"refreshToken",this.ea.T),Uh(this,s||{}),G.call(this),this.Vb=!1,this.v&&Ye()&&(this.j=Hh(this.v,this.i,this.B)),this.gc=[],this.qc=D()};r(W,G),W.prototype.sa=function(o){var s=Array.prototype.slice.call(arguments,1),_=this;return this.qc=this.qc.then(function(){return o.apply(_,s)},function(){return o.apply(_,s)})};var Th=function(o,i){o.ld=i,O(o,"_lat",i)},Vh=function(o,i){La(o.gc,function(s){return s==i})},Wh=function(o){for(var i=[],s=0;s/g,qa=/"/g,ra=/'/g,sa=/\x00/g,ta=/[\x00&<>"']/,v=function(a,b){return-1!=a.indexOf(b)},ua=function(a,b){return ab?1:0};var va=function(a,b){b.unshift(a);u.call(this,la.apply(null,b));b.shift()};t(va,u);va.prototype.name="AssertionError"; +var wa=function(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);throw new va(""+e,f||[]);},w=function(a,b,c){a||wa("",null,b,Array.prototype.slice.call(arguments,2))},xa=function(a,b){throw new va("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},ya=function(a,b,c){fa(a)||wa("Expected number but got %s: %s.",[m(a),a],b,Array.prototype.slice.call(arguments,2));return a},za=function(a,b,c){p(a)||wa("Expected string but got %s: %s.",[m(a),a],b,Array.prototype.slice.call(arguments, +2))},Aa=function(a,b,c){q(a)||wa("Expected function but got %s: %s.",[m(a),a],b,Array.prototype.slice.call(arguments,2))};var Ba=Array.prototype.indexOf?function(a,b,c){w(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(p(a))return p(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?null:p(a)?a.charAt(b):a[b]},Ha=function(a,b){return 0<=Ba(a,b)},Ja=function(a,b){b=Ba(a,b);var c;(c=0<=b)&&Ia(a,b);return c},Ia=function(a,b){w(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},Ka=function(a,b){var c=0;Ca(a,function(d,e){b.call(void 0,d,e,a)&&Ia(a,e)&&c++})},La=function(a){return Array.prototype.concat.apply([],arguments)}, +Ma=function(a){var b=a.length;if(0parseFloat(ib)){hb=String(kb);break a}}hb=ib} +var lb=hb,$a={},B=function(a){return ab(a,function(){for(var b=0,c=ma(String(lb)).split("."),d=ma(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}},tb=function(){if(!pb){pb={};qb={};for(var a=0;65>a;a++)pb[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a), +qb[pb[a]]=a,62<=a&&(qb["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};var ub=function(){this.za=-1};var xb=function(a,b){this.za=64;this.Wb=l.Uint8Array?new Uint8Array(this.za):Array(this.za);this.Ac=this.$a=0;this.h=[];this.Ze=a;this.Ld=b;this.Af=l.Int32Array?new Int32Array(64):Array(64);void 0!==vb||(vb=l.Int32Array?new Int32Array(wb):wb);this.reset()},vb;t(xb,ub);for(var yb=[],zb=0;63>zb;zb++)yb[zb]=0;var Ab=La(128,yb);xb.prototype.reset=function(){this.Ac=this.$a=0;this.h=l.Int32Array?new Int32Array(this.Ld):Ma(this.Ld)}; +var Bb=function(a){var b=a.Wb;w(b.length==a.za);for(var c=a.Af,d=0,e=0;eb;b++){var e=c[b-15]|0,d=c[b-2]|0,f=(c[b-16]|0)+((e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}for(var d=a.h[0]|0,e=a.h[1]|0,k=a.h[2]|0,n=a.h[3]|0,A=a.h[4]|0,Xa=a.h[5]|0,Gb=a.h[6]|0,f=a.h[7]|0,b=0;64>b;b++)var gh=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&k^e&k)|0,g=A&Xa^~A&Gb,f=f+((A>>>6| +A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7))|0,g=g+(vb[b]|0)|0,g=f+(g+(c[b]|0)|0)|0,f=Gb,Gb=Xa,Xa=A,A=n+g|0,n=k,k=e,e=d,d=g+gh|0;a.h[0]=a.h[0]+d|0;a.h[1]=a.h[1]+e|0;a.h[2]=a.h[2]+k|0;a.h[3]=a.h[3]+n|0;a.h[4]=a.h[4]+A|0;a.h[5]=a.h[5]+Xa|0;a.h[6]=a.h[6]+Gb|0;a.h[7]=a.h[7]+f|0}; +xb.prototype.update=function(a,b){void 0===b&&(b=a.length);var c=0,d=this.$a;if(p(a))for(;c=e&&e==(e|0)))throw Error("message must be a byte array");this.Wb[d++]=e;d==this.za&&(Bb(this),d=0)}else throw Error("message must be string or array");this.$a=d;this.Ac+=b}; +xb.prototype.digest=function(){var a=[],b=8*this.Ac;56>this.$a?this.update(Ab,56-this.$a):this.update(Ab,this.za-(this.$a-56));for(var c=63;56<=c;c--)this.Wb[c]=b&255,b/=256;Bb(this);for(c=b=0;c>d&255;return a}; +var wb=[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];var Db=function(){xb.call(this,8,Cb)};t(Db,xb);var Cb=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var Eb=!z||9<=Number(mb),Fb=z&&!B("9");!fb||B("528");eb&&B("1.9b")||z&&B("8")||bb&&B("9.5")||fb&&B("528");eb&&!B("8")||z&&B("9");var Hb=function(){this.Ba=this.Ba;this.nc=this.nc};Hb.prototype.Ba=!1;Hb.prototype.isDisposed=function(){return this.Ba};Hb.prototype.Wa=function(){if(this.nc)for(;this.nc.length;)this.nc.shift()()};var Ib=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.gb=!1;this.Wd=!0};Ib.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Wd=!1};var Jb=function(a,b){Ib.call(this,a?a.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.Xa=this.state=null;a&&this.init(a,b)};t(Jb,Ib); +Jb.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(eb){var e;a:{try{Za(b.nodeName);e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=fb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=fb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX: +a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.Xa= +a;a.defaultPrevented&&this.preventDefault()};Jb.prototype.preventDefault=function(){Jb.pd.preventDefault.call(this);var a=this.Xa;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Fb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};Jb.prototype.Ee=function(){return this.Xa};var Kb="closure_listenable_"+(1E6*Math.random()|0),Lb=0;var Mb=function(a,b,c,d,e){this.listener=a;this.rc=null;this.src=b;this.type=c;this.capture=!!d;this.dc=e;this.key=++Lb;this.lb=this.Vb=!1},Nb=function(a){a.lb=!0;a.listener=null;a.rc=null;a.src=null;a.dc=null};var Ob=function(a){this.src=a;this.D={};this.Rb=0};Ob.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.D[f];a||(a=this.D[f]=[],this.Rb++);var g=Pb(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.gb&&0<=e;e--){b.currentTarget=d[e];var f=fc(d[e],a,!0,b),c=c&&f}for(e=0;!b.gb&&e>>0),Vb=function(a){w(a,"Listener can not be null.");if(q(a))return a;w(a.handleEvent,"An object listener must have handleEvent method.");a[gc]||(a[gc]=function(b){return a.handleEvent(b)});return a[gc]};var hc=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/;var jc=function(){this.xc="";this.me=ic};jc.prototype.hc=!0;jc.prototype.bc=function(){return this.xc};jc.prototype.toString=function(){return"Const{"+this.xc+"}"};var kc=function(a){if(a instanceof jc&&a.constructor===jc&&a.me===ic)return a.xc;xa("expected object of type Const, got '"+a+"'");return"type_error:Const"},ic={},lc=function(a){var b=new jc;b.xc=a;return b};lc("");var nc=function(){this.qc="";this.ne=mc};nc.prototype.hc=!0;nc.prototype.bc=function(){return this.qc};nc.prototype.toString=function(){return"TrustedResourceUrl{"+this.qc+"}"};var mc={};var pc=function(){this.ma="";this.le=oc};pc.prototype.hc=!0;pc.prototype.bc=function(){return this.ma};pc.prototype.toString=function(){return"SafeUrl{"+this.ma+"}"}; +var qc=function(a){if(a instanceof pc&&a.constructor===pc&&a.le===oc)return a.ma;xa("expected object of type SafeUrl, got '"+a+"' of type "+m(a));return"type_error:SafeUrl"},rc=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,tc=function(a){if(a instanceof pc)return a;a=a.hc?a.bc():String(a);rc.test(a)||(a="about:invalid#zClosurez");return sc(a)},oc={},sc=function(a){var b=new pc;b.ma=a;return b};sc("about:blank");var wc=function(a){var b=[];uc(new vc,a,b);return b.join("")},vc=function(){this.tc=void 0},uc=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(da(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f=b.Ic&&b.cancel())}this.Qd?this.Qd.call(this.zd,this):this.md=!0;this.Ya||vd(this,new wd)}};ud.prototype.xd=function(a,b){this.Hc=!1;xd(this,a,b)}; +var xd=function(a,b,c){a.Ya=!0;a.na=c;a.wb=!b;yd(a)},Ad=function(a){if(a.Ya){if(!a.md)throw new zd;a.md=!1}};ud.prototype.callback=function(a){Ad(this);Bd(a);xd(this,!0,a)}; +var vd=function(a,b){Ad(a);Bd(b);xd(a,!1,b)},Bd=function(a){w(!(a instanceof ud),"An execution sequence may not be initiated with a blocking Deferred.")},Fd=function(a){var b=Cd("https://apis.google.com/js/client.js?onload="+Dd);Ed(b,null,a,void 0)},Ed=function(a,b,c,d){w(!a.sd,"Blocking Deferreds can not be re-used");a.uc.push([b,c,d]);a.Ya&&yd(a)};ud.prototype.then=function(a,b,c){var d,e,f=new C(function(a,b){d=a;e=b});Ed(this,d,function(a){a instanceof wd?f.cancel():e(a)});return f.then(a,b,c)}; +$c(ud); +var Gd=function(a){return Ea(a.uc,function(a){return q(a[1])})},yd=function(a){if(a.Bc&&a.Ya&&Gd(a)){var b=a.Bc,c=Hd[b];c&&(l.clearTimeout(c.xb),delete Hd[b]);a.Bc=0}a.s&&(a.s.Ic--,delete a.s);for(var b=a.na,d=c=!1;a.uc.length&&!a.Hc;){var e=a.uc.shift(),f=e[0],g=e[1],e=e[2];if(f=a.wb?g:f)try{var k=f.call(e||a.zd,b);void 0!==k&&(a.wb=a.wb&&(k==b||k instanceof Error),a.na=b=k);if(ad(b)||"function"===typeof l.Promise&&b instanceof l.Promise)d=!0,a.Hc=!0}catch(n){b=n,a.wb=!0,Gd(a)||(c=!0)}}a.na=b;d&& +(k=r(a.xd,a,!0),d=r(a.xd,a,!1),b instanceof ud?(Ed(b,k,d),b.sd=!0):b.then(k,d));c&&(b=new Id(b),Hd[b.xb]=b,a.Bc=b.xb)},zd=function(){u.call(this)};t(zd,u);zd.prototype.message="Deferred has already fired";zd.prototype.name="AlreadyCalledError";var wd=function(){u.call(this)};t(wd,u);wd.prototype.message="Deferred was canceled";wd.prototype.name="CanceledError";var Id=function(a){this.xb=l.setTimeout(r(this.wf,this),0);this.O=a}; +Id.prototype.wf=function(){w(Hd[this.xb],"Cannot throw an error that is not scheduled.");delete Hd[this.xb];throw this.O;};var Hd={};var Cd=function(a){var b=new nc;b.qc=a;return Jd(b)},Jd=function(a){var b={},c=b.document||document,d;a instanceof nc&&a.constructor===nc&&a.ne===mc?d=a.qc:(xa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+m(a)),d="type_error:TrustedResourceUrl");var e=document.createElement("SCRIPT");a={Xd:e,Qb:void 0};var f=new ud(Kd,a),g=null,k=null!=b.timeout?b.timeout:5E3;0++d,"infinite loop")}c=this.pe;d=a.type||a;if(p(a))a=new Ib(a,c);else if(a instanceof Ib)a.target=a.target||c;else{var e=a;a=new Ib(d,c);Ua(a,e)}var e=!0,f;if(b)for(var g=b.length-1;!a.gb&&0<=g;g--)f=a.currentTarget=b[g],e=Qd(f,d,!0,a)&&e;a.gb||(f=a.currentTarget=c,e=Qd(f,d,!0,a)&&e,a.gb||(e=Qd(f,d,!1,a)&&e));if(b)for(g=0;!a.gb&&g2*this.o&&Ud(this),!0):!1};var Ud=function(a){if(a.o!=a.w.length){for(var b=0,c=0;b=d.w.length)throw Rd;var e=d.w[b++];return a?e:d.ba[e]};return e};var Vd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Wd=function(a){if(a.X&&"function"==typeof a.X)return a.X();if(p(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d=fe(this).value)for(q(b)&&(b=b()),a=new Zd(a,String(b),this.Xe),c&&(a.Cd=c),c="log:"+a.We,l.console&&(l.console.timeStamp?l.console.timeStamp(c):l.console.markTimeline&&l.console.markTimeline(c)),l.msWriteProfilerMark&&l.msWriteProfilerMark(c),c=this;c;){var d=c,e=a;if(d.Id)for(var f=0;b=d.Id[f];f++)b(e);c=c.getParent()}}; +var ge={},he=null,ie=function(a){he||(he=new ae(""),ge[""]=he,he.$d(de));var b;if(!(b=ge[a])){b=new ae(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=ie(a.substr(0,c));c.Jc||(c.Jc={});c.Jc[d]=b;b.s=c;ge[a]=b}return b};var F=function(a,b){a&&a.log(ee,b,void 0)};var je=function(a,b,c){if(q(a))c&&(a=r(a,c));else if(a&&"function"==typeof a.handleEvent)a=r(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647b)throw Error("Bad port number "+b);a.eb=b}else a.eb=null},Fe=function(a,b,c){H(a);a.ta=c?He(b,!0):b},Ge=function(a,b,c){H(a);b instanceof I?(a.V=b,a.V.ld(a.R)):(c||(b=Ie(b,Ne)),a.V=new I(b,0,a.R))},J=function(a,b,c){H(a);a.V.set(b,c)},Oe=function(a,b){return a.V.get(b)},Pe=function(a,b){H(a);a.V.remove(b)},H=function(a){if(a.Se)throw Error("Tried to modify a read-only Uri"); +};Be.prototype.ld=function(a){this.R=a;this.V&&this.V.ld(a);return this}; +var Qe=function(a){return a instanceof Be?a.clone():new Be(a,void 0)},Re=function(a,b){var c=new Be(null,void 0);Ce(c,"https");a&&De(c,a);b&&Fe(c,b);return c},He=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ie=function(a,b,c){return p(a)?(a=encodeURI(a).replace(b,Se),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Se=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Je=/[#\/\?@]/g,Le=/[\#\?:]/g,Ke=/[\#\?]/g,Ne=/[\#\?@]/g, +Me=/#/g,I=function(a,b,c){this.o=this.l=null;this.N=a||null;this.R=!!c},Te=function(a){a.l||(a.l=new Td,a.o=0,a.N&&me(a.N,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))},Ve=function(a){var b=Xd(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new I(null,0,void 0);a=Wd(a);for(var d=0;da?!1:!z||!mb||9")&&(d=d.replace(pa,">")),-1!=d.indexOf('"')&&(d=d.replace(qa,""")),-1!=d.indexOf("'")&&(d=d.replace(ra,"'")),-1!=d.indexOf("\x00")&&(d=d.replace(sa,"�"))),d='',za(kc(a),"must provide justification"),w(!/^[\s\xa0]*$/.test(kc(a)),"must provide non-empty justification"),g.document.write(Kc((new Jc).Pe(d))),g.document.close())):g=a.open(qc(b),c,g);if(g)try{g.focus()}catch(k){}return g}, +ef=function(a){return new C(function(b){var c=function(){ke(2E3).then(function(){if(!a||a.closed)b();else return c()})};return c()})},ff=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,gf=function(){var a=null;return(new C(function(b){"complete"==l.document.readyState?b():(a=function(){b()},ac(window,"load",a))})).f(function(b){cc(window,"load",a);throw b;})},jf=function(){return hf(void 0)?gf().then(function(){return new C(function(a,b){var c=l.document,d=setTimeout(function(){b(Error("Cordova framework is not ready."))}, +1E3);c.addEventListener("deviceready",function(){clearTimeout(d);a()},!1)})}):E(Error("Cordova must run in an Android or iOS file scheme."))},hf=function(a){a=a||K();return!("file:"!==kf()||!a.toLowerCase().match(/iphone|ipad|ipod|android/))},lf=function(){var a=l.window;try{return!(!a||a==a.top)}catch(b){return!1}},L=function(){return firebase.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":firebase.INTERNAL.hasOwnProperty("node")?"Node":"Browser"},mf=function(){var a=L();return"ReactNative"=== +a||"Node"===a},$e=function(a){var b=a.toLowerCase();if(v(b,"opera/")||v(b,"opr/")||v(b,"opios/"))return"Opera";if(v(b,"iemobile"))return"IEMobile";if(v(b,"msie")||v(b,"trident/"))return"IE";if(v(b,"edge/"))return"Edge";if(v(b,"firefox/"))return"Firefox";if(v(b,"silk/"))return"Silk";if(v(b,"blackberry"))return"Blackberry";if(v(b,"webos"))return"Webos";if(!v(b,"safari/")||v(b,"chrome/")||v(b,"crios/")||v(b,"android"))if(!v(b,"chrome/")&&!v(b,"crios/")||v(b,"edge/")){if(v(b,"android"))return"Android"; +if((a=a.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==a.length)return a[1]}else return"Chrome";else return"Safari";return"Other"},nf=function(a){var b=L();return("Browser"===b?$e(K()):b)+"/JsCore/"+a},K=function(){return l.navigator&&l.navigator.userAgent||""},M=function(a,b){a=a.split(".");b=b||l;for(var c=0;cb)throw Error("Short delay should be less than long delay!"); +this.tf=a;this.Ve=b;a=c||K();d=d||L();this.Re=bf(a)||"ReactNative"===d};yf.prototype.get=function(){return this.Re?this.Ve:this.tf}; +var zf=function(){var a=l.document;return a&&"undefined"!==typeof a.visibilityState?"visible"==a.visibilityState:!0},Af=function(){var a=l.document,b=null;return zf()||!a?D():(new C(function(c){b=function(){zf()&&(a.removeEventListener("visibilitychange",b,!1),c())};a.addEventListener("visibilitychange",b,!1)})).f(function(c){a.removeEventListener("visibilitychange",b,!1);throw c;})};var Bf;try{var Cf={};Object.defineProperty(Cf,"abcd",{configurable:!0,enumerable:!0,value:1});Object.defineProperty(Cf,"abcd",{configurable:!0,enumerable:!0,value:2});Bf=2==Cf.abcd}catch(a){Bf=!1} +var N=function(a,b,c){Bf?Object.defineProperty(a,b,{configurable:!0,enumerable:!0,value:c}):a[b]=c},Df=function(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&N(a,c,b[c])},Ef=function(a){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b},Ff=function(a,b){if(!b||!b.length)return!0;if(!a)return!1;for(var c=0;c Auth section -> Sign in method tab.",a):"http"==d||"https"==d?c=la("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.",a):b= +"operation-not-supported-in-this-environment";O.call(this,b,c)};t(Of,O);var Pf=function(a){this.Ue=a.sub;ka();this.Yb=a.email||null};var Qf=function(a,b){if(b.idToken||b.accessToken)b.idToken&&N(this,"idToken",b.idToken),b.accessToken&&N(this,"accessToken",b.accessToken);else if(b.oauthToken&&b.oauthTokenSecret)N(this,"accessToken",b.oauthToken),N(this,"secret",b.oauthTokenSecret);else throw new O("internal-error","failed to construct a credential");N(this,"provider",a)};Qf.prototype.$b=function(a){return Rf(a,Sf(this))};Qf.prototype.Pd=function(a,b){var c=Sf(this);c.idToken=b;return Tf(a,c)}; +var Sf=function(a){var b={};a.idToken&&(b.id_token=a.idToken);a.accessToken&&(b.access_token=a.accessToken);a.secret&&(b.oauth_token_secret=a.secret);b.providerId=a.provider;return{postBody:Ve(b).toString(),requestUri:"http://localhost"}};Qf.prototype.C=function(){var a={provider:this.provider};this.idToken&&(a.oauthIdToken=this.idToken);this.accessToken&&(a.oauthAccessToken=this.accessToken);this.secret&&(a.oauthTokenSecret=this.secret);return a}; +var Uf=function(a,b){this.hf=b||[];Df(this,{providerId:a,isOAuthProvider:!0});this.yd={}};Uf.prototype.setCustomParameters=function(a){this.yd=Sa(a);return this};var Q=function(a){Uf.call(this,a,If);this.jd=[]};t(Q,Uf);Q.prototype.addScope=function(a){Ha(this.jd,a)||this.jd.push(a);return this};Q.prototype.Gd=function(){return Ma(this.jd)}; +Q.prototype.credential=function(a,b){if(!a&&!b)throw new O("argument-error","credential failed: must provide the ID token and/or the access token.");return new Qf(this.providerId,{idToken:a||null,accessToken:b||null})};var Vf=function(){Q.call(this,"facebook.com")};t(Vf,Q);N(Vf,"PROVIDER_ID","facebook.com");var Wf=function(a){if(!a)throw new O("argument-error","credential failed: expected 1 argument (the OAuth access token).");return(new Vf).credential(null,a)},Xf=function(){Q.call(this,"github.com")}; +t(Xf,Q);N(Xf,"PROVIDER_ID","github.com");var Yf=function(a){if(!a)throw new O("argument-error","credential failed: expected 1 argument (the OAuth access token).");return(new Xf).credential(null,a)},Zf=function(){Q.call(this,"google.com");this.addScope("profile")};t(Zf,Q);N(Zf,"PROVIDER_ID","google.com");var $f=function(a,b){return(new Zf).credential(a,b)},ag=function(){Uf.call(this,"twitter.com",Hf)};t(ag,Uf);N(ag,"PROVIDER_ID","twitter.com"); +var bg=function(a,b){if(!a||!b)throw new O("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new Qf("twitter.com",{oauthToken:a,oauthTokenSecret:b})},cg=function(a,b){this.Yb=a;this.ad=b;N(this,"provider","password")};cg.prototype.$b=function(a){return R(a,dg,{email:this.Yb,password:this.ad})};cg.prototype.Pd=function(a,b){return R(a,eg,{idToken:b,email:this.Yb,password:this.ad})};cg.prototype.C=function(){return{email:this.Yb,password:this.ad}}; +var fg=function(){Df(this,{providerId:"password",isOAuthProvider:!1})};Df(fg,{PROVIDER_ID:"password"}); +var gg=function(a){var b=a&&a.providerId;if(!b||"password"===b)return null;var c=a&&a.oauthAccessToken,d=a&&a.oauthTokenSecret;a=a&&a.oauthIdToken;try{switch(b){case "google.com":return $f(a,c);case "facebook.com":return Wf(c);case "github.com":return Yf(c);case "twitter.com":return bg(c,d);default:return(new Q(b)).credential(a,c)}}catch(e){return null}},hg=function(a){if(!a.isOAuthProvider)throw new O("invalid-oauth-provider");};var ig=function(a,b,c,d){O.call(this,a,d);N(this,"email",b);N(this,"credential",c)};t(ig,O);ig.prototype.C=function(){var a={code:this.code,message:this.message,email:this.email},b=this.credential&&this.credential.C();b&&(Ua(a,b),a.providerId=b.provider,delete a.provider);return a};ig.prototype.toJSON=function(){return this.C()};var jg=function(a){if(a.code){var b=a.code||"";0==b.indexOf("auth/")&&(b=b.substring(5));return a.email?new ig(b,a.email,gg(a),a.message):new O(b,a.message||void 0)}return null};var kg=function(a){this.Cf=a};t(kg,Ac);kg.prototype.Xb=function(){return new this.Cf};kg.prototype.Uc=function(){return{}}; +var S=function(a,b,c){var d;d="Node"==L();d=l.XMLHttpRequest||d&&firebase.INTERNAL.node&&firebase.INTERNAL.node.XMLHttpRequest;if(!d)throw new O("internal-error","The XMLHttpRequest compatibility library was not found.");this.j=a;a=b||{};this.pf=a.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token";this.qf=a.secureTokenTimeout||lg;this.Yd=Sa(a.secureTokenHeaders||mg);this.Ae=a.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/";this.Be=a.firebaseTimeout|| +ng;this.Ed=Sa(a.firebaseHeaders||og);c&&(this.Ed["X-Client-Version"]=c,this.Yd["X-Client-Version"]=c);this.te=new Fc;this.Bf=new kg(d)},pg,lg=new yf(3E4,6E4),mg={"Content-Type":"application/x-www-form-urlencoded"},ng=new yf(3E4,6E4),og={"Content-Type":"application/json"},rg=function(a,b,c,d,e,f,g){xf()?(af()?a=r(a.sf,a):(pg||(pg=new C(function(a,b){qg(a,b)})),a=r(a.rf,a)),a(b,c,d,e,f,g)):c&&c(null)}; +S.prototype.sf=function(a,b,c,d,e,f){var g="Node"==L(),k=mf()?g?new G(this.Bf):new G:new G(this.te),n;f&&(k.ob=Math.max(0,f),n=setTimeout(function(){k.dispatchEvent("timeout")},f));k.listen("complete",function(){n&&clearTimeout(n);var a=null;try{a=JSON.parse(Ae(this))||null}catch(Xa){a=null}b&&b(a)});bc(k,"ready",function(){n&&clearTimeout(n);this.Ba||(this.Ba=!0,this.Wa())});bc(k,"timeout",function(){n&&clearTimeout(n);this.Ba||(this.Ba=!0,this.Wa());b&&b(null)});k.send(a,c,d,e)}; +var Dd="__fcb"+Math.floor(1E6*Math.random()).toString(),qg=function(a,b){((window.gapi||{}).client||{}).request?a():(l[Dd]=function(){((window.gapi||{}).client||{}).request?a():b(Error("CORS_UNSUPPORTED"))},Fd(function(){b(Error("CORS_UNSUPPORTED"))}))}; +S.prototype.rf=function(a,b,c,d,e){var f=this;pg.then(function(){window.gapi.client.setApiKey(f.j);var g=window.gapi.auth.getToken();window.gapi.auth.setToken(null);window.gapi.client.request({path:a,method:c,body:d,headers:e,authType:"none",callback:function(a){window.gapi.auth.setToken(g);b&&b(a)}})}).f(function(a){b&&b({error:{message:a&&a.message||"CORS_UNSUPPORTED"}})})}; +var tg=function(a,b){return new C(function(c,d){"refresh_token"==b.grant_type&&b.refresh_token||"authorization_code"==b.grant_type&&b.code?rg(a,a.pf+"?key="+encodeURIComponent(a.j),function(a){a?a.error?d(sg(a)):a.access_token&&a.refresh_token?c(a):d(new O("internal-error")):d(new O("network-request-failed"))},"POST",Ve(b).toString(),a.Yd,a.qf.get()):d(new O("internal-error"))})},ug=function(a,b,c,d,e){var f=Qe(a.Ae+b);J(f,"key",a.j);e&&J(f,"cb",ka().toString());var g="GET"==c;if(g)for(var k in d)d.hasOwnProperty(k)&& +J(f,k,d[k]);return new C(function(b,e){rg(a,f.toString(),function(a){a?a.error?e(sg(a)):b(a):e(new O("network-request-failed"))},c,g?void 0:wc(tf(d)),a.Ed,a.Be.get())})},vg=function(a){if(!hc.test(a.email))throw new O("invalid-email");},wg=function(a){"email"in a&&vg(a)},yg=function(a,b){return R(a,xg,{identifier:b,continueUri:of()?Xe():"http://localhost"}).then(function(a){return a.allProviders||[]})},Ag=function(a){return R(a,zg,{}).then(function(a){return a.authorizedDomains||[]})},Bg=function(a){if(!a.idToken)throw new O("internal-error"); +};S.prototype.signInAnonymously=function(){return R(this,Cg,{})};S.prototype.updateEmail=function(a,b){return R(this,Dg,{idToken:a,email:b})};S.prototype.updatePassword=function(a,b){return R(this,eg,{idToken:a,password:b})};var Eg={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};S.prototype.updateProfile=function(a,b){var c={idToken:a},d=[];Na(Eg,function(a,f){var e=b[f];null===e?d.push(a):f in b&&(c[f]=e)});d.length&&(c.deleteAttribute=d);return R(this,Dg,c)}; +S.prototype.sendPasswordResetEmail=function(a){return R(this,Fg,{requestType:"PASSWORD_RESET",email:a})};S.prototype.sendEmailVerification=function(a){return R(this,Gg,{requestType:"VERIFY_EMAIL",idToken:a})}; +var Ig=function(a,b,c){return R(a,Hg,{idToken:b,deleteProvider:c})},Jg=function(a){if(!a.requestUri||!a.sessionId&&!a.postBody)throw new O("internal-error");},Kg=function(a){var b=null;a.needConfirmation?(a.code="account-exists-with-different-credential",b=jg(a)):"FEDERATED_USER_ID_ALREADY_LINKED"==a.errorMessage?(a.code="credential-already-in-use",b=jg(a)):"EMAIL_EXISTS"==a.errorMessage&&(a.code="email-already-in-use",b=jg(a));if(b)throw b;if(!a.idToken)throw new O("internal-error");},Rf=function(a, +b){b.returnIdpCredential=!0;return R(a,Lg,b)},Tf=function(a,b){b.returnIdpCredential=!0;return R(a,Mg,b)},Ng=function(a){if(!a.oobCode)throw new O("invalid-action-code");};S.prototype.confirmPasswordReset=function(a,b){return R(this,Og,{oobCode:a,newPassword:b})};S.prototype.checkActionCode=function(a){return R(this,Pg,{oobCode:a})};S.prototype.applyActionCode=function(a){return R(this,Qg,{oobCode:a})}; +var Qg={endpoint:"setAccountInfo",K:Ng,nb:"email"},Pg={endpoint:"resetPassword",K:Ng,va:function(a){if(!a.email||!a.requestType)throw new O("internal-error");}},Rg={endpoint:"signupNewUser",K:function(a){vg(a);if(!a.password)throw new O("weak-password");},va:Bg,wa:!0},xg={endpoint:"createAuthUri"},Sg={endpoint:"deleteAccount",mb:["idToken"]},Hg={endpoint:"setAccountInfo",mb:["idToken","deleteProvider"],K:function(a){if(!da(a.deleteProvider))throw new O("internal-error");}},Tg={endpoint:"getAccountInfo"}, +Gg={endpoint:"getOobConfirmationCode",mb:["idToken","requestType"],K:function(a){if("VERIFY_EMAIL"!=a.requestType)throw new O("internal-error");},nb:"email"},Fg={endpoint:"getOobConfirmationCode",mb:["requestType"],K:function(a){if("PASSWORD_RESET"!=a.requestType)throw new O("internal-error");vg(a)},nb:"email"},zg={se:!0,endpoint:"getProjectConfig",Le:"GET"},Og={endpoint:"resetPassword",K:Ng,nb:"email"},Dg={endpoint:"setAccountInfo",mb:["idToken"],K:wg,wa:!0},eg={endpoint:"setAccountInfo",mb:["idToken"], +K:function(a){wg(a);if(!a.password)throw new O("weak-password");},va:Bg,wa:!0},Cg={endpoint:"signupNewUser",va:Bg,wa:!0},Lg={endpoint:"verifyAssertion",K:Jg,va:Kg,wa:!0},Mg={endpoint:"verifyAssertion",K:function(a){Jg(a);if(!a.idToken)throw new O("internal-error");},va:Kg,wa:!0},Ug={endpoint:"verifyCustomToken",K:function(a){if(!a.token)throw new O("invalid-custom-token");},va:Bg,wa:!0},dg={endpoint:"verifyPassword",K:function(a){vg(a);if(!a.password)throw new O("wrong-password");},va:Bg,wa:!0},R= +function(a,b,c){if(!Ff(c,b.mb))return E(new O("internal-error"));var d=b.Le||"POST",e;return D(c).then(b.K).then(function(){b.wa&&(c.returnSecureToken=!0);return ug(a,b.endpoint,d,c,b.se||!1)}).then(function(a){return e=a}).then(b.va).then(function(){if(!b.nb)return e;if(!(b.nb in e))throw new O("internal-error");return e[b.nb]})},sg=function(a){var b,c;c=(a.error&&a.error.errors&&a.error.errors[0]||{}).reason||"";var d={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(c=d[c]? +new O(d[c]):null)return c;c=a.error&&a.error.message||"";d={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",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled"};b=(b=c.match(/^[^\s]+\s*:\s*(.*)$/))&&1a.rd&&(a.Ha=a.rd);return b},Nh=function(a,b){a.stop();a.cb=ke(Oh(a,b)).then(function(){return a.lf?D():Af()}).then(function(){return a.bf()}).then(function(){Nh(a,!0)}).f(function(b){a.kf(b)&&Nh(a,!1)})};Mh.prototype.stop=function(){this.cb&&(this.cb.cancel(),this.cb=null)};var U=function(a,b){for(var c in b){var d=b[c].name;a[d]=Ph(d,a[c],b[c].a)}},V=function(a,b,c,d){a[b]=Ph(b,c,d)},Ph=function(a,b,c){if(!c)return b;var d=Qh(a);a=function(){var a=Array.prototype.slice.call(arguments),e;a:{e=Array.prototype.slice.call(a);var k;k=0;for(var n=!1,A=0;Ak||k>=Fh.length)throw new O("internal-error","Argument validator received an unsupported number of arguments.");e=Fh[k]+" argument "+(e.name?'"'+e.name+'" ':"")+"must be "+e.fa+".";break a}e=null}}if(e)throw new O("argument-error",d+" failed: "+e);return b.apply(this,a)};for(var e in b)a[e]=b[e];for(e in b.prototype)a.prototype[e]= +b.prototype[e];return a},Qh=function(a){a=a.split(".");return a[a.length-1]};var Rh=function(a,b,c,d){this.Ye=a;this.Zd=b;this.mf=c;this.Mb=d;this.S={};Dh||(Dh=new Ch);a=Dh;try{var e;We()?(th||(th=new sh("firebaseLocalStorageDb","firebaseLocalStorage","fbase_key","value",1)),e=th):e=new a.Bd.I;this.La=e}catch(f){this.La=new mh,this.Mb=!0}try{this.yc=new a.Bd.qd}catch(f){this.yc=new mh}this.od=r(this.ce,this);this.Y={}},Sh,Th=function(){Sh||(Sh=new Rh("firebase",":",!vf(K())&&lf()?!0:!1,rf()));return Sh};h=Rh.prototype; +h.P=function(a,b){return this.Ye+this.Zd+a.name+(b?this.Zd+b:"")};h.get=function(a,b){return(a.I?this.La:this.yc).get(this.P(a,b))};h.remove=function(a,b){b=this.P(a,b);a.I&&!this.Mb&&(this.Y[b]=null);return(a.I?this.La:this.yc).remove(b)};h.set=function(a,b,c){var d=this.P(a,c),e=this,f=a.I?this.La:this.yc;return f.set(d,b).then(function(){return f.get(d)}).then(function(b){a.I&&!this.Mb&&(e.Y[d]=b)})}; +h.addListener=function(a,b,c){a=this.P(a,b);this.Mb||(this.Y[a]=l.localStorage.getItem(a));Qa(this.S)&&this.nd();this.S[a]||(this.S[a]=[]);this.S[a].push(c)};h.removeListener=function(a,b,c){a=this.P(a,b);this.S[a]&&(Ka(this.S[a],function(a){return a==c}),0==this.S[a].length&&delete this.S[a]);Qa(this.S)&&this.wc()};h.nd=function(){this.La.Ta(this.od);this.Mb||We()||Uh(this)}; +var Uh=function(a){Vh(a);a.Xc=setInterval(function(){for(var b in a.S){var c=l.localStorage.getItem(b),d=a.Y[b];c!=d&&(a.Y[b]=c,c=new Jb({type:"storage",key:b,target:window,oldValue:d,newValue:c,df:!0}),a.ce(c))}},1E3)},Vh=function(a){a.Xc&&(clearInterval(a.Xc),a.Xc=null)};Rh.prototype.wc=function(){this.La.Na(this.od);Vh(this)}; +Rh.prototype.ce=function(a){if(a&&a.Ee){var b=a.Xa.key;"undefined"!==typeof a.Xa.df?this.La.Na(this.od):Vh(this);if(this.mf){var c=l.localStorage.getItem(b);a=a.Xa.newValue;a!=c&&(a?l.localStorage.setItem(b,a):a||l.localStorage.removeItem(b))}this.Y[b]=l.localStorage.getItem(b);this.ud(b)}else x(a,r(this.ud,this))};Rh.prototype.ud=function(a){this.S[a]&&x(this.S[a],function(a){a()})};var Wh=function(a,b){this.u=a;this.i=b||Th()},Xh={name:"authEvent",I:!0},Yh=function(a){return a.i.get(Xh,a.u).then(function(a){return Nf(a)})};Wh.prototype.Sa=function(a){this.i.addListener(Xh,this.u,a)};Wh.prototype.Lb=function(a){this.i.removeListener(Xh,this.u,a)};var Zh=function(a){this.i=a||Th()},$h={name:"sessionId",I:!1};Zh.prototype.ac=function(a){return this.i.get($h,a)};var ai=function(a,b,c,d,e,f){this.v=a;this.j=b;this.B=c;this.Aa=d||null;this.de=b+":"+c;this.nf=new Zh;this.Fd=new Wh(this.de);this.Tc=null;this.ia=[];this.Qe=e||500;this.ff=f||2E3;this.yb=this.oc=null},bi=function(a){return new O("invalid-cordova-configuration",a)}; +ai.prototype.Ga=function(){return this.Vc?this.Vc:this.Vc=jf().then(function(){if("function"!==typeof M("universalLinks.subscribe",l))throw bi("cordova-universal-links-plugin is not installed");if("undefined"===typeof M("BuildInfo.packageName",l))throw bi("cordova-plugin-buildinfo is not installed");if("function"!==typeof M("cordova.plugins.browsertab.openUrl",l))throw bi("cordova-plugin-browsertab is not installed");if("function"!==typeof M("cordova.InAppBrowser.open",l))throw bi("cordova-plugin-inappbrowser is not installed"); +},function(){throw new O("cordova-not-ready");})};var ci=function(){for(var a=20,b=[];0this.Ca-3E4?this.W?Fi(this,{grant_type:"refresh_token",refresh_token:this.W}):D(null):D({accessToken:this.xa,expirationTime:this.Ca,refreshToken:this.W})};var Gi=function(a,b,c,d,e){Df(this,{uid:a,displayName:d||null,photoURL:e||null,email:c||null,providerId:b})},Hi=function(a,b){Ib.call(this,a);for(var c in b)this[c]=b[c]};t(Hi,Ib); +var X=function(a,b,c){this.Z=[];this.j=a.apiKey;this.B=a.appName;this.v=a.authDomain||null;a=firebase.SDK_VERSION?nf(firebase.SDK_VERSION):null;this.g=new S(this.j,null,a);this.ea=new Ci(this.g);Ii(this,b.idToken);Ei(this.ea,b);N(this,"refreshToken",this.ea.W);Ji(this,c||{});Od.call(this);this.pc=!1;this.v&&qf()&&(this.m=xi(this.v,this.j,this.B));this.vc=[];this.oa=null;this.fb=Ki(this);this.rb=r(this.Rc,this)};t(X,Od);X.prototype.Rc=function(){this.fb.cb&&(this.fb.stop(),this.fb.start())}; +var Ki=function(a){return new Mh(function(){return a.getToken(!0)},function(a){return a&&"auth/network-request-failed"==a.code?!0:!1},function(){var b=a.ea.Ca-ka()-3E5;return 0this.Da&&(this.Da=0);0==this.Da&&Z(this)&&Mi(Z(this));this.removeAuthTokenListener(a)}; +h.addAuthTokenListener=function(a){var b=this;this.ya.push(a);this.c(this.ua.then(function(){b.Va||Ha(b.ya,a)&&a(Z(b)&&Z(b)._lat||null)}))};h.removeAuthTokenListener=function(a){Ka(this.ya,function(b){return b==a})};h["delete"]=function(){this.Va=!0;for(var a=0;a_;_++)j[_]=i.charCodeAt(s)<<24|i.charCodeAt(s+1)<<16|i.charCodeAt(s+2)<<8|i.charCodeAt(s+3),s+=4;else for(_=0;16>_;_++)j[_]=i[s]<<24|i[s+1]<<16|i[s+2]<<8|i[s+3],s+=4;for(_=16;80>_;_++){var $=j[_-3]^j[_-8]^j[_-14]^j[_-16];j[_]=4294967295&($<<1|$>>>31)}i=o.M[0],s=o.M[1];for(var nt,_e=o.M[2],et=o.M[3],tt=o.M[4],_=0;80>_;_++)40>_?20>_?($=et^s&(_e^et),nt=1518500249):($=s^_e^et,nt=1859775393):60>_?($=s&_e|et&(s|_e),nt=2400959708):($=s^_e^et,nt=3395469782),$=4294967295&(i<<5|i>>>27)+$+tt+nt+j[_],tt=et,et=_e,_e=4294967295&(s<<30|s>>>2),s=i,i=$;o.M[0]=4294967295&o.M[0]+i,o.M[1]=4294967295&o.M[1]+s,o.M[2]=4294967295&o.M[2]+_e,o.M[3]=4294967295&o.M[3]+et,o.M[4]=4294967295&o.M[4]+tt}function r(o,i){for(var s in o)i.call(void 0,o[s],s,o)}function pa(o,i){var j,s={};for(j in o)s[j]=i.call(void 0,o[j],j,o);return s}function qa(o,i){for(var s in o)if(!i.call(void 0,o[s],s,o))return!1;return!0}function ra(o){var s,i=0;for(s in o)i++;return i}function sa(o){for(var i in o)return i}function ta(o){var j,i=[],s=0;for(j in o)i[s++]=o[j];return i}function ua(o){var j,i=[],s=0;for(j in o)i[s++]=j;return i}function va(o,i){for(var s in o)if(o[s]==i)return!0;return!1}function wa(o,i,s){for(var j in o)if(i.call(s,o[j],j,o))return j}function xa(o,i){var s=wa(o,i,void 0);return s&&o[s]}function ya(o){for(var i in o)return!1;return!0}function za(o){var s,i={};for(s in o)i[s]=o[s];return i}function Aa(a){if(a+="",/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(o){}throw Error("Invalid JSON string: "+a)}function Ba(){this.Fd=void 0}function Ca(o,i,s){switch(typeof i){case"string":Da(i,s);break;case"number":s.push(isFinite(i)&&!isNaN(i)?i:"null");break;case"boolean":s.push(i);break;case"undefined":s.push("null");break;case"object":if(null==i){s.push("null");break}if(ea(i)){var j=i.length;s.push("[");for(var _="",$=0;$j?_+="000":256>j?_+="00":4096>j&&(_+="0"),Ea[s]=_+j.toString(16)}),"\"")}function Oa(o,i){var s=Pa(o,i,void 0);return 0>s?null:p(o)?o.charAt(s):o[s]}function Pa(o,i,s){for(var j=o.length,_=p(o)?o.split(""):o,$=0;$=arguments.length?v.slice.call(o,i):v.slice.call(o,i,s)}function Sa(o,i){o.sort(i||Ta)}function Ta(o,i){return o>i?1:o>4,et=(15&et)<<2|nt>>6,nt=63&nt;tt||(nt=64,_e||(et=64)),j.push(s[$>>2],s[$],s[et],s[nt])}return j.join("")}function bb(){if(!Ya){Ya={},Za={},$a={};for(var o=0;65>o;o++)Ya[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o),Za[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(o),$a[Za[o]]=o,62<=o&&($a["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o)]=o)}}function cb(o,i){return Object.prototype.hasOwnProperty.call(o,i)}function w(o,i){if(Object.prototype.hasOwnProperty.call(o,i))return o[i]}function db(o,i){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i(s,o[s])}function x(o,i,s,j){var _;if(js&&(_=0===s?"none":"no more than "+s),_)throw Error(o+" failed: Was called with "+j+(1===j?" argument.":" arguments.")+" Expects "+_+".")}function y(o,i,s){var j="";switch(i){case 1:j=s?"first":"First";break;case 2:j=s?"second":"Second";break;case 3:j=s?"third":"Third";break;case 4:j=s?"fourth":"Fourth";break;default:throw Error("errorPrefix called with argumentNumber > 4. Need to update it?");}return o=o+" failed: "+(j+" argument ")}function A(o,i,s,j){if((!j||n(s))&&!ha(s))throw Error(y(o,i,j)+"must be a valid function.")}function eb(o,i,s){if(n(s)&&(!ia(s)||null===s))throw Error(y(o,i,!0)+"must be a valid context object.")}function fb(o){var i=[];return db(o,function(s,j){ea(j)?Ja(j,function(_){i.push(encodeURIComponent(s)+"="+encodeURIComponent(_))}):i.push(encodeURIComponent(s)+"="+encodeURIComponent(j))}),i.length?"&"+i.join("&"):""}function hb(){var o=this;this.reject=this.resolve=null,this.ra=new gb(function(i,s){o.resolve=i,o.reject=s})}function ib(o,i){return function(s,j){s?o.reject(s):o.resolve(j),ha(i)&&(jb(o.ra),1===i.length?i(s):i(s,j))}}function jb(o){o.then(void 0,ba)}function kb(o,i){if(!o)throw lb(i)}function lb(o){return Error("Firebase Database ("+firebase.SDK_VERSION+") INTERNAL ASSERT FAILED: "+o)}function mb(o){for(var _,i=[],s=0,j=0;j=_&&(_-=55296,j++,kb(j_?i[s++]=_:(2048>_?i[s++]=192|_>>6:(65536>_?i[s++]=224|_>>12:(i[s++]=240|_>>18,i[s++]=128|63&_>>12),i[s++]=128|63&_>>6),i[s++]=128|63&_);return i}function nb(o){for(var j,i=0,s=0;sj?i++:2048>j?i+=2:55296<=j&&56319>=j?(i+=4,s++):i+=3;return i}function ob(o){return"undefined"!=typeof JSON&&n(JSON.parse)?JSON.parse(o):Aa(o)}function B(o){if("undefined"!=typeof JSON&&n(JSON.stringify))o=JSON.stringify(o);else{var i=[];Ca(new Ba,o,i),o=i.join("")}return o}function pb(o,i){this.committed=o,this.snapshot=i}function qb(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:"")}function rb(o){this.re=o,this.Bd=[],this.Qb=0,this.Xd=-1,this.Fb=null}function sb(o,i,s){o.Xd=i,o.Fb=s,o.Xd>4),64!=et&&(j.push(240&_e<<4|et>>2),64!=tt&&j.push(192&et<<6|tt))}if(8192>j.length)i=String.fromCharCode.apply(null,j);else{for(o="",s=0;so.$b?o.update(o.zd,56-o.$b):o.update(o.zd,o.Wa-(o.$b-56));for(var j=o.Wa-1;56<=j;j--)o.Vd[j]=255&s,s/=256;for(oa(o,o.Vd),j=s=0;5>j;j++)for(var _=24;0<=_;_-=8)i[s]=255&o.M[j]>>_,++s;return ab(i)}function vc(){for(var i="",s=0;s.firebaseio.com instead"),s&&"undefined"!=s||Ac("Cannot parse Firebase url. Please use https://.firebaseio.com"),j||"undefined"!=typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&O("Insecure Firebase access from a secure page. Please use https in calls to new Firebase()."),{jc:new Hb(i,j,s,"ws"===_||"wss"===_),path:new L($)}}function Cc(o){return ga(o)&&(o!=o||o==Number.POSITIVE_INFINITY||o==Number.NEGATIVE_INFINITY)}function Dc(o){if("complete"===document.readyState)o();else{var i=!1,s=function(){document.body?i||(i=!0,o()):setTimeout(s,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",s,!1),window.addEventListener("load",s,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&s()}),window.attachEvent("onload",s))}}function hc(o,i){if(o===i)return 0;if("[MIN_NAME]"===o||"[MAX_NAME]"===i)return-1;if("[MIN_NAME]"===i||"[MAX_NAME]"===o)return 1;var s=Ec(o),j=Ec(i);return null===s?null===j?oo?s.push(o.substring(j,o.length)):s.push(o.substring(j,j+i));return s}function Ic(o,i){if(ea(o))for(var s=0;so,o=Math.abs(o),o>=Math.pow(2,-1022)?(j=Math.min(Math.floor(Math.log(o)/Math.LN2),1023),s=j+1023,j=Math.round(o*Math.pow(2,52-j)-Math.pow(2,52))):(s=0,j=Math.round(o/Math.pow(2,-1074)))),_=[],o=52;o;--o)_.push(j%2?1:0),j=Math.floor(j/2);for(o=11;o;--o)_.push(s%2?1:0),s=Math.floor(s/2);for(_.push(i?1:0),_.reverse(),i=_.join(""),s="",o=0;64>o;o+=8)j=parseInt(i.substr(o,8),2).toString(16),1===j.length&&(j="0"+j),s+=j;return s.toLowerCase()}function Ec(o){return Kc.test(o)&&(o=+o,-2147483648<=o&&2147483647>=o)?o:null}function ub(o){try{o()}catch(i){setTimeout(function(){throw O("Exception was thrown by user callback.",i.stack||""),i},Math.floor(0))}}function Lc(o,i,s){Object.defineProperty(o,i,{get:s})}function Mc(o,i){var s=setTimeout(o,i);return"object"==typeof s&&s.unref&&s.unref(),s}function Nc(o){var i={},s={},j={},_="";try{var $=o.split("."),i=ob(tc($[0])||""),s=ob(tc($[1])||""),_=$[2],j=s.d||{};delete s.d}catch(_e){}return{tg:i,Ie:s,data:j,mg:_}}function Oc(o){o=Nc(o);var i=o.Ie;return!!o.mg&&!!i&&"object"==typeof i&&i.hasOwnProperty("iat")}function Pc(o){return o=Nc(o).Ie,"object"==typeof o&&!0===w(o,"admin")}function Qc(o,i,s){this.f=yc("p:rest:"),this.L=o,this.Gb=i,this.$c=s,this.$={}}function Rc(o,i){return n(i)?"tag$"+i:(H(Sc(o.m),"should have a tag if it's not a default query."),o.path.toString())}function Uc(o,i,s,j){s=s||{},s.format="export",o.$c.getToken(!1).then(function(_){(_=_&&_.accessToken)&&(s.auth=_);var $=(o.L.Sc?"https://":"http://")+o.L.host+i+"?"+fb(s);o.f("Sending REST request for "+$);var _e=new XMLHttpRequest;_e.onreadystatechange=function(){if(j&&4===_e.readyState){o.f("REST Response for "+$+" received. status:",_e.status,"response:",_e.responseText);var et=null;if(200<=_e.status&&300>_e.status){try{et=ob(_e.responseText)}catch(tt){O("Failed to parse JSON response for "+$+": "+_e.responseText)}j(null,et)}else 401!==_e.status&&404!==_e.status&&O("Got unsuccessful REST response for "+$+" Status: "+_e.status),j(_e.status);j=null}},_e.open("GET",$,!0),_e.send()})}function Vc(o,i,s){this.type=Wc,this.source=o,this.path=i,this.children=s}function Xc(o,i){this.rf={},this.Vc=new Mb(o),this.va=i;var s=1E4+2E4*Math.random();Mc(q(this.lf,this),Math.floor(s))}function $c(o){return o=o.toString(),Yc[o]||(Yc[o]=new Kb),Yc[o]}function ad(o,i){var s=o.toString();return Zc[s]||(Zc[s]=i()),Zc[s]}function cd(o,i,s,j){this.Yd=o,this.f=yc(this.Yd),this.frames=this.zc=null,this.pb=this.qb=this.De=0,this.Va=$c(i),o={v:"5"},"undefined"!=typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(o.r="f"),s&&(o.s=s),j&&(o.ls=j),this.Je=Jb(i,"websocket",o)}function fd(o,i){if(o.frames.push(i),o.frames.length==o.De){var s=o.frames.join("");o.frames=null,s=ob(s),o.Xf(s)}}function ed(o){clearInterval(o.zc),o.zc=setInterval(function(){o.Ia&&gd(o,"0"),ed(o)},Math.floor(45E3))}function gd(o,i){try{o.Ia.send(i)}catch(s){o.f("Exception thrown from WebSocket.send():",s.message||s.data,"Closing connection."),setTimeout(q(o.bb,o),0)}}function hd(){this.fb={}}function jd(o,i){var s=i.type,j=i.Xa;H("child_added"==s||"child_changed"==s||"child_removed"==s,"Only child changes supported for tracking"),H(".priority"!==j,"Only non-priority child changes can be tracked.");var _=w(o.fb,j);if(_){var $=_.type;if("child_added"==s&&"child_removed"==$)o.fb[j]=new I("child_changed",i.Ja,j,_.Ja);else if("child_removed"==s&&"child_added"==$)delete o.fb[j];else if("child_removed"==s&&"child_changed"==$)o.fb[j]=new I("child_removed",_.oe,j);else if("child_changed"==s&&"child_added"==$)o.fb[j]=new I("child_added",i.Ja,j);else if("child_changed"==s&&"child_changed"==$)o.fb[j]=new I("child_changed",i.Ja,j,_.oe);else throw sc("Illegal combination of changes: "+i+" occurred after "+_)}else o.fb[j]=i}function kd(o){this.V=o,this.g=o.m.g}function ld(o,i,s,j){var _=[],$=[];return Ja(i,function(_e){"child_changed"===_e.type&&o.g.nd(_e.oe,_e.Ja)&&$.push(new I("child_moved",_e.Ja,_e.Xa))}),md(o,_,"child_removed",i,j,s),md(o,_,"child_added",i,j,s),md(o,_,"child_moved",$,j,s),md(o,_,"child_changed",i,j,s),md(o,_,cc,i,j,s),_}function md(o,i,s,j,_,$){j=Ka(j,function(_e){return _e.type===s}),Sa(j,q(o.Ff,o)),Ja(j,function(_e){var et=nd(o,_e,$);Ja(_,function(tt){tt.nf(_e.type)&&i.push(tt.createEvent(et,o.V))})})}function nd(o,i,s){return"value"!==i.type&&"child_removed"!==i.type&&(i.Dd=s.Ve(i.Xa,i.Ja,o.g)),i}function od(o,i){this.Sd=o,this.Df=i}function pd(o){this.U=o}function xd(o,i,s,j,_,$){var _e=i.N;if(null!=j.lc(s))return i;var et;if(s.e())H(dc(i.w()),"If change path is empty, we must have complete server data"),ec(i.w())?(_=ac(i),j=j.rc(_ instanceof P?_:G)):j=j.Aa(ac(i)),$=o.U.ya(i.N.j(),j,$);else{var tt=J(s);if(".priority"==tt)H(1==Ad(s),"Can't have a priority with additional path components"),$=_e.j(),et=i.w().j(),j=j.ad(s,$,et),$=null==j?_e.j():o.U.fa($,j);else{var nt=D(s);Zb(_e,tt)?(et=i.w().j(),j=j.ad(s,_e.j(),et),j=null==j?_e.j().Q(tt):_e.j().Q(tt).F(nt,j)):j=j.qc(tt,i.w()),$=null==j?_e.j():o.U.F(_e.j(),tt,j,nt,_,$)}}return vd(i,$,_e.da||s.e(),o.U.Na())}function rd(o,i,s,j,_,$,_e,et){var tt=i.w();if(_e=_e?o.U:o.U.Ub(),s.e())j=_e.ya(tt.j(),j,null);else if(_e.Na()&&!tt.Sb)j=tt.j().F(s,j),j=_e.ya(tt.j(),j,null);else{var nt=J(s);if(!fc(tt,s)&&1document.domain=\""+document.domain+"\";"),o=""+o+"";try{this.Ea.gb.open(),this.Ea.gb.write(o),this.Ea.gb.close()}catch(_){E("frame writing exception"),_.stack&&E(_.stack),E(_)}}function we(o){if(o.Ud&&o.Kd&&o.te.count()<(0=o.Qc[0].Oe.length+30+s.length;){var _=o.Qc.shift(),s=s+"&seg"+j+"="+_.jg+"&ts"+j+"="+_.pg+"&d"+j+"="+_.Oe;j++}return xe(o,i+s,o.Zd),!0}return!1}function xe(o,i,s){function j(){o.te.remove(s),we(o)}o.te.add(s,1);var _=setTimeout(j,Math.floor(25E3));ve(o,i,function(){clearTimeout(_),j()})}function ve(o,i,s){setTimeout(function(){try{if(o.Kd){var j=o.Ea.gb.createElement("script");j.type="text/javascript",j.async=!0,j.src=i,j.onload=j.onreadystatechange=function(){var _=j.readyState;_&&"loaded"!==_&&"complete"!==_||(j.onload=j.onreadystatechange=null,j.parentNode&&j.parentNode.removeChild(j),s())},j.onerror=function(){E("Long-poll script failed to load: "+i),o.Kd=!1,o.close()},o.Ea.gb.body.appendChild(j)}}catch(_){}},Math.floor(1))}function ye(o){ze(this,o)}function ze(o,i){var s=cd&&cd.isAvailable(),j=s&&!(yb.Ze||!0===yb.get("previous_websocket_failure"));if(i.qg&&(s||O("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),j=!0),j)o.Wc=[cd];else{var _=o.Wc=[];Ic(Ae,function($,_e){_e&&_e.isAvailable()&&_.push(_e)})}}function Be(o){if(0=o.pf?(o.f("Secondary connection is healthy."),o.Bb=!0,o.D.sd(),o.D.start(),o.f("sending client ack on secondary"),o.D.send({t:"c",d:{t:"a",d:{}}}),o.f("Ending transmission on primary"),o.I.send({t:"c",d:{t:"n",d:{}}}),o.Xc=o.D,Ie(o)):(o.f("sending ping on secondary."),o.D.send({t:"c",d:{t:"p",d:{}}}))}function Ke(o){o.Bb||(o.ve--,0>=o.ve&&(o.f("Primary connection is healthy."),o.Bb=!0,o.I.sd()))}function He(o,i){o.D=new i("c:"+o.id+":"+o.Ke++,o.L,o.qf),o.pf=i.responsesRequiredToBeHealthy||0,o.D.open(Ee(o,o.D),Fe(o,o.D)),Mc(function(){o.D&&(o.f("Timed out trying to upgrade."),o.D.close())},Math.floor(6E4))}function Ge(o,i,s){o.f("Realtime connection established."),o.I=i,o.Ua=1,o.Lc&&(o.Lc(s,o.qf),o.Lc=null),0===o.ve?(o.f("Primary connection is healthy."),o.Bb=!0):Mc(function(){Le(o)},Math.floor(5E3))}function Le(o){o.Bb||1!==o.Ua||(o.f("sending ping on primary."),Ne(o,{t:"c",d:{t:"p",d:{}}}))}function Ne(o,i){if(1!==o.Ua)throw"Connection is not connected";o.Xc.send(i)}function Je(o){o.f("Shutting down all connections"),o.I&&(o.I.close(),o.I=null),o.D&&(o.D.close(),o.D=null),o.md&&(clearTimeout(o.md),o.md=null)}function L(o,i){if(1==arguments.length){this.o=o.split("/");for(var s=0,j=0;j=o.o.length?null:o.o[o.Y]}function Ad(o){return o.o.length-o.Y}function D(o){var i=o.Y;return i10485760/3&&10485760s?j=j.left:0_)o=this.je?o.left:o.right;else if(0===_){this.Pa.push(o);break}else this.Pa.push(o),o=this.je?o.right:o.left}function R(o){if(0===o.Pa.length)return null;var s,i=o.Pa.pop();if(s=o.Hd?o.Hd(i.key,i.value):{key:i.key,value:i.value},o.je)for(i=i.left;!i.e();)o.Pa.push(i),i=i.right;else for(i=i.right;!i.e();)o.Pa.push(i),i=i.left;return s}function zf(o){if(0===o.Pa.length)return null;var i;return i=o.Pa,i=i[i.length-1],o.Hd?o.Hd(i.key,i.value):{key:i.key,value:i.value}}function Af(o,i,s,j,_){this.key=o,this.value=i,this.color=null==s||s,this.left=null==j?wf:j,this.right=null==_?wf:_}function Bf(o){return o.left.e()?o:Bf(o.left)}function Df(o){return o.left.e()?wf:(o.left.ea()||o.left.left.ea()||(o=Ef(o)),o=o.X(null,null,null,Df(o.left),null),Cf(o))}function Cf(o){return o.right.ea()&&!o.left.ea()&&(o=Hf(o)),o.left.ea()&&o.left.left.ea()&&(o=Ff(o)),o.left.ea()&&o.right.ea()&&(o=Gf(o)),o}function Ef(o){return o=Gf(o),o.right.left.ea()&&(o=o.X(null,null,null,null,Ff(o.right)),o=Hf(o),o=Gf(o)),o}function Hf(o){return o.right.X(null,null,o.color,o.X(null,null,!0,null,o.right.left),null)}function Ff(o){return o.left.X(null,null,o.color,null,o.X(null,null,!0,o.left.right,null))}function Gf(o){return o.X(null,null,!o.color,o.left.X(null,null,!o.left.color,null,null),o.right.X(null,null,!o.right.color,null,null))}function If(){}function P(o,i,s){this.k=o,(this.aa=i)&&Sd(this.aa),o.e()&&H(!this.aa||this.aa.e(),"An empty node cannot have a priority"),this.yb=s,this.Db=null}function Qd(o,i){var s;return s=(s=Kf(o,i))?(s=s.Gc())&&s.name:o.k.Gc(),s?new K(s,o.k.get(s)):null}function Rd(o,i){var s;return s=(s=Kf(o,i))?(s=s.ec())&&s.name:o.k.ec(),s?new K(s,o.k.get(s)):null}function Kf(o,i){return i===Fd?null:o.yb.get(i.toString())}function M(o,i){if(null===o)return G;var s=null;if("object"==typeof o&&".priority"in o?s=o[".priority"]:"undefined"!=typeof i&&(s=i),H(null===s||"string"==typeof s||"number"==typeof s||"object"==typeof s&&".sv"in s,"Invalid priority type found: "+typeof s),"object"==typeof o&&".value"in o&&null!==o[".value"]&&(o=o[".value"]),"object"!=typeof o||".sv"in o)return new qc(o,M(s));if(o instanceof Array){var j=G,_=o;return r(_,function(at,dt){if(cb(_,dt)&&"."!==dt.substring(0,1)){var ot=M(at);(ot.J()||!ot.e())&&(j=j.T(dt,ot))}}),j.fa(M(s))}var $=[],_e=!1,et=o;if(db(et,function(at){if("string"!=typeof at||"."!==at.substring(0,1)){var dt=M(et[at]);dt.e()||(_e=_e||!dt.C().e(),$.push(new K(at,dt)))}}),0==$.length)return G;var tt=le($,gc,function(at){return at.name},ic);if(_e){var nt=le($,Pd(N));return new P(tt,M(s),new je({".priority":nt},{".priority":N}))}return new P(tt,M(s),ne)}function Mf(o){this.count=parseInt(Math.log(o+1)/Lf,10),this.Ne=this.count-1,this.Cf=o+1&parseInt(Array(this.count+1).join("1"),2)}function Nf(o){var i=!(o.Cf&1<$.Bc,"Stacking an older write on top of newer ones"),n(_e)||(_e=!0),$.la.push({path:i,Ga:s,Zc:j,visible:_e}),_e&&($.S=sg($.S,i,s)),$.Bc=j,_?fh(o,new Ab(ng,i,s)):[]}function gh(o,i,s,j){var _=o.jb;return H(j>_.Bc,"Stacking an older merge on top of newer ones"),_.la.push({path:i,children:s,Zc:j,visible:!0}),_.S=tg(_.S,i,s),_.Bc=j,s=bg(s),fh(o,new Vc(ng,i,s))}function hh(o,i,s){s=s||!1;var j=Dg(o.jb,i);if(o.jb.Ed(i)){var _=Q;return null==j.Ga?db(j.children,function($,_e){_=_.set(new L($),_e)}):_=_.set(C,!0),fh(o,new mg(j.path,_,s))}return[]}function ih(o,i,s){return s=bg(s),fh(o,new Vc(pg,i,s))}function jh(o,i,s,j){if(j=kh(o,j),null!=j){var _=lh(j);return j=_.path,_=_.Hb,i=T(j,i),s=new Ab(new og(!1,!0,_,!0),i,s),mh(o,j,s)}return[]}function nh(o,i,s,j){if(j=kh(o,j)){var _=lh(j);return j=_.path,_=_.Hb,i=T(j,i),s=bg(s),s=new Vc(new og(!1,!0,_,!0),i,s),mh(o,j,s)}return[]}function rh(o){return eg(o,function(i,s,j){if(s&&null!=zg(s))return[zg(s)];var _=[];return s&&(_=Ag(s)),r(j,function($){_=_.concat($)}),_})}function vh(o,i){for(var j,s=0;ss?Math.max(0,o.length+s):s,p(o))return p(i)&&1==i.length?o.indexOf(i,s):-1;for(;sparseFloat(o))?i+"":o)})();var Ya=null,Za=null,$a=null,gb=firebase.Promise;vb.prototype.set=function(o,i){null==i?delete this.pc[o]:this.pc[o]=i},vb.prototype.get=function(o){return cb(this.pc,o)?this.pc[o]:null},vb.prototype.remove=function(o){delete this.pc[o]},vb.prototype.Ze=!0,g=wb.prototype,g.set=function(o,i){null==i?this.uc.removeItem(this.Cd+o):this.uc.setItem(this.Cd+o,B(i))},g.get=function(o){return o=this.uc.getItem(this.Cd+o),null==o?null:ob(o)},g.remove=function(o){this.uc.removeItem(this.Cd+o)},g.Ze=!1,g.toString=function(){return this.uc.toString()};var yb=xb("localStorage"),zb=xb("sessionStorage");Ab.prototype.Mc=function(o){return this.path.e()?new Ab(this.source,C,this.Ga.Q(o)):new Ab(this.source,D(this.path),this.Ga)},Ab.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" overwrite: "+this.Ga.toString()+")"},Cb.prototype.Mc=function(){return this.path.e()?new Cb(this.source,C):new Cb(this.source,D(this.path))},Cb.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" listen_complete)"},Eb.prototype.getToken=function(o){return this.oc.INTERNAL.getToken(o).then(null,function(i){return i&&"auth/token-not-initialized"===i.code?(E("Got auth/token-not-initialized error. Treating as null token."),null):Promise.reject(i)})},Gb.prototype.j=function(o){return this.Jd.P(o)},Gb.prototype.toString=function(){return this.Jd.toString()},Hb.prototype.toString=function(){var o=(this.Sc?"https://":"http://")+this.host;return this.gf&&(o+="<"+this.gf+">"),o},Kb.prototype.get=function(){return za(this.tc)},Mb.prototype.get=function(){var o=this.Ef.get(),i=za(o);if(this.rd)for(var s in this.rd)i[s]-=this.rd[s];return this.rd=o,i},Pb.prototype.add=function(o){this.jd.push(o)},Pb.prototype.Yb=function(){return this.qa},Ub.prototype.Yb=function(){var o=this.Md.wb();return"value"===this.hd?o.path:o.getParent().path},Ub.prototype.ee=function(){return this.hd},Ub.prototype.Tb=function(){return this.$d.Tb(this)},Ub.prototype.toString=function(){return this.Yb().toString()+":"+this.hd+":"+B(this.Md.Qe())},Vb.prototype.Yb=function(){return this.path},Vb.prototype.ee=function(){return"cancel"},Vb.prototype.Tb=function(){return this.$d.Tb(this)},Vb.prototype.toString=function(){return this.path.toString()+":cancel"},Wb.prototype.Te=function(){return null},Wb.prototype.de=function(){return null};var Xb=new Wb;Yb.prototype.Te=function(o){var i=this.Ka.N;return Zb(i,o)?i.j().Q(o):(i=null==this.yd?this.Ka.w():new $b(this.yd,!0,!1),this.xf.qc(o,i))},Yb.prototype.de=function(o,i,s){var j=null==this.yd?ac(this.Ka):this.yd;return o=this.xf.Wd(j,i,1,s,o),0===o.length?null:o[0]};var cc="value";$b.prototype.j=function(){return this.A};var rc=function(){var o=1;return function(){return o++}}(),H=kb,sc=lb,Tb=null,wc=!0,Kc=/^-?\d{1,10}$/;g=Qc.prototype,g.$e=function(o,i,s,j){var _=o.path.toString();this.f("Listen called for "+_+" "+o.ja());var $=Rc(o,s),_e={};this.$[$]=_e,o=Tc(o.m);var et=this;Uc(this,_+".json",o,function(tt,nt){var at=nt;404===tt&&(tt=at=null),null===tt&&et.Gb(_,at,!1,s),w(et.$,$)===_e&&j(tt?401==tt?"permission_denied":"rest_error:"+tt:"ok",null)})},g.uf=function(o,i){var s=Rc(o,i);delete this.$[s]},g.kf=function(){},g.pe=function(){},g.cf=function(){},g.xd=function(){},g.put=function(){},g.af=function(){},g.we=function(){},Vc.prototype.Mc=function(o){return this.path.e()?(o=this.children.subtree(new L(o)),o.e()?null:o.value?new Ab(this.source,C,o.value):new Vc(this.source,C,o)):(H(J(this.path)===o,"Can't get a merge for a child not on the path of the operation"),new Vc(this.source,D(this.path),this.children))},Vc.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},Xc.prototype.lf=function(){var j,o=this.Vc.get(),i={},s=!1;for(j in o)0=_.length){var $=+_;if(!isNaN($)){j.De=$,j.frames=[],_=null;break a}}j.De=1,j.frames=[]}null!==_&&fd(j,_)}},this.Ia.onerror=function(_){j.f("WebSocket error. Closing connection."),(_=_.message||_.data)&&j.f(_),j.bb()}},cd.prototype.start=function(){},cd.isAvailable=function(){var o=!1;if("undefined"!=typeof navigator&&navigator.userAgent){var i=navigator.userAgent.match(/Android ([0-9]{0,}\.[0-9]{0,})/);i&&1parseFloat(i[1])&&(o=!0)}return!o&&null!==bd&&!dd},cd.responsesRequiredToBeHealthy=2,cd.healthyTimeout=3E4,g=cd.prototype,g.sd=function(){yb.remove("previous_websocket_failure")},g.send=function(o){ed(this),o=B(o),this.qb+=o.length,Lb(this.Va,"bytes_sent",o.length),o=Hc(o,16384),1=this.g.compare(this.Uc,o)&&0>=this.g.compare(o,this.vc)},g.F=function(o,i,s,j,_,$){return this.matches(new K(i,s))||(s=G),this.fe.F(o,i,s,j,_,$)},g.ya=function(o,i,s){i.J()&&(i=G);var j=i.nb(this.g),j=j.fa(G),_=this;return i.O(N,function($,_e){_.matches(new K($,_e))||(j=j.T($,G))}),this.fe.ya(o,j,s)},g.fa=function(o){return o},g.Na=function(){return!0},g.Ub=function(){return this.fe},g=Md.prototype,g.F=function(o,i,s,j,_,$){return this.sa.matches(new K(i,s))||(s=G),o.Q(i).Z(s)?o:o.Eb()=this.g.compare(this.sa.Uc,$):0>=this.g.compare($,this.sa.vc))j=j.T($.name,$.R),_++;else break}}else{j=i.nb(this.g),j=j.fa(G);var et,tt,nt;if(this.Ib){i=j.We(this.g),et=this.sa.vc,tt=this.sa.Uc;var at=Pd(this.g);nt=function(ot,it){return at(it,ot)}}else i=j.Wb(this.g),et=this.sa.Uc,tt=this.sa.vc,nt=Pd(this.g);for(var _=0,dt=!1;0=nt(et,$)&&(dt=!0),(_e=dt&&_=nt($,tt))?_++:j=j.T($.name,G)}return this.sa.Ub().ya(o,j,s)},g.fa=function(o){return o},g.Na=function(){return!0},g.Ub=function(){return this.sa.Ub()};var Td=["object","boolean","number","string"];g=qc.prototype,g.J=function(){return!0},g.C=function(){return this.aa},g.fa=function(o){return new qc(this.B,o)},g.Q=function(o){return".priority"===o?this.aa:G},g.P=function(o){return o.e()?this:".priority"===J(o)?this.aa:G},g.Da=function(){return!1},g.Ve=function(){return null},g.T=function(o,i){return".priority"===o?this.fa(i):i.e()&&".priority"!==o?this:G.T(o,i).fa(this.aa)},g.F=function(o,i){var s=J(o);return null===s?i:i.e()&&".priority"!==s?this:(H(".priority"!==s||1===Ad(o),".priority must be the last token in a path"),this.T(s,G.F(D(o),i)))},g.e=function(){return!1},g.Eb=function(){return 0},g.O=function(){return!1},g.H=function(o){return o&&!this.C().e()?{".value":this.Ca(),".priority":this.C().H()}:this.Ca()},g.hash=function(){if(null===this.Db){var o="";this.aa.e()||(o+="priority:"+Ud(this.aa.H())+":");var i=typeof this.B,o=o+(i+":"),o="number"==i?o+Jc(this.B):o+this.B;this.Db=uc(o)}return this.Db},g.Ca=function(){return this.B},g.sc=function(o){if(o===G)return 1;if(o instanceof P)return-1;H(o.J(),"Unknown node type");var i=typeof o.B,s=typeof this.B,j=Ia(Td,i),_=Ia(Td,s);return H(0<=j,"Unknown leaf type: "+i),H(0<=_,"Unknown leaf type: "+s),j===_?"object"==s?0:this.B=this.o.length)return null;for(var o=[],i=this.Y;i=this.o.length},g.Z=function(o){if(Ad(this)!==Ad(o))return!1;for(var i=this.Y,s=o.Y;i<=this.o.length;i++,s++)if(this.o[i]!==o.o[s])return!1;return!0},g.contains=function(o){var i=this.Y,s=o.Y;if(Ad(this)>Ad(o))return!1;for(;i$;$++)i[$]=Math.floor(64*Math.random());for($=0;12>$;$++)s+="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".charAt(i[$]);return H(20===s.length,"nextPushId: Length should be 20."),s}}();g=vf.prototype,g.Oa=function(o,i){return new vf(this.La,this.ba.Oa(o,i,this.La).X(null,null,!1,null,null))},g.remove=function(o){return new vf(this.La,this.ba.remove(o,this.La).X(null,null,!1,null,null))},g.get=function(o){for(var i,s=this.ba;!s.e();){if(i=this.La(o,s.key),0===i)return s.value;0>i?s=s.left:0j?_.X(null,null,null,_.left.Oa(o,i,s),null):0===j?_.X(null,i,null,null,null):_.X(null,null,null,null,_.right.Oa(o,i,s)),Cf(_)},g.remove=function(o,i){var s,j;if(s=this,0>i(o,s.key))s.left.e()||s.left.ea()||s.left.left.ea()||(s=Ef(s)),s=s.X(null,null,null,s.left.remove(o,i),null);else{if(s.left.ea()&&(s=Ff(s)),s.right.e()||s.right.ea()||s.right.left.ea()||(s=Gf(s),s.left.left.ea()&&(s=Ff(s),s=Gf(s))),0===i(o,s.key)){if(s.right.e())return wf;j=Bf(s.right),s=s.X(j.key,j.value,null,null,Df(s.right))}s=s.X(null,null,null,null,s.right.remove(o,i))}return Cf(s)},g.ea=function(){return this.color},g=If.prototype,g.X=function(){return this},g.Oa=function(o,i){return new Af(o,i,null)},g.remove=function(){return this},g.count=function(){return 0},g.e=function(){return!0},g.ha=function(){return!1},g.Gc=function(){return null},g.ec=function(){return null},g.ea=function(){return!1};var wf=new If;g=P.prototype,g.J=function(){return!1},g.C=function(){return this.aa||G},g.fa=function(o){return this.k.e()?this:new P(this.k,o,this.yb)},g.Q=function(o){return".priority"===o?this.C():(o=this.k.get(o),null===o?G:o)},g.P=function(o){var i=J(o);return null===i?this:this.Q(i).P(D(o))},g.Da=function(o){return null!==this.k.get(o)},g.T=function(o,i){if(H(i,"We should always be passing snapshot nodes"),".priority"===o)return this.fa(i);var j,_,s=new K(o,i);return i.e()?(j=this.k.remove(o),s=me(this.yb,s,this.k)):(j=this.k.Oa(o,i),s=ke(this.yb,s,this.k)),_=j.e()?G:this.aa,new P(j,_,s)},g.F=function(o,i){var s=J(o);if(null===s)return i;H(".priority"!==J(o)||1===Ad(o),".priority must be the last token in a path");var j=this.Q(s).F(D(o),i);return this.T(s,j)},g.e=function(){return this.k.e()},g.Eb=function(){return this.k.count()};var Jf=/^(0|[1-9]\d*)$/;g=P.prototype,g.H=function(o){if(this.e())return null;var i={},s=0,j=0,_=!0;if(this.O(N,function(et,tt){i[et]=tt.H(o),s++,_&&Jf.test(et)?j=Math.max(j,+et):_=!1}),!o&&_&&j<2*s){var _e,$=[];for(_e in i)$[_e]=i[_e];return $}return o&&!this.C().e()&&(i[".priority"]=this.C().H()),i},g.hash=function(){if(null===this.Db){var o="";this.C().e()||(o+="priority:"+Ud(this.C().H())+":"),this.O(N,function(i,s){var j=s.hash();""!==j&&(o+=":"+i+":"+j)}),this.Db=""==o?"":uc(o)}return this.Db},g.Ve=function(o,i,s){return(s=Kf(this,s))?(o=xf(s,new K(o,i)))?o.name:null:xf(this.k,o)},g.O=function(o,i){var s=Kf(this,o);return s?s.ha(function(j){return i(j.name,j.R)}):this.k.ha(i)},g.Wb=function(o){return this.Xb(o.Hc(),o)},g.Xb=function(o,i){var s=Kf(this,i);if(s)return s.Xb(o,function(_){return _});for(var s=this.k.Xb(o.name,jc),j=zf(s);null!=j&&0>i.compare(j,o);)R(s),j=zf(s);return s},g.We=function(o){return this.Zb(o.Fc(),o)},g.Zb=function(o,i){var s=Kf(this,i);if(s)return s.Zb(o,function(_){return _});for(var s=this.k.Zb(o.name,jc),j=zf(s);null!=j&&0=o)throw Error("Query.limitToFirst: First argument must be a positive integer.");if(this.m.xa)throw Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new X(this.u,this.path,this.m.le(o),this.Nc)},g.me=function(o){if(x("Query.limitToLast",1,1,arguments.length),!ga(o)||Math.floor(o)!==o||0>=o)throw Error("Query.limitToLast: First argument must be a positive integer.");if(this.m.xa)throw Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new X(this.u,this.path,this.m.me(o),this.Nc)},g.ag=function(o){if(x("Query.orderByChild",1,1,arguments.length),"$key"===o)throw Error("Query.orderByChild: \"$key\" is invalid. Use Query.orderByKey() instead.");if("$priority"===o)throw Error("Query.orderByChild: \"$priority\" is invalid. Use Query.orderByPriority() instead.");if("$value"===o)throw Error("Query.orderByChild: \"$value\" is invalid. Use Query.orderByValue() instead.");lf("Query.orderByChild",o),Xf(this,"Query.orderByChild");var i=new L(o);if(i.e())throw Error("Query.orderByChild: cannot pass in empty path. Use Query.orderByValue() instead.");return i=new Yd(i),i=he(this.m,i),Vf(i),new X(this.u,this.path,i,!0)},g.bg=function(){x("Query.orderByKey",0,0,arguments.length),Xf(this,"Query.orderByKey");var o=he(this.m,Fd);return Vf(o),new X(this.u,this.path,o,!0)},g.cg=function(){x("Query.orderByPriority",0,0,arguments.length),Xf(this,"Query.orderByPriority");var o=he(this.m,N);return Vf(o),new X(this.u,this.path,o,!0)},g.dg=function(){x("Query.orderByValue",0,0,arguments.length),Xf(this,"Query.orderByValue");var o=he(this.m,de);return Vf(o),new X(this.u,this.path,o,!0)},g.Nd=function(o,i){x("Query.startAt",0,2,arguments.length),df("Query.startAt",o,this.path,!0),kf("Query.startAt",i);var s=this.m.Nd(o,i);if(Wf(s),Vf(s),this.m.ka)throw Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return n(o)||(i=o=null),new X(this.u,this.path,s,this.Nc)},g.gd=function(o,i){x("Query.endAt",0,2,arguments.length),df("Query.endAt",o,this.path,!0),kf("Query.endAt",i);var s=this.m.gd(o,i);if(Wf(s),Vf(s),this.m.na)throw Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new X(this.u,this.path,s,this.Nc)},g.If=function(o,i){if(x("Query.equalTo",1,2,arguments.length),df("Query.equalTo",o,this.path,!1),kf("Query.equalTo",i),this.m.ka)throw Error("Query.equalTo: Starting point was already set (by another call to endAt or equalTo).");if(this.m.na)throw Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.Nd(o,i).gd(o,i)},g.toString=function(){x("Query.toString",0,0,arguments.length);for(var o=this.path,i="",s=o.Y;s=i&&Eg(_e,s.path)?j=!1:s.path.contains(_e.path)&&(_=!0)),$--;if(j){if(_)this.S=Fg(this.la,Gg,C),this.Bc=0b?e+="000":256>b?e+="00":4096>b&&(e+="0");return qa[a]=e+b.toString(16)}),'"')};function sa(){this.Wa=-1};function ta(){this.Wa=-1;this.Wa=64;this.M=[];this.Wd=[];this.Af=[];this.zd=[];this.zd[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.M[0];c=a.M[1];for(var h=a.M[2],k=a.M[3],m=a.M[4],l,e=0;80>e;e++)40>e?20>e?(f=k^c&(h^k),l=1518500249):(f=c^h^k,l=1859775393):60>e?(f=c&h|k&(c|h),l=2400959708):(f=c^h^k,l=3395469782),f=(b<< +5|b>>>27)+f+m+l+d[e]&4294967295,m=k,k=h,h=(c<<30|c>>>2)&4294967295,c=b,b=f;a.M[0]=a.M[0]+b&4294967295;a.M[1]=a.M[1]+c&4294967295;a.M[2]=a.M[2]+h&4294967295;a.M[3]=a.M[3]+k&4294967295;a.M[4]=a.M[4]+m&4294967295} +ta.prototype.update=function(a,b){if(null!=a){n(b)||(b=a.length);for(var c=b-this.Wa,d=0,e=this.Wd,f=this.$b;dc?Math.max(0,a.length+c):c;if(p(a))return p(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc?null:p(a)?a.charAt(c):a[c]}function Ea(a,b,c){for(var d=a.length,e=p(a)?a.split(""):a,f=0;f=arguments.length?t.slice.call(a,b):t.slice.call(a,b,c)} +function Ha(a,b){a.sort(b||Ia)}function Ia(a,b){return a>b?1:aparseFloat(a))?String(b):a})();var Ya=null,Za=null,$a=null;function ab(a,b){if(!fa(a))throw Error("encodeByteArray takes an array as a parameter");bb();for(var c=b?Za:Ya,d=[],e=0;e>2,f=(f&3)<<4|k>>4,k=(k&15)<<2|l>>6,l=l&63;m||(l=64,h||(k=64));d.push(c[u],c[f],c[k],c[l])}return d.join("")} +function bb(){if(!Ya){Ya={};Za={};$a={};for(var a=0;65>a;a++)Ya[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Za[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),$a[Za[a]]=a,62<=a&&($a["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)]=a)}};function cb(a,b){if(!a)throw db(b);}function db(a){return Error("Firebase Database ("+firebase.SDK_VERSION+") INTERNAL ASSERT FAILED: "+a)};function eb(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function w(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a[b]}function fb(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(c,a[c])};function gb(a){var b=[];fb(a,function(a,d){ea(d)?ya(d,function(d){b.push(encodeURIComponent(a)+"="+encodeURIComponent(d))}):b.push(encodeURIComponent(a)+"="+encodeURIComponent(d))});return b.length?"&"+b.join("&"):""};var hb=firebase.Promise;function ib(){var a=this;this.reject=this.resolve=null;this.ra=new hb(function(b,c){a.resolve=b;a.reject=c})}function jb(a,b){return function(c,d){c?a.reject(c):a.resolve(d);ha(b)&&(kb(a.ra),1===b.length?b(c):b(c,d))}}function kb(a){a.then(void 0,ba)};function lb(a){return"undefined"!==typeof JSON&&n(JSON.parse)?JSON.parse(a):ma(a)}function x(a){if("undefined"!==typeof JSON&&n(JSON.stringify))a=JSON.stringify(a);else{var b=[];oa(new na,a,b);a=b.join("")}return a};function mb(a){for(var b=[],c=0,d=0;d=e&&(e-=55296,d++,cb(de?b[c++]=e:(2048>e?b[c++]=e>>6|192:(65536>e?b[c++]=e>>12|224:(b[c++]=e>>18|240,b[c++]=e>>12&63|128),b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b}function nb(a){for(var b=0,c=0;cd?b++:2048>d?b+=2:55296<=d&&56319>=d?(b+=4,c++):b+=3}return b};function y(a,b,c,d){var e;dc&&(e=0===c?"none":"no more than "+c);if(e)throw Error(a+" failed: Was called with "+d+(1===d?" argument.":" arguments.")+" Expects "+e+".");}function A(a,b,c){var d="";switch(b){case 1:d=c?"first":"First";break;case 2:d=c?"second":"Second";break;case 3:d=c?"third":"Third";break;case 4:d=c?"fourth":"Fourth";break;default:throw Error("errorPrefix called with argumentNumber > 4. Need to update it?");}return a=a+" failed: "+(d+" argument ")} +function B(a,b,c,d){if((!d||n(c))&&!ha(c))throw Error(A(a,b,d)+"must be a valid function.");}function ob(a,b,c){if(n(c)&&(!ia(c)||null===c))throw Error(A(a,b,!0)+"must be a valid context object.");};function pb(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test("undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:"")};function C(a,b){this.name=a;this.R=b}function qb(a,b){return new C(a,b)};function rb(a,b){return sb(a.name,b.name)}function tb(a,b){return sb(a,b)};function ub(a){this.uc=a;this.Cd="firebase:"}g=ub.prototype;g.set=function(a,b){null==b?this.uc.removeItem(this.Cd+a):this.uc.setItem(this.Cd+a,x(b))};g.get=function(a){a=this.uc.getItem(this.Cd+a);return null==a?null:lb(a)};g.remove=function(a){this.uc.removeItem(this.Cd+a)};g.Ze=!1;g.toString=function(){return this.uc.toString()};function vb(){this.pc={}}vb.prototype.set=function(a,b){null==b?delete this.pc[a]:this.pc[a]=b};vb.prototype.get=function(a){return eb(this.pc,a)?this.pc[a]:null};vb.prototype.remove=function(a){delete this.pc[a]};vb.prototype.Ze=!0;function wb(a){try{if("undefined"!==typeof window&&"undefined"!==typeof window[a]){var b=window[a];b.setItem("firebase:sentinel","cache");b.removeItem("firebase:sentinel");return new ub(b)}}catch(c){}return new vb}var xb=wb("localStorage"),yb=wb("sessionStorage");function zb(a,b,c,d,e){this.host=a.toLowerCase();this.domain=this.host.substr(this.host.indexOf(".")+1);this.Sc=b;this.pe=c;this.qg=d;this.gf=e||"";this.$a=xb.get("host:"+a)||this.host}function Ab(a,b){b!==a.$a&&(a.$a=b,"s-"===a.$a.substr(0,2)&&xb.set("host:"+a.host,a.$a))} +function Bb(a,b,c){D("string"===typeof b,"typeof type must == string");D("object"===typeof c,"typeof params must == object");if(b===Cb)b=(a.Sc?"wss://":"ws://")+a.$a+"/.ws?";else if(b===Db)b=(a.Sc?"https://":"http://")+a.$a+"/.lp?";else throw Error("Unknown connection type: "+b);a.host!==a.$a&&(c.ns=a.pe);var d=[];v(c,function(a,b){d.push(b+"="+a)});return b+d.join("&")}zb.prototype.toString=function(){var a=(this.Sc?"https://":"http://")+this.host;this.gf&&(a+="<"+this.gf+">");return a};function Eb(a,b){return a&&"object"===typeof a?(D(".sv"in a,"Unexpected leaf node or priority contents"),b[a[".sv"]]):a}function Fb(a,b){var c=new Gb;Hb(a,new E(""),function(a,e){Ib(c,a,Jb(e,b))});return c}function Jb(a,b){var c=a.C().H(),c=Eb(c,b),d;if(a.J()){var e=Eb(a.Ca(),b);return e!==a.Ca()||c!==a.C().H()?new Kb(e,G(c)):a}d=a;c!==a.C().H()&&(d=d.fa(new Kb(c)));a.O(H,function(a,c){var e=Jb(c,b);e!==c&&(d=d.T(a,e))});return d};var Lb=function(){var a=1;return function(){return a++}}(),D=cb,Mb=db; +function Nb(a){try{var b;bb();for(var c=$a,d=[],e=0;e>4);64!=k&&(d.push(h<<4&240|k>>2),64!=m&&d.push(k<<6&192|m))}if(8192>d.length)b=String.fromCharCode.apply(null,d);else{a="";for(c=0;ca.$b?a.update(a.zd,56-a.$b):a.update(a.zd,a.Wa-(a.$b-56));for(var d=a.Wa-1;56<=d;d--)a.Wd[d]=c&255,c/=256;ua(a,a.Wd);for(d=c=0;5>d;d++)for(var e=24;0<=e;e-=8)b[c]=a.M[d]>>e&255,++c;return ab(b)}function Pb(a){for(var b="",c=0;c.firebaseio.com instead"); +c&&"undefined"!=c||Vb("Cannot parse Firebase url. Please use https://.firebaseio.com");d||"undefined"!==typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&J("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().");return{jc:new zb(b,d,c,"ws"===e||"wss"===e),path:new E(f)}}function Xb(a){return ga(a)&&(a!=a||a==Number.POSITIVE_INFINITY||a==Number.NEGATIVE_INFINITY)} +function Yb(a){if("complete"===document.readyState)a();else{var b=!1,c=function(){document.body?b||(b=!0,a()):setTimeout(c,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",c,!1),window.addEventListener("load",c,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&c()}),window.attachEvent("onload",c))}} +function sb(a,b){if(a===b)return 0;if("[MIN_NAME]"===a||"[MAX_NAME]"===b)return-1;if("[MIN_NAME]"===b||"[MAX_NAME]"===a)return 1;var c=Zb(a),d=Zb(b);return null!==c?null!==d?0==c-d?a.length-b.length:c-d:-1:null!==d?1:aa?c.push(a.substring(d,a.length)):c.push(a.substring(d,d+b));return c}function cc(a,b){if(ea(a))for(var c=0;ca,a=Math.abs(a),a>=Math.pow(2,-1022)?(d=Math.min(Math.floor(Math.log(a)/Math.LN2),1023),c=d+1023,d=Math.round(a*Math.pow(2,52-d)-Math.pow(2,52))):(c=0,d=Math.round(a/Math.pow(2,-1074))));e=[];for(a=52;a;--a)e.push(d%2?1:0),d=Math.floor(d/2);for(a=11;a;--a)e.push(c%2?1:0),c=Math.floor(c/2);e.push(b?1:0);e.reverse();b=e.join("");c="";for(a=0;64>a;a+=8)d=parseInt(b.substr(a,8),2).toString(16),1===d.length&& +(d="0"+d),c+=d;return c.toLowerCase()}var ec=/^-?\d{1,10}$/;function Zb(a){return ec.test(a)&&(a=Number(a),-2147483648<=a&&2147483647>=a)?a:null}function fc(a){try{a()}catch(b){setTimeout(function(){J("Exception was thrown by user callback.",b.stack||"");throw b;},Math.floor(0))}}function gc(a,b,c){Object.defineProperty(a,b,{get:c})}function hc(a,b){var c=setTimeout(a,b);"object"===typeof c&&c.unref&&c.unref();return c};function ic(a){var b={},c={},d={},e="";try{var f=a.split("."),b=lb(Nb(f[0])||""),c=lb(Nb(f[1])||""),e=f[2],d=c.d||{};delete c.d}catch(h){}return{tg:b,Je:c,data:d,mg:e}}function jc(a){a=ic(a);var b=a.Je;return!!a.mg&&!!b&&"object"===typeof b&&b.hasOwnProperty("iat")}function kc(a){a=ic(a).Je;return"object"===typeof a&&!0===w(a,"admin")};function lc(){}var mc={};function nc(a){return q(a.compare,a)}lc.prototype.nd=function(a,b){return 0!==this.compare(new C("[MIN_NAME]",a),new C("[MIN_NAME]",b))};lc.prototype.Hc=function(){return oc};function pc(a){D(!a.e()&&".priority"!==K(a),"Can't create PathIndex with empty path or .priority key");this.bc=a}la(pc,lc);g=pc.prototype;g.xc=function(a){return!a.P(this.bc).e()};g.compare=function(a,b){var c=a.R.P(this.bc),d=b.R.P(this.bc),c=c.sc(d);return 0===c?sb(a.name,b.name):c}; +g.Ec=function(a,b){var c=G(a),c=L.F(this.bc,c);return new C(b,c)};g.Fc=function(){var a=L.F(this.bc,qc);return new C("[MAX_NAME]",a)};g.toString=function(){return this.bc.slice().join("/")};function rc(){}la(rc,lc);g=rc.prototype;g.compare=function(a,b){var c=a.R.C(),d=b.R.C(),c=c.sc(d);return 0===c?sb(a.name,b.name):c};g.xc=function(a){return!a.C().e()};g.nd=function(a,b){return!a.C().Z(b.C())};g.Hc=function(){return oc};g.Fc=function(){return new C("[MAX_NAME]",new Kb("[PRIORITY-POST]",qc))}; +g.Ec=function(a,b){var c=G(a);return new C(b,new Kb("[PRIORITY-POST]",c))};g.toString=function(){return".priority"};var H=new rc;function sc(){}la(sc,lc);g=sc.prototype;g.compare=function(a,b){return sb(a.name,b.name)};g.xc=function(){throw Mb("KeyIndex.isDefinedOn not expected to be called.");};g.nd=function(){return!1};g.Hc=function(){return oc};g.Fc=function(){return new C("[MAX_NAME]",L)};g.Ec=function(a){D(p(a),"KeyIndex indexValue must always be a string.");return new C(a,L)};g.toString=function(){return".key"}; +var tc=new sc;function uc(){}la(uc,lc);g=uc.prototype;g.compare=function(a,b){var c=a.R.sc(b.R);return 0===c?sb(a.name,b.name):c};g.xc=function(){return!0};g.nd=function(a,b){return!a.Z(b)};g.Hc=function(){return oc};g.Fc=function(){return vc};g.Ec=function(a,b){var c=G(a);return new C(b,c)};g.toString=function(){return".value"};var wc=new uc;function xc(a,b){this.od=a;this.cc=b}xc.prototype.get=function(a){var b=w(this.od,a);if(!b)throw Error("No index defined for "+a);return b===mc?null:b};function yc(a,b,c){var d=Ja(a.od,function(d,f){var h=w(a.cc,f);D(h,"Missing index implementation for "+f);if(d===mc){if(h.xc(b.R)){for(var k=[],m=c.Wb(qb),l=M(m);l;)l.name!=b.name&&k.push(l),l=M(m);k.push(b);return zc(k,nc(h))}return mc}h=c.get(b.name);k=d;h&&(k=k.remove(new C(b.name,h)));return k.Oa(b,b.R)});return new xc(d,a.cc)} +function Ac(a,b,c){var d=Ja(a.od,function(a){if(a===mc)return a;var d=c.get(b.name);return d?a.remove(new C(b.name,d)):a});return new xc(d,a.cc)}var Bc=new xc({".priority":mc},{".priority":H});function Kb(a,b){this.B=a;D(n(this.B)&&null!==this.B,"LeafNode shouldn't be created with null/undefined value.");this.aa=b||L;Cc(this.aa);this.Db=null}var Dc=["object","boolean","number","string"];g=Kb.prototype;g.J=function(){return!0};g.C=function(){return this.aa};g.fa=function(a){return new Kb(this.B,a)};g.Q=function(a){return".priority"===a?this.aa:L};g.P=function(a){return a.e()?this:".priority"===K(a)?this.aa:L};g.Da=function(){return!1};g.Ve=function(){return null}; +g.T=function(a,b){return".priority"===a?this.fa(b):b.e()&&".priority"!==a?this:L.T(a,b).fa(this.aa)};g.F=function(a,b){var c=K(a);if(null===c)return b;if(b.e()&&".priority"!==c)return this;D(".priority"!==c||1===Ec(a),".priority must be the last token in a path");return this.T(c,L.F(N(a),b))};g.e=function(){return!1};g.Eb=function(){return 0};g.O=function(){return!1};g.H=function(a){return a&&!this.C().e()?{".value":this.Ca(),".priority":this.C().H()}:this.Ca()}; +g.hash=function(){if(null===this.Db){var a="";this.aa.e()||(a+="priority:"+Fc(this.aa.H())+":");var b=typeof this.B,a=a+(b+":"),a="number"===b?a+dc(this.B):a+this.B;this.Db=Ob(a)}return this.Db};g.Ca=function(){return this.B};g.sc=function(a){if(a===L)return 1;if(a instanceof O)return-1;D(a.J(),"Unknown node type");var b=typeof a.B,c=typeof this.B,d=xa(Dc,b),e=xa(Dc,c);D(0<=d,"Unknown leaf type: "+b);D(0<=e,"Unknown leaf type: "+c);return d===e?"object"===c?0:this.Bf;f++)b[f]=Math.floor(64*Math.random());for(f=0;12>f;f++)c+="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".charAt(b[f]);D(20===c.length,"nextPushId: Length should be 20."); +return c}}();function Lc(){Ic.call(this,["online"]);this.hc=!0;if("undefined"!==typeof window&&"undefined"!==typeof window.addEventListener&&!pb()){var a=this;window.addEventListener("online",function(){a.hc||(a.hc=!0,a.Ge("online",!0))},!1);window.addEventListener("offline",function(){a.hc&&(a.hc=!1,a.Ge("online",!1))},!1)}}la(Lc,Ic);Lc.prototype.Ue=function(a){D("online"===a,"Unknown event type: "+a);return[this.hc]};ca(Lc);function Mc(){Ic.call(this,["visible"]);var a,b;"undefined"!==typeof document&&"undefined"!==typeof document.addEventListener&&("undefined"!==typeof document.hidden?(b="visibilitychange",a="hidden"):"undefined"!==typeof document.mozHidden?(b="mozvisibilitychange",a="mozHidden"):"undefined"!==typeof document.msHidden?(b="msvisibilitychange",a="msHidden"):"undefined"!==typeof document.webkitHidden&&(b="webkitvisibilitychange",a="webkitHidden"));this.Mb=!0;if(b){var c=this;document.addEventListener(b, +function(){var b=!document[a];b!==c.Mb&&(c.Mb=b,c.Ge("visible",b))},!1)}}la(Mc,Ic);Mc.prototype.Ue=function(a){D("visible"===a,"Unknown event type: "+a);return[this.Mb]};ca(Mc);function E(a,b){if(1==arguments.length){this.o=a.split("/");for(var c=0,d=0;d=a.o.length?null:a.o[a.Y]}function Ec(a){return a.o.length-a.Y}function N(a){var b=a.Y;b=this.o.length)return null;for(var a=[],b=this.Y;b=this.o.length};g.Z=function(a){if(Ec(this)!==Ec(a))return!1;for(var b=this.Y,c=a.Y;b<=this.o.length;b++,c++)if(this.o[b]!==a.o[c])return!1;return!0}; +g.contains=function(a){var b=this.Y,c=a.Y;if(Ec(this)>Ec(a))return!1;for(;bb?c=c.left:0c?d=d.left:0e)a=this.le?a.left:a.right;else if(0===e){this.Pa.push(a);break}else this.Pa.push(a),a=this.le?a.right:a.left} +function M(a){if(0===a.Pa.length)return null;var b=a.Pa.pop(),c;c=a.Hd?a.Hd(b.key,b.value):{key:b.key,value:b.value};if(a.le)for(b=b.left;!b.e();)a.Pa.push(b),b=b.right;else for(b=b.right;!b.e();)a.Pa.push(b),b=b.left;return c}function cd(a){if(0===a.Pa.length)return null;var b;b=a.Pa;b=b[b.length-1];return a.Hd?a.Hd(b.key,b.value):{key:b.key,value:b.value}}function dd(a,b,c,d,e){this.key=a;this.value=b;this.color=null!=c?c:!0;this.left=null!=d?d:$c;this.right=null!=e?e:$c}g=dd.prototype; +g.X=function(a,b,c,d,e){return new dd(null!=a?a:this.key,null!=b?b:this.value,null!=c?c:this.color,null!=d?d:this.left,null!=e?e:this.right)};g.count=function(){return this.left.count()+1+this.right.count()};g.e=function(){return!1};g.ha=function(a){return this.left.ha(a)||a(this.key,this.value)||this.right.ha(a)};function ed(a){return a.left.e()?a:ed(a.left)}g.Gc=function(){return ed(this).key};g.ec=function(){return this.right.e()?this.key:this.right.ec()}; +g.Oa=function(a,b,c){var d,e;e=this;d=c(a,e.key);e=0>d?e.X(null,null,null,e.left.Oa(a,b,c),null):0===d?e.X(null,b,null,null,null):e.X(null,null,null,null,e.right.Oa(a,b,c));return gd(e)};function hd(a){if(a.left.e())return $c;a.left.ea()||a.left.left.ea()||(a=id(a));a=a.X(null,null,null,hd(a.left),null);return gd(a)} +g.remove=function(a,b){var c,d;c=this;if(0>b(a,c.key))c.left.e()||c.left.ea()||c.left.left.ea()||(c=id(c)),c=c.X(null,null,null,c.left.remove(a,b),null);else{c.left.ea()&&(c=jd(c));c.right.e()||c.right.ea()||c.right.left.ea()||(c=kd(c),c.left.left.ea()&&(c=jd(c),c=kd(c)));if(0===b(a,c.key)){if(c.right.e())return $c;d=ed(c.right);c=c.X(d.key,d.value,null,null,hd(c.right))}c=c.X(null,null,null,null,c.right.remove(a,b))}return gd(c)};g.ea=function(){return this.color}; +function gd(a){a.right.ea()&&!a.left.ea()&&(a=ld(a));a.left.ea()&&a.left.left.ea()&&(a=jd(a));a.left.ea()&&a.right.ea()&&(a=kd(a));return a}function id(a){a=kd(a);a.right.left.ea()&&(a=a.X(null,null,null,null,jd(a.right)),a=ld(a),a=kd(a));return a}function ld(a){return a.right.X(null,null,a.color,a.X(null,null,!0,null,a.right.left),null)}function jd(a){return a.left.X(null,null,a.color,null,a.X(null,null,!0,a.left.right,null))} +function kd(a){return a.X(null,null,!a.color,a.left.X(null,null,!a.left.color,null,null),a.right.X(null,null,!a.right.color,null,null))}function md(){}g=md.prototype;g.X=function(){return this};g.Oa=function(a,b){return new dd(a,b,null)};g.remove=function(){return this};g.count=function(){return 0};g.e=function(){return!0};g.ha=function(){return!1};g.Gc=function(){return null};g.ec=function(){return null};g.ea=function(){return!1};var $c=new md;function O(a,b,c){this.k=a;(this.aa=b)&&Cc(this.aa);a.e()&&D(!this.aa||this.aa.e(),"An empty node cannot have a priority");this.yb=c;this.Db=null}g=O.prototype;g.J=function(){return!1};g.C=function(){return this.aa||L};g.fa=function(a){return this.k.e()?this:new O(this.k,a,this.yb)};g.Q=function(a){if(".priority"===a)return this.C();a=this.k.get(a);return null===a?L:a};g.P=function(a){var b=K(a);return null===b?this:this.Q(b).P(N(a))};g.Da=function(a){return null!==this.k.get(a)}; +g.T=function(a,b){D(b,"We should always be passing snapshot nodes");if(".priority"===a)return this.fa(b);var c=new C(a,b),d,e;b.e()?(d=this.k.remove(a),c=Ac(this.yb,c,this.k)):(d=this.k.Oa(a,b),c=yc(this.yb,c,this.k));e=d.e()?L:this.aa;return new O(d,e,c)};g.F=function(a,b){var c=K(a);if(null===c)return b;D(".priority"!==K(a)||1===Ec(a),".priority must be the last token in a path");var d=this.Q(c).F(N(a),b);return this.T(c,d)};g.e=function(){return this.k.e()};g.Eb=function(){return this.k.count()}; +var nd=/^(0|[1-9]\d*)$/;g=O.prototype;g.H=function(a){if(this.e())return null;var b={},c=0,d=0,e=!0;this.O(H,function(f,h){b[f]=h.H(a);c++;e&&nd.test(f)?d=Math.max(d,Number(f)):e=!1});if(!a&&e&&d<2*c){var f=[],h;for(h in b)f[h]=b[h];return f}a&&!this.C().e()&&(b[".priority"]=this.C().H());return b};g.hash=function(){if(null===this.Db){var a="";this.C().e()||(a+="priority:"+Fc(this.C().H())+":");this.O(H,function(b,c){var d=c.hash();""!==d&&(a+=":"+b+":"+d)});this.Db=""===a?"":Ob(a)}return this.Db}; +g.Ve=function(a,b,c){return(c=od(this,c))?(a=ad(c,new C(a,b)))?a.name:null:ad(this.k,a)};function pd(a,b){var c;c=(c=od(a,b))?(c=c.Gc())&&c.name:a.k.Gc();return c?new C(c,a.k.get(c)):null}function qd(a,b){var c;c=(c=od(a,b))?(c=c.ec())&&c.name:a.k.ec();return c?new C(c,a.k.get(c)):null}g.O=function(a,b){var c=od(this,a);return c?c.ha(function(a){return b(a.name,a.R)}):this.k.ha(b)};g.Wb=function(a){return this.Xb(a.Hc(),a)}; +g.Xb=function(a,b){var c=od(this,b);if(c)return c.Xb(a,function(a){return a});for(var c=this.k.Xb(a.name,qb),d=cd(c);null!=d&&0>b.compare(d,a);)M(c),d=cd(c);return c};g.We=function(a){return this.Zb(a.Fc(),a)};g.Zb=function(a,b){var c=od(this,b);if(c)return c.Zb(a,function(a){return a});for(var c=this.k.Zb(a.name,qb),d=cd(c);null!=d&&010485760/3&&10485760=this.g.compare(this.Uc,a)&&0>=this.g.compare(a,this.vc)};g.F=function(a,b,c,d,e,f){this.matches(new C(b,c))||(c=L);return this.he.F(a,b,c,d,e,f)}; +g.ya=function(a,b,c){b.J()&&(b=L);var d=b.nb(this.g),d=d.fa(L),e=this;b.O(H,function(a,b){e.matches(new C(a,b))||(d=d.T(a,L))});return this.he.ya(a,d,c)};g.fa=function(a){return a};g.Na=function(){return!0};g.Ub=function(){return this.he};function Re(a){this.sa=new Se(a);this.g=a.g;D(a.xa,"Only valid if limit has been set");this.oa=a.oa;this.Ib=!jf(a)}g=Re.prototype;g.F=function(a,b,c,d,e,f){this.sa.matches(new C(b,c))||(c=L);return a.Q(b).Z(c)?a:a.Eb()=this.g.compare(this.sa.Uc,f):0>=this.g.compare(f,this.sa.vc))d=d.T(f.name,f.R),e++;else break}}else{d=b.nb(this.g);d=d.fa(L);var k,m,l;if(this.Ib){b=d.We(this.g);k=this.sa.vc;m=this.sa.Uc;var u=nc(this.g);l=function(a,b){return u(b,a)}}else b=d.Wb(this.g),k=this.sa.Uc, +m=this.sa.vc,l=nc(this.g);for(var e=0,z=!1;0=l(k,f)&&(z=!0),(h=z&&e=l(f,m))?e++:d=d.T(f.name,L)}return this.sa.Ub().ya(a,d,c)};g.fa=function(a){return a};g.Na=function(){return!0};g.Ub=function(){return this.sa.Ub()}; +function kf(a,b,c,d,e,f){var h;if(a.Ib){var k=nc(a.g);h=function(a,b){return k(b,a)}}else h=nc(a.g);D(b.Eb()==a.oa,"");var m=new C(c,d),l=a.Ib?pd(b,a.g):qd(b,a.g),u=a.sa.matches(m);if(b.Da(c)){for(var z=b.Q(c),l=e.fe(a.g,l,a.Ib);null!=l&&(l.name==c||b.Da(l.name));)l=e.fe(a.g,l,a.Ib);e=null==l?1:h(l,m);if(u&&!d.e()&&0<=e)return null!=f&&df(f,new S(Ie,d,c,z)),b.T(c,d);null!=f&&df(f,new S(Le,z,c));b=b.T(c,L);return null!=l&&a.sa.matches(l)?(null!=f&&df(f,new S(Me,l.R,l.name)),b.T(l.name,l.R)):b}return d.e()? +b:u&&0<=h(l,m)?(null!=f&&(df(f,new S(Le,l.R,l.name)),df(f,new S(Me,d,c))),b.T(c,d).T(l.name,L)):b};function S(a,b,c,d){this.type=a;this.Ja=b;this.Xa=c;this.qe=d;this.Dd=void 0}function Ee(a){return new S(Ne,a)}var Me="child_added",Le="child_removed",Ie="child_changed",Je="child_moved",Ne="value";function xe(){this.fb={}} +function df(a,b){var c=b.type,d=b.Xa;D(c==Me||c==Ie||c==Le,"Only child changes supported for tracking");D(".priority"!==d,"Only non-priority child changes can be tracked.");var e=w(a.fb,d);if(e){var f=e.type;if(c==Me&&f==Le)a.fb[d]=new S(Ie,b.Ja,d,e.Ja);else if(c==Le&&f==Me)delete a.fb[d];else if(c==Le&&f==Ie)a.fb[d]=new S(Le,e.qe,d);else if(c==Ie&&f==Me)a.fb[d]=new S(Me,b.Ja,d);else if(c==Ie&&f==Ie)a.fb[d]=new S(Ie,b.Ja,d,e.qe);else throw Mb("Illegal combination of changes: "+b+" occurred after "+ +e);}else a.fb[d]=b};function lf(){this.Rb=this.na=this.Kb=this.ka=this.xa=!1;this.oa=0;this.mb="";this.dc=null;this.zb="";this.ac=null;this.xb="";this.g=H}var mf=new lf;function jf(a){return""===a.mb?a.ka:"l"===a.mb}function ff(a){D(a.ka,"Only valid if start has been set");return a.dc}function ef(a){D(a.ka,"Only valid if start has been set");return a.Kb?a.zb:"[MIN_NAME]"}function hf(a){D(a.na,"Only valid if end has been set");return a.ac} +function gf(a){D(a.na,"Only valid if end has been set");return a.Rb?a.xb:"[MAX_NAME]"}function nf(a){var b=new lf;b.xa=a.xa;b.oa=a.oa;b.ka=a.ka;b.dc=a.dc;b.Kb=a.Kb;b.zb=a.zb;b.na=a.na;b.ac=a.ac;b.Rb=a.Rb;b.xb=a.xb;b.g=a.g;b.mb=a.mb;return b}g=lf.prototype;g.ne=function(a){var b=nf(this);b.xa=!0;b.oa=a;b.mb="l";return b};g.oe=function(a){var b=nf(this);b.xa=!0;b.oa=a;b.mb="r";return b};g.Nd=function(a,b){var c=nf(this);c.ka=!0;n(a)||(a=null);c.dc=a;null!=b?(c.Kb=!0,c.zb=b):(c.Kb=!1,c.zb="");return c}; +g.gd=function(a,b){var c=nf(this);c.na=!0;n(a)||(a=null);c.ac=a;n(b)?(c.Rb=!0,c.xb=b):(c.vg=!1,c.xb="");return c};function of(a,b){var c=nf(a);c.g=b;return c}function pf(a){var b={};a.ka&&(b.sp=a.dc,a.Kb&&(b.sn=a.zb));a.na&&(b.ep=a.ac,a.Rb&&(b.en=a.xb));if(a.xa){b.l=a.oa;var c=a.mb;""===c&&(c=jf(a)?"l":"r");b.vf=c}a.g!==H&&(b.i=a.g.toString());return b}function T(a){return!(a.ka||a.na||a.xa)}function qf(a){return T(a)&&a.g==H} +function rf(a){var b={};if(qf(a))return b;var c;a.g===H?c="$priority":a.g===wc?c="$value":a.g===tc?c="$key":(D(a.g instanceof pc,"Unrecognized index type!"),c=a.g.toString());b.orderBy=x(c);a.ka&&(b.startAt=x(a.dc),a.Kb&&(b.startAt+=","+x(a.zb)));a.na&&(b.endAt=x(a.ac),a.Rb&&(b.endAt+=","+x(a.xb)));a.xa&&(jf(a)?b.limitToFirst=a.oa:b.limitToLast=a.oa);return b}g.toString=function(){return x(pf(this))};function sf(a){this.W=a}var tf=new sf(new vd(null));function uf(a,b,c){if(b.e())return new sf(new vd(c));var d=zd(a.W,b);if(null!=d){var e=d.path,d=d.value;b=P(e,b);d=d.F(b,c);return new sf(a.W.set(e,d))}a=Ad(a.W,b,new vd(c));return new sf(a)}function vf(a,b,c){var d=a;fb(c,function(a,c){d=uf(d,b.n(a),c)});return d}sf.prototype.Ed=function(a){if(a.e())return tf;a=Ad(this.W,a,R);return new sf(a)};function wf(a,b){var c=zd(a.W,b);return null!=c?a.W.get(c.path).P(P(c.path,b)):null} +function xf(a){var b=[],c=a.W.value;null!=c?c.J()||c.O(H,function(a,c){b.push(new C(a,c))}):a.W.children.ha(function(a,c){null!=c.value&&b.push(new C(a,c.value))});return b}function yf(a,b){if(b.e())return a;var c=wf(a,b);return null!=c?new sf(new vd(c)):new sf(a.W.subtree(b))}sf.prototype.e=function(){return this.W.e()};sf.prototype.apply=function(a){return zf(Q,this.W,a)}; +function zf(a,b,c){if(null!=b.value)return c.F(a,b.value);var d=null;b.children.ha(function(b,f){".priority"===b?(D(null!==f.value,"Priority writes must always be leaf nodes"),d=f.value):c=zf(a.n(b),f,c)});c.P(a).e()||null===d||(c=c.F(a.n(".priority"),d));return c};function Af(){this.Jd=L}Af.prototype.j=function(a){return this.Jd.P(a)};Af.prototype.toString=function(){return this.Jd.toString()};function Bf(a){this.oc=a}Bf.prototype.getToken=function(a){return this.oc.INTERNAL.getToken(a).then(null,function(a){return a&&"auth/token-not-initialized"===a.code?(I("Got auth/token-not-initialized error. Treating as null token."),null):Promise.reject(a)})};function Cf(a,b){a.oc.INTERNAL.addAuthTokenListener(b)};function Df(){this.S=tf;this.la=[];this.Bc=-1}function Ef(a,b){for(var c=0;c=b&&Ff(h,c.path)?d=!1:c.path.contains(h.path)&&(e=!0));f--}if(d){if(e)this.S=Gf(this.la,Hf,Q),this.Bc=0h.status){try{b=lb(h.responseText)}catch(c){J("Failed to parse JSON response for "+f+": "+h.responseText)}d(null, +b)}else 401!==h.status&&404!==h.status&&J("Got unsuccessful REST response for "+f+" Status: "+h.status),d(h.status);d=null}};h.open("GET",f,!0);h.send()})};function Uf(a){this.te=a;this.Bd=[];this.Qb=0;this.Yd=-1;this.Fb=null}function Vf(a,b,c){a.Yd=b;a.Fb=c;a.Yd=a.length){var b=Number(a);if(!isNaN(b)){e.Fe=b;e.frames=[];a=null;break a}}e.Fe=1;e.frames=[]}null!==a&&ag(e,a)}};this.Ia.onerror=function(a){e.f("WebSocket error. Closing connection.");(a=a.message||a.data)&&e.f(a);e.bb()}};Yf.prototype.start=function(){}; +Yf.isAvailable=function(){var a=!1;if("undefined"!==typeof navigator&&navigator.userAgent){var b=navigator.userAgent.match(/Android ([0-9]{0,}\.[0-9]{0,})/);b&&1parseFloat(b[1])&&(a=!0)}return!a&&null!==Xf&&!Zf};Yf.responsesRequiredToBeHealthy=2;Yf.healthyTimeout=3E4;g=Yf.prototype;g.sd=function(){xb.remove("previous_websocket_failure")};function ag(a,b){a.frames.push(b);if(a.frames.length==a.Fe){var c=a.frames.join("");a.frames=null;c=lb(c);a.Xf(c)}} +g.send=function(a){$f(this);a=x(a);this.qb+=a.length;Mf(this.Va,"bytes_sent",a.length);a=bc(a,16384);1document.domain="'+document.domain+'";\x3c/script>');a=""+a+"";try{this.Ea.gb.open(),this.Ea.gb.write(a),this.Ea.gb.close()}catch(f){I("frame writing exception"),f.stack&&I(f.stack),I(f)}} +fg.prototype.close=function(){this.Ud=!1;if(this.Ea){this.Ea.gb.body.innerHTML="";var a=this;setTimeout(function(){null!==a.Ea&&(document.body.removeChild(a.Ea),a.Ea=null)},Math.floor(0))}var b=this.ib;b&&(this.ib=null,b())}; +function ig(a){if(a.Ud&&a.Kd&&a.ve.count()<(0=a.Qc[0].Pe.length+30+c.length){var e=a.Qc.shift(),c=c+"&seg"+d+"="+e.jg+"&ts"+d+"="+e.pg+"&d"+d+"="+e.Pe;d++}else break;jg(a,b+c,a.$d);return!0}return!1}function jg(a,b,c){function d(){a.ve.remove(c);ig(a)}a.ve.add(c,1);var e=setTimeout(d,Math.floor(25E3));hg(a,b,function(){clearTimeout(e);d()})} +function hg(a,b,c){setTimeout(function(){try{if(a.Kd){var d=a.Ea.gb.createElement("script");d.type="text/javascript";d.async=!0;d.src=b;d.onload=d.onreadystatechange=function(){var a=d.readyState;a&&"loaded"!==a&&"complete"!==a||(d.onload=d.onreadystatechange=null,d.parentNode&&d.parentNode.removeChild(d),c())};d.onerror=function(){I("Long-poll script failed to load: "+b);a.Kd=!1;a.close()};a.Ea.gb.body.appendChild(d)}}catch(e){}},Math.floor(1))};function kg(a){lg(this,a)}var mg=[cg,Yf];function lg(a,b){var c=Yf&&Yf.isAvailable(),d=c&&!(xb.Ze||!0===xb.get("previous_websocket_failure"));b.qg&&(c||J("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),d=!0);if(d)a.Wc=[Yf];else{var e=a.Wc=[];cc(mg,function(a,b){b&&b.isAvailable()&&e.push(b)})}}function ng(a){if(0=a.pf?(a.f("Secondary connection is healthy."),a.Bb=!0,a.D.sd(),a.D.start(),a.f("sending client ack on secondary"),a.D.send({t:"c",d:{t:"a",d:{}}}),a.f("Ending transmission on primary"),a.I.send({t:"c",d:{t:"n",d:{}}}),a.Xc=a.D,ug(a)):(a.f("sending ping on secondary."),a.D.send({t:"c",d:{t:"p",d:{}}}))}og.prototype.wd=function(a){wg(this);this.te(a)};function wg(a){a.Bb||(a.xe--,0>=a.xe&&(a.f("Primary connection is healthy."),a.Bb=!0,a.I.sd()))} +function tg(a,b){a.D=new b("c:"+a.id+":"+a.Le++,a.L,a.qf);a.pf=b.responsesRequiredToBeHealthy||0;a.D.open(qg(a,a.D),rg(a,a.D));hc(function(){a.D&&(a.f("Timed out trying to upgrade."),a.D.close())},Math.floor(6E4))}function sg(a,b,c){a.f("Realtime connection established.");a.I=b;a.Ua=1;a.Lc&&(a.Lc(c,a.qf),a.Lc=null);0===a.xe?(a.f("Primary connection is healthy."),a.Bb=!0):hc(function(){xg(a)},Math.floor(5E3))} +function xg(a){a.Bb||1!==a.Ua||(a.f("sending ping on primary."),zg(a,{t:"c",d:{t:"p",d:{}}}))}function zg(a,b){if(1!==a.Ua)throw"Connection is not connected";a.Xc.send(b)}og.prototype.close=function(){2!==this.Ua&&(this.f("Closing realtime connection."),this.Ua=2,vg(this),this.ia&&(this.ia(),this.ia=null))};function vg(a){a.f("Shutting down all connections");a.I&&(a.I.close(),a.I=null);a.D&&(a.D.close(),a.D=null);a.md&&(clearTimeout(a.md),a.md=null)};function Ag(a,b,c,d,e,f){this.id=Bg++;this.f=Tb("p:"+this.id+":");this.qd={};this.$={};this.pa=[];this.Oc=0;this.Kc=[];this.ma=!1;this.Sa=1E3;this.td=3E5;this.Gb=b;this.Jc=c;this.ue=d;this.L=a;this.ob=this.Fa=this.Cb=this.ze=null;this.$c=e;this.de=!1;this.ke=0;if(f)throw Error("Auth override specified in options, but not supported on non Node.js platforms");this.Vd=f;this.ub=null;this.Mb=!1;this.Gd={};this.ig=0;this.Re=!0;this.Ac=this.me=null;Cg(this,0);Mc.Vb().gc("visible",this.Zf,this);-1===a.host.indexOf("fblocal")&& +Lc.Vb().gc("online",this.Yf,this)}var Bg=0,Dg=0;g=Ag.prototype;g.ua=function(a,b,c){var d=++this.ig;a={r:d,a:a,b:b};this.f(x(a));D(this.ma,"sendRequest call when we're not connected not allowed.");this.Fa.ua(a);c&&(this.Gd[d]=c)}; +g.$e=function(a,b,c,d){var e=a.ja(),f=a.path.toString();this.f("Listen called for "+f+" "+e);this.$[f]=this.$[f]||{};D(qf(a.m)||!T(a.m),"listen() called for non-default but complete query");D(!this.$[f][e],"listen() called twice for same path/queryId.");a={G:d,ld:b,eg:a,tag:c};this.$[f][e]=a;this.ma&&Eg(this,a)}; +function Eg(a,b){var c=b.eg,d=c.path.toString(),e=c.ja();a.f("Listen on "+d+" for "+e);var f={p:d};b.tag&&(f.q=pf(c.m),f.t=b.tag);f.h=b.ld();a.ua("q",f,function(f){var k=f.d,m=f.s;if(k&&"object"===typeof k&&eb(k,"w")){var l=w(k,"w");ea(l)&&0<=xa(l,"no_index")&&J("Using an unspecified index. Consider adding "+('".indexOn": "'+c.m.g.toString()+'"')+" at "+c.path.toString()+" to your security rules for better performance")}(a.$[d]&&a.$[d][e])===b&&(a.f("listen response",f),"ok"!==m&&Fg(a,d,e),b.G&&b.G(m, +k))})}g.kf=function(a){this.ob=a;this.f("Auth token refreshed");this.ob?Gg(this):this.ma&&this.ua("unauth",{},function(){});if(a&&40===a.length||kc(a))this.f("Admin auth credential detected. Reducing max reconnect time."),this.td=3E4};function Gg(a){if(a.ma&&a.ob){var b=a.ob,c=jc(b)?"auth":"gauth",d={cred:b};null===a.Vd?d.noauth=!0:"object"===typeof a.Vd&&(d.authvar=a.Vd);a.ua(c,d,function(c){var d=c.s;c=c.d||"error";a.ob===b&&("ok"===d?a.ke=0:Hg(a,d,c))})}} +g.uf=function(a,b){var c=a.path.toString(),d=a.ja();this.f("Unlisten called for "+c+" "+d);D(qf(a.m)||!T(a.m),"unlisten() called for non-default but complete query");if(Fg(this,c,d)&&this.ma){var e=pf(a.m);this.f("Unlisten on "+c+" for "+d);c={p:c};b&&(c.q=e,c.t=b);this.ua("n",c)}};g.re=function(a,b,c){this.ma?Ig(this,"o",a,b,c):this.Kc.push({we:a,action:"o",data:b,G:c})};g.cf=function(a,b,c){this.ma?Ig(this,"om",a,b,c):this.Kc.push({we:a,action:"om",data:b,G:c})}; +g.xd=function(a,b){this.ma?Ig(this,"oc",a,null,b):this.Kc.push({we:a,action:"oc",data:null,G:b})};function Ig(a,b,c,d,e){c={p:c,d:d};a.f("onDisconnect "+b,c);a.ua(b,c,function(a){e&&setTimeout(function(){e(a.s,a.d)},Math.floor(0))})}g.put=function(a,b,c,d){Jg(this,"p",a,b,c,d)};g.af=function(a,b,c,d){Jg(this,"m",a,b,c,d)};function Jg(a,b,c,d,e,f){d={p:c,d:d};n(f)&&(d.h=f);a.pa.push({action:b,mf:d,G:e});a.Oc++;b=a.pa.length-1;a.ma?Kg(a,b):a.f("Buffering put: "+c)} +function Kg(a,b){var c=a.pa[b].action,d=a.pa[b].mf,e=a.pa[b].G;a.pa[b].fg=a.ma;a.ua(c,d,function(d){a.f(c+" response",d);delete a.pa[b];a.Oc--;0===a.Oc&&(a.pa=[]);e&&e(d.s,d.d)})}g.ye=function(a){this.ma&&(a={c:a},this.f("reportStats",a),this.ua("s",a,function(a){"ok"!==a.s&&this.f("reportStats","Error sending stats: "+a.d)}))}; +g.wd=function(a){if("r"in a){this.f("from server: "+x(a));var b=a.r,c=this.Gd[b];c&&(delete this.Gd[b],c(a.b))}else{if("error"in a)throw"A server-side error has occurred: "+a.error;"a"in a&&(b=a.a,a=a.b,this.f("handleServerMessage",b,a),"d"===b?this.Gb(a.p,a.d,!1,a.t):"m"===b?this.Gb(a.p,a.d,!0,a.t):"c"===b?Lg(this,a.p,a.q):"ac"===b?Hg(this,a.s,a.d):"sd"===b?this.ze?this.ze(a):"msg"in a&&"undefined"!==typeof console&&console.log("FIREBASE: "+a.msg.replace("\n","\nFIREBASE: ")):Ub("Unrecognized action received from server: "+ +x(b)+"\nAre you using the latest client?"))}};g.Lc=function(a,b){this.f("connection ready");this.ma=!0;this.Ac=(new Date).getTime();this.ue({serverTimeOffset:a-(new Date).getTime()});this.Cb=b;if(this.Re){var c={};c["sdk.js."+firebase.SDK_VERSION.replace(/\./g,"-")]=1;pb()?c["framework.cordova"]=1:"object"===typeof navigator&&"ReactNative"===navigator.product&&(c["framework.reactnative"]=1);this.ye(c)}Mg(this);this.Re=!1;this.Jc(!0)}; +function Cg(a,b){D(!a.Fa,"Scheduling a connect when we're already connected/ing?");a.ub&&clearTimeout(a.ub);a.ub=setTimeout(function(){a.ub=null;Ng(a)},Math.floor(b))}g.Zf=function(a){a&&!this.Mb&&this.Sa===this.td&&(this.f("Window became visible. Reducing delay."),this.Sa=1E3,this.Fa||Cg(this,0));this.Mb=a};g.Yf=function(a){a?(this.f("Browser went online."),this.Sa=1E3,this.Fa||Cg(this,0)):(this.f("Browser went offline. Killing connection."),this.Fa&&this.Fa.close())}; +g.df=function(){this.f("data client disconnected");this.ma=!1;this.Fa=null;for(var a=0;af.Bc,"Stacking an older write on top of newer ones");n(h)||(h=!0);f.la.push({path:b,Ga:c,Zc:d,visible:h});h&&(f.S=uf(f.S,b,c));f.Bc=d;return e?ch(a,new ce(fe,b,c)):[]}function dh(a,b,c,d){var e=a.jb;D(d>e.Bc,"Stacking an older merge on top of newer ones");e.la.push({path:b,children:c,Zc:d,visible:!0});e.S=vf(e.S,b,c);e.Bc=d;c=xd(c);return ch(a,new ae(fe,b,c))} +function eh(a,b,c){c=c||!1;var d=Ef(a.jb,b);if(a.jb.Ed(b)){var e=R;null!=d.Ga?e=e.set(Q,!0):fb(d.children,function(a,b){e=e.set(new E(a),b)});return ch(a,new de(d.path,e,c))}return[]}function fh(a,b,c){c=xd(c);return ch(a,new ae(ie,b,c))}function gh(a,b,c,d){d=hh(a,d);if(null!=d){var e=ih(d);d=e.path;e=e.Hb;b=P(d,b);c=new ce(new he(!1,!0,e,!0),b,c);return jh(a,d,c)}return[]} +function kh(a,b,c,d){if(d=hh(a,d)){var e=ih(d);d=e.path;e=e.Hb;b=P(d,b);c=xd(c);c=new ae(new he(!1,!0,e,!0),b,c);return jh(a,d,c)}return[]} +ah.prototype.Nb=function(a,b){var c=a.path,d=null,e=!1;Fd(this.wa,c,function(a,b){var f=P(a,c);d=d||b.hb(f);e=e||null!=Yg(b)});var f=this.wa.get(c);f?(e=e||null!=Yg(f),d=d||f.hb(Q)):(f=new Xg,this.wa=this.wa.set(c,f));var h;null!=d?h=!0:(h=!1,d=L,Jd(this.wa.subtree(c),function(a,b){var c=b.hb(Q);c&&(d=d.T(a,c))}));var k=null!=$g(f,a);if(!k&&!T(a.m)){var m=lh(a);D(!(m in this.ic),"View does not exist, but we have a tag");var l=mh++;this.ic[m]=l;this.De["_"+l]=m}h=f.Nb(a,b,new If(c,this.jb),d,h);k|| +e||(f=$g(f,a),h=h.concat(nh(this,a,f)));return h}; +ah.prototype.kb=function(a,b,c){var d=a.path,e=this.wa.get(d),f=[];if(e&&("default"===a.ja()||null!=$g(e,a))){f=e.kb(a,b,c);e.e()&&(this.wa=this.wa.remove(d));e=f.hg;f=f.Kf;b=-1!==Ea(e,function(a){return T(a.m)});var h=Dd(this.wa,d,function(a,b){return null!=Yg(b)});if(b&&!h&&(d=this.wa.subtree(d),!d.e()))for(var d=oh(d),k=0;k=a)throw Error("Query.limitToFirst: First argument must be a positive integer.");if(this.m.xa)throw Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new X(this.u,this.path,this.m.ne(a),this.Nc)}; +g.oe=function(a){y("Query.limitToLast",1,1,arguments.length);if(!ga(a)||Math.floor(a)!==a||0>=a)throw Error("Query.limitToLast: First argument must be a positive integer.");if(this.m.xa)throw Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new X(this.u,this.path,this.m.oe(a),this.Nc)}; +g.ag=function(a){y("Query.orderByChild",1,1,arguments.length);if("$key"===a)throw Error('Query.orderByChild: "$key" is invalid. Use Query.orderByKey() instead.');if("$priority"===a)throw Error('Query.orderByChild: "$priority" is invalid. Use Query.orderByPriority() instead.');if("$value"===a)throw Error('Query.orderByChild: "$value" is invalid. Use Query.orderByValue() instead.');Vd("Query.orderByChild",a);Sh(this,"Query.orderByChild");var b=new E(a);if(b.e())throw Error("Query.orderByChild: cannot pass in empty path. Use Query.orderByValue() instead."); +b=new pc(b);b=of(this.m,b);Qh(b);return new X(this.u,this.path,b,!0)};g.bg=function(){y("Query.orderByKey",0,0,arguments.length);Sh(this,"Query.orderByKey");var a=of(this.m,tc);Qh(a);return new X(this.u,this.path,a,!0)};g.cg=function(){y("Query.orderByPriority",0,0,arguments.length);Sh(this,"Query.orderByPriority");var a=of(this.m,H);Qh(a);return new X(this.u,this.path,a,!0)}; +g.dg=function(){y("Query.orderByValue",0,0,arguments.length);Sh(this,"Query.orderByValue");var a=of(this.m,wc);Qh(a);return new X(this.u,this.path,a,!0)};g.Nd=function(a,b){y("Query.startAt",0,2,arguments.length);Od("Query.startAt",a,this.path,!0);Ud("Query.startAt",b);var c=this.m.Nd(a,b);Rh(c);Qh(c);if(this.m.ka)throw Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");n(a)||(b=a=null);return new X(this.u,this.path,c,this.Nc)}; +g.gd=function(a,b){y("Query.endAt",0,2,arguments.length);Od("Query.endAt",a,this.path,!0);Ud("Query.endAt",b);var c=this.m.gd(a,b);Rh(c);Qh(c);if(this.m.na)throw Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new X(this.u,this.path,c,this.Nc)}; +g.If=function(a,b){y("Query.equalTo",1,2,arguments.length);Od("Query.equalTo",a,this.path,!1);Ud("Query.equalTo",b);if(this.m.ka)throw Error("Query.equalTo: Starting point was already set (by another call to endAt or equalTo).");if(this.m.na)throw Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.Nd(a,b).gd(a,b)}; +g.toString=function(){y("Query.toString",0,0,arguments.length);for(var a=this.path,b="",c=a.Y;c \ No newline at end of file + + + \ No newline at end of file diff --git a/docs/bower_components/iron-a11y-announcer/iron-a11y-announcer.html b/docs/bower_components/iron-a11y-announcer/iron-a11y-announcer.html index b006f20..d70c0ed 100644 --- a/docs/bower_components/iron-a11y-announcer/iron-a11y-announcer.html +++ b/docs/bower_components/iron-a11y-announcer/iron-a11y-announcer.html @@ -1 +1,117 @@ - \ No newline at end of file + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html b/docs/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html index 839d3bc..014c66c 100644 --- a/docs/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html +++ b/docs/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html @@ -1 +1,495 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-ajax/iron-ajax.html b/docs/bower_components/iron-ajax/iron-ajax.html index a3abd57..0a75f19 100644 --- a/docs/bower_components/iron-ajax/iron-ajax.html +++ b/docs/bower_components/iron-ajax/iron-ajax.html @@ -1 +1,532 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-ajax/iron-request.html b/docs/bower_components/iron-ajax/iron-request.html index be494c0..c74fcf4 100644 --- a/docs/bower_components/iron-ajax/iron-request.html +++ b/docs/bower_components/iron-ajax/iron-request.html @@ -1 +1,442 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html b/docs/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html index b47eed7..118737f 100644 --- a/docs/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html +++ b/docs/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html @@ -1 +1,304 @@ - \ No newline at end of file + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-behaviors/iron-button-state.html b/docs/bower_components/iron-behaviors/iron-button-state.html index 08e9e97..889d5fb 100644 --- a/docs/bower_components/iron-behaviors/iron-button-state.html +++ b/docs/bower_components/iron-behaviors/iron-button-state.html @@ -1 +1,227 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-behaviors/iron-control-state.html b/docs/bower_components/iron-behaviors/iron-control-state.html index 07aab5b..8290c32 100644 --- a/docs/bower_components/iron-behaviors/iron-control-state.html +++ b/docs/bower_components/iron-behaviors/iron-control-state.html @@ -1 +1,109 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html b/docs/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html index c9661e6..3a5d08f 100644 --- a/docs/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html +++ b/docs/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html @@ -1 +1,119 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html b/docs/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html index f35fa41..687e092 100644 --- a/docs/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html +++ b/docs/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html @@ -1 +1,358 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-dropdown/iron-dropdown.html b/docs/bower_components/iron-dropdown/iron-dropdown.html index e96151e..b7e65d8 100644 --- a/docs/bower_components/iron-dropdown/iron-dropdown.html +++ b/docs/bower_components/iron-dropdown/iron-dropdown.html @@ -1 +1,340 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-fit-behavior/iron-fit-behavior.html b/docs/bower_components/iron-fit-behavior/iron-fit-behavior.html index 720dafb..54599ab 100644 --- a/docs/bower_components/iron-fit-behavior/iron-fit-behavior.html +++ b/docs/bower_components/iron-fit-behavior/iron-fit-behavior.html @@ -1 +1,611 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-flex-layout/iron-flex-layout.html b/docs/bower_components/iron-flex-layout/iron-flex-layout.html index e5125ce..1df73dd 100644 --- a/docs/bower_components/iron-flex-layout/iron-flex-layout.html +++ b/docs/bower_components/iron-flex-layout/iron-flex-layout.html @@ -1 +1,50 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-form-element-behavior/iron-form-element-behavior.html b/docs/bower_components/iron-form-element-behavior/iron-form-element-behavior.html index b3fe2ec..d1a57fb 100644 --- a/docs/bower_components/iron-form-element-behavior/iron-form-element-behavior.html +++ b/docs/bower_components/iron-form-element-behavior/iron-form-element-behavior.html @@ -1 +1,85 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-form/iron-form.html b/docs/bower_components/iron-form/iron-form.html index 5feaadd..38828c7 100644 --- a/docs/bower_components/iron-form/iron-form.html +++ b/docs/bower_components/iron-form/iron-form.html @@ -1 +1,512 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-icon/iron-icon.html b/docs/bower_components/iron-icon/iron-icon.html index 8242590..d96f256 100644 --- a/docs/bower_components/iron-icon/iron-icon.html +++ b/docs/bower_components/iron-icon/iron-icon.html @@ -1 +1,194 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-icons/image-icons.html b/docs/bower_components/iron-icons/image-icons.html index 0d7fcb0..d0faca7 100644 --- a/docs/bower_components/iron-icons/image-icons.html +++ b/docs/bower_components/iron-icons/image-icons.html @@ -1 +1,170 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-icons/iron-icons.html b/docs/bower_components/iron-icons/iron-icons.html index 3fb5c39..f56e7e6 100644 --- a/docs/bower_components/iron-icons/iron-icons.html +++ b/docs/bower_components/iron-icons/iron-icons.html @@ -1 +1,352 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-icons/maps-icons.html b/docs/bower_components/iron-icons/maps-icons.html index 248aaac..315feb1 100644 --- a/docs/bower_components/iron-icons/maps-icons.html +++ b/docs/bower_components/iron-icons/maps-icons.html @@ -1 +1,83 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-iconset-svg/iron-iconset-svg.html b/docs/bower_components/iron-iconset-svg/iron-iconset-svg.html index 9ee5c40..8c969b9 100644 --- a/docs/bower_components/iron-iconset-svg/iron-iconset-svg.html +++ b/docs/bower_components/iron-iconset-svg/iron-iconset-svg.html @@ -1 +1,240 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-image/iron-image.html b/docs/bower_components/iron-image/iron-image.html index 6e459ea..ce237e9 100644 --- a/docs/bower_components/iron-image/iron-image.html +++ b/docs/bower_components/iron-image/iron-image.html @@ -1 +1,357 @@ - \ No newline at end of file + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-input/iron-input.html b/docs/bower_components/iron-input/iron-input.html index 4578ab1..71bba86 100644 --- a/docs/bower_components/iron-input/iron-input.html +++ b/docs/bower_components/iron-input/iron-input.html @@ -1 +1,305 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-list/iron-list.html b/docs/bower_components/iron-list/iron-list.html index 9948333..c52ee99 100644 --- a/docs/bower_components/iron-list/iron-list.html +++ b/docs/bower_components/iron-list/iron-list.html @@ -1 +1,1862 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-menu-behavior/iron-menu-behavior.html b/docs/bower_components/iron-menu-behavior/iron-menu-behavior.html index 7ebddba..ff2cf22 100644 --- a/docs/bower_components/iron-menu-behavior/iron-menu-behavior.html +++ b/docs/bower_components/iron-menu-behavior/iron-menu-behavior.html @@ -1 +1,375 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-menu-behavior/iron-menubar-behavior.html b/docs/bower_components/iron-menu-behavior/iron-menubar-behavior.html index 743adb4..867d15f 100644 --- a/docs/bower_components/iron-menu-behavior/iron-menubar-behavior.html +++ b/docs/bower_components/iron-menu-behavior/iron-menubar-behavior.html @@ -1 +1,80 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-meta/iron-meta.html b/docs/bower_components/iron-meta/iron-meta.html index 6c8ae80..a5a8dbf 100644 --- a/docs/bower_components/iron-meta/iron-meta.html +++ b/docs/bower_components/iron-meta/iron-meta.html @@ -1 +1,332 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-overlay-behavior/iron-focusables-helper.html b/docs/bower_components/iron-overlay-behavior/iron-focusables-helper.html index 0c23880..62d9db2 100644 --- a/docs/bower_components/iron-overlay-behavior/iron-focusables-helper.html +++ b/docs/bower_components/iron-overlay-behavior/iron-focusables-helper.html @@ -1 +1,219 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html b/docs/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html index 23ab73a..269f36b 100644 --- a/docs/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html +++ b/docs/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html @@ -1 +1,148 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-overlay-behavior/iron-overlay-behavior.html b/docs/bower_components/iron-overlay-behavior/iron-overlay-behavior.html index 988c88c..765741c 100644 --- a/docs/bower_components/iron-overlay-behavior/iron-overlay-behavior.html +++ b/docs/bower_components/iron-overlay-behavior/iron-overlay-behavior.html @@ -1 +1,636 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-overlay-behavior/iron-overlay-manager.html b/docs/bower_components/iron-overlay-behavior/iron-overlay-manager.html index a01f5b0..3d04839 100644 --- a/docs/bower_components/iron-overlay-behavior/iron-overlay-manager.html +++ b/docs/bower_components/iron-overlay-behavior/iron-overlay-manager.html @@ -1 +1,364 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-resizable-behavior/iron-resizable-behavior.html b/docs/bower_components/iron-resizable-behavior/iron-resizable-behavior.html index 0da340e..bf2f667 100644 --- a/docs/bower_components/iron-resizable-behavior/iron-resizable-behavior.html +++ b/docs/bower_components/iron-resizable-behavior/iron-resizable-behavior.html @@ -1 +1,194 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html b/docs/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html index fbb81a8..c5f89f5 100644 --- a/docs/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html +++ b/docs/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html @@ -1 +1,259 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-selector/iron-multi-selectable.html b/docs/bower_components/iron-selector/iron-multi-selectable.html index bb92be0..a9c77d9 100644 --- a/docs/bower_components/iron-selector/iron-multi-selectable.html +++ b/docs/bower_components/iron-selector/iron-multi-selectable.html @@ -1 +1,147 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-selector/iron-selectable.html b/docs/bower_components/iron-selector/iron-selectable.html index 16b6fa0..0eb04ad 100644 --- a/docs/bower_components/iron-selector/iron-selectable.html +++ b/docs/bower_components/iron-selector/iron-selectable.html @@ -1 +1,356 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-selector/iron-selection.html b/docs/bower_components/iron-selector/iron-selection.html index 2f91228..ebb2ad4 100644 --- a/docs/bower_components/iron-selector/iron-selection.html +++ b/docs/bower_components/iron-selector/iron-selection.html @@ -1 +1,116 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/iron-validatable-behavior/iron-validatable-behavior.html b/docs/bower_components/iron-validatable-behavior/iron-validatable-behavior.html index d1aecc8..5e4667e 100644 --- a/docs/bower_components/iron-validatable-behavior/iron-validatable-behavior.html +++ b/docs/bower_components/iron-validatable-behavior/iron-validatable-behavior.html @@ -1 +1,148 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/lazy-pages/lazy-pages.html b/docs/bower_components/lazy-pages/lazy-pages.html index 9c64a3a..75b6a2a 100644 --- a/docs/bower_components/lazy-pages/lazy-pages.html +++ b/docs/bower_components/lazy-pages/lazy-pages.html @@ -1 +1,553 @@ - \ No newline at end of file + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/lunr.js/lunr.min.js b/docs/bower_components/lunr.js/lunr.min.js index 4a9b2d4..f008e8b 100644 --- a/docs/bower_components/lunr.js/lunr.min.js +++ b/docs/bower_components/lunr.js/lunr.min.js @@ -1 +1,7 @@ -!function(){var j=function(q){var z=new j.Index;return z.pipeline.add(j.trimmer,j.stopWordFilter,j.stemmer),q&&q.call(z,z),z};j.version="0.6.0",j.utils={},j.utils.warn=function(q){return function(z){q.console&&console.warn&&console.warn(z)}}(this),j.utils.asString=function(q){return void 0===q||null===q?"":q.toString()},j.EventEmitter=function(){this.events={}},j.EventEmitter.prototype.addListener=function(){var q=Array.prototype.slice.call(arguments),z=q.pop();if("function"!=typeof z)throw new TypeError("last argument must be a function");q.forEach(function(B){this.hasHandler(B)||(this.events[B]=[]),this.events[B].push(z)},this)},j.EventEmitter.prototype.removeListener=function(q,z){if(this.hasHandler(q)){var A=this.events[q].indexOf(z);this.events[q].splice(A,1),this.events[q].length||delete this.events[q]}},j.EventEmitter.prototype.emit=function(q){if(this.hasHandler(q)){var z=Array.prototype.slice.call(arguments,1);this.events[q].forEach(function(A){A.apply(void 0,z)})}},j.EventEmitter.prototype.hasHandler=function(q){return q in this.events},j.tokenizer=function(q){return arguments.length&&null!=q&&void 0!=q?Array.isArray(q)?q.map(function(z){return j.utils.asString(z).toLowerCase()}):q.toString().trim().toLowerCase().split(j.tokenizer.seperator):[]},j.tokenizer.seperator=/[\s\-]+/,j.Pipeline=function(){this._stack=[]},j.Pipeline.registeredFunctions={},j.Pipeline.registerFunction=function(q,z){z in this.registeredFunctions&&j.utils.warn("Overwriting existing registered function: "+z),q.label=z,j.Pipeline.registeredFunctions[q.label]=q},j.Pipeline.warnIfFunctionNotRegistered=function(q){var z=q.label&&q.label in this.registeredFunctions;z||j.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",q)},j.Pipeline.load=function(q){var z=new j.Pipeline;return q.forEach(function(A){var B=j.Pipeline.registeredFunctions[A];if(!B)throw new Error("Cannot load un-registered function: "+A);z.add(B)}),z},j.Pipeline.prototype.add=function(){var q=Array.prototype.slice.call(arguments);q.forEach(function(z){j.Pipeline.warnIfFunctionNotRegistered(z),this._stack.push(z)},this)},j.Pipeline.prototype.after=function(q,z){j.Pipeline.warnIfFunctionNotRegistered(z);var A=this._stack.indexOf(q);if(-1==A)throw new Error("Cannot find existingFn");A+=1,this._stack.splice(A,0,z)},j.Pipeline.prototype.before=function(q,z){j.Pipeline.warnIfFunctionNotRegistered(z);var A=this._stack.indexOf(q);if(-1==A)throw new Error("Cannot find existingFn");this._stack.splice(A,0,z)},j.Pipeline.prototype.remove=function(q){var z=this._stack.indexOf(q);-1!=z&&this._stack.splice(z,1)},j.Pipeline.prototype.run=function(q){for(var z=[],A=q.length,B=this._stack.length,C=0;A>C;C++){for(var D=q[C],G=0;B>G&&(D=this._stack[G](D,C,q),void 0!==D&&""!==D);G++);void 0!==D&&""!==D&&z.push(D)}return z},j.Pipeline.prototype.reset=function(){this._stack=[]},j.Pipeline.prototype.toJSON=function(){return this._stack.map(function(q){return j.Pipeline.warnIfFunctionNotRegistered(q),q.label})},j.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},j.Vector.Node=function(q,z,A){this.idx=q,this.val=z,this.next=A},j.Vector.prototype.insert=function(q,z){this._magnitude=void 0;var A=this.list;if(!A)return this.list=new j.Vector.Node(q,z,A),this.length++;if(qA.idx?A=A.next:(B+=z.val*A.val,z=z.next,A=A.next);return B},j.Vector.prototype.similarity=function(q){return this.dot(q)/(this.magnitude()*q.magnitude())},j.SortedSet=function(){this.length=0,this.elements=[]},j.SortedSet.load=function(q){var z=new this;return z.elements=q,z.length=q.length,z},j.SortedSet.prototype.add=function(){var q,z;for(q=0;qD&&(z=C),D>q&&(A=C),B=A-z,C=z+Math.floor(B/2),D=this.elements[C]}return D===q?C:-1},j.SortedSet.prototype.locationFor=function(q){for(var z=0,A=this.elements.length,B=A-z,C=z+Math.floor(B/2),D=this.elements[C];1D&&(z=C),D>q&&(A=C),B=A-z,C=z+Math.floor(B/2),D=this.elements[C];return D>q?C:q>D?C+1:void 0},j.SortedSet.prototype.intersect=function(q){for(var z=new j.SortedSet,A=0,B=0,C=this.length,D=q.length,G=this.elements,H=q.elements;;){if(A>C-1||B>D-1)break;G[A]===H[B]?(z.add(G[A]),A++,B++):G[A]H[B]&&B++}return z},j.SortedSet.prototype.clone=function(){var q=new j.SortedSet;return q.elements=this.toArray(),q.length=q.elements.length,q},j.SortedSet.prototype.union=function(q){var z,A,B;return this.length>=q.length?(z=this,A=q):(z=q,A=this),B=z.clone(),B.add.apply(B,A.toArray()),B},j.SortedSet.prototype.toJSON=function(){return this.toArray()},j.Index=function(){this._fields=[],this._ref="id",this.pipeline=new j.Pipeline,this.documentStore=new j.Store,this.tokenStore=new j.TokenStore,this.corpusTokens=new j.SortedSet,this.eventEmitter=new j.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},j.Index.prototype.on=function(){var q=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,q)},j.Index.prototype.off=function(q,z){return this.eventEmitter.removeListener(q,z)},j.Index.load=function(q){q.version!==j.version&&j.utils.warn("version mismatch: current "+j.version+" importing "+q.version);var z=new this;return z._fields=q.fields,z._ref=q.ref,z.documentStore=j.Store.load(q.documentStore),z.tokenStore=j.TokenStore.load(q.tokenStore),z.corpusTokens=j.SortedSet.load(q.corpusTokens),z.pipeline=j.Pipeline.load(q.pipeline),z},j.Index.prototype.field=function(q,z){var z=z||{},A={name:q,boost:z.boost||1};return this._fields.push(A),this},j.Index.prototype.ref=function(q){return this._ref=q,this},j.Index.prototype.add=function(q,z){var A={},B=new j.SortedSet,C=q[this._ref],z=!(void 0!==z)||z;this._fields.forEach(function(I){var J=this.pipeline.run(j.tokenizer(q[I.name]));A[I.name]=J,j.SortedSet.prototype.add.apply(B,J)},this),this.documentStore.set(C,B),j.SortedSet.prototype.add.apply(this.corpusTokens,B.toArray());for(var D=0;Dba;ba++)X.add(Z[$[ba]].ref);return Q.union(X)},new j.SortedSet);B.push(M)},this);var G=B.reduce(function(H,I){return H.intersect(I)});return G.map(function(H){return{ref:H,score:A.similarity(this.documentVector(H))}},this).sort(function(H,I){return I.score-H.score})},j.Index.prototype.documentVector=function(q){for(var z=this.documentStore.get(q),A=z.length,B=new j.Vector,C=0;A>C;C++){var D=z.elements[C],G=this.tokenStore.get(D)[q].tf,H=this.idf(D);B.insert(this.corpusTokens.indexOf(D),G*H)}return B},j.Index.prototype.toJSON=function(){return{version:j.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},j.Index.prototype.use=function(q){var z=Array.prototype.slice.call(arguments,1);z.unshift(this),q.apply(this,z)},j.Store=function(){this.store={},this.length=0},j.Store.load=function(q){var z=new this;return z.length=q.length,z.store=Object.keys(q.store).reduce(function(A,B){return A[B]=j.SortedSet.load(q.store[B]),A},{}),z},j.Store.prototype.set=function(q,z){this.has(q)||this.length++,this.store[q]=z},j.Store.prototype.get=function(q){return this.store[q]},j.Store.prototype.has=function(q){return q in this.store},j.Store.prototype.remove=function(q){this.has(q)&&(delete this.store[q],this.length--)},j.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},j.stemmer=function(){var q={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},z={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},B="[aeiouy]",C="[^aeiou]"+"[^aeiouy]*",D=B+"[aeiou]*",K=/^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*/,L=/^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*/,M=/^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$/,Q=/^([^aeiou][^aeiouy]*)?[aeiouy]/,R=/^(.+?)(ss|i)es$/,U=/^(.+?)([^s])s$/,V=/^(.+?)eed$/,W=/^(.+?)(ed|ing)$/,X=/.$/,Y=/(at|bl|iz)$/,Z=/([^aeiouylsz])\1$/,$=/^[^aeiou][^aeiouy]*[aeiouy][^aeiouwxy]$/,aa=/^(.+?[^aeiou])y$/,ba=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,ca=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,da=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,ea=/^(.+?)(s|t)(ion)$/,fa=/^(.+?)e$/,ga=/ll$/,ha=/^[^aeiou][^aeiouy]*[aeiouy][^aeiouwxy]$/;return function(ja){var ka,la,ma,na,oa,pa,qa;if(3>ja.length)return ja;if(ma=ja.substr(0,1),"y"==ma&&(ja=ma.toUpperCase()+ja.substr(1)),na=R,oa=U,na.test(ja)?ja=ja.replace(na,"$1$2"):oa.test(ja)&&(ja=ja.replace(oa,"$1$2")),na=V,oa=W,na.test(ja)){var ra=na.exec(ja);na=K,na.test(ra[1])&&(na=X,ja=ja.replace(na,""))}else if(oa.test(ja)){var ra=oa.exec(ja);ka=ra[1],oa=Q,oa.test(ka)&&(ja=ka,oa=Y,pa=Z,qa=$,oa.test(ja)?ja+="e":pa.test(ja)?(na=X,ja=ja.replace(na,"")):qa.test(ja)&&(ja+="e"))}if(na=aa,na.test(ja)){var ra=na.exec(ja);ka=ra[1],ja=ka+"i"}if(na=ba,na.test(ja)){var ra=na.exec(ja);ka=ra[1],la=ra[2],na=K,na.test(ka)&&(ja=ka+q[la])}if(na=ca,na.test(ja)){var ra=na.exec(ja);ka=ra[1],la=ra[2],na=K,na.test(ka)&&(ja=ka+z[la])}if(na=da,oa=ea,na.test(ja)){var ra=na.exec(ja);ka=ra[1],na=L,na.test(ka)&&(ja=ka)}else if(oa.test(ja)){var ra=oa.exec(ja);ka=ra[1]+ra[2],oa=L,oa.test(ka)&&(ja=ka)}if(na=fa,na.test(ja)){var ra=na.exec(ja);ka=ra[1],na=L,oa=M,pa=ha,(na.test(ka)||oa.test(ka)&&!pa.test(ka))&&(ja=ka)}return na=ga,oa=L,na.test(ja)&&oa.test(ja)&&(na=X,ja=ja.replace(na,"")),"y"==ma&&(ja=ma.toLowerCase()+ja.substr(1)),ja}}(),j.Pipeline.registerFunction(j.stemmer,"stemmer"),j.generateStopWordFilter=function(q){var z=q.reduce(function(A,B){return A[B]=B,A},{});return function(A){return A&&z[A]!==A?A:void 0}},j.stopWordFilter=j.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),j.Pipeline.registerFunction(j.stopWordFilter,"stopWordFilter"),j.trimmer=function(q){return q.replace(/^\W+/,"").replace(/\W+$/,"")},j.Pipeline.registerFunction(j.trimmer,"trimmer"),j.TokenStore=function(){this.root={docs:{}},this.length=0},j.TokenStore.load=function(q){var z=new this;return z.root=q.root,z.length=q.length,z},j.TokenStore.prototype.add=function(q,z,A){var A=A||this.root,B=q.charAt(0),C=q.slice(1);return B in A||(A[B]={docs:{}}),0===C.length?(A[B].docs[z.ref]=z,void(this.length+=1)):this.add(C,z,A[B])},j.TokenStore.prototype.has=function(q){if(!q)return!1;for(var z=this.root,A=0;Ar;r++){for(var o=t[r],s=0;i>s&&(o=this._stack[s](o,r,t),void 0!==o&&""!==o);s++);void 0!==o&&""!==o&&e.push(o)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(en.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t1;){if(o===t)return r;t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r]}return o===t?r:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;)t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r];return o>t?r:t>o?r+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,r=0,o=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>o-1||r>s-1)break;a[i]!==h[r]?a[i]h[r]&&r++:(n.add(a[i]),i++,r++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;return this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone(),i.add.apply(i,n.toArray()),i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.add=function(e,n){var i={},r=new t.SortedSet,o=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n.name]));i[n.name]=o,t.SortedSet.prototype.add.apply(r,o)},this),this.documentStore.set(o,r),t.SortedSet.prototype.add.apply(this.corpusTokens,r.toArray());for(var s=0;s0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(t.tokenizer(e)),i=new t.Vector,r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*o,h=this,u=this.tokenStore.expand(e).reduce(function(n,r){var o=h.corpusTokens.indexOf(r),s=h.idf(r),u=1,l=new t.SortedSet;if(r!==e){var c=Math.max(3,r.length-e.length);u=1/Math.log(c)}o>-1&&i.insert(o,a*s*u);for(var f=h.tokenStore.get(r),p=Object.keys(f),d=p.length,v=0;d>v;v++)l.add(f[p[v]].ref);return n.union(l)},new t.SortedSet);r.push(u)},this);var a=r.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,r=new t.Vector,o=0;i>o;o++){var s=n.elements[o],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);r.insert(this.corpusTokens.indexOf(s),a*h)}return r},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",r=n+"[^aeiouy]*",o=i+"[aeiou]*",s="^("+r+")?"+o+r,a="^("+r+")?"+o+r+"("+o+")?$",h="^("+r+")?"+o+r+o+r,u="^("+r+")?"+i,l=new RegExp(s),c=new RegExp(h),f=new RegExp(a),p=new RegExp(u),d=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,m=/^(.+?)eed$/,g=/^(.+?)(ed|ing)$/,y=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+r+i+"[^aeiouwxy]$"),k=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,_=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,F=/^(.+?)(s|t)(ion)$/,O=/^(.+?)e$/,P=/ll$/,N=new RegExp("^"+r+i+"[^aeiouwxy]$"),T=function(n){var i,r,o,s,a,h,u;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=d,a=v,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=m,a=g,s.test(n)){var T=s.exec(n);s=l,s.test(T[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=p,a.test(i)&&(n=i,a=S,h=w,u=x,a.test(n)?n+="e":h.test(n)?(s=y,n=n.replace(s,"")):u.test(n)&&(n+="e"))}if(s=k,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+t[r])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+e[r])}if(s=_,a=F,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=O,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=N,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=P,a=c,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.generateStopWordFilter=function(t){var e=t.reduce(function(t,e){return t[e]=e,t},{});return function(t){return t&&e[t]!==t?t:void 0}},t.stopWordFilter=t.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"")},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t.charAt(0),r=t.slice(1);return i in n||(n[i]={docs:{}}),0===r.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(r,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;nCa;Ca++)Ba=new W(new Date(Da,Ca,1)),Ba.offset!==Ea.offset&&(Aa=Y(Ea,Ba),Fa.push(Aa),Fa.push(new W(new Date(Aa.at+6e4)))),Ea=Ba;for(Ca=0;4>Ca;Ca++)Fa.push(new W(new Date(Da+Ca,0,1))),Fa.push(new W(new Date(Da+Ca,6,1)));return Fa}function $(Aa,Ba){return Aa.offsetScore===Ba.offsetScore?Aa.abbrScore===Ba.abbrScore?Ba.zone.population-Aa.zone.population:Aa.abbrScore-Ba.abbrScore:Aa.offsetScore-Ba.offsetScore}function _(Aa,Ba){var Ca,Da;for(R(Ba),Ca=0;Cawa||2==wa&&6>xa)&&la("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+O.version+". See momentjs.com"),V.prototype={_set:function(Aa){this.name=Aa.name,this.abbrs=Aa.abbrs,this.untils=Aa.untils,this.offsets=Aa.offsets,this.population=Aa.population},_index:function(Aa){var Ba,Da=this.untils;for(Ba=0;BaDa&&ma.moveInvalidForward&&(Ba=Da),+AaMath.abs(Ca)&&(Ca/=60),void 0===Aa.utcOffset?Aa.zone(Ca,Ba):Aa.utcOffset(-Ca,Ba))},ya.tz=function(Aa){return Aa?(this._z=fa(Aa),this._z?O.updateOffset(this):la("Moment Timezone has no data for "+Aa+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},ya.zoneName=na(ya.zoneName),ya.zoneAbbr=na(ya.zoneAbbr),ya.utc=function(Aa){return function(){return this._z=null,Aa.apply(this,arguments)}}(ya.utc),O.tz.setDefault=function(Aa){return(2>wa||2==wa&&9>xa)&&la("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+O.version+"."),O.defaultZone=Aa?fa(Aa):null,O};var za=O.momentProperties;return"[object Array]"===Object.prototype.toString.call(za)?(za.push("_z"),za.push("_a")):za&&(za._z=null),ia({version:"2016j",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Khartoum|EAT|-30|0||51e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET EEST|-20 -30|010101010|1Cby0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|WET WEST|0 -10|01010101010101010101010101010101010101010|1Cco0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5","Africa/Windhoek|WAST WAT|-20 -10|01010101010101010101010|1C1c0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1BR00 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1BQX0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Araguaina|BRT BRST|30 20|010|1IdD0 Lz0|14e4","America/Argentina/Buenos_Aires|ART|30|0|","America/Asuncion|PYST PYT|30 40|01010101010101010101010|1C430 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|EST|50|0||15e5","America/Bahia|BRT BRST|30 20|010|1FJf0 Rb0|27e5","America/Bahia_Banderas|MST CDT CST|70 50 60|01212121212121212121212|1C1l0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Fortaleza|BRT|30|0||34e5","America/Managua|CST|60|0||22e5","America/Manaus|AMT|40|0||19e5","America/Bogota|COT|50|0||90e5","America/Denver|MST MDT|70 60|01010101010101010101010|1BQV0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|AMST AMT|30 40|01010101010101010101010|1BIr0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10|77e4","America/Cancun|CST CDT EST|60 50 50|010101010102|1C1k0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|VET VET|4u 40|01|1QMT0|29e5","America/Cayenne|GFT|30|0||58e3","America/Chicago|CST CDT|60 50|01010101010101010101010|1BQU0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1C1l0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1BQW0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1BQT0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Rio_Branco|AMT ACT|40 50|01|1KLE0|31e4","America/Fort_Nelson|PST PDT MST|80 70 70|010101010102|1BQW0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1BQS0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Godthab|WGT WGST|30 20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|AST ADT|40 30|01010101010101010101010|1BQQ1 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|EST EDT AST|50 40 40|0101010101012|1BQT0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guayaquil|ECT|50|0||27e5","America/Guyana|GYT|40|0||80e4","America/Havana|CST CDT|50 40|01010101010101010101010|1BQR0 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/La_Paz|BOT|40|0||19e5","America/Lima|PET|50|0||11e6","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1C1k0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Metlakatla|PST AKST AKDT|80 90 80|012121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Miquelon|PMST PMDT|30 20|01010101010101010101010|1BQR0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Montevideo|UYST UYT|20 30|010101010101|1BQQ0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Noronha|FNT|20|0||30e2","America/North_Dakota/Beulah|MST MDT CST CDT|70 60 60 50|01232323232323232323232|1BQV0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Paramaribo|SRT|30|0||24e4","America/Port-au-Prince|EST EDT|50 40|010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Santiago|CLST CLT|30 40|010101010101010101010|1C1f0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Sao_Paulo|BRST BRT|20 30|01010101010101010101010|1BIq0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10|20e6","America/Scoresbysund|EGT EGST|10 0|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1BQPv 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|01010|1BN30 40P0 KL0 blz0|10","Antarctica/Davis|+05 +07|-50 -70|0101|1BPw0 3Wn0 KN0|70","Antarctica/DumontDUrville|+10|-a0|0||80","Antarctica/Macquarie|AEDT MIST|-b0 -b0|01|1C140|1","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1C120 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Rothera|-03|30|0||130","Antarctica/Syowa|+03|-30|0||20","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Asia/Almaty|+06|-60|0||15e5","Asia/Baghdad|AST|-30|0||66e5","Asia/Amman|EET EEST|-20 -30|010101010101010101010|1BVy0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0|25e5","Asia/Kamchatka|+12 +11|-c0 -b0|010|1Dp30 WM0|18e4","Asia/Baku|+04 +05|-40 -50|0101010101010|1BWo0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|ICT|-70|0||15e6","Asia/Barnaul|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1BWm0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Brunei|BNT|-80|0||42e4","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09 +10 +08|-90 -a0 -80|010120|1BWh0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|CHOT CHOST|-80 -90|0101010101010|1O8G0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Dhaka|BDT|-60|0||16e6","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1C0m0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0|26e5","Asia/Dili|TLT|-90|0||19e4","Asia/Dubai|GST|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|010101010101012|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1BVW1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|18e5","Asia/Hebron|EET EEST|-20 -30|0101010101010101010101010|1BVy0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|25e4","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|HOVT HOVST|-70 -80|0101010101010|1O8H0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|+08 +09|-80 -90|01010|1BWi0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|EET EEST +03|-20 -30 -30|010101010101012|1BWp0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1BVA0 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|AFT|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Urumqi|XJT|-60|0||32e5","Asia/Kathmandu|NPT|-5J|0||12e5","Asia/Khandyga|+10 +11 +09|-a0 -b0 -90|010102|1BWg0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|+07 +08|-70 -80|01010|1BWj0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|MYT|-80|0||71e5","Asia/Magadan|+11 +12 +10|-b0 -c0 -a0|010120|1BWf0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PHT|-80|0||24e6","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Asia/Novokuznetsk|+07 +06|-70 -60|010|1Dp80 WM0|55e4","Asia/Novosibirsk|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|+06 +07|-60 -70|01010|1BWk0 1qM0 WM0 8Hz0|12e5","Asia/Pyongyang|KST KST|-90 -8u|01|1P4D0|29e5","Asia/Rangoon|MMT|-6u|0||48e5","Asia/Sakhalin|+10 +11|-a0 -b0|010101|1BWg0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Singapore|SGT|-80|0||56e5","Asia/Srednekolymsk|+11 +12|-b0 -c0|01010|1BWf0 1qM0 WM0 8Hz0|35e2","Asia/Tbilisi|+04|-40|0||11e5","Asia/Tehran|IRST IRDT|-3u -4u|01010101010101010101010|1BTUu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|BTT|-60|0||79e3","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|ULAT ULAST|-80 -90|0101010101010|1O8G0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|+11 +12 +10|-b0 -c0 -a0|010102|1BWf0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|+10 +11|-a0 -b0|01010|1BWg0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|+09 +10|-90 -a0|01010|1BWh0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|+05 +06|-50 -60|01010|1BWl0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|+04 +05|-40 -50|01010|1BWm0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|AZOT AZOST|10 0|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Atlantic/Cape_Verde|CVT|10|0||50e4","Atlantic/South_Georgia|GST|20|0||30","Atlantic/Stanley|FKST FKT|30 40|010|1C6R0 U10|21e2","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1C140 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1C14u 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|ACWST|-8J|0||368","Australia/Lord_Howe|LHDT LHST|-b0 -au|01010101010101010101010|1C130 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|EASST EAST|50 60|010101010101010101010|1C1f0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+2|-02|20|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/GMT-1|+01|-10|0|","Etc/GMT-11|+11|-b0|0|","Etc/GMT-12|+12|-c0|0|","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-7|+07|-70|0|","Etc/GMT-8|+08|-80|0|","Etc/GMT-9|+09|-90|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Astrakhan|+03 +04|-30 -40|010101|1BWn0 1qM0 WM0 8Hz0 3rd0","Europe/London|GMT BST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1BWo0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Kaliningrad|EET EEST +03|-20 -30 -30|01020|1BWo0 1qM0 WM0 8Hz0|44e4","Europe/Volgograd|+03 +04|-30 -40|01010|1BWn0 1qM0 WM0 8Hz0|10e5","Europe/Minsk|EET EEST +03|-20 -30 -30|0102|1BWo0 1qM0 WM0|19e5","Europe/Moscow|MSK MSD MSK|-30 -40 -40|01020|1BWn0 1qM0 WM0 8Hz0|16e6","Europe/Samara|+04 +03|-40 -30|010|1Dpb0 WM0|12e5","Europe/Saratov|+03 +04|-30 -40|010101|1BWn0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|01010101023|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Pacific/Honolulu|HST|a0|0||37e4","Indian/Chagos|IOT|-60|0||30e2","Indian/Christmas|CXT|-70|0||21e2","Indian/Cocos|CCT|-6u|0||596","Indian/Mahe|SCT|-40|0||79e3","Indian/Maldives|MVT|-50|0||35e4","Indian/Mauritius|MUT|-40|0||15e4","Indian/Reunion|RET|-40|0||84e4","Pacific/Majuro|MHT|-c0|0||28e3","MET|MET MEST|-10 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Pacific/Chatham|CHADT CHAST|-dJ -cJ|01010101010101010101010|1C120 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|SST SDT WSDT WSST|b0 a0 -e0 -d0|01012323232323232323232|1Dbn0 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|PGT BST|-a0 -b0|01|1NwE0|18e4","Pacific/Chuuk|CHUT|-a0|0||49e3","Pacific/Efate|VUT|-b0|0||66e3","Pacific/Enderbury|PHOT|-d0|0||1","Pacific/Fakaofo|TKT TKT|b0 -d0|01|1Gfn0|483","Pacific/Fiji|FJST FJT|-d0 -c0|01010101010101010101010|1BWe0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0|88e4","Pacific/Funafuti|TVT|-c0|0||45e2","Pacific/Galapagos|GALT|60|0||25e3","Pacific/Gambier|GAMT|90|0||125","Pacific/Guadalcanal|SBT|-b0|0||11e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Kiritimati|LINT|-e0|0||51e2","Pacific/Kosrae|KOST|-b0|0||66e2","Pacific/Marquesas|MART|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Nauru|NRT|-c0|0||10e3","Pacific/Niue|NUT|b0|0||12e2","Pacific/Norfolk|NFT NFT|-bu -b0|01|1PoCu|25e4","Pacific/Noumea|NCT|-b0|0||98e3","Pacific/Palau|PWT|-90|0||21e3","Pacific/Pitcairn|PST|80|0||56","Pacific/Pohnpei|PONT|-b0|0||34e3","Pacific/Port_Moresby|PGT|-a0|0||25e4","Pacific/Rarotonga|CKT|a0|0||13e3","Pacific/Tahiti|TAHT|a0|0||18e4","Pacific/Tarawa|GILT|-c0|0||29e3","Pacific/Tongatapu|+13 +14|-d0 -e0|0101010101|1S4d0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0|75e3","Pacific/Wake|WAKT|-c0|0||16e3","Pacific/Wallis|WFT|-c0|0||94"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Addis_Ababa","Africa/Khartoum|Africa/Asmara","Africa/Khartoum|Africa/Asmera","Africa/Khartoum|Africa/Dar_es_Salaam","Africa/Khartoum|Africa/Djibouti","Africa/Khartoum|Africa/Juba","Africa/Khartoum|Africa/Kampala","Africa/Khartoum|Africa/Mogadishu","Africa/Khartoum|Africa/Nairobi","Africa/Khartoum|Indian/Antananarivo","Africa/Khartoum|Indian/Comoro","Africa/Khartoum|Indian/Mayotte","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Argentina/Catamarca","America/Argentina/Buenos_Aires|America/Argentina/ComodRivadavia","America/Argentina/Buenos_Aires|America/Argentina/Cordoba","America/Argentina/Buenos_Aires|America/Argentina/Jujuy","America/Argentina/Buenos_Aires|America/Argentina/La_Rioja","America/Argentina/Buenos_Aires|America/Argentina/Mendoza","America/Argentina/Buenos_Aires|America/Argentina/Rio_Gallegos","America/Argentina/Buenos_Aires|America/Argentina/Salta","America/Argentina/Buenos_Aires|America/Argentina/San_Juan","America/Argentina/Buenos_Aires|America/Argentina/San_Luis","America/Argentina/Buenos_Aires|America/Argentina/Tucuman","America/Argentina/Buenos_Aires|America/Argentina/Ushuaia","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Buenos_Aires|America/Catamarca","America/Argentina/Buenos_Aires|America/Cordoba","America/Argentina/Buenos_Aires|America/Jujuy","America/Argentina/Buenos_Aires|America/Mendoza","America/Argentina/Buenos_Aires|America/Rosario","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Belem","America/Fortaleza|America/Maceio","America/Fortaleza|America/Recife","America/Fortaleza|America/Santarem","America/Halifax|America/Glace_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/East-Saskatchewan","America/Managua|Canada/Saskatchewan","America/Manaus|America/Boa_Vista","America/Manaus|America/Porto_Velho","America/Manaus|Brazil/West","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Rio_Branco|America/Eirunepe","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Antarctica/Palmer","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/DumontDUrville|Etc/GMT-10","Antarctica/Rothera|Etc/GMT+3","Antarctica/Syowa|Etc/GMT-3","Asia/Almaty|Antarctica/Vostok","Asia/Almaty|Asia/Bishkek","Asia/Almaty|Asia/Qyzylorda","Asia/Almaty|Etc/GMT-6","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Singapore|Singapore","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tbilisi|Etc/GMT-4","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Astrakhan|Europe/Ulyanovsk","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Volgograd|Europe/Kirov","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Majuro|Kwajalein","Pacific/Majuro|Pacific/Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pohnpei|Pacific/Ponape"]}),O}); \ No newline at end of file +//! moment-timezone.js +//! version : 0.5.11 +//! Copyright (c) JS Foundation and other contributors +//! license : MIT +//! github.com/moment/moment-timezone +!function(a,b){"use strict";"function"==typeof define&&define.amd?define(["moment"],b):"object"==typeof module&&module.exports?module.exports=b(require("moment")):b(a.moment)}(this,function(a){"use strict";function b(a){return a>96?a-87:a>64?a-29:a-48}function c(a){var c,d=0,e=a.split("."),f=e[0],g=e[1]||"",h=1,i=0,j=1;for(45===a.charCodeAt(0)&&(d=1,j=-1),d;d0?k[0].zone.name:void 0}function q(a){return D&&!a||(D=p()),D}function r(a){return(a||"").toLowerCase().replace(/\//g,"_")}function s(a){var b,c,d,e;for("string"==typeof a&&(a=[a]),b=0;b= 2.6.0. You are using Moment.js "+a.version+". See momentjs.com"),h.prototype={_set:function(a){this.name=a.name,this.abbrs=a.abbrs,this.untils=a.untils,this.offsets=a.offsets,this.population=a.population},_index:function(a){var b,c=+a,d=this.untils;for(b=0;bd&&A.moveInvalidForward&&(b=d),f= 2.9.0. You are using Moment.js "+a.version+"."),a.defaultZone=b?t(b):null,a};var N=a.momentProperties;return"[object Array]"===Object.prototype.toString.call(N)?(N.push("_z"),N.push("_a")):N&&(N._z=null),w({version:"2016j",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Khartoum|EAT|-30|0||51e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET EEST|-20 -30|010101010|1Cby0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|WET WEST|0 -10|01010101010101010101010101010101010101010|1Cco0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5","Africa/Windhoek|WAST WAT|-20 -10|01010101010101010101010|1C1c0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1BR00 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1BQX0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Araguaina|BRT BRST|30 20|010|1IdD0 Lz0|14e4","America/Argentina/Buenos_Aires|ART|30|0|","America/Asuncion|PYST PYT|30 40|01010101010101010101010|1C430 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|EST|50|0||15e5","America/Bahia|BRT BRST|30 20|010|1FJf0 Rb0|27e5","America/Bahia_Banderas|MST CDT CST|70 50 60|01212121212121212121212|1C1l0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Fortaleza|BRT|30|0||34e5","America/Managua|CST|60|0||22e5","America/Manaus|AMT|40|0||19e5","America/Bogota|COT|50|0||90e5","America/Denver|MST MDT|70 60|01010101010101010101010|1BQV0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|AMST AMT|30 40|01010101010101010101010|1BIr0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10|77e4","America/Cancun|CST CDT EST|60 50 50|010101010102|1C1k0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|VET VET|4u 40|01|1QMT0|29e5","America/Cayenne|GFT|30|0||58e3","America/Chicago|CST CDT|60 50|01010101010101010101010|1BQU0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1C1l0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1BQW0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1BQT0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Rio_Branco|AMT ACT|40 50|01|1KLE0|31e4","America/Fort_Nelson|PST PDT MST|80 70 70|010101010102|1BQW0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1BQS0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Godthab|WGT WGST|30 20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|AST ADT|40 30|01010101010101010101010|1BQQ1 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|EST EDT AST|50 40 40|0101010101012|1BQT0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guayaquil|ECT|50|0||27e5","America/Guyana|GYT|40|0||80e4","America/Havana|CST CDT|50 40|01010101010101010101010|1BQR0 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/La_Paz|BOT|40|0||19e5","America/Lima|PET|50|0||11e6","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1C1k0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Metlakatla|PST AKST AKDT|80 90 80|012121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Miquelon|PMST PMDT|30 20|01010101010101010101010|1BQR0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Montevideo|UYST UYT|20 30|010101010101|1BQQ0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Noronha|FNT|20|0||30e2","America/North_Dakota/Beulah|MST MDT CST CDT|70 60 60 50|01232323232323232323232|1BQV0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Paramaribo|SRT|30|0||24e4","America/Port-au-Prince|EST EDT|50 40|010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Santiago|CLST CLT|30 40|010101010101010101010|1C1f0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Sao_Paulo|BRST BRT|20 30|01010101010101010101010|1BIq0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10|20e6","America/Scoresbysund|EGT EGST|10 0|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1BQPv 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|01010|1BN30 40P0 KL0 blz0|10","Antarctica/Davis|+05 +07|-50 -70|0101|1BPw0 3Wn0 KN0|70","Antarctica/DumontDUrville|+10|-a0|0||80","Antarctica/Macquarie|AEDT MIST|-b0 -b0|01|1C140|1","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1C120 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Rothera|-03|30|0||130","Antarctica/Syowa|+03|-30|0||20","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Asia/Almaty|+06|-60|0||15e5","Asia/Baghdad|AST|-30|0||66e5","Asia/Amman|EET EEST|-20 -30|010101010101010101010|1BVy0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0|25e5","Asia/Kamchatka|+12 +11|-c0 -b0|010|1Dp30 WM0|18e4","Asia/Baku|+04 +05|-40 -50|0101010101010|1BWo0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|ICT|-70|0||15e6","Asia/Barnaul|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1BWm0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Brunei|BNT|-80|0||42e4","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09 +10 +08|-90 -a0 -80|010120|1BWh0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|CHOT CHOST|-80 -90|0101010101010|1O8G0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Dhaka|BDT|-60|0||16e6","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1C0m0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0|26e5","Asia/Dili|TLT|-90|0||19e4","Asia/Dubai|GST|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|010101010101012|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1BVW1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|18e5","Asia/Hebron|EET EEST|-20 -30|0101010101010101010101010|1BVy0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|25e4","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|HOVT HOVST|-70 -80|0101010101010|1O8H0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|+08 +09|-80 -90|01010|1BWi0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|EET EEST +03|-20 -30 -30|010101010101012|1BWp0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1BVA0 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|AFT|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Urumqi|XJT|-60|0||32e5","Asia/Kathmandu|NPT|-5J|0||12e5","Asia/Khandyga|+10 +11 +09|-a0 -b0 -90|010102|1BWg0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|+07 +08|-70 -80|01010|1BWj0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|MYT|-80|0||71e5","Asia/Magadan|+11 +12 +10|-b0 -c0 -a0|010120|1BWf0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PHT|-80|0||24e6","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Asia/Novokuznetsk|+07 +06|-70 -60|010|1Dp80 WM0|55e4","Asia/Novosibirsk|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|+06 +07|-60 -70|01010|1BWk0 1qM0 WM0 8Hz0|12e5","Asia/Pyongyang|KST KST|-90 -8u|01|1P4D0|29e5","Asia/Rangoon|MMT|-6u|0||48e5","Asia/Sakhalin|+10 +11|-a0 -b0|010101|1BWg0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Singapore|SGT|-80|0||56e5","Asia/Srednekolymsk|+11 +12|-b0 -c0|01010|1BWf0 1qM0 WM0 8Hz0|35e2","Asia/Tbilisi|+04|-40|0||11e5","Asia/Tehran|IRST IRDT|-3u -4u|01010101010101010101010|1BTUu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|BTT|-60|0||79e3","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+06 +07|-60 -70|010101|1BWk0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|ULAT ULAST|-80 -90|0101010101010|1O8G0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|+11 +12 +10|-b0 -c0 -a0|010102|1BWf0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|+10 +11|-a0 -b0|01010|1BWg0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|+09 +10|-90 -a0|01010|1BWh0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|+05 +06|-50 -60|01010|1BWl0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|+04 +05|-40 -50|01010|1BWm0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|AZOT AZOST|10 0|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Atlantic/Cape_Verde|CVT|10|0||50e4","Atlantic/South_Georgia|GST|20|0||30","Atlantic/Stanley|FKST FKT|30 40|010|1C6R0 U10|21e2","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1C140 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1C14u 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|ACWST|-8J|0||368","Australia/Lord_Howe|LHDT LHST|-b0 -au|01010101010101010101010|1C130 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|EASST EAST|50 60|010101010101010101010|1C1f0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+2|-02|20|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/GMT-1|+01|-10|0|","Etc/GMT-11|+11|-b0|0|","Etc/GMT-12|+12|-c0|0|","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-7|+07|-70|0|","Etc/GMT-8|+08|-80|0|","Etc/GMT-9|+09|-90|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Astrakhan|+03 +04|-30 -40|010101|1BWn0 1qM0 WM0 8Hz0 3rd0","Europe/London|GMT BST|0 -10|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1BWo0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Kaliningrad|EET EEST +03|-20 -30 -30|01020|1BWo0 1qM0 WM0 8Hz0|44e4","Europe/Volgograd|+03 +04|-30 -40|01010|1BWn0 1qM0 WM0 8Hz0|10e5","Europe/Minsk|EET EEST +03|-20 -30 -30|0102|1BWo0 1qM0 WM0|19e5","Europe/Moscow|MSK MSD MSK|-30 -40 -40|01020|1BWn0 1qM0 WM0 8Hz0|16e6","Europe/Samara|+04 +03|-40 -30|010|1Dpb0 WM0|12e5","Europe/Saratov|+03 +04|-30 -40|010101|1BWn0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|01010101023|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Pacific/Honolulu|HST|a0|0||37e4","Indian/Chagos|IOT|-60|0||30e2","Indian/Christmas|CXT|-70|0||21e2","Indian/Cocos|CCT|-6u|0||596","Indian/Mahe|SCT|-40|0||79e3","Indian/Maldives|MVT|-50|0||35e4","Indian/Mauritius|MUT|-40|0||15e4","Indian/Reunion|RET|-40|0||84e4","Pacific/Majuro|MHT|-c0|0||28e3","MET|MET MEST|-10 -20|01010101010101010101010|1BWp0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Pacific/Chatham|CHADT CHAST|-dJ -cJ|01010101010101010101010|1C120 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|SST SDT WSDT WSST|b0 a0 -e0 -d0|01012323232323232323232|1Dbn0 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|PGT BST|-a0 -b0|01|1NwE0|18e4","Pacific/Chuuk|CHUT|-a0|0||49e3","Pacific/Efate|VUT|-b0|0||66e3","Pacific/Enderbury|PHOT|-d0|0||1","Pacific/Fakaofo|TKT TKT|b0 -d0|01|1Gfn0|483","Pacific/Fiji|FJST FJT|-d0 -c0|01010101010101010101010|1BWe0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0|88e4","Pacific/Funafuti|TVT|-c0|0||45e2","Pacific/Galapagos|GALT|60|0||25e3","Pacific/Gambier|GAMT|90|0||125","Pacific/Guadalcanal|SBT|-b0|0||11e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Kiritimati|LINT|-e0|0||51e2","Pacific/Kosrae|KOST|-b0|0||66e2","Pacific/Marquesas|MART|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Nauru|NRT|-c0|0||10e3","Pacific/Niue|NUT|b0|0||12e2","Pacific/Norfolk|NFT NFT|-bu -b0|01|1PoCu|25e4","Pacific/Noumea|NCT|-b0|0||98e3","Pacific/Palau|PWT|-90|0||21e3","Pacific/Pitcairn|PST|80|0||56","Pacific/Pohnpei|PONT|-b0|0||34e3","Pacific/Port_Moresby|PGT|-a0|0||25e4","Pacific/Rarotonga|CKT|a0|0||13e3","Pacific/Tahiti|TAHT|a0|0||18e4","Pacific/Tarawa|GILT|-c0|0||29e3","Pacific/Tongatapu|+13 +14|-d0 -e0|0101010101|1S4d0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0|75e3","Pacific/Wake|WAKT|-c0|0||16e3","Pacific/Wallis|WFT|-c0|0||94"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Addis_Ababa","Africa/Khartoum|Africa/Asmara","Africa/Khartoum|Africa/Asmera","Africa/Khartoum|Africa/Dar_es_Salaam","Africa/Khartoum|Africa/Djibouti","Africa/Khartoum|Africa/Juba","Africa/Khartoum|Africa/Kampala","Africa/Khartoum|Africa/Mogadishu","Africa/Khartoum|Africa/Nairobi","Africa/Khartoum|Indian/Antananarivo","Africa/Khartoum|Indian/Comoro","Africa/Khartoum|Indian/Mayotte","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Argentina/Catamarca","America/Argentina/Buenos_Aires|America/Argentina/ComodRivadavia","America/Argentina/Buenos_Aires|America/Argentina/Cordoba","America/Argentina/Buenos_Aires|America/Argentina/Jujuy","America/Argentina/Buenos_Aires|America/Argentina/La_Rioja","America/Argentina/Buenos_Aires|America/Argentina/Mendoza","America/Argentina/Buenos_Aires|America/Argentina/Rio_Gallegos","America/Argentina/Buenos_Aires|America/Argentina/Salta","America/Argentina/Buenos_Aires|America/Argentina/San_Juan","America/Argentina/Buenos_Aires|America/Argentina/San_Luis","America/Argentina/Buenos_Aires|America/Argentina/Tucuman","America/Argentina/Buenos_Aires|America/Argentina/Ushuaia","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Buenos_Aires|America/Catamarca","America/Argentina/Buenos_Aires|America/Cordoba","America/Argentina/Buenos_Aires|America/Jujuy","America/Argentina/Buenos_Aires|America/Mendoza","America/Argentina/Buenos_Aires|America/Rosario","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Belem","America/Fortaleza|America/Maceio","America/Fortaleza|America/Recife","America/Fortaleza|America/Santarem","America/Halifax|America/Glace_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/East-Saskatchewan","America/Managua|Canada/Saskatchewan","America/Manaus|America/Boa_Vista","America/Manaus|America/Porto_Velho","America/Manaus|Brazil/West","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Rio_Branco|America/Eirunepe","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Antarctica/Palmer","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/DumontDUrville|Etc/GMT-10","Antarctica/Rothera|Etc/GMT+3","Antarctica/Syowa|Etc/GMT-3","Asia/Almaty|Antarctica/Vostok","Asia/Almaty|Asia/Bishkek","Asia/Almaty|Asia/Qyzylorda","Asia/Almaty|Etc/GMT-6","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Singapore|Singapore","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tbilisi|Etc/GMT-4","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Astrakhan|Europe/Ulyanovsk","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Volgograd|Europe/Kirov","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Majuro|Kwajalein","Pacific/Majuro|Pacific/Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pohnpei|Pacific/Ponape"] +}),a}); \ No newline at end of file diff --git a/docs/bower_components/moment/min/moment.min.js b/docs/bower_components/moment/min/moment.min.js index a86b8f6..8e6866a 100644 --- a/docs/bower_components/moment/min/moment.min.js +++ b/docs/bower_components/moment/min/moment.min.js @@ -1 +1,7 @@ -!function(pe,qe){"object"==typeof exports&&"undefined"!=typeof module?module.exports=qe():"function"==typeof define&&define.amd?define(qe):pe.moment=qe()}(this,function(){"use strict";function pe(){return Xh.apply(null,arguments)}function re(Fj){return"[object Array]"===Object.prototype.toString.call(Fj)}function se(Fj){return Fj instanceof Date||"[object Date]"===Object.prototype.toString.call(Fj)}function te(Fj,Gj){var Hj,Ij=[];for(Hj=0;HjGj.overflow)||Gj.empty||Gj.invalidMonth||Gj.invalidWeekday||Gj.nullInput||Gj.invalidFormat||Gj.userInvalidated),Fj._strict&&(Fj._isValid=Fj._isValid&&0===Gj.charsLeftOver&&0===Gj.unusedTokens.length&&void 0===Gj.bigHour)}return Fj._isValid}function Ae(Fj){var Gj=we(NaN);return null==Fj?ye(Gj).userInvalidated=!0:ve(ye(Gj),Fj),Gj}function Be(Fj,Gj){var Hj,Ij,Jj;if("undefined"!=typeof Gj._isAMomentObject&&(Fj._isAMomentObject=Gj._isAMomentObject),"undefined"!=typeof Gj._i&&(Fj._i=Gj._i),"undefined"!=typeof Gj._f&&(Fj._f=Gj._f),"undefined"!=typeof Gj._l&&(Fj._l=Gj._l),"undefined"!=typeof Gj._strict&&(Fj._strict=Gj._strict),"undefined"!=typeof Gj._tzm&&(Fj._tzm=Gj._tzm),"undefined"!=typeof Gj._isUTC&&(Fj._isUTC=Gj._isUTC),"undefined"!=typeof Gj._offset&&(Fj._offset=Gj._offset),"undefined"!=typeof Gj._pf&&(Fj._pf=ye(Gj)),"undefined"!=typeof Gj._locale&&(Fj._locale=Gj._locale),0Fj?Math.ceil(Fj):Math.floor(Fj)}function Fe(Fj){var Gj=+Fj,Hj=0;return 0!=Gj&&isFinite(Gj)&&(Hj=Ee(Gj)),Hj}function Ge(Fj,Gj,Hj){var Ij,Jj=Math.min(Fj.length,Gj.length),Kj=Math.abs(Fj.length-Gj.length),Lj=0;for(Ij=0;Jj>Ij;Ij++)(Hj&&Fj[Ij]!==Gj[Ij]||!Hj&&Fe(Fj[Ij])!==Fe(Gj[Ij]))&&Lj++;return Lj+Kj}function He(){}function Ie(Fj){return Fj?Fj.toLowerCase().replace("_","-"):Fj}function Je(Fj){for(var Gj,Hj,Ij,Jj,Kj=0;Kj=Gj&&Ge(Jj,Hj,!0)>=Gj-1)break;Gj--}Kj++}return null}function Ke(Fj){var Gj=null;if(!_h[Fj]&&"undefined"!=typeof module&&module&&module.exports)try{Gj=Yh._abbr,require("./locale/"+Fj),Le(Gj)}catch(Hj){}return _h[Fj]}function Le(Fj,Gj){var Hj;return Fj&&(Hj="undefined"==typeof Gj?Ne(Fj):Me(Fj,Gj),Hj&&(Yh=Hj)),Yh._abbr}function Me(Fj,Gj){return null===Gj?(delete _h[Fj],null):(Gj.abbr=Fj,_h[Fj]=_h[Fj]||new He,_h[Fj].set(Gj),Le(Fj),_h[Fj])}function Ne(Fj){var Gj;if(Fj&&Fj._locale&&Fj._locale._abbr&&(Fj=Fj._locale._abbr),!Fj)return Yh;if(!re(Fj)){if(Gj=Ke(Fj))return Gj;Fj=[Fj]}return Je(Fj)}function Oe(Fj,Gj){var Hj=Fj.toLowerCase();ai[Hj]=ai[Hj+"s"]=ai[Gj]=Fj}function Pe(Fj){return"string"==typeof Fj?ai[Fj]||ai[Fj.toLowerCase()]:void 0}function Qe(Fj){var Gj,Hj,Ij={};for(Hj in Fj)ue(Fj,Hj)&&(Gj=Pe(Hj),Gj&&(Ij[Gj]=Fj[Hj]));return Ij}function Re(Fj,Gj){return function(Hj){return null==Hj?Se(this,Fj):(Te(this,Fj,Hj),pe.updateOffset(this,Gj),this)}}function Se(Fj,Gj){return Fj._d["get"+(Fj._isUTC?"UTC":"")+Gj]()}function Te(Fj,Gj,Hj){return Fj._d["set"+(Fj._isUTC?"UTC":"")+Gj](Hj)}function Ue(Fj,Gj){if("object"==typeof Fj)for(var Hj in Fj)this.set(Hj,Fj[Hj]);else if(Fj=Pe(Fj),"function"==typeof this[Fj])return this[Fj](Gj);return this}function Ve(Fj,Gj,Hj){var Ij=""+Math.abs(Fj),Jj=Gj-Ij.length;return(0<=Fj?Hj?"+":"":"-")+Math.pow(10,Math.max(0,Jj)).toString().substr(1)+Ij}function We(Fj,Gj,Hj,Ij){var Jj=Ij;"string"==typeof Ij&&(Jj=function(){return this[Ij]()}),Fj&&(ei[Fj]=Jj),Gj&&(ei[Gj[0]]=function(){return Ve(Jj.apply(this,arguments),Gj[1],Gj[2])}),Hj&&(ei[Hj]=function(){return this.localeData().ordinal(Jj.apply(this,arguments),Fj)})}function Xe(Fj){return Fj.match(/\[[\s\S]/)?Fj.replace(/^\[|\]$/g,""):Fj.replace(/\\/g,"")}function Ye(Fj){var Gj,Hj,Ij=Fj.match(bi);for(Gj=0,Hj=Ij.length;Hj>Gj;Gj++)Ij[Gj]=ei[Ij[Gj]]?ei[Ij[Gj]]:Xe(Ij[Gj]);return function(Jj){var Kj="";for(Gj=0;Hj>Gj;Gj++)Kj+=Ij[Gj]instanceof Function?Ij[Gj].call(Jj,Fj):Ij[Gj];return Kj}}function Ze(Fj,Gj){return Fj.isValid()?(Gj=$e(Gj,Fj.localeData()),di[Gj]=di[Gj]||Ye(Gj),di[Gj](Fj)):Fj.localeData().invalidDate()}function $e(Fj,Gj){function Hj(Jj){return Gj.longDateFormat(Jj)||Jj}var Ij=5;for(ci.lastIndex=0;0<=Ij&&ci.test(Fj);)Fj=Fj.replace(ci,Hj),ci.lastIndex=0,Ij-=1;return Fj}function _e(Fj){return"function"==typeof Fj&&"[object Function]"===Object.prototype.toString.call(Fj)}function af(Fj,Gj,Hj){ti[Fj]=_e(Gj)?Gj:function(Ij){return Ij&&Hj?Hj:Gj}}function bf(Fj,Gj){return ue(ti,Fj)?ti[Fj](Gj._strict,Gj._locale):new RegExp(cf(Fj))}function cf(Fj){return Fj.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Gj,Hj,Ij,Jj,Kj){return Hj||Ij||Jj||Kj}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function df(Fj,Gj){var Hj,Ij=Gj;for("string"==typeof Fj&&(Fj=[Fj]),"number"==typeof Gj&&(Ij=function(Jj,Kj){Kj[Gj]=Fe(Jj)}),Hj=0;HjHj[wi]||11Hj[xi]||Hj[xi]>gf(Hj[vi],Hj[wi])?xi:0>Hj[yi]||24Hj[zi]||59Hj[Ai]||59Hj[Bi]||999Gj||Gj>xi)&&(Gj=xi),ye(Fj).overflow=Gj),Fj}function pf(Fj){!1===pe.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+Fj)}function qf(Fj,Gj){var Hj=!0;return ve(function(){return Hj&&(pf(Fj+"\n"+new Error().stack),Hj=!1),Gj.apply(this,arguments)},Gj)}function rf(Fj,Gj){Ei[Fj]||(pf(Gj),Ei[Fj]=!0)}function sf(Fj){var Gj,Hj,Ij=Fj._i,Jj=Fi.exec(Ij);if(Jj){for(ye(Fj).iso=!0,Gj=0,Hj=Gi.length;Hj>Gj;Gj++)if(Gi[Gj][1].exec(Ij)){Fj._f=Gi[Gj][0];break}for(Gj=0,Hj=Hi.length;Hj>Gj;Gj++)if(Hi[Gj][1].exec(Ij)){Fj._f+=(Jj[6]||" ")+Hi[Gj][0];break}Ij.match(qi)&&(Fj._f+="Z"),Lf(Fj)}else Fj._isValid=!1}function tf(Fj){var Gj=Ii.exec(Fj._i);return null===Gj?(sf(Fj),void(!1===Fj._isValid&&(delete Fj._isValid,pe.createFromInputFallback(Fj)))):void(Fj._d=new Date(+Gj[1]))}function uf(Fj,Gj,Hj,Ij,Jj,Kj,Lj){var Mj=new Date(Fj,Gj,Hj,Ij,Jj,Kj,Lj);return 1970>Fj&&Mj.setFullYear(Fj),Mj}function vf(Fj){var Gj=new Date(Date.UTC.apply(null,arguments));return 1970>Fj&&Gj.setUTCFullYear(Fj),Gj}function wf(Fj){return xf(Fj)?366:365}function xf(Fj){return 0==Fj%4&&0!=Fj%100||0==Fj%400}function zf(Fj,Gj,Hj){var Ij,Jj=Hj-Gj,Kj=Hj-Fj.day();return Kj>Jj&&(Kj-=7),Jj-7>Kj&&(Kj+=7),Ij=Tf(Fj).add(Kj,"d"),{week:Math.ceil(Ij.dayOfYear()/7),year:Ij.year()}}function Ff(Fj,Gj,Hj,Ij,Jj){var Kj,Lj=6+Jj-Ij,Mj=vf(Fj,0,1+Lj),Nj=Mj.getUTCDay();return Jj>Nj&&(Nj+=7),Hj=null==Hj?Jj:1*Hj,Kj=1+Lj+7*(Gj-1)-Nj+Hj,{year:0wf(Jj)&&(ye(Fj)._overflowDayOfYear=!0),Hj=vf(Jj,0,Fj._dayOfYear),Fj._a[wi]=Hj.getUTCMonth(),Fj._a[xi]=Hj.getUTCDate()),Gj=0;3>Gj&&null==Fj._a[Gj];++Gj)Fj._a[Gj]=Kj[Gj]=Ij[Gj];for(;7>Gj;Gj++)Fj._a[Gj]=Kj[Gj]=null==Fj._a[Gj]?2===Gj?1:0:Fj._a[Gj];24===Fj._a[yi]&&0===Fj._a[zi]&&0===Fj._a[Ai]&&0===Fj._a[Bi]&&(Fj._nextDay=!0,Fj._a[yi]=0),Fj._d=(Fj._useUTC?vf:uf).apply(null,Kj),null!=Fj._tzm&&Fj._d.setUTCMinutes(Fj._d.getUTCMinutes()-Fj._tzm),Fj._nextDay&&(Fj._a[yi]=24)}}function Kf(Fj){var Gj,Hj,Ij,Jj,Kj,Lj,Mj;Gj=Fj._w,null!=Gj.GG||null!=Gj.W||null!=Gj.E?(Kj=1,Lj=4,Hj=Hf(Gj.GG,Fj._a[vi],zf(Tf(),1,4).year),Ij=Hf(Gj.W,1),Jj=Hf(Gj.E,1)):(Kj=Fj._locale._week.dow,Lj=Fj._locale._week.doy,Hj=Hf(Gj.gg,Fj._a[vi],zf(Tf(),Kj,Lj).year),Ij=Hf(Gj.w,1),null==Gj.d?Jj=null==Gj.e?Kj:Gj.e+Kj:(Jj=Gj.d,Kj>Jj&&++Ij)),Mj=Ff(Hj,Ij,Jj,Lj,Kj),Fj._a[vi]=Mj.year,Fj._dayOfYear=Mj.dayOfYear}function Lf(Fj){if(Fj._f===pe.ISO_8601)return void sf(Fj);Fj._a=[],ye(Fj).empty=!0;var Gj,Hj,Ij,Jj,Kj,Lj=""+Fj._i,Mj=Lj.length,Nj=0;for(Ij=$e(Fj._f,Fj._locale).match(bi)||[],Gj=0;Gj=Fj._a[yi]&&0Gj&&(Gj+=12),Ij||12!==Gj||(Gj=0),Gj):Fj.meridiemHour(Gj,Hj)}function Nf(Fj){var Gj,Hj,Ij,Jj,Kj;if(0===Fj._f.length)return ye(Fj).invalidFormat=!0,void(Fj._d=new Date(NaN));for(Jj=0;JjKj)&&(Ij=Kj,Hj=Gj));ve(Fj,Hj||Gj)}function Of(Fj){if(!Fj._d){var Gj=Qe(Fj._i);Fj._a=[Gj.year,Gj.month,Gj.day||Gj.date,Gj.hour,Gj.minute,Gj.second,Gj.millisecond],Jf(Fj)}}function Pf(Fj){var Gj=new Ce(of(Qf(Fj)));return Gj._nextDay&&(Gj.add(1,"d"),Gj._nextDay=void 0),Gj}function Qf(Fj){var Gj=Fj._i,Hj=Fj._f;return Fj._locale=Fj._locale||Ne(Fj._l),null===Gj||void 0===Hj&&""===Gj?Ae({nullInput:!0}):("string"==typeof Gj&&(Fj._i=Gj=Fj._locale.preparse(Gj)),De(Gj)?new Ce(of(Gj)):(re(Hj)?Nf(Fj):Hj?Lf(Fj):se(Gj)?Fj._d=Gj:Rf(Fj),Fj))}function Rf(Fj){var Gj=Fj._i;void 0===Gj?Fj._d=new Date:se(Gj)?Fj._d=new Date(+Gj):"string"==typeof Gj?tf(Fj):re(Gj)?(Fj._a=te(Gj.slice(0),function(Hj){return parseInt(Hj,10)}),Jf(Fj)):"object"==typeof Gj?Of(Fj):"number"==typeof Gj?Fj._d=new Date(Gj):pe.createFromInputFallback(Fj)}function Sf(Fj,Gj,Hj,Ij,Jj){var Kj={};return"boolean"==typeof Hj&&(Ij=Hj,Hj=void 0),Kj._isAMomentObject=!0,Kj._useUTC=Kj._isUTC=Jj,Kj._l=Hj,Kj._i=Fj,Kj._f=Gj,Kj._strict=Ij,Pf(Kj)}function Tf(Fj,Gj,Hj,Ij){return Sf(Fj,Gj,Hj,Ij,!1)}function Uf(Fj,Gj){var Hj,Ij;if(1===Gj.length&&re(Gj[0])&&(Gj=Gj[0]),!Gj.length)return Tf();for(Hj=Gj[0],Ij=1;IjHj&&(Hj=-Hj,Ij="-"),Ij+Ve(~~(Hj/60),2)+Gj+Ve(~~Hj%60,2)})}function $f(Fj){var Gj=(Fj||"").match(qi)||[],Hj=Gj[Gj.length-1]||[],Ij=(Hj+"").match(Ni)||["-",0,0],Jj=+(60*Ij[1])+Fe(Ij[2]);return"+"===Ij[0]?Jj:-Jj}function _f(Fj,Gj){var Hj,Ij;return Gj._isUTC?(Hj=Gj.clone(),Ij=(De(Fj)||se(Fj)?+Fj:+Tf(Fj))-+Hj,Hj._d.setTime(+Hj._d+Ij),pe.updateOffset(Hj,!1),Hj):Tf(Fj).local()}function ag(Fj){return 15*-Math.round(Fj._d.getTimezoneOffset()/15)}function lg(){return this._isUTC&&0===this._offset}function mg(Fj,Gj){var Hj,Ij,Jj,Kj=Fj,Lj=null;return Yf(Fj)?Kj={ms:Fj._milliseconds,d:Fj._days,M:Fj._months}:"number"==typeof Fj?(Kj={},Gj?Kj[Gj]=Fj:Kj.milliseconds=Fj):(Lj=Oi.exec(Fj))?(Hj="-"===Lj[1]?-1:1,Kj={y:0,d:Fe(Lj[xi])*Hj,h:Fe(Lj[yi])*Hj,m:Fe(Lj[zi])*Hj,s:Fe(Lj[Ai])*Hj,ms:Fe(Lj[Bi])*Hj}):(Lj=Pi.exec(Fj))?(Hj="-"===Lj[1]?-1:1,Kj={y:ng(Lj[2],Hj),M:ng(Lj[3],Hj),d:ng(Lj[4],Hj),h:ng(Lj[5],Hj),m:ng(Lj[6],Hj),s:ng(Lj[7],Hj),w:ng(Lj[8],Hj)}):null==Kj?Kj={}:"object"==typeof Kj&&("from"in Kj||"to"in Kj)&&(Jj=pg(Tf(Kj.from),Tf(Kj.to)),Kj={},Kj.ms=Jj.milliseconds,Kj.M=Jj.months),Ij=new Xf(Kj),Yf(Fj)&&ue(Fj,"_locale")&&(Ij._locale=Fj._locale),Ij}function ng(Fj,Gj){var Hj=Fj&&parseFloat(Fj.replace(",","."));return(isNaN(Hj)?0:Hj)*Gj}function og(Fj,Gj){var Hj={milliseconds:0,months:0};return Hj.months=Gj.month()-Fj.month()+12*(Gj.year()-Fj.year()),Fj.clone().add(Hj.months,"M").isAfter(Gj)&&--Hj.months,Hj.milliseconds=+Gj-+Fj.clone().add(Hj.months,"M"),Hj}function pg(Fj,Gj){var Hj;return Gj=_f(Gj,Fj),Fj.isBefore(Gj)?Hj=og(Fj,Gj):(Hj=og(Gj,Fj),Hj.milliseconds=-Hj.milliseconds,Hj.months=-Hj.months),Hj}function qg(Fj,Gj){return function(Hj,Ij){var Jj,Kj;return null===Ij||isNaN(+Ij)||(rf(Gj,"moment()."+Gj+"(period, number) is deprecated. Please use moment()."+Gj+"(number, period)."),Kj=Hj,Hj=Ij,Ij=Kj),Hj="string"==typeof Hj?+Hj:Hj,Jj=mg(Hj,Ij),rg(this,Jj,Fj),this}}function rg(Fj,Gj,Hj,Ij){var Jj=Gj._milliseconds,Kj=Gj._days,Lj=Gj._months;Ij=!(null!=Ij)||Ij,Jj&&Fj._d.setTime(+Fj._d+Jj*Hj),Kj&&Te(Fj,"Date",Se(Fj,"Date")+Kj*Hj),Lj&&lf(Fj,Se(Fj,"Month")+Lj*Hj),Ij&&pe.updateOffset(Fj,Kj||Lj)}function zg(Fj,Gj){var Hj,Ij,Jj=12*(Gj.year()-Fj.year())+(Gj.month()-Fj.month()),Kj=Fj.clone().add(Jj,"months");return 0>Gj-Kj?(Hj=Fj.clone().add(Jj-1,"months"),Ij=(Gj-Kj)/(Kj-Hj)):(Hj=Fj.clone().add(Jj+1,"months"),Ij=(Gj-Kj)/(Hj-Kj)),-(Jj+Ij)}function Bg(){var Fj=this.clone().utc();return 0=Fj.year()?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():Ze(Fj,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Ze(Fj,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Hg(Fj){var Gj;return void 0===Fj?this._locale._abbr:(Gj=Ne(Fj),null!=Gj&&(this._locale=Gj),this)}function Ig(){return this._locale}function Tg(Fj,Gj){We(0,[Fj,Fj.length],0,Gj)}function Ug(Fj,Gj,Hj){return zf(Tf([Fj,11,31+Gj-Hj]),Gj,Hj).week}function $g(Fj,Gj){return"string"==typeof Fj?isNaN(Fj)?(Fj=Gj.weekdaysParse(Fj),"number"==typeof Fj?Fj:null):parseInt(Fj,10):Fj}function gh(Fj,Gj){We(Fj,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Gj)})}function hh(Fj,Gj){return Gj._meridiemParse}function kh(Fj,Gj){Gj[Bi]=Fe(1e3*("0."+Fj))}function th(Fj){return Fj}function xh(Fj,Gj,Hj,Ij){var Jj=Ne(),Kj=we().set(Ij,Gj);return Jj[Hj](Kj,Fj)}function yh(Fj,Gj,Hj,Ij,Jj){if("number"==typeof Fj&&(Gj=Fj,Fj=void 0),Fj=Fj||"",null!=Gj)return xh(Fj,Gj,Hj,Jj);var Kj,Lj=[];for(Kj=0;Ij>Kj;Kj++)Lj[Kj]=xh(Fj,Kj,Hj,Jj);return Lj}function Fh(Fj,Gj,Hj,Ij){var Jj=mg(Gj,Hj);return Fj._milliseconds+=Ij*Jj._milliseconds,Fj._days+=Ij*Jj._days,Fj._months+=Ij*Jj._months,Fj._bubble()}function Ih(Fj){return 0>Fj?Math.floor(Fj):Math.ceil(Fj)}function Kh(Fj){return 4800*Fj/146097}function Lh(Fj){return 146097*Fj/4800}function Oh(Fj){return function(){return this.as(Fj)}}function Qh(Fj){return function(){return this._data[Fj]}}function Sh(Fj,Gj,Hj,Ij,Jj){return Jj.relativeTime(Gj||1,!!Hj,Fj,Ij)}function Th(Fj,Gj,Hj){var Ij=mg(Fj).abs(),Jj=Aj(Ij.as("s")),Kj=Aj(Ij.as("m")),Lj=Aj(Ij.as("h")),Mj=Aj(Ij.as("d")),Nj=Aj(Ij.as("M")),Oj=Aj(Ij.as("y")),Pj=JjRj?"-":"")+"P"+(Lj?Lj+"Y":"")+(Mj?Mj+"M":"")+(Nj?Nj+"D":"")+(Oj||Pj||Qj?"T":"")+(Oj?Oj+"H":"")+(Pj?Pj+"M":"")+(Qj?Qj+"S":""):"P0D"}var Xh,Yh,Zh=pe.momentProperties=[],$h=!1,_h={},ai={},bi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ci=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,di={},ei={},fi=/\d/,gi=/\d\d/,hi=/\d{3}/,ii=/\d{4}/,ji=/[+-]?\d{6}/,ki=/\d\d?/,li=/\d{1,3}/,mi=/\d{1,4}/,ni=/[+-]?\d{1,6}/,oi=/\d+/,pi=/[+-]?\d+/,qi=/Z|[+-]\d\d:?\d\d/gi,ri=/[+-]?\d+(\.\d{1,3})?/,si=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ti={},ui={},vi=0,wi=1,xi=2,yi=3,zi=4,Ai=5,Bi=6;We("M",["MM",2],"Mo",function(){return this.month()+1}),We("MMM",0,0,function(Fj){return this.localeData().monthsShort(this,Fj)}),We("MMMM",0,0,function(Fj){return this.localeData().months(this,Fj)}),Oe("month","M"),af("M",ki),af("MM",ki,gi),af("MMM",si),af("MMMM",si),df(["M","MM"],function(Fj,Gj){Gj[wi]=Fe(Fj)-1}),df(["MMM","MMMM"],function(Fj,Gj,Hj,Ij){var Jj=Hj._locale.monthsParse(Fj,Ij,Hj._strict);null==Jj?ye(Hj).invalidMonth=Fj:Gj[wi]=Jj});var Ci="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Di="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ei={};pe.suppressDeprecationWarnings=!1;var Fi=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Gi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Hi=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Ii=/^\/?Date\((\-?\d+)/i;pe.createFromInputFallback=qf("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(Fj){Fj._d=new Date(Fj._i+(Fj._useUTC?" UTC":""))}),We(0,["YY",2],0,function(){return this.year()%100}),We(0,["YYYY",4],0,"year"),We(0,["YYYYY",5],0,"year"),We(0,["YYYYYY",6,!0],0,"year"),Oe("year","y"),af("Y",pi),af("YY",ki,gi),af("YYYY",mi,ii),af("YYYYY",ni,ji),af("YYYYYY",ni,ji),df(["YYYYY","YYYYYY"],vi),df("YYYY",function(Fj,Gj){Gj[vi]=2===Fj.length?pe.parseTwoDigitYear(Fj):Fe(Fj)}),df("YY",function(Fj,Gj){Gj[vi]=pe.parseTwoDigitYear(Fj)}),pe.parseTwoDigitYear=function(Fj){return Fe(Fj)+(68Fj?this:Fj}),Mi=qf("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var Fj=Tf.apply(null,arguments);return Fj>this?this:Fj});Zf("Z",":"),Zf("ZZ",""),af("Z",qi),af("ZZ",qi),df(["Z","ZZ"],function(Fj,Gj,Hj){Hj._useUTC=!0,Hj._tzm=$f(Fj)});var Ni=/([\+\-]|\d\d)/gi;pe.updateOffset=function(){};var Oi=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Pi=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;mg.fn=Xf.prototype;var Qi=qg(1,"add"),Ri=qg(-1,"subtract");pe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Si=qf("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(Fj){return void 0===Fj?this.localeData():this.locale(Fj)});We(0,["gg",2],0,function(){return this.weekYear()%100}),We(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Tg("gggg","weekYear"),Tg("ggggg","weekYear"),Tg("GGGG","isoWeekYear"),Tg("GGGGG","isoWeekYear"),Oe("weekYear","gg"),Oe("isoWeekYear","GG"),af("G",pi),af("g",pi),af("GG",ki,gi),af("gg",ki,gi),af("GGGG",mi,ii),af("gggg",mi,ii),af("GGGGG",ni,ji),af("ggggg",ni,ji),ef(["gggg","ggggg","GGGG","GGGGG"],function(Fj,Gj,Hj,Ij){Gj[Ij.substr(0,2)]=Fe(Fj)}),ef(["gg","GG"],function(Fj,Gj,Hj,Ij){Gj[Ij]=pe.parseTwoDigitYear(Fj)}),We("Q",0,0,"quarter"),Oe("quarter","Q"),af("Q",fi),df("Q",function(Fj,Gj){Gj[wi]=3*(Fe(Fj)-1)}),We("D",["DD",2],"Do","date"),Oe("date","D"),af("D",ki),af("DD",ki,gi),af("Do",function(Fj,Gj){return Fj?Gj._ordinalParse:Gj._ordinalParseLenient}),df(["D","DD"],xi),df("Do",function(Fj,Gj){Gj[xi]=Fe(Fj.match(ki)[0],10)});var Ti=Re("Date",!0);We("d",0,"do","day"),We("dd",0,0,function(Fj){return this.localeData().weekdaysMin(this,Fj)}),We("ddd",0,0,function(Fj){return this.localeData().weekdaysShort(this,Fj)}),We("dddd",0,0,function(Fj){return this.localeData().weekdays(this,Fj)}),We("e",0,0,"weekday"),We("E",0,0,"isoWeekday"),Oe("day","d"),Oe("weekday","e"),Oe("isoWeekday","E"),af("d",ki),af("e",ki),af("E",ki),af("dd",si),af("ddd",si),af("dddd",si),ef(["dd","ddd","dddd"],function(Fj,Gj,Hj){var Ij=Hj._locale.weekdaysParse(Fj);null==Ij?ye(Hj).invalidWeekday=Fj:Gj.d=Ij}),ef(["d","e","E"],function(Fj,Gj,Hj,Ij){Gj[Ij]=Fe(Fj)});var Ui="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_");We("H",["HH",2],0,"hour"),We("h",["hh",2],0,function(){return this.hours()%12||12}),gh("a",!0),gh("A",!1),Oe("hour","h"),af("a",hh),af("A",hh),af("H",ki),af("h",ki),af("HH",ki,gi),af("hh",ki,gi),df(["H","HH"],yi),df(["a","A"],function(Fj,Gj,Hj){Hj._isPm=Hj._locale.isPM(Fj),Hj._meridiem=Fj}),df(["h","hh"],function(Fj,Gj,Hj){Gj[yi]=Fe(Fj),ye(Hj).bigHour=!0});var Xi=/[ap]\.?m?\.?/i,Yi=Re("Hours",!0);We("m",["mm",2],0,"minute"),Oe("minute","m"),af("m",ki),af("mm",ki,gi),df(["m","mm"],zi);var Zi=Re("Minutes",!1);We("s",["ss",2],0,"second"),Oe("second","s"),af("s",ki),af("ss",ki,gi),df(["s","ss"],Ai);var $i=Re("Seconds",!1);We("S",0,0,function(){return~~(this.millisecond()/100)}),We(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),We(0,["SSS",3],0,"millisecond"),We(0,["SSSS",4],0,function(){return 10*this.millisecond()}),We(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),We(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),We(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),We(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),We(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Oe("millisecond","ms"),af("S",li,fi),af("SS",li,gi),af("SSS",li,hi);var _i;for(_i="SSSS";9>=_i.length;_i+="S")af(_i,oi);for(_i="S";9>=_i.length;_i+="S")df(_i,kh);var aj=Re("Milliseconds",!1);We("z",0,0,"zoneAbbr"),We("zz",0,0,"zoneName");var bj=Ce.prototype;bj.add=Qi,bj.calendar=function(Fj,Gj){var Hj=Fj||Tf(),Ij=_f(Hj,this).startOf("day"),Jj=this.diff(Ij,"days",!0),Kj=-6>Jj?"sameElse":-1>Jj?"lastWeek":0>Jj?"lastDay":1>Jj?"sameDay":2>Jj?"nextDay":7>Jj?"nextWeek":"sameElse";return this.format(Gj&&Gj[Kj]||this.localeData().calendar(Kj,this,Tf(Hj)))},bj.clone=function(){return new Ce(this)},bj.diff=function(Fj,Gj,Hj){var Ij,Jj,Kj=_f(Fj,this),Lj=6e4*(Kj.utcOffset()-this.utcOffset());return Gj=Pe(Gj),"year"===Gj||"month"===Gj||"quarter"===Gj?(Jj=zg(this,Kj),"quarter"===Gj?Jj/=3:"year"==Gj&&(Jj/=12)):(Ij=this-Kj,Jj="second"===Gj?Ij/1e3:"minute"===Gj?Ij/6e4:"hour"===Gj?Ij/36e5:"day"===Gj?(Ij-Lj)/864e5:"week"===Gj?(Ij-Lj)/6048e5:Ij),Hj?Jj:Ee(Jj)},bj.endOf=function(Fj){return Fj=Pe(Fj),void 0===Fj||"millisecond"===Fj?this:this.startOf(Fj).add(1,"isoWeek"===Fj?"week":Fj).subtract(1,"ms")},bj.format=function(Fj){var Gj=Ze(this,Fj||pe.defaultFormat);return this.localeData().postformat(Gj)},bj.from=function(Fj,Gj){return this.isValid()?mg({to:this,from:Fj}).locale(this.locale()).humanize(!Gj):this.localeData().invalidDate()},bj.fromNow=function(Fj){return this.from(Tf(),Fj)},bj.to=function(Fj,Gj){return this.isValid()?mg({from:this,to:Fj}).locale(this.locale()).humanize(!Gj):this.localeData().invalidDate()},bj.toNow=function(Fj){return this.to(Tf(),Fj)},bj.get=Ue,bj.invalidAt=function(){return ye(this).overflow},bj.isAfter=function(Fj,Gj){var Hj;return Gj=Pe("undefined"==typeof Gj?"millisecond":Gj),"millisecond"===Gj?(Fj=De(Fj)?Fj:Tf(Fj),+this>+Fj):(Hj=De(Fj)?+Fj:+Tf(Fj),Hj<+this.clone().startOf(Gj))},bj.isBefore=function(Fj,Gj){var Hj;return Gj=Pe("undefined"==typeof Gj?"millisecond":Gj),"millisecond"===Gj?(Fj=De(Fj)?Fj:Tf(Fj),+Fj>+this):(Hj=De(Fj)?+Fj:+Tf(Fj),+this.clone().endOf(Gj)Math.abs(Fj)&&(Fj=60*Fj),!this._isUTC&&Gj&&(Hj=ag(this)),this._offset=Fj,this._isUTC=!0,null!=Hj&&this.add(Hj,"m"),Ij!==Fj&&(!Gj||this._changeInProgress?rg(this,mg(Fj-Ij,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,pe.updateOffset(this,!0),this._changeInProgress=null)),this)},bj.utc=function(Fj){return this.utcOffset(0,Fj)},bj.local=function(Fj){return this._isUTC&&(this.utcOffset(0,Fj),this._isUTC=!1,Fj&&this.subtract(ag(this),"m")),this},bj.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset($f(this._i)),this},bj.hasAlignedHourOffset=function(Fj){return Fj=Fj?Tf(Fj).utcOffset():0,0==(this.utcOffset()-Fj)%60},bj.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},bj.isDSTShifted=function(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var Fj={};if(Be(Fj,this),Fj=Qf(Fj),Fj._a){var Gj=Fj._isUTC?we(Fj._a):Tf(Fj._a);this._isDSTShifted=this.isValid()&&0Ij;Ij++){if(Jj=we([2e3,Ij]),Hj&&!this._longMonthsParse[Ij]&&(this._longMonthsParse[Ij]=new RegExp("^"+this.months(Jj,"").replace(".","")+"$","i"),this._shortMonthsParse[Ij]=new RegExp("^"+this.monthsShort(Jj,"").replace(".","")+"$","i")),Hj||this._monthsParse[Ij]||(Kj="^"+this.months(Jj,"")+"|^"+this.monthsShort(Jj,""),this._monthsParse[Ij]=new RegExp(Kj.replace(".",""),"i")),Hj&&"MMMM"===Gj&&this._longMonthsParse[Ij].test(Fj))return Ij;if(Hj&&"MMM"===Gj&&this._shortMonthsParse[Ij].test(Fj))return Ij;if(!Hj&&this._monthsParse[Ij].test(Fj))return Ij}},jj.week=function(Fj){return zf(Fj,this._week.dow,this._week.doy).week},jj._week={dow:0,doy:6},jj.firstDayOfYear=function(){return this._week.doy},jj.firstDayOfWeek=function(){return this._week.dow},jj.weekdays=function(Fj){return this._weekdays[Fj.day()]},jj._weekdays=Ui,jj.weekdaysMin=function(Fj){return this._weekdaysMin[Fj.day()]},jj._weekdaysMin=Wi,jj.weekdaysShort=function(Fj){return this._weekdaysShort[Fj.day()]},jj._weekdaysShort=Vi,jj.weekdaysParse=function(Fj){var Gj,Hj,Ij;for(this._weekdaysParse=this._weekdaysParse||[],Gj=0;7>Gj;Gj++)if(this._weekdaysParse[Gj]||(Hj=Tf([2000,1]).day(Gj),Ij="^"+this.weekdays(Hj,"")+"|^"+this.weekdaysShort(Hj,"")+"|^"+this.weekdaysMin(Hj,""),this._weekdaysParse[Gj]=new RegExp(Ij.replace(".",""),"i")),this._weekdaysParse[Gj].test(Fj))return Gj},jj.isPM=function(Fj){return"p"===(Fj+"").toLowerCase().charAt(0)},jj._meridiemParse=Xi,jj.meridiem=function(Fj,Gj,Hj){return 11=Kj&&0>=Lj&&0>=Mj||(Kj+=864e5*Ih(Lh(Mj)+Lj),Lj=0,Mj=0),Nj.milliseconds=Kj%1e3,Fj=Ee(Kj/1e3),Nj.seconds=Fj%60,Gj=Ee(Fj/60),Nj.minutes=Gj%60,Hj=Ee(Gj/60),Nj.hours=Hj%24,Lj+=Ee(Hj/24),Jj=Ee(Kh(Lj)),Mj+=Jj,Lj-=Ih(Lh(Jj)),Ij=Ee(Mj/12),Mj%=12,Nj.days=Lj,Nj.months=Mj,Nj.years=Ij,this},Dj.get=function(Fj){return Fj=Pe(Fj),this[Fj+"s"]()},Dj.milliseconds=tj,Dj.seconds=uj,Dj.minutes=vj,Dj.hours=wj,Dj.days=xj,Dj.weeks=function(){return Ee(this.days()/7)},Dj.months=yj,Dj.years=zj,Dj.humanize=function(Fj){var Gj=this.localeData(),Hj=Th(this,!Fj,Gj);return Fj&&(Hj=Gj.pastFuture(+this,Hj)),Gj.postformat(Hj)},Dj.toISOString=Wh,Dj.toString=Wh,Dj.toJSON=Wh,Dj.locale=Hg,Dj.localeData=Ig,Dj.toIsoString=qf("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wh),Dj.lang=Si,We("X",0,0,"unix"),We("x",0,0,"valueOf"),af("x",pi),af("X",ri),df("X",function(Fj,Gj,Hj){Hj._d=new Date(1e3*parseFloat(Fj,10))}),df("x",function(Fj,Gj,Hj){Hj._d=new Date(Fe(Fj))}),pe.version="2.10.6",function(Fj){Xh=Fj}(Tf),pe.fn=bj,pe.min=function(){var Fj=[].slice.call(arguments,0);return Uf("isBefore",Fj)},pe.max=function(){var Fj=[].slice.call(arguments,0);return Uf("isAfter",Fj)},pe.utc=we,pe.unix=function(Fj){return Tf(1e3*Fj)},pe.months=function(Fj,Gj){return yh(Fj,Gj,"months",12,"month")},pe.isDate=se,pe.locale=Le,pe.invalid=Ae,pe.duration=mg,pe.isMoment=De,pe.weekdays=function(Fj,Gj){return yh(Fj,Gj,"weekdays",7,"day")},pe.parseZone=function(){return Tf.apply(null,arguments).parseZone()},pe.localeData=Ne,pe.isDuration=Yf,pe.monthsShort=function(Fj,Gj){return yh(Fj,Gj,"monthsShort",12,"month")},pe.weekdaysMin=function(Fj,Gj){return yh(Fj,Gj,"weekdaysMin",7,"day")},pe.defineLocale=Me,pe.weekdaysShort=function(Fj,Gj){return yh(Fj,Gj,"weekdaysShort",7,"day")},pe.normalizeUnits=Pe,pe.relativeTimeThreshold=function(Fj,Gj){return void 0!==Bj[Fj]&&(void 0===Gj?Bj[Fj]:(Bj[Fj]=Gj,!0))};return pe}); \ No newline at end of file +//! moment.js +//! version : 2.10.6 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return Hc.apply(null,arguments)}function b(a){Hc=a}function c(a){return"[object Array]"===Object.prototype.toString.call(a)}function d(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function e(a,b){var c,d=[];for(c=0;c0)for(c in Jc)d=Jc[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function n(b){m(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),Kc===!1&&(Kc=!0,a.updateOffset(this),Kc=!1)}function o(a){return a instanceof n||null!=a&&null!=a._isAMomentObject}function p(a){return 0>a?Math.ceil(a):Math.floor(a)}function q(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=p(b)),c}function r(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&q(a[d])!==q(b[d]))&&g++;return g+f}function s(){}function t(a){return a?a.toLowerCase().replace("_","-"):a}function u(a){for(var b,c,d,e,f=0;f0;){if(d=v(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&r(e,c,!0)>=b-1)break;b--}f++}return null}function v(a){var b=null;if(!Lc[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Ic._abbr,require("./locale/"+a),w(b)}catch(c){}return Lc[a]}function w(a,b){var c;return a&&(c="undefined"==typeof b?y(a):x(a,b),c&&(Ic=c)),Ic._abbr}function x(a,b){return null!==b?(b.abbr=a,Lc[a]=Lc[a]||new s,Lc[a].set(b),w(a),Lc[a]):(delete Lc[a],null)}function y(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Ic;if(!c(a)){if(b=v(a))return b;a=[a]}return u(a)}function z(a,b){var c=a.toLowerCase();Mc[c]=Mc[c+"s"]=Mc[b]=a}function A(a){return"string"==typeof a?Mc[a]||Mc[a.toLowerCase()]:void 0}function B(a){var b,c,d={};for(c in a)f(a,c)&&(b=A(c),b&&(d[b]=a[c]));return d}function C(b,c){return function(d){return null!=d?(E(this,b,d),a.updateOffset(this,c),this):D(this,b)}}function D(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function E(a,b,c){return a._d["set"+(a._isUTC?"UTC":"")+b](c)}function F(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=A(a),"function"==typeof this[a])return this[a](b);return this}function G(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function H(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Qc[a]=e),b&&(Qc[b[0]]=function(){return G(e.apply(this,arguments),b[1],b[2])}),c&&(Qc[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function I(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function J(a){var b,c,d=a.match(Nc);for(b=0,c=d.length;c>b;b++)Qc[d[b]]?d[b]=Qc[d[b]]:d[b]=I(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function K(a,b){return a.isValid()?(b=L(b,a.localeData()),Pc[b]=Pc[b]||J(b),Pc[b](a)):a.localeData().invalidDate()}function L(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Oc.lastIndex=0;d>=0&&Oc.test(a);)a=a.replace(Oc,c),Oc.lastIndex=0,d-=1;return a}function M(a){return"function"==typeof a&&"[object Function]"===Object.prototype.toString.call(a)}function N(a,b,c){dd[a]=M(b)?b:function(a){return a&&c?c:b}}function O(a,b){return f(dd,a)?dd[a](b._strict,b._locale):new RegExp(P(a))}function P(a){return a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=q(a)}),c=0;cd;d++){if(e=h([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function X(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),T(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function Y(b){return null!=b?(X(this,b),a.updateOffset(this,!0),this):D(this,"Month")}function Z(){return T(this.year(),this.month())}function $(a){var b,c=a._a;return c&&-2===j(a).overflow&&(b=c[gd]<0||c[gd]>11?gd:c[hd]<1||c[hd]>T(c[fd],c[gd])?hd:c[id]<0||c[id]>24||24===c[id]&&(0!==c[jd]||0!==c[kd]||0!==c[ld])?id:c[jd]<0||c[jd]>59?jd:c[kd]<0||c[kd]>59?kd:c[ld]<0||c[ld]>999?ld:-1,j(a)._overflowDayOfYear&&(fd>b||b>hd)&&(b=hd),j(a).overflow=b),a}function _(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function aa(a,b){var c=!0;return g(function(){return c&&(_(a+"\n"+(new Error).stack),c=!1),b.apply(this,arguments)},b)}function ba(a,b){od[a]||(_(b),od[a]=!0)}function ca(a){var b,c,d=a._i,e=pd.exec(d);if(e){for(j(a).iso=!0,b=0,c=qd.length;c>b;b++)if(qd[b][1].exec(d)){a._f=qd[b][0];break}for(b=0,c=rd.length;c>b;b++)if(rd[b][1].exec(d)){a._f+=(e[6]||" ")+rd[b][0];break}d.match(ad)&&(a._f+="Z"),va(a)}else a._isValid=!1}function da(b){var c=sd.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(ca(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function ea(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function fa(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ga(a){return ha(a)?366:365}function ha(a){return a%4===0&&a%100!==0||a%400===0}function ia(){return ha(this.year())}function ja(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=Da(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ka(a){return ja(a,this._week.dow,this._week.doy).week}function la(){return this._week.dow}function ma(){return this._week.doy}function na(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function oa(a){var b=ja(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function pa(a,b,c,d,e){var f,g=6+e-d,h=fa(a,0,1+g),i=h.getUTCDay();return e>i&&(i+=7),c=null!=c?1*c:e,f=1+g+7*(b-1)-i+c,{year:f>0?a:a-1,dayOfYear:f>0?f:ga(a-1)+f}}function qa(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function ra(a,b,c){return null!=a?a:null!=b?b:c}function sa(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function ta(a){var b,c,d,e,f=[];if(!a._d){for(d=sa(a),a._w&&null==a._a[hd]&&null==a._a[gd]&&ua(a),a._dayOfYear&&(e=ra(a._a[fd],d[fd]),a._dayOfYear>ga(e)&&(j(a)._overflowDayOfYear=!0),c=fa(e,0,a._dayOfYear),a._a[gd]=c.getUTCMonth(),a._a[hd]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[id]&&0===a._a[jd]&&0===a._a[kd]&&0===a._a[ld]&&(a._nextDay=!0,a._a[id]=0),a._d=(a._useUTC?fa:ea).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[id]=24)}}function ua(a){var b,c,d,e,f,g,h;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=ra(b.GG,a._a[fd],ja(Da(),1,4).year),d=ra(b.W,1),e=ra(b.E,1)):(f=a._locale._week.dow,g=a._locale._week.doy,c=ra(b.gg,a._a[fd],ja(Da(),f,g).year),d=ra(b.w,1),null!=b.d?(e=b.d,f>e&&++d):e=null!=b.e?b.e+f:f),h=pa(c,d,e,g,f),a._a[fd]=h.year,a._dayOfYear=h.dayOfYear}function va(b){if(b._f===a.ISO_8601)return void ca(b);b._a=[],j(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,k=0;for(e=L(b._f,b._locale).match(Nc)||[],c=0;c0&&j(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),k+=d.length),Qc[f]?(d?j(b).empty=!1:j(b).unusedTokens.push(f),S(f,d,b)):b._strict&&!d&&j(b).unusedTokens.push(f);j(b).charsLeftOver=i-k,h.length>0&&j(b).unusedInput.push(h),j(b).bigHour===!0&&b._a[id]<=12&&b._a[id]>0&&(j(b).bigHour=void 0),b._a[id]=wa(b._locale,b._a[id],b._meridiem),ta(b),$(b)}function wa(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function xa(a){var b,c,d,e,f;if(0===a._f.length)return j(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;ef)&&(d=f,c=b));g(a,c||b)}function ya(a){if(!a._d){var b=B(a._i);a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],ta(a)}}function za(a){var b=new n($(Aa(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function Aa(a){var b=a._i,e=a._f;return a._locale=a._locale||y(a._l),null===b||void 0===e&&""===b?l({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),o(b)?new n($(b)):(c(e)?xa(a):e?va(a):d(b)?a._d=b:Ba(a),a))}function Ba(b){var f=b._i;void 0===f?b._d=new Date:d(f)?b._d=new Date(+f):"string"==typeof f?da(b):c(f)?(b._a=e(f.slice(0),function(a){return parseInt(a,10)}),ta(b)):"object"==typeof f?ya(b):"number"==typeof f?b._d=new Date(f):a.createFromInputFallback(b)}function Ca(a,b,c,d,e){var f={};return"boolean"==typeof c&&(d=c,c=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=e,f._l=c,f._i=a,f._f=b,f._strict=d,za(f)}function Da(a,b,c,d){return Ca(a,b,c,d,!1)}function Ea(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return Da();for(d=b[0],e=1;ea&&(a=-a,c="-"),c+G(~~(a/60),2)+b+G(~~a%60,2)})}function Ka(a){var b=(a||"").match(ad)||[],c=b[b.length-1]||[],d=(c+"").match(xd)||["-",0,0],e=+(60*d[1])+q(d[2]);return"+"===d[0]?e:-e}function La(b,c){var e,f;return c._isUTC?(e=c.clone(),f=(o(b)||d(b)?+b:+Da(b))-+e,e._d.setTime(+e._d+f),a.updateOffset(e,!1),e):Da(b).local()}function Ma(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Na(b,c){var d,e=this._offset||0;return null!=b?("string"==typeof b&&(b=Ka(b)),Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Ma(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?bb(this,Ya(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Ma(this)}function Oa(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Pa(a){return this.utcOffset(0,a)}function Qa(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ma(this),"m")),this}function Ra(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ka(this._i)),this}function Sa(a){return a=a?Da(a).utcOffset():0,(this.utcOffset()-a)%60===0}function Ta(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ua(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var a={};if(m(a,this),a=Aa(a),a._a){var b=a._isUTC?h(a._a):Da(a._a);this._isDSTShifted=this.isValid()&&r(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Va(){return!this._isUTC}function Wa(){return this._isUTC}function Xa(){return this._isUTC&&0===this._offset}function Ya(a,b){var c,d,e,g=a,h=null;return Ia(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=yd.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:q(h[hd])*c,h:q(h[id])*c,m:q(h[jd])*c,s:q(h[kd])*c,ms:q(h[ld])*c}):(h=zd.exec(a))?(c="-"===h[1]?-1:1,g={y:Za(h[2],c),M:Za(h[3],c),d:Za(h[4],c),h:Za(h[5],c),m:Za(h[6],c),s:Za(h[7],c),w:Za(h[8],c)}):null==g?g={}:"object"==typeof g&&("from"in g||"to"in g)&&(e=_a(Da(g.from),Da(g.to)),g={},g.ms=e.milliseconds,g.M=e.months),d=new Ha(g),Ia(a)&&f(a,"_locale")&&(d._locale=a._locale),d}function Za(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function $a(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function _a(a,b){var c;return b=La(b,a),a.isBefore(b)?c=$a(a,b):(c=$a(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function ab(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(ba(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Ya(c,d),bb(this,e,a),this}}function bb(b,c,d,e){var f=c._milliseconds,g=c._days,h=c._months;e=null==e?!0:e,f&&b._d.setTime(+b._d+f*d),g&&E(b,"Date",D(b,"Date")+g*d),h&&X(b,D(b,"Month")+h*d),e&&a.updateOffset(b,g||h)}function cb(a,b){var c=a||Da(),d=La(c,this).startOf("day"),e=this.diff(d,"days",!0),f=-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse";return this.format(b&&b[f]||this.localeData().calendar(f,this,Da(c)))}function db(){return new n(this)}function eb(a,b){var c;return b=A("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=o(a)?a:Da(a),+this>+a):(c=o(a)?+a:+Da(a),c<+this.clone().startOf(b))}function fb(a,b){var c;return b=A("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=o(a)?a:Da(a),+a>+this):(c=o(a)?+a:+Da(a),+this.clone().endOf(b)b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function kb(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lb(){var a=this.clone().utc();return 0b;b++)if(this._weekdaysParse[b]||(c=Da([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b}function Pb(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Kb(a,this.localeData()),this.add(a-b,"d")):b}function Qb(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Rb(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)}function Sb(a,b){H(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Tb(a,b){return b._meridiemParse}function Ub(a){return"p"===(a+"").toLowerCase().charAt(0)}function Vb(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Wb(a,b){b[ld]=q(1e3*("0."+a))}function Xb(){return this._isUTC?"UTC":""}function Yb(){return this._isUTC?"Coordinated Universal Time":""}function Zb(a){return Da(1e3*a)}function $b(){return Da.apply(null,arguments).parseZone()}function _b(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.call(b,c):d}function ac(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function bc(){return this._invalidDate}function cc(a){return this._ordinal.replace("%d",a)}function dc(a){return a}function ec(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)}function fc(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)}function gc(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function hc(a,b,c,d){var e=y(),f=h().set(d,b);return e[c](f,a)}function ic(a,b,c,d,e){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return hc(a,b,c,e);var f,g=[];for(f=0;d>f;f++)g[f]=hc(a,f,c,e);return g}function jc(a,b){return ic(a,b,"months",12,"month")}function kc(a,b){return ic(a,b,"monthsShort",12,"month")}function lc(a,b){return ic(a,b,"weekdays",7,"day")}function mc(a,b){return ic(a,b,"weekdaysShort",7,"day")}function nc(a,b){return ic(a,b,"weekdaysMin",7,"day")}function oc(){var a=this._data;return this._milliseconds=Wd(this._milliseconds),this._days=Wd(this._days),this._months=Wd(this._months),a.milliseconds=Wd(a.milliseconds),a.seconds=Wd(a.seconds),a.minutes=Wd(a.minutes),a.hours=Wd(a.hours),a.months=Wd(a.months),a.years=Wd(a.years),this}function pc(a,b,c,d){var e=Ya(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function qc(a,b){return pc(this,a,b,1)}function rc(a,b){return pc(this,a,b,-1)}function sc(a){return 0>a?Math.floor(a):Math.ceil(a)}function tc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||0>=f&&0>=g&&0>=h||(f+=864e5*sc(vc(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=p(f/1e3),i.seconds=a%60,b=p(a/60),i.minutes=b%60,c=p(b/60),i.hours=c%24,g+=p(c/24),e=p(uc(g)),h+=e,g-=sc(vc(e)),d=p(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function uc(a){return 4800*a/146097}function vc(a){return 146097*a/4800}function wc(a){var b,c,d=this._milliseconds;if(a=A(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+uc(b),"month"===a?c:c/12;switch(b=this._days+Math.round(vc(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function xc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12)}function yc(a){return function(){return this.as(a)}}function zc(a){return a=A(a),this[a+"s"]()}function Ac(a){return function(){return this._data[a]}}function Bc(){return p(this.days()/7)}function Cc(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function Dc(a,b,c){var d=Ya(a).abs(),e=ke(d.as("s")),f=ke(d.as("m")),g=ke(d.as("h")),h=ke(d.as("d")),i=ke(d.as("M")),j=ke(d.as("y")),k=e0,k[4]=c,Cc.apply(null,k)}function Ec(a,b){return void 0===le[a]?!1:void 0===b?le[a]:(le[a]=b,!0)}function Fc(a){var b=this.localeData(),c=Dc(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function Gc(){var a,b,c,d=me(this._milliseconds)/1e3,e=me(this._days),f=me(this._months);a=p(d/60),b=p(a/60),d%=60,a%=60,c=p(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(0>m?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var Hc,Ic,Jc=a.momentProperties=[],Kc=!1,Lc={},Mc={},Nc=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oc=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pc={},Qc={},Rc=/\d/,Sc=/\d\d/,Tc=/\d{3}/,Uc=/\d{4}/,Vc=/[+-]?\d{6}/,Wc=/\d\d?/,Xc=/\d{1,3}/,Yc=/\d{1,4}/,Zc=/[+-]?\d{1,6}/,$c=/\d+/,_c=/[+-]?\d+/,ad=/Z|[+-]\d\d:?\d\d/gi,bd=/[+-]?\d+(\.\d{1,3})?/,cd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,dd={},ed={},fd=0,gd=1,hd=2,id=3,jd=4,kd=5,ld=6;H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),H("MMMM",0,0,function(a){return this.localeData().months(this,a)}),z("month","M"),N("M",Wc),N("MM",Wc,Sc),N("MMM",cd),N("MMMM",cd),Q(["M","MM"],function(a,b){b[gd]=q(a)-1}),Q(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[gd]=e:j(c).invalidMonth=a});var md="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),od={};a.suppressDeprecationWarnings=!1;var pd=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],rd=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sd=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=aa("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),z("year","y"),N("Y",_c),N("YY",Wc,Sc),N("YYYY",Yc,Uc),N("YYYYY",Zc,Vc),N("YYYYYY",Zc,Vc),Q(["YYYYY","YYYYYY"],fd),Q("YYYY",function(b,c){c[fd]=2===b.length?a.parseTwoDigitYear(b):q(b)}),Q("YY",function(b,c){c[fd]=a.parseTwoDigitYear(b)}),a.parseTwoDigitYear=function(a){return q(a)+(q(a)>68?1900:2e3)};var td=C("FullYear",!1);H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),N("w",Wc),N("ww",Wc,Sc),N("W",Wc),N("WW",Wc,Sc),R(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=q(a)});var ud={dow:0,doy:6};H("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),N("DDD",Xc),N("DDDD",Tc),Q(["DDD","DDDD"],function(a,b,c){c._dayOfYear=q(a)}),a.ISO_8601=function(){};var vd=aa("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=Da.apply(null,arguments);return this>a?this:a}),wd=aa("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=Da.apply(null,arguments);return a>this?this:a});Ja("Z",":"),Ja("ZZ",""),N("Z",ad),N("ZZ",ad),Q(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Ka(a)});var xd=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var yd=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,zd=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ya.fn=Ha.prototype;var Ad=ab(1,"add"),Bd=ab(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Cd=aa("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Db("gggg","weekYear"),Db("ggggg","weekYear"),Db("GGGG","isoWeekYear"),Db("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),N("G",_c),N("g",_c),N("GG",Wc,Sc),N("gg",Wc,Sc),N("GGGG",Yc,Uc),N("gggg",Yc,Uc),N("GGGGG",Zc,Vc),N("ggggg",Zc,Vc),R(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=q(a)}),R(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),H("Q",0,0,"quarter"),z("quarter","Q"),N("Q",Rc),Q("Q",function(a,b){b[gd]=3*(q(a)-1)}),H("D",["DD",2],"Do","date"),z("date","D"),N("D",Wc),N("DD",Wc,Sc),N("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),Q(["D","DD"],hd),Q("Do",function(a,b){b[hd]=q(a.match(Wc)[0],10)});var Dd=C("Date",!0);H("d",0,"do","day"),H("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),H("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),H("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),N("d",Wc),N("e",Wc),N("E",Wc),N("dd",cd),N("ddd",cd),N("dddd",cd),R(["dd","ddd","dddd"],function(a,b,c){var d=c._locale.weekdaysParse(a);null!=d?b.d=d:j(c).invalidWeekday=a}),R(["d","e","E"],function(a,b,c,d){b[d]=q(a)});var Ed="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gd="Su_Mo_Tu_We_Th_Fr_Sa".split("_");H("H",["HH",2],0,"hour"),H("h",["hh",2],0,function(){return this.hours()%12||12}),Sb("a",!0),Sb("A",!1),z("hour","h"),N("a",Tb),N("A",Tb),N("H",Wc),N("h",Wc),N("HH",Wc,Sc),N("hh",Wc,Sc),Q(["H","HH"],id),Q(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),Q(["h","hh"],function(a,b,c){b[id]=q(a),j(c).bigHour=!0});var Hd=/[ap]\.?m?\.?/i,Id=C("Hours",!0);H("m",["mm",2],0,"minute"),z("minute","m"),N("m",Wc),N("mm",Wc,Sc),Q(["m","mm"],jd);var Jd=C("Minutes",!1);H("s",["ss",2],0,"second"),z("second","s"),N("s",Wc),N("ss",Wc,Sc),Q(["s","ss"],kd);var Kd=C("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),N("S",Xc,Rc),N("SS",Xc,Sc),N("SSS",Xc,Tc);var Ld;for(Ld="SSSS";Ld.length<=9;Ld+="S")N(Ld,$c);for(Ld="S";Ld.length<=9;Ld+="S")Q(Ld,Wb);var Md=C("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var Nd=n.prototype;Nd.add=Ad,Nd.calendar=cb,Nd.clone=db,Nd.diff=ib,Nd.endOf=ub,Nd.format=mb,Nd.from=nb,Nd.fromNow=ob,Nd.to=pb,Nd.toNow=qb,Nd.get=F,Nd.invalidAt=Cb,Nd.isAfter=eb,Nd.isBefore=fb,Nd.isBetween=gb,Nd.isSame=hb,Nd.isValid=Ab,Nd.lang=Cd,Nd.locale=rb,Nd.localeData=sb,Nd.max=wd,Nd.min=vd,Nd.parsingFlags=Bb,Nd.set=F,Nd.startOf=tb,Nd.subtract=Bd,Nd.toArray=yb,Nd.toObject=zb,Nd.toDate=xb,Nd.toISOString=lb,Nd.toJSON=lb,Nd.toString=kb,Nd.unix=wb,Nd.valueOf=vb,Nd.year=td,Nd.isLeapYear=ia,Nd.weekYear=Fb,Nd.isoWeekYear=Gb,Nd.quarter=Nd.quarters=Jb,Nd.month=Y,Nd.daysInMonth=Z,Nd.week=Nd.weeks=na,Nd.isoWeek=Nd.isoWeeks=oa,Nd.weeksInYear=Ib,Nd.isoWeeksInYear=Hb,Nd.date=Dd,Nd.day=Nd.days=Pb,Nd.weekday=Qb,Nd.isoWeekday=Rb,Nd.dayOfYear=qa,Nd.hour=Nd.hours=Id,Nd.minute=Nd.minutes=Jd,Nd.second=Nd.seconds=Kd, +Nd.millisecond=Nd.milliseconds=Md,Nd.utcOffset=Na,Nd.utc=Pa,Nd.local=Qa,Nd.parseZone=Ra,Nd.hasAlignedHourOffset=Sa,Nd.isDST=Ta,Nd.isDSTShifted=Ua,Nd.isLocal=Va,Nd.isUtcOffset=Wa,Nd.isUtc=Xa,Nd.isUTC=Xa,Nd.zoneAbbr=Xb,Nd.zoneName=Yb,Nd.dates=aa("dates accessor is deprecated. Use date instead.",Dd),Nd.months=aa("months accessor is deprecated. Use month instead",Y),Nd.years=aa("years accessor is deprecated. Use year instead",td),Nd.zone=aa("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Oa);var Od=Nd,Pd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Qd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Rd="Invalid date",Sd="%d",Td=/\d{1,2}/,Ud={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Vd=s.prototype;Vd._calendar=Pd,Vd.calendar=_b,Vd._longDateFormat=Qd,Vd.longDateFormat=ac,Vd._invalidDate=Rd,Vd.invalidDate=bc,Vd._ordinal=Sd,Vd.ordinal=cc,Vd._ordinalParse=Td,Vd.preparse=dc,Vd.postformat=dc,Vd._relativeTime=Ud,Vd.relativeTime=ec,Vd.pastFuture=fc,Vd.set=gc,Vd.months=U,Vd._months=md,Vd.monthsShort=V,Vd._monthsShort=nd,Vd.monthsParse=W,Vd.week=ka,Vd._week=ud,Vd.firstDayOfYear=ma,Vd.firstDayOfWeek=la,Vd.weekdays=Lb,Vd._weekdays=Ed,Vd.weekdaysMin=Nb,Vd._weekdaysMin=Gd,Vd.weekdaysShort=Mb,Vd._weekdaysShort=Fd,Vd.weekdaysParse=Ob,Vd.isPM=Ub,Vd._meridiemParse=Hd,Vd.meridiem=Vb,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===q(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=aa("moment.lang is deprecated. Use moment.locale instead.",w),a.langData=aa("moment.langData is deprecated. Use moment.localeData instead.",y);var Wd=Math.abs,Xd=yc("ms"),Yd=yc("s"),Zd=yc("m"),$d=yc("h"),_d=yc("d"),ae=yc("w"),be=yc("M"),ce=yc("y"),de=Ac("milliseconds"),ee=Ac("seconds"),fe=Ac("minutes"),ge=Ac("hours"),he=Ac("days"),ie=Ac("months"),je=Ac("years"),ke=Math.round,le={s:45,m:45,h:22,d:26,M:11},me=Math.abs,ne=Ha.prototype;ne.abs=oc,ne.add=qc,ne.subtract=rc,ne.as=wc,ne.asMilliseconds=Xd,ne.asSeconds=Yd,ne.asMinutes=Zd,ne.asHours=$d,ne.asDays=_d,ne.asWeeks=ae,ne.asMonths=be,ne.asYears=ce,ne.valueOf=xc,ne._bubble=tc,ne.get=zc,ne.milliseconds=de,ne.seconds=ee,ne.minutes=fe,ne.hours=ge,ne.days=he,ne.weeks=Bc,ne.months=ie,ne.years=je,ne.humanize=Fc,ne.toISOString=Gc,ne.toString=Gc,ne.toJSON=Gc,ne.locale=rb,ne.localeData=sb,ne.toIsoString=aa("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gc),ne.lang=Cd,H("X",0,0,"unix"),H("x",0,0,"valueOf"),N("x",_c),N("X",bd),Q("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),Q("x",function(a,b,c){c._d=new Date(q(a))}),a.version="2.10.6",b(Da),a.fn=Od,a.min=Fa,a.max=Ga,a.utc=h,a.unix=Zb,a.months=jc,a.isDate=d,a.locale=w,a.invalid=l,a.duration=Ya,a.isMoment=o,a.weekdays=lc,a.parseZone=$b,a.localeData=y,a.isDuration=Ia,a.monthsShort=kc,a.weekdaysMin=nc,a.defineLocale=x,a.weekdaysShort=mc,a.normalizeUnits=A,a.relativeTimeThreshold=Ec;var oe=a;return oe}); \ No newline at end of file diff --git a/docs/bower_components/neon-animation/animations/fade-in-animation.html b/docs/bower_components/neon-animation/animations/fade-in-animation.html index 72d2039..862b3b8 100644 --- a/docs/bower_components/neon-animation/animations/fade-in-animation.html +++ b/docs/bower_components/neon-animation/animations/fade-in-animation.html @@ -1 +1,48 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/animations/fade-out-animation.html b/docs/bower_components/neon-animation/animations/fade-out-animation.html index 5843028..1508c40 100644 --- a/docs/bower_components/neon-animation/animations/fade-out-animation.html +++ b/docs/bower_components/neon-animation/animations/fade-out-animation.html @@ -1 +1,48 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/animations/opaque-animation.html b/docs/bower_components/neon-animation/animations/opaque-animation.html index 7860408..a919292 100644 --- a/docs/bower_components/neon-animation/animations/opaque-animation.html +++ b/docs/bower_components/neon-animation/animations/opaque-animation.html @@ -1 +1,45 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/neon-animatable-behavior.html b/docs/bower_components/neon-animation/neon-animatable-behavior.html index e234eec..ebd2afc 100644 --- a/docs/bower_components/neon-animation/neon-animatable-behavior.html +++ b/docs/bower_components/neon-animation/neon-animatable-behavior.html @@ -1 +1,149 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/neon-animation-behavior.html b/docs/bower_components/neon-animation/neon-animation-behavior.html index 3fb6ec5..f21d5ee 100644 --- a/docs/bower_components/neon-animation/neon-animation-behavior.html +++ b/docs/bower_components/neon-animation/neon-animation-behavior.html @@ -1 +1,85 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/neon-animation-runner-behavior.html b/docs/bower_components/neon-animation/neon-animation-runner-behavior.html index 8a3959a..f16da47 100644 --- a/docs/bower_components/neon-animation/neon-animation-runner-behavior.html +++ b/docs/bower_components/neon-animation/neon-animation-runner-behavior.html @@ -1 +1,129 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/neon-animation/web-animations.html b/docs/bower_components/neon-animation/web-animations.html index 6fe4480..53c7b61 100644 --- a/docs/bower_components/neon-animation/web-animations.html +++ b/docs/bower_components/neon-animation/web-animations.html @@ -1 +1,10 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/bower_components/page/page.js b/docs/bower_components/page/page.js index 34b0fe2..1b9a382 100644 --- a/docs/bower_components/page/page.js +++ b/docs/bower_components/page/page.js @@ -1 +1,1113 @@ -!function(b){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=b();else if("function"==typeof define&&define.amd)define([],b);else{var c;"undefined"==typeof window?"undefined"==typeof global?"undefined"!=typeof self&&(c=self):c=global:c=window,c.page=b()}}(function(){return function g(h,k,p){function q(x,y){if(!k[x]){if(!h[x]){var z="function"==typeof require&&require;if(!y&&z)return z(x,!0);if(v)return v(x,!0);var A=new Error("Cannot find module '"+x+"'");throw A.code="MODULE_NOT_FOUND",A}var B=k[x]={exports:{}};h[x][0].call(B.exports,function(C){var D=h[x][1][C];return q(D?D:C)},B,B.exports,g,h,k,p)}return k[x].exports}for(var v="function"==typeof require&&require,w=0;w + if ('function' === typeof path) { + return page('*', path); + } + + // route to + if ('function' === typeof fn) { + var route = new Route(/** @type {string} */ (path)); + for (var i = 1; i < arguments.length; ++i) { + page.callbacks.push(route.middleware(arguments[i])); + } + // show with [state] + } else if ('string' === typeof path) { + page['string' === typeof fn ? 'redirect' : 'show'](path, fn); + // start [options] + } else { + page.start(path); + } + } + + /** + * Callback functions. + */ + + page.callbacks = []; + page.exits = []; + + /** + * Current path being processed + * @type {string} + */ + page.current = ''; + + /** + * Number of pages navigated to. + * @type {number} + * + * page.len == 0; + * page('/login'); + * page.len == 1; + */ + + page.len = 0; + + /** + * Get or set basepath to `path`. + * + * @param {string} path + * @api public + */ + + page.base = function(path) { + if (0 === arguments.length) return base; + base = path; + }; + + /** + * Bind with the given `options`. + * + * Options: + * + * - `click` bind to click events [true] + * - `popstate` bind to popstate [true] + * - `dispatch` perform initial dispatch [true] + * + * @param {Object} options + * @api public + */ + + page.start = function(options) { + options = options || {}; + if (running) return; + running = true; + if (false === options.dispatch) dispatch = false; + if (false === options.decodeURLComponents) decodeURLComponents = false; + if (false !== options.popstate) window.addEventListener('popstate', onpopstate, false); + if (false !== options.click) { + document.addEventListener(clickEvent, onclick, false); + } + if (true === options.hashbang) hashbang = true; + if (!dispatch) return; + var url = (hashbang && ~location.hash.indexOf('#!')) ? location.hash.substr(2) + location.search : location.pathname + location.search + location.hash; + page.replace(url, null, true, dispatch); + }; + + /** + * Unbind click and popstate event handlers. + * + * @api public + */ + + page.stop = function() { + if (!running) return; + page.current = ''; + page.len = 0; + running = false; + document.removeEventListener(clickEvent, onclick, false); + window.removeEventListener('popstate', onpopstate, false); + }; + + /** + * Show `path` with optional `state` object. + * + * @param {string} path + * @param {Object=} state + * @param {boolean=} dispatch + * @param {boolean=} push + * @return {!Context} + * @api public + */ + + page.show = function(path, state, dispatch, push) { + var ctx = new Context(path, state); + page.current = ctx.path; + if (false !== dispatch) page.dispatch(ctx); + if (false !== ctx.handled && false !== push) ctx.pushState(); + return ctx; + }; + + /** + * Goes back in the history + * Back should always let the current route push state and then go back. + * + * @param {string} path - fallback path to go back if no more history exists, if undefined defaults to page.base + * @param {Object=} state + * @api public + */ + + page.back = function(path, state) { + if (page.len > 0) { + // this may need more testing to see if all browsers + // wait for the next tick to go back in history + history.back(); + page.len--; + } else if (path) { + setTimeout(function() { + page.show(path, state); + }); + }else{ + setTimeout(function() { + page.show(base, state); + }); + } + }; + + + /** + * Register route to redirect from one path to other + * or just redirect to another route + * + * @param {string} from - if param 'to' is undefined redirects to 'from' + * @param {string=} to + * @api public + */ + page.redirect = function(from, to) { + // Define route from a path to another + if ('string' === typeof from && 'string' === typeof to) { + page(from, function(e) { + setTimeout(function() { + page.replace(/** @type {!string} */ (to)); + }, 0); + }); + } + + // Wait for the push state and replace it with another + if ('string' === typeof from && 'undefined' === typeof to) { + setTimeout(function() { + page.replace(from); + }, 0); + } + }; + + /** + * Replace `path` with optional `state` object. + * + * @param {string} path + * @param {Object=} state + * @param {boolean=} init + * @param {boolean=} dispatch + * @return {!Context} + * @api public + */ + + + page.replace = function(path, state, init, dispatch) { + var ctx = new Context(path, state); + page.current = ctx.path; + ctx.init = init; + ctx.save(); // save before dispatching, which may redirect + if (false !== dispatch) page.dispatch(ctx); + return ctx; + }; + + /** + * Dispatch the given `ctx`. + * + * @param {Context} ctx + * @api private + */ + page.dispatch = function(ctx) { + var prev = prevContext, + i = 0, + j = 0; + + prevContext = ctx; + + function nextExit() { + var fn = page.exits[j++]; + if (!fn) return nextEnter(); + fn(prev, nextExit); + } + + function nextEnter() { + var fn = page.callbacks[i++]; + + if (ctx.path !== page.current) { + ctx.handled = false; + return; + } + if (!fn) return unhandled(ctx); + fn(ctx, nextEnter); + } + + if (prev) { + nextExit(); + } else { + nextEnter(); + } + }; + + /** + * Unhandled `ctx`. When it's not the initial + * popstate then redirect. If you wish to handle + * 404s on your own use `page('*', callback)`. + * + * @param {Context} ctx + * @api private + */ + function unhandled(ctx) { + if (ctx.handled) return; + var current; + + if (hashbang) { + current = base + location.hash.replace('#!', ''); + } else { + current = location.pathname + location.search; + } + + if (current === ctx.canonicalPath) return; + page.stop(); + ctx.handled = false; + location.href = ctx.canonicalPath; + } + + /** + * Register an exit route on `path` with + * callback `fn()`, which will be called + * on the previous context when a new + * page is visited. + */ + page.exit = function(path, fn) { + if (typeof path === 'function') { + return page.exit('*', path); + } + + var route = new Route(path); + for (var i = 1; i < arguments.length; ++i) { + page.exits.push(route.middleware(arguments[i])); + } + }; + + /** + * Remove URL encoding from the given `str`. + * Accommodates whitespace in both x-www-form-urlencoded + * and regular percent-encoded form. + * + * @param {string} val - URL component to decode + */ + function decodeURLEncodedURIComponent(val) { + if (typeof val !== 'string') { return val; } + return decodeURLComponents ? decodeURIComponent(val.replace(/\+/g, ' ')) : val; + } + + /** + * Initialize a new "request" `Context` + * with the given `path` and optional initial `state`. + * + * @constructor + * @param {string} path + * @param {Object=} state + * @api public + */ + + function Context(path, state) { + if ('/' === path[0] && 0 !== path.indexOf(base)) path = base + (hashbang ? '#!' : '') + path; + var i = path.indexOf('?'); + + this.canonicalPath = path; + this.path = path.replace(base, '') || '/'; + if (hashbang) this.path = this.path.replace('#!', '') || '/'; + + this.title = document.title; + this.state = state || {}; + this.state.path = path; + this.querystring = ~i ? decodeURLEncodedURIComponent(path.slice(i + 1)) : ''; + this.pathname = decodeURLEncodedURIComponent(~i ? path.slice(0, i) : path); + this.params = {}; + + // fragment + this.hash = ''; + if (!hashbang) { + if (!~this.path.indexOf('#')) return; + var parts = this.path.split('#'); + this.path = parts[0]; + this.hash = decodeURLEncodedURIComponent(parts[1]) || ''; + this.querystring = this.querystring.split('#')[0]; + } + } + + /** + * Expose `Context`. + */ + + page.Context = Context; + + /** + * Push state. + * + * @api private + */ + + Context.prototype.pushState = function() { + page.len++; + history.pushState(this.state, this.title, hashbang && this.path !== '/' ? '#!' + this.path : this.canonicalPath); + }; + + /** + * Save the context state. + * + * @api public + */ + + Context.prototype.save = function() { + history.replaceState(this.state, this.title, hashbang && this.path !== '/' ? '#!' + this.path : this.canonicalPath); + }; + + /** + * Initialize `Route` with the given HTTP `path`, + * and an array of `callbacks` and `options`. + * + * Options: + * + * - `sensitive` enable case-sensitive routes + * - `strict` enable strict matching for trailing slashes + * + * @constructor + * @param {string} path + * @param {Object=} options + * @api private + */ + + function Route(path, options) { + options = options || {}; + this.path = (path === '*') ? '(.*)' : path; + this.method = 'GET'; + this.regexp = pathtoRegexp(this.path, + this.keys = [], + options); + } + + /** + * Expose `Route`. + */ + + page.Route = Route; + + /** + * Return route middleware with + * the given callback `fn()`. + * + * @param {Function} fn + * @return {Function} + * @api public + */ + + Route.prototype.middleware = function(fn) { + var self = this; + return function(ctx, next) { + if (self.match(ctx.path, ctx.params)) return fn(ctx, next); + next(); + }; + }; + + /** + * Check if this route matches `path`, if so + * populate `params`. + * + * @param {string} path + * @param {Object} params + * @return {boolean} + * @api private + */ + + Route.prototype.match = function(path, params) { + var keys = this.keys, + qsIndex = path.indexOf('?'), + pathname = ~qsIndex ? path.slice(0, qsIndex) : path, + m = this.regexp.exec(decodeURIComponent(pathname)); + + if (!m) return false; + + for (var i = 1, len = m.length; i < len; ++i) { + var key = keys[i - 1]; + var val = decodeURLEncodedURIComponent(m[i]); + if (val !== undefined || !(hasOwnProperty.call(params, key.name))) { + params[key.name] = val; + } + } + + return true; + }; + + + /** + * Handle "populate" events. + */ + + var onpopstate = (function () { + var loaded = false; + if ('undefined' === typeof window) { + return; + } + if (document.readyState === 'complete') { + loaded = true; + } else { + window.addEventListener('load', function() { + setTimeout(function() { + loaded = true; + }, 0); + }); + } + return function onpopstate(e) { + if (!loaded) return; + if (e.state) { + var path = e.state.path; + page.replace(path, e.state); + } else { + page.show(location.pathname + location.hash, undefined, undefined, false); + } + }; + })(); + /** + * Handle "click" events. + */ + + function onclick(e) { + + if (1 !== which(e)) return; + + if (e.metaKey || e.ctrlKey || e.shiftKey) return; + if (e.defaultPrevented) return; + + + + // ensure link + // use shadow dom when available + var el = e.path ? e.path[0] : e.target; + while (el && 'A' !== el.nodeName) el = el.parentNode; + if (!el || 'A' !== el.nodeName) return; + + + + // Ignore if tag has + // 1. "download" attribute + // 2. rel="external" attribute + if (el.hasAttribute('download') || el.getAttribute('rel') === 'external') return; + + // ensure non-hash for the same path + var link = el.getAttribute('href'); + if (!hashbang && el.pathname === location.pathname && (el.hash || '#' === link)) return; + + + + // Check for mailto: in the href + if (link && link.indexOf('mailto:') > -1) return; + + // check target + if (el.target) return; + + // x-origin + if (!sameOrigin(el.href)) return; + + + + // rebuild path + var path = el.pathname + el.search + (el.hash || ''); + + // strip leading "/[drive letter]:" on NW.js on Windows + if (typeof process !== 'undefined' && path.match(/^\/[a-zA-Z]:\//)) { + path = path.replace(/^\/[a-zA-Z]:\//, '/'); + } + + // same page + var orig = path; + + if (path.indexOf(base) === 0) { + path = path.substr(base.length); + } + + if (hashbang) path = path.replace('#!', ''); + + if (base && orig === path) return; + + e.preventDefault(); + page.show(orig); + } + + /** + * Event button. + */ + + function which(e) { + e = e || window.event; + return null === e.which ? e.button : e.which; + } + + /** + * Check if `href` is the same origin. + */ + + function sameOrigin(href) { + var origin = location.protocol + '//' + location.hostname; + if (location.port) origin += ':' + location.port; + return (href && (0 === href.indexOf(origin))); + } + + page.sameOrigin = sameOrigin; + +}).call(this,require('_process')) +},{"_process":2,"path-to-regexp":3}],2:[function(require,module,exports){ +// shim for using process in browser + +var process = module.exports = {}; + +process.nextTick = (function () { + var canSetImmediate = typeof window !== 'undefined' + && window.setImmediate; + var canMutationObserver = typeof window !== 'undefined' + && window.MutationObserver; + var canPost = typeof window !== 'undefined' + && window.postMessage && window.addEventListener + ; + + if (canSetImmediate) { + return function (f) { return window.setImmediate(f) }; + } + + var queue = []; + + if (canMutationObserver) { + var hiddenDiv = document.createElement("div"); + var observer = new MutationObserver(function () { + var queueList = queue.slice(); + queue.length = 0; + queueList.forEach(function (fn) { + fn(); + }); + }); + + observer.observe(hiddenDiv, { attributes: true }); + + return function nextTick(fn) { + if (!queue.length) { + hiddenDiv.setAttribute('yes', 'no'); + } + queue.push(fn); + }; + } + + if (canPost) { + window.addEventListener('message', function (ev) { + var source = ev.source; + if ((source === window || source === null) && ev.data === 'process-tick') { + ev.stopPropagation(); + if (queue.length > 0) { + var fn = queue.shift(); + fn(); + } + } + }, true); + + return function nextTick(fn) { + queue.push(fn); + window.postMessage('process-tick', '*'); + }; + } + + return function nextTick(fn) { + setTimeout(fn, 0); + }; +})(); + +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +// TODO(shtylman) +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; + +},{}],3:[function(require,module,exports){ +var isarray = require('isarray') + +/** + * Expose `pathToRegexp`. + */ +module.exports = pathToRegexp +module.exports.parse = parse +module.exports.compile = compile +module.exports.tokensToFunction = tokensToFunction +module.exports.tokensToRegExp = tokensToRegExp + +/** + * The main path matching regexp utility. + * + * @type {RegExp} + */ +var PATH_REGEXP = new RegExp([ + // Match escaped characters that would otherwise appear in future matches. + // This allows the user to escape special characters that won't transform. + '(\\\\.)', + // Match Express-style parameters and un-named parameters with a prefix + // and optional suffixes. Matches appear as: + // + // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined] + // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined] + // "/*" => ["/", undefined, undefined, undefined, undefined, "*"] + '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))' +].join('|'), 'g') + +/** + * Parse a string for the raw tokens. + * + * @param {String} str + * @return {Array} + */ +function parse (str) { + var tokens = [] + var key = 0 + var index = 0 + var path = '' + var res + + while ((res = PATH_REGEXP.exec(str)) != null) { + var m = res[0] + var escaped = res[1] + var offset = res.index + path += str.slice(index, offset) + index = offset + m.length + + // Ignore already escaped sequences. + if (escaped) { + path += escaped[1] + continue + } + + // Push the current path onto the tokens. + if (path) { + tokens.push(path) + path = '' + } + + var prefix = res[2] + var name = res[3] + var capture = res[4] + var group = res[5] + var suffix = res[6] + var asterisk = res[7] + + var repeat = suffix === '+' || suffix === '*' + var optional = suffix === '?' || suffix === '*' + var delimiter = prefix || '/' + var pattern = capture || group || (asterisk ? '.*' : '[^' + delimiter + ']+?') + + tokens.push({ + name: name || key++, + prefix: prefix || '', + delimiter: delimiter, + optional: optional, + repeat: repeat, + pattern: escapeGroup(pattern) + }) + } + + // Match any characters still remaining. + if (index < str.length) { + path += str.substr(index) + } + + // If the path exists, push it onto the end. + if (path) { + tokens.push(path) + } + + return tokens +} + +/** + * Compile a string to a template function for the path. + * + * @param {String} str + * @return {Function} + */ +function compile (str) { + return tokensToFunction(parse(str)) +} + +/** + * Expose a method for transforming tokens into the path function. + */ +function tokensToFunction (tokens) { + // Compile all the tokens into regexps. + var matches = new Array(tokens.length) + + // Compile all the patterns before compilation. + for (var i = 0; i < tokens.length; i++) { + if (typeof tokens[i] === 'object') { + matches[i] = new RegExp('^' + tokens[i].pattern + '$') + } + } + + return function (obj) { + var path = '' + var data = obj || {} + + for (var i = 0; i < tokens.length; i++) { + var token = tokens[i] + + if (typeof token === 'string') { + path += token + + continue + } + + var value = data[token.name] + var segment + + if (value == null) { + if (token.optional) { + continue + } else { + throw new TypeError('Expected "' + token.name + '" to be defined') + } + } + + if (isarray(value)) { + if (!token.repeat) { + throw new TypeError('Expected "' + token.name + '" to not repeat, but received "' + value + '"') + } + + if (value.length === 0) { + if (token.optional) { + continue + } else { + throw new TypeError('Expected "' + token.name + '" to not be empty') + } + } + + for (var j = 0; j < value.length; j++) { + segment = encodeURIComponent(value[j]) + + if (!matches[i].test(segment)) { + throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"') + } + + path += (j === 0 ? token.prefix : token.delimiter) + segment + } + + continue + } + + segment = encodeURIComponent(value) + + if (!matches[i].test(segment)) { + throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"') + } + + path += token.prefix + segment + } + + return path + } +} + +/** + * Escape a regular expression string. + * + * @param {String} str + * @return {String} + */ +function escapeString (str) { + return str.replace(/([.+*?=^!:${}()[\]|\/])/g, '\\$1') +} + +/** + * Escape the capturing group by escaping special characters and meaning. + * + * @param {String} group + * @return {String} + */ +function escapeGroup (group) { + return group.replace(/([=!:$\/()])/g, '\\$1') +} + +/** + * Attach the keys as a property of the regexp. + * + * @param {RegExp} re + * @param {Array} keys + * @return {RegExp} + */ +function attachKeys (re, keys) { + re.keys = keys + return re +} + +/** + * Get the flags for a regexp from the options. + * + * @param {Object} options + * @return {String} + */ +function flags (options) { + return options.sensitive ? '' : 'i' +} + +/** + * Pull out keys from a regexp. + * + * @param {RegExp} path + * @param {Array} keys + * @return {RegExp} + */ +function regexpToRegexp (path, keys) { + // Use a negative lookahead to match only capturing groups. + var groups = path.source.match(/\((?!\?)/g) + + if (groups) { + for (var i = 0; i < groups.length; i++) { + keys.push({ + name: i, + prefix: null, + delimiter: null, + optional: false, + repeat: false, + pattern: null + }) + } + } + + return attachKeys(path, keys) +} + +/** + * Transform an array into a regexp. + * + * @param {Array} path + * @param {Array} keys + * @param {Object} options + * @return {RegExp} + */ +function arrayToRegexp (path, keys, options) { + var parts = [] + + for (var i = 0; i < path.length; i++) { + parts.push(pathToRegexp(path[i], keys, options).source) + } + + var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options)) + + return attachKeys(regexp, keys) +} + +/** + * Create a path regexp from string input. + * + * @param {String} path + * @param {Array} keys + * @param {Object} options + * @return {RegExp} + */ +function stringToRegexp (path, keys, options) { + var tokens = parse(path) + var re = tokensToRegExp(tokens, options) + + // Attach keys back to the regexp. + for (var i = 0; i < tokens.length; i++) { + if (typeof tokens[i] !== 'string') { + keys.push(tokens[i]) + } + } + + return attachKeys(re, keys) +} + +/** + * Expose a function for taking tokens and returning a RegExp. + * + * @param {Array} tokens + * @param {Array} keys + * @param {Object} options + * @return {RegExp} + */ +function tokensToRegExp (tokens, options) { + options = options || {} + + var strict = options.strict + var end = options.end !== false + var route = '' + var lastToken = tokens[tokens.length - 1] + var endsWithSlash = typeof lastToken === 'string' && /\/$/.test(lastToken) + + // Iterate over the tokens and create our regexp string. + for (var i = 0; i < tokens.length; i++) { + var token = tokens[i] + + if (typeof token === 'string') { + route += escapeString(token) + } else { + var prefix = escapeString(token.prefix) + var capture = token.pattern + + if (token.repeat) { + capture += '(?:' + prefix + capture + ')*' + } + + if (token.optional) { + if (prefix) { + capture = '(?:' + prefix + '(' + capture + '))?' + } else { + capture = '(' + capture + ')?' + } + } else { + capture = prefix + '(' + capture + ')' + } + + route += capture + } + } + + // In non-strict mode we allow a slash at the end of match. If the path to + // match already ends with a slash, we remove it for consistency. The slash + // is valid at the end of a path match, not in the middle. This is important + // in non-ending mode, where "/test/" shouldn't match "/test//route". + if (!strict) { + route = (endsWithSlash ? route.slice(0, -2) : route) + '(?:\\/(?=$))?' + } + + if (end) { + route += '$' + } else { + // In non-ending mode, we need the capturing groups to match as much as + // possible by using a positive lookahead to the end or next path segment. + route += strict && endsWithSlash ? '' : '(?=\\/|$)' + } + + return new RegExp('^' + route, flags(options)) +} + +/** + * Normalize the given path string, returning a regular expression. + * + * An empty array can be passed in for the keys, which will hold the + * placeholder key descriptions. For example, using `/user/:id`, `keys` will + * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`. + * + * @param {(String|RegExp|Array)} path + * @param {Array} [keys] + * @param {Object} [options] + * @return {RegExp} + */ +function pathToRegexp (path, keys, options) { + keys = keys || [] + + if (!isarray(keys)) { + options = keys + keys = [] + } else if (!options) { + options = {} + } + + if (path instanceof RegExp) { + return regexpToRegexp(path, keys, options) + } + + if (isarray(path)) { + return arrayToRegexp(path, keys, options) + } + + return stringToRegexp(path, keys, options) +} + +},{"isarray":4}],4:[function(require,module,exports){ +module.exports = Array.isArray || function (arr) { + return Object.prototype.toString.call(arr) == '[object Array]'; +}; + +},{}]},{},[1])(1) +}); \ No newline at end of file diff --git a/docs/bower_components/paper-behaviors/paper-button-behavior.html b/docs/bower_components/paper-behaviors/paper-button-behavior.html index 548900a..b83af23 100644 --- a/docs/bower_components/paper-behaviors/paper-button-behavior.html +++ b/docs/bower_components/paper-behaviors/paper-button-behavior.html @@ -1 +1,96 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-behaviors/paper-checked-element-behavior.html b/docs/bower_components/paper-behaviors/paper-checked-element-behavior.html index 144e21d..06edd14 100644 --- a/docs/bower_components/paper-behaviors/paper-checked-element-behavior.html +++ b/docs/bower_components/paper-behaviors/paper-checked-element-behavior.html @@ -1 +1,56 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-behaviors/paper-inky-focus-behavior.html b/docs/bower_components/paper-behaviors/paper-inky-focus-behavior.html index 2673e9a..b014a5c 100644 --- a/docs/bower_components/paper-behaviors/paper-inky-focus-behavior.html +++ b/docs/bower_components/paper-behaviors/paper-inky-focus-behavior.html @@ -1 +1,50 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-behaviors/paper-ripple-behavior.html b/docs/bower_components/paper-behaviors/paper-ripple-behavior.html index 8823cb4..4802f3d 100644 --- a/docs/bower_components/paper-behaviors/paper-ripple-behavior.html +++ b/docs/bower_components/paper-behaviors/paper-ripple-behavior.html @@ -1 +1,125 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-button/paper-button.html b/docs/bower_components/paper-button/paper-button.html index 1b1612d..7eaf0bc 100644 --- a/docs/bower_components/paper-button/paper-button.html +++ b/docs/bower_components/paper-button/paper-button.html @@ -1 +1,128 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-card/paper-card.html b/docs/bower_components/paper-card/paper-card.html index 89ff6f8..6dc2dc2 100644 --- a/docs/bower_components/paper-card/paper-card.html +++ b/docs/bower_components/paper-card/paper-card.html @@ -1 +1,181 @@ - \ No newline at end of file + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-checkbox/paper-checkbox.html b/docs/bower_components/paper-checkbox/paper-checkbox.html index 5eddd67..2bf78eb 100644 --- a/docs/bower_components/paper-checkbox/paper-checkbox.html +++ b/docs/bower_components/paper-checkbox/paper-checkbox.html @@ -1 +1,144 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dialog-behavior/paper-dialog-behavior.html b/docs/bower_components/paper-dialog-behavior/paper-dialog-behavior.html index 7d2bf41..882497e 100644 --- a/docs/bower_components/paper-dialog-behavior/paper-dialog-behavior.html +++ b/docs/bower_components/paper-dialog-behavior/paper-dialog-behavior.html @@ -1 +1,139 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dialog-behavior/paper-dialog-shared-styles.html b/docs/bower_components/paper-dialog-behavior/paper-dialog-shared-styles.html index 89d5196..1b8d0b2 100644 --- a/docs/bower_components/paper-dialog-behavior/paper-dialog-shared-styles.html +++ b/docs/bower_components/paper-dialog-behavior/paper-dialog-shared-styles.html @@ -1 +1,34 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dialog/paper-dialog.html b/docs/bower_components/paper-dialog/paper-dialog.html index aca56e4..8097a6c 100644 --- a/docs/bower_components/paper-dialog/paper-dialog.html +++ b/docs/bower_components/paper-dialog/paper-dialog.html @@ -1 +1,116 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html index d0fc30f..b91d44e 100644 --- a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html +++ b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html @@ -1 +1,16 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html index a904c71..40936e4 100644 --- a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html +++ b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html @@ -1 +1,16 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu.html b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu.html index 95ad629..4c96aa6 100644 --- a/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu.html +++ b/docs/bower_components/paper-dropdown-menu/paper-dropdown-menu.html @@ -1 +1,391 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-icon-button/paper-icon-button.html b/docs/bower_components/paper-icon-button/paper-icon-button.html index 7934b3a..2dbb491 100644 --- a/docs/bower_components/paper-icon-button/paper-icon-button.html +++ b/docs/bower_components/paper-icon-button/paper-icon-button.html @@ -1 +1,127 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input-addon-behavior.html b/docs/bower_components/paper-input/paper-input-addon-behavior.html index e33df63..e22788e 100644 --- a/docs/bower_components/paper-input/paper-input-addon-behavior.html +++ b/docs/bower_components/paper-input/paper-input-addon-behavior.html @@ -1 +1,46 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input-behavior.html b/docs/bower_components/paper-input/paper-input-behavior.html index d45b37b..7e14a5e 100644 --- a/docs/bower_components/paper-input/paper-input-behavior.html +++ b/docs/bower_components/paper-input/paper-input-behavior.html @@ -1 +1,568 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input-char-counter.html b/docs/bower_components/paper-input/paper-input-char-counter.html index a79e322..91bebd9 100644 --- a/docs/bower_components/paper-input/paper-input-char-counter.html +++ b/docs/bower_components/paper-input/paper-input-char-counter.html @@ -1 +1,82 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input-container.html b/docs/bower_components/paper-input/paper-input-container.html index a7f1716..543bf53 100644 --- a/docs/bower_components/paper-input/paper-input-container.html +++ b/docs/bower_components/paper-input/paper-input-container.html @@ -1,4 +1,107 @@ - \ No newline at end of file + .input-content ::content input::-webkit-inner-spin-button{@apply (--paper-input-container-input-webkit-spinner);}::content [prefix]{@apply (--paper-font-subhead);@apply (--paper-input-prefix);@apply (--layout-flex-none);}::content [suffix]{@apply (--paper-font-subhead);@apply (--paper-input-suffix);@apply (--layout-flex-none);}.input-content ::content input{min-width:0;}.input-content ::content textarea{resize:none;}.add-on-content{position:relative;}.add-on-content.is-invalid ::content *{color:var(--paper-input-container-invalid-color, --error-color);}.add-on-content.is-highlighted ::content *{color:var(--paper-input-container-focus-color, --primary-color);} + + + +
+ + +
+ +
+ + +
+ +
+
+
+
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input-error.html b/docs/bower_components/paper-input/paper-input-error.html index 12d40ae..44749dc 100644 --- a/docs/bower_components/paper-input/paper-input-error.html +++ b/docs/bower_components/paper-input/paper-input-error.html @@ -1 +1,76 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-input.html b/docs/bower_components/paper-input/paper-input.html index 8740556..867f157 100644 --- a/docs/bower_components/paper-input/paper-input.html +++ b/docs/bower_components/paper-input/paper-input.html @@ -1 +1,104 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-input/paper-textarea.html b/docs/bower_components/paper-input/paper-textarea.html index 822175a..97ef452 100644 --- a/docs/bower_components/paper-input/paper-textarea.html +++ b/docs/bower_components/paper-input/paper-textarea.html @@ -1 +1,115 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-item/paper-item-behavior.html b/docs/bower_components/paper-item/paper-item-behavior.html index 9012bdf..a3bc2c9 100644 --- a/docs/bower_components/paper-item/paper-item-behavior.html +++ b/docs/bower_components/paper-item/paper-item-behavior.html @@ -1 +1,35 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-item/paper-item-shared-styles.html b/docs/bower_components/paper-item/paper-item-shared-styles.html index d035893..5d908a2 100644 --- a/docs/bower_components/paper-item/paper-item-shared-styles.html +++ b/docs/bower_components/paper-item/paper-item-shared-styles.html @@ -1 +1,19 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-item/paper-item.html b/docs/bower_components/paper-item/paper-item.html index 0debf41..4e0bbe7 100644 --- a/docs/bower_components/paper-item/paper-item.html +++ b/docs/bower_components/paper-item/paper-item.html @@ -1 +1,102 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-listbox/paper-listbox.html b/docs/bower_components/paper-listbox/paper-listbox.html index 5543c6a..85b1ca5 100644 --- a/docs/bower_components/paper-listbox/paper-listbox.html +++ b/docs/bower_components/paper-listbox/paper-listbox.html @@ -1 +1,85 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-material/paper-material-shared-styles.html b/docs/bower_components/paper-material/paper-material-shared-styles.html index e6d3d38..1571d4a 100644 --- a/docs/bower_components/paper-material/paper-material-shared-styles.html +++ b/docs/bower_components/paper-material/paper-material-shared-styles.html @@ -1 +1,16 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-material/paper-material.html b/docs/bower_components/paper-material/paper-material.html index 80118d9..9a7b0a3 100644 --- a/docs/bower_components/paper-material/paper-material.html +++ b/docs/bower_components/paper-material/paper-material.html @@ -1 +1,73 @@ - \ No newline at end of file + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-menu-button/paper-menu-button-animations.html b/docs/bower_components/paper-menu-button/paper-menu-button-animations.html index 8f54dae..ff68135 100644 --- a/docs/bower_components/paper-menu-button/paper-menu-button-animations.html +++ b/docs/bower_components/paper-menu-button/paper-menu-button-animations.html @@ -1 +1,108 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-menu-button/paper-menu-button.html b/docs/bower_components/paper-menu-button/paper-menu-button.html index a836da2..5f4b308 100644 --- a/docs/bower_components/paper-menu-button/paper-menu-button.html +++ b/docs/bower_components/paper-menu-button/paper-menu-button.html @@ -1 +1,417 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-radio-button/paper-radio-button.html b/docs/bower_components/paper-radio-button/paper-radio-button.html index 50ad824..8f6d49b 100644 --- a/docs/bower_components/paper-radio-button/paper-radio-button.html +++ b/docs/bower_components/paper-radio-button/paper-radio-button.html @@ -1 +1,123 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-radio-group/paper-radio-group.html b/docs/bower_components/paper-radio-group/paper-radio-group.html index 557ec5b..60369f9 100644 --- a/docs/bower_components/paper-radio-group/paper-radio-group.html +++ b/docs/bower_components/paper-radio-group/paper-radio-group.html @@ -1 +1,176 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-ripple/paper-ripple.html b/docs/bower_components/paper-ripple/paper-ripple.html index 2a17d8c..de62c5d 100644 --- a/docs/bower_components/paper-ripple/paper-ripple.html +++ b/docs/bower_components/paper-ripple/paper-ripple.html @@ -1,8 +1,704 @@ - \ No newline at end of file + :host(.circle) #waves{border-radius:50%;}:host(.circle) .wave-container{overflow:hidden;} + +
+
+ + + + \ No newline at end of file diff --git a/docs/bower_components/paper-styles/color.html b/docs/bower_components/paper-styles/color.html index 5e8540f..a7dd075 100644 --- a/docs/bower_components/paper-styles/color.html +++ b/docs/bower_components/paper-styles/color.html @@ -1 +1,12 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-styles/default-theme.html b/docs/bower_components/paper-styles/default-theme.html index 18a0cb3..7cf2a06 100644 --- a/docs/bower_components/paper-styles/default-theme.html +++ b/docs/bower_components/paper-styles/default-theme.html @@ -1 +1,15 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/paper-styles/shadow.html b/docs/bower_components/paper-styles/shadow.html index 4bddcc7..0cc39ca 100644 --- a/docs/bower_components/paper-styles/shadow.html +++ b/docs/bower_components/paper-styles/shadow.html @@ -1,4 +1,14 @@ - \ No newline at end of file + 0 11px 15px -7px rgba(0, 0, 0, 0.4);};} + \ No newline at end of file diff --git a/docs/bower_components/paper-styles/typography.html b/docs/bower_components/paper-styles/typography.html index d074495..97d628b 100644 --- a/docs/bower_components/paper-styles/typography.html +++ b/docs/bower_components/paper-styles/typography.html @@ -1 +1,13 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymer/polymer-micro.html b/docs/bower_components/polymer/polymer-micro.html index d3e8d6e..9e8ef6e 100644 --- a/docs/bower_components/polymer/polymer-micro.html +++ b/docs/bower_components/polymer/polymer-micro.html @@ -1 +1,821 @@ - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymer/polymer-mini.html b/docs/bower_components/polymer/polymer-mini.html index 454d3b1..19cc6d7 100644 --- a/docs/bower_components/polymer/polymer-mini.html +++ b/docs/bower_components/polymer/polymer-mini.html @@ -1 +1,2166 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymer/polymer.html b/docs/bower_components/polymer/polymer.html index 1e0256e..0a4244f 100644 --- a/docs/bower_components/polymer/polymer.html +++ b/docs/bower_components/polymer/polymer.html @@ -1 +1,5469 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-app.html b/docs/bower_components/polymerfire/firebase-app.html index 7b2d7bc..ec6c82b 100644 --- a/docs/bower_components/polymerfire/firebase-app.html +++ b/docs/bower_components/polymerfire/firebase-app.html @@ -1 +1,126 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-auth.html b/docs/bower_components/polymerfire/firebase-auth.html index 73ca9db..6469a6c 100644 --- a/docs/bower_components/polymerfire/firebase-auth.html +++ b/docs/bower_components/polymerfire/firebase-auth.html @@ -1 +1,300 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-common-behavior.html b/docs/bower_components/polymerfire/firebase-common-behavior.html index e49e911..c09a315 100644 --- a/docs/bower_components/polymerfire/firebase-common-behavior.html +++ b/docs/bower_components/polymerfire/firebase-common-behavior.html @@ -1 +1,67 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-database-behavior.html b/docs/bower_components/polymerfire/firebase-database-behavior.html index a8843e5..3db9dde 100644 --- a/docs/bower_components/polymerfire/firebase-database-behavior.html +++ b/docs/bower_components/polymerfire/firebase-database-behavior.html @@ -1 +1,114 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-document.html b/docs/bower_components/polymerfire/firebase-document.html index 750e10c..f38362a 100644 --- a/docs/bower_components/polymerfire/firebase-document.html +++ b/docs/bower_components/polymerfire/firebase-document.html @@ -1 +1,202 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/polymerfire/firebase-query.html b/docs/bower_components/polymerfire/firebase-query.html index 980e93f..70ba48b 100644 --- a/docs/bower_components/polymerfire/firebase-query.html +++ b/docs/bower_components/polymerfire/firebase-query.html @@ -1 +1,410 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/docs/bower_components/promise-polyfill/Promise-Statics.js b/docs/bower_components/promise-polyfill/Promise-Statics.js index 0a9f065..49eeb8b 100644 --- a/docs/bower_components/promise-polyfill/Promise-Statics.js +++ b/docs/bower_components/promise-polyfill/Promise-Statics.js @@ -1 +1,49 @@ -Promise.all=Promise.all||function(){var a=Array.prototype.slice.call(1===arguments.length&&Array.isArray(arguments[0])?arguments[0]:arguments);return new Promise(function(b,c){function d(g,h){try{if(h&&('object'==typeof h||'function'==typeof h)){var j=h.then;if('function'==typeof j)return void j.call(h,function(k){d(g,k)},c)}a[g]=h,0==--e&&b(a)}catch(k){c(k)}}if(0===a.length)return b([]);for(var e=a.length,f=0;f} */ (values); + return new Promise(function (resolve, reject) { + for(var i = 0, len = forcedArray.length; i < len; i++) { + forcedArray[i].then(resolve, reject); + } + }); +}; + diff --git a/docs/bower_components/promise-polyfill/Promise.js b/docs/bower_components/promise-polyfill/Promise.js index bc8c6f5..b8388bf 100644 --- a/docs/bower_components/promise-polyfill/Promise.js +++ b/docs/bower_components/promise-polyfill/Promise.js @@ -1 +1,137 @@ -function MakePromise(a){function b(j){if('object'!=typeof this||'function'!=typeof j)throw new TypeError;this._state=null,this._value=null,this._deferreds=[],h(j,d.bind(this),f.bind(this))}function c(j){var k=this;return null===this._state?void this._deferreds.push(j):void a(function(){var l=k._state?j.onFulfilled:j.onRejected;if('function'!=typeof l)return void(k._state?j.resolve:j.reject)(k._value);var m;try{m=l(k._value)}catch(n){return void j.reject(n)}j.resolve(m)})}function d(j){try{if(j===this)throw new TypeError;if(j&&('object'==typeof j||'function'==typeof j)){var k=j.then;if('function'==typeof k)return void h(k.bind(j),d.bind(this),f.bind(this))}this._state=!0,this._value=j,g.call(this)}catch(l){f.call(this,l)}}function f(j){this._state=!1,this._value=j,g.call(this)}function g(){for(var j=0,k=this._deferreds.length;j \ No newline at end of file + + + + \ No newline at end of file diff --git a/docs/bower_components/promise-polyfill/promise-polyfill.html b/docs/bower_components/promise-polyfill/promise-polyfill.html index ef5ab31..598bfae 100644 --- a/docs/bower_components/promise-polyfill/promise-polyfill.html +++ b/docs/bower_components/promise-polyfill/promise-polyfill.html @@ -1 +1,11 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/docs/bower_components/web-animations-js/web-animations-next-lite.min.js b/docs/bower_components/web-animations-js/web-animations-next-lite.min.js index 3821024..010d57d 100644 --- a/docs/bower_components/web-animations-js/web-animations-next-lite.min.js +++ b/docs/bower_components/web-animations-js/web-animations-next-lite.min.js @@ -1 +1,17 @@ -!function(a,b){var c={},d={},e={},f=null;!function(K){function N(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=fa}function O(){return K.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function P(sa,ta){var va=new N;return ta&&(va.fill="both",va.duration="auto"),"number"!=typeof sa||isNaN(sa)?void 0!==sa&&Object.getOwnPropertyNames(sa).forEach(function(wa){if("auto"!=sa[wa]){if(("number"==typeof va[wa]||"duration"==wa)&&("number"!=typeof sa[wa]||isNaN(sa[wa])))return;if("fill"==wa&&-1==da.indexOf(sa[wa]))return;if("direction"==wa&&-1==ea.indexOf(sa[wa]))return;if("playbackRate"==wa&&1!==sa[wa]&&K.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;va[wa]=sa[wa]}}):va.duration=sa,va}function S(sa,ta,ua,va){return 0>sa||1ua||1=wa){var ya=0;return 0ua?za=(va-1)/(ua-1):1==ua&&1>sa&&(za=(ta-1)/(sa-1)),1+za*(wa-1)}for(var Aa=0,Ba=1;AaMath.abs(wa-Da))return xa(ta,va,Ca);Da=Math.min(ua.delay+sa,va)?qa:ra}function Z(sa,ta,ua,va,wa){return va===pa?"backwards"==ta||"both"==ta?0:null:va===ra?ua-wa:va===qa?"forwards"==ta||"both"==ta?sa:null:va===oa?null:void 0}function $(sa,ta,ua,va,wa){var xa=wa;return 0===sa?ta!==pa&&(xa+=ua):xa+=va/sa,xa}function _(sa,ta,ua,va,wa,xa){var ya=sa===1/0?ta%1:sa%1;return 0!=ya||ua!==qa||0===va||0===wa&&0!==xa||(ya=1),ya}function aa(sa,ta,ua,va){return sa===qa&&ta===1/0?1/0:1===ua?Math.floor(va)-1:Math.floor(va)}function ba(sa,ta,ua){var va=sa;if("normal"!==sa&&"reverse"!==sa){var wa=ta;"alternate-reverse"===sa&&(wa+=1),va="normal",wa!==1/0&&0!=wa%2&&(va="reverse")}return"normal"===va?ua:1-ua}var da="backwards|forwards|both|none".split("|"),ea="reverse|alternate|alternate-reverse".split("|"),fa=function(sa){return sa};N.prototype={_setMember:function(sa,ta){this["_"+sa]=ta,this._effect&&(this._effect._timingInput[sa]=ta,this._effect._timing=K.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=K.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(sa){this._setMember("delay",sa)},get delay(){return this._delay},set endDelay(sa){this._setMember("endDelay",sa)},get endDelay(){return this._endDelay},set fill(sa){this._setMember("fill",sa)},get fill(){return this._fill},set iterationStart(sa){if((isNaN(sa)||0>sa)&&O())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",sa)},get iterationStart(){return this._iterationStart},set duration(sa){if("auto"!=sa&&(isNaN(sa)||0>sa)&&O())throw new TypeError("duration must be non-negative or auto, received: "+sa);this._setMember("duration",sa)},get duration(){return this._duration},set direction(sa){this._setMember("direction",sa)},get direction(){return this._direction},set easing(sa){this._easingFunction=V(U(sa)),this._setMember("easing",sa)},get easing(){return this._easing},set iterations(sa){if((isNaN(sa)||0>sa)&&O())throw new TypeError("iterations must be non-negative, received: "+sa);this._setMember("iterations",sa)},get iterations(){return this._iterations}};var ga=1,ha=.5,ia=0,ja={ease:S(.25,.1,.25,1),"ease-in":S(.42,0,1,1),"ease-out":S(0,0,.58,1),"ease-in-out":S(.42,0,.58,1),"step-start":T(1,ga),"step-middle":T(1,ha),"step-end":T(1,ia)},ka=null,ma=/cubic-bezier\(\s*(-?\d+\.?\d*|-?\.\d+)\s*,\s*(-?\d+\.?\d*|-?\.\d+)\s*,\s*(-?\d+\.?\d*|-?\.\d+)\s*,\s*(-?\d+\.?\d*|-?\.\d+)\s*\)/,na=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,oa=0,pa=1,qa=2,ra=3;K.cloneTimingInput=function(sa){if("number"==typeof sa)return sa;var ta={};for(var ua in sa)ta[ua]=sa[ua];return ta},K.makeTiming=P,K.numericTimingToObject=function(sa){return"number"==typeof sa&&(sa=isNaN(sa)?{duration:0}:{duration:sa}),sa},K.normalizeTimingInput=function(sa,ta){return sa=K.numericTimingToObject(sa),P(sa,ta)},K.calculateActiveDuration=function(sa){return Math.abs(X(sa)/sa.playbackRate)},K.calculateIterationProgress=function(sa,ta,ua){var va=Y(sa,ta,ua),wa=Z(sa,ua.fill,ta,va,ua.delay);if(null===wa)return null;var xa=$(ua.duration,va,ua.iterations,wa,ua.iterationStart),ya=_(xa,ua.iterationStart,va,ua.iterations,wa,ua.duration),za=aa(va,ua.iterations,ya,xa),Aa=ba(ua.direction,za,ya);return ua._easingFunction(Aa)},K.calculatePhase=Y,K.normalizeEasing=U,K.parseEasingFunction=V}(c,f),function(K){function M(V,W){return V in U?U[V][W]||W:W}function N(V){return"display"===V||0===V.lastIndexOf("animation",0)||0===V.lastIndexOf("transition",0)}function O(V,W,X){if(!N(V)){var Y=R[V];if(Y)for(var Z in S.style[V]=W,Y){var $=Y[Z],_=S.style[$];X[$]=M($,_)}else X[V]=M(V,W)}}function P(V){var W=[];for(var X in V)if(!(X in["easing","offset","composite"])){var Y=V[X];Array.isArray(Y)||(Y=[Y]);for(var Z,$=Y.length,_=0;_<$;_++)Z={},Z.offset="offset"in V?V.offset:1==$?1:_/($-1),"easing"in V&&(Z.easing=V.easing),"composite"in V&&(Z.composite=V.composite),Z[X]=Y[_],W.push(Z)}return W.sort(function(aa,ba){return aa.offset-ba.offset}),W}var R={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},S=document.createElementNS("http://www.w3.org/1999/xhtml","div"),T={thin:"1px",medium:"3px",thick:"5px"},U={borderBottomWidth:T,borderLeftWidth:T,borderRightWidth:T,borderTopWidth:T,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:T,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};K.convertToArrayForm=P,K.normalizeKeyframes=function(V){if(null==V)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&V[Symbol.iterator]&&(V=Array.from(V)),Array.isArray(V)||(V=P(V));for(var _,X=V.map(function(aa){var ba={};for(var ca in aa){var da=aa[ca];if("offset"==ca){if(null!=da){if(da=+da,!isFinite(da))throw new TypeError("Keyframe offsets must be numbers.");if(0>da||1=aa.offset}),Y||function(){var aa=X.length;null==X[aa-1].offset&&(X[aa-1].offset=1),1=W.applyFrom&&UP?N:O;if(N.length==O.length){for(var Q=[],R=0;Rthis.playbackRate&&0===this.currentTime?this._effect._update(-1):this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,L.timeline._animations.push(this))},_tickCurrentTime:function(O,P){O!=this._currentTime&&(this._currentTime=O,this._isFinished&&!P&&(this._currentTime=0=this._totalDuration||0>this._playbackRate&&0>=this._currentTime)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(0<=this._playbackRate)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),L.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=0Y?X%=Y:Y%=X;return X=V*W/(X+Y)}function T(V,W,X,Y,Z){for(var da,$=[],_=[],aa=[],ba=P(Y.length,Z.length),ca=0;ca=X))break;var Z=V(W.substr(0,Y));return void 0==Z?void 0:[Z,W.substr(Y)]},K.ignore=function(V){return function(W){var X=V(W);return X&&(X[0]=void 0),X}},K.optional=function(V,W){return function(X){var Y=V(X);return Y?Y:[W,X]}},K.consumeList=function(V,W){for(var Z,X=[],Y=0;Y=P?N:1<=P?O:"visible"}]},["visibility"])}(d),function(K){function M(Q){Q=Q.trim(),P.fillStyle="#000",P.fillStyle=Q;var R=P.fillStyle;if(P.fillStyle="#fff",P.fillStyle=Q,R==P.fillStyle){P.fillRect(0,0,1,1);var S=P.getImageData(0,0,1,1).data;P.clearRect(0,0,1,1);var T=S[3]/255;return[S[0]*T,S[1]*T,S[2]*T,T]}}function N(Q,R){return[Q,R,function(S){function T(V){return Math.max(0,Math.min(255,V))}if(S[3])for(var U=0;3>U;U++)S[U]=Math.round(T(S[U]/S[3]));return S[3]=K.numberToString(K.clamp(0,1,S[3])),"rgba("+S.join(",")+")"}]}var O=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");O.width=O.height=1;var P=O.getContext("2d");K.addPropertiesHandler(M,N,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),K.consumeColor=K.consumeParenthesised.bind(null,M),K.mergeColors=N}(d,f),function(a,b){function c(a,b){if(b=b.trim().toLowerCase(),"0"==b&&0<="px".search(a))return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(K){return c[K]=null,"U"+K});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;gO.indexOf(N)&&O.push(N);return K=O.map(function(P){return K[P]||0}),L=O.map(function(P){return L[P]||0}),[K,L,function(P){var Q=P.map(function(R,S){return 1==P.length&&M&&(R=Math.max(R,0)),a.numberToString(R)+O[S]}).join(" + ");return 1V.playbackRate&&(R||(R=K.normalizeTimingInput(V.effect.timing)),U=K.calculateIterationProgress(K.calculateActiveDuration(R),-1,R),isNaN(U)||null==U)?(V._forEachChild(function(W){W.currentTime=-1}),void V._removeChildAnimations()):void 0},Q=L.timeline._play(T)},L.bindAnimationForGroup=function(P){P._animation._wrapper=P,P._isGroup=!0,L.awaitStartTime(P),P._constructChildAnimations(),P._setExternalAnimation(P)},L.groupChildDuration=N}(c,e,f),b.true=a}({},function(){return this}()); \ No newline at end of file +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +!function(a,b){var c={},d={},e={},f=null;!function(a,b){function c(a){if("number"==typeof a)return a;var b={};for(var c in a)b[c]=a[c];return b}function d(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=x}function e(){return a.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function f(b,c,e){var f=new d;return c&&(f.fill="both",f.duration="auto"),"number"!=typeof b||isNaN(b)?void 0!==b&&Object.getOwnPropertyNames(b).forEach(function(c){if("auto"!=b[c]){if(("number"==typeof f[c]||"duration"==c)&&("number"!=typeof b[c]||isNaN(b[c])))return;if("fill"==c&&v.indexOf(b[c])==-1)return;if("direction"==c&&w.indexOf(b[c])==-1)return;if("playbackRate"==c&&1!==b[c]&&a.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;f[c]=b[c]}}):f.duration=b,f}function g(a){return"number"==typeof a&&(a=isNaN(a)?{duration:0}:{duration:a}),a}function h(b,c){return b=a.numericTimingToObject(b),f(b,c)}function i(a,b,c,d){return a<0||a>1||c<0||c>1?x:function(e){function f(a,b,c){return 3*a*(1-c)*(1-c)*c+3*b*(1-c)*c*c+c*c*c}if(e<=0){var g=0;return a>0?g=b/a:!b&&c>0&&(g=d/c),g*e}if(e>=1){var h=0;return c<1?h=(d-1)/(c-1):1==c&&a<1&&(h=(b-1)/(a-1)),1+h*(e-1)}for(var i=0,j=1;i=1)return 1;var d=1/a;return c+=b*d,c-c%d}}function k(a){C||(C=document.createElement("div").style),C.animationTimingFunction="",C.animationTimingFunction=a;var b=C.animationTimingFunction;if(""==b&&e())throw new TypeError(a+" is not a valid value for easing");return b}function l(a){if("linear"==a)return x;var b=E.exec(a);if(b)return i.apply(this,b.slice(1).map(Number));var c=F.exec(a);if(c)return j(Number(c[1]),{start:y,middle:z,end:A}[c[2]]);var d=B[a];return d?d:x}function m(a){return Math.abs(n(a)/a.playbackRate)}function n(a){return 0===a.duration||0===a.iterations?0:a.duration*a.iterations}function o(a,b,c){if(null==b)return G;var d=c.delay+a+c.endDelay;return b=Math.min(c.delay+a,d)?I:J}function p(a,b,c,d,e){switch(d){case H:return"backwards"==b||"both"==b?0:null;case J:return c-e;case I:return"forwards"==b||"both"==b?a:null;case G:return null}}function q(a,b,c,d,e){var f=e;return 0===a?b!==H&&(f+=c):f+=d/a,f}function r(a,b,c,d,e,f){var g=a===1/0?b%1:a%1;return 0!==g||c!==I||0===d||0===e&&0!==f||(g=1),g}function s(a,b,c,d){return a===I&&b===1/0?1/0:1===c?Math.floor(d)-1:Math.floor(d)}function t(a,b,c){var d=a;if("normal"!==a&&"reverse"!==a){var e=b;"alternate-reverse"===a&&(e+=1),d="normal",e!==1/0&&e%2!==0&&(d="reverse")}return"normal"===d?c:1-c}function u(a,b,c){var d=o(a,b,c),e=p(a,c.fill,b,d,c.delay);if(null===e)return null;var f=q(c.duration,d,c.iterations,e,c.iterationStart),g=r(f,c.iterationStart,d,c.iterations,e,c.duration),h=s(d,c.iterations,g,f),i=t(c.direction,h,g);return c._easingFunction(i)}var v="backwards|forwards|both|none".split("|"),w="reverse|alternate|alternate-reverse".split("|"),x=function(a){return a};d.prototype={_setMember:function(b,c){this["_"+b]=c,this._effect&&(this._effect._timingInput[b]=c,this._effect._timing=a.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=a.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(a){this._setMember("delay",a)},get delay(){return this._delay},set endDelay(a){this._setMember("endDelay",a)},get endDelay(){return this._endDelay},set fill(a){this._setMember("fill",a)},get fill(){return this._fill},set iterationStart(a){if((isNaN(a)||a<0)&&e())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",a)},get iterationStart(){return this._iterationStart},set duration(a){if("auto"!=a&&(isNaN(a)||a<0)&&e())throw new TypeError("duration must be non-negative or auto, received: "+a);this._setMember("duration",a)},get duration(){return this._duration},set direction(a){this._setMember("direction",a)},get direction(){return this._direction},set easing(a){this._easingFunction=l(k(a)),this._setMember("easing",a)},get easing(){return this._easing},set iterations(a){if((isNaN(a)||a<0)&&e())throw new TypeError("iterations must be non-negative, received: "+a);this._setMember("iterations",a)},get iterations(){return this._iterations}};var y=1,z=.5,A=0,B={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":j(1,y),"step-middle":j(1,z),"step-end":j(1,A)},C=null,D="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",E=new RegExp("cubic-bezier\\("+D+","+D+","+D+","+D+"\\)"),F=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,G=0,H=1,I=2,J=3;a.cloneTimingInput=c,a.makeTiming=f,a.numericTimingToObject=g,a.normalizeTimingInput=h,a.calculateActiveDuration=m,a.calculateIterationProgress=u,a.calculatePhase=o,a.normalizeEasing=k,a.parseEasingFunction=l}(c,f),function(a,b){function c(a,b){return a in k?k[a][b]||b:b}function d(a){return"display"===a||0===a.lastIndexOf("animation",0)||0===a.lastIndexOf("transition",0)}function e(a,b,e){if(!d(a)){var f=h[a];if(f){i.style[a]=b;for(var g in f){var j=f[g],k=i.style[j];e[j]=c(j,k)}}else e[a]=c(a,b)}}function f(a){var b=[];for(var c in a)if(!(c in["easing","offset","composite"])){var d=a[c];Array.isArray(d)||(d=[d]);for(var e,f=d.length,g=0;g1&&null==d[0].offset&&(d[0].offset=0);for(var b=0,c=d[0].offset,e=1;e1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==d){if("add"==f||"accumulate"==f)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=f)throw new TypeError("Invalid composite mode "+f+".")}else f="easing"==d?a.normalizeEasing(f):""+f;e(d,f,c)}return void 0==c.offset&&(c.offset=null),void 0==c.easing&&(c.easing="linear"),c}),g=!0,h=-(1/0),i=0;i=0&&a.offset<=1}),g||c(),d}var h={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),j={thin:"1px",medium:"3px",thick:"5px"},k={borderBottomWidth:j,borderLeftWidth:j,borderRightWidth:j,borderTopWidth:j,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:j,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};a.convertToArrayForm=f,a.normalizeKeyframes=g}(c,f),function(a){var b={};a.isDeprecated=function(a,c,d,e){var f=e?"are":"is",g=new Date,h=new Date(c);return h.setMonth(h.getMonth()+3),!(g=a.applyFrom&&c0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(a){a=+a,isNaN(a)||(b.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-a/this._playbackRate),this._currentTimePending=!1,this._currentTime!=a&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(a,!0),b.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(a){a=+a,isNaN(a)||this._paused||this._idle||(this._startTime=a,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),b.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(a){if(a!=this._playbackRate){var c=this.currentTime;this._playbackRate=a,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)),null!=c&&(this.currentTime=c)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,b.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),b.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(a,b){"function"==typeof b&&"finish"==a&&this._finishHandlers.push(b)},removeEventListener:function(a,b){if("finish"==a){var c=this._finishHandlers.indexOf(b);c>=0&&this._finishHandlers.splice(c,1)}},_fireEvents:function(a){if(this._isFinished){if(!this._finishedFlag){var b=new d(this,this._currentTime,a),c=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){c.forEach(function(a){a.call(b.target,b)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(a,b){this._idle||this._paused||(null==this._startTime?b&&(this.startTime=a-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((a-this._startTime)*this.playbackRate)),b&&(this._currentTimePending=!1,this._fireEvents(a))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var a=this._effect._target;return a._activeAnimations||(a._activeAnimations=[]),a._activeAnimations},_markTarget:function(){var a=this._targetAnimations();a.indexOf(this)===-1&&a.push(this)},_unmarkTarget:function(){var a=this._targetAnimations(),b=a.indexOf(this);b!==-1&&a.splice(b,1)}}}(c,d,f),function(a,b,c){function d(a){var b=j;j=[],ad?c%=d:d%=c;return c=a*b/(c+d)}function g(a){return function(b){var c=a(b);return c&&(c[0]=void 0),c}}function h(a,b){return function(c){var d=a(c);return d?d:[b,c]}}function i(b,c){for(var d=[],e=0;e=1?b:"visible"}]}a.addPropertiesHandler(String,c,["visibility"])}(d),function(a,b){function c(a){a=a.trim(),f.fillStyle="#000",f.fillStyle=a;var b=f.fillStyle;if(f.fillStyle="#fff",f.fillStyle=a,b==f.fillStyle){f.fillRect(0,0,1,1);var c=f.getImageData(0,0,1,1).data;f.clearRect(0,0,1,1);var d=c[3]/255;return[c[0]*d,c[1]*d,c[2]*d,d]}}function d(b,c){return[b,c,function(b){function c(a){return Math.max(0,Math.min(255,a))}if(b[3])for(var d=0;d<3;d++)b[d]=Math.round(c(b[d]/b[3]));return b[3]=a.numberToString(a.clamp(0,1,b[3])),"rgba("+b.join(",")+")"}]}var e=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");e.width=e.height=1;var f=e.getContext("2d");a.addPropertiesHandler(c,d,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),a.consumeColor=a.consumeParenthesised.bind(null,c),a.mergeColors=d}(d,f),function(a,b){function c(a,b){if(b=b.trim().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(a){return c[a]=null,"U"+a});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;g1?"calc("+c+")":c}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(a){var b=l(a);if(b&&""==b[1])return b[0]},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),a.addPropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","text-indent","top","vertical-align","word-spacing"])}(d,f),function(a,b){function c(b){return a.consumeLengthOrPercent(b)||a.consumeToken(/^auto/,b)}function d(b){var d=a.consumeList([a.ignore(a.consumeToken.bind(null,/^rect/)),a.ignore(a.consumeToken.bind(null,/^\(/)),a.consumeRepeated.bind(null,c,/^,/),a.ignore(a.consumeToken.bind(null,/^\)/))],b);if(d&&4==d[0].length)return d[0]}function e(b,c){return"auto"==b||"auto"==c?[!0,!1,function(d){var e=d?b:c;if("auto"==e)return"auto";var f=a.mergeDimensions(e,e);return f[2](f[0])}]:a.mergeDimensions(b,c)}function f(a){return"rect("+a+")"}var g=a.mergeWrappedNestedRepeated.bind(null,f,e,", ");a.parseBox=d,a.mergeBoxes=g,a.addPropertiesHandler(d,g,["clip"])}(d,f),function(a,b){function c(a){return function(b){var c=0;return a.map(function(a){return a===k?b[c++]:a})}}function d(a){return a}function e(b){if(b=b.toLowerCase().trim(),"none"==b)return[];for(var c,d=/\s*(\w+)\(([^)]*)\)/g,e=[],f=0;c=d.exec(b);){if(c.index!=f)return;f=c.index+c[0].length;var g=c[1],h=n[g];if(!h)return;var i=c[2].split(","),j=h[0];if(j.length=0&&this._cancelHandlers.splice(c,1)}else i.call(this,a,b)},f}}}(),function(a){var b=document.documentElement,c=null,d=!1;try{var e=getComputedStyle(b).getPropertyValue("opacity"),f="0"==e?"1":"0";c=b.animate({opacity:[f,f]},{duration:1}),c.currentTime=0,d=getComputedStyle(b).getPropertyValue("opacity")==f}catch(a){}finally{c&&c.cancel()}if(!d){var g=window.Element.prototype.animate;window.Element.prototype.animate=function(b,c){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&b[Symbol.iterator]&&(b=Array.from(b)),Array.isArray(b)||null===b||(b=a.convertToArrayForm(b)),g.call(this,b,c)}}}(c),!function(a,b,c){function d(a){var c=b.timeline;c.currentTime=a,c._discardAnimations(),0==c._animations.length?f=!1:requestAnimationFrame(d)}var e=window.requestAnimationFrame;window.requestAnimationFrame=function(a){return e(function(c){b.timeline._updateAnimationsPromises(),a(c),b.timeline._updateAnimationsPromises()})},b.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},b.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){b.animationsWithPromises=b.animationsWithPromises.filter(function(a){return a._updatePromises()})},_discardAnimations:function(){this._updateAnimationsPromises(),this._animations=this._animations.filter(function(a){return"finished"!=a.playState&&"idle"!=a.playState})},_play:function(a){var c=new b.Animation(a,this);return this._animations.push(c),b.restartWebAnimationsNextTick(),c._updatePromises(),c._animation.play(),c._updatePromises(),c},play:function(a){return a&&a.remove(),this._play(a)}};var f=!1;b.restartWebAnimationsNextTick=function(){f||(f=!0,requestAnimationFrame(d))};var g=new b.AnimationTimeline;b.timeline=g;try{Object.defineProperty(window.document,"timeline",{configurable:!0,get:function(){return g}})}catch(a){}try{window.document.timeline=g}catch(a){}}(c,e,f),function(a,b,c){b.animationsWithPromises=[],b.Animation=function(b,c){if(this.id="",b&&b._id&&(this.id=b._id),this.effect=b,b&&(b._animation=this),!c)throw new Error("Animation with null timeline is not supported");this._timeline=c,this._sequenceNumber=a.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},b.Animation.prototype={_updatePromises:function(){var a=this._oldPlayState,b=this.playState;return this._readyPromise&&b!==a&&("idle"==b?(this._rejectReadyPromise(),this._readyPromise=void 0):"pending"==a?this._resolveReadyPromise():"pending"==b&&(this._readyPromise=void 0)),this._finishedPromise&&b!==a&&("idle"==b?(this._rejectFinishedPromise(),this._finishedPromise=void 0):"finished"==b?this._resolveFinishedPromise():"finished"==a&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this._updatePromises();var a,c,d,e,f=!!this._animation;f&&(a=this.playbackRate,c=this._paused,d=this.startTime,e=this.currentTime,this._animation.cancel(),this._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=b.newUnderlyingAnimationForKeyframeEffect(this.effect),b.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=b.newUnderlyingAnimationForGroup(this.effect),b.bindAnimationForGroup(this)),this.effect&&this.effect._onsample&&b.bindAnimationForCustomEffect(this),f&&(1!=a&&(this.playbackRate=a),null!==d?this.startTime=d:null!==e?this.currentTime=e:null!==this._holdTime&&(this.currentTime=this._holdTime),c&&this.pause()),this._updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playState){var a=this.effect._timing.delay;this._childAnimations.forEach(function(c){this._arrangeChildren(c,a),this.effect instanceof window.SequenceEffect&&(a+=b.groupChildDuration(c.effect))}.bind(this))}},_setExternalAnimation:function(a){if(this.effect&&this._isGroup)for(var b=0;b>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){E.push(e),b||(b=!0,m(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){b=!1;var e=E;E=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r0){var r=n[o-1],i=p(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n=0)){n.push(e);for(var o,r=e.querySelectorAll("link[rel="+a+"]"),d=0,s=r.length;d=0&&b(o,HTMLElement),o)}function w(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return h(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),h=e.upgradeAll,g=e.upgradeWithDefinition,b=e.implementPrototype,E=e.useNative,_=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],y={},N="http://www.w3.org/1999/xhtml",M=document.createElement.bind(document),O=document.createElementNS.bind(document);m=Object.__proto__||E?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},w(Node.prototype,"cloneNode"),w(document,"importNode"),document.registerElement=t,document.createElement=p,document.createElementNS=f,e.registry=y,e["instanceof"]=m,e.reservedTagList=_,e.getRegisteredDefinition=u,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.initializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceof"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var d=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(d,t)}else t()}(window.CustomElements); \ No newline at end of file diff --git a/docs/bower_components/webcomponentsjs/HTMLImports.js b/docs/bower_components/webcomponentsjs/HTMLImports.js index 39c2d6a..3c2daef 100644 --- a/docs/bower_components/webcomponentsjs/HTMLImports.js +++ b/docs/bower_components/webcomponentsjs/HTMLImports.js @@ -7,7 +7,7 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 if (typeof WeakMap === "undefined") { (function() { var defineProperty = Object.defineProperty; diff --git a/docs/bower_components/webcomponentsjs/HTMLImports.min.js b/docs/bower_components/webcomponentsjs/HTMLImports.min.js index e11c830..e89492c 100644 --- a/docs/bower_components/webcomponentsjs/HTMLImports.min.js +++ b/docs/bower_components/webcomponentsjs/HTMLImports.min.js @@ -7,5 +7,5 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){E.push(e),g||(g=!0,f(r))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function r(){g=!1;var e=E;E=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();o(e),n.length&&(e.callback_(n,e),t=!0)}),t&&r()}function o(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var r=v.get(n);if(r)for(var o=0;o0){var o=n[r-1],i=m(o,e);if(i)return void(n[r-1]=i)}else t(this.observer);n[r]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n=200&&e.status<300||304===e.status||0===e.status},load:function(n,r,o){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr(0,1)?location.origin+a:a)}catch(e){console.error(e.message)}r.call(o,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,r=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};r.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,r=e.length;n-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,r,null,a)}.bind(this),0)}else{var s=function(t,n,o){this.receive(e,r,t,n,o)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,r,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,r,o){this.cache[e]=r;for(var i,a=this.pending[e],s=0,d=a.length;s=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(e["import"]=e.__doc,window.HTMLImports.__importsParsingHook&&window.HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispatchEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,r=function(o){e.removeEventListener("load",r),e.removeEventListener("error",r),t&&t(o),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",r),e.addEventListener("error",r),c&&"style"===e.localName){var o=!1;if(e.textContent.indexOf("@import")==-1)o=!0;else if(e.sheet){o=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,d=0;d=0},hasResource:function(e){return!t(e)||void 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=l}),window.HTMLImports.addModule(function(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function r(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}function o(e,t){var n=document.implementation.createHTMLDocument(a);n._URL=t;var o=n.createElement("base");o.setAttribute("href",t),n.baseURI||r(n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");return i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild(o),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPORT_SELECTOR,d=e.rootDocument,c=e.Loader,u=e.Observer,l=e.parser,h={documents:{},documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:function(e){m.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);m.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===d?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,r,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=r,n.__error=a,t(n)){var d=this.documents[e];void 0===d&&(d=a?null:o(r,s||e),d&&(d.__importLink=n,this.bootDocument(d)),this.documents[e]=d),n.__doc=d}l.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),l.parseNext()},loadedAll:function(){l.parseNext()}},m=new c(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observer=new u,!document.baseURI){var p={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",p),Object.defineProperty(d,"baseURI",p)}e.importer=h,e.importLoader=m}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,r={added:function(e){for(var r,o,i,a,s=0,d=e.length;s>>0)+(t++ +"__")};r.prototype={set:function(t,r){var i=t[this.name];return i&&i[0]===t?i[1]=r:e(t,this.name,{value:[t,r],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=r}(),function(e){function t(e){N.push(e),O||(O=!0,b(i))}function r(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function i(){O=!1;var e=N;N=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var r=e.takeRecords();n(e),r.length&&(e.callback_(r,e),t=!0)}),t&&i()}function n(e){e.nodes_.forEach(function(t){var r=p.get(t);r&&r.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function a(e,t){for(var r=e;r;r=r.parentNode){var i=p.get(r);if(i)for(var n=0;n0){var n=r[i-1],a=l(n,e);if(a)return void(r[i-1]=a)}else t(this.observer);r[i]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=p.get(e);t||p.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=p.get(e),r=0;r>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),window.ShadowDOMPolyfill={},function(e){"use strict";function t(){if("undefined"!=typeof chrome&&chrome.app&&chrome.app.runtime)return!1;if(navigator.getDeviceStorage)return!1;try{var e=new Function("return true;");return e()}catch(t){return!1}}function n(e){if(!e)throw new Error("Assertion failed")}function r(e,t){for(var n=k(t),r=0;r0||n>0;)if(0!=t)if(0!=n){var u,l=e[t-1][n-1],p=e[t-1][n],d=e[t][n-1];u=p0){for(var l=0;l0&&r.length>0;){var i=n.pop(),a=r.pop();if(i!==a)break;o=i}return o}function l(e,t,n){t instanceof G.Window&&(t=t.document);var o,i=A(t),a=A(n),s=r(n,e),o=u(i,a);o||(o=a.root);for(var c=o;c;c=c.parent)for(var l=0;l0;i--)if(!g(t[i],e,o,t,r))return!1;return!0}function m(e,t,n,r){var o=ie,i=t[0]||n;return g(i,e,o,t,r)}function v(e,t,n,r){for(var o=ae,i=1;i0&&g(n,e,o,t,r)}function g(e,t,n,r,o){var i=z.get(e);if(!i)return!0;var a=o||s(r,e);if(a===e){if(n===oe)return!0;n===ae&&(n=ie)}else if(n===ae&&!t.bubbles)return!0;if("relatedTarget"in t){var c=q(t),u=c.relatedTarget;if(u){if(u instanceof Object&&u.addEventListener){var p=V(u),d=l(t,e,p);if(d===a)return!0}else d=null;Z.set(t,d)}}J.set(t,n);var f=t.type,h=!1;Y.set(t,a),$.set(t,e),i.depth++;for(var w=0,m=i.length;w=0;a--)e.removeChild(i[a]),i[a].parentNode_=t;B=!1;for(var a=0;a>>/g," ")}function r(e){return String(e).replace(/:host\(([^\s]+)\)/g,"$1").replace(/([^\s]):host/g,"$1").replace(":host","*").replace(/\^|\/shadow\/|\/shadow-deep\/|::shadow|\/deep\/|::content|>>>/g," ")}function o(e,t){for(var n,r=e.firstElementChild;r;){if(r.matches(t))return r;if(n=o(r,t))return n;r=r.nextElementSibling}return null}function i(e,t){return e.matches(t)}function a(e,t,n){var r=e.localName;return r===t||r===n&&e.namespaceURI===D}function s(){return!0}function c(e,t,n){return e.localName===n}function u(e,t){return e.namespaceURI===t}function l(e,t,n){return e.namespaceURI===t&&e.localName===n}function p(e,t,n,r,o,i){for(var a=e.firstElementChild;a;)r(a,o,i)&&(n[t++]=a),t=p(a,t,n,r,o,i),a=a.nextElementSibling;return t}function d(n,r,o,i,a){var s,c=g(this),u=v(this).root;if(u instanceof e.wrappers.ShadowRoot)return p(this,r,o,n,i,null);if(c instanceof L)s=M.call(c,i);else{if(!(c instanceof _))return p(this,r,o,n,i,null);s=S.call(c,i)}return t(s,r,o,a)}function f(n,r,o,i,a){var s,c=g(this),u=v(this).root;if(u instanceof e.wrappers.ShadowRoot)return p(this,r,o,n,i,a);if(c instanceof L)s=O.call(c,i,a);else{if(!(c instanceof _))return p(this,r,o,n,i,a);s=T.call(c,i,a)}return t(s,r,o,!1)}function h(n,r,o,i,a){var s,c=g(this),u=v(this).root;if(u instanceof e.wrappers.ShadowRoot)return p(this,r,o,n,i,a);if(c instanceof L)s=j.call(c,i,a);else{if(!(c instanceof _))return p(this,r,o,n,i,a);s=N.call(c,i,a)}return t(s,r,o,!1)}var w=e.wrappers.HTMLCollection,m=e.wrappers.NodeList,v=e.getTreeScope,g=e.unsafeUnwrap,b=e.wrap,y=document.querySelector,E=document.documentElement.querySelector,S=document.querySelectorAll,M=document.documentElement.querySelectorAll,T=document.getElementsByTagName,O=document.documentElement.getElementsByTagName,N=document.getElementsByTagNameNS,j=document.documentElement.getElementsByTagNameNS,L=window.Element,_=window.HTMLDocument||window.Document,D="http://www.w3.org/1999/xhtml",C={querySelector:function(t){var r=n(t),i=r!==t;t=r;var a,s=g(this),c=v(this).root;if(c instanceof e.wrappers.ShadowRoot)return o(this,t);if(s instanceof L)a=b(E.call(s,t));else{if(!(s instanceof _))return o(this,t);a=b(y.call(s,t))}return a&&!i&&(c=v(a).root)&&c instanceof e.wrappers.ShadowRoot?o(this,t):a},querySelectorAll:function(e){var t=n(e),r=t!==e;e=t;var o=new m;return o.length=d.call(this,i,0,o,e,r),o}},H={matches:function(t){return t=r(t),e.originalMatches.call(g(this),t)}},x={getElementsByTagName:function(e){var t=new w,n="*"===e?s:a;return t.length=f.call(this,n,0,t,e,e.toLowerCase()), t},getElementsByClassName:function(e){return this.querySelectorAll("."+e)},getElementsByTagNameNS:function(e,t){var n=new w,r=null;return r="*"===e?"*"===t?s:c:"*"===t?u:l,n.length=h.call(this,r,0,n,e||null,t),n}};e.GetElementsByInterface=x,e.SelectorsInterface=C,e.MatchesInterface=H}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}function n(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}var r=e.wrappers.NodeList,o={get firstElementChild(){return t(this.firstChild)},get lastElementChild(){return n(this.lastChild)},get childElementCount(){for(var e=0,t=this.firstElementChild;t;t=t.nextElementSibling)e++;return e},get children(){for(var e=new r,t=0,n=this.firstElementChild;n;n=n.nextElementSibling)e[t++]=n;return e.length=t,e},remove:function(){var e=this.parentNode;e&&e.removeChild(this)}},i={get nextElementSibling(){return t(this.nextSibling)},get previousElementSibling(){return n(this.previousSibling)}},a={getElementById:function(e){return/[ \t\n\r\f]/.test(e)?null:this.querySelector('[id="'+e+'"]')}};e.ChildNodeInterface=i,e.NonElementParentNodeInterface=a,e.ParentNodeInterface=o}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}var n=e.ChildNodeInterface,r=e.wrappers.Node,o=e.enqueueMutation,i=e.mixin,a=e.registerWrapper,s=e.unsafeUnwrap,c=window.CharacterData;t.prototype=Object.create(r.prototype),i(t.prototype,{get nodeValue(){return this.data},set nodeValue(e){this.data=e},get textContent(){return this.data},set textContent(e){this.data=e},get data(){return s(this).data},set data(e){var t=s(this).data;o(this,"characterData",{oldValue:t}),s(this).data=e}}),i(t.prototype,n),a(c,t,document.createTextNode("")),e.wrappers.CharacterData=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return e>>>0}function n(e){r.call(this,e)}var r=e.wrappers.CharacterData,o=(e.enqueueMutation,e.mixin),i=e.registerWrapper,a=window.Text;n.prototype=Object.create(r.prototype),o(n.prototype,{splitText:function(e){e=t(e);var n=this.data;if(e>n.length)throw new Error("IndexSizeError");var r=n.slice(0,e),o=n.slice(e);this.data=r;var i=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}}),i(a,n,document.createTextNode("")),e.wrappers.Text=n}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return i(e).getAttribute("class")}function n(e,t){a(e,"attributes",{name:"class",namespace:null,oldValue:t})}function r(t){e.invalidateRendererBasedOnAttribute(t,"class")}function o(e,o,i){var a=e.ownerElement_;if(null==a)return o.apply(e,i);var s=t(a),c=o.apply(e,i);return t(a)!==s&&(n(a,s),r(a)),c}if(!window.DOMTokenList)return void console.warn("Missing DOMTokenList prototype, please include a compatible classList polyfill such as http://goo.gl/uTcepH.");var i=e.unsafeUnwrap,a=e.enqueueMutation,s=DOMTokenList.prototype.add;DOMTokenList.prototype.add=function(){o(this,s,arguments)};var c=DOMTokenList.prototype.remove;DOMTokenList.prototype.remove=function(){o(this,c,arguments)};var u=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(){return o(this,u,arguments)}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(t,n){var r=t.parentNode;if(r&&r.shadowRoot){var o=e.getRendererForHost(r);o.dependsOnAttribute(n)&&o.invalidate()}}function n(e,t,n){l(e,"attributes",{name:t,namespace:null,oldValue:n})}function r(e){a.call(this,e)}var o=e.ChildNodeInterface,i=e.GetElementsByInterface,a=e.wrappers.Node,s=e.ParentNodeInterface,c=e.SelectorsInterface,u=e.MatchesInterface,l=(e.addWrapNodeListMethod,e.enqueueMutation),p=e.mixin,d=(e.oneOf,e.registerWrapper),f=e.unsafeUnwrap,h=e.wrappers,w=window.Element,m=["matches","mozMatchesSelector","msMatchesSelector","webkitMatchesSelector"].filter(function(e){return w.prototype[e]}),v=m[0],g=w.prototype[v],b=new WeakMap;r.prototype=Object.create(a.prototype),p(r.prototype,{createShadowRoot:function(){var t=new h.ShadowRoot(this);f(this).polymerShadowRoot_=t;var n=e.getRendererForHost(this);return n.invalidate(),t},get shadowRoot(){return f(this).polymerShadowRoot_||null},setAttribute:function(e,r){var o=f(this).getAttribute(e);f(this).setAttribute(e,r),n(this,e,o),t(this,e)},removeAttribute:function(e){var r=f(this).getAttribute(e);f(this).removeAttribute(e),n(this,e,r),t(this,e)},get classList(){var e=b.get(this);if(!e){if(e=f(this).classList,!e)return;e.ownerElement_=this,b.set(this,e)}return e},get className(){return f(this).className},set className(e){this.setAttribute("class",e)},get id(){return f(this).id},set id(e){this.setAttribute("id",e)}}),m.forEach(function(e){"matches"!==e&&(r.prototype[e]=function(e){return this.matches(e)})}),w.prototype.webkitCreateShadowRoot&&(r.prototype.webkitCreateShadowRoot=r.prototype.createShadowRoot),p(r.prototype,o),p(r.prototype,i),p(r.prototype,s),p(r.prototype,c),p(r.prototype,u),d(w,r,document.createElementNS(null,"x")),e.invalidateRendererBasedOnAttribute=t,e.matchesNames=m,e.originalMatches=g,e.wrappers.Element=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function n(e){return e.replace(j,t)}function r(e){return e.replace(L,t)}function o(e){for(var t={},n=0;n"):c+">"+s(e)+"";case Node.TEXT_NODE:var p=e.data;return t&&D[t.localName]?p:r(p);case Node.COMMENT_NODE:return"";default:throw console.error(e),new Error("not implemented")}}function s(e){e instanceof N.HTMLTemplateElement&&(e=e.content);for(var t="",n=e.firstChild;n;n=n.nextSibling)t+=a(n,e);return t}function c(e,t,n){var r=n||"div";e.textContent="";var o=T(e.ownerDocument.createElement(r));o.innerHTML=t;for(var i;i=o.firstChild;)e.appendChild(O(i))}function u(e){w.call(this,e)}function l(e,t){var n=T(e.cloneNode(!1));n.innerHTML=t;for(var r,o=T(document.createDocumentFragment());r=n.firstChild;)o.appendChild(r);return O(o)}function p(t){return function(){return e.renderAllPending(),M(this)[t]}}function d(e){m(u,e,p(e))}function f(t){Object.defineProperty(u.prototype,t,{get:p(t),set:function(n){e.renderAllPending(),M(this)[t]=n},configurable:!0,enumerable:!0})}function h(t){Object.defineProperty(u.prototype,t,{value:function(){return e.renderAllPending(),M(this)[t].apply(M(this),arguments)},configurable:!0,enumerable:!0})}var w=e.wrappers.Element,m=e.defineGetter,v=e.enqueueMutation,g=e.mixin,b=e.nodesWereAdded,y=e.nodesWereRemoved,E=e.registerWrapper,S=e.snapshotNodeList,M=e.unsafeUnwrap,T=e.unwrap,O=e.wrap,N=e.wrappers,j=/[&\u00A0"]/g,L=/[&\u00A0<>]/g,_=o(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),D=o(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),C="http://www.w3.org/1999/xhtml",H=/MSIE/.test(navigator.userAgent),x=window.HTMLElement,R=window.HTMLTemplateElement;u.prototype=Object.create(w.prototype),g(u.prototype,{get innerHTML(){return s(this)},set innerHTML(e){if(H&&D[this.localName])return void(this.textContent=e);var t=S(this.childNodes);this.invalidateShadowRenderer()?this instanceof N.HTMLTemplateElement?c(this.content,e):c(this,e,this.tagName):!R&&this instanceof N.HTMLTemplateElement?c(this.content,e):M(this).innerHTML=e;var n=S(this.childNodes);v(this,"childList",{addedNodes:n,removedNodes:t}),y(t),b(n,this)},get outerHTML(){return a(this,this.parentNode)},set outerHTML(e){var t=this.parentNode;if(t){t.invalidateShadowRenderer();var n=l(t,e);t.replaceChild(n,this)}},insertAdjacentHTML:function(e,t){var n,r;switch(String(e).toLowerCase()){case"beforebegin":n=this.parentNode,r=this;break;case"afterend":n=this.parentNode,r=this.nextSibling;break;case"afterbegin":n=this,r=this.firstChild;break;case"beforeend":n=this,r=null;break;default:return}var o=l(n,t);n.insertBefore(o,r)},get hidden(){return this.hasAttribute("hidden")},set hidden(e){e?this.setAttribute("hidden",""):this.removeAttribute("hidden")}}),["clientHeight","clientLeft","clientTop","clientWidth","offsetHeight","offsetLeft","offsetTop","offsetWidth","scrollHeight","scrollWidth"].forEach(d),["scrollLeft","scrollTop"].forEach(f),["focus","getBoundingClientRect","getClientRects","scrollIntoView"].forEach(h),E(x,u,document.createElement("b")),e.wrappers.HTMLElement=u,e.getInnerHTML=s,e.setInnerHTML=c}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unsafeUnwrap,a=e.wrap,s=window.HTMLCanvasElement;t.prototype=Object.create(n.prototype),r(t.prototype,{getContext:function(){var e=i(this).getContext.apply(i(this),arguments);return e&&a(e)}}),o(s,t,document.createElement("canvas")),e.wrappers.HTMLCanvasElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=window.HTMLContentElement;t.prototype=Object.create(n.prototype),r(t.prototype,{constructor:t,get select(){return this.getAttribute("select")},set select(e){this.setAttribute("select",e)},setAttribute:function(e,t){n.prototype.setAttribute.call(this,e,t),"select"===String(e).toLowerCase()&&this.invalidateShadowRenderer(!0)}}),i&&o(i,t),e.wrappers.HTMLContentElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=window.HTMLFormElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get elements(){return i(a(this).elements)}}),o(s,t,document.createElement("form")),e.wrappers.HTMLFormElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}function n(e,t){if(!(this instanceof n))throw new TypeError("DOM object constructor cannot be called as a function.");var o=i(document.createElement("img"));r.call(this,o),a(o,this),void 0!==e&&(o.width=e),void 0!==t&&(o.height=t)}var r=e.wrappers.HTMLElement,o=e.registerWrapper,i=e.unwrap,a=e.rewrap,s=window.HTMLImageElement;t.prototype=Object.create(r.prototype),o(s,t,document.createElement("img")),n.prototype=t.prototype,e.wrappers.HTMLImageElement=t,e.wrappers.Image=n}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=(e.mixin,e.wrappers.NodeList,e.registerWrapper),o=window.HTMLShadowElement;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,o&&r(o,t),e.wrappers.HTMLShadowElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){if(!e.defaultView)return e;var t=p.get(e);if(!t){for(t=e.implementation.createHTMLDocument("");t.lastChild;)t.removeChild(t.lastChild);p.set(e,t)}return t}function n(e){for(var n,r=t(e.ownerDocument),o=c(r.createDocumentFragment());n=e.firstChild;)o.appendChild(n);return o}function r(e){if(o.call(this,e),!d){var t=n(e);l.set(this,u(t))}}var o=e.wrappers.HTMLElement,i=e.mixin,a=e.registerWrapper,s=e.unsafeUnwrap,c=e.unwrap,u=e.wrap,l=new WeakMap,p=new WeakMap,d=window.HTMLTemplateElement;r.prototype=Object.create(o.prototype),i(r.prototype,{constructor:r,get content(){return d?u(s(this).content):l.get(this)}}),d&&a(d,r),e.wrappers.HTMLTemplateElement=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.registerWrapper,o=window.HTMLMediaElement;o&&(t.prototype=Object.create(n.prototype),r(o,t,document.createElement("audio")),e.wrappers.HTMLMediaElement=t)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}function n(e){if(!(this instanceof n))throw new TypeError("DOM object constructor cannot be called as a function.");var t=i(document.createElement("audio"));r.call(this,t),a(t,this),t.setAttribute("preload","auto"),void 0!==e&&t.setAttribute("src",e)}var r=e.wrappers.HTMLMediaElement,o=e.registerWrapper,i=e.unwrap,a=e.rewrap,s=window.HTMLAudioElement;s&&(t.prototype=Object.create(r.prototype),o(s,t,document.createElement("audio")),n.prototype=t.prototype,e.wrappers.HTMLAudioElement=t,e.wrappers.Audio=n)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return e.replace(/\s+/g," ").trim()}function n(e){o.call(this,e)}function r(e,t,n,i){if(!(this instanceof r))throw new TypeError("DOM object constructor cannot be called as a function.");var a=c(document.createElement("option"));o.call(this,a),s(a,this),void 0!==e&&(a.text=e),void 0!==t&&a.setAttribute("value",t),n===!0&&a.setAttribute("selected",""),a.selected=i===!0}var o=e.wrappers.HTMLElement,i=e.mixin,a=e.registerWrapper,s=e.rewrap,c=e.unwrap,u=e.wrap,l=window.HTMLOptionElement;n.prototype=Object.create(o.prototype),i(n.prototype,{get text(){return t(this.textContent)},set text(e){this.textContent=t(String(e))},get form(){return u(c(this).form)}}),a(l,n,document.createElement("option")),r.prototype=n.prototype,e.wrappers.HTMLOptionElement=n,e.wrappers.Option=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unwrap,a=e.wrap,s=window.HTMLSelectElement;t.prototype=Object.create(n.prototype),r(t.prototype,{add:function(e,t){"object"==typeof t&&(t=i(t)),i(this).add(i(e),t)},remove:function(e){return void 0===e?void n.prototype.remove.call(this):("object"==typeof e&&(e=i(e)),void i(this).remove(e))},get form(){return a(i(this).form)}}),o(s,t,document.createElement("select")),e.wrappers.HTMLSelectElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unwrap,a=e.wrap,s=e.wrapHTMLCollection,c=window.HTMLTableElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get caption(){return a(i(this).caption)},createCaption:function(){return a(i(this).createCaption())},get tHead(){return a(i(this).tHead)},createTHead:function(){return a(i(this).createTHead())},createTFoot:function(){return a(i(this).createTFoot())},get tFoot(){return a(i(this).tFoot)},get tBodies(){return s(i(this).tBodies)},createTBody:function(){return a(i(this).createTBody())},get rows(){return s(i(this).rows)},insertRow:function(e){return a(i(this).insertRow(e))}}),o(c,t,document.createElement("table")),e.wrappers.HTMLTableElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=e.wrap,c=window.HTMLTableSectionElement;t.prototype=Object.create(n.prototype),r(t.prototype,{constructor:t,get rows(){return i(a(this).rows)},insertRow:function(e){return s(a(this).insertRow(e))}}),o(c,t,document.createElement("thead")),e.wrappers.HTMLTableSectionElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=e.wrap,c=window.HTMLTableRowElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get cells(){return i(a(this).cells)},insertCell:function(e){return s(a(this).insertCell(e))}}),o(c,t,document.createElement("tr")),e.wrappers.HTMLTableRowElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){switch(e.localName){case"content":return new n(e);case"shadow":return new o(e);case"template":return new i(e)}r.call(this,e)}var n=e.wrappers.HTMLContentElement,r=e.wrappers.HTMLElement,o=e.wrappers.HTMLShadowElement,i=e.wrappers.HTMLTemplateElement,a=(e.mixin,e.registerWrapper),s=window.HTMLUnknownElement;t.prototype=Object.create(r.prototype),a(s,t),e.wrappers.HTMLUnknownElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.Element,r=e.wrappers.HTMLElement,o=e.registerWrapper,i=(e.defineWrapGetter,e.unsafeUnwrap),a=e.wrap,s=e.mixin,c="http://www.w3.org/2000/svg",u=window.SVGElement,l=document.createElementNS(c,"title");if(!("classList"in l)){var p=Object.getOwnPropertyDescriptor(n.prototype,"classList");Object.defineProperty(r.prototype,"classList",p),delete n.prototype.classList}t.prototype=Object.create(n.prototype),s(t.prototype,{get ownerSVGElement(){return a(i(this).ownerSVGElement)}}),o(u,t,document.createElementNS(c,"title")),e.wrappers.SVGElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){d.call(this,e)}var n=e.mixin,r=e.registerWrapper,o=e.unwrap,i=e.wrap,a=window.SVGUseElement,s="http://www.w3.org/2000/svg",c=i(document.createElementNS(s,"g")),u=document.createElementNS(s,"use"),l=c.constructor,p=Object.getPrototypeOf(l.prototype),d=p.constructor;t.prototype=Object.create(p),"instanceRoot"in u&&n(t.prototype,{get instanceRoot(){return i(o(this).instanceRoot)},get animatedInstanceRoot(){return i(o(this).animatedInstanceRoot)}}),r(a,t,u),e.wrappers.SVGUseElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.EventTarget,r=e.mixin,o=e.registerWrapper,i=e.unsafeUnwrap,a=e.wrap,s=window.SVGElementInstance;s&&(t.prototype=Object.create(n.prototype),r(t.prototype,{get correspondingElement(){return a(i(this).correspondingElement)},get correspondingUseElement(){return a(i(this).correspondingUseElement)},get parentNode(){return a(i(this).parentNode)},get childNodes(){throw new Error("Not implemented")},get firstChild(){return a(i(this).firstChild)},get lastChild(){return a(i(this).lastChild)},get previousSibling(){return a(i(this).previousSibling)},get nextSibling(){return a(i(this).nextSibling)}}),o(s,t),e.wrappers.SVGElementInstance=t)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){o(e,this)}var n=e.mixin,r=e.registerWrapper,o=e.setWrapper,i=e.unsafeUnwrap,a=e.unwrap,s=e.unwrapIfNeeded,c=e.wrap,u=window.CanvasRenderingContext2D;n(t.prototype,{get canvas(){return c(i(this).canvas)},drawImage:function(){arguments[0]=s(arguments[0]),i(this).drawImage.apply(i(this),arguments)},createPattern:function(){return arguments[0]=a(arguments[0]),i(this).createPattern.apply(i(this),arguments)}}),r(u,t,document.createElement("canvas").getContext("2d")),e.wrappers.CanvasRenderingContext2D=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){i(e,this)}var n=e.addForwardingProperties,r=e.mixin,o=e.registerWrapper,i=e.setWrapper,a=e.unsafeUnwrap,s=e.unwrapIfNeeded,c=e.wrap,u=window.WebGLRenderingContext;if(u){r(t.prototype,{get canvas(){return c(a(this).canvas)},texImage2D:function(){arguments[5]=s(arguments[5]),a(this).texImage2D.apply(a(this),arguments)},texSubImage2D:function(){arguments[6]=s(arguments[6]),a(this).texSubImage2D.apply(a(this),arguments)}});var l=Object.getPrototypeOf(u.prototype);l!==Object.prototype&&n(l,t.prototype);var p=/WebKit/.test(navigator.userAgent)?{drawingBufferHeight:null,drawingBufferWidth:null}:{};o(u,t,p),e.wrappers.WebGLRenderingContext=t}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.Node,r=e.GetElementsByInterface,o=e.NonElementParentNodeInterface,i=e.ParentNodeInterface,a=e.SelectorsInterface,s=e.mixin,c=e.registerObject,u=e.registerWrapper,l=window.DocumentFragment;t.prototype=Object.create(n.prototype),s(t.prototype,i),s(t.prototype,a),s(t.prototype,r),s(t.prototype,o),u(l,t,document.createDocumentFragment()),e.wrappers.DocumentFragment=t;var p=c(document.createComment(""));e.wrappers.Comment=p}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=p(l(e).ownerDocument.createDocumentFragment());n.call(this,t),c(t,this);var o=e.shadowRoot;h.set(this,o),this.treeScope_=new r(this,a(o||e)),f.set(this,e)}var n=e.wrappers.DocumentFragment,r=e.TreeScope,o=e.elementFromPoint,i=e.getInnerHTML,a=e.getTreeScope,s=e.mixin,c=e.rewrap,u=e.setInnerHTML,l=e.unsafeUnwrap,p=e.unwrap,d=e.wrap,f=new WeakMap,h=new WeakMap;t.prototype=Object.create(n.prototype),s(t.prototype,{constructor:t,get innerHTML(){return i(this)},set innerHTML(e){u(this,e),this.invalidateShadowRenderer()},get olderShadowRoot(){return h.get(this)||null},get host(){return f.get(this)||null},invalidateShadowRenderer:function(){return f.get(this).invalidateShadowRenderer()},elementFromPoint:function(e,t){return o(this,this.ownerDocument,e,t)},getSelection:function(){return document.getSelection()},get activeElement(){var e=p(this).ownerDocument.activeElement;if(!e||!e.nodeType)return null;for(var t=d(e);!this.contains(t);){for(;t.parentNode;)t=t.parentNode;if(!t.host)return null;t=t.host}return t}}),e.wrappers.ShadowRoot=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=p(e).root;return t instanceof f?t.host:null}function n(t,n){if(t.shadowRoot){n=Math.min(t.childNodes.length-1,n);var r=t.childNodes[n];if(r){var o=e.getDestinationInsertionPoints(r);if(o.length>0){var i=o[0].parentNode;i.nodeType==Node.ELEMENT_NODE&&(t=i)}}}return t}function r(e){return e=l(e),t(e)||e}function o(e){a(e,this)}var i=e.registerWrapper,a=e.setWrapper,s=e.unsafeUnwrap,c=e.unwrap,u=e.unwrapIfNeeded,l=e.wrap,p=e.getTreeScope,d=window.Range,f=e.wrappers.ShadowRoot;o.prototype={get startContainer(){return r(s(this).startContainer)},get endContainer(){return r(s(this).endContainer)},get commonAncestorContainer(){return r(s(this).commonAncestorContainer)},setStart:function(e,t){e=n(e,t),s(this).setStart(u(e),t)},setEnd:function(e,t){e=n(e,t),s(this).setEnd(u(e),t)},setStartBefore:function(e){s(this).setStartBefore(u(e))},setStartAfter:function(e){s(this).setStartAfter(u(e))},setEndBefore:function(e){s(this).setEndBefore(u(e))},setEndAfter:function(e){s(this).setEndAfter(u(e))},selectNode:function(e){s(this).selectNode(u(e))},selectNodeContents:function(e){s(this).selectNodeContents(u(e))},compareBoundaryPoints:function(e,t){return s(this).compareBoundaryPoints(e,c(t))},extractContents:function(){return l(s(this).extractContents())},cloneContents:function(){return l(s(this).cloneContents())},insertNode:function(e){s(this).insertNode(u(e))},surroundContents:function(e){s(this).surroundContents(u(e))},cloneRange:function(){return l(s(this).cloneRange())},isPointInRange:function(e,t){return s(this).isPointInRange(u(e),t)},comparePoint:function(e,t){return s(this).comparePoint(u(e),t)},intersectsNode:function(e){return s(this).intersectsNode(u(e))},toString:function(){return s(this).toString()}},d.prototype.createContextualFragment&&(o.prototype.createContextualFragment=function(e){return l(s(this).createContextualFragment(e))}),i(window.Range,o,document.createRange()),e.wrappers.Range=o}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){e.previousSibling_=e.previousSibling,e.nextSibling_=e.nextSibling,e.parentNode_=e.parentNode}function n(n,o,i){var a=x(n),s=x(o),c=i?x(i):null;if(r(o),t(o),i)n.firstChild===i&&(n.firstChild_=i),i.previousSibling_=i.previousSibling;else{n.lastChild_=n.lastChild,n.lastChild===n.firstChild&&(n.firstChild_=n.firstChild);var u=R(a.lastChild);u&&(u.nextSibling_=u.nextSibling)}e.originalInsertBefore.call(a,s,c)}function r(n){var r=x(n),o=r.parentNode;if(o){var i=R(o);t(n),n.previousSibling&&(n.previousSibling.nextSibling_=n),n.nextSibling&&(n.nextSibling.previousSibling_=n),i.lastChild===n&&(i.lastChild_=n),i.firstChild===n&&(i.firstChild_=n),e.originalRemoveChild.call(o,r)}}function o(e){W.set(e,[])}function i(e){var t=W.get(e);return t||W.set(e,t=[]),t}function a(e){for(var t=[],n=0,r=e.firstChild;r;r=r.nextSibling)t[n++]=r;return t}function s(){for(var e=0;e=0;o--){var i=r[o],a=w(i);if(a){var s=i.olderShadowRoot;s&&(n=h(s));for(var c=0;c=0;l--)u=Object.create(u);["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"].forEach(function(e){var t=o[e];t&&(u[e]=function(){D(this)instanceof r||N(this),t.apply(D(this),arguments)})});var p={prototype:u};i&&(p["extends"]=i),r.prototype=o,r.prototype.constructor=r,e.constructorTable.set(u,r),e.nativePrototypeTable.set(o,u);I.call(_(this),t,p);return r},E([window.HTMLDocument||window.Document],["registerElement"])}E([window.HTMLBodyElement,window.HTMLDocument||window.Document,window.HTMLHeadElement,window.HTMLHtmlElement],["appendChild","compareDocumentPosition","contains","getElementsByClassName","getElementsByTagName","getElementsByTagNameNS","insertBefore","querySelector","querySelectorAll","removeChild","replaceChild"]),E([window.HTMLBodyElement,window.HTMLHeadElement,window.HTMLHtmlElement],S),E([window.HTMLDocument||window.Document],["adoptNode","importNode","contains","createComment","createDocumentFragment","createElement","createElementNS","createEvent","createEventNS","createRange","createTextNode","createTreeWalker","elementFromPoint","getElementById","getElementsByName","getSelection"]),M(t.prototype,u),M(t.prototype,p),M(t.prototype,h),M(t.prototype,d),M(t.prototype,{get implementation(){var e=H.get(this);return e?e:(e=new a(_(this).implementation),H.set(this,e),e)},get defaultView(){return D(_(this).defaultView)}}),T(window.Document,t,document.implementation.createHTMLDocument("")),window.HTMLDocument&&T(window.HTMLDocument,t),C([window.HTMLBodyElement,window.HTMLDocument||window.Document,window.HTMLHeadElement]);var A=document.implementation.createDocument;a.prototype.createDocument=function(){return arguments[2]=_(arguments[2]),D(A.apply(L(this),arguments))},s(a,"createDocumentType"),s(a,"createHTMLDocument"),c(a,"hasFeature"),T(window.DOMImplementation,a),E([window.DOMImplementation],["createDocument","createDocumentType","createHTMLDocument","hasFeature"]),e.adoptNodeNoRemove=r,e.wrappers.DOMImplementation=a,e.wrappers.Document=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.EventTarget,r=e.wrappers.Selection,o=e.mixin,i=e.registerWrapper,a=e.renderAllPending,s=e.unwrap,c=e.unwrapIfNeeded,u=e.wrap,l=window.Window,p=window.getComputedStyle,d=window.getDefaultComputedStyle,f=window.getSelection;t.prototype=Object.create(n.prototype),l.prototype.getComputedStyle=function(e,t){return u(this||window).getComputedStyle(c(e),t)},d&&(l.prototype.getDefaultComputedStyle=function(e,t){return u(this||window).getDefaultComputedStyle(c(e),t)}),l.prototype.getSelection=function(){return u(this||window).getSelection()},delete window.getComputedStyle,delete window.getDefaultComputedStyle,delete window.getSelection,["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){l.prototype[e]=function(){var t=u(this||window);return t[e].apply(t,arguments)},delete window[e]}),o(t.prototype,{getComputedStyle:function(e,t){return a(),p.call(s(this),c(e),t)},getSelection:function(){return a(),new r(f.call(s(this)))},get document(){return u(s(this).document)}}),d&&(t.prototype.getDefaultComputedStyle=function(e,t){return a(),d.call(s(this),c(e),t)}),i(l,t,window),e.wrappers.Window=t}(window.ShadowDOMPolyfill),function(e){"use strict";var t=e.unwrap,n=window.DataTransfer||window.Clipboard,r=n.prototype.setDragImage;r&&(n.prototype.setDragImage=function(e,n,o){r.call(this,t(e),n,o)})}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t;t=e instanceof i?e:new i(e&&o(e)),r(t,this)}var n=e.registerWrapper,r=e.setWrapper,o=e.unwrap,i=window.FormData;i&&(n(i,t,new i),e.wrappers.FormData=t)}(window.ShadowDOMPolyfill),function(e){"use strict";var t=e.unwrapIfNeeded,n=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(e){return n.call(this,t(e))}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=n[e],r=window[t];if(r){var o=document.createElement(e),i=o.constructor;window[t]=i}}var n=(e.isWrapperFor,{a:"HTMLAnchorElement",area:"HTMLAreaElement",audio:"HTMLAudioElement",base:"HTMLBaseElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",col:"HTMLTableColElement",content:"HTMLContentElement",data:"HTMLDataElement",datalist:"HTMLDataListElement",del:"HTMLModElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",embed:"HTMLEmbedElement",fieldset:"HTMLFieldSetElement",font:"HTMLFontElement",form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",head:"HTMLHeadElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",keygen:"HTMLKeygenElement",label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",marquee:"HTMLMarqueeElement",menu:"HTMLMenuElement",menuitem:"HTMLMenuItemElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",progress:"HTMLProgressElement",q:"HTMLQuoteElement",script:"HTMLScriptElement",select:"HTMLSelectElement",shadow:"HTMLShadowElement",source:"HTMLSourceElement",span:"HTMLSpanElement",style:"HTMLStyleElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",template:"HTMLTemplateElement",textarea:"HTMLTextAreaElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",ul:"HTMLUListElement",video:"HTMLVideoElement"});Object.keys(n).forEach(t),Object.getOwnPropertyNames(e.wrappers).forEach(function(t){window[t]=e.wrappers[t]})}(window.ShadowDOMPolyfill); \ No newline at end of file diff --git a/docs/bower_components/webcomponentsjs/webcomponents-lite.js b/docs/bower_components/webcomponentsjs/webcomponents-lite.js index 10b5157..957bd56 100644 --- a/docs/bower_components/webcomponentsjs/webcomponents-lite.js +++ b/docs/bower_components/webcomponentsjs/webcomponents-lite.js @@ -7,7 +7,7 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 (function() { window.WebComponents = window.WebComponents || { flags: {} diff --git a/docs/bower_components/webcomponentsjs/webcomponents-lite.min.js b/docs/bower_components/webcomponentsjs/webcomponents-lite.min.js index 2e98cb0..fb9d010 100644 --- a/docs/bower_components/webcomponentsjs/webcomponents-lite.min.js +++ b/docs/bower_components/webcomponentsjs/webcomponents-lite.min.js @@ -7,6 +7,6 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 !function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomponents-lite.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var t,o=e.split("=");o[0]&&(t=o[0].match(/wc-(.+)/))&&(n[t[1]]=o[1]||!0)}),t)for(var o,r=0;o=t.attributes[r];r++)"src"!==o.name&&(n[o.name]=o.value||!0);if(n.log&&n.log.split){var i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}}n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=n.register),WebComponents.flags=n}(),function(e){"use strict";function t(e){return void 0!==h[e]}function n(){s.call(this),this._isInvalid=!0}function o(e){return""==e&&n.call(this),e.toLowerCase()}function r(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function a(e,a,s){function c(e){g.push(e)}var d=a||"scheme start",l=0,u="",w=!1,_=!1,g=[];e:for(;(e[l-1]!=p||0==l)&&!this._isInvalid;){var b=e[l];switch(d){case"scheme start":if(!b||!m.test(b)){if(a){c("Invalid scheme.");break e}u="",d="no scheme";continue}u+=b.toLowerCase(),d="scheme";break;case"scheme":if(b&&v.test(b))u+=b.toLowerCase();else{if(":"!=b){if(a){if(p==b)break e;c("Code point not allowed in scheme: "+b);break e}u="",l=0,d="no scheme";continue}if(this._scheme=u,u="",a)break e;t(this._scheme)&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&s&&s._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==b?(this._query="?",d="query"):"#"==b?(this._fragment="#",d="fragment"):p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._schemeData+=r(b));break;case"no scheme":if(s&&t(s._scheme)){d="relative";continue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!=b||"/"!=e[l+1]){c("Expected /, got: "+b),d="relative";continue}d="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=s._scheme),p==b){this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._username=s._username,this._password=s._password;break e}if("/"==b||"\\"==b)"\\"==b&&c("\\ is an invalid code point."),d="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query="?",this._username=s._username,this._password=s._password,d="query";else{if("#"!=b){var y=e[l+1],E=e[l+2];("file"!=this._scheme||!m.test(b)||":"!=y&&"|"!=y||p!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password,this._path=s._path.slice(),this._path.pop()),d="relative path";continue}this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._fragment="#",this._username=s._username,this._password=s._password,d="fragment"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password),d="relative path";continue}"\\"==b&&c("\\ is an invalid code point."),d="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=b){c("Expected '/', got: "+b),d="authority ignore slashes";continue}d="authority second slash";break;case"authority second slash":if(d="authority ignore slashes","/"!=b){c("Expected '/', got: "+b);continue}break;case"authority ignore slashes":if("/"!=b&&"\\"!=b){d="authority";continue}c("Expected authority, got: "+b);break;case"authority":if("@"==b){w&&(c("@ already seen."),u+="%40"),w=!0;for(var L=0;L>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){b.push(e),g||(g=!0,m(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){g=!1;var e=b;b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r0){var r=n[o-1],i=f(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n":return">";case" ":return" "}}function t(t){return t.replace(u,e)}var n="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&!function(){var e=document.importNode;document.importNode=function(){var t=e.apply(document,arguments);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocumentFragment();return n.appendChild(t),n}return t}}();var o=function(){if(!n){var e=document.createElement("template"),t=document.createElement("template");t.content.appendChild(document.createElement("div")),e.content.appendChild(t);var o=e.cloneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.content.childNodes.length}}(),r="template",i=function(){};if(n){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent=r+"{display:none;}";var d=document.head;d.insertBefore(c,d.firstElementChild),i.prototype=Object.create(HTMLElement.prototype),i.decorate=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(e.cloneNode=function(e){return i.cloneNode(this,e)},s)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",n=this.content.firstChild;n;n=n.nextSibling)e+=n.outerHTML||t(n.data);return e},set:function(e){for(a.body.innerHTML=e,i.bootstrap(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})}catch(o){s=!1}i.bootstrap(e.content)}},i.bootstrap=function(e){for(var t,n=e.querySelectorAll(r),o=0,a=n.length;o]/g}if(n||o){var h=Node.prototype.cloneNode;i.cloneNode=function(e,t){var n=h.call(e,!1);return this.decorate&&this.decorate(n),t&&(n.content.appendChild(h.call(e.content,!0)),this.fixClonedDom(n.content,e.content)),n},i.fixClonedDom=function(e,t){if(t.querySelectorAll)for(var n,o,i=t.querySelectorAll(r),a=e.querySelectorAll(r),s=0,c=a.length;s=200&&e.status<300||304===e.status||0===e.status},load:function(n,o,r){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr(0,1)?location.origin+a:a)}catch(e){console.error(e.message)}o.call(r,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,o=e.length;n-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,null,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;for(var i,a=this.pending[e],s=0,c=a.length;s=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(e["import"]=e.__doc,window.HTMLImports.__importsParsingHook&&window.HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispatchEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,o=function(r){e.removeEventListener("load",o),e.removeEventListener("error",o),t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",o),e.addEventListener("error",o),d&&"style"===e.localName){var r=!1;if(e.textContent.indexOf("@import")==-1)r=!0;else if(e.sheet){r=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,c=0;c=0},hasResource:function(e){return!t(e)||void 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=u}),window.HTMLImports.addModule(function(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function o(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}function r(e,t){var n=document.implementation.createHTMLDocument(a);n._URL=t;var r=n.createElement("base");r.setAttribute("href",t),n.baseURI||o(n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");return i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild(r),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPORT_SELECTOR,c=e.rootDocument,d=e.Loader,l=e.Observer,u=e.parser,h={documents:{},documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:function(e){f.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);f.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===c?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,o,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=o,n.__error=a,t(n)){var c=this.documents[e];void 0===c&&(c=a?null:r(o,s||e),c&&(c.__importLink=n,this.bootDocument(c)),this.documents[e]=c),n.__doc=c}u.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:function(){u.parseNext()}},f=new d(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observer=new l,!document.baseURI){var p={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",p),Object.defineProperty(c,"baseURI",p)}e.importer=h,e.importLoader=f}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,o={added:function(e){for(var o,r,i,a,s=0,c=e.length;s=0)){n.push(e);for(var o,r=e.querySelectorAll("link[rel="+a+"]"),s=0,c=r.length;s=0&&g(o,HTMLElement),o)}function p(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return w(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),w=e.upgradeAll,_=e.upgradeWithDefinition,g=e.implementPrototype,b=e.useNative,y=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],E={},L="http://www.w3.org/1999/xhtml",N=document.createElement.bind(document),M=document.createElementNS.bind(document);m=Object.__proto__||b?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},p(Node.prototype,"cloneNode"),p(document,"importNode"),document.registerElement=t,document.createElement=f,document.createElementNS=h,e.registry=E,e["instanceof"]=m,e.reservedTagList=y,e.getRegisteredDefinition=d,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.initializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceof"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements),function(e){var t=document.createElement("style");t.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var n=document.querySelector("head");n.insertBefore(t,n.firstChild)}(window.WebComponents); \ No newline at end of file diff --git a/docs/bower_components/webcomponentsjs/webcomponents.js b/docs/bower_components/webcomponentsjs/webcomponents.js index d30e911..daf5c22 100644 --- a/docs/bower_components/webcomponentsjs/webcomponents.js +++ b/docs/bower_components/webcomponentsjs/webcomponents.js @@ -7,7 +7,7 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 (function() { window.WebComponents = window.WebComponents || { flags: {} diff --git a/docs/bower_components/webcomponentsjs/webcomponents.min.js b/docs/bower_components/webcomponentsjs/webcomponents.min.js index 3927736..ad8196b 100644 --- a/docs/bower_components/webcomponentsjs/webcomponents.min.js +++ b/docs/bower_components/webcomponentsjs/webcomponents.min.js @@ -7,7 +7,7 @@ * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -// @version 0.7.23 +// @version 0.7.24 !function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomponents.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var t,r=e.split("=");r[0]&&(t=r[0].match(/wc-(.+)/))&&(n[t[1]]=r[1]||!0)}),t)for(var r,o=0;r=t.attributes[o];o++)"src"!==r.name&&(n[r.name]=r.value||!0);if(n.log&&n.log.split){var i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}}n.shadow=n.shadow||n.shadowdom||n.polyfill,"native"===n.shadow?n.shadow=!1:n.shadow=n.shadow||!HTMLElement.prototype.createShadowRoot,n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=n.register),WebComponents.flags=n}(),WebComponents.flags.shadow&&("undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),window.ShadowDOMPolyfill={},function(e){"use strict";function t(){if("undefined"!=typeof chrome&&chrome.app&&chrome.app.runtime)return!1;if(navigator.getDeviceStorage)return!1;try{var e=new Function("return true;");return e()}catch(t){return!1}}function n(e){if(!e)throw new Error("Assertion failed")}function r(e,t){for(var n=W(t),r=0;r0||n>0;)if(0!=t)if(0!=n){var l,u=e[t-1][n-1],d=e[t-1][n],p=e[t][n-1];l=d0){for(var u=0;u0&&r.length>0;){var i=n.pop(),a=r.pop();if(i!==a)break;o=i}return o}function u(e,t,n){t instanceof G.Window&&(t=t.document);var o,i=A(t),a=A(n),s=r(n,e),o=l(i,a);o||(o=a.root);for(var c=o;c;c=c.parent)for(var u=0;u0;i--)if(!g(t[i],e,o,t,r))return!1;return!0}function w(e,t,n,r){var o=ie,i=t[0]||n;return g(i,e,o,t,r)}function v(e,t,n,r){for(var o=ae,i=1;i0&&g(n,e,o,t,r)}function g(e,t,n,r,o){var i=z.get(e);if(!i)return!0;var a=o||s(r,e);if(a===e){if(n===oe)return!0;n===ae&&(n=ie)}else if(n===ae&&!t.bubbles)return!0;if("relatedTarget"in t){var c=B(t),l=c.relatedTarget;if(l){if(l instanceof Object&&l.addEventListener){var d=V(l),p=u(t,e,d);if(p===a)return!0}else p=null;Z.set(t,p)}}J.set(t,n);var h=t.type,f=!1;X.set(t,a),Y.set(t,e),i.depth++;for(var m=0,w=i.length;m=0;a--)e.removeChild(i[a]),i[a].parentNode_=t;U=!1;for(var a=0;a>>/g," ")}function r(e){return String(e).replace(/:host\(([^\s]+)\)/g,"$1").replace(/([^\s]):host/g,"$1").replace(":host","*").replace(/\^|\/shadow\/|\/shadow-deep\/|::shadow|\/deep\/|::content|>>>/g," ")}function o(e,t){for(var n,r=e.firstElementChild;r;){if(r.matches(t))return r;if(n=o(r,t))return n;r=r.nextElementSibling}return null}function i(e,t){return e.matches(t)}function a(e,t,n){var r=e.localName;return r===t||r===n&&e.namespaceURI===j}function s(){return!0}function c(e,t,n){return e.localName===n}function l(e,t){return e.namespaceURI===t}function u(e,t,n){return e.namespaceURI===t&&e.localName===n}function d(e,t,n,r,o,i){for(var a=e.firstElementChild;a;)r(a,o,i)&&(n[t++]=a),t=d(a,t,n,r,o,i),a=a.nextElementSibling;return t}function p(n,r,o,i,a){var s,c=g(this),l=v(this).root;if(l instanceof e.wrappers.ShadowRoot)return d(this,r,o,n,i,null);if(c instanceof N)s=S.call(c,i);else{if(!(c instanceof C))return d(this,r,o,n,i,null);s=_.call(c,i)}return t(s,r,o,a)}function h(n,r,o,i,a){var s,c=g(this),l=v(this).root;if(l instanceof e.wrappers.ShadowRoot)return d(this,r,o,n,i,a);if(c instanceof N)s=M.call(c,i,a);else{if(!(c instanceof C))return d(this,r,o,n,i,a);s=T.call(c,i,a)}return t(s,r,o,!1)}function f(n,r,o,i,a){var s,c=g(this),l=v(this).root;if(l instanceof e.wrappers.ShadowRoot)return d(this,r,o,n,i,a);if(c instanceof N)s=L.call(c,i,a);else{if(!(c instanceof C))return d(this,r,o,n,i,a);s=O.call(c,i,a)}return t(s,r,o,!1)}var m=e.wrappers.HTMLCollection,w=e.wrappers.NodeList,v=e.getTreeScope,g=e.unsafeUnwrap,b=e.wrap,y=document.querySelector,E=document.documentElement.querySelector,_=document.querySelectorAll,S=document.documentElement.querySelectorAll,T=document.getElementsByTagName,M=document.documentElement.getElementsByTagName,O=document.getElementsByTagNameNS,L=document.documentElement.getElementsByTagNameNS,N=window.Element,C=window.HTMLDocument||window.Document,j="http://www.w3.org/1999/xhtml",D={ querySelector:function(t){var r=n(t),i=r!==t;t=r;var a,s=g(this),c=v(this).root;if(c instanceof e.wrappers.ShadowRoot)return o(this,t);if(s instanceof N)a=b(E.call(s,t));else{if(!(s instanceof C))return o(this,t);a=b(y.call(s,t))}return a&&!i&&(c=v(a).root)&&c instanceof e.wrappers.ShadowRoot?o(this,t):a},querySelectorAll:function(e){var t=n(e),r=t!==e;e=t;var o=new w;return o.length=p.call(this,i,0,o,e,r),o}},H={matches:function(t){return t=r(t),e.originalMatches.call(g(this),t)}},x={getElementsByTagName:function(e){var t=new m,n="*"===e?s:a;return t.length=h.call(this,n,0,t,e,e.toLowerCase()),t},getElementsByClassName:function(e){return this.querySelectorAll("."+e)},getElementsByTagNameNS:function(e,t){var n=new m,r=null;return r="*"===e?"*"===t?s:c:"*"===t?l:u,n.length=f.call(this,r,0,n,e||null,t),n}};e.GetElementsByInterface=x,e.SelectorsInterface=D,e.MatchesInterface=H}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}function n(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}var r=e.wrappers.NodeList,o={get firstElementChild(){return t(this.firstChild)},get lastElementChild(){return n(this.lastChild)},get childElementCount(){for(var e=0,t=this.firstElementChild;t;t=t.nextElementSibling)e++;return e},get children(){for(var e=new r,t=0,n=this.firstElementChild;n;n=n.nextElementSibling)e[t++]=n;return e.length=t,e},remove:function(){var e=this.parentNode;e&&e.removeChild(this)}},i={get nextElementSibling(){return t(this.nextSibling)},get previousElementSibling(){return n(this.previousSibling)}},a={getElementById:function(e){return/[ \t\n\r\f]/.test(e)?null:this.querySelector('[id="'+e+'"]')}};e.ChildNodeInterface=i,e.NonElementParentNodeInterface=a,e.ParentNodeInterface=o}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}var n=e.ChildNodeInterface,r=e.wrappers.Node,o=e.enqueueMutation,i=e.mixin,a=e.registerWrapper,s=e.unsafeUnwrap,c=window.CharacterData;t.prototype=Object.create(r.prototype),i(t.prototype,{get nodeValue(){return this.data},set nodeValue(e){this.data=e},get textContent(){return this.data},set textContent(e){this.data=e},get data(){return s(this).data},set data(e){var t=s(this).data;o(this,"characterData",{oldValue:t}),s(this).data=e}}),i(t.prototype,n),a(c,t,document.createTextNode("")),e.wrappers.CharacterData=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return e>>>0}function n(e){r.call(this,e)}var r=e.wrappers.CharacterData,o=(e.enqueueMutation,e.mixin),i=e.registerWrapper,a=window.Text;n.prototype=Object.create(r.prototype),o(n.prototype,{splitText:function(e){e=t(e);var n=this.data;if(e>n.length)throw new Error("IndexSizeError");var r=n.slice(0,e),o=n.slice(e);this.data=r;var i=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}}),i(a,n,document.createTextNode("")),e.wrappers.Text=n}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return i(e).getAttribute("class")}function n(e,t){a(e,"attributes",{name:"class",namespace:null,oldValue:t})}function r(t){e.invalidateRendererBasedOnAttribute(t,"class")}function o(e,o,i){var a=e.ownerElement_;if(null==a)return o.apply(e,i);var s=t(a),c=o.apply(e,i);return t(a)!==s&&(n(a,s),r(a)),c}if(!window.DOMTokenList)return void console.warn("Missing DOMTokenList prototype, please include a compatible classList polyfill such as http://goo.gl/uTcepH.");var i=e.unsafeUnwrap,a=e.enqueueMutation,s=DOMTokenList.prototype.add;DOMTokenList.prototype.add=function(){o(this,s,arguments)};var c=DOMTokenList.prototype.remove;DOMTokenList.prototype.remove=function(){o(this,c,arguments)};var l=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(){return o(this,l,arguments)}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(t,n){var r=t.parentNode;if(r&&r.shadowRoot){var o=e.getRendererForHost(r);o.dependsOnAttribute(n)&&o.invalidate()}}function n(e,t,n){u(e,"attributes",{name:t,namespace:null,oldValue:n})}function r(e){a.call(this,e)}var o=e.ChildNodeInterface,i=e.GetElementsByInterface,a=e.wrappers.Node,s=e.ParentNodeInterface,c=e.SelectorsInterface,l=e.MatchesInterface,u=(e.addWrapNodeListMethod,e.enqueueMutation),d=e.mixin,p=(e.oneOf,e.registerWrapper),h=e.unsafeUnwrap,f=e.wrappers,m=window.Element,w=["matches","mozMatchesSelector","msMatchesSelector","webkitMatchesSelector"].filter(function(e){return m.prototype[e]}),v=w[0],g=m.prototype[v],b=new WeakMap;r.prototype=Object.create(a.prototype),d(r.prototype,{createShadowRoot:function(){var t=new f.ShadowRoot(this);h(this).polymerShadowRoot_=t;var n=e.getRendererForHost(this);return n.invalidate(),t},get shadowRoot(){return h(this).polymerShadowRoot_||null},setAttribute:function(e,r){var o=h(this).getAttribute(e);h(this).setAttribute(e,r),n(this,e,o),t(this,e)},removeAttribute:function(e){var r=h(this).getAttribute(e);h(this).removeAttribute(e),n(this,e,r),t(this,e)},get classList(){var e=b.get(this);if(!e){if(e=h(this).classList,!e)return;e.ownerElement_=this,b.set(this,e)}return e},get className(){return h(this).className},set className(e){this.setAttribute("class",e)},get id(){return h(this).id},set id(e){this.setAttribute("id",e)}}),w.forEach(function(e){"matches"!==e&&(r.prototype[e]=function(e){return this.matches(e)})}),m.prototype.webkitCreateShadowRoot&&(r.prototype.webkitCreateShadowRoot=r.prototype.createShadowRoot),d(r.prototype,o),d(r.prototype,i),d(r.prototype,s),d(r.prototype,c),d(r.prototype,l),p(m,r,document.createElementNS(null,"x")),e.invalidateRendererBasedOnAttribute=t,e.matchesNames=w,e.originalMatches=g,e.wrappers.Element=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function n(e){return e.replace(L,t)}function r(e){return e.replace(N,t)}function o(e){for(var t={},n=0;n"):c+">"+s(e)+"";case Node.TEXT_NODE:var d=e.data;return t&&j[t.localName]?d:r(d);case Node.COMMENT_NODE:return"";default:throw console.error(e),new Error("not implemented")}}function s(e){e instanceof O.HTMLTemplateElement&&(e=e.content);for(var t="",n=e.firstChild;n;n=n.nextSibling)t+=a(n,e);return t}function c(e,t,n){var r=n||"div";e.textContent="";var o=T(e.ownerDocument.createElement(r));o.innerHTML=t;for(var i;i=o.firstChild;)e.appendChild(M(i))}function l(e){m.call(this,e)}function u(e,t){var n=T(e.cloneNode(!1));n.innerHTML=t;for(var r,o=T(document.createDocumentFragment());r=n.firstChild;)o.appendChild(r);return M(o)}function d(t){return function(){return e.renderAllPending(),S(this)[t]}}function p(e){w(l,e,d(e))}function h(t){Object.defineProperty(l.prototype,t,{get:d(t),set:function(n){e.renderAllPending(),S(this)[t]=n},configurable:!0,enumerable:!0})}function f(t){Object.defineProperty(l.prototype,t,{value:function(){return e.renderAllPending(),S(this)[t].apply(S(this),arguments)},configurable:!0,enumerable:!0})}var m=e.wrappers.Element,w=e.defineGetter,v=e.enqueueMutation,g=e.mixin,b=e.nodesWereAdded,y=e.nodesWereRemoved,E=e.registerWrapper,_=e.snapshotNodeList,S=e.unsafeUnwrap,T=e.unwrap,M=e.wrap,O=e.wrappers,L=/[&\u00A0"]/g,N=/[&\u00A0<>]/g,C=o(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),j=o(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),D="http://www.w3.org/1999/xhtml",H=/MSIE/.test(navigator.userAgent),x=window.HTMLElement,R=window.HTMLTemplateElement;l.prototype=Object.create(m.prototype),g(l.prototype,{get innerHTML(){return s(this)},set innerHTML(e){if(H&&j[this.localName])return void(this.textContent=e);var t=_(this.childNodes);this.invalidateShadowRenderer()?this instanceof O.HTMLTemplateElement?c(this.content,e):c(this,e,this.tagName):!R&&this instanceof O.HTMLTemplateElement?c(this.content,e):S(this).innerHTML=e;var n=_(this.childNodes);v(this,"childList",{addedNodes:n,removedNodes:t}),y(t),b(n,this)},get outerHTML(){return a(this,this.parentNode)},set outerHTML(e){var t=this.parentNode;if(t){t.invalidateShadowRenderer();var n=u(t,e);t.replaceChild(n,this)}},insertAdjacentHTML:function(e,t){var n,r;switch(String(e).toLowerCase()){case"beforebegin":n=this.parentNode,r=this;break;case"afterend":n=this.parentNode,r=this.nextSibling;break;case"afterbegin":n=this,r=this.firstChild;break;case"beforeend":n=this,r=null;break;default:return}var o=u(n,t);n.insertBefore(o,r)},get hidden(){return this.hasAttribute("hidden")},set hidden(e){e?this.setAttribute("hidden",""):this.removeAttribute("hidden")}}),["clientHeight","clientLeft","clientTop","clientWidth","offsetHeight","offsetLeft","offsetTop","offsetWidth","scrollHeight","scrollWidth"].forEach(p),["scrollLeft","scrollTop"].forEach(h),["focus","getBoundingClientRect","getClientRects","scrollIntoView"].forEach(f),E(x,l,document.createElement("b")),e.wrappers.HTMLElement=l,e.getInnerHTML=s,e.setInnerHTML=c}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unsafeUnwrap,a=e.wrap,s=window.HTMLCanvasElement;t.prototype=Object.create(n.prototype),r(t.prototype,{getContext:function(){var e=i(this).getContext.apply(i(this),arguments);return e&&a(e)}}),o(s,t,document.createElement("canvas")),e.wrappers.HTMLCanvasElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=window.HTMLContentElement;t.prototype=Object.create(n.prototype),r(t.prototype,{constructor:t,get select(){return this.getAttribute("select")},set select(e){this.setAttribute("select",e)},setAttribute:function(e,t){n.prototype.setAttribute.call(this,e,t),"select"===String(e).toLowerCase()&&this.invalidateShadowRenderer(!0)}}),i&&o(i,t),e.wrappers.HTMLContentElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=window.HTMLFormElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get elements(){return i(a(this).elements)}}),o(s,t,document.createElement("form")),e.wrappers.HTMLFormElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}function n(e,t){if(!(this instanceof n))throw new TypeError("DOM object constructor cannot be called as a function.");var o=i(document.createElement("img"));r.call(this,o),a(o,this),void 0!==e&&(o.width=e),void 0!==t&&(o.height=t)}var r=e.wrappers.HTMLElement,o=e.registerWrapper,i=e.unwrap,a=e.rewrap,s=window.HTMLImageElement;t.prototype=Object.create(r.prototype),o(s,t,document.createElement("img")),n.prototype=t.prototype,e.wrappers.HTMLImageElement=t,e.wrappers.Image=n}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=(e.mixin,e.wrappers.NodeList,e.registerWrapper),o=window.HTMLShadowElement;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,o&&r(o,t),e.wrappers.HTMLShadowElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){if(!e.defaultView)return e;var t=d.get(e);if(!t){for(t=e.implementation.createHTMLDocument("");t.lastChild;)t.removeChild(t.lastChild);d.set(e,t)}return t}function n(e){for(var n,r=t(e.ownerDocument),o=c(r.createDocumentFragment());n=e.firstChild;)o.appendChild(n);return o}function r(e){if(o.call(this,e),!p){var t=n(e);u.set(this,l(t))}}var o=e.wrappers.HTMLElement,i=e.mixin,a=e.registerWrapper,s=e.unsafeUnwrap,c=e.unwrap,l=e.wrap,u=new WeakMap,d=new WeakMap,p=window.HTMLTemplateElement;r.prototype=Object.create(o.prototype),i(r.prototype,{constructor:r,get content(){return p?l(s(this).content):u.get(this)}}),p&&a(p,r),e.wrappers.HTMLTemplateElement=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.registerWrapper,o=window.HTMLMediaElement;o&&(t.prototype=Object.create(n.prototype),r(o,t,document.createElement("audio")),e.wrappers.HTMLMediaElement=t)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){r.call(this,e)}function n(e){if(!(this instanceof n))throw new TypeError("DOM object constructor cannot be called as a function.");var t=i(document.createElement("audio"));r.call(this,t),a(t,this),t.setAttribute("preload","auto"),void 0!==e&&t.setAttribute("src",e)}var r=e.wrappers.HTMLMediaElement,o=e.registerWrapper,i=e.unwrap,a=e.rewrap,s=window.HTMLAudioElement;s&&(t.prototype=Object.create(r.prototype),o(s,t,document.createElement("audio")),n.prototype=t.prototype,e.wrappers.HTMLAudioElement=t,e.wrappers.Audio=n)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){return e.replace(/\s+/g," ").trim()}function n(e){o.call(this,e)}function r(e,t,n,i){if(!(this instanceof r))throw new TypeError("DOM object constructor cannot be called as a function.");var a=c(document.createElement("option"));o.call(this,a),s(a,this),void 0!==e&&(a.text=e),void 0!==t&&a.setAttribute("value",t),n===!0&&a.setAttribute("selected",""),a.selected=i===!0}var o=e.wrappers.HTMLElement,i=e.mixin,a=e.registerWrapper,s=e.rewrap,c=e.unwrap,l=e.wrap,u=window.HTMLOptionElement;n.prototype=Object.create(o.prototype),i(n.prototype,{get text(){return t(this.textContent)},set text(e){this.textContent=t(String(e))},get form(){return l(c(this).form)}}),a(u,n,document.createElement("option")),r.prototype=n.prototype,e.wrappers.HTMLOptionElement=n,e.wrappers.Option=r}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unwrap,a=e.wrap,s=window.HTMLSelectElement;t.prototype=Object.create(n.prototype),r(t.prototype,{add:function(e,t){"object"==typeof t&&(t=i(t)),i(this).add(i(e),t)},remove:function(e){return void 0===e?void n.prototype.remove.call(this):("object"==typeof e&&(e=i(e)),void i(this).remove(e))},get form(){return a(i(this).form)}}),o(s,t,document.createElement("select")),e.wrappers.HTMLSelectElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.unwrap,a=e.wrap,s=e.wrapHTMLCollection,c=window.HTMLTableElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get caption(){return a(i(this).caption)},createCaption:function(){return a(i(this).createCaption())},get tHead(){return a(i(this).tHead)},createTHead:function(){return a(i(this).createTHead())},createTFoot:function(){return a(i(this).createTFoot())},get tFoot(){return a(i(this).tFoot)},get tBodies(){return s(i(this).tBodies)},createTBody:function(){return a(i(this).createTBody())},get rows(){return s(i(this).rows)},insertRow:function(e){return a(i(this).insertRow(e))}}),o(c,t,document.createElement("table")),e.wrappers.HTMLTableElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=e.wrap,c=window.HTMLTableSectionElement;t.prototype=Object.create(n.prototype),r(t.prototype,{constructor:t,get rows(){return i(a(this).rows)},insertRow:function(e){return s(a(this).insertRow(e))}}),o(c,t,document.createElement("thead")),e.wrappers.HTMLTableSectionElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.HTMLElement,r=e.mixin,o=e.registerWrapper,i=e.wrapHTMLCollection,a=e.unwrap,s=e.wrap,c=window.HTMLTableRowElement;t.prototype=Object.create(n.prototype),r(t.prototype,{get cells(){return i(a(this).cells)},insertCell:function(e){return s(a(this).insertCell(e))}}),o(c,t,document.createElement("tr")),e.wrappers.HTMLTableRowElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){switch(e.localName){case"content":return new n(e);case"shadow":return new o(e);case"template":return new i(e)}r.call(this,e)}var n=e.wrappers.HTMLContentElement,r=e.wrappers.HTMLElement,o=e.wrappers.HTMLShadowElement,i=e.wrappers.HTMLTemplateElement,a=(e.mixin,e.registerWrapper),s=window.HTMLUnknownElement;t.prototype=Object.create(r.prototype),a(s,t),e.wrappers.HTMLUnknownElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.Element,r=e.wrappers.HTMLElement,o=e.registerWrapper,i=(e.defineWrapGetter,e.unsafeUnwrap),a=e.wrap,s=e.mixin,c="http://www.w3.org/2000/svg",l=window.SVGElement,u=document.createElementNS(c,"title");if(!("classList"in u)){var d=Object.getOwnPropertyDescriptor(n.prototype,"classList");Object.defineProperty(r.prototype,"classList",d),delete n.prototype.classList}t.prototype=Object.create(n.prototype),s(t.prototype,{get ownerSVGElement(){return a(i(this).ownerSVGElement)}}),o(l,t,document.createElementNS(c,"title")),e.wrappers.SVGElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){p.call(this,e)}var n=e.mixin,r=e.registerWrapper,o=e.unwrap,i=e.wrap,a=window.SVGUseElement,s="http://www.w3.org/2000/svg",c=i(document.createElementNS(s,"g")),l=document.createElementNS(s,"use"),u=c.constructor,d=Object.getPrototypeOf(u.prototype),p=d.constructor;t.prototype=Object.create(d),"instanceRoot"in l&&n(t.prototype,{get instanceRoot(){return i(o(this).instanceRoot)},get animatedInstanceRoot(){return i(o(this).animatedInstanceRoot)}}),r(a,t,l),e.wrappers.SVGUseElement=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.EventTarget,r=e.mixin,o=e.registerWrapper,i=e.unsafeUnwrap,a=e.wrap,s=window.SVGElementInstance;s&&(t.prototype=Object.create(n.prototype),r(t.prototype,{get correspondingElement(){return a(i(this).correspondingElement)},get correspondingUseElement(){return a(i(this).correspondingUseElement)},get parentNode(){return a(i(this).parentNode)},get childNodes(){throw new Error("Not implemented")},get firstChild(){return a(i(this).firstChild)},get lastChild(){return a(i(this).lastChild)},get previousSibling(){return a(i(this).previousSibling)},get nextSibling(){return a(i(this).nextSibling)}}),o(s,t),e.wrappers.SVGElementInstance=t)}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){o(e,this)}var n=e.mixin,r=e.registerWrapper,o=e.setWrapper,i=e.unsafeUnwrap,a=e.unwrap,s=e.unwrapIfNeeded,c=e.wrap,l=window.CanvasRenderingContext2D;n(t.prototype,{get canvas(){return c(i(this).canvas)},drawImage:function(){arguments[0]=s(arguments[0]),i(this).drawImage.apply(i(this),arguments)},createPattern:function(){return arguments[0]=a(arguments[0]),i(this).createPattern.apply(i(this),arguments)}}),r(l,t,document.createElement("canvas").getContext("2d")),e.wrappers.CanvasRenderingContext2D=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){i(e,this)}var n=e.addForwardingProperties,r=e.mixin,o=e.registerWrapper,i=e.setWrapper,a=e.unsafeUnwrap,s=e.unwrapIfNeeded,c=e.wrap,l=window.WebGLRenderingContext;if(l){r(t.prototype,{get canvas(){return c(a(this).canvas)},texImage2D:function(){arguments[5]=s(arguments[5]),a(this).texImage2D.apply(a(this),arguments)},texSubImage2D:function(){arguments[6]=s(arguments[6]),a(this).texSubImage2D.apply(a(this),arguments)}});var u=Object.getPrototypeOf(l.prototype);u!==Object.prototype&&n(u,t.prototype);var d=/WebKit/.test(navigator.userAgent)?{drawingBufferHeight:null,drawingBufferWidth:null}:{};o(l,t,d),e.wrappers.WebGLRenderingContext=t}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.Node,r=e.GetElementsByInterface,o=e.NonElementParentNodeInterface,i=e.ParentNodeInterface,a=e.SelectorsInterface,s=e.mixin,c=e.registerObject,l=e.registerWrapper,u=window.DocumentFragment;t.prototype=Object.create(n.prototype),s(t.prototype,i),s(t.prototype,a),s(t.prototype,r),s(t.prototype,o),l(u,t,document.createDocumentFragment()),e.wrappers.DocumentFragment=t;var d=c(document.createComment(""));e.wrappers.Comment=d}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=d(u(e).ownerDocument.createDocumentFragment());n.call(this,t),c(t,this);var o=e.shadowRoot;f.set(this,o),this.treeScope_=new r(this,a(o||e)),h.set(this,e)}var n=e.wrappers.DocumentFragment,r=e.TreeScope,o=e.elementFromPoint,i=e.getInnerHTML,a=e.getTreeScope,s=e.mixin,c=e.rewrap,l=e.setInnerHTML,u=e.unsafeUnwrap,d=e.unwrap,p=e.wrap,h=new WeakMap,f=new WeakMap;t.prototype=Object.create(n.prototype),s(t.prototype,{constructor:t,get innerHTML(){return i(this)},set innerHTML(e){l(this,e),this.invalidateShadowRenderer()},get olderShadowRoot(){return f.get(this)||null},get host(){return h.get(this)||null},invalidateShadowRenderer:function(){return h.get(this).invalidateShadowRenderer()},elementFromPoint:function(e,t){return o(this,this.ownerDocument,e,t)},getSelection:function(){return document.getSelection()},get activeElement(){var e=d(this).ownerDocument.activeElement;if(!e||!e.nodeType)return null;for(var t=p(e);!this.contains(t);){for(;t.parentNode;)t=t.parentNode;if(!t.host)return null;t=t.host}return t}}),e.wrappers.ShadowRoot=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=d(e).root;return t instanceof h?t.host:null}function n(t,n){if(t.shadowRoot){n=Math.min(t.childNodes.length-1,n);var r=t.childNodes[n];if(r){var o=e.getDestinationInsertionPoints(r);if(o.length>0){var i=o[0].parentNode;i.nodeType==Node.ELEMENT_NODE&&(t=i)}}}return t}function r(e){return e=u(e),t(e)||e}function o(e){a(e,this)}var i=e.registerWrapper,a=e.setWrapper,s=e.unsafeUnwrap,c=e.unwrap,l=e.unwrapIfNeeded,u=e.wrap,d=e.getTreeScope,p=window.Range,h=e.wrappers.ShadowRoot;o.prototype={get startContainer(){return r(s(this).startContainer)},get endContainer(){return r(s(this).endContainer)},get commonAncestorContainer(){return r(s(this).commonAncestorContainer)},setStart:function(e,t){e=n(e,t),s(this).setStart(l(e),t)},setEnd:function(e,t){e=n(e,t),s(this).setEnd(l(e),t)},setStartBefore:function(e){s(this).setStartBefore(l(e))},setStartAfter:function(e){s(this).setStartAfter(l(e))},setEndBefore:function(e){s(this).setEndBefore(l(e))},setEndAfter:function(e){s(this).setEndAfter(l(e))},selectNode:function(e){s(this).selectNode(l(e))},selectNodeContents:function(e){s(this).selectNodeContents(l(e))},compareBoundaryPoints:function(e,t){return s(this).compareBoundaryPoints(e,c(t))},extractContents:function(){return u(s(this).extractContents())},cloneContents:function(){return u(s(this).cloneContents())},insertNode:function(e){s(this).insertNode(l(e))},surroundContents:function(e){s(this).surroundContents(l(e))},cloneRange:function(){return u(s(this).cloneRange())},isPointInRange:function(e,t){return s(this).isPointInRange(l(e),t)},comparePoint:function(e,t){return s(this).comparePoint(l(e),t)},intersectsNode:function(e){return s(this).intersectsNode(l(e))},toString:function(){return s(this).toString()}},p.prototype.createContextualFragment&&(o.prototype.createContextualFragment=function(e){return u(s(this).createContextualFragment(e))}),i(window.Range,o,document.createRange()),e.wrappers.Range=o}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){e.previousSibling_=e.previousSibling,e.nextSibling_=e.nextSibling,e.parentNode_=e.parentNode}function n(n,o,i){var a=x(n),s=x(o),c=i?x(i):null;if(r(o),t(o),i)n.firstChild===i&&(n.firstChild_=i),i.previousSibling_=i.previousSibling;else{n.lastChild_=n.lastChild,n.lastChild===n.firstChild&&(n.firstChild_=n.firstChild);var l=R(a.lastChild);l&&(l.nextSibling_=l.nextSibling)}e.originalInsertBefore.call(a,s,c)}function r(n){var r=x(n),o=r.parentNode;if(o){var i=R(o);t(n),n.previousSibling&&(n.previousSibling.nextSibling_=n),n.nextSibling&&(n.nextSibling.previousSibling_=n),i.lastChild===n&&(i.lastChild_=n),i.firstChild===n&&(i.firstChild_=n),e.originalRemoveChild.call(o,r)}}function o(e){P.set(e,[])}function i(e){var t=P.get(e);return t||P.set(e,t=[]),t}function a(e){for(var t=[],n=0,r=e.firstChild;r;r=r.nextSibling)t[n++]=r;return t}function s(){for(var e=0;e=0;o--){var i=r[o],a=m(i);if(a){var s=i.olderShadowRoot;s&&(n=f(s));for(var c=0;c=0;u--)l=Object.create(l);["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"].forEach(function(e){var t=o[e];t&&(l[e]=function(){j(this)instanceof r||O(this),t.apply(j(this),arguments)})});var d={prototype:l};i&&(d["extends"]=i),r.prototype=o,r.prototype.constructor=r,e.constructorTable.set(l,r),e.nativePrototypeTable.set(o,l);k.call(C(this),t,d);return r},E([window.HTMLDocument||window.Document],["registerElement"])}E([window.HTMLBodyElement,window.HTMLDocument||window.Document,window.HTMLHeadElement,window.HTMLHtmlElement],["appendChild","compareDocumentPosition","contains","getElementsByClassName","getElementsByTagName","getElementsByTagNameNS","insertBefore","querySelector","querySelectorAll","removeChild","replaceChild"]),E([window.HTMLBodyElement,window.HTMLHeadElement,window.HTMLHtmlElement],_),E([window.HTMLDocument||window.Document],["adoptNode","importNode","contains","createComment","createDocumentFragment","createElement","createElementNS","createEvent","createEventNS","createRange","createTextNode","createTreeWalker","elementFromPoint","getElementById","getElementsByName","getSelection"]),S(t.prototype,l),S(t.prototype,d),S(t.prototype,f),S(t.prototype,p),S(t.prototype,{get implementation(){var e=H.get(this);return e?e:(e=new a(C(this).implementation),H.set(this,e),e)},get defaultView(){return j(C(this).defaultView)}}),T(window.Document,t,document.implementation.createHTMLDocument("")),window.HTMLDocument&&T(window.HTMLDocument,t),D([window.HTMLBodyElement,window.HTMLDocument||window.Document,window.HTMLHeadElement]);var A=document.implementation.createDocument;a.prototype.createDocument=function(){return arguments[2]=C(arguments[2]),j(A.apply(N(this),arguments))},s(a,"createDocumentType"),s(a,"createHTMLDocument"),c(a,"hasFeature"),T(window.DOMImplementation,a),E([window.DOMImplementation],["createDocument","createDocumentType","createHTMLDocument","hasFeature"]),e.adoptNodeNoRemove=r,e.wrappers.DOMImplementation=a,e.wrappers.Document=t}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){n.call(this,e)}var n=e.wrappers.EventTarget,r=e.wrappers.Selection,o=e.mixin,i=e.registerWrapper,a=e.renderAllPending,s=e.unwrap,c=e.unwrapIfNeeded,l=e.wrap,u=window.Window,d=window.getComputedStyle,p=window.getDefaultComputedStyle,h=window.getSelection;t.prototype=Object.create(n.prototype),u.prototype.getComputedStyle=function(e,t){return l(this||window).getComputedStyle(c(e),t)},p&&(u.prototype.getDefaultComputedStyle=function(e,t){return l(this||window).getDefaultComputedStyle(c(e),t)}),u.prototype.getSelection=function(){return l(this||window).getSelection()},delete window.getComputedStyle,delete window.getDefaultComputedStyle,delete window.getSelection,["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){u.prototype[e]=function(){var t=l(this||window);return t[e].apply(t,arguments)},delete window[e]}),o(t.prototype,{getComputedStyle:function(e,t){return a(),d.call(s(this),c(e),t)},getSelection:function(){return a(),new r(h.call(s(this)))},get document(){return l(s(this).document)}}),p&&(t.prototype.getDefaultComputedStyle=function(e,t){return a(),p.call(s(this),c(e),t)}),i(u,t,window),e.wrappers.Window=t}(window.ShadowDOMPolyfill),function(e){"use strict";var t=e.unwrap,n=window.DataTransfer||window.Clipboard,r=n.prototype.setDragImage;r&&(n.prototype.setDragImage=function(e,n,o){r.call(this,t(e),n,o)})}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t;t=e instanceof i?e:new i(e&&o(e)),r(t,this)}var n=e.registerWrapper,r=e.setWrapper,o=e.unwrap,i=window.FormData;i&&(n(i,t,new i),e.wrappers.FormData=t)}(window.ShadowDOMPolyfill),function(e){"use strict";var t=e.unwrapIfNeeded,n=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(e){return n.call(this,t(e))}}(window.ShadowDOMPolyfill),function(e){"use strict";function t(e){var t=n[e],r=window[t];if(r){var o=document.createElement(e),i=o.constructor;window[t]=i}}var n=(e.isWrapperFor,{a:"HTMLAnchorElement",area:"HTMLAreaElement",audio:"HTMLAudioElement",base:"HTMLBaseElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",col:"HTMLTableColElement",content:"HTMLContentElement",data:"HTMLDataElement",datalist:"HTMLDataListElement",del:"HTMLModElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",embed:"HTMLEmbedElement",fieldset:"HTMLFieldSetElement",font:"HTMLFontElement",form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",head:"HTMLHeadElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",keygen:"HTMLKeygenElement",label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",marquee:"HTMLMarqueeElement",menu:"HTMLMenuElement",menuitem:"HTMLMenuItemElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",progress:"HTMLProgressElement",q:"HTMLQuoteElement",script:"HTMLScriptElement",select:"HTMLSelectElement",shadow:"HTMLShadowElement",source:"HTMLSourceElement",span:"HTMLSpanElement",style:"HTMLStyleElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",template:"HTMLTemplateElement",textarea:"HTMLTextAreaElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",ul:"HTMLUListElement",video:"HTMLVideoElement"});Object.keys(n).forEach(t),Object.getOwnPropertyNames(e.wrappers).forEach(function(t){window[t]=e.wrappers[t]})}(window.ShadowDOMPolyfill),function(e){function t(e,t){var n="";return Array.prototype.forEach.call(e,function(e){n+=e.textContent+"\n\n"}),t||(n=n.replace(d,"")),n}function n(e){var t=document.createElement("style");return t.textContent=e,t}function r(e){var t=n(e);document.head.appendChild(t);var r=[];if(t.sheet)try{r=t.sheet.cssRules}catch(o){}else console.warn("sheet not found",t);return t.parentNode.removeChild(t),r}function o(){C.initialized=!0,document.body.appendChild(C);var e=C.contentDocument,t=e.createElement("base");t.href=document.baseURI,e.head.appendChild(t)}function i(e){C.initialized||o(),document.body.appendChild(C),e(C.contentDocument),document.body.removeChild(C)}function a(e,t){if(t){var o;if(e.match("@import")&&D){var a=n(e);i(function(e){e.head.appendChild(a.impl),o=Array.prototype.slice.call(a.sheet.cssRules,0),t(o)})}else o=r(e),t(o)}}function s(e){e&&l().appendChild(document.createTextNode(e))}function c(e,t){var r=n(e);r.setAttribute(t,""),r.setAttribute(x,""),document.head.appendChild(r)}function l(){return j||(j=document.createElement("style"),j.setAttribute(x,""),j[x]=!0),j}var u={strictStyling:!1,registry:{},shimStyling:function(e,n,r){var o=this.prepareRoot(e,n,r),i=this.isTypeExtension(r),a=this.makeScopeSelector(n,i),s=t(o,!0);s=this.scopeCssText(s,a),e&&(e.shimmedStyle=s),this.addCssToDocument(s,n)},shimStyle:function(e,t){return this.shimCssText(e.textContent,t)},shimCssText:function(e,t){return e=this.insertDirectives(e),this.scopeCssText(e,t)},makeScopeSelector:function(e,t){return e?t?"[is="+e+"]":e:""},isTypeExtension:function(e){return e&&e.indexOf("-")<0},prepareRoot:function(e,t,n){var r=this.registerRoot(e,t,n);return this.replaceTextInStyles(r.rootStyles,this.insertDirectives),this.removeStyles(e,r.rootStyles),this.strictStyling&&this.applyScopeToContent(e,t),r.scopeStyles},removeStyles:function(e,t){for(var n,r=0,o=t.length;r","+","~"],r=e,o="["+t+"]";return n.forEach(function(e){var t=r.split(e);r=t.map(function(e){var t=e.trim().replace(L,"");return t&&n.indexOf(t)<0&&t.indexOf(o)<0&&(e=t.replace(/([^:]*)(:*)(.*)/,"$1"+o+"$2$3")),e}).join(e)}),r},insertPolyfillHostInCssText:function(e){return e.replace(M,b).replace(T,g)},propertiesFromRule:function(e){var t=e.style.cssText;e.style.content&&!e.style.content.match(/['"]+|attr/)&&(t=t.replace(/content:[^;]*;/g,"content: '"+e.style.content+"';"));var n=e.style;for(var r in n)"initial"===n[r]&&(t+=r+": initial; ");return t},replaceTextInStyles:function(e,t){e&&t&&(e instanceof Array||(e=[e]),Array.prototype.forEach.call(e,function(e){e.textContent=t.call(this,e.textContent)},this))},addCssToDocument:function(e,t){e.match("@import")?c(e,t):s(e)}},d=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,p=/\/\*\s*@polyfill ([^*]*\*+([^\/*][^*]*\*+)*\/)([^{]*?){/gim,h=/polyfill-next-selector[^}]*content\:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,f=/\/\*\s@polyfill-rule([^*]*\*+([^\/*][^*]*\*+)*)\//gim,m=/(polyfill-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,w=/\/\*\s@polyfill-unscoped-rule([^*]*\*+([^\/*][^*]*\*+)*)\//gim,v=/(polyfill-unscoped-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,g="-shadowcsshost",b="-shadowcsscontext",y=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",E=new RegExp("("+g+y,"gim"),_=new RegExp("("+b+y,"gim"),S="([>\\s~+[.,{:][\\s\\S]*)?$",T=/\:host/gim,M=/\:host-context/gim,O=g+"-no-combinator",L=new RegExp(g,"gim"),N=(new RegExp(b,"gim"),[/>>>/g,/::shadow/g,/::content/g,/\/deep\//g,/\/shadow\//g,/\/shadow-deep\//g,/\^\^/g,/\^(?!=)/g]),C=document.createElement("iframe");C.style.display="none";var j,D=navigator.userAgent.match("Chrome"),H="shim-shadowdom",x="shim-shadowdom-css",R="no-shim";if(window.ShadowDOMPolyfill){s("style { display: none !important; }\n");var I=ShadowDOMPolyfill.wrap(document),P=I.querySelector("head");P.insertBefore(l(),P.childNodes[0]),document.addEventListener("DOMContentLoaded",function(){e.urlResolver;if(window.HTMLImports&&!HTMLImports.useNative){var t="link[rel=stylesheet]["+H+"]",n="style["+H+"]";HTMLImports.importer.documentPreloadSelectors+=","+t,HTMLImports.importer.importsPreloadSelectors+=","+t,HTMLImports.parser.documentSelectors=[HTMLImports.parser.documentSelectors,t,n].join(",");var r=HTMLImports.parser.parseGeneric;HTMLImports.parser.parseGeneric=function(e){if(!e[x]){var t=e.__importElement||e;if(!t.hasAttribute(H))return void r.call(this,e);e.__resource&&(t=e.ownerDocument.createElement("style"),t.textContent=e.__resource),HTMLImports.path.resolveUrlsInStyle(t,e.href),t.textContent=u.shimStyle(t),t.removeAttribute(H,""),t.setAttribute(x,""),t[x]=!0,t.parentNode!==P&&(e.parentNode===P?P.replaceChild(t,e):this.addElementToDocument(t)),t.__importParsed=!0,this.markParsingComplete(e),this.parseNext()}};var o=HTMLImports.parser.hasResource;HTMLImports.parser.hasResource=function(e){return"link"===e.localName&&"stylesheet"===e.rel&&e.hasAttribute(H)?e.__resource:o.call(this,e)}}})}e.ShadowCSS=u}(window.WebComponents)),function(e){window.ShadowDOMPolyfill?(window.wrap=ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}}(window.WebComponents),function(e){"use strict";function t(e){return void 0!==p[e]}function n(){s.call(this),this._isInvalid=!0}function r(e){return""==e&&n.call(this),e.toLowerCase()}function o(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&t<127&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function a(e,a,s){function c(e){b.push(e)}var l=a||"scheme start",u=0,d="",v=!1,g=!1,b=[];e:for(;(e[u-1]!=f||0==u)&&!this._isInvalid;){var y=e[u];switch(l){case"scheme start":if(!y||!m.test(y)){if(a){c("Invalid scheme.");break e}d="",l="no scheme";continue}d+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&w.test(y))d+=y.toLowerCase();else{if(":"!=y){if(a){if(f==y)break e;c("Code point not allowed in scheme: "+y);break e}d="",u=0,l="no scheme";continue}if(this._scheme=d,d="",a)break e;t(this._scheme)&&(this._isRelative=!0),l="file"==this._scheme?"relative":this._isRelative&&s&&s._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this._query="?",l="query"):"#"==y?(this._fragment="#",l="fragment"):f!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this._schemeData+=o(y));break;case"no scheme":if(s&&t(s._scheme)){l="relative";continue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!=y||"/"!=e[u+1]){c("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=s._scheme),f==y){this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._username=s._username,this._password=s._password;break e}if("/"==y||"\\"==y)"\\"==y&&c("\\ is an invalid code point."),l="relative slash";else if("?"==y)this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query="?",this._username=s._username,this._password=s._password,l="query";else{if("#"!=y){var E=e[u+1],_=e[u+2];("file"!=this._scheme||!m.test(y)||":"!=E&&"|"!=E||f!=_&&"/"!=_&&"\\"!=_&&"?"!=_&&"#"!=_)&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password,this._path=s._path.slice(),this._path.pop()),l="relative path";continue}this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._fragment="#",this._username=s._username,this._password=s._password,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this._scheme&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password),l="relative path";continue}"\\"==y&&c("\\ is an invalid code point."),l="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){c("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){c("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}c("Expected authority, got: "+y);break;case"authority":if("@"==y){v&&(c("@ already seen."),d+="%40"),v=!0;for(var S=0;S0){var o=n[r-1],i=h(o,e);if(i)return void(n[r-1]=i)}else t(this.observer);n[r]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=w.get(e);t||w.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=w.get(e),n=0;n \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/components/category-chart.html b/docs/components/category-chart.html index 8d20b1b..137a356 100644 --- a/docs/components/category-chart.html +++ b/docs/components/category-chart.html @@ -1 +1,86 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/docs/components/chart-js.html b/docs/components/chart-js.html index 9596717..85d3432 100644 --- a/docs/components/chart-js.html +++ b/docs/components/chart-js.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/checkin-page/checkin-page.html b/docs/components/checkin-page/checkin-page.html index 196d319..bbb3380 100644 --- a/docs/components/checkin-page/checkin-page.html +++ b/docs/components/checkin-page/checkin-page.html @@ -1 +1,561 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/components/checkin-page/checkin-page.js b/docs/components/checkin-page/checkin-page.js index 2d44ff3..8ea2389 100644 --- a/docs/components/checkin-page/checkin-page.js +++ b/docs/components/checkin-page/checkin-page.js @@ -1 +1,162 @@ -Polymer({is:'checkin-page',properties:{display:{value:!1}},observers:['handleRegistrations(registrations)','handleSearch(query, lunr)','updateStatus(display.checked_in)'],ready:function(){this.$.search.addEventListener('keydown',c=>{if(c.stopPropagation(),'ArrowDown'===c.code)this.autocompleteIndex=Math.min(this.autocompleteIndex+1,this.autocomplete.length-1);else if('ArrowUp'===c.code)this.autocompleteIndex=Math.max(this.autocompleteIndex-1,0);else if('Enter'===c.code)this.select();else return;c.preventDefault()}),this.keyHandler=this.keyHandler.bind(this)},attached:function(){document.addEventListener('keydown',this.keyHandler)},detached:function(){document.removeEventListener('keydown',this.keyHandler)},keyHandler:function(c){if('Slash'===c.code)this.$.search.inputElement.focus();else if('Space'===c.code&&this.display)this.set('display.checked_in',!this.display.checked_in);else return;c.preventDefault()},handleTap:function(c){this.autocompleteIndex=c.model.index,this.select()},select:function(){const c=this.autocomplete[this.autocompleteIndex];if(c){this.displayID=c;const d=this.registrations[c];void 0===d.checked_in&&(d.checked_in=!1),this.query='',this.display=d,this.autocomplete=[],this.$.search.inputElement.blur()}},heading:function(c){return c.name+' <'+c.email+'>'},eq:function(c,d){return c===d},handleRegistrations:function(c){this.updateLunrIndex(c)},handleSearch:function(c){const f=this.lunr.search(c).slice(0,5).map(g=>g.ref);JSON.stringify(f)!==JSON.stringify(this.autocomplete)&&(this.autocompleteIndex=0,this.autocomplete=f,this.display=!1)},updateLunrIndex:function(c){const d=Object.keys(c).length;if(this.lastLunrIndexCount!==d){this.lastLunrIndexCount=d;const f=lunr(function(){this.ref('id'),this.field('email'),this.field('emailSplit'),this.field('name')});for(let g of Object.keys(c)){const h=c[g];f.add({id:g,email:h.email,emailSplit:h.email.replace(/\W+/g,' '),name:h.name})}this.lunr=f}},name:function(c,d){return c[d].name},email:function(c,d){return c[d].email},warnStatus:function(c){const d=this.displayStatus(c);return'Accepted, No Response'===d||'waitlisted'===d},dangerStatus:function(c){const d=this.displayStatus(c);return'rejected'===d},displayStatus:function(c){return'accepted'===c.status?c.rsvp?'accepted':'Accepted, No Response':c.status},warnAge:function(c){return c&&-1!==c.indexOf('under')},updateStatus:function(){const c=this.querySelector('#regs');c&&this.displayID&&this.display&&c.setStoredValue('/registrations/'+this.displayID+'/checked_in',this.display.checked_in)}}); \ No newline at end of file +Polymer({ + is: 'checkin-page', + + properties: { + display: { + value: false, + }, + }, + + observers: [ + 'handleRegistrations(registrations)', + 'handleSearch(query, lunr)', + 'updateStatus(display.checked_in)', + ], + + ready: function() { + this.$.search.addEventListener("keydown", (e) => { + e.stopPropagation(); + if (e.code === "ArrowDown") { + this.autocompleteIndex = Math.min(this.autocompleteIndex+1, this.autocomplete.length-1); + } else if (e.code === "ArrowUp") { + this.autocompleteIndex = Math.max(this.autocompleteIndex-1, 0); + } else if (e.code === "Enter") { + this.select(); + } else { + return; + } + e.preventDefault(); + }); + + this.keyHandler = this.keyHandler.bind(this); + }, + + attached: function() { + document.addEventListener('keydown', this.keyHandler); + }, + + detached: function() { + document.removeEventListener('keydown', this.keyHandler); + }, + + keyHandler: function(e) { + if (e.code === "Slash") { + this.$.search.inputElement.focus(); + } else if (e.code === "Space" && this.display) { + this.set('display.checked_in', !this.display.checked_in); + } else { + return; + } + e.preventDefault(); + }, + + handleTap: function(e) { + this.autocompleteIndex = e.model.index; + this.select(); + }, + + select: function() { + const id = this.autocomplete[this.autocompleteIndex]; + if (!id) { + return; + } + this.displayID = id; + const display = this.registrations[id]; + if (display.checked_in === undefined) { + display.checked_in = false; + } + this.query = ""; + this.display = display; + this.autocomplete = []; + this.$.search.inputElement.blur(); + }, + + heading: function(hacker) { + return hacker.name + " <"+hacker.email+">"; + }, + + eq: function(a, b) { + return a === b; + }, + + handleRegistrations: function(registrations) { + this.updateLunrIndex(registrations); + }, + + handleSearch: function(query, lunr) { + const newAutocomplete = this.lunr.search(query).slice(0,5).map((a) => a.ref); + + if (JSON.stringify(newAutocomplete) !== JSON.stringify(this.autocomplete)) { + this.autocompleteIndex = 0; + this.autocomplete = newAutocomplete; + this.display = false; + } + }, + + updateLunrIndex: function(registrations) { + const regCount = Object.keys(registrations).length; + if (this.lastLunrIndexCount === regCount) { + return; + } + this.lastLunrIndexCount = regCount; + + const search = lunr(function() { + this.ref('id'); + this.field('email'); + this.field('emailSplit'); + this.field('name'); + }); + for (let id of Object.keys(registrations)) { + const hacker = registrations[id]; + search.add({ + id: id, + email: hacker.email, + emailSplit: hacker.email.replace(/\W+/g, ' '), + name: hacker.name + }); + } + this.lunr = search; + }, + + name: function(registrations, id) { + return registrations[id].name; + }, + + email: function(registrations, id) { + return registrations[id].email; + }, + + warnStatus: function(hacker) { + const status = this.displayStatus(hacker); + return status === "Accepted, No Response" || status === "waitlisted"; + }, + + dangerStatus: function(hacker) { + const status = this.displayStatus(hacker); + return status === "rejected"; + }, + + displayStatus: function(hacker) { + if (hacker.status === "accepted") { + if (hacker.rsvp) { + return "accepted"; + } else { + return "Accepted, No Response"; + } + } + + return hacker.status; + }, + + warnAge: function(age) { + return age && age.indexOf("under") !== -1; + }, + + updateStatus: function() { + const firebase = this.querySelector("#regs"); + if (!firebase || !this.displayID || !this.display) { + return; + } + firebase.setStoredValue("/registrations/"+this.displayID+"/checked_in", this.display.checked_in); + }, +}); diff --git a/docs/components/dayof-page/dayof-page.html b/docs/components/dayof-page/dayof-page.html index bd98c55..ac0435a 100644 --- a/docs/components/dayof-page/dayof-page.html +++ b/docs/components/dayof-page/dayof-page.html @@ -1,2 +1,457 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/components/firebase-config/firebase-config.html b/docs/components/firebase-config/firebase-config.html index 15928c4..f388977 100644 --- a/docs/components/firebase-config/firebase-config.html +++ b/docs/components/firebase-config/firebase-config.html @@ -1 +1,76 @@ - \ No newline at end of file + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/components/index-page/index-page.html b/docs/components/index-page/index-page.html index 3c67215..988980d 100644 --- a/docs/components/index-page/index-page.html +++ b/docs/components/index-page/index-page.html @@ -1 +1,302 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/components/lodash.html b/docs/components/lodash.html index 35f341b..47329e8 100644 --- a/docs/components/lodash.html +++ b/docs/components/lodash.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/lunr-js.html b/docs/components/lunr-js.html index 038c89f..917fda7 100644 --- a/docs/components/lunr-js.html +++ b/docs/components/lunr-js.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/main-app/main-app.html b/docs/components/main-app/main-app.html index 0668da6..e5bedb9 100644 --- a/docs/components/main-app/main-app.html +++ b/docs/components/main-app/main-app.html @@ -1,11 +1,11743 @@ - + + + + + + \ No newline at end of file diff --git a/docs/components/main-app/main-app.js b/docs/components/main-app/main-app.js index 46006e9..622f8b4 100644 --- a/docs/components/main-app/main-app.js +++ b/docs/components/main-app/main-app.js @@ -1 +1,77 @@ -Polymer({is:'main-app',observers:['loadPage(route)'],ready:function(){window.location.hash.startsWith('#%21')&&(window.location.hash='#!'+window.location.hash.substr(4)),page('*',function(b,c){setTimeout(function(){var d,f=window.location.hash.match(/\#\w+/);if(null!=f&&(d=f[0]),null!=d){var g=document.querySelector(d);if(null==g||0==g.offsetTop)return;window.scrollTo(0,g.offsetTop-100)}},100),a.hideHeader=!1,a.hideFooter=!1,a.adminPage=!1,c()});const a=this;page('/register*',function(){a.route='register-closed'}),page('/sponsors*',function(){a.route='sponsor-page'}),page('/dayof*',function(){a.hideHeader=!0,a.route='dayof-page'}),page('/rsvp/:id',function(b){a.route='rsvp-page',a.params=b.params}),page('/admin/*',function(b,c){a.hideHeader=!0,a.hideFooter=!0,a.adminPage=!0,c()}),page('/admin/select',function(){a.route='select-hackers'}),page('/admin/checkin',function(){a.route='checkin-page'}),page('/admin/stats',function(){a.route='stats-page'}),page('/*',function(){a.route='index-page'}),page('*',this.handle404.bind(this)),page()},loadPage:function(a){this.importHref('components/'+a+'/'+a+'.html',null,this.handle404,!0)},handle404:function(){console.log('404!',this.route),page.redirect('/')}}); \ No newline at end of file +Polymer({ + is: 'main-app', + + observers: [ + 'loadPage(route)', + ], + + ready: function() { + if (window.location.hash.startsWith('#%21')) { + window.location.hash = '#!' + window.location.hash.substr(4); + } + + page('*', function(ctx, next) { + setTimeout(function() { + var hash; + var match = window.location.hash.match(/\#\w+/); + if (match != null) { + hash = match[0]; + } + if (hash != null) { + var elem = document.querySelector(hash); + if (elem == null || elem.offsetTop == 0) { + return; + } + window.scrollTo(0, elem.offsetTop - 100); + } + }, 100); + + self.hideHeader = false; + self.hideFooter = false; + self.adminPage = false; + + next(); + }); + const self = this; + page('/register*', function() { self.route = 'register-closed'; }); + page('/sponsors*', function() { self.route = 'sponsor-page'; }); + page('/dayof*', function() { + self.hideHeader = true; + self.route = 'dayof-page'; + }); + page('/rsvp/:id', function(e) { + self.route = 'rsvp-page'; + self.params = e.params; + }); + + page('/admin/*', function(_, next) { + self.hideHeader = true; + self.hideFooter = true; + self.adminPage = true; + next(); + }); + page('/admin/select', function() { + self.route = 'select-hackers'; + }); + page('/admin/checkin', function() { + self.route = 'checkin-page'; + }); + page('/admin/stats', function() { + self.route = 'stats-page'; + }); + + page('/*', function() { self.route = 'index-page'; }); + // 404 + page('*', this.handle404.bind(this)); + // add #! before urls + page(); + }, + loadPage: function(route) { + const pageURL = 'components/' + route + '/' + route + '.html'; + this.importHref(pageURL, null, this.handle404, true); + }, + handle404: function() { + console.log('404!', this.route); + page.redirect('/'); + } +}); diff --git a/docs/components/minimizable-box.html b/docs/components/minimizable-box.html index dad46aa..275bb88 100644 --- a/docs/components/minimizable-box.html +++ b/docs/components/minimizable-box.html @@ -1 +1,26 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/components/moment-js.html b/docs/components/moment-js.html index eebfcd9..3b941eb 100644 --- a/docs/components/moment-js.html +++ b/docs/components/moment-js.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/moment-timezone-js.html b/docs/components/moment-timezone-js.html index 3d3fd0a..b70fe27 100644 --- a/docs/components/moment-timezone-js.html +++ b/docs/components/moment-timezone-js.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/nwhacks-footer/nwhacks-footer.html b/docs/components/nwhacks-footer/nwhacks-footer.html index af28458..b10c301 100644 --- a/docs/components/nwhacks-footer/nwhacks-footer.html +++ b/docs/components/nwhacks-footer/nwhacks-footer.html @@ -1 +1,49 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/components/nwhacks-header/nwhacks-header.html b/docs/components/nwhacks-header/nwhacks-header.html index 791c40d..c5190f4 100644 --- a/docs/components/nwhacks-header/nwhacks-header.html +++ b/docs/components/nwhacks-header/nwhacks-header.html @@ -1 +1,37 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/components/radio-group.html b/docs/components/radio-group.html index 9a3ec5e..63c51c8 100644 --- a/docs/components/radio-group.html +++ b/docs/components/radio-group.html @@ -1 +1,74 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file diff --git a/docs/components/register-closed/register-closed.html b/docs/components/register-closed/register-closed.html index 796b013..cc0dd47 100644 --- a/docs/components/register-closed/register-closed.html +++ b/docs/components/register-closed/register-closed.html @@ -1 +1,17 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/components/register-form/register-form.html b/docs/components/register-form/register-form.html index 9786191..2a93f3d 100644 --- a/docs/components/register-form/register-form.html +++ b/docs/components/register-form/register-form.html @@ -1 +1,640 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/components/register-form/register-form.js b/docs/components/register-form/register-form.js index d58d012..aa17e79 100644 --- a/docs/components/register-form/register-form.js +++ b/docs/components/register-form/register-form.js @@ -1 +1,138 @@ -Polymer({is:'register-form',properties:{valid:{type:Boolean,value:function(){return!0}},githubURL:{computed:'updateGithubURL(data.github)'},citiesURL:{computed:'updateCitiesURL(data.city, cityFocused)'},citiesClean:{computed:'cleanCities(cities)'},data:{type:Object,notify:!0,value:function(){return{travel_reimbursement:!1,first_hackathon:!1,mentor:!1}}},alreadyRegistered:{value:!1}},observers:['checkEmail(data.email)'],checkEmail:function(a){if(console.log('email',a),this.checkEmailTimeout&&(clearTimeout(this.checkEmailTimeout),this.checkEmailTimeout=!1),!!a){var b=this;this.checkEmailTimeout=setTimeout(function(){b.checkEmailTimeout=!1,firebase.database().ref('emails').child(btoa(b.data.email)).once('value').then(function(c){var d=c.val();b.alreadyRegistered=!!d})},200)}},attached:function(){var a=this;setTimeout(function(){a.$.form.validate()},1)},updateGithubURL:function(a){return a?'https://api.github.com/users/'+a:''},updateCitiesURL:function(a,b){return a&&b?'https://api.teleport.org/api/cities/?limit=5&search='+a:''},cleanCities:function(a){return a&&a._embedded['city:search-results']},selectCity:function(a){this.set('data.city',a.model.item.matching_full_name)},cleanFileName:function(a){return a.replace(/[^A-Za-z0-9\.\-\(\)]+/g,'-')},submit:function(){var a=this;if(this.valid=this.$.form.validate(),this.valid){this.$.submitting.open();const c=firebase.database().ref('ids').push().key,d=this.$.resume.inputElement.files;var b=Promise.resolve();if(0 0) { + const file = files[0]; + const fileName = this.cleanFileName(file.name); + const filePath = "resumes/"+userKey+"-"+fileName; + this.data.resume = filePath; + filePromise = firebase.storage().ref(filePath).put(file); + } + + filePromise.then(function() { + return firebase.database().ref('registrations').child(userKey).set(self.data); + }).then(function() { + return firebase.database().ref('emails').child(btoa(self.data.email)).set(true); + }).then(function(e) { + console.log('Registered', e); + self.$.submitting.close(); + self.$.registered.open(); + }).catch(function(err) { + console.log('Error!', err); + self.error = err; + self.$.submitting.close(); + self.$.error.open(); + }); + } + } +}); +// Initialize Firebase +var config = { + apiKey: "AIzaSyBou6z9QA7zvCpxUFLoTbwQZcWuBn47yEA", + authDomain: "nwhacks-96701.firebaseapp.com", + databaseURL: "https://nwhacks-96701.firebaseio.com", + storageBucket: "nwhacks-96701.appspot.com", + messagingSenderId: "874137730051" +}; +firebase.initializeApp(config); diff --git a/docs/components/rsvp-page/rsvp-page.html b/docs/components/rsvp-page/rsvp-page.html index 2257209..1050ae0 100644 --- a/docs/components/rsvp-page/rsvp-page.html +++ b/docs/components/rsvp-page/rsvp-page.html @@ -1,3 +1,643 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/docs/components/schedule-box/schedule-box.html b/docs/components/schedule-box/schedule-box.html index e7319c4..b08c408 100644 --- a/docs/components/schedule-box/schedule-box.html +++ b/docs/components/schedule-box/schedule-box.html @@ -1 +1,131 @@ - \ No newline at end of file + + + + + + + + + + \ No newline at end of file diff --git a/docs/components/select-hackers/select-hackers.html b/docs/components/select-hackers/select-hackers.html index d955bbd..41e1709 100644 --- a/docs/components/select-hackers/select-hackers.html +++ b/docs/components/select-hackers/select-hackers.html @@ -1 +1,3227 @@ - \ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/docs/components/select-hackers/select-hackers.js b/docs/components/select-hackers/select-hackers.js index d9db6bc..f8210a8 100644 --- a/docs/components/select-hackers/select-hackers.js +++ b/docs/components/select-hackers/select-hackers.js @@ -1 +1,433 @@ -'use strict';const categories=['applied','accepted','waitlisted','rejected'];Object.freeze(categories);const responseCategories=['no response','going','not going','need reimbursement'];Object.freeze(responseCategories),Polymer({is:'select-hackers',properties:{hackers:{type:Array,value:[]},incr:{type:Number,value:0},categories:{type:Array,value:categories},filters:{type:Object,value:function(){return{search:'',status:'',response:'',missing_passport:!1}}},responseCategories:{type:Array,value:responseCategories}},refresh:function(){this.incr++},attached:function(){var d=this;setTimeout(function(){d.resize()},100),window.addEventListener('resize',function(){d.resize()})},resize:function(){var d=this.$.list.getBoundingClientRect().top;this.$.list.style.height=window.innerHeight-d+'px'},observers:['refresh(filters.status)','refresh(filters.checked_in)','refresh(filters.response)','refresh(filters.search)','refresh(filters.mentor)','refresh(filters.first)','refresh(filters.reimbursement)','refresh(filters.missing_passport)','handleRegistrations(registrations)','handleRegistrations(registrations.*)','handlePartials(registrations.*)','filter(hackers, filters, incr, hackers.*)'],cleanEmail:function(d){return d.toLowerCase().trim()},handleRegistrations:function(){this.lastRender&&clearTimeout(this.lastRender),this.lastRender=setTimeout(this.handleRegistrationsInternal.bind(this),300)},handlePartials:function(d){const f=d.path;if(this.hasPrefix(f,'registrations.#')){const g=f.split('.'),j=g.slice(0,2).join('.'),k=this.get(j),l=k.filteredIndex;if(this.filtered[l]===k){const m='filtered.#'+l+'.'+g.slice(2).join('.');console.log(m),this.notifyPath(m)}}},hasPrefix:function(d,f){return d.slice(0,f.length)==f},handleRegistrationsInternal:function(){console.log('rendering!');const d=this.registrations.map(g=>{return g.id=g.$key,g});d.sort(function(g,j){return g.id{g.index=j;const k=this.cleanEmail(g.email);g.cleanEmail=k;const{count:l}=f[k]||{count:0};f[k]={last:g.id,count:l+1}}),d.forEach(g=>{const{last:k,count:l}=f[g.cleanEmail];1{const j=this.cleanEmail(g.school);(0<=j.indexOf('secondary')||0<=j.indexOf('high'))&&(g.hs=!0),g.status?-1==categories.indexOf(g.status)&&(g.status=categories[g.status]):g.status='applied'}),this.updateEmailIndex(d),this.clusters=this.clusterTeams(d),this.updateLunrIndex(d),console.log('hackers update'),this.hackers=d},clusterTeams:function(d){const f={};return d.forEach(g=>{if(!g.duplicate&&g.teammates&&0!==g.teammates.trim().length){const j=g.teammates.split(',').map(k=>this.cleanEmail(k));j.forEach(k=>{this.emailIndex[k]&&this.addPersonToCluster(f,g.cleanEmail,k)})}}),f},addPersonToCluster:function(d,f,g){const j=d[f]||new Set,k=d[g];j.add(f),j.add(g),k&&j!==k&&k.forEach(l=>{j.add(l),d[l]=j}),d[f]=j,d[g]=j},updateEmailIndex:function(d){const f={};d.forEach(g=>{g.duplicate||(f[g.cleanEmail]=g)}),this.emailIndex=f},updateLunrIndex:function(d){if(this.lastLunrIndexCount!==d.length){this.lastLunrIndexCount=d.length;const f=lunr(function(){this.ref('index'),this.field('id'),this.field('city'),this.field('email'),this.field('emailSplit'),this.field('github'),this.field('personalsite'),this.field('linkedin'),this.field('name'),this.field('reason'),this.field('school'),this.field('teammates')});d.forEach(function(g){g.emailSplit=g.email.replace(/@/g,' '),f.add(g)}),this.lunr=f}},responseCat:function(d){return this.responseCategories[d]},eq:function(d,f){return d==f},export:function(){const d=JSON.parse(JSON.stringify(this.filtered));d.forEach(g=>{g.resume=this.resumeLink(g.resume)});var f=new CSV(d,{header:!0}).encode();this.downloadFile('applicants_export.csv',f)},downloadFile:function(d,f){var g=new Blob([f]);const j=document.createElement('a');j.setAttribute('download',d),j.setAttribute('href',URL.createObjectURL(g)),document.body.appendChild(j),j.click()},title:function(d){return d.name+' ('+d.email+')'},filter:function(d,f){var j=d;if(this.totalCount=d.length,3<=f.search.length){var k=this.lunr.search(f.search);j=k.map(function(q){return d[q.ref]})}var l=f.status,m=f.response,n=this.responded(m),o=j.filter(q=>{var t=(''===l||'null'===l||'All'===l||l===q.status)&&(''===m||'null'===m||'All'===m||this.respondedWith(q,n))&&!q.duplicate;return f.mentor&&(t=t&&q.mentor),f.checked_in&&(t=t&&q.checked_in),f.reimbursement&&(t=t&&q.travel_reimbursement),f.first&&(t=t&&q.first_hackathon),f.missing_passport&&(t=t&&q.rsvp&&'No'===q.rsvp.passport),t});o.forEach((q,r)=>{q.filteredIndex=r});const p=this.$.list.scrollTop;this.filtered=o,this.filteredCount=o.length,this.$.list.scroll(0,p)},resumeLink:function(d){return'https://firebasestorage.googleapis.com/v0/b/nwhacks-96701.appspot.com/o/'+encodeURIComponent(d)+'?alt=media'},githubLink:function(d){return d?0{const l=this.emailIndex[k];this.setHackerStatus(l,f)})},setHackerStatus:function(d,f){return-1===categories.indexOf(f)?void console.log('ignoring status:',f):void(d.status!==f&&(this.set('filtered.'+d.filteredIndex+'.status',f),this.patchHacker(d)))},phoneChange:function(d){var f=d.model.hacker;this.patchHacker(f)},checkIn:function(d){var f=d.model.hacker;this.patchHacker(f)},patchHacker:function(d){delete d.$key,this.$.regs.setStoredValue('/registrations/'+d.id,d);this.hackers},refreshList:function(){this.incr++},handleErr:function(d,f){this.handleError(d,f.error)},hackerAdminURL:function(d){return'/api/admin/nwhacks/registration/'+d.id+'/change/'},handleError:function(d,f){console.log('Error',f),this.error=f,this.$.error.open()},hasTeammates:function(d){return!!this.clusters[d.cleanEmail]},teammates:function(d){const f=this.clusters[d.cleanEmail];return f?Array.from(f).sort():[]},scrollToEmail:function(d){const f=d.model.item;this.filtered.forEach((g,j)=>{g.cleanEmail===f&&this.$.list.scrollToIndex(j)})},acceptanceSent:function(d){return d.acceptance_sent&&'accepted'===d.status},rsvpLink:function(d){return'/rsvp/'+d.id+'#begin'},resetRSVPTime:function(d){const f=d.model.hacker;d.model.set('hacker.acceptance_sent.Time',moment().format()),this.patchHacker(f)},timeTo:function(d){return moment(d).add(7,'days').fromNow()}}); \ No newline at end of file +'use strict'; +const categories = ['applied', 'accepted', 'waitlisted', 'rejected']; +Object.freeze(categories); +const responseCategories = + ['no response', 'going', 'not going', 'need reimbursement']; +Object.freeze(responseCategories); +Polymer({ + is: 'select-hackers', + + properties: { + hackers: { + type: Array, + value: [], + }, + incr: { + type: Number, + value: 0, + }, + categories: { + type: Array, + value: categories, + }, + filters: { + type: Object, + value: function() { + return { + search: '', + status: '', + response: '', + missing_passport: false, + }; + }, + }, + responseCategories: { + type: Array, + value: responseCategories, + }, + }, + refresh: function() { this.incr++; }, + + attached: function() { + var self = this; + setTimeout(function() { self.resize(); }, 100); + window.addEventListener('resize', function() { self.resize(); }); + }, + + resize: function() { + var top = this.$.list.getBoundingClientRect().top; + this.$.list.style.height = window.innerHeight - top + 'px'; + }, + + observers: [ + 'refresh(filters.status)', + 'refresh(filters.checked_in)', + 'refresh(filters.response)', + 'refresh(filters.search)', + 'refresh(filters.mentor)', + 'refresh(filters.first)', + 'refresh(filters.reimbursement)', + 'refresh(filters.missing_passport)', + 'handleRegistrations(registrations)', + 'handleRegistrations(registrations.*)', + 'handlePartials(registrations.*)', + 'filter(hackers, filters, incr, hackers.*)', + ], + + cleanEmail: function(email) { + return email.toLowerCase().trim(); + }, + + handleRegistrations: function() { + if (this.lastRender) { + clearTimeout(this.lastRender); + } + this.lastRender = setTimeout(this.handleRegistrationsInternal.bind(this), 300); + }, + + handlePartials: function(change) { + const path = change.path; + if (!this.hasPrefix(path, "registrations.#")) { + return; + } + const bits = path.split("."); + const item = bits.slice(0, 2).join("."); + const hacker = this.get(item); + const filteredIndex = hacker.filteredIndex; + if (this.filtered[filteredIndex] !== hacker) { + return; + } + const filteredPath = "filtered.#"+filteredIndex+"."+bits.slice(2).join("."); + console.log(filteredPath); + this.notifyPath(filteredPath); + }, + + hasPrefix: function(a, prefix) { + return a.slice(0, prefix.length) == prefix; + }, + + handleRegistrationsInternal: function() { + console.log('rendering!'); + + // Convert {[id]: hacker} to hacker[] sorted by ID. + const hackers = this.registrations.map((a) => { + a.id = a.$key; + return a; + }); + hackers.sort(function(a, b) { return a.id < b.id ? -1 : 1; }); + + // Deduplicate hackers + var dedup = {}; + hackers.forEach((hacker, i) => { + hacker.index = i; + + const email = this.cleanEmail(hacker.email); + hacker.cleanEmail = email; + const {count} = (dedup[email] || {count: 0}); + dedup[email] = { + last: hacker.id, + count: count+1 + }; + }); + hackers.forEach((hacker, i) => { + const {last, count} = dedup[hacker.cleanEmail]; + if (count > 1 && last !== hacker.id) { + hacker.duplicate = true; + } + }); + + // Add required fields and unmunge status + hackers.forEach((hacker) => { + const lowerSchool = this.cleanEmail(hacker.school); + if (lowerSchool.indexOf('secondary') >= 0 || + lowerSchool.indexOf('high') >= 0) { + hacker.hs = true; + } + if (!hacker.status) { + hacker.status = 'applied'; + } else if (categories.indexOf(hacker.status) == -1) { + hacker.status = categories[hacker.status]; + } + }); + + this.updateEmailIndex(hackers); + + this.clusters = this.clusterTeams(hackers); + + // Update search + this.updateLunrIndex(hackers); + + console.log("hackers update"); + this.hackers = hackers; + }, + + // clusterTeams returns a {[email: string]: Set[email: string]} + clusterTeams: function(hackers) { + const clusters = {}; + hackers.forEach((hacker) => { + if (hacker.duplicate || !hacker.teammates || hacker.teammates.trim().length === 0) { + return; + } + const teammates = hacker.teammates.split(",").map((a) => this.cleanEmail(a)); + teammates.forEach((teammate) => { + if (!this.emailIndex[teammate]) { + return; + } + this.addPersonToCluster(clusters, hacker.cleanEmail, teammate); + }); + }); + return clusters; + }, + + addPersonToCluster: function(clusters, key, email) { + const targetCluster = (clusters[key] || new Set()); + const existingCluster = clusters[email]; + targetCluster.add(key); + targetCluster.add(email); + if (existingCluster && targetCluster !== existingCluster) { + existingCluster.forEach((e) => { + targetCluster.add(e); + clusters[e] = targetCluster; + }); + } + clusters[key] = targetCluster; + clusters[email] = targetCluster; + }, + + updateEmailIndex: function(hackers) { + const emailIndex = {}; + hackers.forEach((hacker) => { + if (hacker.duplicate) { + return; + } + emailIndex[hacker.cleanEmail] = hacker; + }); + this.emailIndex = emailIndex; + }, + + updateLunrIndex: function(hackers) { + if (this.lastLunrIndexCount === hackers.length) { + return; + } + this.lastLunrIndexCount = hackers.length; + + const search = lunr(function() { + this.ref('index'); + this.field('id'); + this.field('city'); + this.field('email'); + this.field('emailSplit'); + this.field('github'); + this.field('personalsite'); + this.field('linkedin'); + this.field('name'); + this.field('reason'); + this.field('school'); + this.field('teammates'); + }); + hackers.forEach(function(hacker, i) { + hacker.emailSplit = hacker.email.replace(/@/g, ' '); + search.add(hacker); + }); + this.lunr = search; + }, + + responseCat: function(i) { return this.responseCategories[i]; }, + eq: function(a, b) { return a == b; }, + export: function() { + const copy = JSON.parse(JSON.stringify(this.filtered)); + copy.forEach((hacker) => { + hacker.resume = this.resumeLink(hacker.resume); + }); + var csv = new CSV(copy, {header: true}).encode(); + this.downloadFile('applicants_export.csv', csv); + }, + + downloadFile: function(filename, content) { + var blob = new Blob([content]); + const a = document.createElement("a"); + a.setAttribute('download', filename); + a.setAttribute('href', URL.createObjectURL(blob)); + document.body.appendChild(a); + a.click(); + }, + + title: function(hacker) { return hacker.name + ' (' + hacker.email + ')'; }, + + filter: function(hackers, filters, _) { + var results = hackers; + this.totalCount = hackers.length; + if (filters.search.length >= 3) { + var rawResults = this.lunr.search(filters.search); + results = + rawResults.map(function(result) { return hackers[result.ref]; }); + } + var status = filters.status; + var response = filters.response; + var responseIdx = this.responded(response); + var filtered = results.filter((hacker, b, c) => { + var good = (status === '' || status === 'null' || status === 'All' || + status === hacker.status) && + (response === '' || response === 'null' || response === 'All' || + this.respondedWith(hacker, responseIdx)) && !hacker.duplicate; + if (filters.mentor) { + good = good && hacker.mentor; + } + if (filters.checked_in) { + good = good && hacker.checked_in; + } + if (filters.reimbursement) { + good = good && hacker.travel_reimbursement; + } + if (filters.first) { + good = good && hacker.first_hackathon; + } + if (filters.missing_passport) { + good = good && hacker.rsvp && hacker.rsvp.passport === "No"; + } + return good; + }); + + filtered.forEach((hacker, i) => { + hacker.filteredIndex = i; + }); + + // Maintain scroll position; + const scroll = this.$.list.scrollTop; + this.filtered = filtered; + this.filteredCount = filtered.length; + this.$.list.scroll(0, scroll); + }, + + resumeLink: function(resume) { + return "https://firebasestorage.googleapis.com/v0/b/nwhacks-96701.appspot.com/o/"+encodeURIComponent(resume)+"?alt=media"; + }, + + githubLink: function(username) { + if (!username) { + return; + } + if (username.indexOf('github.com') > 0) { + return username; + } + return 'https://github.com/' + username; + }, + + linkedinLink: function(username) { + if (!username) { + return; + } + if (username.indexOf('linkedin.com') > 0) { + return username; + } + return 'https://linkedin.com/in/' + username; + }, + + selected: function(status) { + var index = categories.indexOf(status); + if (index >= 0) { + return index; + } + return 0; + }, + + responded: function(status) { + var index = responseCategories.indexOf(status); + if (index >= 0) { + return index; + } + return 0; + }, + + eq: function(a, b) { return a === b; }, + + respondedWith: function(hacker, response) { + if (!hacker.acceptance_sent || hacker.status !== 'accepted') { + return false; + } + return (hacker.rsvp ? 1 : 0) === response; + }, + + onSelect: function(e) { + const status = e.target.value; + const hacker = e.model.hacker; + this.setHackerStatus(hacker, status); + }, + + onSelectTeam: function(e) { + const status = e.target.value; + e.target.value = ""; + const hacker = e.model.hacker; + const teammates = this.teammates(hacker); + teammates.forEach((email) => { + const h = this.emailIndex[email]; + this.setHackerStatus(h, status); + }); + }, + + setHackerStatus: function(hacker, status) { + if (categories.indexOf(status) === -1) { + console.log('ignoring status:', status); + return; + } + + if (hacker.status !== status) { + //this.set('hackers.' + hacker.index + '.status', status); + this.set('filtered.' + hacker.filteredIndex + '.status', status); + this.patchHacker(hacker); + } + }, + + phoneChange: function(e) { + var hacker = e.model.hacker; + this.patchHacker(hacker); + }, + checkIn: function(e) { + var hacker = e.model.hacker; + this.patchHacker(hacker); + }, + patchHacker: function(hacker) { + delete hacker.$key; + this.$.regs.setStoredValue('/registrations/'+hacker.id, hacker); + const hackers = this.hackers; + }, + refreshList: function() { this.incr++; }, + handleErr: function(a, b, c) { this.handleError(a, b.error); }, + hackerAdminURL: function(hacker) { + return '/api/admin/nwhacks/registration/' + hacker.id + '/change/'; + }, + handleError: function(e, err) { + console.log('Error', err); + this.error = err; + this.$.error.open(); + }, + + hasTeammates: function(hacker) { + return !!this.clusters[hacker.cleanEmail]; + }, + + teammates: function(hacker) { + const cluster = this.clusters[hacker.cleanEmail]; + if (cluster) { + return Array.from(cluster).sort(); + } + return []; + }, + + scrollToEmail: function(e) { + const email = e.model.item; + this.filtered.forEach((hacker, i) => { + if (hacker.cleanEmail === email) { + this.$.list.scrollToIndex(i); + } + }); + }, + + acceptanceSent: function(hacker) { + return hacker.acceptance_sent && hacker.status === 'accepted'; + }, + + rsvpLink: function(hacker) { + return "/rsvp/"+hacker.id+"#begin"; + }, + + resetRSVPTime: function(e) { + const hacker = e.model.hacker; + e.model.set('hacker.acceptance_sent.Time', moment().format()); + this.patchHacker(hacker); + }, + + timeTo: function(time) { + return moment(time).add(7,'days').fromNow(); + } +}); diff --git a/docs/components/sponsor-page/sponsor-page.html b/docs/components/sponsor-page/sponsor-page.html index 4410de9..3e14dcb 100644 --- a/docs/components/sponsor-page/sponsor-page.html +++ b/docs/components/sponsor-page/sponsor-page.html @@ -1 +1,56 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/components/stats-page/stats-page.html b/docs/components/stats-page/stats-page.html index a7026da..f069200 100644 --- a/docs/components/stats-page/stats-page.html +++ b/docs/components/stats-page/stats-page.html @@ -1 +1,467 @@ - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/docs/components/stats-page/stats-page.js b/docs/components/stats-page/stats-page.js index 864b184..4578cbd 100644 --- a/docs/components/stats-page/stats-page.js +++ b/docs/components/stats-page/stats-page.js @@ -1 +1,296 @@ -var patterns={'University of British Columbia':['UBC','University of British Columbia','University of the British Columbia','University of British Colombia','university british columbia'],'Simon Fraser University':['SFU','Simon Fraser','Somion Fraser'],'University of Waterloo':['Waterloo'],BCIT:['BCIT','British Columbia Institute of Technology'],'University of Illinois Urbana-Champaign':['Urbana-Champaign','Urbana Champaign'],'McGill University':['McGill'],'University of Washington':['University of Washington','UW','University of Washingon']},patternsCities={Vancouver:['UBC','University of British Columbia','Vanouver','Vancouver','Gage','Marine Drive','Locally','Vancover','Campus','N/a','University of the British Columbia','University of British Colombia','university british columbia'],Seattle:['University of Washington']};Polymer({is:'stats-page',observers:['handleRegistrations(registrations)','renderData(hackers)'],handleRegistrations:function(c){var d=[];for(var e in c){var f=c[e];f.id=e,d.push(f)}this.hackers=d},renderData:function(c){c.sort(function(t,u){return u.id-t.id}),_.each(this.charts,function(t){t.destroy()}),this.charts=[];var d=this.charts;this.registrationCount=c.length;var e={},f={},g={},h=0,i=0,j=0,k={labels:['S','M','L','XL'],datasets:[{label:'Offered Sizes',backgroundColor:'rgba(220,0,0,0.5)',borderColor:'rgba(220,0,0,0.8)',data:[0,0,0,0]}]},l={labels:['No Response','Going'],datasets:[{data:[0,0],backgroundColor:['#666','#4BAE74'],hoverBackgroundColor:['#888','#377F54']}]},m=this;_.each(c,function(t){_.each(patterns,function(z,A){_.each(z,function(B){0<=t.school.toLowerCase().trim().indexOf(B.toLowerCase())&&(t.school=A)})}),_.each(patternsCities,function(z,A){_.each(z,function(B){0<=t.city.toLowerCase().trim().indexOf(B.toLowerCase())&&(t.city=A)})}),t.email=t.email.toLowerCase().trim();var u=t.email,w=f[u]&&'accepted'!=t.status||f[u]&&'accepted'==f[u].status;if(t.acceptance_sent&&'accepted'==t.status){const z=t.rsvp?1:0;l.datasets[0].data[z]++}if(!w){if(h++,f[u]=t,'accepted'==t.status&&t.rsvp){var x=k.labels.indexOf(t.tshirt);k.datasets[0].data[x]+=1}e[t.school]||(e[t.school]={name:t.school,accepted:0,acceptedResp:0,total:0}),e[t.school].total+=1;var y=m.toTitleCase(t.city.split(',')[0].trim());g[y]||(g[y]={name:y,accepted:0,acceptedResp:0,total:0}),g[y].total+=1,'accepted'==t.status&&(e[t.school].accepted+=1,g[y].accepted+=1,i++),t.acceptance_sent&&j++,t.rsvp&&(e[t.school].acceptedResp+=1,g[y].acceptedResp+=1)}}),document.getElementById('regDeDup').innerText=h,document.getElementById('accepted').innerText=i,document.getElementById('offered').innerText=j;var c={labels:[],datasets:[{label:'Total Students',backgroundColor:'rgba(220,0,0,0.5)',borderColor:'rgba(220,0,0,0.8)',data:[]},{label:'Offered Students',backgroundColor:'rgba(0,0,220,0.5)',borderColor:'rgba(0,0,220,0.8)',data:[]},{label:'Accepted Students',backgroundColor:'rgba(0,220,220,0.5)',borderColor:'rgba(0,220,220,0.8)',data:[]}]},n=_(e).toArray().sortBy(['accepted','total']).reverse().value();_.each(n,function(t){c.labels.push(t.name),c.datasets[0].data.push(t.total),c.datasets[1].data.push(t.accepted),c.datasets[2].data.push(t.acceptedResp)});var o=document.getElementById('university').getContext('2d');d.push(new Chart(o,{type:'bar',data:c,options:{responsive:!1}},{}));var q={labels:[],datasets:[{label:'Total Students',backgroundColor:'rgba(0,220,0,0.5)',borderColor:'rgba(0,220,0,0.8)',data:[]},{label:'Offered Students',backgroundColor:'rgba(0,0,220,0.5)',borderColor:'rgba(0,0,220,0.8)',data:[]},{label:'Accepted Students',backgroundColor:'rgba(0,220,220,0.5)',borderColor:'rgba(0,220,220,0.8)',data:[]}]},r=_(g).toArray().sortBy(['accepted','total']).reverse().value();_.each(r,function(t){q.labels.push(t.name),q.datasets[0].data.push(t.total),q.datasets[1].data.push(t.accepted),q.datasets[2].data.push(t.acceptedResp)});var o=this.$.city.getContext('2d');d.push(new Chart(o,{type:'bar',data:q,options:{responsive:!1}},{}));var o=this.$.tshirt.getContext('2d');d.push(new Chart(o,{type:'bar',data:k,options:{responsive:!1}},{}));var o=this.$.response.getContext('2d');d.push(new Chart(o,{type:'doughnut',data:l,options:{responsive:!1}},{})),this.$.going.innerText=l.datasets[0].data[1];const s=this.hackers.filter(t=>!!t.rsvp).map(t=>t.rsvp);this.dietaryRestrictions=s.map(t=>t.dietary),this.rsvpGender=s.map(t=>t.gender),this.rsvpFaculty=s.map(t=>t.faculty),this.rsvpYear=s.map(t=>t.year),this.rsvpPassport=s.map(t=>t.passport),this.rsvpMajority=s.map(t=>t.age)},toTitleCase:function(d){return d.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}}); \ No newline at end of file +var patterns = { + 'University of British Columbia': [ + 'UBC', + 'University of British Columbia', + 'University of the British Columbia', + 'University of British Colombia', + 'university british columbia', + ], + 'Simon Fraser University': ['SFU', 'Simon Fraser', 'Somion Fraser'], + 'University of Waterloo': ['Waterloo'], + 'BCIT': ['BCIT', 'British Columbia Institute of Technology'], + 'University of Illinois Urbana-Champaign': + ['Urbana-Champaign', 'Urbana Champaign'], + 'McGill University': ['McGill'], + 'University of Washington': + ['University of Washington', 'UW', 'University of Washingon'], +}; + +var patternsCities = { + 'Vancouver': [ + 'UBC', + 'University of British Columbia', + 'Vanouver', + 'Vancouver', + 'Gage', + 'Marine Drive', + 'Locally', + 'Vancover', + 'Campus', + 'N/a', + 'University of the British Columbia', + 'University of British Colombia', + 'university british columbia', + ], + 'Seattle': ['University of Washington'], +}; + +Polymer({ + is: 'stats-page', + + observers: [ + 'handleRegistrations(registrations)', + 'renderData(hackers)', + ], + + handleRegistrations: function(registrations) { + var hackers = []; + for (var id in registrations) { + var hacker = registrations[id]; + hacker.id = id; + hackers.push(hacker); + } + this.hackers = hackers; + }, + + renderData: function(data) { + data.sort(function(a, b) { return b.id - a.id; }); + _.each(this.charts, function(chart) { chart.destroy(); }); + this.charts = []; + var charts = this.charts; + this.registrationCount = data.length; + var univs = {}; + var students = {}; + var cities = {}; + var deDupStudents = 0; + var acceptedStudents = 0; + var offeredStudents = 0; + + // T-Shirts + var tshirtData = { + labels: ['S', 'M', 'L', 'XL'], + datasets: [ + { + label: 'Offered Sizes', + backgroundColor: 'rgba(220,0,0,0.5)', + borderColor: 'rgba(220,0,0,0.8)', + data: [0, 0, 0, 0] + }, + ] + }; + + var responseData = { + labels: ['No Response', 'Going'], + datasets: [{ + data: [0, 0], + backgroundColor: [ + '#666', + '#4BAE74', + /*'#FF6B6B', + '#FDB45C',*/ + ], + hoverBackgroundColor: [ + '#888', + '#377F54', + /*'#D74343', + '#FFC870',*/ + ], + }] + }; + + var self = this; + + _.each(data, function(datum) { + // Cleanup step + _.each(patterns, function(pattern, remap) { + _.each(pattern, function(p) { + if (datum.school.toLowerCase().trim().indexOf(p.toLowerCase()) >= 0) { + datum.school = remap; + } + }); + }); + _.each(patternsCities, function(pattern, remap) { + _.each(pattern, function(p) { + if (datum.city.toLowerCase().trim().indexOf(p.toLowerCase()) >= 0) { + datum.city = remap; + } + }); + }); + + datum.email = datum.email.toLowerCase().trim(); + var email = datum.email; + var isDuplicate = students[email] && datum.status != 'accepted' || + students[email] && students[email].status == 'accepted'; + + if (datum.acceptance_sent && datum.status == 'accepted') { + const index = datum.rsvp ? 1 : 0; + responseData.datasets[0].data[index]++; + } + + if (isDuplicate) { + return; + } + deDupStudents++; + students[email] = datum; + if (datum.status == 'accepted' && datum.rsvp) { + var index = tshirtData.labels.indexOf(datum.tshirt); + tshirtData.datasets[0].data[index] += 1; + } + + if (!univs[datum.school]) { + univs[datum.school] = + {name: datum.school, accepted: 0, acceptedResp: 0, total: 0}; + } + univs[datum.school].total += 1; + var location = self.toTitleCase(datum.city.split(',')[0].trim()); + if (!cities[location]) { + cities[location] = { + name: location, + accepted: 0, + acceptedResp: 0, + total: 0 + } + } + cities[location].total += 1; + if (datum.status == 'accepted') { + univs[datum.school].accepted += 1; + cities[location].accepted += 1; + acceptedStudents++; + } + if (datum.acceptance_sent) { + offeredStudents++; + } + if (datum.rsvp) { + univs[datum.school].acceptedResp += 1; + cities[location].acceptedResp += 1; + } + }); + + document.getElementById('regDeDup').innerText = deDupStudents; + document.getElementById('accepted').innerText = acceptedStudents; + document.getElementById('offered').innerText = offeredStudents; + + // Univerisities + var data = { + labels: [], + datasets: [ + { + label: 'Total Students', + backgroundColor: 'rgba(220,0,0,0.5)', + borderColor: 'rgba(220,0,0,0.8)', + data: [] + }, + { + label: 'Offered Students', + backgroundColor: 'rgba(0,0,220,0.5)', + borderColor: 'rgba(0,0,220,0.8)', + data: [] + }, + { + label: 'Accepted Students', + backgroundColor: 'rgba(0,220,220,0.5)', + borderColor: 'rgba(0,220,220,0.8)', + data: [] + }, + ] + }; + var sortedUnivs = _(univs).toArray().sortBy(['accepted', 'total']).reverse().value(); + _.each(sortedUnivs, function(v) { + data.labels.push(v.name); + data.datasets[0].data.push(v.total); + data.datasets[1].data.push(v.accepted); + data.datasets[2].data.push(v.acceptedResp); + }); + var ctx = document.getElementById('university').getContext('2d'); + charts.push(new Chart( + ctx, { + type: 'bar', + data: data, + options: { + responsive: false + } + }, + {})); + + // Cities + + var dataCities = { + labels: [], + datasets: [ + { + label: 'Total Students', + backgroundColor: 'rgba(0,220,0,0.5)', + borderColor: 'rgba(0,220,0,0.8)', + data: [] + }, + { + label: 'Offered Students', + backgroundColor: 'rgba(0,0,220,0.5)', + borderColor: 'rgba(0,0,220,0.8)', + data: [] + }, + { + label: 'Accepted Students', + backgroundColor: 'rgba(0,220,220,0.5)', + borderColor: 'rgba(0,220,220,0.8)', + data: [] + }, + ] + }; + var sortedCities = _(cities).toArray().sortBy(['accepted', 'total']).reverse().value(); + _.each(sortedCities, function(v) { + dataCities.labels.push(v.name); + dataCities.datasets[0].data.push(v.total); + dataCities.datasets[1].data.push(v.accepted); + dataCities.datasets[2].data.push(v.acceptedResp); + }); + var ctx = this.$.city.getContext('2d'); + charts.push(new Chart( + ctx, { + type: 'bar', + data: dataCities, + options: { + responsive: false + } + }, + {})); + + var ctx = this.$.tshirt.getContext('2d'); + charts.push(new Chart( + ctx, { + type: 'bar', + data: tshirtData, + options: { + responsive: false + } + }, + {})); + + var ctx = this.$.response.getContext('2d'); + charts.push(new Chart( + ctx, { + type: 'doughnut', + data: responseData, + options: { + responsive: false + } + }, + {})); + this.$.going.innerText = responseData.datasets[0].data[1]; + + const rsvped = this.hackers.filter((a) => !!a.rsvp).map((a) => a.rsvp); + this.dietaryRestrictions = rsvped.map((a) => a.dietary); + this.rsvpGender = rsvped.map((a) => a.gender); + this.rsvpFaculty = rsvped.map((a) => a.faculty); + this.rsvpYear = rsvped.map((a) => a.year); + this.rsvpPassport = rsvped.map((a) => a.passport); + this.rsvpMajority = rsvped.map((a) => a.age); + }, + + // https://stackoverflow.com/questions/4878756/javascript-how-to-capitalize-first-letter-of-each-word-like-a-2-word-city + toTitleCase: function toTitleCase(str) { + return str.replace(/\w\S*/g, function(txt) { + return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); + }); + } +}); diff --git a/docs/index.html b/docs/index.html index 21ea867..89ee84c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1,35 @@ -nwHacks 2017 \ No newline at end of file + + + + + + + + + + nwHacks 2017 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/polymer.json b/polymer.json index 7395c7e..d36ffa7 100644 --- a/polymer.json +++ b/polymer.json @@ -26,8 +26,11 @@ ], "builds": [{ "bundle": true, - "js": {"minify": true}, "css": {"minify": true}, - "html": {"minify": true} + "js": { + "compile": false, + "minify": false + }, + "html": {"minify": false } }] }